summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-01-07 10:27:13 +0100
committerPavel Raiskup <praiskup@redhat.com>2015-01-07 10:27:13 +0100
commit5ffd9429a89422b6e15f8d05c8ce3ad504e958de (patch)
treed952aaa742cce9818d2a8bd76add406dfb25c1e0
parentd41f894e0fc26ac48032c1f48e3f6bb354e79de1 (diff)
downloadpostgresql-setup-5ffd9429a89422b6e15f8d05c8ce3ad504e958de.tar.gz
postgresql-setup-5ffd9429a89422b6e15f8d05c8ce3ad504e958de.tar.xz
postgresql-setup-5ffd9429a89422b6e15f8d05c8ce3ad504e958de.zip
configury: fix bad usage of srcdir
Note: Revealed thanks to automake 1.5 rebase. * configure.ac ($c_s): Use top_builddir. * tests/Makefile.am (CHECK_DEPS): Use top_builddir.
-rw-r--r--configure.ac2
-rw-r--r--tests/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 298af77..792dcff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,7 @@ SED_CALL="\$(SED) \$(SED_RULES)"
m4_pattern_allow(AM_V_GEN)
INSTANTIATE="\$(AM_V_GEN)\$(SED_CALL) \$< > \$@"
INSTANTIATE_SCRIPT="\$(INSTANTIATE) && chmod +x \$@"
-c_s='$(top_srcdir)/config.status'
+c_s='$(top_builddir)/config.status'
AC_SUBST([SED_RULES])
AC_SUBST([SED_CALL])
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 28197e4..93bef19 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -21,7 +21,7 @@ $(srcdir)/package.m4: $(top_srcdir)/configure.ac
} >'$(srcdir)/package.m4'
TESTSUITE = $(srcdir)/testsuite
-CHECK_DEPS = atconfig atlocal $(TESTSUITE) $(srcdir)/../$(TEST_GEN_FILES_LIST)
+CHECK_DEPS = atconfig atlocal $(TESTSUITE) $(top_builddir)/$(TEST_GEN_FILES_LIST)
atlocal: atlocal.in $(c_s)
$(INSTANTIATE)