* configure.in: Create "Checks for programs" section, and move

appropriate tests there.
This commit is contained in:
Mark Kettenis 2003-01-02 00:51:28 +00:00
parent 53dd8dab9f
commit 8bb2c1226b
3 changed files with 601 additions and 542 deletions

View file

@ -1,3 +1,8 @@
2003-01-02 Mark Kettenis <kettenis@gnu.org>
* configure.in: Create "Checks for programs" section, and move
appropriate tests there.
2003-01-01 Mark Kettenis <kettenis@gnu.org>
* configure.in: Create "Checks for libraries" section, and move

1108
gdb/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -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,18 +103,24 @@ 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_CHECK_TOOL(AR, ar)
AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_CHECK_TOOL(DLLTOOL, dlltool)
AC_CHECK_TOOL(WINDRES, windres)
AC_PROG_LN_S
AC_PROG_RANLIB
AC_PROG_YACC
dnl MiG is needed for the Hurd.
AC_CHECK_TOOL(MIG, mig)
AC_CHECK_TOOL(AR, ar)
AC_CHECK_TOOL(DLLTOOL, dlltool)
AC_CHECK_TOOL(WINDRES, windres)
AC_ARG_PROGRAM
# Needed for GNU/Hurd.
AC_CHECK_TOOL(MIG, mig)
# ---------------------- #
# 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)