summaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-05 18:43:26 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-05 18:43:26 +0000
commit4aabc076389cc6b41c30a0d656fce5abd2ea3394 (patch)
treeea9cd8408ba337f80ff3b6dd0dd032db5c4e8a5c /libiberty/configure
parent4b834650bf3168007f5c4f6c919a75d7e7d74606 (diff)
downloadgcc-4aabc076389cc6b41c30a0d656fce5abd2ea3394.tar.gz
* configure.in (Cygwin): special case cygwin only when we're
building cygwin, not when we're hosting cygwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36164 138bc75d-0d04-0410-961f-82ee72b054a4
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 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*)