From 5c9744f3befdeda5cf05b9325e3eda27ef12e3ec Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 31 Aug 2007 14:55:10 +0000 Subject: 2007-08-31 H.J. Lu * 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. --- opcodes/config.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'opcodes/config.in') diff --git a/opcodes/config.in b/opcodes/config.in index 6dec095be1..aee9c40b89 100644 --- a/opcodes/config.in +++ b/opcodes/config.in @@ -8,6 +8,10 @@ don't. */ #undef HAVE_DECL_BASENAME +/* 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 header file. */ #undef HAVE_DLFCN_H @@ -65,3 +69,8 @@ /* Version number of package */ #undef VERSION + +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif -- cgit v1.2.1