Debian Codegraph @

configure

raw
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
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if 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
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_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.
45 if 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 --'
49 elif (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'
52 else
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'
72 fi
73
74 # The user is always right.
75 if 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 }
81 fi
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.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
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
102 IFS=$as_save_IFS
103
104 ;;
105 esac
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.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
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.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if 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
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test 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
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
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
201 fi
202 fi
203 done;;
204 esac
205 as_found=false
206 done
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
210 fi; }
211 IFS=$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+"$@"}
230 fi
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 [email protected] 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
245 fi
246 fi
247 fi
248 SHELL=${CONFIG_SHELL-/bin/sh}
249 export SHELL
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
253
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
257 # as_fn_unset VAR
258 # ---------------
259 # Portably unset VAR.
260 as_fn_unset ()
261 {
262 { eval $1=; unset $1;}
263 }
264 as_unset=as_fn_unset
265
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
269 as_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.
277 as_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.
287 as_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.
337 if (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 }'
342 else
343 as_fn_append ()
344 {
345 eval $1=\$$1\$2
346 }
347 fi # 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.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 eval 'as_fn_arith ()
356 {
357 as_val=$(( $* ))
358 }'
359 else
360 as_fn_arith ()
361 {
362 as_val=`expr "$@" || test $? -eq 1`
363 }
364 fi # 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.
372 as_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
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 as_expr=expr
386 else
387 as_expr=false
388 fi
389
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 as_basename=basename
392 else
393 as_basename=false
394 fi
395
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_dirname=dirname
398 else
399 as_dirname=false
400 fi
401
402 as_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.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_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
460 ECHO_C= ECHO_N= ECHO_T=
461 case `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';;
471 esac
472
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
476 else
477 rm -f conf$$.dir
478 mkdir conf$$.dir 2>/dev/null
479 fi
480 if (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
494 else
495 as_ln_s='cp -p'
496 fi
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
499
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
502 else
503 test -d ./-p && rmdir ./-p
504 as_mkdir_p=false
505 fi
506
507 if test -x / >/dev/null 2>&1; then
508 as_test_x='test -x'
509 else
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 '
527 fi
528 as_executable_p=$as_test_x
529
530 # Sed expression to map a string onto a valid CPP name.
531 as_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.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
536
537 test -n "$DJDIR" || exec 7<&0 </dev/null
538 exec 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.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544
545 #
546 # Initializations.
547 #
548 ac_default_prefix=/usr/local
549 ac_clean_files=
550 ac_config_libobj_dir=.
551 LIBOBJS=
552 cross_compiling=no
553 subdirs=
554 MFLAGS=
555 MAKEFLAGS=
556
557 # Identity of this package.
558 PACKAGE_NAME='foomatic-db-engine'
559 PACKAGE_TARNAME='foomatic-db-engine'
560 PACKAGE_VERSION='4.0.13'
561 PACKAGE_STRING='foomatic-db-engine 4.0.13'
562 PACKAGE_BUGREPORT=''
563 PACKAGE_URL=''
564
565 ac_unique_file="foomatic-perl-data.c"
566 ac_subst_vars='LTLIBOBJS
567 LIBOBJS
568 LOCAL_FOOMATIC_RIP
569 FOOMATIC_RIP
570 LOCAL_LIBDIR
571 LIBDIR
572 GZIP
573 MTINK_PIPES
574 PTAL_PIPES
575 PTAL_CONNECT
576 NPRINT
577 SMBCLIENT
578 RLPR
579 NC
580 PPR_PPOP
581 PPR_PPAD
582 PPR_PPR
583 PPR_ETC
584 PPR_PPDFILES
585 PPR_INTERFACES
586 PPR_PPRD
587 PDQ_PRINT
588 PDQ_PRINTRC
589 PDQ_CONF
590 CUPS_LPINFO
591 CUPS_LPOPTIONS
592 CUPS_LPMOVE
593 CUPS_REJECT
594 CUPS_ACCEPT
595 CUPS_DISABLE
596 CUPS_ENABLE
597 CUPS_CANCEL
598 CUPS_LP
599 CUPS_LPC
600 CUPS_LPRM
601 CUPS_LPQ
602 CUPS_LPR
603 CUPS_PCONF
604 LIB_CUPS
605 CUPS_BACKENDS
606 CUPS_FILTERS
607 CUPS_PPDS
608 CUPS_LPSTAT
609 CUPS_ADMIN
610 CUPS_ETC
611 LPRNG_CHECKPC
612 LPD_LPC
613 LPD_LPRM
614 LPD_LPQ
615 LPD_LPR
616 LPRNG_CONF
617 PRINTCAP
618 LPD_BIN
619 LPD_LOG
620 LPD_SPOOL
621 SH
622 PERL_INSTALLDIRS
623 PERLPREFIX
624 PERL
625 DEVFD0
626 DEVFD3
627 GSCHECK
628 PRINTF
629 CURL
630 WGET
631 A2PS
632 GS
633 CAT
634 FILEUTIL
635 EGREP
636 GREP
637 CPP
638 XML_LIBS
639 XML_CFLAGS
640 XML_CONFIG
641 XML2_CONFIG
642 SET_MAKE
643 LN_S
644 INSTALL_DATA
645 INSTALL_SCRIPT
646 INSTALL_PROGRAM
647 OBJEXT
648 EXEEXT
649 ac_ct_CC
650 CPPFLAGS
651 LDFLAGS
652 CFLAGS
653 CC
654 target_alias
655 host_alias
656 build_alias
657 LIBS
658 ECHO_T
659 ECHO_N
660 ECHO_C
661 DEFS
662 mandir
663 localedir
664 libdir
665 psdir
666 pdfdir
667 dvidir
668 htmldir
669 infodir
670 docdir
671 oldincludedir
672 includedir
673 localstatedir
674 sharedstatedir
675 sysconfdir
676 datadir
677 datarootdir
678 libexecdir
679 sbindir
680 bindir
681 program_transform_name
682 prefix
683 exec_prefix
684 PACKAGE_URL
685 PACKAGE_BUGREPORT
686 PACKAGE_STRING
687 PACKAGE_VERSION
688 PACKAGE_TARNAME
689 PACKAGE_NAME
690 PATH_SEPARATOR
691 SHELL'
692 ac_subst_files=''
693 ac_user_opts='
694 enable_option_checking
695 enable_gscheck
696 '
697 ac_precious_vars='build_alias
698 host_alias
699 target_alias
700 CC
701 CFLAGS
702 LDFLAGS
703 LIBS
704 CPPFLAGS
705 CPP
706 PERL_INSTALLDIRS'
707
708
709 # Initialize some variables set by options.
710 ac_init_help=
711 ac_init_version=false
712 ac_unrecognized_opts=
713 ac_unrecognized_sep=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
716 cache_file=/dev/null
717 exec_prefix=NONE
718 no_create=
719 no_recursion=
720 prefix=NONE
721 program_prefix=NONE
722 program_suffix=NONE
723 program_transform_name=s,x,x,
724 silent=
725 site=
726 srcdir=
727 verbose=
728 x_includes=NONE
729 x_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.)
737 bindir='${exec_prefix}/bin'
738 sbindir='${exec_prefix}/sbin'
739 libexecdir='${exec_prefix}/libexec'
740 datarootdir='${prefix}/share'
741 datadir='${datarootdir}'
742 sysconfdir='${prefix}/etc'
743 sharedstatedir='${prefix}/com'
744 localstatedir='${prefix}/var'
745 includedir='${prefix}/include'
746 oldincludedir='/usr/include'
747 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
748 infodir='${datarootdir}/info'
749 htmldir='${docdir}'
750 dvidir='${docdir}'
751 pdfdir='${docdir}'
752 psdir='${docdir}'
753 libdir='${exec_prefix}/lib'
754 localedir='${datarootdir}/locale'
755 mandir='${datarootdir}/man'
756
757 ac_prev=
758 ac_dashdash=
759 for ac_option
760 do
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'
1093 Try \`$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
1115 done
1116
1117 if test -n "$ac_prev"; then
1118 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1119 as_fn_error $? "missing argument to $ac_option"
1120 fi
1121
1122 if 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
1128 fi
1129
1130 # Check all directory arguments for consistency.
1131 for 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
1135 do
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"
1149 done
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.
1154 build=$build_alias
1155 host=$host_alias
1156 target=$target_alias
1157
1158 # FIXME: To remove some day.
1159 if 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
1167 fi
1168
1169 ac_tool_prefix=
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1171
1172 test "$silent" = yes && exec 6>/dev/null
1173
1174
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178 as_fn_error $? "working directory cannot be determined"
1179 test "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.
1184 if 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
1214 else
1215 ac_srcdir_defaulted=no
1216 fi
1217 if 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"
1220 fi
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 ac_abs_confdir=`(
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1224 pwd)`
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227 srcdir=.
1228 fi
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.
1232 case $srcdir in
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 esac
1235 for 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}
1240 done
1241
1242 #
1243 # Report the --help message.
1244 #
1245 if 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
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1252
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1255
1256 Defaults for the options are specified in brackets.
1257
1258 Configuration:
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
1269 Installation 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
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1279
1280 For better control, use the options below.
1281
1282 Fine 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
1307 fi
1308
1309 if 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
1315 Optional 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
1321 Some 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
1334 Use these variables to override the choices made by `configure' or to help
1335 it to find libraries and programs with nonstandard names/locations.
1336
1337 Report bugs to the package provider.
1338 _ACEOF
1339 ac_status=$?
1340 fi
1341
1342 if 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
1350 case "$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 ;;
1360 esac
1361 ac_abs_top_builddir=$ac_pwd
1362 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1363 # for backward compatibility:
1364 ac_top_builddir=$ac_top_build_prefix
1365
1366 case $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 ;;
1379 esac
1380 ac_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
1395 fi
1396
1397 test -n "$ac_init_help" && exit $ac_status
1398 if $ac_init_version; then
1399 cat <<\_ACEOF
1400 foomatic-db-engine configure 4.0.13
1401 generated by GNU Autoconf 2.68
1402
1403 Copyright (C) 2010 Free Software Foundation, Inc.
1404 This configure script is free software; the Free Software Foundation
1405 gives unlimited permission to copy, distribute and modify it.
1406 _ACEOF
1407 exit
1408 fi
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.
1417 ac_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"
1422 case "(($ac_try" in
1423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1424 *) ac_try_echo=$ac_try;;
1425 esac
1426 eval 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
1441 else
1442 $as_echo "$as_me: failed program was:" >&5
1443 sed 's/^/| /' conftest.$ac_ext >&5
1444
1445 ac_retval=1
1446 fi
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.
1455 ac_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"
1460 case "(($ac_try" in
1461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1462 *) ac_try_echo=$ac_try;;
1463 esac
1464 eval 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
1482 else
1483 $as_echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.$ac_ext >&5
1485
1486 ac_retval=1
1487 fi
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.
1501 ac_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"
1505 case "(($ac_try" in
1506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1507 *) ac_try_echo=$ac_try;;
1508 esac
1509 eval 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
1524 else
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1527
1528 ac_retval=1
1529 fi
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.
1539 ac_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"
1543 case "(($ac_try" in
1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545 *) ac_try_echo=$ac_try;;
1546 esac
1547 eval 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;;
1556 esac
1557 eval 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
1564 else
1565 $as_echo "$as_me: program exited with status $ac_status" >&5
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1568
1569 ac_retval=$ac_status
1570 fi
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
1580 ac_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; }
1585 if eval \${$3+:} false; then :
1586 $as_echo_n "(cached) " >&6
1587 else
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
1611 extern "C"
1612 #endif
1613 char $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
1618 choke me
1619 #endif
1620
1621 int
1622 main ()
1623 {
1624 return $2 ();
1625 ;
1626 return 0;
1627 }
1628 _ACEOF
1629 if ac_fn_c_try_link "$LINENO"; then :
1630 eval "$3=yes"
1631 else
1632 eval "$3=no"
1633 fi
1634 rm -f core conftest.err conftest.$ac_objext \
1635 conftest$ac_exeext conftest.$ac_ext
1636 fi
1637 eval 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
1643 cat >config.log <<_ACEOF
1644 This file contains any messages produced by compilers while
1645 running configure, to aid debugging if configure makes a mistake.
1646
1647 It was created by foomatic-db-engine $as_me 4.0.13, which was
1648 generated by GNU Autoconf 2.68. Invocation command line was
1649
1650 $ $0 $@
1651
1652 _ACEOF
1653 exec 5>>config.log
1654 {
1655 cat <<_ASUNAME
1656 ## --------- ##
1657 ## Platform. ##
1658 ## --------- ##
1659
1660 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1661 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1662 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1663 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1664 uname -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
1679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1680 for as_dir in $PATH
1681 do
1682 IFS=$as_save_IFS
1683 test -z "$as_dir" && as_dir=.
1684 $as_echo "PATH: $as_dir"
1685 done
1686 IFS=$as_save_IFS
1687
1688 } >&5
1689
1690 cat >&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.
1705 ac_configure_args=
1706 ac_configure_args0=
1707 ac_configure_args1=
1708 ac_must_keep_next=false
1709 for ac_pass in 1 2
1710 do
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
1744 done
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.
1753 trap '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
1840 for ac_signal in 1 2 13 15; do
1841 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1842 done
1843 ac_signal=0
1844
1845 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1846 rm -f -r conftest* confdefs.h
1847
1848 $as_echo "/* confdefs.h */" > confdefs.h
1849
1850 # Predefined preprocessor variables.
1851
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_NAME "$PACKAGE_NAME"
1854 _ACEOF
1855
1856 cat >>confdefs.h <<_ACEOF
1857 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1858 _ACEOF
1859
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1862 _ACEOF
1863
1864 cat >>confdefs.h <<_ACEOF
1865 #define PACKAGE_STRING "$PACKAGE_STRING"
1866 _ACEOF
1867
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1870 _ACEOF
1871
1872 cat >>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.
1879 ac_site_file1=NONE
1880 ac_site_file2=NONE
1881 if 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
1888 elif test "x$prefix" != xNONE; then
1889 ac_site_file1=$prefix/share/config.site
1890 ac_site_file2=$prefix/etc/config.site
1891 else
1892 ac_site_file1=$ac_default_prefix/share/config.site
1893 ac_site_file2=$ac_default_prefix/etc/config.site
1894 fi
1895 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1896 do
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;}
1905 as_fn_error $? "failed to load site script $ac_site_file
1906 See \`config.log' for more details" "$LINENO" 5; }
1907 fi
1908 done
1909
1910 if 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
1921 else
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
1925 fi
1926
1927 # Check that the precious variables saved in the cache have kept the same
1928 # value.
1929 ac_cache_corrupted=false
1930 for 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
1976 done
1977 if $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
1983 fi
1984 ## -------------------- ##
1985 ## Main body of script. ##
1986 ## -------------------- ##
1987
1988 ac_ext=c
1989 ac_cpp='$CPP $CPPFLAGS'
1990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1992 ac_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
1999 if [ x$sysconfdir = 'x${prefix}/etc' ]; then
2000 sysconfdir=/etc
2001 fi
2002
2003 # Checks for programs.
2004 ac_ext=c
2005 ac_cpp='$CPP $CPPFLAGS'
2006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2009 if 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.
2011 set 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; }
2014 if ${ac_cv_prog_CC+:} false; then :
2015 $as_echo_n "(cached) " >&6
2016 else
2017 if test -n "$CC"; then
2018 ac_cv_prog_CC="$CC" # Let the user override the test.
2019 else
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021 for as_dir in $PATH
2022 do
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
2031 done
2032 done
2033 IFS=$as_save_IFS
2034
2035 fi
2036 fi
2037 CC=$ac_cv_prog_CC
2038 if test -n "$CC"; then
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2040 $as_echo "$CC" >&6; }
2041 else
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2043 $as_echo "no" >&6; }
2044 fi
2045
2046
2047 fi
2048 if 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.
2051 set 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; }
2054 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2055 $as_echo_n "(cached) " >&6
2056 else
2057 if test -n "$ac_ct_CC"; then
2058 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2059 else
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 for as_dir in $PATH
2062 do
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
2071 done
2072 done
2073 IFS=$as_save_IFS
2074
2075 fi
2076 fi
2077 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2078 if 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; }
2081 else
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2083 $as_echo "no" >&6; }
2084 fi
2085
2086 if test "x$ac_ct_CC" = x; then
2087 CC=""
2088 else
2089 case $cross_compiling:$ac_tool_warned in
2090 yes:)
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;}
2093 ac_tool_warned=yes ;;
2094 esac
2095 CC=$ac_ct_CC
2096 fi
2097 else
2098 CC="$ac_cv_prog_CC"
2099 fi
2100
2101 if 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.
2104 set 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; }
2107 if ${ac_cv_prog_CC+:} false; then :
2108 $as_echo_n "(cached) " >&6
2109 else
2110 if test -n "$CC"; then
2111 ac_cv_prog_CC="$CC" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2115 do
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
2124 done
2125 done
2126 IFS=$as_save_IFS
2127
2128 fi
2129 fi
2130 CC=$ac_cv_prog_CC
2131 if test -n "$CC"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2133 $as_echo "$CC" >&6; }
2134 else
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2136 $as_echo "no" >&6; }
2137 fi
2138
2139
2140 fi
2141 fi
2142 if test -z "$CC"; then
2143 # Extract the first word of "cc", so it can be a program name with args.
2144 set 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; }
2147 if ${ac_cv_prog_CC+:} false; then :
2148 $as_echo_n "(cached) " >&6
2149 else
2150 if test -n "$CC"; then
2151 ac_cv_prog_CC="$CC" # Let the user override the test.
2152 else
2153 ac_prog_rejected=no
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 for as_dir in $PATH
2156 do
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
2169 done
2170 done
2171 IFS=$as_save_IFS
2172
2173 if 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
2184 fi
2185 fi
2186 fi
2187 CC=$ac_cv_prog_CC
2188 if test -n "$CC"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2190 $as_echo "$CC" >&6; }
2191 else
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2193 $as_echo "no" >&6; }
2194 fi
2195
2196
2197 fi
2198 if 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.
2203 set 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; }
2206 if ${ac_cv_prog_CC+:} false; then :
2207 $as_echo_n "(cached) " >&6
2208 else
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 for as_dir in $PATH
2214 do
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
2223 done
2224 done
2225 IFS=$as_save_IFS
2226
2227 fi
2228 fi
2229 CC=$ac_cv_prog_CC
2230 if test -n "$CC"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2232 $as_echo "$CC" >&6; }
2233 else
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2235 $as_echo "no" >&6; }
2236 fi
2237
2238
2239 test -n "$CC" && break
2240 done
2241 fi
2242 if test -z "$CC"; then
2243 ac_ct_CC=$CC
2244 for ac_prog in cl.exe
2245 do
2246 # Extract the first word of "$ac_prog", so it can be a program name with args.
2247 set 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; }
2250 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2251 $as_echo_n "(cached) " >&6
2252 else
2253 if test -n "$ac_ct_CC"; then
2254 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2255 else
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 for as_dir in $PATH
2258 do
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
2267 done
2268 done
2269 IFS=$as_save_IFS
2270
2271 fi
2272 fi
2273 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2274 if 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; }
2277 else
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2279 $as_echo "no" >&6; }
2280 fi
2281
2282
2283 test -n "$ac_ct_CC" && break
2284 done
2285
2286 if test "x$ac_ct_CC" = x; then
2287 CC=""
2288 else
2289 case $cross_compiling:$ac_tool_warned in
2290 yes:)
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;}
2293 ac_tool_warned=yes ;;
2294 esac
2295 CC=$ac_ct_CC
2296 fi
2297 fi
2298
2299 fi
2300
2301
2302 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304 as_fn_error $? "no acceptable C compiler found in \$PATH
2305 See \`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
2309 set X $ac_compile
2310 ac_compiler=$2
2311 for ac_option in --version -v -V -qversion; do
2312 { { ac_try="$ac_compiler $ac_option >&5"
2313 case "(($ac_try" in
2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315 *) ac_try_echo=$ac_try;;
2316 esac
2317 eval 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; }
2330 done
2331
2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2333 /* end confdefs.h. */
2334
2335 int
2336 main ()
2337 {
2338
2339 ;
2340 return 0;
2341 }
2342 _ACEOF
2343 ac_clean_files_save=$ac_clean_files
2344 ac_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; }
2350 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2351
2352 # The possible output files:
2353 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2354
2355 ac_rmfiles=
2356 for ac_file in $ac_files
2357 do
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
2362 done
2363 rm -f $ac_rmfiles
2364
2365 if { { ac_try="$ac_link_default"
2366 case "(($ac_try" in
2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2368 *) ac_try_echo=$ac_try;;
2369 esac
2370 eval 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.
2381 for ac_file in $ac_files ''
2382 do
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
2405 done
2406 test "$ac_cv_exeext" = no && ac_cv_exeext=
2407
2408 else
2409 ac_file=''
2410 fi
2411 if 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
2415 sed '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;}
2419 as_fn_error 77 "C compiler cannot create executables
2420 See \`config.log' for more details" "$LINENO" 5; }
2421 else
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2423 $as_echo "yes" >&6; }
2424 fi
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; }
2429 ac_exeext=$ac_cv_exeext
2430
2431 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2432 ac_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; }
2435 if { { ac_try="$ac_link"
2436 case "(($ac_try" in
2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438 *) ac_try_echo=$ac_try;;
2439 esac
2440 eval 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'.
2450 for 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
2458 done
2459 else
2460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2462 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2463 See \`config.log' for more details" "$LINENO" 5; }
2464 fi
2465 rm -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
2469 rm -f conftest.$ac_ext
2470 EXEEXT=$ac_cv_exeext
2471 ac_exeext=$EXEEXT
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2474 #include <stdio.h>
2475 int
2476 main ()
2477 {
2478 FILE *f = fopen ("conftest.out", "w");
2479 return ferror (f) || fclose (f) != 0;
2480
2481 ;
2482 return 0;
2483 }
2484 _ACEOF
2485 ac_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; }
2490 if test "$cross_compiling" != yes; then
2491 { { ac_try="$ac_link"
2492 case "(($ac_try" in
2493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2494 *) ac_try_echo=$ac_try;;
2495 esac
2496 eval 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;;
2506 esac
2507 eval 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;}
2520 as_fn_error $? "cannot run C compiled programs.
2521 If you meant to cross compile, use \`--host'.
2522 See \`config.log' for more details" "$LINENO" 5; }
2523 fi
2524 fi
2525 fi
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2527 $as_echo "$cross_compiling" >&6; }
2528
2529 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2530 ac_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; }
2533 if ${ac_cv_objext+:} false; then :
2534 $as_echo_n "(cached) " >&6
2535 else
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2538
2539 int
2540 main ()
2541 {
2542
2543 ;
2544 return 0;
2545 }
2546 _ACEOF
2547 rm -f conftest.o conftest.obj
2548 if { { ac_try="$ac_compile"
2549 case "(($ac_try" in
2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2552 esac
2553 eval 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
2566 done
2567 else
2568 $as_echo "$as_me: failed program was:" >&5
2569 sed '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;}
2573 as_fn_error $? "cannot compute suffix of object files: cannot compile
2574 See \`config.log' for more details" "$LINENO" 5; }
2575 fi
2576 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2577 fi
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2579 $as_echo "$ac_cv_objext" >&6; }
2580 OBJEXT=$ac_cv_objext
2581 ac_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; }
2584 if ${ac_cv_c_compiler_gnu+:} false; then :
2585 $as_echo_n "(cached) " >&6
2586 else
2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2589
2590 int
2591 main ()
2592 {
2593 #ifndef __GNUC__
2594 choke me
2595 #endif
2596
2597 ;
2598 return 0;
2599 }
2600 _ACEOF
2601 if ac_fn_c_try_compile "$LINENO"; then :
2602 ac_compiler_gnu=yes
2603 else
2604 ac_compiler_gnu=no
2605 fi
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2608
2609 fi
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2611 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2612 if test $ac_compiler_gnu = yes; then
2613 GCC=yes
2614 else
2615 GCC=
2616 fi
2617 ac_test_CFLAGS=${CFLAGS+set}
2618 ac_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; }
2621 if ${ac_cv_prog_cc_g+:} false; then :
2622 $as_echo_n "(cached) " >&6
2623 else
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
2631 int
2632 main ()
2633 {
2634
2635 ;
2636 return 0;
2637 }
2638 _ACEOF
2639 if ac_fn_c_try_compile "$LINENO"; then :
2640 ac_cv_prog_cc_g=yes
2641 else
2642 CFLAGS=""
2643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2644 /* end confdefs.h. */
2645
2646 int
2647 main ()
2648 {
2649
2650 ;
2651 return 0;
2652 }
2653 _ACEOF
2654 if ac_fn_c_try_compile "$LINENO"; then :
2655
2656 else
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
2662 int
2663 main ()
2664 {
2665
2666 ;
2667 return 0;
2668 }
2669 _ACEOF
2670 if ac_fn_c_try_compile "$LINENO"; then :
2671 ac_cv_prog_cc_g=yes
2672 fi
2673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 fi
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 fi
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_c_werror_flag=$ac_save_c_werror_flag
2679 fi
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2681 $as_echo "$ac_cv_prog_cc_g" >&6; }
2682 if test "$ac_test_CFLAGS" = set; then
2683 CFLAGS=$ac_save_CFLAGS
2684 elif 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
2690 else
2691 if test "$GCC" = yes; then
2692 CFLAGS="-O2"
2693 else
2694 CFLAGS=
2695 fi
2696 fi
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; }
2699 if ${ac_cv_prog_cc_c89+:} false; then :
2700 $as_echo_n "(cached) " >&6
2701 else
2702 ac_cv_prog_cc_c89=no
2703 ac_save_CC=$CC
2704 cat 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. */
2711 struct buf { int x; };
2712 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2713 static char *e (p, i)
2714 char **p;
2715 int i;
2716 {
2717 return p[i];
2718 }
2719 static 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. */
2736 int 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'
2741 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2742
2743 int test (int i, double x);
2744 struct s1 {int (*f) (int a);};
2745 struct s2 {int (*f) (double a);};
2746 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2747 int argc;
2748 char **argv;
2749 int
2750 main ()
2751 {
2752 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2753 ;
2754 return 0;
2755 }
2756 _ACEOF
2757 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2758 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2759 do
2760 CC="$ac_save_CC $ac_arg"
2761 if ac_fn_c_try_compile "$LINENO"; then :
2762 ac_cv_prog_cc_c89=$ac_arg
2763 fi
2764 rm -f core conftest.err conftest.$ac_objext
2765 test "x$ac_cv_prog_cc_c89" != "xno" && break
2766 done
2767 rm -f conftest.$ac_ext
2768 CC=$ac_save_CC
2769
2770 fi
2771 # AC_CACHE_VAL
2772 case "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; } ;;
2783 esac
2784 if test "x$ac_cv_prog_cc_c89" != xno; then :
2785
2786 fi
2787
2788 ac_ext=c
2789 ac_cpp='$CPP $CPPFLAGS'
2790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2793
2794 ac_aux_dir=
2795 for 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
2809 done
2810 if test -z "$ac_aux_dir"; then
2811 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2812 fi
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.
2818 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2819 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2820 ac_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; }
2839 if test -z "$INSTALL"; then
2840 if ${ac_cv_path_install+:} false; then :
2841 $as_echo_n "(cached) " >&6
2842 else
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 for as_dir in $PATH
2845 do
2846 IFS=$as_save_IFS
2847 test -z "$as_dir" && as_dir=.
2848 # Account for people who put trailing slashes in PATH elements.
2849 case $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 ;;
2887 esac
2888
2889 done
2890 IFS=$as_save_IFS
2891
2892 rm -rf conftest.one conftest.two conftest.dir
2893
2894 fi
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
2904 fi
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.
2910 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2911
2912 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2913
2914 test -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; }
2918 LN_S=$as_ln_s
2919 if test "$LN_S" = "ln -s"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2921 $as_echo "yes" >&6; }
2922 else
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2924 $as_echo "no, using $LN_S" >&6; }
2925 fi
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; }
2929 set x ${MAKE-make}
2930 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2931 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2932 $as_echo_n "(cached) " >&6
2933 else
2934 cat >conftest.make <<\_ACEOF
2935 SHELL = /bin/sh
2936 all:
2937 @echo '@@@%%%=$(MAKE)=@@@%%%'
2938 _ACEOF
2939 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2940 case `${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;;
2945 esac
2946 rm -f conftest.make
2947 fi
2948 if 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=
2952 else
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2955 SET_MAKE="MAKE=${MAKE-make}"
2956 fi
2957
2958
2959
2960 #
2961 # Test for libxml
2962 #
2963 xml_version=
2964 # Extract the first word of "xml2-config", so it can be a program name with args.
2965 set 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; }
2968 if ${ac_cv_path_XML2_CONFIG+:} false; then :
2969 $as_echo_n "(cached) " >&6
2970 else
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
2977 for as_dir in $PATH
2978 do
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
2987 done
2988 done
2989 IFS=$as_save_IFS
2990
2991 ;;
2992 esac
2993 fi
2994 XML2_CONFIG=$ac_cv_path_XML2_CONFIG
2995 if test -n "$XML2_CONFIG"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5
2997 $as_echo "$XML2_CONFIG" >&6; }
2998 else
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3001 fi
3002
3003
3004 if test ! -z "$XML2_CONFIG"; then
3005 xml_version=libxml2
3006 XML_CFLAGS=`$XML2_CONFIG --cflags`
3007 XML_LIBS=`$XML2_CONFIG --libs`
3008 fi
3009 if test -z "$xml_version"; then
3010 # Extract the first word of "xml-config", so it can be a program name with args.
3011 set 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; }
3014 if ${ac_cv_path_XML_CONFIG+:} false; then :
3015 $as_echo_n "(cached) " >&6
3016 else
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
3023 for as_dir in $PATH
3024 do
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
3033 done
3034 done
3035 IFS=$as_save_IFS
3036
3037 ;;
3038 esac
3039 fi
3040 XML_CONFIG=$ac_cv_path_XML_CONFIG
3041 if test -n "$XML_CONFIG"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5
3043 $as_echo "$XML_CONFIG" >&6; }
3044 else
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3047 fi
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
3055 fi
3056
3057
3058
3059 # Checks for header files.
3060
3061 ac_header_dirent=no
3062 for 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; }
3066 if eval \${$as_ac_Header+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068 else
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3071 #include <sys/types.h>
3072 #include <$ac_hdr>
3073
3074 int
3075 main ()
3076 {
3077 if ((DIR *) 0)
3078 return 0;
3079 ;
3080 return 0;
3081 }
3082 _ACEOF
3083 if ac_fn_c_try_compile "$LINENO"; then :
3084 eval "$as_ac_Header=yes"
3085 else
3086 eval "$as_ac_Header=no"
3087 fi
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 fi
3090 eval ac_res=\$$as_ac_Header
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 $as_echo "$ac_res" >&6; }
3093 if 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
3098 ac_header_dirent=$ac_hdr; break
3099 fi
3100
3101 done
3102 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3103 if 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; }
3106 if ${ac_cv_search_opendir+:} false; then :
3107 $as_echo_n "(cached) " >&6
3108 else
3109 ac_func_search_save_LIBS=$LIBS
3110 cat 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
3117 extern "C"
3118 #endif
3119 char opendir ();
3120 int
3121 main ()
3122 {
3123 return opendir ();
3124 ;
3125 return 0;
3126 }
3127 _ACEOF
3128 for 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
3137 fi
3138 rm -f core conftest.err conftest.$ac_objext \
3139 conftest$ac_exeext
3140 if ${ac_cv_search_opendir+:} false; then :
3141 break
3142 fi
3143 done
3144 if ${ac_cv_search_opendir+:} false; then :
3145
3146 else
3147 ac_cv_search_opendir=no
3148 fi
3149 rm conftest.$ac_ext
3150 LIBS=$ac_func_search_save_LIBS
3151 fi
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3153 $as_echo "$ac_cv_search_opendir" >&6; }
3154 ac_res=$ac_cv_search_opendir
3155 if test "$ac_res" != no; then :
3156 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3157
3158 fi
3159
3160 else
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3162 $as_echo_n "checking for library containing opendir... " >&6; }
3163 if ${ac_cv_search_opendir+:} false; then :
3164 $as_echo_n "(cached) " >&6
3165 else
3166 ac_func_search_save_LIBS=$LIBS
3167 cat 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
3174 extern "C"
3175 #endif
3176 char opendir ();
3177 int
3178 main ()
3179 {
3180 return opendir ();
3181 ;
3182 return 0;
3183 }
3184 _ACEOF
3185 for 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
3194 fi
3195 rm -f core conftest.err conftest.$ac_objext \
3196 conftest$ac_exeext
3197 if ${ac_cv_search_opendir+:} false; then :
3198 break
3199 fi
3200 done
3201 if ${ac_cv_search_opendir+:} false; then :
3202
3203 else
3204 ac_cv_search_opendir=no
3205 fi
3206 rm conftest.$ac_ext
3207 LIBS=$ac_func_search_save_LIBS
3208 fi
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3210 $as_echo "$ac_cv_search_opendir" >&6; }
3211 ac_res=$ac_cv_search_opendir
3212 if test "$ac_res" != no; then :
3213 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3214
3215 fi
3216
3217 fi
3218
3219 ac_ext=c
3220 ac_cpp='$CPP $CPPFLAGS'
3221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_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.
3227 if test -n "$CPP" && test -d "$CPP"; then
3228 CPP=
3229 fi
3230 if test -z "$CPP"; then
3231 if ${ac_cv_prog_CPP+:} false; then :
3232 $as_echo_n "(cached) " >&6
3233 else
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
3238 for ac_c_preproc_warn_flag in '' yes
3239 do
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
3255 if ac_fn_c_try_cpp "$LINENO"; then :
3256
3257 else
3258 # Broken: fails on valid input.
3259 continue
3260 fi
3261 rm -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
3269 if ac_fn_c_try_cpp "$LINENO"; then :
3270 # Broken: success on invalid input.
3271 continue
3272 else
3273 # Passes both tests.
3274 ac_preproc_ok=:
3275 break
3276 fi
3277 rm -f conftest.err conftest.i conftest.$ac_ext
3278
3279 done
3280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3281 rm -f conftest.i conftest.err conftest.$ac_ext
3282 if $ac_preproc_ok; then :
3283 break
3284 fi
3285
3286 done
3287 ac_cv_prog_CPP=$CPP
3288
3289 fi
3290 CPP=$ac_cv_prog_CPP
3291 else
3292 ac_cv_prog_CPP=$CPP
3293 fi
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3295 $as_echo "$CPP" >&6; }
3296 ac_preproc_ok=false
3297 for ac_c_preproc_warn_flag in '' yes
3298 do
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
3314 if ac_fn_c_try_cpp "$LINENO"; then :
3315
3316 else
3317 # Broken: fails on valid input.
3318 continue
3319 fi
3320 rm -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
3328 if ac_fn_c_try_cpp "$LINENO"; then :
3329 # Broken: success on invalid input.
3330 continue
3331 else
3332 # Passes both tests.
3333 ac_preproc_ok=:
3334 break
3335 fi
3336 rm -f conftest.err conftest.i conftest.$ac_ext
3337
3338 done
3339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3340 rm -f conftest.i conftest.err conftest.$ac_ext
3341 if $ac_preproc_ok; then :
3342
3343 else
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3347 See \`config.log' for more details" "$LINENO" 5; }
3348 fi
3349
3350 ac_ext=c
3351 ac_cpp='$CPP $CPPFLAGS'
3352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3354 ac_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; }
3359 if ${ac_cv_path_GREP+:} false; then :
3360 $as_echo_n "(cached) " >&6
3361 else
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
3366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3367 do
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
3376 case `"$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;;
3400 esac
3401
3402 $ac_path_GREP_found && break 3
3403 done
3404 done
3405 done
3406 IFS=$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
3410 else
3411 ac_cv_path_GREP=$GREP
3412 fi
3413
3414 fi
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; }
3422 if ${ac_cv_path_EGREP+:} false; then :
3423 $as_echo_n "(cached) " >&6
3424 else
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
3432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3433 do
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
3442 case `"$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;;
3466 esac
3467
3468 $ac_path_EGREP_found && break 3
3469 done
3470 done
3471 done
3472 IFS=$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
3476 else
3477 ac_cv_path_EGREP=$EGREP
3478 fi
3479
3480 fi
3481 fi
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; }
3489 if ${ac_cv_header_stdc+:} false; then :
3490 $as_echo_n "(cached) " >&6
3491 else
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
3499 int
3500 main ()
3501 {
3502
3503 ;
3504 return 0;
3505 }
3506 _ACEOF
3507 if ac_fn_c_try_compile "$LINENO"; then :
3508 ac_cv_header_stdc=yes
3509 else
3510 ac_cv_header_stdc=no
3511 fi
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513
3514 if 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
3521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3522 $EGREP "memchr" >/dev/null 2>&1; then :
3523
3524 else
3525 ac_cv_header_stdc=no
3526 fi
3527 rm -f conftest*
3528
3529 fi
3530
3531 if 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
3538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3539 $EGREP "free" >/dev/null 2>&1; then :
3540
3541 else
3542 ac_cv_header_stdc=no
3543 fi
3544 rm -f conftest*
3545
3546 fi
3547
3548 if 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 :
3552 else
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)))
3569 int
3570 main ()
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
3580 if ac_fn_c_try_run "$LINENO"; then :
3581
3582 else
3583 ac_cv_header_stdc=no
3584 fi
3585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3586 conftest.$ac_objext conftest.beam conftest.$ac_ext
3587 fi
3588
3589 fi
3590 fi
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3592 $as_echo "$ac_cv_header_stdc" >&6; }
3593 if test $ac_cv_header_stdc = yes; then
3594
3595 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3596
3597 fi
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; }
3603 if ${ac_cv_c_const+:} false; then :
3604 $as_echo_n "(cached) " >&6
3605 else
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3608
3609 int
3610 main ()
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
3666 if ac_fn_c_try_compile "$LINENO"; then :
3667 ac_cv_c_const=yes
3668 else
3669 ac_cv_c_const=no
3670 fi
3671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3672 fi
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3674 $as_echo "$ac_cv_c_const" >&6; }
3675 if test $ac_cv_c_const = no; then
3676
3677 $as_echo "#define const /**/" >>confdefs.h
3678
3679 fi
3680
3681
3682 # Checks for library functions.
3683 for ac_func in strdup strspn strstr
3684 do :
3685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3687 if 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
3692 fi
3693 done
3694
3695
3696 #
3697 # augment CFLAGS and LIBS temporarily while searching for the xml* functions
3698 #
3699 save_CFLAGS="$CFLAGS"
3700 save_LIBS="$LIBS"
3701 CFLAGS="$XML_CFLAGS $CFLAGS"
3702 LIBS="$XML_LIBS $LIBS"
3703 for ac_func in xmlParseFile xmlCreatePushParserCtxt xmlParseChunk xmlFreeParserCtxt xmlFreeDoc xmlDocGetRootElement xmlNodeListGetString
3704 do :
3705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3707 if 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
3712 fi
3713 done
3714
3715 CFLAGS="$save_CFLAGS"
3716 LIBS="$save_LIBS"
3717
3718 # Checks for programs/directories which are used by Foomtic
3719
3720 SPOOLSEARCHPATH=/var/spool:/usr/spool/:/usr/local/spool:/usr/local/var/spool:/var/local/spool:/var/local
3721 LOGSEARCHPATH=/var/log:/usr/log:/usr/local/log:/usr/local/var/log:/var/local/log:/var/local
3722 SYSCONFSEARCHPATH=/etc:/usr/etc:/usr/local/etc:/var/etc
3723 SBINSEARCHPATH=/usr/sbin:/sbin:/usr/local/sbin:/etc/sbin
3724 BINSEARCHPATH=/usr/bin:/bin:/usr/local/bin
3725 DATASEARCHPATH=/usr/share:/usr/local/share:$libdir:/usr/local/lib:/opt
3726 LIBSEARCHPATH=$libdir:/lib:/usr/local/lib:/usr/local/libexec:/opt
3727 PTALPIPESSEARCHPATH=/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
3728 MTINKPIPESSEARCHPATH=/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
3733 BSB=$BINSEARCHPATH:$SBINSEARCHPATH
3734 SBB=$SBINSEARCHPATH:$BINSEARCHPATH
3735 SYS_LIB_PATH=$SYSCONFSEARCHPATH:$LIBSEARCHPATH
3736
3737 # Get the operating system and version number...
3738 uname=`uname`
3739 uversion=`uname -r | sed -e '1,$s/[^0-9]//g'`
3740 if test x$uname = xIRIX64; then
3741 uname="IRIX"
3742 fi
3743
3744 if 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"
3754 fi
3755
3756 v="cannot open";
3757 # Extract the first word of "file", so it can be a program name with args.
3758 set 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; }
3761 if ${ac_cv_path_FILEUTIL+:} false; then :
3762 $as_echo_n "(cached) " >&6
3763 else
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
3770 for as_dir in $BSB
3771 do
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
3780 done
3781 done
3782 IFS=$as_save_IFS
3783
3784 test -z "$ac_cv_path_FILEUTIL" && ac_cv_path_FILEUTIL="FILE_UTILITY_NOT_FOUND"
3785 ;;
3786 esac
3787 fi
3788 FILEUTIL=$ac_cv_path_FILEUTIL
3789 if test -n "$FILEUTIL"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FILEUTIL" >&5
3791 $as_echo "$FILEUTIL" >&6; }
3792 else
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3795 fi
3796
3797 if test "$FILEUTIL" != "FILE_UTILITY_NOT_FOUND" ; then
3798 v=`${FILEUTIL} - </etc/passwd 2>/dev/null`;
3799 fi
3800 if 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
3806 fi
3807
3808 # Extract the first word of "cat", so it can be a program name with args.
3809 set 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; }
3812 if ${ac_cv_path_CAT+:} false; then :
3813 $as_echo_n "(cached) " >&6
3814 else
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
3821 for as_dir in $BSB
3822 do
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
3831 done
3832 done
3833 IFS=$as_save_IFS
3834
3835 test -z "$ac_cv_path_CAT" && ac_cv_path_CAT="CAT_NOT_FOUND"
3836 ;;
3837 esac
3838 fi
3839 CAT=$ac_cv_path_CAT
3840 if test -n "$CAT"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
3842 $as_echo "$CAT" >&6; }
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3846 fi
3847
3848
3849 # Extract the first word of "gs", so it can be a program name with args.
3850 set 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; }
3853 if ${ac_cv_path_GS+:} false; then :
3854 $as_echo_n "(cached) " >&6
3855 else
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
3862 for as_dir in $BSB
3863 do
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
3872 done
3873 done
3874 IFS=$as_save_IFS
3875
3876 test -z "$ac_cv_path_GS" && ac_cv_path_GS="GHOSTSCRIPT_NOT_FOUND"
3877 ;;
3878 esac
3879 fi
3880 GS=$ac_cv_path_GS
3881 if test -n "$GS"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5
3883 $as_echo "$GS" >&6; }
3884 else
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3887 fi
3888
3889
3890 # Extract the first word of "a2ps", so it can be a program name with args.
3891 set 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; }
3894 if ${ac_cv_path_A2PS+:} false; then :
3895 $as_echo_n "(cached) " >&6
3896 else
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
3903 for as_dir in $BSB
3904 do
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
3913 done
3914 done
3915 IFS=$as_save_IFS
3916
3917 test -z "$ac_cv_path_A2PS" && ac_cv_path_A2PS="A2PS_NOT_FOUND"
3918 ;;
3919 esac
3920 fi
3921 A2PS=$ac_cv_path_A2PS
3922 if test -n "$A2PS"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $A2PS" >&5
3924 $as_echo "$A2PS" >&6; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3928 fi
3929
3930
3931 # Extract the first word of "wget", so it can be a program name with args.
3932 set 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; }
3935 if ${ac_cv_path_WGET+:} false; then :
3936 $as_echo_n "(cached) " >&6
3937 else
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
3944 for as_dir in $PATH
3945 do
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
3954 done
3955 done
3956 IFS=$as_save_IFS
3957
3958 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="$BSB"
3959 ;;
3960 esac
3961 fi
3962 WGET=$ac_cv_path_WGET
3963 if test -n "$WGET"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
3965 $as_echo "$WGET" >&6; }
3966 else
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3969 fi
3970
3971
3972 # Extract the first word of "curl", so it can be a program name with args.
3973 set 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; }
3976 if ${ac_cv_path_CURL+:} false; then :
3977 $as_echo_n "(cached) " >&6
3978 else
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
3985 for as_dir in $PATH
3986 do
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
3995 done
3996 done
3997 IFS=$as_save_IFS
3998
3999 test -z "$ac_cv_path_CURL" && ac_cv_path_CURL="$BSB"
4000 ;;
4001 esac
4002 fi
4003 CURL=$ac_cv_path_CURL
4004 if test -n "$CURL"; then
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5
4006 $as_echo "$CURL" >&6; }
4007 else
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 $as_echo "no" >&6; }
4010 fi
4011
4012
4013 if 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;
4015 fi
4016 # Extract the first word of "printf", so it can be a program name with args.
4017 set 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; }
4020 if ${ac_cv_path_PRINTF+:} false; then :
4021 $as_echo_n "(cached) " >&6
4022 else
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
4029 for as_dir in $PATH
4030 do
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
4039 done
4040 done
4041 IFS=$as_save_IFS
4042
4043 test -z "$ac_cv_path_PRINTF" && ac_cv_path_PRINTF="$BSB"
4044 ;;
4045 esac
4046 fi
4047 PRINTF=$ac_cv_path_PRINTF
4048 if test -n "$PRINTF"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRINTF" >&5
4050 $as_echo "$PRINTF" >&6; }
4051 else
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4054 fi
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.
4061 if test "${enable_gscheck+set}" = set; then :
4062 enableval=$enable_gscheck;
4063 if test "$enableval" = "yes" ; then
4064 GSCHECK=yes;
4065 else
4066 GSCHECK=no;
4067 fi
4068
4069 else
4070
4071 GSCHECK=no;
4072
4073 fi
4074
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSCHECK" >&5
4076 $as_echo "$GSCHECK" >&6; }
4077
4078
4079 echo GS "$GS"
4080 if 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:
4086 WARNING: '($GS) -dSAFER -dPARANOIDSAFER ' allows files to be read
4087 Please read README.GhostscriptSecurityProblem
4088 and fix your distribution of Ghostscript
4089 OR use:
4090 configure --disable-gscheck
4091 " >&5
4092 $as_echo "$as_me: WARNING:
4093 WARNING: '($GS) -dSAFER -dPARANOIDSAFER ' allows files to be read
4094 Please read README.GhostscriptSecurityProblem
4095 and fix your distribution of Ghostscript
4096 OR use:
4097 configure --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
4107 fi
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; }
4112 if 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
4128 fi
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
4135 for ac_prog in perl
4136 do
4137 # Extract the first word of "$ac_prog", so it can be a program name with args.
4138 set 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; }
4141 if ${ac_cv_path_PERL+:} false; then :
4142 $as_echo_n "(cached) " >&6
4143 else
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
4150 for as_dir in $BINSEARCHPATH
4151 do
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
4160 done
4161 done
4162 IFS=$as_save_IFS
4163
4164 ;;
4165 esac
4166 fi
4167 PERL=$ac_cv_path_PERL
4168 if test -n "$PERL"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4170 $as_echo "$PERL" >&6; }
4171 else
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4174 fi
4175
4176
4177 test -n "$PERL" && break
4178 done
4179 test -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
4184 if test x$prefix = xNONE; then
4185 PREFIX=$ac_default_prefix
4186 else
4187 PREFIX=$prefix
4188 fi
4189 echo -n Checking where Perl will find its libraries...
4190 if 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
4199 else
4200 echo " $PERLPREFIX"
4201 fi
4202
4203
4204 # Perl installation directories
4205
4206
4207 if test -z "$PERL_INSTALLDIRS"; then
4208 PERL_INSTALLDIRS=site
4209 fi
4210
4211
4212 # Check for bourne shell
4213 for ac_prog in bash sh
4214 do
4215 # Extract the first word of "$ac_prog", so it can be a program name with args.
4216 set 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; }
4219 if ${ac_cv_path_SH+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
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
4228 for as_dir in $BINSEARCHPATH
4229 do
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
4238 done
4239 done
4240 IFS=$as_save_IFS
4241
4242 ;;
4243 esac
4244 fi
4245 SH=$ac_cv_path_SH
4246 if test -n "$SH"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5
4248 $as_echo "$SH" >&6; }
4249 else
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4252 fi
4253
4254
4255 test -n "$SH" && break
4256 done
4257 test -n "$SH" || SH="/bin/sh"
4258
4259
4260 # Paths for LPD and LPRng (without magicfilter)
4261 for ac_dir in lpd
4262 do
4263 # Extract the first word of "$ac_dir", so it can be a program name with args.
4264 set 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; }
4267 if ${ac_cv_path_LPD_SPOOL+:} false; then :
4268 $as_echo_n "(cached) " >&6
4269 else
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 ;;
4289 esac
4290 fi
4291 LPD_SPOOL="$ac_cv_path_LPD_SPOOL"
4292 if test -n "$LPD_SPOOL"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_SPOOL" >&5
4294 $as_echo "$LPD_SPOOL" >&6; }
4295 else
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4298 fi
4299
4300 test -n "$LPD_SPOOL" && break
4301 done
4302 test -n "$LPD_SPOOL" || LPD_SPOOL="/var/spool/lpd"
4303
4304 for ac_prog in lp-errs
4305 do
4306 # Extract the first word of "$ac_prog", so it can be a program name with args.
4307 set 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; }
4310 if ${ac_cv_path_LPD_LOG+:} false; then :
4311 $as_echo_n "(cached) " >&6
4312 else
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
4319 for as_dir in $LOGSEARCHPATH
4320 do
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
4329 done
4330 done
4331 IFS=$as_save_IFS
4332
4333 ;;
4334 esac
4335 fi
4336 LPD_LOG=$ac_cv_path_LPD_LOG
4337 if test -n "$LPD_LOG"; then
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LOG" >&5
4339 $as_echo "$LPD_LOG" >&6; }
4340 else
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4343 fi
4344
4345
4346 test -n "$LPD_LOG" && break
4347 done
4348 test -n "$LPD_LOG" || LPD_LOG="/var/log/lp-errs"
4349
4350 for ac_prog in lpd
4351 do
4352 # Extract the first word of "$ac_prog", so it can be a program name with args.
4353 set 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; }
4356 if ${ac_cv_path_LPD_BIN+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
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
4365 for as_dir in $SBINSEARCHPATH
4366 do
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
4375 done
4376 done
4377 IFS=$as_save_IFS
4378
4379 ;;
4380 esac
4381 fi
4382 LPD_BIN=$ac_cv_path_LPD_BIN
4383 if test -n "$LPD_BIN"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_BIN" >&5
4385 $as_echo "$LPD_BIN" >&6; }
4386 else
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4389 fi
4390
4391
4392 test -n "$LPD_BIN" && break
4393 done
4394 test -n "$LPD_BIN" || LPD_BIN="/usr/sbin/lpd"
4395
4396 for ac_prog in printcap
4397 do
4398 # Extract the first word of "$ac_prog", so it can be a program name with args.
4399 set 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; }
4402 if ${ac_cv_path_PRINTCAP+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
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
4411 for as_dir in $SYSCONFSEARCHPATH
4412 do
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
4421 done
4422 done
4423 IFS=$as_save_IFS
4424
4425 ;;
4426 esac
4427 fi
4428 PRINTCAP=$ac_cv_path_PRINTCAP
4429 if test -n "$PRINTCAP"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRINTCAP" >&5
4431 $as_echo "$PRINTCAP" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436
4437
4438 test -n "$PRINTCAP" && break
4439 done
4440 test -n "$PRINTCAP" || PRINTCAP="/etc/printcap"
4441
4442 for ac_prog in lpd.conf
4443 do
4444 # Extract the first word of "$ac_prog", so it can be a program name with args.
4445 set 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; }
4448 if ${ac_cv_path_LPRNG_CONF+:} false; then :
4449 $as_echo_n "(cached) " >&6
4450 else
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
4457 for as_dir in $SYSCONFSEARCHPATH
4458 do
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
4467 done
4468 done
4469 IFS=$as_save_IFS
4470
4471 ;;
4472 esac
4473 fi
4474 LPRNG_CONF=$ac_cv_path_LPRNG_CONF
4475 if test -n "$LPRNG_CONF"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPRNG_CONF" >&5
4477 $as_echo "$LPRNG_CONF" >&6; }
4478 else
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4481 fi
4482
4483
4484 test -n "$LPRNG_CONF" && break
4485 done
4486 test -n "$LPRNG_CONF" || LPRNG_CONF="/etc/lpd.conf"
4487
4488 for ac_prog in lpr-lpd lpr-lprng lpr-lpr lpr
4489 do
4490 # Extract the first word of "$ac_prog", so it can be a program name with args.
4491 set 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; }
4494 if ${ac_cv_path_LPD_LPR+:} false; then :
4495 $as_echo_n "(cached) " >&6
4496 else
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
4503 for as_dir in $BINSEARCHPATH
4504 do
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
4513 done
4514 done
4515 IFS=$as_save_IFS
4516
4517 ;;
4518 esac
4519 fi
4520 LPD_LPR=$ac_cv_path_LPD_LPR
4521 if test -n "$LPD_LPR"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LPR" >&5
4523 $as_echo "$LPD_LPR" >&6; }
4524 else
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4527 fi
4528
4529
4530 test -n "$LPD_LPR" && break
4531 done
4532 test -n "$LPD_LPR" || LPD_LPR="/usr/bin/lpr"
4533
4534 for ac_prog in lpq-lpd lpq-lprng lpq-lpr lpq
4535 do
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set 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; }
4540 if ${ac_cv_path_LPD_LPQ+:} false; then :
4541 $as_echo_n "(cached) " >&6
4542 else
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
4549 for as_dir in $BINSEARCHPATH
4550 do
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
4559 done
4560 done
4561 IFS=$as_save_IFS
4562
4563 ;;
4564 esac
4565 fi
4566 LPD_LPQ=$ac_cv_path_LPD_LPQ
4567 if test -n "$LPD_LPQ"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LPQ" >&5
4569 $as_echo "$LPD_LPQ" >&6; }
4570 else
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4573 fi
4574
4575
4576 test -n "$LPD_LPQ" && break
4577 done
4578 test -n "$LPD_LPQ" || LPD_LPQ="/usr/bin/lpq"
4579
4580 for ac_prog in lprm-lpd lprm-lprng lprm-lpr lprm
4581 do
4582 # Extract the first word of "$ac_prog", so it can be a program name with args.
4583 set 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; }
4586 if ${ac_cv_path_LPD_LPRM+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
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
4595 for as_dir in $BINSEARCHPATH
4596 do
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
4605 done
4606 done
4607 IFS=$as_save_IFS
4608
4609 ;;
4610 esac
4611 fi
4612 LPD_LPRM=$ac_cv_path_LPD_LPRM
4613 if test -n "$LPD_LPRM"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LPRM" >&5
4615 $as_echo "$LPD_LPRM" >&6; }
4616 else
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4619 fi
4620
4621
4622 test -n "$LPD_LPRM" && break
4623 done
4624 test -n "$LPD_LPRM" || LPD_LPRM="/usr/bin/lprm"
4625
4626 for ac_prog in lpc-lpd lpc-lprng lpc-lpr lpc
4627 do
4628 # Extract the first word of "$ac_prog", so it can be a program name with args.
4629 set 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; }
4632 if ${ac_cv_path_LPD_LPC+:} false; then :
4633 $as_echo_n "(cached) " >&6
4634 else
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
4641 for as_dir in $SBB
4642 do
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
4651 done
4652 done
4653 IFS=$as_save_IFS
4654
4655 ;;
4656 esac
4657 fi
4658 LPD_LPC=$ac_cv_path_LPD_LPC
4659 if test -n "$LPD_LPC"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPD_LPC" >&5
4661 $as_echo "$LPD_LPC" >&6; }
4662 else
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4665 fi
4666
4667
4668 test -n "$LPD_LPC" && break
4669 done
4670 test -n "$LPD_LPC" || LPD_LPC="/usr/sbin/lpc"
4671
4672 for ac_prog in checkpc
4673 do
4674 # Extract the first word of "$ac_prog", so it can be a program name with args.
4675 set 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; }
4678 if ${ac_cv_path_LPRNG_CHECKPC+:} false; then :
4679 $as_echo_n "(cached) " >&6
4680 else
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
4687 for as_dir in $SBINSEARCHPATH
4688 do
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
4697 done
4698 done
4699 IFS=$as_save_IFS
4700
4701 ;;
4702 esac
4703 fi
4704 LPRNG_CHECKPC=$ac_cv_path_LPRNG_CHECKPC
4705 if test -n "$LPRNG_CHECKPC"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPRNG_CHECKPC" >&5
4707 $as_echo "$LPRNG_CHECKPC" >&6; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4711 fi
4712
4713
4714 test -n "$LPRNG_CHECKPC" && break
4715 done
4716 test -n "$LPRNG_CHECKPC" || LPRNG_CHECKPC="/usr/sbin/checkpc"
4717
4718
4719 # Paths and other settings for CUPS
4720 for ac_dir in cups
4721 do
4722 # Extract the first word of "$ac_dir", so it can be a program name with args.
4723 set 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; }
4726 if ${ac_cv_path_CUPS_ETC+:} false; then :
4727 $as_echo_n "(cached) " >&6
4728 else
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 ;;
4748 esac
4749 fi
4750 CUPS_ETC="$ac_cv_path_CUPS_ETC"
4751 if test -n "$CUPS_ETC"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_ETC" >&5
4753 $as_echo "$CUPS_ETC" >&6; }
4754 else
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4757 fi
4758
4759 test -n "$CUPS_ETC" && break
4760 done
4761 test -n "$CUPS_ETC" || CUPS_ETC="/etc/cups"
4762
4763 for ac_prog in lpadmin
4764 do
4765 # Extract the first word of "$ac_prog", so it can be a program name with args.
4766 set 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; }
4769 if ${ac_cv_path_CUPS_ADMIN+:} false; then :
4770 $as_echo_n "(cached) " >&6
4771 else
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
4778 for as_dir in $SBINSEARCHPATH
4779 do
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
4788 done
4789 done
4790 IFS=$as_save_IFS
4791
4792 ;;
4793 esac
4794 fi
4795 CUPS_ADMIN=$ac_cv_path_CUPS_ADMIN
4796 if test -n "$CUPS_ADMIN"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_ADMIN" >&5
4798 $as_echo "$CUPS_ADMIN" >&6; }
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4802 fi
4803
4804
4805 test -n "$CUPS_ADMIN" && break
4806 done
4807 test -n "$CUPS_ADMIN" || CUPS_ADMIN="/usr/sbin/lpadmin"
4808
4809 for ac_prog in lpstat
4810 do
4811 # Extract the first word of "$ac_prog", so it can be a program name with args.
4812 set 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; }
4815 if ${ac_cv_path_CUPS_LPSTAT+:} false; then :
4816 $as_echo_n "(cached) " >&6
4817 else
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
4824 for as_dir in $BINSEARCHPATH
4825 do
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
4834 done
4835 done
4836 IFS=$as_save_IFS
4837
4838 ;;
4839 esac
4840 fi
4841 CUPS_LPSTAT=$ac_cv_path_CUPS_LPSTAT
4842 if test -n "$CUPS_LPSTAT"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPSTAT" >&5
4844 $as_echo "$CUPS_LPSTAT" >&6; }
4845 else
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4848 fi
4849
4850
4851 test -n "$CUPS_LPSTAT" && break
4852 done
4853 test -n "$CUPS_LPSTAT" || CUPS_LPSTAT="/usr/bin/lpstat"
4854
4855 for ac_dir in cups/model
4856 do
4857 # Extract the first word of "$ac_dir", so it can be a program name with args.
4858 set 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; }
4861 if ${ac_cv_path_CUPS_PPDS+:} false; then :
4862 $as_echo_n "(cached) " >&6
4863 else
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 ;;
4883 esac
4884 fi
4885 CUPS_PPDS="$ac_cv_path_CUPS_PPDS"
4886 if test -n "$CUPS_PPDS"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_PPDS" >&5
4888 $as_echo "$CUPS_PPDS" >&6; }
4889 else
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4892 fi
4893
4894 test -n "$CUPS_PPDS" && break
4895 done
4896 test -n "$CUPS_PPDS" || CUPS_PPDS="/usr/share/cups/model"
4897
4898 for ac_dir in cups/filter
4899 do
4900 # Extract the first word of "$ac_dir", so it can be a program name with args.
4901 set 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; }
4904 if ${ac_cv_path_CUPS_FILTERS+:} false; then :
4905 $as_echo_n "(cached) " >&6
4906 else
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 ;;
4926 esac
4927 fi
4928 CUPS_FILTERS="$ac_cv_path_CUPS_FILTERS"
4929 if test -n "$CUPS_FILTERS"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_FILTERS" >&5
4931 $as_echo "$CUPS_FILTERS" >&6; }
4932 else
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 fi
4936
4937 test -n "$CUPS_FILTERS" && break
4938 done
4939 test -n "$CUPS_FILTERS" || CUPS_FILTERS="/usr/lib/cups/filter"
4940
4941 for ac_dir in cups/backend
4942 do
4943 # Extract the first word of "$ac_dir", so it can be a program name with args.
4944 set 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; }
4947 if ${ac_cv_path_CUPS_BACKENDS+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
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 ;;
4969 esac
4970 fi
4971 CUPS_BACKENDS="$ac_cv_path_CUPS_BACKENDS"
4972 if test -n "$CUPS_BACKENDS"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_BACKENDS" >&5
4974 $as_echo "$CUPS_BACKENDS" >&6; }
4975 else
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4978 fi
4979
4980 test -n "$CUPS_BACKENDS" && break
4981 done
4982 test -n "$CUPS_BACKENDS" || CUPS_BACKENDS="/usr/lib/cups/backend"
4983
4984 for ac_dir in cups
4985 do
4986 # Extract the first word of "$ac_dir", so it can be a program name with args.
4987 set 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; }
4990 if ${ac_cv_path_LIB_CUPS+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
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 ;;
5012 esac
5013 fi
5014 LIB_CUPS="$ac_cv_path_LIB_CUPS"
5015 if test -n "$LIB_CUPS"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIB_CUPS" >&5
5017 $as_echo "$LIB_CUPS" >&6; }
5018 else
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5021 fi
5022
5023 test -n "$LIB_CUPS" && break
5024 done
5025 test -n "$LIB_CUPS" || LIB_CUPS="/usr/lib/cups"
5026
5027 for ac_prog in cups/printers.conf
5028 do
5029 # Extract the first word of "$ac_prog", so it can be a program name with args.
5030 set 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; }
5033 if ${ac_cv_path_CUPS_PCONF+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
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
5042 for as_dir in $SYSCONFSEARCHPATH
5043 do
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
5052 done
5053 done
5054 IFS=$as_save_IFS
5055
5056 ;;
5057 esac
5058 fi
5059 CUPS_PCONF=$ac_cv_path_CUPS_PCONF
5060 if test -n "$CUPS_PCONF"; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_PCONF" >&5
5062 $as_echo "$CUPS_PCONF" >&6; }
5063 else
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5066 fi
5067
5068
5069 test -n "$CUPS_PCONF" && break
5070 done
5071 test -n "$CUPS_PCONF" || CUPS_PCONF="$CUPS_ETC/printers.conf"
5072
5073 for ac_prog in lpr-cups lpr
5074 do
5075 # Extract the first word of "$ac_prog", so it can be a program name with args.
5076 set 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; }
5079 if ${ac_cv_path_CUPS_LPR+:} false; then :
5080 $as_echo_n "(cached) " >&6
5081 else
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
5088 for as_dir in $BINSEARCHPATH
5089 do
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
5098 done
5099 done
5100 IFS=$as_save_IFS
5101
5102 ;;
5103 esac
5104 fi
5105 CUPS_LPR=$ac_cv_path_CUPS_LPR
5106 if test -n "$CUPS_LPR"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPR" >&5
5108 $as_echo "$CUPS_LPR" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5112 fi
5113
5114
5115 test -n "$CUPS_LPR" && break
5116 done
5117 test -n "$CUPS_LPR" || CUPS_LPR="/usr/bin/lpr"
5118
5119 for ac_prog in lpq-cups lpq
5120 do
5121 # Extract the first word of "$ac_prog", so it can be a program name with args.
5122 set 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; }
5125 if ${ac_cv_path_CUPS_LPQ+:} false; then :
5126 $as_echo_n "(cached) " >&6
5127 else
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
5134 for as_dir in $BINSEARCHPATH
5135 do
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
5144 done
5145 done
5146 IFS=$as_save_IFS
5147
5148 ;;
5149 esac
5150 fi
5151 CUPS_LPQ=$ac_cv_path_CUPS_LPQ
5152 if test -n "$CUPS_LPQ"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPQ" >&5
5154 $as_echo "$CUPS_LPQ" >&6; }
5155 else
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5158 fi
5159
5160
5161 test -n "$CUPS_LPQ" && break
5162 done
5163 test -n "$CUPS_LPQ" || CUPS_LPQ="/usr/bin/lpq"
5164
5165 for ac_prog in lprm-cups lprm
5166 do
5167 # Extract the first word of "$ac_prog", so it can be a program name with args.
5168 set 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; }
5171 if ${ac_cv_path_CUPS_LPRM+:} false; then :
5172 $as_echo_n "(cached) " >&6
5173 else
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
5180 for as_dir in $BINSEARCHPATH
5181 do
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
5190 done
5191 done
5192 IFS=$as_save_IFS
5193
5194 ;;
5195 esac
5196 fi
5197 CUPS_LPRM=$ac_cv_path_CUPS_LPRM
5198 if test -n "$CUPS_LPRM"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPRM" >&5
5200 $as_echo "$CUPS_LPRM" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5204 fi
5205
5206
5207 test -n "$CUPS_LPRM" && break
5208 done
5209 test -n "$CUPS_LPRM" || CUPS_LPRM="/usr/bin/lprm"
5210
5211 for ac_prog in lpc-cups lpc
5212 do
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set 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; }
5217 if ${ac_cv_path_CUPS_LPC+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
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
5226 for as_dir in $SBB
5227 do
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
5236 done
5237 done
5238 IFS=$as_save_IFS
5239
5240 ;;
5241 esac
5242 fi
5243 CUPS_LPC=$ac_cv_path_CUPS_LPC
5244 if test -n "$CUPS_LPC"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPC" >&5
5246 $as_echo "$CUPS_LPC" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5250 fi
5251
5252
5253 test -n "$CUPS_LPC" && break
5254 done
5255 test -n "$CUPS_LPC" || CUPS_LPC="/usr/sbin/lpc"
5256
5257 for ac_prog in lp-cups lp
5258 do
5259 # Extract the first word of "$ac_prog", so it can be a program name with args.
5260 set 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; }
5263 if ${ac_cv_path_CUPS_LP+:} false; then :
5264 $as_echo_n "(cached) " >&6
5265 else
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
5272 for as_dir in $BINSEARCHPATH
5273 do
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
5282 done
5283 done
5284 IFS=$as_save_IFS
5285
5286 ;;
5287 esac
5288 fi
5289 CUPS_LP=$ac_cv_path_CUPS_LP
5290 if test -n "$CUPS_LP"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LP" >&5
5292 $as_echo "$CUPS_LP" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5296 fi
5297
5298
5299 test -n "$CUPS_LP" && break
5300 done
5301 test -n "$CUPS_LP" || CUPS_LP="/usr/bin/lp"
5302
5303 for ac_prog in cancel-cups cancel
5304 do
5305 # Extract the first word of "$ac_prog", so it can be a program name with args.
5306 set 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; }
5309 if ${ac_cv_path_CUPS_CANCEL+:} false; then :
5310 $as_echo_n "(cached) " >&6
5311 else
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
5318 for as_dir in $BSB
5319 do
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
5328 done
5329 done
5330 IFS=$as_save_IFS
5331
5332 ;;
5333 esac
5334 fi
5335 CUPS_CANCEL=$ac_cv_path_CUPS_CANCEL
5336 if test -n "$CUPS_CANCEL"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_CANCEL" >&5
5338 $as_echo "$CUPS_CANCEL" >&6; }
5339 else
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5342 fi
5343
5344
5345 test -n "$CUPS_CANCEL" && break
5346 done
5347 test -n "$CUPS_CANCEL" || CUPS_CANCEL="/usr/bin/cancel"
5348
5349 for ac_prog in enable
5350 do
5351 # Extract the first word of "$ac_prog", so it can be a program name with args.
5352 set 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; }
5355 if ${ac_cv_path_CUPS_ENABLE+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
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
5364 for as_dir in $BSB
5365 do
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
5374 done
5375 done
5376 IFS=$as_save_IFS
5377
5378 ;;
5379 esac
5380 fi
5381 CUPS_ENABLE=$ac_cv_path_CUPS_ENABLE
5382 if test -n "$CUPS_ENABLE"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_ENABLE" >&5
5384 $as_echo "$CUPS_ENABLE" >&6; }
5385 else
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5388 fi
5389
5390
5391 test -n "$CUPS_ENABLE" && break
5392 done
5393 test -n "$CUPS_ENABLE" || CUPS_ENABLE="/usr/bin/enable"
5394
5395 for ac_prog in disable
5396 do
5397 # Extract the first word of "$ac_prog", so it can be a program name with args.
5398 set 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; }
5401 if ${ac_cv_path_CUPS_DISABLE+:} false; then :
5402 $as_echo_n "(cached) " >&6
5403 else
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
5410 for as_dir in $BSB
5411 do
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
5420 done
5421 done
5422 IFS=$as_save_IFS
5423
5424 ;;
5425 esac
5426 fi
5427 CUPS_DISABLE=$ac_cv_path_CUPS_DISABLE
5428 if test -n "$CUPS_DISABLE"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_DISABLE" >&5
5430 $as_echo "$CUPS_DISABLE" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5434 fi
5435
5436
5437 test -n "$CUPS_DISABLE" && break
5438 done
5439 test -n "$CUPS_DISABLE" || CUPS_DISABLE="/usr/bin/disable"
5440
5441 for ac_prog in accept
5442 do
5443 # Extract the first word of "$ac_prog", so it can be a program name with args.
5444 set 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; }
5447 if ${ac_cv_path_CUPS_ACCEPT+:} false; then :
5448 $as_echo_n "(cached) " >&6
5449 else
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
5456 for as_dir in $SBB
5457 do
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
5466 done
5467 done
5468 IFS=$as_save_IFS
5469
5470 ;;
5471 esac
5472 fi
5473 CUPS_ACCEPT=$ac_cv_path_CUPS_ACCEPT
5474 if test -n "$CUPS_ACCEPT"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_ACCEPT" >&5
5476 $as_echo "$CUPS_ACCEPT" >&6; }
5477 else
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5480 fi
5481
5482
5483 test -n "$CUPS_ACCEPT" && break
5484 done
5485 test -n "$CUPS_ACCEPT" || CUPS_ACCEPT="/usr/sbin/accept"
5486
5487 for ac_prog in reject
5488 do
5489 # Extract the first word of "$ac_prog", so it can be a program name with args.
5490 set 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; }
5493 if ${ac_cv_path_CUPS_REJECT+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
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
5502 for as_dir in $SBB
5503 do
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
5512 done
5513 done
5514 IFS=$as_save_IFS
5515
5516 ;;
5517 esac
5518 fi
5519 CUPS_REJECT=$ac_cv_path_CUPS_REJECT
5520 if test -n "$CUPS_REJECT"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_REJECT" >&5
5522 $as_echo "$CUPS_REJECT" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5526 fi
5527
5528
5529 test -n "$CUPS_REJECT" && break
5530 done
5531 test -n "$CUPS_REJECT" || CUPS_REJECT="/usr/sbin/reject"
5532
5533 for ac_prog in lpmove
5534 do
5535 # Extract the first word of "$ac_prog", so it can be a program name with args.
5536 set 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; }
5539 if ${ac_cv_path_CUPS_LPMOVE+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
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
5548 for as_dir in $SBB
5549 do
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
5558 done
5559 done
5560 IFS=$as_save_IFS
5561
5562 ;;
5563 esac
5564 fi
5565 CUPS_LPMOVE=$ac_cv_path_CUPS_LPMOVE
5566 if test -n "$CUPS_LPMOVE"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPMOVE" >&5
5568 $as_echo "$CUPS_LPMOVE" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5572 fi
5573
5574
5575 test -n "$CUPS_LPMOVE" && break
5576 done
5577 test -n "$CUPS_LPMOVE" || CUPS_LPMOVE="/usr/sbin/lpmove"
5578
5579 for ac_prog in lpoptions
5580 do
5581 # Extract the first word of "$ac_prog", so it can be a program name with args.
5582 set 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; }
5585 if ${ac_cv_path_CUPS_LPOPTIONS+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
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
5594 for as_dir in $BINSEARCHPATH
5595 do
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
5604 done
5605 done
5606 IFS=$as_save_IFS
5607
5608 ;;
5609 esac
5610 fi
5611 CUPS_LPOPTIONS=$ac_cv_path_CUPS_LPOPTIONS
5612 if test -n "$CUPS_LPOPTIONS"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPOPTIONS" >&5
5614 $as_echo "$CUPS_LPOPTIONS" >&6; }
5615 else
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5618 fi
5619
5620
5621 test -n "$CUPS_LPOPTIONS" && break
5622 done
5623 test -n "$CUPS_LPOPTIONS" || CUPS_LPOPTIONS="/usr/bin/lpoptions"
5624
5625 for ac_prog in lpinfo
5626 do
5627 # Extract the first word of "$ac_prog", so it can be a program name with args.
5628 set 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; }
5631 if ${ac_cv_path_CUPS_LPINFO+:} false; then :
5632 $as_echo_n "(cached) " >&6
5633 else
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
5640 for as_dir in $SBINSEARCHPATH
5641 do
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
5650 done
5651 done
5652 IFS=$as_save_IFS
5653
5654 ;;
5655 esac
5656 fi
5657 CUPS_LPINFO=$ac_cv_path_CUPS_LPINFO
5658 if test -n "$CUPS_LPINFO"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_LPINFO" >&5
5660 $as_echo "$CUPS_LPINFO" >&6; }
5661 else
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5664 fi
5665
5666
5667 test -n "$CUPS_LPINFO" && break
5668 done
5669 test -n "$CUPS_LPINFO" || CUPS_LPINFO="/usr/sbin/lpinfo"
5670
5671
5672 # Paths for PDQ
5673 for ac_dir in pdq
5674 do
5675 # Extract the first word of "$ac_dir", so it can be a program name with args.
5676 set 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; }
5679 if ${ac_cv_path_PDQ_CONF+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
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 ;;
5701 esac
5702 fi
5703 PDQ_CONF="$ac_cv_path_PDQ_CONF"
5704 if test -n "$PDQ_CONF"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDQ_CONF" >&5
5706 $as_echo "$PDQ_CONF" >&6; }
5707 else
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5710 fi
5711
5712 test -n "$PDQ_CONF" && break
5713 done
5714 test -n "$PDQ_CONF" || PDQ_CONF="$libdir/pdq"
5715
5716 for ac_prog in pdq/printrc
5717 do
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set 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; }
5722 if ${ac_cv_path_PDQ_PRINTRC+:} false; then :
5723 $as_echo_n "(cached) " >&6
5724 else
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
5731 for as_dir in $SYS_LIB_PATH
5732 do
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
5741 done
5742 done
5743 IFS=$as_save_IFS
5744
5745 ;;
5746 esac
5747 fi
5748 PDQ_PRINTRC=$ac_cv_path_PDQ_PRINTRC
5749 if test -n "$PDQ_PRINTRC"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDQ_PRINTRC" >&5
5751 $as_echo "$PDQ_PRINTRC" >&6; }
5752 else
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5755 fi
5756
5757
5758 test -n "$PDQ_PRINTRC" && break
5759 done
5760 test -n "$PDQ_PRINTRC" || PDQ_PRINTRC="$PDQ_CONF/printrc"
5761
5762 for ac_prog in pdq lpr-pdq
5763 do
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set 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; }
5768 if ${ac_cv_path_PDQ_PRINT+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
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
5777 for as_dir in $BINSEARCHPATH
5778 do
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
5787 done
5788 done
5789 IFS=$as_save_IFS
5790
5791 ;;
5792 esac
5793 fi
5794 PDQ_PRINT=$ac_cv_path_PDQ_PRINT
5795 if test -n "$PDQ_PRINT"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDQ_PRINT" >&5
5797 $as_echo "$PDQ_PRINT" >&6; }
5798 else
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5801 fi
5802
5803
5804 test -n "$PDQ_PRINT" && break
5805 done
5806 test -n "$PDQ_PRINT" || PDQ_PRINT="/usr/bin/pdq"
5807
5808
5809 # Paths for PPR
5810 for ac_prog in ppr/bin/pprd
5811 do
5812 # Extract the first word of "$ac_prog", so it can be a program name with args.
5813 set 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; }
5816 if ${ac_cv_path_PPR_PPRD+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
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
5825 for as_dir in $LIBSEARCHPATH
5826 do
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
5835 done
5836 done
5837 IFS=$as_save_IFS
5838
5839 ;;
5840 esac
5841 fi
5842 PPR_PPRD=$ac_cv_path_PPR_PPRD
5843 if test -n "$PPR_PPRD"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPRD" >&5
5845 $as_echo "$PPR_PPRD" >&6; }
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5849 fi
5850
5851
5852 test -n "$PPR_PPRD" && break
5853 done
5854 test -n "$PPR_PPRD" || PPR_PPRD="$libdir/ppr/bin/pprd"
5855
5856 for ac_dir in ppr/interfaces
5857 do
5858 # Extract the first word of "$ac_dir", so it can be a program name with args.
5859 set 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; }
5862 if ${ac_cv_path_PPR_INTERFACES+:} false; then :
5863 $as_echo_n "(cached) " >&6
5864 else
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 ;;
5884 esac
5885 fi
5886 PPR_INTERFACES="$ac_cv_path_PPR_INTERFACES"
5887 if test -n "$PPR_INTERFACES"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_INTERFACES" >&5
5889 $as_echo "$PPR_INTERFACES" >&6; }
5890 else
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5893 fi
5894
5895 test -n "$PPR_INTERFACES" && break
5896 done
5897 test -n "$PPR_INTERFACES" || PPR_INTERFACES="$libdir/ppr/interfaces"
5898
5899 for ac_dir in ppr/PPDFiles
5900 do
5901 # Extract the first word of "$ac_dir", so it can be a program name with args.
5902 set 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; }
5905 if ${ac_cv_path_PPR_PPDFILES+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
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 ;;
5927 esac
5928 fi
5929 PPR_PPDFILES="$ac_cv_path_PPR_PPDFILES"
5930 if test -n "$PPR_PPDFILES"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPDFILES" >&5
5932 $as_echo "$PPR_PPDFILES" >&6; }
5933 else
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5936 fi
5937
5938 test -n "$PPR_PPDFILES" && break
5939 done
5940 test -n "$PPR_PPDFILES" || PPR_PPDFILES="/usr/share/ppr/PPDFiles"
5941
5942 for ac_dir in ppr
5943 do
5944 # Extract the first word of "$ac_dir", so it can be a program name with args.
5945 set 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; }
5948 if ${ac_cv_path_PPR_ETC+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
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 ;;
5970 esac
5971 fi
5972 PPR_ETC="$ac_cv_path_PPR_ETC"
5973 if test -n "$PPR_ETC"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_ETC" >&5
5975 $as_echo "$PPR_ETC" >&6; }
5976 else
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5979 fi
5980
5981 test -n "$PPR_ETC" && break
5982 done
5983 test -n "$PPR_ETC" || PPR_ETC="/etc/ppr"
5984
5985 for ac_prog in ppr lpr-ppr
5986 do
5987 # Extract the first word of "$ac_prog", so it can be a program name with args.
5988 set 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; }
5991 if ${ac_cv_path_PPR_PPR+:} false; then :
5992 $as_echo_n "(cached) " >&6
5993 else
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
6000 for as_dir in $BINSEARCHPATH
6001 do
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
6010 done
6011 done
6012 IFS=$as_save_IFS
6013
6014 ;;
6015 esac
6016 fi
6017 PPR_PPR=$ac_cv_path_PPR_PPR
6018 if test -n "$PPR_PPR"; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPR" >&5
6020 $as_echo "$PPR_PPR" >&6; }
6021 else
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 $as_echo "no" >&6; }
6024 fi
6025
6026
6027 test -n "$PPR_PPR" && break
6028 done
6029 test -n "$PPR_PPR" || PPR_PPR="/usr/bin/ppr"
6030
6031 for ac_prog in ppad
6032 do
6033 # Extract the first word of "$ac_prog", so it can be a program name with args.
6034 set 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; }
6037 if ${ac_cv_path_PPR_PPAD+:} false; then :
6038 $as_echo_n "(cached) " >&6
6039 else
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
6046 for as_dir in $BSB
6047 do
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
6056 done
6057 done
6058 IFS=$as_save_IFS
6059
6060 ;;
6061 esac
6062 fi
6063 PPR_PPAD=$ac_cv_path_PPR_PPAD
6064 if test -n "$PPR_PPAD"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPAD" >&5
6066 $as_echo "$PPR_PPAD" >&6; }
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6070 fi
6071
6072
6073 test -n "$PPR_PPAD" && break
6074 done
6075 test -n "$PPR_PPAD" || PPR_PPAD="/usr/bin/ppad"
6076
6077 for ac_prog in ppop
6078 do
6079 # Extract the first word of "$ac_prog", so it can be a program name with args.
6080 set 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; }
6083 if ${ac_cv_path_PPR_PPOP+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
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
6092 for as_dir in $BSB
6093 do
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
6102 done
6103 done
6104 IFS=$as_save_IFS
6105
6106 ;;
6107 esac
6108 fi
6109 PPR_PPOP=$ac_cv_path_PPR_PPOP
6110 if test -n "$PPR_PPOP"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPR_PPOP" >&5
6112 $as_echo "$PPR_PPOP" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6116 fi
6117
6118
6119 test -n "$PPR_PPOP" && break
6120 done
6121 test -n "$PPR_PPOP" || PPR_PPOP="/usr/bin/ppop"
6122
6123
6124
6125 # Other paths
6126 for ac_prog in nc netcat
6127 do
6128 # Extract the first word of "$ac_prog", so it can be a program name with args.
6129 set 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; }
6132 if ${ac_cv_path_NC+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
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
6141 for as_dir in $BSB
6142 do
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
6151 done
6152 done
6153 IFS=$as_save_IFS
6154
6155 ;;
6156 esac
6157 fi
6158 NC=$ac_cv_path_NC
6159 if test -n "$NC"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NC" >&5
6161 $as_echo "$NC" >&6; }
6162 else
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6165 fi
6166
6167
6168 test -n "$NC" && break
6169 done
6170 test -n "$NC" || NC="/usr/bin/nc"
6171
6172 for ac_prog in rlpr
6173 do
6174 # Extract the first word of "$ac_prog", so it can be a program name with args.
6175 set 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; }
6178 if ${ac_cv_path_RLPR+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
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
6187 for as_dir in $BSB
6188 do
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
6197 done
6198 done
6199 IFS=$as_save_IFS
6200
6201 ;;
6202 esac
6203 fi
6204 RLPR=$ac_cv_path_RLPR
6205 if test -n "$RLPR"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RLPR" >&5
6207 $as_echo "$RLPR" >&6; }
6208 else
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6211 fi
6212
6213
6214 test -n "$RLPR" && break
6215 done
6216 test -n "$RLPR" || RLPR="/usr/bin/rlpr"
6217
6218 for ac_prog in smbclient
6219 do
6220 # Extract the first word of "$ac_prog", so it can be a program name with args.
6221 set 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; }
6224 if ${ac_cv_path_SMBCLIENT+:} false; then :
6225 $as_echo_n "(cached) " >&6
6226 else
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
6233 for as_dir in $BSB
6234 do
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
6243 done
6244 done
6245 IFS=$as_save_IFS
6246
6247 ;;
6248 esac
6249 fi
6250 SMBCLIENT=$ac_cv_path_SMBCLIENT
6251 if test -n "$SMBCLIENT"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SMBCLIENT" >&5
6253 $as_echo "$SMBCLIENT" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6257 fi
6258
6259
6260 test -n "$SMBCLIENT" && break
6261 done
6262 test -n "$SMBCLIENT" || SMBCLIENT="/usr/bin/smbclient"
6263
6264 for ac_prog in nprint
6265 do
6266 # Extract the first word of "$ac_prog", so it can be a program name with args.
6267 set 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; }
6270 if ${ac_cv_path_NPRINT+:} false; then :
6271 $as_echo_n "(cached) " >&6
6272 else
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
6279 for as_dir in $BSB
6280 do
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
6289 done
6290 done
6291 IFS=$as_save_IFS
6292
6293 ;;
6294 esac
6295 fi
6296 NPRINT=$ac_cv_path_NPRINT
6297 if test -n "$NPRINT"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPRINT" >&5
6299 $as_echo "$NPRINT" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6303 fi
6304
6305
6306 test -n "$NPRINT" && break
6307 done
6308 test -n "$NPRINT" || NPRINT="/usr/bin/nprint"
6309
6310 for ac_prog in ptal-connect
6311 do
6312 # Extract the first word of "$ac_prog", so it can be a program name with args.
6313 set 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; }
6316 if ${ac_cv_path_PTAL_CONNECT+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
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
6325 for as_dir in $BSB
6326 do
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
6335 done
6336 done
6337 IFS=$as_save_IFS
6338
6339 ;;
6340 esac
6341 fi
6342 PTAL_CONNECT=$ac_cv_path_PTAL_CONNECT
6343 if test -n "$PTAL_CONNECT"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTAL_CONNECT" >&5
6345 $as_echo "$PTAL_CONNECT" >&6; }
6346 else
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6348 $as_echo "no" >&6; }
6349 fi
6350
6351
6352 test -n "$PTAL_CONNECT" && break
6353 done
6354 test -n "$PTAL_CONNECT" || PTAL_CONNECT="/usr/bin/ptal-connect"
6355
6356 for ac_dir in ptal-printd
6357 do
6358 # Extract the first word of "$ac_dir", so it can be a program name with args.
6359 set 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; }
6362 if ${ac_cv_path_PTAL_PIPES+:} false; then :
6363 $as_echo_n "(cached) " >&6
6364 else
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 ;;
6384 esac
6385 fi
6386 PTAL_PIPES="$ac_cv_path_PTAL_PIPES"
6387 if test -n "$PTAL_PIPES"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTAL_PIPES" >&5
6389 $as_echo "$PTAL_PIPES" >&6; }
6390 else
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 $as_echo "no" >&6; }
6393 fi
6394
6395 test -n "$PTAL_PIPES" && break
6396 done
6397 test -n "$PTAL_PIPES" || PTAL_PIPES="/var/run/ptal-printd"
6398
6399 for ac_dir in mtink
6400 do
6401 # Extract the first word of "$ac_dir", so it can be a program name with args.
6402 set 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; }
6405 if ${ac_cv_path_MTINK_PIPES+:} false; then :
6406 $as_echo_n "(cached) " >&6
6407 else
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 ;;
6427 esac
6428 fi
6429 MTINK_PIPES="$ac_cv_path_MTINK_PIPES"
6430 if test -n "$MTINK_PIPES"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MTINK_PIPES" >&5
6432 $as_echo "$MTINK_PIPES" >&6; }
6433 else
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6436 fi
6437
6438 test -n "$MTINK_PIPES" && break
6439 done
6440 test -n "$MTINK_PIPES" || MTINK_PIPES="/var/mtink"
6441
6442 for ac_prog in gzip
6443 do
6444 # Extract the first word of "$ac_prog", so it can be a program name with args.
6445 set 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; }
6448 if ${ac_cv_path_GZIP+:} false; then :
6449 $as_echo_n "(cached) " >&6
6450 else
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
6457 for as_dir in $BSB
6458 do
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
6467 done
6468 done
6469 IFS=$as_save_IFS
6470
6471 ;;
6472 esac
6473 fi
6474 GZIP=$ac_cv_path_GZIP
6475 if test -n "$GZIP"; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
6477 $as_echo "$GZIP" >&6; }
6478 else
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 $as_echo "no" >&6; }
6481 fi
6482
6483
6484 test -n "$GZIP" && break
6485 done
6486 test -n "$GZIP" || GZIP="/bin/gzip"
6487
6488
6489 # Path for Foomatic XML database (foomatic-db)
6490 for ac_dir in foomatic/db/source
6491 do
6492 # Extract the first word of "$ac_dir", so it can be a program name with args.
6493 set 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; }
6496 if ${ac_cv_path_LIBDIR+:} false; then :
6497 $as_echo_n "(cached) " >&6
6498 else
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 ;;
6518 esac
6519 fi
6520 LIBDIR="$ac_cv_path_LIBDIR"
6521 if test -n "$LIBDIR"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBDIR" >&5
6523 $as_echo "$LIBDIR" >&6; }
6524 else
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6527 fi
6528
6529 test -n "$LIBDIR" && break
6530 done
6531 test -n "$LIBDIR" || LIBDIR="/usr/share/foomatic/db/source"
6532
6533 LIBDIR=`echo $LIBDIR | sed -e "s:/db/source$::"`
6534 for ac_dir in db/source
6535 do
6536 # Extract the first word of "$ac_dir", so it can be a program name with args.
6537 set 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; }
6540 if ${ac_cv_path_LOCAL_LIBDIR+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
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 ;;
6562 esac
6563 fi
6564 LOCAL_LIBDIR="$ac_cv_path_LOCAL_LIBDIR"
6565 if test -n "$LOCAL_LIBDIR"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCAL_LIBDIR" >&5
6567 $as_echo "$LOCAL_LIBDIR" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6571 fi
6572
6573 test -n "$LOCAL_LIBDIR" && break
6574 done
6575 test -n "$LOCAL_LIBDIR" || LOCAL_LIBDIR="../foomatic-db/db/source"
6576
6577 LOCAL_LIBDIR=`echo $LOCAL_LIBDIR | sed -e "s:/db/source$::"`
6578
6579 # Path for foomatic-rip (from foomatic-filters)
6580 for ac_prog in foomatic-rip
6581 do
6582 # Extract the first word of "$ac_prog", so it can be a program name with args.
6583 set 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; }
6586 if ${ac_cv_path_FOOMATIC_RIP+:} false; then :
6587 $as_echo_n "(cached) " >&6
6588 else
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
6595 for as_dir in $BSB
6596 do
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
6605 done
6606 done
6607 IFS=$as_save_IFS
6608
6609 ;;
6610 esac
6611 fi
6612 FOOMATIC_RIP=$ac_cv_path_FOOMATIC_RIP
6613 if test -n "$FOOMATIC_RIP"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOOMATIC_RIP" >&5
6615 $as_echo "$FOOMATIC_RIP" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6619 fi
6620
6621
6622 test -n "$FOOMATIC_RIP" && break
6623 done
6624 test -n "$FOOMATIC_RIP" || FOOMATIC_RIP="/usr/bin/foomatic-rip"
6625
6626 for ac_prog in foomatic-rip
6627 do
6628 # Extract the first word of "$ac_prog", so it can be a program name with args.
6629 set 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; }
6632 if ${ac_cv_path_LOCAL_FOOMATIC_RIP+:} false; then :
6633 $as_echo_n "(cached) " >&6
6634 else
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
6641 as_dummy=".:./foomatic-filters:./foomatic-filters*:../foomatic-filters:../foomatic-filters*"
6642 for as_dir in $as_dummy
6643 do
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
6652 done
6653 done
6654 IFS=$as_save_IFS
6655
6656 ;;
6657 esac
6658 fi
6659 LOCAL_FOOMATIC_RIP=$ac_cv_path_LOCAL_FOOMATIC_RIP
6660 if 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; }
6663 else
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6666 fi
6667
6668
6669 test -n "$LOCAL_FOOMATIC_RIP" && break
6670 done
6671 test -n "$LOCAL_FOOMATIC_RIP" || LOCAL_FOOMATIC_RIP="../foomatic-filters/foomatic-rip"
6672
6673
6674 ac_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
6676 cat >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
6738 if 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
6759 fi
6760 rm -f confcache
6761
6762 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6763 # Let make expand exec_prefix.
6764 test "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.
6773 ac_script='
6774 :mline
6775 /\\$/{
6776 N
6777 s,\\\n,,
6778 b mline
6779 }
6780 t clear
6781 :clear
6782 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6783 t quote
6784 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6785 t quote
6786 b any
6787 :quote
6788 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6789 s/\[/\\&/g
6790 s/\]/\\&/g
6791 s/\$/$$/g
6792 H
6793 :any
6794 ${
6795 g
6796 s/^\n//
6797 s/\n/ /g
6798 p
6799 }
6800 '
6801 DEFS=`sed -n "$ac_script" confdefs.h`
6802
6803
6804 ac_libobjs=
6805 ac_ltlibobjs=
6806 U=
6807 for 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'
6815 done
6816 LIBOBJS=$ac_libobjs
6817
6818 LTLIBOBJS=$ac_ltlibobjs
6819
6820
6821
6822 : "${CONFIG_STATUS=./config.status}"
6823 ac_write_fail=0
6824 ac_clean_files_save=$ac_clean_files
6825 ac_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;}
6828 as_write_fail=0
6829 cat >$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
6836 debug=false
6837 ac_cs_recheck=false
6838 ac_cs_silent=false
6839
6840 SHELL=\${CONFIG_SHELL-$SHELL}
6841 export SHELL
6842 _ASEOF
6843 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6844 ## -------------------- ##
6845 ## M4sh Initialization. ##
6846 ## -------------------- ##
6847
6848 # Be more Bourne compatible
6849 DUALCASE=1; export DUALCASE # for MKS sh
6850 if 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
6857 else
6858 case `(set -o) 2>/dev/null` in #(
6859 *posix*) :
6860 set -o posix ;; #(
6861 *) :
6862 ;;
6863 esac
6864 fi
6865
6866
6867 as_nl='
6868 '
6869 export as_nl
6870 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6871 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6872 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6873 as_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.
6876 if 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 --'
6880 elif (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'
6883 else
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'
6903 fi
6904
6905 # The user is always right.
6906 if 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 }
6912 fi
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.)
6920 IFS=" "" $as_nl"
6921
6922 # Find who we are. Look in the path if we contain no directory separator.
6923 as_myself=
6924 case $0 in #((
6925 *[\\/]* ) as_myself=$0 ;;
6926 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 for as_dir in $PATH
6928 do
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
6933 IFS=$as_save_IFS
6934
6935 ;;
6936 esac
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.
6939 if test "x$as_myself" = x; then
6940 as_myself=$0
6941 fi
6942 if test ! -f "$as_myself"; then
6943 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6944 exit 1
6945 fi
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.
6951 for as_var in BASH_ENV ENV MAIL MAILPATH
6952 do eval test x\${$as_var+set} = xset \
6953 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6954 done
6955 PS1='$ '
6956 PS2='> '
6957 PS4='+ '
6958
6959 # NLS nuisances.
6960 LC_ALL=C
6961 export LC_ALL
6962 LANGUAGE=C
6963 export 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.
6974 as_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.
6989 as_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.
6997 as_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.
7007 as_fn_unset ()
7008 {
7009 { eval $1=; unset $1;}
7010 }
7011 as_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.
7018 if (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 }'
7023 else
7024 as_fn_append ()
7025 {
7026 eval $1=\$$1\$2
7027 }
7028 fi # 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.
7035 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7036 eval 'as_fn_arith ()
7037 {
7038 as_val=$(( $* ))
7039 }'
7040 else
7041 as_fn_arith ()
7042 {
7043 as_val=`expr "$@" || test $? -eq 1`
7044 }
7045 fi # as_fn_arith
7046
7047
7048 if expr a : '\(a\)' >/dev/null 2>&1 &&
7049 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7050 as_expr=expr
7051 else
7052 as_expr=false
7053 fi
7054
7055 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7056 as_basename=basename
7057 else
7058 as_basename=false
7059 fi
7060
7061 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7062 as_dirname=dirname
7063 else
7064 as_dirname=false
7065 fi
7066
7067 as_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.
7087 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7088 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7089 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7090 as_cr_digits='0123456789'
7091 as_cr_alnum=$as_cr_Letters$as_cr_digits
7092
7093 ECHO_C= ECHO_N= ECHO_T=
7094 case `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';;
7104 esac
7105
7106 rm -f conf$$ conf$$.exe conf$$.file
7107 if test -d conf$$.dir; then
7108 rm -f conf$$.dir/conf$$.file
7109 else
7110 rm -f conf$$.dir
7111 mkdir conf$$.dir 2>/dev/null
7112 fi
7113 if (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
7127 else
7128 as_ln_s='cp -p'
7129 fi
7130 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7131 rmdir conf$$.dir 2>/dev/null
7132
7133
7134 # as_fn_mkdir_p
7135 # -------------
7136 # Create "$as_dir" as a directory, including parents if necessary.
7137 as_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
7181 if mkdir -p . 2>/dev/null; then
7182 as_mkdir_p='mkdir -p "$as_dir"'
7183 else
7184 test -d ./-p && rmdir ./-p
7185 as_mkdir_p=false
7186 fi
7187
7188 if test -x / >/dev/null 2>&1; then
7189 as_test_x='test -x'
7190 else
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 '
7208 fi
7209 as_executable_p=$as_test_x
7210
7211 # Sed expression to map a string onto a valid CPP name.
7212 as_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.
7215 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7216
7217
7218 exec 6>&1
7219 ## ----------------------------------- ##
7220 ## Main body of $CONFIG_STATUS script. ##
7221 ## ----------------------------------- ##
7222 _ASEOF
7223 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7224
7225 cat >>$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.
7229 ac_log="
7230 This file was extended by foomatic-db-engine $as_me 4.0.13, which was
7231 generated 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
7239 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7240 "
7241
7242 _ACEOF
7243
7244 case $ac_config_files in *"
7245 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7246 esac
7247
7248
7249
7250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7251 # Files that config.status was made for.
7252 config_files="$ac_config_files"
7253
7254 _ACEOF
7255
7256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7257 ac_cs_usage="\
7258 \`$as_me' instantiates files and other configuration actions
7259 from templates according to the current configuration. Unless the files
7260 and actions are specified as TAGs, all are instantiated by default.
7261
7262 Usage: $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
7274 Configuration files:
7275 $config_files
7276
7277 Report bugs to the package provider."
7278
7279 _ACEOF
7280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7281 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7282 ac_cs_version="\\
7283 foomatic-db-engine config.status 4.0.13
7284 configured by $0, generated by GNU Autoconf 2.68,
7285 with options \\"\$ac_cs_config\\"
7286
7287 Copyright (C) 2010 Free Software Foundation, Inc.
7288 This config.status script is free software; the Free Software Foundation
7289 gives unlimited permission to copy, distribute and modify it."
7290
7291 ac_pwd='$ac_pwd'
7292 srcdir='$srcdir'
7293 INSTALL='$INSTALL'
7294 test -n "\$AWK" || AWK=awk
7295 _ACEOF
7296
7297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7298 # The default lists apply if the user does not specify any file.
7299 ac_need_defaults=:
7300 while test $# != 0
7301 do
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'
7346 Try \`$0 --help' for more information." ;;
7347
7348 *) as_fn_append ac_config_targets " $1"
7349 ac_need_defaults=false ;;
7350
7351 esac
7352 shift
7353 done
7354
7355 ac_configure_extra_args=
7356
7357 if $ac_cs_silent; then
7358 exec 6>/dev/null
7359 ac_configure_extra_args="$ac_configure_extra_args --silent"
7360 fi
7361
7362 _ACEOF
7363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7364 if \$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 "\$@"
7371 fi
7372
7373 _ACEOF
7374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7375 exec 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
7385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7386 _ACEOF
7387
7388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7389
7390 # Handling of arguments.
7391 for ac_config_target in $ac_config_targets
7392 do
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
7417 done
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.
7424 if $ac_need_defaults; then
7425 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7426 fi
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
7453 ac_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'.
7458 if test -n "$CONFIG_FILES"; then
7459
7460
7461 ac_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.
7465 if test "x$ac_cr" = x; then
7466 eval ac_cr=\$\'\\r\'
7467 fi
7468 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7469 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7470 ac_cs_awk_cr='\\r'
7471 else
7472 ac_cs_awk_cr=$ac_cr
7473 fi
7474
7475 echo '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
7485 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7486 ac_delim='%!_!# '
7487 for 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
7499 done
7500 rm -f conf$$subs.sh
7501
7502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7503 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7504 _ACEOF
7505 sed -n '
7506 h
7507 s/^/S["/; s/!.*/"]=/
7508 p
7509 g
7510 s/^[^!]*!//
7511 :repl
7512 t repl
7513 s/'"$ac_delim"'$//
7514 t delim
7515 :nl
7516 h
7517 s/\(.\{148\}\)..*/\1/
7518 t more1
7519 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7520 p
7521 n
7522 b repl
7523 :more1
7524 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7525 p
7526 g
7527 s/.\{148\}//
7528 t nl
7529 :delim
7530 h
7531 s/\(.\{148\}\)..*/\1/
7532 t more2
7533 s/["\\]/\\&/g; s/^/"/; s/$/"/
7534 p
7535 b
7536 :more2
7537 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7538 p
7539 g
7540 s/.\{148\}//
7541 t delim
7542 ' <conf$$subs.awk | sed '
7543 /^[^""]/{
7544 N
7545 s/\n//
7546 }
7547 ' >>$CONFIG_STATUS || ac_write_fail=1
7548 rm -f conf$$subs.awk
7549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7550 _ACAWK
7551 cat >>"\$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
7578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7579 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7580 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7581 else
7582 cat
7583 fi < "$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).
7591 if test "x$srcdir" = x.; then
7592 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7593 h
7594 s///
7595 s/^/:/
7596 s/[ ]*$/:/
7597 s/:\$(srcdir):/:/g
7598 s/:\${srcdir}:/:/g
7599 s/:@srcdir@:/:/g
7600 s/^:*//
7601 s/:*$//
7602 x
7603 s/\(=[ ]*\).*/\1/
7604 G
7605 s/\n//
7606 s/^[^=]*=[ ]*$//
7607 }'
7608 fi
7609
7610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7611 fi # test -n "$CONFIG_FILES"
7612
7613
7614 eval set X " :F $CONFIG_FILES "
7615 shift
7616 for ac_tag
7617 do
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
7709 case "$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 ;;
7719 esac
7720 ac_abs_top_builddir=$ac_pwd
7721 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7722 # for backward compatibility:
7723 ac_top_builddir=$ac_top_build_prefix
7724
7725 case $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 ;;
7738 esac
7739 ac_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
7754 cat >>$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.
7757 ac_datarootdir_hack=; ac_datarootdir_seen=
7758 ac_sed_dataroot='
7759 /datarootdir/ {
7760 p
7761 q
7762 }
7763 /@datadir@/p
7764 /@docdir@/p
7765 /@infodir@/p
7766 /@localedir@/p
7767 /@mandir@/p'
7768 case `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
7774 cat >>$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' ;;
7782 esac
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?
7788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7789 ac_sed_extra="$ac_vpsub
7790 $extrasub
7791 _ACEOF
7792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7793 :t
7794 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7795 s|@configure_input@|$ac_sed_conf_input|;t t
7796 s&@top_builddir@&$ac_top_builddir_sub&;t t
7797 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7798 s&@srcdir@&$ac_srcdir&;t t
7799 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7800 s&@top_srcdir@&$ac_top_srcdir&;t t
7801 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7802 s&@builddir@&$ac_builddir&;t t
7803 s&@abs_builddir@&$ac_abs_builddir&;t t
7804 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7805 s&@INSTALL@&$ac_INSTALL&;t t
7806 $ac_datarootdir_hack
7807 "
7808 eval 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
7811 test -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'
7816 which 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'
7818 which 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
7832 done # for ac_tag
7833
7834
7835 as_fn_exit 0
7836 _ACEOF
7837 ac_clean_files=$ac_clean_files_save
7838
7839 test $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.
7851 if 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
7862 fi
7863 if 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;}
7866 fi
7867
7868
7869 # Finished
7870 echo "Finished configuring."
7871 echo "Type 'make' to build the package"
7872 echo "then 'make install' to install it."