aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-09-05 18:44:54 +0000
committerDJ Delorie <dj@redhat.com>2000-09-05 18:44:54 +0000
commit64e3a6598ac298032305189a470eb5c828633886 (patch)
treecd02d8b29abaff62d5e5d52b49c17a8d7c056aff /libiberty/configure
parent71150974e8b0233964a0a12f71b5fe61c8b010b0 (diff)
downloadgdb-64e3a6598ac298032305189a470eb5c828633886.zip
gdb-64e3a6598ac298032305189a470eb5c828633886.tar.gz
gdb-64e3a6598ac298032305189a470eb5c828633886.tar.bz2
* configure.in (Cygwin): special case cygwin only when we're
building cygwin, not when we're hosting cygwin.
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-xlibiberty/configure13
1 files changed, 9 insertions, 4 deletions
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*)