aboutsummaryrefslogtreecommitdiff
path: root/opcodes/configure.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-08-31 14:55:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-08-31 14:55:10 +0000
commitdabbade67e0b558a90c99f1c5173026a2c339ada (patch)
tree6a36d3a3e8f8d2265577bda9668a4d356d2be638 /opcodes/configure.in
parenta1438fce30be2e62cfcb2d798e46766c65b82316 (diff)
downloadfsf-binutils-gdb-dabbade67e0b558a90c99f1c5173026a2c339ada.zip
fsf-binutils-gdb-dabbade67e0b558a90c99f1c5173026a2c339ada.tar.gz
fsf-binutils-gdb-dabbade67e0b558a90c99f1c5173026a2c339ada.tar.bz2
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. * Makefile.in: Regenerated. * configure.in (AC_GNU_SOURCE): Added. (AC_PROG_CC): Moved before AC_GNU_SOURCE. (AC_CHECK_DECLS): Add stpcpy. * configure: Regenerated. * config.in: Likewise. * i386-dis.c: Include "sysdep.h" before "dis-asm.h". * sysdep.h (stpcpy): New.
Diffstat (limited to 'opcodes/configure.in')
-rw-r--r--opcodes/configure.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/opcodes/configure.in b/opcodes/configure.in
index 104653f..b3a9fef 100644
--- a/opcodes/configure.in
+++ b/opcodes/configure.in
@@ -17,6 +17,9 @@ changequote([,])dnl
AM_INIT_AUTOMAKE(opcodes, ${BFD_VERSION})
+AC_PROG_CC
+AC_GNU_SOURCE
+
dnl These must be called before AM_PROG_LIBTOOL, because it may want
dnl to call AC_CHECK_PROG.
AC_CHECK_TOOL(AR, ar)
@@ -58,8 +61,6 @@ AC_EXEEXT
# host-specific stuff:
-AC_PROG_CC
-
ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN"
ZW_GNU_GETTEXT_SISTER_DIR
AM_PO_SUBDIRS
@@ -73,7 +74,7 @@ AC_PROG_INSTALL
AC_CHECK_HEADERS(string.h strings.h stdlib.h)
-AC_CHECK_DECLS(basename)
+AC_CHECK_DECLS([basename, stpcpy])
cgen_maint=no
cgendir='$(srcdir)/../cgen'