* configure.in (Cygwin): special case cygwin only when we're

building cygwin, not when we're hosting cygwin.
This commit is contained in:
DJ Delorie
2000-09-05 18:44:54 +00:00
parent 71150974e8
commit 64e3a6598a
3 changed files with 23 additions and 8 deletions

13
libiberty/configure vendored
View File

@ -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*)