]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac (ffs): Check for declaration.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 20 Aug 2012 12:31:25 +0000 (13:31 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 20 Aug 2012 12:31:25 +0000 (13:31 +0100)
* configure.ac (ffs): Check for declaration.
* configure, config.in: Regenerate.

From-SVN: r190532

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

index 07b6a6ca338e7ccf615d7260dc037750fe80d21d..f892f00f2b7f098045eeaf3ef98914d4d42fdcf0 100644 (file)
@@ -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.
index a9417dfd80b704f4912e44884cd18ad1ab8279e1..7fe6485c3af3da06597be939176590257ea6c6e5 100644 (file)
 #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
index 7f3489d0e8f4e68e5fabdabdd9c2981cb7dd949c..47106e4f8e9294001a36d0bf6382ccc85126ebfd 100755 (executable)
@@ -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
index 6bfbf354d1c8120016d063eb2481885b2cf2e28a..7042c9116ecfaedd7e386531a64890b920027380 100644 (file)
@@ -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"])