added --with-pkg-config-path option try not to run autoheader too much
authorAndy Wingo <wingo@pobox.com>
Wed, 26 Dec 2001 23:14:44 +0000 (23:14 +0000)
committerAndy Wingo <wingo@pobox.com>
Wed, 26 Dec 2001 23:14:44 +0000 (23:14 +0000)
Original commit message from CVS:
* added --with-pkg-config-path option
* try not to run autoheader too much

autogen.sh
configure.ac

index b243f8f2367304d4b6356cc7b5960ca40055a3fe..353478595692a8a319d09e878a2a62582bf00882 100755 (executable)
@@ -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
index 57dfc4cef609a54ce6e0e48c14200f6c876c57f0..8d813aa57878e8a3f9881a2bbd2eac4b4a53ae21 100644 (file)
@@ -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)