mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* configure.in: Check DECLS for free, getenv, malloc, realloc,
* configure: Regenerate. * config.in: Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2012-06-18 Iain Sandoe <iain@codesourcery.com>
|
||||
|
||||
* configure.in: Check DECLS for free, getenv, malloc, realloc,
|
||||
* configure: Regenerate.
|
||||
* config.in: Likewise.
|
||||
|
||||
2012-06-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-i386.c (x86_address_bytes): New.
|
||||
|
@ -70,6 +70,12 @@
|
||||
/* Define to 1 if you have the <errno.h> header file. */
|
||||
#undef HAVE_ERRNO_H
|
||||
|
||||
/* Define to 1 if you have the `free' function. */
|
||||
#undef HAVE_FREE
|
||||
|
||||
/* Define to 1 if you have the `getenv' function. */
|
||||
#undef HAVE_GETENV
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
@ -82,9 +88,15 @@
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
/* Define to 1 if you have the `malloc' function. */
|
||||
#undef HAVE_MALLOC
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `realloc' function. */
|
||||
#undef HAVE_REALLOC
|
||||
|
||||
/* Define to 1 if you have the `remove' function. */
|
||||
#undef HAVE_REMOVE
|
||||
|
||||
@ -100,12 +112,18 @@
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the `stpcpy' function. */
|
||||
#undef HAVE_STPCPY
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the `strstr' function. */
|
||||
#undef HAVE_STRSTR
|
||||
|
||||
/* Define if <sys/stat.h> has struct stat.st_mtim.tv_nsec */
|
||||
#undef HAVE_ST_MTIM_TV_NSEC
|
||||
|
||||
|
23
gas/configure
vendored
23
gas/configure
vendored
@ -13478,31 +13478,20 @@ _ACEOF
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
# Some systems don't have sbrk().
|
||||
for ac_func in sbrk
|
||||
for ac_func in free getenv malloc realloc sbrk setlocale stpcpy strstr
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "sbrk" "ac_cv_func_sbrk"
|
||||
if test "x$ac_cv_func_sbrk" = x""yes; then :
|
||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||
eval as_val=\$$as_ac_var
|
||||
if test "x$as_val" = x""yes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_SBRK 1
|
||||
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
for ac_func in setlocale
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
|
||||
if test "x$ac_cv_func_setlocale" = x""yes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_SETLOCALE 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
|
||||
$as_echo_n "checking for LC_MESSAGES... " >&6; }
|
||||
|
@ -663,11 +663,8 @@ AC_C_INLINE
|
||||
|
||||
# VMS doesn't have unlink.
|
||||
AC_CHECK_FUNCS(unlink remove, break)
|
||||
AC_CHECK_FUNCS(free getenv malloc realloc sbrk setlocale stpcpy strstr)
|
||||
|
||||
# Some systems don't have sbrk().
|
||||
AC_CHECK_FUNCS(sbrk)
|
||||
|
||||
AC_CHECK_FUNCS(setlocale)
|
||||
AM_LC_MESSAGES
|
||||
|
||||
# do we need the math library?
|
||||
|
Reference in New Issue
Block a user