From c717a173a769e1fa366615a44ccf9cddec1a0c7d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 12 Aug 1998 20:56:17 +0000 Subject: 1998-08-12 Roland McGrath * aclocal.m4 (AC_PROG_CC_LOCAL): Renamed to hurd_PROG_CC. (AC_PROG_CC_WORKS_LOCAL): Renamed to hurd_PROG_CC_WORKS. * configure.in: Use hurd_PROG_CC instead of AC_PROG_CC_LOCAL. (AC_PREREQ): Require 2.12. (AC_CANONICAL_HOST): Give helpful error messages for likely cases of bogus host specs. (crypt check): Don't do AC_CHECK_FUNCS to get HAVE_CRYPT, just check for -lcrypt to set $LIBCRYPT. --- aclocal.m4 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'aclocal.m4') diff --git a/aclocal.m4 b/aclocal.m4 index e5abbb33..27ac5245 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -3,7 +3,7 @@ dnl In the situation that cross-linking is impossible, the variable dnl `cross_linkable' will be substituted with "yes". dnl -AC_DEFUN(AC_PROG_CC_LOCAL, +AC_DEFUN(hurd_PROG_CC, [AC_BEFORE([$0], [AC_PROG_CPP])dnl AC_CHECK_PROG(CC, gcc, gcc) if test -z "$CC"; then @@ -11,7 +11,7 @@ if test -z "$CC"; then test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) fi -AC_PROG_CC_WORKS_LOCAL +hurd_PROG_CC_WORKS AC_PROG_CC_GNU if test $ac_cv_prog_gcc = yes; then @@ -52,7 +52,7 @@ dnl test "${CFLAGS+set}" = set || CFLAGS="-g" fi ]) -AC_DEFUN(AC_PROG_CC_WORKS_LOCAL, +AC_DEFUN(hurd_PROG_CC_WORKS, [AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $LDFLAGS) works]) AC_LANG_SAVE AC_LANG_C @@ -71,4 +71,3 @@ AC_MSG_RESULT($ac_cv_prog_cc_cross) AC_SUBST(cross_linkable) cross_compiling=$ac_cv_prog_cc_cross ]) - -- cgit v1.2.3