]> gcc.gnu.org Git - gcc.git/commitdiff
configure.ac: Check declaration for asprintf, needed by libiberty.h.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Fri, 3 Jun 2005 21:13:59 +0000 (21:13 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Fri, 3 Jun 2005 21:13:59 +0000 (21:13 +0000)
        * configure.ac: Check declaration for asprintf, needed by
        libiberty.h.
        * configure: Regenerate.
        * config.in: Likewise.

From-SVN: r100555

gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.ac

index be74bb1b786ce71f34fc5eb1485adafaa20b96eb..372e308d491136ba668bb69a6b17ce7b0e712d95 100644 (file)
@@ -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
index 6221762435f58b7b09ad9346183addad1d819a8c..2d12fd040429d278edd27bb46c5e1d654d03fca4 100644 (file)
 #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
index b4b41b977826f18ca209b77589440708db7997e6..d258e444d30a6a181a86aa07434822f11e6c170e 100755 (executable)
@@ -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
index 7c6bfceea72590a61e41182984c37f8c37cf7366..f5ac726501ba6bf5e1af7a84db2b0cadb886d30b 100644 (file)
@@ -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"
This page took 0.095234 seconds and 5 git commands to generate.