Sync usage with man page.
[netbsd-mini2440.git] / dist / ntp / arlib / configure
blob95e8a849e7c7b9bc0e5f80ae1d5486aadfaef08a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
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 ## -------------------- ##
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 *) :
32 esac
36 as_nl='
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"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
150 esac
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166 else
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
175 as_have_required=yes
176 else
177 as_have_required=no
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 else
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 IFS=$as_save_IFS
187 test -z "$as_dir" && as_dir=.
188 as_found=:
189 case $as_dir in #(
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 break 2
201 done;;
202 esac
203 as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 export CONFIG_SHELL
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 else
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
235 exit 1
239 SHELL=${CONFIG_SHELL-/bin/sh}
240 export SHELL
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
248 # as_fn_unset VAR
249 # ---------------
250 # Portably unset VAR.
251 as_fn_unset ()
253 { eval $1=; unset $1;}
255 as_unset=as_fn_unset
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
260 as_fn_set_status ()
262 return $1
263 } # as_fn_set_status
265 # as_fn_exit STATUS
266 # -----------------
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 as_fn_exit ()
270 set +e
271 as_fn_set_status $1
272 exit $1
273 } # as_fn_exit
275 # as_fn_mkdir_p
276 # -------------
277 # Create "$as_dir" as a directory, including parents if necessary.
278 as_fn_mkdir_p ()
281 case $as_dir in #(
282 -*) as_dir=./$as_dir;;
283 esac
284 test -d "$as_dir" || eval $as_mkdir_p || {
285 as_dirs=
286 while :; do
287 case $as_dir in #(
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 *) as_qdir=$as_dir;;
290 esac
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299 s//\1/
302 /^X\(\/\/\)[^/].*/{
303 s//\1/
306 /^X\(\/\/\)$/{
307 s//\1/
310 /^X\(\/\).*/{
311 s//\1/
314 s/.*/./; q'`
315 test -d "$as_dir" && break
316 done
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 } # as_fn_mkdir_p
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
327 # implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
331 eval $1+=\$2
333 else
334 as_fn_append ()
336 eval $1=\$$1\$2
338 fi # as_fn_append
340 # as_fn_arith ARG...
341 # ------------------
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346 eval 'as_fn_arith ()
348 as_val=$(( $* ))
350 else
351 as_fn_arith ()
353 as_val=`expr "$@" || test $? -eq 1`
355 fi # as_fn_arith
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
363 as_fn_error ()
365 as_status=$?; test $as_status -eq 0 && as_status=1
366 if test "$3"; then
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
372 } # as_fn_error
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
376 as_expr=expr
377 else
378 as_expr=false
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382 as_basename=basename
383 else
384 as_basename=false
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388 as_dirname=dirname
389 else
390 as_dirname=false
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 $as_echo X/"$0" |
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
399 s//\1/
402 /^X\/\(\/\/\)$/{
403 s//\1/
406 /^X\/\(\/\).*/{
407 s//\1/
410 s/.*/./; q'`
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
425 sed -n '
427 /[$]LINENO/=
428 ' <$as_myself |
429 sed '
430 s/[$]LINENO.*/&-/
431 t lineno
433 :lineno
435 :loop
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
437 t loop
438 s/-\n.*//
439 ' >$as_me.lineno &&
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
446 . "./$as_me.lineno"
447 # Exit status is that of the last command.
448 exit
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
453 -n*)
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 xy) ECHO_C='\c';;
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
458 ECHO_T=' ';;
459 esac;;
461 ECHO_N='-n';;
462 esac
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
467 else
468 rm -f conf$$.dir
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 as_ln_s='ln -s'
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 as_ln_s='cp -p'
480 elif ln conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s=ln
482 else
483 as_ln_s='cp -p'
485 else
486 as_ln_s='cp -p'
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
493 else
494 test -d ./-p && rmdir ./-p
495 as_mkdir_p=false
498 if test -x / >/dev/null 2>&1; then
499 as_test_x='test -x'
500 else
501 if ls -dL / >/dev/null 2>&1; then
502 as_ls_L_option=L
503 else
504 as_ls_L_option=
506 as_test_x='
507 eval sh -c '\''
508 if test -d "$1"; then
509 test -d "$1/.";
510 else
511 case $1 in #(
512 -*)set "./$1";;
513 esac;
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
516 '\'' sh
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
531 # Name of the host.
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 # Initializations.
539 ac_default_prefix=/usr/local
540 ac_clean_files=
541 ac_config_libobj_dir=.
542 LIBOBJS=
543 cross_compiling=no
544 subdirs=
545 MFLAGS=
546 MAKEFLAGS=
548 # Identity of this package.
549 PACKAGE_NAME=
550 PACKAGE_TARNAME=
551 PACKAGE_VERSION=
552 PACKAGE_STRING=
553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
556 ac_unique_file="arlib.c"
557 ac_subst_vars='am__EXEEXT_FALSE
558 am__EXEEXT_TRUE
559 LTLIBOBJS
560 LIBOBJS
561 RANLIB
562 am__fastdepCC_FALSE
563 am__fastdepCC_TRUE
564 CCDEPMODE
565 AMDEPBACKSLASH
566 AMDEP_FALSE
567 AMDEP_TRUE
568 am__quote
569 am__include
570 DEPDIR
571 OBJEXT
572 EXEEXT
573 ac_ct_CC
574 CPPFLAGS
575 LDFLAGS
576 CFLAGS
578 am__untar
579 am__tar
580 AMTAR
581 am__leading_dot
582 SET_MAKE
584 mkdir_p
585 MKDIR_P
586 INSTALL_STRIP_PROGRAM
587 STRIP
588 install_sh
589 MAKEINFO
590 AUTOHEADER
591 AUTOMAKE
592 AUTOCONF
593 ACLOCAL
594 VERSION
595 PACKAGE
596 CYGPATH_W
597 am__isrc
598 INSTALL_DATA
599 INSTALL_SCRIPT
600 INSTALL_PROGRAM
601 target_alias
602 host_alias
603 build_alias
604 LIBS
605 ECHO_T
606 ECHO_N
607 ECHO_C
608 DEFS
609 mandir
610 localedir
611 libdir
612 psdir
613 pdfdir
614 dvidir
615 htmldir
616 infodir
617 docdir
618 oldincludedir
619 includedir
620 localstatedir
621 sharedstatedir
622 sysconfdir
623 datadir
624 datarootdir
625 libexecdir
626 sbindir
627 bindir
628 program_transform_name
629 prefix
630 exec_prefix
631 PACKAGE_URL
632 PACKAGE_BUGREPORT
633 PACKAGE_STRING
634 PACKAGE_VERSION
635 PACKAGE_TARNAME
636 PACKAGE_NAME
637 PATH_SEPARATOR
638 SHELL'
639 ac_subst_files=''
640 ac_user_opts='
641 enable_option_checking
642 enable_dependency_tracking
644 ac_precious_vars='build_alias
645 host_alias
646 target_alias
648 CFLAGS
649 LDFLAGS
650 LIBS
651 CPPFLAGS'
654 # Initialize some variables set by options.
655 ac_init_help=
656 ac_init_version=false
657 ac_unrecognized_opts=
658 ac_unrecognized_sep=
659 # The variables have the same names as the options, with
660 # dashes changed to underlines.
661 cache_file=/dev/null
662 exec_prefix=NONE
663 no_create=
664 no_recursion=
665 prefix=NONE
666 program_prefix=NONE
667 program_suffix=NONE
668 program_transform_name=s,x,x,
669 silent=
670 site=
671 srcdir=
672 verbose=
673 x_includes=NONE
674 x_libraries=NONE
676 # Installation directory options.
677 # These are left unexpanded so users can "make install exec_prefix=/foo"
678 # and all the variables that are supposed to be based on exec_prefix
679 # by default will actually change.
680 # Use braces instead of parens because sh, perl, etc. also accept them.
681 # (The list follows the same order as the GNU Coding Standards.)
682 bindir='${exec_prefix}/bin'
683 sbindir='${exec_prefix}/sbin'
684 libexecdir='${exec_prefix}/libexec'
685 datarootdir='${prefix}/share'
686 datadir='${datarootdir}'
687 sysconfdir='${prefix}/etc'
688 sharedstatedir='${prefix}/com'
689 localstatedir='${prefix}/var'
690 includedir='${prefix}/include'
691 oldincludedir='/usr/include'
692 docdir='${datarootdir}/doc/${PACKAGE}'
693 infodir='${datarootdir}/info'
694 htmldir='${docdir}'
695 dvidir='${docdir}'
696 pdfdir='${docdir}'
697 psdir='${docdir}'
698 libdir='${exec_prefix}/lib'
699 localedir='${datarootdir}/locale'
700 mandir='${datarootdir}/man'
702 ac_prev=
703 ac_dashdash=
704 for ac_option
706 # If the previous option needs an argument, assign it.
707 if test -n "$ac_prev"; then
708 eval $ac_prev=\$ac_option
709 ac_prev=
710 continue
713 case $ac_option in
714 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
715 *) ac_optarg=yes ;;
716 esac
718 # Accept the important Cygnus configure options, so we can diagnose typos.
720 case $ac_dashdash$ac_option in
722 ac_dashdash=yes ;;
724 -bindir | --bindir | --bindi | --bind | --bin | --bi)
725 ac_prev=bindir ;;
726 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
727 bindir=$ac_optarg ;;
729 -build | --build | --buil | --bui | --bu)
730 ac_prev=build_alias ;;
731 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
732 build_alias=$ac_optarg ;;
734 -cache-file | --cache-file | --cache-fil | --cache-fi \
735 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
736 ac_prev=cache_file ;;
737 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
738 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
739 cache_file=$ac_optarg ;;
741 --config-cache | -C)
742 cache_file=config.cache ;;
744 -datadir | --datadir | --datadi | --datad)
745 ac_prev=datadir ;;
746 -datadir=* | --datadir=* | --datadi=* | --datad=*)
747 datadir=$ac_optarg ;;
749 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
750 | --dataroo | --dataro | --datar)
751 ac_prev=datarootdir ;;
752 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
753 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
754 datarootdir=$ac_optarg ;;
756 -disable-* | --disable-*)
757 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
760 as_fn_error "invalid feature name: $ac_useropt"
761 ac_useropt_orig=$ac_useropt
762 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
763 case $ac_user_opts in
765 "enable_$ac_useropt"
766 "*) ;;
767 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
768 ac_unrecognized_sep=', ';;
769 esac
770 eval enable_$ac_useropt=no ;;
772 -docdir | --docdir | --docdi | --doc | --do)
773 ac_prev=docdir ;;
774 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
775 docdir=$ac_optarg ;;
777 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
778 ac_prev=dvidir ;;
779 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
780 dvidir=$ac_optarg ;;
782 -enable-* | --enable-*)
783 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
786 as_fn_error "invalid feature name: $ac_useropt"
787 ac_useropt_orig=$ac_useropt
788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
789 case $ac_user_opts in
791 "enable_$ac_useropt"
792 "*) ;;
793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
794 ac_unrecognized_sep=', ';;
795 esac
796 eval enable_$ac_useropt=\$ac_optarg ;;
798 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
799 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
800 | --exec | --exe | --ex)
801 ac_prev=exec_prefix ;;
802 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
803 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
804 | --exec=* | --exe=* | --ex=*)
805 exec_prefix=$ac_optarg ;;
807 -gas | --gas | --ga | --g)
808 # Obsolete; use --with-gas.
809 with_gas=yes ;;
811 -help | --help | --hel | --he | -h)
812 ac_init_help=long ;;
813 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
814 ac_init_help=recursive ;;
815 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
816 ac_init_help=short ;;
818 -host | --host | --hos | --ho)
819 ac_prev=host_alias ;;
820 -host=* | --host=* | --hos=* | --ho=*)
821 host_alias=$ac_optarg ;;
823 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
824 ac_prev=htmldir ;;
825 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
826 | --ht=*)
827 htmldir=$ac_optarg ;;
829 -includedir | --includedir | --includedi | --included | --include \
830 | --includ | --inclu | --incl | --inc)
831 ac_prev=includedir ;;
832 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
833 | --includ=* | --inclu=* | --incl=* | --inc=*)
834 includedir=$ac_optarg ;;
836 -infodir | --infodir | --infodi | --infod | --info | --inf)
837 ac_prev=infodir ;;
838 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
839 infodir=$ac_optarg ;;
841 -libdir | --libdir | --libdi | --libd)
842 ac_prev=libdir ;;
843 -libdir=* | --libdir=* | --libdi=* | --libd=*)
844 libdir=$ac_optarg ;;
846 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
847 | --libexe | --libex | --libe)
848 ac_prev=libexecdir ;;
849 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
850 | --libexe=* | --libex=* | --libe=*)
851 libexecdir=$ac_optarg ;;
853 -localedir | --localedir | --localedi | --localed | --locale)
854 ac_prev=localedir ;;
855 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
856 localedir=$ac_optarg ;;
858 -localstatedir | --localstatedir | --localstatedi | --localstated \
859 | --localstate | --localstat | --localsta | --localst | --locals)
860 ac_prev=localstatedir ;;
861 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
862 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
863 localstatedir=$ac_optarg ;;
865 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
866 ac_prev=mandir ;;
867 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
868 mandir=$ac_optarg ;;
870 -nfp | --nfp | --nf)
871 # Obsolete; use --without-fp.
872 with_fp=no ;;
874 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
875 | --no-cr | --no-c | -n)
876 no_create=yes ;;
878 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
879 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
880 no_recursion=yes ;;
882 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
883 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
884 | --oldin | --oldi | --old | --ol | --o)
885 ac_prev=oldincludedir ;;
886 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
887 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
888 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
889 oldincludedir=$ac_optarg ;;
891 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
892 ac_prev=prefix ;;
893 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
894 prefix=$ac_optarg ;;
896 -program-prefix | --program-prefix | --program-prefi | --program-pref \
897 | --program-pre | --program-pr | --program-p)
898 ac_prev=program_prefix ;;
899 -program-prefix=* | --program-prefix=* | --program-prefi=* \
900 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
901 program_prefix=$ac_optarg ;;
903 -program-suffix | --program-suffix | --program-suffi | --program-suff \
904 | --program-suf | --program-su | --program-s)
905 ac_prev=program_suffix ;;
906 -program-suffix=* | --program-suffix=* | --program-suffi=* \
907 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
908 program_suffix=$ac_optarg ;;
910 -program-transform-name | --program-transform-name \
911 | --program-transform-nam | --program-transform-na \
912 | --program-transform-n | --program-transform- \
913 | --program-transform | --program-transfor \
914 | --program-transfo | --program-transf \
915 | --program-trans | --program-tran \
916 | --progr-tra | --program-tr | --program-t)
917 ac_prev=program_transform_name ;;
918 -program-transform-name=* | --program-transform-name=* \
919 | --program-transform-nam=* | --program-transform-na=* \
920 | --program-transform-n=* | --program-transform-=* \
921 | --program-transform=* | --program-transfor=* \
922 | --program-transfo=* | --program-transf=* \
923 | --program-trans=* | --program-tran=* \
924 | --progr-tra=* | --program-tr=* | --program-t=*)
925 program_transform_name=$ac_optarg ;;
927 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
928 ac_prev=pdfdir ;;
929 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
930 pdfdir=$ac_optarg ;;
932 -psdir | --psdir | --psdi | --psd | --ps)
933 ac_prev=psdir ;;
934 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
935 psdir=$ac_optarg ;;
937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
938 | -silent | --silent | --silen | --sile | --sil)
939 silent=yes ;;
941 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
942 ac_prev=sbindir ;;
943 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
944 | --sbi=* | --sb=*)
945 sbindir=$ac_optarg ;;
947 -sharedstatedir | --sharedstatedir | --sharedstatedi \
948 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
949 | --sharedst | --shareds | --shared | --share | --shar \
950 | --sha | --sh)
951 ac_prev=sharedstatedir ;;
952 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
953 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
954 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
955 | --sha=* | --sh=*)
956 sharedstatedir=$ac_optarg ;;
958 -site | --site | --sit)
959 ac_prev=site ;;
960 -site=* | --site=* | --sit=*)
961 site=$ac_optarg ;;
963 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
964 ac_prev=srcdir ;;
965 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
966 srcdir=$ac_optarg ;;
968 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
969 | --syscon | --sysco | --sysc | --sys | --sy)
970 ac_prev=sysconfdir ;;
971 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
972 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
973 sysconfdir=$ac_optarg ;;
975 -target | --target | --targe | --targ | --tar | --ta | --t)
976 ac_prev=target_alias ;;
977 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
978 target_alias=$ac_optarg ;;
980 -v | -verbose | --verbose | --verbos | --verbo | --verb)
981 verbose=yes ;;
983 -version | --version | --versio | --versi | --vers | -V)
984 ac_init_version=: ;;
986 -with-* | --with-*)
987 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990 as_fn_error "invalid package name: $ac_useropt"
991 ac_useropt_orig=$ac_useropt
992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
995 "with_$ac_useropt"
996 "*) ;;
997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
998 ac_unrecognized_sep=', ';;
999 esac
1000 eval with_$ac_useropt=\$ac_optarg ;;
1002 -without-* | --without-*)
1003 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006 as_fn_error "invalid package name: $ac_useropt"
1007 ac_useropt_orig=$ac_useropt
1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "with_$ac_useropt"
1012 "*) ;;
1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1014 ac_unrecognized_sep=', ';;
1015 esac
1016 eval with_$ac_useropt=no ;;
1018 --x)
1019 # Obsolete; use --with-x.
1020 with_x=yes ;;
1022 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1023 | --x-incl | --x-inc | --x-in | --x-i)
1024 ac_prev=x_includes ;;
1025 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1026 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1027 x_includes=$ac_optarg ;;
1029 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1030 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1031 ac_prev=x_libraries ;;
1032 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1033 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1034 x_libraries=$ac_optarg ;;
1036 -*) as_fn_error "unrecognized option: \`$ac_option'
1037 Try \`$0 --help' for more information."
1040 *=*)
1041 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1042 # Reject names that are not valid shell variable names.
1043 case $ac_envvar in #(
1044 '' | [0-9]* | *[!_$as_cr_alnum]* )
1045 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1046 esac
1047 eval $ac_envvar=\$ac_optarg
1048 export $ac_envvar ;;
1051 # FIXME: should be removed in autoconf 3.0.
1052 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1053 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1054 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1055 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1058 esac
1059 done
1061 if test -n "$ac_prev"; then
1062 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1063 as_fn_error "missing argument to $ac_option"
1066 if test -n "$ac_unrecognized_opts"; then
1067 case $enable_option_checking in
1068 no) ;;
1069 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1070 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1071 esac
1074 # Check all directory arguments for consistency.
1075 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1076 datadir sysconfdir sharedstatedir localstatedir includedir \
1077 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1078 libdir localedir mandir
1080 eval ac_val=\$$ac_var
1081 # Remove trailing slashes.
1082 case $ac_val in
1083 */ )
1084 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1085 eval $ac_var=\$ac_val;;
1086 esac
1087 # Be sure to have absolute directory names.
1088 case $ac_val in
1089 [\\/$]* | ?:[\\/]* ) continue;;
1090 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1091 esac
1092 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1093 done
1095 # There might be people who depend on the old broken behavior: `$host'
1096 # used to hold the argument of --host etc.
1097 # FIXME: To remove some day.
1098 build=$build_alias
1099 host=$host_alias
1100 target=$target_alias
1102 # FIXME: To remove some day.
1103 if test "x$host_alias" != x; then
1104 if test "x$build_alias" = x; then
1105 cross_compiling=maybe
1106 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1107 If a cross compiler is detected then cross compile mode will be used." >&2
1108 elif test "x$build_alias" != "x$host_alias"; then
1109 cross_compiling=yes
1113 ac_tool_prefix=
1114 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1116 test "$silent" = yes && exec 6>/dev/null
1119 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1120 ac_ls_di=`ls -di .` &&
1121 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1122 as_fn_error "working directory cannot be determined"
1123 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1124 as_fn_error "pwd does not report name of working directory"
1127 # Find the source files, if location was not specified.
1128 if test -z "$srcdir"; then
1129 ac_srcdir_defaulted=yes
1130 # Try the directory containing this script, then the parent directory.
1131 ac_confdir=`$as_dirname -- "$as_myself" ||
1132 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1133 X"$as_myself" : 'X\(//\)[^/]' \| \
1134 X"$as_myself" : 'X\(//\)$' \| \
1135 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1136 $as_echo X"$as_myself" |
1137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1138 s//\1/
1141 /^X\(\/\/\)[^/].*/{
1142 s//\1/
1145 /^X\(\/\/\)$/{
1146 s//\1/
1149 /^X\(\/\).*/{
1150 s//\1/
1153 s/.*/./; q'`
1154 srcdir=$ac_confdir
1155 if test ! -r "$srcdir/$ac_unique_file"; then
1156 srcdir=..
1158 else
1159 ac_srcdir_defaulted=no
1161 if test ! -r "$srcdir/$ac_unique_file"; then
1162 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1163 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1165 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1166 ac_abs_confdir=`(
1167 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1168 pwd)`
1169 # When building in place, set srcdir=.
1170 if test "$ac_abs_confdir" = "$ac_pwd"; then
1171 srcdir=.
1173 # Remove unnecessary trailing slashes from srcdir.
1174 # Double slashes in file names in object file debugging info
1175 # mess up M-x gdb in Emacs.
1176 case $srcdir in
1177 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1178 esac
1179 for ac_var in $ac_precious_vars; do
1180 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1181 eval ac_env_${ac_var}_value=\$${ac_var}
1182 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1183 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1184 done
1187 # Report the --help message.
1189 if test "$ac_init_help" = "long"; then
1190 # Omit some internal or obsolete options to make the list less imposing.
1191 # This message is too long to be a string in the A/UX 3.1 sh.
1192 cat <<_ACEOF
1193 \`configure' configures this package to adapt to many kinds of systems.
1195 Usage: $0 [OPTION]... [VAR=VALUE]...
1197 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1198 VAR=VALUE. See below for descriptions of some of the useful variables.
1200 Defaults for the options are specified in brackets.
1202 Configuration:
1203 -h, --help display this help and exit
1204 --help=short display options specific to this package
1205 --help=recursive display the short help of all the included packages
1206 -V, --version display version information and exit
1207 -q, --quiet, --silent do not print \`checking...' messages
1208 --cache-file=FILE cache test results in FILE [disabled]
1209 -C, --config-cache alias for \`--cache-file=config.cache'
1210 -n, --no-create do not create output files
1211 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1213 Installation directories:
1214 --prefix=PREFIX install architecture-independent files in PREFIX
1215 [$ac_default_prefix]
1216 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1217 [PREFIX]
1219 By default, \`make install' will install all the files in
1220 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1221 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1222 for instance \`--prefix=\$HOME'.
1224 For better control, use the options below.
1226 Fine tuning of the installation directories:
1227 --bindir=DIR user executables [EPREFIX/bin]
1228 --sbindir=DIR system admin executables [EPREFIX/sbin]
1229 --libexecdir=DIR program executables [EPREFIX/libexec]
1230 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1231 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1232 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1233 --libdir=DIR object code libraries [EPREFIX/lib]
1234 --includedir=DIR C header files [PREFIX/include]
1235 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1236 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1237 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1238 --infodir=DIR info documentation [DATAROOTDIR/info]
1239 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1240 --mandir=DIR man documentation [DATAROOTDIR/man]
1241 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1242 --htmldir=DIR html documentation [DOCDIR]
1243 --dvidir=DIR dvi documentation [DOCDIR]
1244 --pdfdir=DIR pdf documentation [DOCDIR]
1245 --psdir=DIR ps documentation [DOCDIR]
1246 _ACEOF
1248 cat <<\_ACEOF
1250 Program names:
1251 --program-prefix=PREFIX prepend PREFIX to installed program names
1252 --program-suffix=SUFFIX append SUFFIX to installed program names
1253 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1254 _ACEOF
1257 if test -n "$ac_init_help"; then
1259 cat <<\_ACEOF
1261 Optional Features:
1262 --disable-option-checking ignore unrecognized --enable/--with options
1263 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1264 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1265 --disable-dependency-tracking speeds up one-time build
1266 --enable-dependency-tracking do not reject slow dependency extractors
1268 Some influential environment variables:
1269 CC C compiler command
1270 CFLAGS C compiler flags
1271 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1272 nonstandard directory <lib dir>
1273 LIBS libraries to pass to the linker, e.g. -l<library>
1274 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1275 you have headers in a nonstandard directory <include dir>
1277 Use these variables to override the choices made by `configure' or to help
1278 it to find libraries and programs with nonstandard names/locations.
1280 Report bugs to the package provider.
1281 _ACEOF
1282 ac_status=$?
1285 if test "$ac_init_help" = "recursive"; then
1286 # If there are subdirs, report their specific --help.
1287 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1288 test -d "$ac_dir" ||
1289 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1290 continue
1291 ac_builddir=.
1293 case "$ac_dir" in
1294 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1296 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1297 # A ".." for each directory in $ac_dir_suffix.
1298 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1299 case $ac_top_builddir_sub in
1300 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1301 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1302 esac ;;
1303 esac
1304 ac_abs_top_builddir=$ac_pwd
1305 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1306 # for backward compatibility:
1307 ac_top_builddir=$ac_top_build_prefix
1309 case $srcdir in
1310 .) # We are building in place.
1311 ac_srcdir=.
1312 ac_top_srcdir=$ac_top_builddir_sub
1313 ac_abs_top_srcdir=$ac_pwd ;;
1314 [\\/]* | ?:[\\/]* ) # Absolute name.
1315 ac_srcdir=$srcdir$ac_dir_suffix;
1316 ac_top_srcdir=$srcdir
1317 ac_abs_top_srcdir=$srcdir ;;
1318 *) # Relative name.
1319 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1320 ac_top_srcdir=$ac_top_build_prefix$srcdir
1321 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1322 esac
1323 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1325 cd "$ac_dir" || { ac_status=$?; continue; }
1326 # Check for guested configure.
1327 if test -f "$ac_srcdir/configure.gnu"; then
1328 echo &&
1329 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1330 elif test -f "$ac_srcdir/configure"; then
1331 echo &&
1332 $SHELL "$ac_srcdir/configure" --help=recursive
1333 else
1334 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1335 fi || ac_status=$?
1336 cd "$ac_pwd" || { ac_status=$?; break; }
1337 done
1340 test -n "$ac_init_help" && exit $ac_status
1341 if $ac_init_version; then
1342 cat <<\_ACEOF
1343 configure
1344 generated by GNU Autoconf 2.65
1346 Copyright (C) 2009 Free Software Foundation, Inc.
1347 This configure script is free software; the Free Software Foundation
1348 gives unlimited permission to copy, distribute and modify it.
1349 _ACEOF
1350 exit
1353 ## ------------------------ ##
1354 ## Autoconf initialization. ##
1355 ## ------------------------ ##
1357 # ac_fn_c_try_compile LINENO
1358 # --------------------------
1359 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1360 ac_fn_c_try_compile ()
1362 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1363 rm -f conftest.$ac_objext
1364 if { { ac_try="$ac_compile"
1365 case "(($ac_try" in
1366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1367 *) ac_try_echo=$ac_try;;
1368 esac
1369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1370 $as_echo "$ac_try_echo"; } >&5
1371 (eval "$ac_compile") 2>conftest.err
1372 ac_status=$?
1373 if test -s conftest.err; then
1374 grep -v '^ *+' conftest.err >conftest.er1
1375 cat conftest.er1 >&5
1376 mv -f conftest.er1 conftest.err
1378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1379 test $ac_status = 0; } && {
1380 test -z "$ac_c_werror_flag" ||
1381 test ! -s conftest.err
1382 } && test -s conftest.$ac_objext; then :
1383 ac_retval=0
1384 else
1385 $as_echo "$as_me: failed program was:" >&5
1386 sed 's/^/| /' conftest.$ac_ext >&5
1388 ac_retval=1
1390 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1391 as_fn_set_status $ac_retval
1393 } # ac_fn_c_try_compile
1395 # ac_fn_c_check_func LINENO FUNC VAR
1396 # ----------------------------------
1397 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1398 ac_fn_c_check_func ()
1400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1402 $as_echo_n "checking for $2... " >&6; }
1403 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1404 $as_echo_n "(cached) " >&6
1405 else
1406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1407 /* end confdefs.h. */
1408 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1410 #define $2 innocuous_$2
1412 /* System header to define __stub macros and hopefully few prototypes,
1413 which can conflict with char $2 (); below.
1414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1415 <limits.h> exists even on freestanding compilers. */
1417 #ifdef __STDC__
1418 # include <limits.h>
1419 #else
1420 # include <assert.h>
1421 #endif
1423 #undef $2
1425 /* Override any GCC internal prototype to avoid an error.
1426 Use char because int might match the return type of a GCC
1427 builtin and then its argument prototype would still apply. */
1428 #ifdef __cplusplus
1429 extern "C"
1430 #endif
1431 char $2 ();
1432 /* The GNU C library defines this for functions which it implements
1433 to always fail with ENOSYS. Some functions are actually named
1434 something starting with __ and the normal name is an alias. */
1435 #if defined __stub_$2 || defined __stub___$2
1436 choke me
1437 #endif
1440 main ()
1442 return $2 ();
1444 return 0;
1446 _ACEOF
1447 if ac_fn_c_try_link "$LINENO"; then :
1448 eval "$3=yes"
1449 else
1450 eval "$3=no"
1452 rm -f core conftest.err conftest.$ac_objext \
1453 conftest$ac_exeext conftest.$ac_ext
1455 eval ac_res=\$$3
1456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1457 $as_echo "$ac_res" >&6; }
1458 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1460 } # ac_fn_c_check_func
1462 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1463 # -------------------------------------------
1464 # Tests whether TYPE exists after having included INCLUDES, setting cache
1465 # variable VAR accordingly.
1466 ac_fn_c_check_type ()
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1470 $as_echo_n "checking for $2... " >&6; }
1471 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1472 $as_echo_n "(cached) " >&6
1473 else
1474 eval "$3=no"
1475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1476 /* end confdefs.h. */
1479 main ()
1481 if (sizeof ($2))
1482 return 0;
1484 return 0;
1486 _ACEOF
1487 if ac_fn_c_try_compile "$LINENO"; then :
1488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1489 /* end confdefs.h. */
1492 main ()
1494 if (sizeof (($2)))
1495 return 0;
1497 return 0;
1499 _ACEOF
1500 if ac_fn_c_try_compile "$LINENO"; then :
1502 else
1503 eval "$3=yes"
1505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1509 eval ac_res=\$$3
1510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1511 $as_echo "$ac_res" >&6; }
1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1514 } # ac_fn_c_check_type
1515 cat >config.log <<_ACEOF
1516 This file contains any messages produced by compilers while
1517 running configure, to aid debugging if configure makes a mistake.
1519 It was created by $as_me, which was
1520 generated by GNU Autoconf 2.65. Invocation command line was
1522 $ $0 $@
1524 _ACEOF
1525 exec 5>>config.log
1527 cat <<_ASUNAME
1528 ## --------- ##
1529 ## Platform. ##
1530 ## --------- ##
1532 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1533 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1534 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1535 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1536 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1538 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1539 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1541 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1542 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1543 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1544 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1545 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1546 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1547 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1549 _ASUNAME
1551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 for as_dir in $PATH
1554 IFS=$as_save_IFS
1555 test -z "$as_dir" && as_dir=.
1556 $as_echo "PATH: $as_dir"
1557 done
1558 IFS=$as_save_IFS
1560 } >&5
1562 cat >&5 <<_ACEOF
1565 ## ----------- ##
1566 ## Core tests. ##
1567 ## ----------- ##
1569 _ACEOF
1572 # Keep a trace of the command line.
1573 # Strip out --no-create and --no-recursion so they do not pile up.
1574 # Strip out --silent because we don't want to record it for future runs.
1575 # Also quote any args containing shell meta-characters.
1576 # Make two passes to allow for proper duplicate-argument suppression.
1577 ac_configure_args=
1578 ac_configure_args0=
1579 ac_configure_args1=
1580 ac_must_keep_next=false
1581 for ac_pass in 1 2
1583 for ac_arg
1585 case $ac_arg in
1586 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1588 | -silent | --silent | --silen | --sile | --sil)
1589 continue ;;
1590 *\'*)
1591 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1592 esac
1593 case $ac_pass in
1594 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1596 as_fn_append ac_configure_args1 " '$ac_arg'"
1597 if test $ac_must_keep_next = true; then
1598 ac_must_keep_next=false # Got value, back to normal.
1599 else
1600 case $ac_arg in
1601 *=* | --config-cache | -C | -disable-* | --disable-* \
1602 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1603 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1604 | -with-* | --with-* | -without-* | --without-* | --x)
1605 case "$ac_configure_args0 " in
1606 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1607 esac
1609 -* ) ac_must_keep_next=true ;;
1610 esac
1612 as_fn_append ac_configure_args " '$ac_arg'"
1614 esac
1615 done
1616 done
1617 { ac_configure_args0=; unset ac_configure_args0;}
1618 { ac_configure_args1=; unset ac_configure_args1;}
1620 # When interrupted or exit'd, cleanup temporary files, and complete
1621 # config.log. We remove comments because anyway the quotes in there
1622 # would cause problems or look ugly.
1623 # WARNING: Use '\'' to represent an apostrophe within the trap.
1624 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1625 trap 'exit_status=$?
1626 # Save into config.log some information that might help in debugging.
1628 echo
1630 cat <<\_ASBOX
1631 ## ---------------- ##
1632 ## Cache variables. ##
1633 ## ---------------- ##
1634 _ASBOX
1635 echo
1636 # The following way of writing the cache mishandles newlines in values,
1638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1639 eval ac_val=\$$ac_var
1640 case $ac_val in #(
1641 *${as_nl}*)
1642 case $ac_var in #(
1643 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1645 esac
1646 case $ac_var in #(
1647 _ | IFS | as_nl) ;; #(
1648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1649 *) { eval $ac_var=; unset $ac_var;} ;;
1650 esac ;;
1651 esac
1652 done
1653 (set) 2>&1 |
1654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1655 *${as_nl}ac_space=\ *)
1656 sed -n \
1657 "s/'\''/'\''\\\\'\'''\''/g;
1658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1659 ;; #(
1661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1663 esac |
1664 sort
1666 echo
1668 cat <<\_ASBOX
1669 ## ----------------- ##
1670 ## Output variables. ##
1671 ## ----------------- ##
1672 _ASBOX
1673 echo
1674 for ac_var in $ac_subst_vars
1676 eval ac_val=\$$ac_var
1677 case $ac_val in
1678 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1679 esac
1680 $as_echo "$ac_var='\''$ac_val'\''"
1681 done | sort
1682 echo
1684 if test -n "$ac_subst_files"; then
1685 cat <<\_ASBOX
1686 ## ------------------- ##
1687 ## File substitutions. ##
1688 ## ------------------- ##
1689 _ASBOX
1690 echo
1691 for ac_var in $ac_subst_files
1693 eval ac_val=\$$ac_var
1694 case $ac_val in
1695 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1696 esac
1697 $as_echo "$ac_var='\''$ac_val'\''"
1698 done | sort
1699 echo
1702 if test -s confdefs.h; then
1703 cat <<\_ASBOX
1704 ## ----------- ##
1705 ## confdefs.h. ##
1706 ## ----------- ##
1707 _ASBOX
1708 echo
1709 cat confdefs.h
1710 echo
1712 test "$ac_signal" != 0 &&
1713 $as_echo "$as_me: caught signal $ac_signal"
1714 $as_echo "$as_me: exit $exit_status"
1715 } >&5
1716 rm -f core *.core core.conftest.* &&
1717 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1718 exit $exit_status
1720 for ac_signal in 1 2 13 15; do
1721 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1722 done
1723 ac_signal=0
1725 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1726 rm -f -r conftest* confdefs.h
1728 $as_echo "/* confdefs.h */" > confdefs.h
1730 # Predefined preprocessor variables.
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_NAME "$PACKAGE_NAME"
1734 _ACEOF
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1738 _ACEOF
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1742 _ACEOF
1744 cat >>confdefs.h <<_ACEOF
1745 #define PACKAGE_STRING "$PACKAGE_STRING"
1746 _ACEOF
1748 cat >>confdefs.h <<_ACEOF
1749 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1750 _ACEOF
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_URL "$PACKAGE_URL"
1754 _ACEOF
1757 # Let the site file select an alternate cache file if it wants to.
1758 # Prefer an explicitly selected file to automatically selected ones.
1759 ac_site_file1=NONE
1760 ac_site_file2=NONE
1761 if test -n "$CONFIG_SITE"; then
1762 ac_site_file1=$CONFIG_SITE
1763 elif test "x$prefix" != xNONE; then
1764 ac_site_file1=$prefix/share/config.site
1765 ac_site_file2=$prefix/etc/config.site
1766 else
1767 ac_site_file1=$ac_default_prefix/share/config.site
1768 ac_site_file2=$ac_default_prefix/etc/config.site
1770 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1772 test "x$ac_site_file" = xNONE && continue
1773 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1775 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1776 sed 's/^/| /' "$ac_site_file" >&5
1777 . "$ac_site_file"
1779 done
1781 if test -r "$cache_file"; then
1782 # Some versions of bash will fail to source /dev/null (special files
1783 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1784 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1786 $as_echo "$as_me: loading cache $cache_file" >&6;}
1787 case $cache_file in
1788 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1789 *) . "./$cache_file";;
1790 esac
1792 else
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1794 $as_echo "$as_me: creating cache $cache_file" >&6;}
1795 >$cache_file
1798 # Check that the precious variables saved in the cache have kept the same
1799 # value.
1800 ac_cache_corrupted=false
1801 for ac_var in $ac_precious_vars; do
1802 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1803 eval ac_new_set=\$ac_env_${ac_var}_set
1804 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1805 eval ac_new_val=\$ac_env_${ac_var}_value
1806 case $ac_old_set,$ac_new_set in
1807 set,)
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1809 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1810 ac_cache_corrupted=: ;;
1811 ,set)
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1813 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1814 ac_cache_corrupted=: ;;
1815 ,);;
1817 if test "x$ac_old_val" != "x$ac_new_val"; then
1818 # differences in whitespace do not lead to failure.
1819 ac_old_val_w=`echo x $ac_old_val`
1820 ac_new_val_w=`echo x $ac_new_val`
1821 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1823 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1824 ac_cache_corrupted=:
1825 else
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1827 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1828 eval $ac_var=\$ac_old_val
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1831 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1833 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1834 fi;;
1835 esac
1836 # Pass precious variables to config.status.
1837 if test "$ac_new_set" = set; then
1838 case $ac_new_val in
1839 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1840 *) ac_arg=$ac_var=$ac_new_val ;;
1841 esac
1842 case " $ac_configure_args " in
1843 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1844 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1845 esac
1847 done
1848 if $ac_cache_corrupted; then
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1852 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1853 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1855 ## -------------------- ##
1856 ## Main body of script. ##
1857 ## -------------------- ##
1859 ac_ext=c
1860 ac_cpp='$CPP $CPPFLAGS'
1861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1866 am__api_version='1.11'
1868 ac_aux_dir=
1869 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1870 for ac_t in install-sh install.sh shtool; do
1871 if test -f "$ac_dir/$ac_t"; then
1872 ac_aux_dir=$ac_dir
1873 ac_install_sh="$ac_aux_dir/$ac_t -c"
1874 break 2
1876 done
1877 done
1878 if test -z "$ac_aux_dir"; then
1879 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1882 # These three variables are undocumented and unsupported,
1883 # and are intended to be withdrawn in a future Autoconf release.
1884 # They can cause serious problems if a builder's source tree is in a directory
1885 # whose full name contains unusual characters.
1886 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1887 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1888 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1891 # Find a good install program. We prefer a C program (faster),
1892 # so one script is as good as another. But avoid the broken or
1893 # incompatible versions:
1894 # SysV /etc/install, /usr/sbin/install
1895 # SunOS /usr/etc/install
1896 # IRIX /sbin/install
1897 # AIX /bin/install
1898 # AmigaOS /C/install, which installs bootblocks on floppy discs
1899 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1900 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1901 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1902 # OS/2's system install, which has a completely different semantic
1903 # ./install, which can be erroneously created by make from ./install.sh.
1904 # Reject install programs that cannot install multiple files.
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1906 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1907 if test -z "$INSTALL"; then
1908 if test "${ac_cv_path_install+set}" = set; then :
1909 $as_echo_n "(cached) " >&6
1910 else
1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 for as_dir in $PATH
1914 IFS=$as_save_IFS
1915 test -z "$as_dir" && as_dir=.
1916 # Account for people who put trailing slashes in PATH elements.
1917 case $as_dir/ in #((
1918 ./ | .// | /[cC]/* | \
1919 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1920 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1921 /usr/ucb/* ) ;;
1923 # OSF1 and SCO ODT 3.0 have their own names for install.
1924 # Don't use installbsd from OSF since it installs stuff as root
1925 # by default.
1926 for ac_prog in ginstall scoinst install; do
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1929 if test $ac_prog = install &&
1930 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1931 # AIX install. It has an incompatible calling convention.
1933 elif test $ac_prog = install &&
1934 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1935 # program-specific install script used by HP pwplus--don't use.
1937 else
1938 rm -rf conftest.one conftest.two conftest.dir
1939 echo one > conftest.one
1940 echo two > conftest.two
1941 mkdir conftest.dir
1942 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1943 test -s conftest.one && test -s conftest.two &&
1944 test -s conftest.dir/conftest.one &&
1945 test -s conftest.dir/conftest.two
1946 then
1947 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1948 break 3
1952 done
1953 done
1955 esac
1957 done
1958 IFS=$as_save_IFS
1960 rm -rf conftest.one conftest.two conftest.dir
1963 if test "${ac_cv_path_install+set}" = set; then
1964 INSTALL=$ac_cv_path_install
1965 else
1966 # As a last resort, use the slow shell script. Don't cache a
1967 # value for INSTALL within a source directory, because that will
1968 # break other packages using the cache if that directory is
1969 # removed, or if the value is a relative name.
1970 INSTALL=$ac_install_sh
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1974 $as_echo "$INSTALL" >&6; }
1976 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1977 # It thinks the first close brace ends the variable substitution.
1978 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1980 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1982 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1985 $as_echo_n "checking whether build environment is sane... " >&6; }
1986 # Just in case
1987 sleep 1
1988 echo timestamp > conftest.file
1989 # Reject unsafe characters in $srcdir or the absolute working directory
1990 # name. Accept space and tab only in the latter.
1991 am_lf='
1993 case `pwd` in
1994 *[\\\"\#\$\&\'\`$am_lf]*)
1995 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1996 esac
1997 case $srcdir in
1998 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1999 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2000 esac
2002 # Do `set' in a subshell so we don't clobber the current shell's
2003 # arguments. Must try -L first in case configure is actually a
2004 # symlink; some systems play weird games with the mod time of symlinks
2005 # (eg FreeBSD returns the mod time of the symlink's containing
2006 # directory).
2007 if (
2008 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2009 if test "$*" = "X"; then
2010 # -L didn't work.
2011 set X `ls -t "$srcdir/configure" conftest.file`
2013 rm -f conftest.file
2014 if test "$*" != "X $srcdir/configure conftest.file" \
2015 && test "$*" != "X conftest.file $srcdir/configure"; then
2017 # If neither matched, then we have a broken ls. This can happen
2018 # if, for instance, CONFIG_SHELL is bash and it inherits a
2019 # broken ls alias from the environment. This has actually
2020 # happened. Such a system could not be considered "sane".
2021 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2022 alias in your environment" "$LINENO" 5
2025 test "$2" = conftest.file
2027 then
2028 # Ok.
2030 else
2031 as_fn_error "newly created file is older than distributed files!
2032 Check your system clock" "$LINENO" 5
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2035 $as_echo "yes" >&6; }
2036 test "$program_prefix" != NONE &&
2037 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2038 # Use a double $ so make ignores it.
2039 test "$program_suffix" != NONE &&
2040 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2041 # Double any \ or $.
2042 # By default was `s,x,x', remove it if useless.
2043 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2044 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2046 # expand $ac_aux_dir to an absolute path
2047 am_aux_dir=`cd $ac_aux_dir && pwd`
2049 if test x"${MISSING+set}" != xset; then
2050 case $am_aux_dir in
2051 *\ * | *\ *)
2052 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2054 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2055 esac
2057 # Use eval to expand $SHELL
2058 if eval "$MISSING --run true"; then
2059 am_missing_run="$MISSING --run "
2060 else
2061 am_missing_run=
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2063 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2066 if test x"${install_sh}" != xset; then
2067 case $am_aux_dir in
2068 *\ * | *\ *)
2069 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2071 install_sh="\${SHELL} $am_aux_dir/install-sh"
2072 esac
2075 # Installed binaries are usually stripped using `strip' when the user
2076 # run `make install-strip'. However `strip' might not be the right
2077 # tool to use in cross-compilation environments, therefore Automake
2078 # will honor the `STRIP' environment variable to overrule this program.
2079 if test "$cross_compiling" != no; then
2080 if test -n "$ac_tool_prefix"; then
2081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2082 set dummy ${ac_tool_prefix}strip; ac_word=$2
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2084 $as_echo_n "checking for $ac_word... " >&6; }
2085 if test "${ac_cv_prog_STRIP+set}" = set; then :
2086 $as_echo_n "(cached) " >&6
2087 else
2088 if test -n "$STRIP"; then
2089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2090 else
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 for as_dir in $PATH
2094 IFS=$as_save_IFS
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 break 2
2102 done
2103 done
2104 IFS=$as_save_IFS
2108 STRIP=$ac_cv_prog_STRIP
2109 if test -n "$STRIP"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2111 $as_echo "$STRIP" >&6; }
2112 else
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2114 $as_echo "no" >&6; }
2119 if test -z "$ac_cv_prog_STRIP"; then
2120 ac_ct_STRIP=$STRIP
2121 # Extract the first word of "strip", so it can be a program name with args.
2122 set dummy strip; ac_word=$2
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124 $as_echo_n "checking for $ac_word... " >&6; }
2125 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2126 $as_echo_n "(cached) " >&6
2127 else
2128 if test -n "$ac_ct_STRIP"; then
2129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2130 else
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 for as_dir in $PATH
2134 IFS=$as_save_IFS
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138 ac_cv_prog_ac_ct_STRIP="strip"
2139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 break 2
2142 done
2143 done
2144 IFS=$as_save_IFS
2148 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2149 if test -n "$ac_ct_STRIP"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2151 $as_echo "$ac_ct_STRIP" >&6; }
2152 else
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2154 $as_echo "no" >&6; }
2157 if test "x$ac_ct_STRIP" = x; then
2158 STRIP=":"
2159 else
2160 case $cross_compiling:$ac_tool_warned in
2161 yes:)
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2164 ac_tool_warned=yes ;;
2165 esac
2166 STRIP=$ac_ct_STRIP
2168 else
2169 STRIP="$ac_cv_prog_STRIP"
2173 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2176 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2177 if test -z "$MKDIR_P"; then
2178 if test "${ac_cv_path_mkdir+set}" = set; then :
2179 $as_echo_n "(cached) " >&6
2180 else
2181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2184 IFS=$as_save_IFS
2185 test -z "$as_dir" && as_dir=.
2186 for ac_prog in mkdir gmkdir; do
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2189 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2190 'mkdir (GNU coreutils) '* | \
2191 'mkdir (coreutils) '* | \
2192 'mkdir (fileutils) '4.1*)
2193 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2194 break 3;;
2195 esac
2196 done
2197 done
2198 done
2199 IFS=$as_save_IFS
2203 test -d ./--version && rmdir ./--version
2204 if test "${ac_cv_path_mkdir+set}" = set; then
2205 MKDIR_P="$ac_cv_path_mkdir -p"
2206 else
2207 # As a last resort, use the slow shell script. Don't cache a
2208 # value for MKDIR_P within a source directory, because that will
2209 # break other packages using the cache if that directory is
2210 # removed, or if the value is a relative name.
2211 MKDIR_P="$ac_install_sh -d"
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2215 $as_echo "$MKDIR_P" >&6; }
2217 mkdir_p="$MKDIR_P"
2218 case $mkdir_p in
2219 [\\/$]* | ?:[\\/]*) ;;
2220 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2221 esac
2223 for ac_prog in gawk mawk nawk awk
2225 # Extract the first word of "$ac_prog", so it can be a program name with args.
2226 set dummy $ac_prog; ac_word=$2
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2228 $as_echo_n "checking for $ac_word... " >&6; }
2229 if test "${ac_cv_prog_AWK+set}" = set; then :
2230 $as_echo_n "(cached) " >&6
2231 else
2232 if test -n "$AWK"; then
2233 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2234 else
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 for as_dir in $PATH
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_AWK="$ac_prog"
2243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 break 2
2246 done
2247 done
2248 IFS=$as_save_IFS
2252 AWK=$ac_cv_prog_AWK
2253 if test -n "$AWK"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2255 $as_echo "$AWK" >&6; }
2256 else
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2258 $as_echo "no" >&6; }
2262 test -n "$AWK" && break
2263 done
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2266 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2267 set x ${MAKE-make}
2268 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2269 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2270 $as_echo_n "(cached) " >&6
2271 else
2272 cat >conftest.make <<\_ACEOF
2273 SHELL = /bin/sh
2274 all:
2275 @echo '@@@%%%=$(MAKE)=@@@%%%'
2276 _ACEOF
2277 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2278 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2279 *@@@%%%=?*=@@@%%%*)
2280 eval ac_cv_prog_make_${ac_make}_set=yes;;
2282 eval ac_cv_prog_make_${ac_make}_set=no;;
2283 esac
2284 rm -f conftest.make
2286 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2288 $as_echo "yes" >&6; }
2289 SET_MAKE=
2290 else
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2292 $as_echo "no" >&6; }
2293 SET_MAKE="MAKE=${MAKE-make}"
2296 rm -rf .tst 2>/dev/null
2297 mkdir .tst 2>/dev/null
2298 if test -d .tst; then
2299 am__leading_dot=.
2300 else
2301 am__leading_dot=_
2303 rmdir .tst 2>/dev/null
2305 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2306 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2307 # is not polluted with repeated "-I."
2308 am__isrc=' -I$(srcdir)'
2309 # test to see if srcdir already configured
2310 if test -f $srcdir/config.status; then
2311 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2315 # test whether we have cygpath
2316 if test -z "$CYGPATH_W"; then
2317 if (cygpath --version) >/dev/null 2>/dev/null; then
2318 CYGPATH_W='cygpath -w'
2319 else
2320 CYGPATH_W=echo
2325 # Define the identity of the package.
2326 PACKAGE=arlib
2327 VERSION=1.0
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE "$PACKAGE"
2332 _ACEOF
2335 cat >>confdefs.h <<_ACEOF
2336 #define VERSION "$VERSION"
2337 _ACEOF
2339 # Some tools Automake needs.
2341 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2344 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2347 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2350 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2353 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2355 # We need awk for the "check" target. The system "awk" is bad on
2356 # some platforms.
2357 # Always define AMTAR for backward compatibility.
2359 AMTAR=${AMTAR-"${am_missing_run}tar"}
2361 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2368 #AM_CONFIG_HEADER([config.h])
2370 # Checks for programs.
2371 ac_ext=c
2372 ac_cpp='$CPP $CPPFLAGS'
2373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2376 if test -n "$ac_tool_prefix"; then
2377 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2378 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380 $as_echo_n "checking for $ac_word... " >&6; }
2381 if test "${ac_cv_prog_CC+set}" = set; then :
2382 $as_echo_n "(cached) " >&6
2383 else
2384 if test -n "$CC"; then
2385 ac_cv_prog_CC="$CC" # Let the user override the test.
2386 else
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388 for as_dir in $PATH
2390 IFS=$as_save_IFS
2391 test -z "$as_dir" && as_dir=.
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2394 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2396 break 2
2398 done
2399 done
2400 IFS=$as_save_IFS
2404 CC=$ac_cv_prog_CC
2405 if test -n "$CC"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2407 $as_echo "$CC" >&6; }
2408 else
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410 $as_echo "no" >&6; }
2415 if test -z "$ac_cv_prog_CC"; then
2416 ac_ct_CC=$CC
2417 # Extract the first word of "gcc", so it can be a program name with args.
2418 set dummy gcc; ac_word=$2
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2420 $as_echo_n "checking for $ac_word... " >&6; }
2421 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2422 $as_echo_n "(cached) " >&6
2423 else
2424 if test -n "$ac_ct_CC"; then
2425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2426 else
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 for as_dir in $PATH
2430 IFS=$as_save_IFS
2431 test -z "$as_dir" && as_dir=.
2432 for ac_exec_ext in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2434 ac_cv_prog_ac_ct_CC="gcc"
2435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 break 2
2438 done
2439 done
2440 IFS=$as_save_IFS
2444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2445 if test -n "$ac_ct_CC"; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2447 $as_echo "$ac_ct_CC" >&6; }
2448 else
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2450 $as_echo "no" >&6; }
2453 if test "x$ac_ct_CC" = x; then
2454 CC=""
2455 else
2456 case $cross_compiling:$ac_tool_warned in
2457 yes:)
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2460 ac_tool_warned=yes ;;
2461 esac
2462 CC=$ac_ct_CC
2464 else
2465 CC="$ac_cv_prog_CC"
2468 if test -z "$CC"; then
2469 if test -n "$ac_tool_prefix"; then
2470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2471 set dummy ${ac_tool_prefix}cc; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if test "${ac_cv_prog_CC+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2476 else
2477 if test -n "$CC"; then
2478 ac_cv_prog_CC="$CC" # Let the user override the test.
2479 else
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 for as_dir in $PATH
2483 IFS=$as_save_IFS
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_CC="${ac_tool_prefix}cc"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 break 2
2491 done
2492 done
2493 IFS=$as_save_IFS
2497 CC=$ac_cv_prog_CC
2498 if test -n "$CC"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2500 $as_echo "$CC" >&6; }
2501 else
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2509 if test -z "$CC"; then
2510 # Extract the first word of "cc", so it can be a program name with args.
2511 set dummy cc; ac_word=$2
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if test "${ac_cv_prog_CC+set}" = set; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 if test -n "$CC"; then
2518 ac_cv_prog_CC="$CC" # Let the user override the test.
2519 else
2520 ac_prog_rejected=no
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2524 IFS=$as_save_IFS
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2529 ac_prog_rejected=yes
2530 continue
2532 ac_cv_prog_CC="cc"
2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 break 2
2536 done
2537 done
2538 IFS=$as_save_IFS
2540 if test $ac_prog_rejected = yes; then
2541 # We found a bogon in the path, so make sure we never use it.
2542 set dummy $ac_cv_prog_CC
2543 shift
2544 if test $# != 0; then
2545 # We chose a different compiler from the bogus one.
2546 # However, it has the same basename, so the bogon will be chosen
2547 # first if we set CC to just the basename; use the full file name.
2548 shift
2549 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2554 CC=$ac_cv_prog_CC
2555 if test -n "$CC"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2557 $as_echo "$CC" >&6; }
2558 else
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2565 if test -z "$CC"; then
2566 if test -n "$ac_tool_prefix"; then
2567 for ac_prog in cl.exe
2569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if test "${ac_cv_prog_CC+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2575 else
2576 if test -n "$CC"; then
2577 ac_cv_prog_CC="$CC" # Let the user override the test.
2578 else
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 for as_dir in $PATH
2582 IFS=$as_save_IFS
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 break 2
2590 done
2591 done
2592 IFS=$as_save_IFS
2596 CC=$ac_cv_prog_CC
2597 if test -n "$CC"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2599 $as_echo "$CC" >&6; }
2600 else
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2606 test -n "$CC" && break
2607 done
2609 if test -z "$CC"; then
2610 ac_ct_CC=$CC
2611 for ac_prog in cl.exe
2613 # Extract the first word of "$ac_prog", so it can be a program name with args.
2614 set dummy $ac_prog; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2618 $as_echo_n "(cached) " >&6
2619 else
2620 if test -n "$ac_ct_CC"; then
2621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2622 else
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH
2626 IFS=$as_save_IFS
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630 ac_cv_prog_ac_ct_CC="$ac_prog"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 break 2
2634 done
2635 done
2636 IFS=$as_save_IFS
2640 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2641 if test -n "$ac_ct_CC"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2643 $as_echo "$ac_ct_CC" >&6; }
2644 else
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2650 test -n "$ac_ct_CC" && break
2651 done
2653 if test "x$ac_ct_CC" = x; then
2654 CC=""
2655 else
2656 case $cross_compiling:$ac_tool_warned in
2657 yes:)
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2660 ac_tool_warned=yes ;;
2661 esac
2662 CC=$ac_ct_CC
2669 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2671 as_fn_error "no acceptable C compiler found in \$PATH
2672 See \`config.log' for more details." "$LINENO" 5; }
2674 # Provide some information about the compiler.
2675 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2676 set X $ac_compile
2677 ac_compiler=$2
2678 for ac_option in --version -v -V -qversion; do
2679 { { ac_try="$ac_compiler $ac_option >&5"
2680 case "(($ac_try" in
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2683 esac
2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685 $as_echo "$ac_try_echo"; } >&5
2686 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2687 ac_status=$?
2688 if test -s conftest.err; then
2689 sed '10a\
2690 ... rest of stderr output deleted ...
2691 10q' conftest.err >conftest.er1
2692 cat conftest.er1 >&5
2694 rm -f conftest.er1 conftest.err
2695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; }
2697 done
2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2703 main ()
2707 return 0;
2709 _ACEOF
2710 ac_clean_files_save=$ac_clean_files
2711 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2712 # Try to create an executable without -o first, disregard a.out.
2713 # It will help us diagnose broken compilers, and finding out an intuition
2714 # of exeext.
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2716 $as_echo_n "checking whether the C compiler works... " >&6; }
2717 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2719 # The possible output files:
2720 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2722 ac_rmfiles=
2723 for ac_file in $ac_files
2725 case $ac_file in
2726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2727 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2728 esac
2729 done
2730 rm -f $ac_rmfiles
2732 if { { ac_try="$ac_link_default"
2733 case "(($ac_try" in
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2736 esac
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 $as_echo "$ac_try_echo"; } >&5
2739 (eval "$ac_link_default") 2>&5
2740 ac_status=$?
2741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; }; then :
2743 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2744 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2745 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2746 # so that the user can short-circuit this test for compilers unknown to
2747 # Autoconf.
2748 for ac_file in $ac_files ''
2750 test -f "$ac_file" || continue
2751 case $ac_file in
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2754 [ab].out )
2755 # We found the default executable, but exeext='' is most
2756 # certainly right.
2757 break;;
2758 *.* )
2759 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2760 then :; else
2761 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2763 # We set ac_cv_exeext here because the later test for it is not
2764 # safe: cross compilers may not add the suffix if given an `-o'
2765 # argument, so we may need to know it at that point already.
2766 # Even if this section looks crufty: it has the advantage of
2767 # actually working.
2768 break;;
2770 break;;
2771 esac
2772 done
2773 test "$ac_cv_exeext" = no && ac_cv_exeext=
2775 else
2776 ac_file=''
2778 if test -z "$ac_file"; then :
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2781 $as_echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2786 { as_fn_set_status 77
2787 as_fn_error "C compiler cannot create executables
2788 See \`config.log' for more details." "$LINENO" 5; }; }
2789 else
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2791 $as_echo "yes" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2794 $as_echo_n "checking for C compiler default output file name... " >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2796 $as_echo "$ac_file" >&6; }
2797 ac_exeext=$ac_cv_exeext
2799 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2800 ac_clean_files=$ac_clean_files_save
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2802 $as_echo_n "checking for suffix of executables... " >&6; }
2803 if { { ac_try="$ac_link"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_link") 2>&5
2811 ac_status=$?
2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813 test $ac_status = 0; }; then :
2814 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2815 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2816 # work properly (i.e., refer to `conftest.exe'), while it won't with
2817 # `rm'.
2818 for ac_file in conftest.exe conftest conftest.*; do
2819 test -f "$ac_file" || continue
2820 case $ac_file in
2821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2822 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2823 break;;
2824 * ) break;;
2825 esac
2826 done
2827 else
2828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830 as_fn_error "cannot compute suffix of executables: cannot compile and link
2831 See \`config.log' for more details." "$LINENO" 5; }
2833 rm -f conftest conftest$ac_cv_exeext
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2835 $as_echo "$ac_cv_exeext" >&6; }
2837 rm -f conftest.$ac_ext
2838 EXEEXT=$ac_cv_exeext
2839 ac_exeext=$EXEEXT
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2842 #include <stdio.h>
2844 main ()
2846 FILE *f = fopen ("conftest.out", "w");
2847 return ferror (f) || fclose (f) != 0;
2850 return 0;
2852 _ACEOF
2853 ac_clean_files="$ac_clean_files conftest.out"
2854 # Check that the compiler produces executables we can run. If not, either
2855 # the compiler is broken, or we cross compile.
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2857 $as_echo_n "checking whether we are cross compiling... " >&6; }
2858 if test "$cross_compiling" != yes; then
2859 { { ac_try="$ac_link"
2860 case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2863 esac
2864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2865 $as_echo "$ac_try_echo"; } >&5
2866 (eval "$ac_link") 2>&5
2867 ac_status=$?
2868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2869 test $ac_status = 0; }
2870 if { ac_try='./conftest$ac_cv_exeext'
2871 { { case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874 esac
2875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2876 $as_echo "$ac_try_echo"; } >&5
2877 (eval "$ac_try") 2>&5
2878 ac_status=$?
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; }; }; then
2881 cross_compiling=no
2882 else
2883 if test "$cross_compiling" = maybe; then
2884 cross_compiling=yes
2885 else
2886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2888 as_fn_error "cannot run C compiled programs.
2889 If you meant to cross compile, use \`--host'.
2890 See \`config.log' for more details." "$LINENO" 5; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2895 $as_echo "$cross_compiling" >&6; }
2897 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2898 ac_clean_files=$ac_clean_files_save
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2900 $as_echo_n "checking for suffix of object files... " >&6; }
2901 if test "${ac_cv_objext+set}" = set; then :
2902 $as_echo_n "(cached) " >&6
2903 else
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2908 main ()
2912 return 0;
2914 _ACEOF
2915 rm -f conftest.o conftest.obj
2916 if { { ac_try="$ac_compile"
2917 case "(($ac_try" in
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2920 esac
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923 (eval "$ac_compile") 2>&5
2924 ac_status=$?
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; }; then :
2927 for ac_file in conftest.o conftest.obj conftest.*; do
2928 test -f "$ac_file" || continue;
2929 case $ac_file in
2930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2931 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2932 break;;
2933 esac
2934 done
2935 else
2936 $as_echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2941 as_fn_error "cannot compute suffix of object files: cannot compile
2942 See \`config.log' for more details." "$LINENO" 5; }
2944 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2947 $as_echo "$ac_cv_objext" >&6; }
2948 OBJEXT=$ac_cv_objext
2949 ac_objext=$OBJEXT
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2952 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2954 else
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2959 main ()
2961 #ifndef __GNUC__
2962 choke me
2963 #endif
2966 return 0;
2968 _ACEOF
2969 if ac_fn_c_try_compile "$LINENO"; then :
2970 ac_compiler_gnu=yes
2971 else
2972 ac_compiler_gnu=no
2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2980 if test $ac_compiler_gnu = yes; then
2981 GCC=yes
2982 else
2983 GCC=
2985 ac_test_CFLAGS=${CFLAGS+set}
2986 ac_save_CFLAGS=$CFLAGS
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2989 if test "${ac_cv_prog_cc_g+set}" = set; then :
2990 $as_echo_n "(cached) " >&6
2991 else
2992 ac_save_c_werror_flag=$ac_c_werror_flag
2993 ac_c_werror_flag=yes
2994 ac_cv_prog_cc_g=no
2995 CFLAGS="-g"
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
3000 main ()
3004 return 0;
3006 _ACEOF
3007 if ac_fn_c_try_compile "$LINENO"; then :
3008 ac_cv_prog_cc_g=yes
3009 else
3010 CFLAGS=""
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3015 main ()
3019 return 0;
3021 _ACEOF
3022 if ac_fn_c_try_compile "$LINENO"; then :
3024 else
3025 ac_c_werror_flag=$ac_save_c_werror_flag
3026 CFLAGS="-g"
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3031 main ()
3035 return 0;
3037 _ACEOF
3038 if ac_fn_c_try_compile "$LINENO"; then :
3039 ac_cv_prog_cc_g=yes
3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 ac_c_werror_flag=$ac_save_c_werror_flag
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3049 $as_echo "$ac_cv_prog_cc_g" >&6; }
3050 if test "$ac_test_CFLAGS" = set; then
3051 CFLAGS=$ac_save_CFLAGS
3052 elif test $ac_cv_prog_cc_g = yes; then
3053 if test "$GCC" = yes; then
3054 CFLAGS="-g -O2"
3055 else
3056 CFLAGS="-g"
3058 else
3059 if test "$GCC" = yes; then
3060 CFLAGS="-O2"
3061 else
3062 CFLAGS=
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3067 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3068 $as_echo_n "(cached) " >&6
3069 else
3070 ac_cv_prog_cc_c89=no
3071 ac_save_CC=$CC
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3074 #include <stdarg.h>
3075 #include <stdio.h>
3076 #include <sys/types.h>
3077 #include <sys/stat.h>
3078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3079 struct buf { int x; };
3080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3081 static char *e (p, i)
3082 char **p;
3083 int i;
3085 return p[i];
3087 static char *f (char * (*g) (char **, int), char **p, ...)
3089 char *s;
3090 va_list v;
3091 va_start (v,p);
3092 s = g (p, va_arg (v,int));
3093 va_end (v);
3094 return s;
3097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3098 function prototypes and stuff, but not '\xHH' hex character constants.
3099 These don't provoke an error unfortunately, instead are silently treated
3100 as 'x'. The following induces an error, until -std is added to get
3101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3102 array size at least. It's necessary to write '\x00'==0 to get something
3103 that's true only with -std. */
3104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3107 inside strings and character constants. */
3108 #define FOO(x) 'x'
3109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3111 int test (int i, double x);
3112 struct s1 {int (*f) (int a);};
3113 struct s2 {int (*f) (double a);};
3114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3115 int argc;
3116 char **argv;
3118 main ()
3120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3122 return 0;
3124 _ACEOF
3125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3128 CC="$ac_save_CC $ac_arg"
3129 if ac_fn_c_try_compile "$LINENO"; then :
3130 ac_cv_prog_cc_c89=$ac_arg
3132 rm -f core conftest.err conftest.$ac_objext
3133 test "x$ac_cv_prog_cc_c89" != "xno" && break
3134 done
3135 rm -f conftest.$ac_ext
3136 CC=$ac_save_CC
3139 # AC_CACHE_VAL
3140 case "x$ac_cv_prog_cc_c89" in
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3143 $as_echo "none needed" >&6; } ;;
3144 xno)
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3146 $as_echo "unsupported" >&6; } ;;
3148 CC="$CC $ac_cv_prog_cc_c89"
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3150 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3151 esac
3152 if test "x$ac_cv_prog_cc_c89" != xno; then :
3156 ac_ext=c
3157 ac_cpp='$CPP $CPPFLAGS'
3158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3161 DEPDIR="${am__leading_dot}deps"
3163 ac_config_commands="$ac_config_commands depfiles"
3166 am_make=${MAKE-make}
3167 cat > confinc << 'END'
3168 am__doit:
3169 @echo this is the am__doit target
3170 .PHONY: am__doit
3172 # If we don't find an include directive, just comment out the code.
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3174 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3175 am__include="#"
3176 am__quote=
3177 _am_result=none
3178 # First try GNU make style include.
3179 echo "include confinc" > confmf
3180 # Ignore all kinds of additional output from `make'.
3181 case `$am_make -s -f confmf 2> /dev/null` in #(
3182 *the\ am__doit\ target*)
3183 am__include=include
3184 am__quote=
3185 _am_result=GNU
3187 esac
3188 # Now try BSD make style include.
3189 if test "$am__include" = "#"; then
3190 echo '.include "confinc"' > confmf
3191 case `$am_make -s -f confmf 2> /dev/null` in #(
3192 *the\ am__doit\ target*)
3193 am__include=.include
3194 am__quote="\""
3195 _am_result=BSD
3197 esac
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3202 $as_echo "$_am_result" >&6; }
3203 rm -f confinc confmf
3205 # Check whether --enable-dependency-tracking was given.
3206 if test "${enable_dependency_tracking+set}" = set; then :
3207 enableval=$enable_dependency_tracking;
3210 if test "x$enable_dependency_tracking" != xno; then
3211 am_depcomp="$ac_aux_dir/depcomp"
3212 AMDEPBACKSLASH='\'
3214 if test "x$enable_dependency_tracking" != xno; then
3215 AMDEP_TRUE=
3216 AMDEP_FALSE='#'
3217 else
3218 AMDEP_TRUE='#'
3219 AMDEP_FALSE=
3224 depcc="$CC" am_compiler_list=
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3227 $as_echo_n "checking dependency style of $depcc... " >&6; }
3228 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3230 else
3231 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3232 # We make a subdir and do the tests there. Otherwise we can end up
3233 # making bogus files that we don't know about and never remove. For
3234 # instance it was reported that on HP-UX the gcc test will end up
3235 # making a dummy file named `D' -- because `-MD' means `put the output
3236 # in D'.
3237 mkdir conftest.dir
3238 # Copy depcomp to subdir because otherwise we won't find it if we're
3239 # using a relative directory.
3240 cp "$am_depcomp" conftest.dir
3241 cd conftest.dir
3242 # We will build objects and dependencies in a subdirectory because
3243 # it helps to detect inapplicable dependency modes. For instance
3244 # both Tru64's cc and ICC support -MD to output dependencies as a
3245 # side effect of compilation, but ICC will put the dependencies in
3246 # the current directory while Tru64 will put them in the object
3247 # directory.
3248 mkdir sub
3250 am_cv_CC_dependencies_compiler_type=none
3251 if test "$am_compiler_list" = ""; then
3252 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3254 am__universal=false
3255 case " $depcc " in #(
3256 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3257 esac
3259 for depmode in $am_compiler_list; do
3260 # Setup a source with many dependencies, because some compilers
3261 # like to wrap large dependency lists on column 80 (with \), and
3262 # we should not choose a depcomp mode which is confused by this.
3264 # We need to recreate these files for each test, as the compiler may
3265 # overwrite some of them when testing with obscure command lines.
3266 # This happens at least with the AIX C compiler.
3267 : > sub/conftest.c
3268 for i in 1 2 3 4 5 6; do
3269 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3270 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3271 # Solaris 8's {/usr,}/bin/sh.
3272 touch sub/conftst$i.h
3273 done
3274 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3276 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3277 # mode. It turns out that the SunPro C++ compiler does not properly
3278 # handle `-M -o', and we need to detect this. Also, some Intel
3279 # versions had trouble with output in subdirs
3280 am__obj=sub/conftest.${OBJEXT-o}
3281 am__minus_obj="-o $am__obj"
3282 case $depmode in
3283 gcc)
3284 # This depmode causes a compiler race in universal mode.
3285 test "$am__universal" = false || continue
3287 nosideeffect)
3288 # after this tag, mechanisms are not by side-effect, so they'll
3289 # only be used when explicitly requested
3290 if test "x$enable_dependency_tracking" = xyes; then
3291 continue
3292 else
3293 break
3296 msvisualcpp | msvcmsys)
3297 # This compiler won't grok `-c -o', but also, the minuso test has
3298 # not run yet. These depmodes are late enough in the game, and
3299 # so weak that their functioning should not be impacted.
3300 am__obj=conftest.${OBJEXT-o}
3301 am__minus_obj=
3303 none) break ;;
3304 esac
3305 if depmode=$depmode \
3306 source=sub/conftest.c object=$am__obj \
3307 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3308 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3309 >/dev/null 2>conftest.err &&
3310 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3311 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3312 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3313 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3314 # icc doesn't choke on unknown options, it will just issue warnings
3315 # or remarks (even with -Werror). So we grep stderr for any message
3316 # that says an option was ignored or not supported.
3317 # When given -MP, icc 7.0 and 7.1 complain thusly:
3318 # icc: Command line warning: ignoring option '-M'; no argument required
3319 # The diagnosis changed in icc 8.0:
3320 # icc: Command line remark: option '-MP' not supported
3321 if (grep 'ignoring option' conftest.err ||
3322 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3323 am_cv_CC_dependencies_compiler_type=$depmode
3324 break
3327 done
3329 cd ..
3330 rm -rf conftest.dir
3331 else
3332 am_cv_CC_dependencies_compiler_type=none
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3337 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3338 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3341 test "x$enable_dependency_tracking" != xno \
3342 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3343 am__fastdepCC_TRUE=
3344 am__fastdepCC_FALSE='#'
3345 else
3346 am__fastdepCC_TRUE='#'
3347 am__fastdepCC_FALSE=
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 if test -n "$RANLIB"; then
3360 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH
3365 IFS=$as_save_IFS
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 break 2
3373 done
3374 done
3375 IFS=$as_save_IFS
3379 RANLIB=$ac_cv_prog_RANLIB
3380 if test -n "$RANLIB"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3382 $as_echo "$RANLIB" >&6; }
3383 else
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3390 if test -z "$ac_cv_prog_RANLIB"; then
3391 ac_ct_RANLIB=$RANLIB
3392 # Extract the first word of "ranlib", so it can be a program name with args.
3393 set dummy ranlib; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 if test -n "$ac_ct_RANLIB"; then
3400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3401 else
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH
3405 IFS=$as_save_IFS
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 ac_cv_prog_ac_ct_RANLIB="ranlib"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 break 2
3413 done
3414 done
3415 IFS=$as_save_IFS
3419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3420 if test -n "$ac_ct_RANLIB"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3422 $as_echo "$ac_ct_RANLIB" >&6; }
3423 else
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3428 if test "x$ac_ct_RANLIB" = x; then
3429 RANLIB=":"
3430 else
3431 case $cross_compiling:$ac_tool_warned in
3432 yes:)
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3435 ac_tool_warned=yes ;;
3436 esac
3437 RANLIB=$ac_ct_RANLIB
3439 else
3440 RANLIB="$ac_cv_prog_RANLIB"
3444 # Checks for libraries.
3445 ac_fn_c_check_func "$LINENO" "gethostent" "ac_cv_func_gethostent"
3446 if test "x$ac_cv_func_gethostent" = x""yes; then :
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostent in -lnsl" >&5
3450 $as_echo_n "checking for gethostent in -lnsl... " >&6; }
3451 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 ac_check_lib_save_LIBS=$LIBS
3455 LIBS="-lnsl -lsocket $LIBS"
3458 # ac_fn_c_try_link LINENO
3459 # -----------------------
3460 # Try to link conftest.$ac_ext, and return whether this succeeded.
3461 ac_fn_c_try_link ()
3463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3464 rm -f conftest.$ac_objext conftest$ac_exeext
3465 if { { ac_try="$ac_link"
3466 case "(($ac_try" in
3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3469 esac
3470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3471 $as_echo "$ac_try_echo"; } >&5
3472 (eval "$ac_link") 2>conftest.err
3473 ac_status=$?
3474 if test -s conftest.err; then
3475 grep -v '^ *+' conftest.err >conftest.er1
3476 cat conftest.er1 >&5
3477 mv -f conftest.er1 conftest.err
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; } && {
3481 test -z "$ac_c_werror_flag" ||
3482 test ! -s conftest.err
3483 } && test -s conftest$ac_exeext && {
3484 test "$cross_compiling" = yes ||
3485 $as_test_x conftest$ac_exeext
3486 }; then :
3487 ac_retval=0
3488 else
3489 $as_echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 ac_retval=1
3494 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3495 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3496 # interfere with the next link command; also delete a directory that is
3497 # left behind by Apple's compiler. We do this before executing the actions.
3498 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3500 as_fn_set_status $ac_retval
3502 } # ac_fn_c_try_link
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3506 /* Override any GCC internal prototype to avoid an error.
3507 Use char because int might match the return type of a GCC
3508 builtin and then its argument prototype would still apply. */
3509 #ifdef __cplusplus
3510 extern "C"
3511 #endif
3512 char gethostent ();
3514 main ()
3516 return gethostent ();
3518 return 0;
3520 _ACEOF
3521 if ac_fn_c_try_link "$LINENO"; then :
3522 ac_cv_lib_nsl_gethostent=yes
3523 else
3524 ac_cv_lib_nsl_gethostent=no
3526 rm -f core conftest.err conftest.$ac_objext \
3527 conftest$ac_exeext conftest.$ac_ext
3528 LIBS=$ac_check_lib_save_LIBS
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostent" >&5
3531 $as_echo "$ac_cv_lib_nsl_gethostent" >&6; }
3532 if test "x$ac_cv_lib_nsl_gethostent" = x""yes; then :
3533 cat >>confdefs.h <<_ACEOF
3534 #define HAVE_LIBNSL 1
3535 _ACEOF
3537 LIBS="-lnsl $LIBS"
3543 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
3544 if test "x$ac_cv_func_setsockopt" = x""yes; then :
3546 else
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5
3548 $as_echo_n "checking for setsockopt in -lsocket... " >&6; }
3549 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then :
3550 $as_echo_n "(cached) " >&6
3551 else
3552 ac_check_lib_save_LIBS=$LIBS
3553 LIBS="-lsocket $LIBS"
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3557 /* Override any GCC internal prototype to avoid an error.
3558 Use char because int might match the return type of a GCC
3559 builtin and then its argument prototype would still apply. */
3560 #ifdef __cplusplus
3561 extern "C"
3562 #endif
3563 char setsockopt ();
3565 main ()
3567 return setsockopt ();
3569 return 0;
3571 _ACEOF
3572 if ac_fn_c_try_link "$LINENO"; then :
3573 ac_cv_lib_socket_setsockopt=yes
3574 else
3575 ac_cv_lib_socket_setsockopt=no
3577 rm -f core conftest.err conftest.$ac_objext \
3578 conftest$ac_exeext conftest.$ac_ext
3579 LIBS=$ac_check_lib_save_LIBS
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5
3582 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
3583 if test "x$ac_cv_lib_socket_setsockopt" = x""yes; then :
3584 cat >>confdefs.h <<_ACEOF
3585 #define HAVE_LIBSOCKET 1
3586 _ACEOF
3588 LIBS="-lsocket $LIBS"
3594 ac_fn_c_check_func "$LINENO" "res_init" "ac_cv_func_res_init"
3595 if test "x$ac_cv_func_res_init" = x""yes; then :
3597 else
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init in -lresolv" >&5
3599 $as_echo_n "checking for res_init in -lresolv... " >&6; }
3600 if test "${ac_cv_lib_resolv_res_init+set}" = set; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 ac_check_lib_save_LIBS=$LIBS
3604 LIBS="-lresolv $LIBS"
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3608 /* Override any GCC internal prototype to avoid an error.
3609 Use char because int might match the return type of a GCC
3610 builtin and then its argument prototype would still apply. */
3611 #ifdef __cplusplus
3612 extern "C"
3613 #endif
3614 char res_init ();
3616 main ()
3618 return res_init ();
3620 return 0;
3622 _ACEOF
3623 if ac_fn_c_try_link "$LINENO"; then :
3624 ac_cv_lib_resolv_res_init=yes
3625 else
3626 ac_cv_lib_resolv_res_init=no
3628 rm -f core conftest.err conftest.$ac_objext \
3629 conftest$ac_exeext conftest.$ac_ext
3630 LIBS=$ac_check_lib_save_LIBS
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_init" >&5
3633 $as_echo "$ac_cv_lib_resolv_res_init" >&6; }
3634 if test "x$ac_cv_lib_resolv_res_init" = x""yes; then :
3635 cat >>confdefs.h <<_ACEOF
3636 #define HAVE_LIBRESOLV 1
3637 _ACEOF
3639 LIBS="-lresolv $LIBS"
3646 # Checks for header files.
3648 # Checks for typedefs, structures, and compiler characteristics.
3650 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "
3651 #include <sys/types.h>
3652 #include <netinet/in.h>
3654 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
3656 else
3658 $as_echo "#define u_int32_t unsigned int" >>confdefs.h
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for name of NS address list" >&5
3664 $as_echo_n "checking for name of NS address list... " >&6; }
3665 if test "${ac_cv_var_ns_addr_list+set}" = set; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 ans=''
3669 # Normal
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3673 #include <sys/types.h>
3674 #include <netinet/in.h>
3675 #include <arpa/nameser.h>
3676 #include <resolv.h>
3678 main ()
3680 return sizeof(_res.nsaddr_list);
3682 return 0;
3684 _ACEOF
3685 if ac_fn_c_try_compile "$LINENO"; then :
3686 ans=nsaddr_list
3687 else
3688 # Ultrix
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3692 #include <sys/types.h>
3693 #include <netinet/in.h>
3694 #include <arpa/nameser.h>
3695 #include <resolv.h>
3697 main ()
3699 return sizeof(_res.ns_list);
3701 return 0;
3703 _ACEOF
3704 if ac_fn_c_try_compile "$LINENO"; then :
3705 ans=ns_list
3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3710 case "$ans" in
3711 '') { $as_echo "$as_me:${as_lineno-$LINENO}: result: ???" >&5
3712 $as_echo "???" >&6; }
3713 as_fn_error "Can't find nameserver address list in _res" "$LINENO" 5
3715 esac
3716 ac_cv_var_ns_addr_list=$ans
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_ns_addr_list" >&5
3719 $as_echo "$ac_cv_var_ns_addr_list" >&6; }
3721 cat >>confdefs.h <<_ACEOF
3722 #define NS_ADDR_LIST $ans
3723 _ACEOF
3726 # Checks for library functions.
3728 ac_config_files="$ac_config_files Makefile"
3730 cat >confcache <<\_ACEOF
3731 # This file is a shell script that caches the results of configure
3732 # tests run on this system so they can be shared between configure
3733 # scripts and configure runs, see configure's option --config-cache.
3734 # It is not useful on other systems. If it contains results you don't
3735 # want to keep, you may remove or edit it.
3737 # config.status only pays attention to the cache file if you give it
3738 # the --recheck option to rerun configure.
3740 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3741 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3742 # following values.
3744 _ACEOF
3746 # The following way of writing the cache mishandles newlines in values,
3747 # but we know of no workaround that is simple, portable, and efficient.
3748 # So, we kill variables containing newlines.
3749 # Ultrix sh set writes to stderr and can't be redirected directly,
3750 # and sets the high bit in the cache file unless we assign to the vars.
3752 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3753 eval ac_val=\$$ac_var
3754 case $ac_val in #(
3755 *${as_nl}*)
3756 case $ac_var in #(
3757 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3758 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3759 esac
3760 case $ac_var in #(
3761 _ | IFS | as_nl) ;; #(
3762 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3763 *) { eval $ac_var=; unset $ac_var;} ;;
3764 esac ;;
3765 esac
3766 done
3768 (set) 2>&1 |
3769 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3770 *${as_nl}ac_space=\ *)
3771 # `set' does not quote correctly, so add quotes: double-quote
3772 # substitution turns \\\\ into \\, and sed turns \\ into \.
3773 sed -n \
3774 "s/'/'\\\\''/g;
3775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3776 ;; #(
3778 # `set' quotes correctly as required by POSIX, so do not add quotes.
3779 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3781 esac |
3782 sort
3784 sed '
3785 /^ac_cv_env_/b end
3786 t clear
3787 :clear
3788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3789 t end
3790 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3791 :end' >>confcache
3792 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3793 if test -w "$cache_file"; then
3794 test "x$cache_file" != "x/dev/null" &&
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3796 $as_echo "$as_me: updating cache $cache_file" >&6;}
3797 cat confcache >$cache_file
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3800 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3803 rm -f confcache
3805 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3806 # Let make expand exec_prefix.
3807 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3809 # Transform confdefs.h into DEFS.
3810 # Protect against shell expansion while executing Makefile rules.
3811 # Protect against Makefile macro expansion.
3813 # If the first sed substitution is executed (which looks for macros that
3814 # take arguments), then branch to the quote section. Otherwise,
3815 # look for a macro that doesn't take arguments.
3816 ac_script='
3817 :mline
3818 /\\$/{
3820 s,\\\n,,
3821 b mline
3823 t clear
3824 :clear
3825 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3826 t quote
3827 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3828 t quote
3829 b any
3830 :quote
3831 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3832 s/\[/\\&/g
3833 s/\]/\\&/g
3834 s/\$/$$/g
3836 :any
3839 s/^\n//
3840 s/\n/ /g
3844 DEFS=`sed -n "$ac_script" confdefs.h`
3847 ac_libobjs=
3848 ac_ltlibobjs=
3849 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3850 # 1. Remove the extension, and $U if already installed.
3851 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3852 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3853 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3854 # will be set to the directory where LIBOBJS objects are built.
3855 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3856 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3857 done
3858 LIBOBJS=$ac_libobjs
3860 LTLIBOBJS=$ac_ltlibobjs
3863 if test -n "$EXEEXT"; then
3864 am__EXEEXT_TRUE=
3865 am__EXEEXT_FALSE='#'
3866 else
3867 am__EXEEXT_TRUE='#'
3868 am__EXEEXT_FALSE=
3871 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3872 as_fn_error "conditional \"AMDEP\" was never defined.
3873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3875 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3876 as_fn_error "conditional \"am__fastdepCC\" was never defined.
3877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3880 : ${CONFIG_STATUS=./config.status}
3881 ac_write_fail=0
3882 ac_clean_files_save=$ac_clean_files
3883 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3885 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3886 as_write_fail=0
3887 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3888 #! $SHELL
3889 # Generated by $as_me.
3890 # Run this file to recreate the current configuration.
3891 # Compiler output produced by configure, useful for debugging
3892 # configure, is in config.log if it exists.
3894 debug=false
3895 ac_cs_recheck=false
3896 ac_cs_silent=false
3898 SHELL=\${CONFIG_SHELL-$SHELL}
3899 export SHELL
3900 _ASEOF
3901 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3902 ## -------------------- ##
3903 ## M4sh Initialization. ##
3904 ## -------------------- ##
3906 # Be more Bourne compatible
3907 DUALCASE=1; export DUALCASE # for MKS sh
3908 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3909 emulate sh
3910 NULLCMD=:
3911 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3912 # is contrary to our usage. Disable this feature.
3913 alias -g '${1+"$@"}'='"$@"'
3914 setopt NO_GLOB_SUBST
3915 else
3916 case `(set -o) 2>/dev/null` in #(
3917 *posix*) :
3918 set -o posix ;; #(
3919 *) :
3921 esac
3925 as_nl='
3927 export as_nl
3928 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3929 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3930 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3931 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3932 # Prefer a ksh shell builtin over an external printf program on Solaris,
3933 # but without wasting forks for bash or zsh.
3934 if test -z "$BASH_VERSION$ZSH_VERSION" \
3935 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3936 as_echo='print -r --'
3937 as_echo_n='print -rn --'
3938 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3939 as_echo='printf %s\n'
3940 as_echo_n='printf %s'
3941 else
3942 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3943 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3944 as_echo_n='/usr/ucb/echo -n'
3945 else
3946 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3947 as_echo_n_body='eval
3948 arg=$1;
3949 case $arg in #(
3950 *"$as_nl"*)
3951 expr "X$arg" : "X\\(.*\\)$as_nl";
3952 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3953 esac;
3954 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3956 export as_echo_n_body
3957 as_echo_n='sh -c $as_echo_n_body as_echo'
3959 export as_echo_body
3960 as_echo='sh -c $as_echo_body as_echo'
3963 # The user is always right.
3964 if test "${PATH_SEPARATOR+set}" != set; then
3965 PATH_SEPARATOR=:
3966 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3967 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3968 PATH_SEPARATOR=';'
3973 # IFS
3974 # We need space, tab and new line, in precisely that order. Quoting is
3975 # there to prevent editors from complaining about space-tab.
3976 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3977 # splitting by setting IFS to empty value.)
3978 IFS=" "" $as_nl"
3980 # Find who we are. Look in the path if we contain no directory separator.
3981 case $0 in #((
3982 *[\\/]* ) as_myself=$0 ;;
3983 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3989 done
3990 IFS=$as_save_IFS
3993 esac
3994 # We did not find ourselves, most probably we were run as `sh COMMAND'
3995 # in which case we are not to be found in the path.
3996 if test "x$as_myself" = x; then
3997 as_myself=$0
3999 if test ! -f "$as_myself"; then
4000 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4001 exit 1
4004 # Unset variables that we do not need and which cause bugs (e.g. in
4005 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4006 # suppresses any "Segmentation fault" message there. '((' could
4007 # trigger a bug in pdksh 5.2.14.
4008 for as_var in BASH_ENV ENV MAIL MAILPATH
4009 do eval test x\${$as_var+set} = xset \
4010 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4011 done
4012 PS1='$ '
4013 PS2='> '
4014 PS4='+ '
4016 # NLS nuisances.
4017 LC_ALL=C
4018 export LC_ALL
4019 LANGUAGE=C
4020 export LANGUAGE
4022 # CDPATH.
4023 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4026 # as_fn_error ERROR [LINENO LOG_FD]
4027 # ---------------------------------
4028 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4029 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4030 # script with status $?, using 1 if that was 0.
4031 as_fn_error ()
4033 as_status=$?; test $as_status -eq 0 && as_status=1
4034 if test "$3"; then
4035 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4036 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4038 $as_echo "$as_me: error: $1" >&2
4039 as_fn_exit $as_status
4040 } # as_fn_error
4043 # as_fn_set_status STATUS
4044 # -----------------------
4045 # Set $? to STATUS, without forking.
4046 as_fn_set_status ()
4048 return $1
4049 } # as_fn_set_status
4051 # as_fn_exit STATUS
4052 # -----------------
4053 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4054 as_fn_exit ()
4056 set +e
4057 as_fn_set_status $1
4058 exit $1
4059 } # as_fn_exit
4061 # as_fn_unset VAR
4062 # ---------------
4063 # Portably unset VAR.
4064 as_fn_unset ()
4066 { eval $1=; unset $1;}
4068 as_unset=as_fn_unset
4069 # as_fn_append VAR VALUE
4070 # ----------------------
4071 # Append the text in VALUE to the end of the definition contained in VAR. Take
4072 # advantage of any shell optimizations that allow amortized linear growth over
4073 # repeated appends, instead of the typical quadratic growth present in naive
4074 # implementations.
4075 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4076 eval 'as_fn_append ()
4078 eval $1+=\$2
4080 else
4081 as_fn_append ()
4083 eval $1=\$$1\$2
4085 fi # as_fn_append
4087 # as_fn_arith ARG...
4088 # ------------------
4089 # Perform arithmetic evaluation on the ARGs, and store the result in the
4090 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4091 # must be portable across $(()) and expr.
4092 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4093 eval 'as_fn_arith ()
4095 as_val=$(( $* ))
4097 else
4098 as_fn_arith ()
4100 as_val=`expr "$@" || test $? -eq 1`
4102 fi # as_fn_arith
4105 if expr a : '\(a\)' >/dev/null 2>&1 &&
4106 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4107 as_expr=expr
4108 else
4109 as_expr=false
4112 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4113 as_basename=basename
4114 else
4115 as_basename=false
4118 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4119 as_dirname=dirname
4120 else
4121 as_dirname=false
4124 as_me=`$as_basename -- "$0" ||
4125 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4126 X"$0" : 'X\(//\)$' \| \
4127 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4128 $as_echo X/"$0" |
4129 sed '/^.*\/\([^/][^/]*\)\/*$/{
4130 s//\1/
4133 /^X\/\(\/\/\)$/{
4134 s//\1/
4137 /^X\/\(\/\).*/{
4138 s//\1/
4141 s/.*/./; q'`
4143 # Avoid depending upon Character Ranges.
4144 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4145 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4146 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4147 as_cr_digits='0123456789'
4148 as_cr_alnum=$as_cr_Letters$as_cr_digits
4150 ECHO_C= ECHO_N= ECHO_T=
4151 case `echo -n x` in #(((((
4152 -n*)
4153 case `echo 'xy\c'` in
4154 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4155 xy) ECHO_C='\c';;
4156 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4157 ECHO_T=' ';;
4158 esac;;
4160 ECHO_N='-n';;
4161 esac
4163 rm -f conf$$ conf$$.exe conf$$.file
4164 if test -d conf$$.dir; then
4165 rm -f conf$$.dir/conf$$.file
4166 else
4167 rm -f conf$$.dir
4168 mkdir conf$$.dir 2>/dev/null
4170 if (echo >conf$$.file) 2>/dev/null; then
4171 if ln -s conf$$.file conf$$ 2>/dev/null; then
4172 as_ln_s='ln -s'
4173 # ... but there are two gotchas:
4174 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4175 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4176 # In both cases, we have to default to `cp -p'.
4177 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4178 as_ln_s='cp -p'
4179 elif ln conf$$.file conf$$ 2>/dev/null; then
4180 as_ln_s=ln
4181 else
4182 as_ln_s='cp -p'
4184 else
4185 as_ln_s='cp -p'
4187 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4188 rmdir conf$$.dir 2>/dev/null
4191 # as_fn_mkdir_p
4192 # -------------
4193 # Create "$as_dir" as a directory, including parents if necessary.
4194 as_fn_mkdir_p ()
4197 case $as_dir in #(
4198 -*) as_dir=./$as_dir;;
4199 esac
4200 test -d "$as_dir" || eval $as_mkdir_p || {
4201 as_dirs=
4202 while :; do
4203 case $as_dir in #(
4204 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4205 *) as_qdir=$as_dir;;
4206 esac
4207 as_dirs="'$as_qdir' $as_dirs"
4208 as_dir=`$as_dirname -- "$as_dir" ||
4209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4210 X"$as_dir" : 'X\(//\)[^/]' \| \
4211 X"$as_dir" : 'X\(//\)$' \| \
4212 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4213 $as_echo X"$as_dir" |
4214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4215 s//\1/
4218 /^X\(\/\/\)[^/].*/{
4219 s//\1/
4222 /^X\(\/\/\)$/{
4223 s//\1/
4226 /^X\(\/\).*/{
4227 s//\1/
4230 s/.*/./; q'`
4231 test -d "$as_dir" && break
4232 done
4233 test -z "$as_dirs" || eval "mkdir $as_dirs"
4234 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4237 } # as_fn_mkdir_p
4238 if mkdir -p . 2>/dev/null; then
4239 as_mkdir_p='mkdir -p "$as_dir"'
4240 else
4241 test -d ./-p && rmdir ./-p
4242 as_mkdir_p=false
4245 if test -x / >/dev/null 2>&1; then
4246 as_test_x='test -x'
4247 else
4248 if ls -dL / >/dev/null 2>&1; then
4249 as_ls_L_option=L
4250 else
4251 as_ls_L_option=
4253 as_test_x='
4254 eval sh -c '\''
4255 if test -d "$1"; then
4256 test -d "$1/.";
4257 else
4258 case $1 in #(
4259 -*)set "./$1";;
4260 esac;
4261 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4262 ???[sx]*):;;*)false;;esac;fi
4263 '\'' sh
4266 as_executable_p=$as_test_x
4268 # Sed expression to map a string onto a valid CPP name.
4269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4271 # Sed expression to map a string onto a valid variable name.
4272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4275 exec 6>&1
4276 ## ----------------------------------- ##
4277 ## Main body of $CONFIG_STATUS script. ##
4278 ## ----------------------------------- ##
4279 _ASEOF
4280 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4283 # Save the log message, to keep $0 and so on meaningful, and to
4284 # report actual input values of CONFIG_FILES etc. instead of their
4285 # values after options handling.
4286 ac_log="
4287 This file was extended by $as_me, which was
4288 generated by GNU Autoconf 2.65. Invocation command line was
4290 CONFIG_FILES = $CONFIG_FILES
4291 CONFIG_HEADERS = $CONFIG_HEADERS
4292 CONFIG_LINKS = $CONFIG_LINKS
4293 CONFIG_COMMANDS = $CONFIG_COMMANDS
4294 $ $0 $@
4296 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4299 _ACEOF
4301 case $ac_config_files in *"
4302 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4303 esac
4307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4308 # Files that config.status was made for.
4309 config_files="$ac_config_files"
4310 config_commands="$ac_config_commands"
4312 _ACEOF
4314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4315 ac_cs_usage="\
4316 \`$as_me' instantiates files and other configuration actions
4317 from templates according to the current configuration. Unless the files
4318 and actions are specified as TAGs, all are instantiated by default.
4320 Usage: $0 [OPTION]... [TAG]...
4322 -h, --help print this help, then exit
4323 -V, --version print version number and configuration settings, then exit
4324 --config print configuration, then exit
4325 -q, --quiet, --silent
4326 do not print progress messages
4327 -d, --debug don't remove temporary files
4328 --recheck update $as_me by reconfiguring in the same conditions
4329 --file=FILE[:TEMPLATE]
4330 instantiate the configuration file FILE
4332 Configuration files:
4333 $config_files
4335 Configuration commands:
4336 $config_commands
4338 Report bugs to the package provider."
4340 _ACEOF
4341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4342 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4343 ac_cs_version="\\
4344 config.status
4345 configured by $0, generated by GNU Autoconf 2.65,
4346 with options \\"\$ac_cs_config\\"
4348 Copyright (C) 2009 Free Software Foundation, Inc.
4349 This config.status script is free software; the Free Software Foundation
4350 gives unlimited permission to copy, distribute and modify it."
4352 ac_pwd='$ac_pwd'
4353 srcdir='$srcdir'
4354 INSTALL='$INSTALL'
4355 MKDIR_P='$MKDIR_P'
4356 AWK='$AWK'
4357 test -n "\$AWK" || AWK=awk
4358 _ACEOF
4360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4361 # The default lists apply if the user does not specify any file.
4362 ac_need_defaults=:
4363 while test $# != 0
4365 case $1 in
4366 --*=*)
4367 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4368 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4369 ac_shift=:
4372 ac_option=$1
4373 ac_optarg=$2
4374 ac_shift=shift
4376 esac
4378 case $ac_option in
4379 # Handling of the options.
4380 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4381 ac_cs_recheck=: ;;
4382 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4383 $as_echo "$ac_cs_version"; exit ;;
4384 --config | --confi | --conf | --con | --co | --c )
4385 $as_echo "$ac_cs_config"; exit ;;
4386 --debug | --debu | --deb | --de | --d | -d )
4387 debug=: ;;
4388 --file | --fil | --fi | --f )
4389 $ac_shift
4390 case $ac_optarg in
4391 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4392 esac
4393 as_fn_append CONFIG_FILES " '$ac_optarg'"
4394 ac_need_defaults=false;;
4395 --he | --h | --help | --hel | -h )
4396 $as_echo "$ac_cs_usage"; exit ;;
4397 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4398 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4399 ac_cs_silent=: ;;
4401 # This is an error.
4402 -*) as_fn_error "unrecognized option: \`$1'
4403 Try \`$0 --help' for more information." ;;
4405 *) as_fn_append ac_config_targets " $1"
4406 ac_need_defaults=false ;;
4408 esac
4409 shift
4410 done
4412 ac_configure_extra_args=
4414 if $ac_cs_silent; then
4415 exec 6>/dev/null
4416 ac_configure_extra_args="$ac_configure_extra_args --silent"
4419 _ACEOF
4420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4421 if \$ac_cs_recheck; then
4422 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4423 shift
4424 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4425 CONFIG_SHELL='$SHELL'
4426 export CONFIG_SHELL
4427 exec "\$@"
4430 _ACEOF
4431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4432 exec 5>>config.log
4434 echo
4435 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4436 ## Running $as_me. ##
4437 _ASBOX
4438 $as_echo "$ac_log"
4439 } >&5
4441 _ACEOF
4442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4444 # INIT-COMMANDS
4446 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4448 _ACEOF
4450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4452 # Handling of arguments.
4453 for ac_config_target in $ac_config_targets
4455 case $ac_config_target in
4456 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4457 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4459 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4460 esac
4461 done
4464 # If the user did not use the arguments to specify the items to instantiate,
4465 # then the envvar interface is used. Set only those that are not.
4466 # We use the long form for the default assignment because of an extremely
4467 # bizarre bug on SunOS 4.1.3.
4468 if $ac_need_defaults; then
4469 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4470 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4473 # Have a temporary directory for convenience. Make it in the build tree
4474 # simply because there is no reason against having it here, and in addition,
4475 # creating and moving files from /tmp can sometimes cause problems.
4476 # Hook for its removal unless debugging.
4477 # Note that there is a small window in which the directory will not be cleaned:
4478 # after its creation but before its name has been assigned to `$tmp'.
4479 $debug ||
4481 tmp=
4482 trap 'exit_status=$?
4483 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4485 trap 'as_fn_exit 1' 1 2 13 15
4487 # Create a (secure) tmp directory for tmp files.
4490 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4491 test -n "$tmp" && test -d "$tmp"
4492 } ||
4494 tmp=./conf$$-$RANDOM
4495 (umask 077 && mkdir "$tmp")
4496 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4498 # Set up the scripts for CONFIG_FILES section.
4499 # No need to generate them if there are no CONFIG_FILES.
4500 # This happens for instance with `./config.status config.h'.
4501 if test -n "$CONFIG_FILES"; then
4504 ac_cr=`echo X | tr X '\015'`
4505 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4506 # But we know of no other shell where ac_cr would be empty at this
4507 # point, so we can use a bashism as a fallback.
4508 if test "x$ac_cr" = x; then
4509 eval ac_cr=\$\'\\r\'
4511 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4512 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4513 ac_cs_awk_cr='\r'
4514 else
4515 ac_cs_awk_cr=$ac_cr
4518 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4519 _ACEOF
4523 echo "cat >conf$$subs.awk <<_ACEOF" &&
4524 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4525 echo "_ACEOF"
4526 } >conf$$subs.sh ||
4527 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4528 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4529 ac_delim='%!_!# '
4530 for ac_last_try in false false false false false :; do
4531 . ./conf$$subs.sh ||
4532 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4534 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4535 if test $ac_delim_n = $ac_delim_num; then
4536 break
4537 elif $ac_last_try; then
4538 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4539 else
4540 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4542 done
4543 rm -f conf$$subs.sh
4545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4546 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4547 _ACEOF
4548 sed -n '
4550 s/^/S["/; s/!.*/"]=/
4553 s/^[^!]*!//
4554 :repl
4555 t repl
4556 s/'"$ac_delim"'$//
4557 t delim
4560 s/\(.\{148\}\)..*/\1/
4561 t more1
4562 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4565 b repl
4566 :more1
4567 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4570 s/.\{148\}//
4571 t nl
4572 :delim
4574 s/\(.\{148\}\)..*/\1/
4575 t more2
4576 s/["\\]/\\&/g; s/^/"/; s/$/"/
4579 :more2
4580 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4583 s/.\{148\}//
4584 t delim
4585 ' <conf$$subs.awk | sed '
4586 /^[^""]/{
4588 s/\n//
4590 ' >>$CONFIG_STATUS || ac_write_fail=1
4591 rm -f conf$$subs.awk
4592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4593 _ACAWK
4594 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4595 for (key in S) S_is_set[key] = 1
4596 FS = "\a"
4600 line = $ 0
4601 nfields = split(line, field, "@")
4602 substed = 0
4603 len = length(field[1])
4604 for (i = 2; i < nfields; i++) {
4605 key = field[i]
4606 keylen = length(key)
4607 if (S_is_set[key]) {
4608 value = S[key]
4609 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4610 len += length(value) + length(field[++i])
4611 substed = 1
4612 } else
4613 len += 1 + keylen
4616 print line
4619 _ACAWK
4620 _ACEOF
4621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4622 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4623 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4624 else
4626 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4627 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4628 _ACEOF
4630 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4631 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4632 # trailing colons and then remove the whole line if VPATH becomes empty
4633 # (actually we leave an empty line to preserve line numbers).
4634 if test "x$srcdir" = x.; then
4635 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4636 s/:*\$(srcdir):*/:/
4637 s/:*\${srcdir}:*/:/
4638 s/:*@srcdir@:*/:/
4639 s/^\([^=]*=[ ]*\):*/\1/
4640 s/:*$//
4641 s/^[^=]*=[ ]*$//
4645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4646 fi # test -n "$CONFIG_FILES"
4649 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4650 shift
4651 for ac_tag
4653 case $ac_tag in
4654 :[FHLC]) ac_mode=$ac_tag; continue;;
4655 esac
4656 case $ac_mode$ac_tag in
4657 :[FHL]*:*);;
4658 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4659 :[FH]-) ac_tag=-:-;;
4660 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4661 esac
4662 ac_save_IFS=$IFS
4663 IFS=:
4664 set x $ac_tag
4665 IFS=$ac_save_IFS
4666 shift
4667 ac_file=$1
4668 shift
4670 case $ac_mode in
4671 :L) ac_source=$1;;
4672 :[FH])
4673 ac_file_inputs=
4674 for ac_f
4676 case $ac_f in
4677 -) ac_f="$tmp/stdin";;
4678 *) # Look for the file first in the build tree, then in the source tree
4679 # (if the path is not absolute). The absolute path cannot be DOS-style,
4680 # because $ac_f cannot contain `:'.
4681 test -f "$ac_f" ||
4682 case $ac_f in
4683 [\\/$]*) false;;
4684 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4685 esac ||
4686 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4687 esac
4688 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4689 as_fn_append ac_file_inputs " '$ac_f'"
4690 done
4692 # Let's still pretend it is `configure' which instantiates (i.e., don't
4693 # use $as_me), people would be surprised to read:
4694 # /* config.h. Generated by config.status. */
4695 configure_input='Generated from '`
4696 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4697 `' by configure.'
4698 if test x"$ac_file" != x-; then
4699 configure_input="$ac_file. $configure_input"
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4701 $as_echo "$as_me: creating $ac_file" >&6;}
4703 # Neutralize special characters interpreted by sed in replacement strings.
4704 case $configure_input in #(
4705 *\&* | *\|* | *\\* )
4706 ac_sed_conf_input=`$as_echo "$configure_input" |
4707 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4708 *) ac_sed_conf_input=$configure_input;;
4709 esac
4711 case $ac_tag in
4712 *:-:* | *:-) cat >"$tmp/stdin" \
4713 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4714 esac
4716 esac
4718 ac_dir=`$as_dirname -- "$ac_file" ||
4719 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4720 X"$ac_file" : 'X\(//\)[^/]' \| \
4721 X"$ac_file" : 'X\(//\)$' \| \
4722 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4723 $as_echo X"$ac_file" |
4724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4725 s//\1/
4728 /^X\(\/\/\)[^/].*/{
4729 s//\1/
4732 /^X\(\/\/\)$/{
4733 s//\1/
4736 /^X\(\/\).*/{
4737 s//\1/
4740 s/.*/./; q'`
4741 as_dir="$ac_dir"; as_fn_mkdir_p
4742 ac_builddir=.
4744 case "$ac_dir" in
4745 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4747 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4748 # A ".." for each directory in $ac_dir_suffix.
4749 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4750 case $ac_top_builddir_sub in
4751 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4752 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4753 esac ;;
4754 esac
4755 ac_abs_top_builddir=$ac_pwd
4756 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4757 # for backward compatibility:
4758 ac_top_builddir=$ac_top_build_prefix
4760 case $srcdir in
4761 .) # We are building in place.
4762 ac_srcdir=.
4763 ac_top_srcdir=$ac_top_builddir_sub
4764 ac_abs_top_srcdir=$ac_pwd ;;
4765 [\\/]* | ?:[\\/]* ) # Absolute name.
4766 ac_srcdir=$srcdir$ac_dir_suffix;
4767 ac_top_srcdir=$srcdir
4768 ac_abs_top_srcdir=$srcdir ;;
4769 *) # Relative name.
4770 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4771 ac_top_srcdir=$ac_top_build_prefix$srcdir
4772 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4773 esac
4774 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4777 case $ac_mode in
4780 # CONFIG_FILE
4783 case $INSTALL in
4784 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4785 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4786 esac
4787 ac_MKDIR_P=$MKDIR_P
4788 case $MKDIR_P in
4789 [\\/$]* | ?:[\\/]* ) ;;
4790 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4791 esac
4792 _ACEOF
4794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4795 # If the template does not know about datarootdir, expand it.
4796 # FIXME: This hack should be removed a few years after 2.60.
4797 ac_datarootdir_hack=; ac_datarootdir_seen=
4798 ac_sed_dataroot='
4799 /datarootdir/ {
4803 /@datadir@/p
4804 /@docdir@/p
4805 /@infodir@/p
4806 /@localedir@/p
4807 /@mandir@/p'
4808 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4809 *datarootdir*) ac_datarootdir_seen=yes;;
4810 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4812 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4813 _ACEOF
4814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4815 ac_datarootdir_hack='
4816 s&@datadir@&$datadir&g
4817 s&@docdir@&$docdir&g
4818 s&@infodir@&$infodir&g
4819 s&@localedir@&$localedir&g
4820 s&@mandir@&$mandir&g
4821 s&\\\${datarootdir}&$datarootdir&g' ;;
4822 esac
4823 _ACEOF
4825 # Neutralize VPATH when `$srcdir' = `.'.
4826 # Shell code in configure.ac might set extrasub.
4827 # FIXME: do we really want to maintain this feature?
4828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4829 ac_sed_extra="$ac_vpsub
4830 $extrasub
4831 _ACEOF
4832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4835 s|@configure_input@|$ac_sed_conf_input|;t t
4836 s&@top_builddir@&$ac_top_builddir_sub&;t t
4837 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4838 s&@srcdir@&$ac_srcdir&;t t
4839 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4840 s&@top_srcdir@&$ac_top_srcdir&;t t
4841 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4842 s&@builddir@&$ac_builddir&;t t
4843 s&@abs_builddir@&$ac_abs_builddir&;t t
4844 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4845 s&@INSTALL@&$ac_INSTALL&;t t
4846 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4847 $ac_datarootdir_hack
4849 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4850 || as_fn_error "could not create $ac_file" "$LINENO" 5
4852 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4853 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4854 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4856 which seems to be undefined. Please make sure it is defined." >&5
4857 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4858 which seems to be undefined. Please make sure it is defined." >&2;}
4860 rm -f "$tmp/stdin"
4861 case $ac_file in
4862 -) cat "$tmp/out" && rm -f "$tmp/out";;
4863 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4864 esac \
4865 || as_fn_error "could not create $ac_file" "$LINENO" 5
4869 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4870 $as_echo "$as_me: executing $ac_file commands" >&6;}
4872 esac
4875 case $ac_file$ac_mode in
4876 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4877 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4878 # are listed without --file. Let's play safe and only enable the eval
4879 # if we detect the quoting.
4880 case $CONFIG_FILES in
4881 *\'*) eval set x "$CONFIG_FILES" ;;
4882 *) set x $CONFIG_FILES ;;
4883 esac
4884 shift
4885 for mf
4887 # Strip MF so we end up with the name of the file.
4888 mf=`echo "$mf" | sed -e 's/:.*$//'`
4889 # Check whether this is an Automake generated Makefile or not.
4890 # We used to match only the files named `Makefile.in', but
4891 # some people rename them; so instead we look at the file content.
4892 # Grep'ing the first line is not enough: some people post-process
4893 # each Makefile.in and add a new line on top of each file to say so.
4894 # Grep'ing the whole file is not good either: AIX grep has a line
4895 # limit of 2048, but all sed's we know have understand at least 4000.
4896 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4897 dirpart=`$as_dirname -- "$mf" ||
4898 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4899 X"$mf" : 'X\(//\)[^/]' \| \
4900 X"$mf" : 'X\(//\)$' \| \
4901 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4902 $as_echo X"$mf" |
4903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4904 s//\1/
4907 /^X\(\/\/\)[^/].*/{
4908 s//\1/
4911 /^X\(\/\/\)$/{
4912 s//\1/
4915 /^X\(\/\).*/{
4916 s//\1/
4919 s/.*/./; q'`
4920 else
4921 continue
4923 # Extract the definition of DEPDIR, am__include, and am__quote
4924 # from the Makefile without running `make'.
4925 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4926 test -z "$DEPDIR" && continue
4927 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4928 test -z "am__include" && continue
4929 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4930 # When using ansi2knr, U may be empty or an underscore; expand it
4931 U=`sed -n 's/^U = //p' < "$mf"`
4932 # Find all dependency output files, they are included files with
4933 # $(DEPDIR) in their names. We invoke sed twice because it is the
4934 # simplest approach to changing $(DEPDIR) to its actual value in the
4935 # expansion.
4936 for file in `sed -n "
4937 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4938 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4939 # Make sure the directory exists.
4940 test -f "$dirpart/$file" && continue
4941 fdir=`$as_dirname -- "$file" ||
4942 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4943 X"$file" : 'X\(//\)[^/]' \| \
4944 X"$file" : 'X\(//\)$' \| \
4945 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4946 $as_echo X"$file" |
4947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4948 s//\1/
4951 /^X\(\/\/\)[^/].*/{
4952 s//\1/
4955 /^X\(\/\/\)$/{
4956 s//\1/
4959 /^X\(\/\).*/{
4960 s//\1/
4963 s/.*/./; q'`
4964 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4965 # echo "creating $dirpart/$file"
4966 echo '# dummy' > "$dirpart/$file"
4967 done
4968 done
4972 esac
4973 done # for ac_tag
4976 as_fn_exit 0
4977 _ACEOF
4978 ac_clean_files=$ac_clean_files_save
4980 test $ac_write_fail = 0 ||
4981 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4984 # configure is writing to config.log, and then calls config.status.
4985 # config.status does its own redirection, appending to config.log.
4986 # Unfortunately, on DOS this fails, as config.log is still kept open
4987 # by configure, so config.status won't be able to write to it; its
4988 # output is simply discarded. So we exec the FD to /dev/null,
4989 # effectively closing config.log, so it can be properly (re)opened and
4990 # appended to by config.status. When coming back to configure, we
4991 # need to make the FD available again.
4992 if test "$no_create" != yes; then
4993 ac_cs_success=:
4994 ac_config_status_args=
4995 test "$silent" = yes &&
4996 ac_config_status_args="$ac_config_status_args --quiet"
4997 exec 5>/dev/null
4998 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4999 exec 5>>config.log
5000 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5001 # would make configure fail if this is the last instruction.
5002 $ac_cs_success || as_fn_exit $?
5004 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5006 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}