From 5fbd343d8c6a9f3fc2e7026e909a5a63371d8692 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 23 Apr 1998 00:52:19 +0000 Subject: 1998-04-02 Gordon Matzigkeit * Makefile (srcdir): Don't set srcdir, since this is either done in the generated Makefile or in Makeconf. Just include ./Makeconf directly. * configure.in (makefiles): Check for $ac_unique_file, rather than doing string comparisons to determine if we are configured in the source directory. This works for silly things like `srcdir=./.'. --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 8f55c4c1..ff28fde5 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_REVISION([$Id: configure.in,v 1.11 1997/05/23 16:39:25 thomas Exp $]) +AC_REVISION([$Id: configure.in,v 1.12 1998/04/23 00:52:19 tb Exp $]) AC_PREREQ(2.4) dnl Minimum Autoconf version required. AC_INIT(hurd/hurd_types.h) dnl A distinctive file to look for in srcdir. @@ -48,7 +48,7 @@ LIBS="$LIBCRYPT $LIBS" AC_CHECK_FUNCS(crypt) LIBS="$_SAVE_LIBS" -if test $srcdir = .; then +if test -f ./$ac_unique_file; then # Configuring in source directory; don't create any Makefiles. makefiles= else -- cgit v1.2.3