Debian Codegraph @

configure

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