diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-08-20 13:31:25 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2012-08-20 13:31:25 +0100 |
commit | 19f757838959f060042c2db6c6dee79a930dfa5c (patch) | |
tree | 7956635903b2107e6cbc9ebf5d77e1b2cca35ca9 | |
parent | 45db3141b75ad7f754ea89264403881eae4278d3 (diff) | |
download | gcc-19f757838959f060042c2db6c6dee79a930dfa5c.zip gcc-19f757838959f060042c2db6c6dee79a930dfa5c.tar.gz gcc-19f757838959f060042c2db6c6dee79a930dfa5c.tar.bz2 |
configure.ac (ffs): Check for declaration.
* configure.ac (ffs): Check for declaration.
* configure, config.in: Regenerate.
From-SVN: r190532
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config.in | 6 | ||||
-rwxr-xr-x | gcc/configure | 2 | ||||
-rw-r--r-- | gcc/configure.ac | 2 |
4 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 07b6a6c..f892f00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-08-20 Joseph Myers <joseph@codesourcery.com> + + * configure.ac (ffs): Check for declaration. + * configure, config.in: Regenerate. + 2012-08-20 Richard Guenther <rguenther@suse.de> * tree-flow.h (register_new_name_mapping): Remove. diff --git a/gcc/config.in b/gcc/config.in index a9417df..7fe6485 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -621,6 +621,12 @@ #endif +/* Define to 1 if we found a declaration for 'ffs', otherwise define to 0. */ +#ifndef USED_FOR_TARGET +#undef HAVE_DECL_FFS +#endif + + /* Define to 1 if we found a declaration for 'fgetc_unlocked', otherwise define to 0. */ #ifndef USED_FOR_TARGET diff --git a/gcc/configure b/gcc/configure index 7f3489d..47106e4 100755 --- a/gcc/configure +++ b/gcc/configure @@ -10288,7 +10288,7 @@ CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include" for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd \ strsignal strstr stpcpy strverscmp \ 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 + free basename getopt clock getpagesize ffs 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 ac_tr_decl=`$as_echo "HAVE_DECL_$ac_func" | $as_tr_cpp` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_func is declared" >&5 diff --git a/gcc/configure.ac b/gcc/configure.ac index 6bfbf35..7042c91 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -1075,7 +1075,7 @@ CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include" gcc_AC_CHECK_DECLS(getenv atol asprintf sbrk abort atof getcwd getwd \ strsignal strstr stpcpy strverscmp \ errno snprintf vsnprintf vasprintf malloc realloc calloc \ - free basename getopt clock getpagesize gcc_UNLOCKED_FUNCS, , ,[ + free basename getopt clock getpagesize ffs gcc_UNLOCKED_FUNCS, , ,[ #include "ansidecl.h" #include "system.h"]) |