OSDN Git Service

* configure.in (Cygwin): special case cygwin only when we're
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2000 18:43:26 +0000 (18:43 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2000 18:43:26 +0000 (18:43 +0000)
building cygwin, not when we're hosting cygwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36164 138bc75d-0d04-0410-961f-82ee72b054a4

libiberty/ChangeLog
libiberty/configure
libiberty/configure.in

index 9d43c0d..77de719 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-31  DJ Delorie  <dj@redhat.com>
+
+       * configure.in (Cygwin): special case cygwin only when we're
+       building cygwin, not when we're hosting cygwin.
+
 2000-09-04  Alex Samuel  <samuel@codesourcery.com>
 
        * cp-demangle.c (demangle_template_arg): Eat an `E' after an
index 1054b3b..d2c5d92 100755 (executable)
@@ -1774,10 +1774,15 @@ if test -z "${setobjs}"; then
     # provides from our shell variables, so that they appear to be
     # missing.
 
-    funcs="`echo $funcs | sed -e 's/random//'`"
-    LIBOBJS="$LIBOBJS random.o"
-    vars="`echo $vars | sed -e 's/sys_siglist//'`"
-    checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
+    # DJ - only if we're *building* cygwin, not just building *with* cygwin
+  
+    if test -n "${with_target_subdir}"
+    then
+      funcs="`echo $funcs | sed -e 's/random//'`"
+      LIBOBJS="$LIBOBJS random.o"
+      vars="`echo $vars | sed -e 's/sys_siglist//'`"
+      checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
+    fi
     ;;
 
   *-*-mingw32*)
index 041a43d..adfbd5f 100644 (file)
@@ -280,10 +280,15 @@ if test -z "${setobjs}"; then
     # provides from our shell variables, so that they appear to be
     # missing.
 
-    funcs="`echo $funcs | sed -e 's/random//'`"
-    LIBOBJS="$LIBOBJS random.o"
-    vars="`echo $vars | sed -e 's/sys_siglist//'`"
-    checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
+    # DJ - only if we're *building* cygwin, not just building *with* cygwin
+  
+    if test -n "${with_target_subdir}"
+    then
+      funcs="`echo $funcs | sed -e 's/random//'`"
+      LIBOBJS="$LIBOBJS random.o"
+      vars="`echo $vars | sed -e 's/sys_siglist//'`"
+      checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
+    fi
     ;;
 
   *-*-mingw32*)