From 64e3a6598ac298032305189a470eb5c828633886 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 5 Sep 2000 18:44:54 +0000 Subject: * configure.in (Cygwin): special case cygwin only when we're building cygwin, not when we're hosting cygwin. --- libiberty/ChangeLog | 5 +++++ libiberty/configure | 13 +++++++++---- libiberty/configure.in | 13 +++++++++---- 3 files changed, 23 insertions(+), 8 deletions(-) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 61e68b7..99267f5 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-08-31 Hans-Peter Nilsson * testsuite/demangle-expected: Add nine tests for diff --git a/libiberty/configure b/libiberty/configure index 1054b3b..d2c5d92 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 041a43d..adfbd5f 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*) -- cgit v1.1