diff options
author | cgf <cgf@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-21 16:40:45 +0000 |
---|---|---|
committer | cgf <cgf@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-21 16:40:45 +0000 |
commit | 3652f6802f8835e0722dc21deb636f4c5ddf362d (patch) | |
tree | 2d47a9895b04896fe24385689a402c1b43ba65dd /libiberty/configure.in | |
parent | df29f5735fbe4b218d3c0c1a92bc155961cbfd5e (diff) | |
download | gcc-3652f6802f8835e0722dc21deb636f4c5ddf362d.tar.gz |
* configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever hosting
on cygwin.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45081 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index 499e4678aff..c3c25a538f0 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -177,12 +177,6 @@ if test -n "${with_target_subdir}"; then # Of the functions in $checkfuncs, newlib only has strerror. AC_DEFINE_NOAUTOHEADER(HAVE_STRERROR) - case "${host}" in - *-*-cygwin*) - AC_DEFINE(HAVE_SYS_ERRLIST) - ;; - esac - setobjs=yes fi @@ -196,6 +190,13 @@ fi AC_SUBST(CHECK) +case "${host}" in + *-*-cygwin*) + AC_DEFINE(HAVE_SYS_ERRLIST) + AC_DEFINE(HAVE_SYS_NERR) + ;; +esac + if test -z "${setobjs}"; then case "${host}" in |