This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Turn off shared library builds in readline


Elena has approved this change.

Building shared libraries in this context wastes space and screws up
cygwin.  If you want to build a shared version of readline, you probably
should get the official version.

cgf

2002-12-16  Christopher Faylor  <cgf@redhat.com>

 	* configure.in: Remove --enable-shared option.  It shouldn't be used
 	for gdb.
 	* configure: Regenerate.
 
 
Index: configure
===================================================================
RCS file: /cvs/src/src/readline/configure,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- configure	8 Dec 2002 22:31:37 -0000	1.5
+++ configure	17 Dec 2002 02:52:32 -0000	1.6
@@ -672,7 +672,6 @@
 Optional Features:
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
-  --enable-shared         build shared libraries [default=YES]
   --enable-static         build static libraries [default=YES]
 
 Optional Packages:
@@ -1072,13 +1071,8 @@
 fi
 
 opt_static_libs=yes
-opt_shared_libs=yes
+opt_shared_libs=no
 
-# Check whether --enable-shared or --disable-shared was given.
-if test "${enable_shared+set}" = set; then
-  enableval="$enable_shared"
-  opt_shared_libs=$enableval
-fi;
 # Check whether --enable-static or --disable-static was given.
 if test "${enable_static+set}" = set; then
   enableval="$enable_static"
Index: configure.in
===================================================================
RCS file: /cvs/src/src/readline/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- configure.in	8 Dec 2002 22:31:37 -0000	1.5
+++ configure.in	17 Dec 2002 02:52:32 -0000	1.6
@@ -32,9 +32,8 @@
 
 dnl option parsing for optional features
 opt_static_libs=yes
-opt_shared_libs=yes
+opt_shared_libs=no
 
-AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
 AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static libraries [[default=YES]]]), opt_static_libs=$enableval)
 
 echo ""


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