* configure.ac (AC_CHECK_FUNCS): Sort into alphabetical order.

* configure: Regenerate.
This commit is contained in:
Ben Elliston 2009-11-25 22:41:09 +00:00
parent b6199126ee
commit e96158fc77
3 changed files with 37 additions and 18 deletions

View File

@ -1,3 +1,8 @@
2009-11-26 Ben Elliston <bje@au.ibm.com>
* configure.ac (AC_CHECK_FUNCS): Sort into alphabetical order.
* configure: Regenerate.
2009-11-25 Ben Elliston <bje@au.ibm.com> 2009-11-25 Ben Elliston <bje@au.ibm.com>
* functions.texi: Rebuild. * functions.texi: Rebuild.

25
libiberty/configure vendored
View File

@ -5281,15 +5281,22 @@ checkfuncs="$checkfuncs getsysinfo table sysctl wait3 wait4 __fsetlocking"
# These are neither executed nor required, but they help keep # These are neither executed nor required, but they help keep
# autoheader happy without adding a bunch of text to acconfig.h. # autoheader happy without adding a bunch of text to acconfig.h.
if test "x" = "y"; then if test "x" = "y"; then
for ac_func in asprintf atexit basename bcmp bcopy bsearch bzero calloc clock \ for ac_func in asprintf atexit \
getcwd getpagesize gettimeofday index insque mkstemps memchr memcmp memcpy \ basename bcmp bcopy bsearch bzero \
memmem memmove mempcpy memset putenv random rename rindex sigsetmask \ calloc canonicalize_file_name clock \
strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strndup strrchr strstr \ ffs __fsetlocking \
strtod strtol strtoul strverscmp tmpnam vasprintf vfprintf vprintf \ getcwd getpagesize getrusage getsysinfo gettimeofday \
vsprintf waitpid getrusage on_exit psignal strerror strsignal \ index insque \
sysconf times sbrk gettimeofday ffs snprintf vsnprintf \ memchr memcmp memcpy memmem memmove memset mkstemps \
pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl wait3 wait4 \ on_exit \
realpath canonicalize_file_name __fsetlocking psignal pstat_getdynamic pstat_getstatic putenv \
random realpath rename rindex \
sbrk setenv sigsetmask snprintf stpcpy stpncpy strcasecmp strchr strdup \
strerror strncasecmp strndup strrchr strsignal strstr strtod strtol \
strtoul strverscmp sysconf sysctl sysmp \
table times tmpnam \
vasprintf vfprintf vprintf vsprintf \
wait3 wait4 waitpid
do : do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"

View File

@ -362,15 +362,22 @@ checkfuncs="$checkfuncs getsysinfo table sysctl wait3 wait4 __fsetlocking"
# These are neither executed nor required, but they help keep # These are neither executed nor required, but they help keep
# autoheader happy without adding a bunch of text to acconfig.h. # autoheader happy without adding a bunch of text to acconfig.h.
if test "x" = "y"; then if test "x" = "y"; then
AC_CHECK_FUNCS(asprintf atexit basename bcmp bcopy bsearch bzero calloc clock \ AC_CHECK_FUNCS(asprintf atexit \
getcwd getpagesize gettimeofday index insque mkstemps memchr memcmp memcpy \ basename bcmp bcopy bsearch bzero \
memmem memmove mempcpy memset putenv random rename rindex sigsetmask \ calloc canonicalize_file_name clock \
strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strndup strrchr strstr \ ffs __fsetlocking \
strtod strtol strtoul strverscmp tmpnam vasprintf vfprintf vprintf \ getcwd getpagesize getrusage getsysinfo gettimeofday \
vsprintf waitpid getrusage on_exit psignal strerror strsignal \ index insque \
sysconf times sbrk gettimeofday ffs snprintf vsnprintf \ memchr memcmp memcpy memmem memmove memset mkstemps \
pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl wait3 wait4 \ on_exit \
realpath canonicalize_file_name __fsetlocking) psignal pstat_getdynamic pstat_getstatic putenv \
random realpath rename rindex \
sbrk setenv sigsetmask snprintf stpcpy stpncpy strcasecmp strchr strdup \
strerror strncasecmp strndup strrchr strsignal strstr strtod strtol \
strtoul strverscmp sysconf sysctl sysmp \
table times tmpnam \
vasprintf vfprintf vprintf vsprintf \
wait3 wait4 waitpid)
AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf]) AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf])
AC_DEFINE(HAVE_SYS_ERRLIST, 1, [Define if you have the sys_errlist variable.]) AC_DEFINE(HAVE_SYS_ERRLIST, 1, [Define if you have the sys_errlist variable.])
AC_DEFINE(HAVE_SYS_NERR, 1, [Define if you have the sys_nerr variable.]) AC_DEFINE(HAVE_SYS_NERR, 1, [Define if you have the sys_nerr variable.])