From 2f31ed7e8857e32683c7111ae8a4671089e3a740 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 5 Sep 2000 14:43:26 -0400 Subject: 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 --- libiberty/configure | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'libiberty/configure') diff --git a/libiberty/configure b/libiberty/configure index 1054b3bd041..d2c5d920dca 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*) -- cgit v1.2.1