diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2005-06-03 21:13:59 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2005-06-03 21:13:59 +0000 |
commit | 7391b66c6a042a6b510baed4ceb65c26c73cc810 (patch) | |
tree | f0c0ee75438793828bd84d46498deff3b1bd7482 /gcc | |
parent | 441e96b5bc6736abb50a7f7927b77e4ab5b57daf (diff) | |
download | gcc-7391b66c6a042a6b510baed4ceb65c26c73cc810.tar.gz |
configure.ac: Check declaration for asprintf, needed by libiberty.h.
* configure.ac: Check declaration for asprintf, needed by
libiberty.h.
* configure: Regenerate.
* config.in: Likewise.
From-SVN: r100555
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config.in | 7 | ||||
-rwxr-xr-x | gcc/configure | 3 | ||||
-rw-r--r-- | gcc/configure.ac | 2 |
4 files changed, 17 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be74bb1b786..372e308d491 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-06-03 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * configure.ac: Check declaration for asprintf, needed by + libiberty.h. + * configure: Regenerate. + * config.in: Likewise. + 2005-06-03 Diego Novillo <dnovillo@redhat.com> * tree-ssa-dom.c (record_edge_info): Use last_basic_block to diff --git a/gcc/config.in b/gcc/config.in index 6221762435f..2d12fd04042 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -308,6 +308,13 @@ #endif +/* Define to 1 if we found a declaration for 'asprintf', otherwise define to + 0. */ +#ifndef USED_FOR_TARGET +#undef HAVE_DECL_ASPRINTF +#endif + + /* Define to 1 if we found a declaration for 'atof', otherwise define to 0. */ #ifndef USED_FOR_TARGET #undef HAVE_DECL_ATOF diff --git a/gcc/configure b/gcc/configure index b4b41b97782..d258e444d30 100755 --- a/gcc/configure +++ b/gcc/configure @@ -11206,7 +11206,8 @@ CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include" -for ac_func in getenv atol sbrk abort atof getcwd getwd strsignal \ + +for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd strsignal \ strstr errno snprintf vsnprintf vasprintf malloc realloc calloc \ free basename getopt clock getpagesize clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlocked do diff --git a/gcc/configure.ac b/gcc/configure.ac index 7c6bfceea72..f5ac726501b 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -1047,7 +1047,7 @@ AM_LANGINFO_CODESET # We will need to find libiberty.h and ansidecl.h saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include" -gcc_AC_CHECK_DECLS(getenv atol sbrk abort atof getcwd getwd strsignal \ +gcc_AC_CHECK_DECLS(getenv atol asprintf sbrk abort atof getcwd getwd strsignal \ strstr errno snprintf vsnprintf vasprintf malloc realloc calloc \ free basename getopt clock getpagesize gcc_UNLOCKED_FUNCS, , ,[ #include "ansidecl.h" |