diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2002-05-29 04:14:10 +0000 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2002-05-29 04:14:10 +0000 |
commit | b0f834b6a86c54e25d078d762003e9b7bc67e8ba (patch) | |
tree | d72bb1524eb5d229f677f97c2401c4fcd40533ef /configure | |
parent | 6b8b2ce0e764075f18e73d214321ba7ff1fc646d (diff) | |
download | pam-b0f834b6a86c54e25d078d762003e9b7bc67e8ba.tar.gz pam-b0f834b6a86c54e25d078d762003e9b7bc67e8ba.tar.bz2 pam-b0f834b6a86c54e25d078d762003e9b7bc67e8ba.zip |
Relevant BUGIDs: 471377
Purpose of commit: new feature
Commit summary:
---------------
build pdf files when you type 'make pdf' in the doc/ directory.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 35 |
1 files changed, 34 insertions, 1 deletions
@@ -3305,11 +3305,41 @@ if test $HAVE_SGML2LATEX = "yes" ; then else PSER="sgml2latex -p" fi + # Extract the first word of "ps2pdf", so it can be a program name with args. +set dummy ps2pdf; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:3312: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_HAVE_PS2PDF'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$HAVE_PS2PDF"; then + ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_HAVE_PS2PDF="yes" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no" +fi +fi +HAVE_PS2PDF="$ac_cv_prog_HAVE_PS2PDF" +if test -n "$HAVE_PS2PDF"; then + echo "$ac_t""$HAVE_PS2PDF" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + else # Extract the first word of "sgml2ps", so it can be a program name with args. set dummy sgml2ps; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3313: checking for $ac_word" >&5 +echo "configure:3343: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_HAVE_SGML2PS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3342,6 +3372,7 @@ fi fi + trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure @@ -3537,8 +3568,10 @@ s%@LIBOBJS@%$LIBOBJS%g s%@HAVE_SGML2TXT@%$HAVE_SGML2TXT%g s%@HAVE_SGML2HTML@%$HAVE_SGML2HTML%g s%@HAVE_SGML2LATEX@%$HAVE_SGML2LATEX%g +s%@HAVE_PS2PDF@%$HAVE_PS2PDF%g s%@HAVE_SGML2PS@%$HAVE_SGML2PS%g s%@PSER@%$PSER%g +s%@PS2PDF@%$PS2PDF%g CEOF EOF |