x86: Update __CET__ check
[official-gcc.git] / gnattools / configure
blob8c75cc06eb5a9bcaa91f2c203011e0229652505f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174 else
175 as_have_required=no
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179 else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181 as_found=false
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
199 done;;
200 esac
201 as_found=false
202 done
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206 fi; }
207 IFS=$as_save_IFS
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227 else
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
233 exit 1
237 SHELL=${CONFIG_SHELL-/bin/sh}
238 export SHELL
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
251 { eval $1=; unset $1;}
253 as_unset=as_fn_unset
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
260 return $1
261 } # as_fn_set_status
263 # as_fn_exit STATUS
264 # -----------------
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266 as_fn_exit ()
268 set +e
269 as_fn_set_status $1
270 exit $1
271 } # as_fn_exit
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
304 /^X\(\/\/\)$/{
305 s//\1/
308 /^X\(\/\).*/{
309 s//\1/
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319 } # as_fn_mkdir_p
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
325 # implementations.
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
329 eval $1+=\$2
331 else
332 as_fn_append ()
334 eval $1=\$$1\$2
336 fi # as_fn_append
338 # as_fn_arith ARG...
339 # ------------------
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
346 as_val=$(( $* ))
348 else
349 as_fn_arith ()
351 as_val=`expr "$@" || test $? -eq 1`
353 fi # as_fn_arith
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
361 as_fn_error ()
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370 } # as_fn_error
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
374 as_expr=expr
375 else
376 as_expr=false
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380 as_basename=basename
381 else
382 as_basename=false
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387 else
388 as_dirname=false
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395 $as_echo X/"$0" |
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
397 s//\1/
400 /^X\/\(\/\/\)$/{
401 s//\1/
404 /^X\/\(\/\).*/{
405 s//\1/
408 s/.*/./; q'`
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
423 sed -n '
425 /[$]LINENO/=
426 ' <$as_myself |
427 sed '
428 s/[$]LINENO.*/&-/
429 t lineno
431 :lineno
433 :loop
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435 t loop
436 s/-\n.*//
437 ' >$as_me.lineno &&
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
444 . "./$as_me.lineno"
445 # Exit status is that of the last command.
446 exit
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
451 -n*)
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
457 esac;;
459 ECHO_N='-n';;
460 esac
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
465 else
466 rm -f conf$$.dir
467 mkdir conf$$.dir 2>/dev/null
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
471 as_ln_s='ln -s'
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
481 as_ln_s='cp -p'
483 else
484 as_ln_s='cp -p'
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
491 else
492 test -d ./-p && rmdir ./-p
493 as_mkdir_p=false
496 if test -x / >/dev/null 2>&1; then
497 as_test_x='test -x'
498 else
499 if ls -dL / >/dev/null 2>&1; then
500 as_ls_L_option=L
501 else
502 as_ls_L_option=
504 as_test_x='
505 eval sh -c '\''
506 if test -d "$1"; then
507 test -d "$1/.";
508 else
509 case $1 in #(
510 -*)set "./$1";;
511 esac;
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
514 '\'' sh
517 as_executable_p=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev/null 6>&1
528 # Name of the host.
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
534 # Initializations.
536 ac_default_prefix=/usr/local
537 ac_clean_files=
538 ac_config_libobj_dir=.
539 LIBOBJS=
540 cross_compiling=no
541 subdirs=
542 MFLAGS=
543 MAKEFLAGS=
545 # Identity of this package.
546 PACKAGE_NAME=
547 PACKAGE_TARNAME=
548 PACKAGE_VERSION=
549 PACKAGE_STRING=
550 PACKAGE_BUGREPORT=
551 PACKAGE_URL=
553 ac_unique_file="Makefile.in"
554 ac_subst_vars='LTLIBOBJS
555 LIBOBJS
556 warn_cflags
557 OBJEXT
558 EXEEXT
559 ac_ct_CC
560 CPPFLAGS
561 LDFLAGS
562 CFLAGS
564 ADA_CFLAGS
565 EXTRA_GNATTOOLS
566 TOOLS_TARGET_PAIRS
567 default_gnattools_target
568 LN_S
569 target_noncanonical
570 host_noncanonical
571 target_os
572 target_vendor
573 target_cpu
574 target
575 host_os
576 host_vendor
577 host_cpu
578 host
579 build_os
580 build_vendor
581 build_cpu
582 build
583 INSTALL_DATA
584 INSTALL_SCRIPT
585 INSTALL_PROGRAM
586 MAINT
587 target_alias
588 host_alias
589 build_alias
590 LIBS
591 ECHO_T
592 ECHO_N
593 ECHO_C
594 DEFS
595 mandir
596 localedir
597 libdir
598 psdir
599 pdfdir
600 dvidir
601 htmldir
602 infodir
603 docdir
604 oldincludedir
605 includedir
606 localstatedir
607 sharedstatedir
608 sysconfdir
609 datadir
610 datarootdir
611 libexecdir
612 sbindir
613 bindir
614 program_transform_name
615 prefix
616 exec_prefix
617 PACKAGE_URL
618 PACKAGE_BUGREPORT
619 PACKAGE_STRING
620 PACKAGE_VERSION
621 PACKAGE_TARNAME
622 PACKAGE_NAME
623 PATH_SEPARATOR
624 SHELL'
625 ac_subst_files=''
626 ac_user_opts='
627 enable_option_checking
628 enable_maintainer_mode
630 ac_precious_vars='build_alias
631 host_alias
632 target_alias
634 CFLAGS
635 LDFLAGS
636 LIBS
637 CPPFLAGS'
640 # Initialize some variables set by options.
641 ac_init_help=
642 ac_init_version=false
643 ac_unrecognized_opts=
644 ac_unrecognized_sep=
645 # The variables have the same names as the options, with
646 # dashes changed to underlines.
647 cache_file=/dev/null
648 exec_prefix=NONE
649 no_create=
650 no_recursion=
651 prefix=NONE
652 program_prefix=NONE
653 program_suffix=NONE
654 program_transform_name=s,x,x,
655 silent=
656 site=
657 srcdir=
658 verbose=
659 x_includes=NONE
660 x_libraries=NONE
662 # Installation directory options.
663 # These are left unexpanded so users can "make install exec_prefix=/foo"
664 # and all the variables that are supposed to be based on exec_prefix
665 # by default will actually change.
666 # Use braces instead of parens because sh, perl, etc. also accept them.
667 # (The list follows the same order as the GNU Coding Standards.)
668 bindir='${exec_prefix}/bin'
669 sbindir='${exec_prefix}/sbin'
670 libexecdir='${exec_prefix}/libexec'
671 datarootdir='${prefix}/share'
672 datadir='${datarootdir}'
673 sysconfdir='${prefix}/etc'
674 sharedstatedir='${prefix}/com'
675 localstatedir='${prefix}/var'
676 includedir='${prefix}/include'
677 oldincludedir='/usr/include'
678 docdir='${datarootdir}/doc/${PACKAGE}'
679 infodir='${datarootdir}/info'
680 htmldir='${docdir}'
681 dvidir='${docdir}'
682 pdfdir='${docdir}'
683 psdir='${docdir}'
684 libdir='${exec_prefix}/lib'
685 localedir='${datarootdir}/locale'
686 mandir='${datarootdir}/man'
688 ac_prev=
689 ac_dashdash=
690 for ac_option
692 # If the previous option needs an argument, assign it.
693 if test -n "$ac_prev"; then
694 eval $ac_prev=\$ac_option
695 ac_prev=
696 continue
699 case $ac_option in
700 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
701 *) ac_optarg=yes ;;
702 esac
704 # Accept the important Cygnus configure options, so we can diagnose typos.
706 case $ac_dashdash$ac_option in
708 ac_dashdash=yes ;;
710 -bindir | --bindir | --bindi | --bind | --bin | --bi)
711 ac_prev=bindir ;;
712 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
713 bindir=$ac_optarg ;;
715 -build | --build | --buil | --bui | --bu)
716 ac_prev=build_alias ;;
717 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
718 build_alias=$ac_optarg ;;
720 -cache-file | --cache-file | --cache-fil | --cache-fi \
721 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
722 ac_prev=cache_file ;;
723 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
724 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
725 cache_file=$ac_optarg ;;
727 --config-cache | -C)
728 cache_file=config.cache ;;
730 -datadir | --datadir | --datadi | --datad)
731 ac_prev=datadir ;;
732 -datadir=* | --datadir=* | --datadi=* | --datad=*)
733 datadir=$ac_optarg ;;
735 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
736 | --dataroo | --dataro | --datar)
737 ac_prev=datarootdir ;;
738 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
739 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
740 datarootdir=$ac_optarg ;;
742 -disable-* | --disable-*)
743 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
746 as_fn_error "invalid feature name: $ac_useropt"
747 ac_useropt_orig=$ac_useropt
748 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
749 case $ac_user_opts in
751 "enable_$ac_useropt"
752 "*) ;;
753 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
754 ac_unrecognized_sep=', ';;
755 esac
756 eval enable_$ac_useropt=no ;;
758 -docdir | --docdir | --docdi | --doc | --do)
759 ac_prev=docdir ;;
760 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
761 docdir=$ac_optarg ;;
763 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 ac_prev=dvidir ;;
765 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
766 dvidir=$ac_optarg ;;
768 -enable-* | --enable-*)
769 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772 as_fn_error "invalid feature name: $ac_useropt"
773 ac_useropt_orig=$ac_useropt
774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
777 "enable_$ac_useropt"
778 "*) ;;
779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
780 ac_unrecognized_sep=', ';;
781 esac
782 eval enable_$ac_useropt=\$ac_optarg ;;
784 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
785 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
786 | --exec | --exe | --ex)
787 ac_prev=exec_prefix ;;
788 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
789 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
790 | --exec=* | --exe=* | --ex=*)
791 exec_prefix=$ac_optarg ;;
793 -gas | --gas | --ga | --g)
794 # Obsolete; use --with-gas.
795 with_gas=yes ;;
797 -help | --help | --hel | --he | -h)
798 ac_init_help=long ;;
799 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
800 ac_init_help=recursive ;;
801 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
802 ac_init_help=short ;;
804 -host | --host | --hos | --ho)
805 ac_prev=host_alias ;;
806 -host=* | --host=* | --hos=* | --ho=*)
807 host_alias=$ac_optarg ;;
809 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
810 ac_prev=htmldir ;;
811 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
812 | --ht=*)
813 htmldir=$ac_optarg ;;
815 -includedir | --includedir | --includedi | --included | --include \
816 | --includ | --inclu | --incl | --inc)
817 ac_prev=includedir ;;
818 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
819 | --includ=* | --inclu=* | --incl=* | --inc=*)
820 includedir=$ac_optarg ;;
822 -infodir | --infodir | --infodi | --infod | --info | --inf)
823 ac_prev=infodir ;;
824 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
825 infodir=$ac_optarg ;;
827 -libdir | --libdir | --libdi | --libd)
828 ac_prev=libdir ;;
829 -libdir=* | --libdir=* | --libdi=* | --libd=*)
830 libdir=$ac_optarg ;;
832 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
833 | --libexe | --libex | --libe)
834 ac_prev=libexecdir ;;
835 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
836 | --libexe=* | --libex=* | --libe=*)
837 libexecdir=$ac_optarg ;;
839 -localedir | --localedir | --localedi | --localed | --locale)
840 ac_prev=localedir ;;
841 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
842 localedir=$ac_optarg ;;
844 -localstatedir | --localstatedir | --localstatedi | --localstated \
845 | --localstate | --localstat | --localsta | --localst | --locals)
846 ac_prev=localstatedir ;;
847 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
848 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
849 localstatedir=$ac_optarg ;;
851 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
852 ac_prev=mandir ;;
853 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
854 mandir=$ac_optarg ;;
856 -nfp | --nfp | --nf)
857 # Obsolete; use --without-fp.
858 with_fp=no ;;
860 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
861 | --no-cr | --no-c | -n)
862 no_create=yes ;;
864 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
865 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
866 no_recursion=yes ;;
868 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
869 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
870 | --oldin | --oldi | --old | --ol | --o)
871 ac_prev=oldincludedir ;;
872 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
873 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
874 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
875 oldincludedir=$ac_optarg ;;
877 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
878 ac_prev=prefix ;;
879 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
880 prefix=$ac_optarg ;;
882 -program-prefix | --program-prefix | --program-prefi | --program-pref \
883 | --program-pre | --program-pr | --program-p)
884 ac_prev=program_prefix ;;
885 -program-prefix=* | --program-prefix=* | --program-prefi=* \
886 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
887 program_prefix=$ac_optarg ;;
889 -program-suffix | --program-suffix | --program-suffi | --program-suff \
890 | --program-suf | --program-su | --program-s)
891 ac_prev=program_suffix ;;
892 -program-suffix=* | --program-suffix=* | --program-suffi=* \
893 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
894 program_suffix=$ac_optarg ;;
896 -program-transform-name | --program-transform-name \
897 | --program-transform-nam | --program-transform-na \
898 | --program-transform-n | --program-transform- \
899 | --program-transform | --program-transfor \
900 | --program-transfo | --program-transf \
901 | --program-trans | --program-tran \
902 | --progr-tra | --program-tr | --program-t)
903 ac_prev=program_transform_name ;;
904 -program-transform-name=* | --program-transform-name=* \
905 | --program-transform-nam=* | --program-transform-na=* \
906 | --program-transform-n=* | --program-transform-=* \
907 | --program-transform=* | --program-transfor=* \
908 | --program-transfo=* | --program-transf=* \
909 | --program-trans=* | --program-tran=* \
910 | --progr-tra=* | --program-tr=* | --program-t=*)
911 program_transform_name=$ac_optarg ;;
913 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
914 ac_prev=pdfdir ;;
915 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
916 pdfdir=$ac_optarg ;;
918 -psdir | --psdir | --psdi | --psd | --ps)
919 ac_prev=psdir ;;
920 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
921 psdir=$ac_optarg ;;
923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
924 | -silent | --silent | --silen | --sile | --sil)
925 silent=yes ;;
927 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
928 ac_prev=sbindir ;;
929 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
930 | --sbi=* | --sb=*)
931 sbindir=$ac_optarg ;;
933 -sharedstatedir | --sharedstatedir | --sharedstatedi \
934 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
935 | --sharedst | --shareds | --shared | --share | --shar \
936 | --sha | --sh)
937 ac_prev=sharedstatedir ;;
938 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
939 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
940 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
941 | --sha=* | --sh=*)
942 sharedstatedir=$ac_optarg ;;
944 -site | --site | --sit)
945 ac_prev=site ;;
946 -site=* | --site=* | --sit=*)
947 site=$ac_optarg ;;
949 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
950 ac_prev=srcdir ;;
951 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
952 srcdir=$ac_optarg ;;
954 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
955 | --syscon | --sysco | --sysc | --sys | --sy)
956 ac_prev=sysconfdir ;;
957 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
958 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
959 sysconfdir=$ac_optarg ;;
961 -target | --target | --targe | --targ | --tar | --ta | --t)
962 ac_prev=target_alias ;;
963 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
964 target_alias=$ac_optarg ;;
966 -v | -verbose | --verbose | --verbos | --verbo | --verb)
967 verbose=yes ;;
969 -version | --version | --versio | --versi | --vers | -V)
970 ac_init_version=: ;;
972 -with-* | --with-*)
973 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 as_fn_error "invalid package name: $ac_useropt"
977 ac_useropt_orig=$ac_useropt
978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
981 "with_$ac_useropt"
982 "*) ;;
983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
984 ac_unrecognized_sep=', ';;
985 esac
986 eval with_$ac_useropt=\$ac_optarg ;;
988 -without-* | --without-*)
989 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 as_fn_error "invalid package name: $ac_useropt"
993 ac_useropt_orig=$ac_useropt
994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
997 "with_$ac_useropt"
998 "*) ;;
999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1000 ac_unrecognized_sep=', ';;
1001 esac
1002 eval with_$ac_useropt=no ;;
1004 --x)
1005 # Obsolete; use --with-x.
1006 with_x=yes ;;
1008 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1009 | --x-incl | --x-inc | --x-in | --x-i)
1010 ac_prev=x_includes ;;
1011 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1012 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1013 x_includes=$ac_optarg ;;
1015 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1016 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1017 ac_prev=x_libraries ;;
1018 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1019 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1020 x_libraries=$ac_optarg ;;
1022 -*) as_fn_error "unrecognized option: \`$ac_option'
1023 Try \`$0 --help' for more information."
1026 *=*)
1027 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1028 # Reject names that are not valid shell variable names.
1029 case $ac_envvar in #(
1030 '' | [0-9]* | *[!_$as_cr_alnum]* )
1031 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1032 esac
1033 eval $ac_envvar=\$ac_optarg
1034 export $ac_envvar ;;
1037 # FIXME: should be removed in autoconf 3.0.
1038 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1039 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1044 esac
1045 done
1047 if test -n "$ac_prev"; then
1048 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1049 as_fn_error "missing argument to $ac_option"
1052 if test -n "$ac_unrecognized_opts"; then
1053 case $enable_option_checking in
1054 no) ;;
1055 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1056 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1057 esac
1060 # Check all directory arguments for consistency.
1061 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1062 datadir sysconfdir sharedstatedir localstatedir includedir \
1063 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1064 libdir localedir mandir
1066 eval ac_val=\$$ac_var
1067 # Remove trailing slashes.
1068 case $ac_val in
1069 */ )
1070 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1071 eval $ac_var=\$ac_val;;
1072 esac
1073 # Be sure to have absolute directory names.
1074 case $ac_val in
1075 [\\/$]* | ?:[\\/]* ) continue;;
1076 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1077 esac
1078 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1079 done
1081 # There might be people who depend on the old broken behavior: `$host'
1082 # used to hold the argument of --host etc.
1083 # FIXME: To remove some day.
1084 build=$build_alias
1085 host=$host_alias
1086 target=$target_alias
1088 # FIXME: To remove some day.
1089 if test "x$host_alias" != x; then
1090 if test "x$build_alias" = x; then
1091 cross_compiling=maybe
1092 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1093 If a cross compiler is detected then cross compile mode will be used." >&2
1094 elif test "x$build_alias" != "x$host_alias"; then
1095 cross_compiling=yes
1099 ac_tool_prefix=
1100 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1102 test "$silent" = yes && exec 6>/dev/null
1105 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1106 ac_ls_di=`ls -di .` &&
1107 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1108 as_fn_error "working directory cannot be determined"
1109 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1110 as_fn_error "pwd does not report name of working directory"
1113 # Find the source files, if location was not specified.
1114 if test -z "$srcdir"; then
1115 ac_srcdir_defaulted=yes
1116 # Try the directory containing this script, then the parent directory.
1117 ac_confdir=`$as_dirname -- "$as_myself" ||
1118 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1119 X"$as_myself" : 'X\(//\)[^/]' \| \
1120 X"$as_myself" : 'X\(//\)$' \| \
1121 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1122 $as_echo X"$as_myself" |
1123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1124 s//\1/
1127 /^X\(\/\/\)[^/].*/{
1128 s//\1/
1131 /^X\(\/\/\)$/{
1132 s//\1/
1135 /^X\(\/\).*/{
1136 s//\1/
1139 s/.*/./; q'`
1140 srcdir=$ac_confdir
1141 if test ! -r "$srcdir/$ac_unique_file"; then
1142 srcdir=..
1144 else
1145 ac_srcdir_defaulted=no
1147 if test ! -r "$srcdir/$ac_unique_file"; then
1148 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1149 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1151 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1152 ac_abs_confdir=`(
1153 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1154 pwd)`
1155 # When building in place, set srcdir=.
1156 if test "$ac_abs_confdir" = "$ac_pwd"; then
1157 srcdir=.
1159 # Remove unnecessary trailing slashes from srcdir.
1160 # Double slashes in file names in object file debugging info
1161 # mess up M-x gdb in Emacs.
1162 case $srcdir in
1163 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1164 esac
1165 for ac_var in $ac_precious_vars; do
1166 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1167 eval ac_env_${ac_var}_value=\$${ac_var}
1168 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1169 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1170 done
1173 # Report the --help message.
1175 if test "$ac_init_help" = "long"; then
1176 # Omit some internal or obsolete options to make the list less imposing.
1177 # This message is too long to be a string in the A/UX 3.1 sh.
1178 cat <<_ACEOF
1179 \`configure' configures this package to adapt to many kinds of systems.
1181 Usage: $0 [OPTION]... [VAR=VALUE]...
1183 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1184 VAR=VALUE. See below for descriptions of some of the useful variables.
1186 Defaults for the options are specified in brackets.
1188 Configuration:
1189 -h, --help display this help and exit
1190 --help=short display options specific to this package
1191 --help=recursive display the short help of all the included packages
1192 -V, --version display version information and exit
1193 -q, --quiet, --silent do not print \`checking...' messages
1194 --cache-file=FILE cache test results in FILE [disabled]
1195 -C, --config-cache alias for \`--cache-file=config.cache'
1196 -n, --no-create do not create output files
1197 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1199 Installation directories:
1200 --prefix=PREFIX install architecture-independent files in PREFIX
1201 [$ac_default_prefix]
1202 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1203 [PREFIX]
1205 By default, \`make install' will install all the files in
1206 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1207 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1208 for instance \`--prefix=\$HOME'.
1210 For better control, use the options below.
1212 Fine tuning of the installation directories:
1213 --bindir=DIR user executables [EPREFIX/bin]
1214 --sbindir=DIR system admin executables [EPREFIX/sbin]
1215 --libexecdir=DIR program executables [EPREFIX/libexec]
1216 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1217 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1218 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1219 --libdir=DIR object code libraries [EPREFIX/lib]
1220 --includedir=DIR C header files [PREFIX/include]
1221 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1222 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1223 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1224 --infodir=DIR info documentation [DATAROOTDIR/info]
1225 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1226 --mandir=DIR man documentation [DATAROOTDIR/man]
1227 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1228 --htmldir=DIR html documentation [DOCDIR]
1229 --dvidir=DIR dvi documentation [DOCDIR]
1230 --pdfdir=DIR pdf documentation [DOCDIR]
1231 --psdir=DIR ps documentation [DOCDIR]
1232 _ACEOF
1234 cat <<\_ACEOF
1236 System types:
1237 --build=BUILD configure for building on BUILD [guessed]
1238 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1239 --target=TARGET configure for building compilers for TARGET [HOST]
1240 _ACEOF
1243 if test -n "$ac_init_help"; then
1245 cat <<\_ACEOF
1247 Optional Features:
1248 --disable-option-checking ignore unrecognized --enable/--with options
1249 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1250 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1251 --enable-maintainer-mode
1252 enable make rules and dependencies not useful (and
1253 sometimes confusing) to the casual installer
1255 Some influential environment variables:
1256 CC C compiler command
1257 CFLAGS C compiler flags
1258 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1259 nonstandard directory <lib dir>
1260 LIBS libraries to pass to the linker, e.g. -l<library>
1261 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1262 you have headers in a nonstandard directory <include dir>
1264 Use these variables to override the choices made by `configure' or to help
1265 it to find libraries and programs with nonstandard names/locations.
1267 Report bugs to the package provider.
1268 _ACEOF
1269 ac_status=$?
1272 if test "$ac_init_help" = "recursive"; then
1273 # If there are subdirs, report their specific --help.
1274 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1275 test -d "$ac_dir" ||
1276 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1277 continue
1278 ac_builddir=.
1280 case "$ac_dir" in
1281 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1283 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1284 # A ".." for each directory in $ac_dir_suffix.
1285 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1286 case $ac_top_builddir_sub in
1287 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1288 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1289 esac ;;
1290 esac
1291 ac_abs_top_builddir=$ac_pwd
1292 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1293 # for backward compatibility:
1294 ac_top_builddir=$ac_top_build_prefix
1296 case $srcdir in
1297 .) # We are building in place.
1298 ac_srcdir=.
1299 ac_top_srcdir=$ac_top_builddir_sub
1300 ac_abs_top_srcdir=$ac_pwd ;;
1301 [\\/]* | ?:[\\/]* ) # Absolute name.
1302 ac_srcdir=$srcdir$ac_dir_suffix;
1303 ac_top_srcdir=$srcdir
1304 ac_abs_top_srcdir=$srcdir ;;
1305 *) # Relative name.
1306 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1307 ac_top_srcdir=$ac_top_build_prefix$srcdir
1308 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1309 esac
1310 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1312 cd "$ac_dir" || { ac_status=$?; continue; }
1313 # Check for guested configure.
1314 if test -f "$ac_srcdir/configure.gnu"; then
1315 echo &&
1316 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1317 elif test -f "$ac_srcdir/configure"; then
1318 echo &&
1319 $SHELL "$ac_srcdir/configure" --help=recursive
1320 else
1321 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1322 fi || ac_status=$?
1323 cd "$ac_pwd" || { ac_status=$?; break; }
1324 done
1327 test -n "$ac_init_help" && exit $ac_status
1328 if $ac_init_version; then
1329 cat <<\_ACEOF
1330 configure
1331 generated by GNU Autoconf 2.64
1333 Copyright (C) 2009 Free Software Foundation, Inc.
1334 This configure script is free software; the Free Software Foundation
1335 gives unlimited permission to copy, distribute and modify it.
1336 _ACEOF
1337 exit
1340 ## ------------------------ ##
1341 ## Autoconf initialization. ##
1342 ## ------------------------ ##
1344 # ac_fn_c_try_compile LINENO
1345 # --------------------------
1346 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1347 ac_fn_c_try_compile ()
1349 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1350 rm -f conftest.$ac_objext
1351 if { { ac_try="$ac_compile"
1352 case "(($ac_try" in
1353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1354 *) ac_try_echo=$ac_try;;
1355 esac
1356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1357 $as_echo "$ac_try_echo"; } >&5
1358 (eval "$ac_compile") 2>conftest.err
1359 ac_status=$?
1360 if test -s conftest.err; then
1361 grep -v '^ *+' conftest.err >conftest.er1
1362 cat conftest.er1 >&5
1363 mv -f conftest.er1 conftest.err
1365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1366 test $ac_status = 0; } && {
1367 test -z "$ac_c_werror_flag" ||
1368 test ! -s conftest.err
1369 } && test -s conftest.$ac_objext; then :
1370 ac_retval=0
1371 else
1372 $as_echo "$as_me: failed program was:" >&5
1373 sed 's/^/| /' conftest.$ac_ext >&5
1375 ac_retval=1
1377 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1378 return $ac_retval
1380 } # ac_fn_c_try_compile
1381 cat >config.log <<_ACEOF
1382 This file contains any messages produced by compilers while
1383 running configure, to aid debugging if configure makes a mistake.
1385 It was created by $as_me, which was
1386 generated by GNU Autoconf 2.64. Invocation command line was
1388 $ $0 $@
1390 _ACEOF
1391 exec 5>>config.log
1393 cat <<_ASUNAME
1394 ## --------- ##
1395 ## Platform. ##
1396 ## --------- ##
1398 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1399 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1400 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1401 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1402 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1404 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1405 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1407 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1408 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1409 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1410 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1411 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1412 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1413 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1415 _ASUNAME
1417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1418 for as_dir in $PATH
1420 IFS=$as_save_IFS
1421 test -z "$as_dir" && as_dir=.
1422 $as_echo "PATH: $as_dir"
1423 done
1424 IFS=$as_save_IFS
1426 } >&5
1428 cat >&5 <<_ACEOF
1431 ## ----------- ##
1432 ## Core tests. ##
1433 ## ----------- ##
1435 _ACEOF
1438 # Keep a trace of the command line.
1439 # Strip out --no-create and --no-recursion so they do not pile up.
1440 # Strip out --silent because we don't want to record it for future runs.
1441 # Also quote any args containing shell meta-characters.
1442 # Make two passes to allow for proper duplicate-argument suppression.
1443 ac_configure_args=
1444 ac_configure_args0=
1445 ac_configure_args1=
1446 ac_must_keep_next=false
1447 for ac_pass in 1 2
1449 for ac_arg
1451 case $ac_arg in
1452 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1453 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1454 | -silent | --silent | --silen | --sile | --sil)
1455 continue ;;
1456 *\'*)
1457 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1458 esac
1459 case $ac_pass in
1460 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1462 as_fn_append ac_configure_args1 " '$ac_arg'"
1463 if test $ac_must_keep_next = true; then
1464 ac_must_keep_next=false # Got value, back to normal.
1465 else
1466 case $ac_arg in
1467 *=* | --config-cache | -C | -disable-* | --disable-* \
1468 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1469 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1470 | -with-* | --with-* | -without-* | --without-* | --x)
1471 case "$ac_configure_args0 " in
1472 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1473 esac
1475 -* ) ac_must_keep_next=true ;;
1476 esac
1478 as_fn_append ac_configure_args " '$ac_arg'"
1480 esac
1481 done
1482 done
1483 { ac_configure_args0=; unset ac_configure_args0;}
1484 { ac_configure_args1=; unset ac_configure_args1;}
1486 # When interrupted or exit'd, cleanup temporary files, and complete
1487 # config.log. We remove comments because anyway the quotes in there
1488 # would cause problems or look ugly.
1489 # WARNING: Use '\'' to represent an apostrophe within the trap.
1490 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1491 trap 'exit_status=$?
1492 # Save into config.log some information that might help in debugging.
1494 echo
1496 cat <<\_ASBOX
1497 ## ---------------- ##
1498 ## Cache variables. ##
1499 ## ---------------- ##
1500 _ASBOX
1501 echo
1502 # The following way of writing the cache mishandles newlines in values,
1504 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1505 eval ac_val=\$$ac_var
1506 case $ac_val in #(
1507 *${as_nl}*)
1508 case $ac_var in #(
1509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1511 esac
1512 case $ac_var in #(
1513 _ | IFS | as_nl) ;; #(
1514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1515 *) { eval $ac_var=; unset $ac_var;} ;;
1516 esac ;;
1517 esac
1518 done
1519 (set) 2>&1 |
1520 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1521 *${as_nl}ac_space=\ *)
1522 sed -n \
1523 "s/'\''/'\''\\\\'\'''\''/g;
1524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1525 ;; #(
1527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1529 esac |
1530 sort
1532 echo
1534 cat <<\_ASBOX
1535 ## ----------------- ##
1536 ## Output variables. ##
1537 ## ----------------- ##
1538 _ASBOX
1539 echo
1540 for ac_var in $ac_subst_vars
1542 eval ac_val=\$$ac_var
1543 case $ac_val in
1544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545 esac
1546 $as_echo "$ac_var='\''$ac_val'\''"
1547 done | sort
1548 echo
1550 if test -n "$ac_subst_files"; then
1551 cat <<\_ASBOX
1552 ## ------------------- ##
1553 ## File substitutions. ##
1554 ## ------------------- ##
1555 _ASBOX
1556 echo
1557 for ac_var in $ac_subst_files
1559 eval ac_val=\$$ac_var
1560 case $ac_val in
1561 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562 esac
1563 $as_echo "$ac_var='\''$ac_val'\''"
1564 done | sort
1565 echo
1568 if test -s confdefs.h; then
1569 cat <<\_ASBOX
1570 ## ----------- ##
1571 ## confdefs.h. ##
1572 ## ----------- ##
1573 _ASBOX
1574 echo
1575 cat confdefs.h
1576 echo
1578 test "$ac_signal" != 0 &&
1579 $as_echo "$as_me: caught signal $ac_signal"
1580 $as_echo "$as_me: exit $exit_status"
1581 } >&5
1582 rm -f core *.core core.conftest.* &&
1583 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1584 exit $exit_status
1586 for ac_signal in 1 2 13 15; do
1587 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1588 done
1589 ac_signal=0
1591 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1592 rm -f -r conftest* confdefs.h
1594 $as_echo "/* confdefs.h */" > confdefs.h
1596 # Predefined preprocessor variables.
1598 cat >>confdefs.h <<_ACEOF
1599 #define PACKAGE_NAME "$PACKAGE_NAME"
1600 _ACEOF
1602 cat >>confdefs.h <<_ACEOF
1603 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1604 _ACEOF
1606 cat >>confdefs.h <<_ACEOF
1607 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1608 _ACEOF
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_STRING "$PACKAGE_STRING"
1612 _ACEOF
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1616 _ACEOF
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_URL "$PACKAGE_URL"
1620 _ACEOF
1623 # Let the site file select an alternate cache file if it wants to.
1624 # Prefer an explicitly selected file to automatically selected ones.
1625 ac_site_file1=NONE
1626 ac_site_file2=NONE
1627 if test -n "$CONFIG_SITE"; then
1628 ac_site_file1=$CONFIG_SITE
1629 elif test "x$prefix" != xNONE; then
1630 ac_site_file1=$prefix/share/config.site
1631 ac_site_file2=$prefix/etc/config.site
1632 else
1633 ac_site_file1=$ac_default_prefix/share/config.site
1634 ac_site_file2=$ac_default_prefix/etc/config.site
1636 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1638 test "x$ac_site_file" = xNONE && continue
1639 if test -r "$ac_site_file"; then
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1641 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1642 sed 's/^/| /' "$ac_site_file" >&5
1643 . "$ac_site_file"
1645 done
1647 if test -r "$cache_file"; then
1648 # Some versions of bash will fail to source /dev/null (special
1649 # files actually), so we avoid doing that.
1650 if test -f "$cache_file"; then
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1652 $as_echo "$as_me: loading cache $cache_file" >&6;}
1653 case $cache_file in
1654 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1655 *) . "./$cache_file";;
1656 esac
1658 else
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1660 $as_echo "$as_me: creating cache $cache_file" >&6;}
1661 >$cache_file
1664 # Check that the precious variables saved in the cache have kept the same
1665 # value.
1666 ac_cache_corrupted=false
1667 for ac_var in $ac_precious_vars; do
1668 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1669 eval ac_new_set=\$ac_env_${ac_var}_set
1670 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1671 eval ac_new_val=\$ac_env_${ac_var}_value
1672 case $ac_old_set,$ac_new_set in
1673 set,)
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1675 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1676 ac_cache_corrupted=: ;;
1677 ,set)
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1679 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1680 ac_cache_corrupted=: ;;
1681 ,);;
1683 if test "x$ac_old_val" != "x$ac_new_val"; then
1684 # differences in whitespace do not lead to failure.
1685 ac_old_val_w=`echo x $ac_old_val`
1686 ac_new_val_w=`echo x $ac_new_val`
1687 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1689 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1690 ac_cache_corrupted=:
1691 else
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1693 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1694 eval $ac_var=\$ac_old_val
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1697 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1699 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1700 fi;;
1701 esac
1702 # Pass precious variables to config.status.
1703 if test "$ac_new_set" = set; then
1704 case $ac_new_val in
1705 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1706 *) ac_arg=$ac_var=$ac_new_val ;;
1707 esac
1708 case " $ac_configure_args " in
1709 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1710 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1711 esac
1713 done
1714 if $ac_cache_corrupted; then
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1718 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1719 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1721 ## -------------------- ##
1722 ## Main body of script. ##
1723 ## -------------------- ##
1725 ac_ext=c
1726 ac_cpp='$CPP $CPPFLAGS'
1727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1739 # Command-line options.
1740 # Very limited version of AC_MAINTAINER_MODE.
1741 # Check whether --enable-maintainer-mode was given.
1742 if test "${enable_maintainer_mode+set}" = set; then :
1743 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
1744 yes) MAINT='' ;;
1745 no) MAINT='#' ;;
1746 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
1747 esac
1748 maintainer_mode=${enableval}
1749 else
1750 MAINT='#'
1754 # Start of actual configure tests
1756 ac_aux_dir=
1757 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1758 for ac_t in install-sh install.sh shtool; do
1759 if test -f "$ac_dir/$ac_t"; then
1760 ac_aux_dir=$ac_dir
1761 ac_install_sh="$ac_aux_dir/$ac_t -c"
1762 break 2
1764 done
1765 done
1766 if test -z "$ac_aux_dir"; then
1767 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1770 # These three variables are undocumented and unsupported,
1771 # and are intended to be withdrawn in a future Autoconf release.
1772 # They can cause serious problems if a builder's source tree is in a directory
1773 # whose full name contains unusual characters.
1774 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1775 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1776 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1779 # Find a good install program. We prefer a C program (faster),
1780 # so one script is as good as another. But avoid the broken or
1781 # incompatible versions:
1782 # SysV /etc/install, /usr/sbin/install
1783 # SunOS /usr/etc/install
1784 # IRIX /sbin/install
1785 # AIX /bin/install
1786 # AmigaOS /C/install, which installs bootblocks on floppy discs
1787 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1788 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1789 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1790 # OS/2's system install, which has a completely different semantic
1791 # ./install, which can be erroneously created by make from ./install.sh.
1792 # Reject install programs that cannot install multiple files.
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1794 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1795 if test -z "$INSTALL"; then
1796 if test "${ac_cv_path_install+set}" = set; then :
1797 $as_echo_n "(cached) " >&6
1798 else
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800 for as_dir in $PATH
1802 IFS=$as_save_IFS
1803 test -z "$as_dir" && as_dir=.
1804 # Account for people who put trailing slashes in PATH elements.
1805 case $as_dir/ in #((
1806 ./ | .// | /[cC]/* | \
1807 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1808 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1809 /usr/ucb/* ) ;;
1811 # OSF1 and SCO ODT 3.0 have their own names for install.
1812 # Don't use installbsd from OSF since it installs stuff as root
1813 # by default.
1814 for ac_prog in ginstall scoinst install; do
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1817 if test $ac_prog = install &&
1818 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1819 # AIX install. It has an incompatible calling convention.
1821 elif test $ac_prog = install &&
1822 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1823 # program-specific install script used by HP pwplus--don't use.
1825 else
1826 rm -rf conftest.one conftest.two conftest.dir
1827 echo one > conftest.one
1828 echo two > conftest.two
1829 mkdir conftest.dir
1830 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1831 test -s conftest.one && test -s conftest.two &&
1832 test -s conftest.dir/conftest.one &&
1833 test -s conftest.dir/conftest.two
1834 then
1835 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1836 break 3
1840 done
1841 done
1843 esac
1845 done
1846 IFS=$as_save_IFS
1848 rm -rf conftest.one conftest.two conftest.dir
1851 if test "${ac_cv_path_install+set}" = set; then
1852 INSTALL=$ac_cv_path_install
1853 else
1854 # As a last resort, use the slow shell script. Don't cache a
1855 # value for INSTALL within a source directory, because that will
1856 # break other packages using the cache if that directory is
1857 # removed, or if the value is a relative name.
1858 INSTALL=$ac_install_sh
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1862 $as_echo "$INSTALL" >&6; }
1864 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1865 # It thinks the first close brace ends the variable substitution.
1866 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1868 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1870 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1873 # Make sure we can run config.sub.
1874 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1875 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1878 $as_echo_n "checking build system type... " >&6; }
1879 if test "${ac_cv_build+set}" = set; then :
1880 $as_echo_n "(cached) " >&6
1881 else
1882 ac_build_alias=$build_alias
1883 test "x$ac_build_alias" = x &&
1884 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1885 test "x$ac_build_alias" = x &&
1886 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1887 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1888 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1892 $as_echo "$ac_cv_build" >&6; }
1893 case $ac_cv_build in
1894 *-*-*) ;;
1895 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1896 esac
1897 build=$ac_cv_build
1898 ac_save_IFS=$IFS; IFS='-'
1899 set x $ac_cv_build
1900 shift
1901 build_cpu=$1
1902 build_vendor=$2
1903 shift; shift
1904 # Remember, the first character of IFS is used to create $*,
1905 # except with old shells:
1906 build_os=$*
1907 IFS=$ac_save_IFS
1908 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1912 $as_echo_n "checking host system type... " >&6; }
1913 if test "${ac_cv_host+set}" = set; then :
1914 $as_echo_n "(cached) " >&6
1915 else
1916 if test "x$host_alias" = x; then
1917 ac_cv_host=$ac_cv_build
1918 else
1919 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1920 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1925 $as_echo "$ac_cv_host" >&6; }
1926 case $ac_cv_host in
1927 *-*-*) ;;
1928 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1929 esac
1930 host=$ac_cv_host
1931 ac_save_IFS=$IFS; IFS='-'
1932 set x $ac_cv_host
1933 shift
1934 host_cpu=$1
1935 host_vendor=$2
1936 shift; shift
1937 # Remember, the first character of IFS is used to create $*,
1938 # except with old shells:
1939 host_os=$*
1940 IFS=$ac_save_IFS
1941 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1945 $as_echo_n "checking target system type... " >&6; }
1946 if test "${ac_cv_target+set}" = set; then :
1947 $as_echo_n "(cached) " >&6
1948 else
1949 if test "x$target_alias" = x; then
1950 ac_cv_target=$ac_cv_host
1951 else
1952 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1953 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1958 $as_echo "$ac_cv_target" >&6; }
1959 case $ac_cv_target in
1960 *-*-*) ;;
1961 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1962 esac
1963 target=$ac_cv_target
1964 ac_save_IFS=$IFS; IFS='-'
1965 set x $ac_cv_target
1966 shift
1967 target_cpu=$1
1968 target_vendor=$2
1969 shift; shift
1970 # Remember, the first character of IFS is used to create $*,
1971 # except with old shells:
1972 target_os=$*
1973 IFS=$ac_save_IFS
1974 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1977 # The aliases save the names the user supplied, while $host etc.
1978 # will get canonicalized.
1979 test -n "$target_alias" &&
1980 test "$program_prefix$program_suffix$program_transform_name" = \
1981 NONENONEs,x,x, &&
1982 program_prefix=${target_alias}-
1984 case ${build_alias} in
1985 "") build_noncanonical=${build} ;;
1986 *) build_noncanonical=${build_alias} ;;
1987 esac
1989 case ${host_alias} in
1990 "") host_noncanonical=${build_noncanonical} ;;
1991 *) host_noncanonical=${host_alias} ;;
1992 esac
1996 case ${target_alias} in
1997 "") target_noncanonical=${host_noncanonical} ;;
1998 *) target_noncanonical=${target_alias} ;;
1999 esac
2004 # Need to pass this down for now :-P
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2006 $as_echo_n "checking whether ln -s works... " >&6; }
2007 LN_S=$as_ln_s
2008 if test "$LN_S" = "ln -s"; then
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2010 $as_echo "yes" >&6; }
2011 else
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2013 $as_echo "no, using $LN_S" >&6; }
2017 # Determine what to build for 'gnattools'
2018 if test $build = $target ; then
2019 # Note that build=target is almost certainly the wrong test; FIXME
2020 default_gnattools_target="gnattools-native"
2021 else
2022 default_gnattools_target="gnattools-cross"
2026 # Target-specific stuff (defaults)
2027 TOOLS_TARGET_PAIRS=
2029 EXTRA_GNATTOOLS=
2032 # Per-target case statement
2033 # -------------------------
2034 case "${target}" in
2035 *-*-aix*)
2036 TOOLS_TARGET_PAIRS="\
2037 mlib-tgt-specific.adb<mlib-tgt-specific-aix.adb \
2038 indepsw.adb<indepsw-aix.adb"
2040 *-*-darwin*)
2041 TOOLS_TARGET_PAIRS="\
2042 mlib-tgt-specific.adb<mlib-tgt-specific-darwin.adb \
2043 indepsw.adb<indepsw-darwin.adb"
2045 *-*-dragonfly*)
2046 TOOLS_TARGET_PAIRS="\
2047 mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
2048 indepsw.adb<indepsw-gnu.adb"
2050 *-*-freebsd*)
2051 TOOLS_TARGET_PAIRS="\
2052 mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
2053 indepsw.adb<indepsw-gnu.adb"
2055 *-*-linux*)
2056 TOOLS_TARGET_PAIRS="\
2057 mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
2058 indepsw.adb<indepsw-gnu.adb"
2060 *-*-solaris*)
2061 TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb"
2063 *-*-vxworks*)
2064 TOOLS_TARGET_PAIRS="\
2065 mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \
2066 indepsw.adb<indepsw-gnu.adb"
2068 hppa*-hp-hpux10*)
2070 hppa*-hp-hpux11*)
2071 TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-hpux.adb"
2073 ia64-hp-hpux11*)
2074 TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-ia64-hpux.adb"
2076 alpha*-*-vms* | alpha*-*-openvms*)
2077 TOOLS_TARGET_PAIRS="\
2078 mlib-tgt-specific.adb<mlib-tgt-specific-vms-alpha.adb \
2079 symbols.adb<symbols-vms.adb \
2080 symbols-processing.adb<symbols-processing-vms-alpha.adb"
2081 EXTRA_GNATTOOLS='../../gnatlbr$(exeext) ../../gnatsym$(exeext)'
2083 ia64-*-vms* | ia64-*-openvms*)
2084 TOOLS_TARGET_PAIRS="\
2085 mlib-tgt-specific.adb<mlib-tgt-specific-vms-ia64.adb \
2086 symbols.adb<symbols-vms.adb \
2087 symbols-processing.adb<symbols-processing-vms-ia64.adb"
2088 EXTRA_GNATTOOLS='../../gnatlbr$(exeext) ../../gnatsym$(exeext)'
2090 *-*-cygwin32* | *-*-mingw32* | *-*-pe)
2091 TOOLS_TARGET_PAIRS="\
2092 mlib-tgt-specific.adb<mlib-tgt-specific-mingw.adb \
2093 indepsw.adb<indepsw-mingw.adb"
2094 EXTRA_GNATTOOLS='../../gnatdll$(exeext)'
2096 esac
2098 # From user or toplevel makefile.
2101 ac_ext=c
2102 ac_cpp='$CPP $CPPFLAGS'
2103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106 if test -n "$ac_tool_prefix"; then
2107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2108 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2110 $as_echo_n "checking for $ac_word... " >&6; }
2111 if test "${ac_cv_prog_CC+set}" = set; then :
2112 $as_echo_n "(cached) " >&6
2113 else
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test.
2116 else
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 break 2
2128 done
2129 done
2130 IFS=$as_save_IFS
2134 CC=$ac_cv_prog_CC
2135 if test -n "$CC"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2137 $as_echo "$CC" >&6; }
2138 else
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2140 $as_echo "no" >&6; }
2145 if test -z "$ac_cv_prog_CC"; then
2146 ac_ct_CC=$CC
2147 # Extract the first word of "gcc", so it can be a program name with args.
2148 set dummy gcc; ac_word=$2
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2150 $as_echo_n "checking for $ac_word... " >&6; }
2151 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2152 $as_echo_n "(cached) " >&6
2153 else
2154 if test -n "$ac_ct_CC"; then
2155 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2156 else
2157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 for as_dir in $PATH
2160 IFS=$as_save_IFS
2161 test -z "$as_dir" && as_dir=.
2162 for ac_exec_ext in '' $ac_executable_extensions; do
2163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2164 ac_cv_prog_ac_ct_CC="gcc"
2165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 break 2
2168 done
2169 done
2170 IFS=$as_save_IFS
2174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2175 if test -n "$ac_ct_CC"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2177 $as_echo "$ac_ct_CC" >&6; }
2178 else
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2180 $as_echo "no" >&6; }
2183 if test "x$ac_ct_CC" = x; then
2184 CC=""
2185 else
2186 case $cross_compiling:$ac_tool_warned in
2187 yes:)
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2190 ac_tool_warned=yes ;;
2191 esac
2192 CC=$ac_ct_CC
2194 else
2195 CC="$ac_cv_prog_CC"
2198 if test -z "$CC"; then
2199 if test -n "$ac_tool_prefix"; then
2200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2201 set dummy ${ac_tool_prefix}cc; ac_word=$2
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2203 $as_echo_n "checking for $ac_word... " >&6; }
2204 if test "${ac_cv_prog_CC+set}" = set; then :
2205 $as_echo_n "(cached) " >&6
2206 else
2207 if test -n "$CC"; then
2208 ac_cv_prog_CC="$CC" # Let the user override the test.
2209 else
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 for as_dir in $PATH
2213 IFS=$as_save_IFS
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217 ac_cv_prog_CC="${ac_tool_prefix}cc"
2218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2221 done
2222 done
2223 IFS=$as_save_IFS
2227 CC=$ac_cv_prog_CC
2228 if test -n "$CC"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2230 $as_echo "$CC" >&6; }
2231 else
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2233 $as_echo "no" >&6; }
2239 if test -z "$CC"; then
2240 # Extract the first word of "cc", so it can be a program name with args.
2241 set dummy cc; ac_word=$2
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2243 $as_echo_n "checking for $ac_word... " >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 ac_prog_rejected=no
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for as_dir in $PATH
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2259 ac_prog_rejected=yes
2260 continue
2262 ac_cv_prog_CC="cc"
2263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2264 break 2
2266 done
2267 done
2268 IFS=$as_save_IFS
2270 if test $ac_prog_rejected = yes; then
2271 # We found a bogon in the path, so make sure we never use it.
2272 set dummy $ac_cv_prog_CC
2273 shift
2274 if test $# != 0; then
2275 # We chose a different compiler from the bogus one.
2276 # However, it has the same basename, so the bogon will be chosen
2277 # first if we set CC to just the basename; use the full file name.
2278 shift
2279 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2284 CC=$ac_cv_prog_CC
2285 if test -n "$CC"; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2287 $as_echo "$CC" >&6; }
2288 else
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2290 $as_echo "no" >&6; }
2295 if test -z "$CC"; then
2296 if test -n "$ac_tool_prefix"; then
2297 for ac_prog in cl.exe
2299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2302 $as_echo_n "checking for $ac_word... " >&6; }
2303 if test "${ac_cv_prog_CC+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2305 else
2306 if test -n "$CC"; then
2307 ac_cv_prog_CC="$CC" # Let the user override the test.
2308 else
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 for as_dir in $PATH
2312 IFS=$as_save_IFS
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 break 2
2320 done
2321 done
2322 IFS=$as_save_IFS
2326 CC=$ac_cv_prog_CC
2327 if test -n "$CC"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2329 $as_echo "$CC" >&6; }
2330 else
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332 $as_echo "no" >&6; }
2336 test -n "$CC" && break
2337 done
2339 if test -z "$CC"; then
2340 ac_ct_CC=$CC
2341 for ac_prog in cl.exe
2343 # Extract the first word of "$ac_prog", so it can be a program name with args.
2344 set dummy $ac_prog; ac_word=$2
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2346 $as_echo_n "checking for $ac_word... " >&6; }
2347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2348 $as_echo_n "(cached) " >&6
2349 else
2350 if test -n "$ac_ct_CC"; then
2351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2352 else
2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 for as_dir in $PATH
2356 IFS=$as_save_IFS
2357 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_prog_ac_ct_CC="$ac_prog"
2361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 break 2
2364 done
2365 done
2366 IFS=$as_save_IFS
2370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2371 if test -n "$ac_ct_CC"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2373 $as_echo "$ac_ct_CC" >&6; }
2374 else
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2376 $as_echo "no" >&6; }
2380 test -n "$ac_ct_CC" && break
2381 done
2383 if test "x$ac_ct_CC" = x; then
2384 CC=""
2385 else
2386 case $cross_compiling:$ac_tool_warned in
2387 yes:)
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2390 ac_tool_warned=yes ;;
2391 esac
2392 CC=$ac_ct_CC
2399 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 as_fn_error "no acceptable C compiler found in \$PATH
2402 See \`config.log' for more details." "$LINENO" 5; }
2404 # Provide some information about the compiler.
2405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2406 set X $ac_compile
2407 ac_compiler=$2
2408 for ac_option in --version -v -V -qversion; do
2409 { { ac_try="$ac_compiler $ac_option >&5"
2410 case "(($ac_try" in
2411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2412 *) ac_try_echo=$ac_try;;
2413 esac
2414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2415 $as_echo "$ac_try_echo"; } >&5
2416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2417 ac_status=$?
2418 if test -s conftest.err; then
2419 sed '10a\
2420 ... rest of stderr output deleted ...
2421 10q' conftest.err >conftest.er1
2422 cat conftest.er1 >&5
2423 rm -f conftest.er1 conftest.err
2425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2426 test $ac_status = 0; }
2427 done
2429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h. */
2433 main ()
2437 return 0;
2439 _ACEOF
2440 ac_clean_files_save=$ac_clean_files
2441 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2442 # Try to create an executable without -o first, disregard a.out.
2443 # It will help us diagnose broken compilers, and finding out an intuition
2444 # of exeext.
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2446 $as_echo_n "checking for C compiler default output file name... " >&6; }
2447 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2449 # The possible output files:
2450 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2452 ac_rmfiles=
2453 for ac_file in $ac_files
2455 case $ac_file in
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2457 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2458 esac
2459 done
2460 rm -f $ac_rmfiles
2462 if { { ac_try="$ac_link_default"
2463 case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2466 esac
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_link_default") 2>&5
2470 ac_status=$?
2471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2472 test $ac_status = 0; }; then :
2473 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2474 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2475 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2476 # so that the user can short-circuit this test for compilers unknown to
2477 # Autoconf.
2478 for ac_file in $ac_files ''
2480 test -f "$ac_file" || continue
2481 case $ac_file in
2482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2484 [ab].out )
2485 # We found the default executable, but exeext='' is most
2486 # certainly right.
2487 break;;
2488 *.* )
2489 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2490 then :; else
2491 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2493 # We set ac_cv_exeext here because the later test for it is not
2494 # safe: cross compilers may not add the suffix if given an `-o'
2495 # argument, so we may need to know it at that point already.
2496 # Even if this section looks crufty: it has the advantage of
2497 # actually working.
2498 break;;
2500 break;;
2501 esac
2502 done
2503 test "$ac_cv_exeext" = no && ac_cv_exeext=
2505 else
2506 ac_file=''
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2509 $as_echo "$ac_file" >&6; }
2510 if test -z "$ac_file"; then :
2511 $as_echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.$ac_ext >&5
2514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516 { as_fn_set_status 77
2517 as_fn_error "C compiler cannot create executables
2518 See \`config.log' for more details." "$LINENO" 5; }; }
2520 ac_exeext=$ac_cv_exeext
2522 # Check that the compiler produces executables we can run. If not, either
2523 # the compiler is broken, or we cross compile.
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2525 $as_echo_n "checking whether the C compiler works... " >&6; }
2526 # If not cross compiling, check that we can run a simple program.
2527 if test "$cross_compiling" != yes; then
2528 if { ac_try='./$ac_file'
2529 { { case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2532 esac
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_try") 2>&5
2536 ac_status=$?
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; }; }; then
2539 cross_compiling=no
2540 else
2541 if test "$cross_compiling" = maybe; then
2542 cross_compiling=yes
2543 else
2544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546 as_fn_error "cannot run C compiled programs.
2547 If you meant to cross compile, use \`--host'.
2548 See \`config.log' for more details." "$LINENO" 5; }
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2553 $as_echo "yes" >&6; }
2555 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2556 ac_clean_files=$ac_clean_files_save
2557 # Check that the compiler produces executables we can run. If not, either
2558 # the compiler is broken, or we cross compile.
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2560 $as_echo_n "checking whether we are cross compiling... " >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2562 $as_echo "$cross_compiling" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2565 $as_echo_n "checking for suffix of executables... " >&6; }
2566 if { { ac_try="$ac_link"
2567 case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_link") 2>&5
2574 ac_status=$?
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; }; then :
2577 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2578 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2579 # work properly (i.e., refer to `conftest.exe'), while it won't with
2580 # `rm'.
2581 for ac_file in conftest.exe conftest conftest.*; do
2582 test -f "$ac_file" || continue
2583 case $ac_file in
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2585 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2586 break;;
2587 * ) break;;
2588 esac
2589 done
2590 else
2591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2593 as_fn_error "cannot compute suffix of executables: cannot compile and link
2594 See \`config.log' for more details." "$LINENO" 5; }
2596 rm -f conftest$ac_cv_exeext
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2598 $as_echo "$ac_cv_exeext" >&6; }
2600 rm -f conftest.$ac_ext
2601 EXEEXT=$ac_cv_exeext
2602 ac_exeext=$EXEEXT
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2604 $as_echo_n "checking for suffix of object files... " >&6; }
2605 if test "${ac_cv_objext+set}" = set; then :
2606 $as_echo_n "(cached) " >&6
2607 else
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2612 main ()
2616 return 0;
2618 _ACEOF
2619 rm -f conftest.o conftest.obj
2620 if { { ac_try="$ac_compile"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_compile") 2>&5
2628 ac_status=$?
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; }; then :
2631 for ac_file in conftest.o conftest.obj conftest.*; do
2632 test -f "$ac_file" || continue;
2633 case $ac_file in
2634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2636 break;;
2637 esac
2638 done
2639 else
2640 $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2645 as_fn_error "cannot compute suffix of object files: cannot compile
2646 See \`config.log' for more details." "$LINENO" 5; }
2648 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2651 $as_echo "$ac_cv_objext" >&6; }
2652 OBJEXT=$ac_cv_objext
2653 ac_objext=$OBJEXT
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2655 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2656 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2657 $as_echo_n "(cached) " >&6
2658 else
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2663 main ()
2665 #ifndef __GNUC__
2666 choke me
2667 #endif
2670 return 0;
2672 _ACEOF
2673 if ac_fn_c_try_compile "$LINENO"; then :
2674 ac_compiler_gnu=yes
2675 else
2676 ac_compiler_gnu=no
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2683 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2684 if test $ac_compiler_gnu = yes; then
2685 GCC=yes
2686 else
2687 GCC=
2689 ac_test_CFLAGS=${CFLAGS+set}
2690 ac_save_CFLAGS=$CFLAGS
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2692 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2693 if test "${ac_cv_prog_cc_g+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2695 else
2696 ac_save_c_werror_flag=$ac_c_werror_flag
2697 ac_c_werror_flag=yes
2698 ac_cv_prog_cc_g=no
2699 CFLAGS="-g"
2700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h. */
2704 main ()
2708 return 0;
2710 _ACEOF
2711 if ac_fn_c_try_compile "$LINENO"; then :
2712 ac_cv_prog_cc_g=yes
2713 else
2714 CFLAGS=""
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2719 main ()
2723 return 0;
2725 _ACEOF
2726 if ac_fn_c_try_compile "$LINENO"; then :
2728 else
2729 ac_c_werror_flag=$ac_save_c_werror_flag
2730 CFLAGS="-g"
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2735 main ()
2739 return 0;
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 ac_cv_prog_cc_g=yes
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2750 ac_c_werror_flag=$ac_save_c_werror_flag
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2753 $as_echo "$ac_cv_prog_cc_g" >&6; }
2754 if test "$ac_test_CFLAGS" = set; then
2755 CFLAGS=$ac_save_CFLAGS
2756 elif test $ac_cv_prog_cc_g = yes; then
2757 if test "$GCC" = yes; then
2758 CFLAGS="-g -O2"
2759 else
2760 CFLAGS="-g"
2762 else
2763 if test "$GCC" = yes; then
2764 CFLAGS="-O2"
2765 else
2766 CFLAGS=
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2771 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2772 $as_echo_n "(cached) " >&6
2773 else
2774 ac_cv_prog_cc_c89=no
2775 ac_save_CC=$CC
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2778 #include <stdarg.h>
2779 #include <stdio.h>
2780 #include <sys/types.h>
2781 #include <sys/stat.h>
2782 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2783 struct buf { int x; };
2784 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2785 static char *e (p, i)
2786 char **p;
2787 int i;
2789 return p[i];
2791 static char *f (char * (*g) (char **, int), char **p, ...)
2793 char *s;
2794 va_list v;
2795 va_start (v,p);
2796 s = g (p, va_arg (v,int));
2797 va_end (v);
2798 return s;
2801 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2802 function prototypes and stuff, but not '\xHH' hex character constants.
2803 These don't provoke an error unfortunately, instead are silently treated
2804 as 'x'. The following induces an error, until -std is added to get
2805 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2806 array size at least. It's necessary to write '\x00'==0 to get something
2807 that's true only with -std. */
2808 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2810 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2811 inside strings and character constants. */
2812 #define FOO(x) 'x'
2813 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2815 int test (int i, double x);
2816 struct s1 {int (*f) (int a);};
2817 struct s2 {int (*f) (double a);};
2818 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2819 int argc;
2820 char **argv;
2822 main ()
2824 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2826 return 0;
2828 _ACEOF
2829 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2830 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2832 CC="$ac_save_CC $ac_arg"
2833 if ac_fn_c_try_compile "$LINENO"; then :
2834 ac_cv_prog_cc_c89=$ac_arg
2836 rm -f core conftest.err conftest.$ac_objext
2837 test "x$ac_cv_prog_cc_c89" != "xno" && break
2838 done
2839 rm -f conftest.$ac_ext
2840 CC=$ac_save_CC
2843 # AC_CACHE_VAL
2844 case "x$ac_cv_prog_cc_c89" in
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2847 $as_echo "none needed" >&6; } ;;
2848 xno)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2850 $as_echo "unsupported" >&6; } ;;
2852 CC="$CC $ac_cv_prog_cc_c89"
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2854 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2855 esac
2856 if test "x$ac_cv_prog_cc_c89" != xno; then :
2860 ac_ext=c
2861 ac_cpp='$CPP $CPPFLAGS'
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2866 warn_cflags=
2867 if test "x$GCC" = "xyes"; then
2868 warn_cflags='$(GCC_WARN_CFLAGS)'
2872 # Output: create a Makefile.
2873 ac_config_files="$ac_config_files Makefile"
2876 cat >confcache <<\_ACEOF
2877 # This file is a shell script that caches the results of configure
2878 # tests run on this system so they can be shared between configure
2879 # scripts and configure runs, see configure's option --config-cache.
2880 # It is not useful on other systems. If it contains results you don't
2881 # want to keep, you may remove or edit it.
2883 # config.status only pays attention to the cache file if you give it
2884 # the --recheck option to rerun configure.
2886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2888 # following values.
2890 _ACEOF
2892 # The following way of writing the cache mishandles newlines in values,
2893 # but we know of no workaround that is simple, portable, and efficient.
2894 # So, we kill variables containing newlines.
2895 # Ultrix sh set writes to stderr and can't be redirected directly,
2896 # and sets the high bit in the cache file unless we assign to the vars.
2898 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2899 eval ac_val=\$$ac_var
2900 case $ac_val in #(
2901 *${as_nl}*)
2902 case $ac_var in #(
2903 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2904 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2905 esac
2906 case $ac_var in #(
2907 _ | IFS | as_nl) ;; #(
2908 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2909 *) { eval $ac_var=; unset $ac_var;} ;;
2910 esac ;;
2911 esac
2912 done
2914 (set) 2>&1 |
2915 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2916 *${as_nl}ac_space=\ *)
2917 # `set' does not quote correctly, so add quotes: double-quote
2918 # substitution turns \\\\ into \\, and sed turns \\ into \.
2919 sed -n \
2920 "s/'/'\\\\''/g;
2921 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2922 ;; #(
2924 # `set' quotes correctly as required by POSIX, so do not add quotes.
2925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2927 esac |
2928 sort
2930 sed '
2931 /^ac_cv_env_/b end
2932 t clear
2933 :clear
2934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2935 t end
2936 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2937 :end' >>confcache
2938 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2939 if test -w "$cache_file"; then
2940 test "x$cache_file" != "x/dev/null" &&
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2942 $as_echo "$as_me: updating cache $cache_file" >&6;}
2943 cat confcache >$cache_file
2944 else
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2946 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2949 rm -f confcache
2951 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2952 # Let make expand exec_prefix.
2953 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2955 # Transform confdefs.h into DEFS.
2956 # Protect against shell expansion while executing Makefile rules.
2957 # Protect against Makefile macro expansion.
2959 # If the first sed substitution is executed (which looks for macros that
2960 # take arguments), then branch to the quote section. Otherwise,
2961 # look for a macro that doesn't take arguments.
2962 ac_script='
2963 :mline
2964 /\\$/{
2966 s,\\\n,,
2967 b mline
2969 t clear
2970 :clear
2971 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2972 t quote
2973 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2974 t quote
2975 b any
2976 :quote
2977 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2978 s/\[/\\&/g
2979 s/\]/\\&/g
2980 s/\$/$$/g
2982 :any
2985 s/^\n//
2986 s/\n/ /g
2990 DEFS=`sed -n "$ac_script" confdefs.h`
2993 ac_libobjs=
2994 ac_ltlibobjs=
2995 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2996 # 1. Remove the extension, and $U if already installed.
2997 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2998 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3000 # will be set to the directory where LIBOBJS objects are built.
3001 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3002 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3003 done
3004 LIBOBJS=$ac_libobjs
3006 LTLIBOBJS=$ac_ltlibobjs
3010 : ${CONFIG_STATUS=./config.status}
3011 ac_write_fail=0
3012 ac_clean_files_save=$ac_clean_files
3013 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3015 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3016 as_write_fail=0
3017 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3018 #! $SHELL
3019 # Generated by $as_me.
3020 # Run this file to recreate the current configuration.
3021 # Compiler output produced by configure, useful for debugging
3022 # configure, is in config.log if it exists.
3024 debug=false
3025 ac_cs_recheck=false
3026 ac_cs_silent=false
3028 SHELL=\${CONFIG_SHELL-$SHELL}
3029 export SHELL
3030 _ASEOF
3031 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3032 ## -------------------- ##
3033 ## M4sh Initialization. ##
3034 ## -------------------- ##
3036 # Be more Bourne compatible
3037 DUALCASE=1; export DUALCASE # for MKS sh
3038 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3039 emulate sh
3040 NULLCMD=:
3041 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3042 # is contrary to our usage. Disable this feature.
3043 alias -g '${1+"$@"}'='"$@"'
3044 setopt NO_GLOB_SUBST
3045 else
3046 case `(set -o) 2>/dev/null` in #(
3047 *posix*) :
3048 set -o posix ;; #(
3049 *) :
3051 esac
3055 as_nl='
3057 export as_nl
3058 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3059 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3060 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3062 # Prefer a ksh shell builtin over an external printf program on Solaris,
3063 # but without wasting forks for bash or zsh.
3064 if test -z "$BASH_VERSION$ZSH_VERSION" \
3065 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3066 as_echo='print -r --'
3067 as_echo_n='print -rn --'
3068 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3069 as_echo='printf %s\n'
3070 as_echo_n='printf %s'
3071 else
3072 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3073 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3074 as_echo_n='/usr/ucb/echo -n'
3075 else
3076 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3077 as_echo_n_body='eval
3078 arg=$1;
3079 case $arg in #(
3080 *"$as_nl"*)
3081 expr "X$arg" : "X\\(.*\\)$as_nl";
3082 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3083 esac;
3084 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3086 export as_echo_n_body
3087 as_echo_n='sh -c $as_echo_n_body as_echo'
3089 export as_echo_body
3090 as_echo='sh -c $as_echo_body as_echo'
3093 # The user is always right.
3094 if test "${PATH_SEPARATOR+set}" != set; then
3095 PATH_SEPARATOR=:
3096 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3097 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3098 PATH_SEPARATOR=';'
3103 # IFS
3104 # We need space, tab and new line, in precisely that order. Quoting is
3105 # there to prevent editors from complaining about space-tab.
3106 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3107 # splitting by setting IFS to empty value.)
3108 IFS=" "" $as_nl"
3110 # Find who we are. Look in the path if we contain no directory separator.
3111 case $0 in #((
3112 *[\\/]* ) as_myself=$0 ;;
3113 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 for as_dir in $PATH
3116 IFS=$as_save_IFS
3117 test -z "$as_dir" && as_dir=.
3118 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3119 done
3120 IFS=$as_save_IFS
3123 esac
3124 # We did not find ourselves, most probably we were run as `sh COMMAND'
3125 # in which case we are not to be found in the path.
3126 if test "x$as_myself" = x; then
3127 as_myself=$0
3129 if test ! -f "$as_myself"; then
3130 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3131 exit 1
3134 # Unset variables that we do not need and which cause bugs (e.g. in
3135 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3136 # suppresses any "Segmentation fault" message there. '((' could
3137 # trigger a bug in pdksh 5.2.14.
3138 for as_var in BASH_ENV ENV MAIL MAILPATH
3139 do eval test x\${$as_var+set} = xset \
3140 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3141 done
3142 PS1='$ '
3143 PS2='> '
3144 PS4='+ '
3146 # NLS nuisances.
3147 LC_ALL=C
3148 export LC_ALL
3149 LANGUAGE=C
3150 export LANGUAGE
3152 # CDPATH.
3153 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3156 # as_fn_error ERROR [LINENO LOG_FD]
3157 # ---------------------------------
3158 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3159 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3160 # script with status $?, using 1 if that was 0.
3161 as_fn_error ()
3163 as_status=$?; test $as_status -eq 0 && as_status=1
3164 if test "$3"; then
3165 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3166 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3168 $as_echo "$as_me: error: $1" >&2
3169 as_fn_exit $as_status
3170 } # as_fn_error
3173 # as_fn_set_status STATUS
3174 # -----------------------
3175 # Set $? to STATUS, without forking.
3176 as_fn_set_status ()
3178 return $1
3179 } # as_fn_set_status
3181 # as_fn_exit STATUS
3182 # -----------------
3183 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3184 as_fn_exit ()
3186 set +e
3187 as_fn_set_status $1
3188 exit $1
3189 } # as_fn_exit
3191 # as_fn_unset VAR
3192 # ---------------
3193 # Portably unset VAR.
3194 as_fn_unset ()
3196 { eval $1=; unset $1;}
3198 as_unset=as_fn_unset
3199 # as_fn_append VAR VALUE
3200 # ----------------------
3201 # Append the text in VALUE to the end of the definition contained in VAR. Take
3202 # advantage of any shell optimizations that allow amortized linear growth over
3203 # repeated appends, instead of the typical quadratic growth present in naive
3204 # implementations.
3205 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3206 eval 'as_fn_append ()
3208 eval $1+=\$2
3210 else
3211 as_fn_append ()
3213 eval $1=\$$1\$2
3215 fi # as_fn_append
3217 # as_fn_arith ARG...
3218 # ------------------
3219 # Perform arithmetic evaluation on the ARGs, and store the result in the
3220 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3221 # must be portable across $(()) and expr.
3222 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3223 eval 'as_fn_arith ()
3225 as_val=$(( $* ))
3227 else
3228 as_fn_arith ()
3230 as_val=`expr "$@" || test $? -eq 1`
3232 fi # as_fn_arith
3235 if expr a : '\(a\)' >/dev/null 2>&1 &&
3236 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3237 as_expr=expr
3238 else
3239 as_expr=false
3242 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3243 as_basename=basename
3244 else
3245 as_basename=false
3248 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3249 as_dirname=dirname
3250 else
3251 as_dirname=false
3254 as_me=`$as_basename -- "$0" ||
3255 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3256 X"$0" : 'X\(//\)$' \| \
3257 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3258 $as_echo X/"$0" |
3259 sed '/^.*\/\([^/][^/]*\)\/*$/{
3260 s//\1/
3263 /^X\/\(\/\/\)$/{
3264 s//\1/
3267 /^X\/\(\/\).*/{
3268 s//\1/
3271 s/.*/./; q'`
3273 # Avoid depending upon Character Ranges.
3274 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3275 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3276 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3277 as_cr_digits='0123456789'
3278 as_cr_alnum=$as_cr_Letters$as_cr_digits
3280 ECHO_C= ECHO_N= ECHO_T=
3281 case `echo -n x` in #(((((
3282 -n*)
3283 case `echo 'xy\c'` in
3284 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3285 xy) ECHO_C='\c';;
3286 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3287 ECHO_T=' ';;
3288 esac;;
3290 ECHO_N='-n';;
3291 esac
3293 rm -f conf$$ conf$$.exe conf$$.file
3294 if test -d conf$$.dir; then
3295 rm -f conf$$.dir/conf$$.file
3296 else
3297 rm -f conf$$.dir
3298 mkdir conf$$.dir 2>/dev/null
3300 if (echo >conf$$.file) 2>/dev/null; then
3301 if ln -s conf$$.file conf$$ 2>/dev/null; then
3302 as_ln_s='ln -s'
3303 # ... but there are two gotchas:
3304 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3305 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3306 # In both cases, we have to default to `cp -p'.
3307 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3308 as_ln_s='cp -p'
3309 elif ln conf$$.file conf$$ 2>/dev/null; then
3310 as_ln_s=ln
3311 else
3312 as_ln_s='cp -p'
3314 else
3315 as_ln_s='cp -p'
3317 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3318 rmdir conf$$.dir 2>/dev/null
3321 # as_fn_mkdir_p
3322 # -------------
3323 # Create "$as_dir" as a directory, including parents if necessary.
3324 as_fn_mkdir_p ()
3327 case $as_dir in #(
3328 -*) as_dir=./$as_dir;;
3329 esac
3330 test -d "$as_dir" || eval $as_mkdir_p || {
3331 as_dirs=
3332 while :; do
3333 case $as_dir in #(
3334 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3335 *) as_qdir=$as_dir;;
3336 esac
3337 as_dirs="'$as_qdir' $as_dirs"
3338 as_dir=`$as_dirname -- "$as_dir" ||
3339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3340 X"$as_dir" : 'X\(//\)[^/]' \| \
3341 X"$as_dir" : 'X\(//\)$' \| \
3342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3343 $as_echo X"$as_dir" |
3344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3345 s//\1/
3348 /^X\(\/\/\)[^/].*/{
3349 s//\1/
3352 /^X\(\/\/\)$/{
3353 s//\1/
3356 /^X\(\/\).*/{
3357 s//\1/
3360 s/.*/./; q'`
3361 test -d "$as_dir" && break
3362 done
3363 test -z "$as_dirs" || eval "mkdir $as_dirs"
3364 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3367 } # as_fn_mkdir_p
3368 if mkdir -p . 2>/dev/null; then
3369 as_mkdir_p='mkdir -p "$as_dir"'
3370 else
3371 test -d ./-p && rmdir ./-p
3372 as_mkdir_p=false
3375 if test -x / >/dev/null 2>&1; then
3376 as_test_x='test -x'
3377 else
3378 if ls -dL / >/dev/null 2>&1; then
3379 as_ls_L_option=L
3380 else
3381 as_ls_L_option=
3383 as_test_x='
3384 eval sh -c '\''
3385 if test -d "$1"; then
3386 test -d "$1/.";
3387 else
3388 case $1 in #(
3389 -*)set "./$1";;
3390 esac;
3391 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3392 ???[sx]*):;;*)false;;esac;fi
3393 '\'' sh
3396 as_executable_p=$as_test_x
3398 # Sed expression to map a string onto a valid CPP name.
3399 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3401 # Sed expression to map a string onto a valid variable name.
3402 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3405 exec 6>&1
3406 ## ----------------------------------- ##
3407 ## Main body of $CONFIG_STATUS script. ##
3408 ## ----------------------------------- ##
3409 _ASEOF
3410 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3413 # Save the log message, to keep $0 and so on meaningful, and to
3414 # report actual input values of CONFIG_FILES etc. instead of their
3415 # values after options handling.
3416 ac_log="
3417 This file was extended by $as_me, which was
3418 generated by GNU Autoconf 2.64. Invocation command line was
3420 CONFIG_FILES = $CONFIG_FILES
3421 CONFIG_HEADERS = $CONFIG_HEADERS
3422 CONFIG_LINKS = $CONFIG_LINKS
3423 CONFIG_COMMANDS = $CONFIG_COMMANDS
3424 $ $0 $@
3426 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3429 _ACEOF
3431 case $ac_config_files in *"
3432 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3433 esac
3437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3438 # Files that config.status was made for.
3439 config_files="$ac_config_files"
3441 _ACEOF
3443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3444 ac_cs_usage="\
3445 \`$as_me' instantiates files and other configuration actions
3446 from templates according to the current configuration. Unless the files
3447 and actions are specified as TAGs, all are instantiated by default.
3449 Usage: $0 [OPTION]... [TAG]...
3451 -h, --help print this help, then exit
3452 -V, --version print version number and configuration settings, then exit
3453 -q, --quiet, --silent
3454 do not print progress messages
3455 -d, --debug don't remove temporary files
3456 --recheck update $as_me by reconfiguring in the same conditions
3457 --file=FILE[:TEMPLATE]
3458 instantiate the configuration file FILE
3460 Configuration files:
3461 $config_files
3463 Report bugs to the package provider."
3465 _ACEOF
3466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3467 ac_cs_version="\\
3468 config.status
3469 configured by $0, generated by GNU Autoconf 2.64,
3470 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3472 Copyright (C) 2009 Free Software Foundation, Inc.
3473 This config.status script is free software; the Free Software Foundation
3474 gives unlimited permission to copy, distribute and modify it."
3476 ac_pwd='$ac_pwd'
3477 srcdir='$srcdir'
3478 INSTALL='$INSTALL'
3479 test -n "\$AWK" || AWK=awk
3480 _ACEOF
3482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3483 # The default lists apply if the user does not specify any file.
3484 ac_need_defaults=:
3485 while test $# != 0
3487 case $1 in
3488 --*=*)
3489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3490 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3491 ac_shift=:
3494 ac_option=$1
3495 ac_optarg=$2
3496 ac_shift=shift
3498 esac
3500 case $ac_option in
3501 # Handling of the options.
3502 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3503 ac_cs_recheck=: ;;
3504 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3505 $as_echo "$ac_cs_version"; exit ;;
3506 --debug | --debu | --deb | --de | --d | -d )
3507 debug=: ;;
3508 --file | --fil | --fi | --f )
3509 $ac_shift
3510 case $ac_optarg in
3511 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3512 esac
3513 as_fn_append CONFIG_FILES " '$ac_optarg'"
3514 ac_need_defaults=false;;
3515 --he | --h | --help | --hel | -h )
3516 $as_echo "$ac_cs_usage"; exit ;;
3517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3518 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3519 ac_cs_silent=: ;;
3521 # This is an error.
3522 -*) as_fn_error "unrecognized option: \`$1'
3523 Try \`$0 --help' for more information." ;;
3525 *) as_fn_append ac_config_targets " $1"
3526 ac_need_defaults=false ;;
3528 esac
3529 shift
3530 done
3532 ac_configure_extra_args=
3534 if $ac_cs_silent; then
3535 exec 6>/dev/null
3536 ac_configure_extra_args="$ac_configure_extra_args --silent"
3539 _ACEOF
3540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3541 if \$ac_cs_recheck; then
3542 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3543 shift
3544 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3545 CONFIG_SHELL='$SHELL'
3546 export CONFIG_SHELL
3547 exec "\$@"
3550 _ACEOF
3551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3552 exec 5>>config.log
3554 echo
3555 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3556 ## Running $as_me. ##
3557 _ASBOX
3558 $as_echo "$ac_log"
3559 } >&5
3561 _ACEOF
3562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3563 _ACEOF
3565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3567 # Handling of arguments.
3568 for ac_config_target in $ac_config_targets
3570 case $ac_config_target in
3571 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3573 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3574 esac
3575 done
3578 # If the user did not use the arguments to specify the items to instantiate,
3579 # then the envvar interface is used. Set only those that are not.
3580 # We use the long form for the default assignment because of an extremely
3581 # bizarre bug on SunOS 4.1.3.
3582 if $ac_need_defaults; then
3583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3586 # Have a temporary directory for convenience. Make it in the build tree
3587 # simply because there is no reason against having it here, and in addition,
3588 # creating and moving files from /tmp can sometimes cause problems.
3589 # Hook for its removal unless debugging.
3590 # Note that there is a small window in which the directory will not be cleaned:
3591 # after its creation but before its name has been assigned to `$tmp'.
3592 $debug ||
3594 tmp=
3595 trap 'exit_status=$?
3596 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3598 trap 'as_fn_exit 1' 1 2 13 15
3600 # Create a (secure) tmp directory for tmp files.
3603 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3604 test -n "$tmp" && test -d "$tmp"
3605 } ||
3607 tmp=./conf$$-$RANDOM
3608 (umask 077 && mkdir "$tmp")
3609 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3611 # Set up the scripts for CONFIG_FILES section.
3612 # No need to generate them if there are no CONFIG_FILES.
3613 # This happens for instance with `./config.status config.h'.
3614 if test -n "$CONFIG_FILES"; then
3617 ac_cr=`echo X | tr X '\015'`
3618 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3619 # But we know of no other shell where ac_cr would be empty at this
3620 # point, so we can use a bashism as a fallback.
3621 if test "x$ac_cr" = x; then
3622 eval ac_cr=\$\'\\r\'
3624 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3625 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3626 ac_cs_awk_cr='\r'
3627 else
3628 ac_cs_awk_cr=$ac_cr
3631 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3632 _ACEOF
3636 echo "cat >conf$$subs.awk <<_ACEOF" &&
3637 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3638 echo "_ACEOF"
3639 } >conf$$subs.sh ||
3640 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3641 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3642 ac_delim='%!_!# '
3643 for ac_last_try in false false false false false :; do
3644 . ./conf$$subs.sh ||
3645 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3647 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3648 if test $ac_delim_n = $ac_delim_num; then
3649 break
3650 elif $ac_last_try; then
3651 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3652 else
3653 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3655 done
3656 rm -f conf$$subs.sh
3658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3659 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3660 _ACEOF
3661 sed -n '
3663 s/^/S["/; s/!.*/"]=/
3666 s/^[^!]*!//
3667 :repl
3668 t repl
3669 s/'"$ac_delim"'$//
3670 t delim
3673 s/\(.\{148\}\).*/\1/
3674 t more1
3675 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3678 b repl
3679 :more1
3680 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3683 s/.\{148\}//
3684 t nl
3685 :delim
3687 s/\(.\{148\}\).*/\1/
3688 t more2
3689 s/["\\]/\\&/g; s/^/"/; s/$/"/
3692 :more2
3693 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3696 s/.\{148\}//
3697 t delim
3698 ' <conf$$subs.awk | sed '
3699 /^[^""]/{
3701 s/\n//
3703 ' >>$CONFIG_STATUS || ac_write_fail=1
3704 rm -f conf$$subs.awk
3705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3706 _ACAWK
3707 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3708 for (key in S) S_is_set[key] = 1
3709 FS = "\a"
3713 line = $ 0
3714 nfields = split(line, field, "@")
3715 substed = 0
3716 len = length(field[1])
3717 for (i = 2; i < nfields; i++) {
3718 key = field[i]
3719 keylen = length(key)
3720 if (S_is_set[key]) {
3721 value = S[key]
3722 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3723 len += length(value) + length(field[++i])
3724 substed = 1
3725 } else
3726 len += 1 + keylen
3729 print line
3732 _ACAWK
3733 _ACEOF
3734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3735 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3736 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3737 else
3739 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3740 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3741 _ACEOF
3743 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3744 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3745 # trailing colons and then remove the whole line if VPATH becomes empty
3746 # (actually we leave an empty line to preserve line numbers).
3747 if test "x$srcdir" = x.; then
3748 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3749 s/:*\$(srcdir):*/:/
3750 s/:*\${srcdir}:*/:/
3751 s/:*@srcdir@:*/:/
3752 s/^\([^=]*=[ ]*\):*/\1/
3753 s/:*$//
3754 s/^[^=]*=[ ]*$//
3758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3759 fi # test -n "$CONFIG_FILES"
3762 eval set X " :F $CONFIG_FILES "
3763 shift
3764 for ac_tag
3766 case $ac_tag in
3767 :[FHLC]) ac_mode=$ac_tag; continue;;
3768 esac
3769 case $ac_mode$ac_tag in
3770 :[FHL]*:*);;
3771 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3772 :[FH]-) ac_tag=-:-;;
3773 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3774 esac
3775 ac_save_IFS=$IFS
3776 IFS=:
3777 set x $ac_tag
3778 IFS=$ac_save_IFS
3779 shift
3780 ac_file=$1
3781 shift
3783 case $ac_mode in
3784 :L) ac_source=$1;;
3785 :[FH])
3786 ac_file_inputs=
3787 for ac_f
3789 case $ac_f in
3790 -) ac_f="$tmp/stdin";;
3791 *) # Look for the file first in the build tree, then in the source tree
3792 # (if the path is not absolute). The absolute path cannot be DOS-style,
3793 # because $ac_f cannot contain `:'.
3794 test -f "$ac_f" ||
3795 case $ac_f in
3796 [\\/$]*) false;;
3797 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3798 esac ||
3799 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3800 esac
3801 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3802 as_fn_append ac_file_inputs " '$ac_f'"
3803 done
3805 # Let's still pretend it is `configure' which instantiates (i.e., don't
3806 # use $as_me), people would be surprised to read:
3807 # /* config.h. Generated by config.status. */
3808 configure_input='Generated from '`
3809 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3810 `' by configure.'
3811 if test x"$ac_file" != x-; then
3812 configure_input="$ac_file. $configure_input"
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3814 $as_echo "$as_me: creating $ac_file" >&6;}
3816 # Neutralize special characters interpreted by sed in replacement strings.
3817 case $configure_input in #(
3818 *\&* | *\|* | *\\* )
3819 ac_sed_conf_input=`$as_echo "$configure_input" |
3820 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3821 *) ac_sed_conf_input=$configure_input;;
3822 esac
3824 case $ac_tag in
3825 *:-:* | *:-) cat >"$tmp/stdin" \
3826 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3827 esac
3829 esac
3831 ac_dir=`$as_dirname -- "$ac_file" ||
3832 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3833 X"$ac_file" : 'X\(//\)[^/]' \| \
3834 X"$ac_file" : 'X\(//\)$' \| \
3835 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3836 $as_echo X"$ac_file" |
3837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3838 s//\1/
3841 /^X\(\/\/\)[^/].*/{
3842 s//\1/
3845 /^X\(\/\/\)$/{
3846 s//\1/
3849 /^X\(\/\).*/{
3850 s//\1/
3853 s/.*/./; q'`
3854 as_dir="$ac_dir"; as_fn_mkdir_p
3855 ac_builddir=.
3857 case "$ac_dir" in
3858 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3860 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3861 # A ".." for each directory in $ac_dir_suffix.
3862 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3863 case $ac_top_builddir_sub in
3864 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3865 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3866 esac ;;
3867 esac
3868 ac_abs_top_builddir=$ac_pwd
3869 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3870 # for backward compatibility:
3871 ac_top_builddir=$ac_top_build_prefix
3873 case $srcdir in
3874 .) # We are building in place.
3875 ac_srcdir=.
3876 ac_top_srcdir=$ac_top_builddir_sub
3877 ac_abs_top_srcdir=$ac_pwd ;;
3878 [\\/]* | ?:[\\/]* ) # Absolute name.
3879 ac_srcdir=$srcdir$ac_dir_suffix;
3880 ac_top_srcdir=$srcdir
3881 ac_abs_top_srcdir=$srcdir ;;
3882 *) # Relative name.
3883 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3884 ac_top_srcdir=$ac_top_build_prefix$srcdir
3885 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3886 esac
3887 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3890 case $ac_mode in
3893 # CONFIG_FILE
3896 case $INSTALL in
3897 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3898 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3899 esac
3900 _ACEOF
3902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3903 # If the template does not know about datarootdir, expand it.
3904 # FIXME: This hack should be removed a few years after 2.60.
3905 ac_datarootdir_hack=; ac_datarootdir_seen=
3906 ac_sed_dataroot='
3907 /datarootdir/ {
3911 /@datadir@/p
3912 /@docdir@/p
3913 /@infodir@/p
3914 /@localedir@/p
3915 /@mandir@/p'
3916 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3917 *datarootdir*) ac_datarootdir_seen=yes;;
3918 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3920 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3921 _ACEOF
3922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3923 ac_datarootdir_hack='
3924 s&@datadir@&$datadir&g
3925 s&@docdir@&$docdir&g
3926 s&@infodir@&$infodir&g
3927 s&@localedir@&$localedir&g
3928 s&@mandir@&$mandir&g
3929 s&\\\${datarootdir}&$datarootdir&g' ;;
3930 esac
3931 _ACEOF
3933 # Neutralize VPATH when `$srcdir' = `.'.
3934 # Shell code in configure.ac might set extrasub.
3935 # FIXME: do we really want to maintain this feature?
3936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3937 ac_sed_extra="$ac_vpsub
3938 $extrasub
3939 _ACEOF
3940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3942 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3943 s|@configure_input@|$ac_sed_conf_input|;t t
3944 s&@top_builddir@&$ac_top_builddir_sub&;t t
3945 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3946 s&@srcdir@&$ac_srcdir&;t t
3947 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3948 s&@top_srcdir@&$ac_top_srcdir&;t t
3949 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3950 s&@builddir@&$ac_builddir&;t t
3951 s&@abs_builddir@&$ac_abs_builddir&;t t
3952 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3953 s&@INSTALL@&$ac_INSTALL&;t t
3954 $ac_datarootdir_hack
3956 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3957 || as_fn_error "could not create $ac_file" "$LINENO" 5
3959 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3960 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3961 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3963 which seems to be undefined. Please make sure it is defined." >&5
3964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3965 which seems to be undefined. Please make sure it is defined." >&2;}
3967 rm -f "$tmp/stdin"
3968 case $ac_file in
3969 -) cat "$tmp/out" && rm -f "$tmp/out";;
3970 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3971 esac \
3972 || as_fn_error "could not create $ac_file" "$LINENO" 5
3977 esac
3979 done # for ac_tag
3982 as_fn_exit 0
3983 _ACEOF
3984 ac_clean_files=$ac_clean_files_save
3986 test $ac_write_fail = 0 ||
3987 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3990 # configure is writing to config.log, and then calls config.status.
3991 # config.status does its own redirection, appending to config.log.
3992 # Unfortunately, on DOS this fails, as config.log is still kept open
3993 # by configure, so config.status won't be able to write to it; its
3994 # output is simply discarded. So we exec the FD to /dev/null,
3995 # effectively closing config.log, so it can be properly (re)opened and
3996 # appended to by config.status. When coming back to configure, we
3997 # need to make the FD available again.
3998 if test "$no_create" != yes; then
3999 ac_cs_success=:
4000 ac_config_status_args=
4001 test "$silent" = yes &&
4002 ac_config_status_args="$ac_config_status_args --quiet"
4003 exec 5>/dev/null
4004 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4005 exec 5>>config.log
4006 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4007 # would make configure fail if this is the last instruction.
4008 $ac_cs_success || as_fn_exit $?
4010 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4012 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}