Ever since the "Tcl", "Perl5", etc directories were moved down under "tools"
configure doesn't work when you configure in a separate build directory:

$ cd build-pilot-link
$ ../pilot-link.0.9.5-pre5/configure
[...]
mkdir: cannot make directory `tools/Python': No such file or directory
creating tools/Python/Makefile
./config.status: tools/Python/Makefile: No such file or directory
[...]

This is because AC_OUTPUT can only create one parent directory at a
time.  This patch gauches its way around this problem:

2001-03-01  John Marshall  <[EMAIL PROTECTED]>

        * configure.in (AC_OUTPUT): Add tools/empty to AC_OUTPUT so that
        it isn't asked to create more than one parent directory at once.
        * empty.in: New file.
        * Makefile.in: Delete generated "empty" file in distclean.
        * configure: Regenerate.

diff -urNp orig-pilot-link.0.9.5-pre5/Makefile.in pilot-link.0.9.5-pre5/Makefile.in
--- orig-pilot-link.0.9.5-pre5/Makefile.in      Sun Jan 28 20:46:29 2001
+++ pilot-link.0.9.5-pre5/Makefile.in   Thu Mar  1 16:11:54 2001
@@ -313,7 +313,7 @@ distclean: clean depend
        -cd $(SUBDIRS)/Java ; $(MAKE) distclean
        -cd tests ; $(MAKE) distclean
        $(RM) *~ *.orig */*~ */*.orig
-       $(RM) $(SUBDIRS)/Tcl/Makefile $(SUBDIRS)/Perl5/Makefile.PL 
$(SUBDIRS)/Perl5/Makefile $(SUBDIRS)/Python/Makefile
+       $(RM) $(SUBDIRS)/Tcl/Makefile $(SUBDIRS)/Perl5/Makefile.PL 
+$(SUBDIRS)/Perl5/Makefile $(SUBDIRS)/Python/Makefile $(SUBDIRS)/empty
 
 clean:
        $(RM) *.o *.a *.lo *.la core a.out tarball test_s test_c install-prc$(EXT) 
pilot-debug$(EXT)
diff -urNp orig-pilot-link.0.9.5-pre5/configure.in pilot-link.0.9.5-pre5/configure.in
--- orig-pilot-link.0.9.5-pre5/configure.in     Sun Jan 28 20:46:30 2001
+++ pilot-link.0.9.5-pre5/configure.in  Thu Mar  1 16:11:20 2001
@@ -636,4 +636,4 @@ LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/
 AC_SUBST(LTLIBOBJS)
 LTALLOCA=`echo "$ALLOCA" | sed 's/\.o/\.lo/g'`
 AC_SUBST(LTALLOCA)
-AC_OUTPUT(libsock/Makefile $cc_m Makefile tools/Python/Makefile tools/Tcl/Makefile 
tools/Perl5/Makefile.PL tools/Java/Makefile tests/Makefile)
+AC_OUTPUT(libsock/Makefile $cc_m Makefile tools/empty tools/Python/Makefile 
+tools/Tcl/Makefile tools/Perl5/Makefile.PL tools/Java/Makefile tests/Makefile)
diff -urNp orig-pilot-link.0.9.5-pre5/tools/empty.in 
pilot-link.0.9.5-pre5/tools/empty.in
--- orig-pilot-link.0.9.5-pre5/tools/empty.in   Wed Dec 31 16:00:00 1969
+++ pilot-link.0.9.5-pre5/tools/empty.in        Thu Mar  1 16:13:30 2001
@@ -0,0 +1 @@
+This space intentionally left blank.
_______________________________________________
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix

Reply via email to