diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index cba7480266..43158ac1b5 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2005-04-26 Jerome Guitton + + * configure.in: Fix the check for basename declaration. + * configure: Regenerate. + 2005-04-19 Alan Modra * ppc-opc.c (RTO): Define. diff --git a/opcodes/configure b/opcodes/configure index 094f8c1104..7080ceed0d 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -8542,8 +8542,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include "sysdep.h" - +$ac_includes_default int main () { diff --git a/opcodes/configure.in b/opcodes/configure.in index 3e356b32cc..afc5c36f0a 100644 --- a/opcodes/configure.in +++ b/opcodes/configure.in @@ -72,7 +72,7 @@ AC_PROG_INSTALL AC_CHECK_HEADERS(string.h strings.h stdlib.h) -AC_CHECK_DECLS(basename, , , [#include "sysdep.h"]) +AC_CHECK_DECLS(basename) cgen_maint=no cgendir='$(srcdir)/../cgen'