1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be more Bourne compatible 14DUALCASE=1; export DUALCASE # for MKS sh 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40# The user is always right. 41if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51fi 52 53# Support unset when possible. 54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56else 57 as_unset=false 58fi 59 60 61# IFS 62# We need space, tab and new line, in precisely that order. Quoting is 63# there to prevent editors from complaining about space-tab. 64# (If _AS_PATH_WALK were called with IFS unset, it would disable word 65# splitting by setting IFS to empty value.) 66as_nl=' 67' 68IFS=" "" $as_nl" 69 70# Find who we are. Look in the path if we contain no directory separator. 71case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74for as_dir in $PATH 75do 76 IFS=$as_save_IFS 77 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79done 80IFS=$as_save_IFS 81 82 ;; 83esac 84# We did not find ourselves, most probably we were run as `sh COMMAND' 85# in which case we are not to be found in the path. 86if test "x$as_myself" = x; then 87 as_myself=$0 88fi 89if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92fi 93 94# Work around bugs in pre-3.0 UWIN ksh. 95for as_var in ENV MAIL MAILPATH 96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97done 98PS1='$ ' 99PS2='> ' 100PS4='+ ' 101 102# NLS nuisances. 103for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 113done 114 115# Required to use basename. 116if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119else 120 as_expr=false 121fi 122 123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125else 126 as_basename=false 127fi 128 129 130# Name of the executable. 131as_me=`$as_basename -- "$0" || 132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150# CDPATH. 151$as_unset CDPATH 152 153 154if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157else 158 as_have_required=no 159fi 160 161 if test $as_have_required = yes && (eval ": 162(as_func_return () { 163 (exit \$1) 164} 165as_func_success () { 166 as_func_return 0 167} 168as_func_failure () { 169 as_func_return 1 170} 171as_func_ret_success () { 172 return 0 173} 174as_func_ret_failure () { 175 return 1 176} 177 178exitcode=0 179if as_func_success; then 180 : 181else 182 exitcode=1 183 echo as_func_success failed. 184fi 185 186if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189fi 190 191if as_func_ret_success; then 192 : 193else 194 exitcode=1 195 echo as_func_ret_success failed. 196fi 197 198if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201fi 202 203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205else 206 exitcode=1 207 echo positional parameters were not saved. 208fi 209 210test \$exitcode = 0) || { (exit 1); exit 1; } 211 212( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217") 2> /dev/null; then 218 : 219else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232done 233IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250esac 251 252fi 253 254 255: 256_ASEOF 257}; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277(as_func_return () { 278 (exit $1) 279} 280as_func_success () { 281 as_func_return 0 282} 283as_func_failure () { 284 as_func_return 1 285} 286as_func_ret_success () { 287 return 0 288} 289as_func_ret_failure () { 290 return 1 291} 292 293exitcode=0 294if as_func_success; then 295 : 296else 297 exitcode=1 298 echo as_func_success failed. 299fi 300 301if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304fi 305 306if as_func_ret_success; then 307 : 308else 309 exitcode=1 310 echo as_func_ret_success failed. 311fi 312 313if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316fi 317 318if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320else 321 exitcode=1 322 echo positional parameters were not saved. 323fi 324 325test $exitcode = 0) || { (exit 1); exit 1; } 326 327( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333_ASEOF 334}; then 335 break 336fi 337 338fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357fi 358 359 360fi 361 362fi 363 364 365 366(eval "as_func_return () { 367 (exit \$1) 368} 369as_func_success () { 370 as_func_return 0 371} 372as_func_failure () { 373 as_func_return 1 374} 375as_func_ret_success () { 376 return 0 377} 378as_func_ret_failure () { 379 return 1 380} 381 382exitcode=0 383if as_func_success; then 384 : 385else 386 exitcode=1 387 echo as_func_success failed. 388fi 389 390if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393fi 394 395if as_func_ret_success; then 396 : 397else 398 exitcode=1 399 echo as_func_ret_success failed. 400fi 401 402if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405fi 406 407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409else 410 exitcode=1 411 echo positional parameters were not saved. 412fi 413 414test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419} 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 447 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450 t loop 451 s/-\n.*// 452 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 457 # Don't try to exec as it changes $[0], causing all sort of problems 458 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 461 # Exit status is that of the last command. 462 exit 463} 464 465 466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468else 469 as_dirname=false 470fi 471 472ECHO_C= ECHO_N= ECHO_T= 473case `echo -n x` in 474-n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479*) 480 ECHO_N='-n';; 481esac 482 483if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486else 487 as_expr=false 488fi 489 490rm -f conf$$ conf$$.exe conf$$.file 491if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496fi 497echo >conf$$.file 498if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508else 509 as_ln_s='cp -p' 510fi 511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512rmdir conf$$.dir 2>/dev/null 513 514if mkdir -p . 2>/dev/null; then 515 as_mkdir_p=: 516else 517 test -d ./-p && rmdir ./-p 518 as_mkdir_p=false 519fi 520 521if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541fi 542as_executable_p=$as_test_x 543 544# Sed expression to map a string onto a valid CPP name. 545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546 547# Sed expression to map a string onto a valid variable name. 548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 551 552exec 7<&0 </dev/null 6>&1 553 554# Name of the host. 555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 556# so uname gets run too. 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 559# 560# Initializations. 561# 562ac_default_prefix=/usr/local 563ac_clean_files= 564ac_config_libobj_dir=. 565LIBOBJS= 566cross_compiling=no 567subdirs= 568MFLAGS= 569MAKEFLAGS= 570SHELL=${CONFIG_SHELL-/bin/sh} 571 572# Identity of this package. 573PACKAGE_NAME= 574PACKAGE_TARNAME= 575PACKAGE_VERSION= 576PACKAGE_STRING= 577PACKAGE_BUGREPORT= 578 579ac_unique_file="latex.mk.in.in" 580ac_subst_vars='SHELL 581PATH_SEPARATOR 582PACKAGE_NAME 583PACKAGE_TARNAME 584PACKAGE_VERSION 585PACKAGE_STRING 586PACKAGE_BUGREPORT 587exec_prefix 588prefix 589program_transform_name 590bindir 591sbindir 592libexecdir 593datarootdir 594datadir 595sysconfdir 596sharedstatedir 597localstatedir 598includedir 599oldincludedir 600docdir 601infodir 602htmldir 603dvidir 604pdfdir 605psdir 606libdir 607localedir 608mandir 609DEFS 610ECHO_C 611ECHO_N 612ECHO_T 613LIBS 614build_alias 615host_alias 616target_alias 617INSTALL_PROGRAM 618INSTALL_SCRIPT 619INSTALL_DATA 620am__isrc 621CYGPATH_W 622PACKAGE 623VERSION 624ACLOCAL 625AUTOCONF 626AUTOMAKE 627AUTOHEADER 628MAKEINFO 629install_sh 630STRIP 631INSTALL_STRIP_PROGRAM 632mkdir_p 633AWK 634SET_MAKE 635am__leading_dot 636AMTAR 637am__tar 638am__untar 639MAINTAINER_MODE_TRUE 640MAINTAINER_MODE_FALSE 641MAINT 642build 643build_cpu 644build_vendor 645build_os 646host 647host_cpu 648host_vendor 649host_os 650ENV_PROG 651FALSE 652GREP 653GZCAT 654GZIP 655RM 656RMDIR 657TAR 658BIBTEX 659CONVERT 660DVIPDFM 661DVIPS 662ECHO 663FIND 664GV 665HEVEA 666HACHA 667IMAGEN 668LATEX 669LATEX2HTML 670LATEX2RTF 671LPR 672MAKEIDX 673PDFLATEX 674PS2PDF 675TEX2PAGE 676XDVI 677LGRIND 678MPOST 679TGIF 680FIG2DEV 681GMAKE 682BMAKE 683MAKECONF 684GMAKECONF 685USERMAKECONF 686USERGMAKECONF 687LIBOBJS 688LTLIBOBJS' 689ac_subst_files='' 690 ac_precious_vars='build_alias 691host_alias 692target_alias' 693 694 695# Initialize some variables set by options. 696ac_init_help= 697ac_init_version=false 698# The variables have the same names as the options, with 699# dashes changed to underlines. 700cache_file=/dev/null 701exec_prefix=NONE 702no_create= 703no_recursion= 704prefix=NONE 705program_prefix=NONE 706program_suffix=NONE 707program_transform_name=s,x,x, 708silent= 709site= 710srcdir= 711verbose= 712x_includes=NONE 713x_libraries=NONE 714 715# Installation directory options. 716# These are left unexpanded so users can "make install exec_prefix=/foo" 717# and all the variables that are supposed to be based on exec_prefix 718# by default will actually change. 719# Use braces instead of parens because sh, perl, etc. also accept them. 720# (The list follows the same order as the GNU Coding Standards.) 721bindir='${exec_prefix}/bin' 722sbindir='${exec_prefix}/sbin' 723libexecdir='${exec_prefix}/libexec' 724datarootdir='${prefix}/share' 725datadir='${datarootdir}' 726sysconfdir='${prefix}/etc' 727sharedstatedir='${prefix}/com' 728localstatedir='${prefix}/var' 729includedir='${prefix}/include' 730oldincludedir='/usr/include' 731docdir='${datarootdir}/doc/${PACKAGE}' 732infodir='${datarootdir}/info' 733htmldir='${docdir}' 734dvidir='${docdir}' 735pdfdir='${docdir}' 736psdir='${docdir}' 737libdir='${exec_prefix}/lib' 738localedir='${datarootdir}/locale' 739mandir='${datarootdir}/man' 740 741ac_prev= 742ac_dashdash= 743for ac_option 744do 745 # If the previous option needs an argument, assign it. 746 if test -n "$ac_prev"; then 747 eval $ac_prev=\$ac_option 748 ac_prev= 749 continue 750 fi 751 752 case $ac_option in 753 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 754 *) ac_optarg=yes ;; 755 esac 756 757 # Accept the important Cygnus configure options, so we can diagnose typos. 758 759 case $ac_dashdash$ac_option in 760 --) 761 ac_dashdash=yes ;; 762 763 -bindir | --bindir | --bindi | --bind | --bin | --bi) 764 ac_prev=bindir ;; 765 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 766 bindir=$ac_optarg ;; 767 768 -build | --build | --buil | --bui | --bu) 769 ac_prev=build_alias ;; 770 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 771 build_alias=$ac_optarg ;; 772 773 -cache-file | --cache-file | --cache-fil | --cache-fi \ 774 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 775 ac_prev=cache_file ;; 776 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 777 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 778 cache_file=$ac_optarg ;; 779 780 --config-cache | -C) 781 cache_file=config.cache ;; 782 783 -datadir | --datadir | --datadi | --datad) 784 ac_prev=datadir ;; 785 -datadir=* | --datadir=* | --datadi=* | --datad=*) 786 datadir=$ac_optarg ;; 787 788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 789 | --dataroo | --dataro | --datar) 790 ac_prev=datarootdir ;; 791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 793 datarootdir=$ac_optarg ;; 794 795 -disable-* | --disable-*) 796 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 797 # Reject names that are not valid shell variable names. 798 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 799 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 800 { (exit 1); exit 1; }; } 801 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 802 eval enable_$ac_feature=no ;; 803 804 -docdir | --docdir | --docdi | --doc | --do) 805 ac_prev=docdir ;; 806 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 807 docdir=$ac_optarg ;; 808 809 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 810 ac_prev=dvidir ;; 811 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 812 dvidir=$ac_optarg ;; 813 814 -enable-* | --enable-*) 815 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 816 # Reject names that are not valid shell variable names. 817 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 818 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 819 { (exit 1); exit 1; }; } 820 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 821 eval enable_$ac_feature=\$ac_optarg ;; 822 823 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 824 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 825 | --exec | --exe | --ex) 826 ac_prev=exec_prefix ;; 827 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 828 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 829 | --exec=* | --exe=* | --ex=*) 830 exec_prefix=$ac_optarg ;; 831 832 -gas | --gas | --ga | --g) 833 # Obsolete; use --with-gas. 834 with_gas=yes ;; 835 836 -help | --help | --hel | --he | -h) 837 ac_init_help=long ;; 838 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 839 ac_init_help=recursive ;; 840 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 841 ac_init_help=short ;; 842 843 -host | --host | --hos | --ho) 844 ac_prev=host_alias ;; 845 -host=* | --host=* | --hos=* | --ho=*) 846 host_alias=$ac_optarg ;; 847 848 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 849 ac_prev=htmldir ;; 850 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 851 | --ht=*) 852 htmldir=$ac_optarg ;; 853 854 -includedir | --includedir | --includedi | --included | --include \ 855 | --includ | --inclu | --incl | --inc) 856 ac_prev=includedir ;; 857 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 858 | --includ=* | --inclu=* | --incl=* | --inc=*) 859 includedir=$ac_optarg ;; 860 861 -infodir | --infodir | --infodi | --infod | --info | --inf) 862 ac_prev=infodir ;; 863 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 864 infodir=$ac_optarg ;; 865 866 -libdir | --libdir | --libdi | --libd) 867 ac_prev=libdir ;; 868 -libdir=* | --libdir=* | --libdi=* | --libd=*) 869 libdir=$ac_optarg ;; 870 871 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 872 | --libexe | --libex | --libe) 873 ac_prev=libexecdir ;; 874 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 875 | --libexe=* | --libex=* | --libe=*) 876 libexecdir=$ac_optarg ;; 877 878 -localedir | --localedir | --localedi | --localed | --locale) 879 ac_prev=localedir ;; 880 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 881 localedir=$ac_optarg ;; 882 883 -localstatedir | --localstatedir | --localstatedi | --localstated \ 884 | --localstate | --localstat | --localsta | --localst | --locals) 885 ac_prev=localstatedir ;; 886 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 887 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 888 localstatedir=$ac_optarg ;; 889 890 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 891 ac_prev=mandir ;; 892 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 893 mandir=$ac_optarg ;; 894 895 -nfp | --nfp | --nf) 896 # Obsolete; use --without-fp. 897 with_fp=no ;; 898 899 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 900 | --no-cr | --no-c | -n) 901 no_create=yes ;; 902 903 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 904 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 905 no_recursion=yes ;; 906 907 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 908 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 909 | --oldin | --oldi | --old | --ol | --o) 910 ac_prev=oldincludedir ;; 911 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 912 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 913 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 914 oldincludedir=$ac_optarg ;; 915 916 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 917 ac_prev=prefix ;; 918 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 919 prefix=$ac_optarg ;; 920 921 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 922 | --program-pre | --program-pr | --program-p) 923 ac_prev=program_prefix ;; 924 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 925 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 926 program_prefix=$ac_optarg ;; 927 928 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 929 | --program-suf | --program-su | --program-s) 930 ac_prev=program_suffix ;; 931 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 932 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 933 program_suffix=$ac_optarg ;; 934 935 -program-transform-name | --program-transform-name \ 936 | --program-transform-nam | --program-transform-na \ 937 | --program-transform-n | --program-transform- \ 938 | --program-transform | --program-transfor \ 939 | --program-transfo | --program-transf \ 940 | --program-trans | --program-tran \ 941 | --progr-tra | --program-tr | --program-t) 942 ac_prev=program_transform_name ;; 943 -program-transform-name=* | --program-transform-name=* \ 944 | --program-transform-nam=* | --program-transform-na=* \ 945 | --program-transform-n=* | --program-transform-=* \ 946 | --program-transform=* | --program-transfor=* \ 947 | --program-transfo=* | --program-transf=* \ 948 | --program-trans=* | --program-tran=* \ 949 | --progr-tra=* | --program-tr=* | --program-t=*) 950 program_transform_name=$ac_optarg ;; 951 952 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 953 ac_prev=pdfdir ;; 954 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 955 pdfdir=$ac_optarg ;; 956 957 -psdir | --psdir | --psdi | --psd | --ps) 958 ac_prev=psdir ;; 959 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 960 psdir=$ac_optarg ;; 961 962 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 963 | -silent | --silent | --silen | --sile | --sil) 964 silent=yes ;; 965 966 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 967 ac_prev=sbindir ;; 968 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 969 | --sbi=* | --sb=*) 970 sbindir=$ac_optarg ;; 971 972 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 973 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 974 | --sharedst | --shareds | --shared | --share | --shar \ 975 | --sha | --sh) 976 ac_prev=sharedstatedir ;; 977 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 978 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 979 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 980 | --sha=* | --sh=*) 981 sharedstatedir=$ac_optarg ;; 982 983 -site | --site | --sit) 984 ac_prev=site ;; 985 -site=* | --site=* | --sit=*) 986 site=$ac_optarg ;; 987 988 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 989 ac_prev=srcdir ;; 990 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 991 srcdir=$ac_optarg ;; 992 993 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 994 | --syscon | --sysco | --sysc | --sys | --sy) 995 ac_prev=sysconfdir ;; 996 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 997 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 998 sysconfdir=$ac_optarg ;; 999 1000 -target | --target | --targe | --targ | --tar | --ta | --t) 1001 ac_prev=target_alias ;; 1002 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1003 target_alias=$ac_optarg ;; 1004 1005 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1006 verbose=yes ;; 1007 1008 -version | --version | --versio | --versi | --vers | -V) 1009 ac_init_version=: ;; 1010 1011 -with-* | --with-*) 1012 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1013 # Reject names that are not valid shell variable names. 1014 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1015 { echo "$as_me: error: invalid package name: $ac_package" >&2 1016 { (exit 1); exit 1; }; } 1017 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1018 eval with_$ac_package=\$ac_optarg ;; 1019 1020 -without-* | --without-*) 1021 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1022 # Reject names that are not valid shell variable names. 1023 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1024 { echo "$as_me: error: invalid package name: $ac_package" >&2 1025 { (exit 1); exit 1; }; } 1026 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1027 eval with_$ac_package=no ;; 1028 1029 --x) 1030 # Obsolete; use --with-x. 1031 with_x=yes ;; 1032 1033 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1034 | --x-incl | --x-inc | --x-in | --x-i) 1035 ac_prev=x_includes ;; 1036 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1037 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1038 x_includes=$ac_optarg ;; 1039 1040 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1041 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1042 ac_prev=x_libraries ;; 1043 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1044 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1045 x_libraries=$ac_optarg ;; 1046 1047 -*) { echo "$as_me: error: unrecognized option: $ac_option 1048Try \`$0 --help' for more information." >&2 1049 { (exit 1); exit 1; }; } 1050 ;; 1051 1052 *=*) 1053 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1054 # Reject names that are not valid shell variable names. 1055 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1056 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1057 { (exit 1); exit 1; }; } 1058 eval $ac_envvar=\$ac_optarg 1059 export $ac_envvar ;; 1060 1061 *) 1062 # FIXME: should be removed in autoconf 3.0. 1063 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1064 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1065 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1066 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1067 ;; 1068 1069 esac 1070done 1071 1072if test -n "$ac_prev"; then 1073 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1074 { echo "$as_me: error: missing argument to $ac_option" >&2 1075 { (exit 1); exit 1; }; } 1076fi 1077 1078# Be sure to have absolute directory names. 1079for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1080 datadir sysconfdir sharedstatedir localstatedir includedir \ 1081 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1082 libdir localedir mandir 1083do 1084 eval ac_val=\$$ac_var 1085 case $ac_val in 1086 [\\/$]* | ?:[\\/]* ) continue;; 1087 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1088 esac 1089 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1090 { (exit 1); exit 1; }; } 1091done 1092 1093# There might be people who depend on the old broken behavior: `$host' 1094# used to hold the argument of --host etc. 1095# FIXME: To remove some day. 1096build=$build_alias 1097host=$host_alias 1098target=$target_alias 1099 1100# FIXME: To remove some day. 1101if test "x$host_alias" != x; then 1102 if test "x$build_alias" = x; then 1103 cross_compiling=maybe 1104 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1105 If a cross compiler is detected then cross compile mode will be used." >&2 1106 elif test "x$build_alias" != "x$host_alias"; then 1107 cross_compiling=yes 1108 fi 1109fi 1110 1111ac_tool_prefix= 1112test -n "$host_alias" && ac_tool_prefix=$host_alias- 1113 1114test "$silent" = yes && exec 6>/dev/null 1115 1116 1117ac_pwd=`pwd` && test -n "$ac_pwd" && 1118ac_ls_di=`ls -di .` && 1119ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1120 { echo "$as_me: error: Working directory cannot be determined" >&2 1121 { (exit 1); exit 1; }; } 1122test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1123 { echo "$as_me: error: pwd does not report name of working directory" >&2 1124 { (exit 1); exit 1; }; } 1125 1126 1127# Find the source files, if location was not specified. 1128if test -z "$srcdir"; then 1129 ac_srcdir_defaulted=yes 1130 # Try the directory containing this script, then the parent directory. 1131 ac_confdir=`$as_dirname -- "$0" || 1132$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1133 X"$0" : 'X\(//\)[^/]' \| \ 1134 X"$0" : 'X\(//\)$' \| \ 1135 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1136echo X"$0" | 1137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1138 s//\1/ 1139 q 1140 } 1141 /^X\(\/\/\)[^/].*/{ 1142 s//\1/ 1143 q 1144 } 1145 /^X\(\/\/\)$/{ 1146 s//\1/ 1147 q 1148 } 1149 /^X\(\/\).*/{ 1150 s//\1/ 1151 q 1152 } 1153 s/.*/./; q'` 1154 srcdir=$ac_confdir 1155 if test ! -r "$srcdir/$ac_unique_file"; then 1156 srcdir=.. 1157 fi 1158else 1159 ac_srcdir_defaulted=no 1160fi 1161if test ! -r "$srcdir/$ac_unique_file"; then 1162 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1163 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1164 { (exit 1); exit 1; }; } 1165fi 1166ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1167ac_abs_confdir=`( 1168 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1169 { (exit 1); exit 1; }; } 1170 pwd)` 1171# When building in place, set srcdir=. 1172if test "$ac_abs_confdir" = "$ac_pwd"; then 1173 srcdir=. 1174fi 1175# Remove unnecessary trailing slashes from srcdir. 1176# Double slashes in file names in object file debugging info 1177# mess up M-x gdb in Emacs. 1178case $srcdir in 1179*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1180esac 1181for ac_var in $ac_precious_vars; do 1182 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1183 eval ac_env_${ac_var}_value=\$${ac_var} 1184 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1185 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1186done 1187 1188# 1189# Report the --help message. 1190# 1191if test "$ac_init_help" = "long"; then 1192 # Omit some internal or obsolete options to make the list less imposing. 1193 # This message is too long to be a string in the A/UX 3.1 sh. 1194 cat <<_ACEOF 1195\`configure' configures this package to adapt to many kinds of systems. 1196 1197Usage: $0 [OPTION]... [VAR=VALUE]... 1198 1199To assign environment variables (e.g., CC, CFLAGS...), specify them as 1200VAR=VALUE. See below for descriptions of some of the useful variables. 1201 1202Defaults for the options are specified in brackets. 1203 1204Configuration: 1205 -h, --help display this help and exit 1206 --help=short display options specific to this package 1207 --help=recursive display the short help of all the included packages 1208 -V, --version display version information and exit 1209 -q, --quiet, --silent do not print \`checking...' messages 1210 --cache-file=FILE cache test results in FILE [disabled] 1211 -C, --config-cache alias for \`--cache-file=config.cache' 1212 -n, --no-create do not create output files 1213 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1214 1215Installation directories: 1216 --prefix=PREFIX install architecture-independent files in PREFIX 1217 [$ac_default_prefix] 1218 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1219 [PREFIX] 1220 1221By default, \`make install' will install all the files in 1222\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1223an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1224for instance \`--prefix=\$HOME'. 1225 1226For better control, use the options below. 1227 1228Fine tuning of the installation directories: 1229 --bindir=DIR user executables [EPREFIX/bin] 1230 --sbindir=DIR system admin executables [EPREFIX/sbin] 1231 --libexecdir=DIR program executables [EPREFIX/libexec] 1232 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1233 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1234 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1235 --libdir=DIR object code libraries [EPREFIX/lib] 1236 --includedir=DIR C header files [PREFIX/include] 1237 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1238 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1239 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1240 --infodir=DIR info documentation [DATAROOTDIR/info] 1241 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1242 --mandir=DIR man documentation [DATAROOTDIR/man] 1243 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1244 --htmldir=DIR html documentation [DOCDIR] 1245 --dvidir=DIR dvi documentation [DOCDIR] 1246 --pdfdir=DIR pdf documentation [DOCDIR] 1247 --psdir=DIR ps documentation [DOCDIR] 1248_ACEOF 1249 1250 cat <<\_ACEOF 1251 1252Program names: 1253 --program-prefix=PREFIX prepend PREFIX to installed program names 1254 --program-suffix=SUFFIX append SUFFIX to installed program names 1255 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1256 1257System types: 1258 --build=BUILD configure for building on BUILD [guessed] 1259 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1260_ACEOF 1261fi 1262 1263if test -n "$ac_init_help"; then 1264 1265 cat <<\_ACEOF 1266 1267Optional Features: 1268 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1269 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1270 --enable-maintainer-mode enable make rules and dependencies not useful 1271 (and sometimes confusing) to the casual installer 1272 1273Optional Packages: 1274 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1275 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1276 --with-mkconf=mkconf Use the specified file as the site configuration 1277 file for BSD make. default = /etc/latex-mk.conf 1278 --with-gmkconf=gmkconf Use the specified file as the site configuration 1279 file for GNU make. default = /etc/latex-gmk.conf 1280 --with-mkconf=usermkconf 1281 Use the specified file as the site configuration 1282 file for BSD make. default = $HOME/.latex-mk.conf 1283 --with-usergmkconf=usergmkconf 1284 Use the specified file as the user configuration 1285 file for GNU make. default = $HOME/.latex-gmk.conf 1286 1287_ACEOF 1288ac_status=$? 1289fi 1290 1291if test "$ac_init_help" = "recursive"; then 1292 # If there are subdirs, report their specific --help. 1293 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1294 test -d "$ac_dir" || continue 1295 ac_builddir=. 1296 1297case "$ac_dir" in 1298.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1299*) 1300 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1301 # A ".." for each directory in $ac_dir_suffix. 1302 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1303 case $ac_top_builddir_sub in 1304 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1305 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1306 esac ;; 1307esac 1308ac_abs_top_builddir=$ac_pwd 1309ac_abs_builddir=$ac_pwd$ac_dir_suffix 1310# for backward compatibility: 1311ac_top_builddir=$ac_top_build_prefix 1312 1313case $srcdir in 1314 .) # We are building in place. 1315 ac_srcdir=. 1316 ac_top_srcdir=$ac_top_builddir_sub 1317 ac_abs_top_srcdir=$ac_pwd ;; 1318 [\\/]* | ?:[\\/]* ) # Absolute name. 1319 ac_srcdir=$srcdir$ac_dir_suffix; 1320 ac_top_srcdir=$srcdir 1321 ac_abs_top_srcdir=$srcdir ;; 1322 *) # Relative name. 1323 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1324 ac_top_srcdir=$ac_top_build_prefix$srcdir 1325 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1326esac 1327ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1328 1329 cd "$ac_dir" || { ac_status=$?; continue; } 1330 # Check for guested configure. 1331 if test -f "$ac_srcdir/configure.gnu"; then 1332 echo && 1333 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1334 elif test -f "$ac_srcdir/configure"; then 1335 echo && 1336 $SHELL "$ac_srcdir/configure" --help=recursive 1337 else 1338 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1339 fi || ac_status=$? 1340 cd "$ac_pwd" || { ac_status=$?; break; } 1341 done 1342fi 1343 1344test -n "$ac_init_help" && exit $ac_status 1345if $ac_init_version; then 1346 cat <<\_ACEOF 1347configure 1348generated by GNU Autoconf 2.61 1349 1350Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13512002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1352This configure script is free software; the Free Software Foundation 1353gives unlimited permission to copy, distribute and modify it. 1354_ACEOF 1355 exit 1356fi 1357cat >config.log <<_ACEOF 1358This file contains any messages produced by compilers while 1359running configure, to aid debugging if configure makes a mistake. 1360 1361It was created by $as_me, which was 1362generated by GNU Autoconf 2.61. Invocation command line was 1363 1364 $ $0 $@ 1365 1366_ACEOF 1367exec 5>>config.log 1368{ 1369cat <<_ASUNAME 1370## --------- ## 1371## Platform. ## 1372## --------- ## 1373 1374hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1375uname -m = `(uname -m) 2>/dev/null || echo unknown` 1376uname -r = `(uname -r) 2>/dev/null || echo unknown` 1377uname -s = `(uname -s) 2>/dev/null || echo unknown` 1378uname -v = `(uname -v) 2>/dev/null || echo unknown` 1379 1380/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1381/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1382 1383/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1384/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1385/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1386/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1387/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1388/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1389/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1390 1391_ASUNAME 1392 1393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1394for as_dir in $PATH 1395do 1396 IFS=$as_save_IFS 1397 test -z "$as_dir" && as_dir=. 1398 echo "PATH: $as_dir" 1399done 1400IFS=$as_save_IFS 1401 1402} >&5 1403 1404cat >&5 <<_ACEOF 1405 1406 1407## ----------- ## 1408## Core tests. ## 1409## ----------- ## 1410 1411_ACEOF 1412 1413 1414# Keep a trace of the command line. 1415# Strip out --no-create and --no-recursion so they do not pile up. 1416# Strip out --silent because we don't want to record it for future runs. 1417# Also quote any args containing shell meta-characters. 1418# Make two passes to allow for proper duplicate-argument suppression. 1419ac_configure_args= 1420ac_configure_args0= 1421ac_configure_args1= 1422ac_must_keep_next=false 1423for ac_pass in 1 2 1424do 1425 for ac_arg 1426 do 1427 case $ac_arg in 1428 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1429 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1430 | -silent | --silent | --silen | --sile | --sil) 1431 continue ;; 1432 *\'*) 1433 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1434 esac 1435 case $ac_pass in 1436 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1437 2) 1438 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1439 if test $ac_must_keep_next = true; then 1440 ac_must_keep_next=false # Got value, back to normal. 1441 else 1442 case $ac_arg in 1443 *=* | --config-cache | -C | -disable-* | --disable-* \ 1444 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1445 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1446 | -with-* | --with-* | -without-* | --without-* | --x) 1447 case "$ac_configure_args0 " in 1448 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1449 esac 1450 ;; 1451 -* ) ac_must_keep_next=true ;; 1452 esac 1453 fi 1454 ac_configure_args="$ac_configure_args '$ac_arg'" 1455 ;; 1456 esac 1457 done 1458done 1459$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1460$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1461 1462# When interrupted or exit'd, cleanup temporary files, and complete 1463# config.log. We remove comments because anyway the quotes in there 1464# would cause problems or look ugly. 1465# WARNING: Use '\'' to represent an apostrophe within the trap. 1466# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1467trap 'exit_status=$? 1468 # Save into config.log some information that might help in debugging. 1469 { 1470 echo 1471 1472 cat <<\_ASBOX 1473## ---------------- ## 1474## Cache variables. ## 1475## ---------------- ## 1476_ASBOX 1477 echo 1478 # The following way of writing the cache mishandles newlines in values, 1479( 1480 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1481 eval ac_val=\$$ac_var 1482 case $ac_val in #( 1483 *${as_nl}*) 1484 case $ac_var in #( 1485 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1486echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1487 esac 1488 case $ac_var in #( 1489 _ | IFS | as_nl) ;; #( 1490 *) $as_unset $ac_var ;; 1491 esac ;; 1492 esac 1493 done 1494 (set) 2>&1 | 1495 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1496 *${as_nl}ac_space=\ *) 1497 sed -n \ 1498 "s/'\''/'\''\\\\'\'''\''/g; 1499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1500 ;; #( 1501 *) 1502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1503 ;; 1504 esac | 1505 sort 1506) 1507 echo 1508 1509 cat <<\_ASBOX 1510## ----------------- ## 1511## Output variables. ## 1512## ----------------- ## 1513_ASBOX 1514 echo 1515 for ac_var in $ac_subst_vars 1516 do 1517 eval ac_val=\$$ac_var 1518 case $ac_val in 1519 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1520 esac 1521 echo "$ac_var='\''$ac_val'\''" 1522 done | sort 1523 echo 1524 1525 if test -n "$ac_subst_files"; then 1526 cat <<\_ASBOX 1527## ------------------- ## 1528## File substitutions. ## 1529## ------------------- ## 1530_ASBOX 1531 echo 1532 for ac_var in $ac_subst_files 1533 do 1534 eval ac_val=\$$ac_var 1535 case $ac_val in 1536 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1537 esac 1538 echo "$ac_var='\''$ac_val'\''" 1539 done | sort 1540 echo 1541 fi 1542 1543 if test -s confdefs.h; then 1544 cat <<\_ASBOX 1545## ----------- ## 1546## confdefs.h. ## 1547## ----------- ## 1548_ASBOX 1549 echo 1550 cat confdefs.h 1551 echo 1552 fi 1553 test "$ac_signal" != 0 && 1554 echo "$as_me: caught signal $ac_signal" 1555 echo "$as_me: exit $exit_status" 1556 } >&5 1557 rm -f core *.core core.conftest.* && 1558 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1559 exit $exit_status 1560' 0 1561for ac_signal in 1 2 13 15; do 1562 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1563done 1564ac_signal=0 1565 1566# confdefs.h avoids OS command line length limits that DEFS can exceed. 1567rm -f -r conftest* confdefs.h 1568 1569# Predefined preprocessor variables. 1570 1571cat >>confdefs.h <<_ACEOF 1572#define PACKAGE_NAME "$PACKAGE_NAME" 1573_ACEOF 1574 1575 1576cat >>confdefs.h <<_ACEOF 1577#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1578_ACEOF 1579 1580 1581cat >>confdefs.h <<_ACEOF 1582#define PACKAGE_VERSION "$PACKAGE_VERSION" 1583_ACEOF 1584 1585 1586cat >>confdefs.h <<_ACEOF 1587#define PACKAGE_STRING "$PACKAGE_STRING" 1588_ACEOF 1589 1590 1591cat >>confdefs.h <<_ACEOF 1592#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1593_ACEOF 1594 1595 1596# Let the site file select an alternate cache file if it wants to. 1597# Prefer explicitly selected file to automatically selected ones. 1598if test -n "$CONFIG_SITE"; then 1599 set x "$CONFIG_SITE" 1600elif test "x$prefix" != xNONE; then 1601 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1602else 1603 set x "$ac_default_prefix/share/config.site" \ 1604 "$ac_default_prefix/etc/config.site" 1605fi 1606shift 1607for ac_site_file 1608do 1609 if test -r "$ac_site_file"; then 1610 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1611echo "$as_me: loading site script $ac_site_file" >&6;} 1612 sed 's/^/| /' "$ac_site_file" >&5 1613 . "$ac_site_file" 1614 fi 1615done 1616 1617if test -r "$cache_file"; then 1618 # Some versions of bash will fail to source /dev/null (special 1619 # files actually), so we avoid doing that. 1620 if test -f "$cache_file"; then 1621 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1622echo "$as_me: loading cache $cache_file" >&6;} 1623 case $cache_file in 1624 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1625 *) . "./$cache_file";; 1626 esac 1627 fi 1628else 1629 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1630echo "$as_me: creating cache $cache_file" >&6;} 1631 >$cache_file 1632fi 1633 1634# Check that the precious variables saved in the cache have kept the same 1635# value. 1636ac_cache_corrupted=false 1637for ac_var in $ac_precious_vars; do 1638 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1639 eval ac_new_set=\$ac_env_${ac_var}_set 1640 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1641 eval ac_new_val=\$ac_env_${ac_var}_value 1642 case $ac_old_set,$ac_new_set in 1643 set,) 1644 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1645echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1646 ac_cache_corrupted=: ;; 1647 ,set) 1648 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1649echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1650 ac_cache_corrupted=: ;; 1651 ,);; 1652 *) 1653 if test "x$ac_old_val" != "x$ac_new_val"; then 1654 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1655echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1656 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1657echo "$as_me: former value: $ac_old_val" >&2;} 1658 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1659echo "$as_me: current value: $ac_new_val" >&2;} 1660 ac_cache_corrupted=: 1661 fi;; 1662 esac 1663 # Pass precious variables to config.status. 1664 if test "$ac_new_set" = set; then 1665 case $ac_new_val in 1666 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1667 *) ac_arg=$ac_var=$ac_new_val ;; 1668 esac 1669 case " $ac_configure_args " in 1670 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1671 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1672 esac 1673 fi 1674done 1675if $ac_cache_corrupted; then 1676 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1677echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1678 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1679echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1680 { (exit 1); exit 1; }; } 1681fi 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699ac_ext=c 1700ac_cpp='$CPP $CPPFLAGS' 1701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1703ac_compiler_gnu=$ac_cv_c_compiler_gnu 1704 1705 1706am__api_version='1.10' 1707 1708ac_aux_dir= 1709for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1710 if test -f "$ac_dir/install-sh"; then 1711 ac_aux_dir=$ac_dir 1712 ac_install_sh="$ac_aux_dir/install-sh -c" 1713 break 1714 elif test -f "$ac_dir/install.sh"; then 1715 ac_aux_dir=$ac_dir 1716 ac_install_sh="$ac_aux_dir/install.sh -c" 1717 break 1718 elif test -f "$ac_dir/shtool"; then 1719 ac_aux_dir=$ac_dir 1720 ac_install_sh="$ac_aux_dir/shtool install -c" 1721 break 1722 fi 1723done 1724if test -z "$ac_aux_dir"; then 1725 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1726echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1727 { (exit 1); exit 1; }; } 1728fi 1729 1730# These three variables are undocumented and unsupported, 1731# and are intended to be withdrawn in a future Autoconf release. 1732# They can cause serious problems if a builder's source tree is in a directory 1733# whose full name contains unusual characters. 1734ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1735ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1736ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1737 1738 1739# Find a good install program. We prefer a C program (faster), 1740# so one script is as good as another. But avoid the broken or 1741# incompatible versions: 1742# SysV /etc/install, /usr/sbin/install 1743# SunOS /usr/etc/install 1744# IRIX /sbin/install 1745# AIX /bin/install 1746# AmigaOS /C/install, which installs bootblocks on floppy discs 1747# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1748# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1749# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1750# OS/2's system install, which has a completely different semantic 1751# ./install, which can be erroneously created by make from ./install.sh. 1752{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1753echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1754if test -z "$INSTALL"; then 1755if test "${ac_cv_path_install+set}" = set; then 1756 echo $ECHO_N "(cached) $ECHO_C" >&6 1757else 1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1759for as_dir in $PATH 1760do 1761 IFS=$as_save_IFS 1762 test -z "$as_dir" && as_dir=. 1763 # Account for people who put trailing slashes in PATH elements. 1764case $as_dir/ in 1765 ./ | .// | /cC/* | \ 1766 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1767 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1768 /usr/ucb/* ) ;; 1769 *) 1770 # OSF1 and SCO ODT 3.0 have their own names for install. 1771 # Don't use installbsd from OSF since it installs stuff as root 1772 # by default. 1773 for ac_prog in ginstall scoinst install; do 1774 for ac_exec_ext in '' $ac_executable_extensions; do 1775 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1776 if test $ac_prog = install && 1777 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1778 # AIX install. It has an incompatible calling convention. 1779 : 1780 elif test $ac_prog = install && 1781 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1782 # program-specific install script used by HP pwplus--don't use. 1783 : 1784 else 1785 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1786 break 3 1787 fi 1788 fi 1789 done 1790 done 1791 ;; 1792esac 1793done 1794IFS=$as_save_IFS 1795 1796 1797fi 1798 if test "${ac_cv_path_install+set}" = set; then 1799 INSTALL=$ac_cv_path_install 1800 else 1801 # As a last resort, use the slow shell script. Don't cache a 1802 # value for INSTALL within a source directory, because that will 1803 # break other packages using the cache if that directory is 1804 # removed, or if the value is a relative name. 1805 INSTALL=$ac_install_sh 1806 fi 1807fi 1808{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1809echo "${ECHO_T}$INSTALL" >&6; } 1810 1811# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1812# It thinks the first close brace ends the variable substitution. 1813test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1814 1815test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1816 1817test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1818 1819{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1820echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1821# Just in case 1822sleep 1 1823echo timestamp > conftest.file 1824# Do `set' in a subshell so we don't clobber the current shell's 1825# arguments. Must try -L first in case configure is actually a 1826# symlink; some systems play weird games with the mod time of symlinks 1827# (eg FreeBSD returns the mod time of the symlink's containing 1828# directory). 1829if ( 1830 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1831 if test "$*" = "X"; then 1832 # -L didn't work. 1833 set X `ls -t $srcdir/configure conftest.file` 1834 fi 1835 rm -f conftest.file 1836 if test "$*" != "X $srcdir/configure conftest.file" \ 1837 && test "$*" != "X conftest.file $srcdir/configure"; then 1838 1839 # If neither matched, then we have a broken ls. This can happen 1840 # if, for instance, CONFIG_SHELL is bash and it inherits a 1841 # broken ls alias from the environment. This has actually 1842 # happened. Such a system could not be considered "sane". 1843 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1844alias in your environment" >&5 1845echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1846alias in your environment" >&2;} 1847 { (exit 1); exit 1; }; } 1848 fi 1849 1850 test "$2" = conftest.file 1851 ) 1852then 1853 # Ok. 1854 : 1855else 1856 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1857Check your system clock" >&5 1858echo "$as_me: error: newly created file is older than distributed files! 1859Check your system clock" >&2;} 1860 { (exit 1); exit 1; }; } 1861fi 1862{ echo "$as_me:$LINENO: result: yes" >&5 1863echo "${ECHO_T}yes" >&6; } 1864test "$program_prefix" != NONE && 1865 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1866# Use a double $ so make ignores it. 1867test "$program_suffix" != NONE && 1868 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1869# Double any \ or $. echo might interpret backslashes. 1870# By default was `s,x,x', remove it if useless. 1871cat <<\_ACEOF >conftest.sed 1872s/[\\$]/&&/g;s/;s,x,x,$// 1873_ACEOF 1874program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1875rm -f conftest.sed 1876 1877# expand $ac_aux_dir to an absolute path 1878am_aux_dir=`cd $ac_aux_dir && pwd` 1879 1880test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1881# Use eval to expand $SHELL 1882if eval "$MISSING --run true"; then 1883 am_missing_run="$MISSING --run " 1884else 1885 am_missing_run= 1886 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1887echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1888fi 1889 1890{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1891echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1892if test -z "$MKDIR_P"; then 1893 if test "${ac_cv_path_mkdir+set}" = set; then 1894 echo $ECHO_N "(cached) $ECHO_C" >&6 1895else 1896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1897for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1898do 1899 IFS=$as_save_IFS 1900 test -z "$as_dir" && as_dir=. 1901 for ac_prog in mkdir gmkdir; do 1902 for ac_exec_ext in '' $ac_executable_extensions; do 1903 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1904 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1905 'mkdir (GNU coreutils) '* | \ 1906 'mkdir (coreutils) '* | \ 1907 'mkdir (fileutils) '4.1*) 1908 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1909 break 3;; 1910 esac 1911 done 1912 done 1913done 1914IFS=$as_save_IFS 1915 1916fi 1917 1918 if test "${ac_cv_path_mkdir+set}" = set; then 1919 MKDIR_P="$ac_cv_path_mkdir -p" 1920 else 1921 # As a last resort, use the slow shell script. Don't cache a 1922 # value for MKDIR_P within a source directory, because that will 1923 # break other packages using the cache if that directory is 1924 # removed, or if the value is a relative name. 1925 test -d ./--version && rmdir ./--version 1926 MKDIR_P="$ac_install_sh -d" 1927 fi 1928fi 1929{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 1930echo "${ECHO_T}$MKDIR_P" >&6; } 1931 1932mkdir_p="$MKDIR_P" 1933case $mkdir_p in 1934 [\\/$]* | ?:[\\/]*) ;; 1935 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1936esac 1937 1938for ac_prog in gawk mawk nawk awk 1939do 1940 # Extract the first word of "$ac_prog", so it can be a program name with args. 1941set dummy $ac_prog; ac_word=$2 1942{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1943echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1944if test "${ac_cv_prog_AWK+set}" = set; then 1945 echo $ECHO_N "(cached) $ECHO_C" >&6 1946else 1947 if test -n "$AWK"; then 1948 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1949else 1950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1951for as_dir in $PATH 1952do 1953 IFS=$as_save_IFS 1954 test -z "$as_dir" && as_dir=. 1955 for ac_exec_ext in '' $ac_executable_extensions; do 1956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1957 ac_cv_prog_AWK="$ac_prog" 1958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1959 break 2 1960 fi 1961done 1962done 1963IFS=$as_save_IFS 1964 1965fi 1966fi 1967AWK=$ac_cv_prog_AWK 1968if test -n "$AWK"; then 1969 { echo "$as_me:$LINENO: result: $AWK" >&5 1970echo "${ECHO_T}$AWK" >&6; } 1971else 1972 { echo "$as_me:$LINENO: result: no" >&5 1973echo "${ECHO_T}no" >&6; } 1974fi 1975 1976 1977 test -n "$AWK" && break 1978done 1979 1980{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1981echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1982set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1983if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1984 echo $ECHO_N "(cached) $ECHO_C" >&6 1985else 1986 cat >conftest.make <<\_ACEOF 1987SHELL = /bin/sh 1988all: 1989 @echo '@@@%%%=$(MAKE)=@@@%%%' 1990_ACEOF 1991# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1992case `${MAKE-make} -f conftest.make 2>/dev/null` in 1993 *@@@%%%=?*=@@@%%%*) 1994 eval ac_cv_prog_make_${ac_make}_set=yes;; 1995 *) 1996 eval ac_cv_prog_make_${ac_make}_set=no;; 1997esac 1998rm -f conftest.make 1999fi 2000if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2001 { echo "$as_me:$LINENO: result: yes" >&5 2002echo "${ECHO_T}yes" >&6; } 2003 SET_MAKE= 2004else 2005 { echo "$as_me:$LINENO: result: no" >&5 2006echo "${ECHO_T}no" >&6; } 2007 SET_MAKE="MAKE=${MAKE-make}" 2008fi 2009 2010rm -rf .tst 2>/dev/null 2011mkdir .tst 2>/dev/null 2012if test -d .tst; then 2013 am__leading_dot=. 2014else 2015 am__leading_dot=_ 2016fi 2017rmdir .tst 2>/dev/null 2018 2019if test "`cd $srcdir && pwd`" != "`pwd`"; then 2020 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2021 # is not polluted with repeated "-I." 2022 am__isrc=' -I$(srcdir)' 2023 # test to see if srcdir already configured 2024 if test -f $srcdir/config.status; then 2025 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2026echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2027 { (exit 1); exit 1; }; } 2028 fi 2029fi 2030 2031# test whether we have cygpath 2032if test -z "$CYGPATH_W"; then 2033 if (cygpath --version) >/dev/null 2>/dev/null; then 2034 CYGPATH_W='cygpath -w' 2035 else 2036 CYGPATH_W=echo 2037 fi 2038fi 2039 2040 2041# Define the identity of the package. 2042 PACKAGE=latex-mk 2043 VERSION=2.1 2044 2045 2046cat >>confdefs.h <<_ACEOF 2047#define PACKAGE "$PACKAGE" 2048_ACEOF 2049 2050 2051cat >>confdefs.h <<_ACEOF 2052#define VERSION "$VERSION" 2053_ACEOF 2054 2055# Some tools Automake needs. 2056 2057ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2058 2059 2060AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2061 2062 2063AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2064 2065 2066AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2067 2068 2069MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2070 2071install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2072 2073# Installed binaries are usually stripped using `strip' when the user 2074# run `make install-strip'. However `strip' might not be the right 2075# tool to use in cross-compilation environments, therefore Automake 2076# will honor the `STRIP' environment variable to overrule this program. 2077if test "$cross_compiling" != no; then 2078 if test -n "$ac_tool_prefix"; then 2079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2080set dummy ${ac_tool_prefix}strip; ac_word=$2 2081{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2082echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2083if test "${ac_cv_prog_STRIP+set}" = set; then 2084 echo $ECHO_N "(cached) $ECHO_C" >&6 2085else 2086 if test -n "$STRIP"; then 2087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2088else 2089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2090for as_dir in $PATH 2091do 2092 IFS=$as_save_IFS 2093 test -z "$as_dir" && as_dir=. 2094 for ac_exec_ext in '' $ac_executable_extensions; do 2095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2096 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2098 break 2 2099 fi 2100done 2101done 2102IFS=$as_save_IFS 2103 2104fi 2105fi 2106STRIP=$ac_cv_prog_STRIP 2107if test -n "$STRIP"; then 2108 { echo "$as_me:$LINENO: result: $STRIP" >&5 2109echo "${ECHO_T}$STRIP" >&6; } 2110else 2111 { echo "$as_me:$LINENO: result: no" >&5 2112echo "${ECHO_T}no" >&6; } 2113fi 2114 2115 2116fi 2117if test -z "$ac_cv_prog_STRIP"; then 2118 ac_ct_STRIP=$STRIP 2119 # Extract the first word of "strip", so it can be a program name with args. 2120set dummy strip; ac_word=$2 2121{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2122echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2123if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2124 echo $ECHO_N "(cached) $ECHO_C" >&6 2125else 2126 if test -n "$ac_ct_STRIP"; then 2127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2128else 2129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2130for as_dir in $PATH 2131do 2132 IFS=$as_save_IFS 2133 test -z "$as_dir" && as_dir=. 2134 for ac_exec_ext in '' $ac_executable_extensions; do 2135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2136 ac_cv_prog_ac_ct_STRIP="strip" 2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2138 break 2 2139 fi 2140done 2141done 2142IFS=$as_save_IFS 2143 2144fi 2145fi 2146ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2147if test -n "$ac_ct_STRIP"; then 2148 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2149echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2150else 2151 { echo "$as_me:$LINENO: result: no" >&5 2152echo "${ECHO_T}no" >&6; } 2153fi 2154 2155 if test "x$ac_ct_STRIP" = x; then 2156 STRIP=":" 2157 else 2158 case $cross_compiling:$ac_tool_warned in 2159yes:) 2160{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2161whose name does not start with the host triplet. If you think this 2162configuration is useful to you, please write to autoconf@gnu.org." >&5 2163echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2164whose name does not start with the host triplet. If you think this 2165configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2166ac_tool_warned=yes ;; 2167esac 2168 STRIP=$ac_ct_STRIP 2169 fi 2170else 2171 STRIP="$ac_cv_prog_STRIP" 2172fi 2173 2174fi 2175INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2176 2177# We need awk for the "check" target. The system "awk" is bad on 2178# some platforms. 2179# Always define AMTAR for backward compatibility. 2180 2181AMTAR=${AMTAR-"${am_missing_run}tar"} 2182 2183am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2184 2185 2186 2187 2188 2189 2190{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2191echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2192 # Check whether --enable-maintainer-mode was given. 2193if test "${enable_maintainer_mode+set}" = set; then 2194 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2195else 2196 USE_MAINTAINER_MODE=no 2197fi 2198 2199 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2200echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2201 if test $USE_MAINTAINER_MODE = yes; then 2202 MAINTAINER_MODE_TRUE= 2203 MAINTAINER_MODE_FALSE='#' 2204else 2205 MAINTAINER_MODE_TRUE='#' 2206 MAINTAINER_MODE_FALSE= 2207fi 2208 2209 MAINT=$MAINTAINER_MODE_TRUE 2210 2211 2212 2213# 2214# determine host type 2215# 2216# Make sure we can run config.sub. 2217$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2218 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2219echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2220 { (exit 1); exit 1; }; } 2221 2222{ echo "$as_me:$LINENO: checking build system type" >&5 2223echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2224if test "${ac_cv_build+set}" = set; then 2225 echo $ECHO_N "(cached) $ECHO_C" >&6 2226else 2227 ac_build_alias=$build_alias 2228test "x$ac_build_alias" = x && 2229 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2230test "x$ac_build_alias" = x && 2231 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2232echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2233 { (exit 1); exit 1; }; } 2234ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2235 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2236echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2237 { (exit 1); exit 1; }; } 2238 2239fi 2240{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2241echo "${ECHO_T}$ac_cv_build" >&6; } 2242case $ac_cv_build in 2243*-*-*) ;; 2244*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2245echo "$as_me: error: invalid value of canonical build" >&2;} 2246 { (exit 1); exit 1; }; };; 2247esac 2248build=$ac_cv_build 2249ac_save_IFS=$IFS; IFS='-' 2250set x $ac_cv_build 2251shift 2252build_cpu=$1 2253build_vendor=$2 2254shift; shift 2255# Remember, the first character of IFS is used to create $*, 2256# except with old shells: 2257build_os=$* 2258IFS=$ac_save_IFS 2259case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2260 2261 2262{ echo "$as_me:$LINENO: checking host system type" >&5 2263echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2264if test "${ac_cv_host+set}" = set; then 2265 echo $ECHO_N "(cached) $ECHO_C" >&6 2266else 2267 if test "x$host_alias" = x; then 2268 ac_cv_host=$ac_cv_build 2269else 2270 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2271 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2272echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2273 { (exit 1); exit 1; }; } 2274fi 2275 2276fi 2277{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2278echo "${ECHO_T}$ac_cv_host" >&6; } 2279case $ac_cv_host in 2280*-*-*) ;; 2281*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2282echo "$as_me: error: invalid value of canonical host" >&2;} 2283 { (exit 1); exit 1; }; };; 2284esac 2285host=$ac_cv_host 2286ac_save_IFS=$IFS; IFS='-' 2287set x $ac_cv_host 2288shift 2289host_cpu=$1 2290host_vendor=$2 2291shift; shift 2292# Remember, the first character of IFS is used to create $*, 2293# except with old shells: 2294host_os=$* 2295IFS=$ac_save_IFS 2296case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2297 2298 2299 2300# 2301# an install program 2302# 2303# Find a good install program. We prefer a C program (faster), 2304# so one script is as good as another. But avoid the broken or 2305# incompatible versions: 2306# SysV /etc/install, /usr/sbin/install 2307# SunOS /usr/etc/install 2308# IRIX /sbin/install 2309# AIX /bin/install 2310# AmigaOS /C/install, which installs bootblocks on floppy discs 2311# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2312# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2313# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2314# OS/2's system install, which has a completely different semantic 2315# ./install, which can be erroneously created by make from ./install.sh. 2316{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2317echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2318if test -z "$INSTALL"; then 2319if test "${ac_cv_path_install+set}" = set; then 2320 echo $ECHO_N "(cached) $ECHO_C" >&6 2321else 2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2323for as_dir in $PATH 2324do 2325 IFS=$as_save_IFS 2326 test -z "$as_dir" && as_dir=. 2327 # Account for people who put trailing slashes in PATH elements. 2328case $as_dir/ in 2329 ./ | .// | /cC/* | \ 2330 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2331 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2332 /usr/ucb/* ) ;; 2333 *) 2334 # OSF1 and SCO ODT 3.0 have their own names for install. 2335 # Don't use installbsd from OSF since it installs stuff as root 2336 # by default. 2337 for ac_prog in ginstall scoinst install; do 2338 for ac_exec_ext in '' $ac_executable_extensions; do 2339 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2340 if test $ac_prog = install && 2341 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2342 # AIX install. It has an incompatible calling convention. 2343 : 2344 elif test $ac_prog = install && 2345 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2346 # program-specific install script used by HP pwplus--don't use. 2347 : 2348 else 2349 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2350 break 3 2351 fi 2352 fi 2353 done 2354 done 2355 ;; 2356esac 2357done 2358IFS=$as_save_IFS 2359 2360 2361fi 2362 if test "${ac_cv_path_install+set}" = set; then 2363 INSTALL=$ac_cv_path_install 2364 else 2365 # As a last resort, use the slow shell script. Don't cache a 2366 # value for INSTALL within a source directory, because that will 2367 # break other packages using the cache if that directory is 2368 # removed, or if the value is a relative name. 2369 INSTALL=$ac_install_sh 2370 fi 2371fi 2372{ echo "$as_me:$LINENO: result: $INSTALL" >&5 2373echo "${ECHO_T}$INSTALL" >&6; } 2374 2375# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2376# It thinks the first close brace ends the variable substitution. 2377test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2378 2379test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2380 2381test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2382 2383 2384# 2385# general 2386# 2387# Extract the first word of "awk nawk gawk mawk", so it can be a program name with args. 2388set dummy awk nawk gawk mawk; ac_word=$2 2389{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2390echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2391if test "${ac_cv_path_AWK+set}" = set; then 2392 echo $ECHO_N "(cached) $ECHO_C" >&6 2393else 2394 case $AWK in 2395 [\\/]* | ?:[\\/]*) 2396 ac_cv_path_AWK="$AWK" # Let the user override the test with a path. 2397 ;; 2398 *) 2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2400for as_dir in $PATH 2401do 2402 IFS=$as_save_IFS 2403 test -z "$as_dir" && as_dir=. 2404 for ac_exec_ext in '' $ac_executable_extensions; do 2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2406 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" 2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2408 break 2 2409 fi 2410done 2411done 2412IFS=$as_save_IFS 2413 2414 test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="awk" 2415 ;; 2416esac 2417fi 2418AWK=$ac_cv_path_AWK 2419if test -n "$AWK"; then 2420 { echo "$as_me:$LINENO: result: $AWK" >&5 2421echo "${ECHO_T}$AWK" >&6; } 2422else 2423 { echo "$as_me:$LINENO: result: no" >&5 2424echo "${ECHO_T}no" >&6; } 2425fi 2426 2427 2428# Extract the first word of "env", so it can be a program name with args. 2429set dummy env; ac_word=$2 2430{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2431echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2432if test "${ac_cv_path_ENV_PROG+set}" = set; then 2433 echo $ECHO_N "(cached) $ECHO_C" >&6 2434else 2435 case $ENV_PROG in 2436 [\\/]* | ?:[\\/]*) 2437 ac_cv_path_ENV_PROG="$ENV_PROG" # Let the user override the test with a path. 2438 ;; 2439 *) 2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2441for as_dir in $PATH 2442do 2443 IFS=$as_save_IFS 2444 test -z "$as_dir" && as_dir=. 2445 for ac_exec_ext in '' $ac_executable_extensions; do 2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2447 ac_cv_path_ENV_PROG="$as_dir/$ac_word$ac_exec_ext" 2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2449 break 2 2450 fi 2451done 2452done 2453IFS=$as_save_IFS 2454 2455 test -z "$ac_cv_path_ENV_PROG" && ac_cv_path_ENV_PROG="env" 2456 ;; 2457esac 2458fi 2459ENV_PROG=$ac_cv_path_ENV_PROG 2460if test -n "$ENV_PROG"; then 2461 { echo "$as_me:$LINENO: result: $ENV_PROG" >&5 2462echo "${ECHO_T}$ENV_PROG" >&6; } 2463else 2464 { echo "$as_me:$LINENO: result: no" >&5 2465echo "${ECHO_T}no" >&6; } 2466fi 2467 2468 2469# Extract the first word of "false", so it can be a program name with args. 2470set dummy false; ac_word=$2 2471{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2473if test "${ac_cv_path_FALSE+set}" = set; then 2474 echo $ECHO_N "(cached) $ECHO_C" >&6 2475else 2476 case $FALSE in 2477 [\\/]* | ?:[\\/]*) 2478 ac_cv_path_FALSE="$FALSE" # Let the user override the test with a path. 2479 ;; 2480 *) 2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2482for as_dir in $PATH 2483do 2484 IFS=$as_save_IFS 2485 test -z "$as_dir" && as_dir=. 2486 for ac_exec_ext in '' $ac_executable_extensions; do 2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2488 ac_cv_path_FALSE="$as_dir/$ac_word$ac_exec_ext" 2489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2490 break 2 2491 fi 2492done 2493done 2494IFS=$as_save_IFS 2495 2496 test -z "$ac_cv_path_FALSE" && ac_cv_path_FALSE="false" 2497 ;; 2498esac 2499fi 2500FALSE=$ac_cv_path_FALSE 2501if test -n "$FALSE"; then 2502 { echo "$as_me:$LINENO: result: $FALSE" >&5 2503echo "${ECHO_T}$FALSE" >&6; } 2504else 2505 { echo "$as_me:$LINENO: result: no" >&5 2506echo "${ECHO_T}no" >&6; } 2507fi 2508 2509 2510# Extract the first word of "grep", so it can be a program name with args. 2511set dummy grep; ac_word=$2 2512{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2513echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2514if test "${ac_cv_path_GREP+set}" = set; then 2515 echo $ECHO_N "(cached) $ECHO_C" >&6 2516else 2517 case $GREP in 2518 [\\/]* | ?:[\\/]*) 2519 ac_cv_path_GREP="$GREP" # Let the user override the test with a path. 2520 ;; 2521 *) 2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2523for as_dir in $PATH 2524do 2525 IFS=$as_save_IFS 2526 test -z "$as_dir" && as_dir=. 2527 for ac_exec_ext in '' $ac_executable_extensions; do 2528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2529 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext" 2530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2531 break 2 2532 fi 2533done 2534done 2535IFS=$as_save_IFS 2536 2537 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="grep" 2538 ;; 2539esac 2540fi 2541GREP=$ac_cv_path_GREP 2542if test -n "$GREP"; then 2543 { echo "$as_me:$LINENO: result: $GREP" >&5 2544echo "${ECHO_T}$GREP" >&6; } 2545else 2546 { echo "$as_me:$LINENO: result: no" >&5 2547echo "${ECHO_T}no" >&6; } 2548fi 2549 2550 2551# Extract the first word of "gzcat", so it can be a program name with args. 2552set dummy gzcat; ac_word=$2 2553{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2554echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2555if test "${ac_cv_path_GZCAT+set}" = set; then 2556 echo $ECHO_N "(cached) $ECHO_C" >&6 2557else 2558 case $GZCAT in 2559 [\\/]* | ?:[\\/]*) 2560 ac_cv_path_GZCAT="$GZCAT" # Let the user override the test with a path. 2561 ;; 2562 *) 2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2564for as_dir in $PATH 2565do 2566 IFS=$as_save_IFS 2567 test -z "$as_dir" && as_dir=. 2568 for ac_exec_ext in '' $ac_executable_extensions; do 2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2570 ac_cv_path_GZCAT="$as_dir/$ac_word$ac_exec_ext" 2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2572 break 2 2573 fi 2574done 2575done 2576IFS=$as_save_IFS 2577 2578 test -z "$ac_cv_path_GZCAT" && ac_cv_path_GZCAT="gzcat" 2579 ;; 2580esac 2581fi 2582GZCAT=$ac_cv_path_GZCAT 2583if test -n "$GZCAT"; then 2584 { echo "$as_me:$LINENO: result: $GZCAT" >&5 2585echo "${ECHO_T}$GZCAT" >&6; } 2586else 2587 { echo "$as_me:$LINENO: result: no" >&5 2588echo "${ECHO_T}no" >&6; } 2589fi 2590 2591 2592# Extract the first word of "gzip", so it can be a program name with args. 2593set dummy gzip; ac_word=$2 2594{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2596if test "${ac_cv_path_GZIP+set}" = set; then 2597 echo $ECHO_N "(cached) $ECHO_C" >&6 2598else 2599 case $GZIP in 2600 [\\/]* | ?:[\\/]*) 2601 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. 2602 ;; 2603 *) 2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2605for as_dir in $PATH 2606do 2607 IFS=$as_save_IFS 2608 test -z "$as_dir" && as_dir=. 2609 for ac_exec_ext in '' $ac_executable_extensions; do 2610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2611 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext" 2612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2613 break 2 2614 fi 2615done 2616done 2617IFS=$as_save_IFS 2618 2619 test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP="gzip" 2620 ;; 2621esac 2622fi 2623GZIP=$ac_cv_path_GZIP 2624if test -n "$GZIP"; then 2625 { echo "$as_me:$LINENO: result: $GZIP" >&5 2626echo "${ECHO_T}$GZIP" >&6; } 2627else 2628 { echo "$as_me:$LINENO: result: no" >&5 2629echo "${ECHO_T}no" >&6; } 2630fi 2631 2632 2633# Extract the first word of "rm", so it can be a program name with args. 2634set dummy rm; ac_word=$2 2635{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2636echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2637if test "${ac_cv_path_RM+set}" = set; then 2638 echo $ECHO_N "(cached) $ECHO_C" >&6 2639else 2640 case $RM in 2641 [\\/]* | ?:[\\/]*) 2642 ac_cv_path_RM="$RM" # Let the user override the test with a path. 2643 ;; 2644 *) 2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2646for as_dir in $PATH 2647do 2648 IFS=$as_save_IFS 2649 test -z "$as_dir" && as_dir=. 2650 for ac_exec_ext in '' $ac_executable_extensions; do 2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2652 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 2653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2654 break 2 2655 fi 2656done 2657done 2658IFS=$as_save_IFS 2659 2660 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" 2661 ;; 2662esac 2663fi 2664RM=$ac_cv_path_RM 2665if test -n "$RM"; then 2666 { echo "$as_me:$LINENO: result: $RM" >&5 2667echo "${ECHO_T}$RM" >&6; } 2668else 2669 { echo "$as_me:$LINENO: result: no" >&5 2670echo "${ECHO_T}no" >&6; } 2671fi 2672 2673 2674# Extract the first word of "rmdir", so it can be a program name with args. 2675set dummy rmdir; ac_word=$2 2676{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2677echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2678if test "${ac_cv_path_RMDIR+set}" = set; then 2679 echo $ECHO_N "(cached) $ECHO_C" >&6 2680else 2681 case $RMDIR in 2682 [\\/]* | ?:[\\/]*) 2683 ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path. 2684 ;; 2685 *) 2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2687for as_dir in $PATH 2688do 2689 IFS=$as_save_IFS 2690 test -z "$as_dir" && as_dir=. 2691 for ac_exec_ext in '' $ac_executable_extensions; do 2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2693 ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext" 2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2695 break 2 2696 fi 2697done 2698done 2699IFS=$as_save_IFS 2700 2701 test -z "$ac_cv_path_RMDIR" && ac_cv_path_RMDIR="rmdir" 2702 ;; 2703esac 2704fi 2705RMDIR=$ac_cv_path_RMDIR 2706if test -n "$RMDIR"; then 2707 { echo "$as_me:$LINENO: result: $RMDIR" >&5 2708echo "${ECHO_T}$RMDIR" >&6; } 2709else 2710 { echo "$as_me:$LINENO: result: no" >&5 2711echo "${ECHO_T}no" >&6; } 2712fi 2713 2714 2715# Extract the first word of "tar", so it can be a program name with args. 2716set dummy tar; ac_word=$2 2717{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2718echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2719if test "${ac_cv_path_TAR+set}" = set; then 2720 echo $ECHO_N "(cached) $ECHO_C" >&6 2721else 2722 case $TAR in 2723 [\\/]* | ?:[\\/]*) 2724 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. 2725 ;; 2726 *) 2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2728for as_dir in $PATH 2729do 2730 IFS=$as_save_IFS 2731 test -z "$as_dir" && as_dir=. 2732 for ac_exec_ext in '' $ac_executable_extensions; do 2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2734 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" 2735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2736 break 2 2737 fi 2738done 2739done 2740IFS=$as_save_IFS 2741 2742 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="tar" 2743 ;; 2744esac 2745fi 2746TAR=$ac_cv_path_TAR 2747if test -n "$TAR"; then 2748 { echo "$as_me:$LINENO: result: $TAR" >&5 2749echo "${ECHO_T}$TAR" >&6; } 2750else 2751 { echo "$as_me:$LINENO: result: no" >&5 2752echo "${ECHO_T}no" >&6; } 2753fi 2754 2755 2756 2757# 2758# for latex.mk 2759# 2760# Extract the first word of "bibtex", so it can be a program name with args. 2761set dummy bibtex; ac_word=$2 2762{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2763echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2764if test "${ac_cv_path_BIBTEX+set}" = set; then 2765 echo $ECHO_N "(cached) $ECHO_C" >&6 2766else 2767 case $BIBTEX in 2768 [\\/]* | ?:[\\/]*) 2769 ac_cv_path_BIBTEX="$BIBTEX" # Let the user override the test with a path. 2770 ;; 2771 *) 2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2773for as_dir in $PATH 2774do 2775 IFS=$as_save_IFS 2776 test -z "$as_dir" && as_dir=. 2777 for ac_exec_ext in '' $ac_executable_extensions; do 2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2779 ac_cv_path_BIBTEX="$as_dir/$ac_word$ac_exec_ext" 2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2781 break 2 2782 fi 2783done 2784done 2785IFS=$as_save_IFS 2786 2787 test -z "$ac_cv_path_BIBTEX" && ac_cv_path_BIBTEX="bibtex" 2788 ;; 2789esac 2790fi 2791BIBTEX=$ac_cv_path_BIBTEX 2792if test -n "$BIBTEX"; then 2793 { echo "$as_me:$LINENO: result: $BIBTEX" >&5 2794echo "${ECHO_T}$BIBTEX" >&6; } 2795else 2796 { echo "$as_me:$LINENO: result: no" >&5 2797echo "${ECHO_T}no" >&6; } 2798fi 2799 2800 2801# for converting graphics file formats (from ImageMagick) 2802# Extract the first word of "convert", so it can be a program name with args. 2803set dummy convert; ac_word=$2 2804{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2805echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2806if test "${ac_cv_path_CONVERT+set}" = set; then 2807 echo $ECHO_N "(cached) $ECHO_C" >&6 2808else 2809 case $CONVERT in 2810 [\\/]* | ?:[\\/]*) 2811 ac_cv_path_CONVERT="$CONVERT" # Let the user override the test with a path. 2812 ;; 2813 *) 2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2815for as_dir in $PATH 2816do 2817 IFS=$as_save_IFS 2818 test -z "$as_dir" && as_dir=. 2819 for ac_exec_ext in '' $ac_executable_extensions; do 2820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2821 ac_cv_path_CONVERT="$as_dir/$ac_word$ac_exec_ext" 2822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2823 break 2 2824 fi 2825done 2826done 2827IFS=$as_save_IFS 2828 2829 test -z "$ac_cv_path_CONVERT" && ac_cv_path_CONVERT="convert" 2830 ;; 2831esac 2832fi 2833CONVERT=$ac_cv_path_CONVERT 2834if test -n "$CONVERT"; then 2835 { echo "$as_me:$LINENO: result: $CONVERT" >&5 2836echo "${ECHO_T}$CONVERT" >&6; } 2837else 2838 { echo "$as_me:$LINENO: result: no" >&5 2839echo "${ECHO_T}no" >&6; } 2840fi 2841 2842 2843# Extract the first word of "dvipdfm", so it can be a program name with args. 2844set dummy dvipdfm; ac_word=$2 2845{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2846echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2847if test "${ac_cv_path_DVIPDFM+set}" = set; then 2848 echo $ECHO_N "(cached) $ECHO_C" >&6 2849else 2850 case $DVIPDFM in 2851 [\\/]* | ?:[\\/]*) 2852 ac_cv_path_DVIPDFM="$DVIPDFM" # Let the user override the test with a path. 2853 ;; 2854 *) 2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2856for as_dir in $PATH 2857do 2858 IFS=$as_save_IFS 2859 test -z "$as_dir" && as_dir=. 2860 for ac_exec_ext in '' $ac_executable_extensions; do 2861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2862 ac_cv_path_DVIPDFM="$as_dir/$ac_word$ac_exec_ext" 2863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2864 break 2 2865 fi 2866done 2867done 2868IFS=$as_save_IFS 2869 2870 test -z "$ac_cv_path_DVIPDFM" && ac_cv_path_DVIPDFM="dvipdfm" 2871 ;; 2872esac 2873fi 2874DVIPDFM=$ac_cv_path_DVIPDFM 2875if test -n "$DVIPDFM"; then 2876 { echo "$as_me:$LINENO: result: $DVIPDFM" >&5 2877echo "${ECHO_T}$DVIPDFM" >&6; } 2878else 2879 { echo "$as_me:$LINENO: result: no" >&5 2880echo "${ECHO_T}no" >&6; } 2881fi 2882 2883 2884# Extract the first word of "dvips", so it can be a program name with args. 2885set dummy dvips; ac_word=$2 2886{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2888if test "${ac_cv_path_DVIPS+set}" = set; then 2889 echo $ECHO_N "(cached) $ECHO_C" >&6 2890else 2891 case $DVIPS in 2892 [\\/]* | ?:[\\/]*) 2893 ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path. 2894 ;; 2895 *) 2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2897for as_dir in $PATH 2898do 2899 IFS=$as_save_IFS 2900 test -z "$as_dir" && as_dir=. 2901 for ac_exec_ext in '' $ac_executable_extensions; do 2902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2903 ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext" 2904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2905 break 2 2906 fi 2907done 2908done 2909IFS=$as_save_IFS 2910 2911 test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS="dvips" 2912 ;; 2913esac 2914fi 2915DVIPS=$ac_cv_path_DVIPS 2916if test -n "$DVIPS"; then 2917 { echo "$as_me:$LINENO: result: $DVIPS" >&5 2918echo "${ECHO_T}$DVIPS" >&6; } 2919else 2920 { echo "$as_me:$LINENO: result: no" >&5 2921echo "${ECHO_T}no" >&6; } 2922fi 2923 2924 2925# Extract the first word of "echo", so it can be a program name with args. 2926set dummy echo; ac_word=$2 2927{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2928echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2929if test "${ac_cv_path_ECHO+set}" = set; then 2930 echo $ECHO_N "(cached) $ECHO_C" >&6 2931else 2932 case $ECHO in 2933 [\\/]* | ?:[\\/]*) 2934 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. 2935 ;; 2936 *) 2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2938for as_dir in $PATH 2939do 2940 IFS=$as_save_IFS 2941 test -z "$as_dir" && as_dir=. 2942 for ac_exec_ext in '' $ac_executable_extensions; do 2943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2944 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" 2945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2946 break 2 2947 fi 2948done 2949done 2950IFS=$as_save_IFS 2951 2952 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" 2953 ;; 2954esac 2955fi 2956ECHO=$ac_cv_path_ECHO 2957if test -n "$ECHO"; then 2958 { echo "$as_me:$LINENO: result: $ECHO" >&5 2959echo "${ECHO_T}$ECHO" >&6; } 2960else 2961 { echo "$as_me:$LINENO: result: no" >&5 2962echo "${ECHO_T}no" >&6; } 2963fi 2964 2965 2966# Extract the first word of "find", so it can be a program name with args. 2967set dummy find; ac_word=$2 2968{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2969echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2970if test "${ac_cv_path_FIND+set}" = set; then 2971 echo $ECHO_N "(cached) $ECHO_C" >&6 2972else 2973 case $FIND in 2974 [\\/]* | ?:[\\/]*) 2975 ac_cv_path_FIND="$FIND" # Let the user override the test with a path. 2976 ;; 2977 *) 2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2979for as_dir in $PATH 2980do 2981 IFS=$as_save_IFS 2982 test -z "$as_dir" && as_dir=. 2983 for ac_exec_ext in '' $ac_executable_extensions; do 2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2985 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext" 2986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2987 break 2 2988 fi 2989done 2990done 2991IFS=$as_save_IFS 2992 2993 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="find" 2994 ;; 2995esac 2996fi 2997FIND=$ac_cv_path_FIND 2998if test -n "$FIND"; then 2999 { echo "$as_me:$LINENO: result: $FIND" >&5 3000echo "${ECHO_T}$FIND" >&6; } 3001else 3002 { echo "$as_me:$LINENO: result: no" >&5 3003echo "${ECHO_T}no" >&6; } 3004fi 3005 3006 3007# Extract the first word of "gv", so it can be a program name with args. 3008set dummy gv; ac_word=$2 3009{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3010echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3011if test "${ac_cv_path_GV+set}" = set; then 3012 echo $ECHO_N "(cached) $ECHO_C" >&6 3013else 3014 case $GV in 3015 [\\/]* | ?:[\\/]*) 3016 ac_cv_path_GV="$GV" # Let the user override the test with a path. 3017 ;; 3018 *) 3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3020for as_dir in $PATH 3021do 3022 IFS=$as_save_IFS 3023 test -z "$as_dir" && as_dir=. 3024 for ac_exec_ext in '' $ac_executable_extensions; do 3025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3026 ac_cv_path_GV="$as_dir/$ac_word$ac_exec_ext" 3027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3028 break 2 3029 fi 3030done 3031done 3032IFS=$as_save_IFS 3033 3034 test -z "$ac_cv_path_GV" && ac_cv_path_GV="gv" 3035 ;; 3036esac 3037fi 3038GV=$ac_cv_path_GV 3039if test -n "$GV"; then 3040 { echo "$as_me:$LINENO: result: $GV" >&5 3041echo "${ECHO_T}$GV" >&6; } 3042else 3043 { echo "$as_me:$LINENO: result: no" >&5 3044echo "${ECHO_T}no" >&6; } 3045fi 3046 3047 3048# Extract the first word of "hevea", so it can be a program name with args. 3049set dummy hevea; ac_word=$2 3050{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3051echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3052if test "${ac_cv_path_HEVEA+set}" = set; then 3053 echo $ECHO_N "(cached) $ECHO_C" >&6 3054else 3055 case $HEVEA in 3056 [\\/]* | ?:[\\/]*) 3057 ac_cv_path_HEVEA="$HEVEA" # Let the user override the test with a path. 3058 ;; 3059 *) 3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3061for as_dir in $PATH 3062do 3063 IFS=$as_save_IFS 3064 test -z "$as_dir" && as_dir=. 3065 for ac_exec_ext in '' $ac_executable_extensions; do 3066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3067 ac_cv_path_HEVEA="$as_dir/$ac_word$ac_exec_ext" 3068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3069 break 2 3070 fi 3071done 3072done 3073IFS=$as_save_IFS 3074 3075 test -z "$ac_cv_path_HEVEA" && ac_cv_path_HEVEA="hevea" 3076 ;; 3077esac 3078fi 3079HEVEA=$ac_cv_path_HEVEA 3080if test -n "$HEVEA"; then 3081 { echo "$as_me:$LINENO: result: $HEVEA" >&5 3082echo "${ECHO_T}$HEVEA" >&6; } 3083else 3084 { echo "$as_me:$LINENO: result: no" >&5 3085echo "${ECHO_T}no" >&6; } 3086fi 3087 3088 3089# Extract the first word of "hacha", so it can be a program name with args. 3090set dummy hacha; ac_word=$2 3091{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3092echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3093if test "${ac_cv_path_HACHA+set}" = set; then 3094 echo $ECHO_N "(cached) $ECHO_C" >&6 3095else 3096 case $HACHA in 3097 [\\/]* | ?:[\\/]*) 3098 ac_cv_path_HACHA="$HACHA" # Let the user override the test with a path. 3099 ;; 3100 *) 3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3102for as_dir in $PATH 3103do 3104 IFS=$as_save_IFS 3105 test -z "$as_dir" && as_dir=. 3106 for ac_exec_ext in '' $ac_executable_extensions; do 3107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3108 ac_cv_path_HACHA="$as_dir/$ac_word$ac_exec_ext" 3109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3110 break 2 3111 fi 3112done 3113done 3114IFS=$as_save_IFS 3115 3116 test -z "$ac_cv_path_HACHA" && ac_cv_path_HACHA="hacha" 3117 ;; 3118esac 3119fi 3120HACHA=$ac_cv_path_HACHA 3121if test -n "$HACHA"; then 3122 { echo "$as_me:$LINENO: result: $HACHA" >&5 3123echo "${ECHO_T}$HACHA" >&6; } 3124else 3125 { echo "$as_me:$LINENO: result: no" >&5 3126echo "${ECHO_T}no" >&6; } 3127fi 3128 3129 3130# Extract the first word of "imagen", so it can be a program name with args. 3131set dummy imagen; ac_word=$2 3132{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3133echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3134if test "${ac_cv_path_IMAGEN+set}" = set; then 3135 echo $ECHO_N "(cached) $ECHO_C" >&6 3136else 3137 case $IMAGEN in 3138 [\\/]* | ?:[\\/]*) 3139 ac_cv_path_IMAGEN="$IMAGEN" # Let the user override the test with a path. 3140 ;; 3141 *) 3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3143for as_dir in $PATH 3144do 3145 IFS=$as_save_IFS 3146 test -z "$as_dir" && as_dir=. 3147 for ac_exec_ext in '' $ac_executable_extensions; do 3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3149 ac_cv_path_IMAGEN="$as_dir/$ac_word$ac_exec_ext" 3150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3151 break 2 3152 fi 3153done 3154done 3155IFS=$as_save_IFS 3156 3157 test -z "$ac_cv_path_IMAGEN" && ac_cv_path_IMAGEN="imagen" 3158 ;; 3159esac 3160fi 3161IMAGEN=$ac_cv_path_IMAGEN 3162if test -n "$IMAGEN"; then 3163 { echo "$as_me:$LINENO: result: $IMAGEN" >&5 3164echo "${ECHO_T}$IMAGEN" >&6; } 3165else 3166 { echo "$as_me:$LINENO: result: no" >&5 3167echo "${ECHO_T}no" >&6; } 3168fi 3169 3170 3171# Extract the first word of "latex", so it can be a program name with args. 3172set dummy latex; ac_word=$2 3173{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3174echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3175if test "${ac_cv_path_LATEX+set}" = set; then 3176 echo $ECHO_N "(cached) $ECHO_C" >&6 3177else 3178 case $LATEX in 3179 [\\/]* | ?:[\\/]*) 3180 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path. 3181 ;; 3182 *) 3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3184for as_dir in $PATH 3185do 3186 IFS=$as_save_IFS 3187 test -z "$as_dir" && as_dir=. 3188 for ac_exec_ext in '' $ac_executable_extensions; do 3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3190 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext" 3191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3192 break 2 3193 fi 3194done 3195done 3196IFS=$as_save_IFS 3197 3198 test -z "$ac_cv_path_LATEX" && ac_cv_path_LATEX="latex" 3199 ;; 3200esac 3201fi 3202LATEX=$ac_cv_path_LATEX 3203if test -n "$LATEX"; then 3204 { echo "$as_me:$LINENO: result: $LATEX" >&5 3205echo "${ECHO_T}$LATEX" >&6; } 3206else 3207 { echo "$as_me:$LINENO: result: no" >&5 3208echo "${ECHO_T}no" >&6; } 3209fi 3210 3211 3212# Extract the first word of "latex2html", so it can be a program name with args. 3213set dummy latex2html; ac_word=$2 3214{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3215echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3216if test "${ac_cv_path_LATEX2HTML+set}" = set; then 3217 echo $ECHO_N "(cached) $ECHO_C" >&6 3218else 3219 case $LATEX2HTML in 3220 [\\/]* | ?:[\\/]*) 3221 ac_cv_path_LATEX2HTML="$LATEX2HTML" # Let the user override the test with a path. 3222 ;; 3223 *) 3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3225for as_dir in $PATH 3226do 3227 IFS=$as_save_IFS 3228 test -z "$as_dir" && as_dir=. 3229 for ac_exec_ext in '' $ac_executable_extensions; do 3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3231 ac_cv_path_LATEX2HTML="$as_dir/$ac_word$ac_exec_ext" 3232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3233 break 2 3234 fi 3235done 3236done 3237IFS=$as_save_IFS 3238 3239 test -z "$ac_cv_path_LATEX2HTML" && ac_cv_path_LATEX2HTML="latex2html" 3240 ;; 3241esac 3242fi 3243LATEX2HTML=$ac_cv_path_LATEX2HTML 3244if test -n "$LATEX2HTML"; then 3245 { echo "$as_me:$LINENO: result: $LATEX2HTML" >&5 3246echo "${ECHO_T}$LATEX2HTML" >&6; } 3247else 3248 { echo "$as_me:$LINENO: result: no" >&5 3249echo "${ECHO_T}no" >&6; } 3250fi 3251 3252 3253# Extract the first word of "latex2rtf", so it can be a program name with args. 3254set dummy latex2rtf; ac_word=$2 3255{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3256echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3257if test "${ac_cv_path_LATEX2RTF+set}" = set; then 3258 echo $ECHO_N "(cached) $ECHO_C" >&6 3259else 3260 case $LATEX2RTF in 3261 [\\/]* | ?:[\\/]*) 3262 ac_cv_path_LATEX2RTF="$LATEX2RTF" # Let the user override the test with a path. 3263 ;; 3264 *) 3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3266for as_dir in $PATH 3267do 3268 IFS=$as_save_IFS 3269 test -z "$as_dir" && as_dir=. 3270 for ac_exec_ext in '' $ac_executable_extensions; do 3271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3272 ac_cv_path_LATEX2RTF="$as_dir/$ac_word$ac_exec_ext" 3273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3274 break 2 3275 fi 3276done 3277done 3278IFS=$as_save_IFS 3279 3280 test -z "$ac_cv_path_LATEX2RTF" && ac_cv_path_LATEX2RTF="latex2rtf" 3281 ;; 3282esac 3283fi 3284LATEX2RTF=$ac_cv_path_LATEX2RTF 3285if test -n "$LATEX2RTF"; then 3286 { echo "$as_me:$LINENO: result: $LATEX2RTF" >&5 3287echo "${ECHO_T}$LATEX2RTF" >&6; } 3288else 3289 { echo "$as_me:$LINENO: result: no" >&5 3290echo "${ECHO_T}no" >&6; } 3291fi 3292 3293 3294# Extract the first word of "lpr", so it can be a program name with args. 3295set dummy lpr; ac_word=$2 3296{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3297echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3298if test "${ac_cv_path_LPR+set}" = set; then 3299 echo $ECHO_N "(cached) $ECHO_C" >&6 3300else 3301 case $LPR in 3302 [\\/]* | ?:[\\/]*) 3303 ac_cv_path_LPR="$LPR" # Let the user override the test with a path. 3304 ;; 3305 *) 3306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3307for as_dir in $PATH 3308do 3309 IFS=$as_save_IFS 3310 test -z "$as_dir" && as_dir=. 3311 for ac_exec_ext in '' $ac_executable_extensions; do 3312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3313 ac_cv_path_LPR="$as_dir/$ac_word$ac_exec_ext" 3314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3315 break 2 3316 fi 3317done 3318done 3319IFS=$as_save_IFS 3320 3321 test -z "$ac_cv_path_LPR" && ac_cv_path_LPR="lpr" 3322 ;; 3323esac 3324fi 3325LPR=$ac_cv_path_LPR 3326if test -n "$LPR"; then 3327 { echo "$as_me:$LINENO: result: $LPR" >&5 3328echo "${ECHO_T}$LPR" >&6; } 3329else 3330 { echo "$as_me:$LINENO: result: no" >&5 3331echo "${ECHO_T}no" >&6; } 3332fi 3333 3334 3335# Extract the first word of "makeindex", so it can be a program name with args. 3336set dummy makeindex; ac_word=$2 3337{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3338echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3339if test "${ac_cv_path_MAKEIDX+set}" = set; then 3340 echo $ECHO_N "(cached) $ECHO_C" >&6 3341else 3342 case $MAKEIDX in 3343 [\\/]* | ?:[\\/]*) 3344 ac_cv_path_MAKEIDX="$MAKEIDX" # Let the user override the test with a path. 3345 ;; 3346 *) 3347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3348for as_dir in $PATH 3349do 3350 IFS=$as_save_IFS 3351 test -z "$as_dir" && as_dir=. 3352 for ac_exec_ext in '' $ac_executable_extensions; do 3353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3354 ac_cv_path_MAKEIDX="$as_dir/$ac_word$ac_exec_ext" 3355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3356 break 2 3357 fi 3358done 3359done 3360IFS=$as_save_IFS 3361 3362 test -z "$ac_cv_path_MAKEIDX" && ac_cv_path_MAKEIDX="makeindex" 3363 ;; 3364esac 3365fi 3366MAKEIDX=$ac_cv_path_MAKEIDX 3367if test -n "$MAKEIDX"; then 3368 { echo "$as_me:$LINENO: result: $MAKEIDX" >&5 3369echo "${ECHO_T}$MAKEIDX" >&6; } 3370else 3371 { echo "$as_me:$LINENO: result: no" >&5 3372echo "${ECHO_T}no" >&6; } 3373fi 3374 3375 3376# Extract the first word of "pdflatex", so it can be a program name with args. 3377set dummy pdflatex; ac_word=$2 3378{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3379echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3380if test "${ac_cv_path_PDFLATEX+set}" = set; then 3381 echo $ECHO_N "(cached) $ECHO_C" >&6 3382else 3383 case $PDFLATEX in 3384 [\\/]* | ?:[\\/]*) 3385 ac_cv_path_PDFLATEX="$PDFLATEX" # Let the user override the test with a path. 3386 ;; 3387 *) 3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3389for as_dir in $PATH 3390do 3391 IFS=$as_save_IFS 3392 test -z "$as_dir" && as_dir=. 3393 for ac_exec_ext in '' $ac_executable_extensions; do 3394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3395 ac_cv_path_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 3396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3397 break 2 3398 fi 3399done 3400done 3401IFS=$as_save_IFS 3402 3403 test -z "$ac_cv_path_PDFLATEX" && ac_cv_path_PDFLATEX="pdflatex" 3404 ;; 3405esac 3406fi 3407PDFLATEX=$ac_cv_path_PDFLATEX 3408if test -n "$PDFLATEX"; then 3409 { echo "$as_me:$LINENO: result: $PDFLATEX" >&5 3410echo "${ECHO_T}$PDFLATEX" >&6; } 3411else 3412 { echo "$as_me:$LINENO: result: no" >&5 3413echo "${ECHO_T}no" >&6; } 3414fi 3415 3416 3417# Extract the first word of "ps2pdf", so it can be a program name with args. 3418set dummy ps2pdf; ac_word=$2 3419{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3420echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3421if test "${ac_cv_path_PS2PDF+set}" = set; then 3422 echo $ECHO_N "(cached) $ECHO_C" >&6 3423else 3424 case $PS2PDF in 3425 [\\/]* | ?:[\\/]*) 3426 ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path. 3427 ;; 3428 *) 3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3430for as_dir in $PATH 3431do 3432 IFS=$as_save_IFS 3433 test -z "$as_dir" && as_dir=. 3434 for ac_exec_ext in '' $ac_executable_extensions; do 3435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3436 ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext" 3437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3438 break 2 3439 fi 3440done 3441done 3442IFS=$as_save_IFS 3443 3444 test -z "$ac_cv_path_PS2PDF" && ac_cv_path_PS2PDF="ps2pdf" 3445 ;; 3446esac 3447fi 3448PS2PDF=$ac_cv_path_PS2PDF 3449if test -n "$PS2PDF"; then 3450 { echo "$as_me:$LINENO: result: $PS2PDF" >&5 3451echo "${ECHO_T}$PS2PDF" >&6; } 3452else 3453 { echo "$as_me:$LINENO: result: no" >&5 3454echo "${ECHO_T}no" >&6; } 3455fi 3456 3457 3458# Extract the first word of "tex2page", so it can be a program name with args. 3459set dummy tex2page; ac_word=$2 3460{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3462if test "${ac_cv_path_TEX2PAGE+set}" = set; then 3463 echo $ECHO_N "(cached) $ECHO_C" >&6 3464else 3465 case $TEX2PAGE in 3466 [\\/]* | ?:[\\/]*) 3467 ac_cv_path_TEX2PAGE="$TEX2PAGE" # Let the user override the test with a path. 3468 ;; 3469 *) 3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3471for as_dir in $PATH 3472do 3473 IFS=$as_save_IFS 3474 test -z "$as_dir" && as_dir=. 3475 for ac_exec_ext in '' $ac_executable_extensions; do 3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3477 ac_cv_path_TEX2PAGE="$as_dir/$ac_word$ac_exec_ext" 3478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3479 break 2 3480 fi 3481done 3482done 3483IFS=$as_save_IFS 3484 3485 test -z "$ac_cv_path_TEX2PAGE" && ac_cv_path_TEX2PAGE="tex2page" 3486 ;; 3487esac 3488fi 3489TEX2PAGE=$ac_cv_path_TEX2PAGE 3490if test -n "$TEX2PAGE"; then 3491 { echo "$as_me:$LINENO: result: $TEX2PAGE" >&5 3492echo "${ECHO_T}$TEX2PAGE" >&6; } 3493else 3494 { echo "$as_me:$LINENO: result: no" >&5 3495echo "${ECHO_T}no" >&6; } 3496fi 3497 3498 3499# Extract the first word of "xdvi", so it can be a program name with args. 3500set dummy xdvi; ac_word=$2 3501{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3503if test "${ac_cv_path_XDVI+set}" = set; then 3504 echo $ECHO_N "(cached) $ECHO_C" >&6 3505else 3506 case $XDVI in 3507 [\\/]* | ?:[\\/]*) 3508 ac_cv_path_XDVI="$XDVI" # Let the user override the test with a path. 3509 ;; 3510 *) 3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3512for as_dir in $PATH 3513do 3514 IFS=$as_save_IFS 3515 test -z "$as_dir" && as_dir=. 3516 for ac_exec_ext in '' $ac_executable_extensions; do 3517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3518 ac_cv_path_XDVI="$as_dir/$ac_word$ac_exec_ext" 3519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3520 break 2 3521 fi 3522done 3523done 3524IFS=$as_save_IFS 3525 3526 test -z "$ac_cv_path_XDVI" && ac_cv_path_XDVI="xdvi" 3527 ;; 3528esac 3529fi 3530XDVI=$ac_cv_path_XDVI 3531if test -n "$XDVI"; then 3532 { echo "$as_me:$LINENO: result: $XDVI" >&5 3533echo "${ECHO_T}$XDVI" >&6; } 3534else 3535 { echo "$as_me:$LINENO: result: no" >&5 3536echo "${ECHO_T}no" >&6; } 3537fi 3538 3539 3540 3541# 3542# for lgrind.mk 3543# 3544# Extract the first word of "lgrind", so it can be a program name with args. 3545set dummy lgrind; ac_word=$2 3546{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3547echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3548if test "${ac_cv_path_LGRIND+set}" = set; then 3549 echo $ECHO_N "(cached) $ECHO_C" >&6 3550else 3551 case $LGRIND in 3552 [\\/]* | ?:[\\/]*) 3553 ac_cv_path_LGRIND="$LGRIND" # Let the user override the test with a path. 3554 ;; 3555 *) 3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3557for as_dir in $PATH 3558do 3559 IFS=$as_save_IFS 3560 test -z "$as_dir" && as_dir=. 3561 for ac_exec_ext in '' $ac_executable_extensions; do 3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3563 ac_cv_path_LGRIND="$as_dir/$ac_word$ac_exec_ext" 3564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3565 break 2 3566 fi 3567done 3568done 3569IFS=$as_save_IFS 3570 3571 test -z "$ac_cv_path_LGRIND" && ac_cv_path_LGRIND="lgrind" 3572 ;; 3573esac 3574fi 3575LGRIND=$ac_cv_path_LGRIND 3576if test -n "$LGRIND"; then 3577 { echo "$as_me:$LINENO: result: $LGRIND" >&5 3578echo "${ECHO_T}$LGRIND" >&6; } 3579else 3580 { echo "$as_me:$LINENO: result: no" >&5 3581echo "${ECHO_T}no" >&6; } 3582fi 3583 3584 3585 3586# 3587# for mpost.mk 3588# 3589# Extract the first word of "mpost mp", so it can be a program name with args. 3590set dummy mpost mp; ac_word=$2 3591{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3592echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3593if test "${ac_cv_path_MPOST+set}" = set; then 3594 echo $ECHO_N "(cached) $ECHO_C" >&6 3595else 3596 case $MPOST in 3597 [\\/]* | ?:[\\/]*) 3598 ac_cv_path_MPOST="$MPOST" # Let the user override the test with a path. 3599 ;; 3600 *) 3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3602for as_dir in $PATH 3603do 3604 IFS=$as_save_IFS 3605 test -z "$as_dir" && as_dir=. 3606 for ac_exec_ext in '' $ac_executable_extensions; do 3607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3608 ac_cv_path_MPOST="$as_dir/$ac_word$ac_exec_ext" 3609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3610 break 2 3611 fi 3612done 3613done 3614IFS=$as_save_IFS 3615 3616 test -z "$ac_cv_path_MPOST" && ac_cv_path_MPOST="mpost" 3617 ;; 3618esac 3619fi 3620MPOST=$ac_cv_path_MPOST 3621if test -n "$MPOST"; then 3622 { echo "$as_me:$LINENO: result: $MPOST" >&5 3623echo "${ECHO_T}$MPOST" >&6; } 3624else 3625 { echo "$as_me:$LINENO: result: no" >&5 3626echo "${ECHO_T}no" >&6; } 3627fi 3628 3629 3630 3631# 3632# for tgif.mk 3633# 3634# Extract the first word of "tgif", so it can be a program name with args. 3635set dummy tgif; ac_word=$2 3636{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3637echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3638if test "${ac_cv_path_TGIF+set}" = set; then 3639 echo $ECHO_N "(cached) $ECHO_C" >&6 3640else 3641 case $TGIF in 3642 [\\/]* | ?:[\\/]*) 3643 ac_cv_path_TGIF="$TGIF" # Let the user override the test with a path. 3644 ;; 3645 *) 3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3647for as_dir in $PATH 3648do 3649 IFS=$as_save_IFS 3650 test -z "$as_dir" && as_dir=. 3651 for ac_exec_ext in '' $ac_executable_extensions; do 3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3653 ac_cv_path_TGIF="$as_dir/$ac_word$ac_exec_ext" 3654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3655 break 2 3656 fi 3657done 3658done 3659IFS=$as_save_IFS 3660 3661 test -z "$ac_cv_path_TGIF" && ac_cv_path_TGIF="tgif" 3662 ;; 3663esac 3664fi 3665TGIF=$ac_cv_path_TGIF 3666if test -n "$TGIF"; then 3667 { echo "$as_me:$LINENO: result: $TGIF" >&5 3668echo "${ECHO_T}$TGIF" >&6; } 3669else 3670 { echo "$as_me:$LINENO: result: no" >&5 3671echo "${ECHO_T}no" >&6; } 3672fi 3673 3674 3675 3676# 3677# for xfig.mk 3678# 3679# Extract the first word of "fig2dev", so it can be a program name with args. 3680set dummy fig2dev; ac_word=$2 3681{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3682echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3683if test "${ac_cv_path_FIG2DEV+set}" = set; then 3684 echo $ECHO_N "(cached) $ECHO_C" >&6 3685else 3686 case $FIG2DEV in 3687 [\\/]* | ?:[\\/]*) 3688 ac_cv_path_FIG2DEV="$FIG2DEV" # Let the user override the test with a path. 3689 ;; 3690 *) 3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3692for as_dir in $PATH 3693do 3694 IFS=$as_save_IFS 3695 test -z "$as_dir" && as_dir=. 3696 for ac_exec_ext in '' $ac_executable_extensions; do 3697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3698 ac_cv_path_FIG2DEV="$as_dir/$ac_word$ac_exec_ext" 3699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3700 break 2 3701 fi 3702done 3703done 3704IFS=$as_save_IFS 3705 3706 test -z "$ac_cv_path_FIG2DEV" && ac_cv_path_FIG2DEV="fig2dev" 3707 ;; 3708esac 3709fi 3710FIG2DEV=$ac_cv_path_FIG2DEV 3711if test -n "$FIG2DEV"; then 3712 { echo "$as_me:$LINENO: result: $FIG2DEV" >&5 3713echo "${ECHO_T}$FIG2DEV" >&6; } 3714else 3715 { echo "$as_me:$LINENO: result: no" >&5 3716echo "${ECHO_T}no" >&6; } 3717fi 3718 3719 3720 3721# 3722# Look for a GNU make program and a BSD make program 3723# This is used by the testsuite 3724# 3725 3726#AC_MSG_CHECKING([for GNU make]) 3727gnu_make= 3728for mk in "$GMAKE" "$MAKE" gmake make gnumake ; do 3729 if test -n "$mk" ; then 3730 { echo "$as_me:$LINENO: checking if $mk is GNU make >= 3.80" >&5 3731echo $ECHO_N "checking if $mk is GNU make >= 3.80... $ECHO_C" >&6; } 3732 tmp=`sh -c "$mk --version" 2> /dev/null | grep GNU` 3733 if test -z "$tmp" ; then 3734 { echo "$as_me:$LINENO: result: no" >&5 3735echo "${ECHO_T}no" >&6; } 3736 else 3737 case $tmp in 3738 *\ 3.[8-9][0-9]*|*\ [4-9].[0-9]*) 3739 { echo "$as_me:$LINENO: result: yes" >&5 3740echo "${ECHO_T}yes" >&6; } 3741 gnu_make="$mk" 3742 break 3743 ;; 3744 3745 * ) 3746 { echo "$as_me:$LINENO: result: no" >&5 3747echo "${ECHO_T}no" >&6; } 3748 ;; 3749 esac 3750 fi 3751 fi 3752done 3753if test -z "$gnu_make" ; then 3754 { echo "$as_me:$LINENO: No suitable GNU make found." >&5 3755echo "$as_me: No suitable GNU make found." >&6;} 3756 GMAKE=none 3757 3758else 3759 # Extract the first word of "$gnu_make", so it can be a program name with args. 3760set dummy $gnu_make; ac_word=$2 3761{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3762echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3763if test "${ac_cv_path_GMAKE+set}" = set; then 3764 echo $ECHO_N "(cached) $ECHO_C" >&6 3765else 3766 case $GMAKE in 3767 [\\/]* | ?:[\\/]*) 3768 ac_cv_path_GMAKE="$GMAKE" # Let the user override the test with a path. 3769 ;; 3770 *) 3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3772for as_dir in $PATH 3773do 3774 IFS=$as_save_IFS 3775 test -z "$as_dir" && as_dir=. 3776 for ac_exec_ext in '' $ac_executable_extensions; do 3777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3778 ac_cv_path_GMAKE="$as_dir/$ac_word$ac_exec_ext" 3779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3780 break 2 3781 fi 3782done 3783done 3784IFS=$as_save_IFS 3785 3786 ;; 3787esac 3788fi 3789GMAKE=$ac_cv_path_GMAKE 3790if test -n "$GMAKE"; then 3791 { echo "$as_me:$LINENO: result: $GMAKE" >&5 3792echo "${ECHO_T}$GMAKE" >&6; } 3793else 3794 { echo "$as_me:$LINENO: result: no" >&5 3795echo "${ECHO_T}no" >&6; } 3796fi 3797 3798 3799fi 3800 3801 3802cat > tmp.mk << EOF 3803# include some of the "." commands that we need from a 3804# BSD make. 3805MYVAR= BSDmake 3806MYFLAG= #defined 3807test: 3808.for __tmp__ in \${MYVAR} 3809.if defined(MYFLAG) 3810 @echo \${__tmp__} 3811.endif 3812.endfor 3813 3814EOF 3815bsd_make= 3816for mk in "$BMAKE" "$MAKE" make bmake nbmake ; do 3817 if test -n "$mk" ; then 3818 { echo "$as_me:$LINENO: checking if $mk is BSD make" >&5 3819echo $ECHO_N "checking if $mk is BSD make... $ECHO_C" >&6; } 3820 tmp=`sh -c "$mk -f tmp.mk test" 2> /dev/null | grep BSDmake` 3821 if test "X$tmp" = "XBSDmake" ; then 3822 { echo "$as_me:$LINENO: result: yes" >&5 3823echo "${ECHO_T}yes" >&6; } 3824 bsd_make="$mk" 3825 break 3826 else 3827 { echo "$as_me:$LINENO: result: no" >&5 3828echo "${ECHO_T}no" >&6; } 3829 fi 3830 fi 3831done 3832if test -f tmp.mk ; then rm tmp.mk ; fi 3833if test -z "$bsd_make" ; then 3834 { echo "$as_me:$LINENO: No suitable BSD make found." >&5 3835echo "$as_me: No suitable BSD make found." >&6;} 3836 BMAKE=none 3837 3838else 3839 # Extract the first word of "$bsd_make", so it can be a program name with args. 3840set dummy $bsd_make; ac_word=$2 3841{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3842echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3843if test "${ac_cv_path_BMAKE+set}" = set; then 3844 echo $ECHO_N "(cached) $ECHO_C" >&6 3845else 3846 case $BMAKE in 3847 [\\/]* | ?:[\\/]*) 3848 ac_cv_path_BMAKE="$BMAKE" # Let the user override the test with a path. 3849 ;; 3850 *) 3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3852for as_dir in $PATH 3853do 3854 IFS=$as_save_IFS 3855 test -z "$as_dir" && as_dir=. 3856 for ac_exec_ext in '' $ac_executable_extensions; do 3857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3858 ac_cv_path_BMAKE="$as_dir/$ac_word$ac_exec_ext" 3859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3860 break 2 3861 fi 3862done 3863done 3864IFS=$as_save_IFS 3865 3866 ;; 3867esac 3868fi 3869BMAKE=$ac_cv_path_BMAKE 3870if test -n "$BMAKE"; then 3871 { echo "$as_me:$LINENO: result: $BMAKE" >&5 3872echo "${ECHO_T}$BMAKE" >&6; } 3873else 3874 { echo "$as_me:$LINENO: result: no" >&5 3875echo "${ECHO_T}no" >&6; } 3876fi 3877 3878 3879fi 3880 3881 3882if test "X${BMAKE}" = "Xnone" -a "X${GMAKE}" = "Xnone" ; then 3883 { echo "$as_me:$LINENO: 3884 3885************************ WARNING ************************ 3886I could not find GNU make >= version 3.80 _or_ 3887a suitable BSD make on your system. This package 3888will still install correctly, but you will not actually 3889be able to use it or run the testsuite until you 3890install a suitable make program. 3891************************ WARNING ************************ 3892 3893 3894" >&5 3895echo "$as_me: 3896 3897************************ WARNING ************************ 3898I could not find GNU make >= version 3.80 _or_ 3899a suitable BSD make on your system. This package 3900will still install correctly, but you will not actually 3901be able to use it or run the testsuite until you 3902install a suitable make program. 3903************************ WARNING ************************ 3904 3905 3906" >&6;} 3907fi 3908 3909# 3910# system config files 3911# 3912 3913 3914# Check whether --with-mkconf was given. 3915if test "${with_mkconf+set}" = set; then 3916 withval=$with_mkconf; 3917if test "X$with_mkconf" = "Xno" ; then 3918 { { echo "$as_me:$LINENO: error: --without-mkconf is not supported" >&5 3919echo "$as_me: error: --without-mkconf is not supported" >&2;} 3920 { (exit 1); exit 1; }; } 3921else 3922 MAKECONF="$with_mkconf" 3923fi 3924 3925else 3926 3927MAKECONF=@latexmkconfdir@/latex-mk.conf 3928 3929fi 3930 3931 3932 3933 3934# Check whether --with-gmkconf was given. 3935if test "${with_gmkconf+set}" = set; then 3936 withval=$with_gmkconf; 3937if test "X$with_gmkconf" = "Xno" ; then 3938 { { echo "$as_me:$LINENO: error: --without-gmkconf is not supported" >&5 3939echo "$as_me: error: --without-gmkconf is not supported" >&2;} 3940 { (exit 1); exit 1; }; } 3941else 3942 GMAKECONF="$with_gmkconf" 3943fi 3944 3945else 3946 3947GMAKECONF=@latexmkconfdir@/latex-gmk.conf 3948 3949fi 3950 3951 3952 3953 3954 3955# Check whether --with-usermkconf was given. 3956if test "${with_usermkconf+set}" = set; then 3957 withval=$with_usermkconf; 3958if test "X$with_usermkconf" = "Xno" ; then 3959 { { echo "$as_me:$LINENO: error: --without-usermkconf is not supported" >&5 3960echo "$as_me: error: --without-usermkconf is not supported" >&2;} 3961 { (exit 1); exit 1; }; } 3962else 3963 USERMAKECONF="$with_usermkconf" 3964fi 3965 3966else 3967 3968USERMAKECONF="\${HOME}/.latex-mk.conf" 3969 3970fi 3971 3972 3973 3974 3975# Check whether --with-usergmkconf was given. 3976if test "${with_usergmkconf+set}" = set; then 3977 withval=$with_usergmkconf; 3978if test "X$with_usergmkconf" = "Xno" ; then 3979 { { echo "$as_me:$LINENO: error: --without-usergmkconf is not supported" >&5 3980echo "$as_me: error: --without-usergmkconf is not supported" >&2;} 3981 { (exit 1); exit 1; }; } 3982else 3983 USERGMAKECONF="$with_usergmkconf" 3984fi 3985 3986else 3987 3988USERGMAKECONF="\${HOME}/.latex-gmk.conf" 3989 3990fi 3991 3992 3993 3994 3995ac_config_files="$ac_config_files Makefile doc/Makefile doc/prefix.texi example/Makefile example/tgif/Makefile ieee-copyout latex-mk latex.mk.in latex.subdir.mk.in lgrind.mk.in mpost.mk.in testsuite/Makefile testsuite/bmake_ref/Makefile testsuite/gmake_ref/Makefile testsuite/latex_mk_ref/Makefile tgif.mk.in xfig.mk.in" 3996 3997cat >confcache <<\_ACEOF 3998# This file is a shell script that caches the results of configure 3999# tests run on this system so they can be shared between configure 4000# scripts and configure runs, see configure's option --config-cache. 4001# It is not useful on other systems. If it contains results you don't 4002# want to keep, you may remove or edit it. 4003# 4004# config.status only pays attention to the cache file if you give it 4005# the --recheck option to rerun configure. 4006# 4007# `ac_cv_env_foo' variables (set or unset) will be overridden when 4008# loading this file, other *unset* `ac_cv_foo' will be assigned the 4009# following values. 4010 4011_ACEOF 4012 4013# The following way of writing the cache mishandles newlines in values, 4014# but we know of no workaround that is simple, portable, and efficient. 4015# So, we kill variables containing newlines. 4016# Ultrix sh set writes to stderr and can't be redirected directly, 4017# and sets the high bit in the cache file unless we assign to the vars. 4018( 4019 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4020 eval ac_val=\$$ac_var 4021 case $ac_val in #( 4022 *${as_nl}*) 4023 case $ac_var in #( 4024 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 4025echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 4026 esac 4027 case $ac_var in #( 4028 _ | IFS | as_nl) ;; #( 4029 *) $as_unset $ac_var ;; 4030 esac ;; 4031 esac 4032 done 4033 4034 (set) 2>&1 | 4035 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4036 *${as_nl}ac_space=\ *) 4037 # `set' does not quote correctly, so add quotes (double-quote 4038 # substitution turns \\\\ into \\, and sed turns \\ into \). 4039 sed -n \ 4040 "s/'/'\\\\''/g; 4041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4042 ;; #( 4043 *) 4044 # `set' quotes correctly as required by POSIX, so do not add quotes. 4045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4046 ;; 4047 esac | 4048 sort 4049) | 4050 sed ' 4051 /^ac_cv_env_/b end 4052 t clear 4053 :clear 4054 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4055 t end 4056 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4057 :end' >>confcache 4058if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4059 if test -w "$cache_file"; then 4060 test "x$cache_file" != "x/dev/null" && 4061 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 4062echo "$as_me: updating cache $cache_file" >&6;} 4063 cat confcache >$cache_file 4064 else 4065 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 4066echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4067 fi 4068fi 4069rm -f confcache 4070 4071test "x$prefix" = xNONE && prefix=$ac_default_prefix 4072# Let make expand exec_prefix. 4073test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4074 4075# Transform confdefs.h into DEFS. 4076# Protect against shell expansion while executing Makefile rules. 4077# Protect against Makefile macro expansion. 4078# 4079# If the first sed substitution is executed (which looks for macros that 4080# take arguments), then branch to the quote section. Otherwise, 4081# look for a macro that doesn't take arguments. 4082ac_script=' 4083t clear 4084:clear 4085s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4086t quote 4087s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4088t quote 4089b any 4090:quote 4091s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4092s/\[/\\&/g 4093s/\]/\\&/g 4094s/\$/$$/g 4095H 4096:any 4097${ 4098 g 4099 s/^\n// 4100 s/\n/ /g 4101 p 4102} 4103' 4104DEFS=`sed -n "$ac_script" confdefs.h` 4105 4106 4107ac_libobjs= 4108ac_ltlibobjs= 4109for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4110 # 1. Remove the extension, and $U if already installed. 4111 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4112 ac_i=`echo "$ac_i" | sed "$ac_script"` 4113 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4114 # will be set to the directory where LIBOBJS objects are built. 4115 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4116 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 4117done 4118LIBOBJS=$ac_libobjs 4119 4120LTLIBOBJS=$ac_ltlibobjs 4121 4122 4123if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4124 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 4125Usually this means the macro was only invoked conditionally." >&5 4126echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 4127Usually this means the macro was only invoked conditionally." >&2;} 4128 { (exit 1); exit 1; }; } 4129fi 4130 4131: ${CONFIG_STATUS=./config.status} 4132ac_clean_files_save=$ac_clean_files 4133ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4134{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4135echo "$as_me: creating $CONFIG_STATUS" >&6;} 4136cat >$CONFIG_STATUS <<_ACEOF 4137#! $SHELL 4138# Generated by $as_me. 4139# Run this file to recreate the current configuration. 4140# Compiler output produced by configure, useful for debugging 4141# configure, is in config.log if it exists. 4142 4143debug=false 4144ac_cs_recheck=false 4145ac_cs_silent=false 4146SHELL=\${CONFIG_SHELL-$SHELL} 4147_ACEOF 4148 4149cat >>$CONFIG_STATUS <<\_ACEOF 4150## --------------------- ## 4151## M4sh Initialization. ## 4152## --------------------- ## 4153 4154# Be more Bourne compatible 4155DUALCASE=1; export DUALCASE # for MKS sh 4156if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4157 emulate sh 4158 NULLCMD=: 4159 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 4160 # is contrary to our usage. Disable this feature. 4161 alias -g '${1+"$@"}'='"$@"' 4162 setopt NO_GLOB_SUBST 4163else 4164 case `(set -o) 2>/dev/null` in 4165 *posix*) set -o posix ;; 4166esac 4167 4168fi 4169 4170 4171 4172 4173# PATH needs CR 4174# Avoid depending upon Character Ranges. 4175as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4176as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4177as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4178as_cr_digits='0123456789' 4179as_cr_alnum=$as_cr_Letters$as_cr_digits 4180 4181# The user is always right. 4182if test "${PATH_SEPARATOR+set}" != set; then 4183 echo "#! /bin/sh" >conf$$.sh 4184 echo "exit 0" >>conf$$.sh 4185 chmod +x conf$$.sh 4186 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4187 PATH_SEPARATOR=';' 4188 else 4189 PATH_SEPARATOR=: 4190 fi 4191 rm -f conf$$.sh 4192fi 4193 4194# Support unset when possible. 4195if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4196 as_unset=unset 4197else 4198 as_unset=false 4199fi 4200 4201 4202# IFS 4203# We need space, tab and new line, in precisely that order. Quoting is 4204# there to prevent editors from complaining about space-tab. 4205# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4206# splitting by setting IFS to empty value.) 4207as_nl=' 4208' 4209IFS=" "" $as_nl" 4210 4211# Find who we are. Look in the path if we contain no directory separator. 4212case $0 in 4213 *[\\/]* ) as_myself=$0 ;; 4214 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4215for as_dir in $PATH 4216do 4217 IFS=$as_save_IFS 4218 test -z "$as_dir" && as_dir=. 4219 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4220done 4221IFS=$as_save_IFS 4222 4223 ;; 4224esac 4225# We did not find ourselves, most probably we were run as `sh COMMAND' 4226# in which case we are not to be found in the path. 4227if test "x$as_myself" = x; then 4228 as_myself=$0 4229fi 4230if test ! -f "$as_myself"; then 4231 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4232 { (exit 1); exit 1; } 4233fi 4234 4235# Work around bugs in pre-3.0 UWIN ksh. 4236for as_var in ENV MAIL MAILPATH 4237do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4238done 4239PS1='$ ' 4240PS2='> ' 4241PS4='+ ' 4242 4243# NLS nuisances. 4244for as_var in \ 4245 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4246 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4247 LC_TELEPHONE LC_TIME 4248do 4249 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4250 eval $as_var=C; export $as_var 4251 else 4252 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4253 fi 4254done 4255 4256# Required to use basename. 4257if expr a : '\(a\)' >/dev/null 2>&1 && 4258 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4259 as_expr=expr 4260else 4261 as_expr=false 4262fi 4263 4264if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4265 as_basename=basename 4266else 4267 as_basename=false 4268fi 4269 4270 4271# Name of the executable. 4272as_me=`$as_basename -- "$0" || 4273$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4274 X"$0" : 'X\(//\)$' \| \ 4275 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4276echo X/"$0" | 4277 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4278 s//\1/ 4279 q 4280 } 4281 /^X\/\(\/\/\)$/{ 4282 s//\1/ 4283 q 4284 } 4285 /^X\/\(\/\).*/{ 4286 s//\1/ 4287 q 4288 } 4289 s/.*/./; q'` 4290 4291# CDPATH. 4292$as_unset CDPATH 4293 4294 4295 4296 as_lineno_1=$LINENO 4297 as_lineno_2=$LINENO 4298 test "x$as_lineno_1" != "x$as_lineno_2" && 4299 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4300 4301 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4302 # uniformly replaced by the line number. The first 'sed' inserts a 4303 # line-number line after each line using $LINENO; the second 'sed' 4304 # does the real work. The second script uses 'N' to pair each 4305 # line-number line with the line containing $LINENO, and appends 4306 # trailing '-' during substitution so that $LINENO is not a special 4307 # case at line end. 4308 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4309 # scripts with optimization help from Paolo Bonzini. Blame Lee 4310 # E. McMahon (1931-1989) for sed's syntax. :-) 4311 sed -n ' 4312 p 4313 /[$]LINENO/= 4314 ' <$as_myself | 4315 sed ' 4316 s/[$]LINENO.*/&-/ 4317 t lineno 4318 b 4319 :lineno 4320 N 4321 :loop 4322 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4323 t loop 4324 s/-\n.*// 4325 ' >$as_me.lineno && 4326 chmod +x "$as_me.lineno" || 4327 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4328 { (exit 1); exit 1; }; } 4329 4330 # Don't try to exec as it changes $[0], causing all sort of problems 4331 # (the dirname of $[0] is not the place where we might find the 4332 # original and so on. Autoconf is especially sensitive to this). 4333 . "./$as_me.lineno" 4334 # Exit status is that of the last command. 4335 exit 4336} 4337 4338 4339if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4340 as_dirname=dirname 4341else 4342 as_dirname=false 4343fi 4344 4345ECHO_C= ECHO_N= ECHO_T= 4346case `echo -n x` in 4347-n*) 4348 case `echo 'x\c'` in 4349 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4350 *) ECHO_C='\c';; 4351 esac;; 4352*) 4353 ECHO_N='-n';; 4354esac 4355 4356if expr a : '\(a\)' >/dev/null 2>&1 && 4357 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4358 as_expr=expr 4359else 4360 as_expr=false 4361fi 4362 4363rm -f conf$$ conf$$.exe conf$$.file 4364if test -d conf$$.dir; then 4365 rm -f conf$$.dir/conf$$.file 4366else 4367 rm -f conf$$.dir 4368 mkdir conf$$.dir 4369fi 4370echo >conf$$.file 4371if ln -s conf$$.file conf$$ 2>/dev/null; then 4372 as_ln_s='ln -s' 4373 # ... but there are two gotchas: 4374 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4375 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4376 # In both cases, we have to default to `cp -p'. 4377 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4378 as_ln_s='cp -p' 4379elif ln conf$$.file conf$$ 2>/dev/null; then 4380 as_ln_s=ln 4381else 4382 as_ln_s='cp -p' 4383fi 4384rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4385rmdir conf$$.dir 2>/dev/null 4386 4387if mkdir -p . 2>/dev/null; then 4388 as_mkdir_p=: 4389else 4390 test -d ./-p && rmdir ./-p 4391 as_mkdir_p=false 4392fi 4393 4394if test -x / >/dev/null 2>&1; then 4395 as_test_x='test -x' 4396else 4397 if ls -dL / >/dev/null 2>&1; then 4398 as_ls_L_option=L 4399 else 4400 as_ls_L_option= 4401 fi 4402 as_test_x=' 4403 eval sh -c '\'' 4404 if test -d "$1"; then 4405 test -d "$1/."; 4406 else 4407 case $1 in 4408 -*)set "./$1";; 4409 esac; 4410 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 4411 ???[sx]*):;;*)false;;esac;fi 4412 '\'' sh 4413 ' 4414fi 4415as_executable_p=$as_test_x 4416 4417# Sed expression to map a string onto a valid CPP name. 4418as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4419 4420# Sed expression to map a string onto a valid variable name. 4421as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4422 4423 4424exec 6>&1 4425 4426# Save the log message, to keep $[0] and so on meaningful, and to 4427# report actual input values of CONFIG_FILES etc. instead of their 4428# values after options handling. 4429ac_log=" 4430This file was extended by $as_me, which was 4431generated by GNU Autoconf 2.61. Invocation command line was 4432 4433 CONFIG_FILES = $CONFIG_FILES 4434 CONFIG_HEADERS = $CONFIG_HEADERS 4435 CONFIG_LINKS = $CONFIG_LINKS 4436 CONFIG_COMMANDS = $CONFIG_COMMANDS 4437 $ $0 $@ 4438 4439on `(hostname || uname -n) 2>/dev/null | sed 1q` 4440" 4441 4442_ACEOF 4443 4444cat >>$CONFIG_STATUS <<_ACEOF 4445# Files that config.status was made for. 4446config_files="$ac_config_files" 4447 4448_ACEOF 4449 4450cat >>$CONFIG_STATUS <<\_ACEOF 4451ac_cs_usage="\ 4452\`$as_me' instantiates files from templates according to the 4453current configuration. 4454 4455Usage: $0 [OPTIONS] [FILE]... 4456 4457 -h, --help print this help, then exit 4458 -V, --version print version number and configuration settings, then exit 4459 -q, --quiet do not print progress messages 4460 -d, --debug don't remove temporary files 4461 --recheck update $as_me by reconfiguring in the same conditions 4462 --file=FILE[:TEMPLATE] 4463 instantiate the configuration file FILE 4464 4465Configuration files: 4466$config_files 4467 4468Report bugs to <bug-autoconf@gnu.org>." 4469 4470_ACEOF 4471cat >>$CONFIG_STATUS <<_ACEOF 4472ac_cs_version="\\ 4473config.status 4474configured by $0, generated by GNU Autoconf 2.61, 4475 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4476 4477Copyright (C) 2006 Free Software Foundation, Inc. 4478This config.status script is free software; the Free Software Foundation 4479gives unlimited permission to copy, distribute and modify it." 4480 4481ac_pwd='$ac_pwd' 4482srcdir='$srcdir' 4483INSTALL='$INSTALL' 4484MKDIR_P='$MKDIR_P' 4485_ACEOF 4486 4487cat >>$CONFIG_STATUS <<\_ACEOF 4488# If no file are specified by the user, then we need to provide default 4489# value. By we need to know if files were specified by the user. 4490ac_need_defaults=: 4491while test $# != 0 4492do 4493 case $1 in 4494 --*=*) 4495 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4496 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4497 ac_shift=: 4498 ;; 4499 *) 4500 ac_option=$1 4501 ac_optarg=$2 4502 ac_shift=shift 4503 ;; 4504 esac 4505 4506 case $ac_option in 4507 # Handling of the options. 4508 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4509 ac_cs_recheck=: ;; 4510 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4511 echo "$ac_cs_version"; exit ;; 4512 --debug | --debu | --deb | --de | --d | -d ) 4513 debug=: ;; 4514 --file | --fil | --fi | --f ) 4515 $ac_shift 4516 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4517 ac_need_defaults=false;; 4518 --he | --h | --help | --hel | -h ) 4519 echo "$ac_cs_usage"; exit ;; 4520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4521 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4522 ac_cs_silent=: ;; 4523 4524 # This is an error. 4525 -*) { echo "$as_me: error: unrecognized option: $1 4526Try \`$0 --help' for more information." >&2 4527 { (exit 1); exit 1; }; } ;; 4528 4529 *) ac_config_targets="$ac_config_targets $1" 4530 ac_need_defaults=false ;; 4531 4532 esac 4533 shift 4534done 4535 4536ac_configure_extra_args= 4537 4538if $ac_cs_silent; then 4539 exec 6>/dev/null 4540 ac_configure_extra_args="$ac_configure_extra_args --silent" 4541fi 4542 4543_ACEOF 4544cat >>$CONFIG_STATUS <<_ACEOF 4545if \$ac_cs_recheck; then 4546 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4547 CONFIG_SHELL=$SHELL 4548 export CONFIG_SHELL 4549 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4550fi 4551 4552_ACEOF 4553cat >>$CONFIG_STATUS <<\_ACEOF 4554exec 5>>config.log 4555{ 4556 echo 4557 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4558## Running $as_me. ## 4559_ASBOX 4560 echo "$ac_log" 4561} >&5 4562 4563_ACEOF 4564cat >>$CONFIG_STATUS <<_ACEOF 4565_ACEOF 4566 4567cat >>$CONFIG_STATUS <<\_ACEOF 4568 4569# Handling of arguments. 4570for ac_config_target in $ac_config_targets 4571do 4572 case $ac_config_target in 4573 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4574 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 4575 "doc/prefix.texi") CONFIG_FILES="$CONFIG_FILES doc/prefix.texi" ;; 4576 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;; 4577 "example/tgif/Makefile") CONFIG_FILES="$CONFIG_FILES example/tgif/Makefile" ;; 4578 "ieee-copyout") CONFIG_FILES="$CONFIG_FILES ieee-copyout" ;; 4579 "latex-mk") CONFIG_FILES="$CONFIG_FILES latex-mk" ;; 4580 "latex.mk.in") CONFIG_FILES="$CONFIG_FILES latex.mk.in" ;; 4581 "latex.subdir.mk.in") CONFIG_FILES="$CONFIG_FILES latex.subdir.mk.in" ;; 4582 "lgrind.mk.in") CONFIG_FILES="$CONFIG_FILES lgrind.mk.in" ;; 4583 "mpost.mk.in") CONFIG_FILES="$CONFIG_FILES mpost.mk.in" ;; 4584 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; 4585 "testsuite/bmake_ref/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/bmake_ref/Makefile" ;; 4586 "testsuite/gmake_ref/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/gmake_ref/Makefile" ;; 4587 "testsuite/latex_mk_ref/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/latex_mk_ref/Makefile" ;; 4588 "tgif.mk.in") CONFIG_FILES="$CONFIG_FILES tgif.mk.in" ;; 4589 "xfig.mk.in") CONFIG_FILES="$CONFIG_FILES xfig.mk.in" ;; 4590 4591 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4592echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4593 { (exit 1); exit 1; }; };; 4594 esac 4595done 4596 4597 4598# If the user did not use the arguments to specify the items to instantiate, 4599# then the envvar interface is used. Set only those that are not. 4600# We use the long form for the default assignment because of an extremely 4601# bizarre bug on SunOS 4.1.3. 4602if $ac_need_defaults; then 4603 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4604fi 4605 4606# Have a temporary directory for convenience. Make it in the build tree 4607# simply because there is no reason against having it here, and in addition, 4608# creating and moving files from /tmp can sometimes cause problems. 4609# Hook for its removal unless debugging. 4610# Note that there is a small window in which the directory will not be cleaned: 4611# after its creation but before its name has been assigned to `$tmp'. 4612$debug || 4613{ 4614 tmp= 4615 trap 'exit_status=$? 4616 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4617' 0 4618 trap '{ (exit 1); exit 1; }' 1 2 13 15 4619} 4620# Create a (secure) tmp directory for tmp files. 4621 4622{ 4623 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4624 test -n "$tmp" && test -d "$tmp" 4625} || 4626{ 4627 tmp=./conf$$-$RANDOM 4628 (umask 077 && mkdir "$tmp") 4629} || 4630{ 4631 echo "$me: cannot create a temporary directory in ." >&2 4632 { (exit 1); exit 1; } 4633} 4634 4635# 4636# Set up the sed scripts for CONFIG_FILES section. 4637# 4638 4639# No need to generate the scripts if there are no CONFIG_FILES. 4640# This happens for instance when ./config.status config.h 4641if test -n "$CONFIG_FILES"; then 4642 4643_ACEOF 4644 4645 4646 4647ac_delim='%!_!# ' 4648for ac_last_try in false false false false false :; do 4649 cat >conf$$subs.sed <<_ACEOF 4650SHELL!$SHELL$ac_delim 4651PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4652PACKAGE_NAME!$PACKAGE_NAME$ac_delim 4653PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4654PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4655PACKAGE_STRING!$PACKAGE_STRING$ac_delim 4656PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4657exec_prefix!$exec_prefix$ac_delim 4658prefix!$prefix$ac_delim 4659program_transform_name!$program_transform_name$ac_delim 4660bindir!$bindir$ac_delim 4661sbindir!$sbindir$ac_delim 4662libexecdir!$libexecdir$ac_delim 4663datarootdir!$datarootdir$ac_delim 4664datadir!$datadir$ac_delim 4665sysconfdir!$sysconfdir$ac_delim 4666sharedstatedir!$sharedstatedir$ac_delim 4667localstatedir!$localstatedir$ac_delim 4668includedir!$includedir$ac_delim 4669oldincludedir!$oldincludedir$ac_delim 4670docdir!$docdir$ac_delim 4671infodir!$infodir$ac_delim 4672htmldir!$htmldir$ac_delim 4673dvidir!$dvidir$ac_delim 4674pdfdir!$pdfdir$ac_delim 4675psdir!$psdir$ac_delim 4676libdir!$libdir$ac_delim 4677localedir!$localedir$ac_delim 4678mandir!$mandir$ac_delim 4679DEFS!$DEFS$ac_delim 4680ECHO_C!$ECHO_C$ac_delim 4681ECHO_N!$ECHO_N$ac_delim 4682ECHO_T!$ECHO_T$ac_delim 4683LIBS!$LIBS$ac_delim 4684build_alias!$build_alias$ac_delim 4685host_alias!$host_alias$ac_delim 4686target_alias!$target_alias$ac_delim 4687INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 4688INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 4689INSTALL_DATA!$INSTALL_DATA$ac_delim 4690am__isrc!$am__isrc$ac_delim 4691CYGPATH_W!$CYGPATH_W$ac_delim 4692PACKAGE!$PACKAGE$ac_delim 4693VERSION!$VERSION$ac_delim 4694ACLOCAL!$ACLOCAL$ac_delim 4695AUTOCONF!$AUTOCONF$ac_delim 4696AUTOMAKE!$AUTOMAKE$ac_delim 4697AUTOHEADER!$AUTOHEADER$ac_delim 4698MAKEINFO!$MAKEINFO$ac_delim 4699install_sh!$install_sh$ac_delim 4700STRIP!$STRIP$ac_delim 4701INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 4702mkdir_p!$mkdir_p$ac_delim 4703AWK!$AWK$ac_delim 4704SET_MAKE!$SET_MAKE$ac_delim 4705am__leading_dot!$am__leading_dot$ac_delim 4706AMTAR!$AMTAR$ac_delim 4707am__tar!$am__tar$ac_delim 4708am__untar!$am__untar$ac_delim 4709MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 4710MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 4711MAINT!$MAINT$ac_delim 4712build!$build$ac_delim 4713build_cpu!$build_cpu$ac_delim 4714build_vendor!$build_vendor$ac_delim 4715build_os!$build_os$ac_delim 4716host!$host$ac_delim 4717host_cpu!$host_cpu$ac_delim 4718host_vendor!$host_vendor$ac_delim 4719host_os!$host_os$ac_delim 4720ENV_PROG!$ENV_PROG$ac_delim 4721FALSE!$FALSE$ac_delim 4722GREP!$GREP$ac_delim 4723GZCAT!$GZCAT$ac_delim 4724GZIP!$GZIP$ac_delim 4725RM!$RM$ac_delim 4726RMDIR!$RMDIR$ac_delim 4727TAR!$TAR$ac_delim 4728BIBTEX!$BIBTEX$ac_delim 4729CONVERT!$CONVERT$ac_delim 4730DVIPDFM!$DVIPDFM$ac_delim 4731DVIPS!$DVIPS$ac_delim 4732ECHO!$ECHO$ac_delim 4733FIND!$FIND$ac_delim 4734GV!$GV$ac_delim 4735HEVEA!$HEVEA$ac_delim 4736HACHA!$HACHA$ac_delim 4737IMAGEN!$IMAGEN$ac_delim 4738LATEX!$LATEX$ac_delim 4739LATEX2HTML!$LATEX2HTML$ac_delim 4740LATEX2RTF!$LATEX2RTF$ac_delim 4741LPR!$LPR$ac_delim 4742MAKEIDX!$MAKEIDX$ac_delim 4743PDFLATEX!$PDFLATEX$ac_delim 4744PS2PDF!$PS2PDF$ac_delim 4745TEX2PAGE!$TEX2PAGE$ac_delim 4746XDVI!$XDVI$ac_delim 4747_ACEOF 4748 4749 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 4750 break 4751 elif $ac_last_try; then 4752 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4753echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4754 { (exit 1); exit 1; }; } 4755 else 4756 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4757 fi 4758done 4759 4760ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4761if test -n "$ac_eof"; then 4762 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4763 ac_eof=`expr $ac_eof + 1` 4764fi 4765 4766cat >>$CONFIG_STATUS <<_ACEOF 4767cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4768/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4769_ACEOF 4770sed ' 4771s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4772s/^/s,@/; s/!/@,|#_!!_#|/ 4773:n 4774t n 4775s/'"$ac_delim"'$/,g/; t 4776s/$/\\/; p 4777N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4778' >>$CONFIG_STATUS <conf$$subs.sed 4779rm -f conf$$subs.sed 4780cat >>$CONFIG_STATUS <<_ACEOF 4781CEOF$ac_eof 4782_ACEOF 4783 4784 4785ac_delim='%!_!# ' 4786for ac_last_try in false false false false false :; do 4787 cat >conf$$subs.sed <<_ACEOF 4788LGRIND!$LGRIND$ac_delim 4789MPOST!$MPOST$ac_delim 4790TGIF!$TGIF$ac_delim 4791FIG2DEV!$FIG2DEV$ac_delim 4792GMAKE!$GMAKE$ac_delim 4793BMAKE!$BMAKE$ac_delim 4794MAKECONF!$MAKECONF$ac_delim 4795GMAKECONF!$GMAKECONF$ac_delim 4796USERMAKECONF!$USERMAKECONF$ac_delim 4797USERGMAKECONF!$USERGMAKECONF$ac_delim 4798LIBOBJS!$LIBOBJS$ac_delim 4799LTLIBOBJS!$LTLIBOBJS$ac_delim 4800_ACEOF 4801 4802 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then 4803 break 4804 elif $ac_last_try; then 4805 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4806echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4807 { (exit 1); exit 1; }; } 4808 else 4809 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4810 fi 4811done 4812 4813ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4814if test -n "$ac_eof"; then 4815 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4816 ac_eof=`expr $ac_eof + 1` 4817fi 4818 4819cat >>$CONFIG_STATUS <<_ACEOF 4820cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 4821/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4822_ACEOF 4823sed ' 4824s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4825s/^/s,@/; s/!/@,|#_!!_#|/ 4826:n 4827t n 4828s/'"$ac_delim"'$/,g/; t 4829s/$/\\/; p 4830N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4831' >>$CONFIG_STATUS <conf$$subs.sed 4832rm -f conf$$subs.sed 4833cat >>$CONFIG_STATUS <<_ACEOF 4834:end 4835s/|#_!!_#|//g 4836CEOF$ac_eof 4837_ACEOF 4838 4839 4840# VPATH may cause trouble with some makes, so we remove $(srcdir), 4841# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4842# trailing colons and then remove the whole line if VPATH becomes empty 4843# (actually we leave an empty line to preserve line numbers). 4844if test "x$srcdir" = x.; then 4845 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4846s/:*\$(srcdir):*/:/ 4847s/:*\${srcdir}:*/:/ 4848s/:*@srcdir@:*/:/ 4849s/^\([^=]*=[ ]*\):*/\1/ 4850s/:*$// 4851s/^[^=]*=[ ]*$// 4852}' 4853fi 4854 4855cat >>$CONFIG_STATUS <<\_ACEOF 4856fi # test -n "$CONFIG_FILES" 4857 4858 4859for ac_tag in :F $CONFIG_FILES 4860do 4861 case $ac_tag in 4862 :[FHLC]) ac_mode=$ac_tag; continue;; 4863 esac 4864 case $ac_mode$ac_tag in 4865 :[FHL]*:*);; 4866 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 4867echo "$as_me: error: Invalid tag $ac_tag." >&2;} 4868 { (exit 1); exit 1; }; };; 4869 :[FH]-) ac_tag=-:-;; 4870 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4871 esac 4872 ac_save_IFS=$IFS 4873 IFS=: 4874 set x $ac_tag 4875 IFS=$ac_save_IFS 4876 shift 4877 ac_file=$1 4878 shift 4879 4880 case $ac_mode in 4881 :L) ac_source=$1;; 4882 :[FH]) 4883 ac_file_inputs= 4884 for ac_f 4885 do 4886 case $ac_f in 4887 -) ac_f="$tmp/stdin";; 4888 *) # Look for the file first in the build tree, then in the source tree 4889 # (if the path is not absolute). The absolute path cannot be DOS-style, 4890 # because $ac_f cannot contain `:'. 4891 test -f "$ac_f" || 4892 case $ac_f in 4893 [\\/$]*) false;; 4894 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4895 esac || 4896 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 4897echo "$as_me: error: cannot find input file: $ac_f" >&2;} 4898 { (exit 1); exit 1; }; };; 4899 esac 4900 ac_file_inputs="$ac_file_inputs $ac_f" 4901 done 4902 4903 # Let's still pretend it is `configure' which instantiates (i.e., don't 4904 # use $as_me), people would be surprised to read: 4905 # /* config.h. Generated by config.status. */ 4906 configure_input="Generated from "`IFS=: 4907 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 4908 if test x"$ac_file" != x-; then 4909 configure_input="$ac_file. $configure_input" 4910 { echo "$as_me:$LINENO: creating $ac_file" >&5 4911echo "$as_me: creating $ac_file" >&6;} 4912 fi 4913 4914 case $ac_tag in 4915 *:-:* | *:-) cat >"$tmp/stdin";; 4916 esac 4917 ;; 4918 esac 4919 4920 ac_dir=`$as_dirname -- "$ac_file" || 4921$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4922 X"$ac_file" : 'X\(//\)[^/]' \| \ 4923 X"$ac_file" : 'X\(//\)$' \| \ 4924 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4925echo X"$ac_file" | 4926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4927 s//\1/ 4928 q 4929 } 4930 /^X\(\/\/\)[^/].*/{ 4931 s//\1/ 4932 q 4933 } 4934 /^X\(\/\/\)$/{ 4935 s//\1/ 4936 q 4937 } 4938 /^X\(\/\).*/{ 4939 s//\1/ 4940 q 4941 } 4942 s/.*/./; q'` 4943 { as_dir="$ac_dir" 4944 case $as_dir in #( 4945 -*) as_dir=./$as_dir;; 4946 esac 4947 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4948 as_dirs= 4949 while :; do 4950 case $as_dir in #( 4951 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4952 *) as_qdir=$as_dir;; 4953 esac 4954 as_dirs="'$as_qdir' $as_dirs" 4955 as_dir=`$as_dirname -- "$as_dir" || 4956$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4957 X"$as_dir" : 'X\(//\)[^/]' \| \ 4958 X"$as_dir" : 'X\(//\)$' \| \ 4959 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4960echo X"$as_dir" | 4961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4962 s//\1/ 4963 q 4964 } 4965 /^X\(\/\/\)[^/].*/{ 4966 s//\1/ 4967 q 4968 } 4969 /^X\(\/\/\)$/{ 4970 s//\1/ 4971 q 4972 } 4973 /^X\(\/\).*/{ 4974 s//\1/ 4975 q 4976 } 4977 s/.*/./; q'` 4978 test -d "$as_dir" && break 4979 done 4980 test -z "$as_dirs" || eval "mkdir $as_dirs" 4981 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4982echo "$as_me: error: cannot create directory $as_dir" >&2;} 4983 { (exit 1); exit 1; }; }; } 4984 ac_builddir=. 4985 4986case "$ac_dir" in 4987.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4988*) 4989 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4990 # A ".." for each directory in $ac_dir_suffix. 4991 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 4992 case $ac_top_builddir_sub in 4993 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4994 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4995 esac ;; 4996esac 4997ac_abs_top_builddir=$ac_pwd 4998ac_abs_builddir=$ac_pwd$ac_dir_suffix 4999# for backward compatibility: 5000ac_top_builddir=$ac_top_build_prefix 5001 5002case $srcdir in 5003 .) # We are building in place. 5004 ac_srcdir=. 5005 ac_top_srcdir=$ac_top_builddir_sub 5006 ac_abs_top_srcdir=$ac_pwd ;; 5007 [\\/]* | ?:[\\/]* ) # Absolute name. 5008 ac_srcdir=$srcdir$ac_dir_suffix; 5009 ac_top_srcdir=$srcdir 5010 ac_abs_top_srcdir=$srcdir ;; 5011 *) # Relative name. 5012 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5013 ac_top_srcdir=$ac_top_build_prefix$srcdir 5014 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5015esac 5016ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5017 5018 5019 case $ac_mode in 5020 :F) 5021 # 5022 # CONFIG_FILE 5023 # 5024 5025 case $INSTALL in 5026 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5027 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5028 esac 5029 ac_MKDIR_P=$MKDIR_P 5030 case $MKDIR_P in 5031 [\\/$]* | ?:[\\/]* ) ;; 5032 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5033 esac 5034_ACEOF 5035 5036cat >>$CONFIG_STATUS <<\_ACEOF 5037# If the template does not know about datarootdir, expand it. 5038# FIXME: This hack should be removed a few years after 2.60. 5039ac_datarootdir_hack=; ac_datarootdir_seen= 5040 5041case `sed -n '/datarootdir/ { 5042 p 5043 q 5044} 5045/@datadir@/p 5046/@docdir@/p 5047/@infodir@/p 5048/@localedir@/p 5049/@mandir@/p 5050' $ac_file_inputs` in 5051*datarootdir*) ac_datarootdir_seen=yes;; 5052*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5053 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5054echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5055_ACEOF 5056cat >>$CONFIG_STATUS <<_ACEOF 5057 ac_datarootdir_hack=' 5058 s&@datadir@&$datadir&g 5059 s&@docdir@&$docdir&g 5060 s&@infodir@&$infodir&g 5061 s&@localedir@&$localedir&g 5062 s&@mandir@&$mandir&g 5063 s&\\\${datarootdir}&$datarootdir&g' ;; 5064esac 5065_ACEOF 5066 5067# Neutralize VPATH when `$srcdir' = `.'. 5068# Shell code in configure.ac might set extrasub. 5069# FIXME: do we really want to maintain this feature? 5070cat >>$CONFIG_STATUS <<_ACEOF 5071 sed "$ac_vpsub 5072$extrasub 5073_ACEOF 5074cat >>$CONFIG_STATUS <<\_ACEOF 5075:t 5076/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5077s&@configure_input@&$configure_input&;t t 5078s&@top_builddir@&$ac_top_builddir_sub&;t t 5079s&@srcdir@&$ac_srcdir&;t t 5080s&@abs_srcdir@&$ac_abs_srcdir&;t t 5081s&@top_srcdir@&$ac_top_srcdir&;t t 5082s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5083s&@builddir@&$ac_builddir&;t t 5084s&@abs_builddir@&$ac_abs_builddir&;t t 5085s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5086s&@INSTALL@&$ac_INSTALL&;t t 5087s&@MKDIR_P@&$ac_MKDIR_P&;t t 5088$ac_datarootdir_hack 5089" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 5090 5091test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5092 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5093 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5094 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5095which seems to be undefined. Please make sure it is defined." >&5 5096echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5097which seems to be undefined. Please make sure it is defined." >&2;} 5098 5099 rm -f "$tmp/stdin" 5100 case $ac_file in 5101 -) cat "$tmp/out"; rm -f "$tmp/out";; 5102 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 5103 esac 5104 ;; 5105 5106 5107 5108 esac 5109 5110done # for ac_tag 5111 5112 5113{ (exit 0); exit 0; } 5114_ACEOF 5115chmod +x $CONFIG_STATUS 5116ac_clean_files=$ac_clean_files_save 5117 5118 5119# configure is writing to config.log, and then calls config.status. 5120# config.status does its own redirection, appending to config.log. 5121# Unfortunately, on DOS this fails, as config.log is still kept open 5122# by configure, so config.status won't be able to write to it; its 5123# output is simply discarded. So we exec the FD to /dev/null, 5124# effectively closing config.log, so it can be properly (re)opened and 5125# appended to by config.status. When coming back to configure, we 5126# need to make the FD available again. 5127if test "$no_create" != yes; then 5128 ac_cs_success=: 5129 ac_config_status_args= 5130 test "$silent" = yes && 5131 ac_config_status_args="$ac_config_status_args --quiet" 5132 exec 5>/dev/null 5133 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5134 exec 5>>config.log 5135 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5136 # would make configure fail if this is the last instruction. 5137 $ac_cs_success || { (exit 1); exit 1; } 5138fi 5139 5140