"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "configure":
4.0.17_vs_4.0-20160212.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for foomatic-rip 4.0.17.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
192 /*)
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
201 fi
202 fi
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
212
213
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230 fi
231
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 else
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
243 fi
244 exit 1
245 fi
246 fi
247 fi
248 SHELL=${CONFIG_SHELL-/bin/sh}
249 export SHELL
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
253
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
257 # as_fn_unset VAR
258 # ---------------
259 # Portably unset VAR.
260 as_fn_unset ()
261 {
262 { eval $1=; unset $1;}
263 }
264 as_unset=as_fn_unset
265
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
269 as_fn_set_status ()
270 {
271 return $1
272 } # as_fn_set_status
273
274 # as_fn_exit STATUS
275 # -----------------
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 as_fn_exit ()
278 {
279 set +e
280 as_fn_set_status $1
281 exit $1
282 } # as_fn_exit
283
284 # as_fn_mkdir_p
285 # -------------
286 # Create "$as_dir" as a directory, including parents if necessary.
287 as_fn_mkdir_p ()
288 {
289
290 case $as_dir in #(
291 -*) as_dir=./$as_dir;;
292 esac
293 test -d "$as_dir" || eval $as_mkdir_p || {
294 as_dirs=
295 while :; do
296 case $as_dir in #(
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 *) as_qdir=$as_dir;;
299 esac
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)[^/].*/{
312 s//\1/
313 q
314 }
315 /^X\(\/\/\)$/{
316 s//\1/
317 q
318 }
319 /^X\(\/\).*/{
320 s//\1/
321 q
322 }
323 s/.*/./; q'`
324 test -d "$as_dir" && break
325 done
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328
329
330 } # as_fn_mkdir_p
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
336 # implementations.
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
339 {
340 eval $1+=\$2
341 }'
342 else
343 as_fn_append ()
344 {
345 eval $1=\$$1\$2
346 }
347 fi # as_fn_append
348
349 # as_fn_arith ARG...
350 # ------------------
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 eval 'as_fn_arith ()
356 {
357 as_val=$(( $* ))
358 }'
359 else
360 as_fn_arith ()
361 {
362 as_val=`expr "$@" || test $? -eq 1`
363 }
364 fi # as_fn_arith
365
366
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
372 as_fn_error ()
373 {
374 as_status=$1; test $as_status -eq 0 && as_status=1
375 if test "$4"; then
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378 fi
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
381 } # as_fn_error
382
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 as_expr=expr
386 else
387 as_expr=false
388 fi
389
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 as_basename=basename
392 else
393 as_basename=false
394 fi
395
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_dirname=dirname
398 else
399 as_dirname=false
400 fi
401
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406 $as_echo X/"$0" |
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
408 s//\1/
409 q
410 }
411 /^X\/\(\/\/\)$/{
412 s//\1/
413 q
414 }
415 /^X\/\(\/\).*/{
416 s//\1/
417 q
418 }
419 s/.*/./; q'`
420
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
427
428
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
435 p
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
441 b
442 :lineno
443 N
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
455 . "./$as_me.lineno"
456 # Exit status is that of the last command.
457 exit
458 }
459
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
462 -n*)
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465 xy) ECHO_C='\c';;
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467 ECHO_T=' ';;
468 esac;;
469 *)
470 ECHO_N='-n';;
471 esac
472
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
476 else
477 rm -f conf$$.dir
478 mkdir conf$$.dir 2>/dev/null
479 fi
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s='ln -s'
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488 as_ln_s='cp -p'
489 elif ln conf$$.file conf$$ 2>/dev/null; then
490 as_ln_s=ln
491 else
492 as_ln_s='cp -p'
493 fi
494 else
495 as_ln_s='cp -p'
496 fi
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
499
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
502 else
503 test -d ./-p && rmdir ./-p
504 as_mkdir_p=false
505 fi
506
507 if test -x / >/dev/null 2>&1; then
508 as_test_x='test -x'
509 else
510 if ls -dL / >/dev/null 2>&1; then
511 as_ls_L_option=L
512 else
513 as_ls_L_option=
514 fi
515 as_test_x='
516 eval sh -c '\''
517 if test -d "$1"; then
518 test -d "$1/.";
519 else
520 case $1 in #(
521 -*)set "./$1";;
522 esac;
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
525 '\'' sh
526 '
527 fi
528 as_executable_p=$as_test_x
529
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
536
537 test -n "$DJDIR" || exec 7<&0 </dev/null
538 exec 6>&1
539
540 # Name of the host.
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544
545 #
546 # Initializations.
547 #
548 ac_default_prefix=/usr/local
549 ac_clean_files=
550 ac_config_libobj_dir=.
551 LIBOBJS=
552 cross_compiling=no
553 subdirs=
554 MFLAGS=
555 MAKEFLAGS=
556
557 # Identity of this package.
558 PACKAGE_NAME='foomatic-rip'
559 PACKAGE_TARNAME='foomatic-rip'
560 PACKAGE_VERSION='4.0.17'
561 PACKAGE_STRING='foomatic-rip 4.0.17'
562 PACKAGE_BUGREPORT=''
563 PACKAGE_URL=''
564
565 ac_unique_file="options.c"
566 # Factoring default headers for most tests.
567 ac_includes_default="\
568 #include <stdio.h>
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
571 #endif
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
574 #endif
575 #ifdef STDC_HEADERS
576 # include <stdlib.h>
577 # include <stddef.h>
578 #else
579 # ifdef HAVE_STDLIB_H
580 # include <stdlib.h>
581 # endif
582 #endif
583 #ifdef HAVE_STRING_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 # include <memory.h>
586 # endif
587 # include <string.h>
588 #endif
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
591 #endif
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
594 #endif
595 #ifdef HAVE_STDINT_H
596 # include <stdint.h>
597 #endif
598 #ifdef HAVE_UNISTD_H
599 # include <unistd.h>
600 #endif"
601
602 ac_subst_vars='am__EXEEXT_FALSE
603 am__EXEEXT_TRUE
604 LTLIBOBJS
605 EXECPATH
606 ECHO
607 BUILD_DBUS_FALSE
608 BUILD_DBUS_TRUE
609 FILECONVERTER
610 TEXTTOPS
611 PAPS
612 MPAGE
613 ENSCRIPT
614 A2PS
615 PPR_LIB
616 PPR_INTERFACES
617 PPR
618 CUPS_BACKENDS
619 CUPS_FILTERS
620 CUPS
621 CUPS_CONFIG
622 PRINTCAP
623 PERL
624 POW_LIB
625 LIBOBJS
626 EGREP
627 GREP
628 CPP
629 LN_S
630 am__fastdepCXX_FALSE
631 am__fastdepCXX_TRUE
632 CXXDEPMODE
633 ac_ct_CXX
634 CXXFLAGS
635 CXX
636 am__fastdepCC_FALSE
637 am__fastdepCC_TRUE
638 CCDEPMODE
639 am__nodep
640 AMDEPBACKSLASH
641 AMDEP_FALSE
642 AMDEP_TRUE
643 am__quote
644 am__include
645 DEPDIR
646 OBJEXT
647 EXEEXT
648 ac_ct_CC
649 CPPFLAGS
650 LDFLAGS
651 CFLAGS
652 CC
653 am__untar
654 am__tar
655 AMTAR
656 am__leading_dot
657 SET_MAKE
658 AWK
659 mkdir_p
660 MKDIR_P
661 INSTALL_STRIP_PROGRAM
662 STRIP
663 install_sh
664 MAKEINFO
665 AUTOHEADER
666 AUTOMAKE
667 AUTOCONF
668 ACLOCAL
669 VERSION
670 PACKAGE
671 CYGPATH_W
672 am__isrc
673 INSTALL_DATA
674 INSTALL_SCRIPT
675 INSTALL_PROGRAM
676 target_alias
677 host_alias
678 build_alias
679 LIBS
680 ECHO_T
681 ECHO_N
682 ECHO_C
683 DEFS
684 mandir
685 localedir
686 libdir
687 psdir
688 pdfdir
689 dvidir
690 htmldir
691 infodir
692 docdir
693 oldincludedir
694 includedir
695 localstatedir
696 sharedstatedir
697 sysconfdir
698 datadir
699 datarootdir
700 libexecdir
701 sbindir
702 bindir
703 program_transform_name
704 prefix
705 exec_prefix
706 PACKAGE_URL
707 PACKAGE_BUGREPORT
708 PACKAGE_STRING
709 PACKAGE_VERSION
710 PACKAGE_TARNAME
711 PACKAGE_NAME
712 PATH_SEPARATOR
713 SHELL'
714 ac_subst_files=''
715 ac_user_opts='
716 enable_option_checking
717 enable_dependency_tracking
718 enable_file_converter_check
719 with_file_converter
720 enable_dbus
721 with_echo
722 with_execpath
723 '
724 ac_precious_vars='build_alias
725 host_alias
726 target_alias
727 CC
728 CFLAGS
729 LDFLAGS
730 LIBS
731 CPPFLAGS
732 CXX
733 CXXFLAGS
734 CCC
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 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used" >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1194 cross_compiling=yes
1195 fi
1196 fi
1197
1198 ac_tool_prefix=
1199 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1200
1201 test "$silent" = yes && exec 6>/dev/null
1202
1203
1204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di=`ls -di .` &&
1206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error $? "working directory cannot be determined"
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 as_fn_error $? "pwd does not report name of working directory"
1210
1211
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$as_myself" ||
1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$as_myself" : 'X\(//\)[^/]' \| \
1219 X"$as_myself" : 'X\(//\)$' \| \
1220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 $as_echo X"$as_myself" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 s//\1/
1224 q
1225 }
1226 /^X\(\/\/\)[^/].*/{
1227 s//\1/
1228 q
1229 }
1230 /^X\(\/\/\)$/{
1231 s//\1/
1232 q
1233 }
1234 /^X\(\/\).*/{
1235 s//\1/
1236 q
1237 }
1238 s/.*/./; q'`
1239 srcdir=$ac_confdir
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 srcdir=..
1242 fi
1243 else
1244 ac_srcdir_defaulted=no
1245 fi
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1249 fi
1250 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1251 ac_abs_confdir=`(
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1253 pwd)`
1254 # When building in place, set srcdir=.
1255 if test "$ac_abs_confdir" = "$ac_pwd"; then
1256 srcdir=.
1257 fi
1258 # Remove unnecessary trailing slashes from srcdir.
1259 # Double slashes in file names in object file debugging info
1260 # mess up M-x gdb in Emacs.
1261 case $srcdir in
1262 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1263 esac
1264 for ac_var in $ac_precious_vars; do
1265 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1266 eval ac_env_${ac_var}_value=\$${ac_var}
1267 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1269 done
1270
1271 #
1272 # Report the --help message.
1273 #
1274 if test "$ac_init_help" = "long"; then
1275 # Omit some internal or obsolete options to make the list less imposing.
1276 # This message is too long to be a string in the A/UX 3.1 sh.
1277 cat <<_ACEOF
1278 \`configure' configures foomatic-rip 4.0.17 to adapt to many kinds of systems.
1279
1280 Usage: $0 [OPTION]... [VAR=VALUE]...
1281
1282 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1283 VAR=VALUE. See below for descriptions of some of the useful variables.
1284
1285 Defaults for the options are specified in brackets.
1286
1287 Configuration:
1288 -h, --help display this help and exit
1289 --help=short display options specific to this package
1290 --help=recursive display the short help of all the included packages
1291 -V, --version display version information and exit
1292 -q, --quiet, --silent do not print \`checking ...' messages
1293 --cache-file=FILE cache test results in FILE [disabled]
1294 -C, --config-cache alias for \`--cache-file=config.cache'
1295 -n, --no-create do not create output files
1296 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1297
1298 Installation directories:
1299 --prefix=PREFIX install architecture-independent files in PREFIX
1300 [$ac_default_prefix]
1301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1302 [PREFIX]
1303
1304 By default, \`make install' will install all the files in
1305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1306 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1307 for instance \`--prefix=\$HOME'.
1308
1309 For better control, use the options below.
1310
1311 Fine tuning of the installation directories:
1312 --bindir=DIR user executables [EPREFIX/bin]
1313 --sbindir=DIR system admin executables [EPREFIX/sbin]
1314 --libexecdir=DIR program executables [EPREFIX/libexec]
1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1318 --libdir=DIR object code libraries [EPREFIX/lib]
1319 --includedir=DIR C header files [PREFIX/include]
1320 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1321 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1322 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1323 --infodir=DIR info documentation [DATAROOTDIR/info]
1324 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1325 --mandir=DIR man documentation [DATAROOTDIR/man]
1326 --docdir=DIR documentation root [DATAROOTDIR/doc/foomatic-rip]
1327 --htmldir=DIR html documentation [DOCDIR]
1328 --dvidir=DIR dvi documentation [DOCDIR]
1329 --pdfdir=DIR pdf documentation [DOCDIR]
1330 --psdir=DIR ps documentation [DOCDIR]
1331 _ACEOF
1332
1333 cat <<\_ACEOF
1334
1335 Program names:
1336 --program-prefix=PREFIX prepend PREFIX to installed program names
1337 --program-suffix=SUFFIX append SUFFIX to installed program names
1338 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1339 _ACEOF
1340 fi
1341
1342 if test -n "$ac_init_help"; then
1343 case $ac_init_help in
1344 short | recursive ) echo "Configuration of foomatic-rip 4.0.17:";;
1345 esac
1346 cat <<\_ACEOF
1347
1348 Optional Features:
1349 --disable-option-checking ignore unrecognized --enable/--with options
1350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1352 --disable-dependency-tracking speeds up one-time build
1353 --enable-dependency-tracking do not reject slow dependency extractors
1354 --enable-file-converter-check check whether a file converter is installed default=yes
1355 --enable-dbus enable DBus CMS code
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-file-converter=a2ps|enscript|mpage|paps
1361 Default: auto
1362 --with-echo=(path to GNU compatible echo command)
1363 Default: echo
1364 --with-execpath=(path to various filters)
1365 Default: ${prefix}/bin:/usr/local/bin:/usr/bin:/bin
1366
1367 Some influential environment variables:
1368 CC C compiler command
1369 CFLAGS C compiler flags
1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1371 nonstandard directory <lib dir>
1372 LIBS libraries to pass to the linker, e.g. -l<library>
1373 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags
1377 CPP C preprocessor
1378
1379 Use these variables to override the choices made by `configure' or to help
1380 it to find libraries and programs with nonstandard names/locations.
1381
1382 Report bugs to the package provider.
1383 _ACEOF
1384 ac_status=$?
1385 fi
1386
1387 if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help.
1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1390 test -d "$ac_dir" ||
1391 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1392 continue
1393 ac_builddir=.
1394
1395 case "$ac_dir" in
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 *)
1398 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1404 esac ;;
1405 esac
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1410
1411 case $srcdir in
1412 .) # We are building in place.
1413 ac_srcdir=.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1420 *) # Relative name.
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1424 esac
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1430 echo &&
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1433 echo &&
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1435 else
1436 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437 fi || ac_status=$?
1438 cd "$ac_pwd" || { ac_status=$?; break; }
1439 done
1440 fi
1441
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1444 cat <<\_ACEOF
1445 foomatic-rip configure 4.0.17
1446 generated by GNU Autoconf 2.68
1447
1448 Copyright (C) 2010 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1451 _ACEOF
1452 exit
1453 fi
1454
1455 ## ------------------------ ##
1456 ## Autoconf initialization. ##
1457 ## ------------------------ ##
1458
1459 # ac_fn_c_try_compile LINENO
1460 # --------------------------
1461 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1462 ac_fn_c_try_compile ()
1463 {
1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1465 rm -f conftest.$ac_objext
1466 if { { ac_try="$ac_compile"
1467 case "(($ac_try" in
1468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1469 *) ac_try_echo=$ac_try;;
1470 esac
1471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1472 $as_echo "$ac_try_echo"; } >&5
1473 (eval "$ac_compile") 2>conftest.err
1474 ac_status=$?
1475 if test -s conftest.err; then
1476 grep -v '^ *+' conftest.err >conftest.er1
1477 cat conftest.er1 >&5
1478 mv -f conftest.er1 conftest.err
1479 fi
1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1481 test $ac_status = 0; } && {
1482 test -z "$ac_c_werror_flag" ||
1483 test ! -s conftest.err
1484 } && test -s conftest.$ac_objext; then :
1485 ac_retval=0
1486 else
1487 $as_echo "$as_me: failed program was:" >&5
1488 sed 's/^/| /' conftest.$ac_ext >&5
1489
1490 ac_retval=1
1491 fi
1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1493 as_fn_set_status $ac_retval
1494
1495 } # ac_fn_c_try_compile
1496
1497 # ac_fn_cxx_try_compile LINENO
1498 # ----------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_cxx_try_compile ()
1501 {
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 rm -f conftest.$ac_objext
1504 if { { ac_try="$ac_compile"
1505 case "(($ac_try" in
1506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1507 *) ac_try_echo=$ac_try;;
1508 esac
1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_compile") 2>conftest.err
1512 ac_status=$?
1513 if test -s conftest.err; then
1514 grep -v '^ *+' conftest.err >conftest.er1
1515 cat conftest.er1 >&5
1516 mv -f conftest.er1 conftest.err
1517 fi
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_cxx_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest.$ac_objext; then :
1523 ac_retval=0
1524 else
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1527
1528 ac_retval=1
1529 fi
1530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1531 as_fn_set_status $ac_retval
1532
1533 } # ac_fn_cxx_try_compile
1534
1535 # ac_fn_c_try_link LINENO
1536 # -----------------------
1537 # Try to link conftest.$ac_ext, and return whether this succeeded.
1538 ac_fn_c_try_link ()
1539 {
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 rm -f conftest.$ac_objext conftest$ac_exeext
1542 if { { ac_try="$ac_link"
1543 case "(($ac_try" in
1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545 *) ac_try_echo=$ac_try;;
1546 esac
1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549 (eval "$ac_link") 2>conftest.err
1550 ac_status=$?
1551 if test -s conftest.err; then
1552 grep -v '^ *+' conftest.err >conftest.er1
1553 cat conftest.er1 >&5
1554 mv -f conftest.er1 conftest.err
1555 fi
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } && {
1558 test -z "$ac_c_werror_flag" ||
1559 test ! -s conftest.err
1560 } && test -s conftest$ac_exeext && {
1561 test "$cross_compiling" = yes ||
1562 $as_test_x conftest$ac_exeext
1563 }; then :
1564 ac_retval=0
1565 else
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1568
1569 ac_retval=1
1570 fi
1571 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1572 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1573 # interfere with the next link command; also delete a directory that is
1574 # left behind by Apple's compiler. We do this before executing the actions.
1575 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577 as_fn_set_status $ac_retval
1578
1579 } # ac_fn_c_try_link
1580
1581 # ac_fn_c_try_cpp LINENO
1582 # ----------------------
1583 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_c_try_cpp ()
1585 {
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_cpp conftest.$ac_ext"
1588 case "(($ac_try" in
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1591 esac
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1595 ac_status=$?
1596 if test -s conftest.err; then
1597 grep -v '^ *+' conftest.err >conftest.er1
1598 cat conftest.er1 >&5
1599 mv -f conftest.er1 conftest.err
1600 fi
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } > conftest.i && {
1603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1604 test ! -s conftest.err
1605 }; then :
1606 ac_retval=0
1607 else
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.$ac_ext >&5
1610
1611 ac_retval=1
1612 fi
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 as_fn_set_status $ac_retval
1615
1616 } # ac_fn_c_try_cpp
1617
1618 # ac_fn_c_try_run LINENO
1619 # ----------------------
1620 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1621 # that executables *can* be run.
1622 ac_fn_c_try_run ()
1623 {
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 if { { ac_try="$ac_link"
1626 case "(($ac_try" in
1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1629 esac
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_link") 2>&5
1633 ac_status=$?
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1636 { { case "(($ac_try" in
1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1639 esac
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_try") 2>&5
1643 ac_status=$?
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; }; }; then :
1646 ac_retval=0
1647 else
1648 $as_echo "$as_me: program exited with status $ac_status" >&5
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1651
1652 ac_retval=$ac_status
1653 fi
1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status $ac_retval
1657
1658 } # ac_fn_c_try_run
1659
1660 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1661 # -------------------------------------------------------
1662 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1663 # the include files in INCLUDES and setting the cache variable VAR
1664 # accordingly.
1665 ac_fn_c_check_header_mongrel ()
1666 {
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 if eval \${$3+:} false; then :
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1670 $as_echo_n "checking for $2... " >&6; }
1671 if eval \${$3+:} false; then :
1672 $as_echo_n "(cached) " >&6
1673 fi
1674 eval ac_res=\$$3
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1676 $as_echo "$ac_res" >&6; }
1677 else
1678 # Is the header compilable?
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1680 $as_echo_n "checking $2 usability... " >&6; }
1681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1682 /* end confdefs.h. */
1683 $4
1684 #include <$2>
1685 _ACEOF
1686 if ac_fn_c_try_compile "$LINENO"; then :
1687 ac_header_compiler=yes
1688 else
1689 ac_header_compiler=no
1690 fi
1691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1693 $as_echo "$ac_header_compiler" >&6; }
1694
1695 # Is the header present?
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1697 $as_echo_n "checking $2 presence... " >&6; }
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1700 #include <$2>
1701 _ACEOF
1702 if ac_fn_c_try_cpp "$LINENO"; then :
1703 ac_header_preproc=yes
1704 else
1705 ac_header_preproc=no
1706 fi
1707 rm -f conftest.err conftest.i conftest.$ac_ext
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1709 $as_echo "$ac_header_preproc" >&6; }
1710
1711 # So? What about this header?
1712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1713 yes:no: )
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1715 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1717 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1718 ;;
1719 no:yes:* )
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1721 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1723 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1725 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1727 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1729 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1730 ;;
1731 esac
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1736 else
1737 eval "$3=\$ac_header_compiler"
1738 fi
1739 eval ac_res=\$$3
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741 $as_echo "$ac_res" >&6; }
1742 fi
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744
1745 } # ac_fn_c_check_header_mongrel
1746
1747 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1748 # -------------------------------------------------------
1749 # Tests whether HEADER exists and can be compiled using the include files in
1750 # INCLUDES, setting the cache variable VAR accordingly.
1751 ac_fn_c_check_header_compile ()
1752 {
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755 $as_echo_n "checking for $2... " >&6; }
1756 if eval \${$3+:} false; then :
1757 $as_echo_n "(cached) " >&6
1758 else
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1761 $4
1762 #include <$2>
1763 _ACEOF
1764 if ac_fn_c_try_compile "$LINENO"; then :
1765 eval "$3=yes"
1766 else
1767 eval "$3=no"
1768 fi
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 fi
1771 eval ac_res=\$$3
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 $as_echo "$ac_res" >&6; }
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775
1776 } # ac_fn_c_check_header_compile
1777
1778 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1779 # -------------------------------------------
1780 # Tests whether TYPE exists after having included INCLUDES, setting cache
1781 # variable VAR accordingly.
1782 ac_fn_c_check_type ()
1783 {
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if eval \${$3+:} false; then :
1788 $as_echo_n "(cached) " >&6
1789 else
1790 eval "$3=no"
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1793 $4
1794 int
1795 main ()
1796 {
1797 if (sizeof ($2))
1798 return 0;
1799 ;
1800 return 0;
1801 }
1802 _ACEOF
1803 if ac_fn_c_try_compile "$LINENO"; then :
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1806 $4
1807 int
1808 main ()
1809 {
1810 if (sizeof (($2)))
1811 return 0;
1812 ;
1813 return 0;
1814 }
1815 _ACEOF
1816 if ac_fn_c_try_compile "$LINENO"; then :
1817
1818 else
1819 eval "$3=yes"
1820 fi
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 fi
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 fi
1825 eval ac_res=\$$3
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829
1830 } # ac_fn_c_check_type
1831
1832 # ac_fn_c_check_func LINENO FUNC VAR
1833 # ----------------------------------
1834 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1835 ac_fn_c_check_func ()
1836 {
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if eval \${$3+:} false; then :
1841 $as_echo_n "(cached) " >&6
1842 else
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1847 #define $2 innocuous_$2
1848
1849 /* System header to define __stub macros and hopefully few prototypes,
1850 which can conflict with char $2 (); below.
1851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1852 <limits.h> exists even on freestanding compilers. */
1853
1854 #ifdef __STDC__
1855 # include <limits.h>
1856 #else
1857 # include <assert.h>
1858 #endif
1859
1860 #undef $2
1861
1862 /* Override any GCC internal prototype to avoid an error.
1863 Use char because int might match the return type of a GCC
1864 builtin and then its argument prototype would still apply. */
1865 #ifdef __cplusplus
1866 extern "C"
1867 #endif
1868 char $2 ();
1869 /* The GNU C library defines this for functions which it implements
1870 to always fail with ENOSYS. Some functions are actually named
1871 something starting with __ and the normal name is an alias. */
1872 #if defined __stub_$2 || defined __stub___$2
1873 choke me
1874 #endif
1875
1876 int
1877 main ()
1878 {
1879 return $2 ();
1880 ;
1881 return 0;
1882 }
1883 _ACEOF
1884 if ac_fn_c_try_link "$LINENO"; then :
1885 eval "$3=yes"
1886 else
1887 eval "$3=no"
1888 fi
1889 rm -f core conftest.err conftest.$ac_objext \
1890 conftest$ac_exeext conftest.$ac_ext
1891 fi
1892 eval ac_res=\$$3
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896
1897 } # ac_fn_c_check_func
1898 cat >config.log <<_ACEOF
1899 This file contains any messages produced by compilers while
1900 running configure, to aid debugging if configure makes a mistake.
1901
1902 It was created by foomatic-rip $as_me 4.0.17, which was
1903 generated by GNU Autoconf 2.68. Invocation command line was
1904
1905 $ $0 $@
1906
1907 _ACEOF
1908 exec 5>>config.log
1909 {
1910 cat <<_ASUNAME
1911 ## --------- ##
1912 ## Platform. ##
1913 ## --------- ##
1914
1915 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1916 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1917 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1918 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1919 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1920
1921 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1922 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1923
1924 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1925 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1926 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1927 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1928 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1929 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1930 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1931
1932 _ASUNAME
1933
1934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 for as_dir in $PATH
1936 do
1937 IFS=$as_save_IFS
1938 test -z "$as_dir" && as_dir=.
1939 $as_echo "PATH: $as_dir"
1940 done
1941 IFS=$as_save_IFS
1942
1943 } >&5
1944
1945 cat >&5 <<_ACEOF
1946
1947
1948 ## ----------- ##
1949 ## Core tests. ##
1950 ## ----------- ##
1951
1952 _ACEOF
1953
1954
1955 # Keep a trace of the command line.
1956 # Strip out --no-create and --no-recursion so they do not pile up.
1957 # Strip out --silent because we don't want to record it for future runs.
1958 # Also quote any args containing shell meta-characters.
1959 # Make two passes to allow for proper duplicate-argument suppression.
1960 ac_configure_args=
1961 ac_configure_args0=
1962 ac_configure_args1=
1963 ac_must_keep_next=false
1964 for ac_pass in 1 2
1965 do
1966 for ac_arg
1967 do
1968 case $ac_arg in
1969 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1971 | -silent | --silent | --silen | --sile | --sil)
1972 continue ;;
1973 *\'*)
1974 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1975 esac
1976 case $ac_pass in
1977 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1978 2)
1979 as_fn_append ac_configure_args1 " '$ac_arg'"
1980 if test $ac_must_keep_next = true; then
1981 ac_must_keep_next=false # Got value, back to normal.
1982 else
1983 case $ac_arg in
1984 *=* | --config-cache | -C | -disable-* | --disable-* \
1985 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1986 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1987 | -with-* | --with-* | -without-* | --without-* | --x)
1988 case "$ac_configure_args0 " in
1989 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1990 esac
1991 ;;
1992 -* ) ac_must_keep_next=true ;;
1993 esac
1994 fi
1995 as_fn_append ac_configure_args " '$ac_arg'"
1996 ;;
1997 esac
1998 done
1999 done
2000 { ac_configure_args0=; unset ac_configure_args0;}
2001 { ac_configure_args1=; unset ac_configure_args1;}
2002
2003 # When interrupted or exit'd, cleanup temporary files, and complete
2004 # config.log. We remove comments because anyway the quotes in there
2005 # would cause problems or look ugly.
2006 # WARNING: Use '\'' to represent an apostrophe within the trap.
2007 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2008 trap 'exit_status=$?
2009 # Save into config.log some information that might help in debugging.
2010 {
2011 echo
2012
2013 $as_echo "## ---------------- ##
2014 ## Cache variables. ##
2015 ## ---------------- ##"
2016 echo
2017 # The following way of writing the cache mishandles newlines in values,
2018 (
2019 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2020 eval ac_val=\$$ac_var
2021 case $ac_val in #(
2022 *${as_nl}*)
2023 case $ac_var in #(
2024 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2025 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2026 esac
2027 case $ac_var in #(
2028 _ | IFS | as_nl) ;; #(
2029 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2030 *) { eval $ac_var=; unset $ac_var;} ;;
2031 esac ;;
2032 esac
2033 done
2034 (set) 2>&1 |
2035 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2036 *${as_nl}ac_space=\ *)
2037 sed -n \
2038 "s/'\''/'\''\\\\'\'''\''/g;
2039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2040 ;; #(
2041 *)
2042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2043 ;;
2044 esac |
2045 sort
2046 )
2047 echo
2048
2049 $as_echo "## ----------------- ##
2050 ## Output variables. ##
2051 ## ----------------- ##"
2052 echo
2053 for ac_var in $ac_subst_vars
2054 do
2055 eval ac_val=\$$ac_var
2056 case $ac_val in
2057 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2058 esac
2059 $as_echo "$ac_var='\''$ac_val'\''"
2060 done | sort
2061 echo
2062
2063 if test -n "$ac_subst_files"; then
2064 $as_echo "## ------------------- ##
2065 ## File substitutions. ##
2066 ## ------------------- ##"
2067 echo
2068 for ac_var in $ac_subst_files
2069 do
2070 eval ac_val=\$$ac_var
2071 case $ac_val in
2072 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 esac
2074 $as_echo "$ac_var='\''$ac_val'\''"
2075 done | sort
2076 echo
2077 fi
2078
2079 if test -s confdefs.h; then
2080 $as_echo "## ----------- ##
2081 ## confdefs.h. ##
2082 ## ----------- ##"
2083 echo
2084 cat confdefs.h
2085 echo
2086 fi
2087 test "$ac_signal" != 0 &&
2088 $as_echo "$as_me: caught signal $ac_signal"
2089 $as_echo "$as_me: exit $exit_status"
2090 } >&5
2091 rm -f core *.core core.conftest.* &&
2092 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2093 exit $exit_status
2094 ' 0
2095 for ac_signal in 1 2 13 15; do
2096 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2097 done
2098 ac_signal=0
2099
2100 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2101 rm -f -r conftest* confdefs.h
2102
2103 $as_echo "/* confdefs.h */" > confdefs.h
2104
2105 # Predefined preprocessor variables.
2106
2107 cat >>confdefs.h <<_ACEOF
2108 #define PACKAGE_NAME "$PACKAGE_NAME"
2109 _ACEOF
2110
2111 cat >>confdefs.h <<_ACEOF
2112 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2113 _ACEOF
2114
2115 cat >>confdefs.h <<_ACEOF
2116 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2117 _ACEOF
2118
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_STRING "$PACKAGE_STRING"
2121 _ACEOF
2122
2123 cat >>confdefs.h <<_ACEOF
2124 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2125 _ACEOF
2126
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_URL "$PACKAGE_URL"
2129 _ACEOF
2130
2131
2132 # Let the site file select an alternate cache file if it wants to.
2133 # Prefer an explicitly selected file to automatically selected ones.
2134 ac_site_file1=NONE
2135 ac_site_file2=NONE
2136 if test -n "$CONFIG_SITE"; then
2137 # We do not want a PATH search for config.site.
2138 case $CONFIG_SITE in #((
2139 -*) ac_site_file1=./$CONFIG_SITE;;
2140 */*) ac_site_file1=$CONFIG_SITE;;
2141 *) ac_site_file1=./$CONFIG_SITE;;
2142 esac
2143 elif test "x$prefix" != xNONE; then
2144 ac_site_file1=$prefix/share/config.site
2145 ac_site_file2=$prefix/etc/config.site
2146 else
2147 ac_site_file1=$ac_default_prefix/share/config.site
2148 ac_site_file2=$ac_default_prefix/etc/config.site
2149 fi
2150 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2151 do
2152 test "x$ac_site_file" = xNONE && continue
2153 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2155 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2156 sed 's/^/| /' "$ac_site_file" >&5
2157 . "$ac_site_file" \
2158 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2160 as_fn_error $? "failed to load site script $ac_site_file
2161 See \`config.log' for more details" "$LINENO" 5; }
2162 fi
2163 done
2164
2165 if test -r "$cache_file"; then
2166 # Some versions of bash will fail to source /dev/null (special files
2167 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2168 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2170 $as_echo "$as_me: loading cache $cache_file" >&6;}
2171 case $cache_file in
2172 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2173 *) . "./$cache_file";;
2174 esac
2175 fi
2176 else
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2178 $as_echo "$as_me: creating cache $cache_file" >&6;}
2179 >$cache_file
2180 fi
2181
2182 # Check that the precious variables saved in the cache have kept the same
2183 # value.
2184 ac_cache_corrupted=false
2185 for ac_var in $ac_precious_vars; do
2186 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2187 eval ac_new_set=\$ac_env_${ac_var}_set
2188 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2189 eval ac_new_val=\$ac_env_${ac_var}_value
2190 case $ac_old_set,$ac_new_set in
2191 set,)
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2193 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2194 ac_cache_corrupted=: ;;
2195 ,set)
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2197 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2198 ac_cache_corrupted=: ;;
2199 ,);;
2200 *)
2201 if test "x$ac_old_val" != "x$ac_new_val"; then
2202 # differences in whitespace do not lead to failure.
2203 ac_old_val_w=`echo x $ac_old_val`
2204 ac_new_val_w=`echo x $ac_new_val`
2205 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2207 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2208 ac_cache_corrupted=:
2209 else
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2211 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2212 eval $ac_var=\$ac_old_val
2213 fi
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2215 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2217 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2218 fi;;
2219 esac
2220 # Pass precious variables to config.status.
2221 if test "$ac_new_set" = set; then
2222 case $ac_new_val in
2223 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2224 *) ac_arg=$ac_var=$ac_new_val ;;
2225 esac
2226 case " $ac_configure_args " in
2227 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2228 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2229 esac
2230 fi
2231 done
2232 if $ac_cache_corrupted; then
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2236 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2237 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2238 fi
2239 ## -------------------- ##
2240 ## Main body of script. ##
2241 ## -------------------- ##
2242
2243 ac_ext=c
2244 ac_cpp='$CPP $CPPFLAGS'
2245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2248
2249
2250 am__api_version='1.11'
2251
2252 ac_aux_dir=
2253 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2254 if test -f "$ac_dir/install-sh"; then
2255 ac_aux_dir=$ac_dir
2256 ac_install_sh="$ac_aux_dir/install-sh -c"
2257 break
2258 elif test -f "$ac_dir/install.sh"; then
2259 ac_aux_dir=$ac_dir
2260 ac_install_sh="$ac_aux_dir/install.sh -c"
2261 break
2262 elif test -f "$ac_dir/shtool"; then
2263 ac_aux_dir=$ac_dir
2264 ac_install_sh="$ac_aux_dir/shtool install -c"
2265 break
2266 fi
2267 done
2268 if test -z "$ac_aux_dir"; then
2269 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2270 fi
2271
2272 # These three variables are undocumented and unsupported,
2273 # and are intended to be withdrawn in a future Autoconf release.
2274 # They can cause serious problems if a builder's source tree is in a directory
2275 # whose full name contains unusual characters.
2276 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2277 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2278 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2279
2280
2281 # Find a good install program. We prefer a C program (faster),
2282 # so one script is as good as another. But avoid the broken or
2283 # incompatible versions:
2284 # SysV /etc/install, /usr/sbin/install
2285 # SunOS /usr/etc/install
2286 # IRIX /sbin/install
2287 # AIX /bin/install
2288 # AmigaOS /C/install, which installs bootblocks on floppy discs
2289 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2290 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2291 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2292 # OS/2's system install, which has a completely different semantic
2293 # ./install, which can be erroneously created by make from ./install.sh.
2294 # Reject install programs that cannot install multiple files.
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2296 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2297 if test -z "$INSTALL"; then
2298 if ${ac_cv_path_install+:} false; then :
2299 $as_echo_n "(cached) " >&6
2300 else
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 for as_dir in $PATH
2303 do
2304 IFS=$as_save_IFS
2305 test -z "$as_dir" && as_dir=.
2306 # Account for people who put trailing slashes in PATH elements.
2307 case $as_dir/ in #((
2308 ./ | .// | /[cC]/* | \
2309 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2310 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2311 /usr/ucb/* ) ;;
2312 *)
2313 # OSF1 and SCO ODT 3.0 have their own names for install.
2314 # Don't use installbsd from OSF since it installs stuff as root
2315 # by default.
2316 for ac_prog in ginstall scoinst install; do
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2319 if test $ac_prog = install &&
2320 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2321 # AIX install. It has an incompatible calling convention.
2322 :
2323 elif test $ac_prog = install &&
2324 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2325 # program-specific install script used by HP pwplus--don't use.
2326 :
2327 else
2328 rm -rf conftest.one conftest.two conftest.dir
2329 echo one > conftest.one
2330 echo two > conftest.two
2331 mkdir conftest.dir
2332 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2333 test -s conftest.one && test -s conftest.two &&
2334 test -s conftest.dir/conftest.one &&
2335 test -s conftest.dir/conftest.two
2336 then
2337 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2338 break 3
2339 fi
2340 fi
2341 fi
2342 done
2343 done
2344 ;;
2345 esac
2346
2347 done
2348 IFS=$as_save_IFS
2349
2350 rm -rf conftest.one conftest.two conftest.dir
2351
2352 fi
2353 if test "${ac_cv_path_install+set}" = set; then
2354 INSTALL=$ac_cv_path_install
2355 else
2356 # As a last resort, use the slow shell script. Don't cache a
2357 # value for INSTALL within a source directory, because that will
2358 # break other packages using the cache if that directory is
2359 # removed, or if the value is a relative name.
2360 INSTALL=$ac_install_sh
2361 fi
2362 fi
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2364 $as_echo "$INSTALL" >&6; }
2365
2366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2367 # It thinks the first close brace ends the variable substitution.
2368 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2369
2370 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2371
2372 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2373
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2375 $as_echo_n "checking whether build environment is sane... " >&6; }
2376 # Just in case
2377 sleep 1
2378 echo timestamp > conftest.file
2379 # Reject unsafe characters in $srcdir or the absolute working directory
2380 # name. Accept space and tab only in the latter.
2381 am_lf='
2382 '
2383 case `pwd` in
2384 *[\\\"\#\$\&\'\`$am_lf]*)
2385 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2386 esac
2387 case $srcdir in
2388 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2389 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2390 esac
2391
2392 # Do `set' in a subshell so we don't clobber the current shell's
2393 # arguments. Must try -L first in case configure is actually a
2394 # symlink; some systems play weird games with the mod time of symlinks
2395 # (eg FreeBSD returns the mod time of the symlink's containing
2396 # directory).
2397 if (
2398 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2399 if test "$*" = "X"; then
2400 # -L didn't work.
2401 set X `ls -t "$srcdir/configure" conftest.file`
2402 fi
2403 rm -f conftest.file
2404 if test "$*" != "X $srcdir/configure conftest.file" \
2405 && test "$*" != "X conftest.file $srcdir/configure"; then
2406
2407 # If neither matched, then we have a broken ls. This can happen
2408 # if, for instance, CONFIG_SHELL is bash and it inherits a
2409 # broken ls alias from the environment. This has actually
2410 # happened. Such a system could not be considered "sane".
2411 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2412 alias in your environment" "$LINENO" 5
2413 fi
2414
2415 test "$2" = conftest.file
2416 )
2417 then
2418 # Ok.
2419 :
2420 else
2421 as_fn_error $? "newly created file is older than distributed files!
2422 Check your system clock" "$LINENO" 5
2423 fi
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2425 $as_echo "yes" >&6; }
2426 test "$program_prefix" != NONE &&
2427 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2428 # Use a double $ so make ignores it.
2429 test "$program_suffix" != NONE &&
2430 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2431 # Double any \ or $.
2432 # By default was `s,x,x', remove it if useless.
2433 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2434 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2435
2436 # expand $ac_aux_dir to an absolute path
2437 am_aux_dir=`cd $ac_aux_dir && pwd`
2438
2439 if test x"${MISSING+set}" != xset; then
2440 case $am_aux_dir in
2441 *\ * | *\ *)
2442 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2443 *)
2444 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2445 esac
2446 fi
2447 # Use eval to expand $SHELL
2448 if eval "$MISSING --run true"; then
2449 am_missing_run="$MISSING --run "
2450 else
2451 am_missing_run=
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2453 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2454 fi
2455
2456 if test x"${install_sh}" != xset; then
2457 case $am_aux_dir in
2458 *\ * | *\ *)
2459 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2460 *)
2461 install_sh="\${SHELL} $am_aux_dir/install-sh"
2462 esac
2463 fi
2464
2465 # Installed binaries are usually stripped using `strip' when the user
2466 # run `make install-strip'. However `strip' might not be the right
2467 # tool to use in cross-compilation environments, therefore Automake
2468 # will honor the `STRIP' environment variable to overrule this program.
2469 if test "$cross_compiling" != no; then
2470 if test -n "$ac_tool_prefix"; then
2471 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2472 set dummy ${ac_tool_prefix}strip; ac_word=$2
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2474 $as_echo_n "checking for $ac_word... " >&6; }
2475 if ${ac_cv_prog_STRIP+:} false; then :
2476 $as_echo_n "(cached) " >&6
2477 else
2478 if test -n "$STRIP"; then
2479 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2480 else
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 for as_dir in $PATH
2483 do
2484 IFS=$as_save_IFS
2485 test -z "$as_dir" && as_dir=.
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 break 2
2491 fi
2492 done
2493 done
2494 IFS=$as_save_IFS
2495
2496 fi
2497 fi
2498 STRIP=$ac_cv_prog_STRIP
2499 if test -n "$STRIP"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2501 $as_echo "$STRIP" >&6; }
2502 else
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2504 $as_echo "no" >&6; }
2505 fi
2506
2507
2508 fi
2509 if test -z "$ac_cv_prog_STRIP"; then
2510 ac_ct_STRIP=$STRIP
2511 # Extract the first word of "strip", so it can be a program name with args.
2512 set dummy strip; ac_word=$2
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2514 $as_echo_n "checking for $ac_word... " >&6; }
2515 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2516 $as_echo_n "(cached) " >&6
2517 else
2518 if test -n "$ac_ct_STRIP"; then
2519 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2520 else
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2523 do
2524 IFS=$as_save_IFS
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_ac_ct_STRIP="strip"
2529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 break 2
2531 fi
2532 done
2533 done
2534 IFS=$as_save_IFS
2535
2536 fi
2537 fi
2538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2539 if test -n "$ac_ct_STRIP"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2541 $as_echo "$ac_ct_STRIP" >&6; }
2542 else
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2544 $as_echo "no" >&6; }
2545 fi
2546
2547 if test "x$ac_ct_STRIP" = x; then
2548 STRIP=":"
2549 else
2550 case $cross_compiling:$ac_tool_warned in
2551 yes:)
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2554 ac_tool_warned=yes ;;
2555 esac
2556 STRIP=$ac_ct_STRIP
2557 fi
2558 else
2559 STRIP="$ac_cv_prog_STRIP"
2560 fi
2561
2562 fi
2563 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2564
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2566 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2567 if test -z "$MKDIR_P"; then
2568 if ${ac_cv_path_mkdir+:} false; then :
2569 $as_echo_n "(cached) " >&6
2570 else
2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2573 do
2574 IFS=$as_save_IFS
2575 test -z "$as_dir" && as_dir=.
2576 for ac_prog in mkdir gmkdir; do
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2579 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2580 'mkdir (GNU coreutils) '* | \
2581 'mkdir (coreutils) '* | \
2582 'mkdir (fileutils) '4.1*)
2583 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2584 break 3;;
2585 esac
2586 done
2587 done
2588 done
2589 IFS=$as_save_IFS
2590
2591 fi
2592
2593 test -d ./--version && rmdir ./--version
2594 if test "${ac_cv_path_mkdir+set}" = set; then
2595 MKDIR_P="$ac_cv_path_mkdir -p"
2596 else
2597 # As a last resort, use the slow shell script. Don't cache a
2598 # value for MKDIR_P within a source directory, because that will
2599 # break other packages using the cache if that directory is
2600 # removed, or if the value is a relative name.
2601 MKDIR_P="$ac_install_sh -d"
2602 fi
2603 fi
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2605 $as_echo "$MKDIR_P" >&6; }
2606
2607 mkdir_p="$MKDIR_P"
2608 case $mkdir_p in
2609 [\\/$]* | ?:[\\/]*) ;;
2610 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2611 esac
2612
2613 for ac_prog in gawk mawk nawk awk
2614 do
2615 # Extract the first word of "$ac_prog", so it can be a program name with args.
2616 set dummy $ac_prog; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if ${ac_cv_prog_AWK+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 if test -n "$AWK"; then
2623 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2624 else
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH
2627 do
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_AWK="$ac_prog"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 break 2
2635 fi
2636 done
2637 done
2638 IFS=$as_save_IFS
2639
2640 fi
2641 fi
2642 AWK=$ac_cv_prog_AWK
2643 if test -n "$AWK"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2645 $as_echo "$AWK" >&6; }
2646 else
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2649 fi
2650
2651
2652 test -n "$AWK" && break
2653 done
2654
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2656 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2657 set x ${MAKE-make}
2658 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2659 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2660 $as_echo_n "(cached) " >&6
2661 else
2662 cat >conftest.make <<\_ACEOF
2663 SHELL = /bin/sh
2664 all:
2665 @echo '@@@%%%=$(MAKE)=@@@%%%'
2666 _ACEOF
2667 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2668 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2669 *@@@%%%=?*=@@@%%%*)
2670 eval ac_cv_prog_make_${ac_make}_set=yes;;
2671 *)
2672 eval ac_cv_prog_make_${ac_make}_set=no;;
2673 esac
2674 rm -f conftest.make
2675 fi
2676 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2678 $as_echo "yes" >&6; }
2679 SET_MAKE=
2680 else
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2683 SET_MAKE="MAKE=${MAKE-make}"
2684 fi
2685
2686 rm -rf .tst 2>/dev/null
2687 mkdir .tst 2>/dev/null
2688 if test -d .tst; then
2689 am__leading_dot=.
2690 else
2691 am__leading_dot=_
2692 fi
2693 rmdir .tst 2>/dev/null
2694
2695 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2696 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2697 # is not polluted with repeated "-I."
2698 am__isrc=' -I$(srcdir)'
2699 # test to see if srcdir already configured
2700 if test -f $srcdir/config.status; then
2701 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2702 fi
2703 fi
2704
2705 # test whether we have cygpath
2706 if test -z "$CYGPATH_W"; then
2707 if (cygpath --version) >/dev/null 2>/dev/null; then
2708 CYGPATH_W='cygpath -w'
2709 else
2710 CYGPATH_W=echo
2711 fi
2712 fi
2713
2714
2715 # Define the identity of the package.
2716 PACKAGE='foomatic-rip'
2717 VERSION='4.0.17'
2718
2719
2720 # Some tools Automake needs.
2721
2722 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2723
2724
2725 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2726
2727
2728 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2729
2730
2731 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2732
2733
2734 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2735
2736 # We need awk for the "check" target. The system "awk" is bad on
2737 # some platforms.
2738 # Always define AMTAR for backward compatibility. Yes, it's still used
2739 # in the wild :-( We should find a proper way to deprecate it ...
2740 AMTAR='$${TAR-tar}'
2741
2742 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2743
2744
2745
2746
2747
2748
2749
2750
2751 cat >>confdefs.h <<_ACEOF
2752 #define VERSION "`cat VERSION.full 2> /dev/null`"
2753 _ACEOF
2754
2755
2756
2757 # Checks for programs.
2758 ac_ext=c
2759 ac_cpp='$CPP $CPPFLAGS'
2760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2765 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_CC+:} false; then :
2769 $as_echo_n "(cached) " >&6
2770 else
2771 if test -n "$CC"; then
2772 ac_cv_prog_CC="$CC" # Let the user override the test.
2773 else
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 for as_dir in $PATH
2776 do
2777 IFS=$as_save_IFS
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2781 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2783 break 2
2784 fi
2785 done
2786 done
2787 IFS=$as_save_IFS
2788
2789 fi
2790 fi
2791 CC=$ac_cv_prog_CC
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2795 else
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2798 fi
2799
2800
2801 fi
2802 if test -z "$ac_cv_prog_CC"; then
2803 ac_ct_CC=$CC
2804 # Extract the first word of "gcc", so it can be a program name with args.
2805 set dummy gcc; ac_word=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2809 $as_echo_n "(cached) " >&6
2810 else
2811 if test -n "$ac_ct_CC"; then
2812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2813 else
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815 for as_dir in $PATH
2816 do
2817 IFS=$as_save_IFS
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 ac_cv_prog_ac_ct_CC="gcc"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 break 2
2824 fi
2825 done
2826 done
2827 IFS=$as_save_IFS
2828
2829 fi
2830 fi
2831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2832 if test -n "$ac_ct_CC"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2834 $as_echo "$ac_ct_CC" >&6; }
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2838 fi
2839
2840 if test "x$ac_ct_CC" = x; then
2841 CC=""
2842 else
2843 case $cross_compiling:$ac_tool_warned in
2844 yes:)
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned=yes ;;
2848 esac
2849 CC=$ac_ct_CC
2850 fi
2851 else
2852 CC="$ac_cv_prog_CC"
2853 fi
2854
2855 if test -z "$CC"; then
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2858 set dummy ${ac_tool_prefix}cc; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if ${ac_cv_prog_CC+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863 else
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC="$CC" # Let the user override the test.
2866 else
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 for as_dir in $PATH
2869 do
2870 IFS=$as_save_IFS
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874 ac_cv_prog_CC="${ac_tool_prefix}cc"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 break 2
2877 fi
2878 done
2879 done
2880 IFS=$as_save_IFS
2881
2882 fi
2883 fi
2884 CC=$ac_cv_prog_CC
2885 if test -n "$CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887 $as_echo "$CC" >&6; }
2888 else
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2891 fi
2892
2893
2894 fi
2895 fi
2896 if test -z "$CC"; then
2897 # Extract the first word of "cc", so it can be a program name with args.
2898 set dummy cc; ac_word=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if ${ac_cv_prog_CC+:} false; then :
2902 $as_echo_n "(cached) " >&6
2903 else
2904 if test -n "$CC"; then
2905 ac_cv_prog_CC="$CC" # Let the user override the test.
2906 else
2907 ac_prog_rejected=no
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 for as_dir in $PATH
2910 do
2911 IFS=$as_save_IFS
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2915 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2916 ac_prog_rejected=yes
2917 continue
2918 fi
2919 ac_cv_prog_CC="cc"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 break 2
2922 fi
2923 done
2924 done
2925 IFS=$as_save_IFS
2926
2927 if test $ac_prog_rejected = yes; then
2928 # We found a bogon in the path, so make sure we never use it.
2929 set dummy $ac_cv_prog_CC
2930 shift
2931 if test $# != 0; then
2932 # We chose a different compiler from the bogus one.
2933 # However, it has the same basename, so the bogon will be chosen
2934 # first if we set CC to just the basename; use the full file name.
2935 shift
2936 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2937 fi
2938 fi
2939 fi
2940 fi
2941 CC=$ac_cv_prog_CC
2942 if test -n "$CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2944 $as_echo "$CC" >&6; }
2945 else
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2948 fi
2949
2950
2951 fi
2952 if test -z "$CC"; then
2953 if test -n "$ac_tool_prefix"; then
2954 for ac_prog in cl.exe
2955 do
2956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_CC+:} false; then :
2961 $as_echo_n "(cached) " >&6
2962 else
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC="$CC" # Let the user override the test.
2965 else
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 for as_dir in $PATH
2968 do
2969 IFS=$as_save_IFS
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2973 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 break 2
2976 fi
2977 done
2978 done
2979 IFS=$as_save_IFS
2980
2981 fi
2982 fi
2983 CC=$ac_cv_prog_CC
2984 if test -n "$CC"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986 $as_echo "$CC" >&6; }
2987 else
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2990 fi
2991
2992
2993 test -n "$CC" && break
2994 done
2995 fi
2996 if test -z "$CC"; then
2997 ac_ct_CC=$CC
2998 for ac_prog in cl.exe
2999 do
3000 # Extract the first word of "$ac_prog", so it can be a program name with args.
3001 set dummy $ac_prog; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3009 else
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 for as_dir in $PATH
3012 do
3013 IFS=$as_save_IFS
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3017 ac_cv_prog_ac_ct_CC="$ac_prog"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 break 2
3020 fi
3021 done
3022 done
3023 IFS=$as_save_IFS
3024
3025 fi
3026 fi
3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030 $as_echo "$ac_ct_CC" >&6; }
3031 else
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3034 fi
3035
3036
3037 test -n "$ac_ct_CC" && break
3038 done
3039
3040 if test "x$ac_ct_CC" = x; then
3041 CC=""
3042 else
3043 case $cross_compiling:$ac_tool_warned in
3044 yes:)
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned=yes ;;
3048 esac
3049 CC=$ac_ct_CC
3050 fi
3051 fi
3052
3053 fi
3054
3055
3056 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $? "no acceptable C compiler found in \$PATH
3059 See \`config.log' for more details" "$LINENO" 5; }
3060
3061 # Provide some information about the compiler.
3062 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3063 set X $ac_compile
3064 ac_compiler=$2
3065 for ac_option in --version -v -V -qversion; do
3066 { { ac_try="$ac_compiler $ac_option >&5"
3067 case "(($ac_try" in
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3070 esac
3071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072 $as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3074 ac_status=$?
3075 if test -s conftest.err; then
3076 sed '10a\
3077 ... rest of stderr output deleted ...
3078 10q' conftest.err >conftest.er1
3079 cat conftest.er1 >&5
3080 fi
3081 rm -f conftest.er1 conftest.err
3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3083 test $ac_status = 0; }
3084 done
3085
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3088
3089 int
3090 main ()
3091 {
3092
3093 ;
3094 return 0;
3095 }
3096 _ACEOF
3097 ac_clean_files_save=$ac_clean_files
3098 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3099 # Try to create an executable without -o first, disregard a.out.
3100 # It will help us diagnose broken compilers, and finding out an intuition
3101 # of exeext.
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3103 $as_echo_n "checking whether the C compiler works... " >&6; }
3104 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3105
3106 # The possible output files:
3107 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3108
3109 ac_rmfiles=
3110 for ac_file in $ac_files
3111 do
3112 case $ac_file in
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3114 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3115 esac
3116 done
3117 rm -f $ac_rmfiles
3118
3119 if { { ac_try="$ac_link_default"
3120 case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123 esac
3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_link_default") 2>&5
3127 ac_status=$?
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; }; then :
3130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3133 # so that the user can short-circuit this test for compilers unknown to
3134 # Autoconf.
3135 for ac_file in $ac_files ''
3136 do
3137 test -f "$ac_file" || continue
3138 case $ac_file in
3139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3140 ;;
3141 [ab].out )
3142 # We found the default executable, but exeext='' is most
3143 # certainly right.
3144 break;;
3145 *.* )
3146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3147 then :; else
3148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3149 fi
3150 # We set ac_cv_exeext here because the later test for it is not
3151 # safe: cross compilers may not add the suffix if given an `-o'
3152 # argument, so we may need to know it at that point already.
3153 # Even if this section looks crufty: it has the advantage of
3154 # actually working.
3155 break;;
3156 * )
3157 break;;
3158 esac
3159 done
3160 test "$ac_cv_exeext" = no && ac_cv_exeext=
3161
3162 else
3163 ac_file=''
3164 fi
3165 if test -z "$ac_file"; then :
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 $as_echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3170
3171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 as_fn_error 77 "C compiler cannot create executables
3174 See \`config.log' for more details" "$LINENO" 5; }
3175 else
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3177 $as_echo "yes" >&6; }
3178 fi
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3180 $as_echo_n "checking for C compiler default output file name... " >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3182 $as_echo "$ac_file" >&6; }
3183 ac_exeext=$ac_cv_exeext
3184
3185 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3186 ac_clean_files=$ac_clean_files_save
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3188 $as_echo_n "checking for suffix of executables... " >&6; }
3189 if { { ac_try="$ac_link"
3190 case "(($ac_try" in
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3193 esac
3194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195 $as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_link") 2>&5
3197 ac_status=$?
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; then :
3200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3202 # work properly (i.e., refer to `conftest.exe'), while it won't with
3203 # `rm'.
3204 for ac_file in conftest.exe conftest conftest.*; do
3205 test -f "$ac_file" || continue
3206 case $ac_file in
3207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3209 break;;
3210 * ) break;;
3211 esac
3212 done
3213 else
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3217 See \`config.log' for more details" "$LINENO" 5; }
3218 fi
3219 rm -f conftest conftest$ac_cv_exeext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3221 $as_echo "$ac_cv_exeext" >&6; }
3222
3223 rm -f conftest.$ac_ext
3224 EXEEXT=$ac_cv_exeext
3225 ac_exeext=$EXEEXT
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3228 #include <stdio.h>
3229 int
3230 main ()
3231 {
3232 FILE *f = fopen ("conftest.out", "w");
3233 return ferror (f) || fclose (f) != 0;
3234
3235 ;
3236 return 0;
3237 }
3238 _ACEOF
3239 ac_clean_files="$ac_clean_files conftest.out"
3240 # Check that the compiler produces executables we can run. If not, either
3241 # the compiler is broken, or we cross compile.
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3243 $as_echo_n "checking whether we are cross compiling... " >&6; }
3244 if test "$cross_compiling" != yes; then
3245 { { ac_try="$ac_link"
3246 case "(($ac_try" in
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3249 esac
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 $as_echo "$ac_try_echo"; } >&5
3252 (eval "$ac_link") 2>&5
3253 ac_status=$?
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3256 if { ac_try='./conftest$ac_cv_exeext'
3257 { { case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3260 esac
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_try") 2>&5
3264 ac_status=$?
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; }; then
3267 cross_compiling=no
3268 else
3269 if test "$cross_compiling" = maybe; then
3270 cross_compiling=yes
3271 else
3272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $? "cannot run C compiled programs.
3275 If you meant to cross compile, use \`--host'.
3276 See \`config.log' for more details" "$LINENO" 5; }
3277 fi
3278 fi
3279 fi
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3281 $as_echo "$cross_compiling" >&6; }
3282
3283 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3284 ac_clean_files=$ac_clean_files_save
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3286 $as_echo_n "checking for suffix of object files... " >&6; }
3287 if ${ac_cv_objext+:} false; then :
3288 $as_echo_n "(cached) " >&6
3289 else
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3292
3293 int
3294 main ()
3295 {
3296
3297 ;
3298 return 0;
3299 }
3300 _ACEOF
3301 rm -f conftest.o conftest.obj
3302 if { { ac_try="$ac_compile"
3303 case "(($ac_try" in
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3306 esac
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308 $as_echo "$ac_try_echo"; } >&5
3309 (eval "$ac_compile") 2>&5
3310 ac_status=$?
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }; then :
3313 for ac_file in conftest.o conftest.obj conftest.*; do
3314 test -f "$ac_file" || continue;
3315 case $ac_file in
3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3318 break;;
3319 esac
3320 done
3321 else
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3324
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error $? "cannot compute suffix of object files: cannot compile
3328 See \`config.log' for more details" "$LINENO" 5; }
3329 fi
3330 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3331 fi
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3333 $as_echo "$ac_cv_objext" >&6; }
3334 OBJEXT=$ac_cv_objext
3335 ac_objext=$OBJEXT
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3337 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3338 if ${ac_cv_c_compiler_gnu+:} false; then :
3339 $as_echo_n "(cached) " >&6
3340 else
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3343
3344 int
3345 main ()
3346 {
3347 #ifndef __GNUC__
3348 choke me
3349 #endif
3350
3351 ;
3352 return 0;
3353 }
3354 _ACEOF
3355 if ac_fn_c_try_compile "$LINENO"; then :
3356 ac_compiler_gnu=yes
3357 else
3358 ac_compiler_gnu=no
3359 fi
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3362
3363 fi
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3365 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3366 if test $ac_compiler_gnu = yes; then
3367 GCC=yes
3368 else
3369 GCC=
3370 fi
3371 ac_test_CFLAGS=${CFLAGS+set}
3372 ac_save_CFLAGS=$CFLAGS
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3374 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3375 if ${ac_cv_prog_cc_g+:} false; then :
3376 $as_echo_n "(cached) " >&6
3377 else
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3380 ac_cv_prog_cc_g=no
3381 CFLAGS="-g"
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3384
3385 int
3386 main ()
3387 {
3388
3389 ;
3390 return 0;
3391 }
3392 _ACEOF
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 ac_cv_prog_cc_g=yes
3395 else
3396 CFLAGS=""
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3399
3400 int
3401 main ()
3402 {
3403
3404 ;
3405 return 0;
3406 }
3407 _ACEOF
3408 if ac_fn_c_try_compile "$LINENO"; then :
3409
3410 else
3411 ac_c_werror_flag=$ac_save_c_werror_flag
3412 CFLAGS="-g"
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3415
3416 int
3417 main ()
3418 {
3419
3420 ;
3421 return 0;
3422 }
3423 _ACEOF
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425 ac_cv_prog_cc_g=yes
3426 fi
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 fi
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 fi
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_c_werror_flag=$ac_save_c_werror_flag
3433 fi
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3435 $as_echo "$ac_cv_prog_cc_g" >&6; }
3436 if test "$ac_test_CFLAGS" = set; then
3437 CFLAGS=$ac_save_CFLAGS
3438 elif test $ac_cv_prog_cc_g = yes; then
3439 if test "$GCC" = yes; then
3440 CFLAGS="-g -O2"
3441 else
3442 CFLAGS="-g"
3443 fi
3444 else
3445 if test "$GCC" = yes; then
3446 CFLAGS="-O2"
3447 else
3448 CFLAGS=
3449 fi
3450 fi
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3453 if ${ac_cv_prog_cc_c89+:} false; then :
3454 $as_echo_n "(cached) " >&6
3455 else
3456 ac_cv_prog_cc_c89=no
3457 ac_save_CC=$CC
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3460 #include <stdarg.h>
3461 #include <stdio.h>
3462 #include <sys/types.h>
3463 #include <sys/stat.h>
3464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3465 struct buf { int x; };
3466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3467 static char *e (p, i)
3468 char **p;
3469 int i;
3470 {
3471 return p[i];
3472 }
3473 static char *f (char * (*g) (char **, int), char **p, ...)
3474 {
3475 char *s;
3476 va_list v;
3477 va_start (v,p);
3478 s = g (p, va_arg (v,int));
3479 va_end (v);
3480 return s;
3481 }
3482
3483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3484 function prototypes and stuff, but not '\xHH' hex character constants.
3485 These don't provoke an error unfortunately, instead are silently treated
3486 as 'x'. The following induces an error, until -std is added to get
3487 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3488 array size at least. It's necessary to write '\x00'==0 to get something
3489 that's true only with -std. */
3490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3491
3492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3493 inside strings and character constants. */
3494 #define FOO(x) 'x'
3495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3496
3497 int test (int i, double x);
3498 struct s1 {int (*f) (int a);};
3499 struct s2 {int (*f) (double a);};
3500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3501 int argc;
3502 char **argv;
3503 int
3504 main ()
3505 {
3506 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3507 ;
3508 return 0;
3509 }
3510 _ACEOF
3511 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3512 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3513 do
3514 CC="$ac_save_CC $ac_arg"
3515 if ac_fn_c_try_compile "$LINENO"; then :
3516 ac_cv_prog_cc_c89=$ac_arg
3517 fi
3518 rm -f core conftest.err conftest.$ac_objext
3519 test "x$ac_cv_prog_cc_c89" != "xno" && break
3520 done
3521 rm -f conftest.$ac_ext
3522 CC=$ac_save_CC
3523
3524 fi
3525 # AC_CACHE_VAL
3526 case "x$ac_cv_prog_cc_c89" in
3527 x)
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3529 $as_echo "none needed" >&6; } ;;
3530 xno)
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3532 $as_echo "unsupported" >&6; } ;;
3533 *)
3534 CC="$CC $ac_cv_prog_cc_c89"
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3536 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3537 esac
3538 if test "x$ac_cv_prog_cc_c89" != xno; then :
3539
3540 fi
3541
3542 ac_ext=c
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3547 DEPDIR="${am__leading_dot}deps"
3548
3549 ac_config_commands="$ac_config_commands depfiles"
3550
3551
3552 am_make=${MAKE-make}
3553 cat > confinc << 'END'
3554 am__doit:
3555 @echo this is the am__doit target
3556 .PHONY: am__doit
3557 END
3558 # If we don't find an include directive, just comment out the code.
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3560 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3561 am__include="#"
3562 am__quote=
3563 _am_result=none
3564 # First try GNU make style include.
3565 echo "include confinc" > confmf
3566 # Ignore all kinds of additional output from `make'.
3567 case `$am_make -s -f confmf 2> /dev/null` in #(
3568 *the\ am__doit\ target*)
3569 am__include=include
3570 am__quote=
3571 _am_result=GNU
3572 ;;
3573 esac
3574 # Now try BSD make style include.
3575 if test "$am__include" = "#"; then
3576 echo '.include "confinc"' > confmf
3577 case `$am_make -s -f confmf 2> /dev/null` in #(
3578 *the\ am__doit\ target*)
3579 am__include=.include
3580 am__quote="\""
3581 _am_result=BSD
3582 ;;
3583 esac
3584 fi
3585
3586
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3588 $as_echo "$_am_result" >&6; }
3589 rm -f confinc confmf
3590
3591 # Check whether --enable-dependency-tracking was given.
3592 if test "${enable_dependency_tracking+set}" = set; then :
3593 enableval=$enable_dependency_tracking;
3594 fi
3595
3596 if test "x$enable_dependency_tracking" != xno; then
3597 am_depcomp="$ac_aux_dir/depcomp"
3598 AMDEPBACKSLASH='\'
3599 am__nodep='_no'
3600 fi
3601 if test "x$enable_dependency_tracking" != xno; then
3602 AMDEP_TRUE=
3603 AMDEP_FALSE='#'
3604 else
3605 AMDEP_TRUE='#'
3606 AMDEP_FALSE=
3607 fi
3608
3609
3610
3611 depcc="$CC" am_compiler_list=
3612
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3614 $as_echo_n "checking dependency style of $depcc... " >&6; }
3615 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3616 $as_echo_n "(cached) " >&6
3617 else
3618 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3619 # We make a subdir and do the tests there. Otherwise we can end up
3620 # making bogus files that we don't know about and never remove. For
3621 # instance it was reported that on HP-UX the gcc test will end up
3622 # making a dummy file named `D' -- because `-MD' means `put the output
3623 # in D'.
3624 rm -rf conftest.dir
3625 mkdir conftest.dir
3626 # Copy depcomp to subdir because otherwise we won't find it if we're
3627 # using a relative directory.
3628 cp "$am_depcomp" conftest.dir
3629 cd conftest.dir
3630 # We will build objects and dependencies in a subdirectory because
3631 # it helps to detect inapplicable dependency modes. For instance
3632 # both Tru64's cc and ICC support -MD to output dependencies as a
3633 # side effect of compilation, but ICC will put the dependencies in
3634 # the current directory while Tru64 will put them in the object
3635 # directory.
3636 mkdir sub
3637
3638 am_cv_CC_dependencies_compiler_type=none
3639 if test "$am_compiler_list" = ""; then
3640 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3641 fi
3642 am__universal=false
3643 case " $depcc " in #(
3644 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3645 esac
3646
3647 for depmode in $am_compiler_list; do
3648 # Setup a source with many dependencies, because some compilers
3649 # like to wrap large dependency lists on column 80 (with \), and
3650 # we should not choose a depcomp mode which is confused by this.
3651 #
3652 # We need to recreate these files for each test, as the compiler may
3653 # overwrite some of them when testing with obscure command lines.
3654 # This happens at least with the AIX C compiler.
3655 : > sub/conftest.c
3656 for i in 1 2 3 4 5 6; do
3657 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3658 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3659 # Solaris 8's {/usr,}/bin/sh.
3660 touch sub/conftst$i.h
3661 done
3662 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3663
3664 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3665 # mode. It turns out that the SunPro C++ compiler does not properly
3666 # handle `-M -o', and we need to detect this. Also, some Intel
3667 # versions had trouble with output in subdirs
3668 am__obj=sub/conftest.${OBJEXT-o}
3669 am__minus_obj="-o $am__obj"
3670 case $depmode in
3671 gcc)
3672 # This depmode causes a compiler race in universal mode.
3673 test "$am__universal" = false || continue
3674 ;;
3675 nosideeffect)
3676 # after this tag, mechanisms are not by side-effect, so they'll
3677 # only be used when explicitly requested
3678 if test "x$enable_dependency_tracking" = xyes; then
3679 continue
3680 else
3681 break
3682 fi
3683 ;;
3684 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3685 # This compiler won't grok `-c -o', but also, the minuso test has
3686 # not run yet. These depmodes are late enough in the game, and
3687 # so weak that their functioning should not be impacted.
3688 am__obj=conftest.${OBJEXT-o}
3689 am__minus_obj=
3690 ;;
3691 none) break ;;
3692 esac
3693 if depmode=$depmode \
3694 source=sub/conftest.c object=$am__obj \
3695 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3696 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3697 >/dev/null 2>conftest.err &&
3698 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3699 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3700 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3701 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3702 # icc doesn't choke on unknown options, it will just issue warnings
3703 # or remarks (even with -Werror). So we grep stderr for any message
3704 # that says an option was ignored or not supported.
3705 # When given -MP, icc 7.0 and 7.1 complain thusly:
3706 # icc: Command line warning: ignoring option '-M'; no argument required
3707 # The diagnosis changed in icc 8.0:
3708 # icc: Command line remark: option '-MP' not supported
3709 if (grep 'ignoring option' conftest.err ||
3710 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3711 am_cv_CC_dependencies_compiler_type=$depmode
3712 break
3713 fi
3714 fi
3715 done
3716
3717 cd ..
3718 rm -rf conftest.dir
3719 else
3720 am_cv_CC_dependencies_compiler_type=none
3721 fi
3722
3723 fi
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3725 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3726 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3727
3728 if
3729 test "x$enable_dependency_tracking" != xno \
3730 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3731 am__fastdepCC_TRUE=
3732 am__fastdepCC_FALSE='#'
3733 else
3734 am__fastdepCC_TRUE='#'
3735 am__fastdepCC_FALSE=
3736 fi
3737
3738
3739 ac_ext=cpp
3740 ac_cpp='$CXXCPP $CPPFLAGS'
3741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3744 if test -z "$CXX"; then
3745 if test -n "$CCC"; then
3746 CXX=$CCC
3747 else
3748 if test -n "$ac_tool_prefix"; then
3749 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3750 do
3751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if ${ac_cv_prog_CXX+:} false; then :
3756 $as_echo_n "(cached) " >&6
3757 else
3758 if test -n "$CXX"; then
3759 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3760 else
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH
3763 do
3764 IFS=$as_save_IFS
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3768 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 break 2
3771 fi
3772 done
3773 done
3774 IFS=$as_save_IFS
3775
3776 fi
3777 fi
3778 CXX=$ac_cv_prog_CXX
3779 if test -n "$CXX"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3781 $as_echo "$CXX" >&6; }
3782 else
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3785 fi
3786
3787
3788 test -n "$CXX" && break
3789 done
3790 fi
3791 if test -z "$CXX"; then
3792 ac_ct_CXX=$CXX
3793 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3794 do
3795 # Extract the first word of "$ac_prog", so it can be a program name with args.
3796 set dummy $ac_prog; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3800 $as_echo_n "(cached) " >&6
3801 else
3802 if test -n "$ac_ct_CXX"; then
3803 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3804 else
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH
3807 do
3808 IFS=$as_save_IFS
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812 ac_cv_prog_ac_ct_CXX="$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 break 2
3815 fi
3816 done
3817 done
3818 IFS=$as_save_IFS
3819
3820 fi
3821 fi
3822 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3823 if test -n "$ac_ct_CXX"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3825 $as_echo "$ac_ct_CXX" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3829 fi
3830
3831
3832 test -n "$ac_ct_CXX" && break
3833 done
3834
3835 if test "x$ac_ct_CXX" = x; then
3836 CXX="g++"
3837 else
3838 case $cross_compiling:$ac_tool_warned in
3839 yes:)
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3842 ac_tool_warned=yes ;;
3843 esac
3844 CXX=$ac_ct_CXX
3845 fi
3846 fi
3847
3848 fi
3849 fi
3850 # Provide some information about the compiler.
3851 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3852 set X $ac_compile
3853 ac_compiler=$2
3854 for ac_option in --version -v -V -qversion; do
3855 { { ac_try="$ac_compiler $ac_option >&5"
3856 case "(($ac_try" in
3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3859 esac
3860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3861 $as_echo "$ac_try_echo"; } >&5
3862 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3863 ac_status=$?
3864 if test -s conftest.err; then
3865 sed '10a\
3866 ... rest of stderr output deleted ...
3867 10q' conftest.err >conftest.er1
3868 cat conftest.er1 >&5
3869 fi
3870 rm -f conftest.er1 conftest.err
3871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3872 test $ac_status = 0; }
3873 done
3874
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3876 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3877 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3882
3883 int
3884 main ()
3885 {
3886 #ifndef __GNUC__
3887 choke me
3888 #endif
3889
3890 ;
3891 return 0;
3892 }
3893 _ACEOF
3894 if ac_fn_cxx_try_compile "$LINENO"; then :
3895 ac_compiler_gnu=yes
3896 else
3897 ac_compiler_gnu=no
3898 fi
3899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3901
3902 fi
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3904 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3905 if test $ac_compiler_gnu = yes; then
3906 GXX=yes
3907 else
3908 GXX=
3909 fi
3910 ac_test_CXXFLAGS=${CXXFLAGS+set}
3911 ac_save_CXXFLAGS=$CXXFLAGS
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3913 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3914 if ${ac_cv_prog_cxx_g+:} false; then :
3915 $as_echo_n "(cached) " >&6
3916 else
3917 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3918 ac_cxx_werror_flag=yes
3919 ac_cv_prog_cxx_g=no
3920 CXXFLAGS="-g"
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3923
3924 int
3925 main ()
3926 {
3927
3928 ;
3929 return 0;
3930 }
3931 _ACEOF
3932 if ac_fn_cxx_try_compile "$LINENO"; then :
3933 ac_cv_prog_cxx_g=yes
3934 else
3935 CXXFLAGS=""
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3938
3939 int
3940 main ()
3941 {
3942
3943 ;
3944 return 0;
3945 }
3946 _ACEOF
3947 if ac_fn_cxx_try_compile "$LINENO"; then :
3948
3949 else
3950 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3951 CXXFLAGS="-g"
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3954
3955 int
3956 main ()
3957 {
3958
3959 ;
3960 return 0;
3961 }
3962 _ACEOF
3963 if ac_fn_cxx_try_compile "$LINENO"; then :
3964 ac_cv_prog_cxx_g=yes
3965 fi
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 fi
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 fi
3970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3972 fi
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3974 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3975 if test "$ac_test_CXXFLAGS" = set; then
3976 CXXFLAGS=$ac_save_CXXFLAGS
3977 elif test $ac_cv_prog_cxx_g = yes; then
3978 if test "$GXX" = yes; then
3979 CXXFLAGS="-g -O2"
3980 else
3981 CXXFLAGS="-g"
3982 fi
3983 else
3984 if test "$GXX" = yes; then
3985 CXXFLAGS="-O2"
3986 else
3987 CXXFLAGS=
3988 fi
3989 fi
3990 ac_ext=c
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3995
3996 depcc="$CXX" am_compiler_list=
3997
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3999 $as_echo_n "checking dependency style of $depcc... " >&6; }
4000 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4001 $as_echo_n "(cached) " >&6
4002 else
4003 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4004 # We make a subdir and do the tests there. Otherwise we can end up
4005 # making bogus files that we don't know about and never remove. For
4006 # instance it was reported that on HP-UX the gcc test will end up
4007 # making a dummy file named `D' -- because `-MD' means `put the output
4008 # in D'.
4009 rm -rf conftest.dir
4010 mkdir conftest.dir
4011 # Copy depcomp to subdir because otherwise we won't find it if we're
4012 # using a relative directory.
4013 cp "$am_depcomp" conftest.dir
4014 cd conftest.dir
4015 # We will build objects and dependencies in a subdirectory because
4016 # it helps to detect inapplicable dependency modes. For instance
4017 # both Tru64's cc and ICC support -MD to output dependencies as a
4018 # side effect of compilation, but ICC will put the dependencies in
4019 # the current directory while Tru64 will put them in the object
4020 # directory.
4021 mkdir sub
4022
4023 am_cv_CXX_dependencies_compiler_type=none
4024 if test "$am_compiler_list" = ""; then
4025 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4026 fi
4027 am__universal=false
4028 case " $depcc " in #(
4029 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4030 esac
4031
4032 for depmode in $am_compiler_list; do
4033 # Setup a source with many dependencies, because some compilers
4034 # like to wrap large dependency lists on column 80 (with \), and
4035 # we should not choose a depcomp mode which is confused by this.
4036 #
4037 # We need to recreate these files for each test, as the compiler may
4038 # overwrite some of them when testing with obscure command lines.
4039 # This happens at least with the AIX C compiler.
4040 : > sub/conftest.c
4041 for i in 1 2 3 4 5 6; do
4042 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4043 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4044 # Solaris 8's {/usr,}/bin/sh.
4045 touch sub/conftst$i.h
4046 done
4047 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4048
4049 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4050 # mode. It turns out that the SunPro C++ compiler does not properly
4051 # handle `-M -o', and we need to detect this. Also, some Intel
4052 # versions had trouble with output in subdirs
4053 am__obj=sub/conftest.${OBJEXT-o}
4054 am__minus_obj="-o $am__obj"
4055 case $depmode in
4056 gcc)
4057 # This depmode causes a compiler race in universal mode.
4058 test "$am__universal" = false || continue
4059 ;;
4060 nosideeffect)
4061 # after this tag, mechanisms are not by side-effect, so they'll
4062 # only be used when explicitly requested
4063 if test "x$enable_dependency_tracking" = xyes; then
4064 continue
4065 else
4066 break
4067 fi
4068 ;;
4069 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4070 # This compiler won't grok `-c -o', but also, the minuso test has
4071 # not run yet. These depmodes are late enough in the game, and
4072 # so weak that their functioning should not be impacted.
4073 am__obj=conftest.${OBJEXT-o}
4074 am__minus_obj=
4075 ;;
4076 none) break ;;
4077 esac
4078 if depmode=$depmode \
4079 source=sub/conftest.c object=$am__obj \
4080 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4081 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4082 >/dev/null 2>conftest.err &&
4083 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4084 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4085 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4086 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4087 # icc doesn't choke on unknown options, it will just issue warnings
4088 # or remarks (even with -Werror). So we grep stderr for any message
4089 # that says an option was ignored or not supported.
4090 # When given -MP, icc 7.0 and 7.1 complain thusly:
4091 # icc: Command line warning: ignoring option '-M'; no argument required
4092 # The diagnosis changed in icc 8.0:
4093 # icc: Command line remark: option '-MP' not supported
4094 if (grep 'ignoring option' conftest.err ||
4095 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4096 am_cv_CXX_dependencies_compiler_type=$depmode
4097 break
4098 fi
4099 fi
4100 done
4101
4102 cd ..
4103 rm -rf conftest.dir
4104 else
4105 am_cv_CXX_dependencies_compiler_type=none
4106 fi
4107
4108 fi
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4110 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4111 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4112
4113 if
4114 test "x$enable_dependency_tracking" != xno \
4115 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4116 am__fastdepCXX_TRUE=
4117 am__fastdepCXX_FALSE='#'
4118 else
4119 am__fastdepCXX_TRUE='#'
4120 am__fastdepCXX_FALSE=
4121 fi
4122
4123
4124
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4126 $as_echo_n "checking whether ln -s works... " >&6; }
4127 LN_S=$as_ln_s
4128 if test "$LN_S" = "ln -s"; then
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4130 $as_echo "yes" >&6; }
4131 else
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4133 $as_echo "no, using $LN_S" >&6; }
4134 fi
4135
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4137 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4138 set x ${MAKE-make}
4139 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4140 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4141 $as_echo_n "(cached) " >&6
4142 else
4143 cat >conftest.make <<\_ACEOF
4144 SHELL = /bin/sh
4145 all:
4146 @echo '@@@%%%=$(MAKE)=@@@%%%'
4147 _ACEOF
4148 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4149 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4150 *@@@%%%=?*=@@@%%%*)
4151 eval ac_cv_prog_make_${ac_make}_set=yes;;
4152 *)
4153 eval ac_cv_prog_make_${ac_make}_set=no;;
4154 esac
4155 rm -f conftest.make
4156 fi
4157 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4159 $as_echo "yes" >&6; }
4160 SET_MAKE=
4161 else
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4164 SET_MAKE="MAKE=${MAKE-make}"
4165 fi
4166
4167
4168 # Allows per-target compilation flags
4169 if test "x$CC" != xcc; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4171 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4172 else
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4174 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4175 fi
4176 set dummy $CC; ac_cc=`$as_echo "$2" |
4177 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4178 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4179 $as_echo_n "(cached) " >&6
4180 else
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4183
4184 int
4185 main ()
4186 {
4187
4188 ;
4189 return 0;
4190 }
4191 _ACEOF
4192 # Make sure it works both with $CC and with simple cc.
4193 # We do the test twice because some compilers refuse to overwrite an
4194 # existing .o file with -o, though they will create one.
4195 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4196 rm -f conftest2.*
4197 if { { case "(($ac_try" in
4198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4199 *) ac_try_echo=$ac_try;;
4200 esac
4201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4202 $as_echo "$ac_try_echo"; } >&5
4203 (eval "$ac_try") 2>&5
4204 ac_status=$?
4205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4206 test $ac_status = 0; } &&
4207 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4210 esac
4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4212 $as_echo "$ac_try_echo"; } >&5
4213 (eval "$ac_try") 2>&5
4214 ac_status=$?
4215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4216 test $ac_status = 0; };
4217 then
4218 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4219 if test "x$CC" != xcc; then
4220 # Test first that cc exists at all.
4221 if { ac_try='cc -c conftest.$ac_ext >&5'
4222 { { case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4227 $as_echo "$ac_try_echo"; } >&5
4228 (eval "$ac_try") 2>&5
4229 ac_status=$?
4230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4231 test $ac_status = 0; }; }; then
4232 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4233 rm -f conftest2.*
4234 if { { case "(($ac_try" in
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4237 esac
4238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4239 $as_echo "$ac_try_echo"; } >&5
4240 (eval "$ac_try") 2>&5
4241 ac_status=$?
4242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4243 test $ac_status = 0; } &&
4244 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4247 esac
4248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4249 $as_echo "$ac_try_echo"; } >&5
4250 (eval "$ac_try") 2>&5
4251 ac_status=$?
4252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4253 test $ac_status = 0; };
4254 then
4255 # cc works too.
4256 :
4257 else
4258 # cc exists but doesn't like -o.
4259 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4260 fi
4261 fi
4262 fi
4263 else
4264 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4265 fi
4266 rm -f core conftest*
4267
4268 fi
4269 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4271 $as_echo "yes" >&6; }
4272 else
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274 $as_echo "no" >&6; }
4275
4276 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4277
4278 fi
4279
4280 # FIXME: we rely on the cache variable name because
4281 # there is no other way.
4282 set dummy $CC
4283 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4284 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4285 if test "$am_t" != yes; then
4286 # Losing compiler, so override with the script.
4287 # FIXME: It is wrong to rewrite CC.
4288 # But if we don't then we get into trouble of one sort or another.
4289 # A longer-term fix would be to have automake use am__CC in this case,
4290 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4291 CC="$am_aux_dir/compile $CC"
4292 fi
4293
4294
4295
4296 # Checks for libraries.
4297
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
4299 $as_echo_n "checking for roundf in -lm... " >&6; }
4300 if ${ac_cv_lib_m_roundf+:} false; then :
4301 $as_echo_n "(cached) " >&6
4302 else
4303 ac_check_lib_save_LIBS=$LIBS
4304 LIBS="-lm $LIBS"
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4307
4308 /* Override any GCC internal prototype to avoid an error.
4309 Use char because int might match the return type of a GCC
4310 builtin and then its argument prototype would still apply. */
4311 #ifdef __cplusplus
4312 extern "C"
4313 #endif
4314 char roundf ();
4315 int
4316 main ()
4317 {
4318 return roundf ();
4319 ;
4320 return 0;
4321 }
4322 _ACEOF
4323 if ac_fn_c_try_link "$LINENO"; then :
4324 ac_cv_lib_m_roundf=yes
4325 else
4326 ac_cv_lib_m_roundf=no
4327 fi
4328 rm -f core conftest.err conftest.$ac_objext \
4329 conftest$ac_exeext conftest.$ac_ext
4330 LIBS=$ac_check_lib_save_LIBS
4331 fi
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
4333 $as_echo "$ac_cv_lib_m_roundf" >&6; }
4334 if test "x$ac_cv_lib_m_roundf" = xyes; then :
4335 cat >>confdefs.h <<_ACEOF
4336 #define HAVE_LIBM 1
4337 _ACEOF
4338
4339 LIBS="-lm $LIBS"
4340
4341 fi
4342
4343
4344 # Checks for header files.
4345 ac_ext=c
4346 ac_cpp='$CPP $CPPFLAGS'
4347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4351 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4352 # On Suns, sometimes $CPP names a directory.
4353 if test -n "$CPP" && test -d "$CPP"; then
4354 CPP=
4355 fi
4356 if test -z "$CPP"; then
4357 if ${ac_cv_prog_CPP+:} false; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 # Double quotes because CPP needs to be expanded
4361 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4362 do
4363 ac_preproc_ok=false
4364 for ac_c_preproc_warn_flag in '' yes
4365 do
4366 # Use a header file that comes with gcc, so configuring glibc
4367 # with a fresh cross-compiler works.
4368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4369 # <limits.h> exists even on freestanding compilers.
4370 # On the NeXT, cc -E runs the code through the compiler's parser,
4371 # not just through cpp. "Syntax error" is here to catch this case.
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4374 #ifdef __STDC__
4375 # include <limits.h>
4376 #else
4377 # include <assert.h>
4378 #endif
4379 Syntax error
4380 _ACEOF
4381 if ac_fn_c_try_cpp "$LINENO"; then :
4382
4383 else
4384 # Broken: fails on valid input.
4385 continue
4386 fi
4387 rm -f conftest.err conftest.i conftest.$ac_ext
4388
4389 # OK, works on sane cases. Now check whether nonexistent headers
4390 # can be detected and how.
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4393 #include <ac_nonexistent.h>
4394 _ACEOF
4395 if ac_fn_c_try_cpp "$LINENO"; then :
4396 # Broken: success on invalid input.
4397 continue
4398 else
4399 # Passes both tests.
4400 ac_preproc_ok=:
4401 break
4402 fi
4403 rm -f conftest.err conftest.i conftest.$ac_ext
4404
4405 done
4406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4407 rm -f conftest.i conftest.err conftest.$ac_ext
4408 if $ac_preproc_ok; then :
4409 break
4410 fi
4411
4412 done
4413 ac_cv_prog_CPP=$CPP
4414
4415 fi
4416 CPP=$ac_cv_prog_CPP
4417 else
4418 ac_cv_prog_CPP=$CPP
4419 fi
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4421 $as_echo "$CPP" >&6; }
4422 ac_preproc_ok=false
4423 for ac_c_preproc_warn_flag in '' yes
4424 do
4425 # Use a header file that comes with gcc, so configuring glibc
4426 # with a fresh cross-compiler works.
4427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4428 # <limits.h> exists even on freestanding compilers.
4429 # On the NeXT, cc -E runs the code through the compiler's parser,
4430 # not just through cpp. "Syntax error" is here to catch this case.
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4433 #ifdef __STDC__
4434 # include <limits.h>
4435 #else
4436 # include <assert.h>
4437 #endif
4438 Syntax error
4439 _ACEOF
4440 if ac_fn_c_try_cpp "$LINENO"; then :
4441
4442 else
4443 # Broken: fails on valid input.
4444 continue
4445 fi
4446 rm -f conftest.err conftest.i conftest.$ac_ext
4447
4448 # OK, works on sane cases. Now check whether nonexistent headers
4449 # can be detected and how.
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4452 #include <ac_nonexistent.h>
4453 _ACEOF
4454 if ac_fn_c_try_cpp "$LINENO"; then :
4455 # Broken: success on invalid input.
4456 continue
4457 else
4458 # Passes both tests.
4459 ac_preproc_ok=:
4460 break
4461 fi
4462 rm -f conftest.err conftest.i conftest.$ac_ext
4463
4464 done
4465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4466 rm -f conftest.i conftest.err conftest.$ac_ext
4467 if $ac_preproc_ok; then :
4468
4469 else
4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4473 See \`config.log' for more details" "$LINENO" 5; }
4474 fi
4475
4476 ac_ext=c
4477 ac_cpp='$CPP $CPPFLAGS'
4478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4481
4482
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4484 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4485 if ${ac_cv_path_GREP+:} false; then :
4486 $as_echo_n "(cached) " >&6
4487 else
4488 if test -z "$GREP"; then
4489 ac_path_GREP_found=false
4490 # Loop through the user's path and test for each of PROGNAME-LIST
4491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4493 do
4494 IFS=$as_save_IFS
4495 test -z "$as_dir" && as_dir=.
4496 for ac_prog in grep ggrep; do
4497 for ac_exec_ext in '' $ac_executable_extensions; do
4498 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4499 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4500 # Check for GNU ac_path_GREP and select it if it is found.
4501 # Check for GNU $ac_path_GREP
4502 case `"$ac_path_GREP" --version 2>&1` in
4503 *GNU*)
4504 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4505 *)
4506 ac_count=0
4507 $as_echo_n 0123456789 >"conftest.in"
4508 while :
4509 do
4510 cat "conftest.in" "conftest.in" >"conftest.tmp"
4511 mv "conftest.tmp" "conftest.in"
4512 cp "conftest.in" "conftest.nl"
4513 $as_echo 'GREP' >> "conftest.nl"
4514 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4516 as_fn_arith $ac_count + 1 && ac_count=$as_val
4517 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4518 # Best one so far, save it but keep looking for a better one
4519 ac_cv_path_GREP="$ac_path_GREP"
4520 ac_path_GREP_max=$ac_count
4521 fi
4522 # 10*(2^10) chars as input seems more than enough
4523 test $ac_count -gt 10 && break
4524 done
4525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4526 esac
4527
4528 $ac_path_GREP_found && break 3
4529 done
4530 done
4531 done
4532 IFS=$as_save_IFS
4533 if test -z "$ac_cv_path_GREP"; then
4534 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4535 fi
4536 else
4537 ac_cv_path_GREP=$GREP
4538 fi
4539
4540 fi
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4542 $as_echo "$ac_cv_path_GREP" >&6; }
4543 GREP="$ac_cv_path_GREP"
4544
4545
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4547 $as_echo_n "checking for egrep... " >&6; }
4548 if ${ac_cv_path_EGREP+:} false; then :
4549 $as_echo_n "(cached) " >&6
4550 else
4551 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4552 then ac_cv_path_EGREP="$GREP -E"
4553 else
4554 if test -z "$EGREP"; then
4555 ac_path_EGREP_found=false
4556 # Loop through the user's path and test for each of PROGNAME-LIST
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4559 do
4560 IFS=$as_save_IFS
4561 test -z "$as_dir" && as_dir=.
4562 for ac_prog in egrep; do
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4565 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4566 # Check for GNU ac_path_EGREP and select it if it is found.
4567 # Check for GNU $ac_path_EGREP
4568 case `"$ac_path_EGREP" --version 2>&1` in
4569 *GNU*)
4570 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4571 *)
4572 ac_count=0
4573 $as_echo_n 0123456789 >"conftest.in"
4574 while :
4575 do
4576 cat "conftest.in" "conftest.in" >"conftest.tmp"
4577 mv "conftest.tmp" "conftest.in"
4578 cp "conftest.in" "conftest.nl"
4579 $as_echo 'EGREP' >> "conftest.nl"
4580 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4581 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4582 as_fn_arith $ac_count + 1 && ac_count=$as_val
4583 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4584 # Best one so far, save it but keep looking for a better one
4585 ac_cv_path_EGREP="$ac_path_EGREP"
4586 ac_path_EGREP_max=$ac_count
4587 fi
4588 # 10*(2^10) chars as input seems more than enough
4589 test $ac_count -gt 10 && break
4590 done
4591 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4592 esac
4593
4594 $ac_path_EGREP_found && break 3
4595 done
4596 done
4597 done
4598 IFS=$as_save_IFS
4599 if test -z "$ac_cv_path_EGREP"; then
4600 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4601 fi
4602 else
4603 ac_cv_path_EGREP=$EGREP
4604 fi
4605
4606 fi
4607 fi
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4609 $as_echo "$ac_cv_path_EGREP" >&6; }
4610 EGREP="$ac_cv_path_EGREP"
4611
4612
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4614 $as_echo_n "checking for ANSI C header files... " >&6; }
4615 if ${ac_cv_header_stdc+:} false; then :
4616 $as_echo_n "(cached) " >&6
4617 else
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620 #include <stdlib.h>
4621 #include <stdarg.h>
4622 #include <string.h>
4623 #include <float.h>
4624
4625 int
4626 main ()
4627 {
4628
4629 ;
4630 return 0;
4631 }
4632 _ACEOF
4633 if ac_fn_c_try_compile "$LINENO"; then :
4634 ac_cv_header_stdc=yes
4635 else
4636 ac_cv_header_stdc=no
4637 fi
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639
4640 if test $ac_cv_header_stdc = yes; then
4641 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <string.h>
4645
4646 _ACEOF
4647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4648 $EGREP "memchr" >/dev/null 2>&1; then :
4649
4650 else
4651 ac_cv_header_stdc=no
4652 fi
4653 rm -f conftest*
4654
4655 fi
4656
4657 if test $ac_cv_header_stdc = yes; then
4658 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4661 #include <stdlib.h>
4662
4663 _ACEOF
4664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4665 $EGREP "free" >/dev/null 2>&1; then :
4666
4667 else
4668 ac_cv_header_stdc=no
4669 fi
4670 rm -f conftest*
4671
4672 fi
4673
4674 if test $ac_cv_header_stdc = yes; then
4675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4676 if test "$cross_compiling" = yes; then :
4677 :
4678 else
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 #include <ctype.h>
4682 #include <stdlib.h>
4683 #if ((' ' & 0x0FF) == 0x020)
4684 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4685 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4686 #else
4687 # define ISLOWER(c) \
4688 (('a' <= (c) && (c) <= 'i') \
4689 || ('j' <= (c) && (c) <= 'r') \
4690 || ('s' <= (c) && (c) <= 'z'))
4691 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4692 #endif
4693
4694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4695 int
4696 main ()
4697 {
4698 int i;
4699 for (i = 0; i < 256; i++)
4700 if (XOR (islower (i), ISLOWER (i))
4701 || toupper (i) != TOUPPER (i))
4702 return 2;
4703 return 0;
4704 }
4705 _ACEOF
4706 if ac_fn_c_try_run "$LINENO"; then :
4707
4708 else
4709 ac_cv_header_stdc=no
4710 fi
4711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4712 conftest.$ac_objext conftest.beam conftest.$ac_ext
4713 fi
4714
4715 fi
4716 fi
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4718 $as_echo "$ac_cv_header_stdc" >&6; }
4719 if test $ac_cv_header_stdc = yes; then
4720
4721 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4722
4723 fi
4724
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4726 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4727 if ${ac_cv_header_sys_wait_h+:} false; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <sys/types.h>
4733 #include <sys/wait.h>
4734 #ifndef WEXITSTATUS
4735 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4736 #endif
4737 #ifndef WIFEXITED
4738 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4739 #endif
4740
4741 int
4742 main ()
4743 {
4744 int s;
4745 wait (&s);
4746 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4747 ;
4748 return 0;
4749 }
4750 _ACEOF
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752 ac_cv_header_sys_wait_h=yes
4753 else
4754 ac_cv_header_sys_wait_h=no
4755 fi
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 fi
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4759 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4760 if test $ac_cv_header_sys_wait_h = yes; then
4761
4762 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4763
4764 fi
4765
4766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4767 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4768 inttypes.h stdint.h unistd.h
4769 do :
4770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4771 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4772 "
4773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4774 cat >>confdefs.h <<_ACEOF
4775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4776 _ACEOF
4777
4778 fi
4779
4780 done
4781
4782
4783 for ac_header in fcntl.h memory.h stddef.h stdlib.h string.h strings.h unistd.h
4784 do :
4785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4786 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4788 cat >>confdefs.h <<_ACEOF
4789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4790 _ACEOF
4791
4792 fi
4793
4794 done
4795
4796
4797 # Checks for typedefs, structures, and compiler characteristics.
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4799 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4800 if ${ac_cv_c_const+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805
4806 int
4807 main ()
4808 {
4809 /* FIXME: Include the comments suggested by Paul. */
4810 #ifndef __cplusplus
4811 /* Ultrix mips cc rejects this. */
4812 typedef int charset[2];
4813 const charset cs;
4814 /* SunOS 4.1.1 cc rejects this. */
4815 char const *const *pcpcc;
4816 char **ppc;
4817 /* NEC SVR4.0.2 mips cc rejects this. */
4818 struct point {int x, y;};
4819 static struct point const zero = {0,0};
4820 /* AIX XL C 1.02.0.0 rejects this.
4821 It does not let you subtract one const X* pointer from another in
4822 an arm of an if-expression whose if-part is not a constant
4823 expression */
4824 const char *g = "string";
4825 pcpcc = &g + (g ? g-g : 0);
4826 /* HPUX 7.0 cc rejects these. */
4827 ++pcpcc;
4828 ppc = (char**) pcpcc;
4829 pcpcc = (char const *const *) ppc;
4830 { /* SCO 3.2v4 cc rejects this. */
4831 char *t;
4832 char const *s = 0 ? (char *) 0 : (char const *) 0;
4833
4834 *t++ = 0;
4835 if (s) return 0;
4836 }
4837 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4838 int x[] = {25, 17};
4839 const int *foo = &x[0];
4840 ++foo;
4841 }
4842 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4843 typedef const int *iptr;
4844 iptr p = 0;
4845 ++p;
4846 }
4847 { /* AIX XL C 1.02.0.0 rejects this saying
4848 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4849 struct s { int j; const int *ap[3]; };
4850 struct s *b; b->j = 5;
4851 }
4852 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4853 const int foo = 10;
4854 if (!foo) return 0;
4855 }
4856 return !cs[0] && !zero.x;
4857 #endif
4858
4859 ;
4860 return 0;
4861 }
4862 _ACEOF
4863 if ac_fn_c_try_compile "$LINENO"; then :
4864 ac_cv_c_const=yes
4865 else
4866 ac_cv_c_const=no
4867 fi
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 fi
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4871 $as_echo "$ac_cv_c_const" >&6; }
4872 if test $ac_cv_c_const = no; then
4873
4874 $as_echo "#define const /**/" >>confdefs.h
4875
4876 fi
4877
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4879 $as_echo_n "checking for inline... " >&6; }
4880 if ${ac_cv_c_inline+:} false; then :
4881 $as_echo_n "(cached) " >&6
4882 else
4883 ac_cv_c_inline=no
4884 for ac_kw in inline __inline__ __inline; do
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4887 #ifndef __cplusplus
4888 typedef int foo_t;
4889 static $ac_kw foo_t static_foo () {return 0; }
4890 $ac_kw foo_t foo () {return 0; }
4891 #endif
4892
4893 _ACEOF
4894 if ac_fn_c_try_compile "$LINENO"; then :
4895 ac_cv_c_inline=$ac_kw
4896 fi
4897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4898 test "$ac_cv_c_inline" != no && break
4899 done
4900
4901 fi
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4903 $as_echo "$ac_cv_c_inline" >&6; }
4904
4905 case $ac_cv_c_inline in
4906 inline | yes) ;;
4907 *)
4908 case $ac_cv_c_inline in
4909 no) ac_val=;;
4910 *) ac_val=$ac_cv_c_inline;;
4911 esac
4912 cat >>confdefs.h <<_ACEOF
4913 #ifndef __cplusplus
4914 #define inline $ac_val
4915 #endif
4916 _ACEOF
4917 ;;
4918 esac
4919
4920 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4921 if test "x$ac_cv_type_pid_t" = xyes; then :
4922
4923 else
4924
4925 cat >>confdefs.h <<_ACEOF
4926 #define pid_t int
4927 _ACEOF
4928
4929 fi
4930
4931 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4932 if test "x$ac_cv_type_size_t" = xyes; then :
4933
4934 else
4935
4936 cat >>confdefs.h <<_ACEOF
4937 #define size_t unsigned int
4938 _ACEOF
4939
4940 fi
4941
4942 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4943 if test "x$ac_cv_type_ssize_t" = xyes; then :
4944
4945 else
4946
4947 cat >>confdefs.h <<_ACEOF
4948 #define ssize_t int
4949 _ACEOF
4950
4951 fi
4952
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4954 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4955 if ${ac_cv_struct_tm+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4960 #include <sys/types.h>
4961 #include <time.h>
4962
4963 int
4964 main ()
4965 {
4966 struct tm tm;
4967 int *p = &tm.tm_sec;
4968 return !p;
4969 ;
4970 return 0;
4971 }
4972 _ACEOF
4973 if ac_fn_c_try_compile "$LINENO"; then :
4974 ac_cv_struct_tm=time.h
4975 else
4976 ac_cv_struct_tm=sys/time.h
4977 fi
4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979 fi
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4981 $as_echo "$ac_cv_struct_tm" >&6; }
4982 if test $ac_cv_struct_tm = sys/time.h; then
4983
4984 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4985
4986 fi
4987
4988
4989 # Checks for library functions.
4990 for ac_header in vfork.h
4991 do :
4992 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4993 if test "x$ac_cv_header_vfork_h" = xyes; then :
4994 cat >>confdefs.h <<_ACEOF
4995 #define HAVE_VFORK_H 1
4996 _ACEOF
4997
4998 fi
4999
5000 done
5001
5002 for ac_func in fork vfork
5003 do :
5004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5006 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5007 cat >>confdefs.h <<_ACEOF
5008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5009 _ACEOF
5010
5011 fi
5012 done
5013
5014 if test "x$ac_cv_func_fork" = xyes; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
5016 $as_echo_n "checking for working fork... " >&6; }
5017 if ${ac_cv_func_fork_works+:} false; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test "$cross_compiling" = yes; then :
5021 ac_cv_func_fork_works=cross
5022 else
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 $ac_includes_default
5026 int
5027 main ()
5028 {
5029
5030 /* By Ruediger Kuhlmann. */
5031 return fork () < 0;
5032
5033 ;
5034 return 0;
5035 }
5036 _ACEOF
5037 if ac_fn_c_try_run "$LINENO"; then :
5038 ac_cv_func_fork_works=yes
5039 else
5040 ac_cv_func_fork_works=no
5041 fi
5042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5043 conftest.$ac_objext conftest.beam conftest.$ac_ext
5044 fi
5045
5046 fi
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
5048 $as_echo "$ac_cv_func_fork_works" >&6; }
5049
5050 else
5051 ac_cv_func_fork_works=$ac_cv_func_fork
5052 fi
5053 if test "x$ac_cv_func_fork_works" = xcross; then
5054 case $host in
5055 *-*-amigaos* | *-*-msdosdjgpp*)
5056 # Override, as these systems have only a dummy fork() stub
5057 ac_cv_func_fork_works=no
5058 ;;
5059 *)
5060 ac_cv_func_fork_works=yes
5061 ;;
5062 esac
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5064 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5065 fi
5066 ac_cv_func_vfork_works=$ac_cv_func_vfork
5067 if test "x$ac_cv_func_vfork" = xyes; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5069 $as_echo_n "checking for working vfork... " >&6; }
5070 if ${ac_cv_func_vfork_works+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test "$cross_compiling" = yes; then :
5074 ac_cv_func_vfork_works=cross
5075 else
5076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5077 /* end confdefs.h. */
5078 /* Thanks to Paul Eggert for this test. */
5079 $ac_includes_default
5080 #include <sys/wait.h>
5081 #ifdef HAVE_VFORK_H
5082 # include <vfork.h>
5083 #endif
5084 /* On some sparc systems, changes by the child to local and incoming
5085 argument registers are propagated back to the parent. The compiler
5086 is told about this with #include <vfork.h>, but some compilers
5087 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5088 static variable whose address is put into a register that is
5089 clobbered by the vfork. */
5090 static void
5091 #ifdef __cplusplus
5092 sparc_address_test (int arg)
5093 # else
5094 sparc_address_test (arg) int arg;
5095 #endif
5096 {
5097 static pid_t child;
5098 if (!child) {
5099 child = vfork ();
5100 if (child < 0) {
5101 perror ("vfork");
5102 _exit(2);
5103 }
5104 if (!child) {
5105 arg = getpid();
5106 write(-1, "", 0);
5107 _exit (arg);
5108 }
5109 }
5110 }
5111
5112 int
5113 main ()
5114 {
5115 pid_t parent = getpid ();
5116 pid_t child;
5117
5118 sparc_address_test (0);
5119
5120 child = vfork ();
5121
5122 if (child == 0) {
5123 /* Here is another test for sparc vfork register problems. This
5124 test uses lots of local variables, at least as many local
5125 variables as main has allocated so far including compiler
5126 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5127 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5128 reuse the register of parent for one of the local variables,
5129 since it will think that parent can't possibly be used any more
5130 in this routine. Assigning to the local variable will thus
5131 munge parent in the parent process. */
5132 pid_t
5133 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5134 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5135 /* Convince the compiler that p..p7 are live; otherwise, it might
5136 use the same hardware register for all 8 local variables. */
5137 if (p != p1 || p != p2 || p != p3 || p != p4
5138 || p != p5 || p != p6 || p != p7)
5139 _exit(1);
5140
5141 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5142 from child file descriptors. If the child closes a descriptor
5143 before it execs or exits, this munges the parent's descriptor
5144 as well. Test for this by closing stdout in the child. */
5145 _exit(close(fileno(stdout)) != 0);
5146 } else {
5147 int status;
5148 struct stat st;
5149
5150 while (wait(&status) != child)
5151 ;
5152 return (
5153 /* Was there some problem with vforking? */
5154 child < 0
5155
5156 /* Did the child fail? (This shouldn't happen.) */
5157 || status
5158
5159 /* Did the vfork/compiler bug occur? */
5160 || parent != getpid()
5161
5162 /* Did the file descriptor bug occur? */
5163 || fstat(fileno(stdout), &st) != 0
5164 );
5165 }
5166 }
5167 _ACEOF
5168 if ac_fn_c_try_run "$LINENO"; then :
5169 ac_cv_func_vfork_works=yes
5170 else
5171 ac_cv_func_vfork_works=no
5172 fi
5173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5174 conftest.$ac_objext conftest.beam conftest.$ac_ext
5175 fi
5176
5177 fi
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5179 $as_echo "$ac_cv_func_vfork_works" >&6; }
5180
5181 fi;
5182 if test "x$ac_cv_func_fork_works" = xcross; then
5183 ac_cv_func_vfork_works=$ac_cv_func_vfork
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5185 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5186 fi
5187
5188 if test "x$ac_cv_func_vfork_works" = xyes; then
5189
5190 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
5191
5192 else
5193
5194 $as_echo "#define vfork fork" >>confdefs.h
5195
5196 fi
5197 if test "x$ac_cv_func_fork_works" = xyes; then
5198
5199 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5200
5201 fi
5202
5203 for ac_header in stdlib.h
5204 do :
5205 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5206 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5207 cat >>confdefs.h <<_ACEOF
5208 #define HAVE_STDLIB_H 1
5209 _ACEOF
5210
5211 fi
5212
5213 done
5214
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5216 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5217 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test "$cross_compiling" = yes; then :
5221 ac_cv_func_malloc_0_nonnull=no
5222 else
5223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5224 /* end confdefs.h. */
5225 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5226 # include <stdlib.h>
5227 #else
5228 char *malloc ();
5229 #endif
5230
5231 int
5232 main ()
5233 {
5234 return ! malloc (0);
5235 ;
5236 return 0;
5237 }
5238 _ACEOF
5239 if ac_fn_c_try_run "$LINENO"; then :
5240 ac_cv_func_malloc_0_nonnull=yes
5241 else
5242 ac_cv_func_malloc_0_nonnull=no
5243 fi
5244 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5245 conftest.$ac_objext conftest.beam conftest.$ac_ext
5246 fi
5247
5248 fi
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5250 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5251 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5252
5253 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5254
5255 else
5256 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5257
5258 case " $LIBOBJS " in
5259 *" malloc.$ac_objext "* ) ;;
5260 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5261 ;;
5262 esac
5263
5264
5265 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5266
5267 fi
5268
5269
5270 for ac_header in stdlib.h
5271 do :
5272 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5273 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5274 cat >>confdefs.h <<_ACEOF
5275 #define HAVE_STDLIB_H 1
5276 _ACEOF
5277
5278 fi
5279
5280 done
5281
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5283 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5284 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test "$cross_compiling" = yes; then :
5288 ac_cv_func_realloc_0_nonnull=no
5289 else
5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5292 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5293 # include <stdlib.h>
5294 #else
5295 char *realloc ();
5296 #endif
5297
5298 int
5299 main ()
5300 {
5301 return ! realloc (0, 0);
5302 ;
5303 return 0;
5304 }
5305 _ACEOF
5306 if ac_fn_c_try_run "$LINENO"; then :
5307 ac_cv_func_realloc_0_nonnull=yes
5308 else
5309 ac_cv_func_realloc_0_nonnull=no
5310 fi
5311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5312 conftest.$ac_objext conftest.beam conftest.$ac_ext
5313 fi
5314
5315 fi
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5317 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5318 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5319
5320 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5321
5322 else
5323 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5324
5325 case " $LIBOBJS " in
5326 *" realloc.$ac_objext "* ) ;;
5327 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5328 ;;
5329 esac
5330
5331
5332 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5333
5334 fi
5335
5336
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5338 $as_echo_n "checking return type of signal handlers... " >&6; }
5339 if ${ac_cv_type_signal+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5344 #include <sys/types.h>
5345 #include <signal.h>
5346
5347 int
5348 main ()
5349 {
5350 return *(signal (0, 0)) (0) == 1;
5351 ;
5352 return 0;
5353 }
5354 _ACEOF
5355 if ac_fn_c_try_compile "$LINENO"; then :
5356 ac_cv_type_signal=int
5357 else
5358 ac_cv_type_signal=void
5359 fi
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 fi
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5363 $as_echo "$ac_cv_type_signal" >&6; }
5364
5365 cat >>confdefs.h <<_ACEOF
5366 #define RETSIGTYPE $ac_cv_type_signal
5367 _ACEOF
5368
5369
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
5371 $as_echo_n "checking for working strtod... " >&6; }
5372 if ${ac_cv_func_strtod+:} false; then :
5373 $as_echo_n "(cached) " >&6
5374 else
5375 if test "$cross_compiling" = yes; then :
5376 ac_cv_func_strtod=no
5377 else
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5380
5381 $ac_includes_default
5382 #ifndef strtod
5383 double strtod ();
5384 #endif
5385 int
5386 main()
5387 {
5388 {
5389 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
5390 char *string = " +69";
5391 char *term;
5392 double value;
5393 value = strtod (string, &term);
5394 if (value != 69 || term != (string + 4))
5395 return 1;
5396 }
5397
5398 {
5399 /* Under Solaris 2.4, strtod returns the wrong value for the
5400 terminating character under some conditions. */
5401 char *string = "NaN";
5402 char *term;
5403 strtod (string, &term);
5404 if (term != string && *(term - 1) == 0)
5405 return 1;
5406 }
5407 return 0;
5408 }
5409
5410 _ACEOF
5411 if ac_fn_c_try_run "$LINENO"; then :
5412 ac_cv_func_strtod=yes
5413 else
5414 ac_cv_func_strtod=no
5415 fi
5416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5417 conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 fi
5419
5420 fi
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
5422 $as_echo "$ac_cv_func_strtod" >&6; }
5423 if test $ac_cv_func_strtod = no; then
5424 case " $LIBOBJS " in
5425 *" strtod.$ac_objext "* ) ;;
5426 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
5427 ;;
5428 esac
5429
5430 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
5431 if test "x$ac_cv_func_pow" = xyes; then :
5432
5433 fi
5434
5435 if test $ac_cv_func_pow = no; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
5437 $as_echo_n "checking for pow in -lm... " >&6; }
5438 if ${ac_cv_lib_m_pow+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 ac_check_lib_save_LIBS=$LIBS
5442 LIBS="-lm $LIBS"
5443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5444 /* end confdefs.h. */
5445
5446 /* Override any GCC internal prototype to avoid an error.
5447 Use char because int might match the return type of a GCC
5448 builtin and then its argument prototype would still apply. */
5449 #ifdef __cplusplus
5450 extern "C"
5451 #endif
5452 char pow ();
5453 int
5454 main ()
5455 {
5456 return pow ();
5457 ;
5458 return 0;
5459 }
5460 _ACEOF
5461 if ac_fn_c_try_link "$LINENO"; then :
5462 ac_cv_lib_m_pow=yes
5463 else
5464 ac_cv_lib_m_pow=no
5465 fi
5466 rm -f core conftest.err conftest.$ac_objext \
5467 conftest$ac_exeext conftest.$ac_ext
5468 LIBS=$ac_check_lib_save_LIBS
5469 fi
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
5471 $as_echo "