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