From 4749420f325acc5965cd942d78ba9ce28c686eda Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 11 Jul 2013 10:36:22 +0200 Subject: [PATCH] Use relative dir instead of ac_builddir When generating src/build-info.h the use of ac_builddir was problematic. There were several cases where it was undefined leading to the absolute path /src/build-info.h. ./configure should be called from the parent dir to the actual src dir, so this should work. Make distcheck and normal builds complete fine. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 680904871c5..8077a785c75 100644 --- a/configure.ac +++ b/configure.ac @@ -1633,9 +1633,9 @@ Generic build parameters: echo echo "$SURICATA_BUILD_CONF" -echo "printf(" >${ac_builddir}/src/build-info.h -echo "$SURICATA_BUILD_CONF" | sed -e 's/^/"/' | sed -e 's/$/\\n"/' >>${ac_builddir}/src/build-info.h -echo ");" >>${ac_builddir}/src/build-info.h +echo "printf(" >src/build-info.h +echo "$SURICATA_BUILD_CONF" | sed -e 's/^/"/' | sed -e 's/$/\\n"/' >>src/build-info.h +echo ");" >>src/build-info.h echo " To build and install run 'make' and 'make install'.