aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-09-05 14:43:26 -0400
committerDJ Delorie <dj@gcc.gnu.org>2000-09-05 14:43:26 -0400
commit2f31ed7e8857e32683c7111ae8a4671089e3a740 (patch)
treeea9cd8408ba337f80ff3b6dd0dd032db5c4e8a5c /libiberty/configure.in
parenta6efbeceaa32697481a64af7790a07e80c43a667 (diff)
downloadgcc-2f31ed7e8857e32683c7111ae8a4671089e3a740.zip
gcc-2f31ed7e8857e32683c7111ae8a4671089e3a740.tar.gz
gcc-2f31ed7e8857e32683c7111ae8a4671089e3a740.tar.bz2
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.in')
-rw-r--r--libiberty/configure.in13
1 files changed, 9 insertions, 4 deletions
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*)