Commit 40b9f192 authored by Tom Lane's avatar Tom Lane

Record full paths of programs sought by "configure".

Previously we had a mix of uses of AC_CHECK_PROG[S] and AC_PATH_PROG[S].
The only difference between those macros is that the latter emits the
full path to the program it finds, eg "/usr/bin/prove", whereas the
former emits just "prove".  Let's standardize on always emitting the
full path; this is better for documentation of the build, and it might
prevent some types of failures if later build steps are done with
a different PATH setting.

I did not touch the AC_CHECK_PROG[S] calls in ax_pthread.m4 and
ax_prog_perl_modules.m4.  There seems no need to make those diverge from
upstream, since we do not record the programs sought by the former, while
the latter's call to AC_CHECK_PROG(PERL,...) will never be reached.

Discussion: https://postgr.es/m/25937.1501433410@sss.pgh.pa.us
parent b4cc35fb
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# PGAC_PROG_NSGMLS # PGAC_PROG_NSGMLS
# ---------------- # ----------------
AC_DEFUN([PGAC_PROG_NSGMLS], AC_DEFUN([PGAC_PROG_NSGMLS],
[AC_CHECK_PROGS([NSGMLS], [onsgmls nsgmls])]) [AC_PATH_PROGS([NSGMLS], [onsgmls nsgmls])])
# PGAC_CHECK_DOCBOOK(VERSION) # PGAC_CHECK_DOCBOOK(VERSION)
......
...@@ -229,7 +229,7 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], ...@@ -229,7 +229,7 @@ AC_DEFUN([PGAC_CHECK_GETTEXT],
[AC_MSG_ERROR([a gettext implementation is required for NLS])]) [AC_MSG_ERROR([a gettext implementation is required for NLS])])
AC_CHECK_HEADER([libintl.h], [], AC_CHECK_HEADER([libintl.h], [],
[AC_MSG_ERROR([header file <libintl.h> is required for NLS])]) [AC_MSG_ERROR([header file <libintl.h> is required for NLS])])
AC_CHECK_PROGS(MSGFMT, msgfmt) AC_PATH_PROGS(MSGFMT, msgfmt)
if test -z "$MSGFMT"; then if test -z "$MSGFMT"; then
AC_MSG_ERROR([msgfmt is required for NLS]) AC_MSG_ERROR([msgfmt is required for NLS])
fi fi
...@@ -238,8 +238,8 @@ AC_DEFUN([PGAC_CHECK_GETTEXT], ...@@ -238,8 +238,8 @@ AC_DEFUN([PGAC_CHECK_GETTEXT],
pgac_cv_msgfmt_flags=-c pgac_cv_msgfmt_flags=-c
fi]) fi])
AC_SUBST(MSGFMT_FLAGS, $pgac_cv_msgfmt_flags) AC_SUBST(MSGFMT_FLAGS, $pgac_cv_msgfmt_flags)
AC_CHECK_PROGS(MSGMERGE, msgmerge) AC_PATH_PROGS(MSGMERGE, msgmerge)
AC_CHECK_PROGS(XGETTEXT, xgettext) AC_PATH_PROGS(XGETTEXT, xgettext)
])# PGAC_CHECK_GETTEXT ])# PGAC_CHECK_GETTEXT
......
...@@ -3304,20 +3304,22 @@ do ...@@ -3304,20 +3304,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_GCOV+:} false; then : if ${ac_cv_path_GCOV+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$GCOV"; then case $GCOV in
ac_cv_prog_GCOV="$GCOV" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_GCOV="$GCOV" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_GCOV="$ac_prog" ac_cv_path_GCOV="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -3325,9 +3327,10 @@ done ...@@ -3325,9 +3327,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi GCOV=$ac_cv_path_GCOV
GCOV=$ac_cv_prog_GCOV
if test -n "$GCOV"; then if test -n "$GCOV"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
$as_echo "$GCOV" >&6; } $as_echo "$GCOV" >&6; }
...@@ -3349,20 +3352,22 @@ do ...@@ -3349,20 +3352,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_LCOV+:} false; then : if ${ac_cv_path_LCOV+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$LCOV"; then case $LCOV in
ac_cv_prog_LCOV="$LCOV" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_LCOV="$ac_prog" ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -3370,9 +3375,10 @@ done ...@@ -3370,9 +3375,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi LCOV=$ac_cv_path_LCOV
LCOV=$ac_cv_prog_LCOV
if test -n "$LCOV"; then if test -n "$LCOV"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
$as_echo "$LCOV" >&6; } $as_echo "$LCOV" >&6; }
...@@ -3394,20 +3400,22 @@ do ...@@ -3394,20 +3400,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_GENHTML+:} false; then : if ${ac_cv_path_GENHTML+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$GENHTML"; then case $GENHTML in
ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_GENHTML="$ac_prog" ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -3415,9 +3423,10 @@ done ...@@ -3415,9 +3423,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi GENHTML=$ac_cv_path_GENHTML
GENHTML=$ac_cv_prog_GENHTML
if test -n "$GENHTML"; then if test -n "$GENHTML"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
$as_echo "$GENHTML" >&6; } $as_echo "$GENHTML" >&6; }
...@@ -3466,20 +3475,22 @@ do ...@@ -3466,20 +3475,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_DTRACE+:} false; then : if ${ac_cv_path_DTRACE+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$DTRACE"; then case $DTRACE in
ac_cv_prog_DTRACE="$DTRACE" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_DTRACE="$DTRACE" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_DTRACE="$ac_prog" ac_cv_path_DTRACE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -3487,9 +3498,10 @@ done ...@@ -3487,9 +3498,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi DTRACE=$ac_cv_path_DTRACE
DTRACE=$ac_cv_prog_DTRACE
if test -n "$DTRACE"; then if test -n "$DTRACE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
$as_echo "$DTRACE" >&6; } $as_echo "$DTRACE" >&6; }
...@@ -6260,20 +6272,22 @@ do ...@@ -6260,20 +6272,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_XML2_CONFIG+:} false; then : if ${ac_cv_path_XML2_CONFIG+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$XML2_CONFIG"; then case $XML2_CONFIG in
ac_cv_prog_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_XML2_CONFIG="$ac_prog" ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -6281,9 +6295,10 @@ done ...@@ -6281,9 +6295,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi XML2_CONFIG=$ac_cv_path_XML2_CONFIG
XML2_CONFIG=$ac_cv_prog_XML2_CONFIG
if test -n "$XML2_CONFIG"; then if test -n "$XML2_CONFIG"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5
$as_echo "$XML2_CONFIG" >&6; } $as_echo "$XML2_CONFIG" >&6; }
...@@ -15605,20 +15620,22 @@ do ...@@ -15605,20 +15620,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_MSGFMT+:} false; then : if ${ac_cv_path_MSGFMT+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$MSGFMT"; then case $MSGFMT in
ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_MSGFMT="$ac_prog" ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -15626,9 +15643,10 @@ done ...@@ -15626,9 +15643,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi MSGFMT=$ac_cv_path_MSGFMT
MSGFMT=$ac_cv_prog_MSGFMT
if test -n "$MSGFMT"; then if test -n "$MSGFMT"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
$as_echo "$MSGFMT" >&6; } $as_echo "$MSGFMT" >&6; }
...@@ -15663,20 +15681,22 @@ do ...@@ -15663,20 +15681,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_MSGMERGE+:} false; then : if ${ac_cv_path_MSGMERGE+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$MSGMERGE"; then case $MSGMERGE in
ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_MSGMERGE="$ac_prog" ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -15684,9 +15704,10 @@ done ...@@ -15684,9 +15704,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi MSGMERGE=$ac_cv_path_MSGMERGE
MSGMERGE=$ac_cv_prog_MSGMERGE
if test -n "$MSGMERGE"; then if test -n "$MSGMERGE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
$as_echo "$MSGMERGE" >&6; } $as_echo "$MSGMERGE" >&6; }
...@@ -15705,20 +15726,22 @@ do ...@@ -15705,20 +15726,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_XGETTEXT+:} false; then : if ${ac_cv_path_XGETTEXT+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$XGETTEXT"; then case $XGETTEXT in
ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_XGETTEXT="$ac_prog" ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -15726,9 +15749,10 @@ done ...@@ -15726,9 +15749,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi XGETTEXT=$ac_cv_path_XGETTEXT
XGETTEXT=$ac_cv_prog_XGETTEXT
if test -n "$XGETTEXT"; then if test -n "$XGETTEXT"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
$as_echo "$XGETTEXT" >&6; } $as_echo "$XGETTEXT" >&6; }
...@@ -15923,20 +15947,22 @@ do ...@@ -15923,20 +15947,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_NSGMLS+:} false; then : if ${ac_cv_path_NSGMLS+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$NSGMLS"; then case $NSGMLS in
ac_cv_prog_NSGMLS="$NSGMLS" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_NSGMLS="$NSGMLS" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_NSGMLS="$ac_prog" ac_cv_path_NSGMLS="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -15944,9 +15970,10 @@ done ...@@ -15944,9 +15970,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi NSGMLS=$ac_cv_path_NSGMLS
NSGMLS=$ac_cv_prog_NSGMLS
if test -n "$NSGMLS"; then if test -n "$NSGMLS"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NSGMLS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NSGMLS" >&5
$as_echo "$NSGMLS" >&6; } $as_echo "$NSGMLS" >&6; }
...@@ -16001,20 +16028,22 @@ do ...@@ -16001,20 +16028,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_DBTOEPUB+:} false; then : if ${ac_cv_path_DBTOEPUB+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$DBTOEPUB"; then case $DBTOEPUB in
ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_DBTOEPUB="$DBTOEPUB" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_DBTOEPUB="$ac_prog" ac_cv_path_DBTOEPUB="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -16022,9 +16051,10 @@ done ...@@ -16022,9 +16051,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi DBTOEPUB=$ac_cv_path_DBTOEPUB
DBTOEPUB=$ac_cv_prog_DBTOEPUB
if test -n "$DBTOEPUB"; then if test -n "$DBTOEPUB"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
$as_echo "$DBTOEPUB" >&6; } $as_echo "$DBTOEPUB" >&6; }
...@@ -16043,20 +16073,22 @@ do ...@@ -16043,20 +16073,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_XMLLINT+:} false; then : if ${ac_cv_path_XMLLINT+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$XMLLINT"; then case $XMLLINT in
ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_XMLLINT="$ac_prog" ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -16064,9 +16096,10 @@ done ...@@ -16064,9 +16096,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi XMLLINT=$ac_cv_path_XMLLINT
XMLLINT=$ac_cv_prog_XMLLINT
if test -n "$XMLLINT"; then if test -n "$XMLLINT"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
$as_echo "$XMLLINT" >&6; } $as_echo "$XMLLINT" >&6; }
...@@ -16085,20 +16118,22 @@ do ...@@ -16085,20 +16118,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_XSLTPROC+:} false; then : if ${ac_cv_path_XSLTPROC+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$XSLTPROC"; then case $XSLTPROC in
ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_XSLTPROC="$ac_prog" ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -16106,9 +16141,10 @@ done ...@@ -16106,9 +16141,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi XSLTPROC=$ac_cv_path_XSLTPROC
XSLTPROC=$ac_cv_prog_XSLTPROC
if test -n "$XSLTPROC"; then if test -n "$XSLTPROC"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
$as_echo "$XSLTPROC" >&6; } $as_echo "$XSLTPROC" >&6; }
...@@ -16127,20 +16163,22 @@ do ...@@ -16127,20 +16163,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_OSX+:} false; then : if ${ac_cv_path_OSX+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$OSX"; then case $OSX in
ac_cv_prog_OSX="$OSX" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_OSX="$OSX" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_OSX="$ac_prog" ac_cv_path_OSX="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -16148,9 +16186,10 @@ done ...@@ -16148,9 +16186,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi OSX=$ac_cv_path_OSX
OSX=$ac_cv_prog_OSX
if test -n "$OSX"; then if test -n "$OSX"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX" >&5
$as_echo "$OSX" >&6; } $as_echo "$OSX" >&6; }
...@@ -16169,20 +16208,22 @@ do ...@@ -16169,20 +16208,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_FOP+:} false; then : if ${ac_cv_path_FOP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$FOP"; then case $FOP in
ac_cv_prog_FOP="$FOP" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_FOP="$ac_prog" ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -16190,9 +16231,10 @@ done ...@@ -16190,9 +16231,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi FOP=$ac_cv_path_FOP
FOP=$ac_cv_prog_FOP
if test -n "$FOP"; then if test -n "$FOP"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
$as_echo "$FOP" >&6; } $as_echo "$FOP" >&6; }
...@@ -16216,20 +16258,22 @@ do ...@@ -16216,20 +16258,22 @@ do
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_PROVE+:} false; then : if ${ac_cv_path_PROVE+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$PROVE"; then case $PROVE in
ac_cv_prog_PROVE="$PROVE" # Let the user override the test. [\\/]* | ?:[\\/]*)
else ac_cv_path_PROVE="$PROVE" # Let the user override the test with a path.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_PROVE="$ac_prog" ac_cv_path_PROVE="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -16237,9 +16281,10 @@ done ...@@ -16237,9 +16281,10 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
;;
esac
fi fi
fi PROVE=$ac_cv_path_PROVE
PROVE=$ac_cv_prog_PROVE
if test -n "$PROVE"; then if test -n "$PROVE"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROVE" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROVE" >&5
$as_echo "$PROVE" >&6; } $as_echo "$PROVE" >&6; }
......
...@@ -218,15 +218,15 @@ PGAC_ARG_BOOL(enable, profiling, no, ...@@ -218,15 +218,15 @@ PGAC_ARG_BOOL(enable, profiling, no,
# #
PGAC_ARG_BOOL(enable, coverage, no, PGAC_ARG_BOOL(enable, coverage, no,
[build with coverage testing instrumentation], [build with coverage testing instrumentation],
[AC_CHECK_PROGS(GCOV, gcov) [AC_PATH_PROGS(GCOV, gcov)
if test -z "$GCOV"; then if test -z "$GCOV"; then
AC_MSG_ERROR([gcov not found]) AC_MSG_ERROR([gcov not found])
fi fi
AC_CHECK_PROGS(LCOV, lcov) AC_PATH_PROGS(LCOV, lcov)
if test -z "$LCOV"; then if test -z "$LCOV"; then
AC_MSG_ERROR([lcov not found]) AC_MSG_ERROR([lcov not found])
fi fi
AC_CHECK_PROGS(GENHTML, genhtml) AC_PATH_PROGS(GENHTML, genhtml)
if test -z "$GENHTML"; then if test -z "$GENHTML"; then
AC_MSG_ERROR([genhtml not found]) AC_MSG_ERROR([genhtml not found])
fi]) fi])
...@@ -237,7 +237,7 @@ AC_SUBST(enable_coverage) ...@@ -237,7 +237,7 @@ AC_SUBST(enable_coverage)
# #
PGAC_ARG_BOOL(enable, dtrace, no, PGAC_ARG_BOOL(enable, dtrace, no,
[build with DTrace support], [build with DTrace support],
[AC_CHECK_PROGS(DTRACE, dtrace) [AC_PATH_PROGS(DTRACE, dtrace)
if test -z "$DTRACE"; then if test -z "$DTRACE"; then
AC_MSG_ERROR([dtrace not found]) AC_MSG_ERROR([dtrace not found])
fi fi
...@@ -816,7 +816,7 @@ PGAC_ARG_BOOL(with, libxml, no, [build with XML support], ...@@ -816,7 +816,7 @@ PGAC_ARG_BOOL(with, libxml, no, [build with XML support],
[AC_DEFINE([USE_LIBXML], 1, [Define to 1 to build with XML support. (--with-libxml)])]) [AC_DEFINE([USE_LIBXML], 1, [Define to 1 to build with XML support. (--with-libxml)])])
if test "$with_libxml" = yes ; then if test "$with_libxml" = yes ; then
AC_CHECK_PROGS(XML2_CONFIG, xml2-config) AC_PATH_PROGS(XML2_CONFIG, xml2-config)
if test -n "$XML2_CONFIG"; then if test -n "$XML2_CONFIG"; then
for pgac_option in `$XML2_CONFIG --cflags`; do for pgac_option in `$XML2_CONFIG --cflags`; do
case $pgac_option in case $pgac_option in
...@@ -2119,17 +2119,17 @@ fi ...@@ -2119,17 +2119,17 @@ fi
# #
PGAC_PROG_NSGMLS PGAC_PROG_NSGMLS
PGAC_CHECK_DOCBOOK(4.2) PGAC_CHECK_DOCBOOK(4.2)
AC_CHECK_PROGS(DBTOEPUB, dbtoepub) AC_PATH_PROGS(DBTOEPUB, dbtoepub)
AC_CHECK_PROGS(XMLLINT, xmllint) AC_PATH_PROGS(XMLLINT, xmllint)
AC_CHECK_PROGS(XSLTPROC, xsltproc) AC_PATH_PROGS(XSLTPROC, xsltproc)
AC_CHECK_PROGS(OSX, [osx sgml2xml sx]) AC_PATH_PROGS(OSX, [osx sgml2xml sx])
AC_CHECK_PROGS(FOP, fop) AC_PATH_PROGS(FOP, fop)
# #
# Check for test tools # Check for test tools
# #
if test "$enable_tap_tests" = yes; then if test "$enable_tap_tests" = yes; then
AC_CHECK_PROGS(PROVE, prove) AC_PATH_PROGS(PROVE, prove)
if test -z "$PROVE"; then if test -z "$PROVE"; then
AC_MSG_ERROR([prove not found]) AC_MSG_ERROR([prove not found])
fi fi
......
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