diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-01 02:14:08 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-01 02:14:08 +0000 |
commit | 6cab75a2e5fffd4ee635a76d1488093c2a58d001 (patch) | |
tree | d9a4e9f80bc22e2b971fd659740733fe1d1e8f00 | |
parent | b37586b43684ba1a31a489e30d193665e4263480 (diff) |
(AC_OUTPUT): If not in $srcdir, create Makeconf does includes real one.
-rw-r--r-- | configure.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.in b/configure.in index dc5039d4..07d75219 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.3 1996/03/25 08:09:03 roland Exp $]) +AC_REVISION([$Id: configure.in,v 1.4 1996/05/01 02:14:08 roland 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. @@ -42,7 +42,11 @@ else echo ${file}:build.mk.in; done`" fi -AC_OUTPUT(config.make ${makefiles}) +AC_OUTPUT(config.make ${makefiles}, + [if test `cd $srcdir; /bin/pwd` != `/bin/pwd`; then + rm -f Makeconf + echo 'include $(top_srcdir)/Makeconf' >Makeconf + fi]) dnl Local Variables: dnl comment-start: "dnl " |