summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1998-04-23 00:52:19 +0000
committerThomas Bushnell <thomas@gnu.org>1998-04-23 00:52:19 +0000
commitb6b4205cbf0551528e954065d33b930a7355c0eb (patch)
treea98363338cec5b3eac9a75876d8dba150f9134a9 /configure.in
parentc6358909aa9e73d34a5da39e3ea945c9c07b9e1a (diff)
1998-04-02 Gordon Matzigkeit <gord@profitpress.com>
* 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=./.'.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
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