]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in (Cygwin): special case cygwin only when we're building cygwin, not when...
authorDJ Delorie <dj@redhat.com>
Tue, 5 Sep 2000 18:43:26 +0000 (14:43 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Tue, 5 Sep 2000 18:43:26 +0000 (14:43 -0400)
* configure.in (Cygwin): special case cygwin only when we're
building cygwin, not when we're hosting cygwin.

From-SVN: r36164

libiberty/ChangeLog
libiberty/configure
libiberty/configure.in

index 9d43c0d8495a8641974d9606e529e1883e2ba4ac..77de719fbe1a3d38282324a0b465b0023b722664 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 1054b3bd041e2d81ce2f1ebf6abb486c6f744ddd..d2c5d920dcaa5ef08112c9ed24851b3cfbba27ef 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 041a43dc3c7d443ef3a5c352025fccd0ff7b7d26..adfbd5ff670edcaa9d734ded6f9688e7bda635cb 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*)