Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / ntp / dist / arlib / configure
blob41d66bcd0c75adc295afe487e6340d26f81ac9fd
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_try_link LINENO
1396 # -----------------------
1397 # Try to link conftest.$ac_ext, and return whether this succeeded.
1398 ac_fn_c_try_link ()
1400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1401 rm -f conftest.$ac_objext conftest$ac_exeext
1402 if { { ac_try="$ac_link"
1403 case "(($ac_try" in
1404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1405 *) ac_try_echo=$ac_try;;
1406 esac
1407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1408 $as_echo "$ac_try_echo"; } >&5
1409 (eval "$ac_link") 2>conftest.err
1410 ac_status=$?
1411 if test -s conftest.err; then
1412 grep -v '^ *+' conftest.err >conftest.er1
1413 cat conftest.er1 >&5
1414 mv -f conftest.er1 conftest.err
1416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417 test $ac_status = 0; } && {
1418 test -z "$ac_c_werror_flag" ||
1419 test ! -s conftest.err
1420 } && test -s conftest$ac_exeext && {
1421 test "$cross_compiling" = yes ||
1422 $as_test_x conftest$ac_exeext
1423 }; then :
1424 ac_retval=0
1425 else
1426 $as_echo "$as_me: failed program was:" >&5
1427 sed 's/^/| /' conftest.$ac_ext >&5
1429 ac_retval=1
1431 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1432 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1433 # interfere with the next link command; also delete a directory that is
1434 # left behind by Apple's compiler. We do this before executing the actions.
1435 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1436 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_c_try_link
1441 # ac_fn_c_check_func LINENO FUNC VAR
1442 # ----------------------------------
1443 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1444 ac_fn_c_check_func ()
1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1448 $as_echo_n "checking for $2... " >&6; }
1449 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1450 $as_echo_n "(cached) " >&6
1451 else
1452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1453 /* end confdefs.h. */
1454 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1456 #define $2 innocuous_$2
1458 /* System header to define __stub macros and hopefully few prototypes,
1459 which can conflict with char $2 (); below.
1460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1461 <limits.h> exists even on freestanding compilers. */
1463 #ifdef __STDC__
1464 # include <limits.h>
1465 #else
1466 # include <assert.h>
1467 #endif
1469 #undef $2
1471 /* Override any GCC internal prototype to avoid an error.
1472 Use char because int might match the return type of a GCC
1473 builtin and then its argument prototype would still apply. */
1474 #ifdef __cplusplus
1475 extern "C"
1476 #endif
1477 char $2 ();
1478 /* The GNU C library defines this for functions which it implements
1479 to always fail with ENOSYS. Some functions are actually named
1480 something starting with __ and the normal name is an alias. */
1481 #if defined __stub_$2 || defined __stub___$2
1482 choke me
1483 #endif
1486 main ()
1488 return $2 ();
1490 return 0;
1492 _ACEOF
1493 if ac_fn_c_try_link "$LINENO"; then :
1494 eval "$3=yes"
1495 else
1496 eval "$3=no"
1498 rm -f core conftest.err conftest.$ac_objext \
1499 conftest$ac_exeext conftest.$ac_ext
1501 eval ac_res=\$$3
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1503 $as_echo "$ac_res" >&6; }
1504 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1506 } # ac_fn_c_check_func
1508 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1509 # -------------------------------------------
1510 # Tests whether TYPE exists after having included INCLUDES, setting cache
1511 # variable VAR accordingly.
1512 ac_fn_c_check_type ()
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1516 $as_echo_n "checking for $2... " >&6; }
1517 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1518 $as_echo_n "(cached) " >&6
1519 else
1520 eval "$3=no"
1521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1522 /* end confdefs.h. */
1525 main ()
1527 if (sizeof ($2))
1528 return 0;
1530 return 0;
1532 _ACEOF
1533 if ac_fn_c_try_compile "$LINENO"; then :
1534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535 /* end confdefs.h. */
1538 main ()
1540 if (sizeof (($2)))
1541 return 0;
1543 return 0;
1545 _ACEOF
1546 if ac_fn_c_try_compile "$LINENO"; then :
1548 else
1549 eval "$3=yes"
1551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1555 eval ac_res=\$$3
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1557 $as_echo "$ac_res" >&6; }
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1560 } # ac_fn_c_check_type
1561 cat >config.log <<_ACEOF
1562 This file contains any messages produced by compilers while
1563 running configure, to aid debugging if configure makes a mistake.
1565 It was created by $as_me, which was
1566 generated by GNU Autoconf 2.65. Invocation command line was
1568 $ $0 $@
1570 _ACEOF
1571 exec 5>>config.log
1573 cat <<_ASUNAME
1574 ## --------- ##
1575 ## Platform. ##
1576 ## --------- ##
1578 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1579 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1580 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1581 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1582 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1584 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1585 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1587 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1588 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1589 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1590 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1591 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1592 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1593 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1595 _ASUNAME
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1598 for as_dir in $PATH
1600 IFS=$as_save_IFS
1601 test -z "$as_dir" && as_dir=.
1602 $as_echo "PATH: $as_dir"
1603 done
1604 IFS=$as_save_IFS
1606 } >&5
1608 cat >&5 <<_ACEOF
1611 ## ----------- ##
1612 ## Core tests. ##
1613 ## ----------- ##
1615 _ACEOF
1618 # Keep a trace of the command line.
1619 # Strip out --no-create and --no-recursion so they do not pile up.
1620 # Strip out --silent because we don't want to record it for future runs.
1621 # Also quote any args containing shell meta-characters.
1622 # Make two passes to allow for proper duplicate-argument suppression.
1623 ac_configure_args=
1624 ac_configure_args0=
1625 ac_configure_args1=
1626 ac_must_keep_next=false
1627 for ac_pass in 1 2
1629 for ac_arg
1631 case $ac_arg in
1632 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1633 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1634 | -silent | --silent | --silen | --sile | --sil)
1635 continue ;;
1636 *\'*)
1637 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1638 esac
1639 case $ac_pass in
1640 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1642 as_fn_append ac_configure_args1 " '$ac_arg'"
1643 if test $ac_must_keep_next = true; then
1644 ac_must_keep_next=false # Got value, back to normal.
1645 else
1646 case $ac_arg in
1647 *=* | --config-cache | -C | -disable-* | --disable-* \
1648 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1649 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1650 | -with-* | --with-* | -without-* | --without-* | --x)
1651 case "$ac_configure_args0 " in
1652 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1653 esac
1655 -* ) ac_must_keep_next=true ;;
1656 esac
1658 as_fn_append ac_configure_args " '$ac_arg'"
1660 esac
1661 done
1662 done
1663 { ac_configure_args0=; unset ac_configure_args0;}
1664 { ac_configure_args1=; unset ac_configure_args1;}
1666 # When interrupted or exit'd, cleanup temporary files, and complete
1667 # config.log. We remove comments because anyway the quotes in there
1668 # would cause problems or look ugly.
1669 # WARNING: Use '\'' to represent an apostrophe within the trap.
1670 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1671 trap 'exit_status=$?
1672 # Save into config.log some information that might help in debugging.
1674 echo
1676 cat <<\_ASBOX
1677 ## ---------------- ##
1678 ## Cache variables. ##
1679 ## ---------------- ##
1680 _ASBOX
1681 echo
1682 # The following way of writing the cache mishandles newlines in values,
1684 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1685 eval ac_val=\$$ac_var
1686 case $ac_val in #(
1687 *${as_nl}*)
1688 case $ac_var in #(
1689 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1690 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1691 esac
1692 case $ac_var in #(
1693 _ | IFS | as_nl) ;; #(
1694 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1695 *) { eval $ac_var=; unset $ac_var;} ;;
1696 esac ;;
1697 esac
1698 done
1699 (set) 2>&1 |
1700 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1701 *${as_nl}ac_space=\ *)
1702 sed -n \
1703 "s/'\''/'\''\\\\'\'''\''/g;
1704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1705 ;; #(
1707 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1709 esac |
1710 sort
1712 echo
1714 cat <<\_ASBOX
1715 ## ----------------- ##
1716 ## Output variables. ##
1717 ## ----------------- ##
1718 _ASBOX
1719 echo
1720 for ac_var in $ac_subst_vars
1722 eval ac_val=\$$ac_var
1723 case $ac_val in
1724 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1725 esac
1726 $as_echo "$ac_var='\''$ac_val'\''"
1727 done | sort
1728 echo
1730 if test -n "$ac_subst_files"; then
1731 cat <<\_ASBOX
1732 ## ------------------- ##
1733 ## File substitutions. ##
1734 ## ------------------- ##
1735 _ASBOX
1736 echo
1737 for ac_var in $ac_subst_files
1739 eval ac_val=\$$ac_var
1740 case $ac_val in
1741 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742 esac
1743 $as_echo "$ac_var='\''$ac_val'\''"
1744 done | sort
1745 echo
1748 if test -s confdefs.h; then
1749 cat <<\_ASBOX
1750 ## ----------- ##
1751 ## confdefs.h. ##
1752 ## ----------- ##
1753 _ASBOX
1754 echo
1755 cat confdefs.h
1756 echo
1758 test "$ac_signal" != 0 &&
1759 $as_echo "$as_me: caught signal $ac_signal"
1760 $as_echo "$as_me: exit $exit_status"
1761 } >&5
1762 rm -f core *.core core.conftest.* &&
1763 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1764 exit $exit_status
1766 for ac_signal in 1 2 13 15; do
1767 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1768 done
1769 ac_signal=0
1771 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1772 rm -f -r conftest* confdefs.h
1774 $as_echo "/* confdefs.h */" > confdefs.h
1776 # Predefined preprocessor variables.
1778 cat >>confdefs.h <<_ACEOF
1779 #define PACKAGE_NAME "$PACKAGE_NAME"
1780 _ACEOF
1782 cat >>confdefs.h <<_ACEOF
1783 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1784 _ACEOF
1786 cat >>confdefs.h <<_ACEOF
1787 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1788 _ACEOF
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_STRING "$PACKAGE_STRING"
1792 _ACEOF
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1796 _ACEOF
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_URL "$PACKAGE_URL"
1800 _ACEOF
1803 # Let the site file select an alternate cache file if it wants to.
1804 # Prefer an explicitly selected file to automatically selected ones.
1805 ac_site_file1=NONE
1806 ac_site_file2=NONE
1807 if test -n "$CONFIG_SITE"; then
1808 ac_site_file1=$CONFIG_SITE
1809 elif test "x$prefix" != xNONE; then
1810 ac_site_file1=$prefix/share/config.site
1811 ac_site_file2=$prefix/etc/config.site
1812 else
1813 ac_site_file1=$ac_default_prefix/share/config.site
1814 ac_site_file2=$ac_default_prefix/etc/config.site
1816 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1818 test "x$ac_site_file" = xNONE && continue
1819 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1821 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1822 sed 's/^/| /' "$ac_site_file" >&5
1823 . "$ac_site_file"
1825 done
1827 if test -r "$cache_file"; then
1828 # Some versions of bash will fail to source /dev/null (special files
1829 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1830 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1832 $as_echo "$as_me: loading cache $cache_file" >&6;}
1833 case $cache_file in
1834 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1835 *) . "./$cache_file";;
1836 esac
1838 else
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1840 $as_echo "$as_me: creating cache $cache_file" >&6;}
1841 >$cache_file
1844 # Check that the precious variables saved in the cache have kept the same
1845 # value.
1846 ac_cache_corrupted=false
1847 for ac_var in $ac_precious_vars; do
1848 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1849 eval ac_new_set=\$ac_env_${ac_var}_set
1850 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1851 eval ac_new_val=\$ac_env_${ac_var}_value
1852 case $ac_old_set,$ac_new_set in
1853 set,)
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1855 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1856 ac_cache_corrupted=: ;;
1857 ,set)
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1859 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1860 ac_cache_corrupted=: ;;
1861 ,);;
1863 if test "x$ac_old_val" != "x$ac_new_val"; then
1864 # differences in whitespace do not lead to failure.
1865 ac_old_val_w=`echo x $ac_old_val`
1866 ac_new_val_w=`echo x $ac_new_val`
1867 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1869 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1870 ac_cache_corrupted=:
1871 else
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1873 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1874 eval $ac_var=\$ac_old_val
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1877 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1879 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1880 fi;;
1881 esac
1882 # Pass precious variables to config.status.
1883 if test "$ac_new_set" = set; then
1884 case $ac_new_val in
1885 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1886 *) ac_arg=$ac_var=$ac_new_val ;;
1887 esac
1888 case " $ac_configure_args " in
1889 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1890 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1891 esac
1893 done
1894 if $ac_cache_corrupted; then
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1898 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1899 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1901 ## -------------------- ##
1902 ## Main body of script. ##
1903 ## -------------------- ##
1905 ac_ext=c
1906 ac_cpp='$CPP $CPPFLAGS'
1907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1912 am__api_version='1.11'
1914 ac_aux_dir=
1915 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1916 for ac_t in install-sh install.sh shtool; do
1917 if test -f "$ac_dir/$ac_t"; then
1918 ac_aux_dir=$ac_dir
1919 ac_install_sh="$ac_aux_dir/$ac_t -c"
1920 break 2
1922 done
1923 done
1924 if test -z "$ac_aux_dir"; then
1925 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1928 # These three variables are undocumented and unsupported,
1929 # and are intended to be withdrawn in a future Autoconf release.
1930 # They can cause serious problems if a builder's source tree is in a directory
1931 # whose full name contains unusual characters.
1932 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1933 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1934 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1937 # Find a good install program. We prefer a C program (faster),
1938 # so one script is as good as another. But avoid the broken or
1939 # incompatible versions:
1940 # SysV /etc/install, /usr/sbin/install
1941 # SunOS /usr/etc/install
1942 # IRIX /sbin/install
1943 # AIX /bin/install
1944 # AmigaOS /C/install, which installs bootblocks on floppy discs
1945 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1946 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1947 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1948 # OS/2's system install, which has a completely different semantic
1949 # ./install, which can be erroneously created by make from ./install.sh.
1950 # Reject install programs that cannot install multiple files.
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1952 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1953 if test -z "$INSTALL"; then
1954 if test "${ac_cv_path_install+set}" = set; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 for as_dir in $PATH
1960 IFS=$as_save_IFS
1961 test -z "$as_dir" && as_dir=.
1962 # Account for people who put trailing slashes in PATH elements.
1963 case $as_dir/ in #((
1964 ./ | .// | /[cC]/* | \
1965 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1966 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1967 /usr/ucb/* ) ;;
1969 # OSF1 and SCO ODT 3.0 have their own names for install.
1970 # Don't use installbsd from OSF since it installs stuff as root
1971 # by default.
1972 for ac_prog in ginstall scoinst install; do
1973 for ac_exec_ext in '' $ac_executable_extensions; do
1974 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1975 if test $ac_prog = install &&
1976 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1977 # AIX install. It has an incompatible calling convention.
1979 elif test $ac_prog = install &&
1980 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1981 # program-specific install script used by HP pwplus--don't use.
1983 else
1984 rm -rf conftest.one conftest.two conftest.dir
1985 echo one > conftest.one
1986 echo two > conftest.two
1987 mkdir conftest.dir
1988 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1989 test -s conftest.one && test -s conftest.two &&
1990 test -s conftest.dir/conftest.one &&
1991 test -s conftest.dir/conftest.two
1992 then
1993 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1994 break 3
1998 done
1999 done
2001 esac
2003 done
2004 IFS=$as_save_IFS
2006 rm -rf conftest.one conftest.two conftest.dir
2009 if test "${ac_cv_path_install+set}" = set; then
2010 INSTALL=$ac_cv_path_install
2011 else
2012 # As a last resort, use the slow shell script. Don't cache a
2013 # value for INSTALL within a source directory, because that will
2014 # break other packages using the cache if that directory is
2015 # removed, or if the value is a relative name.
2016 INSTALL=$ac_install_sh
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2020 $as_echo "$INSTALL" >&6; }
2022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2023 # It thinks the first close brace ends the variable substitution.
2024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2028 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2031 $as_echo_n "checking whether build environment is sane... " >&6; }
2032 # Just in case
2033 sleep 1
2034 echo timestamp > conftest.file
2035 # Reject unsafe characters in $srcdir or the absolute working directory
2036 # name. Accept space and tab only in the latter.
2037 am_lf='
2039 case `pwd` in
2040 *[\\\"\#\$\&\'\`$am_lf]*)
2041 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2042 esac
2043 case $srcdir in
2044 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2045 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2046 esac
2048 # Do `set' in a subshell so we don't clobber the current shell's
2049 # arguments. Must try -L first in case configure is actually a
2050 # symlink; some systems play weird games with the mod time of symlinks
2051 # (eg FreeBSD returns the mod time of the symlink's containing
2052 # directory).
2053 if (
2054 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2055 if test "$*" = "X"; then
2056 # -L didn't work.
2057 set X `ls -t "$srcdir/configure" conftest.file`
2059 rm -f conftest.file
2060 if test "$*" != "X $srcdir/configure conftest.file" \
2061 && test "$*" != "X conftest.file $srcdir/configure"; then
2063 # If neither matched, then we have a broken ls. This can happen
2064 # if, for instance, CONFIG_SHELL is bash and it inherits a
2065 # broken ls alias from the environment. This has actually
2066 # happened. Such a system could not be considered "sane".
2067 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2068 alias in your environment" "$LINENO" 5
2071 test "$2" = conftest.file
2073 then
2074 # Ok.
2076 else
2077 as_fn_error "newly created file is older than distributed files!
2078 Check your system clock" "$LINENO" 5
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2081 $as_echo "yes" >&6; }
2082 test "$program_prefix" != NONE &&
2083 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2084 # Use a double $ so make ignores it.
2085 test "$program_suffix" != NONE &&
2086 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2087 # Double any \ or $.
2088 # By default was `s,x,x', remove it if useless.
2089 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2090 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2092 # expand $ac_aux_dir to an absolute path
2093 am_aux_dir=`cd $ac_aux_dir && pwd`
2095 if test x"${MISSING+set}" != xset; then
2096 case $am_aux_dir in
2097 *\ * | *\ *)
2098 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2100 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2101 esac
2103 # Use eval to expand $SHELL
2104 if eval "$MISSING --run true"; then
2105 am_missing_run="$MISSING --run "
2106 else
2107 am_missing_run=
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2109 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2112 if test x"${install_sh}" != xset; then
2113 case $am_aux_dir in
2114 *\ * | *\ *)
2115 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2117 install_sh="\${SHELL} $am_aux_dir/install-sh"
2118 esac
2121 # Installed binaries are usually stripped using `strip' when the user
2122 # run `make install-strip'. However `strip' might not be the right
2123 # tool to use in cross-compilation environments, therefore Automake
2124 # will honor the `STRIP' environment variable to overrule this program.
2125 if test "$cross_compiling" != no; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2128 set dummy ${ac_tool_prefix}strip; ac_word=$2
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if test "${ac_cv_prog_STRIP+set}" = set; then :
2132 $as_echo_n "(cached) " >&6
2133 else
2134 if test -n "$STRIP"; then
2135 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 break 2
2148 done
2149 done
2150 IFS=$as_save_IFS
2154 STRIP=$ac_cv_prog_STRIP
2155 if test -n "$STRIP"; then
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2157 $as_echo "$STRIP" >&6; }
2158 else
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2160 $as_echo "no" >&6; }
2165 if test -z "$ac_cv_prog_STRIP"; then
2166 ac_ct_STRIP=$STRIP
2167 # Extract the first word of "strip", so it can be a program name with args.
2168 set dummy strip; ac_word=$2
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2170 $as_echo_n "checking for $ac_word... " >&6; }
2171 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 if test -n "$ac_ct_STRIP"; then
2175 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2176 else
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH
2180 IFS=$as_save_IFS
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_ac_ct_STRIP="strip"
2185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 break 2
2188 done
2189 done
2190 IFS=$as_save_IFS
2194 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2195 if test -n "$ac_ct_STRIP"; then
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2197 $as_echo "$ac_ct_STRIP" >&6; }
2198 else
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2200 $as_echo "no" >&6; }
2203 if test "x$ac_ct_STRIP" = x; then
2204 STRIP=":"
2205 else
2206 case $cross_compiling:$ac_tool_warned in
2207 yes:)
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2210 ac_tool_warned=yes ;;
2211 esac
2212 STRIP=$ac_ct_STRIP
2214 else
2215 STRIP="$ac_cv_prog_STRIP"
2219 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2222 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2223 if test -z "$MKDIR_P"; then
2224 if test "${ac_cv_path_mkdir+set}" = set; then :
2225 $as_echo_n "(cached) " >&6
2226 else
2227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2230 IFS=$as_save_IFS
2231 test -z "$as_dir" && as_dir=.
2232 for ac_prog in mkdir gmkdir; do
2233 for ac_exec_ext in '' $ac_executable_extensions; do
2234 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2235 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2236 'mkdir (GNU coreutils) '* | \
2237 'mkdir (coreutils) '* | \
2238 'mkdir (fileutils) '4.1*)
2239 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2240 break 3;;
2241 esac
2242 done
2243 done
2244 done
2245 IFS=$as_save_IFS
2249 test -d ./--version && rmdir ./--version
2250 if test "${ac_cv_path_mkdir+set}" = set; then
2251 MKDIR_P="$ac_cv_path_mkdir -p"
2252 else
2253 # As a last resort, use the slow shell script. Don't cache a
2254 # value for MKDIR_P within a source directory, because that will
2255 # break other packages using the cache if that directory is
2256 # removed, or if the value is a relative name.
2257 MKDIR_P="$ac_install_sh -d"
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2261 $as_echo "$MKDIR_P" >&6; }
2263 mkdir_p="$MKDIR_P"
2264 case $mkdir_p in
2265 [\\/$]* | ?:[\\/]*) ;;
2266 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2267 esac
2269 for ac_prog in gawk mawk nawk awk
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy $ac_prog; ac_word=$2
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2274 $as_echo_n "checking for $ac_word... " >&6; }
2275 if test "${ac_cv_prog_AWK+set}" = set; then :
2276 $as_echo_n "(cached) " >&6
2277 else
2278 if test -n "$AWK"; then
2279 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2284 IFS=$as_save_IFS
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_AWK="$ac_prog"
2289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 break 2
2292 done
2293 done
2294 IFS=$as_save_IFS
2298 AWK=$ac_cv_prog_AWK
2299 if test -n "$AWK"; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2301 $as_echo "$AWK" >&6; }
2302 else
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 $as_echo "no" >&6; }
2308 test -n "$AWK" && break
2309 done
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2312 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2313 set x ${MAKE-make}
2314 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2315 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2316 $as_echo_n "(cached) " >&6
2317 else
2318 cat >conftest.make <<\_ACEOF
2319 SHELL = /bin/sh
2320 all:
2321 @echo '@@@%%%=$(MAKE)=@@@%%%'
2322 _ACEOF
2323 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2324 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2325 *@@@%%%=?*=@@@%%%*)
2326 eval ac_cv_prog_make_${ac_make}_set=yes;;
2328 eval ac_cv_prog_make_${ac_make}_set=no;;
2329 esac
2330 rm -f conftest.make
2332 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2334 $as_echo "yes" >&6; }
2335 SET_MAKE=
2336 else
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2338 $as_echo "no" >&6; }
2339 SET_MAKE="MAKE=${MAKE-make}"
2342 rm -rf .tst 2>/dev/null
2343 mkdir .tst 2>/dev/null
2344 if test -d .tst; then
2345 am__leading_dot=.
2346 else
2347 am__leading_dot=_
2349 rmdir .tst 2>/dev/null
2351 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2352 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2353 # is not polluted with repeated "-I."
2354 am__isrc=' -I$(srcdir)'
2355 # test to see if srcdir already configured
2356 if test -f $srcdir/config.status; then
2357 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2361 # test whether we have cygpath
2362 if test -z "$CYGPATH_W"; then
2363 if (cygpath --version) >/dev/null 2>/dev/null; then
2364 CYGPATH_W='cygpath -w'
2365 else
2366 CYGPATH_W=echo
2371 # Define the identity of the package.
2372 PACKAGE=arlib
2373 VERSION=1.0
2376 cat >>confdefs.h <<_ACEOF
2377 #define PACKAGE "$PACKAGE"
2378 _ACEOF
2381 cat >>confdefs.h <<_ACEOF
2382 #define VERSION "$VERSION"
2383 _ACEOF
2385 # Some tools Automake needs.
2387 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2390 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2393 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2396 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2399 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2401 # We need awk for the "check" target. The system "awk" is bad on
2402 # some platforms.
2403 # Always define AMTAR for backward compatibility.
2405 AMTAR=${AMTAR-"${am_missing_run}tar"}
2407 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2414 #AM_CONFIG_HEADER([config.h])
2416 # Checks for programs.
2417 ac_ext=c
2418 ac_cpp='$CPP $CPPFLAGS'
2419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2424 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then :
2428 $as_echo_n "(cached) " >&6
2429 else
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC="$CC" # Let the user override the test.
2432 else
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2436 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 break 2
2444 done
2445 done
2446 IFS=$as_save_IFS
2450 CC=$ac_cv_prog_CC
2451 if test -n "$CC"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2453 $as_echo "$CC" >&6; }
2454 else
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456 $as_echo "no" >&6; }
2461 if test -z "$ac_cv_prog_CC"; then
2462 ac_ct_CC=$CC
2463 # Extract the first word of "gcc", so it can be a program name with args.
2464 set dummy gcc; ac_word=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2468 $as_echo_n "(cached) " >&6
2469 else
2470 if test -n "$ac_ct_CC"; then
2471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2472 else
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2476 IFS=$as_save_IFS
2477 test -z "$as_dir" && as_dir=.
2478 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_CC="gcc"
2481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 break 2
2484 done
2485 done
2486 IFS=$as_save_IFS
2490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2491 if test -n "$ac_ct_CC"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2493 $as_echo "$ac_ct_CC" >&6; }
2494 else
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2499 if test "x$ac_ct_CC" = x; then
2500 CC=""
2501 else
2502 case $cross_compiling:$ac_tool_warned in
2503 yes:)
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2506 ac_tool_warned=yes ;;
2507 esac
2508 CC=$ac_ct_CC
2510 else
2511 CC="$ac_cv_prog_CC"
2514 if test -z "$CC"; then
2515 if test -n "$ac_tool_prefix"; then
2516 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2517 set dummy ${ac_tool_prefix}cc; ac_word=$2
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2519 $as_echo_n "checking for $ac_word... " >&6; }
2520 if test "${ac_cv_prog_CC+set}" = set; then :
2521 $as_echo_n "(cached) " >&6
2522 else
2523 if test -n "$CC"; then
2524 ac_cv_prog_CC="$CC" # Let the user override the test.
2525 else
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 for as_dir in $PATH
2529 IFS=$as_save_IFS
2530 test -z "$as_dir" && as_dir=.
2531 for ac_exec_ext in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_CC="${ac_tool_prefix}cc"
2534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 break 2
2537 done
2538 done
2539 IFS=$as_save_IFS
2543 CC=$ac_cv_prog_CC
2544 if test -n "$CC"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2546 $as_echo "$CC" >&6; }
2547 else
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 $as_echo "no" >&6; }
2555 if test -z "$CC"; then
2556 # Extract the first word of "cc", so it can be a program name with args.
2557 set dummy cc; ac_word=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if test "${ac_cv_prog_CC+set}" = set; then :
2561 $as_echo_n "(cached) " >&6
2562 else
2563 if test -n "$CC"; then
2564 ac_cv_prog_CC="$CC" # Let the user override the test.
2565 else
2566 ac_prog_rejected=no
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2570 IFS=$as_save_IFS
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2575 ac_prog_rejected=yes
2576 continue
2578 ac_cv_prog_CC="cc"
2579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 break 2
2582 done
2583 done
2584 IFS=$as_save_IFS
2586 if test $ac_prog_rejected = yes; then
2587 # We found a bogon in the path, so make sure we never use it.
2588 set dummy $ac_cv_prog_CC
2589 shift
2590 if test $# != 0; then
2591 # We chose a different compiler from the bogus one.
2592 # However, it has the same basename, so the bogon will be chosen
2593 # first if we set CC to just the basename; use the full file name.
2594 shift
2595 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2600 CC=$ac_cv_prog_CC
2601 if test -n "$CC"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2603 $as_echo "$CC" >&6; }
2604 else
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2611 if test -z "$CC"; then
2612 if test -n "$ac_tool_prefix"; then
2613 for ac_prog in cl.exe
2615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if test "${ac_cv_prog_CC+set}" = set; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 if test -n "$CC"; then
2623 ac_cv_prog_CC="$CC" # Let the user override the test.
2624 else
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 break 2
2636 done
2637 done
2638 IFS=$as_save_IFS
2642 CC=$ac_cv_prog_CC
2643 if test -n "$CC"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2645 $as_echo "$CC" >&6; }
2646 else
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2652 test -n "$CC" && break
2653 done
2655 if test -z "$CC"; then
2656 ac_ct_CC=$CC
2657 for ac_prog in cl.exe
2659 # Extract the first word of "$ac_prog", so it can be a program name with args.
2660 set dummy $ac_prog; ac_word=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2664 $as_echo_n "(cached) " >&6
2665 else
2666 if test -n "$ac_ct_CC"; then
2667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2668 else
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 for as_dir in $PATH
2672 IFS=$as_save_IFS
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676 ac_cv_prog_ac_ct_CC="$ac_prog"
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 break 2
2680 done
2681 done
2682 IFS=$as_save_IFS
2686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2687 if test -n "$ac_ct_CC"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2689 $as_echo "$ac_ct_CC" >&6; }
2690 else
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2696 test -n "$ac_ct_CC" && break
2697 done
2699 if test "x$ac_ct_CC" = x; then
2700 CC=""
2701 else
2702 case $cross_compiling:$ac_tool_warned in
2703 yes:)
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2706 ac_tool_warned=yes ;;
2707 esac
2708 CC=$ac_ct_CC
2715 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error "no acceptable C compiler found in \$PATH
2718 See \`config.log' for more details." "$LINENO" 5; }
2720 # Provide some information about the compiler.
2721 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2722 set X $ac_compile
2723 ac_compiler=$2
2724 for ac_option in --version -v -V -qversion; do
2725 { { ac_try="$ac_compiler $ac_option >&5"
2726 case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 $as_echo "$ac_try_echo"; } >&5
2732 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2733 ac_status=$?
2734 if test -s conftest.err; then
2735 sed '10a\
2736 ... rest of stderr output deleted ...
2737 10q' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2740 rm -f conftest.er1 conftest.err
2741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; }
2743 done
2745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2749 main ()
2753 return 0;
2755 _ACEOF
2756 ac_clean_files_save=$ac_clean_files
2757 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2758 # Try to create an executable without -o first, disregard a.out.
2759 # It will help us diagnose broken compilers, and finding out an intuition
2760 # of exeext.
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2762 $as_echo_n "checking whether the C compiler works... " >&6; }
2763 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2765 # The possible output files:
2766 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2768 ac_rmfiles=
2769 for ac_file in $ac_files
2771 case $ac_file in
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2773 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2774 esac
2775 done
2776 rm -f $ac_rmfiles
2778 if { { ac_try="$ac_link_default"
2779 case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2784 $as_echo "$ac_try_echo"; } >&5
2785 (eval "$ac_link_default") 2>&5
2786 ac_status=$?
2787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788 test $ac_status = 0; }; then :
2789 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2790 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2791 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2792 # so that the user can short-circuit this test for compilers unknown to
2793 # Autoconf.
2794 for ac_file in $ac_files ''
2796 test -f "$ac_file" || continue
2797 case $ac_file in
2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2800 [ab].out )
2801 # We found the default executable, but exeext='' is most
2802 # certainly right.
2803 break;;
2804 *.* )
2805 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2806 then :; else
2807 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2809 # We set ac_cv_exeext here because the later test for it is not
2810 # safe: cross compilers may not add the suffix if given an `-o'
2811 # argument, so we may need to know it at that point already.
2812 # Even if this section looks crufty: it has the advantage of
2813 # actually working.
2814 break;;
2816 break;;
2817 esac
2818 done
2819 test "$ac_cv_exeext" = no && ac_cv_exeext=
2821 else
2822 ac_file=''
2824 if test -z "$ac_file"; then :
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2827 $as_echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 { as_fn_set_status 77
2833 as_fn_error "C compiler cannot create executables
2834 See \`config.log' for more details." "$LINENO" 5; }; }
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2837 $as_echo "yes" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2840 $as_echo_n "checking for C compiler default output file name... " >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2842 $as_echo "$ac_file" >&6; }
2843 ac_exeext=$ac_cv_exeext
2845 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2846 ac_clean_files=$ac_clean_files_save
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2848 $as_echo_n "checking for suffix of executables... " >&6; }
2849 if { { ac_try="$ac_link"
2850 case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853 esac
2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855 $as_echo "$ac_try_echo"; } >&5
2856 (eval "$ac_link") 2>&5
2857 ac_status=$?
2858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859 test $ac_status = 0; }; then :
2860 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2861 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2862 # work properly (i.e., refer to `conftest.exe'), while it won't with
2863 # `rm'.
2864 for ac_file in conftest.exe conftest conftest.*; do
2865 test -f "$ac_file" || continue
2866 case $ac_file in
2867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2868 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2869 break;;
2870 * ) break;;
2871 esac
2872 done
2873 else
2874 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2876 as_fn_error "cannot compute suffix of executables: cannot compile and link
2877 See \`config.log' for more details." "$LINENO" 5; }
2879 rm -f conftest conftest$ac_cv_exeext
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2881 $as_echo "$ac_cv_exeext" >&6; }
2883 rm -f conftest.$ac_ext
2884 EXEEXT=$ac_cv_exeext
2885 ac_exeext=$EXEEXT
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2888 #include <stdio.h>
2890 main ()
2892 FILE *f = fopen ("conftest.out", "w");
2893 return ferror (f) || fclose (f) != 0;
2896 return 0;
2898 _ACEOF
2899 ac_clean_files="$ac_clean_files conftest.out"
2900 # Check that the compiler produces executables we can run. If not, either
2901 # the compiler is broken, or we cross compile.
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2903 $as_echo_n "checking whether we are cross compiling... " >&6; }
2904 if test "$cross_compiling" != yes; then
2905 { { ac_try="$ac_link"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2911 $as_echo "$ac_try_echo"; } >&5
2912 (eval "$ac_link") 2>&5
2913 ac_status=$?
2914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2915 test $ac_status = 0; }
2916 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
2924 ac_status=$?
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; }; }; then
2927 cross_compiling=no
2928 else
2929 if test "$cross_compiling" = maybe; then
2930 cross_compiling=yes
2931 else
2932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934 as_fn_error "cannot run C compiled programs.
2935 If you meant to cross compile, use \`--host'.
2936 See \`config.log' for more details." "$LINENO" 5; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2941 $as_echo "$cross_compiling" >&6; }
2943 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2944 ac_clean_files=$ac_clean_files_save
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2946 $as_echo_n "checking for suffix of object files... " >&6; }
2947 if test "${ac_cv_objext+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2954 main ()
2958 return 0;
2960 _ACEOF
2961 rm -f conftest.o conftest.obj
2962 if { { ac_try="$ac_compile"
2963 case "(($ac_try" in
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2966 esac
2967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2968 $as_echo "$ac_try_echo"; } >&5
2969 (eval "$ac_compile") 2>&5
2970 ac_status=$?
2971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2972 test $ac_status = 0; }; then :
2973 for ac_file in conftest.o conftest.obj conftest.*; do
2974 test -f "$ac_file" || continue;
2975 case $ac_file in
2976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2977 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2978 break;;
2979 esac
2980 done
2981 else
2982 $as_echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2987 as_fn_error "cannot compute suffix of object files: cannot compile
2988 See \`config.log' for more details." "$LINENO" 5; }
2990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2993 $as_echo "$ac_cv_objext" >&6; }
2994 OBJEXT=$ac_cv_objext
2995 ac_objext=$OBJEXT
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2997 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2998 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3005 main ()
3007 #ifndef __GNUC__
3008 choke me
3009 #endif
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 ac_compiler_gnu=yes
3017 else
3018 ac_compiler_gnu=no
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3025 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3026 if test $ac_compiler_gnu = yes; then
3027 GCC=yes
3028 else
3029 GCC=
3031 ac_test_CFLAGS=${CFLAGS+set}
3032 ac_save_CFLAGS=$CFLAGS
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3034 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3035 if test "${ac_cv_prog_cc_g+set}" = set; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 ac_save_c_werror_flag=$ac_c_werror_flag
3039 ac_c_werror_flag=yes
3040 ac_cv_prog_cc_g=no
3041 CFLAGS="-g"
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3046 main ()
3050 return 0;
3052 _ACEOF
3053 if ac_fn_c_try_compile "$LINENO"; then :
3054 ac_cv_prog_cc_g=yes
3055 else
3056 CFLAGS=""
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3061 main ()
3065 return 0;
3067 _ACEOF
3068 if ac_fn_c_try_compile "$LINENO"; then :
3070 else
3071 ac_c_werror_flag=$ac_save_c_werror_flag
3072 CFLAGS="-g"
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3077 main ()
3081 return 0;
3083 _ACEOF
3084 if ac_fn_c_try_compile "$LINENO"; then :
3085 ac_cv_prog_cc_g=yes
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3092 ac_c_werror_flag=$ac_save_c_werror_flag
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3095 $as_echo "$ac_cv_prog_cc_g" >&6; }
3096 if test "$ac_test_CFLAGS" = set; then
3097 CFLAGS=$ac_save_CFLAGS
3098 elif test $ac_cv_prog_cc_g = yes; then
3099 if test "$GCC" = yes; then
3100 CFLAGS="-g -O2"
3101 else
3102 CFLAGS="-g"
3104 else
3105 if test "$GCC" = yes; then
3106 CFLAGS="-O2"
3107 else
3108 CFLAGS=
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3113 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3114 $as_echo_n "(cached) " >&6
3115 else
3116 ac_cv_prog_cc_c89=no
3117 ac_save_CC=$CC
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3120 #include <stdarg.h>
3121 #include <stdio.h>
3122 #include <sys/types.h>
3123 #include <sys/stat.h>
3124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3125 struct buf { int x; };
3126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3127 static char *e (p, i)
3128 char **p;
3129 int i;
3131 return p[i];
3133 static char *f (char * (*g) (char **, int), char **p, ...)
3135 char *s;
3136 va_list v;
3137 va_start (v,p);
3138 s = g (p, va_arg (v,int));
3139 va_end (v);
3140 return s;
3143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3144 function prototypes and stuff, but not '\xHH' hex character constants.
3145 These don't provoke an error unfortunately, instead are silently treated
3146 as 'x'. The following induces an error, until -std is added to get
3147 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3148 array size at least. It's necessary to write '\x00'==0 to get something
3149 that's true only with -std. */
3150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3153 inside strings and character constants. */
3154 #define FOO(x) 'x'
3155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3157 int test (int i, double x);
3158 struct s1 {int (*f) (int a);};
3159 struct s2 {int (*f) (double a);};
3160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3161 int argc;
3162 char **argv;
3164 main ()
3166 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3168 return 0;
3170 _ACEOF
3171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3172 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3174 CC="$ac_save_CC $ac_arg"
3175 if ac_fn_c_try_compile "$LINENO"; then :
3176 ac_cv_prog_cc_c89=$ac_arg
3178 rm -f core conftest.err conftest.$ac_objext
3179 test "x$ac_cv_prog_cc_c89" != "xno" && break
3180 done
3181 rm -f conftest.$ac_ext
3182 CC=$ac_save_CC
3185 # AC_CACHE_VAL
3186 case "x$ac_cv_prog_cc_c89" in
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3189 $as_echo "none needed" >&6; } ;;
3190 xno)
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3192 $as_echo "unsupported" >&6; } ;;
3194 CC="$CC $ac_cv_prog_cc_c89"
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3196 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3197 esac
3198 if test "x$ac_cv_prog_cc_c89" != xno; then :
3202 ac_ext=c
3203 ac_cpp='$CPP $CPPFLAGS'
3204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3207 DEPDIR="${am__leading_dot}deps"
3209 ac_config_commands="$ac_config_commands depfiles"
3212 am_make=${MAKE-make}
3213 cat > confinc << 'END'
3214 am__doit:
3215 @echo this is the am__doit target
3216 .PHONY: am__doit
3218 # If we don't find an include directive, just comment out the code.
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3220 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3221 am__include="#"
3222 am__quote=
3223 _am_result=none
3224 # First try GNU make style include.
3225 echo "include confinc" > confmf
3226 # Ignore all kinds of additional output from `make'.
3227 case `$am_make -s -f confmf 2> /dev/null` in #(
3228 *the\ am__doit\ target*)
3229 am__include=include
3230 am__quote=
3231 _am_result=GNU
3233 esac
3234 # Now try BSD make style include.
3235 if test "$am__include" = "#"; then
3236 echo '.include "confinc"' > confmf
3237 case `$am_make -s -f confmf 2> /dev/null` in #(
3238 *the\ am__doit\ target*)
3239 am__include=.include
3240 am__quote="\""
3241 _am_result=BSD
3243 esac
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3248 $as_echo "$_am_result" >&6; }
3249 rm -f confinc confmf
3251 # Check whether --enable-dependency-tracking was given.
3252 if test "${enable_dependency_tracking+set}" = set; then :
3253 enableval=$enable_dependency_tracking;
3256 if test "x$enable_dependency_tracking" != xno; then
3257 am_depcomp="$ac_aux_dir/depcomp"
3258 AMDEPBACKSLASH='\'
3260 if test "x$enable_dependency_tracking" != xno; then
3261 AMDEP_TRUE=
3262 AMDEP_FALSE='#'
3263 else
3264 AMDEP_TRUE='#'
3265 AMDEP_FALSE=
3270 depcc="$CC" am_compiler_list=
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3273 $as_echo_n "checking dependency style of $depcc... " >&6; }
3274 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3275 $as_echo_n "(cached) " >&6
3276 else
3277 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3278 # We make a subdir and do the tests there. Otherwise we can end up
3279 # making bogus files that we don't know about and never remove. For
3280 # instance it was reported that on HP-UX the gcc test will end up
3281 # making a dummy file named `D' -- because `-MD' means `put the output
3282 # in D'.
3283 mkdir conftest.dir
3284 # Copy depcomp to subdir because otherwise we won't find it if we're
3285 # using a relative directory.
3286 cp "$am_depcomp" conftest.dir
3287 cd conftest.dir
3288 # We will build objects and dependencies in a subdirectory because
3289 # it helps to detect inapplicable dependency modes. For instance
3290 # both Tru64's cc and ICC support -MD to output dependencies as a
3291 # side effect of compilation, but ICC will put the dependencies in
3292 # the current directory while Tru64 will put them in the object
3293 # directory.
3294 mkdir sub
3296 am_cv_CC_dependencies_compiler_type=none
3297 if test "$am_compiler_list" = ""; then
3298 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3300 am__universal=false
3301 case " $depcc " in #(
3302 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3303 esac
3305 for depmode in $am_compiler_list; do
3306 # Setup a source with many dependencies, because some compilers
3307 # like to wrap large dependency lists on column 80 (with \), and
3308 # we should not choose a depcomp mode which is confused by this.
3310 # We need to recreate these files for each test, as the compiler may
3311 # overwrite some of them when testing with obscure command lines.
3312 # This happens at least with the AIX C compiler.
3313 : > sub/conftest.c
3314 for i in 1 2 3 4 5 6; do
3315 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3316 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3317 # Solaris 8's {/usr,}/bin/sh.
3318 touch sub/conftst$i.h
3319 done
3320 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3322 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3323 # mode. It turns out that the SunPro C++ compiler does not properly
3324 # handle `-M -o', and we need to detect this. Also, some Intel
3325 # versions had trouble with output in subdirs
3326 am__obj=sub/conftest.${OBJEXT-o}
3327 am__minus_obj="-o $am__obj"
3328 case $depmode in
3329 gcc)
3330 # This depmode causes a compiler race in universal mode.
3331 test "$am__universal" = false || continue
3333 nosideeffect)
3334 # after this tag, mechanisms are not by side-effect, so they'll
3335 # only be used when explicitly requested
3336 if test "x$enable_dependency_tracking" = xyes; then
3337 continue
3338 else
3339 break
3342 msvisualcpp | msvcmsys)
3343 # This compiler won't grok `-c -o', but also, the minuso test has
3344 # not run yet. These depmodes are late enough in the game, and
3345 # so weak that their functioning should not be impacted.
3346 am__obj=conftest.${OBJEXT-o}
3347 am__minus_obj=
3349 none) break ;;
3350 esac
3351 if depmode=$depmode \
3352 source=sub/conftest.c object=$am__obj \
3353 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3354 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3355 >/dev/null 2>conftest.err &&
3356 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3357 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3358 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3359 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3360 # icc doesn't choke on unknown options, it will just issue warnings
3361 # or remarks (even with -Werror). So we grep stderr for any message
3362 # that says an option was ignored or not supported.
3363 # When given -MP, icc 7.0 and 7.1 complain thusly:
3364 # icc: Command line warning: ignoring option '-M'; no argument required
3365 # The diagnosis changed in icc 8.0:
3366 # icc: Command line remark: option '-MP' not supported
3367 if (grep 'ignoring option' conftest.err ||
3368 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3369 am_cv_CC_dependencies_compiler_type=$depmode
3370 break
3373 done
3375 cd ..
3376 rm -rf conftest.dir
3377 else
3378 am_cv_CC_dependencies_compiler_type=none
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3383 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3384 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3387 test "x$enable_dependency_tracking" != xno \
3388 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3389 am__fastdepCC_TRUE=
3390 am__fastdepCC_FALSE='#'
3391 else
3392 am__fastdepCC_TRUE='#'
3393 am__fastdepCC_FALSE=
3397 if test -n "$ac_tool_prefix"; then
3398 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3399 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3401 $as_echo_n "checking for $ac_word... " >&6; }
3402 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3403 $as_echo_n "(cached) " >&6
3404 else
3405 if test -n "$RANLIB"; then
3406 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3407 else
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 for as_dir in $PATH
3411 IFS=$as_save_IFS
3412 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3415 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3417 break 2
3419 done
3420 done
3421 IFS=$as_save_IFS
3425 RANLIB=$ac_cv_prog_RANLIB
3426 if test -n "$RANLIB"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3428 $as_echo "$RANLIB" >&6; }
3429 else
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3436 if test -z "$ac_cv_prog_RANLIB"; then
3437 ac_ct_RANLIB=$RANLIB
3438 # Extract the first word of "ranlib", so it can be a program name with args.
3439 set dummy ranlib; ac_word=$2
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3441 $as_echo_n "checking for $ac_word... " >&6; }
3442 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3443 $as_echo_n "(cached) " >&6
3444 else
3445 if test -n "$ac_ct_RANLIB"; then
3446 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3447 else
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3449 for as_dir in $PATH
3451 IFS=$as_save_IFS
3452 test -z "$as_dir" && as_dir=.
3453 for ac_exec_ext in '' $ac_executable_extensions; do
3454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3455 ac_cv_prog_ac_ct_RANLIB="ranlib"
3456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3457 break 2
3459 done
3460 done
3461 IFS=$as_save_IFS
3465 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3466 if test -n "$ac_ct_RANLIB"; then
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3468 $as_echo "$ac_ct_RANLIB" >&6; }
3469 else
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 $as_echo "no" >&6; }
3474 if test "x$ac_ct_RANLIB" = x; then
3475 RANLIB=":"
3476 else
3477 case $cross_compiling:$ac_tool_warned in
3478 yes:)
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3481 ac_tool_warned=yes ;;
3482 esac
3483 RANLIB=$ac_ct_RANLIB
3485 else
3486 RANLIB="$ac_cv_prog_RANLIB"
3490 # Checks for libraries.
3492 ac_fn_c_check_func "$LINENO" "gethostent" "ac_cv_func_gethostent"
3493 if test "x$ac_cv_func_gethostent" = x""yes; then :
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
3497 $as_echo_n "checking for library containing gethostent... " >&6; }
3498 if test "${ac_cv_search_gethostent+set}" = set; then :
3499 $as_echo_n "(cached) " >&6
3500 else
3501 ac_func_search_save_LIBS=$LIBS
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3505 /* Override any GCC internal prototype to avoid an error.
3506 Use char because int might match the return type of a GCC
3507 builtin and then its argument prototype would still apply. */
3508 #ifdef __cplusplus
3509 extern "C"
3510 #endif
3511 char gethostent ();
3513 main ()
3515 return gethostent ();
3517 return 0;
3519 _ACEOF
3520 for ac_lib in '' nsl; do
3521 if test -z "$ac_lib"; then
3522 ac_res="none required"
3523 else
3524 ac_res=-l$ac_lib
3525 LIBS="-l$ac_lib -lsocket $ac_func_search_save_LIBS"
3527 if ac_fn_c_try_link "$LINENO"; then :
3528 ac_cv_search_gethostent=$ac_res
3530 rm -f core conftest.err conftest.$ac_objext \
3531 conftest$ac_exeext
3532 if test "${ac_cv_search_gethostent+set}" = set; then :
3533 break
3535 done
3536 if test "${ac_cv_search_gethostent+set}" = set; then :
3538 else
3539 ac_cv_search_gethostent=no
3541 rm conftest.$ac_ext
3542 LIBS=$ac_func_search_save_LIBS
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
3545 $as_echo "$ac_cv_search_gethostent" >&6; }
3546 ac_res=$ac_cv_search_gethostent
3547 if test "$ac_res" != no; then :
3548 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
3555 $as_echo_n "checking for library containing setsockopt... " >&6; }
3556 if test "${ac_cv_search_setsockopt+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3558 else
3559 ac_func_search_save_LIBS=$LIBS
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3563 /* Override any GCC internal prototype to avoid an error.
3564 Use char because int might match the return type of a GCC
3565 builtin and then its argument prototype would still apply. */
3566 #ifdef __cplusplus
3567 extern "C"
3568 #endif
3569 char setsockopt ();
3571 main ()
3573 return setsockopt ();
3575 return 0;
3577 _ACEOF
3578 for ac_lib in '' socket xnet; do
3579 if test -z "$ac_lib"; then
3580 ac_res="none required"
3581 else
3582 ac_res=-l$ac_lib
3583 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3585 if ac_fn_c_try_link "$LINENO"; then :
3586 ac_cv_search_setsockopt=$ac_res
3588 rm -f core conftest.err conftest.$ac_objext \
3589 conftest$ac_exeext
3590 if test "${ac_cv_search_setsockopt+set}" = set; then :
3591 break
3593 done
3594 if test "${ac_cv_search_setsockopt+set}" = set; then :
3596 else
3597 ac_cv_search_setsockopt=no
3599 rm conftest.$ac_ext
3600 LIBS=$ac_func_search_save_LIBS
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
3603 $as_echo "$ac_cv_search_setsockopt" >&6; }
3604 ac_res=$ac_cv_search_setsockopt
3605 if test "$ac_res" != no; then :
3606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_init" >&5
3611 $as_echo_n "checking for library containing res_init... " >&6; }
3612 if test "${ac_cv_search_res_init+set}" = set; then :
3613 $as_echo_n "(cached) " >&6
3614 else
3615 ac_func_search_save_LIBS=$LIBS
3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3619 /* Override any GCC internal prototype to avoid an error.
3620 Use char because int might match the return type of a GCC
3621 builtin and then its argument prototype would still apply. */
3622 #ifdef __cplusplus
3623 extern "C"
3624 #endif
3625 char res_init ();
3627 main ()
3629 return res_init ();
3631 return 0;
3633 _ACEOF
3634 for ac_lib in '' resolv; do
3635 if test -z "$ac_lib"; then
3636 ac_res="none required"
3637 else
3638 ac_res=-l$ac_lib
3639 LIBS="-l$ac_lib -lsocket -lnsl $ac_func_search_save_LIBS"
3641 if ac_fn_c_try_link "$LINENO"; then :
3642 ac_cv_search_res_init=$ac_res
3644 rm -f core conftest.err conftest.$ac_objext \
3645 conftest$ac_exeext
3646 if test "${ac_cv_search_res_init+set}" = set; then :
3647 break
3649 done
3650 if test "${ac_cv_search_res_init+set}" = set; then :
3652 else
3653 ac_cv_search_res_init=no
3655 rm conftest.$ac_ext
3656 LIBS=$ac_func_search_save_LIBS
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_init" >&5
3659 $as_echo "$ac_cv_search_res_init" >&6; }
3660 ac_res=$ac_cv_search_res_init
3661 if test "$ac_res" != no; then :
3662 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3666 for ac_func in res_init __res_init
3667 do :
3668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3670 eval as_val=\$$as_ac_var
3671 if test "x$as_val" = x""yes; then :
3672 cat >>confdefs.h <<_ACEOF
3673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3674 _ACEOF
3677 done
3681 # Checks for header files.
3683 # Checks for typedefs, structures, and compiler characteristics.
3685 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "
3686 #include <sys/types.h>
3687 #include <netinet/in.h>
3689 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
3691 else
3693 $as_echo "#define u_int32_t unsigned int" >>confdefs.h
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for name of NS address list" >&5
3699 $as_echo_n "checking for name of NS address list... " >&6; }
3700 if test "${ac_cv_var_ns_addr_list+set}" = set; then :
3701 $as_echo_n "(cached) " >&6
3702 else
3703 ac_cv_var_ns_addr_list=''
3704 # Normal
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3708 #include <sys/types.h>
3709 #include <netinet/in.h>
3710 #include <arpa/nameser.h>
3711 #include <resolv.h>
3713 main ()
3715 return sizeof(_res.nsaddr_list);
3717 return 0;
3719 _ACEOF
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 ac_cv_var_ns_addr_list=nsaddr_list
3722 else
3723 # Ultrix
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3727 #include <sys/types.h>
3728 #include <netinet/in.h>
3729 #include <arpa/nameser.h>
3730 #include <resolv.h>
3732 main ()
3734 return sizeof(_res.ns_list);
3736 return 0;
3738 _ACEOF
3739 if ac_fn_c_try_compile "$LINENO"; then :
3740 ac_cv_var_ns_addr_list=ns_list
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 case "$ac_cv_var_ns_addr_list" in
3746 '') { $as_echo "$as_me:${as_lineno-$LINENO}: result: ???" >&5
3747 $as_echo "???" >&6; }
3748 as_fn_error "Can't find nameserver address list in _res" "$LINENO" 5
3750 esac
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_ns_addr_list" >&5
3753 $as_echo "$ac_cv_var_ns_addr_list" >&6; }
3755 cat >>confdefs.h <<_ACEOF
3756 #define NS_ADDR_LIST $ac_cv_var_ns_addr_list
3757 _ACEOF
3760 # Checks for library functions.
3762 ac_config_files="$ac_config_files Makefile"
3764 cat >confcache <<\_ACEOF
3765 # This file is a shell script that caches the results of configure
3766 # tests run on this system so they can be shared between configure
3767 # scripts and configure runs, see configure's option --config-cache.
3768 # It is not useful on other systems. If it contains results you don't
3769 # want to keep, you may remove or edit it.
3771 # config.status only pays attention to the cache file if you give it
3772 # the --recheck option to rerun configure.
3774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3776 # following values.
3778 _ACEOF
3780 # The following way of writing the cache mishandles newlines in values,
3781 # but we know of no workaround that is simple, portable, and efficient.
3782 # So, we kill variables containing newlines.
3783 # Ultrix sh set writes to stderr and can't be redirected directly,
3784 # and sets the high bit in the cache file unless we assign to the vars.
3786 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3787 eval ac_val=\$$ac_var
3788 case $ac_val in #(
3789 *${as_nl}*)
3790 case $ac_var in #(
3791 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3792 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3793 esac
3794 case $ac_var in #(
3795 _ | IFS | as_nl) ;; #(
3796 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3797 *) { eval $ac_var=; unset $ac_var;} ;;
3798 esac ;;
3799 esac
3800 done
3802 (set) 2>&1 |
3803 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3804 *${as_nl}ac_space=\ *)
3805 # `set' does not quote correctly, so add quotes: double-quote
3806 # substitution turns \\\\ into \\, and sed turns \\ into \.
3807 sed -n \
3808 "s/'/'\\\\''/g;
3809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3810 ;; #(
3812 # `set' quotes correctly as required by POSIX, so do not add quotes.
3813 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3815 esac |
3816 sort
3818 sed '
3819 /^ac_cv_env_/b end
3820 t clear
3821 :clear
3822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3823 t end
3824 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3825 :end' >>confcache
3826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3827 if test -w "$cache_file"; then
3828 test "x$cache_file" != "x/dev/null" &&
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3830 $as_echo "$as_me: updating cache $cache_file" >&6;}
3831 cat confcache >$cache_file
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3834 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3837 rm -f confcache
3839 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3840 # Let make expand exec_prefix.
3841 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3843 # Transform confdefs.h into DEFS.
3844 # Protect against shell expansion while executing Makefile rules.
3845 # Protect against Makefile macro expansion.
3847 # If the first sed substitution is executed (which looks for macros that
3848 # take arguments), then branch to the quote section. Otherwise,
3849 # look for a macro that doesn't take arguments.
3850 ac_script='
3851 :mline
3852 /\\$/{
3854 s,\\\n,,
3855 b mline
3857 t clear
3858 :clear
3859 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3860 t quote
3861 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3862 t quote
3863 b any
3864 :quote
3865 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3866 s/\[/\\&/g
3867 s/\]/\\&/g
3868 s/\$/$$/g
3870 :any
3873 s/^\n//
3874 s/\n/ /g
3878 DEFS=`sed -n "$ac_script" confdefs.h`
3881 ac_libobjs=
3882 ac_ltlibobjs=
3883 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3884 # 1. Remove the extension, and $U if already installed.
3885 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3886 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3887 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3888 # will be set to the directory where LIBOBJS objects are built.
3889 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3890 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3891 done
3892 LIBOBJS=$ac_libobjs
3894 LTLIBOBJS=$ac_ltlibobjs
3897 if test -n "$EXEEXT"; then
3898 am__EXEEXT_TRUE=
3899 am__EXEEXT_FALSE='#'
3900 else
3901 am__EXEEXT_TRUE='#'
3902 am__EXEEXT_FALSE=
3905 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3906 as_fn_error "conditional \"AMDEP\" was never defined.
3907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3909 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3910 as_fn_error "conditional \"am__fastdepCC\" was never defined.
3911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3914 : ${CONFIG_STATUS=./config.status}
3915 ac_write_fail=0
3916 ac_clean_files_save=$ac_clean_files
3917 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3919 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3920 as_write_fail=0
3921 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3922 #! $SHELL
3923 # Generated by $as_me.
3924 # Run this file to recreate the current configuration.
3925 # Compiler output produced by configure, useful for debugging
3926 # configure, is in config.log if it exists.
3928 debug=false
3929 ac_cs_recheck=false
3930 ac_cs_silent=false
3932 SHELL=\${CONFIG_SHELL-$SHELL}
3933 export SHELL
3934 _ASEOF
3935 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3936 ## -------------------- ##
3937 ## M4sh Initialization. ##
3938 ## -------------------- ##
3940 # Be more Bourne compatible
3941 DUALCASE=1; export DUALCASE # for MKS sh
3942 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3943 emulate sh
3944 NULLCMD=:
3945 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3946 # is contrary to our usage. Disable this feature.
3947 alias -g '${1+"$@"}'='"$@"'
3948 setopt NO_GLOB_SUBST
3949 else
3950 case `(set -o) 2>/dev/null` in #(
3951 *posix*) :
3952 set -o posix ;; #(
3953 *) :
3955 esac
3959 as_nl='
3961 export as_nl
3962 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3963 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3964 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3965 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3966 # Prefer a ksh shell builtin over an external printf program on Solaris,
3967 # but without wasting forks for bash or zsh.
3968 if test -z "$BASH_VERSION$ZSH_VERSION" \
3969 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3970 as_echo='print -r --'
3971 as_echo_n='print -rn --'
3972 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3973 as_echo='printf %s\n'
3974 as_echo_n='printf %s'
3975 else
3976 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3977 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3978 as_echo_n='/usr/ucb/echo -n'
3979 else
3980 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3981 as_echo_n_body='eval
3982 arg=$1;
3983 case $arg in #(
3984 *"$as_nl"*)
3985 expr "X$arg" : "X\\(.*\\)$as_nl";
3986 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3987 esac;
3988 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3990 export as_echo_n_body
3991 as_echo_n='sh -c $as_echo_n_body as_echo'
3993 export as_echo_body
3994 as_echo='sh -c $as_echo_body as_echo'
3997 # The user is always right.
3998 if test "${PATH_SEPARATOR+set}" != set; then
3999 PATH_SEPARATOR=:
4000 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4001 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4002 PATH_SEPARATOR=';'
4007 # IFS
4008 # We need space, tab and new line, in precisely that order. Quoting is
4009 # there to prevent editors from complaining about space-tab.
4010 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4011 # splitting by setting IFS to empty value.)
4012 IFS=" "" $as_nl"
4014 # Find who we are. Look in the path if we contain no directory separator.
4015 case $0 in #((
4016 *[\\/]* ) as_myself=$0 ;;
4017 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 for as_dir in $PATH
4020 IFS=$as_save_IFS
4021 test -z "$as_dir" && as_dir=.
4022 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4023 done
4024 IFS=$as_save_IFS
4027 esac
4028 # We did not find ourselves, most probably we were run as `sh COMMAND'
4029 # in which case we are not to be found in the path.
4030 if test "x$as_myself" = x; then
4031 as_myself=$0
4033 if test ! -f "$as_myself"; then
4034 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4035 exit 1
4038 # Unset variables that we do not need and which cause bugs (e.g. in
4039 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4040 # suppresses any "Segmentation fault" message there. '((' could
4041 # trigger a bug in pdksh 5.2.14.
4042 for as_var in BASH_ENV ENV MAIL MAILPATH
4043 do eval test x\${$as_var+set} = xset \
4044 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4045 done
4046 PS1='$ '
4047 PS2='> '
4048 PS4='+ '
4050 # NLS nuisances.
4051 LC_ALL=C
4052 export LC_ALL
4053 LANGUAGE=C
4054 export LANGUAGE
4056 # CDPATH.
4057 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4060 # as_fn_error ERROR [LINENO LOG_FD]
4061 # ---------------------------------
4062 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4063 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4064 # script with status $?, using 1 if that was 0.
4065 as_fn_error ()
4067 as_status=$?; test $as_status -eq 0 && as_status=1
4068 if test "$3"; then
4069 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4070 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4072 $as_echo "$as_me: error: $1" >&2
4073 as_fn_exit $as_status
4074 } # as_fn_error
4077 # as_fn_set_status STATUS
4078 # -----------------------
4079 # Set $? to STATUS, without forking.
4080 as_fn_set_status ()
4082 return $1
4083 } # as_fn_set_status
4085 # as_fn_exit STATUS
4086 # -----------------
4087 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4088 as_fn_exit ()
4090 set +e
4091 as_fn_set_status $1
4092 exit $1
4093 } # as_fn_exit
4095 # as_fn_unset VAR
4096 # ---------------
4097 # Portably unset VAR.
4098 as_fn_unset ()
4100 { eval $1=; unset $1;}
4102 as_unset=as_fn_unset
4103 # as_fn_append VAR VALUE
4104 # ----------------------
4105 # Append the text in VALUE to the end of the definition contained in VAR. Take
4106 # advantage of any shell optimizations that allow amortized linear growth over
4107 # repeated appends, instead of the typical quadratic growth present in naive
4108 # implementations.
4109 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4110 eval 'as_fn_append ()
4112 eval $1+=\$2
4114 else
4115 as_fn_append ()
4117 eval $1=\$$1\$2
4119 fi # as_fn_append
4121 # as_fn_arith ARG...
4122 # ------------------
4123 # Perform arithmetic evaluation on the ARGs, and store the result in the
4124 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4125 # must be portable across $(()) and expr.
4126 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4127 eval 'as_fn_arith ()
4129 as_val=$(( $* ))
4131 else
4132 as_fn_arith ()
4134 as_val=`expr "$@" || test $? -eq 1`
4136 fi # as_fn_arith
4139 if expr a : '\(a\)' >/dev/null 2>&1 &&
4140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4141 as_expr=expr
4142 else
4143 as_expr=false
4146 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4147 as_basename=basename
4148 else
4149 as_basename=false
4152 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4153 as_dirname=dirname
4154 else
4155 as_dirname=false
4158 as_me=`$as_basename -- "$0" ||
4159 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4160 X"$0" : 'X\(//\)$' \| \
4161 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4162 $as_echo X/"$0" |
4163 sed '/^.*\/\([^/][^/]*\)\/*$/{
4164 s//\1/
4167 /^X\/\(\/\/\)$/{
4168 s//\1/
4171 /^X\/\(\/\).*/{
4172 s//\1/
4175 s/.*/./; q'`
4177 # Avoid depending upon Character Ranges.
4178 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4179 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4180 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4181 as_cr_digits='0123456789'
4182 as_cr_alnum=$as_cr_Letters$as_cr_digits
4184 ECHO_C= ECHO_N= ECHO_T=
4185 case `echo -n x` in #(((((
4186 -n*)
4187 case `echo 'xy\c'` in
4188 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4189 xy) ECHO_C='\c';;
4190 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4191 ECHO_T=' ';;
4192 esac;;
4194 ECHO_N='-n';;
4195 esac
4197 rm -f conf$$ conf$$.exe conf$$.file
4198 if test -d conf$$.dir; then
4199 rm -f conf$$.dir/conf$$.file
4200 else
4201 rm -f conf$$.dir
4202 mkdir conf$$.dir 2>/dev/null
4204 if (echo >conf$$.file) 2>/dev/null; then
4205 if ln -s conf$$.file conf$$ 2>/dev/null; then
4206 as_ln_s='ln -s'
4207 # ... but there are two gotchas:
4208 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4209 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4210 # In both cases, we have to default to `cp -p'.
4211 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4212 as_ln_s='cp -p'
4213 elif ln conf$$.file conf$$ 2>/dev/null; then
4214 as_ln_s=ln
4215 else
4216 as_ln_s='cp -p'
4218 else
4219 as_ln_s='cp -p'
4221 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4222 rmdir conf$$.dir 2>/dev/null
4225 # as_fn_mkdir_p
4226 # -------------
4227 # Create "$as_dir" as a directory, including parents if necessary.
4228 as_fn_mkdir_p ()
4231 case $as_dir in #(
4232 -*) as_dir=./$as_dir;;
4233 esac
4234 test -d "$as_dir" || eval $as_mkdir_p || {
4235 as_dirs=
4236 while :; do
4237 case $as_dir in #(
4238 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4239 *) as_qdir=$as_dir;;
4240 esac
4241 as_dirs="'$as_qdir' $as_dirs"
4242 as_dir=`$as_dirname -- "$as_dir" ||
4243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4244 X"$as_dir" : 'X\(//\)[^/]' \| \
4245 X"$as_dir" : 'X\(//\)$' \| \
4246 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4247 $as_echo X"$as_dir" |
4248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4249 s//\1/
4252 /^X\(\/\/\)[^/].*/{
4253 s//\1/
4256 /^X\(\/\/\)$/{
4257 s//\1/
4260 /^X\(\/\).*/{
4261 s//\1/
4264 s/.*/./; q'`
4265 test -d "$as_dir" && break
4266 done
4267 test -z "$as_dirs" || eval "mkdir $as_dirs"
4268 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4271 } # as_fn_mkdir_p
4272 if mkdir -p . 2>/dev/null; then
4273 as_mkdir_p='mkdir -p "$as_dir"'
4274 else
4275 test -d ./-p && rmdir ./-p
4276 as_mkdir_p=false
4279 if test -x / >/dev/null 2>&1; then
4280 as_test_x='test -x'
4281 else
4282 if ls -dL / >/dev/null 2>&1; then
4283 as_ls_L_option=L
4284 else
4285 as_ls_L_option=
4287 as_test_x='
4288 eval sh -c '\''
4289 if test -d "$1"; then
4290 test -d "$1/.";
4291 else
4292 case $1 in #(
4293 -*)set "./$1";;
4294 esac;
4295 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4296 ???[sx]*):;;*)false;;esac;fi
4297 '\'' sh
4300 as_executable_p=$as_test_x
4302 # Sed expression to map a string onto a valid CPP name.
4303 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4305 # Sed expression to map a string onto a valid variable name.
4306 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4309 exec 6>&1
4310 ## ----------------------------------- ##
4311 ## Main body of $CONFIG_STATUS script. ##
4312 ## ----------------------------------- ##
4313 _ASEOF
4314 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4317 # Save the log message, to keep $0 and so on meaningful, and to
4318 # report actual input values of CONFIG_FILES etc. instead of their
4319 # values after options handling.
4320 ac_log="
4321 This file was extended by $as_me, which was
4322 generated by GNU Autoconf 2.65. Invocation command line was
4324 CONFIG_FILES = $CONFIG_FILES
4325 CONFIG_HEADERS = $CONFIG_HEADERS
4326 CONFIG_LINKS = $CONFIG_LINKS
4327 CONFIG_COMMANDS = $CONFIG_COMMANDS
4328 $ $0 $@
4330 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4333 _ACEOF
4335 case $ac_config_files in *"
4336 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4337 esac
4341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4342 # Files that config.status was made for.
4343 config_files="$ac_config_files"
4344 config_commands="$ac_config_commands"
4346 _ACEOF
4348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4349 ac_cs_usage="\
4350 \`$as_me' instantiates files and other configuration actions
4351 from templates according to the current configuration. Unless the files
4352 and actions are specified as TAGs, all are instantiated by default.
4354 Usage: $0 [OPTION]... [TAG]...
4356 -h, --help print this help, then exit
4357 -V, --version print version number and configuration settings, then exit
4358 --config print configuration, then exit
4359 -q, --quiet, --silent
4360 do not print progress messages
4361 -d, --debug don't remove temporary files
4362 --recheck update $as_me by reconfiguring in the same conditions
4363 --file=FILE[:TEMPLATE]
4364 instantiate the configuration file FILE
4366 Configuration files:
4367 $config_files
4369 Configuration commands:
4370 $config_commands
4372 Report bugs to the package provider."
4374 _ACEOF
4375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4376 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4377 ac_cs_version="\\
4378 config.status
4379 configured by $0, generated by GNU Autoconf 2.65,
4380 with options \\"\$ac_cs_config\\"
4382 Copyright (C) 2009 Free Software Foundation, Inc.
4383 This config.status script is free software; the Free Software Foundation
4384 gives unlimited permission to copy, distribute and modify it."
4386 ac_pwd='$ac_pwd'
4387 srcdir='$srcdir'
4388 INSTALL='$INSTALL'
4389 MKDIR_P='$MKDIR_P'
4390 AWK='$AWK'
4391 test -n "\$AWK" || AWK=awk
4392 _ACEOF
4394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4395 # The default lists apply if the user does not specify any file.
4396 ac_need_defaults=:
4397 while test $# != 0
4399 case $1 in
4400 --*=*)
4401 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4402 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4403 ac_shift=:
4406 ac_option=$1
4407 ac_optarg=$2
4408 ac_shift=shift
4410 esac
4412 case $ac_option in
4413 # Handling of the options.
4414 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4415 ac_cs_recheck=: ;;
4416 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4417 $as_echo "$ac_cs_version"; exit ;;
4418 --config | --confi | --conf | --con | --co | --c )
4419 $as_echo "$ac_cs_config"; exit ;;
4420 --debug | --debu | --deb | --de | --d | -d )
4421 debug=: ;;
4422 --file | --fil | --fi | --f )
4423 $ac_shift
4424 case $ac_optarg in
4425 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4426 esac
4427 as_fn_append CONFIG_FILES " '$ac_optarg'"
4428 ac_need_defaults=false;;
4429 --he | --h | --help | --hel | -h )
4430 $as_echo "$ac_cs_usage"; exit ;;
4431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4432 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4433 ac_cs_silent=: ;;
4435 # This is an error.
4436 -*) as_fn_error "unrecognized option: \`$1'
4437 Try \`$0 --help' for more information." ;;
4439 *) as_fn_append ac_config_targets " $1"
4440 ac_need_defaults=false ;;
4442 esac
4443 shift
4444 done
4446 ac_configure_extra_args=
4448 if $ac_cs_silent; then
4449 exec 6>/dev/null
4450 ac_configure_extra_args="$ac_configure_extra_args --silent"
4453 _ACEOF
4454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4455 if \$ac_cs_recheck; then
4456 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4457 shift
4458 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4459 CONFIG_SHELL='$SHELL'
4460 export CONFIG_SHELL
4461 exec "\$@"
4464 _ACEOF
4465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4466 exec 5>>config.log
4468 echo
4469 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4470 ## Running $as_me. ##
4471 _ASBOX
4472 $as_echo "$ac_log"
4473 } >&5
4475 _ACEOF
4476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4478 # INIT-COMMANDS
4480 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4482 _ACEOF
4484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4486 # Handling of arguments.
4487 for ac_config_target in $ac_config_targets
4489 case $ac_config_target in
4490 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4491 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4493 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4494 esac
4495 done
4498 # If the user did not use the arguments to specify the items to instantiate,
4499 # then the envvar interface is used. Set only those that are not.
4500 # We use the long form for the default assignment because of an extremely
4501 # bizarre bug on SunOS 4.1.3.
4502 if $ac_need_defaults; then
4503 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4504 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4507 # Have a temporary directory for convenience. Make it in the build tree
4508 # simply because there is no reason against having it here, and in addition,
4509 # creating and moving files from /tmp can sometimes cause problems.
4510 # Hook for its removal unless debugging.
4511 # Note that there is a small window in which the directory will not be cleaned:
4512 # after its creation but before its name has been assigned to `$tmp'.
4513 $debug ||
4515 tmp=
4516 trap 'exit_status=$?
4517 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4519 trap 'as_fn_exit 1' 1 2 13 15
4521 # Create a (secure) tmp directory for tmp files.
4524 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4525 test -n "$tmp" && test -d "$tmp"
4526 } ||
4528 tmp=./conf$$-$RANDOM
4529 (umask 077 && mkdir "$tmp")
4530 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4532 # Set up the scripts for CONFIG_FILES section.
4533 # No need to generate them if there are no CONFIG_FILES.
4534 # This happens for instance with `./config.status config.h'.
4535 if test -n "$CONFIG_FILES"; then
4538 ac_cr=`echo X | tr X '\015'`
4539 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4540 # But we know of no other shell where ac_cr would be empty at this
4541 # point, so we can use a bashism as a fallback.
4542 if test "x$ac_cr" = x; then
4543 eval ac_cr=\$\'\\r\'
4545 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4546 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4547 ac_cs_awk_cr='\r'
4548 else
4549 ac_cs_awk_cr=$ac_cr
4552 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4553 _ACEOF
4557 echo "cat >conf$$subs.awk <<_ACEOF" &&
4558 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4559 echo "_ACEOF"
4560 } >conf$$subs.sh ||
4561 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4562 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4563 ac_delim='%!_!# '
4564 for ac_last_try in false false false false false :; do
4565 . ./conf$$subs.sh ||
4566 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4568 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4569 if test $ac_delim_n = $ac_delim_num; then
4570 break
4571 elif $ac_last_try; then
4572 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4573 else
4574 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4576 done
4577 rm -f conf$$subs.sh
4579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4580 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4581 _ACEOF
4582 sed -n '
4584 s/^/S["/; s/!.*/"]=/
4587 s/^[^!]*!//
4588 :repl
4589 t repl
4590 s/'"$ac_delim"'$//
4591 t delim
4594 s/\(.\{148\}\)..*/\1/
4595 t more1
4596 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4599 b repl
4600 :more1
4601 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4604 s/.\{148\}//
4605 t nl
4606 :delim
4608 s/\(.\{148\}\)..*/\1/
4609 t more2
4610 s/["\\]/\\&/g; s/^/"/; s/$/"/
4613 :more2
4614 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4617 s/.\{148\}//
4618 t delim
4619 ' <conf$$subs.awk | sed '
4620 /^[^""]/{
4622 s/\n//
4624 ' >>$CONFIG_STATUS || ac_write_fail=1
4625 rm -f conf$$subs.awk
4626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4627 _ACAWK
4628 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4629 for (key in S) S_is_set[key] = 1
4630 FS = "\a"
4634 line = $ 0
4635 nfields = split(line, field, "@")
4636 substed = 0
4637 len = length(field[1])
4638 for (i = 2; i < nfields; i++) {
4639 key = field[i]
4640 keylen = length(key)
4641 if (S_is_set[key]) {
4642 value = S[key]
4643 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4644 len += length(value) + length(field[++i])
4645 substed = 1
4646 } else
4647 len += 1 + keylen
4650 print line
4653 _ACAWK
4654 _ACEOF
4655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4656 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4657 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4658 else
4660 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4661 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4662 _ACEOF
4664 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4665 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4666 # trailing colons and then remove the whole line if VPATH becomes empty
4667 # (actually we leave an empty line to preserve line numbers).
4668 if test "x$srcdir" = x.; then
4669 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4670 s/:*\$(srcdir):*/:/
4671 s/:*\${srcdir}:*/:/
4672 s/:*@srcdir@:*/:/
4673 s/^\([^=]*=[ ]*\):*/\1/
4674 s/:*$//
4675 s/^[^=]*=[ ]*$//
4679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4680 fi # test -n "$CONFIG_FILES"
4683 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4684 shift
4685 for ac_tag
4687 case $ac_tag in
4688 :[FHLC]) ac_mode=$ac_tag; continue;;
4689 esac
4690 case $ac_mode$ac_tag in
4691 :[FHL]*:*);;
4692 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4693 :[FH]-) ac_tag=-:-;;
4694 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4695 esac
4696 ac_save_IFS=$IFS
4697 IFS=:
4698 set x $ac_tag
4699 IFS=$ac_save_IFS
4700 shift
4701 ac_file=$1
4702 shift
4704 case $ac_mode in
4705 :L) ac_source=$1;;
4706 :[FH])
4707 ac_file_inputs=
4708 for ac_f
4710 case $ac_f in
4711 -) ac_f="$tmp/stdin";;
4712 *) # Look for the file first in the build tree, then in the source tree
4713 # (if the path is not absolute). The absolute path cannot be DOS-style,
4714 # because $ac_f cannot contain `:'.
4715 test -f "$ac_f" ||
4716 case $ac_f in
4717 [\\/$]*) false;;
4718 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4719 esac ||
4720 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4721 esac
4722 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4723 as_fn_append ac_file_inputs " '$ac_f'"
4724 done
4726 # Let's still pretend it is `configure' which instantiates (i.e., don't
4727 # use $as_me), people would be surprised to read:
4728 # /* config.h. Generated by config.status. */
4729 configure_input='Generated from '`
4730 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4731 `' by configure.'
4732 if test x"$ac_file" != x-; then
4733 configure_input="$ac_file. $configure_input"
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4735 $as_echo "$as_me: creating $ac_file" >&6;}
4737 # Neutralize special characters interpreted by sed in replacement strings.
4738 case $configure_input in #(
4739 *\&* | *\|* | *\\* )
4740 ac_sed_conf_input=`$as_echo "$configure_input" |
4741 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4742 *) ac_sed_conf_input=$configure_input;;
4743 esac
4745 case $ac_tag in
4746 *:-:* | *:-) cat >"$tmp/stdin" \
4747 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4748 esac
4750 esac
4752 ac_dir=`$as_dirname -- "$ac_file" ||
4753 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4754 X"$ac_file" : 'X\(//\)[^/]' \| \
4755 X"$ac_file" : 'X\(//\)$' \| \
4756 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4757 $as_echo X"$ac_file" |
4758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4759 s//\1/
4762 /^X\(\/\/\)[^/].*/{
4763 s//\1/
4766 /^X\(\/\/\)$/{
4767 s//\1/
4770 /^X\(\/\).*/{
4771 s//\1/
4774 s/.*/./; q'`
4775 as_dir="$ac_dir"; as_fn_mkdir_p
4776 ac_builddir=.
4778 case "$ac_dir" in
4779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4781 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4782 # A ".." for each directory in $ac_dir_suffix.
4783 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4784 case $ac_top_builddir_sub in
4785 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4786 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4787 esac ;;
4788 esac
4789 ac_abs_top_builddir=$ac_pwd
4790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4791 # for backward compatibility:
4792 ac_top_builddir=$ac_top_build_prefix
4794 case $srcdir in
4795 .) # We are building in place.
4796 ac_srcdir=.
4797 ac_top_srcdir=$ac_top_builddir_sub
4798 ac_abs_top_srcdir=$ac_pwd ;;
4799 [\\/]* | ?:[\\/]* ) # Absolute name.
4800 ac_srcdir=$srcdir$ac_dir_suffix;
4801 ac_top_srcdir=$srcdir
4802 ac_abs_top_srcdir=$srcdir ;;
4803 *) # Relative name.
4804 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4805 ac_top_srcdir=$ac_top_build_prefix$srcdir
4806 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4807 esac
4808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4811 case $ac_mode in
4814 # CONFIG_FILE
4817 case $INSTALL in
4818 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4819 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4820 esac
4821 ac_MKDIR_P=$MKDIR_P
4822 case $MKDIR_P in
4823 [\\/$]* | ?:[\\/]* ) ;;
4824 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4825 esac
4826 _ACEOF
4828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4829 # If the template does not know about datarootdir, expand it.
4830 # FIXME: This hack should be removed a few years after 2.60.
4831 ac_datarootdir_hack=; ac_datarootdir_seen=
4832 ac_sed_dataroot='
4833 /datarootdir/ {
4837 /@datadir@/p
4838 /@docdir@/p
4839 /@infodir@/p
4840 /@localedir@/p
4841 /@mandir@/p'
4842 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4843 *datarootdir*) ac_datarootdir_seen=yes;;
4844 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4846 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4847 _ACEOF
4848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4849 ac_datarootdir_hack='
4850 s&@datadir@&$datadir&g
4851 s&@docdir@&$docdir&g
4852 s&@infodir@&$infodir&g
4853 s&@localedir@&$localedir&g
4854 s&@mandir@&$mandir&g
4855 s&\\\${datarootdir}&$datarootdir&g' ;;
4856 esac
4857 _ACEOF
4859 # Neutralize VPATH when `$srcdir' = `.'.
4860 # Shell code in configure.ac might set extrasub.
4861 # FIXME: do we really want to maintain this feature?
4862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4863 ac_sed_extra="$ac_vpsub
4864 $extrasub
4865 _ACEOF
4866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4869 s|@configure_input@|$ac_sed_conf_input|;t t
4870 s&@top_builddir@&$ac_top_builddir_sub&;t t
4871 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4872 s&@srcdir@&$ac_srcdir&;t t
4873 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4874 s&@top_srcdir@&$ac_top_srcdir&;t t
4875 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4876 s&@builddir@&$ac_builddir&;t t
4877 s&@abs_builddir@&$ac_abs_builddir&;t t
4878 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4879 s&@INSTALL@&$ac_INSTALL&;t t
4880 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4881 $ac_datarootdir_hack
4883 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4884 || as_fn_error "could not create $ac_file" "$LINENO" 5
4886 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4887 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4888 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4890 which seems to be undefined. Please make sure it is defined." >&5
4891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4892 which seems to be undefined. Please make sure it is defined." >&2;}
4894 rm -f "$tmp/stdin"
4895 case $ac_file in
4896 -) cat "$tmp/out" && rm -f "$tmp/out";;
4897 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4898 esac \
4899 || as_fn_error "could not create $ac_file" "$LINENO" 5
4903 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4904 $as_echo "$as_me: executing $ac_file commands" >&6;}
4906 esac
4909 case $ac_file$ac_mode in
4910 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4911 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4912 # are listed without --file. Let's play safe and only enable the eval
4913 # if we detect the quoting.
4914 case $CONFIG_FILES in
4915 *\'*) eval set x "$CONFIG_FILES" ;;
4916 *) set x $CONFIG_FILES ;;
4917 esac
4918 shift
4919 for mf
4921 # Strip MF so we end up with the name of the file.
4922 mf=`echo "$mf" | sed -e 's/:.*$//'`
4923 # Check whether this is an Automake generated Makefile or not.
4924 # We used to match only the files named `Makefile.in', but
4925 # some people rename them; so instead we look at the file content.
4926 # Grep'ing the first line is not enough: some people post-process
4927 # each Makefile.in and add a new line on top of each file to say so.
4928 # Grep'ing the whole file is not good either: AIX grep has a line
4929 # limit of 2048, but all sed's we know have understand at least 4000.
4930 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4931 dirpart=`$as_dirname -- "$mf" ||
4932 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4933 X"$mf" : 'X\(//\)[^/]' \| \
4934 X"$mf" : 'X\(//\)$' \| \
4935 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4936 $as_echo X"$mf" |
4937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4938 s//\1/
4941 /^X\(\/\/\)[^/].*/{
4942 s//\1/
4945 /^X\(\/\/\)$/{
4946 s//\1/
4949 /^X\(\/\).*/{
4950 s//\1/
4953 s/.*/./; q'`
4954 else
4955 continue
4957 # Extract the definition of DEPDIR, am__include, and am__quote
4958 # from the Makefile without running `make'.
4959 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4960 test -z "$DEPDIR" && continue
4961 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4962 test -z "am__include" && continue
4963 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4964 # When using ansi2knr, U may be empty or an underscore; expand it
4965 U=`sed -n 's/^U = //p' < "$mf"`
4966 # Find all dependency output files, they are included files with
4967 # $(DEPDIR) in their names. We invoke sed twice because it is the
4968 # simplest approach to changing $(DEPDIR) to its actual value in the
4969 # expansion.
4970 for file in `sed -n "
4971 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4972 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4973 # Make sure the directory exists.
4974 test -f "$dirpart/$file" && continue
4975 fdir=`$as_dirname -- "$file" ||
4976 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4977 X"$file" : 'X\(//\)[^/]' \| \
4978 X"$file" : 'X\(//\)$' \| \
4979 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4980 $as_echo X"$file" |
4981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4982 s//\1/
4985 /^X\(\/\/\)[^/].*/{
4986 s//\1/
4989 /^X\(\/\/\)$/{
4990 s//\1/
4993 /^X\(\/\).*/{
4994 s//\1/
4997 s/.*/./; q'`
4998 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4999 # echo "creating $dirpart/$file"
5000 echo '# dummy' > "$dirpart/$file"
5001 done
5002 done
5006 esac
5007 done # for ac_tag
5010 as_fn_exit 0
5011 _ACEOF
5012 ac_clean_files=$ac_clean_files_save
5014 test $ac_write_fail = 0 ||
5015 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5018 # configure is writing to config.log, and then calls config.status.
5019 # config.status does its own redirection, appending to config.log.
5020 # Unfortunately, on DOS this fails, as config.log is still kept open
5021 # by configure, so config.status won't be able to write to it; its
5022 # output is simply discarded. So we exec the FD to /dev/null,
5023 # effectively closing config.log, so it can be properly (re)opened and
5024 # appended to by config.status. When coming back to configure, we
5025 # need to make the FD available again.
5026 if test "$no_create" != yes; then
5027 ac_cs_success=:
5028 ac_config_status_args=
5029 test "$silent" = yes &&
5030 ac_config_status_args="$ac_config_status_args --quiet"
5031 exec 5>/dev/null
5032 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5033 exec 5>>config.log
5034 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5035 # would make configure fail if this is the last instruction.
5036 $ac_cs_success || as_fn_exit $?
5038 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5040 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}