aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2015-09-10 22:52:08 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2015-09-10 22:52:08 +0000
commit297c364d7ce9ba632aa1a54d8e3ac7df11deac12 (patch)
treef69f089eefa4131dd05bc665bb157ac833fdabe1 /gcc/configure.ac
parent476013d60bccdca296731062ca8deced5c9c3e3a (diff)
downloadgcc-297c364d7ce9ba632aa1a54d8e3ac7df11deac12.zip
gcc-297c364d7ce9ba632aa1a54d8e3ac7df11deac12.tar.gz
gcc-297c364d7ce9ba632aa1a54d8e3ac7df11deac12.tar.bz2
re PR bootstrap/67363 (r227188 breaks build for mingw-w64)
PR bootstrap/67363 * configure.ac: Check if setenv and unsetenv are declared. * configure: Rebuild. * config.in: Rebuild. * system.h: Declare setenv and unsetenv if not declared. From-SVN: r227666
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index b6e8bed..34c43d5 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1247,7 +1247,7 @@ AC_CHECK_DECLS([basename(const char*), strstr(const char*,const char*)], , ,[
gcc_AC_CHECK_DECLS(getenv atol atoll asprintf sbrk abort atof getcwd getwd \
madvise stpcpy strnlen strsignal strverscmp \
- strtol strtoul strtoll strtoull \
+ strtol strtoul strtoll strtoull setenv unsetenv \
errno snprintf vsnprintf vasprintf malloc realloc calloc \
free getopt clock getpagesize ffs gcc_UNLOCKED_FUNCS, , ,[
#include "ansidecl.h"