From: DJ Delorie Date: Tue, 5 Sep 2000 18:43:26 +0000 (-0400) Subject: configure.in (Cygwin): special case cygwin only when we're building cygwin, not when... X-Git-Tag: prereleases/libstdc++-2.92~4258 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f31ed7e8857e32683c7111ae8a4671089e3a740;p=thirdparty%2Fgcc.git configure.in (Cygwin): special case cygwin only when we're building cygwin, not when we're hosting cygwin. * configure.in (Cygwin): special case cygwin only when we're building cygwin, not when we're hosting cygwin. From-SVN: r36164 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 9d43c0d8495a..77de719fbe1a 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2000-08-31 DJ Delorie + + * configure.in (Cygwin): special case cygwin only when we're + building cygwin, not when we're hosting cygwin. + 2000-09-04 Alex Samuel * cp-demangle.c (demangle_template_arg): Eat an `E' after an diff --git a/libiberty/configure b/libiberty/configure index 1054b3bd041e..d2c5d920dcaa 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -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*) diff --git a/libiberty/configure.in b/libiberty/configure.in index 041a43dc3c7d..adfbd5ff670e 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -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*)