Don't build readline/libreadline.a, when --with-system-readline is supplied
[deliverable/binutils-gdb.git] / configure.ac
index 99229d97037a9ece6d6003c7833a49539590ea14..46501c28826985e2fed1509c93e7e4c9093b88eb 100644 (file)
@@ -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.
 
This page took 0.026035 seconds and 4 git commands to generate.