config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
authorManfred Hollstein <manfred@s-direktnet.de>
Fri, 6 Feb 1998 00:34:27 +0000 (00:34 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 6 Feb 1998 00:34:27 +0000 (17:34 -0700)
        * config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
        (.c.o): Check value of enable_shared, not PICFLAG.
        (.C.o): Dito.
        (.cc.o): Dito.
        (stamp-picdir): Dito.

From-SVN: r17682

libio/ChangeLog
libio/config.shared

index 5a79ec7..dff76ce 100644 (file)
@@ -1,3 +1,11 @@
+Fri Feb  6 01:35:56 1998  Manfred Hollstein  <manfred@s-direktnet.de>
+
+       * config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
+       (.c.o): Check value of enable_shared, not PICFLAG.
+       (.C.o): Dito.
+       (.cc.o): Dito.
+       (stamp-picdir): Dito.
+
 1998-01-20  Andreas Schwab  (schwab@issan.informatik.uni-dortmund.de)
 
        * iostream.cc (istream::operator>>(long double&))
index 6619372..9dcfb55 100644 (file)
@@ -234,7 +234,6 @@ if [ "${SUBDIRS}" != "" ] ; then
   echo >&2 '   "MAKEINFO=$(MAKEINFO)" \'
   echo >&2 '   "SHLIB=$(SHLIB)" \'
   echo >&2 '   "SHCURSES=$(SHCURSES)" \'
-  echo >&2 '   "PICFLAG=$(PICFLAG)" \'
   echo >&2 '   "RUNTESTFLAGS=$(RUNTESTFLAGS)"'
 fi
 
@@ -262,7 +261,7 @@ echo >&2 '.SUFFIXES: .o .C .cc .c'
 echo >&2 'COMPILE.c = $(CC) -c $(XCFLAGS) $(CINCLUDES) $(MT_CFLAGS)'
 echo >&2 '.c.o:'
 if [ "${LIBDIR}" = "yes" ]; then
-echo >&2 '     test -z "$(PICFLAG)" ||\'
+echo >&2 '     test x"$(enable_shared)" != xyes ||\'
 echo >&2 '       $(COMPILE.c) $(PICFLAG) $< -o pic/$@'
 fi
 echo >&2 '     $(COMPILE.c) $<'
@@ -270,14 +269,14 @@ echo >&2 '        $(COMPILE.c) $<'
 echo >&2 'COMPILE.cc = $(CXX) -c $(XCXXFLAGS) $(CXXINCLUDES) $(MT_CFLAGS)'
 echo >&2 '.C.o:'
 if [ "${LIBDIR}" = "yes" ]; then
-echo >&2 '     test -z "$(PICFLAG)" ||\'
+echo >&2 '     test x"$(enable_shared)" != xyes ||\'
 echo >&2 '       $(COMPILE.cc) $(PICFLAG) $< -o pic/$@'
 fi
 echo >&2 '     $(COMPILE.cc) $<'
 [ "${TOUCH_ON_COMPILE}" = "yes" ] && echo >&2 '        @touch stamp'
 echo >&2 '.cc.o:'
 if [ "${LIBDIR}" = "yes" ]; then
-echo >&2 '     test -z "$(PICFLAG)" || \'
+echo >&2 '     test x"$(enable_shared)" != xyes || \'
 echo >&2 '       $(COMPILE.cc) $(PICFLAG) $< -o pic/$@'
 fi
 echo >&2 '     $(COMPILE.cc) $<'
@@ -294,7 +293,7 @@ fi
 if [ "${LIBDIR}" = "yes" ]; then
   echo >&2 ''
   echo >&2 'stamp-picdir:'
-  echo >&2 '   if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \'
+  echo >&2 '   if [ x"$(enable_shared)" = xyes ] && [ ! -d pic ]; then \'
   echo >&2 '     mkdir pic; \'
   echo >&2 '   else true; fi'
   echo >&2 '   touch stamp-picdir'