1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for foomatic-db-engine 4.0.13. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151esac 152fi 153" 154 as_required="as_fn_return () { (exit \$1); } 155as_fn_success () { as_fn_return 0; } 156as_fn_failure () { as_fn_return 1; } 157as_fn_ret_success () { return 0; } 158as_fn_ret_failure () { return 1; } 159 160exitcode=0 161as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167else 168 exitcode=1; echo positional parameters were not saved. 169fi 170test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175test \$(( 1 + 1 )) = 2 || exit 1" 176 if (eval "$as_required") 2>/dev/null; then : 177 as_have_required=yes 178else 179 as_have_required=no 180fi 181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 182 183else 184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185as_found=false 186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 187do 188 IFS=$as_save_IFS 189 test -z "$as_dir" && as_dir=. 190 as_found=: 191 case $as_dir in #( 192 /*) 193 for as_base in sh bash ksh sh5; do 194 # Try only shells that exist, to save several forks. 195 as_shell=$as_dir/$as_base 196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 198 CONFIG_SHELL=$as_shell as_have_required=yes 199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 break 2 201fi 202fi 203 done;; 204 esac 205 as_found=false 206done 207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 209 CONFIG_SHELL=$SHELL as_have_required=yes 210fi; } 211IFS=$as_save_IFS 212 213 214 if test "x$CONFIG_SHELL" != x; then : 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 230fi 231 232 if test x$as_have_required = xno; then : 233 $as_echo "$0: This script requires a shell more modern than all" 234 $as_echo "$0: the shells that I found on your system." 235 if test x${ZSH_VERSION+set} = xset ; then 236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 237 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 238 else 239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 240$0: including any error possibly output before this 241$0: message. Then install a modern shell, or manually run 242$0: the script under such a shell if you do have one." 243 fi 244 exit 1 245fi 246fi 247fi 248SHELL=${CONFIG_SHELL-/bin/sh} 249export SHELL 250# Unset more variables known to interfere with behavior of common tools. 251CLICOLOR_FORCE= GREP_OPTIONS= 252unset CLICOLOR_FORCE GREP_OPTIONS 253 254## --------------------- ## 255## M4sh Shell Functions. ## 256## --------------------- ## 257# as_fn_unset VAR 258# --------------- 259# Portably unset VAR. 260as_fn_unset () 261{ 262 { eval $1=; unset $1;} 263} 264as_unset=as_fn_unset 265 266# as_fn_set_status STATUS 267# ----------------------- 268# Set $? to STATUS, without forking. 269as_fn_set_status () 270{ 271 return $1 272} # as_fn_set_status 273 274# as_fn_exit STATUS 275# ----------------- 276# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 277as_fn_exit () 278{ 279 set +e 280 as_fn_set_status $1 281 exit $1 282} # as_fn_exit 283 284# as_fn_mkdir_p 285# ------------- 286# Create "$as_dir" as a directory, including parents if necessary. 287as_fn_mkdir_p () 288{ 289 290 case $as_dir in #( 291 -*) as_dir=./$as_dir;; 292 esac 293 test -d "$as_dir" || eval $as_mkdir_p || { 294 as_dirs= 295 while :; do 296 case $as_dir in #( 297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 298 *) as_qdir=$as_dir;; 299 esac 300 as_dirs="'$as_qdir' $as_dirs" 301 as_dir=`$as_dirname -- "$as_dir" || 302$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 303 X"$as_dir" : 'X\(//\)[^/]' \| \ 304 X"$as_dir" : 'X\(//\)$' \| \ 305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 306$as_echo X"$as_dir" | 307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)[^/].*/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\/\)$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\).*/{ 320 s//\1/ 321 q 322 } 323 s/.*/./; q'` 324 test -d "$as_dir" && break 325 done 326 test -z "$as_dirs" || eval "mkdir $as_dirs" 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 328 329 330} # as_fn_mkdir_p 331# as_fn_append VAR VALUE 332# ---------------------- 333# Append the text in VALUE to the end of the definition contained in VAR. Take 334# advantage of any shell optimizations that allow amortized linear growth over 335# repeated appends, instead of the typical quadratic growth present in naive 336# implementations. 337if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 338 eval 'as_fn_append () 339 { 340 eval $1+=\$2 341 }' 342else 343 as_fn_append () 344 { 345 eval $1=\$$1\$2 346 } 347fi # as_fn_append 348 349# as_fn_arith ARG... 350# ------------------ 351# Perform arithmetic evaluation on the ARGs, and store the result in the 352# global $as_val. Take advantage of shells that can avoid forks. The arguments 353# must be portable across $(()) and expr. 354if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 355 eval 'as_fn_arith () 356 { 357 as_val=$(( $* )) 358 }' 359else 360 as_fn_arith () 361 { 362 as_val=`expr "$@" || test $? -eq 1` 363 } 364fi # as_fn_arith 365 366 367# as_fn_error STATUS ERROR [LINENO LOG_FD] 368# ---------------------------------------- 369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 371# script with STATUS, using 1 if that was 0. 372as_fn_error () 373{ 374 as_status=$1; test $as_status -eq 0 && as_status=1 375 if test "$4"; then 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 378 fi 379 $as_echo "$as_me: error: $2" >&2 380 as_fn_exit $as_status 381} # as_fn_error 382 383if expr a : '\(a\)' >/dev/null 2>&1 && 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then 385 as_expr=expr 386else 387 as_expr=false 388fi 389 390if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 391 as_basename=basename 392else 393 as_basename=false 394fi 395 396if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 397 as_dirname=dirname 398else 399 as_dirname=false 400fi 401 402as_me=`$as_basename -- "$0" || 403$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 404 X"$0" : 'X\(//\)$' \| \ 405 X"$0" : 'X\(/\)' \| . 2>/dev/null || 406$as_echo X/"$0" | 407 sed '/^.*\/\([^/][^/]*\)\/*$/{ 408 s//\1/ 409 q 410 } 411 /^X\/\(\/\/\)$/{ 412 s//\1/ 413 q 414 } 415 /^X\/\(\/\).*/{ 416 s//\1/ 417 q 418 } 419 s/.*/./; q'` 420 421# Avoid depending upon Character Ranges. 422as_cr_letters='abcdefghijklmnopqrstuvwxyz' 423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 424as_cr_Letters=$as_cr_letters$as_cr_LETTERS 425as_cr_digits='0123456789' 426as_cr_alnum=$as_cr_Letters$as_cr_digits 427 428 429 as_lineno_1=$LINENO as_lineno_1a=$LINENO 430 as_lineno_2=$LINENO as_lineno_2a=$LINENO 431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 434 sed -n ' 435 p 436 /[$]LINENO/= 437 ' <$as_myself | 438 sed ' 439 s/[$]LINENO.*/&-/ 440 t lineno 441 b 442 :lineno 443 N 444 :loop 445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 446 t loop 447 s/-\n.*// 448 ' >$as_me.lineno && 449 chmod +x "$as_me.lineno" || 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 451 452 # Don't try to exec as it changes $[0], causing all sort of problems 453 # (the dirname of $[0] is not the place where we might find the 454 # original and so on. Autoconf is especially sensitive to this). 455 . "./$as_me.lineno" 456 # Exit status is that of the last command. 457 exit 458} 459 460ECHO_C= ECHO_N= ECHO_T= 461case `echo -n x` in #((((( 462-n*) 463 case `echo 'xy\c'` in 464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 465 xy) ECHO_C='\c';; 466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 467 ECHO_T=' ';; 468 esac;; 469*) 470 ECHO_N='-n';; 471esac 472 473rm -f conf$$ conf$$.exe conf$$.file 474if test -d conf$$.dir; then 475 rm -f conf$$.dir/conf$$.file 476else 477 rm -f conf$$.dir 478 mkdir conf$$.dir 2>/dev/null 479fi 480if (echo >conf$$.file) 2>/dev/null; then 481 if ln -s conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s='ln -s' 483 # ... but there are two gotchas: 484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 486 # In both cases, we have to default to `cp -p'. 487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 488 as_ln_s='cp -p' 489 elif ln conf$$.file conf$$ 2>/dev/null; then 490 as_ln_s=ln 491 else 492 as_ln_s='cp -p' 493 fi 494else 495 as_ln_s='cp -p' 496fi 497rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 498rmdir conf$$.dir 2>/dev/null 499 500if mkdir -p . 2>/dev/null; then 501 as_mkdir_p='mkdir -p "$as_dir"' 502else 503 test -d ./-p && rmdir ./-p 504 as_mkdir_p=false 505fi 506 507if test -x / >/dev/null 2>&1; then 508 as_test_x='test -x' 509else 510 if ls -dL / >/dev/null 2>&1; then 511 as_ls_L_option=L 512 else 513 as_ls_L_option= 514 fi 515 as_test_x=' 516 eval sh -c '\'' 517 if test -d "$1"; then 518 test -d "$1/."; 519 else 520 case $1 in #( 521 -*)set "./$1";; 522 esac; 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 524 ???[sx]*):;;*)false;;esac;fi 525 '\'' sh 526 ' 527fi 528as_executable_p=$as_test_x 529 530# Sed expression to map a string onto a valid CPP name. 531as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 532 533# Sed expression to map a string onto a valid variable name. 534as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 535 536 537test -n "$DJDIR" || exec 7<&0 </dev/null 538exec 6>&1 539 540# Name of the host. 541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 542# so uname gets run too. 543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 544 545# 546# Initializations. 547# 548ac_default_prefix=/usr/local 549ac_clean_files= 550ac_config_libobj_dir=. 551LIBOBJS= 552cross_compiling=no 553subdirs= 554MFLAGS= 555MAKEFLAGS= 556 557# Identity of this package. 558PACKAGE_NAME='foomatic-db-engine' 559PACKAGE_TARNAME='foomatic-db-engine' 560PACKAGE_VERSION='4.0.13' 561PACKAGE_STRING='foomatic-db-engine 4.0.13' 562PACKAGE_BUGREPORT='' 563PACKAGE_URL='' 564 565ac_unique_file="foomatic-perl-data.c" 566ac_subst_vars='LTLIBOBJS 567LIBOBJS 568LOCAL_FOOMATIC_RIP 569FOOMATIC_RIP 570LOCAL_LIBDIR 571LIBDIR 572GZIP 573MTINK_PIPES 574PTAL_PIPES 575PTAL_CONNECT 576NPRINT 577SMBCLIENT 578RLPR 579NC 580PPR_PPOP 581PPR_PPAD 582PPR_PPR 583PPR_ETC 584PPR_PPDFILES 585PPR_INTERFACES 586PPR_PPRD 587PDQ_PRINT 588PDQ_PRINTRC 589PDQ_CONF 590CUPS_LPINFO 591CUPS_LPOPTIONS 592CUPS_LPMOVE 593CUPS_REJECT 594CUPS_ACCEPT 595CUPS_DISABLE 596CUPS_ENABLE 597CUPS_CANCEL 598CUPS_LP 599CUPS_LPC 600CUPS_LPRM 601CUPS_LPQ 602CUPS_LPR 603CUPS_PCONF 604LIB_CUPS 605CUPS_BACKENDS 606CUPS_FILTERS 607CUPS_PPDS 608CUPS_LPSTAT 609CUPS_ADMIN 610CUPS_ETC 611LPRNG_CHECKPC 612LPD_LPC 613LPD_LPRM 614LPD_LPQ 615LPD_LPR 616LPRNG_CONF 617PRINTCAP 618LPD_BIN 619LPD_LOG 620LPD_SPOOL 621SH 622PERL_INSTALLDIRS 623PERLPREFIX 624PERL 625DEVFD0 626DEVFD3 627GSCHECK 628PRINTF 629CURL 630WGET 631A2PS 632GS 633CAT 634FILEUTIL 635EGREP 636GREP 637CPP 638XML_LIBS 639XML_CFLAGS 640XML_CONFIG 641XML2_CONFIG 642SET_MAKE 643LN_S 644INSTALL_DATA 645INSTALL_SCRIPT 646INSTALL_PROGRAM 647OBJEXT 648EXEEXT 649ac_ct_CC 650CPPFLAGS 651LDFLAGS 652CFLAGS 653CC 654target_alias 655host_alias 656build_alias 657LIBS 658ECHO_T 659ECHO_N 660ECHO_C 661DEFS 662mandir 663localedir 664libdir 665psdir 666pdfdir 667dvidir 668htmldir 669infodir 670docdir 671oldincludedir 672includedir 673localstatedir 674sharedstatedir 675sysconfdir 676datadir 677datarootdir 678libexecdir 679sbindir 680bindir 681program_transform_name 682prefix 683exec_prefix 684PACKAGE_URL 685PACKAGE_BUGREPORT 686PACKAGE_STRING 687PACKAGE_VERSION 688PACKAGE_TARNAME 689PACKAGE_NAME 690PATH_SEPARATOR 691SHELL' 692ac_subst_files='' 693ac_user_opts=' 694enable_option_checking 695enable_gscheck 696' 697 ac_precious_vars='build_alias 698host_alias 699target_alias 700CC 701CFLAGS 702LDFLAGS 703LIBS 704CPPFLAGS 705CPP 706PERL_INSTALLDIRS' 707 708 709# Initialize some variables set by options. 710ac_init_help= 711ac_init_version=false 712ac_unrecognized_opts= 713ac_unrecognized_sep= 714# The variables have the same names as the options, with 715# dashes changed to underlines. 716cache_file=/dev/null 717exec_prefix=NONE 718no_create= 719no_recursion= 720prefix=NONE 721program_prefix=NONE 722program_suffix=NONE 723program_transform_name=s,x,x, 724silent= 725site= 726srcdir= 727verbose= 728x_includes=NONE 729x_libraries=NONE 730 731# Installation directory options. 732# These are left unexpanded so users can "make install exec_prefix=/foo" 733# and all the variables that are supposed to be based on exec_prefix 734# by default will actually change. 735# Use braces instead of parens because sh, perl, etc. also accept them. 736# (The list follows the same order as the GNU Coding Standards.) 737bindir='${exec_prefix}/bin' 738sbindir='${exec_prefix}/sbin' 739libexecdir='${exec_prefix}/libexec' 740datarootdir='${prefix}/share' 741datadir='${datarootdir}' 742sysconfdir='${prefix}/etc' 743sharedstatedir='${prefix}/com' 744localstatedir='${prefix}/var' 745includedir='${prefix}/include' 746oldincludedir='/usr/include' 747docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 748infodir='${datarootdir}/info' 749htmldir='${docdir}' 750dvidir='${docdir}' 751pdfdir='${docdir}' 752psdir='${docdir}' 753libdir='${exec_prefix}/lib' 754localedir='${datarootdir}/locale' 755mandir='${datarootdir}/man' 756 757ac_prev= 758ac_dashdash= 759for ac_option 760do 761 # If the previous option needs an argument, assign it. 762 if test -n "$ac_prev"; then 763 eval $ac_prev=\$ac_option 764 ac_prev= 765 continue 766 fi 767 768 case $ac_option in 769 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 770 *=) ac_optarg= ;; 771 *) ac_optarg=yes ;; 772 esac 773 774 # Accept the important Cygnus configure options, so we can diagnose typos. 775 776 case $ac_dashdash$ac_option in 777 --) 778 ac_dashdash=yes ;; 779 780 -bindir | --bindir | --bindi | --bind | --bin | --bi) 781 ac_prev=bindir ;; 782 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 783 bindir=$ac_optarg ;; 784 785 -build | --build | --buil | --bui | --bu) 786 ac_prev=build_alias ;; 787 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 788 build_alias=$ac_optarg ;; 789 790 -cache-file | --cache-file | --cache-fil | --cache-fi \ 791 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 792 ac_prev=cache_file ;; 793 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 794 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 795 cache_file=$ac_optarg ;; 796 797 --config-cache | -C) 798 cache_file=config.cache ;; 799 800 -datadir | --datadir | --datadi | --datad) 801 ac_prev=datadir ;; 802 -datadir=* | --datadir=* | --datadi=* | --datad=*) 803 datadir=$ac_optarg ;; 804 805 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 806 | --dataroo | --dataro | --datar) 807 ac_prev=datarootdir ;; 808 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 809 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 810 datarootdir=$ac_optarg ;; 811 812 -disable-* | --disable-*) 813 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 814 # Reject names that are not valid shell variable names. 815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 816 as_fn_error $? "invalid feature name: $ac_useropt" 817 ac_useropt_orig=$ac_useropt 818 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 819 case $ac_user_opts in 820 *" 821"enable_$ac_useropt" 822"*) ;; 823 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 824 ac_unrecognized_sep=', ';; 825 esac 826 eval enable_$ac_useropt=no ;; 827 828 -docdir | --docdir | --docdi | --doc | --do) 829 ac_prev=docdir ;; 830 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 831 docdir=$ac_optarg ;; 832 833 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 834 ac_prev=dvidir ;; 835 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 836 dvidir=$ac_optarg ;; 837 838 -enable-* | --enable-*) 839 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 840 # Reject names that are not valid shell variable names. 841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 842 as_fn_error $? "invalid feature name: $ac_useropt" 843 ac_useropt_orig=$ac_useropt 844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 845 case $ac_user_opts in 846 *" 847"enable_$ac_useropt" 848"*) ;; 849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 850 ac_unrecognized_sep=', ';; 851 esac 852 eval enable_$ac_useropt=\$ac_optarg ;; 853 854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 855 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 856 | --exec | --exe | --ex) 857 ac_prev=exec_prefix ;; 858 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 859 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 860 | --exec=* | --exe=* | --ex=*) 861 exec_prefix=$ac_optarg ;; 862 863 -gas | --gas | --ga | --g) 864 # Obsolete; use --with-gas. 865 with_gas=yes ;; 866 867 -help | --help | --hel | --he | -h) 868 ac_init_help=long ;; 869 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 870 ac_init_help=recursive ;; 871 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 872 ac_init_help=short ;; 873 874 -host | --host | --hos | --ho) 875 ac_prev=host_alias ;; 876 -host=* | --host=* | --hos=* | --ho=*) 877 host_alias=$ac_optarg ;; 878 879 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 880 ac_prev=htmldir ;; 881 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 882 | --ht=*) 883 htmldir=$ac_optarg ;; 884 885 -includedir | --includedir | --includedi | --included | --include \ 886 | --includ | --inclu | --incl | --inc) 887 ac_prev=includedir ;; 888 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 889 | --includ=* | --inclu=* | --incl=* | --inc=*) 890 includedir=$ac_optarg ;; 891 892 -infodir | --infodir | --infodi | --infod | --info | --inf) 893 ac_prev=infodir ;; 894 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 895 infodir=$ac_optarg ;; 896 897 -libdir | --libdir | --libdi | --libd) 898 ac_prev=libdir ;; 899 -libdir=* | --libdir=* | --libdi=* | --libd=*) 900 libdir=$ac_optarg ;; 901 902 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 903 | --libexe | --libex | --libe) 904 ac_prev=libexecdir ;; 905 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 906 | --libexe=* | --libex=* | --libe=*) 907 libexecdir=$ac_optarg ;; 908 909 -localedir | --localedir | --localedi | --localed | --locale) 910 ac_prev=localedir ;; 911 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 912 localedir=$ac_optarg ;; 913 914 -localstatedir | --localstatedir | --localstatedi | --localstated \ 915 | --localstate | --localstat | --localsta | --localst | --locals) 916 ac_prev=localstatedir ;; 917 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 918 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 919 localstatedir=$ac_optarg ;; 920 921 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 922 ac_prev=mandir ;; 923 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 924 mandir=$ac_optarg ;; 925 926 -nfp | --nfp | --nf) 927 # Obsolete; use --without-fp. 928 with_fp=no ;; 929 930 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 931 | --no-cr | --no-c | -n) 932 no_create=yes ;; 933 934 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 935 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 936 no_recursion=yes ;; 937 938 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 939 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 940 | --oldin | --oldi | --old | --ol | --o) 941 ac_prev=oldincludedir ;; 942 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 943 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 944 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 945 oldincludedir=$ac_optarg ;; 946 947 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 948 ac_prev=prefix ;; 949 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 950 prefix=$ac_optarg ;; 951 952 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 953 | --program-pre | --program-pr | --program-p) 954 ac_prev=program_prefix ;; 955 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 956 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 957 program_prefix=$ac_optarg ;; 958 959 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 960 | --program-suf | --program-su | --program-s) 961 ac_prev=program_suffix ;; 962 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 963 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 964 program_suffix=$ac_optarg ;; 965 966 -program-transform-name | --program-transform-name \ 967 | --program-transform-nam | --program-transform-na \ 968 | --program-transform-n | --program-transform- \ 969 | --program-transform | --program-transfor \ 970 | --program-transfo | --program-transf \ 971 | --program-trans | --program-tran \ 972 | --progr-tra | --program-tr | --program-t) 973 ac_prev=program_transform_name ;; 974 -program-transform-name=* | --program-transform-name=* \ 975 | --program-transform-nam=* | --program-transform-na=* \ 976 | --program-transform-n=* | --program-transform-=* \ 977 | --program-transform=* | --program-transfor=* \ 978 | --program-transfo=* | --program-transf=* \ 979 | --program-trans=* | --program-tran=* \ 980 | --progr-tra=* | --program-tr=* | --program-t=*) 981 program_transform_name=$ac_optarg ;; 982 983 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 984 ac_prev=pdfdir ;; 985 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 986 pdfdir=$ac_optarg ;; 987 988 -psdir | --psdir | --psdi | --psd | --ps) 989 ac_prev=psdir ;; 990 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 991 psdir=$ac_optarg ;; 992 993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 994 | -silent | --silent | --silen | --sile | --sil) 995 silent=yes ;; 996 997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 998 ac_prev=sbindir ;; 999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1000 | --sbi=* | --sb=*) 1001 sbindir=$ac_optarg ;; 1002 1003 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1005 | --sharedst | --shareds | --shared | --share | --shar \ 1006 | --sha | --sh) 1007 ac_prev=sharedstatedir ;; 1008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1011 | --sha=* | --sh=*) 1012 sharedstatedir=$ac_optarg ;; 1013 1014 -site | --site | --sit) 1015 ac_prev=site ;; 1016 -site=* | --site=* | --sit=*) 1017 site=$ac_optarg ;; 1018 1019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1020 ac_prev=srcdir ;; 1021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1022 srcdir=$ac_optarg ;; 1023 1024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1025 | --syscon | --sysco | --sysc | --sys | --sy) 1026 ac_prev=sysconfdir ;; 1027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1029 sysconfdir=$ac_optarg ;; 1030 1031 -target | --target | --targe | --targ | --tar | --ta | --t) 1032 ac_prev=target_alias ;; 1033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1034 target_alias=$ac_optarg ;; 1035 1036 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1037 verbose=yes ;; 1038 1039 -version | --version | --versio | --versi | --vers | -V) 1040 ac_init_version=: ;; 1041 1042 -with-* | --with-*) 1043 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1044 # Reject names that are not valid shell variable names. 1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1046 as_fn_error $? "invalid package name: $ac_useropt" 1047 ac_useropt_orig=$ac_useropt 1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1049 case $ac_user_opts in 1050 *" 1051"with_$ac_useropt" 1052"*) ;; 1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1054 ac_unrecognized_sep=', ';; 1055 esac 1056 eval with_$ac_useropt=\$ac_optarg ;; 1057 1058 -without-* | --without-*) 1059 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1060 # Reject names that are not valid shell variable names. 1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1062 as_fn_error $? "invalid package name: $ac_useropt" 1063 ac_useropt_orig=$ac_useropt 1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1065 case $ac_user_opts in 1066 *" 1067"with_$ac_useropt" 1068"*) ;; 1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1070 ac_unrecognized_sep=', ';; 1071 esac 1072 eval with_$ac_useropt=no ;; 1073 1074 --x) 1075 # Obsolete; use --with-x. 1076 with_x=yes ;; 1077 1078 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1079 | --x-incl | --x-inc | --x-in | --x-i) 1080 ac_prev=x_includes ;; 1081 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1082 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1083 x_includes=$ac_optarg ;; 1084 1085 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1086 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1087 ac_prev=x_libraries ;; 1088 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1089 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1090 x_libraries=$ac_optarg ;; 1091 1092 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1093Try \`$0 --help' for more information" 1094 ;; 1095 1096 *=*) 1097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1098 # Reject names that are not valid shell variable names. 1099 case $ac_envvar in #( 1100 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1101 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1102 esac 1103 eval $ac_envvar=\$ac_optarg 1104 export $ac_envvar ;; 1105 1106 *) 1107 # FIXME: should be removed in autoconf 3.0. 1108 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1110 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1111 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1112 ;; 1113 1114 esac 1115done 1116 1117if test -n "$ac_prev"; then 1118 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1119 as_fn_error $? "missing argument to $ac_option" 1120fi 1121 1122if test -n "$ac_unrecognized_opts"; then 1123 case $enable_option_checking in 1124 no) ;; 1125 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1127 esac 1128fi 1129 1130# Check all directory arguments for consistency. 1131for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1132 datadir sysconfdir sharedstatedir localstatedir includedir \ 1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1134 libdir localedir mandir 1135do 1136 eval ac_val=\$$ac_var 1137 # Remove trailing slashes. 1138 case $ac_val in 1139 */ ) 1140 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1141 eval $ac_var=\$ac_val;; 1142 esac 1143 # Be sure to have absolute directory names. 1144 case $ac_val in 1145 [\\/$]* | ?:[\\/]* ) continue;; 1146 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1147 esac 1148 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1149done 1150 1151# There might be people who depend on the old broken behavior: `$host' 1152# used to hold the argument of --host etc. 1153# FIXME: To remove some day. 1154build=$build_alias 1155host=$host_alias 1156target=$target_alias 1157 1158# FIXME: To remove some day. 1159if test "x$host_alias" != x; then 1160 if test "x$build_alias" = x; then 1161 cross_compiling=maybe 1162 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1163 If a cross compiler is detected then cross compile mode will be used" >&2 1164 elif test "x$build_alias" != "x$host_alias"; then 1165 cross_compiling=yes 1166 fi 1167fi 1168 1169ac_tool_prefix= 1170test -n "$host_alias" && ac_tool_prefix=$host_alias- 1171 1172test "$silent" = yes && exec 6>/dev/null 1173 1174 1175ac_pwd=`pwd` && test -n "$ac_pwd" && 1176ac_ls_di=`ls -di .` && 1177ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1178 as_fn_error $? "working directory cannot be determined" 1179test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1180 as_fn_error $? "pwd does not report name of working directory" 1181 1182 1183# Find the source files, if location was not specified. 1184if test -z "$srcdir"; then 1185 ac_srcdir_defaulted=yes 1186 # Try the directory containing this script, then the parent directory. 1187 ac_confdir=`$as_dirname -- "$as_myself" || 1188$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1189 X"$as_myself" : 'X\(//\)[^/]' \| \ 1190 X"$as_myself" : 'X\(//\)$' \| \ 1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1192$as_echo X"$as_myself" | 1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1194 s//\1/ 1195 q 1196 } 1197 /^X\(\/\/\)[^/].*/{ 1198 s//\1/ 1199 q 1200 } 1201 /^X\(\/\/\)$/{ 1202 s//\1/ 1203 q 1204 } 1205 /^X\(\/\).*/{ 1206 s//\1/ 1207 q 1208 } 1209 s/.*/./; q'` 1210 srcdir=$ac_confdir 1211 if test ! -r "$srcdir/$ac_unique_file"; then 1212 srcdir=.. 1213 fi 1214else 1215 ac_srcdir_defaulted=no 1216fi 1217if test ! -r "$srcdir/$ac_unique_file"; then 1218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1220fi 1221ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1222ac_abs_confdir=`( 1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1224 pwd)` 1225# When building in place, set srcdir=. 1226if test "$ac_abs_confdir" = "$ac_pwd"; then 1227 srcdir=. 1228fi 1229# Remove unnecessary trailing slashes from srcdir. 1230# Double slashes in file names in object file debugging info 1231# mess up M-x gdb in Emacs. 1232case $srcdir in 1233*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1234esac 1235for ac_var in $ac_precious_vars; do 1236 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1237 eval ac_env_${ac_var}_value=\$${ac_var} 1238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1239 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1240done 1241 1242# 1243# Report the --help message. 1244# 1245if test "$ac_init_help" = "long"; then 1246 # Omit some internal or obsolete options to make the list less imposing. 1247 # This message is too long to be a string in the A/UX 3.1 sh. 1248 cat <<_ACEOF 1249\`configure' configures foomatic-db-engine 4.0.13 to adapt to many kinds of systems. 1250 1251Usage: $0 [OPTION]... [VAR=VALUE]... 1252 1253To assign environment variables (e.g., CC, CFLAGS...), specify them as 1254VAR=VALUE. See below for descriptions of some of the useful variables. 1255 1256Defaults for the options are specified in brackets. 1257 1258Configuration: 1259 -h, --help display this help and exit 1260 --help=short display options specific to this package 1261 --help=recursive display the short help of all the included packages 1262 -V, --version display version information and exit 1263 -q, --quiet, --silent do not print \`checking ...' messages 1264 --cache-file=FILE cache test results in FILE [disabled] 1265 -C, --config-cache alias for \`--cache-file=config.cache' 1266 -n, --no-create do not create output files 1267 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1268 1269Installation directories: 1270 --prefix=PREFIX install architecture-independent files in PREFIX 1271 [$ac_default_prefix] 1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1273 [PREFIX] 1274 1275By default, \`make install' will install all the files in 1276\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1277an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1278for instance \`--prefix=\$HOME'. 1279 1280For better control, use the options below. 1281 1282Fine tuning of the installation directories: 1283 --bindir=DIR user executables [EPREFIX/bin] 1284 --sbindir=DIR system admin executables [EPREFIX/sbin] 1285 --libexecdir=DIR program executables [EPREFIX/libexec] 1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1289 --libdir=DIR object code libraries [EPREFIX/lib] 1290 --includedir=DIR C header files [PREFIX/include] 1291 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1294 --infodir=DIR info documentation [DATAROOTDIR/info] 1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1296 --mandir=DIR man documentation [DATAROOTDIR/man] 1297 --docdir=DIR documentation root 1298 [DATAROOTDIR/doc/foomatic-db-engine] 1299 --htmldir=DIR html documentation [DOCDIR] 1300 --dvidir=DIR dvi documentation [DOCDIR] 1301 --pdfdir=DIR pdf documentation [DOCDIR] 1302 --psdir=DIR ps documentation [DOCDIR] 1303_ACEOF 1304 1305 cat <<\_ACEOF 1306_ACEOF 1307fi 1308 1309if test -n "$ac_init_help"; then 1310 case $ac_init_help in 1311 short | recursive ) echo "Configuration of foomatic-db-engine 4.0.13:";; 1312 esac 1313 cat <<\_ACEOF 1314 1315Optional Features: 1316 --disable-option-checking ignore unrecognized --enable/--with options 1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1319 --disable-gscheck disable checking Ghostscript for security flaw 1320 1321Some influential environment variables: 1322 CC C compiler command 1323 CFLAGS C compiler flags 1324 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1325 nonstandard directory <lib dir> 1326 LIBS libraries to pass to the linker, e.g. -l<library> 1327 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1328 you have headers in a nonstandard directory <include dir> 1329 CPP C preprocessor 1330 PERL_INSTALLDIRS 1331 Where should the Perl libraries be installed (Default: site, 1332 Choices: perl, site, vendor)? 1333 1334Use these variables to override the choices made by `configure' or to help 1335it to find libraries and programs with nonstandard names/locations. 1336 1337Report bugs to the package provider. 1338_ACEOF 1339ac_status=$? 1340fi 1341 1342if test "$ac_init_help" = "recursive"; then 1343 # If there are subdirs, report their specific --help. 1344 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1345 test -d "$ac_dir" || 1346 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1347 continue 1348 ac_builddir=. 1349 1350case "$ac_dir" in 1351.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1352*) 1353 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1354 # A ".." for each directory in $ac_dir_suffix. 1355 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1356 case $ac_top_builddir_sub in 1357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1359 esac ;; 1360esac 1361ac_abs_top_builddir=$ac_pwd 1362ac_abs_builddir=$ac_pwd$ac_dir_suffix 1363# for backward compatibility: 1364ac_top_builddir=$ac_top_build_prefix 1365 1366case $srcdir in 1367 .) # We are building in place. 1368 ac_srcdir=. 1369 ac_top_srcdir=$ac_top_builddir_sub 1370 ac_abs_top_srcdir=$ac_pwd ;; 1371 [\\/]* | ?:[\\/]* ) # Absolute name. 1372 ac_srcdir=$srcdir$ac_dir_suffix; 1373 ac_top_srcdir=$srcdir 1374 ac_abs_top_srcdir=$srcdir ;; 1375 *) # Relative name. 1376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1377 ac_top_srcdir=$ac_top_build_prefix$srcdir 1378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1379esac 1380ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1381 1382 cd "$ac_dir" || { ac_status=$?; continue; } 1383 # Check for guested configure. 1384 if test -f "$ac_srcdir/configure.gnu"; then 1385 echo && 1386 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1387 elif test -f "$ac_srcdir/configure"; then 1388 echo && 1389 $SHELL "$ac_srcdir/configure" --help=recursive 1390 else 1391 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1392 fi || ac_status=$? 1393 cd "$ac_pwd" || { ac_status=$?; break; } 1394 done 1395fi 1396 1397test -n "$ac_init_help" && exit $ac_status 1398if $ac_init_version; then 1399 cat <<\_ACEOF 1400foomatic-db-engine configure 4.0.13 1401generated by GNU Autoconf 2.68 1402 1403Copyright (C) 2010 Free Software Foundation, Inc. 1404This configure script is free software; the Free Software Foundation 1405gives unlimited permission to copy, distribute and modify it. 1406_ACEOF 1407 exit 1408fi 1409 1410## ------------------------ ## 1411## Autoconf initialization. ## 1412## ------------------------ ## 1413 1414# ac_fn_c_try_compile LINENO 1415# -------------------------- 1416# Try to compile conftest.$ac_ext, and return whether this succeeded. 1417ac_fn_c_try_compile () 1418{ 1419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1420 rm -f conftest.$ac_objext 1421 if { { ac_try="$ac_compile" 1422case "(($ac_try" in 1423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1424 *) ac_try_echo=$ac_try;; 1425esac 1426eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1427$as_echo "$ac_try_echo"; } >&5 1428 (eval "$ac_compile") 2>conftest.err 1429 ac_status=$? 1430 if test -s conftest.err; then 1431 grep -v '^ *+' conftest.err >conftest.er1 1432 cat conftest.er1 >&5 1433 mv -f conftest.er1 conftest.err 1434 fi 1435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1436 test $ac_status = 0; } && { 1437 test -z "$ac_c_werror_flag" || 1438 test ! -s conftest.err 1439 } && test -s conftest.$ac_objext; then : 1440 ac_retval=0 1441else 1442 $as_echo "$as_me: failed program was:" >&5 1443sed 's/^/| /' conftest.$ac_ext >&5 1444 1445 ac_retval=1 1446fi 1447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1448 as_fn_set_status $ac_retval 1449 1450} # ac_fn_c_try_compile 1451 1452# ac_fn_c_try_link LINENO 1453# ----------------------- 1454# Try to link conftest.$ac_ext, and return whether this succeeded. 1455ac_fn_c_try_link () 1456{ 1457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1458 rm -f conftest.$ac_objext conftest$ac_exeext 1459 if { { ac_try="$ac_link" 1460case "(($ac_try" in 1461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1462 *) ac_try_echo=$ac_try;; 1463esac 1464eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1465$as_echo "$ac_try_echo"; } >&5 1466 (eval "$ac_link") 2>conftest.err 1467 ac_status=$? 1468 if test -s conftest.err; then 1469 grep -v '^ *+' conftest.err >conftest.er1 1470 cat conftest.er1 >&5 1471 mv -f conftest.er1 conftest.err 1472 fi 1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1474 test $ac_status = 0; } && { 1475 test -z "$ac_c_werror_flag" || 1476 test ! -s conftest.err 1477 } && test -s conftest$ac_exeext && { 1478 test "$cross_compiling" = yes || 1479 $as_test_x conftest$ac_exeext 1480 }; then : 1481 ac_retval=0 1482else 1483 $as_echo "$as_me: failed program was:" >&5 1484sed 's/^/| /' conftest.$ac_ext >&5 1485 1486 ac_retval=1 1487fi 1488 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1489 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1490 # interfere with the next link command; also delete a directory that is 1491 # left behind by Apple's compiler. We do this before executing the actions. 1492 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1494 as_fn_set_status $ac_retval 1495 1496} # ac_fn_c_try_link 1497 1498# ac_fn_c_try_cpp LINENO 1499# ---------------------- 1500# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1501ac_fn_c_try_cpp () 1502{ 1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1504 if { { ac_try="$ac_cpp conftest.$ac_ext" 1505case "(($ac_try" in 1506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1507 *) ac_try_echo=$ac_try;; 1508esac 1509eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1510$as_echo "$ac_try_echo"; } >&5 1511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1512 ac_status=$? 1513 if test -s conftest.err; then 1514 grep -v '^ *+' conftest.err >conftest.er1 1515 cat conftest.er1 >&5 1516 mv -f conftest.er1 conftest.err 1517 fi 1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1519 test $ac_status = 0; } > conftest.i && { 1520 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1521 test ! -s conftest.err 1522 }; then : 1523 ac_retval=0 1524else 1525 $as_echo "$as_me: failed program was:" >&5 1526sed 's/^/| /' conftest.$ac_ext >&5 1527 1528 ac_retval=1 1529fi 1530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1531 as_fn_set_status $ac_retval 1532 1533} # ac_fn_c_try_cpp 1534 1535# ac_fn_c_try_run LINENO 1536# ---------------------- 1537# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1538# that executables *can* be run. 1539ac_fn_c_try_run () 1540{ 1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1542 if { { ac_try="$ac_link" 1543case "(($ac_try" in 1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1545 *) ac_try_echo=$ac_try;; 1546esac 1547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1548$as_echo "$ac_try_echo"; } >&5 1549 (eval "$ac_link") 2>&5 1550 ac_status=$? 1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1552 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1553 { { case "(($ac_try" in 1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1555 *) ac_try_echo=$ac_try;; 1556esac 1557eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1558$as_echo "$ac_try_echo"; } >&5 1559 (eval "$ac_try") 2>&5 1560 ac_status=$? 1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1562 test $ac_status = 0; }; }; then : 1563 ac_retval=0 1564else 1565 $as_echo "$as_me: program exited with status $ac_status" >&5 1566 $as_echo "$as_me: failed program was:" >&5 1567sed 's/^/| /' conftest.$ac_ext >&5 1568 1569 ac_retval=$ac_status 1570fi 1571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1573 as_fn_set_status $ac_retval 1574 1575} # ac_fn_c_try_run 1576 1577# ac_fn_c_check_func LINENO FUNC VAR 1578# ---------------------------------- 1579# Tests whether FUNC exists, setting the cache variable VAR accordingly 1580ac_fn_c_check_func () 1581{ 1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1584$as_echo_n "checking for $2... " >&6; } 1585if eval \${$3+:} false; then : 1586 $as_echo_n "(cached) " >&6 1587else 1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1589/* end confdefs.h. */ 1590/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1591 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1592#define $2 innocuous_$2 1593 1594/* System header to define __stub macros and hopefully few prototypes, 1595 which can conflict with char $2 (); below. 1596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1597 <limits.h> exists even on freestanding compilers. */ 1598 1599#ifdef __STDC__ 1600# include <limits.h> 1601#else 1602# include <assert.h> 1603#endif 1604 1605#undef $2 1606 1607/* Override any GCC internal prototype to avoid an error. 1608 Use char because int might match the return type of a GCC 1609 builtin and then its argument prototype would still apply. */ 1610#ifdef __cplusplus 1611extern "C" 1612#endif 1613char $2 (); 1614/* The GNU C library defines this for functions which it implements 1615 to always fail with ENOSYS. Some functions are actually named 1616 something starting with __ and the normal name is an alias. */ 1617#if defined __stub_$2 || defined __stub___$2 1618choke me 1619#endif 1620 1621int 1622main () 1623{ 1624return $2 (); 1625 ; 1626 return 0; 1627} 1628_ACEOF 1629if ac_fn_c_try_link "$LINENO"; then : 1630 eval "$3=yes" 1631else 1632 eval "$3=no" 1633fi 1634rm -f core conftest.err conftest.$ac_objext \ 1635 conftest$ac_exeext conftest.$ac_ext 1636fi 1637eval ac_res=\$$3 1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1639$as_echo "$ac_res" >&6; } 1640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1641 1642} # ac_fn_c_check_func 1643cat >config.log <<_ACEOF 1644This file contains any messages produced by compilers while 1645running configure, to aid debugging if configure makes a mistake. 1646 1647It was created by foomatic-db-engine $as_me 4.0.13, which was 1648generated by GNU Autoconf 2.68. Invocation command line was 1649 1650 $ $0 $@ 1651 1652_ACEOF 1653exec 5>>config.log 1654{ 1655cat <<_ASUNAME 1656## --------- ## 1657## Platform. ## 1658## --------- ## 1659 1660hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1661uname -m = `(uname -m) 2>/dev/null || echo unknown` 1662uname -r = `(uname -r) 2>/dev/null || echo unknown` 1663uname -s = `(uname -s) 2>/dev/null || echo unknown` 1664uname -v = `(uname -v) 2>/dev/null || echo unknown` 1665 1666/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1667/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1668 1669/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1670/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1671/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1672/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1673/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1674/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1675/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1676 1677_ASUNAME 1678 1679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1680for as_dir in $PATH 1681do 1682 IFS=$as_save_IFS 1683 test -z "$as_dir" && as_dir=. 1684 $as_echo "PATH: $as_dir" 1685 done 1686IFS=$as_save_IFS 1687 1688} >&5 1689 1690cat >&5 <<_ACEOF 1691 1692 1693## ----------- ## 1694## Core tests. ## 1695## ----------- ## 1696 1697_ACEOF 1698 1699 1700# Keep a trace of the command line. 1701# Strip out --no-create and --no-recursion so they do not pile up. 1702# Strip out --silent because we don't want to record it for future runs. 1703# Also quote any args containing shell meta-characters. 1704# Make two passes to allow for proper duplicate-argument suppression. 1705ac_configure_args= 1706ac_configure_args0= 1707ac_configure_args1= 1708ac_must_keep_next=false 1709for ac_pass in 1 2 1710do 1711 for ac_arg 1712 do 1713 case $ac_arg in 1714 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1715 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1716 | -silent | --silent | --silen | --sile | --sil) 1717 continue ;; 1718 *\'*) 1719 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1720 esac 1721 case $ac_pass in 1722 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1723 2) 1724 as_fn_append ac_configure_args1 " '$ac_arg'" 1725 if test $ac_must_keep_next = true; then 1726 ac_must_keep_next=false # Got value, back to normal. 1727 else 1728 case $ac_arg in 1729 *=* | --config-cache | -C | -disable-* | --disable-* \ 1730 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1731 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1732 | -with-* | --with-* | -without-* | --without-* | --x) 1733 case "$ac_configure_args0 " in 1734 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1735 esac 1736 ;; 1737 -* ) ac_must_keep_next=true ;; 1738 esac 1739 fi 1740 as_fn_append ac_configure_args " '$ac_arg'" 1741 ;; 1742 esac 1743 done 1744done 1745{ ac_configure_args0=; unset ac_configure_args0;} 1746{ ac_configure_args1=; unset ac_configure_args1;} 1747 1748# When interrupted or exit'd, cleanup temporary files, and complete 1749# config.log. We remove comments because anyway the quotes in there 1750# would cause problems or look ugly. 1751# WARNING: Use '\'' to represent an apostrophe within the trap. 1752# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1753trap 'exit_status=$? 1754 # Save into config.log some information that might help in debugging. 1755 { 1756 echo 1757 1758 $as_echo "## ---------------- ## 1759## Cache variables. ## 1760## ---------------- ##" 1761 echo 1762 # The following way of writing the cache mishandles newlines in values, 1763( 1764 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1765 eval ac_val=\$$ac_var 1766 case $ac_val in #( 1767 *${as_nl}*) 1768 case $ac_var in #( 1769 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1770$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1771 esac 1772 case $ac_var in #( 1773 _ | IFS | as_nl) ;; #( 1774 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1775 *) { eval $ac_var=; unset $ac_var;} ;; 1776 esac ;; 1777 esac 1778 done 1779 (set) 2>&1 | 1780 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1781 *${as_nl}ac_space=\ *) 1782 sed -n \ 1783 "s/'\''/'\''\\\\'\'''\''/g; 1784 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1785 ;; #( 1786 *) 1787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1788 ;; 1789 esac | 1790 sort 1791) 1792 echo 1793 1794 $as_echo "## ----------------- ## 1795## Output variables. ## 1796## ----------------- ##" 1797 echo 1798 for ac_var in $ac_subst_vars 1799 do 1800 eval ac_val=\$$ac_var 1801 case $ac_val in 1802 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1803 esac 1804 $as_echo "$ac_var='\''$ac_val'\''" 1805 done | sort 1806 echo 1807 1808 if test -n "$ac_subst_files"; then 1809 $as_echo "## ------------------- ## 1810## File substitutions. ## 1811## ------------------- ##" 1812 echo 1813 for ac_var in $ac_subst_files 1814 do 1815 eval ac_val=\$$ac_var 1816 case $ac_val in 1817 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1818 esac 1819 $as_echo "$ac_var='\''$ac_val'\''" 1820 done | sort 1821 echo 1822 fi 1823 1824 if test -s confdefs.h; then 1825 $as_echo "## ----------- ## 1826## confdefs.h. ## 1827## ----------- ##" 1828 echo 1829 cat confdefs.h 1830 echo 1831 fi 1832 test "$ac_signal" != 0 && 1833 $as_echo "$as_me: caught signal $ac_signal" 1834 $as_echo "$as_me: exit $exit_status" 1835 } >&5 1836 rm -f core *.core core.conftest.* && 1837 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1838 exit $exit_status 1839' 0 1840for ac_signal in 1 2 13 15; do 1841 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1842done 1843ac_signal=0 1844 1845# confdefs.h avoids OS command line length limits that DEFS can exceed. 1846rm -f -r conftest* confdefs.h 1847 1848$as_echo "/* confdefs.h */" > confdefs.h 1849 1850# Predefined preprocessor variables. 1851 1852cat >>confdefs.h <<_ACEOF 1853#define PACKAGE_NAME "$PACKAGE_NAME" 1854_ACEOF 1855 1856cat >>confdefs.h <<_ACEOF 1857#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1858_ACEOF 1859 1860cat >>confdefs.h <<_ACEOF 1861#define PACKAGE_VERSION "$PACKAGE_VERSION" 1862_ACEOF 1863 1864cat >>confdefs.h <<_ACEOF 1865#define PACKAGE_STRING "$PACKAGE_STRING" 1866_ACEOF 1867 1868cat >>confdefs.h <<_ACEOF 1869#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1870_ACEOF 1871 1872cat >>confdefs.h <<_ACEOF 1873#define PACKAGE_URL "$PACKAGE_URL" 1874_ACEOF 1875 1876 1877# Let the site file select an alternate cache file if it wants to. 1878# Prefer an explicitly selected file to automatically selected ones. 1879ac_site_file1=NONE 1880ac_site_file2=NONE 1881if test -n "$CONFIG_SITE"; then 1882 # We do not want a PATH search for config.site. 1883 case $CONFIG_SITE in #(( 1884 -*) ac_site_file1=./$CONFIG_SITE;; 1885 */*) ac_site_file1=$CONFIG_SITE;; 1886 *) ac_site_file1=./$CONFIG_SITE;; 1887 esac 1888elif test "x$prefix" != xNONE; then 1889 ac_site_file1=$prefix/share/config.site 1890 ac_site_file2=$prefix/etc/config.site 1891else 1892 ac_site_file1=$ac_default_prefix/share/config.site 1893 ac_site_file2=$ac_default_prefix/etc/config.site 1894fi 1895for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1896do 1897 test "x$ac_site_file" = xNONE && continue 1898 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1900$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1901 sed 's/^/| /' "$ac_site_file" >&5 1902 . "$ac_site_file" \ 1903 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1904$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1905as_fn_error $? "failed to load site script $ac_site_file 1906See \`config.log' for more details" "$LINENO" 5; } 1907 fi 1908done 1909 1910if test -r "$cache_file"; then 1911 # Some versions of bash will fail to source /dev/null (special files 1912 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1913 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1914 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1915$as_echo "$as_me: loading cache $cache_file" >&6;} 1916 case $cache_file in 1917 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1918 *) . "./$cache_file";; 1919 esac 1920 fi 1921else 1922 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1923$as_echo "$as_me: creating cache $cache_file" >&6;} 1924 >$cache_file 1925fi 1926 1927# Check that the precious variables saved in the cache have kept the same 1928# value. 1929ac_cache_corrupted=false 1930for ac_var in $ac_precious_vars; do 1931 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1932 eval ac_new_set=\$ac_env_${ac_var}_set 1933 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1934 eval ac_new_val=\$ac_env_${ac_var}_value 1935 case $ac_old_set,$ac_new_set in 1936 set,) 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1938$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1939 ac_cache_corrupted=: ;; 1940 ,set) 1941 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1942$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1943 ac_cache_corrupted=: ;; 1944 ,);; 1945 *) 1946 if test "x$ac_old_val" != "x$ac_new_val"; then 1947 # differences in whitespace do not lead to failure. 1948 ac_old_val_w=`echo x $ac_old_val` 1949 ac_new_val_w=`echo x $ac_new_val` 1950 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1951 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1952$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1953 ac_cache_corrupted=: 1954 else 1955 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1956$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1957 eval $ac_var=\$ac_old_val 1958 fi 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1960$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1961 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1962$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1963 fi;; 1964 esac 1965 # Pass precious variables to config.status. 1966 if test "$ac_new_set" = set; then 1967 case $ac_new_val in 1968 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1969 *) ac_arg=$ac_var=$ac_new_val ;; 1970 esac 1971 case " $ac_configure_args " in 1972 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1973 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1974 esac 1975 fi 1976done 1977if $ac_cache_corrupted; then 1978 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1979$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1980 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1981$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1982 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1983fi 1984## -------------------- ## 1985## Main body of script. ## 1986## -------------------- ## 1987 1988ac_ext=c 1989ac_cpp='$CPP $CPPFLAGS' 1990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1992ac_compiler_gnu=$ac_cv_c_compiler_gnu 1993 1994 1995 1996 1997# If the user didn't specify the $sysconfdir on the command line, let it 1998# be /etc, not /usr/local/etc or /usr/etc 1999if [ x$sysconfdir = 'x${prefix}/etc' ]; then 2000 sysconfdir='/usr/local/etc' 2001fi 2002 2003# Checks for programs. 2004ac_ext=c 2005ac_cpp='$CPP $CPPFLAGS' 2006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2008ac_compiler_gnu=$ac_cv_c_compiler_gnu 2009if test -n "$ac_tool_prefix"; then 2010 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2011set dummy ${ac_tool_prefix}gcc; ac_word=$2 2012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2013$as_echo_n "checking for $ac_word... " >&6; } 2014if ${ac_cv_prog_CC+:} false; then : 2015 $as_echo_n "(cached) " >&6 2016else 2017 if test -n "$CC"; then 2018 ac_cv_prog_CC="$CC" # Let the user override the test. 2019else 2020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2021for as_dir in $PATH 2022do 2023 IFS=$as_save_IFS 2024 test -z "$as_dir" && as_dir=. 2025 for ac_exec_ext in '' $ac_executable_extensions; do 2026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2027 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2029 break 2 2030 fi 2031done 2032 done 2033IFS=$as_save_IFS 2034 2035fi 2036fi 2037CC=$ac_cv_prog_CC 2038if test -n "$CC"; then 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2040$as_echo "$CC" >&6; } 2041else 2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2043$as_echo "no" >&6; } 2044fi 2045 2046 2047fi 2048if test -z "$ac_cv_prog_CC"; then 2049 ac_ct_CC=$CC 2050 # Extract the first word of "gcc", so it can be a program name with args. 2051set dummy gcc; ac_word=$2 2052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2053$as_echo_n "checking for $ac_word... " >&6; } 2054if ${ac_cv_prog_ac_ct_CC+:} false; then : 2055 $as_echo_n "(cached) " >&6 2056else 2057 if test -n "$ac_ct_CC"; then 2058 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2059else 2060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2061for as_dir in $PATH 2062do 2063 IFS=$as_save_IFS 2064 test -z "$as_dir" && as_dir=. 2065 for ac_exec_ext in '' $ac_executable_extensions; do 2066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2067 ac_cv_prog_ac_ct_CC="gcc" 2068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2069 break 2 2070 fi 2071done 2072 done 2073IFS=$as_save_IFS 2074 2075fi 2076fi 2077ac_ct_CC=$ac_cv_prog_ac_ct_CC 2078if test -n "$ac_ct_CC"; then 2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2080$as_echo "$ac_ct_CC" >&6; } 2081else 2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2083$as_echo "no" >&6; } 2084fi 2085 2086 if test "x$ac_ct_CC" = x; then 2087 CC="" 2088 else 2089 case $cross_compiling:$ac_tool_warned in 2090yes:) 2091{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2092$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2093ac_tool_warned=yes ;; 2094esac 2095 CC=$ac_ct_CC 2096 fi 2097else 2098 CC="$ac_cv_prog_CC" 2099fi 2100 2101if test -z "$CC"; then 2102 if test -n "$ac_tool_prefix"; then 2103 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2104set dummy ${ac_tool_prefix}cc; ac_word=$2 2105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2106$as_echo_n "checking for $ac_word... " >&6; } 2107if ${ac_cv_prog_CC+:} false; then : 2108 $as_echo_n "(cached) " >&6 2109else 2110 if test -n "$CC"; then 2111 ac_cv_prog_CC="$CC" # Let the user override the test. 2112else 2113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2114for as_dir in $PATH 2115do 2116 IFS=$as_save_IFS 2117 test -z "$as_dir" && as_dir=. 2118 for ac_exec_ext in '' $ac_executable_extensions; do 2119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2120 ac_cv_prog_CC="${ac_tool_prefix}cc" 2121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2122 break 2 2123 fi 2124done 2125 done 2126IFS=$as_save_IFS 2127 2128fi 2129fi 2130CC=$ac_cv_prog_CC 2131if test -n "$CC"; then 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2133$as_echo "$CC" >&6; } 2134else 2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2136$as_echo "no" >&6; } 2137fi 2138 2139 2140 fi 2141fi 2142if test -z "$CC"; then 2143 # Extract the first word of "cc", so it can be a program name with args. 2144set dummy cc; ac_word=$2 2145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2146$as_echo_n "checking for $ac_word... " >&6; } 2147if ${ac_cv_prog_CC+:} false; then : 2148 $as_echo_n "(cached) " >&6 2149else 2150 if test -n "$CC"; then 2151 ac_cv_prog_CC="$CC" # Let the user override the test. 2152else 2153 ac_prog_rejected=no 2154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2155for as_dir in $PATH 2156do 2157 IFS=$as_save_IFS 2158 test -z "$as_dir" && as_dir=. 2159 for ac_exec_ext in '' $ac_executable_extensions; do 2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2161 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2162 ac_prog_rejected=yes 2163 continue 2164 fi 2165 ac_cv_prog_CC="cc" 2166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2167 break 2 2168 fi 2169done 2170 done 2171IFS=$as_save_IFS 2172 2173if test $ac_prog_rejected = yes; then 2174 # We found a bogon in the path, so make sure we never use it. 2175 set dummy $ac_cv_prog_CC 2176 shift 2177 if test $# != 0; then 2178 # We chose a different compiler from the bogus one. 2179 # However, it has the same basename, so the bogon will be chosen 2180 # first if we set CC to just the basename; use the full file name. 2181 shift 2182 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2183 fi 2184fi 2185fi 2186fi 2187CC=$ac_cv_prog_CC 2188if test -n "$CC"; then 2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2190$as_echo "$CC" >&6; } 2191else 2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2193$as_echo "no" >&6; } 2194fi 2195 2196 2197fi 2198if test -z "$CC"; then 2199 if test -n "$ac_tool_prefix"; then 2200 for ac_prog in cl.exe 2201 do 2202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2203set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2205$as_echo_n "checking for $ac_word... " >&6; } 2206if ${ac_cv_prog_CC+:} false; then : 2207 $as_echo_n "(cached) " >&6 2208else 2209 if test -n "$CC"; then 2210 ac_cv_prog_CC="$CC" # Let the user override the test. 2211else 2212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2213for as_dir in $PATH 2214do 2215 IFS=$as_save_IFS 2216 test -z "$as_dir" && as_dir=. 2217 for ac_exec_ext in '' $ac_executable_extensions; do 2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2219 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2221 break 2 2222 fi 2223done 2224 done 2225IFS=$as_save_IFS 2226 2227fi 2228fi 2229CC=$ac_cv_prog_CC 2230if test -n "$CC"; then 2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2232$as_echo "$CC" >&6; } 2233else 2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2235$as_echo "no" >&6; } 2236fi 2237 2238 2239 test -n "$CC" && break 2240 done 2241fi 2242if test -z "$CC"; then 2243 ac_ct_CC=$CC 2244 for ac_prog in cl.exe 2245do 2246 # Extract the first word of "$ac_prog", so it can be a program name with args. 2247set dummy $ac_prog; ac_word=$2 2248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2249$as_echo_n "checking for $ac_word... " >&6; } 2250if ${ac_cv_prog_ac_ct_CC+:} false; then : 2251 $as_echo_n "(cached) " >&6 2252else 2253 if test -n "$ac_ct_CC"; then 2254 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2255else 2256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2257for as_dir in $PATH 2258do 2259 IFS=$as_save_IFS 2260 test -z "$as_dir" && as_dir=. 2261 for ac_exec_ext in '' $ac_executable_extensions; do 2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2263 ac_cv_prog_ac_ct_CC="$ac_prog" 2264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2265 break 2 2266 fi 2267done 2268 done 2269IFS=$as_save_IFS 2270 2271fi 2272fi 2273ac_ct_CC=$ac_cv_prog_ac_ct_CC 2274if test -n "$ac_ct_CC"; then 2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2276$as_echo "$ac_ct_CC" >&6; } 2277else 2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2279$as_echo "no" >&6; } 2280fi 2281 2282 2283 test -n "$ac_ct_CC" && break 2284done 2285 2286 if test "x$ac_ct_CC" = x; then 2287 CC="" 2288 else 2289 case $cross_compiling:$ac_tool_warned in 2290yes:) 2291{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2292$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2293ac_tool_warned=yes ;; 2294esac 2295 CC=$ac_ct_CC 2296 fi 2297fi 2298 2299fi 2300 2301 2302test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2303$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2304as_fn_error $? "no acceptable C compiler found in \$PATH 2305See \`config.log' for more details" "$LINENO" 5; } 2306 2307# Provide some information about the compiler. 2308$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2309set X $ac_compile 2310ac_compiler=$2 2311for ac_option in --version -v -V -qversion; do 2312 { { ac_try="$ac_compiler $ac_option >&5" 2313case "(($ac_try" in 2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2315 *) ac_try_echo=$ac_try;; 2316esac 2317eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2318$as_echo "$ac_try_echo"; } >&5 2319 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2320 ac_status=$? 2321 if test -s conftest.err; then 2322 sed '10a\ 2323... rest of stderr output deleted ... 2324 10q' conftest.err >conftest.er1 2325 cat conftest.er1 >&5 2326 fi 2327 rm -f conftest.er1 conftest.err 2328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2329 test $ac_status = 0; } 2330done 2331 2332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2333/* end confdefs.h. */ 2334 2335int 2336main () 2337{ 2338 2339 ; 2340 return 0; 2341} 2342_ACEOF 2343ac_clean_files_save=$ac_clean_files 2344ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2345# Try to create an executable without -o first, disregard a.out. 2346# It will help us diagnose broken compilers, and finding out an intuition 2347# of exeext. 2348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2349$as_echo_n "checking whether the C compiler works... " >&6; } 2350ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2351 2352# The possible output files: 2353ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2354 2355ac_rmfiles= 2356for ac_file in $ac_files 2357do 2358 case $ac_file in 2359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2360 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2361 esac 2362done 2363rm -f $ac_rmfiles 2364 2365if { { ac_try="$ac_link_default" 2366case "(($ac_try" in 2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2368 *) ac_try_echo=$ac_try;; 2369esac 2370eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2371$as_echo "$ac_try_echo"; } >&5 2372 (eval "$ac_link_default") 2>&5 2373 ac_status=$? 2374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2375 test $ac_status = 0; }; then : 2376 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2377# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2378# in a Makefile. We should not override ac_cv_exeext if it was cached, 2379# so that the user can short-circuit this test for compilers unknown to 2380# Autoconf. 2381for ac_file in $ac_files '' 2382do 2383 test -f "$ac_file" || continue 2384 case $ac_file in 2385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2386 ;; 2387 [ab].out ) 2388 # We found the default executable, but exeext='' is most 2389 # certainly right. 2390 break;; 2391 *.* ) 2392 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2393 then :; else 2394 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2395 fi 2396 # We set ac_cv_exeext here because the later test for it is not 2397 # safe: cross compilers may not add the suffix if given an `-o' 2398 # argument, so we may need to know it at that point already. 2399 # Even if this section looks crufty: it has the advantage of 2400 # actually working. 2401 break;; 2402 * ) 2403 break;; 2404 esac 2405done 2406test "$ac_cv_exeext" = no && ac_cv_exeext= 2407 2408else 2409 ac_file='' 2410fi 2411if test -z "$ac_file"; then : 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2413$as_echo "no" >&6; } 2414$as_echo "$as_me: failed program was:" >&5 2415sed 's/^/| /' conftest.$ac_ext >&5 2416 2417{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2419as_fn_error 77 "C compiler cannot create executables 2420See \`config.log' for more details" "$LINENO" 5; } 2421else 2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2423$as_echo "yes" >&6; } 2424fi 2425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2426$as_echo_n "checking for C compiler default output file name... " >&6; } 2427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2428$as_echo "$ac_file" >&6; } 2429ac_exeext=$ac_cv_exeext 2430 2431rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2432ac_clean_files=$ac_clean_files_save 2433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2434$as_echo_n "checking for suffix of executables... " >&6; } 2435if { { ac_try="$ac_link" 2436case "(($ac_try" in 2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2438 *) ac_try_echo=$ac_try;; 2439esac 2440eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2441$as_echo "$ac_try_echo"; } >&5 2442 (eval "$ac_link") 2>&5 2443 ac_status=$? 2444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2445 test $ac_status = 0; }; then : 2446 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2447# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2448# work properly (i.e., refer to `conftest.exe'), while it won't with 2449# `rm'. 2450for ac_file in conftest.exe conftest conftest.*; do 2451 test -f "$ac_file" || continue 2452 case $ac_file in 2453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2454 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2455 break;; 2456 * ) break;; 2457 esac 2458done 2459else 2460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2462as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2463See \`config.log' for more details" "$LINENO" 5; } 2464fi 2465rm -f conftest conftest$ac_cv_exeext 2466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2467$as_echo "$ac_cv_exeext" >&6; } 2468 2469rm -f conftest.$ac_ext 2470EXEEXT=$ac_cv_exeext 2471ac_exeext=$EXEEXT 2472cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2473/* end confdefs.h. */ 2474#include <stdio.h> 2475int 2476main () 2477{ 2478FILE *f = fopen ("conftest.out", "w"); 2479 return ferror (f) || fclose (f) != 0; 2480 2481 ; 2482 return 0; 2483} 2484_ACEOF 2485ac_clean_files="$ac_clean_files conftest.out" 2486# Check that the compiler produces executables we can run. If not, either 2487# the compiler is broken, or we cross compile. 2488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2489$as_echo_n "checking whether we are cross compiling... " >&6; } 2490if test "$cross_compiling" != yes; then 2491 { { ac_try="$ac_link" 2492case "(($ac_try" in 2493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2494 *) ac_try_echo=$ac_try;; 2495esac 2496eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2497$as_echo "$ac_try_echo"; } >&5 2498 (eval "$ac_link") 2>&5 2499 ac_status=$? 2500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2501 test $ac_status = 0; } 2502 if { ac_try='./conftest$ac_cv_exeext' 2503 { { case "(($ac_try" in 2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2505 *) ac_try_echo=$ac_try;; 2506esac 2507eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2508$as_echo "$ac_try_echo"; } >&5 2509 (eval "$ac_try") 2>&5 2510 ac_status=$? 2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2512 test $ac_status = 0; }; }; then 2513 cross_compiling=no 2514 else 2515 if test "$cross_compiling" = maybe; then 2516 cross_compiling=yes 2517 else 2518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2519$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2520as_fn_error $? "cannot run C compiled programs. 2521If you meant to cross compile, use \`--host'. 2522See \`config.log' for more details" "$LINENO" 5; } 2523 fi 2524 fi 2525fi 2526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2527$as_echo "$cross_compiling" >&6; } 2528 2529rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2530ac_clean_files=$ac_clean_files_save 2531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2532$as_echo_n "checking for suffix of object files... " >&6; } 2533if ${ac_cv_objext+:} false; then : 2534 $as_echo_n "(cached) " >&6 2535else 2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2537/* end confdefs.h. */ 2538 2539int 2540main () 2541{ 2542 2543 ; 2544 return 0; 2545} 2546_ACEOF 2547rm -f conftest.o conftest.obj 2548if { { ac_try="$ac_compile" 2549case "(($ac_try" in 2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2551 *) ac_try_echo=$ac_try;; 2552esac 2553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2554$as_echo "$ac_try_echo"; } >&5 2555 (eval "$ac_compile") 2>&5 2556 ac_status=$? 2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2558 test $ac_status = 0; }; then : 2559 for ac_file in conftest.o conftest.obj conftest.*; do 2560 test -f "$ac_file" || continue; 2561 case $ac_file in 2562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2563 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2564 break;; 2565 esac 2566done 2567else 2568 $as_echo "$as_me: failed program was:" >&5 2569sed 's/^/| /' conftest.$ac_ext >&5 2570 2571{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2572$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2573as_fn_error $? "cannot compute suffix of object files: cannot compile 2574See \`config.log' for more details" "$LINENO" 5; } 2575fi 2576rm -f conftest.$ac_cv_objext conftest.$ac_ext 2577fi 2578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2579$as_echo "$ac_cv_objext" >&6; } 2580OBJEXT=$ac_cv_objext 2581ac_objext=$OBJEXT 2582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2583$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2584if ${ac_cv_c_compiler_gnu+:} false; then : 2585 $as_echo_n "(cached) " >&6 2586else 2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2588/* end confdefs.h. */ 2589 2590int 2591main () 2592{ 2593#ifndef __GNUC__ 2594 choke me 2595#endif 2596 2597 ; 2598 return 0; 2599} 2600_ACEOF 2601if ac_fn_c_try_compile "$LINENO"; then : 2602 ac_compiler_gnu=yes 2603else 2604 ac_compiler_gnu=no 2605fi 2606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2607ac_cv_c_compiler_gnu=$ac_compiler_gnu 2608 2609fi 2610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2611$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2612if test $ac_compiler_gnu = yes; then 2613 GCC=yes 2614else 2615 GCC= 2616fi 2617ac_test_CFLAGS=${CFLAGS+set} 2618ac_save_CFLAGS=$CFLAGS 2619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2620$as_echo_n "checking whether $CC accepts -g... " >&6; } 2621if ${ac_cv_prog_cc_g+:} false; then : 2622 $as_echo_n "(cached) " >&6 2623else 2624 ac_save_c_werror_flag=$ac_c_werror_flag 2625 ac_c_werror_flag=yes 2626 ac_cv_prog_cc_g=no 2627 CFLAGS="-g" 2628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2629/* end confdefs.h. */ 2630 2631int 2632main () 2633{ 2634 2635 ; 2636 return 0; 2637} 2638_ACEOF 2639if ac_fn_c_try_compile "$LINENO"; then : 2640 ac_cv_prog_cc_g=yes 2641else 2642 CFLAGS="" 2643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2644/* end confdefs.h. */ 2645 2646int 2647main () 2648{ 2649 2650 ; 2651 return 0; 2652} 2653_ACEOF 2654if ac_fn_c_try_compile "$LINENO"; then : 2655 2656else 2657 ac_c_werror_flag=$ac_save_c_werror_flag 2658 CFLAGS="-g" 2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2660/* end confdefs.h. */ 2661 2662int 2663main () 2664{ 2665 2666 ; 2667 return 0; 2668} 2669_ACEOF 2670if ac_fn_c_try_compile "$LINENO"; then : 2671 ac_cv_prog_cc_g=yes 2672fi 2673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2674fi 2675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2676fi 2677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2678 ac_c_werror_flag=$ac_save_c_werror_flag 2679fi 2680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2681$as_echo "$ac_cv_prog_cc_g" >&6; } 2682if test "$ac_test_CFLAGS" = set; then 2683 CFLAGS=$ac_save_CFLAGS 2684elif test $ac_cv_prog_cc_g = yes; then 2685 if test "$GCC" = yes; then 2686 CFLAGS="-g -O2" 2687 else 2688 CFLAGS="-g" 2689 fi 2690else 2691 if test "$GCC" = yes; then 2692 CFLAGS="-O2" 2693 else 2694 CFLAGS= 2695 fi 2696fi 2697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2698$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2699if ${ac_cv_prog_cc_c89+:} false; then : 2700 $as_echo_n "(cached) " >&6 2701else 2702 ac_cv_prog_cc_c89=no 2703ac_save_CC=$CC 2704cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2705/* end confdefs.h. */ 2706#include <stdarg.h> 2707#include <stdio.h> 2708#include <sys/types.h> 2709#include <sys/stat.h> 2710/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2711struct buf { int x; }; 2712FILE * (*rcsopen) (struct buf *, struct stat *, int); 2713static char *e (p, i) 2714 char **p; 2715 int i; 2716{ 2717 return p[i]; 2718} 2719static char *f (char * (*g) (char **, int), char **p, ...) 2720{ 2721 char *s; 2722 va_list v; 2723 va_start (v,p); 2724 s = g (p, va_arg (v,int)); 2725 va_end (v); 2726 return s; 2727} 2728 2729/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2730 function prototypes and stuff, but not '\xHH' hex character constants. 2731 These don't provoke an error unfortunately, instead are silently treated 2732 as 'x'. The following induces an error, until -std is added to get 2733 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2734 array size at least. It's necessary to write '\x00'==0 to get something 2735 that's true only with -std. */ 2736int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2737 2738/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2739 inside strings and character constants. */ 2740#define FOO(x) 'x' 2741int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2742 2743int test (int i, double x); 2744struct s1 {int (*f) (int a);}; 2745struct s2 {int (*f) (double a);}; 2746int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2747int argc; 2748char **argv; 2749int 2750main () 2751{ 2752return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2753 ; 2754 return 0; 2755} 2756_ACEOF 2757for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2758 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2759do 2760 CC="$ac_save_CC $ac_arg" 2761 if ac_fn_c_try_compile "$LINENO"; then : 2762 ac_cv_prog_cc_c89=$ac_arg 2763fi 2764rm -f core conftest.err conftest.$ac_objext 2765 test "x$ac_cv_prog_cc_c89" != "xno" && break 2766done 2767rm -f conftest.$ac_ext 2768CC=$ac_save_CC 2769 2770fi 2771# AC_CACHE_VAL 2772case "x$ac_cv_prog_cc_c89" in 2773 x) 2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2775$as_echo "none needed" >&6; } ;; 2776 xno) 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2778$as_echo "unsupported" >&6; } ;; 2779 *) 2780 CC="$CC $ac_cv_prog_cc_c89" 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2782$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2783esac 2784if test "x$ac_cv_prog_cc_c89" != xno; then : 2785 2786fi 2787 2788ac_ext=c 2789ac_cpp='$CPP $CPPFLAGS' 2790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2792ac_compiler_gnu=$ac_cv_c_compiler_gnu 2793 2794ac_aux_dir= 2795for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2796 if test -f "$ac_dir/install-sh"; then 2797 ac_aux_dir=$ac_dir 2798 ac_install_sh="$ac_aux_dir/install-sh -c" 2799 break 2800 elif test -f "$ac_dir/install.sh"; then 2801 ac_aux_dir=$ac_dir 2802 ac_install_sh="$ac_aux_dir/install.sh -c" 2803 break 2804 elif test -f "$ac_dir/shtool"; then 2805 ac_aux_dir=$ac_dir 2806 ac_install_sh="$ac_aux_dir/shtool install -c" 2807 break 2808 fi 2809done 2810if test -z "$ac_aux_dir"; then 2811 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2812fi 2813 2814# These three variables are undocumented and unsupported, 2815# and are intended to be withdrawn in a future Autoconf release. 2816# They can cause serious problems if a builder's source tree is in a directory 2817# whose full name contains unusual characters. 2818ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2819ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2820ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2821 2822 2823# Find a good install program. We prefer a C program (faster), 2824# so one script is as good as another. But avoid the broken or 2825# incompatible versions: 2826# SysV /etc/install, /usr/sbin/install 2827# SunOS /usr/etc/install 2828# IRIX /sbin/install 2829# AIX /bin/install 2830# AmigaOS /C/install, which installs bootblocks on floppy discs 2831# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2832# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2833# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2834# OS/2's system install, which has a completely different semantic 2835# ./install, which can be erroneously created by make from ./install.sh. 2836# Reject install programs that cannot install multiple files. 2837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2838$as_echo_n "checking for a BSD-compatible install... " >&6; } 2839if test -z "$INSTALL"; then 2840if ${ac_cv_path_install+:} false; then : 2841 $as_echo_n "(cached) " >&6 2842else 2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2844for as_dir in $PATH 2845do 2846 IFS=$as_save_IFS 2847 test -z "$as_dir" && as_dir=. 2848 # Account for people who put trailing slashes in PATH elements. 2849case $as_dir/ in #(( 2850 ./ | .// | /[cC]/* | \ 2851 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2852 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2853 /usr/ucb/* ) ;; 2854 *) 2855 # OSF1 and SCO ODT 3.0 have their own names for install. 2856 # Don't use installbsd from OSF since it installs stuff as root 2857 # by default. 2858 for ac_prog in ginstall scoinst install; do 2859 for ac_exec_ext in '' $ac_executable_extensions; do 2860 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2861 if test $ac_prog = install && 2862 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2863 # AIX install. It has an incompatible calling convention. 2864 : 2865 elif test $ac_prog = install && 2866 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2867 # program-specific install script used by HP pwplus--don't use. 2868 : 2869 else 2870 rm -rf conftest.one conftest.two conftest.dir 2871 echo one > conftest.one 2872 echo two > conftest.two 2873 mkdir conftest.dir 2874 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2875 test -s conftest.one && test -s conftest.two && 2876 test -s conftest.dir/conftest.one && 2877 test -s conftest.dir/conftest.two 2878 then 2879 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2880 break 3 2881 fi 2882 fi 2883 fi 2884 done 2885 done 2886 ;; 2887esac 2888 2889 done 2890IFS=$as_save_IFS 2891 2892rm -rf conftest.one conftest.two conftest.dir 2893 2894fi 2895 if test "${ac_cv_path_install+set}" = set; then 2896 INSTALL=$ac_cv_path_install 2897 else 2898 # As a last resort, use the slow shell script. Don't cache a 2899 # value for INSTALL within a source directory, because that will 2900 # break other packages using the cache if that directory is 2901 # removed, or if the value is a relative name. 2902 INSTALL=$ac_install_sh 2903 fi 2904fi 2905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2906$as_echo "$INSTALL" >&6; } 2907 2908# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2909# It thinks the first close brace ends the variable substitution. 2910test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2911 2912test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2913 2914test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2915 2916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2917$as_echo_n "checking whether ln -s works... " >&6; } 2918LN_S=$as_ln_s 2919if test "$LN_S" = "ln -s"; then 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2921$as_echo "yes" >&6; } 2922else 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2924$as_echo "no, using $LN_S" >&6; } 2925fi 2926 2927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2928$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2929set x ${MAKE-make} 2930ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2931if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2932 $as_echo_n "(cached) " >&6 2933else 2934 cat >conftest.make <<\_ACEOF 2935SHELL = /bin/sh 2936all: 2937 @echo '@@@%%%=$(MAKE)=@@@%%%' 2938_ACEOF 2939# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2940case `${MAKE-make} -f conftest.make 2>/dev/null` in 2941 *@@@%%%=?*=@@@%%%*) 2942 eval ac_cv_prog_make_${ac_make}_set=yes;; 2943 *) 2944 eval ac_cv_prog_make_${ac_make}_set=no;; 2945esac 2946rm -f conftest.make 2947fi 2948if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2950$as_echo "yes" >&6; } 2951 SET_MAKE= 2952else 2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2954$as_echo "no" >&6; } 2955 SET_MAKE="MAKE=${MAKE-make}" 2956fi 2957 2958 2959 2960# 2961# Test for libxml 2962# 2963xml_version= 2964# Extract the first word of "xml2-config", so it can be a program name with args. 2965set dummy xml2-config; ac_word=$2 2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2967$as_echo_n "checking for $ac_word... " >&6; } 2968if ${ac_cv_path_XML2_CONFIG+:} false; then : 2969 $as_echo_n "(cached) " >&6 2970else 2971 case $XML2_CONFIG in 2972 [\\/]* | ?:[\\/]*) 2973 ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path. 2974 ;; 2975 *) 2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2977for as_dir in $PATH 2978do 2979 IFS=$as_save_IFS 2980 test -z "$as_dir" && as_dir=. 2981 for ac_exec_ext in '' $ac_executable_extensions; do 2982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2983 ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2985 break 2 2986 fi 2987done 2988 done 2989IFS=$as_save_IFS 2990 2991 ;; 2992esac 2993fi 2994XML2_CONFIG=$ac_cv_path_XML2_CONFIG 2995if test -n "$XML2_CONFIG"; then 2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5 2997$as_echo "$XML2_CONFIG" >&6; } 2998else 2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3000$as_echo "no" >&6; } 3001fi 3002 3003 3004if test ! -z "$XML2_CONFIG"; then 3005 xml_version=libxml2 3006 XML_CFLAGS=`$XML2_CONFIG --cflags` 3007 XML_LIBS=`$XML2_CONFIG --libs` 3008fi 3009if test -z "$xml_version"; then 3010 # Extract the first word of "xml-config", so it can be a program name with args. 3011set dummy xml-config; ac_word=$2 3012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3013$as_echo_n "checking for $ac_word... " >&6; } 3014if ${ac_cv_path_XML_CONFIG+:} false; then : 3015 $as_echo_n "(cached) " >&6 3016else 3017 case $XML_CONFIG in 3018 [\\/]* | ?:[\\/]*) 3019 ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a path. 3020 ;; 3021 *) 3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3023for as_dir in $PATH 3024do 3025 IFS=$as_save_IFS 3026 test -z "$as_dir" && as_dir=. 3027 for ac_exec_ext in '' $ac_executable_extensions; do 3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3029 ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3031 break 2 3032 fi 3033done 3034 done 3035IFS=$as_save_IFS 3036 3037 ;; 3038esac 3039fi 3040XML_CONFIG=$ac_cv_path_XML_CONFIG 3041if test -n "$XML_CONFIG"; then 3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5 3043$as_echo "$XML_CONFIG" >&6; } 3044else 3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3046$as_echo "no" >&6; } 3047fi 3048 3049 3050 if test ! -z "$XML_CONFIG"; then 3051 xml_version=libxml 3052 XML_CFLAGS=`$XML_CONFIG --cflags` 3053 XML_LIBS=`$XML_CONFIG --libs` 3054 fi 3055fi 3056 3057 3058 3059# Checks for header files. 3060 3061ac_header_dirent=no 3062for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 3063 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 3064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 3065$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 3066if eval \${$as_ac_Header+:} false; then : 3067 $as_echo_n "(cached) " >&6 3068else 3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3070/* end confdefs.h. */ 3071#include <sys/types.h> 3072#include <$ac_hdr> 3073 3074int 3075main () 3076{ 3077if ((DIR *) 0) 3078return 0; 3079 ; 3080 return 0; 3081} 3082_ACEOF 3083if ac_fn_c_try_compile "$LINENO"; then : 3084 eval "$as_ac_Header=yes" 3085else 3086 eval "$as_ac_Header=no" 3087fi 3088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3089fi 3090eval ac_res=\$$as_ac_Header 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 3092$as_echo "$ac_res" >&6; } 3093if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3094 cat >>confdefs.h <<_ACEOF 3095#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 3096_ACEOF 3097 3098ac_header_dirent=$ac_hdr; break 3099fi 3100 3101done 3102# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 3103if test $ac_header_dirent = dirent.h; then 3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 3105$as_echo_n "checking for library containing opendir... " >&6; } 3106if ${ac_cv_search_opendir+:} false; then : 3107 $as_echo_n "(cached) " >&6 3108else 3109 ac_func_search_save_LIBS=$LIBS 3110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3111/* end confdefs.h. */ 3112 3113/* Override any GCC internal prototype to avoid an error. 3114 Use char because int might match the return type of a GCC 3115 builtin and then its argument prototype would still apply. */ 3116#ifdef __cplusplus 3117extern "C" 3118#endif 3119char opendir (); 3120int 3121main () 3122{ 3123return opendir (); 3124 ; 3125 return 0; 3126} 3127_ACEOF 3128for ac_lib in '' dir; do 3129 if test -z "$ac_lib"; then 3130 ac_res="none required" 3131 else 3132 ac_res=-l$ac_lib 3133 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3134 fi 3135 if ac_fn_c_try_link "$LINENO"; then : 3136 ac_cv_search_opendir=$ac_res 3137fi 3138rm -f core conftest.err conftest.$ac_objext \ 3139 conftest$ac_exeext 3140 if ${ac_cv_search_opendir+:} false; then : 3141 break 3142fi 3143done 3144if ${ac_cv_search_opendir+:} false; then : 3145 3146else 3147 ac_cv_search_opendir=no 3148fi 3149rm conftest.$ac_ext 3150LIBS=$ac_func_search_save_LIBS 3151fi 3152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 3153$as_echo "$ac_cv_search_opendir" >&6; } 3154ac_res=$ac_cv_search_opendir 3155if test "$ac_res" != no; then : 3156 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3157 3158fi 3159 3160else 3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 3162$as_echo_n "checking for library containing opendir... " >&6; } 3163if ${ac_cv_search_opendir+:} false; then : 3164 $as_echo_n "(cached) " >&6 3165else 3166 ac_func_search_save_LIBS=$LIBS 3167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3168/* end confdefs.h. */ 3169 3170/* Override any GCC internal prototype to avoid an error. 3171 Use char because int might match the return type of a GCC 3172 builtin and then its argument prototype would still apply. */ 3173#ifdef __cplusplus 3174extern "C" 3175#endif 3176char opendir (); 3177int 3178main () 3179{ 3180return opendir (); 3181 ; 3182 return 0; 3183} 3184_ACEOF 3185for ac_lib in '' x; do 3186 if test -z "$ac_lib"; then 3187 ac_res="none required" 3188 else 3189 ac_res=-l$ac_lib 3190 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3191 fi 3192 if ac_fn_c_try_link "$LINENO"; then : 3193 ac_cv_search_opendir=$ac_res 3194fi 3195rm -f core conftest.err conftest.$ac_objext \ 3196 conftest$ac_exeext 3197 if ${ac_cv_search_opendir+:} false; then : 3198 break 3199fi 3200done 3201if ${ac_cv_search_opendir+:} false; then : 3202 3203else 3204 ac_cv_search_opendir=no 3205fi 3206rm conftest.$ac_ext 3207LIBS=$ac_func_search_save_LIBS 3208fi 3209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 3210$as_echo "$ac_cv_search_opendir" >&6; } 3211ac_res=$ac_cv_search_opendir 3212if test "$ac_res" != no; then : 3213 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3214 3215fi 3216 3217fi 3218 3219ac_ext=c 3220ac_cpp='$CPP $CPPFLAGS' 3221ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3222ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3223ac_compiler_gnu=$ac_cv_c_compiler_gnu 3224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3225$as_echo_n "checking how to run the C preprocessor... " >&6; } 3226# On Suns, sometimes $CPP names a directory. 3227if test -n "$CPP" && test -d "$CPP"; then 3228 CPP= 3229fi 3230if test -z "$CPP"; then 3231 if ${ac_cv_prog_CPP+:} false; then : 3232 $as_echo_n "(cached) " >&6 3233else 3234 # Double quotes because CPP needs to be expanded 3235 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3236 do 3237 ac_preproc_ok=false 3238for ac_c_preproc_warn_flag in '' yes 3239do 3240 # Use a header file that comes with gcc, so configuring glibc 3241 # with a fresh cross-compiler works. 3242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3243 # <limits.h> exists even on freestanding compilers. 3244 # On the NeXT, cc -E runs the code through the compiler's parser, 3245 # not just through cpp. "Syntax error" is here to catch this case. 3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3247/* end confdefs.h. */ 3248#ifdef __STDC__ 3249# include <limits.h> 3250#else 3251# include <assert.h> 3252#endif 3253 Syntax error 3254_ACEOF 3255if ac_fn_c_try_cpp "$LINENO"; then : 3256 3257else 3258 # Broken: fails on valid input. 3259continue 3260fi 3261rm -f conftest.err conftest.i conftest.$ac_ext 3262 3263 # OK, works on sane cases. Now check whether nonexistent headers 3264 # can be detected and how. 3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3266/* end confdefs.h. */ 3267#include <ac_nonexistent.h> 3268_ACEOF 3269if ac_fn_c_try_cpp "$LINENO"; then : 3270 # Broken: success on invalid input. 3271continue 3272else 3273 # Passes both tests. 3274ac_preproc_ok=: 3275break 3276fi 3277rm -f conftest.err conftest.i conftest.$ac_ext 3278 3279done 3280# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3281rm -f conftest.i conftest.err conftest.$ac_ext 3282if $ac_preproc_ok; then : 3283 break 3284fi 3285 3286 done 3287 ac_cv_prog_CPP=$CPP 3288 3289fi 3290 CPP=$ac_cv_prog_CPP 3291else 3292 ac_cv_prog_CPP=$CPP 3293fi 3294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3295$as_echo "$CPP" >&6; } 3296ac_preproc_ok=false 3297for ac_c_preproc_warn_flag in '' yes 3298do 3299 # Use a header file that comes with gcc, so configuring glibc 3300 # with a fresh cross-compiler works. 3301 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3302 # <limits.h> exists even on freestanding compilers. 3303 # On the NeXT, cc -E runs the code through the compiler's parser, 3304 # not just through cpp. "Syntax error" is here to catch this case. 3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3306/* end confdefs.h. */ 3307#ifdef __STDC__ 3308# include <limits.h> 3309#else 3310# include <assert.h> 3311#endif 3312 Syntax error 3313_ACEOF 3314if ac_fn_c_try_cpp "$LINENO"; then : 3315 3316else 3317 # Broken: fails on valid input. 3318continue 3319fi 3320rm -f conftest.err conftest.i conftest.$ac_ext 3321 3322 # OK, works on sane cases. Now check whether nonexistent headers 3323 # can be detected and how. 3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3325/* end confdefs.h. */ 3326#include <ac_nonexistent.h> 3327_ACEOF 3328if ac_fn_c_try_cpp "$LINENO"; then : 3329 # Broken: success on invalid input. 3330continue 3331else 3332 # Passes both tests. 3333ac_preproc_ok=: 3334break 3335fi 3336rm -f conftest.err conftest.i conftest.$ac_ext 3337 3338done 3339# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3340rm -f conftest.i conftest.err conftest.$ac_ext 3341if $ac_preproc_ok; then : 3342 3343else 3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3346as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3347See \`config.log' for more details" "$LINENO" 5; } 3348fi 3349 3350ac_ext=c 3351ac_cpp='$CPP $CPPFLAGS' 3352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3354ac_compiler_gnu=$ac_cv_c_compiler_gnu 3355 3356 3357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3358$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3359if ${ac_cv_path_GREP+:} false; then : 3360 $as_echo_n "(cached) " >&6 3361else 3362 if test -z "$GREP"; then 3363 ac_path_GREP_found=false 3364 # Loop through the user's path and test for each of PROGNAME-LIST 3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3366for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3367do 3368 IFS=$as_save_IFS 3369 test -z "$as_dir" && as_dir=. 3370 for ac_prog in grep ggrep; do 3371 for ac_exec_ext in '' $ac_executable_extensions; do 3372 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3373 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3374# Check for GNU ac_path_GREP and select it if it is found. 3375 # Check for GNU $ac_path_GREP 3376case `"$ac_path_GREP" --version 2>&1` in 3377*GNU*) 3378 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3379*) 3380 ac_count=0 3381 $as_echo_n 0123456789 >"conftest.in" 3382 while : 3383 do 3384 cat "conftest.in" "conftest.in" >"conftest.tmp" 3385 mv "conftest.tmp" "conftest.in" 3386 cp "conftest.in" "conftest.nl" 3387 $as_echo 'GREP' >> "conftest.nl" 3388 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3390 as_fn_arith $ac_count + 1 && ac_count=$as_val 3391 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3392 # Best one so far, save it but keep looking for a better one 3393 ac_cv_path_GREP="$ac_path_GREP" 3394 ac_path_GREP_max=$ac_count 3395 fi 3396 # 10*(2^10) chars as input seems more than enough 3397 test $ac_count -gt 10 && break 3398 done 3399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3400esac 3401 3402 $ac_path_GREP_found && break 3 3403 done 3404 done 3405 done 3406IFS=$as_save_IFS 3407 if test -z "$ac_cv_path_GREP"; then 3408 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3409 fi 3410else 3411 ac_cv_path_GREP=$GREP 3412fi 3413 3414fi 3415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3416$as_echo "$ac_cv_path_GREP" >&6; } 3417 GREP="$ac_cv_path_GREP" 3418 3419 3420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3421$as_echo_n "checking for egrep... " >&6; } 3422if ${ac_cv_path_EGREP+:} false; then : 3423 $as_echo_n "(cached) " >&6 3424else 3425 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3426 then ac_cv_path_EGREP="$GREP -E" 3427 else 3428 if test -z "$EGREP"; then 3429 ac_path_EGREP_found=false 3430 # Loop through the user's path and test for each of PROGNAME-LIST 3431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3432for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3433do 3434 IFS=$as_save_IFS 3435 test -z "$as_dir" && as_dir=. 3436 for ac_prog in egrep; do 3437 for ac_exec_ext in '' $ac_executable_extensions; do 3438 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3439 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3440# Check for GNU ac_path_EGREP and select it if it is found. 3441 # Check for GNU $ac_path_EGREP 3442case `"$ac_path_EGREP" --version 2>&1` in 3443*GNU*) 3444 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3445*) 3446 ac_count=0 3447 $as_echo_n 0123456789 >"conftest.in" 3448 while : 3449 do 3450 cat "conftest.in" "conftest.in" >"conftest.tmp" 3451 mv "conftest.tmp" "conftest.in" 3452 cp "conftest.in" "conftest.nl" 3453 $as_echo 'EGREP' >> "conftest.nl" 3454 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3456 as_fn_arith $ac_count + 1 && ac_count=$as_val 3457 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3458 # Best one so far, save it but keep looking for a better one 3459 ac_cv_path_EGREP="$ac_path_EGREP" 3460 ac_path_EGREP_max=$ac_count 3461 fi 3462 # 10*(2^10) chars as input seems more than enough 3463 test $ac_count -gt 10 && break 3464 done 3465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3466esac 3467 3468 $ac_path_EGREP_found && break 3 3469 done 3470 done 3471 done 3472IFS=$as_save_IFS 3473 if test -z "$ac_cv_path_EGREP"; then 3474 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3475 fi 3476else 3477 ac_cv_path_EGREP=$EGREP 3478fi 3479 3480 fi 3481fi 3482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3483$as_echo "$ac_cv_path_EGREP" >&6; } 3484 EGREP="$ac_cv_path_EGREP" 3485 3486 3487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3488$as_echo_n "checking for ANSI C header files... " >&6; } 3489if ${ac_cv_header_stdc+:} false; then : 3490 $as_echo_n "(cached) " >&6 3491else 3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3493/* end confdefs.h. */ 3494#include <stdlib.h> 3495#include <stdarg.h> 3496#include <string.h> 3497#include <float.h> 3498 3499int 3500main () 3501{ 3502 3503 ; 3504 return 0; 3505} 3506_ACEOF 3507if ac_fn_c_try_compile "$LINENO"; then : 3508 ac_cv_header_stdc=yes 3509else 3510 ac_cv_header_stdc=no 3511fi 3512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3513 3514if test $ac_cv_header_stdc = yes; then 3515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3517/* end confdefs.h. */ 3518#include <string.h> 3519 3520_ACEOF 3521if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3522 $EGREP "memchr" >/dev/null 2>&1; then : 3523 3524else 3525 ac_cv_header_stdc=no 3526fi 3527rm -f conftest* 3528 3529fi 3530 3531if test $ac_cv_header_stdc = yes; then 3532 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3534/* end confdefs.h. */ 3535#include <stdlib.h> 3536 3537_ACEOF 3538if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3539 $EGREP "free" >/dev/null 2>&1; then : 3540 3541else 3542 ac_cv_header_stdc=no 3543fi 3544rm -f conftest* 3545 3546fi 3547 3548if test $ac_cv_header_stdc = yes; then 3549 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3550 if test "$cross_compiling" = yes; then : 3551 : 3552else 3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3554/* end confdefs.h. */ 3555#include <ctype.h> 3556#include <stdlib.h> 3557#if ((' ' & 0x0FF) == 0x020) 3558# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3559# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3560#else 3561# define ISLOWER(c) \ 3562 (('a' <= (c) && (c) <= 'i') \ 3563 || ('j' <= (c) && (c) <= 'r') \ 3564 || ('s' <= (c) && (c) <= 'z')) 3565# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3566#endif 3567 3568#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3569int 3570main () 3571{ 3572 int i; 3573 for (i = 0; i < 256; i++) 3574 if (XOR (islower (i), ISLOWER (i)) 3575 || toupper (i) != TOUPPER (i)) 3576 return 2; 3577 return 0; 3578} 3579_ACEOF 3580if ac_fn_c_try_run "$LINENO"; then : 3581 3582else 3583 ac_cv_header_stdc=no 3584fi 3585rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3586 conftest.$ac_objext conftest.beam conftest.$ac_ext 3587fi 3588 3589fi 3590fi 3591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3592$as_echo "$ac_cv_header_stdc" >&6; } 3593if test $ac_cv_header_stdc = yes; then 3594 3595$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3596 3597fi 3598 3599 3600# Checks for typedefs, structures, and compiler characteristics. 3601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 3602$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 3603if ${ac_cv_c_const+:} false; then : 3604 $as_echo_n "(cached) " >&6 3605else 3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3607/* end confdefs.h. */ 3608 3609int 3610main () 3611{ 3612/* FIXME: Include the comments suggested by Paul. */ 3613#ifndef __cplusplus 3614 /* Ultrix mips cc rejects this. */ 3615 typedef int charset[2]; 3616 const charset cs; 3617 /* SunOS 4.1.1 cc rejects this. */ 3618 char const *const *pcpcc; 3619 char **ppc; 3620 /* NEC SVR4.0.2 mips cc rejects this. */ 3621 struct point {int x, y;}; 3622 static struct point const zero = {0,0}; 3623 /* AIX XL C 1.02.0.0 rejects this. 3624 It does not let you subtract one const X* pointer from another in 3625 an arm of an if-expression whose if-part is not a constant 3626 expression */ 3627 const char *g = "string"; 3628 pcpcc = &g + (g ? g-g : 0); 3629 /* HPUX 7.0 cc rejects these. */ 3630 ++pcpcc; 3631 ppc = (char**) pcpcc; 3632 pcpcc = (char const *const *) ppc; 3633 { /* SCO 3.2v4 cc rejects this. */ 3634 char *t; 3635 char const *s = 0 ? (char *) 0 : (char const *) 0; 3636 3637 *t++ = 0; 3638 if (s) return 0; 3639 } 3640 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 3641 int x[] = {25, 17}; 3642 const int *foo = &x[0]; 3643 ++foo; 3644 } 3645 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 3646 typedef const int *iptr; 3647 iptr p = 0; 3648 ++p; 3649 } 3650 { /* AIX XL C 1.02.0.0 rejects this saying 3651 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 3652 struct s { int j; const int *ap[3]; }; 3653 struct s *b; b->j = 5; 3654 } 3655 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3656 const int foo = 10; 3657 if (!foo) return 0; 3658 } 3659 return !cs[0] && !zero.x; 3660#endif 3661 3662 ; 3663 return 0; 3664} 3665_ACEOF 3666if ac_fn_c_try_compile "$LINENO"; then : 3667 ac_cv_c_const=yes 3668else 3669 ac_cv_c_const=no 3670fi 3671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3672fi 3673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 3674$as_echo "$ac_cv_c_const" >&6; } 3675if test $ac_cv_c_const = no; then 3676 3677$as_echo "#define const /**/" >>confdefs.h 3678 3679fi 3680 3681 3682# Checks for library functions. 3683for ac_func in strdup strspn strstr 3684do : 3685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 3686ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 3687if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 3688 cat >>confdefs.h <<_ACEOF 3689#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 3690_ACEOF 3691 3692fi 3693done 3694 3695 3696# 3697# augment CFLAGS and LIBS temporarily while searching for the xml* functions 3698# 3699save_CFLAGS="$CFLAGS" 3700save_LIBS="$LIBS" 3701CFLAGS="$XML_CFLAGS $CFLAGS" 3702LIBS="$XML_LIBS $LIBS" 3703for ac_func in xmlParseFile xmlCreatePushParserCtxt xmlParseChunk xmlFreeParserCtxt xmlFreeDoc xmlDocGetRootElement xmlNodeListGetString 3704do : 3705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 3706ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 3707if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 3708 cat >>confdefs.h <<_ACEOF 3709#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 3710_ACEOF 3711 3712fi 3713done 3714 3715CFLAGS="$save_CFLAGS" 3716LIBS="$save_LIBS" 3717 3718# Checks for programs/directories which are used by Foomtic 3719 3720SPOOLSEARCHPATH=/var/spool:/usr/spool/:/usr/local/spool:/usr/local/var/spool:/var/local/spool:/var/local 3721LOGSEARCHPATH=/var/log:/usr/log:/usr/local/log:/usr/local/var/log:/var/local/log:/var/local 3722SYSCONFSEARCHPATH=/etc:/usr/etc:/usr/local/etc:/var/etc 3723SBINSEARCHPATH=/usr/sbin:/sbin:/usr/local/sbin:/etc/sbin 3724BINSEARCHPATH=/usr/bin:/bin:/usr/local/bin 3725DATASEARCHPATH=/usr/share:/usr/local/share:$libdir:/usr/local/lib:/opt 3726LIBSEARCHPATH=$libdir:/lib:/usr/local/lib:/usr/local/libexec:/opt 3727PTALPIPESSEARCHPATH=/var/run:/var:/var/ptal:/usr/var/run:/usr/var:/usr/var/ptal:/usr/local/var/run:/usr/local/var:/usr/local/var/ptal:/dev:/dev/ptal 3728MTINKPIPESSEARCHPATH=/var:/var/run:/usr/var/:/usr/var/run:/usr/local/var:/usr/local/var/run:/dev 3729 3730# There is a bug in some versions of autoconf that causes 3731# bad expansion of paths in the AC_PATH_* macros. This is very annoying 3732 3733BSB=$BINSEARCHPATH:$SBINSEARCHPATH 3734SBB=$SBINSEARCHPATH:$BINSEARCHPATH 3735SYS_LIB_PATH=$SYSCONFSEARCHPATH:$LIBSEARCHPATH 3736 3737# Get the operating system and version number... 3738uname=`uname` 3739uversion=`uname -r | sed -e '1,$s/[^0-9]//g'` 3740if test x$uname = xIRIX64; then 3741 uname="IRIX" 3742fi 3743 3744if test x$uname = xIRIX; then 3745 SPOOLSEARCHPATH="/usr/freeware/var/spool:$SPOOLSEARCHPATH" 3746 LOGSEARCHPATH="/usr/freeware/var/log:$LOGSEARCHPATH" 3747 SYSCONFSEARCHPATH="/usr/freeware/etc:$SYSCONFSEARCHPATH" 3748 BINSEARCHPATH="/usr/freeware/bin:$BINSEARCHPATH" 3749 SBINSEARCHPATH="/usr/freeware/sbin:$BINSEARCHPATH" 3750 DATASEARCHPATH="/usr/freeware/share:$DATASEARCHPATH" 3751 LIBSEARCHPATH="/usr/freeware/lib32:/usr/freeware/lib:$LIBSEARCHPATH" 3752 PTALPIPESSEARCHPATH="/usr/freeware/var/run:$PTALPIPESSEARCHPATH" 3753 MTINKPIPESSEARCHPATH="/usr/freeware/var/run:$MTINKPIPESSEARCHPATH" 3754fi 3755 3756v="cannot open"; 3757# Extract the first word of "file", so it can be a program name with args. 3758set dummy file; ac_word=$2 3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3760$as_echo_n "checking for $ac_word... " >&6; } 3761if ${ac_cv_path_FILEUTIL+:} false; then : 3762 $as_echo_n "(cached) " >&6 3763else 3764 case $FILEUTIL in 3765 [\\/]* | ?:[\\/]*) 3766 ac_cv_path_FILEUTIL="$FILEUTIL" # Let the user override the test with a path. 3767 ;; 3768 *) 3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3770for as_dir in $BSB 3771do 3772 IFS=$as_save_IFS 3773 test -z "$as_dir" && as_dir=. 3774 for ac_exec_ext in '' $ac_executable_extensions; do 3775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3776 ac_cv_path_FILEUTIL="$as_dir/$ac_word$ac_exec_ext" 3777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3778 break 2 3779 fi 3780done 3781 done 3782IFS=$as_save_IFS 3783 3784 test -z "$ac_cv_path_FILEUTIL" && ac_cv_path_FILEUTIL="FILE_UTILITY_NOT_FOUND" 3785 ;; 3786esac 3787fi 3788FILEUTIL=$ac_cv_path_FILEUTIL 3789if test -n "$FILEUTIL"; then 3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FILEUTIL" >&5 3791$as_echo "$FILEUTIL" >&6; } 3792else 3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3794$as_echo "no" >&6; } 3795fi 3796 3797if test "$FILEUTIL" != "FILE_UTILITY_NOT_FOUND" ; then 3798 v=`${FILEUTIL} - </etc/passwd 2>/dev/null`; 3799fi 3800if expr "$v" : ".*cannot open.*" >/dev/null; then 3801 echo "Please use a file utility that handles 'file - 'correctly"; 3802 echo "You can obtain one from: ftp://ftp.astron.com/pub/file/"; 3803 echo " or ftp://ftp.lprng.com/pub/LPRng/UNIXTOOLS/file/"; 3804 echo "if necessary, use the FILEUTIL environment variable to specify the path" 3805 exit 1 3806fi 3807 3808# Extract the first word of "cat", so it can be a program name with args. 3809set dummy cat; ac_word=$2 3810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3811$as_echo_n "checking for $ac_word... " >&6; } 3812if ${ac_cv_path_CAT+:} false; then : 3813 $as_echo_n "(cached) " >&6 3814else 3815 case $CAT in 3816 [\\/]* | ?:[\\/]*) 3817 ac_cv_path_CAT="$CAT" # Let the user override the test with a path. 3818 ;; 3819 *) 3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3821for as_dir in $BSB 3822do 3823 IFS=$as_save_IFS 3824 test -z "$as_dir" && as_dir=. 3825 for ac_exec_ext in '' $ac_executable_extensions; do 3826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3827 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" 3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3829 break 2 3830 fi 3831done 3832 done 3833IFS=$as_save_IFS 3834 3835 test -z "$ac_cv_path_CAT" && ac_cv_path_CAT="CAT_NOT_FOUND" 3836 ;; 3837esac 3838fi 3839CAT=$ac_cv_path_CAT 3840if test -n "$CAT"; then 3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5 3842$as_echo "$CAT" >&6; } 3843else 3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3845$as_echo "no" >&6; } 3846fi 3847 3848 3849# Extract the first word of "gs", so it can be a program name with args. 3850set dummy gs; ac_word=$2 3851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3852$as_echo_n "checking for $ac_word... " >&6; } 3853if ${ac_cv_path_GS+:} false; then : 3854 $as_echo_n "(cached) " >&6 3855else 3856 case $GS in 3857 [\\/]* | ?:[\\/]*) 3858 ac_cv_path_GS="$GS" # Let the user override the test with a path. 3859 ;; 3860 *) 3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3862for as_dir in $BSB 3863do 3864 IFS=$as_save_IFS 3865 test -z "$as_dir" && as_dir=. 3866 for ac_exec_ext in '' $ac_executable_extensions; do 3867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3868 ac_cv_path_GS="$as_dir/$ac_word$ac_exec_ext" 3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3870 break 2 3871 fi 3872done 3873 done 3874IFS=$as_save_IFS 3875 3876 test -z "$ac_cv_path_GS" && ac_cv_path_GS="GHOSTSCRIPT_NOT_FOUND" 3877 ;; 3878esac 3879fi 3880GS=$ac_cv_path_GS 3881if test -n "$GS"; then 3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5 3883$as_echo "$GS" >&6; } 3884else 3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3886$as_echo "no" >&6; } 3887fi 3888 3889 3890# Extract the first word of "a2ps", so it can be a program name with args. 3891set dummy a2ps; ac_word=$2 3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3893$as_echo_n "checking for $ac_word... " >&6; } 3894if ${ac_cv_path_A2PS+:} false; then : 3895 $as_echo_n "(cached) " >&6 3896else 3897 case $A2PS in 3898 [\\/]* | ?:[\\/]*) 3899 ac_cv_path_A2PS="$A2PS" # Let the user override the test with a path. 3900 ;; 3901 *) 3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3903for as_dir in $BSB 3904do 3905 IFS=$as_save_IFS 3906 test -z "$as_dir" && as_dir=. 3907 for ac_exec_ext in '' $ac_executable_extensions; do 3908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3909 ac_cv_path_A2PS="$as_dir/$ac_word$ac_exec_ext" 3910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3911 break 2 3912 fi 3913done 3914 done 3915IFS=$as_save_IFS 3916 3917 test -z "$ac_cv_path_A2PS" && ac_cv_path_A2PS="A2PS_NOT_FOUND" 3918 ;; 3919esac 3920fi 3921A2PS=$ac_cv_path_A2PS 3922if test -n "$A2PS"; then 3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $A2PS" >&5 3924$as_echo "$A2PS" >&6; } 3925else 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3927$as_echo "no" >&6; } 3928fi 3929 3930 3931# Extract the first word of "wget", so it can be a program name with args. 3932set dummy wget; ac_word=$2 3933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3934$as_echo_n "checking for $ac_word... " >&6; } 3935if ${ac_cv_path_WGET+:} false; then : 3936 $as_echo_n "(cached) " >&6 3937else 3938 case $WGET in 3939 [\\/]* | ?:[\\/]*) 3940 ac_cv_path_WGET="$WGET" # Let the user override the test with a path. 3941 ;; 3942 *) 3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3944for as_dir in $PATH 3945do 3946 IFS=$as_save_IFS 3947 test -z "$as_dir" && as_dir=. 3948 for ac_exec_ext in '' $ac_executable_extensions; do 3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3950 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" 3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3952 break 2 3953 fi 3954done 3955 done 3956IFS=$as_save_IFS 3957 3958 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="$BSB" 3959 ;; 3960esac 3961fi 3962WGET=$ac_cv_path_WGET 3963if test -n "$WGET"; then 3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 3965$as_echo "$WGET" >&6; } 3966else 3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3968$as_echo "no" >&6; } 3969fi 3970 3971 3972# Extract the first word of "curl", so it can be a program name with args. 3973set dummy curl; ac_word=$2 3974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3975$as_echo_n "checking for $ac_word... " >&6; } 3976if ${ac_cv_path_CURL+:} false; then : 3977 $as_echo_n "(cached) " >&6 3978else 3979 case $CURL in 3980 [\\/]* | ?:[\\/]*) 3981 ac_cv_path_CURL="$CURL" # Let the user override the test with a path. 3982 ;; 3983 *) 3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3985for as_dir in $PATH 3986do 3987 IFS=$as_save_IFS 3988 test -z "$as_dir" && as_dir=. 3989 for ac_exec_ext in '' $ac_executable_extensions; do 3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3991 ac_cv_path_CURL="$as_dir/$ac_word$ac_exec_ext" 3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3993 break 2 3994 fi 3995done 3996 done 3997IFS=$as_save_IFS 3998 3999 test -z "$ac_cv_path_CURL" && ac_cv_path_CURL="$BSB" 4000 ;; 4001esac 4002fi 4003CURL=$ac_cv_path_CURL 4004if test -n "$CURL"; then 4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5 4006$as_echo "$CURL" >&6; } 4007else 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4009$as_echo "no" >&6; } 4010fi 4011 4012 4013if test -z "$CURL" -a -z "$CURL" ; then 4014 as_fn_error $? "\"cannot find wget and curl. You need to install at least one\"" "$LINENO" 5; 4015fi 4016# Extract the first word of "printf", so it can be a program name with args. 4017set dummy printf; ac_word=$2 4018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4019$as_echo_n "checking for $ac_word... " >&6; } 4020if ${ac_cv_path_PRINTF+:} false; then : 4021 $as_echo_n "(cached) " >&6 4022else 4023 case $PRINTF in 4024 [\\/]* | ?:[\\/]*) 4025 ac_cv_path_PRINTF="$PRINTF" # Let the user override the test with a path. 4026 ;; 4027 *) 4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4029for as_dir in $PATH 4030do 4031 IFS=$as_save_IFS 4032 test -z "$as_dir" && as_dir=. 4033 for ac_exec_ext in '' $ac_executable_extensions; do 4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4035 ac_cv_path_PRINTF="$as_dir/$ac_word$ac_exec_ext" 4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4037 break 2 4038 fi 4039done 4040 done 4041IFS=$as_save_IFS 4042 4043 test -z "$ac_cv_path_PRINTF" && ac_cv_path_PRINTF="$BSB" 4044 ;; 4045esac 4046fi 4047PRINTF=$ac_cv_path_PRINTF 4048if test -n "$PRINTF"; then 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRINTF" >&5 4050$as_echo "$PRINTF" >&6; } 4051else 4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4053$as_echo "no" >&6; } 4054fi 4055 4056 4057# disable ghostscript check 4058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Ghostscript check" >&5 4059$as_echo_n "checking Ghostscript check... " >&6; } 4060# Check whether --enable-gscheck was given. 4061if test "${enable_gscheck+set}" = set; then : 4062 enableval=$enable_gscheck; 4063if test "$enableval" = "yes" ; then 4064 GSCHECK=yes; 4065else 4066 GSCHECK=no; 4067fi 4068 4069else 4070 4071 GSCHECK=no; 4072 4073fi 4074 4075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSCHECK" >&5 4076$as_echo "$GSCHECK" >&6; } 4077 4078 4079echo GS "$GS" 4080if test "$GS" != "GHOSTSCRIPT_NOT_FOUND" -a "$GSCHECK" != "no" ; then 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Ghostscript -dSAFER and -dPARANOIDSAFER option" >&5 4082$as_echo_n "checking Ghostscript -dSAFER and -dPARANOIDSAFER option... " >&6; } 4083 if $GS -q -dBATCH -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=nullpage -sOutputFile=- $srcdir/gsQuit ; then 4084 if $GS -q -dBATCH -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=nullpage -sOutputFile=- $srcdir/gsTest 1>/dev/null 2>/dev/null ; then 4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 4086WARNING: '($GS) -dSAFER -dPARANOIDSAFER ' allows files to be read 4087Please read README.GhostscriptSecurityProblem 4088and fix your distribution of Ghostscript 4089OR use: 4090configure --disable-gscheck 4091 " >&5 4092$as_echo "$as_me: WARNING: 4093WARNING: '($GS) -dSAFER -dPARANOIDSAFER ' allows files to be read 4094Please read README.GhostscriptSecurityProblem 4095and fix your distribution of Ghostscript 4096OR use: 4097configure --disable-gscheck 4098 " >&2;} 4099 as_fn_error $? "Ghostscript security hole found!" "$LINENO" 5 4100 else 4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no Ghostscript security hole found" >&5 4102$as_echo "no Ghostscript security hole found" >&6; } 4103 fi 4104 else 4105 as_fn_error $? "Error with: $GS -q -dSAFER -dPARANOIDSAFER -sDEVICE=nullpage -sOutputFile=- " "$LINENO" 5 4106 fi 4107fi 4108 4109 4110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to redirect Ghostscript output to fd 3" >&5 4111$as_echo_n "checking how to redirect Ghostscript output to fd 3... " >&6; } 4112if test "$DEVFD3" = "" ; then 4113 v=`( if test -d /dev/fd ; then echo 3 >/dev/fd/3; fi) 3>&1 1>&2` 4114 if test "$v" != "" ; then 4115 DEVFD3=/dev/fd/3 4116 DEVFD0=/dev/fd/0 4117 else 4118 DEVFD3="|$CAT >&3" 4119 DEVFD0=- 4120 fi 4121 if test "$GS" != "GHOSTSCRIPT_NOT_FOUND" -a "$GSCHECK" != "no" ; then 4122 rm -f gs_out 4123 gs -q -dBATCH -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=laserjet "-sOutputFile=$DEVFD3" ${srcdir}/gsPrint 3>gs_out 4124 if test "!" -s gs_out ; then 4125 as_fn_error $? "\"ERROR - gs cannot handle -sOutputFile=$OUT\" " "$LINENO" 5 4126 fi 4127 fi 4128fi 4129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using $DEVFD3" >&5 4130$as_echo "using $DEVFD3" >&6; } 4131 4132 4133 4134# Check for Perl 4135for ac_prog in perl 4136do 4137 # Extract the first word of "$ac_prog", so it can be a program name with args. 4138set dummy $ac_prog; ac_word=$2 4139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4140$as_echo_n "checking for $ac_word... " >&6; } 4141if ${ac_cv_path_PERL+:} false; then : 4142 $as_echo_n "(cached) " >&6 4143else 4144 case $PERL in 4145 [\\/]* | ?:[\\/]*) 4146 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 4147 ;; 4148 *) 4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4150for as_dir in $BINSEARCHPATH 4151do 4152 IFS=$as_save_IFS 4153 test -z "$as_dir" && as_dir=. 4154 for ac_exec_ext in '' $ac_executable_extensions; do 4155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4156 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4158 break 2 4159 fi 4160done 4161 done 4162IFS=$as_save_IFS 4163 4164 ;; 4165esac 4166fi 4167PERL=$ac_cv_path_PERL 4168if test -n "$PERL"; then 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 4170$as_echo "$PERL" >&6; } 4171else 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4173$as_echo "no" >&6; } 4174fi 4175 4176 4177 test -n "$PERL" && break 4178done 4179test -n "$PERL" || PERL="/usr/bin/perl" 4180 4181 4182# Check whether Perl libraries will be found when installed with current 4183# $prefix, if not, try to fall back to /usr/local at first, then to /usr 4184if test x$prefix = xNONE; then 4185 PREFIX=$ac_default_prefix 4186else 4187 PREFIX=$prefix 4188fi 4189echo -n Checking where Perl will find its libraries... 4190if test "$PERLPREFIX" = "" ; then 4191 eval `${PERL} -V:installprefix` 4192 PERLPREFIX=`echo $installprefix` 4193 if test -n "$PERLPREFIX"; then 4194 echo " $PERLPREFIX" 4195 else 4196 PERLPREFIX=/usr 4197 echo " not found, installing the Perl libraries with prefix /usr." 4198 fi 4199else 4200 echo " $PERLPREFIX" 4201fi 4202 4203 4204# Perl installation directories 4205 4206 4207if test -z "$PERL_INSTALLDIRS"; then 4208 PERL_INSTALLDIRS=site 4209fi 4210 4211 4212# Check for bourne shell 4213for ac_prog in bash sh 4214do 4215 # Extract the first word of "$ac_prog", so it can be a program name with args. 4216set dummy $ac_prog; ac_word=$2 4217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4218$as_echo_n "checking for $ac_word... " >&6; } 4219if ${ac_cv_path_SH+:} false; then : 4220 $as_echo_n "(cached) " >&6 4221else 4222 case $SH in 4223 [\\/]* | ?:[\\/]*) 4224 ac_cv_path_SH="$SH" # Let the user override the test with a path. 4225 ;; 4226 *) 4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4228for as_dir in $BINSEARCHPATH 4229do 4230 IFS=$as_save_IFS 4231 test -z "$as_dir" && as_dir=. 4232 for ac_exec_ext in '' $ac_executable_extensions; do 4233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4234 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" 4235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4236 break 2 4237 fi 4238done 4239 done 4240IFS=$as_save_IFS 4241 4242 ;; 4243esac 4244fi 4245SH=$ac_cv_path_SH 4246if test -n "$SH"; then 4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5 4248$as_echo "$SH" >&6; } 4249else 4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4251$as_echo "no" >&6; } 4252fi 4253 4254 4255 test -n "$SH" && break 4256done 4257test -n "$SH" || SH="/bin/sh" 4258 4259 4260# Paths for LPD and LPRng (without magicfilter) 4261for ac_dir in lpd 4262do 4263# Extract the first word of "$ac_dir", so it can be a program name with args. 4264set dummy $ac_dir; ac_word=$2 4265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 4266$as_echo_n "checking for $ac_word/... " >&6; } 4267if ${ac_cv_path_LPD_SPOOL+:} false; then : 4268 $as_echo_n "(cached) " >&6 4269else 4270 case "$LPD_SPOOL" in 4271 /*) 4272 ac_cv_path_LPD_SPOOL="$LPD_SPOOL" # Let the user override the test with a path. 4273 ;; 4274 ?:/*) 4275 ac_cv_path_LPD_SPOOL="$LPD_SPOOL" # Let the user override the test with a dos path. 4276 ;; 4277 *) 4278 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 4279 ac_dummy="$SPOOLSEARCHPATH" 4280 for ac_dir in $ac_dummy; do 4281 test -z "$ac_dir" && ac_dir=. 4282 if test -d $ac_dir/$ac_word; then 4283 ac_cv_path_LPD_SPOOL="$ac_dir/$ac_word" 4284 break 4285 fi 4286 done 4287 IFS="$ac_save_ifs" 4288 ;; 4289esac 4290fi 4291LPD_SPOOL="$ac_cv_path_LPD_SPOOL" 4292if test -n "$LPD_SPOOL"; then 4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_SPOOL" >&5 4294$as_echo "$LPD_SPOOL" >&6; } 4295else 4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4297$as_echo "no" >&6; } 4298fi 4299 4300test -n "$LPD_SPOOL" && break 4301done 4302test -n "$LPD_SPOOL" || LPD_SPOOL="/var/spool/lpd" 4303 4304for ac_prog in lp-errs 4305do 4306 # Extract the first word of "$ac_prog", so it can be a program name with args. 4307set dummy $ac_prog; ac_word=$2 4308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4309$as_echo_n "checking for $ac_word... " >&6; } 4310if ${ac_cv_path_LPD_LOG+:} false; then : 4311 $as_echo_n "(cached) " >&6 4312else 4313 case $LPD_LOG in 4314 [\\/]* | ?:[\\/]*) 4315 ac_cv_path_LPD_LOG="$LPD_LOG" # Let the user override the test with a path. 4316 ;; 4317 *) 4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4319for as_dir in $LOGSEARCHPATH 4320do 4321 IFS=$as_save_IFS 4322 test -z "$as_dir" && as_dir=. 4323 for ac_exec_ext in '' $ac_executable_extensions; do 4324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4325 ac_cv_path_LPD_LOG="$as_dir/$ac_word$ac_exec_ext" 4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4327 break 2 4328 fi 4329done 4330 done 4331IFS=$as_save_IFS 4332 4333 ;; 4334esac 4335fi 4336LPD_LOG=$ac_cv_path_LPD_LOG 4337if test -n "$LPD_LOG"; then 4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LOG" >&5 4339$as_echo "$LPD_LOG" >&6; } 4340else 4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4342$as_echo "no" >&6; } 4343fi 4344 4345 4346 test -n "$LPD_LOG" && break 4347done 4348test -n "$LPD_LOG" || LPD_LOG="/var/log/lp-errs" 4349 4350for ac_prog in lpd 4351do 4352 # Extract the first word of "$ac_prog", so it can be a program name with args. 4353set dummy $ac_prog; ac_word=$2 4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4355$as_echo_n "checking for $ac_word... " >&6; } 4356if ${ac_cv_path_LPD_BIN+:} false; then : 4357 $as_echo_n "(cached) " >&6 4358else 4359 case $LPD_BIN in 4360 [\\/]* | ?:[\\/]*) 4361 ac_cv_path_LPD_BIN="$LPD_BIN" # Let the user override the test with a path. 4362 ;; 4363 *) 4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4365for as_dir in $SBINSEARCHPATH 4366do 4367 IFS=$as_save_IFS 4368 test -z "$as_dir" && as_dir=. 4369 for ac_exec_ext in '' $ac_executable_extensions; do 4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4371 ac_cv_path_LPD_BIN="$as_dir/$ac_word$ac_exec_ext" 4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4373 break 2 4374 fi 4375done 4376 done 4377IFS=$as_save_IFS 4378 4379 ;; 4380esac 4381fi 4382LPD_BIN=$ac_cv_path_LPD_BIN 4383if test -n "$LPD_BIN"; then 4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_BIN" >&5 4385$as_echo "$LPD_BIN" >&6; } 4386else 4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4388$as_echo "no" >&6; } 4389fi 4390 4391 4392 test -n "$LPD_BIN" && break 4393done 4394test -n "$LPD_BIN" || LPD_BIN="/usr/sbin/lpd" 4395 4396for ac_prog in printcap 4397do 4398 # Extract the first word of "$ac_prog", so it can be a program name with args. 4399set dummy $ac_prog; ac_word=$2 4400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4401$as_echo_n "checking for $ac_word... " >&6; } 4402if ${ac_cv_path_PRINTCAP+:} false; then : 4403 $as_echo_n "(cached) " >&6 4404else 4405 case $PRINTCAP in 4406 [\\/]* | ?:[\\/]*) 4407 ac_cv_path_PRINTCAP="$PRINTCAP" # Let the user override the test with a path. 4408 ;; 4409 *) 4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4411for as_dir in $SYSCONFSEARCHPATH 4412do 4413 IFS=$as_save_IFS 4414 test -z "$as_dir" && as_dir=. 4415 for ac_exec_ext in '' $ac_executable_extensions; do 4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4417 ac_cv_path_PRINTCAP="$as_dir/$ac_word$ac_exec_ext" 4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4419 break 2 4420 fi 4421done 4422 done 4423IFS=$as_save_IFS 4424 4425 ;; 4426esac 4427fi 4428PRINTCAP=$ac_cv_path_PRINTCAP 4429if test -n "$PRINTCAP"; then 4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRINTCAP" >&5 4431$as_echo "$PRINTCAP" >&6; } 4432else 4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4434$as_echo "no" >&6; } 4435fi 4436 4437 4438 test -n "$PRINTCAP" && break 4439done 4440test -n "$PRINTCAP" || PRINTCAP="/etc/printcap" 4441 4442for ac_prog in lpd.conf 4443do 4444 # Extract the first word of "$ac_prog", so it can be a program name with args. 4445set dummy $ac_prog; ac_word=$2 4446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4447$as_echo_n "checking for $ac_word... " >&6; } 4448if ${ac_cv_path_LPRNG_CONF+:} false; then : 4449 $as_echo_n "(cached) " >&6 4450else 4451 case $LPRNG_CONF in 4452 [\\/]* | ?:[\\/]*) 4453 ac_cv_path_LPRNG_CONF="$LPRNG_CONF" # Let the user override the test with a path. 4454 ;; 4455 *) 4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4457for as_dir in $SYSCONFSEARCHPATH 4458do 4459 IFS=$as_save_IFS 4460 test -z "$as_dir" && as_dir=. 4461 for ac_exec_ext in '' $ac_executable_extensions; do 4462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4463 ac_cv_path_LPRNG_CONF="$as_dir/$ac_word$ac_exec_ext" 4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4465 break 2 4466 fi 4467done 4468 done 4469IFS=$as_save_IFS 4470 4471 ;; 4472esac 4473fi 4474LPRNG_CONF=$ac_cv_path_LPRNG_CONF 4475if test -n "$LPRNG_CONF"; then 4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPRNG_CONF" >&5 4477$as_echo "$LPRNG_CONF" >&6; } 4478else 4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4480$as_echo "no" >&6; } 4481fi 4482 4483 4484 test -n "$LPRNG_CONF" && break 4485done 4486test -n "$LPRNG_CONF" || LPRNG_CONF="/etc/lpd.conf" 4487 4488for ac_prog in lpr-lpd lpr-lprng lpr-lpr lpr 4489do 4490 # Extract the first word of "$ac_prog", so it can be a program name with args. 4491set dummy $ac_prog; ac_word=$2 4492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4493$as_echo_n "checking for $ac_word... " >&6; } 4494if ${ac_cv_path_LPD_LPR+:} false; then : 4495 $as_echo_n "(cached) " >&6 4496else 4497 case $LPD_LPR in 4498 [\\/]* | ?:[\\/]*) 4499 ac_cv_path_LPD_LPR="$LPD_LPR" # Let the user override the test with a path. 4500 ;; 4501 *) 4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4503for as_dir in $BINSEARCHPATH 4504do 4505 IFS=$as_save_IFS 4506 test -z "$as_dir" && as_dir=. 4507 for ac_exec_ext in '' $ac_executable_extensions; do 4508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4509 ac_cv_path_LPD_LPR="$as_dir/$ac_word$ac_exec_ext" 4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4511 break 2 4512 fi 4513done 4514 done 4515IFS=$as_save_IFS 4516 4517 ;; 4518esac 4519fi 4520LPD_LPR=$ac_cv_path_LPD_LPR 4521if test -n "$LPD_LPR"; then 4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LPR" >&5 4523$as_echo "$LPD_LPR" >&6; } 4524else 4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4526$as_echo "no" >&6; } 4527fi 4528 4529 4530 test -n "$LPD_LPR" && break 4531done 4532test -n "$LPD_LPR" || LPD_LPR="/usr/bin/lpr" 4533 4534for ac_prog in lpq-lpd lpq-lprng lpq-lpr lpq 4535do 4536 # Extract the first word of "$ac_prog", so it can be a program name with args. 4537set dummy $ac_prog; ac_word=$2 4538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4539$as_echo_n "checking for $ac_word... " >&6; } 4540if ${ac_cv_path_LPD_LPQ+:} false; then : 4541 $as_echo_n "(cached) " >&6 4542else 4543 case $LPD_LPQ in 4544 [\\/]* | ?:[\\/]*) 4545 ac_cv_path_LPD_LPQ="$LPD_LPQ" # Let the user override the test with a path. 4546 ;; 4547 *) 4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4549for as_dir in $BINSEARCHPATH 4550do 4551 IFS=$as_save_IFS 4552 test -z "$as_dir" && as_dir=. 4553 for ac_exec_ext in '' $ac_executable_extensions; do 4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4555 ac_cv_path_LPD_LPQ="$as_dir/$ac_word$ac_exec_ext" 4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4557 break 2 4558 fi 4559done 4560 done 4561IFS=$as_save_IFS 4562 4563 ;; 4564esac 4565fi 4566LPD_LPQ=$ac_cv_path_LPD_LPQ 4567if test -n "$LPD_LPQ"; then 4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LPQ" >&5 4569$as_echo "$LPD_LPQ" >&6; } 4570else 4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4572$as_echo "no" >&6; } 4573fi 4574 4575 4576 test -n "$LPD_LPQ" && break 4577done 4578test -n "$LPD_LPQ" || LPD_LPQ="/usr/bin/lpq" 4579 4580for ac_prog in lprm-lpd lprm-lprng lprm-lpr lprm 4581do 4582 # Extract the first word of "$ac_prog", so it can be a program name with args. 4583set dummy $ac_prog; ac_word=$2 4584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4585$as_echo_n "checking for $ac_word... " >&6; } 4586if ${ac_cv_path_LPD_LPRM+:} false; then : 4587 $as_echo_n "(cached) " >&6 4588else 4589 case $LPD_LPRM in 4590 [\\/]* | ?:[\\/]*) 4591 ac_cv_path_LPD_LPRM="$LPD_LPRM" # Let the user override the test with a path. 4592 ;; 4593 *) 4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4595for as_dir in $BINSEARCHPATH 4596do 4597 IFS=$as_save_IFS 4598 test -z "$as_dir" && as_dir=. 4599 for ac_exec_ext in '' $ac_executable_extensions; do 4600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4601 ac_cv_path_LPD_LPRM="$as_dir/$ac_word$ac_exec_ext" 4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4603 break 2 4604 fi 4605done 4606 done 4607IFS=$as_save_IFS 4608 4609 ;; 4610esac 4611fi 4612LPD_LPRM=$ac_cv_path_LPD_LPRM 4613if test -n "$LPD_LPRM"; then 4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LPRM" >&5 4615$as_echo "$LPD_LPRM" >&6; } 4616else 4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4618$as_echo "no" >&6; } 4619fi 4620 4621 4622 test -n "$LPD_LPRM" && break 4623done 4624test -n "$LPD_LPRM" || LPD_LPRM="/usr/bin/lprm" 4625 4626for ac_prog in lpc-lpd lpc-lprng lpc-lpr lpc 4627do 4628 # Extract the first word of "$ac_prog", so it can be a program name with args. 4629set dummy $ac_prog; ac_word=$2 4630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4631$as_echo_n "checking for $ac_word... " >&6; } 4632if ${ac_cv_path_LPD_LPC+:} false; then : 4633 $as_echo_n "(cached) " >&6 4634else 4635 case $LPD_LPC in 4636 [\\/]* | ?:[\\/]*) 4637 ac_cv_path_LPD_LPC="$LPD_LPC" # Let the user override the test with a path. 4638 ;; 4639 *) 4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4641for as_dir in $SBB 4642do 4643 IFS=$as_save_IFS 4644 test -z "$as_dir" && as_dir=. 4645 for ac_exec_ext in '' $ac_executable_extensions; do 4646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4647 ac_cv_path_LPD_LPC="$as_dir/$ac_word$ac_exec_ext" 4648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4649 break 2 4650 fi 4651done 4652 done 4653IFS=$as_save_IFS 4654 4655 ;; 4656esac 4657fi 4658LPD_LPC=$ac_cv_path_LPD_LPC 4659if test -n "$LPD_LPC"; then 4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LPC" >&5 4661$as_echo "$LPD_LPC" >&6; } 4662else 4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4664$as_echo "no" >&6; } 4665fi 4666 4667 4668 test -n "$LPD_LPC" && break 4669done 4670test -n "$LPD_LPC" || LPD_LPC="/usr/sbin/lpc" 4671 4672for ac_prog in checkpc 4673do 4674 # Extract the first word of "$ac_prog", so it can be a program name with args. 4675set dummy $ac_prog; ac_word=$2 4676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4677$as_echo_n "checking for $ac_word... " >&6; } 4678if ${ac_cv_path_LPRNG_CHECKPC+:} false; then : 4679 $as_echo_n "(cached) " >&6 4680else 4681 case $LPRNG_CHECKPC in 4682 [\\/]* | ?:[\\/]*) 4683 ac_cv_path_LPRNG_CHECKPC="$LPRNG_CHECKPC" # Let the user override the test with a path. 4684 ;; 4685 *) 4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4687for as_dir in $SBINSEARCHPATH 4688do 4689 IFS=$as_save_IFS 4690 test -z "$as_dir" && as_dir=. 4691 for ac_exec_ext in '' $ac_executable_extensions; do 4692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4693 ac_cv_path_LPRNG_CHECKPC="$as_dir/$ac_word$ac_exec_ext" 4694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4695 break 2 4696 fi 4697done 4698 done 4699IFS=$as_save_IFS 4700 4701 ;; 4702esac 4703fi 4704LPRNG_CHECKPC=$ac_cv_path_LPRNG_CHECKPC 4705if test -n "$LPRNG_CHECKPC"; then 4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPRNG_CHECKPC" >&5 4707$as_echo "$LPRNG_CHECKPC" >&6; } 4708else 4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4710$as_echo "no" >&6; } 4711fi 4712 4713 4714 test -n "$LPRNG_CHECKPC" && break 4715done 4716test -n "$LPRNG_CHECKPC" || LPRNG_CHECKPC="/usr/sbin/checkpc" 4717 4718 4719# Paths and other settings for CUPS 4720for ac_dir in cups 4721do 4722# Extract the first word of "$ac_dir", so it can be a program name with args. 4723set dummy $ac_dir; ac_word=$2 4724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 4725$as_echo_n "checking for $ac_word/... " >&6; } 4726if ${ac_cv_path_CUPS_ETC+:} false; then : 4727 $as_echo_n "(cached) " >&6 4728else 4729 case "$CUPS_ETC" in 4730 /*) 4731 ac_cv_path_CUPS_ETC="$CUPS_ETC" # Let the user override the test with a path. 4732 ;; 4733 ?:/*) 4734 ac_cv_path_CUPS_ETC="$CUPS_ETC" # Let the user override the test with a dos path. 4735 ;; 4736 *) 4737 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 4738 ac_dummy="$SYSCONFSEARCHPATH" 4739 for ac_dir in $ac_dummy; do 4740 test -z "$ac_dir" && ac_dir=. 4741 if test -d $ac_dir/$ac_word; then 4742 ac_cv_path_CUPS_ETC="$ac_dir/$ac_word" 4743 break 4744 fi 4745 done 4746 IFS="$ac_save_ifs" 4747 ;; 4748esac 4749fi 4750CUPS_ETC="$ac_cv_path_CUPS_ETC" 4751if test -n "$CUPS_ETC"; then 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_ETC" >&5 4753$as_echo "$CUPS_ETC" >&6; } 4754else 4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4756$as_echo "no" >&6; } 4757fi 4758 4759test -n "$CUPS_ETC" && break 4760done 4761test -n "$CUPS_ETC" || CUPS_ETC="/etc/cups" 4762 4763for ac_prog in lpadmin 4764do 4765 # Extract the first word of "$ac_prog", so it can be a program name with args. 4766set dummy $ac_prog; ac_word=$2 4767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4768$as_echo_n "checking for $ac_word... " >&6; } 4769if ${ac_cv_path_CUPS_ADMIN+:} false; then : 4770 $as_echo_n "(cached) " >&6 4771else 4772 case $CUPS_ADMIN in 4773 [\\/]* | ?:[\\/]*) 4774 ac_cv_path_CUPS_ADMIN="$CUPS_ADMIN" # Let the user override the test with a path. 4775 ;; 4776 *) 4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4778for as_dir in $SBINSEARCHPATH 4779do 4780 IFS=$as_save_IFS 4781 test -z "$as_dir" && as_dir=. 4782 for ac_exec_ext in '' $ac_executable_extensions; do 4783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4784 ac_cv_path_CUPS_ADMIN="$as_dir/$ac_word$ac_exec_ext" 4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4786 break 2 4787 fi 4788done 4789 done 4790IFS=$as_save_IFS 4791 4792 ;; 4793esac 4794fi 4795CUPS_ADMIN=$ac_cv_path_CUPS_ADMIN 4796if test -n "$CUPS_ADMIN"; then 4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_ADMIN" >&5 4798$as_echo "$CUPS_ADMIN" >&6; } 4799else 4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4801$as_echo "no" >&6; } 4802fi 4803 4804 4805 test -n "$CUPS_ADMIN" && break 4806done 4807test -n "$CUPS_ADMIN" || CUPS_ADMIN="/usr/sbin/lpadmin" 4808 4809for ac_prog in lpstat 4810do 4811 # Extract the first word of "$ac_prog", so it can be a program name with args. 4812set dummy $ac_prog; ac_word=$2 4813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4814$as_echo_n "checking for $ac_word... " >&6; } 4815if ${ac_cv_path_CUPS_LPSTAT+:} false; then : 4816 $as_echo_n "(cached) " >&6 4817else 4818 case $CUPS_LPSTAT in 4819 [\\/]* | ?:[\\/]*) 4820 ac_cv_path_CUPS_LPSTAT="$CUPS_LPSTAT" # Let the user override the test with a path. 4821 ;; 4822 *) 4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4824for as_dir in $BINSEARCHPATH 4825do 4826 IFS=$as_save_IFS 4827 test -z "$as_dir" && as_dir=. 4828 for ac_exec_ext in '' $ac_executable_extensions; do 4829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4830 ac_cv_path_CUPS_LPSTAT="$as_dir/$ac_word$ac_exec_ext" 4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4832 break 2 4833 fi 4834done 4835 done 4836IFS=$as_save_IFS 4837 4838 ;; 4839esac 4840fi 4841CUPS_LPSTAT=$ac_cv_path_CUPS_LPSTAT 4842if test -n "$CUPS_LPSTAT"; then 4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPSTAT" >&5 4844$as_echo "$CUPS_LPSTAT" >&6; } 4845else 4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4847$as_echo "no" >&6; } 4848fi 4849 4850 4851 test -n "$CUPS_LPSTAT" && break 4852done 4853test -n "$CUPS_LPSTAT" || CUPS_LPSTAT="/usr/bin/lpstat" 4854 4855for ac_dir in cups/model 4856do 4857# Extract the first word of "$ac_dir", so it can be a program name with args. 4858set dummy $ac_dir; ac_word=$2 4859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 4860$as_echo_n "checking for $ac_word/... " >&6; } 4861if ${ac_cv_path_CUPS_PPDS+:} false; then : 4862 $as_echo_n "(cached) " >&6 4863else 4864 case "$CUPS_PPDS" in 4865 /*) 4866 ac_cv_path_CUPS_PPDS="$CUPS_PPDS" # Let the user override the test with a path. 4867 ;; 4868 ?:/*) 4869 ac_cv_path_CUPS_PPDS="$CUPS_PPDS" # Let the user override the test with a dos path. 4870 ;; 4871 *) 4872 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 4873 ac_dummy="$DATASEARCHPATH" 4874 for ac_dir in $ac_dummy; do 4875 test -z "$ac_dir" && ac_dir=. 4876 if test -d $ac_dir/$ac_word; then 4877 ac_cv_path_CUPS_PPDS="$ac_dir/$ac_word" 4878 break 4879 fi 4880 done 4881 IFS="$ac_save_ifs" 4882 ;; 4883esac 4884fi 4885CUPS_PPDS="$ac_cv_path_CUPS_PPDS" 4886if test -n "$CUPS_PPDS"; then 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_PPDS" >&5 4888$as_echo "$CUPS_PPDS" >&6; } 4889else 4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4891$as_echo "no" >&6; } 4892fi 4893 4894test -n "$CUPS_PPDS" && break 4895done 4896test -n "$CUPS_PPDS" || CUPS_PPDS="/usr/share/cups/model" 4897 4898for ac_dir in cups/filter 4899do 4900# Extract the first word of "$ac_dir", so it can be a program name with args. 4901set dummy $ac_dir; ac_word=$2 4902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 4903$as_echo_n "checking for $ac_word/... " >&6; } 4904if ${ac_cv_path_CUPS_FILTERS+:} false; then : 4905 $as_echo_n "(cached) " >&6 4906else 4907 case "$CUPS_FILTERS" in 4908 /*) 4909 ac_cv_path_CUPS_FILTERS="$CUPS_FILTERS" # Let the user override the test with a path. 4910 ;; 4911 ?:/*) 4912 ac_cv_path_CUPS_FILTERS="$CUPS_FILTERS" # Let the user override the test with a dos path. 4913 ;; 4914 *) 4915 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 4916 ac_dummy="$DATASEARCHPATH" 4917 for ac_dir in $ac_dummy; do 4918 test -z "$ac_dir" && ac_dir=. 4919 if test -d $ac_dir/$ac_word; then 4920 ac_cv_path_CUPS_FILTERS="$ac_dir/$ac_word" 4921 break 4922 fi 4923 done 4924 IFS="$ac_save_ifs" 4925 ;; 4926esac 4927fi 4928CUPS_FILTERS="$ac_cv_path_CUPS_FILTERS" 4929if test -n "$CUPS_FILTERS"; then 4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_FILTERS" >&5 4931$as_echo "$CUPS_FILTERS" >&6; } 4932else 4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4934$as_echo "no" >&6; } 4935fi 4936 4937test -n "$CUPS_FILTERS" && break 4938done 4939test -n "$CUPS_FILTERS" || CUPS_FILTERS="/usr/lib/cups/filter" 4940 4941for ac_dir in cups/backend 4942do 4943# Extract the first word of "$ac_dir", so it can be a program name with args. 4944set dummy $ac_dir; ac_word=$2 4945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 4946$as_echo_n "checking for $ac_word/... " >&6; } 4947if ${ac_cv_path_CUPS_BACKENDS+:} false; then : 4948 $as_echo_n "(cached) " >&6 4949else 4950 case "$CUPS_BACKENDS" in 4951 /*) 4952 ac_cv_path_CUPS_BACKENDS="$CUPS_BACKENDS" # Let the user override the test with a path. 4953 ;; 4954 ?:/*) 4955 ac_cv_path_CUPS_BACKENDS="$CUPS_BACKENDS" # Let the user override the test with a dos path. 4956 ;; 4957 *) 4958 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 4959 ac_dummy="$DATASEARCHPATH" 4960 for ac_dir in $ac_dummy; do 4961 test -z "$ac_dir" && ac_dir=. 4962 if test -d $ac_dir/$ac_word; then 4963 ac_cv_path_CUPS_BACKENDS="$ac_dir/$ac_word" 4964 break 4965 fi 4966 done 4967 IFS="$ac_save_ifs" 4968 ;; 4969esac 4970fi 4971CUPS_BACKENDS="$ac_cv_path_CUPS_BACKENDS" 4972if test -n "$CUPS_BACKENDS"; then 4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_BACKENDS" >&5 4974$as_echo "$CUPS_BACKENDS" >&6; } 4975else 4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4977$as_echo "no" >&6; } 4978fi 4979 4980test -n "$CUPS_BACKENDS" && break 4981done 4982test -n "$CUPS_BACKENDS" || CUPS_BACKENDS="/usr/lib/cups/backend" 4983 4984for ac_dir in cups 4985do 4986# Extract the first word of "$ac_dir", so it can be a program name with args. 4987set dummy $ac_dir; ac_word=$2 4988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 4989$as_echo_n "checking for $ac_word/... " >&6; } 4990if ${ac_cv_path_LIB_CUPS+:} false; then : 4991 $as_echo_n "(cached) " >&6 4992else 4993 case "$LIB_CUPS" in 4994 /*) 4995 ac_cv_path_LIB_CUPS="$LIB_CUPS" # Let the user override the test with a path. 4996 ;; 4997 ?:/*) 4998 ac_cv_path_LIB_CUPS="$LIB_CUPS" # Let the user override the test with a dos path. 4999 ;; 5000 *) 5001 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 5002 ac_dummy="$LIBSEARCHPATH" 5003 for ac_dir in $ac_dummy; do 5004 test -z "$ac_dir" && ac_dir=. 5005 if test -d $ac_dir/$ac_word; then 5006 ac_cv_path_LIB_CUPS="$ac_dir/$ac_word" 5007 break 5008 fi 5009 done 5010 IFS="$ac_save_ifs" 5011 ;; 5012esac 5013fi 5014LIB_CUPS="$ac_cv_path_LIB_CUPS" 5015if test -n "$LIB_CUPS"; then 5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIB_CUPS" >&5 5017$as_echo "$LIB_CUPS" >&6; } 5018else 5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5020$as_echo "no" >&6; } 5021fi 5022 5023test -n "$LIB_CUPS" && break 5024done 5025test -n "$LIB_CUPS" || LIB_CUPS="/usr/lib/cups" 5026 5027for ac_prog in cups/printers.conf 5028do 5029 # Extract the first word of "$ac_prog", so it can be a program name with args. 5030set dummy $ac_prog; ac_word=$2 5031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5032$as_echo_n "checking for $ac_word... " >&6; } 5033if ${ac_cv_path_CUPS_PCONF+:} false; then : 5034 $as_echo_n "(cached) " >&6 5035else 5036 case $CUPS_PCONF in 5037 [\\/]* | ?:[\\/]*) 5038 ac_cv_path_CUPS_PCONF="$CUPS_PCONF" # Let the user override the test with a path. 5039 ;; 5040 *) 5041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5042for as_dir in $SYSCONFSEARCHPATH 5043do 5044 IFS=$as_save_IFS 5045 test -z "$as_dir" && as_dir=. 5046 for ac_exec_ext in '' $ac_executable_extensions; do 5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5048 ac_cv_path_CUPS_PCONF="$as_dir/$ac_word$ac_exec_ext" 5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5050 break 2 5051 fi 5052done 5053 done 5054IFS=$as_save_IFS 5055 5056 ;; 5057esac 5058fi 5059CUPS_PCONF=$ac_cv_path_CUPS_PCONF 5060if test -n "$CUPS_PCONF"; then 5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_PCONF" >&5 5062$as_echo "$CUPS_PCONF" >&6; } 5063else 5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5065$as_echo "no" >&6; } 5066fi 5067 5068 5069 test -n "$CUPS_PCONF" && break 5070done 5071test -n "$CUPS_PCONF" || CUPS_PCONF="$CUPS_ETC/printers.conf" 5072 5073for ac_prog in lpr-cups lpr 5074do 5075 # Extract the first word of "$ac_prog", so it can be a program name with args. 5076set dummy $ac_prog; ac_word=$2 5077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5078$as_echo_n "checking for $ac_word... " >&6; } 5079if ${ac_cv_path_CUPS_LPR+:} false; then : 5080 $as_echo_n "(cached) " >&6 5081else 5082 case $CUPS_LPR in 5083 [\\/]* | ?:[\\/]*) 5084 ac_cv_path_CUPS_LPR="$CUPS_LPR" # Let the user override the test with a path. 5085 ;; 5086 *) 5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5088for as_dir in $BINSEARCHPATH 5089do 5090 IFS=$as_save_IFS 5091 test -z "$as_dir" && as_dir=. 5092 for ac_exec_ext in '' $ac_executable_extensions; do 5093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5094 ac_cv_path_CUPS_LPR="$as_dir/$ac_word$ac_exec_ext" 5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5096 break 2 5097 fi 5098done 5099 done 5100IFS=$as_save_IFS 5101 5102 ;; 5103esac 5104fi 5105CUPS_LPR=$ac_cv_path_CUPS_LPR 5106if test -n "$CUPS_LPR"; then 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPR" >&5 5108$as_echo "$CUPS_LPR" >&6; } 5109else 5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5111$as_echo "no" >&6; } 5112fi 5113 5114 5115 test -n "$CUPS_LPR" && break 5116done 5117test -n "$CUPS_LPR" || CUPS_LPR="/usr/bin/lpr" 5118 5119for ac_prog in lpq-cups lpq 5120do 5121 # Extract the first word of "$ac_prog", so it can be a program name with args. 5122set dummy $ac_prog; ac_word=$2 5123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5124$as_echo_n "checking for $ac_word... " >&6; } 5125if ${ac_cv_path_CUPS_LPQ+:} false; then : 5126 $as_echo_n "(cached) " >&6 5127else 5128 case $CUPS_LPQ in 5129 [\\/]* | ?:[\\/]*) 5130 ac_cv_path_CUPS_LPQ="$CUPS_LPQ" # Let the user override the test with a path. 5131 ;; 5132 *) 5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5134for as_dir in $BINSEARCHPATH 5135do 5136 IFS=$as_save_IFS 5137 test -z "$as_dir" && as_dir=. 5138 for ac_exec_ext in '' $ac_executable_extensions; do 5139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5140 ac_cv_path_CUPS_LPQ="$as_dir/$ac_word$ac_exec_ext" 5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5142 break 2 5143 fi 5144done 5145 done 5146IFS=$as_save_IFS 5147 5148 ;; 5149esac 5150fi 5151CUPS_LPQ=$ac_cv_path_CUPS_LPQ 5152if test -n "$CUPS_LPQ"; then 5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPQ" >&5 5154$as_echo "$CUPS_LPQ" >&6; } 5155else 5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5157$as_echo "no" >&6; } 5158fi 5159 5160 5161 test -n "$CUPS_LPQ" && break 5162done 5163test -n "$CUPS_LPQ" || CUPS_LPQ="/usr/bin/lpq" 5164 5165for ac_prog in lprm-cups lprm 5166do 5167 # Extract the first word of "$ac_prog", so it can be a program name with args. 5168set dummy $ac_prog; ac_word=$2 5169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5170$as_echo_n "checking for $ac_word... " >&6; } 5171if ${ac_cv_path_CUPS_LPRM+:} false; then : 5172 $as_echo_n "(cached) " >&6 5173else 5174 case $CUPS_LPRM in 5175 [\\/]* | ?:[\\/]*) 5176 ac_cv_path_CUPS_LPRM="$CUPS_LPRM" # Let the user override the test with a path. 5177 ;; 5178 *) 5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5180for as_dir in $BINSEARCHPATH 5181do 5182 IFS=$as_save_IFS 5183 test -z "$as_dir" && as_dir=. 5184 for ac_exec_ext in '' $ac_executable_extensions; do 5185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5186 ac_cv_path_CUPS_LPRM="$as_dir/$ac_word$ac_exec_ext" 5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5188 break 2 5189 fi 5190done 5191 done 5192IFS=$as_save_IFS 5193 5194 ;; 5195esac 5196fi 5197CUPS_LPRM=$ac_cv_path_CUPS_LPRM 5198if test -n "$CUPS_LPRM"; then 5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPRM" >&5 5200$as_echo "$CUPS_LPRM" >&6; } 5201else 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5203$as_echo "no" >&6; } 5204fi 5205 5206 5207 test -n "$CUPS_LPRM" && break 5208done 5209test -n "$CUPS_LPRM" || CUPS_LPRM="/usr/bin/lprm" 5210 5211for ac_prog in lpc-cups lpc 5212do 5213 # Extract the first word of "$ac_prog", so it can be a program name with args. 5214set dummy $ac_prog; ac_word=$2 5215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5216$as_echo_n "checking for $ac_word... " >&6; } 5217if ${ac_cv_path_CUPS_LPC+:} false; then : 5218 $as_echo_n "(cached) " >&6 5219else 5220 case $CUPS_LPC in 5221 [\\/]* | ?:[\\/]*) 5222 ac_cv_path_CUPS_LPC="$CUPS_LPC" # Let the user override the test with a path. 5223 ;; 5224 *) 5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5226for as_dir in $SBB 5227do 5228 IFS=$as_save_IFS 5229 test -z "$as_dir" && as_dir=. 5230 for ac_exec_ext in '' $ac_executable_extensions; do 5231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5232 ac_cv_path_CUPS_LPC="$as_dir/$ac_word$ac_exec_ext" 5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5234 break 2 5235 fi 5236done 5237 done 5238IFS=$as_save_IFS 5239 5240 ;; 5241esac 5242fi 5243CUPS_LPC=$ac_cv_path_CUPS_LPC 5244if test -n "$CUPS_LPC"; then 5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPC" >&5 5246$as_echo "$CUPS_LPC" >&6; } 5247else 5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5249$as_echo "no" >&6; } 5250fi 5251 5252 5253 test -n "$CUPS_LPC" && break 5254done 5255test -n "$CUPS_LPC" || CUPS_LPC="/usr/sbin/lpc" 5256 5257for ac_prog in lp-cups lp 5258do 5259 # Extract the first word of "$ac_prog", so it can be a program name with args. 5260set dummy $ac_prog; ac_word=$2 5261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5262$as_echo_n "checking for $ac_word... " >&6; } 5263if ${ac_cv_path_CUPS_LP+:} false; then : 5264 $as_echo_n "(cached) " >&6 5265else 5266 case $CUPS_LP in 5267 [\\/]* | ?:[\\/]*) 5268 ac_cv_path_CUPS_LP="$CUPS_LP" # Let the user override the test with a path. 5269 ;; 5270 *) 5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5272for as_dir in $BINSEARCHPATH 5273do 5274 IFS=$as_save_IFS 5275 test -z "$as_dir" && as_dir=. 5276 for ac_exec_ext in '' $ac_executable_extensions; do 5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5278 ac_cv_path_CUPS_LP="$as_dir/$ac_word$ac_exec_ext" 5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5280 break 2 5281 fi 5282done 5283 done 5284IFS=$as_save_IFS 5285 5286 ;; 5287esac 5288fi 5289CUPS_LP=$ac_cv_path_CUPS_LP 5290if test -n "$CUPS_LP"; then 5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LP" >&5 5292$as_echo "$CUPS_LP" >&6; } 5293else 5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5295$as_echo "no" >&6; } 5296fi 5297 5298 5299 test -n "$CUPS_LP" && break 5300done 5301test -n "$CUPS_LP" || CUPS_LP="/usr/bin/lp" 5302 5303for ac_prog in cancel-cups cancel 5304do 5305 # Extract the first word of "$ac_prog", so it can be a program name with args. 5306set dummy $ac_prog; ac_word=$2 5307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5308$as_echo_n "checking for $ac_word... " >&6; } 5309if ${ac_cv_path_CUPS_CANCEL+:} false; then : 5310 $as_echo_n "(cached) " >&6 5311else 5312 case $CUPS_CANCEL in 5313 [\\/]* | ?:[\\/]*) 5314 ac_cv_path_CUPS_CANCEL="$CUPS_CANCEL" # Let the user override the test with a path. 5315 ;; 5316 *) 5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5318for as_dir in $BSB 5319do 5320 IFS=$as_save_IFS 5321 test -z "$as_dir" && as_dir=. 5322 for ac_exec_ext in '' $ac_executable_extensions; do 5323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5324 ac_cv_path_CUPS_CANCEL="$as_dir/$ac_word$ac_exec_ext" 5325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5326 break 2 5327 fi 5328done 5329 done 5330IFS=$as_save_IFS 5331 5332 ;; 5333esac 5334fi 5335CUPS_CANCEL=$ac_cv_path_CUPS_CANCEL 5336if test -n "$CUPS_CANCEL"; then 5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_CANCEL" >&5 5338$as_echo "$CUPS_CANCEL" >&6; } 5339else 5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5341$as_echo "no" >&6; } 5342fi 5343 5344 5345 test -n "$CUPS_CANCEL" && break 5346done 5347test -n "$CUPS_CANCEL" || CUPS_CANCEL="/usr/bin/cancel" 5348 5349for ac_prog in enable 5350do 5351 # Extract the first word of "$ac_prog", so it can be a program name with args. 5352set dummy $ac_prog; ac_word=$2 5353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5354$as_echo_n "checking for $ac_word... " >&6; } 5355if ${ac_cv_path_CUPS_ENABLE+:} false; then : 5356 $as_echo_n "(cached) " >&6 5357else 5358 case $CUPS_ENABLE in 5359 [\\/]* | ?:[\\/]*) 5360 ac_cv_path_CUPS_ENABLE="$CUPS_ENABLE" # Let the user override the test with a path. 5361 ;; 5362 *) 5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5364for as_dir in $BSB 5365do 5366 IFS=$as_save_IFS 5367 test -z "$as_dir" && as_dir=. 5368 for ac_exec_ext in '' $ac_executable_extensions; do 5369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5370 ac_cv_path_CUPS_ENABLE="$as_dir/$ac_word$ac_exec_ext" 5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5372 break 2 5373 fi 5374done 5375 done 5376IFS=$as_save_IFS 5377 5378 ;; 5379esac 5380fi 5381CUPS_ENABLE=$ac_cv_path_CUPS_ENABLE 5382if test -n "$CUPS_ENABLE"; then 5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_ENABLE" >&5 5384$as_echo "$CUPS_ENABLE" >&6; } 5385else 5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5387$as_echo "no" >&6; } 5388fi 5389 5390 5391 test -n "$CUPS_ENABLE" && break 5392done 5393test -n "$CUPS_ENABLE" || CUPS_ENABLE="/usr/bin/enable" 5394 5395for ac_prog in disable 5396do 5397 # Extract the first word of "$ac_prog", so it can be a program name with args. 5398set dummy $ac_prog; ac_word=$2 5399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5400$as_echo_n "checking for $ac_word... " >&6; } 5401if ${ac_cv_path_CUPS_DISABLE+:} false; then : 5402 $as_echo_n "(cached) " >&6 5403else 5404 case $CUPS_DISABLE in 5405 [\\/]* | ?:[\\/]*) 5406 ac_cv_path_CUPS_DISABLE="$CUPS_DISABLE" # Let the user override the test with a path. 5407 ;; 5408 *) 5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5410for as_dir in $BSB 5411do 5412 IFS=$as_save_IFS 5413 test -z "$as_dir" && as_dir=. 5414 for ac_exec_ext in '' $ac_executable_extensions; do 5415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5416 ac_cv_path_CUPS_DISABLE="$as_dir/$ac_word$ac_exec_ext" 5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5418 break 2 5419 fi 5420done 5421 done 5422IFS=$as_save_IFS 5423 5424 ;; 5425esac 5426fi 5427CUPS_DISABLE=$ac_cv_path_CUPS_DISABLE 5428if test -n "$CUPS_DISABLE"; then 5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_DISABLE" >&5 5430$as_echo "$CUPS_DISABLE" >&6; } 5431else 5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5433$as_echo "no" >&6; } 5434fi 5435 5436 5437 test -n "$CUPS_DISABLE" && break 5438done 5439test -n "$CUPS_DISABLE" || CUPS_DISABLE="/usr/bin/disable" 5440 5441for ac_prog in accept 5442do 5443 # Extract the first word of "$ac_prog", so it can be a program name with args. 5444set dummy $ac_prog; ac_word=$2 5445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5446$as_echo_n "checking for $ac_word... " >&6; } 5447if ${ac_cv_path_CUPS_ACCEPT+:} false; then : 5448 $as_echo_n "(cached) " >&6 5449else 5450 case $CUPS_ACCEPT in 5451 [\\/]* | ?:[\\/]*) 5452 ac_cv_path_CUPS_ACCEPT="$CUPS_ACCEPT" # Let the user override the test with a path. 5453 ;; 5454 *) 5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5456for as_dir in $SBB 5457do 5458 IFS=$as_save_IFS 5459 test -z "$as_dir" && as_dir=. 5460 for ac_exec_ext in '' $ac_executable_extensions; do 5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5462 ac_cv_path_CUPS_ACCEPT="$as_dir/$ac_word$ac_exec_ext" 5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5464 break 2 5465 fi 5466done 5467 done 5468IFS=$as_save_IFS 5469 5470 ;; 5471esac 5472fi 5473CUPS_ACCEPT=$ac_cv_path_CUPS_ACCEPT 5474if test -n "$CUPS_ACCEPT"; then 5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_ACCEPT" >&5 5476$as_echo "$CUPS_ACCEPT" >&6; } 5477else 5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5479$as_echo "no" >&6; } 5480fi 5481 5482 5483 test -n "$CUPS_ACCEPT" && break 5484done 5485test -n "$CUPS_ACCEPT" || CUPS_ACCEPT="/usr/sbin/accept" 5486 5487for ac_prog in reject 5488do 5489 # Extract the first word of "$ac_prog", so it can be a program name with args. 5490set dummy $ac_prog; ac_word=$2 5491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5492$as_echo_n "checking for $ac_word... " >&6; } 5493if ${ac_cv_path_CUPS_REJECT+:} false; then : 5494 $as_echo_n "(cached) " >&6 5495else 5496 case $CUPS_REJECT in 5497 [\\/]* | ?:[\\/]*) 5498 ac_cv_path_CUPS_REJECT="$CUPS_REJECT" # Let the user override the test with a path. 5499 ;; 5500 *) 5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5502for as_dir in $SBB 5503do 5504 IFS=$as_save_IFS 5505 test -z "$as_dir" && as_dir=. 5506 for ac_exec_ext in '' $ac_executable_extensions; do 5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5508 ac_cv_path_CUPS_REJECT="$as_dir/$ac_word$ac_exec_ext" 5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5510 break 2 5511 fi 5512done 5513 done 5514IFS=$as_save_IFS 5515 5516 ;; 5517esac 5518fi 5519CUPS_REJECT=$ac_cv_path_CUPS_REJECT 5520if test -n "$CUPS_REJECT"; then 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_REJECT" >&5 5522$as_echo "$CUPS_REJECT" >&6; } 5523else 5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5525$as_echo "no" >&6; } 5526fi 5527 5528 5529 test -n "$CUPS_REJECT" && break 5530done 5531test -n "$CUPS_REJECT" || CUPS_REJECT="/usr/sbin/reject" 5532 5533for ac_prog in lpmove 5534do 5535 # Extract the first word of "$ac_prog", so it can be a program name with args. 5536set dummy $ac_prog; ac_word=$2 5537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5538$as_echo_n "checking for $ac_word... " >&6; } 5539if ${ac_cv_path_CUPS_LPMOVE+:} false; then : 5540 $as_echo_n "(cached) " >&6 5541else 5542 case $CUPS_LPMOVE in 5543 [\\/]* | ?:[\\/]*) 5544 ac_cv_path_CUPS_LPMOVE="$CUPS_LPMOVE" # Let the user override the test with a path. 5545 ;; 5546 *) 5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5548for as_dir in $SBB 5549do 5550 IFS=$as_save_IFS 5551 test -z "$as_dir" && as_dir=. 5552 for ac_exec_ext in '' $ac_executable_extensions; do 5553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5554 ac_cv_path_CUPS_LPMOVE="$as_dir/$ac_word$ac_exec_ext" 5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5556 break 2 5557 fi 5558done 5559 done 5560IFS=$as_save_IFS 5561 5562 ;; 5563esac 5564fi 5565CUPS_LPMOVE=$ac_cv_path_CUPS_LPMOVE 5566if test -n "$CUPS_LPMOVE"; then 5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPMOVE" >&5 5568$as_echo "$CUPS_LPMOVE" >&6; } 5569else 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5571$as_echo "no" >&6; } 5572fi 5573 5574 5575 test -n "$CUPS_LPMOVE" && break 5576done 5577test -n "$CUPS_LPMOVE" || CUPS_LPMOVE="/usr/sbin/lpmove" 5578 5579for ac_prog in lpoptions 5580do 5581 # Extract the first word of "$ac_prog", so it can be a program name with args. 5582set dummy $ac_prog; ac_word=$2 5583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5584$as_echo_n "checking for $ac_word... " >&6; } 5585if ${ac_cv_path_CUPS_LPOPTIONS+:} false; then : 5586 $as_echo_n "(cached) " >&6 5587else 5588 case $CUPS_LPOPTIONS in 5589 [\\/]* | ?:[\\/]*) 5590 ac_cv_path_CUPS_LPOPTIONS="$CUPS_LPOPTIONS" # Let the user override the test with a path. 5591 ;; 5592 *) 5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5594for as_dir in $BINSEARCHPATH 5595do 5596 IFS=$as_save_IFS 5597 test -z "$as_dir" && as_dir=. 5598 for ac_exec_ext in '' $ac_executable_extensions; do 5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5600 ac_cv_path_CUPS_LPOPTIONS="$as_dir/$ac_word$ac_exec_ext" 5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5602 break 2 5603 fi 5604done 5605 done 5606IFS=$as_save_IFS 5607 5608 ;; 5609esac 5610fi 5611CUPS_LPOPTIONS=$ac_cv_path_CUPS_LPOPTIONS 5612if test -n "$CUPS_LPOPTIONS"; then 5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPOPTIONS" >&5 5614$as_echo "$CUPS_LPOPTIONS" >&6; } 5615else 5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5617$as_echo "no" >&6; } 5618fi 5619 5620 5621 test -n "$CUPS_LPOPTIONS" && break 5622done 5623test -n "$CUPS_LPOPTIONS" || CUPS_LPOPTIONS="/usr/bin/lpoptions" 5624 5625for ac_prog in lpinfo 5626do 5627 # Extract the first word of "$ac_prog", so it can be a program name with args. 5628set dummy $ac_prog; ac_word=$2 5629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5630$as_echo_n "checking for $ac_word... " >&6; } 5631if ${ac_cv_path_CUPS_LPINFO+:} false; then : 5632 $as_echo_n "(cached) " >&6 5633else 5634 case $CUPS_LPINFO in 5635 [\\/]* | ?:[\\/]*) 5636 ac_cv_path_CUPS_LPINFO="$CUPS_LPINFO" # Let the user override the test with a path. 5637 ;; 5638 *) 5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5640for as_dir in $SBINSEARCHPATH 5641do 5642 IFS=$as_save_IFS 5643 test -z "$as_dir" && as_dir=. 5644 for ac_exec_ext in '' $ac_executable_extensions; do 5645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5646 ac_cv_path_CUPS_LPINFO="$as_dir/$ac_word$ac_exec_ext" 5647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5648 break 2 5649 fi 5650done 5651 done 5652IFS=$as_save_IFS 5653 5654 ;; 5655esac 5656fi 5657CUPS_LPINFO=$ac_cv_path_CUPS_LPINFO 5658if test -n "$CUPS_LPINFO"; then 5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPINFO" >&5 5660$as_echo "$CUPS_LPINFO" >&6; } 5661else 5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5663$as_echo "no" >&6; } 5664fi 5665 5666 5667 test -n "$CUPS_LPINFO" && break 5668done 5669test -n "$CUPS_LPINFO" || CUPS_LPINFO="/usr/sbin/lpinfo" 5670 5671 5672# Paths for PDQ 5673for ac_dir in pdq 5674do 5675# Extract the first word of "$ac_dir", so it can be a program name with args. 5676set dummy $ac_dir; ac_word=$2 5677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 5678$as_echo_n "checking for $ac_word/... " >&6; } 5679if ${ac_cv_path_PDQ_CONF+:} false; then : 5680 $as_echo_n "(cached) " >&6 5681else 5682 case "$PDQ_CONF" in 5683 /*) 5684 ac_cv_path_PDQ_CONF="$PDQ_CONF" # Let the user override the test with a path. 5685 ;; 5686 ?:/*) 5687 ac_cv_path_PDQ_CONF="$PDQ_CONF" # Let the user override the test with a dos path. 5688 ;; 5689 *) 5690 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 5691 ac_dummy="$SYS_LIB_PATH" 5692 for ac_dir in $ac_dummy; do 5693 test -z "$ac_dir" && ac_dir=. 5694 if test -d $ac_dir/$ac_word; then 5695 ac_cv_path_PDQ_CONF="$ac_dir/$ac_word" 5696 break 5697 fi 5698 done 5699 IFS="$ac_save_ifs" 5700 ;; 5701esac 5702fi 5703PDQ_CONF="$ac_cv_path_PDQ_CONF" 5704if test -n "$PDQ_CONF"; then 5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDQ_CONF" >&5 5706$as_echo "$PDQ_CONF" >&6; } 5707else 5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5709$as_echo "no" >&6; } 5710fi 5711 5712test -n "$PDQ_CONF" && break 5713done 5714test -n "$PDQ_CONF" || PDQ_CONF="$libdir/pdq" 5715 5716for ac_prog in pdq/printrc 5717do 5718 # Extract the first word of "$ac_prog", so it can be a program name with args. 5719set dummy $ac_prog; ac_word=$2 5720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5721$as_echo_n "checking for $ac_word... " >&6; } 5722if ${ac_cv_path_PDQ_PRINTRC+:} false; then : 5723 $as_echo_n "(cached) " >&6 5724else 5725 case $PDQ_PRINTRC in 5726 [\\/]* | ?:[\\/]*) 5727 ac_cv_path_PDQ_PRINTRC="$PDQ_PRINTRC" # Let the user override the test with a path. 5728 ;; 5729 *) 5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5731for as_dir in $SYS_LIB_PATH 5732do 5733 IFS=$as_save_IFS 5734 test -z "$as_dir" && as_dir=. 5735 for ac_exec_ext in '' $ac_executable_extensions; do 5736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5737 ac_cv_path_PDQ_PRINTRC="$as_dir/$ac_word$ac_exec_ext" 5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5739 break 2 5740 fi 5741done 5742 done 5743IFS=$as_save_IFS 5744 5745 ;; 5746esac 5747fi 5748PDQ_PRINTRC=$ac_cv_path_PDQ_PRINTRC 5749if test -n "$PDQ_PRINTRC"; then 5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDQ_PRINTRC" >&5 5751$as_echo "$PDQ_PRINTRC" >&6; } 5752else 5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5754$as_echo "no" >&6; } 5755fi 5756 5757 5758 test -n "$PDQ_PRINTRC" && break 5759done 5760test -n "$PDQ_PRINTRC" || PDQ_PRINTRC="$PDQ_CONF/printrc" 5761 5762for ac_prog in pdq lpr-pdq 5763do 5764 # Extract the first word of "$ac_prog", so it can be a program name with args. 5765set dummy $ac_prog; ac_word=$2 5766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5767$as_echo_n "checking for $ac_word... " >&6; } 5768if ${ac_cv_path_PDQ_PRINT+:} false; then : 5769 $as_echo_n "(cached) " >&6 5770else 5771 case $PDQ_PRINT in 5772 [\\/]* | ?:[\\/]*) 5773 ac_cv_path_PDQ_PRINT="$PDQ_PRINT" # Let the user override the test with a path. 5774 ;; 5775 *) 5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5777for as_dir in $BINSEARCHPATH 5778do 5779 IFS=$as_save_IFS 5780 test -z "$as_dir" && as_dir=. 5781 for ac_exec_ext in '' $ac_executable_extensions; do 5782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5783 ac_cv_path_PDQ_PRINT="$as_dir/$ac_word$ac_exec_ext" 5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5785 break 2 5786 fi 5787done 5788 done 5789IFS=$as_save_IFS 5790 5791 ;; 5792esac 5793fi 5794PDQ_PRINT=$ac_cv_path_PDQ_PRINT 5795if test -n "$PDQ_PRINT"; then 5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDQ_PRINT" >&5 5797$as_echo "$PDQ_PRINT" >&6; } 5798else 5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5800$as_echo "no" >&6; } 5801fi 5802 5803 5804 test -n "$PDQ_PRINT" && break 5805done 5806test -n "$PDQ_PRINT" || PDQ_PRINT="/usr/bin/pdq" 5807 5808 5809# Paths for PPR 5810for ac_prog in ppr/bin/pprd 5811do 5812 # Extract the first word of "$ac_prog", so it can be a program name with args. 5813set dummy $ac_prog; ac_word=$2 5814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5815$as_echo_n "checking for $ac_word... " >&6; } 5816if ${ac_cv_path_PPR_PPRD+:} false; then : 5817 $as_echo_n "(cached) " >&6 5818else 5819 case $PPR_PPRD in 5820 [\\/]* | ?:[\\/]*) 5821 ac_cv_path_PPR_PPRD="$PPR_PPRD" # Let the user override the test with a path. 5822 ;; 5823 *) 5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5825for as_dir in $LIBSEARCHPATH 5826do 5827 IFS=$as_save_IFS 5828 test -z "$as_dir" && as_dir=. 5829 for ac_exec_ext in '' $ac_executable_extensions; do 5830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5831 ac_cv_path_PPR_PPRD="$as_dir/$ac_word$ac_exec_ext" 5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5833 break 2 5834 fi 5835done 5836 done 5837IFS=$as_save_IFS 5838 5839 ;; 5840esac 5841fi 5842PPR_PPRD=$ac_cv_path_PPR_PPRD 5843if test -n "$PPR_PPRD"; then 5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPRD" >&5 5845$as_echo "$PPR_PPRD" >&6; } 5846else 5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5848$as_echo "no" >&6; } 5849fi 5850 5851 5852 test -n "$PPR_PPRD" && break 5853done 5854test -n "$PPR_PPRD" || PPR_PPRD="$libdir/ppr/bin/pprd" 5855 5856for ac_dir in ppr/interfaces 5857do 5858# Extract the first word of "$ac_dir", so it can be a program name with args. 5859set dummy $ac_dir; ac_word=$2 5860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 5861$as_echo_n "checking for $ac_word/... " >&6; } 5862if ${ac_cv_path_PPR_INTERFACES+:} false; then : 5863 $as_echo_n "(cached) " >&6 5864else 5865 case "$PPR_INTERFACES" in 5866 /*) 5867 ac_cv_path_PPR_INTERFACES="$PPR_INTERFACES" # Let the user override the test with a path. 5868 ;; 5869 ?:/*) 5870 ac_cv_path_PPR_INTERFACES="$PPR_INTERFACES" # Let the user override the test with a dos path. 5871 ;; 5872 *) 5873 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 5874 ac_dummy="$LIBSEARCHPATH" 5875 for ac_dir in $ac_dummy; do 5876 test -z "$ac_dir" && ac_dir=. 5877 if test -d $ac_dir/$ac_word; then 5878 ac_cv_path_PPR_INTERFACES="$ac_dir/$ac_word" 5879 break 5880 fi 5881 done 5882 IFS="$ac_save_ifs" 5883 ;; 5884esac 5885fi 5886PPR_INTERFACES="$ac_cv_path_PPR_INTERFACES" 5887if test -n "$PPR_INTERFACES"; then 5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_INTERFACES" >&5 5889$as_echo "$PPR_INTERFACES" >&6; } 5890else 5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5892$as_echo "no" >&6; } 5893fi 5894 5895test -n "$PPR_INTERFACES" && break 5896done 5897test -n "$PPR_INTERFACES" || PPR_INTERFACES="$libdir/ppr/interfaces" 5898 5899for ac_dir in ppr/PPDFiles 5900do 5901# Extract the first word of "$ac_dir", so it can be a program name with args. 5902set dummy $ac_dir; ac_word=$2 5903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 5904$as_echo_n "checking for $ac_word/... " >&6; } 5905if ${ac_cv_path_PPR_PPDFILES+:} false; then : 5906 $as_echo_n "(cached) " >&6 5907else 5908 case "$PPR_PPDFILES" in 5909 /*) 5910 ac_cv_path_PPR_PPDFILES="$PPR_PPDFILES" # Let the user override the test with a path. 5911 ;; 5912 ?:/*) 5913 ac_cv_path_PPR_PPDFILES="$PPR_PPDFILES" # Let the user override the test with a dos path. 5914 ;; 5915 *) 5916 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 5917 ac_dummy="$DATASEARCHPATH" 5918 for ac_dir in $ac_dummy; do 5919 test -z "$ac_dir" && ac_dir=. 5920 if test -d $ac_dir/$ac_word; then 5921 ac_cv_path_PPR_PPDFILES="$ac_dir/$ac_word" 5922 break 5923 fi 5924 done 5925 IFS="$ac_save_ifs" 5926 ;; 5927esac 5928fi 5929PPR_PPDFILES="$ac_cv_path_PPR_PPDFILES" 5930if test -n "$PPR_PPDFILES"; then 5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPDFILES" >&5 5932$as_echo "$PPR_PPDFILES" >&6; } 5933else 5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5935$as_echo "no" >&6; } 5936fi 5937 5938test -n "$PPR_PPDFILES" && break 5939done 5940test -n "$PPR_PPDFILES" || PPR_PPDFILES="/usr/share/ppr/PPDFiles" 5941 5942for ac_dir in ppr 5943do 5944# Extract the first word of "$ac_dir", so it can be a program name with args. 5945set dummy $ac_dir; ac_word=$2 5946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 5947$as_echo_n "checking for $ac_word/... " >&6; } 5948if ${ac_cv_path_PPR_ETC+:} false; then : 5949 $as_echo_n "(cached) " >&6 5950else 5951 case "$PPR_ETC" in 5952 /*) 5953 ac_cv_path_PPR_ETC="$PPR_ETC" # Let the user override the test with a path. 5954 ;; 5955 ?:/*) 5956 ac_cv_path_PPR_ETC="$PPR_ETC" # Let the user override the test with a dos path. 5957 ;; 5958 *) 5959 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 5960 ac_dummy="$SYSCONFSEARCHPATH" 5961 for ac_dir in $ac_dummy; do 5962 test -z "$ac_dir" && ac_dir=. 5963 if test -d $ac_dir/$ac_word; then 5964 ac_cv_path_PPR_ETC="$ac_dir/$ac_word" 5965 break 5966 fi 5967 done 5968 IFS="$ac_save_ifs" 5969 ;; 5970esac 5971fi 5972PPR_ETC="$ac_cv_path_PPR_ETC" 5973if test -n "$PPR_ETC"; then 5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_ETC" >&5 5975$as_echo "$PPR_ETC" >&6; } 5976else 5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5978$as_echo "no" >&6; } 5979fi 5980 5981test -n "$PPR_ETC" && break 5982done 5983test -n "$PPR_ETC" || PPR_ETC="/etc/ppr" 5984 5985for ac_prog in ppr lpr-ppr 5986do 5987 # Extract the first word of "$ac_prog", so it can be a program name with args. 5988set dummy $ac_prog; ac_word=$2 5989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5990$as_echo_n "checking for $ac_word... " >&6; } 5991if ${ac_cv_path_PPR_PPR+:} false; then : 5992 $as_echo_n "(cached) " >&6 5993else 5994 case $PPR_PPR in 5995 [\\/]* | ?:[\\/]*) 5996 ac_cv_path_PPR_PPR="$PPR_PPR" # Let the user override the test with a path. 5997 ;; 5998 *) 5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6000for as_dir in $BINSEARCHPATH 6001do 6002 IFS=$as_save_IFS 6003 test -z "$as_dir" && as_dir=. 6004 for ac_exec_ext in '' $ac_executable_extensions; do 6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6006 ac_cv_path_PPR_PPR="$as_dir/$ac_word$ac_exec_ext" 6007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6008 break 2 6009 fi 6010done 6011 done 6012IFS=$as_save_IFS 6013 6014 ;; 6015esac 6016fi 6017PPR_PPR=$ac_cv_path_PPR_PPR 6018if test -n "$PPR_PPR"; then 6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPR" >&5 6020$as_echo "$PPR_PPR" >&6; } 6021else 6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6023$as_echo "no" >&6; } 6024fi 6025 6026 6027 test -n "$PPR_PPR" && break 6028done 6029test -n "$PPR_PPR" || PPR_PPR="/usr/bin/ppr" 6030 6031for ac_prog in ppad 6032do 6033 # Extract the first word of "$ac_prog", so it can be a program name with args. 6034set dummy $ac_prog; ac_word=$2 6035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6036$as_echo_n "checking for $ac_word... " >&6; } 6037if ${ac_cv_path_PPR_PPAD+:} false; then : 6038 $as_echo_n "(cached) " >&6 6039else 6040 case $PPR_PPAD in 6041 [\\/]* | ?:[\\/]*) 6042 ac_cv_path_PPR_PPAD="$PPR_PPAD" # Let the user override the test with a path. 6043 ;; 6044 *) 6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6046for as_dir in $BSB 6047do 6048 IFS=$as_save_IFS 6049 test -z "$as_dir" && as_dir=. 6050 for ac_exec_ext in '' $ac_executable_extensions; do 6051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6052 ac_cv_path_PPR_PPAD="$as_dir/$ac_word$ac_exec_ext" 6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6054 break 2 6055 fi 6056done 6057 done 6058IFS=$as_save_IFS 6059 6060 ;; 6061esac 6062fi 6063PPR_PPAD=$ac_cv_path_PPR_PPAD 6064if test -n "$PPR_PPAD"; then 6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPAD" >&5 6066$as_echo "$PPR_PPAD" >&6; } 6067else 6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6069$as_echo "no" >&6; } 6070fi 6071 6072 6073 test -n "$PPR_PPAD" && break 6074done 6075test -n "$PPR_PPAD" || PPR_PPAD="/usr/bin/ppad" 6076 6077for ac_prog in ppop 6078do 6079 # Extract the first word of "$ac_prog", so it can be a program name with args. 6080set dummy $ac_prog; ac_word=$2 6081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6082$as_echo_n "checking for $ac_word... " >&6; } 6083if ${ac_cv_path_PPR_PPOP+:} false; then : 6084 $as_echo_n "(cached) " >&6 6085else 6086 case $PPR_PPOP in 6087 [\\/]* | ?:[\\/]*) 6088 ac_cv_path_PPR_PPOP="$PPR_PPOP" # Let the user override the test with a path. 6089 ;; 6090 *) 6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6092for as_dir in $BSB 6093do 6094 IFS=$as_save_IFS 6095 test -z "$as_dir" && as_dir=. 6096 for ac_exec_ext in '' $ac_executable_extensions; do 6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6098 ac_cv_path_PPR_PPOP="$as_dir/$ac_word$ac_exec_ext" 6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6100 break 2 6101 fi 6102done 6103 done 6104IFS=$as_save_IFS 6105 6106 ;; 6107esac 6108fi 6109PPR_PPOP=$ac_cv_path_PPR_PPOP 6110if test -n "$PPR_PPOP"; then 6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPOP" >&5 6112$as_echo "$PPR_PPOP" >&6; } 6113else 6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6115$as_echo "no" >&6; } 6116fi 6117 6118 6119 test -n "$PPR_PPOP" && break 6120done 6121test -n "$PPR_PPOP" || PPR_PPOP="/usr/bin/ppop" 6122 6123 6124 6125# Other paths 6126for ac_prog in nc netcat 6127do 6128 # Extract the first word of "$ac_prog", so it can be a program name with args. 6129set dummy $ac_prog; ac_word=$2 6130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6131$as_echo_n "checking for $ac_word... " >&6; } 6132if ${ac_cv_path_NC+:} false; then : 6133 $as_echo_n "(cached) " >&6 6134else 6135 case $NC in 6136 [\\/]* | ?:[\\/]*) 6137 ac_cv_path_NC="$NC" # Let the user override the test with a path. 6138 ;; 6139 *) 6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6141for as_dir in $BSB 6142do 6143 IFS=$as_save_IFS 6144 test -z "$as_dir" && as_dir=. 6145 for ac_exec_ext in '' $ac_executable_extensions; do 6146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6147 ac_cv_path_NC="$as_dir/$ac_word$ac_exec_ext" 6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6149 break 2 6150 fi 6151done 6152 done 6153IFS=$as_save_IFS 6154 6155 ;; 6156esac 6157fi 6158NC=$ac_cv_path_NC 6159if test -n "$NC"; then 6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NC" >&5 6161$as_echo "$NC" >&6; } 6162else 6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6164$as_echo "no" >&6; } 6165fi 6166 6167 6168 test -n "$NC" && break 6169done 6170test -n "$NC" || NC="/usr/bin/nc" 6171 6172for ac_prog in rlpr 6173do 6174 # Extract the first word of "$ac_prog", so it can be a program name with args. 6175set dummy $ac_prog; ac_word=$2 6176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6177$as_echo_n "checking for $ac_word... " >&6; } 6178if ${ac_cv_path_RLPR+:} false; then : 6179 $as_echo_n "(cached) " >&6 6180else 6181 case $RLPR in 6182 [\\/]* | ?:[\\/]*) 6183 ac_cv_path_RLPR="$RLPR" # Let the user override the test with a path. 6184 ;; 6185 *) 6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6187for as_dir in $BSB 6188do 6189 IFS=$as_save_IFS 6190 test -z "$as_dir" && as_dir=. 6191 for ac_exec_ext in '' $ac_executable_extensions; do 6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6193 ac_cv_path_RLPR="$as_dir/$ac_word$ac_exec_ext" 6194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6195 break 2 6196 fi 6197done 6198 done 6199IFS=$as_save_IFS 6200 6201 ;; 6202esac 6203fi 6204RLPR=$ac_cv_path_RLPR 6205if test -n "$RLPR"; then 6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RLPR" >&5 6207$as_echo "$RLPR" >&6; } 6208else 6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6210$as_echo "no" >&6; } 6211fi 6212 6213 6214 test -n "$RLPR" && break 6215done 6216test -n "$RLPR" || RLPR="/usr/bin/rlpr" 6217 6218for ac_prog in smbclient 6219do 6220 # Extract the first word of "$ac_prog", so it can be a program name with args. 6221set dummy $ac_prog; ac_word=$2 6222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6223$as_echo_n "checking for $ac_word... " >&6; } 6224if ${ac_cv_path_SMBCLIENT+:} false; then : 6225 $as_echo_n "(cached) " >&6 6226else 6227 case $SMBCLIENT in 6228 [\\/]* | ?:[\\/]*) 6229 ac_cv_path_SMBCLIENT="$SMBCLIENT" # Let the user override the test with a path. 6230 ;; 6231 *) 6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6233for as_dir in $BSB 6234do 6235 IFS=$as_save_IFS 6236 test -z "$as_dir" && as_dir=. 6237 for ac_exec_ext in '' $ac_executable_extensions; do 6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6239 ac_cv_path_SMBCLIENT="$as_dir/$ac_word$ac_exec_ext" 6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6241 break 2 6242 fi 6243done 6244 done 6245IFS=$as_save_IFS 6246 6247 ;; 6248esac 6249fi 6250SMBCLIENT=$ac_cv_path_SMBCLIENT 6251if test -n "$SMBCLIENT"; then 6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SMBCLIENT" >&5 6253$as_echo "$SMBCLIENT" >&6; } 6254else 6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6256$as_echo "no" >&6; } 6257fi 6258 6259 6260 test -n "$SMBCLIENT" && break 6261done 6262test -n "$SMBCLIENT" || SMBCLIENT="/usr/bin/smbclient" 6263 6264for ac_prog in nprint 6265do 6266 # Extract the first word of "$ac_prog", so it can be a program name with args. 6267set dummy $ac_prog; ac_word=$2 6268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6269$as_echo_n "checking for $ac_word... " >&6; } 6270if ${ac_cv_path_NPRINT+:} false; then : 6271 $as_echo_n "(cached) " >&6 6272else 6273 case $NPRINT in 6274 [\\/]* | ?:[\\/]*) 6275 ac_cv_path_NPRINT="$NPRINT" # Let the user override the test with a path. 6276 ;; 6277 *) 6278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6279for as_dir in $BSB 6280do 6281 IFS=$as_save_IFS 6282 test -z "$as_dir" && as_dir=. 6283 for ac_exec_ext in '' $ac_executable_extensions; do 6284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6285 ac_cv_path_NPRINT="$as_dir/$ac_word$ac_exec_ext" 6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6287 break 2 6288 fi 6289done 6290 done 6291IFS=$as_save_IFS 6292 6293 ;; 6294esac 6295fi 6296NPRINT=$ac_cv_path_NPRINT 6297if test -n "$NPRINT"; then 6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPRINT" >&5 6299$as_echo "$NPRINT" >&6; } 6300else 6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6302$as_echo "no" >&6; } 6303fi 6304 6305 6306 test -n "$NPRINT" && break 6307done 6308test -n "$NPRINT" || NPRINT="/usr/bin/nprint" 6309 6310for ac_prog in ptal-connect 6311do 6312 # Extract the first word of "$ac_prog", so it can be a program name with args. 6313set dummy $ac_prog; ac_word=$2 6314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6315$as_echo_n "checking for $ac_word... " >&6; } 6316if ${ac_cv_path_PTAL_CONNECT+:} false; then : 6317 $as_echo_n "(cached) " >&6 6318else 6319 case $PTAL_CONNECT in 6320 [\\/]* | ?:[\\/]*) 6321 ac_cv_path_PTAL_CONNECT="$PTAL_CONNECT" # Let the user override the test with a path. 6322 ;; 6323 *) 6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6325for as_dir in $BSB 6326do 6327 IFS=$as_save_IFS 6328 test -z "$as_dir" && as_dir=. 6329 for ac_exec_ext in '' $ac_executable_extensions; do 6330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6331 ac_cv_path_PTAL_CONNECT="$as_dir/$ac_word$ac_exec_ext" 6332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6333 break 2 6334 fi 6335done 6336 done 6337IFS=$as_save_IFS 6338 6339 ;; 6340esac 6341fi 6342PTAL_CONNECT=$ac_cv_path_PTAL_CONNECT 6343if test -n "$PTAL_CONNECT"; then 6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTAL_CONNECT" >&5 6345$as_echo "$PTAL_CONNECT" >&6; } 6346else 6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6348$as_echo "no" >&6; } 6349fi 6350 6351 6352 test -n "$PTAL_CONNECT" && break 6353done 6354test -n "$PTAL_CONNECT" || PTAL_CONNECT="/usr/bin/ptal-connect" 6355 6356for ac_dir in ptal-printd 6357do 6358# Extract the first word of "$ac_dir", so it can be a program name with args. 6359set dummy $ac_dir; ac_word=$2 6360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 6361$as_echo_n "checking for $ac_word/... " >&6; } 6362if ${ac_cv_path_PTAL_PIPES+:} false; then : 6363 $as_echo_n "(cached) " >&6 6364else 6365 case "$PTAL_PIPES" in 6366 /*) 6367 ac_cv_path_PTAL_PIPES="$PTAL_PIPES" # Let the user override the test with a path. 6368 ;; 6369 ?:/*) 6370 ac_cv_path_PTAL_PIPES="$PTAL_PIPES" # Let the user override the test with a dos path. 6371 ;; 6372 *) 6373 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 6374 ac_dummy="$PTALPIPESSEARCHPATH" 6375 for ac_dir in $ac_dummy; do 6376 test -z "$ac_dir" && ac_dir=. 6377 if test -d $ac_dir/$ac_word; then 6378 ac_cv_path_PTAL_PIPES="$ac_dir/$ac_word" 6379 break 6380 fi 6381 done 6382 IFS="$ac_save_ifs" 6383 ;; 6384esac 6385fi 6386PTAL_PIPES="$ac_cv_path_PTAL_PIPES" 6387if test -n "$PTAL_PIPES"; then 6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTAL_PIPES" >&5 6389$as_echo "$PTAL_PIPES" >&6; } 6390else 6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6392$as_echo "no" >&6; } 6393fi 6394 6395test -n "$PTAL_PIPES" && break 6396done 6397test -n "$PTAL_PIPES" || PTAL_PIPES="/var/run/ptal-printd" 6398 6399for ac_dir in mtink 6400do 6401# Extract the first word of "$ac_dir", so it can be a program name with args. 6402set dummy $ac_dir; ac_word=$2 6403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 6404$as_echo_n "checking for $ac_word/... " >&6; } 6405if ${ac_cv_path_MTINK_PIPES+:} false; then : 6406 $as_echo_n "(cached) " >&6 6407else 6408 case "$MTINK_PIPES" in 6409 /*) 6410 ac_cv_path_MTINK_PIPES="$MTINK_PIPES" # Let the user override the test with a path. 6411 ;; 6412 ?:/*) 6413 ac_cv_path_MTINK_PIPES="$MTINK_PIPES" # Let the user override the test with a dos path. 6414 ;; 6415 *) 6416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 6417 ac_dummy="$MTINKPIPESSEARCHPATH" 6418 for ac_dir in $ac_dummy; do 6419 test -z "$ac_dir" && ac_dir=. 6420 if test -d $ac_dir/$ac_word; then 6421 ac_cv_path_MTINK_PIPES="$ac_dir/$ac_word" 6422 break 6423 fi 6424 done 6425 IFS="$ac_save_ifs" 6426 ;; 6427esac 6428fi 6429MTINK_PIPES="$ac_cv_path_MTINK_PIPES" 6430if test -n "$MTINK_PIPES"; then 6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MTINK_PIPES" >&5 6432$as_echo "$MTINK_PIPES" >&6; } 6433else 6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6435$as_echo "no" >&6; } 6436fi 6437 6438test -n "$MTINK_PIPES" && break 6439done 6440test -n "$MTINK_PIPES" || MTINK_PIPES="/var/mtink" 6441 6442for ac_prog in gzip 6443do 6444 # Extract the first word of "$ac_prog", so it can be a program name with args. 6445set dummy $ac_prog; ac_word=$2 6446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6447$as_echo_n "checking for $ac_word... " >&6; } 6448if ${ac_cv_path_GZIP+:} false; then : 6449 $as_echo_n "(cached) " >&6 6450else 6451 case $GZIP in 6452 [\\/]* | ?:[\\/]*) 6453 ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. 6454 ;; 6455 *) 6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6457for as_dir in $BSB 6458do 6459 IFS=$as_save_IFS 6460 test -z "$as_dir" && as_dir=. 6461 for ac_exec_ext in '' $ac_executable_extensions; do 6462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6463 ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext" 6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6465 break 2 6466 fi 6467done 6468 done 6469IFS=$as_save_IFS 6470 6471 ;; 6472esac 6473fi 6474GZIP=$ac_cv_path_GZIP 6475if test -n "$GZIP"; then 6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5 6477$as_echo "$GZIP" >&6; } 6478else 6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6480$as_echo "no" >&6; } 6481fi 6482 6483 6484 test -n "$GZIP" && break 6485done 6486test -n "$GZIP" || GZIP="/bin/gzip" 6487 6488 6489# Path for Foomatic XML database (foomatic-db) 6490for ac_dir in foomatic/db/source 6491do 6492# Extract the first word of "$ac_dir", so it can be a program name with args. 6493set dummy $ac_dir; ac_word=$2 6494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 6495$as_echo_n "checking for $ac_word/... " >&6; } 6496if ${ac_cv_path_LIBDIR+:} false; then : 6497 $as_echo_n "(cached) " >&6 6498else 6499 case "$LIBDIR" in 6500 /*) 6501 ac_cv_path_LIBDIR="$LIBDIR" # Let the user override the test with a path. 6502 ;; 6503 ?:/*) 6504 ac_cv_path_LIBDIR="$LIBDIR" # Let the user override the test with a dos path. 6505 ;; 6506 *) 6507 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 6508 ac_dummy="$DATASEARCHPATH" 6509 for ac_dir in $ac_dummy; do 6510 test -z "$ac_dir" && ac_dir=. 6511 if test -d $ac_dir/$ac_word; then 6512 ac_cv_path_LIBDIR="$ac_dir/$ac_word" 6513 break 6514 fi 6515 done 6516 IFS="$ac_save_ifs" 6517 ;; 6518esac 6519fi 6520LIBDIR="$ac_cv_path_LIBDIR" 6521if test -n "$LIBDIR"; then 6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBDIR" >&5 6523$as_echo "$LIBDIR" >&6; } 6524else 6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6526$as_echo "no" >&6; } 6527fi 6528 6529test -n "$LIBDIR" && break 6530done 6531test -n "$LIBDIR" || LIBDIR="/usr/share/foomatic/db/source" 6532 6533LIBDIR=`echo $LIBDIR | sed -e "s:/db/source$::"` 6534for ac_dir in db/source 6535do 6536# Extract the first word of "$ac_dir", so it can be a program name with args. 6537set dummy $ac_dir; ac_word=$2 6538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word/" >&5 6539$as_echo_n "checking for $ac_word/... " >&6; } 6540if ${ac_cv_path_LOCAL_LIBDIR+:} false; then : 6541 $as_echo_n "(cached) " >&6 6542else 6543 case "$LOCAL_LIBDIR" in 6544 /*) 6545 ac_cv_path_LOCAL_LIBDIR="$LOCAL_LIBDIR" # Let the user override the test with a path. 6546 ;; 6547 ?:/*) 6548 ac_cv_path_LOCAL_LIBDIR="$LOCAL_LIBDIR" # Let the user override the test with a dos path. 6549 ;; 6550 *) 6551 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 6552 ac_dummy=".:./foomatic-db:./foomatic-db*:../foomatic-db:../foomatic-db*" 6553 for ac_dir in $ac_dummy; do 6554 test -z "$ac_dir" && ac_dir=. 6555 if test -d $ac_dir/$ac_word; then 6556 ac_cv_path_LOCAL_LIBDIR="$ac_dir/$ac_word" 6557 break 6558 fi 6559 done 6560 IFS="$ac_save_ifs" 6561 ;; 6562esac 6563fi 6564LOCAL_LIBDIR="$ac_cv_path_LOCAL_LIBDIR" 6565if test -n "$LOCAL_LIBDIR"; then 6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCAL_LIBDIR" >&5 6567$as_echo "$LOCAL_LIBDIR" >&6; } 6568else 6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6570$as_echo "no" >&6; } 6571fi 6572 6573test -n "$LOCAL_LIBDIR" && break 6574done 6575test -n "$LOCAL_LIBDIR" || LOCAL_LIBDIR="../foomatic-db/db/source" 6576 6577LOCAL_LIBDIR=`echo $LOCAL_LIBDIR | sed -e "s:/db/source$::"` 6578 6579# Path for foomatic-rip (from foomatic-filters) 6580for ac_prog in foomatic-rip 6581do 6582 # Extract the first word of "$ac_prog", so it can be a program name with args. 6583set dummy $ac_prog; ac_word=$2 6584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6585$as_echo_n "checking for $ac_word... " >&6; } 6586if ${ac_cv_path_FOOMATIC_RIP+:} false; then : 6587 $as_echo_n "(cached) " >&6 6588else 6589 case $FOOMATIC_RIP in 6590 [\\/]* | ?:[\\/]*) 6591 ac_cv_path_FOOMATIC_RIP="$FOOMATIC_RIP" # Let the user override the test with a path. 6592 ;; 6593 *) 6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6595for as_dir in $BSB 6596do 6597 IFS=$as_save_IFS 6598 test -z "$as_dir" && as_dir=. 6599 for ac_exec_ext in '' $ac_executable_extensions; do 6600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6601 ac_cv_path_FOOMATIC_RIP="$as_dir/$ac_word$ac_exec_ext" 6602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6603 break 2 6604 fi 6605done 6606 done 6607IFS=$as_save_IFS 6608 6609 ;; 6610esac 6611fi 6612FOOMATIC_RIP=$ac_cv_path_FOOMATIC_RIP 6613if test -n "$FOOMATIC_RIP"; then 6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOOMATIC_RIP" >&5 6615$as_echo "$FOOMATIC_RIP" >&6; } 6616else 6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6618$as_echo "no" >&6; } 6619fi 6620 6621 6622 test -n "$FOOMATIC_RIP" && break 6623done 6624test -n "$FOOMATIC_RIP" || FOOMATIC_RIP="/usr/bin/foomatic-rip" 6625 6626for ac_prog in foomatic-rip 6627do 6628 # Extract the first word of "$ac_prog", so it can be a program name with args. 6629set dummy $ac_prog; ac_word=$2 6630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6631$as_echo_n "checking for $ac_word... " >&6; } 6632if ${ac_cv_path_LOCAL_FOOMATIC_RIP+:} false; then : 6633 $as_echo_n "(cached) " >&6 6634else 6635 case $LOCAL_FOOMATIC_RIP in 6636 [\\/]* | ?:[\\/]*) 6637 ac_cv_path_LOCAL_FOOMATIC_RIP="$LOCAL_FOOMATIC_RIP" # Let the user override the test with a path. 6638 ;; 6639 *) 6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6641as_dummy=".:./foomatic-filters:./foomatic-filters*:../foomatic-filters:../foomatic-filters*" 6642for as_dir in $as_dummy 6643do 6644 IFS=$as_save_IFS 6645 test -z "$as_dir" && as_dir=. 6646 for ac_exec_ext in '' $ac_executable_extensions; do 6647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6648 ac_cv_path_LOCAL_FOOMATIC_RIP="$as_dir/$ac_word$ac_exec_ext" 6649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6650 break 2 6651 fi 6652done 6653 done 6654IFS=$as_save_IFS 6655 6656 ;; 6657esac 6658fi 6659LOCAL_FOOMATIC_RIP=$ac_cv_path_LOCAL_FOOMATIC_RIP 6660if test -n "$LOCAL_FOOMATIC_RIP"; then 6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCAL_FOOMATIC_RIP" >&5 6662$as_echo "$LOCAL_FOOMATIC_RIP" >&6; } 6663else 6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6665$as_echo "no" >&6; } 6666fi 6667 6668 6669 test -n "$LOCAL_FOOMATIC_RIP" && break 6670done 6671test -n "$LOCAL_FOOMATIC_RIP" || LOCAL_FOOMATIC_RIP="../foomatic-filters/foomatic-rip" 6672 6673 6674ac_config_files="$ac_config_files Makefile makeDefaults makeMan foomatic-configure foomatic-printjob foomatic-kitload foomatic-ppdfile foomatic-preferred-driver foomatic-cleanupdrivers foomatic-getpjloptions foomatic-addpjloptions foomatic-compiledb foomatic-fix-xml foomatic-nonumericalids foomatic-replaceoldprinterids foomatic-ppd-options foomatic-printermap-to-gutenprint-xml foomatic-extract-text foomatic-searchprinter foomatic-ppd-to-xml" 6675 6676cat >confcache <<\_ACEOF 6677# This file is a shell script that caches the results of configure 6678# tests run on this system so they can be shared between configure 6679# scripts and configure runs, see configure's option --config-cache. 6680# It is not useful on other systems. If it contains results you don't 6681# want to keep, you may remove or edit it. 6682# 6683# config.status only pays attention to the cache file if you give it 6684# the --recheck option to rerun configure. 6685# 6686# `ac_cv_env_foo' variables (set or unset) will be overridden when 6687# loading this file, other *unset* `ac_cv_foo' will be assigned the 6688# following values. 6689 6690_ACEOF 6691 6692# The following way of writing the cache mishandles newlines in values, 6693# but we know of no workaround that is simple, portable, and efficient. 6694# So, we kill variables containing newlines. 6695# Ultrix sh set writes to stderr and can't be redirected directly, 6696# and sets the high bit in the cache file unless we assign to the vars. 6697( 6698 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6699 eval ac_val=\$$ac_var 6700 case $ac_val in #( 6701 *${as_nl}*) 6702 case $ac_var in #( 6703 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6704$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6705 esac 6706 case $ac_var in #( 6707 _ | IFS | as_nl) ;; #( 6708 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6709 *) { eval $ac_var=; unset $ac_var;} ;; 6710 esac ;; 6711 esac 6712 done 6713 6714 (set) 2>&1 | 6715 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6716 *${as_nl}ac_space=\ *) 6717 # `set' does not quote correctly, so add quotes: double-quote 6718 # substitution turns \\\\ into \\, and sed turns \\ into \. 6719 sed -n \ 6720 "s/'/'\\\\''/g; 6721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6722 ;; #( 6723 *) 6724 # `set' quotes correctly as required by POSIX, so do not add quotes. 6725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6726 ;; 6727 esac | 6728 sort 6729) | 6730 sed ' 6731 /^ac_cv_env_/b end 6732 t clear 6733 :clear 6734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6735 t end 6736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6737 :end' >>confcache 6738if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6739 if test -w "$cache_file"; then 6740 if test "x$cache_file" != "x/dev/null"; then 6741 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6742$as_echo "$as_me: updating cache $cache_file" >&6;} 6743 if test ! -f "$cache_file" || test -h "$cache_file"; then 6744 cat confcache >"$cache_file" 6745 else 6746 case $cache_file in #( 6747 */* | ?:*) 6748 mv -f confcache "$cache_file"$$ && 6749 mv -f "$cache_file"$$ "$cache_file" ;; #( 6750 *) 6751 mv -f confcache "$cache_file" ;; 6752 esac 6753 fi 6754 fi 6755 else 6756 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6757$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6758 fi 6759fi 6760rm -f confcache 6761 6762test "x$prefix" = xNONE && prefix=$ac_default_prefix 6763# Let make expand exec_prefix. 6764test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6765 6766# Transform confdefs.h into DEFS. 6767# Protect against shell expansion while executing Makefile rules. 6768# Protect against Makefile macro expansion. 6769# 6770# If the first sed substitution is executed (which looks for macros that 6771# take arguments), then branch to the quote section. Otherwise, 6772# look for a macro that doesn't take arguments. 6773ac_script=' 6774:mline 6775/\\$/{ 6776 N 6777 s,\\\n,, 6778 b mline 6779} 6780t clear 6781:clear 6782s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 6783t quote 6784s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 6785t quote 6786b any 6787:quote 6788s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 6789s/\[/\\&/g 6790s/\]/\\&/g 6791s/\$/$$/g 6792H 6793:any 6794${ 6795 g 6796 s/^\n// 6797 s/\n/ /g 6798 p 6799} 6800' 6801DEFS=`sed -n "$ac_script" confdefs.h` 6802 6803 6804ac_libobjs= 6805ac_ltlibobjs= 6806U= 6807for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6808 # 1. Remove the extension, and $U if already installed. 6809 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6810 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6811 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6812 # will be set to the directory where LIBOBJS objects are built. 6813 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6814 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6815done 6816LIBOBJS=$ac_libobjs 6817 6818LTLIBOBJS=$ac_ltlibobjs 6819 6820 6821 6822: "${CONFIG_STATUS=./config.status}" 6823ac_write_fail=0 6824ac_clean_files_save=$ac_clean_files 6825ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6827$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6828as_write_fail=0 6829cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6830#! $SHELL 6831# Generated by $as_me. 6832# Run this file to recreate the current configuration. 6833# Compiler output produced by configure, useful for debugging 6834# configure, is in config.log if it exists. 6835 6836debug=false 6837ac_cs_recheck=false 6838ac_cs_silent=false 6839 6840SHELL=\${CONFIG_SHELL-$SHELL} 6841export SHELL 6842_ASEOF 6843cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6844## -------------------- ## 6845## M4sh Initialization. ## 6846## -------------------- ## 6847 6848# Be more Bourne compatible 6849DUALCASE=1; export DUALCASE # for MKS sh 6850if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6851 emulate sh 6852 NULLCMD=: 6853 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6854 # is contrary to our usage. Disable this feature. 6855 alias -g '${1+"$@"}'='"$@"' 6856 setopt NO_GLOB_SUBST 6857else 6858 case `(set -o) 2>/dev/null` in #( 6859 *posix*) : 6860 set -o posix ;; #( 6861 *) : 6862 ;; 6863esac 6864fi 6865 6866 6867as_nl=' 6868' 6869export as_nl 6870# Printing a long string crashes Solaris 7 /usr/bin/printf. 6871as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6872as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6873as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6874# Prefer a ksh shell builtin over an external printf program on Solaris, 6875# but without wasting forks for bash or zsh. 6876if test -z "$BASH_VERSION$ZSH_VERSION" \ 6877 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6878 as_echo='print -r --' 6879 as_echo_n='print -rn --' 6880elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6881 as_echo='printf %s\n' 6882 as_echo_n='printf %s' 6883else 6884 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6885 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6886 as_echo_n='/usr/ucb/echo -n' 6887 else 6888 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6889 as_echo_n_body='eval 6890 arg=$1; 6891 case $arg in #( 6892 *"$as_nl"*) 6893 expr "X$arg" : "X\\(.*\\)$as_nl"; 6894 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6895 esac; 6896 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6897 ' 6898 export as_echo_n_body 6899 as_echo_n='sh -c $as_echo_n_body as_echo' 6900 fi 6901 export as_echo_body 6902 as_echo='sh -c $as_echo_body as_echo' 6903fi 6904 6905# The user is always right. 6906if test "${PATH_SEPARATOR+set}" != set; then 6907 PATH_SEPARATOR=: 6908 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6909 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6910 PATH_SEPARATOR=';' 6911 } 6912fi 6913 6914 6915# IFS 6916# We need space, tab and new line, in precisely that order. Quoting is 6917# there to prevent editors from complaining about space-tab. 6918# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6919# splitting by setting IFS to empty value.) 6920IFS=" "" $as_nl" 6921 6922# Find who we are. Look in the path if we contain no directory separator. 6923as_myself= 6924case $0 in #(( 6925 *[\\/]* ) as_myself=$0 ;; 6926 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6927for as_dir in $PATH 6928do 6929 IFS=$as_save_IFS 6930 test -z "$as_dir" && as_dir=. 6931 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6932 done 6933IFS=$as_save_IFS 6934 6935 ;; 6936esac 6937# We did not find ourselves, most probably we were run as `sh COMMAND' 6938# in which case we are not to be found in the path. 6939if test "x$as_myself" = x; then 6940 as_myself=$0 6941fi 6942if test ! -f "$as_myself"; then 6943 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6944 exit 1 6945fi 6946 6947# Unset variables that we do not need and which cause bugs (e.g. in 6948# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6949# suppresses any "Segmentation fault" message there. '((' could 6950# trigger a bug in pdksh 5.2.14. 6951for as_var in BASH_ENV ENV MAIL MAILPATH 6952do eval test x\${$as_var+set} = xset \ 6953 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6954done 6955PS1='$ ' 6956PS2='> ' 6957PS4='+ ' 6958 6959# NLS nuisances. 6960LC_ALL=C 6961export LC_ALL 6962LANGUAGE=C 6963export LANGUAGE 6964 6965# CDPATH. 6966(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6967 6968 6969# as_fn_error STATUS ERROR [LINENO LOG_FD] 6970# ---------------------------------------- 6971# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6972# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6973# script with STATUS, using 1 if that was 0. 6974as_fn_error () 6975{ 6976 as_status=$1; test $as_status -eq 0 && as_status=1 6977 if test "$4"; then 6978 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6979 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6980 fi 6981 $as_echo "$as_me: error: $2" >&2 6982 as_fn_exit $as_status 6983} # as_fn_error 6984 6985 6986# as_fn_set_status STATUS 6987# ----------------------- 6988# Set $? to STATUS, without forking. 6989as_fn_set_status () 6990{ 6991 return $1 6992} # as_fn_set_status 6993 6994# as_fn_exit STATUS 6995# ----------------- 6996# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6997as_fn_exit () 6998{ 6999 set +e 7000 as_fn_set_status $1 7001 exit $1 7002} # as_fn_exit 7003 7004# as_fn_unset VAR 7005# --------------- 7006# Portably unset VAR. 7007as_fn_unset () 7008{ 7009 { eval $1=; unset $1;} 7010} 7011as_unset=as_fn_unset 7012# as_fn_append VAR VALUE 7013# ---------------------- 7014# Append the text in VALUE to the end of the definition contained in VAR. Take 7015# advantage of any shell optimizations that allow amortized linear growth over 7016# repeated appends, instead of the typical quadratic growth present in naive 7017# implementations. 7018if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7019 eval 'as_fn_append () 7020 { 7021 eval $1+=\$2 7022 }' 7023else 7024 as_fn_append () 7025 { 7026 eval $1=\$$1\$2 7027 } 7028fi # as_fn_append 7029 7030# as_fn_arith ARG... 7031# ------------------ 7032# Perform arithmetic evaluation on the ARGs, and store the result in the 7033# global $as_val. Take advantage of shells that can avoid forks. The arguments 7034# must be portable across $(()) and expr. 7035if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7036 eval 'as_fn_arith () 7037 { 7038 as_val=$(( $* )) 7039 }' 7040else 7041 as_fn_arith () 7042 { 7043 as_val=`expr "$@" || test $? -eq 1` 7044 } 7045fi # as_fn_arith 7046 7047 7048if expr a : '\(a\)' >/dev/null 2>&1 && 7049 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7050 as_expr=expr 7051else 7052 as_expr=false 7053fi 7054 7055if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7056 as_basename=basename 7057else 7058 as_basename=false 7059fi 7060 7061if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7062 as_dirname=dirname 7063else 7064 as_dirname=false 7065fi 7066 7067as_me=`$as_basename -- "$0" || 7068$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7069 X"$0" : 'X\(//\)$' \| \ 7070 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7071$as_echo X/"$0" | 7072 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7073 s//\1/ 7074 q 7075 } 7076 /^X\/\(\/\/\)$/{ 7077 s//\1/ 7078 q 7079 } 7080 /^X\/\(\/\).*/{ 7081 s//\1/ 7082 q 7083 } 7084 s/.*/./; q'` 7085 7086# Avoid depending upon Character Ranges. 7087as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7088as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7089as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7090as_cr_digits='0123456789' 7091as_cr_alnum=$as_cr_Letters$as_cr_digits 7092 7093ECHO_C= ECHO_N= ECHO_T= 7094case `echo -n x` in #((((( 7095-n*) 7096 case `echo 'xy\c'` in 7097 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7098 xy) ECHO_C='\c';; 7099 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7100 ECHO_T=' ';; 7101 esac;; 7102*) 7103 ECHO_N='-n';; 7104esac 7105 7106rm -f conf$$ conf$$.exe conf$$.file 7107if test -d conf$$.dir; then 7108 rm -f conf$$.dir/conf$$.file 7109else 7110 rm -f conf$$.dir 7111 mkdir conf$$.dir 2>/dev/null 7112fi 7113if (echo >conf$$.file) 2>/dev/null; then 7114 if ln -s conf$$.file conf$$ 2>/dev/null; then 7115 as_ln_s='ln -s' 7116 # ... but there are two gotchas: 7117 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7118 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7119 # In both cases, we have to default to `cp -p'. 7120 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7121 as_ln_s='cp -p' 7122 elif ln conf$$.file conf$$ 2>/dev/null; then 7123 as_ln_s=ln 7124 else 7125 as_ln_s='cp -p' 7126 fi 7127else 7128 as_ln_s='cp -p' 7129fi 7130rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7131rmdir conf$$.dir 2>/dev/null 7132 7133 7134# as_fn_mkdir_p 7135# ------------- 7136# Create "$as_dir" as a directory, including parents if necessary. 7137as_fn_mkdir_p () 7138{ 7139 7140 case $as_dir in #( 7141 -*) as_dir=./$as_dir;; 7142 esac 7143 test -d "$as_dir" || eval $as_mkdir_p || { 7144 as_dirs= 7145 while :; do 7146 case $as_dir in #( 7147 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7148 *) as_qdir=$as_dir;; 7149 esac 7150 as_dirs="'$as_qdir' $as_dirs" 7151 as_dir=`$as_dirname -- "$as_dir" || 7152$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7153 X"$as_dir" : 'X\(//\)[^/]' \| \ 7154 X"$as_dir" : 'X\(//\)$' \| \ 7155 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7156$as_echo X"$as_dir" | 7157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7158 s//\1/ 7159 q 7160 } 7161 /^X\(\/\/\)[^/].*/{ 7162 s//\1/ 7163 q 7164 } 7165 /^X\(\/\/\)$/{ 7166 s//\1/ 7167 q 7168 } 7169 /^X\(\/\).*/{ 7170 s//\1/ 7171 q 7172 } 7173 s/.*/./; q'` 7174 test -d "$as_dir" && break 7175 done 7176 test -z "$as_dirs" || eval "mkdir $as_dirs" 7177 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7178 7179 7180} # as_fn_mkdir_p 7181if mkdir -p . 2>/dev/null; then 7182 as_mkdir_p='mkdir -p "$as_dir"' 7183else 7184 test -d ./-p && rmdir ./-p 7185 as_mkdir_p=false 7186fi 7187 7188if test -x / >/dev/null 2>&1; then 7189 as_test_x='test -x' 7190else 7191 if ls -dL / >/dev/null 2>&1; then 7192 as_ls_L_option=L 7193 else 7194 as_ls_L_option= 7195 fi 7196 as_test_x=' 7197 eval sh -c '\'' 7198 if test -d "$1"; then 7199 test -d "$1/."; 7200 else 7201 case $1 in #( 7202 -*)set "./$1";; 7203 esac; 7204 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7205 ???[sx]*):;;*)false;;esac;fi 7206 '\'' sh 7207 ' 7208fi 7209as_executable_p=$as_test_x 7210 7211# Sed expression to map a string onto a valid CPP name. 7212as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7213 7214# Sed expression to map a string onto a valid variable name. 7215as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7216 7217 7218exec 6>&1 7219## ----------------------------------- ## 7220## Main body of $CONFIG_STATUS script. ## 7221## ----------------------------------- ## 7222_ASEOF 7223test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7224 7225cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7226# Save the log message, to keep $0 and so on meaningful, and to 7227# report actual input values of CONFIG_FILES etc. instead of their 7228# values after options handling. 7229ac_log=" 7230This file was extended by foomatic-db-engine $as_me 4.0.13, which was 7231generated by GNU Autoconf 2.68. Invocation command line was 7232 7233 CONFIG_FILES = $CONFIG_FILES 7234 CONFIG_HEADERS = $CONFIG_HEADERS 7235 CONFIG_LINKS = $CONFIG_LINKS 7236 CONFIG_COMMANDS = $CONFIG_COMMANDS 7237 $ $0 $@ 7238 7239on `(hostname || uname -n) 2>/dev/null | sed 1q` 7240" 7241 7242_ACEOF 7243 7244case $ac_config_files in *" 7245"*) set x $ac_config_files; shift; ac_config_files=$*;; 7246esac 7247 7248 7249 7250cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7251# Files that config.status was made for. 7252config_files="$ac_config_files" 7253 7254_ACEOF 7255 7256cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7257ac_cs_usage="\ 7258\`$as_me' instantiates files and other configuration actions 7259from templates according to the current configuration. Unless the files 7260and actions are specified as TAGs, all are instantiated by default. 7261 7262Usage: $0 [OPTION]... [TAG]... 7263 7264 -h, --help print this help, then exit 7265 -V, --version print version number and configuration settings, then exit 7266 --config print configuration, then exit 7267 -q, --quiet, --silent 7268 do not print progress messages 7269 -d, --debug don't remove temporary files 7270 --recheck update $as_me by reconfiguring in the same conditions 7271 --file=FILE[:TEMPLATE] 7272 instantiate the configuration file FILE 7273 7274Configuration files: 7275$config_files 7276 7277Report bugs to the package provider." 7278 7279_ACEOF 7280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7281ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7282ac_cs_version="\\ 7283foomatic-db-engine config.status 4.0.13 7284configured by $0, generated by GNU Autoconf 2.68, 7285 with options \\"\$ac_cs_config\\" 7286 7287Copyright (C) 2010 Free Software Foundation, Inc. 7288This config.status script is free software; the Free Software Foundation 7289gives unlimited permission to copy, distribute and modify it." 7290 7291ac_pwd='$ac_pwd' 7292srcdir='$srcdir' 7293INSTALL='$INSTALL' 7294test -n "\$AWK" || AWK=awk 7295_ACEOF 7296 7297cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7298# The default lists apply if the user does not specify any file. 7299ac_need_defaults=: 7300while test $# != 0 7301do 7302 case $1 in 7303 --*=?*) 7304 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7305 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7306 ac_shift=: 7307 ;; 7308 --*=) 7309 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7310 ac_optarg= 7311 ac_shift=: 7312 ;; 7313 *) 7314 ac_option=$1 7315 ac_optarg=$2 7316 ac_shift=shift 7317 ;; 7318 esac 7319 7320 case $ac_option in 7321 # Handling of the options. 7322 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7323 ac_cs_recheck=: ;; 7324 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7325 $as_echo "$ac_cs_version"; exit ;; 7326 --config | --confi | --conf | --con | --co | --c ) 7327 $as_echo "$ac_cs_config"; exit ;; 7328 --debug | --debu | --deb | --de | --d | -d ) 7329 debug=: ;; 7330 --file | --fil | --fi | --f ) 7331 $ac_shift 7332 case $ac_optarg in 7333 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7334 '') as_fn_error $? "missing file argument" ;; 7335 esac 7336 as_fn_append CONFIG_FILES " '$ac_optarg'" 7337 ac_need_defaults=false;; 7338 --he | --h | --help | --hel | -h ) 7339 $as_echo "$ac_cs_usage"; exit ;; 7340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7341 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7342 ac_cs_silent=: ;; 7343 7344 # This is an error. 7345 -*) as_fn_error $? "unrecognized option: \`$1' 7346Try \`$0 --help' for more information." ;; 7347 7348 *) as_fn_append ac_config_targets " $1" 7349 ac_need_defaults=false ;; 7350 7351 esac 7352 shift 7353done 7354 7355ac_configure_extra_args= 7356 7357if $ac_cs_silent; then 7358 exec 6>/dev/null 7359 ac_configure_extra_args="$ac_configure_extra_args --silent" 7360fi 7361 7362_ACEOF 7363cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7364if \$ac_cs_recheck; then 7365 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7366 shift 7367 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7368 CONFIG_SHELL='$SHELL' 7369 export CONFIG_SHELL 7370 exec "\$@" 7371fi 7372 7373_ACEOF 7374cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7375exec 5>>config.log 7376{ 7377 echo 7378 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7379## Running $as_me. ## 7380_ASBOX 7381 $as_echo "$ac_log" 7382} >&5 7383 7384_ACEOF 7385cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7386_ACEOF 7387 7388cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7389 7390# Handling of arguments. 7391for ac_config_target in $ac_config_targets 7392do 7393 case $ac_config_target in 7394 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7395 "makeDefaults") CONFIG_FILES="$CONFIG_FILES makeDefaults" ;; 7396 "makeMan") CONFIG_FILES="$CONFIG_FILES makeMan" ;; 7397 "foomatic-configure") CONFIG_FILES="$CONFIG_FILES foomatic-configure" ;; 7398 "foomatic-printjob") CONFIG_FILES="$CONFIG_FILES foomatic-printjob" ;; 7399 "foomatic-kitload") CONFIG_FILES="$CONFIG_FILES foomatic-kitload" ;; 7400 "foomatic-ppdfile") CONFIG_FILES="$CONFIG_FILES foomatic-ppdfile" ;; 7401 "foomatic-preferred-driver") CONFIG_FILES="$CONFIG_FILES foomatic-preferred-driver" ;; 7402 "foomatic-cleanupdrivers") CONFIG_FILES="$CONFIG_FILES foomatic-cleanupdrivers" ;; 7403 "foomatic-getpjloptions") CONFIG_FILES="$CONFIG_FILES foomatic-getpjloptions" ;; 7404 "foomatic-addpjloptions") CONFIG_FILES="$CONFIG_FILES foomatic-addpjloptions" ;; 7405 "foomatic-compiledb") CONFIG_FILES="$CONFIG_FILES foomatic-compiledb" ;; 7406 "foomatic-fix-xml") CONFIG_FILES="$CONFIG_FILES foomatic-fix-xml" ;; 7407 "foomatic-nonumericalids") CONFIG_FILES="$CONFIG_FILES foomatic-nonumericalids" ;; 7408 "foomatic-replaceoldprinterids") CONFIG_FILES="$CONFIG_FILES foomatic-replaceoldprinterids" ;; 7409 "foomatic-ppd-options") CONFIG_FILES="$CONFIG_FILES foomatic-ppd-options" ;; 7410 "foomatic-printermap-to-gutenprint-xml") CONFIG_FILES="$CONFIG_FILES foomatic-printermap-to-gutenprint-xml" ;; 7411 "foomatic-extract-text") CONFIG_FILES="$CONFIG_FILES foomatic-extract-text" ;; 7412 "foomatic-searchprinter") CONFIG_FILES="$CONFIG_FILES foomatic-searchprinter" ;; 7413 "foomatic-ppd-to-xml") CONFIG_FILES="$CONFIG_FILES foomatic-ppd-to-xml" ;; 7414 7415 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7416 esac 7417done 7418 7419 7420# If the user did not use the arguments to specify the items to instantiate, 7421# then the envvar interface is used. Set only those that are not. 7422# We use the long form for the default assignment because of an extremely 7423# bizarre bug on SunOS 4.1.3. 7424if $ac_need_defaults; then 7425 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7426fi 7427 7428# Have a temporary directory for convenience. Make it in the build tree 7429# simply because there is no reason against having it here, and in addition, 7430# creating and moving files from /tmp can sometimes cause problems. 7431# Hook for its removal unless debugging. 7432# Note that there is a small window in which the directory will not be cleaned: 7433# after its creation but before its name has been assigned to `$tmp'. 7434$debug || 7435{ 7436 tmp= ac_tmp= 7437 trap 'exit_status=$? 7438 : "${ac_tmp:=$tmp}" 7439 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7440' 0 7441 trap 'as_fn_exit 1' 1 2 13 15 7442} 7443# Create a (secure) tmp directory for tmp files. 7444 7445{ 7446 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7447 test -d "$tmp" 7448} || 7449{ 7450 tmp=./conf$$-$RANDOM 7451 (umask 077 && mkdir "$tmp") 7452} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7453ac_tmp=$tmp 7454 7455# Set up the scripts for CONFIG_FILES section. 7456# No need to generate them if there are no CONFIG_FILES. 7457# This happens for instance with `./config.status config.h'. 7458if test -n "$CONFIG_FILES"; then 7459 7460 7461ac_cr=`echo X | tr X '\015'` 7462# On cygwin, bash can eat \r inside `` if the user requested igncr. 7463# But we know of no other shell where ac_cr would be empty at this 7464# point, so we can use a bashism as a fallback. 7465if test "x$ac_cr" = x; then 7466 eval ac_cr=\$\'\\r\' 7467fi 7468ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7469if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7470 ac_cs_awk_cr='\\r' 7471else 7472 ac_cs_awk_cr=$ac_cr 7473fi 7474 7475echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7476_ACEOF 7477 7478 7479{ 7480 echo "cat >conf$$subs.awk <<_ACEOF" && 7481 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7482 echo "_ACEOF" 7483} >conf$$subs.sh || 7484 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7485ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7486ac_delim='%!_!# ' 7487for ac_last_try in false false false false false :; do 7488 . ./conf$$subs.sh || 7489 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7490 7491 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7492 if test $ac_delim_n = $ac_delim_num; then 7493 break 7494 elif $ac_last_try; then 7495 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7496 else 7497 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7498 fi 7499done 7500rm -f conf$$subs.sh 7501 7502cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7503cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7504_ACEOF 7505sed -n ' 7506h 7507s/^/S["/; s/!.*/"]=/ 7508p 7509g 7510s/^[^!]*!// 7511:repl 7512t repl 7513s/'"$ac_delim"'$// 7514t delim 7515:nl 7516h 7517s/\(.\{148\}\)..*/\1/ 7518t more1 7519s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7520p 7521n 7522b repl 7523:more1 7524s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7525p 7526g 7527s/.\{148\}// 7528t nl 7529:delim 7530h 7531s/\(.\{148\}\)..*/\1/ 7532t more2 7533s/["\\]/\\&/g; s/^/"/; s/$/"/ 7534p 7535b 7536:more2 7537s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7538p 7539g 7540s/.\{148\}// 7541t delim 7542' <conf$$subs.awk | sed ' 7543/^[^""]/{ 7544 N 7545 s/\n// 7546} 7547' >>$CONFIG_STATUS || ac_write_fail=1 7548rm -f conf$$subs.awk 7549cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7550_ACAWK 7551cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7552 for (key in S) S_is_set[key] = 1 7553 FS = "" 7554 7555} 7556{ 7557 line = $ 0 7558 nfields = split(line, field, "@") 7559 substed = 0 7560 len = length(field[1]) 7561 for (i = 2; i < nfields; i++) { 7562 key = field[i] 7563 keylen = length(key) 7564 if (S_is_set[key]) { 7565 value = S[key] 7566 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7567 len += length(value) + length(field[++i]) 7568 substed = 1 7569 } else 7570 len += 1 + keylen 7571 } 7572 7573 print line 7574} 7575 7576_ACAWK 7577_ACEOF 7578cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7579if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7580 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7581else 7582 cat 7583fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7584 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7585_ACEOF 7586 7587# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7588# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7589# trailing colons and then remove the whole line if VPATH becomes empty 7590# (actually we leave an empty line to preserve line numbers). 7591if test "x$srcdir" = x.; then 7592 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7593h 7594s/// 7595s/^/:/ 7596s/[ ]*$/:/ 7597s/:\$(srcdir):/:/g 7598s/:\${srcdir}:/:/g 7599s/:@srcdir@:/:/g 7600s/^:*// 7601s/:*$// 7602x 7603s/\(=[ ]*\).*/\1/ 7604G 7605s/\n// 7606s/^[^=]*=[ ]*$// 7607}' 7608fi 7609 7610cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7611fi # test -n "$CONFIG_FILES" 7612 7613 7614eval set X " :F $CONFIG_FILES " 7615shift 7616for ac_tag 7617do 7618 case $ac_tag in 7619 :[FHLC]) ac_mode=$ac_tag; continue;; 7620 esac 7621 case $ac_mode$ac_tag in 7622 :[FHL]*:*);; 7623 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7624 :[FH]-) ac_tag=-:-;; 7625 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7626 esac 7627 ac_save_IFS=$IFS 7628 IFS=: 7629 set x $ac_tag 7630 IFS=$ac_save_IFS 7631 shift 7632 ac_file=$1 7633 shift 7634 7635 case $ac_mode in 7636 :L) ac_source=$1;; 7637 :[FH]) 7638 ac_file_inputs= 7639 for ac_f 7640 do 7641 case $ac_f in 7642 -) ac_f="$ac_tmp/stdin";; 7643 *) # Look for the file first in the build tree, then in the source tree 7644 # (if the path is not absolute). The absolute path cannot be DOS-style, 7645 # because $ac_f cannot contain `:'. 7646 test -f "$ac_f" || 7647 case $ac_f in 7648 [\\/$]*) false;; 7649 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7650 esac || 7651 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7652 esac 7653 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7654 as_fn_append ac_file_inputs " '$ac_f'" 7655 done 7656 7657 # Let's still pretend it is `configure' which instantiates (i.e., don't 7658 # use $as_me), people would be surprised to read: 7659 # /* config.h. Generated by config.status. */ 7660 configure_input='Generated from '` 7661 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7662 `' by configure.' 7663 if test x"$ac_file" != x-; then 7664 configure_input="$ac_file. $configure_input" 7665 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7666$as_echo "$as_me: creating $ac_file" >&6;} 7667 fi 7668 # Neutralize special characters interpreted by sed in replacement strings. 7669 case $configure_input in #( 7670 *\&* | *\|* | *\\* ) 7671 ac_sed_conf_input=`$as_echo "$configure_input" | 7672 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7673 *) ac_sed_conf_input=$configure_input;; 7674 esac 7675 7676 case $ac_tag in 7677 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7679 esac 7680 ;; 7681 esac 7682 7683 ac_dir=`$as_dirname -- "$ac_file" || 7684$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7685 X"$ac_file" : 'X\(//\)[^/]' \| \ 7686 X"$ac_file" : 'X\(//\)$' \| \ 7687 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7688$as_echo X"$ac_file" | 7689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7690 s//\1/ 7691 q 7692 } 7693 /^X\(\/\/\)[^/].*/{ 7694 s//\1/ 7695 q 7696 } 7697 /^X\(\/\/\)$/{ 7698 s//\1/ 7699 q 7700 } 7701 /^X\(\/\).*/{ 7702 s//\1/ 7703 q 7704 } 7705 s/.*/./; q'` 7706 as_dir="$ac_dir"; as_fn_mkdir_p 7707 ac_builddir=. 7708 7709case "$ac_dir" in 7710.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7711*) 7712 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7713 # A ".." for each directory in $ac_dir_suffix. 7714 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7715 case $ac_top_builddir_sub in 7716 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7717 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7718 esac ;; 7719esac 7720ac_abs_top_builddir=$ac_pwd 7721ac_abs_builddir=$ac_pwd$ac_dir_suffix 7722# for backward compatibility: 7723ac_top_builddir=$ac_top_build_prefix 7724 7725case $srcdir in 7726 .) # We are building in place. 7727 ac_srcdir=. 7728 ac_top_srcdir=$ac_top_builddir_sub 7729 ac_abs_top_srcdir=$ac_pwd ;; 7730 [\\/]* | ?:[\\/]* ) # Absolute name. 7731 ac_srcdir=$srcdir$ac_dir_suffix; 7732 ac_top_srcdir=$srcdir 7733 ac_abs_top_srcdir=$srcdir ;; 7734 *) # Relative name. 7735 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7736 ac_top_srcdir=$ac_top_build_prefix$srcdir 7737 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7738esac 7739ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7740 7741 7742 case $ac_mode in 7743 :F) 7744 # 7745 # CONFIG_FILE 7746 # 7747 7748 case $INSTALL in 7749 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7750 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7751 esac 7752_ACEOF 7753 7754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7755# If the template does not know about datarootdir, expand it. 7756# FIXME: This hack should be removed a few years after 2.60. 7757ac_datarootdir_hack=; ac_datarootdir_seen= 7758ac_sed_dataroot=' 7759/datarootdir/ { 7760 p 7761 q 7762} 7763/@datadir@/p 7764/@docdir@/p 7765/@infodir@/p 7766/@localedir@/p 7767/@mandir@/p' 7768case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7769*datarootdir*) ac_datarootdir_seen=yes;; 7770*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7772$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7773_ACEOF 7774cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7775 ac_datarootdir_hack=' 7776 s&@datadir@&$datadir&g 7777 s&@docdir@&$docdir&g 7778 s&@infodir@&$infodir&g 7779 s&@localedir@&$localedir&g 7780 s&@mandir@&$mandir&g 7781 s&\\\${datarootdir}&$datarootdir&g' ;; 7782esac 7783_ACEOF 7784 7785# Neutralize VPATH when `$srcdir' = `.'. 7786# Shell code in configure.ac might set extrasub. 7787# FIXME: do we really want to maintain this feature? 7788cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7789ac_sed_extra="$ac_vpsub 7790$extrasub 7791_ACEOF 7792cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7793:t 7794/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7795s|@configure_input@|$ac_sed_conf_input|;t t 7796s&@top_builddir@&$ac_top_builddir_sub&;t t 7797s&@top_build_prefix@&$ac_top_build_prefix&;t t 7798s&@srcdir@&$ac_srcdir&;t t 7799s&@abs_srcdir@&$ac_abs_srcdir&;t t 7800s&@top_srcdir@&$ac_top_srcdir&;t t 7801s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7802s&@builddir@&$ac_builddir&;t t 7803s&@abs_builddir@&$ac_abs_builddir&;t t 7804s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7805s&@INSTALL@&$ac_INSTALL&;t t 7806$ac_datarootdir_hack 7807" 7808eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7809 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7810 7811test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7812 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7813 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7814 "$ac_tmp/out"`; test -z "$ac_out"; } && 7815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7816which seems to be undefined. Please make sure it is defined" >&5 7817$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7818which seems to be undefined. Please make sure it is defined" >&2;} 7819 7820 rm -f "$ac_tmp/stdin" 7821 case $ac_file in 7822 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7823 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7824 esac \ 7825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7826 ;; 7827 7828 7829 7830 esac 7831 7832done # for ac_tag 7833 7834 7835as_fn_exit 0 7836_ACEOF 7837ac_clean_files=$ac_clean_files_save 7838 7839test $ac_write_fail = 0 || 7840 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 7841 7842 7843# configure is writing to config.log, and then calls config.status. 7844# config.status does its own redirection, appending to config.log. 7845# Unfortunately, on DOS this fails, as config.log is still kept open 7846# by configure, so config.status won't be able to write to it; its 7847# output is simply discarded. So we exec the FD to /dev/null, 7848# effectively closing config.log, so it can be properly (re)opened and 7849# appended to by config.status. When coming back to configure, we 7850# need to make the FD available again. 7851if test "$no_create" != yes; then 7852 ac_cs_success=: 7853 ac_config_status_args= 7854 test "$silent" = yes && 7855 ac_config_status_args="$ac_config_status_args --quiet" 7856 exec 5>/dev/null 7857 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7858 exec 5>>config.log 7859 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7860 # would make configure fail if this is the last instruction. 7861 $ac_cs_success || as_fn_exit 1 7862fi 7863if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7865$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7866fi 7867 7868 7869# Finished 7870echo "Finished configuring." 7871echo "Type 'make' to build the package" 7872echo "then 'make install' to install it." 7873