aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-08-16 19:35:22 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-08-16 19:35:22 +0000
commit3e321448fa47e472f55e773cb6747f981cdf0dbf (patch)
treef79d6a02c370b4e0d15ef9d5b4406b74d064a95d /binutils/configure.in
parent65ada037fc96409c6e014ce1e6d982480c1f6bed (diff)
downloadgdb-3e321448fa47e472f55e773cb6747f981cdf0dbf.zip
gdb-3e321448fa47e472f55e773cb6747f981cdf0dbf.tar.gz
gdb-3e321448fa47e472f55e773cb6747f981cdf0dbf.tar.bz2
2005-08-16 H.J. Lu <hongjiu.lu@intel.com>
* bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined. * configure.in (AC_GNU_SOURCE): Added. (AC_CHECK_DECLS): Add stpcpy. * configure: Regenerated. * config.in: Likewise.
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index 0f328a3..e2bde16 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -41,6 +41,7 @@ if test -z "$host" ; then
fi
AC_PROG_CC
+AC_GNU_SOURCE
AC_PROG_YACC
AM_PROG_LEX
@@ -171,7 +172,7 @@ if test $bu_cv_header_utime_h = yes; then
AC_DEFINE(HAVE_GOOD_UTIME_H, 1, [Does <utime.h> define struct utimbuf?])
fi
-AC_CHECK_DECLS([fprintf, strstr, sbrk, getenv, environ, getc_unlocked])
+AC_CHECK_DECLS([fprintf, stpcpy, strstr, sbrk, getenv, environ, getc_unlocked])
BFD_BINARY_FOPEN