about summary refs log tree commit diff
diff options
context:
space:
mode:
-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