diff options
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 71b54b9..0f417f6f 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -33,6 +33,14 @@ AM_PROG_CC_STDC AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..) AC_CANONICAL_SYSTEM +# FIXME: kettenis/20030102: The AC_PROG_RANLIB from Autoconf 2.13 +# doesn't support cross-compilation, but the one from Autoconf 2.5x +# does. Override RANLIB here (i.e. before running AC_PROG_RANLIB) to +# deal with the lossage. Note that CY_GNU_GETTEXT currently calls +# AC_PROG_RANLIB. This can be removed when we switch to # Autoconf +# 2.5x. +AC_CHECK_TOOL(RANLIB, ranlib, :) + dnl Set up for gettext. PACKAGE is used when we call bindtextdomain. ALL_LINGUAS= CY_GNU_GETTEXT @@ -95,19 +103,25 @@ if test x"${targ_defvec}" != x ; then AC_DEFINE_UNQUOTED(DEFAULT_BFD_VEC, ${targ_defvec}) fi +AC_ARG_PROGRAM + +# --------------------- # +# Checks for programs. # +# --------------------- # + AC_PROG_AWK AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_RANLIB +AC_PROG_YACC + AC_CHECK_TOOL(AR, ar) -AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(DLLTOOL, dlltool) AC_CHECK_TOOL(WINDRES, windres) -AC_PROG_YACC -dnl MiG is needed for the Hurd. +# Needed for GNU/Hurd. AC_CHECK_TOOL(MIG, mig) -AC_ARG_PROGRAM - # ---------------------- # # Checks for libraries. # # ---------------------- # @@ -1405,8 +1419,6 @@ if test "${nativefile}" != ""; then fi AC_SUBST(nm_h) -AC_PROG_LN_S - AC_LINK_FILES($files, $links) dnl Check for exe extension set on certain hosts (e.g. Win32) |