Commit 38f903d9 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

There is no need to pass the [not found] argument to AC_PATH_PROG, since

* macros/misc.m4 (REGEXXER_PKG_PATH_PROG): There is no need to
pass the [not found] argument to AC_PATH_PROG, since the default
action is just right.
* macros/pcre.m4 (PCRE_CHECK_VERSION): ditto.
parent 17051d98
2004-05-28 Daniel Elstner <daniel.elstner@gmx.net>
* macros/misc.m4 (REGEXXER_PKG_PATH_PROG): There is no need to
pass the [not found] argument to AC_PATH_PROG, since the default
action is just right.
* macros/pcre.m4 (PCRE_CHECK_VERSION): ditto.
2004-05-28 Daniel Elstner <daniel.elstner@gmx.net>
* Makefile.am (ACLOCAL_AMFLAGS): Add ${ACLOCAL_FLAGS} as
......
......@@ -34,9 +34,9 @@ pkg_search_path=$PATH
pkg_exec_prefix=`${PKG_CONFIG-"pkg-config"} --variable=exec_prefix "$2" 2>&5`
test "x$pkg_exec_prefix" = x || pkg_search_path="$pkg_exec_prefix/bin$PATH_SEPARATOR$pkg_search_path"
AC_PATH_PROG([$1], [$3], [not found], [$pkg_search_path])
AC_PATH_PROG([$1], [$3],, [$pkg_search_path])
AS_IF([test "x$$1" = "xnot found"],
AS_IF([test "x$$1" = x],
[
AC_MSG_ERROR([[
*** Ooops, couldn't find ]$3[. Actually this should
......
......@@ -29,9 +29,9 @@ AC_DEFUN([PCRE_CHECK_VERSION],
m4_if([$1],, [AC_FATAL([argument required])])
AC_ARG_VAR([PCRE_CONFIG], [path to pcre-config script])
AC_PATH_PROG([PCRE_CONFIG], [pcre-config], [not found])
AC_PATH_PROG([PCRE_CONFIG], [pcre-config])
AS_IF([test "x$PCRE_CONFIG" = "xnot found"],
AS_IF([test "x$PCRE_CONFIG" = x],
[
AC_MSG_ERROR([[
*** pcre-config is missing. Please install your distribution's
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment