mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
fix last commit
This commit is contained in:
@ -53,13 +53,37 @@
|
|||||||
*/
|
*/
|
||||||
#undef HAVE_ALLOCA_H
|
#undef HAVE_ALLOCA_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DECL_FREE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DECL_GETENV
|
||||||
|
|
||||||
/* Is the prototype for getopt in <unistd.h> in the expected format? */
|
/* Is the prototype for getopt in <unistd.h> in the expected format? */
|
||||||
#undef HAVE_DECL_GETOPT
|
#undef HAVE_DECL_GETOPT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DECL_MALLOC
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `mempcpy', and to 0 if you
|
/* Define to 1 if you have the declaration of `mempcpy', and to 0 if you
|
||||||
don't. */
|
don't. */
|
||||||
#undef HAVE_DECL_MEMPCPY
|
#undef HAVE_DECL_MEMPCPY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#undef HAVE_DECL_REALLOC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DECL_STPCPY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DECL_STRSTR
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
||||||
don't. */
|
don't. */
|
||||||
#undef HAVE_DECL_VSNPRINTF
|
#undef HAVE_DECL_VSNPRINTF
|
||||||
@ -70,12 +94,6 @@
|
|||||||
/* Define to 1 if you have the <errno.h> header file. */
|
/* Define to 1 if you have the <errno.h> header file. */
|
||||||
#undef HAVE_ERRNO_H
|
#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. */
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
#undef HAVE_INTTYPES_H
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
@ -88,15 +106,9 @@
|
|||||||
/* Define to 1 if you have the <locale.h> header file. */
|
/* Define to 1 if you have the <locale.h> header file. */
|
||||||
#undef HAVE_LOCALE_H
|
#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. */
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
#undef HAVE_MEMORY_H
|
#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. */
|
/* Define to 1 if you have the `remove' function. */
|
||||||
#undef HAVE_REMOVE
|
#undef HAVE_REMOVE
|
||||||
|
|
||||||
@ -112,18 +124,12 @@
|
|||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#undef HAVE_STDLIB_H
|
#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. */
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
#undef HAVE_STRINGS_H
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
#undef HAVE_STRING_H
|
#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 */
|
/* Define if <sys/stat.h> has struct stat.st_mtim.tv_nsec */
|
||||||
#undef HAVE_ST_MTIM_TV_NSEC
|
#undef HAVE_ST_MTIM_TV_NSEC
|
||||||
|
|
||||||
|
61
gas/configure
vendored
61
gas/configure
vendored
@ -13478,7 +13478,7 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for ac_func in free getenv malloc realloc sbrk setlocale stpcpy strstr
|
for ac_func in sbrk setlocale
|
||||||
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"
|
||||||
@ -14029,6 +14029,36 @@ $as_echo "#define NEED_DECLARATION_STRSTR 1" >>confdefs.h
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_have_decl_free" = x""yes; then :
|
||||||
|
ac_have_decl=1
|
||||||
|
else
|
||||||
|
ac_have_decl=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_DECL_FREE $ac_have_decl
|
||||||
|
_ACEOF
|
||||||
|
ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_have_decl_getenv" = x""yes; then :
|
||||||
|
ac_have_decl=1
|
||||||
|
else
|
||||||
|
ac_have_decl=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_DECL_GETENV $ac_have_decl
|
||||||
|
_ACEOF
|
||||||
|
ac_fn_c_check_decl "$LINENO" "malloc" "ac_cv_have_decl_malloc" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_have_decl_malloc" = x""yes; then :
|
||||||
|
ac_have_decl=1
|
||||||
|
else
|
||||||
|
ac_have_decl=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_DECL_MALLOC $ac_have_decl
|
||||||
|
_ACEOF
|
||||||
ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
|
ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
|
||||||
if test "x$ac_cv_have_decl_mempcpy" = x""yes; then :
|
if test "x$ac_cv_have_decl_mempcpy" = x""yes; then :
|
||||||
ac_have_decl=1
|
ac_have_decl=1
|
||||||
@ -14039,7 +14069,36 @@ fi
|
|||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
#define HAVE_DECL_MEMPCPY $ac_have_decl
|
#define HAVE_DECL_MEMPCPY $ac_have_decl
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
ac_fn_c_check_decl "$LINENO" "realloc" "ac_cv_have_decl_realloc" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_have_decl_realloc" = x""yes; then :
|
||||||
|
ac_have_decl=1
|
||||||
|
else
|
||||||
|
ac_have_decl=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_DECL_REALLOC $ac_have_decl
|
||||||
|
_ACEOF
|
||||||
|
ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_have_decl_stpcpy" = x""yes; then :
|
||||||
|
ac_have_decl=1
|
||||||
|
else
|
||||||
|
ac_have_decl=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_DECL_STPCPY $ac_have_decl
|
||||||
|
_ACEOF
|
||||||
|
ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_have_decl_strstr" = x""yes; then :
|
||||||
|
ac_have_decl=1
|
||||||
|
else
|
||||||
|
ac_have_decl=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_DECL_STRSTR $ac_have_decl
|
||||||
|
_ACEOF
|
||||||
ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
|
ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
|
||||||
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
|
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
|
||||||
ac_have_decl=1
|
ac_have_decl=1
|
||||||
|
@ -663,7 +663,7 @@ AC_C_INLINE
|
|||||||
|
|
||||||
# VMS doesn't have unlink.
|
# VMS doesn't have unlink.
|
||||||
AC_CHECK_FUNCS(unlink remove, break)
|
AC_CHECK_FUNCS(unlink remove, break)
|
||||||
AC_CHECK_FUNCS(free getenv malloc realloc sbrk setlocale stpcpy strstr)
|
AC_CHECK_FUNCS(sbrk setlocale)
|
||||||
|
|
||||||
AM_LC_MESSAGES
|
AM_LC_MESSAGES
|
||||||
|
|
||||||
@ -727,8 +727,7 @@ GAS_CHECK_DECL_NEEDED(malloc, f, char *(*f)(), $gas_test_headers)
|
|||||||
GAS_CHECK_DECL_NEEDED(sbrk, f, char *(*f)(), $gas_test_headers)
|
GAS_CHECK_DECL_NEEDED(sbrk, f, char *(*f)(), $gas_test_headers)
|
||||||
GAS_CHECK_DECL_NEEDED(strstr, f, char *(*f)(), $gas_test_headers)
|
GAS_CHECK_DECL_NEEDED(strstr, f, char *(*f)(), $gas_test_headers)
|
||||||
|
|
||||||
AC_CHECK_DECLS([mempcpy])
|
AC_CHECK_DECLS([free, getenv, malloc, mempcpy, realloc, stpcpy, strstr, vsnprintf])
|
||||||
AC_CHECK_DECLS([vsnprintf])
|
|
||||||
|
|
||||||
BFD_BINARY_FOPEN
|
BFD_BINARY_FOPEN
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user