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
commit5fbd343d8c6a9f3fc2e7026e909a5a63371d8692 (patch)
tree698b496460f04ccb8ea9286eb453c01f545281d3 /configure.in
parentab62f8b1d1c961193cb56243a82be91dc2f5aa72 (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