Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for cups-bjnp 2.0.3.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software 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 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
206 fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell [email protected] and
270 $0: [email protected] about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302 return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381 else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398 else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512 *)
513 ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537 else
538 as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='cups-bjnp'
582 PACKAGE_TARNAME='cups-bjnp'
583 PACKAGE_VERSION='2.0.3'
584 PACKAGE_STRING='cups-bjnp 2.0.3'
585 PACKAGE_BUGREPORT='[email protected]'
586 PACKAGE_URL=''
587
588 ac_unique_file="bjnp.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
624
625 ac_subst_vars='am__EXEEXT_FALSE
626 am__EXEEXT_TRUE
627 LTLIBOBJS
628 MAINT
629 MAINTAINER_MODE_FALSE
630 MAINTAINER_MODE_TRUE
631 CUPS_LDFLAGS
632 CUPS_LIBS
633 CUPS_CFLAGS
634 cupsbackenddir
635 EXTRA_CFLAGS
636 LIBOBJS
637 EGREP
638 GREP
639 CPP
640 am__fastdepCC_FALSE
641 am__fastdepCC_TRUE
642 CCDEPMODE
643 am__nodep
644 AMDEPBACKSLASH
645 AMDEP_FALSE
646 AMDEP_TRUE
647 am__include
648 DEPDIR
649 OBJEXT
650 EXEEXT
651 ac_ct_CC
652 CPPFLAGS
653 LDFLAGS
654 CFLAGS
655 CC
656 AM_BACKSLASH
657 AM_DEFAULT_VERBOSITY
658 AM_DEFAULT_V
659 AM_V
660 am__untar
661 am__tar
662 AMTAR
663 am__leading_dot
664 SET_MAKE
665 AWK
666 mkdir_p
667 MKDIR_P
668 INSTALL_STRIP_PROGRAM
669 STRIP
670 install_sh
671 MAKEINFO
672 AUTOHEADER
673 AUTOMAKE
674 AUTOCONF
675 ACLOCAL
676 VERSION
677 PACKAGE
678 CYGPATH_W
679 am__isrc
680 INSTALL_DATA
681 INSTALL_SCRIPT
682 INSTALL_PROGRAM
683 target_alias
684 host_alias
685 build_alias
686 LIBS
687 ECHO_T
688 ECHO_N
689 ECHO_C
690 DEFS
691 mandir
692 localedir
693 libdir
694 psdir
695 pdfdir
696 dvidir
697 htmldir
698 infodir
699 docdir
700 oldincludedir
701 includedir
702 localstatedir
703 sharedstatedir
704 sysconfdir
705 datadir
706 datarootdir
707 libexecdir
708 sbindir
709 bindir
710 program_transform_name
711 prefix
712 exec_prefix
713 PACKAGE_URL
714 PACKAGE_BUGREPORT
715 PACKAGE_STRING
716 PACKAGE_VERSION
717 PACKAGE_TARNAME
718 PACKAGE_NAME
719 PATH_SEPARATOR
720 SHELL
721 am__quote'
722 ac_subst_files=''
723 ac_user_opts='
724 enable_option_checking
725 enable_silent_rules
726 enable_dependency_tracking
727 enable_Werror
728 enable_ipv6
729 with_cupsbackenddir
730 enable_maintainer_mode
731 '
732 ac_precious_vars='build_alias
733 host_alias
734 target_alias
735 CC
736 CFLAGS
737 LDFLAGS
738 LIBS
739 CPPFLAGS
740 CPP'
741
742
743 # Initialize some variables set by options.
744 ac_init_help=
745 ac_init_version=false
746 ac_unrecognized_opts=
747 ac_unrecognized_sep=
748 # The variables have the same names as the options, with
749 # dashes changed to underlines.
750 cache_file=/dev/null
751 exec_prefix=NONE
752 no_create=
753 no_recursion=
754 prefix=NONE
755 program_prefix=NONE
756 program_suffix=NONE
757 program_transform_name=s,x,x,
758 silent=
759 site=
760 srcdir=
761 verbose=
762 x_includes=NONE
763 x_libraries=NONE
764
765 # Installation directory options.
766 # These are left unexpanded so users can "make install exec_prefix=/foo"
767 # and all the variables that are supposed to be based on exec_prefix
768 # by default will actually change.
769 # Use braces instead of parens because sh, perl, etc. also accept them.
770 # (The list follows the same order as the GNU Coding Standards.)
771 bindir='${exec_prefix}/bin'
772 sbindir='${exec_prefix}/sbin'
773 libexecdir='${exec_prefix}/libexec'
774 datarootdir='${prefix}/share'
775 datadir='${datarootdir}'
776 sysconfdir='${prefix}/etc'
777 sharedstatedir='${prefix}/com'
778 localstatedir='${prefix}/var'
779 includedir='${prefix}/include'
780 oldincludedir='/usr/include'
781 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
782 infodir='${datarootdir}/info'
783 htmldir='${docdir}'
784 dvidir='${docdir}'
785 pdfdir='${docdir}'
786 psdir='${docdir}'
787 libdir='${exec_prefix}/lib'
788 localedir='${datarootdir}/locale'
789 mandir='${datarootdir}/man'
790
791 ac_prev=
792 ac_dashdash=
793 for ac_option
794 do
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\$ac_option
798 ac_prev=
799 continue
800 fi
801
802 case $ac_option in
803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
804 *=) ac_optarg= ;;
805 *) ac_optarg=yes ;;
806 esac
807
808 # Accept the important Cygnus configure options, so we can diagnose typos.
809
810 case $ac_dashdash$ac_option in
811 --)
812 ac_dashdash=yes ;;
813
814 -bindir | --bindir | --bindi | --bind | --bin | --bi)
815 ac_prev=bindir ;;
816 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817 bindir=$ac_optarg ;;
818
819 -build | --build | --buil | --bui | --bu)
820 ac_prev=build_alias ;;
821 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
822 build_alias=$ac_optarg ;;
823
824 -cache-file | --cache-file | --cache-fil | --cache-fi \
825 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
826 ac_prev=cache_file ;;
827 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
828 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
829 cache_file=$ac_optarg ;;
830
831 --config-cache | -C)
832 cache_file=config.cache ;;
833
834 -datadir | --datadir | --datadi | --datad)
835 ac_prev=datadir ;;
836 -datadir=* | --datadir=* | --datadi=* | --datad=*)
837 datadir=$ac_optarg ;;
838
839 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
840 | --dataroo | --dataro | --datar)
841 ac_prev=datarootdir ;;
842 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
843 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
844 datarootdir=$ac_optarg ;;
845
846 -disable-* | --disable-*)
847 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
850 as_fn_error $? "invalid feature name: $ac_useropt"
851 ac_useropt_orig=$ac_useropt
852 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
853 case $ac_user_opts in
854 *"
855 "enable_$ac_useropt"
856 "*) ;;
857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
858 ac_unrecognized_sep=', ';;
859 esac
860 eval enable_$ac_useropt=no ;;
861
862 -docdir | --docdir | --docdi | --doc | --do)
863 ac_prev=docdir ;;
864 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
865 docdir=$ac_optarg ;;
866
867 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
868 ac_prev=dvidir ;;
869 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
870 dvidir=$ac_optarg ;;
871
872 -enable-* | --enable-*)
873 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876 as_fn_error $? "invalid feature name: $ac_useropt"
877 ac_useropt_orig=$ac_useropt
878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
880 *"
881 "enable_$ac_useropt"
882 "*) ;;
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
884 ac_unrecognized_sep=', ';;
885 esac
886 eval enable_$ac_useropt=\$ac_optarg ;;
887
888 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
889 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
890 | --exec | --exe | --ex)
891 ac_prev=exec_prefix ;;
892 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
893 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
894 | --exec=* | --exe=* | --ex=*)
895 exec_prefix=$ac_optarg ;;
896
897 -gas | --gas | --ga | --g)
898 # Obsolete; use --with-gas.
899 with_gas=yes ;;
900
901 -help | --help | --hel | --he | -h)
902 ac_init_help=long ;;
903 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
904 ac_init_help=recursive ;;
905 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
906 ac_init_help=short ;;
907
908 -host | --host | --hos | --ho)
909 ac_prev=host_alias ;;
910 -host=* | --host=* | --hos=* | --ho=*)
911 host_alias=$ac_optarg ;;
912
913 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
914 ac_prev=htmldir ;;
915 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
916 | --ht=*)
917 htmldir=$ac_optarg ;;
918
919 -includedir | --includedir | --includedi | --included | --include \
920 | --includ | --inclu | --incl | --inc)
921 ac_prev=includedir ;;
922 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
923 | --includ=* | --inclu=* | --incl=* | --inc=*)
924 includedir=$ac_optarg ;;
925
926 -infodir | --infodir | --infodi | --infod | --info | --inf)
927 ac_prev=infodir ;;
928 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
929 infodir=$ac_optarg ;;
930
931 -libdir | --libdir | --libdi | --libd)
932 ac_prev=libdir ;;
933 -libdir=* | --libdir=* | --libdi=* | --libd=*)
934 libdir=$ac_optarg ;;
935
936 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
937 | --libexe | --libex | --libe)
938 ac_prev=libexecdir ;;
939 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
940 | --libexe=* | --libex=* | --libe=*)
941 libexecdir=$ac_optarg ;;
942
943 -localedir | --localedir | --localedi | --localed | --locale)
944 ac_prev=localedir ;;
945 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
946 localedir=$ac_optarg ;;
947
948 -localstatedir | --localstatedir | --localstatedi | --localstated \
949 | --localstate | --localstat | --localsta | --localst | --locals)
950 ac_prev=localstatedir ;;
951 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
952 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
953 localstatedir=$ac_optarg ;;
954
955 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
956 ac_prev=mandir ;;
957 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
958 mandir=$ac_optarg ;;
959
960 -nfp | --nfp | --nf)
961 # Obsolete; use --without-fp.
962 with_fp=no ;;
963
964 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
965 | --no-cr | --no-c | -n)
966 no_create=yes ;;
967
968 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
970 no_recursion=yes ;;
971
972 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
973 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
974 | --oldin | --oldi | --old | --ol | --o)
975 ac_prev=oldincludedir ;;
976 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
977 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
978 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
979 oldincludedir=$ac_optarg ;;
980
981 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
982 ac_prev=prefix ;;
983 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
984 prefix=$ac_optarg ;;
985
986 -program-prefix | --program-prefix | --program-prefi | --program-pref \
987 | --program-pre | --program-pr | --program-p)
988 ac_prev=program_prefix ;;
989 -program-prefix=* | --program-prefix=* | --program-prefi=* \
990 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
991 program_prefix=$ac_optarg ;;
992
993 -program-suffix | --program-suffix | --program-suffi | --program-suff \
994 | --program-suf | --program-su | --program-s)
995 ac_prev=program_suffix ;;
996 -program-suffix=* | --program-suffix=* | --program-suffi=* \
997 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
998 program_suffix=$ac_optarg ;;
999
1000 -program-transform-name | --program-transform-name \
1001 | --program-transform-nam | --program-transform-na \
1002 | --program-transform-n | --program-transform- \
1003 | --program-transform | --program-transfor \
1004 | --program-transfo | --program-transf \
1005 | --program-trans | --program-tran \
1006 | --progr-tra | --program-tr | --program-t)
1007 ac_prev=program_transform_name ;;
1008 -program-transform-name=* | --program-transform-name=* \
1009 | --program-transform-nam=* | --program-transform-na=* \
1010 | --program-transform-n=* | --program-transform-=* \
1011 | --program-transform=* | --program-transfor=* \
1012 | --program-transfo=* | --program-transf=* \
1013 | --program-trans=* | --program-tran=* \
1014 | --progr-tra=* | --program-tr=* | --program-t=*)
1015 program_transform_name=$ac_optarg ;;
1016
1017 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1018 ac_prev=pdfdir ;;
1019 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1020 pdfdir=$ac_optarg ;;
1021
1022 -psdir | --psdir | --psdi | --psd | --ps)
1023 ac_prev=psdir ;;
1024 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1025 psdir=$ac_optarg ;;
1026
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil)
1029 silent=yes ;;
1030
1031 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1032 ac_prev=sbindir ;;
1033 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1034 | --sbi=* | --sb=*)
1035 sbindir=$ac_optarg ;;
1036
1037 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1038 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1039 | --sharedst | --shareds | --shared | --share | --shar \
1040 | --sha | --sh)
1041 ac_prev=sharedstatedir ;;
1042 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1043 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1044 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1045 | --sha=* | --sh=*)
1046 sharedstatedir=$ac_optarg ;;
1047
1048 -site | --site | --sit)
1049 ac_prev=site ;;
1050 -site=* | --site=* | --sit=*)
1051 site=$ac_optarg ;;
1052
1053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1054 ac_prev=srcdir ;;
1055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1056 srcdir=$ac_optarg ;;
1057
1058 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1059 | --syscon | --sysco | --sysc | --sys | --sy)
1060 ac_prev=sysconfdir ;;
1061 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1062 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1063 sysconfdir=$ac_optarg ;;
1064
1065 -target | --target | --targe | --targ | --tar | --ta | --t)
1066 ac_prev=target_alias ;;
1067 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1068 target_alias=$ac_optarg ;;
1069
1070 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1071 verbose=yes ;;
1072
1073 -version | --version | --versio | --versi | --vers | -V)
1074 ac_init_version=: ;;
1075
1076 -with-* | --with-*)
1077 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error $? "invalid package name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1084 *"
1085 "with_$ac_useropt"
1086 "*) ;;
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1089 esac
1090 eval with_$ac_useropt=\$ac_optarg ;;
1091
1092 -without-* | --without-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid package name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1100 *"
1101 "with_$ac_useropt"
1102 "*) ;;
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1105 esac
1106 eval with_$ac_useropt=no ;;
1107
1108 --x)
1109 # Obsolete; use --with-x.
1110 with_x=yes ;;
1111
1112 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1113 | --x-incl | --x-inc | --x-in | --x-i)
1114 ac_prev=x_includes ;;
1115 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1116 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1117 x_includes=$ac_optarg ;;
1118
1119 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1120 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1121 ac_prev=x_libraries ;;
1122 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1123 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1124 x_libraries=$ac_optarg ;;
1125
1126 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1127 Try \`$0 --help' for more information"
1128 ;;
1129
1130 *=*)
1131 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1132 # Reject names that are not valid shell variable names.
1133 case $ac_envvar in #(
1134 '' | [0-9]* | *[!_$as_cr_alnum]* )
1135 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1136 esac
1137 eval $ac_envvar=\$ac_optarg
1138 export $ac_envvar ;;
1139
1140 *)
1141 # FIXME: should be removed in autoconf 3.0.
1142 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1146 ;;
1147
1148 esac
1149 done
1150
1151 if test -n "$ac_prev"; then
1152 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1153 as_fn_error $? "missing argument to $ac_option"
1154 fi
1155
1156 if test -n "$ac_unrecognized_opts"; then
1157 case $enable_option_checking in
1158 no) ;;
1159 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1160 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1161 esac
1162 fi
1163
1164 # Check all directory arguments for consistency.
1165 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1169 do
1170 eval ac_val=\$$ac_var
1171 # Remove trailing slashes.
1172 case $ac_val in
1173 */ )
1174 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1175 eval $ac_var=\$ac_val;;
1176 esac
1177 # Be sure to have absolute directory names.
1178 case $ac_val in
1179 [\\/$]* | ?:[\\/]* ) continue;;
1180 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1181 esac
1182 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1183 done
1184
1185 # There might be people who depend on the old broken behavior: `$host'
1186 # used to hold the argument of --host etc.
1187 # FIXME: To remove some day.
1188 build=$build_alias
1189 host=$host_alias
1190 target=$target_alias
1191
1192 # FIXME: To remove some day.
1193 if test "x$host_alias" != x; then
1194 if test "x$build_alias" = x; then
1195 cross_compiling=maybe
1196 elif test "x$build_alias" != "x$host_alias"; then
1197 cross_compiling=yes
1198 fi
1199 fi
1200
1201 ac_tool_prefix=
1202 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1203
1204 test "$silent" = yes && exec 6>/dev/null
1205
1206
1207 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208 ac_ls_di=`ls -di .` &&
1209 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210 as_fn_error $? "working directory cannot be determined"
1211 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212 as_fn_error $? "pwd does not report name of working directory"
1213
1214
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir=`$as_dirname -- "$as_myself" ||
1220 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$as_myself" : 'X\(//\)[^/]' \| \
1222 X"$as_myself" : 'X\(//\)$' \| \
1223 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1224 $as_echo X"$as_myself" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226 s//\1/
1227 q
1228 }
1229 /^X\(\/\/\)[^/].*/{
1230 s//\1/
1231 q
1232 }
1233 /^X\(\/\/\)$/{
1234 s//\1/
1235 q
1236 }
1237 /^X\(\/\).*/{
1238 s//\1/
1239 q
1240 }
1241 s/.*/./; q'`
1242 srcdir=$ac_confdir
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 srcdir=..
1245 fi
1246 else
1247 ac_srcdir_defaulted=no
1248 fi
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1252 fi
1253 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 ac_abs_confdir=`(
1255 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1256 pwd)`
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 srcdir=.
1260 fi
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1264 case $srcdir in
1265 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266 esac
1267 for ac_var in $ac_precious_vars; do
1268 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_${ac_var}_value=\$${ac_var}
1270 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1272 done
1273
1274 #
1275 # Report the --help message.
1276 #
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1280 cat <<_ACEOF
1281 \`configure' configures cups-bjnp 2.0.3 to adapt to many kinds of systems.
1282
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1284
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1287
1288 Defaults for the options are specified in brackets.
1289
1290 Configuration:
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking ...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 [PREFIX]
1306
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1311
1312 For better control, use the options below.
1313
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/cups-bjnp]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1334 _ACEOF
1335
1336 cat <<\_ACEOF
1337
1338 Program names:
1339 --program-prefix=PREFIX prepend PREFIX to installed program names
1340 --program-suffix=SUFFIX append SUFFIX to installed program names
1341 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1342 _ACEOF
1343 fi
1344
1345 if test -n "$ac_init_help"; then
1346 case $ac_init_help in
1347 short | recursive ) echo "Configuration of cups-bjnp 2.0.3:";;
1348 esac
1349 cat <<\_ACEOF
1350
1351 Optional Features:
1352 --disable-option-checking ignore unrecognized --enable/--with options
1353 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1354 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1355 --enable-silent-rules less verbose build output (undo: "make V=1")
1356 --disable-silent-rules verbose build output (undo: "make V=0")
1357 --enable-dependency-tracking
1358 do not reject slow dependency extractors
1359 --disable-dependency-tracking
1360 speeds up one-time build
1361 --disable-Werror don't use gcc's -Werror option when building
1362 --disable-ipv6 disable IPv6 support
1363 --enable-maintainer-mode
1364 enable make rules and dependencies not useful (and
1365 sometimes confusing) to the casual installer
1366
1367 Optional Packages:
1368 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1369 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1370 --with-cupsbackenddir=DIR
1371 cups-backends directory (auto)
1372
1373 Some influential environment variables:
1374 CC C compiler command
1375 CFLAGS C compiler flags
1376 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1377 nonstandard directory <lib dir>
1378 LIBS libraries to pass to the linker, e.g. -l<library>
1379 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1380 you have headers in a nonstandard directory <include dir>
1381 CPP C preprocessor
1382
1383 Use these variables to override the choices made by `configure' or to help
1384 it to find libraries and programs with nonstandard names/locations.
1385
1386 Report bugs to <[email protected]>.
1387 _ACEOF
1388 ac_status=$?
1389 fi
1390
1391 if test "$ac_init_help" = "recursive"; then
1392 # If there are subdirs, report their specific --help.
1393 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1394 test -d "$ac_dir" ||
1395 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1396 continue
1397 ac_builddir=.
1398
1399 case "$ac_dir" in
1400 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 *)
1402 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1403 # A ".." for each directory in $ac_dir_suffix.
1404 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1405 case $ac_top_builddir_sub in
1406 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1407 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1408 esac ;;
1409 esac
1410 ac_abs_top_builddir=$ac_pwd
1411 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1412 # for backward compatibility:
1413 ac_top_builddir=$ac_top_build_prefix
1414
1415 case $srcdir in
1416 .) # We are building in place.
1417 ac_srcdir=.
1418 ac_top_srcdir=$ac_top_builddir_sub
1419 ac_abs_top_srcdir=$ac_pwd ;;
1420 [\\/]* | ?:[\\/]* ) # Absolute name.
1421 ac_srcdir=$srcdir$ac_dir_suffix;
1422 ac_top_srcdir=$srcdir
1423 ac_abs_top_srcdir=$srcdir ;;
1424 *) # Relative name.
1425 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1426 ac_top_srcdir=$ac_top_build_prefix$srcdir
1427 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1428 esac
1429 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1430
1431 cd "$ac_dir" || { ac_status=$?; continue; }
1432 # Check for guested configure.
1433 if test -f "$ac_srcdir/configure.gnu"; then
1434 echo &&
1435 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1436 elif test -f "$ac_srcdir/configure"; then
1437 echo &&
1438 $SHELL "$ac_srcdir/configure" --help=recursive
1439 else
1440 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1441 fi || ac_status=$?
1442 cd "$ac_pwd" || { ac_status=$?; break; }
1443 done
1444 fi
1445
1446 test -n "$ac_init_help" && exit $ac_status
1447 if $ac_init_version; then
1448 cat <<\_ACEOF
1449 cups-bjnp configure 2.0.3
1450 generated by GNU Autoconf 2.69
1451
1452 Copyright (C) 2012 Free Software Foundation, Inc.
1453 This configure script is free software; the Free Software Foundation
1454 gives unlimited permission to copy, distribute and modify it.
1455 _ACEOF
1456 exit
1457 fi
1458
1459 ## ------------------------ ##
1460 ## Autoconf initialization. ##
1461 ## ------------------------ ##
1462
1463 # ac_fn_c_try_compile LINENO
1464 # --------------------------
1465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1466 ac_fn_c_try_compile ()
1467 {
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 rm -f conftest.$ac_objext
1470 if { { ac_try="$ac_compile"
1471 case "(($ac_try" in
1472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1473 *) ac_try_echo=$ac_try;;
1474 esac
1475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1476 $as_echo "$ac_try_echo"; } >&5
1477 (eval "$ac_compile") 2>conftest.err
1478 ac_status=$?
1479 if test -s conftest.err; then
1480 grep -v '^ *+' conftest.err >conftest.er1
1481 cat conftest.er1 >&5
1482 mv -f conftest.er1 conftest.err
1483 fi
1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1485 test $ac_status = 0; } && {
1486 test -z "$ac_c_werror_flag" ||
1487 test ! -s conftest.err
1488 } && test -s conftest.$ac_objext; then :
1489 ac_retval=0
1490 else
1491 $as_echo "$as_me: failed program was:" >&5
1492 sed 's/^/| /' conftest.$ac_ext >&5
1493
1494 ac_retval=1
1495 fi
1496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1497 as_fn_set_status $ac_retval
1498
1499 } # ac_fn_c_try_compile
1500
1501 # ac_fn_c_try_link LINENO
1502 # -----------------------
1503 # Try to link conftest.$ac_ext, and return whether this succeeded.
1504 ac_fn_c_try_link ()
1505 {
1506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507 rm -f conftest.$ac_objext conftest$ac_exeext
1508 if { { ac_try="$ac_link"
1509 case "(($ac_try" in
1510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1511 *) ac_try_echo=$ac_try;;
1512 esac
1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515 (eval "$ac_link") 2>conftest.err
1516 ac_status=$?
1517 if test -s conftest.err; then
1518 grep -v '^ *+' conftest.err >conftest.er1
1519 cat conftest.er1 >&5
1520 mv -f conftest.er1 conftest.err
1521 fi
1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523 test $ac_status = 0; } && {
1524 test -z "$ac_c_werror_flag" ||
1525 test ! -s conftest.err
1526 } && test -s conftest$ac_exeext && {
1527 test "$cross_compiling" = yes ||
1528 test -x conftest$ac_exeext
1529 }; then :
1530 ac_retval=0
1531 else
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1534
1535 ac_retval=1
1536 fi
1537 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1538 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1539 # interfere with the next link command; also delete a directory that is
1540 # left behind by Apple's compiler. We do this before executing the actions.
1541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 as_fn_set_status $ac_retval
1544
1545 } # ac_fn_c_try_link
1546
1547 # ac_fn_c_check_func LINENO FUNC VAR
1548 # ----------------------------------
1549 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1550 ac_fn_c_check_func ()
1551 {
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1554 $as_echo_n "checking for $2... " >&6; }
1555 if eval \${$3+:} false; then :
1556 $as_echo_n "(cached) " >&6
1557 else
1558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1559 /* end confdefs.h. */
1560 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1562 #define $2 innocuous_$2
1563
1564 /* System header to define __stub macros and hopefully few prototypes,
1565 which can conflict with char $2 (); below.
1566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1567 <limits.h> exists even on freestanding compilers. */
1568
1569 #ifdef __STDC__
1570 # include <limits.h>
1571 #else
1572 # include <assert.h>
1573 #endif
1574
1575 #undef $2
1576
1577 /* Override any GCC internal prototype to avoid an error.
1578 Use char because int might match the return type of a GCC
1579 builtin and then its argument prototype would still apply. */
1580 #ifdef __cplusplus
1581 extern "C"
1582 #endif
1583 char $2 ();
1584 /* The GNU C library defines this for functions which it implements
1585 to always fail with ENOSYS. Some functions are actually named
1586 something starting with __ and the normal name is an alias. */
1587 #if defined __stub_$2 || defined __stub___$2
1588 choke me
1589 #endif
1590
1591 int
1592 main ()
1593 {
1594 return $2 ();
1595 ;
1596 return 0;
1597 }
1598 _ACEOF
1599 if ac_fn_c_try_link "$LINENO"; then :
1600 eval "$3=yes"
1601 else
1602 eval "$3=no"
1603 fi
1604 rm -f core conftest.err conftest.$ac_objext \
1605 conftest$ac_exeext conftest.$ac_ext
1606 fi
1607 eval ac_res=\$$3
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1609 $as_echo "$ac_res" >&6; }
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611
1612 } # ac_fn_c_check_func
1613
1614 # ac_fn_c_try_cpp LINENO
1615 # ----------------------
1616 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1617 ac_fn_c_try_cpp ()
1618 {
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 if { { ac_try="$ac_cpp conftest.$ac_ext"
1621 case "(($ac_try" in
1622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1624 esac
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1628 ac_status=$?
1629 if test -s conftest.err; then
1630 grep -v '^ *+' conftest.err >conftest.er1
1631 cat conftest.er1 >&5
1632 mv -f conftest.er1 conftest.err
1633 fi
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } > conftest.i && {
1636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 }; then :
1639 ac_retval=0
1640 else
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.$ac_ext >&5
1643
1644 ac_retval=1
1645 fi
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 as_fn_set_status $ac_retval
1648
1649 } # ac_fn_c_try_cpp
1650
1651 # ac_fn_c_try_run LINENO
1652 # ----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1654 # that executables *can* be run.
1655 ac_fn_c_try_run ()
1656 {
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 if { { ac_try="$ac_link"
1659 case "(($ac_try" in
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1662 esac
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>&5
1666 ac_status=$?
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1669 { { case "(($ac_try" in
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_try") 2>&5
1676 ac_status=$?
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; }; }; then :
1679 ac_retval=0
1680 else
1681 $as_echo "$as_me: program exited with status $ac_status" >&5
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1684
1685 ac_retval=$ac_status
1686 fi
1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status $ac_retval
1690
1691 } # ac_fn_c_try_run
1692
1693 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1694 # -------------------------------------------------------
1695 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1696 # the include files in INCLUDES and setting the cache variable VAR
1697 # accordingly.
1698 ac_fn_c_check_header_mongrel ()
1699 {
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if eval \${$3+:} false; then :
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705 $as_echo_n "(cached) " >&6
1706 fi
1707 eval ac_res=\$$3
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709 $as_echo "$ac_res" >&6; }
1710 else
1711 # Is the header compilable?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1713 $as_echo_n "checking $2 usability... " >&6; }
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1716 $4
1717 #include <$2>
1718 _ACEOF
1719 if ac_fn_c_try_compile "$LINENO"; then :
1720 ac_header_compiler=yes
1721 else
1722 ac_header_compiler=no
1723 fi
1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1726 $as_echo "$ac_header_compiler" >&6; }
1727
1728 # Is the header present?
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1730 $as_echo_n "checking $2 presence... " >&6; }
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1733 #include <$2>
1734 _ACEOF
1735 if ac_fn_c_try_cpp "$LINENO"; then :
1736 ac_header_preproc=yes
1737 else
1738 ac_header_preproc=no
1739 fi
1740 rm -f conftest.err conftest.i conftest.$ac_ext
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1742 $as_echo "$ac_header_preproc" >&6; }
1743
1744 # So? What about this header?
1745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1746 yes:no: )
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1748 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1750 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1751 ;;
1752 no:yes:* )
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1754 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1756 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1758 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1760 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1762 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1763 ( $as_echo "## ---------------------------------------- ##
1764 ## Report this to [email protected] ##
1765 ## ---------------------------------------- ##"
1766 ) | sed "s/^/$as_me: WARNING: /" >&2
1767 ;;
1768 esac
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \${$3+:} false; then :
1772 $as_echo_n "(cached) " >&6
1773 else
1774 eval "$3=\$ac_header_compiler"
1775 fi
1776 eval ac_res=\$$3
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 fi
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781
1782 } # ac_fn_c_check_header_mongrel
1783
1784 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1785 # -------------------------------------------------------
1786 # Tests whether HEADER exists and can be compiled using the include files in
1787 # INCLUDES, setting the cache variable VAR accordingly.
1788 ac_fn_c_check_header_compile ()
1789 {
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1793 if eval \${$3+:} false; then :
1794 $as_echo_n "(cached) " >&6
1795 else
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1798 $4
1799 #include <$2>
1800 _ACEOF
1801 if ac_fn_c_try_compile "$LINENO"; then :
1802 eval "$3=yes"
1803 else
1804 eval "$3=no"
1805 fi
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1807 fi
1808 eval ac_res=\$$3
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812
1813 } # ac_fn_c_check_header_compile
1814
1815 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1816 # -------------------------------------------
1817 # Tests whether TYPE exists after having included INCLUDES, setting cache
1818 # variable VAR accordingly.
1819 ac_fn_c_check_type ()
1820 {
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \${$3+:} false; then :
1825 $as_echo_n "(cached) " >&6
1826 else
1827 eval "$3=no"
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1830 $4
1831 int
1832 main ()
1833 {
1834 if (sizeof ($2))
1835 return 0;
1836 ;
1837 return 0;
1838 }
1839 _ACEOF
1840 if ac_fn_c_try_compile "$LINENO"; then :
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1843 $4
1844 int
1845 main ()
1846 {
1847 if (sizeof (($2)))
1848 return 0;
1849 ;
1850 return 0;
1851 }
1852 _ACEOF
1853 if ac_fn_c_try_compile "$LINENO"; then :
1854
1855 else
1856 eval "$3=yes"
1857 fi
1858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1859 fi
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 fi
1862 eval ac_res=\$$3
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866
1867 } # ac_fn_c_check_type
1868
1869 # ac_fn_c_find_uintX_t LINENO BITS VAR
1870 # ------------------------------------
1871 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1872 # accordingly.
1873 ac_fn_c_find_uintX_t ()
1874 {
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1877 $as_echo_n "checking for uint$2_t... " >&6; }
1878 if eval \${$3+:} false; then :
1879 $as_echo_n "(cached) " >&6
1880 else
1881 eval "$3=no"
1882 # Order is important - never check a type that is potentially smaller
1883 # than half of the expected target width.
1884 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1885 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 $ac_includes_default
1889 int
1890 main ()
1891 {
1892 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1893 test_array [0] = 0;
1894 return test_array [0];
1895
1896 ;
1897 return 0;
1898 }
1899 _ACEOF
1900 if ac_fn_c_try_compile "$LINENO"; then :
1901 case $ac_type in #(
1902 uint$2_t) :
1903 eval "$3=yes" ;; #(
1904 *) :
1905 eval "$3=\$ac_type" ;;
1906 esac
1907 fi
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 if eval test \"x\$"$3"\" = x"no"; then :
1910
1911 else
1912 break
1913 fi
1914 done
1915 fi
1916 eval ac_res=\$$3
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918 $as_echo "$ac_res" >&6; }
1919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920
1921 } # ac_fn_c_find_uintX_t
1922 cat >config.log <<_ACEOF
1923 This file contains any messages produced by compilers while
1924 running configure, to aid debugging if configure makes a mistake.
1925
1926 It was created by cups-bjnp $as_me 2.0.3, which was
1927 generated by GNU Autoconf 2.69. Invocation command line was
1928
1929 $ $0 $@
1930
1931 _ACEOF
1932 exec 5>>config.log
1933 {
1934 cat <<_ASUNAME
1935 ## --------- ##
1936 ## Platform. ##
1937 ## --------- ##
1938
1939 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1940 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1941 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1942 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1943 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1944
1945 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1946 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1947
1948 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1949 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1950 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1951 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1952 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1953 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1954 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1955
1956 _ASUNAME
1957
1958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 for as_dir in $PATH
1960 do
1961 IFS=$as_save_IFS
1962 test -z "$as_dir" && as_dir=.
1963 $as_echo "PATH: $as_dir"
1964 done
1965 IFS=$as_save_IFS
1966
1967 } >&5
1968
1969 cat >&5 <<_ACEOF
1970
1971
1972 ## ----------- ##
1973 ## Core tests. ##
1974 ## ----------- ##
1975
1976 _ACEOF
1977
1978
1979 # Keep a trace of the command line.
1980 # Strip out --no-create and --no-recursion so they do not pile up.
1981 # Strip out --silent because we don't want to record it for future runs.
1982 # Also quote any args containing shell meta-characters.
1983 # Make two passes to allow for proper duplicate-argument suppression.
1984 ac_configure_args=
1985 ac_configure_args0=
1986 ac_configure_args1=
1987 ac_must_keep_next=false
1988 for ac_pass in 1 2
1989 do
1990 for ac_arg
1991 do
1992 case $ac_arg in
1993 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1995 | -silent | --silent | --silen | --sile | --sil)
1996 continue ;;
1997 *\'*)
1998 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1999 esac
2000 case $ac_pass in
2001 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2002 2)
2003 as_fn_append ac_configure_args1 " '$ac_arg'"
2004 if test $ac_must_keep_next = true; then
2005 ac_must_keep_next=false # Got value, back to normal.
2006 else
2007 case $ac_arg in
2008 *=* | --config-cache | -C | -disable-* | --disable-* \
2009 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2010 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2011 | -with-* | --with-* | -without-* | --without-* | --x)
2012 case "$ac_configure_args0 " in
2013 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2014 esac
2015 ;;
2016 -* ) ac_must_keep_next=true ;;
2017 esac
2018 fi
2019 as_fn_append ac_configure_args " '$ac_arg'"
2020 ;;
2021 esac
2022 done
2023 done
2024 { ac_configure_args0=; unset ac_configure_args0;}
2025 { ac_configure_args1=; unset ac_configure_args1;}
2026
2027 # When interrupted or exit'd, cleanup temporary files, and complete
2028 # config.log. We remove comments because anyway the quotes in there
2029 # would cause problems or look ugly.
2030 # WARNING: Use '\'' to represent an apostrophe within the trap.
2031 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2032 trap 'exit_status=$?
2033 # Save into config.log some information that might help in debugging.
2034 {
2035 echo
2036
2037 $as_echo "## ---------------- ##
2038 ## Cache variables. ##
2039 ## ---------------- ##"
2040 echo
2041 # The following way of writing the cache mishandles newlines in values,
2042 (
2043 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2044 eval ac_val=\$$ac_var
2045 case $ac_val in #(
2046 *${as_nl}*)
2047 case $ac_var in #(
2048 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2050 esac
2051 case $ac_var in #(
2052 _ | IFS | as_nl) ;; #(
2053 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2054 *) { eval $ac_var=; unset $ac_var;} ;;
2055 esac ;;
2056 esac
2057 done
2058 (set) 2>&1 |
2059 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2060 *${as_nl}ac_space=\ *)
2061 sed -n \
2062 "s/'\''/'\''\\\\'\'''\''/g;
2063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2064 ;; #(
2065 *)
2066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2067 ;;
2068 esac |
2069 sort
2070 )
2071 echo
2072
2073 $as_echo "## ----------------- ##
2074 ## Output variables. ##
2075 ## ----------------- ##"
2076 echo
2077 for ac_var in $ac_subst_vars
2078 do
2079 eval ac_val=\$$ac_var
2080 case $ac_val in
2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2082 esac
2083 $as_echo "$ac_var='\''$ac_val'\''"
2084 done | sort
2085 echo
2086
2087 if test -n "$ac_subst_files"; then
2088 $as_echo "## ------------------- ##
2089 ## File substitutions. ##
2090 ## ------------------- ##"
2091 echo
2092 for ac_var in $ac_subst_files
2093 do
2094 eval ac_val=\$$ac_var
2095 case $ac_val in
2096 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2097 esac
2098 $as_echo "$ac_var='\''$ac_val'\''"
2099 done | sort
2100 echo
2101 fi
2102
2103 if test -s confdefs.h; then
2104 $as_echo "## ----------- ##
2105 ## confdefs.h. ##
2106 ## ----------- ##"
2107 echo
2108 cat confdefs.h
2109 echo
2110 fi
2111 test "$ac_signal" != 0 &&
2112 $as_echo "$as_me: caught signal $ac_signal"
2113 $as_echo "$as_me: exit $exit_status"
2114 } >&5
2115 rm -f core *.core core.conftest.* &&
2116 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2117 exit $exit_status
2118 ' 0
2119 for ac_signal in 1 2 13 15; do
2120 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2121 done
2122 ac_signal=0
2123
2124 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2125 rm -f -r conftest* confdefs.h
2126
2127 $as_echo "/* confdefs.h */" > confdefs.h
2128
2129 # Predefined preprocessor variables.
2130
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_NAME "$PACKAGE_NAME"
2133 _ACEOF
2134
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2137 _ACEOF
2138
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2141 _ACEOF
2142
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_STRING "$PACKAGE_STRING"
2145 _ACEOF
2146
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2149 _ACEOF
2150
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_URL "$PACKAGE_URL"
2153 _ACEOF
2154
2155
2156 # Let the site file select an alternate cache file if it wants to.
2157 # Prefer an explicitly selected file to automatically selected ones.
2158 ac_site_file1=NONE
2159 ac_site_file2=NONE
2160 if test -n "$CONFIG_SITE"; then
2161 # We do not want a PATH search for config.site.
2162 case $CONFIG_SITE in #((
2163 -*) ac_site_file1=./$CONFIG_SITE;;
2164 */*) ac_site_file1=$CONFIG_SITE;;
2165 *) ac_site_file1=./$CONFIG_SITE;;
2166 esac
2167 elif test "x$prefix" != xNONE; then
2168 ac_site_file1=$prefix/share/config.site
2169 ac_site_file2=$prefix/etc/config.site
2170 else
2171 ac_site_file1=$ac_default_prefix/share/config.site
2172 ac_site_file2=$ac_default_prefix/etc/config.site
2173 fi
2174 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2175 do
2176 test "x$ac_site_file" = xNONE && continue
2177 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2179 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2180 sed 's/^/| /' "$ac_site_file" >&5
2181 . "$ac_site_file" \
2182 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2184 as_fn_error $? "failed to load site script $ac_site_file
2185 See \`config.log' for more details" "$LINENO" 5; }
2186 fi
2187 done
2188
2189 if test -r "$cache_file"; then
2190 # Some versions of bash will fail to source /dev/null (special files
2191 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2192 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2194 $as_echo "$as_me: loading cache $cache_file" >&6;}
2195 case $cache_file in
2196 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2197 *) . "./$cache_file";;
2198 esac
2199 fi
2200 else
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2202 $as_echo "$as_me: creating cache $cache_file" >&6;}
2203 >$cache_file
2204 fi
2205
2206 # Check that the precious variables saved in the cache have kept the same
2207 # value.
2208 ac_cache_corrupted=false
2209 for ac_var in $ac_precious_vars; do
2210 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2211 eval ac_new_set=\$ac_env_${ac_var}_set
2212 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2213 eval ac_new_val=\$ac_env_${ac_var}_value
2214 case $ac_old_set,$ac_new_set in
2215 set,)
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2217 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2218 ac_cache_corrupted=: ;;
2219 ,set)
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2221 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2222 ac_cache_corrupted=: ;;
2223 ,);;
2224 *)
2225 if test "x$ac_old_val" != "x$ac_new_val"; then
2226 # differences in whitespace do not lead to failure.
2227 ac_old_val_w=`echo x $ac_old_val`
2228 ac_new_val_w=`echo x $ac_new_val`
2229 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2231 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2232 ac_cache_corrupted=:
2233 else
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2235 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2236 eval $ac_var=\$ac_old_val
2237 fi
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2239 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2241 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2242 fi;;
2243 esac
2244 # Pass precious variables to config.status.
2245 if test "$ac_new_set" = set; then
2246 case $ac_new_val in
2247 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2248 *) ac_arg=$ac_var=$ac_new_val ;;
2249 esac
2250 case " $ac_configure_args " in
2251 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2252 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2253 esac
2254 fi
2255 done
2256 if $ac_cache_corrupted; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2260 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2261 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2262 fi
2263 ## -------------------- ##
2264 ## Main body of script. ##
2265 ## -------------------- ##
2266
2267 ac_ext=c
2268 ac_cpp='$CPP $CPPFLAGS'
2269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2272
2273
2274
2275
2276 am__api_version='1.16'
2277
2278 ac_aux_dir=
2279 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2280 if test -f "$ac_dir/install-sh"; then
2281 ac_aux_dir=$ac_dir
2282 ac_install_sh="$ac_aux_dir/install-sh -c"
2283 break
2284 elif test -f "$ac_dir/install.sh"; then
2285 ac_aux_dir=$ac_dir
2286 ac_install_sh="$ac_aux_dir/install.sh -c"
2287 break
2288 elif test -f "$ac_dir/shtool"; then
2289 ac_aux_dir=$ac_dir
2290 ac_install_sh="$ac_aux_dir/shtool install -c"
2291 break
2292 fi
2293 done
2294 if test -z "$ac_aux_dir"; then
2295 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2296 fi
2297
2298 # These three variables are undocumented and unsupported,
2299 # and are intended to be withdrawn in a future Autoconf release.
2300 # They can cause serious problems if a builder's source tree is in a directory
2301 # whose full name contains unusual characters.
2302 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2303 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2304 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2305
2306
2307 # Find a good install program. We prefer a C program (faster),
2308 # so one script is as good as another. But avoid the broken or
2309 # incompatible versions:
2310 # SysV /etc/install, /usr/sbin/install
2311 # SunOS /usr/etc/install
2312 # IRIX /sbin/install
2313 # AIX /bin/install
2314 # AmigaOS /C/install, which installs bootblocks on floppy discs
2315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2318 # OS/2's system install, which has a completely different semantic
2319 # ./install, which can be erroneously created by make from ./install.sh.
2320 # Reject install programs that cannot install multiple files.
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2322 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2323 if test -z "$INSTALL"; then
2324 if ${ac_cv_path_install+:} false; then :
2325 $as_echo_n "(cached) " >&6
2326 else
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 for as_dir in $PATH
2329 do
2330 IFS=$as_save_IFS
2331 test -z "$as_dir" && as_dir=.
2332 # Account for people who put trailing slashes in PATH elements.
2333 case $as_dir/ in #((
2334 ./ | .// | /[cC]/* | \
2335 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2336 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2337 /usr/ucb/* ) ;;
2338 *)
2339 # OSF1 and SCO ODT 3.0 have their own names for install.
2340 # Don't use installbsd from OSF since it installs stuff as root
2341 # by default.
2342 for ac_prog in ginstall scoinst install; do
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2345 if test $ac_prog = install &&
2346 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2347 # AIX install. It has an incompatible calling convention.
2348 :
2349 elif test $ac_prog = install &&
2350 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2351 # program-specific install script used by HP pwplus--don't use.
2352 :
2353 else
2354 rm -rf conftest.one conftest.two conftest.dir
2355 echo one > conftest.one
2356 echo two > conftest.two
2357 mkdir conftest.dir
2358 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2359 test -s conftest.one && test -s conftest.two &&
2360 test -s conftest.dir/conftest.one &&
2361 test -s conftest.dir/conftest.two
2362 then
2363 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2364 break 3
2365 fi
2366 fi
2367 fi
2368 done
2369 done
2370 ;;
2371 esac
2372
2373 done
2374 IFS=$as_save_IFS
2375
2376 rm -rf conftest.one conftest.two conftest.dir
2377
2378 fi
2379 if test "${ac_cv_path_install+set}" = set; then
2380 INSTALL=$ac_cv_path_install
2381 else
2382 # As a last resort, use the slow shell script. Don't cache a
2383 # value for INSTALL within a source directory, because that will
2384 # break other packages using the cache if that directory is
2385 # removed, or if the value is a relative name.
2386 INSTALL=$ac_install_sh
2387 fi
2388 fi
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2390 $as_echo "$INSTALL" >&6; }
2391
2392 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2393 # It thinks the first close brace ends the variable substitution.
2394 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2395
2396 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2397
2398 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2399
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2401 $as_echo_n "checking whether build environment is sane... " >&6; }
2402 # Reject unsafe characters in $srcdir or the absolute working directory
2403 # name. Accept space and tab only in the latter.
2404 am_lf='
2405 '
2406 case `pwd` in
2407 *[\\\"\#\$\&\'\`$am_lf]*)
2408 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2409 esac
2410 case $srcdir in
2411 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2412 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2413 esac
2414
2415 # Do 'set' in a subshell so we don't clobber the current shell's
2416 # arguments. Must try -L first in case configure is actually a
2417 # symlink; some systems play weird games with the mod time of symlinks
2418 # (eg FreeBSD returns the mod time of the symlink's containing
2419 # directory).
2420 if (
2421 am_has_slept=no
2422 for am_try in 1 2; do
2423 echo "timestamp, slept: $am_has_slept" > conftest.file
2424 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2425 if test "$*" = "X"; then
2426 # -L didn't work.
2427 set X `ls -t "$srcdir/configure" conftest.file`
2428 fi
2429 if test "$*" != "X $srcdir/configure conftest.file" \
2430 && test "$*" != "X conftest.file $srcdir/configure"; then
2431
2432 # If neither matched, then we have a broken ls. This can happen
2433 # if, for instance, CONFIG_SHELL is bash and it inherits a
2434 # broken ls alias from the environment. This has actually
2435 # happened. Such a system could not be considered "sane".
2436 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2437 alias in your environment" "$LINENO" 5
2438 fi
2439 if test "$2" = conftest.file || test $am_try -eq 2; then
2440 break
2441 fi
2442 # Just in case.
2443 sleep 1
2444 am_has_slept=yes
2445 done
2446 test "$2" = conftest.file
2447 )
2448 then
2449 # Ok.
2450 :
2451 else
2452 as_fn_error $? "newly created file is older than distributed files!
2453 Check your system clock" "$LINENO" 5
2454 fi
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2456 $as_echo "yes" >&6; }
2457 # If we didn't sleep, we still need to ensure time stamps of config.status and
2458 # generated files are strictly newer.
2459 am_sleep_pid=
2460 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2461 ( sleep 1 ) &
2462 am_sleep_pid=$!
2463 fi
2464
2465 rm -f conftest.file
2466
2467 test "$program_prefix" != NONE &&
2468 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2469 # Use a double $ so make ignores it.
2470 test "$program_suffix" != NONE &&
2471 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2472 # Double any \ or $.
2473 # By default was `s,x,x', remove it if useless.
2474 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2475 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2476
2477 # Expand $ac_aux_dir to an absolute path.
2478 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2479
2480 if test x"${MISSING+set}" != xset; then
2481 case $am_aux_dir in
2482 *\ * | *\ *)
2483 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2484 *)
2485 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2486 esac
2487 fi
2488 # Use eval to expand $SHELL
2489 if eval "$MISSING --is-lightweight"; then
2490 am_missing_run="$MISSING "
2491 else
2492 am_missing_run=
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2494 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2495 fi
2496
2497 if test x"${install_sh+set}" != xset; then
2498 case $am_aux_dir in
2499 *\ * | *\ *)
2500 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2501 *)
2502 install_sh="\${SHELL} $am_aux_dir/install-sh"
2503 esac
2504 fi
2505
2506 # Installed binaries are usually stripped using 'strip' when the user
2507 # run "make install-strip". However 'strip' might not be the right
2508 # tool to use in cross-compilation environments, therefore Automake
2509 # will honor the 'STRIP' environment variable to overrule this program.
2510 if test "$cross_compiling" != no; then
2511 if test -n "$ac_tool_prefix"; then
2512 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2513 set dummy ${ac_tool_prefix}strip; ac_word=$2
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2515 $as_echo_n "checking for $ac_word... " >&6; }
2516 if ${ac_cv_prog_STRIP+:} false; then :
2517 $as_echo_n "(cached) " >&6
2518 else
2519 if test -n "$STRIP"; then
2520 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2521 else
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 for as_dir in $PATH
2524 do
2525 IFS=$as_save_IFS
2526 test -z "$as_dir" && as_dir=.
2527 for ac_exec_ext in '' $ac_executable_extensions; do
2528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2529 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2531 break 2
2532 fi
2533 done
2534 done
2535 IFS=$as_save_IFS
2536
2537 fi
2538 fi
2539 STRIP=$ac_cv_prog_STRIP
2540 if test -n "$STRIP"; then
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2542 $as_echo "$STRIP" >&6; }
2543 else
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2545 $as_echo "no" >&6; }
2546 fi
2547
2548
2549 fi
2550 if test -z "$ac_cv_prog_STRIP"; then
2551 ac_ct_STRIP=$STRIP
2552 # Extract the first word of "strip", so it can be a program name with args.
2553 set dummy strip; ac_word=$2
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2555 $as_echo_n "checking for $ac_word... " >&6; }
2556 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2557 $as_echo_n "(cached) " >&6
2558 else
2559 if test -n "$ac_ct_STRIP"; then
2560 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2561 else
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 for as_dir in $PATH
2564 do
2565 IFS=$as_save_IFS
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2569 ac_cv_prog_ac_ct_STRIP="strip"
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 break 2
2572 fi
2573 done
2574 done
2575 IFS=$as_save_IFS
2576
2577 fi
2578 fi
2579 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2580 if test -n "$ac_ct_STRIP"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2582 $as_echo "$ac_ct_STRIP" >&6; }
2583 else
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2586 fi
2587
2588 if test "x$ac_ct_STRIP" = x; then
2589 STRIP=":"
2590 else
2591 case $cross_compiling:$ac_tool_warned in
2592 yes:)
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2595 ac_tool_warned=yes ;;
2596 esac
2597 STRIP=$ac_ct_STRIP
2598 fi
2599 else
2600 STRIP="$ac_cv_prog_STRIP"
2601 fi
2602
2603 fi
2604 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2605
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2607 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2608 if test -z "$MKDIR_P"; then
2609 if ${ac_cv_path_mkdir+:} false; then :
2610 $as_echo_n "(cached) " >&6
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2614 do
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_prog in mkdir gmkdir; do
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2620 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2621 'mkdir (GNU coreutils) '* | \
2622 'mkdir (coreutils) '* | \
2623 'mkdir (fileutils) '4.1*)
2624 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2625 break 3;;
2626 esac
2627 done
2628 done
2629 done
2630 IFS=$as_save_IFS
2631
2632 fi
2633
2634 test -d ./--version && rmdir ./--version
2635 if test "${ac_cv_path_mkdir+set}" = set; then
2636 MKDIR_P="$ac_cv_path_mkdir -p"
2637 else
2638 # As a last resort, use the slow shell script. Don't cache a
2639 # value for MKDIR_P within a source directory, because that will
2640 # break other packages using the cache if that directory is
2641 # removed, or if the value is a relative name.
2642 MKDIR_P="$ac_install_sh -d"
2643 fi
2644 fi
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2646 $as_echo "$MKDIR_P" >&6; }
2647
2648 for ac_prog in gawk mawk nawk awk
2649 do
2650 # Extract the first word of "$ac_prog", so it can be a program name with args.
2651 set dummy $ac_prog; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if ${ac_cv_prog_AWK+:} false; then :
2655 $as_echo_n "(cached) " >&6
2656 else
2657 if test -n "$AWK"; then
2658 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2659 else
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 for as_dir in $PATH
2662 do
2663 IFS=$as_save_IFS
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667 ac_cv_prog_AWK="$ac_prog"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 break 2
2670 fi
2671 done
2672 done
2673 IFS=$as_save_IFS
2674
2675 fi
2676 fi
2677 AWK=$ac_cv_prog_AWK
2678 if test -n "$AWK"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2680 $as_echo "$AWK" >&6; }
2681 else
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2684 fi
2685
2686
2687 test -n "$AWK" && break
2688 done
2689
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2691 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2692 set x ${MAKE-make}
2693 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2694 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2695 $as_echo_n "(cached) " >&6
2696 else
2697 cat >conftest.make <<\_ACEOF
2698 SHELL = /bin/sh
2699 all:
2700 @echo '@@@%%%=$(MAKE)=@@@%%%'
2701 _ACEOF
2702 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2703 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2704 *@@@%%%=?*=@@@%%%*)
2705 eval ac_cv_prog_make_${ac_make}_set=yes;;
2706 *)
2707 eval ac_cv_prog_make_${ac_make}_set=no;;
2708 esac
2709 rm -f conftest.make
2710 fi
2711 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2713 $as_echo "yes" >&6; }
2714 SET_MAKE=
2715 else
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2718 SET_MAKE="MAKE=${MAKE-make}"
2719 fi
2720
2721 rm -rf .tst 2>/dev/null
2722 mkdir .tst 2>/dev/null
2723 if test -d .tst; then
2724 am__leading_dot=.
2725 else
2726 am__leading_dot=_
2727 fi
2728 rmdir .tst 2>/dev/null
2729
2730 # Check whether --enable-silent-rules was given.
2731 if test "${enable_silent_rules+set}" = set; then :
2732 enableval=$enable_silent_rules;
2733 fi
2734
2735 case $enable_silent_rules in # (((
2736 yes) AM_DEFAULT_VERBOSITY=0;;
2737 no) AM_DEFAULT_VERBOSITY=1;;
2738 *) AM_DEFAULT_VERBOSITY=1;;
2739 esac
2740 am_make=${MAKE-make}
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2742 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2743 if ${am_cv_make_support_nested_variables+:} false; then :
2744 $as_echo_n "(cached) " >&6
2745 else
2746 if $as_echo 'TRUE=$(BAR$(V))
2747 BAR0=false
2748 BAR1=true
2749 V=1
2750 am__doit:
2751 @$(TRUE)
2752 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2753 am_cv_make_support_nested_variables=yes
2754 else
2755 am_cv_make_support_nested_variables=no
2756 fi
2757 fi
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2759 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2760 if test $am_cv_make_support_nested_variables = yes; then
2761 AM_V='$(V)'
2762 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2763 else
2764 AM_V=$AM_DEFAULT_VERBOSITY
2765 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2766 fi
2767 AM_BACKSLASH='\'
2768
2769 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2770 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2771 # is not polluted with repeated "-I."
2772 am__isrc=' -I$(srcdir)'
2773 # test to see if srcdir already configured
2774 if test -f $srcdir/config.status; then
2775 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2776 fi
2777 fi
2778
2779 # test whether we have cygpath
2780 if test -z "$CYGPATH_W"; then
2781 if (cygpath --version) >/dev/null 2>/dev/null; then
2782 CYGPATH_W='cygpath -w'
2783 else
2784 CYGPATH_W=echo
2785 fi
2786 fi
2787
2788
2789 # Define the identity of the package.
2790 PACKAGE='cups-bjnp'
2791 VERSION='2.0.3'
2792
2793
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE "$PACKAGE"
2796 _ACEOF
2797
2798
2799 cat >>confdefs.h <<_ACEOF
2800 #define VERSION "$VERSION"
2801 _ACEOF
2802
2803 # Some tools Automake needs.
2804
2805 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2806
2807
2808 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2809
2810
2811 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2812
2813
2814 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2815
2816
2817 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2818
2819 # For better backward compatibility. To be removed once Automake 1.9.x
2820 # dies out for good. For more background, see:
2821 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2822 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2823 mkdir_p='$(MKDIR_P)'
2824
2825 # We need awk for the "check" target (and possibly the TAP driver). The
2826 # system "awk" is bad on some platforms.
2827 # Always define AMTAR for backward compatibility. Yes, it's still used
2828 # in the wild :-( We should find a proper way to deprecate it ...
2829 AMTAR='$${TAR-tar}'
2830
2831
2832 # We'll loop over all known methods to create a tar archive until one works.
2833 _am_tools='gnutar pax cpio none'
2834
2835 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2836
2837
2838
2839
2840
2841
2842 # POSIX will say in a future version that running "rm -f" with no argument
2843 # is OK; and we want to be able to make that assumption in our Makefile
2844 # recipes. So use an aggressive probe to check that the usage we want is
2845 # actually supported "in the wild" to an acceptable degree.
2846 # See automake bug#10828.
2847 # To make any issue more visible, cause the running configure to be aborted
2848 # by default if the 'rm' program in use doesn't match our expectations; the
2849 # user can still override this though.
2850 if rm -f && rm -fr && rm -rf; then : OK; else
2851 cat >&2 <<'END'
2852 Oops!
2853
2854 Your 'rm' program seems unable to run without file operands specified
2855 on the command line, even when the '-f' option is present. This is contrary
2856 to the behaviour of most rm programs out there, and not conforming with
2857 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2858
2859 Please tell [email protected] about your system, including the value
2860 of your $PATH and any error possibly output before this message. This
2861 can help us improve future automake versions.
2862
2863 END
2864 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2865 echo 'Configuration will proceed anyway, since you have set the' >&2
2866 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2867 echo >&2
2868 else
2869 cat >&2 <<'END'
2870 Aborting the configuration process, to ensure you take notice of the issue.
2871
2872 You can download and install GNU coreutils to get an 'rm' implementation
2873 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2874
2875 If you want to complete the configuration process using your problematic
2876 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2877 to "yes", and re-run configure.
2878
2879 END
2880 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2881 fi
2882 fi
2883
2884
2885
2886 ## Check for programs
2887 ac_ext=c
2888 ac_cpp='$CPP $CPPFLAGS'
2889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2894 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_CC+:} false; then :
2898 $as_echo_n "(cached) " >&6
2899 else
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 else
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 for as_dir in $PATH
2905 do
2906 IFS=$as_save_IFS
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 break 2
2913 fi
2914 done
2915 done
2916 IFS=$as_save_IFS
2917
2918 fi
2919 fi
2920 CC=$ac_cv_prog_CC
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2924 else
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 fi
2928
2929
2930 fi
2931 if test -z "$ac_cv_prog_CC"; then
2932 ac_ct_CC=$CC
2933 # Extract the first word of "gcc", so it can be a program name with args.
2934 set dummy gcc; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2938 $as_echo_n "(cached) " >&6
2939 else
2940 if test -n "$ac_ct_CC"; then
2941 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2942 else
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 for as_dir in $PATH
2945 do
2946 IFS=$as_save_IFS
2947 test -z "$as_dir" && as_dir=.
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950 ac_cv_prog_ac_ct_CC="gcc"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 break 2
2953 fi
2954 done
2955 done
2956 IFS=$as_save_IFS
2957
2958 fi
2959 fi
2960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2961 if test -n "$ac_ct_CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2963 $as_echo "$ac_ct_CC" >&6; }
2964 else
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2967 fi
2968
2969 if test "x$ac_ct_CC" = x; then
2970 CC=""
2971 else
2972 case $cross_compiling:$ac_tool_warned in
2973 yes:)
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976 ac_tool_warned=yes ;;
2977 esac
2978 CC=$ac_ct_CC
2979 fi
2980 else
2981 CC="$ac_cv_prog_CC"
2982 fi
2983
2984 if test -z "$CC"; then
2985 if test -n "$ac_tool_prefix"; then
2986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2987 set dummy ${ac_tool_prefix}cc; ac_word=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_CC+:} false; then :
2991 $as_echo_n "(cached) " >&6
2992 else
2993 if test -n "$CC"; then
2994 ac_cv_prog_CC="$CC" # Let the user override the test.
2995 else
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997 for as_dir in $PATH
2998 do
2999 IFS=$as_save_IFS
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_CC="${ac_tool_prefix}cc"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 break 2
3006 fi
3007 done
3008 done
3009 IFS=$as_save_IFS
3010
3011 fi
3012 fi
3013 CC=$ac_cv_prog_CC
3014 if test -n "$CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016 $as_echo "$CC" >&6; }
3017 else
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3020 fi
3021
3022
3023 fi
3024 fi
3025 if test -z "$CC"; then
3026 # Extract the first word of "cc", so it can be a program name with args.
3027 set dummy cc; ac_word=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if ${ac_cv_prog_CC+:} false; then :
3031 $as_echo_n "(cached) " >&6
3032 else
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC="$CC" # Let the user override the test.
3035 else
3036 ac_prog_rejected=no
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040 IFS=$as_save_IFS
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3045 ac_prog_rejected=yes
3046 continue
3047 fi
3048 ac_cv_prog_CC="cc"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 break 2
3051 fi
3052 done
3053 done
3054 IFS=$as_save_IFS
3055
3056 if test $ac_prog_rejected = yes; then
3057 # We found a bogon in the path, so make sure we never use it.
3058 set dummy $ac_cv_prog_CC
3059 shift
3060 if test $# != 0; then
3061 # We chose a different compiler from the bogus one.
3062 # However, it has the same basename, so the bogon will be chosen
3063 # first if we set CC to just the basename; use the full file name.
3064 shift
3065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3066 fi
3067 fi
3068 fi
3069 fi
3070 CC=$ac_cv_prog_CC
3071 if test -n "$CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073 $as_echo "$CC" >&6; }
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3077 fi
3078
3079
3080 fi
3081 if test -z "$CC"; then
3082 if test -n "$ac_tool_prefix"; then
3083 for ac_prog in cl.exe
3084 do
3085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if ${ac_cv_prog_CC+:} false; then :
3090 $as_echo_n "(cached) " >&6
3091 else
3092 if test -n "$CC"; then
3093 ac_cv_prog_CC="$CC" # Let the user override the test.
3094 else
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3097 do
3098 IFS=$as_save_IFS
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3102 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 break 2
3105 fi
3106 done
3107 done
3108 IFS=$as_save_IFS
3109
3110 fi
3111 fi
3112 CC=$ac_cv_prog_CC
3113 if test -n "$CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115 $as_echo "$CC" >&6; }
3116 else
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3119 fi
3120
3121
3122 test -n "$CC" && break
3123 done
3124 fi
3125 if test -z "$CC"; then
3126 ac_ct_CC=$CC
3127 for ac_prog in cl.exe
3128 do
3129 # Extract the first word of "$ac_prog", so it can be a program name with args.
3130 set dummy $ac_prog; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3134 $as_echo_n "(cached) " >&6
3135 else
3136 if test -n "$ac_ct_CC"; then
3137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3138 else
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140 for as_dir in $PATH
3141 do
3142 IFS=$as_save_IFS
3143 test -z "$as_dir" && as_dir=.
3144 for ac_exec_ext in '' $ac_executable_extensions; do
3145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146 ac_cv_prog_ac_ct_CC="$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 break 2
3149 fi
3150 done
3151 done
3152 IFS=$as_save_IFS
3153
3154 fi
3155 fi
3156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3157 if test -n "$ac_ct_CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3159 $as_echo "$ac_ct_CC" >&6; }
3160 else
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3163 fi
3164
3165
3166 test -n "$ac_ct_CC" && break
3167 done
3168
3169 if test "x$ac_ct_CC" = x; then
3170 CC=""
3171 else
3172 case $cross_compiling:$ac_tool_warned in
3173 yes:)
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned=yes ;;
3177 esac
3178 CC=$ac_ct_CC
3179 fi
3180 fi
3181
3182 fi
3183
3184
3185 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $? "no acceptable C compiler found in \$PATH
3188 See \`config.log' for more details" "$LINENO" 5; }
3189
3190 # Provide some information about the compiler.
3191 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3192 set X $ac_compile
3193 ac_compiler=$2
3194 for ac_option in --version -v -V -qversion; do
3195 { { ac_try="$ac_compiler $ac_option >&5"
3196 case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3199 esac
3200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201 $as_echo "$ac_try_echo"; } >&5
3202 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3203 ac_status=$?
3204 if test -s conftest.err; then
3205 sed '10a\
3206 ... rest of stderr output deleted ...
3207 10q' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3209 fi
3210 rm -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }
3213 done
3214
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3217
3218 int
3219 main ()
3220 {
3221
3222 ;
3223 return 0;
3224 }
3225 _ACEOF
3226 ac_clean_files_save=$ac_clean_files
3227 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3228 # Try to create an executable without -o first, disregard a.out.
3229 # It will help us diagnose broken compilers, and finding out an intuition
3230 # of exeext.
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3232 $as_echo_n "checking whether the C compiler works... " >&6; }
3233 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3234
3235 # The possible output files:
3236 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3237
3238 ac_rmfiles=
3239 for ac_file in $ac_files
3240 do
3241 case $ac_file in
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3244 esac
3245 done
3246 rm -f $ac_rmfiles
3247
3248 if { { ac_try="$ac_link_default"
3249 case "(($ac_try" in
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3252 esac
3253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_link_default") 2>&5
3256 ac_status=$?
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }; then :
3259 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3260 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3261 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3262 # so that the user can short-circuit this test for compilers unknown to
3263 # Autoconf.
3264 for ac_file in $ac_files ''
3265 do
3266 test -f "$ac_file" || continue
3267 case $ac_file in
3268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3269 ;;
3270 [ab].out )
3271 # We found the default executable, but exeext='' is most
3272 # certainly right.
3273 break;;
3274 *.* )
3275 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3276 then :; else
3277 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3278 fi
3279 # We set ac_cv_exeext here because the later test for it is not
3280 # safe: cross compilers may not add the suffix if given an `-o'
3281 # argument, so we may need to know it at that point already.
3282 # Even if this section looks crufty: it has the advantage of
3283 # actually working.
3284 break;;
3285 * )
3286 break;;
3287 esac
3288 done
3289 test "$ac_cv_exeext" = no && ac_cv_exeext=
3290
3291 else
3292 ac_file=''
3293 fi
3294 if test -z "$ac_file"; then :
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3299
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error 77 "C compiler cannot create executables
3303 See \`config.log' for more details" "$LINENO" 5; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3307 fi
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3309 $as_echo_n "checking for C compiler default output file name... " >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3311 $as_echo "$ac_file" >&6; }
3312 ac_exeext=$ac_cv_exeext
3313
3314 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3315 ac_clean_files=$ac_clean_files_save
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3317 $as_echo_n "checking for suffix of executables... " >&6; }
3318 if { { ac_try="$ac_link"
3319 case "(($ac_try" in
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3322 esac
3323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324 $as_echo "$ac_try_echo"; } >&5
3325 (eval "$ac_link") 2>&5
3326 ac_status=$?
3327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328 test $ac_status = 0; }; then :
3329 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3330 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3331 # work properly (i.e., refer to `conftest.exe'), while it won't with
3332 # `rm'.
3333 for ac_file in conftest.exe conftest conftest.*; do
3334 test -f "$ac_file" || continue
3335 case $ac_file in
3336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3337 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3338 break;;
3339 * ) break;;
3340 esac
3341 done
3342 else
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3346 See \`config.log' for more details" "$LINENO" 5; }
3347 fi
3348 rm -f conftest conftest$ac_cv_exeext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3350 $as_echo "$ac_cv_exeext" >&6; }
3351
3352 rm -f conftest.$ac_ext
3353 EXEEXT=$ac_cv_exeext
3354 ac_exeext=$EXEEXT
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3357 #include <stdio.h>
3358 int
3359 main ()
3360 {
3361 FILE *f = fopen ("conftest.out", "w");
3362 return ferror (f) || fclose (f) != 0;
3363
3364 ;
3365 return 0;
3366 }
3367 _ACEOF
3368 ac_clean_files="$ac_clean_files conftest.out"
3369 # Check that the compiler produces executables we can run. If not, either
3370 # the compiler is broken, or we cross compile.
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3372 $as_echo_n "checking whether we are cross compiling... " >&6; }
3373 if test "$cross_compiling" != yes; then
3374 { { ac_try="$ac_link"
3375 case "(($ac_try" in
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3378 esac
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381 (eval "$ac_link") 2>&5
3382 ac_status=$?
3383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384 test $ac_status = 0; }
3385 if { ac_try='./conftest$ac_cv_exeext'
3386 { { case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3389 esac
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_try") 2>&5
3393 ac_status=$?
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; }; then
3396 cross_compiling=no
3397 else
3398 if test "$cross_compiling" = maybe; then
3399 cross_compiling=yes
3400 else
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $? "cannot run C compiled programs.
3404 If you meant to cross compile, use \`--host'.
3405 See \`config.log' for more details" "$LINENO" 5; }
3406 fi
3407 fi
3408 fi
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3410 $as_echo "$cross_compiling" >&6; }
3411
3412 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3413 ac_clean_files=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3415 $as_echo_n "checking for suffix of object files... " >&6; }
3416 if ${ac_cv_objext+:} false; then :
3417 $as_echo_n "(cached) " >&6
3418 else
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3421
3422 int
3423 main ()
3424 {
3425
3426 ;
3427 return 0;
3428 }
3429 _ACEOF
3430 rm -f conftest.o conftest.obj
3431 if { { ac_try="$ac_compile"
3432 case "(($ac_try" in
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3435 esac
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_compile") 2>&5
3439 ac_status=$?
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; then :
3442 for ac_file in conftest.o conftest.obj conftest.*; do
3443 test -f "$ac_file" || continue;
3444 case $ac_file in
3445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3446 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3447 break;;
3448 esac
3449 done
3450 else
3451 $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3453
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 as_fn_error $? "cannot compute suffix of object files: cannot compile
3457 See \`config.log' for more details" "$LINENO" 5; }
3458 fi
3459 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3460 fi
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3462 $as_echo "$ac_cv_objext" >&6; }
3463 OBJEXT=$ac_cv_objext
3464 ac_objext=$OBJEXT
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3466 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3467 if ${ac_cv_c_compiler_gnu+:} false; then :
3468 $as_echo_n "(cached) " >&6
3469 else
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3472
3473 int
3474 main ()
3475 {
3476 #ifndef __GNUC__
3477 choke me
3478 #endif
3479
3480 ;
3481 return 0;
3482 }
3483 _ACEOF
3484 if ac_fn_c_try_compile "$LINENO"; then :
3485 ac_compiler_gnu=yes
3486 else
3487 ac_compiler_gnu=no
3488 fi
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3491
3492 fi
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3494 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3495 if test $ac_compiler_gnu = yes; then
3496 GCC=yes
3497 else
3498 GCC=
3499 fi
3500 ac_test_CFLAGS=${CFLAGS+set}
3501 ac_save_CFLAGS=$CFLAGS
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3503 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3504 if ${ac_cv_prog_cc_g+:} false; then :
3505 $as_echo_n "(cached) " >&6
3506 else
3507 ac_save_c_werror_flag=$ac_c_werror_flag
3508 ac_c_werror_flag=yes
3509 ac_cv_prog_cc_g=no
3510 CFLAGS="-g"
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3513
3514 int
3515 main ()
3516 {
3517
3518 ;
3519 return 0;
3520 }
3521 _ACEOF
3522 if ac_fn_c_try_compile "$LINENO"; then :
3523 ac_cv_prog_cc_g=yes
3524 else
3525 CFLAGS=""
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3528
3529 int
3530 main ()
3531 {
3532
3533 ;
3534 return 0;
3535 }
3536 _ACEOF
3537 if ac_fn_c_try_compile "$LINENO"; then :
3538
3539 else
3540 ac_c_werror_flag=$ac_save_c_werror_flag
3541 CFLAGS="-g"
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3544
3545 int
3546 main ()
3547 {
3548
3549 ;
3550 return 0;
3551 }
3552 _ACEOF
3553 if ac_fn_c_try_compile "$LINENO"; then :
3554 ac_cv_prog_cc_g=yes
3555 fi
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 fi
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 fi
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 ac_c_werror_flag=$ac_save_c_werror_flag
3562 fi
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3564 $as_echo "$ac_cv_prog_cc_g" >&6; }
3565 if test "$ac_test_CFLAGS" = set; then
3566 CFLAGS=$ac_save_CFLAGS
3567 elif test $ac_cv_prog_cc_g = yes; then
3568 if test "$GCC" = yes; then
3569 CFLAGS="-g -O2"
3570 else
3571 CFLAGS="-g"
3572 fi
3573 else
3574 if test "$GCC" = yes; then
3575 CFLAGS="-O2"
3576 else
3577 CFLAGS=
3578 fi
3579 fi
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3581 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3582 if ${ac_cv_prog_cc_c89+:} false; then :
3583 $as_echo_n "(cached) " >&6
3584 else
3585 ac_cv_prog_cc_c89=no
3586 ac_save_CC=$CC
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3589 #include <stdarg.h>
3590 #include <stdio.h>
3591 struct stat;
3592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3593 struct buf { int x; };
3594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3595 static char *e (p, i)
3596 char **p;
3597 int i;
3598 {
3599 return p[i];
3600 }
3601 static char *f (char * (*g) (char **, int), char **p, ...)
3602 {
3603 char *s;
3604 va_list v;
3605 va_start (v,p);
3606 s = g (p, va_arg (v,int));
3607 va_end (v);
3608 return s;
3609 }
3610
3611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3612 function prototypes and stuff, but not '\xHH' hex character constants.
3613 These don't provoke an error unfortunately, instead are silently treated
3614 as 'x'. The following induces an error, until -std is added to get
3615 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3616 array size at least. It's necessary to write '\x00'==0 to get something
3617 that's true only with -std. */
3618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3619
3620 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3621 inside strings and character constants. */
3622 #define FOO(x) 'x'
3623 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3624
3625 int test (int i, double x);
3626 struct s1 {int (*f) (int a);};
3627 struct s2 {int (*f) (double a);};
3628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3629 int argc;
3630 char **argv;
3631 int
3632 main ()
3633 {
3634 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3635 ;
3636 return 0;
3637 }
3638 _ACEOF
3639 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3640 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3641 do
3642 CC="$ac_save_CC $ac_arg"
3643 if ac_fn_c_try_compile "$LINENO"; then :
3644 ac_cv_prog_cc_c89=$ac_arg
3645 fi
3646 rm -f core conftest.err conftest.$ac_objext
3647 test "x$ac_cv_prog_cc_c89" != "xno" && break
3648 done
3649 rm -f conftest.$ac_ext
3650 CC=$ac_save_CC
3651
3652 fi
3653 # AC_CACHE_VAL
3654 case "x$ac_cv_prog_cc_c89" in
3655 x)
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3657 $as_echo "none needed" >&6; } ;;
3658 xno)
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3660 $as_echo "unsupported" >&6; } ;;
3661 *)
3662 CC="$CC $ac_cv_prog_cc_c89"
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3664 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3665 esac
3666 if test "x$ac_cv_prog_cc_c89" != xno; then :
3667
3668 fi
3669
3670 ac_ext=c
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3675
3676 ac_ext=c
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3682 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3683 if ${am_cv_prog_cc_c_o+:} false; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3688
3689 int
3690 main ()
3691 {
3692
3693 ;
3694 return 0;
3695 }
3696 _ACEOF
3697 # Make sure it works both with $CC and with simple cc.
3698 # Following AC_PROG_CC_C_O, we do the test twice because some
3699 # compilers refuse to overwrite an existing .o file with -o,
3700 # though they will create one.
3701 am_cv_prog_cc_c_o=yes
3702 for am_i in 1 2; do
3703 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3704 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3705 ac_status=$?
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } \
3708 && test -f conftest2.$ac_objext; then
3709 : OK
3710 else
3711 am_cv_prog_cc_c_o=no
3712 break
3713 fi
3714 done
3715 rm -f core conftest*
3716 unset am_i
3717 fi
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3719 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3720 if test "$am_cv_prog_cc_c_o" != yes; then
3721 # Losing compiler, so override with the script.
3722 # FIXME: It is wrong to rewrite CC.
3723 # But if we don't then we get into trouble of one sort or another.
3724 # A longer-term fix would be to have automake use am__CC in this case,
3725 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3726 CC="$am_aux_dir/compile $CC"
3727 fi
3728 ac_ext=c
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733
3734 DEPDIR="${am__leading_dot}deps"
3735
3736 ac_config_commands="$ac_config_commands depfiles"
3737
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3739 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3740 cat > confinc.mk << 'END'
3741 am__doit:
3742 @echo this is the am__doit target >confinc.out
3743 .PHONY: am__doit
3744 END
3745 am__include="#"
3746 am__quote=
3747 # BSD make does it like this.
3748 echo '.include "confinc.mk" # ignored' > confmf.BSD
3749 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3750 echo 'include confinc.mk # ignored' > confmf.GNU
3751 _am_result=no
3752 for s in GNU BSD; do
3753 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3754 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3755 ac_status=$?
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }
3758 case $?:`cat confinc.out 2>/dev/null` in #(
3759 '0:this is the am__doit target') :
3760 case $s in #(
3761 BSD) :
3762 am__include='.include' am__quote='"' ;; #(
3763 *) :
3764 am__include='include' am__quote='' ;;
3765 esac ;; #(
3766 *) :
3767 ;;
3768 esac
3769 if test "$am__include" != "#"; then
3770 _am_result="yes ($s style)"
3771 break
3772 fi
3773 done
3774 rm -f confinc.* confmf.*
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3776 $as_echo "${_am_result}" >&6; }
3777
3778 # Check whether --enable-dependency-tracking was given.
3779 if test "${enable_dependency_tracking+set}" = set; then :
3780 enableval=$enable_dependency_tracking;
3781 fi
3782
3783 if test "x$enable_dependency_tracking" != xno; then
3784 am_depcomp="$ac_aux_dir/depcomp"
3785 AMDEPBACKSLASH='\'
3786 am__nodep='_no'
3787 fi
3788 if test "x$enable_dependency_tracking" != xno; then
3789 AMDEP_TRUE=
3790 AMDEP_FALSE='#'
3791 else
3792 AMDEP_TRUE='#'
3793 AMDEP_FALSE=
3794 fi
3795
3796
3797
3798 depcc="$CC" am_compiler_list=
3799
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3801 $as_echo_n "checking dependency style of $depcc... " >&6; }
3802 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3803 $as_echo_n "(cached) " >&6
3804 else
3805 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3806 # We make a subdir and do the tests there. Otherwise we can end up
3807 # making bogus files that we don't know about and never remove. For
3808 # instance it was reported that on HP-UX the gcc test will end up
3809 # making a dummy file named 'D' -- because '-MD' means "put the output
3810 # in D".
3811 rm -rf conftest.dir
3812 mkdir conftest.dir
3813 # Copy depcomp to subdir because otherwise we won't find it if we're
3814 # using a relative directory.
3815 cp "$am_depcomp" conftest.dir
3816 cd conftest.dir
3817 # We will build objects and dependencies in a subdirectory because
3818 # it helps to detect inapplicable dependency modes. For instance
3819 # both Tru64's cc and ICC support -MD to output dependencies as a
3820 # side effect of compilation, but ICC will put the dependencies in
3821 # the current directory while Tru64 will put them in the object
3822 # directory.
3823 mkdir sub
3824
3825 am_cv_CC_dependencies_compiler_type=none
3826 if test "$am_compiler_list" = ""; then
3827 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3828 fi
3829 am__universal=false
3830 case " $depcc " in #(
3831 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3832 esac
3833
3834 for depmode in $am_compiler_list; do
3835 # Setup a source with many dependencies, because some compilers
3836 # like to wrap large dependency lists on column 80 (with \), and
3837 # we should not choose a depcomp mode which is confused by this.
3838 #
3839 # We need to recreate these files for each test, as the compiler may
3840 # overwrite some of them when testing with obscure command lines.
3841 # This happens at least with the AIX C compiler.
3842 : > sub/conftest.c
3843 for i in 1 2 3 4 5 6; do
3844 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3845 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3846 # Solaris 10 /bin/sh.
3847 echo '/* dummy */' > sub/conftst$i.h
3848 done
3849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3850
3851 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3852 # mode. It turns out that the SunPro C++ compiler does not properly
3853 # handle '-M -o', and we need to detect this. Also, some Intel
3854 # versions had trouble with output in subdirs.
3855 am__obj=sub/conftest.${OBJEXT-o}
3856 am__minus_obj="-o $am__obj"
3857 case $depmode in
3858 gcc)
3859 # This depmode causes a compiler race in universal mode.
3860 test "$am__universal" = false || continue
3861 ;;
3862 nosideeffect)
3863 # After this tag, mechanisms are not by side-effect, so they'll
3864 # only be used when explicitly requested.
3865 if test "x$enable_dependency_tracking" = xyes; then
3866 continue
3867 else
3868 break
3869 fi
3870 ;;
3871 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3872 # This compiler won't grok '-c -o', but also, the minuso test has
3873 # not run yet. These depmodes are late enough in the game, and
3874 # so weak that their functioning should not be impacted.
3875 am__obj=conftest.${OBJEXT-o}
3876 am__minus_obj=
3877 ;;
3878 none) break ;;
3879 esac
3880 if depmode=$depmode \
3881 source=sub/conftest.c object=$am__obj \
3882 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3883 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3884 >/dev/null 2>conftest.err &&
3885 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3886 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3887 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3888 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3889 # icc doesn't choke on unknown options, it will just issue warnings
3890 # or remarks (even with -Werror). So we grep stderr for any message
3891 # that says an option was ignored or not supported.
3892 # When given -MP, icc 7.0 and 7.1 complain thusly:
3893 # icc: Command line warning: ignoring option '-M'; no argument required
3894 # The diagnosis changed in icc 8.0:
3895 # icc: Command line remark: option '-MP' not supported
3896 if (grep 'ignoring option' conftest.err ||
3897 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3898 am_cv_CC_dependencies_compiler_type=$depmode
3899 break
3900 fi
3901 fi
3902 done
3903
3904 cd ..
3905 rm -rf conftest.dir
3906 else
3907 am_cv_CC_dependencies_compiler_type=none
3908 fi
3909
3910 fi
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3912 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3913 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3914
3915 if
3916 test "x$enable_dependency_tracking" != xno \
3917 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3918 am__fastdepCC_TRUE=
3919 am__fastdepCC_FALSE='#'
3920 else
3921 am__fastdepCC_TRUE='#'
3922 am__fastdepCC_FALSE=
3923 fi
3924
3925
3926
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3928 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3929 set x ${MAKE-make}
3930 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3931 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3932 $as_echo_n "(cached) " >&6
3933 else
3934 cat >conftest.make <<\_ACEOF
3935 SHELL = /bin/sh
3936 all:
3937 @echo '@@@%%%=$(MAKE)=@@@%%%'
3938 _ACEOF
3939 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3940 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3941 *@@@%%%=?*=@@@%%%*)
3942 eval ac_cv_prog_make_${ac_make}_set=yes;;
3943 *)
3944 eval ac_cv_prog_make_${ac_make}_set=no;;
3945 esac
3946 rm -f conftest.make
3947 fi
3948 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3950 $as_echo "yes" >&6; }
3951 SET_MAKE=
3952 else
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3955 SET_MAKE="MAKE=${MAKE-make}"
3956 fi
3957
3958
3959 ##
3960 ## Library directories
3961 ##
3962 SRCH_LIB="/usr/local/lib /usr/lib /opt/cups/lib /opt/lib"
3963 ac_save_IFS=$IFS
3964 IFS="${IFS}:"
3965 ## LIBRARY_DIRS comes from command line, SRCH_LIB s defined above.
3966 for dir in $LIBRARY_DIRS $SRCH_LIB; do
3967 if test -d "$dir"; then
3968 LIBDIRS="$LIBDIRS -L$dir"
3969 ## else
3970 ## AC_MSG_WARN([*** Library directory $dir does not exist.])
3971 fi
3972 done
3973 IFS=$ac_save_IFS
3974
3975
3976 for ac_func in ftime \
3977 getaddrinfo \
3978 getnameinfo \
3979 gethostname \
3980 inet_ntoa \
3981 inet_ntop \
3982 ntohl \
3983 ntohs \
3984 memset\
3985 select \
3986 socket \
3987 strcasecmp \
3988 strchr \
3989 strerror \
3990 strncasecmp \
3991 strstr \
3992 strtol \
3993
3994 do :
3995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3997 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3998 cat >>confdefs.h <<_ACEOF
3999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4000 _ACEOF
4001
4002 else
4003 as_fn_error $? "required library function missing " "$LINENO" 5
4004 fi
4005 done
4006
4007
4008 ac_ext=c
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4014 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4015 # On Suns, sometimes $CPP names a directory.
4016 if test -n "$CPP" && test -d "$CPP"; then
4017 CPP=
4018 fi
4019 if test -z "$CPP"; then
4020 if ${ac_cv_prog_CPP+:} false; then :
4021 $as_echo_n "(cached) " >&6
4022 else
4023 # Double quotes because CPP needs to be expanded
4024 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4025 do
4026 ac_preproc_ok=false
4027 for ac_c_preproc_warn_flag in '' yes
4028 do
4029 # Use a header file that comes with gcc, so configuring glibc
4030 # with a fresh cross-compiler works.
4031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4032 # <limits.h> exists even on freestanding compilers.
4033 # On the NeXT, cc -E runs the code through the compiler's parser,
4034 # not just through cpp. "Syntax error" is here to catch this case.
4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4037 #ifdef __STDC__
4038 # include <limits.h>
4039 #else
4040 # include <assert.h>
4041 #endif
4042 Syntax error
4043 _ACEOF
4044 if ac_fn_c_try_cpp "$LINENO"; then :
4045
4046 else
4047 # Broken: fails on valid input.
4048 continue
4049 fi
4050 rm -f conftest.err conftest.i conftest.$ac_ext
4051
4052 # OK, works on sane cases. Now check whether nonexistent headers
4053 # can be detected and how.
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4056 #include <ac_nonexistent.h>
4057 _ACEOF
4058 if ac_fn_c_try_cpp "$LINENO"; then :
4059 # Broken: success on invalid input.
4060 continue
4061 else
4062 # Passes both tests.
4063 ac_preproc_ok=:
4064 break
4065 fi
4066 rm -f conftest.err conftest.i conftest.$ac_ext
4067
4068 done
4069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4070 rm -f conftest.i conftest.err conftest.$ac_ext
4071 if $ac_preproc_ok; then :
4072 break
4073 fi
4074
4075 done
4076 ac_cv_prog_CPP=$CPP
4077
4078 fi
4079 CPP=$ac_cv_prog_CPP
4080 else
4081 ac_cv_prog_CPP=$CPP
4082 fi
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4084 $as_echo "$CPP" >&6; }
4085 ac_preproc_ok=false
4086 for ac_c_preproc_warn_flag in '' yes
4087 do
4088 # Use a header file that comes with gcc, so configuring glibc
4089 # with a fresh cross-compiler works.
4090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4091 # <limits.h> exists even on freestanding compilers.
4092 # On the NeXT, cc -E runs the code through the compiler's parser,
4093 # not just through cpp. "Syntax error" is here to catch this case.
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4096 #ifdef __STDC__
4097 # include <limits.h>
4098 #else
4099 # include <assert.h>
4100 #endif
4101 Syntax error
4102 _ACEOF
4103 if ac_fn_c_try_cpp "$LINENO"; then :
4104
4105 else
4106 # Broken: fails on valid input.
4107 continue
4108 fi
4109 rm -f conftest.err conftest.i conftest.$ac_ext
4110
4111 # OK, works on sane cases. Now check whether nonexistent headers
4112 # can be detected and how.
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4115 #include <ac_nonexistent.h>
4116 _ACEOF
4117 if ac_fn_c_try_cpp "$LINENO"; then :
4118 # Broken: success on invalid input.
4119 continue
4120 else
4121 # Passes both tests.
4122 ac_preproc_ok=:
4123 break
4124 fi
4125 rm -f conftest.err conftest.i conftest.$ac_ext
4126
4127 done
4128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4129 rm -f conftest.i conftest.err conftest.$ac_ext
4130 if $ac_preproc_ok; then :
4131
4132 else
4133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4135 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4136 See \`config.log' for more details" "$LINENO" 5; }
4137 fi
4138
4139 ac_ext=c
4140 ac_cpp='$CPP $CPPFLAGS'
4141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4144
4145
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4147 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4148 if ${ac_cv_path_GREP+:} false; then :
4149 $as_echo_n "(cached) " >&6
4150 else
4151 if test -z "$GREP"; then
4152 ac_path_GREP_found=false
4153 # Loop through the user's path and test for each of PROGNAME-LIST
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4156 do
4157 IFS=$as_save_IFS
4158 test -z "$as_dir" && as_dir=.
4159 for ac_prog in grep ggrep; do
4160 for ac_exec_ext in '' $ac_executable_extensions; do
4161 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4162 as_fn_executable_p "$ac_path_GREP" || continue
4163 # Check for GNU ac_path_GREP and select it if it is found.
4164 # Check for GNU $ac_path_GREP
4165 case `"$ac_path_GREP" --version 2>&1` in
4166 *GNU*)
4167 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4168 *)
4169 ac_count=0
4170 $as_echo_n 0123456789 >"conftest.in"
4171 while :
4172 do
4173 cat "conftest.in" "conftest.in" >"conftest.tmp"
4174 mv "conftest.tmp" "conftest.in"
4175 cp "conftest.in" "conftest.nl"
4176 $as_echo 'GREP' >> "conftest.nl"
4177 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4178 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4179 as_fn_arith $ac_count + 1 && ac_count=$as_val
4180 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4181 # Best one so far, save it but keep looking for a better one
4182 ac_cv_path_GREP="$ac_path_GREP"
4183 ac_path_GREP_max=$ac_count
4184 fi
4185 # 10*(2^10) chars as input seems more than enough
4186 test $ac_count -gt 10 && break
4187 done
4188 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4189 esac
4190
4191 $ac_path_GREP_found && break 3
4192 done
4193 done
4194 done
4195 IFS=$as_save_IFS
4196 if test -z "$ac_cv_path_GREP"; then
4197 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4198 fi
4199 else
4200 ac_cv_path_GREP=$GREP
4201 fi
4202
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4205 $as_echo "$ac_cv_path_GREP" >&6; }
4206 GREP="$ac_cv_path_GREP"
4207
4208
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4210 $as_echo_n "checking for egrep... " >&6; }
4211 if ${ac_cv_path_EGREP+:} false; then :
4212 $as_echo_n "(cached) " >&6
4213 else
4214 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4215 then ac_cv_path_EGREP="$GREP -E"
4216 else
4217 if test -z "$EGREP"; then
4218 ac_path_EGREP_found=false
4219 # Loop through the user's path and test for each of PROGNAME-LIST
4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4222 do
4223 IFS=$as_save_IFS
4224 test -z "$as_dir" && as_dir=.
4225 for ac_prog in egrep; do
4226 for ac_exec_ext in '' $ac_executable_extensions; do
4227 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4228 as_fn_executable_p "$ac_path_EGREP" || continue
4229 # Check for GNU ac_path_EGREP and select it if it is found.
4230 # Check for GNU $ac_path_EGREP
4231 case `"$ac_path_EGREP" --version 2>&1` in
4232 *GNU*)
4233 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4234 *)
4235 ac_count=0
4236 $as_echo_n 0123456789 >"conftest.in"
4237 while :
4238 do
4239 cat "conftest.in" "conftest.in" >"conftest.tmp"
4240 mv "conftest.tmp" "conftest.in"
4241 cp "conftest.in" "conftest.nl"
4242 $as_echo 'EGREP' >> "conftest.nl"
4243 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4244 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4245 as_fn_arith $ac_count + 1 && ac_count=$as_val
4246 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4247 # Best one so far, save it but keep looking for a better one
4248 ac_cv_path_EGREP="$ac_path_EGREP"
4249 ac_path_EGREP_max=$ac_count
4250 fi
4251 # 10*(2^10) chars as input seems more than enough
4252 test $ac_count -gt 10 && break
4253 done
4254 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4255 esac
4256
4257 $ac_path_EGREP_found && break 3
4258 done
4259 done
4260 done
4261 IFS=$as_save_IFS
4262 if test -z "$ac_cv_path_EGREP"; then
4263 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4264 fi
4265 else
4266 ac_cv_path_EGREP=$EGREP
4267 fi
4268
4269 fi
4270 fi
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4272 $as_echo "$ac_cv_path_EGREP" >&6; }
4273 EGREP="$ac_cv_path_EGREP"
4274
4275
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4277 $as_echo_n "checking for ANSI C header files... " >&6; }
4278 if ${ac_cv_header_stdc+:} false; then :
4279 $as_echo_n "(cached) " >&6
4280 else
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4283 #include <stdlib.h>
4284 #include <stdarg.h>
4285 #include <string.h>
4286 #include <float.h>
4287
4288 int
4289 main ()
4290 {
4291
4292 ;
4293 return 0;
4294 }
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_header_stdc=yes
4298 else
4299 ac_cv_header_stdc=no
4300 fi
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302
4303 if test $ac_cv_header_stdc = yes; then
4304 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4307 #include <string.h>
4308
4309 _ACEOF
4310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4311 $EGREP "memchr" >/dev/null 2>&1; then :
4312
4313 else
4314 ac_cv_header_stdc=no
4315 fi
4316 rm -f conftest*
4317
4318 fi
4319
4320 if test $ac_cv_header_stdc = yes; then
4321 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4324 #include <stdlib.h>
4325
4326 _ACEOF
4327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4328 $EGREP "free" >/dev/null 2>&1; then :
4329
4330 else
4331 ac_cv_header_stdc=no
4332 fi
4333 rm -f conftest*
4334
4335 fi
4336
4337 if test $ac_cv_header_stdc = yes; then
4338 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4339 if test "$cross_compiling" = yes; then :
4340 :
4341 else
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4344 #include <ctype.h>
4345 #include <stdlib.h>
4346 #if ((' ' & 0x0FF) == 0x020)
4347 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4348 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4349 #else
4350 # define ISLOWER(c) \
4351 (('a' <= (c) && (c) <= 'i') \
4352 || ('j' <= (c) && (c) <= 'r') \
4353 || ('s' <= (c) && (c) <= 'z'))
4354 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4355 #endif
4356
4357 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4358 int
4359 main ()
4360 {
4361 int i;
4362 for (i = 0; i < 256; i++)
4363 if (XOR (islower (i), ISLOWER (i))
4364 || toupper (i) != TOUPPER (i))
4365 return 2;
4366 return 0;
4367 }
4368 _ACEOF
4369 if ac_fn_c_try_run "$LINENO"; then :
4370
4371 else
4372 ac_cv_header_stdc=no
4373 fi
4374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4375 conftest.$ac_objext conftest.beam conftest.$ac_ext
4376 fi
4377
4378 fi
4379 fi
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4381 $as_echo "$ac_cv_header_stdc" >&6; }
4382 if test $ac_cv_header_stdc = yes; then
4383
4384 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4385
4386 fi
4387
4388 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4389 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4390 inttypes.h stdint.h unistd.h
4391 do :
4392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4393 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4394 "
4395 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4396 cat >>confdefs.h <<_ACEOF
4397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4398 _ACEOF
4399
4400 fi
4401
4402 done
4403
4404
4405 for ac_header in stdlib.h
4406 do :
4407 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4408 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4409 cat >>confdefs.h <<_ACEOF
4410 #define HAVE_STDLIB_H 1
4411 _ACEOF
4412
4413 fi
4414
4415 done
4416
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4418 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4419 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4420 $as_echo_n "(cached) " >&6
4421 else
4422 if test "$cross_compiling" = yes; then :
4423 ac_cv_func_malloc_0_nonnull=no
4424 else
4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4427 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4428 # include <stdlib.h>
4429 #else
4430 char *malloc ();
4431 #endif
4432
4433 int
4434 main ()
4435 {
4436 return ! malloc (0);
4437 ;
4438 return 0;
4439 }
4440 _ACEOF
4441 if ac_fn_c_try_run "$LINENO"; then :
4442 ac_cv_func_malloc_0_nonnull=yes
4443 else
4444 ac_cv_func_malloc_0_nonnull=no
4445 fi
4446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4447 conftest.$ac_objext conftest.beam conftest.$ac_ext
4448 fi
4449
4450 fi
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4452 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4453 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4454
4455 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4456
4457 else
4458 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4459
4460 case " $LIBOBJS " in
4461 *" malloc.$ac_objext "* ) ;;
4462 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4463 ;;
4464 esac
4465
4466
4467 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4468
4469 fi
4470
4471
4472
4473 for ac_func in getifaddrs
4474 do :
4475 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
4476 if test "x$ac_cv_func_getifaddrs" = xyes; then :
4477 cat >>confdefs.h <<_ACEOF
4478 #define HAVE_GETIFADDRS 1
4479 _ACEOF
4480
4481 fi
4482 done
4483
4484
4485
4486 # Check whether --enable-Werror was given.
4487 if test "${enable_Werror+set}" = set; then :
4488 enableval=$enable_Werror;
4489 fi
4490
4491
4492 if test x"$enable_Werror" != xno
4493 then
4494 EXTRA_CFLAGS="-Werror"
4495 fi
4496
4497
4498 if test "$ac_cv_func_getnameinfo" = "yes" \
4499 && test "$ac_cv_func_getaddrinfo" = "yes" ; then
4500
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
4502 $as_echo_n "checking whether to enable IPv6... " >&6; }
4503 # Check whether --enable-ipv6 was given.
4504 if test "${enable_ipv6+set}" = set; then :
4505 enableval=$enable_ipv6; if test "$enableval" = "no" ; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, manually disabled" >&5
4507 $as_echo "no, manually disabled" >&6; }
4508 ipv6=no
4509 fi
4510
4511 fi
4512
4513
4514 if test "$ipv6" != "no" ; then
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4517
4518 #define INET6
4519 #include <sys/types.h>
4520 #include <sys/socket.h>
4521 int
4522 main ()
4523 {
4524
4525 /* AF_INET6 available check */
4526 if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
4527 exit(1);
4528 else
4529 exit(0);
4530
4531 ;
4532 return 0;
4533 }
4534 _ACEOF
4535 if ac_fn_c_try_compile "$LINENO"; then :
4536
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4538 $as_echo "yes" >&6; }
4539
4540 $as_echo "#define ENABLE_IPV6 1" >>confdefs.h
4541
4542 ipv6=yes
4543
4544 else
4545
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (couldn't compile test program)" >&5
4547 $as_echo "no (couldn't compile test program)" >&6; }
4548 ipv6=no
4549
4550 fi
4551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4552 fi
4553
4554 if test "$ipv6" != "no" ; then
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_storage has an ss_family member" >&5
4556 $as_echo_n "checking whether struct sockaddr_storage has an ss_family member... " >&6; }
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4559
4560 #define INET6
4561 #include <sys/types.h>
4562 #include <sys/socket.h>
4563 int
4564 main ()
4565 {
4566
4567 /* test if the ss_family member exists in struct sockaddr_storage */
4568 struct sockaddr_storage ss;
4569 ss.ss_family = AF_INET;
4570 exit (0);
4571
4572 ;
4573 return 0;
4574 }
4575 _ACEOF
4576 if ac_fn_c_try_compile "$LINENO"; then :
4577
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4579 $as_echo "yes" >&6; }
4580
4581 $as_echo "#define HAS_SS_FAMILY 1" >>confdefs.h
4582
4583
4584 else
4585
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4588
4589 #define INET6
4590 #include <sys/types.h>
4591 #include <sys/socket.h>
4592 int
4593 main ()
4594 {
4595
4596 /* test if the __ss_family member exists in struct sockaddr_storage */
4597 struct sockaddr_storage ss;
4598 ss.__ss_family = AF_INET;
4599 exit (0);
4600
4601 ;
4602 return 0;
4603 }
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, but __ss_family exists" >&5
4608 $as_echo "no, but __ss_family exists" >&6; }
4609
4610 $as_echo "#define HAS___SS_FAMILY 1" >>confdefs.h
4611
4612
4613 else
4614
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4617 ipv6=no
4618
4619 fi
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621
4622 fi
4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 fi
4625
4626 else
4627 ipv6="no"
4628 fi
4629
4630 ## find cups-configuration
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking cups development support" >&5
4632 $as_echo_n "checking cups development support... " >&6; }
4633 if test -n "`cups-config --build 2> /dev/null`"; then
4634 cups_config_found=yes
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cups_config_found" >&5
4636 $as_echo "$cups_config_found" >&6; }
4637 else
4638 as_fn_error $? "cups development files not found" "$LINENO" 5
4639 fi
4640
4641 ## determine cups backend directory
4642
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking cups backend directory" >&5
4644 $as_echo_n "checking cups backend directory... " >&6; }
4645
4646 # Check whether --with-cupsbackenddir was given.
4647 if test "${with_cupsbackenddir+set}" = set; then :
4648 withval=$with_cupsbackenddir; cupsbackenddir="${withval}"
4649 else
4650 cupsbackenddir=`cups-config --serverbin`/backend
4651 fi
4652
4653 if test -d "$cupsbackenddir"; then
4654
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cupsbackenddir" >&5
4656 $as_echo "$cupsbackenddir" >&6; }
4657 else
4658 as_fn_error $? "cups backend directory not found!" "$LINENO" 5
4659 fi
4660 CUPS_CFLAGS="`cups-config --cflags`"
4661
4662 CUPS_LIBS="`cups-config --libs`"
4663
4664 CUPS_LDFLAGS="`cups-config --ldflags`"
4665
4666
4667 ## header file that contains output from configure
4668
4669 ac_config_headers="$ac_config_headers config.h"
4670
4671 ## AC_USE_SYSTEM_EXTENSIONS
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4673 $as_echo_n "checking for library containing strerror... " >&6; }
4674 if ${ac_cv_search_strerror+:} false; then :
4675 $as_echo_n "(cached) " >&6
4676 else
4677 ac_func_search_save_LIBS=$LIBS
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4680
4681 /* Override any GCC internal prototype to avoid an error.
4682 Use char because int might match the return type of a GCC
4683 builtin and then its argument prototype would still apply. */
4684 #ifdef __cplusplus
4685 extern "C"
4686 #endif
4687 char strerror ();
4688 int
4689 main ()
4690 {
4691 return strerror ();
4692 ;
4693 return 0;
4694 }
4695 _ACEOF
4696 for ac_lib in '' cposix; do
4697 if test -z "$ac_lib"; then
4698 ac_res="none required"
4699 else
4700 ac_res=-l$ac_lib
4701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4702 fi
4703 if ac_fn_c_try_link "$LINENO"; then :
4704 ac_cv_search_strerror=$ac_res
4705 fi
4706 rm -f core conftest.err conftest.$ac_objext \
4707 conftest$ac_exeext
4708 if ${ac_cv_search_strerror+:} false; then :
4709 break
4710 fi
4711 done
4712 if ${ac_cv_search_strerror+:} false; then :
4713
4714 else
4715 ac_cv_search_strerror=no
4716 fi
4717 rm conftest.$ac_ext
4718 LIBS=$ac_func_search_save_LIBS
4719 fi
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4721 $as_echo "$ac_cv_search_strerror" >&6; }
4722 ac_res=$ac_cv_search_strerror
4723 if test "$ac_res" != no; then :
4724 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4725
4726 fi
4727
4728
4729 ## determine libraries that need to get linked
4730
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
4732 $as_echo_n "checking for library containing socket... " >&6; }
4733 if ${ac_cv_search_socket+:} false; then :
4734 $as_echo_n "(cached) " >&6
4735 else
4736 ac_func_search_save_LIBS=$LIBS
4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4739
4740 /* Override any GCC internal prototype to avoid an error.
4741 Use char because int might match the return type of a GCC
4742 builtin and then its argument prototype would still apply. */
4743 #ifdef __cplusplus
4744 extern "C"
4745 #endif
4746 char socket ();
4747 int
4748 main ()
4749 {
4750 return socket ();
4751 ;
4752 return 0;
4753 }
4754 _ACEOF
4755 for ac_lib in '' socket; do
4756 if test -z "$ac_lib"; then
4757 ac_res="none required"
4758 else
4759 ac_res=-l$ac_lib
4760 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4761 fi
4762 if ac_fn_c_try_link "$LINENO"; then :
4763 ac_cv_search_socket=$ac_res
4764 fi
4765 rm -f core conftest.err conftest.$ac_objext \
4766 conftest$ac_exeext
4767 if ${ac_cv_search_socket+:} false; then :
4768 break
4769 fi
4770 done
4771 if ${ac_cv_search_socket+:} false; then :
4772
4773 else
4774 ac_cv_search_socket=no
4775 fi
4776 rm conftest.$ac_ext
4777 LIBS=$ac_func_search_save_LIBS
4778 fi
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
4780 $as_echo "$ac_cv_search_socket" >&6; }
4781 ac_res=$ac_cv_search_socket
4782 if test "$ac_res" != no; then :
4783 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4784
4785 fi
4786
4787
4788 ## Checks for header files.
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4790 $as_echo_n "checking for ANSI C header files... " >&6; }
4791 if ${ac_cv_header_stdc+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4796 #include <stdlib.h>
4797 #include <stdarg.h>
4798 #include <string.h>
4799 #include <float.h>
4800
4801 int
4802 main ()
4803 {
4804
4805 ;
4806 return 0;
4807 }
4808 _ACEOF
4809 if ac_fn_c_try_compile "$LINENO"; then :
4810 ac_cv_header_stdc=yes
4811 else
4812 ac_cv_header_stdc=no
4813 fi
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815
4816 if test $ac_cv_header_stdc = yes; then
4817 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4820 #include <string.h>
4821
4822 _ACEOF
4823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4824 $EGREP "memchr" >/dev/null 2>&1; then :
4825
4826 else
4827 ac_cv_header_stdc=no
4828 fi
4829 rm -f conftest*
4830
4831 fi
4832
4833 if test $ac_cv_header_stdc = yes; then
4834 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4837 #include <stdlib.h>
4838
4839 _ACEOF
4840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4841 $EGREP "free" >/dev/null 2>&1; then :
4842
4843 else
4844 ac_cv_header_stdc=no
4845 fi
4846 rm -f conftest*
4847
4848 fi
4849
4850 if test $ac_cv_header_stdc = yes; then
4851 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4852 if test "$cross_compiling" = yes; then :
4853 :
4854 else
4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856 /* end confdefs.h. */
4857 #include <ctype.h>
4858 #include <stdlib.h>
4859 #if ((' ' & 0x0FF) == 0x020)
4860 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4861 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4862 #else
4863 # define ISLOWER(c) \
4864 (('a' <= (c) && (c) <= 'i') \
4865 || ('j' <= (c) && (c) <= 'r') \
4866 || ('s' <= (c) && (c) <= 'z'))
4867 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4868 #endif
4869
4870 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4871 int
4872 main ()
4873 {
4874 int i;
4875 for (i = 0; i < 256; i++)
4876 if (XOR (islower (i), ISLOWER (i))
4877 || toupper (i) != TOUPPER (i))
4878 return 2;
4879 return 0;
4880 }
4881 _ACEOF
4882 if ac_fn_c_try_run "$LINENO"; then :
4883
4884 else
4885 ac_cv_header_stdc=no
4886 fi
4887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4888 conftest.$ac_objext conftest.beam conftest.$ac_ext
4889 fi
4890
4891 fi
4892 fi
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4894 $as_echo "$ac_cv_header_stdc" >&6; }
4895 if test $ac_cv_header_stdc = yes; then
4896
4897 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4898
4899 fi
4900
4901 for ac_header in sys/select.h sys/socket.h
4902 do :
4903 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4904 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4905 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4906 cat >>confdefs.h <<_ACEOF
4907 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4908 _ACEOF
4909
4910 fi
4911
4912 done
4913
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
4915 $as_echo_n "checking types of arguments for select... " >&6; }
4916 if ${ac_cv_func_select_args+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
4920 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
4921 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4924 $ac_includes_default
4925 #ifdef HAVE_SYS_SELECT_H
4926 # include <sys/select.h>
4927 #endif
4928 #ifdef HAVE_SYS_SOCKET_H
4929 # include <sys/socket.h>
4930 #endif
4931
4932 int
4933 main ()
4934 {
4935 extern int select ($ac_arg1,
4936 $ac_arg234, $ac_arg234, $ac_arg234,
4937 $ac_arg5);
4938 ;
4939 return 0;
4940 }
4941 _ACEOF
4942 if ac_fn_c_try_compile "$LINENO"; then :
4943 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
4944 fi
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 done
4947 done
4948 done
4949 # Provide a safe default value.
4950 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
4951
4952 fi
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
4954 $as_echo "$ac_cv_func_select_args" >&6; }
4955 ac_save_IFS=$IFS; IFS=','
4956 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
4957 IFS=$ac_save_IFS
4958 shift
4959
4960 cat >>confdefs.h <<_ACEOF
4961 #define SELECT_TYPE_ARG1 $1
4962 _ACEOF
4963
4964
4965 cat >>confdefs.h <<_ACEOF
4966 #define SELECT_TYPE_ARG234 ($2)
4967 _ACEOF
4968
4969
4970 cat >>confdefs.h <<_ACEOF
4971 #define SELECT_TYPE_ARG5 ($3)
4972 _ACEOF
4973
4974 rm -f conftest*
4975
4976 for ac_header in string.h \
4977 fcntl.h \
4978 arpa/inet.h \
4979 netdb.h \
4980 netinet/in.h \
4981 sys/socket.h \
4982 sys/time.h \
4983 sys/timeb.h \
4984 wchar.h \
4985 cups/cups.h \
4986 cups/backend.h \
4987 cups/http.h \
4988
4989 do :
4990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4991 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4992 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4993 cat >>confdefs.h <<_ACEOF
4994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4995 _ACEOF
4996
4997 else
4998 as_fn_error $? "required header file missing " "$LINENO" 5
4999 fi
5000
5001 done
5002
5003
5004 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h
5005 do :
5006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H
5008 # include <sys/types.h>
5009 #endif
5010 #ifdef HAVE_NETINET_IN_H
5011 # include <netinet/in.h> /* inet_ functions / structs */
5012 #endif
5013 #ifdef HAVE_ARPA_NAMESER_H
5014 # include <arpa/nameser.h> /* DNS HEADER struct */
5015 #endif
5016 #ifdef HAVE_NETDB_H
5017 # include <netdb.h>
5018 #endif
5019 "
5020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5021 cat >>confdefs.h <<_ACEOF
5022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5023 _ACEOF
5024
5025 fi
5026
5027 done
5028
5029
5030
5031 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5032 if test "x$ac_cv_type_size_t" = xyes; then :
5033
5034 else
5035
5036 cat >>confdefs.h <<_ACEOF
5037 #define size_t unsigned int
5038 _ACEOF
5039
5040 fi
5041
5042 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5043 if test "x$ac_cv_type_ssize_t" = xyes; then :
5044
5045 else
5046
5047 cat >>confdefs.h <<_ACEOF
5048 #define ssize_t int
5049 _ACEOF
5050
5051 fi
5052
5053 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
5054 case $ac_cv_c_uint16_t in #(
5055 no|yes) ;; #(
5056 *)
5057
5058
5059 cat >>confdefs.h <<_ACEOF
5060 #define uint16_t $ac_cv_c_uint16_t
5061 _ACEOF
5062 ;;
5063 esac
5064
5065 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
5066 case $ac_cv_c_uint32_t in #(
5067 no|yes) ;; #(
5068 *)
5069
5070 $as_echo "#define _UINT32_T 1" >>confdefs.h
5071
5072
5073 cat >>confdefs.h <<_ACEOF
5074 #define uint32_t $ac_cv_c_uint32_t
5075 _ACEOF
5076 ;;
5077 esac
5078
5079 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
5080 case $ac_cv_c_uint8_t in #(
5081 no|yes) ;; #(
5082 *)
5083
5084 $as_echo "#define _UINT8_T 1" >>confdefs.h
5085
5086
5087 cat >>confdefs.h <<_ACEOF
5088 #define uint8_t $ac_cv_c_uint8_t
5089 _ACEOF
5090 ;;
5091 esac
5092
5093
5094 ## dnl internationalization macros
5095 ## AM_GNU_GETTEXT
5096
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5098 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5099 # Check whether --enable-maintainer-mode was given.
5100 if test "${enable_maintainer_mode+set}" = set; then :
5101 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5102 else
5103 USE_MAINTAINER_MODE=no
5104 fi
5105
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5107 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5108 if test $USE_MAINTAINER_MODE = yes; then
5109 MAINTAINER_MODE_TRUE=
5110 MAINTAINER_MODE_FALSE='#'
5111 else
5112 MAINTAINER_MODE_TRUE='#'
5113 MAINTAINER_MODE_FALSE=
5114 fi
5115
5116 MAINT=$MAINTAINER_MODE_TRUE
5117
5118
5119 ## AC_CONFIG_FILES([Makefile])
5120 ac_config_files="$ac_config_files Makefile"
5121
5122 cat >confcache <<\_ACEOF
5123 # This file is a shell script that caches the results of configure
5124 # tests run on this system so they can be shared between configure
5125 # scripts and configure runs, see configure's option --config-cache.
5126 # It is not useful on other systems. If it contains results you don't
5127 # want to keep, you may remove or edit it.
5128 #
5129 # config.status only pays attention to the cache file if you give it
5130 # the --recheck option to rerun configure.
5131 #
5132 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5133 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5134 # following values.
5135
5136 _ACEOF
5137
5138 # The following way of writing the cache mishandles newlines in values,
5139 # but we know of no workaround that is simple, portable, and efficient.
5140 # So, we kill variables containing newlines.
5141 # Ultrix sh set writes to stderr and can't be redirected directly,
5142 # and sets the high bit in the cache file unless we assign to the vars.
5143 (
5144 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5145 eval ac_val=\$$ac_var
5146 case $ac_val in #(
5147 *${as_nl}*)
5148 case $ac_var in #(
5149 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5150 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5151 esac
5152 case $ac_var in #(
5153 _ | IFS | as_nl) ;; #(
5154 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5155 *) { eval $ac_var=; unset $ac_var;} ;;
5156 esac ;;
5157 esac
5158 done
5159
5160 (set) 2>&1 |
5161 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5162 *${as_nl}ac_space=\ *)
5163 # `set' does not quote correctly, so add quotes: double-quote
5164 # substitution turns \\\\ into \\, and sed turns \\ into \.
5165 sed -n \
5166 "s/'/'\\\\''/g;
5167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5168 ;; #(
5169 *)
5170 # `set' quotes correctly as required by POSIX, so do not add quotes.
5171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5172 ;;
5173 esac |
5174 sort
5175 ) |
5176 sed '
5177 /^ac_cv_env_/b end
5178 t clear
5179 :clear
5180 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5181 t end
5182 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5183 :end' >>confcache
5184 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5185 if test -w "$cache_file"; then
5186 if test "x$cache_file" != "x/dev/null"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5188 $as_echo "$as_me: updating cache $cache_file" >&6;}
5189 if test ! -f "$cache_file" || test -h "$cache_file"; then
5190 cat confcache >"$cache_file"
5191 else
5192 case $cache_file in #(
5193 */* | ?:*)
5194 mv -f confcache "$cache_file"$$ &&
5195 mv -f "$cache_file"$$ "$cache_file" ;; #(
5196 *)
5197 mv -f confcache "$cache_file" ;;
5198 esac
5199 fi
5200 fi
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5203 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5204 fi
5205 fi
5206 rm -f confcache
5207
5208 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5209 # Let make expand exec_prefix.
5210 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5211
5212 DEFS=-DHAVE_CONFIG_H
5213
5214 ac_libobjs=
5215 ac_ltlibobjs=
5216 U=
5217 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5218 # 1. Remove the extension, and $U if already installed.
5219 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5220 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5221 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5222 # will be set to the directory where LIBOBJS objects are built.
5223 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5224 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5225 done
5226 LIBOBJS=$ac_libobjs
5227
5228 LTLIBOBJS=$ac_ltlibobjs
5229
5230
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5232 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5233 if test -n "$am_sleep_pid"; then
5234 # Hide warnings about reused PIDs.
5235 wait $am_sleep_pid 2>/dev/null
5236 fi
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5238 $as_echo "done" >&6; }
5239 if test -n "$EXEEXT"; then
5240 am__EXEEXT_TRUE=
5241 am__EXEEXT_FALSE='#'
5242 else
5243 am__EXEEXT_TRUE='#'
5244 am__EXEEXT_FALSE=
5245 fi
5246
5247 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5248 as_fn_error $? "conditional \"AMDEP\" was never defined.
5249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5250 fi
5251 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5252 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5254 fi
5255 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5256 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5258 fi
5259
5260 : "${CONFIG_STATUS=./config.status}"
5261 ac_write_fail=0
5262 ac_clean_files_save=$ac_clean_files
5263 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5265 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5266 as_write_fail=0
5267 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5268 #! $SHELL
5269 # Generated by $as_me.
5270 # Run this file to recreate the current configuration.
5271 # Compiler output produced by configure, useful for debugging
5272 # configure, is in config.log if it exists.
5273
5274 debug=false
5275 ac_cs_recheck=false
5276 ac_cs_silent=false
5277
5278 SHELL=\${CONFIG_SHELL-$SHELL}
5279 export SHELL
5280 _ASEOF
5281 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5282 ## -------------------- ##
5283 ## M4sh Initialization. ##
5284 ## -------------------- ##
5285
5286 # Be more Bourne compatible
5287 DUALCASE=1; export DUALCASE # for MKS sh
5288 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5289 emulate sh
5290 NULLCMD=:
5291 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5292 # is contrary to our usage. Disable this feature.
5293 alias -g '${1+"$@"}'='"$@"'
5294 setopt NO_GLOB_SUBST
5295 else
5296 case `(set -o) 2>/dev/null` in #(
5297 *posix*) :
5298 set -o posix ;; #(
5299 *) :
5300 ;;
5301 esac
5302 fi
5303
5304
5305 as_nl='
5306 '
5307 export as_nl
5308 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5309 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5310 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5311 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5312 # Prefer a ksh shell builtin over an external printf program on Solaris,
5313 # but without wasting forks for bash or zsh.
5314 if test -z "$BASH_VERSION$ZSH_VERSION" \
5315 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5316 as_echo='print -r --'
5317 as_echo_n='print -rn --'
5318 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5319 as_echo='printf %s\n'
5320 as_echo_n='printf %s'
5321 else
5322 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5323 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5324 as_echo_n='/usr/ucb/echo -n'
5325 else
5326 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5327 as_echo_n_body='eval
5328 arg=$1;
5329 case $arg in #(
5330 *"$as_nl"*)
5331 expr "X$arg" : "X\\(.*\\)$as_nl";
5332 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5333 esac;
5334 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5335 '
5336 export as_echo_n_body
5337 as_echo_n='sh -c $as_echo_n_body as_echo'
5338 fi
5339 export as_echo_body
5340 as_echo='sh -c $as_echo_body as_echo'
5341 fi
5342
5343 # The user is always right.
5344 if test "${PATH_SEPARATOR+set}" != set; then
5345 PATH_SEPARATOR=:
5346 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5347 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5348 PATH_SEPARATOR=';'
5349 }
5350 fi
5351
5352
5353 # IFS
5354 # We need space, tab and new line, in precisely that order. Quoting is
5355 # there to prevent editors from complaining about space-tab.
5356 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5357 # splitting by setting IFS to empty value.)
5358 IFS=" "" $as_nl"
5359
5360 # Find who we are. Look in the path if we contain no directory separator.
5361 as_myself=
5362 case $0 in #((
5363 *[\\/]* ) as_myself=$0 ;;
5364 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH
5366 do
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5370 done
5371 IFS=$as_save_IFS
5372
5373 ;;
5374 esac
5375 # We did not find ourselves, most probably we were run as `sh COMMAND'
5376 # in which case we are not to be found in the path.
5377 if test "x$as_myself" = x; then
5378 as_myself=$0
5379 fi
5380 if test ! -f "$as_myself"; then
5381 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5382 exit 1
5383 fi
5384
5385 # Unset variables that we do not need and which cause bugs (e.g. in
5386 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5387 # suppresses any "Segmentation fault" message there. '((' could
5388 # trigger a bug in pdksh 5.2.14.
5389 for as_var in BASH_ENV ENV MAIL MAILPATH
5390 do eval test x\${$as_var+set} = xset \
5391 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5392 done
5393 PS1='$ '
5394 PS2='> '
5395 PS4='+ '
5396
5397 # NLS nuisances.
5398 LC_ALL=C
5399 export LC_ALL
5400 LANGUAGE=C
5401 export LANGUAGE
5402
5403 # CDPATH.
5404 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5405
5406
5407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5408 # ----------------------------------------
5409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5411 # script with STATUS, using 1 if that was 0.
5412 as_fn_error ()
5413 {
5414 as_status=$1; test $as_status -eq 0 && as_status=1
5415 if test "$4"; then
5416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5418 fi
5419 $as_echo "$as_me: error: $2" >&2
5420 as_fn_exit $as_status
5421 } # as_fn_error
5422
5423
5424 # as_fn_set_status STATUS
5425 # -----------------------
5426 # Set $? to STATUS, without forking.
5427 as_fn_set_status ()
5428 {
5429 return $1
5430 } # as_fn_set_status
5431
5432 # as_fn_exit STATUS
5433 # -----------------
5434 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5435 as_fn_exit ()
5436 {
5437 set +e
5438 as_fn_set_status $1
5439 exit $1
5440 } # as_fn_exit
5441
5442 # as_fn_unset VAR
5443 # ---------------
5444 # Portably unset VAR.
5445 as_fn_unset ()
5446 {
5447 { eval $1=; unset $1;}
5448 }
5449 as_unset=as_fn_unset
5450 # as_fn_append VAR VALUE
5451 # ----------------------
5452 # Append the text in VALUE to the end of the definition contained in VAR. Take
5453 # advantage of any shell optimizations that allow amortized linear growth over
5454 # repeated appends, instead of the typical quadratic growth present in naive
5455 # implementations.
5456 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5457 eval 'as_fn_append ()
5458 {
5459 eval $1+=\$2
5460 }'
5461 else
5462 as_fn_append ()
5463 {
5464 eval $1=\$$1\$2
5465 }
5466 fi # as_fn_append
5467
5468 # as_fn_arith ARG...
5469 # ------------------
5470 # Perform arithmetic evaluation on the ARGs, and store the result in the
5471 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5472 # must be portable across $(()) and expr.
5473 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5474 eval 'as_fn_arith ()
5475 {
5476 as_val=$(( $* ))
5477 }'
5478 else
5479 as_fn_arith ()
5480 {
5481 as_val=`expr "$@" || test $? -eq 1`
5482 }
5483 fi # as_fn_arith
5484
5485
5486 if expr a : '\(a\)' >/dev/null 2>&1 &&
5487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5488 as_expr=expr
5489 else
5490 as_expr=false
5491 fi
5492
5493 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5494 as_basename=basename
5495 else
5496 as_basename=false
5497 fi
5498
5499 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5500 as_dirname=dirname
5501 else
5502 as_dirname=false
5503 fi
5504
5505 as_me=`$as_basename -- "$0" ||
5506 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5507 X"$0" : 'X\(//\)$' \| \
5508 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5509 $as_echo X/"$0" |
5510 sed '/^.*\/\([^/][^/]*\)\/*$/{
5511 s//\1/
5512 q
5513 }
5514 /^X\/\(\/\/\)$/{
5515 s//\1/
5516 q
5517 }
5518 /^X\/\(\/\).*/{
5519 s//\1/
5520 q
5521 }
5522 s/.*/./; q'`
5523
5524 # Avoid depending upon Character Ranges.
5525 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5526 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5527 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5528 as_cr_digits='0123456789'
5529 as_cr_alnum=$as_cr_Letters$as_cr_digits
5530
5531 ECHO_C= ECHO_N= ECHO_T=
5532 case `echo -n x` in #(((((
5533 -n*)
5534 case `echo 'xy\c'` in
5535 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5536 xy) ECHO_C='\c';;
5537 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5538 ECHO_T=' ';;
5539 esac;;
5540 *)
5541 ECHO_N='-n';;
5542 esac
5543
5544 rm -f conf$$ conf$$.exe conf$$.file
5545 if test -d conf$$.dir; then
5546 rm -f conf$$.dir/conf$$.file
5547 else
5548 rm -f conf$$.dir
5549 mkdir conf$$.dir 2>/dev/null
5550 fi
5551 if (echo >conf$$.file) 2>/dev/null; then
5552 if ln -s conf$$.file conf$$ 2>/dev/null; then
5553 as_ln_s='ln -s'
5554 # ... but there are two gotchas:
5555 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5556 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5557 # In both cases, we have to default to `cp -pR'.
5558 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5559 as_ln_s='cp -pR'
5560 elif ln conf$$.file conf$$ 2>/dev/null; then
5561 as_ln_s=ln
5562 else
5563 as_ln_s='cp -pR'
5564 fi
5565 else
5566 as_ln_s='cp -pR'
5567 fi
5568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5569 rmdir conf$$.dir 2>/dev/null
5570
5571
5572 # as_fn_mkdir_p
5573 # -------------
5574 # Create "$as_dir" as a directory, including parents if necessary.
5575 as_fn_mkdir_p ()
5576 {
5577
5578 case $as_dir in #(
5579 -*) as_dir=./$as_dir;;
5580 esac
5581 test -d "$as_dir" || eval $as_mkdir_p || {
5582 as_dirs=
5583 while :; do
5584 case $as_dir in #(
5585 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5586 *) as_qdir=$as_dir;;
5587 esac
5588 as_dirs="'$as_qdir' $as_dirs"
5589 as_dir=`$as_dirname -- "$as_dir" ||
5590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5591 X"$as_dir" : 'X\(//\)[^/]' \| \
5592 X"$as_dir" : 'X\(//\)$' \| \
5593 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5594 $as_echo X"$as_dir" |
5595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5596 s//\1/
5597 q
5598 }
5599 /^X\(\/\/\)[^/].*/{
5600 s//\1/
5601 q
5602 }
5603 /^X\(\/\/\)$/{
5604 s//\1/
5605 q
5606 }
5607 /^X\(\/\).*/{
5608 s//\1/
5609 q
5610 }
5611 s/.*/./; q'`
5612 test -d "$as_dir" && break
5613 done
5614 test -z "$as_dirs" || eval "mkdir $as_dirs"
5615 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5616
5617
5618 } # as_fn_mkdir_p
5619 if mkdir -p . 2>/dev/null; then
5620 as_mkdir_p='mkdir -p "$as_dir"'
5621 else
5622 test -d ./-p && rmdir ./-p
5623 as_mkdir_p=false
5624 fi
5625
5626
5627 # as_fn_executable_p FILE
5628 # -----------------------
5629 # Test if FILE is an executable regular file.
5630 as_fn_executable_p ()
5631 {
5632 test -f "$1" && test -x "$1"
5633 } # as_fn_executable_p
5634 as_test_x='test -x'
5635 as_executable_p=as_fn_executable_p
5636
5637 # Sed expression to map a string onto a valid CPP name.
5638 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5639
5640 # Sed expression to map a string onto a valid variable name.
5641 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5642
5643
5644 exec 6>&1
5645 ## ----------------------------------- ##
5646 ## Main body of $CONFIG_STATUS script. ##
5647 ## ----------------------------------- ##
5648 _ASEOF
5649 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5650
5651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5652 # Save the log message, to keep $0 and so on meaningful, and to
5653 # report actual input values of CONFIG_FILES etc. instead of their
5654 # values after options handling.
5655 ac_log="
5656 This file was extended by cups-bjnp $as_me 2.0.3, which was
5657 generated by GNU Autoconf 2.69. Invocation command line was
5658
5659 CONFIG_FILES = $CONFIG_FILES
5660 CONFIG_HEADERS = $CONFIG_HEADERS
5661 CONFIG_LINKS = $CONFIG_LINKS
5662 CONFIG_COMMANDS = $CONFIG_COMMANDS
5663 $ $0 $@
5664
5665 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5666 "
5667
5668 _ACEOF
5669
5670 case $ac_config_files in *"
5671 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5672 esac
5673
5674 case $ac_config_headers in *"
5675 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5676 esac
5677
5678
5679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5680 # Files that config.status was made for.
5681 config_files="$ac_config_files"
5682 config_headers="$ac_config_headers"
5683 config_commands="$ac_config_commands"
5684
5685 _ACEOF
5686
5687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5688 ac_cs_usage="\
5689 \`$as_me' instantiates files and other configuration actions
5690 from templates according to the current configuration. Unless the files
5691 and actions are specified as TAGs, all are instantiated by default.
5692
5693 Usage: $0 [OPTION]... [TAG]...
5694
5695 -h, --help print this help, then exit
5696 -V, --version print version number and configuration settings, then exit
5697 --config print configuration, then exit
5698 -q, --quiet, --silent
5699 do not print progress messages
5700 -d, --debug don't remove temporary files
5701 --recheck update $as_me by reconfiguring in the same conditions
5702 --file=FILE[:TEMPLATE]
5703 instantiate the configuration file FILE
5704 --header=FILE[:TEMPLATE]
5705 instantiate the configuration header FILE
5706
5707 Configuration files:
5708 $config_files
5709
5710 Configuration headers:
5711 $config_headers
5712
5713 Configuration commands:
5714 $config_commands
5715
5716 Report bugs to <[email protected]>."
5717
5718 _ACEOF
5719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5720 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5721 ac_cs_version="\\
5722 cups-bjnp config.status 2.0.3
5723 configured by $0, generated by GNU Autoconf 2.69,
5724 with options \\"\$ac_cs_config\\"
5725
5726 Copyright (C) 2012 Free Software Foundation, Inc.
5727 This config.status script is free software; the Free Software Foundation
5728 gives unlimited permission to copy, distribute and modify it."
5729
5730 ac_pwd='$ac_pwd'
5731 srcdir='$srcdir'
5732 INSTALL='$INSTALL'
5733 MKDIR_P='$MKDIR_P'
5734 AWK='$AWK'
5735 test -n "\$AWK" || AWK=awk
5736 _ACEOF
5737
5738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5739 # The default lists apply if the user does not specify any file.
5740 ac_need_defaults=:
5741 while test $# != 0
5742 do
5743 case $1 in
5744 --*=?*)
5745 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5746 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5747 ac_shift=:
5748 ;;
5749 --*=)
5750 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5751 ac_optarg=
5752 ac_shift=:
5753 ;;
5754 *)
5755 ac_option=$1
5756 ac_optarg=$2
5757 ac_shift=shift
5758 ;;
5759 esac
5760
5761 case $ac_option in
5762 # Handling of the options.
5763 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5764 ac_cs_recheck=: ;;
5765 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5766 $as_echo "$ac_cs_version"; exit ;;
5767 --config | --confi | --conf | --con | --co | --c )
5768 $as_echo "$ac_cs_config"; exit ;;
5769 --debug | --debu | --deb | --de | --d | -d )
5770 debug=: ;;
5771 --file | --fil | --fi | --f )
5772 $ac_shift
5773 case $ac_optarg in
5774 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5775 '') as_fn_error $? "missing file argument" ;;
5776 esac
5777 as_fn_append CONFIG_FILES " '$ac_optarg'"
5778 ac_need_defaults=false;;
5779 --header | --heade | --head | --hea )
5780 $ac_shift
5781 case $ac_optarg in
5782 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5783 esac
5784 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5785 ac_need_defaults=false;;
5786 --he | --h)
5787 # Conflict between --help and --header
5788 as_fn_error $? "ambiguous option: \`$1'
5789 Try \`$0 --help' for more information.";;
5790 --help | --hel | -h )
5791 $as_echo "$ac_cs_usage"; exit ;;
5792 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5793 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5794 ac_cs_silent=: ;;
5795
5796 # This is an error.
5797 -*) as_fn_error $? "unrecognized option: \`$1'
5798 Try \`$0 --help' for more information." ;;
5799
5800 *) as_fn_append ac_config_targets " $1"
5801 ac_need_defaults=false ;;
5802
5803 esac
5804 shift
5805 done
5806
5807 ac_configure_extra_args=
5808
5809 if $ac_cs_silent; then
5810 exec 6>/dev/null
5811 ac_configure_extra_args="$ac_configure_extra_args --silent"
5812 fi
5813
5814 _ACEOF
5815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5816 if \$ac_cs_recheck; then
5817 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5818 shift
5819 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5820 CONFIG_SHELL='$SHELL'
5821 export CONFIG_SHELL
5822 exec "\$@"
5823 fi
5824
5825 _ACEOF
5826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5827 exec 5>>config.log
5828 {
5829 echo
5830 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5831 ## Running $as_me. ##
5832 _ASBOX
5833 $as_echo "$ac_log"
5834 } >&5
5835
5836 _ACEOF
5837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5838 #
5839 # INIT-COMMANDS
5840 #
5841 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5842
5843 _ACEOF
5844
5845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5846
5847 # Handling of arguments.
5848 for ac_config_target in $ac_config_targets
5849 do
5850 case $ac_config_target in
5851 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5852 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5853 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5854
5855 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5856 esac
5857 done
5858
5859
5860 # If the user did not use the arguments to specify the items to instantiate,
5861 # then the envvar interface is used. Set only those that are not.
5862 # We use the long form for the default assignment because of an extremely
5863 # bizarre bug on SunOS 4.1.3.
5864 if $ac_need_defaults; then
5865 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5866 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5867 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5868 fi
5869
5870 # Have a temporary directory for convenience. Make it in the build tree
5871 # simply because there is no reason against having it here, and in addition,
5872 # creating and moving files from /tmp can sometimes cause problems.
5873 # Hook for its removal unless debugging.
5874 # Note that there is a small window in which the directory will not be cleaned:
5875 # after its creation but before its name has been assigned to `$tmp'.
5876 $debug ||
5877 {
5878 tmp= ac_tmp=
5879 trap 'exit_status=$?
5880 : "${ac_tmp:=$tmp}"
5881 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5882 ' 0
5883 trap 'as_fn_exit 1' 1 2 13 15
5884 }
5885 # Create a (secure) tmp directory for tmp files.
5886
5887 {
5888 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5889 test -d "$tmp"
5890 } ||
5891 {
5892 tmp=./conf$$-$RANDOM
5893 (umask 077 && mkdir "$tmp")
5894 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5895 ac_tmp=$tmp
5896
5897 # Set up the scripts for CONFIG_FILES section.
5898 # No need to generate them if there are no CONFIG_FILES.
5899 # This happens for instance with `./config.status config.h'.
5900 if test -n "$CONFIG_FILES"; then
5901
5902
5903 ac_cr=`echo X | tr X '\015'`
5904 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5905 # But we know of no other shell where ac_cr would be empty at this
5906 # point, so we can use a bashism as a fallback.
5907 if test "x$ac_cr" = x; then
5908 eval ac_cr=\$\'\\r\'
5909 fi
5910 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5911 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5912 ac_cs_awk_cr='\\r'
5913 else
5914 ac_cs_awk_cr=$ac_cr
5915 fi
5916
5917 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5918 _ACEOF
5919
5920
5921 {
5922 echo "cat >conf$$subs.awk <<_ACEOF" &&
5923 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5924 echo "_ACEOF"
5925 } >conf$$subs.sh ||
5926 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5927 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5928 ac_delim='%!_!# '
5929 for ac_last_try in false false false false false :; do
5930 . ./conf$$subs.sh ||
5931 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5932
5933 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5934 if test $ac_delim_n = $ac_delim_num; then
5935 break
5936 elif $ac_last_try; then
5937 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5938 else
5939 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5940 fi
5941 done
5942 rm -f conf$$subs.sh
5943
5944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5945 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5946 _ACEOF
5947 sed -n '
5948 h
5949 s/^/S["/; s/!.*/"]=/
5950 p
5951 g
5952 s/^[^!]*!//
5953 :repl
5954 t repl
5955 s/'"$ac_delim"'$//
5956 t delim
5957 :nl
5958 h
5959 s/\(.\{148\}\)..*/\1/
5960 t more1
5961 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5962 p
5963 n
5964 b repl
5965 :more1
5966 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5967 p
5968 g
5969 s/.\{148\}//
5970 t nl
5971 :delim
5972 h
5973 s/\(.\{148\}\)..*/\1/
5974 t more2
5975 s/["\\]/\\&/g; s/^/"/; s/$/"/
5976 p
5977 b
5978 :more2
5979 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5980 p
5981 g
5982 s/.\{148\}//
5983 t delim
5984 ' <conf$$subs.awk | sed '
5985 /^[^""]/{
5986 N
5987 s/\n//
5988 }
5989 ' >>$CONFIG_STATUS || ac_write_fail=1
5990 rm -f conf$$subs.awk
5991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5992 _ACAWK
5993 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5994 for (key in S) S_is_set[key] = 1
5995 FS = ""
5996
5997 }
5998 {
5999 line = $ 0
6000 nfields = split(line, field, "@")
6001 substed = 0
6002 len = length(field[1])
6003 for (i = 2; i < nfields; i++) {
6004 key = field[i]
6005 keylen = length(key)
6006 if (S_is_set[key]) {
6007 value = S[key]
6008 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6009 len += length(value) + length(field[++i])
6010 substed = 1
6011 } else
6012 len += 1 + keylen
6013 }
6014
6015 print line
6016 }
6017
6018 _ACAWK
6019 _ACEOF
6020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6021 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6022 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6023 else
6024 cat
6025 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6026 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6027 _ACEOF
6028
6029 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6030 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6031 # trailing colons and then remove the whole line if VPATH becomes empty
6032 # (actually we leave an empty line to preserve line numbers).
6033 if test "x$srcdir" = x.; then
6034 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6035 h
6036 s///
6037 s/^/:/
6038 s/[ ]*$/:/
6039 s/:\$(srcdir):/:/g
6040 s/:\${srcdir}:/:/g
6041 s/:@srcdir@:/:/g
6042 s/^:*//
6043 s/:*$//
6044 x
6045 s/\(=[ ]*\).*/\1/
6046 G
6047 s/\n//
6048 s/^[^=]*=[ ]*$//
6049 }'
6050 fi
6051
6052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6053 fi # test -n "$CONFIG_FILES"
6054
6055 # Set up the scripts for CONFIG_HEADERS section.
6056 # No need to generate them if there are no CONFIG_HEADERS.
6057 # This happens for instance with `./config.status Makefile'.
6058 if test -n "$CONFIG_HEADERS"; then
6059 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6060 BEGIN {
6061 _ACEOF
6062
6063 # Transform confdefs.h into an awk script `defines.awk', embedded as
6064 # here-document in config.status, that substitutes the proper values into
6065 # config.h.in to produce config.h.
6066
6067 # Create a delimiter string that does not exist in confdefs.h, to ease
6068 # handling of long lines.
6069 ac_delim='%!_!# '
6070 for ac_last_try in false false :; do
6071 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6072 if test -z "$ac_tt"; then
6073 break
6074 elif $ac_last_try; then
6075 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6076 else
6077 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6078 fi
6079 done
6080
6081 # For the awk script, D is an array of macro values keyed by name,
6082 # likewise P contains macro parameters if any. Preserve backslash
6083 # newline sequences.
6084
6085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6086 sed -n '
6087 s/.\{148\}/&'"$ac_delim"'/g
6088 t rset
6089 :rset
6090 s/^[ ]*#[ ]*define[ ][ ]*/ /
6091 t def
6092 d
6093 :def
6094 s/\\$//
6095 t bsnl
6096 s/["\\]/\\&/g
6097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6098 D["\1"]=" \3"/p
6099 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6100 d
6101 :bsnl
6102 s/["\\]/\\&/g
6103 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6104 D["\1"]=" \3\\\\\\n"\\/p
6105 t cont
6106 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6107 t cont
6108 d
6109 :cont
6110 n
6111 s/.\{148\}/&'"$ac_delim"'/g
6112 t clear
6113 :clear
6114 s/\\$//
6115 t bsnlc
6116 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6117 d
6118 :bsnlc
6119 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6120 b cont
6121 ' <confdefs.h | sed '
6122 s/'"$ac_delim"'/"\\\
6123 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6124
6125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6126 for (key in D) D_is_set[key] = 1
6127 FS = ""
6128 }
6129 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6130 line = \$ 0
6131 split(line, arg, " ")
6132 if (arg[1] == "#") {
6133 defundef = arg[2]
6134 mac1 = arg[3]
6135 } else {
6136 defundef = substr(arg[1], 2)
6137 mac1 = arg[2]
6138 }
6139 split(mac1, mac2, "(") #)
6140 macro = mac2[1]
6141 prefix = substr(line, 1, index(line, defundef) - 1)
6142 if (D_is_set[macro]) {
6143 # Preserve the white space surrounding the "#".
6144 print prefix "define", macro P[macro] D[macro]
6145 next
6146 } else {
6147 # Replace #undef with comments. This is necessary, for example,
6148 # in the case of _POSIX_SOURCE, which is predefined and required
6149 # on some systems where configure will not decide to define it.
6150 if (defundef == "undef") {
6151 print "/*", prefix defundef, macro, "*/"
6152 next
6153 }
6154 }
6155 }
6156 { print }
6157 _ACAWK
6158 _ACEOF
6159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6160 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6161 fi # test -n "$CONFIG_HEADERS"
6162
6163
6164 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6165 shift
6166 for ac_tag
6167 do
6168 case $ac_tag in
6169 :[FHLC]) ac_mode=$ac_tag; continue;;
6170 esac
6171 case $ac_mode$ac_tag in
6172 :[FHL]*:*);;
6173 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6174 :[FH]-) ac_tag=-:-;;
6175 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6176 esac
6177 ac_save_IFS=$IFS
6178 IFS=:
6179 set x $ac_tag
6180 IFS=$ac_save_IFS
6181 shift
6182 ac_file=$1
6183 shift
6184
6185 case $ac_mode in
6186 :L) ac_source=$1;;
6187 :[FH])
6188 ac_file_inputs=
6189 for ac_f
6190 do
6191 case $ac_f in
6192 -) ac_f="$ac_tmp/stdin";;
6193 *) # Look for the file first in the build tree, then in the source tree
6194 # (if the path is not absolute). The absolute path cannot be DOS-style,
6195 # because $ac_f cannot contain `:'.
6196 test -f "$ac_f" ||
6197 case $ac_f in
6198 [\\/$]*) false;;
6199 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6200 esac ||
6201 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6202 esac
6203 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6204 as_fn_append ac_file_inputs " '$ac_f'"
6205 done
6206
6207 # Let's still pretend it is `configure' which instantiates (i.e., don't
6208 # use $as_me), people would be surprised to read:
6209 # /* config.h. Generated by config.status. */
6210 configure_input='Generated from '`
6211 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6212 `' by configure.'
6213 if test x"$ac_file" != x-; then
6214 configure_input="$ac_file. $configure_input"
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6216 $as_echo "$as_me: creating $ac_file" >&6;}
6217 fi
6218 # Neutralize special characters interpreted by sed in replacement strings.
6219 case $configure_input in #(
6220 *\&* | *\|* | *\\* )
6221 ac_sed_conf_input=`$as_echo "$configure_input" |
6222 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6223 *) ac_sed_conf_input=$configure_input;;
6224 esac
6225
6226 case $ac_tag in
6227 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6229 esac
6230 ;;
6231 esac
6232
6233 ac_dir=`$as_dirname -- "$ac_file" ||
6234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6235 X"$ac_file" : 'X\(//\)[^/]' \| \
6236 X"$ac_file" : 'X\(//\)$' \| \
6237 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6238 $as_echo X"$ac_file" |
6239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6240 s//\1/
6241 q
6242 }
6243 /^X\(\/\/\)[^/].*/{
6244 s//\1/
6245 q
6246 }
6247 /^X\(\/\/\)$/{
6248 s//\1/
6249 q
6250 }
6251 /^X\(\/\).*/{
6252 s//\1/
6253 q
6254 }
6255 s/.*/./; q'`
6256 as_dir="$ac_dir"; as_fn_mkdir_p
6257 ac_builddir=.
6258
6259 case "$ac_dir" in
6260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6261 *)
6262 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6263 # A ".." for each directory in $ac_dir_suffix.
6264 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6265 case $ac_top_builddir_sub in
6266 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6267 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6268 esac ;;
6269 esac
6270 ac_abs_top_builddir=$ac_pwd
6271 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6272 # for backward compatibility:
6273 ac_top_builddir=$ac_top_build_prefix
6274
6275 case $srcdir in
6276 .) # We are building in place.
6277 ac_srcdir=.
6278 ac_top_srcdir=$ac_top_builddir_sub
6279 ac_abs_top_srcdir=$ac_pwd ;;
6280 [\\/]* | ?:[\\/]* ) # Absolute name.
6281 ac_srcdir=$srcdir$ac_dir_suffix;
6282 ac_top_srcdir=$srcdir
6283 ac_abs_top_srcdir=$srcdir ;;
6284 *) # Relative name.
6285 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6286 ac_top_srcdir=$ac_top_build_prefix$srcdir
6287 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6288 esac
6289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6290
6291
6292 case $ac_mode in
6293 :F)
6294 #
6295 # CONFIG_FILE
6296 #
6297
6298 case $INSTALL in
6299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6300 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6301 esac
6302 ac_MKDIR_P=$MKDIR_P
6303 case $MKDIR_P in
6304 [\\/$]* | ?:[\\/]* ) ;;
6305 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6306 esac
6307 _ACEOF
6308
6309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6310 # If the template does not know about datarootdir, expand it.
6311 # FIXME: This hack should be removed a few years after 2.60.
6312 ac_datarootdir_hack=; ac_datarootdir_seen=
6313 ac_sed_dataroot='
6314 /datarootdir/ {
6315 p
6316 q
6317 }
6318 /@datadir@/p
6319 /@docdir@/p
6320 /@infodir@/p
6321 /@localedir@/p
6322 /@mandir@/p'
6323 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6324 *datarootdir*) ac_datarootdir_seen=yes;;
6325 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6327 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6328 _ACEOF
6329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6330 ac_datarootdir_hack='
6331 s&@datadir@&$datadir&g
6332 s&@docdir@&$docdir&g
6333 s&@infodir@&$infodir&g
6334 s&@localedir@&$localedir&g
6335 s&@mandir@&$mandir&g
6336 s&\\\${datarootdir}&$datarootdir&g' ;;
6337 esac
6338 _ACEOF
6339
6340 # Neutralize VPATH when `$srcdir' = `.'.
6341 # Shell code in configure.ac might set extrasub.
6342 # FIXME: do we really want to maintain this feature?
6343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6344 ac_sed_extra="$ac_vpsub
6345 $extrasub
6346 _ACEOF
6347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6348 :t
6349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6350 s|@configure_input@|$ac_sed_conf_input|;t t
6351 s&@top_builddir@&$ac_top_builddir_sub&;t t
6352 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6353 s&@srcdir@&$ac_srcdir&;t t
6354 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6355 s&@top_srcdir@&$ac_top_srcdir&;t t
6356 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6357 s&@builddir@&$ac_builddir&;t t
6358 s&@abs_builddir@&$ac_abs_builddir&;t t
6359 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6360 s&@INSTALL@&$ac_INSTALL&;t t
6361 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6362 $ac_datarootdir_hack
6363 "
6364 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6365 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6366
6367 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6368 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6369 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6370 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6372 which seems to be undefined. Please make sure it is defined" >&5
6373 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6374 which seems to be undefined. Please make sure it is defined" >&2;}
6375
6376 rm -f "$ac_tmp/stdin"
6377 case $ac_file in
6378 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6379 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6380 esac \
6381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6382 ;;
6383 :H)
6384 #
6385 # CONFIG_HEADER
6386 #
6387 if test x"$ac_file" != x-; then
6388 {
6389 $as_echo "/* $configure_input */" \
6390 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6391 } >"$ac_tmp/config.h" \
6392 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6393 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6395 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6396 else
6397 rm -f "$ac_file"
6398 mv "$ac_tmp/config.h" "$ac_file" \
6399 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6400 fi
6401 else
6402 $as_echo "/* $configure_input */" \
6403 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6404 || as_fn_error $? "could not create -" "$LINENO" 5
6405 fi
6406 # Compute "$ac_file"'s index in $config_headers.
6407 _am_arg="$ac_file"
6408 _am_stamp_count=1
6409 for _am_header in $config_headers :; do
6410 case $_am_header in
6411 $_am_arg | $_am_arg:* )
6412 break ;;
6413 * )
6414 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6415 esac
6416 done
6417 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6418 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6419 X"$_am_arg" : 'X\(//\)[^/]' \| \
6420 X"$_am_arg" : 'X\(//\)$' \| \
6421 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6422 $as_echo X"$_am_arg" |
6423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6424 s//\1/
6425 q
6426 }
6427 /^X\(\/\/\)[^/].*/{
6428 s//\1/
6429 q
6430 }
6431 /^X\(\/\/\)$/{
6432 s//\1/
6433 q
6434 }
6435 /^X\(\/\).*/{
6436 s//\1/
6437 q
6438 }
6439 s/.*/./; q'`/stamp-h$_am_stamp_count
6440 ;;
6441
6442 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6443 $as_echo "$as_me: executing $ac_file commands" >&6;}
6444 ;;
6445 esac
6446
6447
6448 case $ac_file$ac_mode in
6449 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6450 # Older Autoconf quotes --file arguments for eval, but not when files
6451 # are listed without --file. Let's play safe and only enable the eval
6452 # if we detect the quoting.
6453 # TODO: see whether this extra hack can be removed once we start
6454 # requiring Autoconf 2.70 or later.
6455 case $CONFIG_FILES in #(
6456 *\'*) :
6457 eval set x "$CONFIG_FILES" ;; #(
6458 *) :
6459 set x $CONFIG_FILES ;; #(
6460 *) :
6461 ;;
6462 esac
6463 shift
6464 # Used to flag and report bootstrapping failures.
6465 am_rc=0
6466 for am_mf
6467 do
6468 # Strip MF so we end up with the name of the file.
6469 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
6470 # Check whether this is an Automake generated Makefile which includes
6471 # dependency-tracking related rules and includes.
6472 # Grep'ing the whole file directly is not great: AIX grep has a line
6473 # limit of 2048, but all sed's we know have understand at least 4000.
6474 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6475 || continue
6476 am_dirpart=`$as_dirname -- "$am_mf" ||
6477 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6478 X"$am_mf" : 'X\(//\)[^/]' \| \
6479 X"$am_mf" : 'X\(//\)$' \| \
6480 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6481 $as_echo X"$am_mf" |
6482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6483 s//\1/
6484 q
6485 }
6486 /^X\(\/\/\)[^/].*/{
6487 s//\1/
6488 q
6489 }
6490 /^X\(\/\/\)$/{
6491 s//\1/
6492 q
6493 }
6494 /^X\(\/\).*/{
6495 s//\1/
6496 q
6497 }
6498 s/.*/./; q'`
6499 am_filepart=`$as_basename -- "$am_mf" ||
6500 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6501 X"$am_mf" : 'X\(//\)$' \| \
6502 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6503 $as_echo X/"$am_mf" |
6504 sed '/^.*\/\([^/][^/]*\)\/*$/{
6505 s//\1/
6506 q
6507 }
6508 /^X\/\(\/\/\)$/{
6509 s//\1/
6510 q
6511 }
6512 /^X\/\(\/\).*/{
6513 s//\1/
6514 q
6515 }
6516 s/.*/./; q'`
6517 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6518 && sed -e '/# am--include-marker/d' "$am_filepart" \
6519 | $MAKE -f - am--depfiles" >&5
6520 (cd "$am_dirpart" \
6521 && sed -e '/# am--include-marker/d' "$am_filepart" \
6522 | $MAKE -f - am--depfiles) >&5 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } || am_rc=$?
6526 done
6527 if test $am_rc -ne 0; then
6528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6530 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6531 for automatic dependency tracking. Try re-running configure with the
6532 '--disable-dependency-tracking' option to at least be able to build
6533 the package (albeit without support for automatic dependency tracking).
6534 See \`config.log' for more details" "$LINENO" 5; }
6535 fi
6536 { am_dirpart=; unset am_dirpart;}
6537 { am_filepart=; unset am_filepart;}
6538 { am_mf=; unset am_mf;}
6539 { am_rc=; unset am_rc;}
6540 rm -f conftest-deps.mk
6541 }
6542 ;;
6543
6544 esac
6545 done # for ac_tag
6546
6547
6548 as_fn_exit 0
6549 _ACEOF
6550 ac_clean_files=$ac_clean_files_save
6551
6552 test $ac_write_fail = 0 ||
6553 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6554
6555
6556 # configure is writing to config.log, and then calls config.status.
6557 # config.status does its own redirection, appending to config.log.
6558 # Unfortunately, on DOS this fails, as config.log is still kept open
6559 # by configure, so config.status won't be able to write to it; its
6560 # output is simply discarded. So we exec the FD to /dev/null,
6561 # effectively closing config.log, so it can be properly (re)opened and
6562 # appended to by config.status. When coming back to configure, we
6563 # need to make the FD available again.
6564 if test "$no_create" != yes; then
6565 ac_cs_success=:
6566 ac_config_status_args=
6567 test "$silent" = yes &&
6568 ac_config_status_args="$ac_config_status_args --quiet"
6569 exec 5>/dev/null
6570 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6571 exec 5>>config.log
6572 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6573 # would make configure fail if this is the last instruction.
6574 $ac_cs_success || as_fn_exit 1
6575 fi
6576 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6578 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6579 fi
6580