Don't build readline's shared libs by default
authorPatrick Palka <patrick@parcs.ath.cx>
Sat, 25 Jul 2015 15:14:34 +0000 (11:14 -0400)
committerPatrick Palka <patrick@parcs.ath.cx>
Sat, 25 Jul 2015 15:35:02 +0000 (11:35 -0400)
commitb558ff043d41ba8d17a82f5f9ae5f9dade66160e
tree81c855843093c32db086dccfc0a25874ad56fdad
parent18d9555c6e7c34beb40f54e670c11b76b61be13f
Don't build readline's shared libs by default

Since the sync to version 7.0-alpho, readline now by default builds
(unused) shared libraries alongside static libraries, whereas before it
only built static libraries.  A couple of GDB buildbots were not happy
with this change:

  http://gdb-build.sergiodj.net/builders/AIX-POWER7-plain/builds/240
  http://gdb-build.sergiodj.net/builders/Fedora-i686/builds/1518

To get these buildbots building again, this patch alters readline's
configure.ac file to not build shared libraries by default, as was the
case with readline 6.2.  A more permanent fix may be to alter the
top-level Makefile.def to pass --disable-shared to readline, or to
investigate why these building these shared libraries are giving the
buildbots trouble.  (I think the proximate reason why the i686 buildbot
fails is because it passes CFLAGS=-m32 instead of CC="gcc -m32" to the
top-level configure script, and readline's linker commands don't inherit
CFLAGS.  Not sure about the AIX failure.)

readline/ChangeLog.gdb:

* configure.ac: Default opt_shared_libs to no.
* configure: Regenerate.
readline/ChangeLog.gdb
readline/configure
readline/configure.ac
This page took 0.023626 seconds and 4 git commands to generate.