config.table: Add line to set enable_shared in the Makefile as needed.
authorJeffrey A Law <law@cygnus.com>
Sat, 16 May 1998 13:02:37 +0000 (13:02 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 16 May 1998 13:02:37 +0000 (07:02 -0600)
        * config.table: Add line to set enable_shared in the Makefile
        as needed.

From-SVN: r19805

libiberty/ChangeLog
libiberty/config.table

index 20fc2840e8f75e8fa31f05adab420c14d0622206..3cf9c0bad2fc44d156af9428c952d639fab8e651 100644 (file)
@@ -1,3 +1,8 @@
+Sat May 16 14:01:26 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * config.table: Add line to set enable_shared in the Makefile
+       as needed.
+
 Wed May 13 14:24:38 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * cplus-dem.c (squangle_mop_up): Change return type to void.
index 07f4baf8b0638033711deb25d064f389fc1ae96d..063f3839e74520b7f401e182cca1e6848ad61856 100644 (file)
@@ -43,5 +43,12 @@ for frag in ${frags}; do
   fi
 done
 
+# record if we want to build shared libs.
+if [ "${shared}" = "yes" ]; then
+  echo enable_shared = yes >> temp-frag
+else
+  echo enable_shared = no >> temp-frag
+fi
+
 frag=xhost-mkfrag
 ${CONFIG_SHELL} ${libiberty_topdir}/move-if-change temp-frag xhost-mkfrag