about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMats Erik Andersson <gnu@gisladisker.se>2012-10-10T09·10+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-10T14·28-0400
commitecedd9c50c50bb42accf27394193bb7ef80c75b0 (patch)
treeb1cc333064c0cd4a62352047c878aa1a42c62ca8
parent70f75be199d8db959d313dc40111893fba56415f (diff)
Out-of-tree building of perl modules.
-rw-r--r--configure.ac2
-rw-r--r--perl/Makefile.am1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 11a5390fa44c..7333e03c047f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -341,7 +341,7 @@ AC_SUBST(dynlib_suffix)
 
 # Do we have GNU tar?
 AC_MSG_CHECKING([if you have a recent GNU tar])
-if $tar --version 2> /dev/null | grep -q GNU && tar cvf /dev/null --warning=no-timestamp ./configure > /dev/null; then
+if $tar --version 2> /dev/null | grep -q GNU && tar cvf /dev/null --warning=no-timestamp ./config.log > /dev/null; then
     AC_MSG_RESULT(yes)
     tarFlags="--warning=no-timestamp"
 else
diff --git a/perl/Makefile.am b/perl/Makefile.am
index e42894353088..aaf76bbc8fd0 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -26,6 +26,7 @@ AM_CXXFLAGS = \
   -D_FILE_OFFSET_BITS=64
 
 lib/Nix/Store.cc: lib/Nix/Store.xs
+	$(INSTALL) -d lib/Nix
 	xsubpp $^ -output $@
 
 else