diff options
author | DJ Delorie <dj@redhat.com> | 2000-09-05 14:43:26 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2000-09-05 14:43:26 -0400 |
commit | 2f31ed7e8857e32683c7111ae8a4671089e3a740 (patch) | |
tree | ea9cd8408ba337f80ff3b6dd0dd032db5c4e8a5c /libiberty/configure | |
parent | a6efbeceaa32697481a64af7790a07e80c43a667 (diff) | |
download | gcc-2f31ed7e8857e32683c7111ae8a4671089e3a740.tar.gz |
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
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-x | libiberty/configure | 13 |
1 files changed, 9 insertions, 4 deletions
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*) |