diff options
author | Дилян Палаузов <dilyan.palauzov@aegee.org> | 2018-12-12 07:46:03 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2019-01-03 00:03:34 -0500 |
commit | 69961a84c9b3744a10248fb6cbccc3c688a1e0a5 (patch) | |
tree | 88194775c8d80446dd762c17b0668bfb525a621c /configure | |
parent | e8b1c9b397af0fdb3489a207a8d7d3fdcaefe7b5 (diff) | |
download | gdb-69961a84c9b3744a10248fb6cbccc3c688a1e0a5.zip gdb-69961a84c9b3744a10248fb6cbccc3c688a1e0a5.tar.gz gdb-69961a84c9b3744a10248fb6cbccc3c688a1e0a5.tar.bz2 |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |