summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2001-12-26 23:14:44 +0000
committerAndy Wingo <wingo@pobox.com>2001-12-26 23:14:44 +0000
commite6e91c26660f3b72d6ac1537a763c64108b83bc2 (patch)
tree51fe94be14c08dc10668a2b037c5e27dd0b99d0a
parent807312e7b44a368b533fd43ea665c45b2131bcab (diff)
added --with-pkg-config-path option try not to run autoheader too much
Original commit message from CVS: * added --with-pkg-config-path option * try not to run autoheader too much
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac5
2 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index b243f8f2..35347859 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -158,6 +158,8 @@ autoheader || {
echo "autoheader failed"
exit 1
}
+# touch the stamp-h.in build stamp so we don't re-run autoheader in maintainer mode -- wingo
+echo timestamp > stamp-h.in 2> /dev/null
echo "+ running autoconf ... "
autoconf || {
echo
diff --git a/configure.ac b/configure.ac
index 57dfc4ce..8d813aa5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,6 +104,11 @@ dnl ##############################
dnl Check for tools:
dnl ================
+dnl modify pkg-config path
+AC_ARG_WITH(pkg-config-path,
+ AC_HELP_STRING([--with-pkg-config-path],[colon-separated list of pkg-config(1) dirs]),
+ [export PKG_CONFIG_PATH=${withval}])
+
dnl Check for nasm
AC_PATH_PROG(NASM_PATH, nasm, no)
AC_SUBST(NASM_PATH)