=================================================================== RCS file: /home/cvs/OpenXM/src/asir-contrib/packages/doc/configure,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- OpenXM/src/asir-contrib/packages/doc/configure 2017/03/30 06:16:36 1.7 +++ OpenXM/src/asir-contrib/packages/doc/configure 2017/08/31 06:31:44 1.8 @@ -584,6 +584,7 @@ PACKAGE_URL= ac_subst_vars='LTLIBOBJS LIBOBJS OpenXM_ROOT +TEX PTEX DVIPDF MAKEINFO @@ -1882,8 +1883,8 @@ fi done -# Extract the first word of "ptex", so it can be a program name with args. -set dummy ptex; ac_word=$2 +# Extract the first word of "xetex", so it can be a program name with args. +set dummy xetex; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PTEX+:} false; then : @@ -1922,9 +1923,47 @@ $as_echo "no" >&6; } fi -if ${PTEX} -kanji=utf8 -version; then - PTEX="${PTEX} -kanji=utf8" + +# Extract the first word of "xetex", so it can be a program name with args. +set dummy xetex; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_TEX+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $TEX in + [\\/]* | ?:[\\/]*) + ac_cv_path_TEX="$TEX" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_TEX="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac fi +TEX=$ac_cv_path_TEX +if test -n "$TEX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5 +$as_echo "$TEX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + OpenXM_ROOT=`cd ../../../..; pwd`