mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
Don't build readline/libreadline.a, when --with-system-readline is supplied
https://sourceware.org/bugzilla/show_bug.cgi?id=18632 The bundled libreadline is always built, even if the system is ./configure'd --with-system-readline and the build libreadline.a is not used. Proposed patch: Fix ./configure.ac not to proceed readline/, when --with-system- readline is provided
This commit is contained in:
parent
e8b1c9b397
commit
69961a84c9
@ -1,3 +1,9 @@
|
||||
2019-01-03 Дилян Палаузов <dilyan.palauzov@aegee.org>
|
||||
|
||||
* configure.ac: Don't configure readline if --with-system-readline is
|
||||
used.
|
||||
* configure: Re-generate.
|
||||
|
||||
2018-10-31 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
Merge from GCC:
|
||||
|
6
configure
vendored
6
configure
vendored
@ -2907,6 +2907,12 @@ if test x$with_system_zlib = xyes ; then
|
||||
noconfigdirs="$noconfigdirs zlib"
|
||||
fi
|
||||
|
||||
# Don't compile the bundled readline/libreadline.a if --with-system-readline
|
||||
# is provided.
|
||||
if test x$with_system_readline = xyes ; then
|
||||
noconfigdirs="$noconfigdirs readline"
|
||||
fi
|
||||
|
||||
# some tools are so dependent upon X11 that if we're not building with X,
|
||||
# it's not even worth trying to configure, much less build, that tool.
|
||||
|
||||
|
@ -245,6 +245,12 @@ if test x$with_system_zlib = xyes ; then
|
||||
noconfigdirs="$noconfigdirs zlib"
|
||||
fi
|
||||
|
||||
# Don't compile the bundled readline/libreadline.a if --with-system-readline
|
||||
# is provided.
|
||||
if test x$with_system_readline = xyes ; then
|
||||
noconfigdirs="$noconfigdirs readline"
|
||||
fi
|
||||
|
||||
# some tools are so dependent upon X11 that if we're not building with X,
|
||||
# it's not even worth trying to configure, much less build, that tool.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user