aboutsummaryrefslogtreecommitdiff
path: root/libiberty
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
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')
-rw-r--r--libiberty/ChangeLog5
-rwxr-xr-xlibiberty/configure13
-rw-r--r--libiberty/configure.in13
3 files changed, 23 insertions, 8 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 9d43c0d..77de719 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-31 DJ Delorie <dj@redhat.com>
+
+ * configure.in (Cygwin): special case cygwin only when we're
+ building cygwin, not when we're hosting cygwin.
+
2000-09-04 Alex Samuel <samuel@codesourcery.com>
* cp-demangle.c (demangle_template_arg): Eat an `E' after an
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*)