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
This commit is contained in:
Andy Wingo 2001-12-26 23:14:44 +00:00
parent 807312e7b4
commit e6e91c2666
2 changed files with 7 additions and 0 deletions

View file

@ -158,6 +158,8 @@ autoheader || {
echo "autoheader failed" echo "autoheader failed"
exit 1 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 ... " echo "+ running autoconf ... "
autoconf || { autoconf || {
echo echo

View file

@ -104,6 +104,11 @@ dnl ##############################
dnl Check for tools: dnl Check for tools:
dnl ================ 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 dnl Check for nasm
AC_PATH_PROG(NASM_PATH, nasm, no) AC_PATH_PROG(NASM_PATH, nasm, no)
AC_SUBST(NASM_PATH) AC_SUBST(NASM_PATH)