This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH for libiberty when NOT using --enable-shared


Jeff, the recent changes to libiberty introduced a default for
enable_shared which is different from what the toplevel scripts are
using.

If one omits --enable-shared, ${enable_shared}'s value is "" which is
then used by libiberty's config.table to say `OK, the user didn't
explicitly say "no", so we're going to build a shared lib'.

This small patch corrects it.

manfred


Wed May 20 10:24:01 1998  Manfred Hollstein  <manfred@s-direktnet.de>

	* config.table (shared): Default to "no" if ${enable_shared}
	is unset or empty; this logic is used by the toplevel
	configure scripts, too.

diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-19980520.orig/libiberty/config.table egcs-19980520/libiberty/config.table
--- egcs-19980520.orig/libiberty/config.table	Mon May 18 14:05:17 1998
+++ egcs-19980520/libiberty/config.table	Mon May 18 14:05:17 1998
@@ -13,6 +13,7 @@ frags=$frag
 case "${enable_shared}" in
   yes) shared=yes ;;
   no) shared=no ;;
+  "") shared=no ;;
   *) shared=yes ;;
 esac
 if [ "${shared}" = "yes" ]; then


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]