diff options
author | Roland McGrath <roland@gnu.org> | 1998-08-12 20:56:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-08-12 20:56:17 +0000 |
commit | c717a173a769e1fa366615a44ccf9cddec1a0c7d (patch) | |
tree | 72641a361d95cc27ce729bac22894e529e5b7853 /aclocal.m4 | |
parent | 9283bb15f7d70c3825943367249a4e2871d80e0f (diff) |
1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
* 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.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 ]) - |