]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/common/configure
sim: drop unused SIM_AC_OPTION_PACKAGES
[thirdparty/binutils-gdb.git] / sim / common / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
4 #
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.
8 #
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 ## -------------------- ##
14
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 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
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"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
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=';'
78 }
79 fi
80
81
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"
88
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
94 do
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
100
101 ;;
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
107 fi
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
111 fi
112
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='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
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 *) :
147 ;;
148 esac
149 fi
150 "
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; }
156
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 :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
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
176 fi
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
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
183 do
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
188 /*)
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
197 fi
198 fi
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
208
209
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+"$@"}
219 fi
220
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."
232 fi
233 exit 1
234 fi
235 fi
236 fi
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
242
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
250 {
251 { eval $1=; unset $1;}
252 }
253 as_unset=as_fn_unset
254
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
259 {
260 return $1
261 } # as_fn_set_status
262
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 ()
267 {
268 set +e
269 as_fn_set_status $1
270 exit $1
271 } # as_fn_exit
272
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
277 {
278
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/
298 q
299 }
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
302 q
303 }
304 /^X\(\/\/\)$/{
305 s//\1/
306 q
307 }
308 /^X\(\/\).*/{
309 s//\1/
310 q
311 }
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"
317
318
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 ()
328 {
329 eval $1+=\$2
330 }'
331 else
332 as_fn_append ()
333 {
334 eval $1=\$$1\$2
335 }
336 fi # as_fn_append
337
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 ()
345 {
346 as_val=$(( $* ))
347 }'
348 else
349 as_fn_arith ()
350 {
351 as_val=`expr "$@" || test $? -eq 1`
352 }
353 fi # as_fn_arith
354
355
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 ()
362 {
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
367 fi
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370 } # as_fn_error
371
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
377 fi
378
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380 as_basename=basename
381 else
382 as_basename=false
383 fi
384
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
389 fi
390
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/
398 q
399 }
400 /^X\/\(\/\/\)$/{
401 s//\1/
402 q
403 }
404 /^X\/\(\/\).*/{
405 s//\1/
406 q
407 }
408 s/.*/./; q'`
409
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
416
417
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 '
424 p
425 /[$]LINENO/=
426 ' <$as_myself |
427 sed '
428 s/[$]LINENO.*/&-/
429 t lineno
430 b
431 :lineno
432 N
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; }
440
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
447 }
448
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;;
458 *)
459 ECHO_N='-n';;
460 esac
461
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
468 fi
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'
482 fi
483 else
484 as_ln_s='cp -p'
485 fi
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
488
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
494 fi
495
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=
503 fi
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
515 '
516 fi
517 as_executable_p=$as_test_x
518
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'"
521
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'"
524
525
526 exec 7<&0 </dev/null 6>&1
527
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`
532
533 #
534 # Initializations.
535 #
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=
544
545 # Identity of this package.
546 PACKAGE_NAME=
547 PACKAGE_TARNAME=
548 PACKAGE_VERSION=
549 PACKAGE_STRING=
550 PACKAGE_BUGREPORT=
551 PACKAGE_URL=
552
553 ac_unique_file="Makefile.in"
554 ac_subst_vars='LTLIBOBJS
555 LIBOBJS
556 TARGET_SUBDIR
557 CPP_FOR_TARGET
558 OBJEXT
559 EXEEXT
560 ac_ct_CC
561 CPPFLAGS
562 LDFLAGS
563 CFLAGS
564 CC
565 target_alias
566 host_alias
567 build_alias
568 LIBS
569 ECHO_T
570 ECHO_N
571 ECHO_C
572 DEFS
573 mandir
574 localedir
575 libdir
576 psdir
577 pdfdir
578 dvidir
579 htmldir
580 infodir
581 docdir
582 oldincludedir
583 includedir
584 localstatedir
585 sharedstatedir
586 sysconfdir
587 datadir
588 datarootdir
589 libexecdir
590 sbindir
591 bindir
592 program_transform_name
593 prefix
594 exec_prefix
595 PACKAGE_URL
596 PACKAGE_BUGREPORT
597 PACKAGE_STRING
598 PACKAGE_VERSION
599 PACKAGE_TARNAME
600 PACKAGE_NAME
601 PATH_SEPARATOR
602 SHELL
603 WERROR_CFLAGS
604 WARN_CFLAGS
605 sim_xor_endian
606 sim_smp
607 sim_reserved_bits
608 sim_inline
609 sim_hw
610 sim_hw_objs
611 sim_hw_cflags
612 sim_default_model
613 sim_scache
614 sim_float
615 sim_endian
616 sim_bitsize
617 sim_assert
618 sim_alignment
619 sim_environment'
620 ac_subst_files=''
621 ac_user_opts='
622 enable_option_checking
623 '
624 ac_precious_vars='build_alias
625 host_alias
626 target_alias
627 CC
628 CFLAGS
629 LDFLAGS
630 LIBS
631 CPPFLAGS'
632
633
634 # Initialize some variables set by options.
635 ac_init_help=
636 ac_init_version=false
637 ac_unrecognized_opts=
638 ac_unrecognized_sep=
639 # The variables have the same names as the options, with
640 # dashes changed to underlines.
641 cache_file=/dev/null
642 exec_prefix=NONE
643 no_create=
644 no_recursion=
645 prefix=NONE
646 program_prefix=NONE
647 program_suffix=NONE
648 program_transform_name=s,x,x,
649 silent=
650 site=
651 srcdir=
652 verbose=
653 x_includes=NONE
654 x_libraries=NONE
655
656 # Installation directory options.
657 # These are left unexpanded so users can "make install exec_prefix=/foo"
658 # and all the variables that are supposed to be based on exec_prefix
659 # by default will actually change.
660 # Use braces instead of parens because sh, perl, etc. also accept them.
661 # (The list follows the same order as the GNU Coding Standards.)
662 bindir='${exec_prefix}/bin'
663 sbindir='${exec_prefix}/sbin'
664 libexecdir='${exec_prefix}/libexec'
665 datarootdir='${prefix}/share'
666 datadir='${datarootdir}'
667 sysconfdir='${prefix}/etc'
668 sharedstatedir='${prefix}/com'
669 localstatedir='${prefix}/var'
670 includedir='${prefix}/include'
671 oldincludedir='/usr/include'
672 docdir='${datarootdir}/doc/${PACKAGE}'
673 infodir='${datarootdir}/info'
674 htmldir='${docdir}'
675 dvidir='${docdir}'
676 pdfdir='${docdir}'
677 psdir='${docdir}'
678 libdir='${exec_prefix}/lib'
679 localedir='${datarootdir}/locale'
680 mandir='${datarootdir}/man'
681
682 ac_prev=
683 ac_dashdash=
684 for ac_option
685 do
686 # If the previous option needs an argument, assign it.
687 if test -n "$ac_prev"; then
688 eval $ac_prev=\$ac_option
689 ac_prev=
690 continue
691 fi
692
693 case $ac_option in
694 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
695 *) ac_optarg=yes ;;
696 esac
697
698 # Accept the important Cygnus configure options, so we can diagnose typos.
699
700 case $ac_dashdash$ac_option in
701 --)
702 ac_dashdash=yes ;;
703
704 -bindir | --bindir | --bindi | --bind | --bin | --bi)
705 ac_prev=bindir ;;
706 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
707 bindir=$ac_optarg ;;
708
709 -build | --build | --buil | --bui | --bu)
710 ac_prev=build_alias ;;
711 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
712 build_alias=$ac_optarg ;;
713
714 -cache-file | --cache-file | --cache-fil | --cache-fi \
715 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
716 ac_prev=cache_file ;;
717 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
718 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
719 cache_file=$ac_optarg ;;
720
721 --config-cache | -C)
722 cache_file=config.cache ;;
723
724 -datadir | --datadir | --datadi | --datad)
725 ac_prev=datadir ;;
726 -datadir=* | --datadir=* | --datadi=* | --datad=*)
727 datadir=$ac_optarg ;;
728
729 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
730 | --dataroo | --dataro | --datar)
731 ac_prev=datarootdir ;;
732 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
733 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
734 datarootdir=$ac_optarg ;;
735
736 -disable-* | --disable-*)
737 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
740 as_fn_error "invalid feature name: $ac_useropt"
741 ac_useropt_orig=$ac_useropt
742 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
743 case $ac_user_opts in
744 *"
745 "enable_$ac_useropt"
746 "*) ;;
747 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
748 ac_unrecognized_sep=', ';;
749 esac
750 eval enable_$ac_useropt=no ;;
751
752 -docdir | --docdir | --docdi | --doc | --do)
753 ac_prev=docdir ;;
754 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
755 docdir=$ac_optarg ;;
756
757 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
758 ac_prev=dvidir ;;
759 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
760 dvidir=$ac_optarg ;;
761
762 -enable-* | --enable-*)
763 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
764 # Reject names that are not valid shell variable names.
765 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
766 as_fn_error "invalid feature name: $ac_useropt"
767 ac_useropt_orig=$ac_useropt
768 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
769 case $ac_user_opts in
770 *"
771 "enable_$ac_useropt"
772 "*) ;;
773 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
774 ac_unrecognized_sep=', ';;
775 esac
776 eval enable_$ac_useropt=\$ac_optarg ;;
777
778 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
779 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
780 | --exec | --exe | --ex)
781 ac_prev=exec_prefix ;;
782 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
783 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
784 | --exec=* | --exe=* | --ex=*)
785 exec_prefix=$ac_optarg ;;
786
787 -gas | --gas | --ga | --g)
788 # Obsolete; use --with-gas.
789 with_gas=yes ;;
790
791 -help | --help | --hel | --he | -h)
792 ac_init_help=long ;;
793 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
794 ac_init_help=recursive ;;
795 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
796 ac_init_help=short ;;
797
798 -host | --host | --hos | --ho)
799 ac_prev=host_alias ;;
800 -host=* | --host=* | --hos=* | --ho=*)
801 host_alias=$ac_optarg ;;
802
803 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
804 ac_prev=htmldir ;;
805 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
806 | --ht=*)
807 htmldir=$ac_optarg ;;
808
809 -includedir | --includedir | --includedi | --included | --include \
810 | --includ | --inclu | --incl | --inc)
811 ac_prev=includedir ;;
812 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
813 | --includ=* | --inclu=* | --incl=* | --inc=*)
814 includedir=$ac_optarg ;;
815
816 -infodir | --infodir | --infodi | --infod | --info | --inf)
817 ac_prev=infodir ;;
818 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
819 infodir=$ac_optarg ;;
820
821 -libdir | --libdir | --libdi | --libd)
822 ac_prev=libdir ;;
823 -libdir=* | --libdir=* | --libdi=* | --libd=*)
824 libdir=$ac_optarg ;;
825
826 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
827 | --libexe | --libex | --libe)
828 ac_prev=libexecdir ;;
829 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
830 | --libexe=* | --libex=* | --libe=*)
831 libexecdir=$ac_optarg ;;
832
833 -localedir | --localedir | --localedi | --localed | --locale)
834 ac_prev=localedir ;;
835 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
836 localedir=$ac_optarg ;;
837
838 -localstatedir | --localstatedir | --localstatedi | --localstated \
839 | --localstate | --localstat | --localsta | --localst | --locals)
840 ac_prev=localstatedir ;;
841 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
842 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
843 localstatedir=$ac_optarg ;;
844
845 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
846 ac_prev=mandir ;;
847 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
848 mandir=$ac_optarg ;;
849
850 -nfp | --nfp | --nf)
851 # Obsolete; use --without-fp.
852 with_fp=no ;;
853
854 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
855 | --no-cr | --no-c | -n)
856 no_create=yes ;;
857
858 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
859 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
860 no_recursion=yes ;;
861
862 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
863 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
864 | --oldin | --oldi | --old | --ol | --o)
865 ac_prev=oldincludedir ;;
866 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
867 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
868 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
869 oldincludedir=$ac_optarg ;;
870
871 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
872 ac_prev=prefix ;;
873 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
874 prefix=$ac_optarg ;;
875
876 -program-prefix | --program-prefix | --program-prefi | --program-pref \
877 | --program-pre | --program-pr | --program-p)
878 ac_prev=program_prefix ;;
879 -program-prefix=* | --program-prefix=* | --program-prefi=* \
880 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
881 program_prefix=$ac_optarg ;;
882
883 -program-suffix | --program-suffix | --program-suffi | --program-suff \
884 | --program-suf | --program-su | --program-s)
885 ac_prev=program_suffix ;;
886 -program-suffix=* | --program-suffix=* | --program-suffi=* \
887 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
888 program_suffix=$ac_optarg ;;
889
890 -program-transform-name | --program-transform-name \
891 | --program-transform-nam | --program-transform-na \
892 | --program-transform-n | --program-transform- \
893 | --program-transform | --program-transfor \
894 | --program-transfo | --program-transf \
895 | --program-trans | --program-tran \
896 | --progr-tra | --program-tr | --program-t)
897 ac_prev=program_transform_name ;;
898 -program-transform-name=* | --program-transform-name=* \
899 | --program-transform-nam=* | --program-transform-na=* \
900 | --program-transform-n=* | --program-transform-=* \
901 | --program-transform=* | --program-transfor=* \
902 | --program-transfo=* | --program-transf=* \
903 | --program-trans=* | --program-tran=* \
904 | --progr-tra=* | --program-tr=* | --program-t=*)
905 program_transform_name=$ac_optarg ;;
906
907 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
908 ac_prev=pdfdir ;;
909 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
910 pdfdir=$ac_optarg ;;
911
912 -psdir | --psdir | --psdi | --psd | --ps)
913 ac_prev=psdir ;;
914 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
915 psdir=$ac_optarg ;;
916
917 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
918 | -silent | --silent | --silen | --sile | --sil)
919 silent=yes ;;
920
921 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
922 ac_prev=sbindir ;;
923 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
924 | --sbi=* | --sb=*)
925 sbindir=$ac_optarg ;;
926
927 -sharedstatedir | --sharedstatedir | --sharedstatedi \
928 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
929 | --sharedst | --shareds | --shared | --share | --shar \
930 | --sha | --sh)
931 ac_prev=sharedstatedir ;;
932 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
933 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
934 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
935 | --sha=* | --sh=*)
936 sharedstatedir=$ac_optarg ;;
937
938 -site | --site | --sit)
939 ac_prev=site ;;
940 -site=* | --site=* | --sit=*)
941 site=$ac_optarg ;;
942
943 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
944 ac_prev=srcdir ;;
945 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
946 srcdir=$ac_optarg ;;
947
948 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
949 | --syscon | --sysco | --sysc | --sys | --sy)
950 ac_prev=sysconfdir ;;
951 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
952 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
953 sysconfdir=$ac_optarg ;;
954
955 -target | --target | --targe | --targ | --tar | --ta | --t)
956 ac_prev=target_alias ;;
957 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
958 target_alias=$ac_optarg ;;
959
960 -v | -verbose | --verbose | --verbos | --verbo | --verb)
961 verbose=yes ;;
962
963 -version | --version | --versio | --versi | --vers | -V)
964 ac_init_version=: ;;
965
966 -with-* | --with-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error "invalid package name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
974 *"
975 "with_$ac_useropt"
976 "*) ;;
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
979 esac
980 eval with_$ac_useropt=\$ac_optarg ;;
981
982 -without-* | --without-*)
983 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 as_fn_error "invalid package name: $ac_useropt"
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
990 *"
991 "with_$ac_useropt"
992 "*) ;;
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
995 esac
996 eval with_$ac_useropt=no ;;
997
998 --x)
999 # Obsolete; use --with-x.
1000 with_x=yes ;;
1001
1002 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1003 | --x-incl | --x-inc | --x-in | --x-i)
1004 ac_prev=x_includes ;;
1005 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1006 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1007 x_includes=$ac_optarg ;;
1008
1009 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1010 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1011 ac_prev=x_libraries ;;
1012 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1013 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1014 x_libraries=$ac_optarg ;;
1015
1016 -*) as_fn_error "unrecognized option: \`$ac_option'
1017 Try \`$0 --help' for more information."
1018 ;;
1019
1020 *=*)
1021 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1022 # Reject names that are not valid shell variable names.
1023 case $ac_envvar in #(
1024 '' | [0-9]* | *[!_$as_cr_alnum]* )
1025 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1026 esac
1027 eval $ac_envvar=\$ac_optarg
1028 export $ac_envvar ;;
1029
1030 *)
1031 # FIXME: should be removed in autoconf 3.0.
1032 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1033 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1035 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1036 ;;
1037
1038 esac
1039 done
1040
1041 if test -n "$ac_prev"; then
1042 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1043 as_fn_error "missing argument to $ac_option"
1044 fi
1045
1046 if test -n "$ac_unrecognized_opts"; then
1047 case $enable_option_checking in
1048 no) ;;
1049 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1050 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1051 esac
1052 fi
1053
1054 # Check all directory arguments for consistency.
1055 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056 datadir sysconfdir sharedstatedir localstatedir includedir \
1057 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058 libdir localedir mandir
1059 do
1060 eval ac_val=\$$ac_var
1061 # Remove trailing slashes.
1062 case $ac_val in
1063 */ )
1064 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1065 eval $ac_var=\$ac_val;;
1066 esac
1067 # Be sure to have absolute directory names.
1068 case $ac_val in
1069 [\\/$]* | ?:[\\/]* ) continue;;
1070 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1071 esac
1072 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1073 done
1074
1075 # There might be people who depend on the old broken behavior: `$host'
1076 # used to hold the argument of --host etc.
1077 # FIXME: To remove some day.
1078 build=$build_alias
1079 host=$host_alias
1080 target=$target_alias
1081
1082 # FIXME: To remove some day.
1083 if test "x$host_alias" != x; then
1084 if test "x$build_alias" = x; then
1085 cross_compiling=maybe
1086 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1087 If a cross compiler is detected then cross compile mode will be used." >&2
1088 elif test "x$build_alias" != "x$host_alias"; then
1089 cross_compiling=yes
1090 fi
1091 fi
1092
1093 ac_tool_prefix=
1094 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1095
1096 test "$silent" = yes && exec 6>/dev/null
1097
1098
1099 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1100 ac_ls_di=`ls -di .` &&
1101 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1102 as_fn_error "working directory cannot be determined"
1103 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1104 as_fn_error "pwd does not report name of working directory"
1105
1106
1107 # Find the source files, if location was not specified.
1108 if test -z "$srcdir"; then
1109 ac_srcdir_defaulted=yes
1110 # Try the directory containing this script, then the parent directory.
1111 ac_confdir=`$as_dirname -- "$as_myself" ||
1112 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1113 X"$as_myself" : 'X\(//\)[^/]' \| \
1114 X"$as_myself" : 'X\(//\)$' \| \
1115 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1116 $as_echo X"$as_myself" |
1117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1118 s//\1/
1119 q
1120 }
1121 /^X\(\/\/\)[^/].*/{
1122 s//\1/
1123 q
1124 }
1125 /^X\(\/\/\)$/{
1126 s//\1/
1127 q
1128 }
1129 /^X\(\/\).*/{
1130 s//\1/
1131 q
1132 }
1133 s/.*/./; q'`
1134 srcdir=$ac_confdir
1135 if test ! -r "$srcdir/$ac_unique_file"; then
1136 srcdir=..
1137 fi
1138 else
1139 ac_srcdir_defaulted=no
1140 fi
1141 if test ! -r "$srcdir/$ac_unique_file"; then
1142 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1143 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1144 fi
1145 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1146 ac_abs_confdir=`(
1147 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1148 pwd)`
1149 # When building in place, set srcdir=.
1150 if test "$ac_abs_confdir" = "$ac_pwd"; then
1151 srcdir=.
1152 fi
1153 # Remove unnecessary trailing slashes from srcdir.
1154 # Double slashes in file names in object file debugging info
1155 # mess up M-x gdb in Emacs.
1156 case $srcdir in
1157 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1158 esac
1159 for ac_var in $ac_precious_vars; do
1160 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1161 eval ac_env_${ac_var}_value=\$${ac_var}
1162 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1163 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1164 done
1165
1166 #
1167 # Report the --help message.
1168 #
1169 if test "$ac_init_help" = "long"; then
1170 # Omit some internal or obsolete options to make the list less imposing.
1171 # This message is too long to be a string in the A/UX 3.1 sh.
1172 cat <<_ACEOF
1173 \`configure' configures this package to adapt to many kinds of systems.
1174
1175 Usage: $0 [OPTION]... [VAR=VALUE]...
1176
1177 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1178 VAR=VALUE. See below for descriptions of some of the useful variables.
1179
1180 Defaults for the options are specified in brackets.
1181
1182 Configuration:
1183 -h, --help display this help and exit
1184 --help=short display options specific to this package
1185 --help=recursive display the short help of all the included packages
1186 -V, --version display version information and exit
1187 -q, --quiet, --silent do not print \`checking...' messages
1188 --cache-file=FILE cache test results in FILE [disabled]
1189 -C, --config-cache alias for \`--cache-file=config.cache'
1190 -n, --no-create do not create output files
1191 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1192
1193 Installation directories:
1194 --prefix=PREFIX install architecture-independent files in PREFIX
1195 [$ac_default_prefix]
1196 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1197 [PREFIX]
1198
1199 By default, \`make install' will install all the files in
1200 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1201 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1202 for instance \`--prefix=\$HOME'.
1203
1204 For better control, use the options below.
1205
1206 Fine tuning of the installation directories:
1207 --bindir=DIR user executables [EPREFIX/bin]
1208 --sbindir=DIR system admin executables [EPREFIX/sbin]
1209 --libexecdir=DIR program executables [EPREFIX/libexec]
1210 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1211 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1212 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1213 --libdir=DIR object code libraries [EPREFIX/lib]
1214 --includedir=DIR C header files [PREFIX/include]
1215 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1216 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1217 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1218 --infodir=DIR info documentation [DATAROOTDIR/info]
1219 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1220 --mandir=DIR man documentation [DATAROOTDIR/man]
1221 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1222 --htmldir=DIR html documentation [DOCDIR]
1223 --dvidir=DIR dvi documentation [DOCDIR]
1224 --pdfdir=DIR pdf documentation [DOCDIR]
1225 --psdir=DIR ps documentation [DOCDIR]
1226 _ACEOF
1227
1228 cat <<\_ACEOF
1229 _ACEOF
1230 fi
1231
1232 if test -n "$ac_init_help"; then
1233
1234 cat <<\_ACEOF
1235
1236 Some influential environment variables:
1237 CC C compiler command
1238 CFLAGS C compiler flags
1239 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1240 nonstandard directory <lib dir>
1241 LIBS libraries to pass to the linker, e.g. -l<library>
1242 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1243 you have headers in a nonstandard directory <include dir>
1244
1245 Use these variables to override the choices made by `configure' or to help
1246 it to find libraries and programs with nonstandard names/locations.
1247
1248 Report bugs to the package provider.
1249 _ACEOF
1250 ac_status=$?
1251 fi
1252
1253 if test "$ac_init_help" = "recursive"; then
1254 # If there are subdirs, report their specific --help.
1255 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1256 test -d "$ac_dir" ||
1257 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1258 continue
1259 ac_builddir=.
1260
1261 case "$ac_dir" in
1262 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1263 *)
1264 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1265 # A ".." for each directory in $ac_dir_suffix.
1266 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1267 case $ac_top_builddir_sub in
1268 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1269 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1270 esac ;;
1271 esac
1272 ac_abs_top_builddir=$ac_pwd
1273 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1274 # for backward compatibility:
1275 ac_top_builddir=$ac_top_build_prefix
1276
1277 case $srcdir in
1278 .) # We are building in place.
1279 ac_srcdir=.
1280 ac_top_srcdir=$ac_top_builddir_sub
1281 ac_abs_top_srcdir=$ac_pwd ;;
1282 [\\/]* | ?:[\\/]* ) # Absolute name.
1283 ac_srcdir=$srcdir$ac_dir_suffix;
1284 ac_top_srcdir=$srcdir
1285 ac_abs_top_srcdir=$srcdir ;;
1286 *) # Relative name.
1287 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1288 ac_top_srcdir=$ac_top_build_prefix$srcdir
1289 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1290 esac
1291 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1292
1293 cd "$ac_dir" || { ac_status=$?; continue; }
1294 # Check for guested configure.
1295 if test -f "$ac_srcdir/configure.gnu"; then
1296 echo &&
1297 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1298 elif test -f "$ac_srcdir/configure"; then
1299 echo &&
1300 $SHELL "$ac_srcdir/configure" --help=recursive
1301 else
1302 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1303 fi || ac_status=$?
1304 cd "$ac_pwd" || { ac_status=$?; break; }
1305 done
1306 fi
1307
1308 test -n "$ac_init_help" && exit $ac_status
1309 if $ac_init_version; then
1310 cat <<\_ACEOF
1311 configure
1312 generated by GNU Autoconf 2.64
1313
1314 Copyright (C) 2009 Free Software Foundation, Inc.
1315 This configure script is free software; the Free Software Foundation
1316 gives unlimited permission to copy, distribute and modify it.
1317 _ACEOF
1318 exit
1319 fi
1320
1321 ## ------------------------ ##
1322 ## Autoconf initialization. ##
1323 ## ------------------------ ##
1324
1325 # ac_fn_c_try_compile LINENO
1326 # --------------------------
1327 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1328 ac_fn_c_try_compile ()
1329 {
1330 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1331 rm -f conftest.$ac_objext
1332 if { { ac_try="$ac_compile"
1333 case "(($ac_try" in
1334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1335 *) ac_try_echo=$ac_try;;
1336 esac
1337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1338 $as_echo "$ac_try_echo"; } >&5
1339 (eval "$ac_compile") 2>conftest.err
1340 ac_status=$?
1341 if test -s conftest.err; then
1342 grep -v '^ *+' conftest.err >conftest.er1
1343 cat conftest.er1 >&5
1344 mv -f conftest.er1 conftest.err
1345 fi
1346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1347 test $ac_status = 0; } && {
1348 test -z "$ac_c_werror_flag" ||
1349 test ! -s conftest.err
1350 } && test -s conftest.$ac_objext; then :
1351 ac_retval=0
1352 else
1353 $as_echo "$as_me: failed program was:" >&5
1354 sed 's/^/| /' conftest.$ac_ext >&5
1355
1356 ac_retval=1
1357 fi
1358 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1359 return $ac_retval
1360
1361 } # ac_fn_c_try_compile
1362 cat >config.log <<_ACEOF
1363 This file contains any messages produced by compilers while
1364 running configure, to aid debugging if configure makes a mistake.
1365
1366 It was created by $as_me, which was
1367 generated by GNU Autoconf 2.64. Invocation command line was
1368
1369 $ $0 $@
1370
1371 _ACEOF
1372 exec 5>>config.log
1373 {
1374 cat <<_ASUNAME
1375 ## --------- ##
1376 ## Platform. ##
1377 ## --------- ##
1378
1379 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1380 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1381 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1382 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1383 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1384
1385 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1386 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1387
1388 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1389 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1390 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1391 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1392 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1393 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1394 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1395
1396 _ASUNAME
1397
1398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399 for as_dir in $PATH
1400 do
1401 IFS=$as_save_IFS
1402 test -z "$as_dir" && as_dir=.
1403 $as_echo "PATH: $as_dir"
1404 done
1405 IFS=$as_save_IFS
1406
1407 } >&5
1408
1409 cat >&5 <<_ACEOF
1410
1411
1412 ## ----------- ##
1413 ## Core tests. ##
1414 ## ----------- ##
1415
1416 _ACEOF
1417
1418
1419 # Keep a trace of the command line.
1420 # Strip out --no-create and --no-recursion so they do not pile up.
1421 # Strip out --silent because we don't want to record it for future runs.
1422 # Also quote any args containing shell meta-characters.
1423 # Make two passes to allow for proper duplicate-argument suppression.
1424 ac_configure_args=
1425 ac_configure_args0=
1426 ac_configure_args1=
1427 ac_must_keep_next=false
1428 for ac_pass in 1 2
1429 do
1430 for ac_arg
1431 do
1432 case $ac_arg in
1433 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1434 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1435 | -silent | --silent | --silen | --sile | --sil)
1436 continue ;;
1437 *\'*)
1438 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 esac
1440 case $ac_pass in
1441 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1442 2)
1443 as_fn_append ac_configure_args1 " '$ac_arg'"
1444 if test $ac_must_keep_next = true; then
1445 ac_must_keep_next=false # Got value, back to normal.
1446 else
1447 case $ac_arg in
1448 *=* | --config-cache | -C | -disable-* | --disable-* \
1449 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1450 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1451 | -with-* | --with-* | -without-* | --without-* | --x)
1452 case "$ac_configure_args0 " in
1453 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1454 esac
1455 ;;
1456 -* ) ac_must_keep_next=true ;;
1457 esac
1458 fi
1459 as_fn_append ac_configure_args " '$ac_arg'"
1460 ;;
1461 esac
1462 done
1463 done
1464 { ac_configure_args0=; unset ac_configure_args0;}
1465 { ac_configure_args1=; unset ac_configure_args1;}
1466
1467 # When interrupted or exit'd, cleanup temporary files, and complete
1468 # config.log. We remove comments because anyway the quotes in there
1469 # would cause problems or look ugly.
1470 # WARNING: Use '\'' to represent an apostrophe within the trap.
1471 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1472 trap 'exit_status=$?
1473 # Save into config.log some information that might help in debugging.
1474 {
1475 echo
1476
1477 cat <<\_ASBOX
1478 ## ---------------- ##
1479 ## Cache variables. ##
1480 ## ---------------- ##
1481 _ASBOX
1482 echo
1483 # The following way of writing the cache mishandles newlines in values,
1484 (
1485 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1486 eval ac_val=\$$ac_var
1487 case $ac_val in #(
1488 *${as_nl}*)
1489 case $ac_var in #(
1490 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1491 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1492 esac
1493 case $ac_var in #(
1494 _ | IFS | as_nl) ;; #(
1495 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1496 *) { eval $ac_var=; unset $ac_var;} ;;
1497 esac ;;
1498 esac
1499 done
1500 (set) 2>&1 |
1501 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1502 *${as_nl}ac_space=\ *)
1503 sed -n \
1504 "s/'\''/'\''\\\\'\'''\''/g;
1505 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1506 ;; #(
1507 *)
1508 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1509 ;;
1510 esac |
1511 sort
1512 )
1513 echo
1514
1515 cat <<\_ASBOX
1516 ## ----------------- ##
1517 ## Output variables. ##
1518 ## ----------------- ##
1519 _ASBOX
1520 echo
1521 for ac_var in $ac_subst_vars
1522 do
1523 eval ac_val=\$$ac_var
1524 case $ac_val in
1525 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1526 esac
1527 $as_echo "$ac_var='\''$ac_val'\''"
1528 done | sort
1529 echo
1530
1531 if test -n "$ac_subst_files"; then
1532 cat <<\_ASBOX
1533 ## ------------------- ##
1534 ## File substitutions. ##
1535 ## ------------------- ##
1536 _ASBOX
1537 echo
1538 for ac_var in $ac_subst_files
1539 do
1540 eval ac_val=\$$ac_var
1541 case $ac_val in
1542 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1543 esac
1544 $as_echo "$ac_var='\''$ac_val'\''"
1545 done | sort
1546 echo
1547 fi
1548
1549 if test -s confdefs.h; then
1550 cat <<\_ASBOX
1551 ## ----------- ##
1552 ## confdefs.h. ##
1553 ## ----------- ##
1554 _ASBOX
1555 echo
1556 cat confdefs.h
1557 echo
1558 fi
1559 test "$ac_signal" != 0 &&
1560 $as_echo "$as_me: caught signal $ac_signal"
1561 $as_echo "$as_me: exit $exit_status"
1562 } >&5
1563 rm -f core *.core core.conftest.* &&
1564 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1565 exit $exit_status
1566 ' 0
1567 for ac_signal in 1 2 13 15; do
1568 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1569 done
1570 ac_signal=0
1571
1572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1573 rm -f -r conftest* confdefs.h
1574
1575 $as_echo "/* confdefs.h */" > confdefs.h
1576
1577 # Predefined preprocessor variables.
1578
1579 cat >>confdefs.h <<_ACEOF
1580 #define PACKAGE_NAME "$PACKAGE_NAME"
1581 _ACEOF
1582
1583 cat >>confdefs.h <<_ACEOF
1584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1585 _ACEOF
1586
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1589 _ACEOF
1590
1591 cat >>confdefs.h <<_ACEOF
1592 #define PACKAGE_STRING "$PACKAGE_STRING"
1593 _ACEOF
1594
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1597 _ACEOF
1598
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_URL "$PACKAGE_URL"
1601 _ACEOF
1602
1603
1604 # Let the site file select an alternate cache file if it wants to.
1605 # Prefer an explicitly selected file to automatically selected ones.
1606 ac_site_file1=NONE
1607 ac_site_file2=NONE
1608 if test -n "$CONFIG_SITE"; then
1609 ac_site_file1=$CONFIG_SITE
1610 elif test "x$prefix" != xNONE; then
1611 ac_site_file1=$prefix/share/config.site
1612 ac_site_file2=$prefix/etc/config.site
1613 else
1614 ac_site_file1=$ac_default_prefix/share/config.site
1615 ac_site_file2=$ac_default_prefix/etc/config.site
1616 fi
1617 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1618 do
1619 test "x$ac_site_file" = xNONE && continue
1620 if test -r "$ac_site_file"; then
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1622 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1623 sed 's/^/| /' "$ac_site_file" >&5
1624 . "$ac_site_file"
1625 fi
1626 done
1627
1628 if test -r "$cache_file"; then
1629 # Some versions of bash will fail to source /dev/null (special
1630 # files actually), so we avoid doing that.
1631 if test -f "$cache_file"; then
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1633 $as_echo "$as_me: loading cache $cache_file" >&6;}
1634 case $cache_file in
1635 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1636 *) . "./$cache_file";;
1637 esac
1638 fi
1639 else
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1641 $as_echo "$as_me: creating cache $cache_file" >&6;}
1642 >$cache_file
1643 fi
1644
1645 # Check that the precious variables saved in the cache have kept the same
1646 # value.
1647 ac_cache_corrupted=false
1648 for ac_var in $ac_precious_vars; do
1649 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1650 eval ac_new_set=\$ac_env_${ac_var}_set
1651 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1652 eval ac_new_val=\$ac_env_${ac_var}_value
1653 case $ac_old_set,$ac_new_set in
1654 set,)
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1656 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1657 ac_cache_corrupted=: ;;
1658 ,set)
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1660 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1661 ac_cache_corrupted=: ;;
1662 ,);;
1663 *)
1664 if test "x$ac_old_val" != "x$ac_new_val"; then
1665 # differences in whitespace do not lead to failure.
1666 ac_old_val_w=`echo x $ac_old_val`
1667 ac_new_val_w=`echo x $ac_new_val`
1668 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1670 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1671 ac_cache_corrupted=:
1672 else
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1674 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1675 eval $ac_var=\$ac_old_val
1676 fi
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1678 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1680 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1681 fi;;
1682 esac
1683 # Pass precious variables to config.status.
1684 if test "$ac_new_set" = set; then
1685 case $ac_new_val in
1686 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1687 *) ac_arg=$ac_var=$ac_new_val ;;
1688 esac
1689 case " $ac_configure_args " in
1690 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1691 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1692 esac
1693 fi
1694 done
1695 if $ac_cache_corrupted; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1699 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1700 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1701 fi
1702 ## -------------------- ##
1703 ## Main body of script. ##
1704 ## -------------------- ##
1705
1706 ac_ext=c
1707 ac_cpp='$CPP $CPPFLAGS'
1708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1711
1712
1713
1714
1715
1716
1717 ac_ext=c
1718 ac_cpp='$CPP $CPPFLAGS'
1719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1722 if test -n "$ac_tool_prefix"; then
1723 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1724 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1726 $as_echo_n "checking for $ac_word... " >&6; }
1727 if test "${ac_cv_prog_CC+set}" = set; then :
1728 $as_echo_n "(cached) " >&6
1729 else
1730 if test -n "$CC"; then
1731 ac_cv_prog_CC="$CC" # Let the user override the test.
1732 else
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1734 for as_dir in $PATH
1735 do
1736 IFS=$as_save_IFS
1737 test -z "$as_dir" && as_dir=.
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1740 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 break 2
1743 fi
1744 done
1745 done
1746 IFS=$as_save_IFS
1747
1748 fi
1749 fi
1750 CC=$ac_cv_prog_CC
1751 if test -n "$CC"; then
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1753 $as_echo "$CC" >&6; }
1754 else
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1756 $as_echo "no" >&6; }
1757 fi
1758
1759
1760 fi
1761 if test -z "$ac_cv_prog_CC"; then
1762 ac_ct_CC=$CC
1763 # Extract the first word of "gcc", so it can be a program name with args.
1764 set dummy gcc; ac_word=$2
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1766 $as_echo_n "checking for $ac_word... " >&6; }
1767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1768 $as_echo_n "(cached) " >&6
1769 else
1770 if test -n "$ac_ct_CC"; then
1771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1772 else
1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1774 for as_dir in $PATH
1775 do
1776 IFS=$as_save_IFS
1777 test -z "$as_dir" && as_dir=.
1778 for ac_exec_ext in '' $ac_executable_extensions; do
1779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1780 ac_cv_prog_ac_ct_CC="gcc"
1781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1782 break 2
1783 fi
1784 done
1785 done
1786 IFS=$as_save_IFS
1787
1788 fi
1789 fi
1790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1791 if test -n "$ac_ct_CC"; then
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1793 $as_echo "$ac_ct_CC" >&6; }
1794 else
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1796 $as_echo "no" >&6; }
1797 fi
1798
1799 if test "x$ac_ct_CC" = x; then
1800 CC=""
1801 else
1802 case $cross_compiling:$ac_tool_warned in
1803 yes:)
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1806 ac_tool_warned=yes ;;
1807 esac
1808 CC=$ac_ct_CC
1809 fi
1810 else
1811 CC="$ac_cv_prog_CC"
1812 fi
1813
1814 if test -z "$CC"; then
1815 if test -n "$ac_tool_prefix"; then
1816 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1817 set dummy ${ac_tool_prefix}cc; ac_word=$2
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1819 $as_echo_n "checking for $ac_word... " >&6; }
1820 if test "${ac_cv_prog_CC+set}" = set; then :
1821 $as_echo_n "(cached) " >&6
1822 else
1823 if test -n "$CC"; then
1824 ac_cv_prog_CC="$CC" # Let the user override the test.
1825 else
1826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1827 for as_dir in $PATH
1828 do
1829 IFS=$as_save_IFS
1830 test -z "$as_dir" && as_dir=.
1831 for ac_exec_ext in '' $ac_executable_extensions; do
1832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1833 ac_cv_prog_CC="${ac_tool_prefix}cc"
1834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1835 break 2
1836 fi
1837 done
1838 done
1839 IFS=$as_save_IFS
1840
1841 fi
1842 fi
1843 CC=$ac_cv_prog_CC
1844 if test -n "$CC"; then
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1846 $as_echo "$CC" >&6; }
1847 else
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1849 $as_echo "no" >&6; }
1850 fi
1851
1852
1853 fi
1854 fi
1855 if test -z "$CC"; then
1856 # Extract the first word of "cc", so it can be a program name with args.
1857 set dummy cc; ac_word=$2
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1859 $as_echo_n "checking for $ac_word... " >&6; }
1860 if test "${ac_cv_prog_CC+set}" = set; then :
1861 $as_echo_n "(cached) " >&6
1862 else
1863 if test -n "$CC"; then
1864 ac_cv_prog_CC="$CC" # Let the user override the test.
1865 else
1866 ac_prog_rejected=no
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 for as_dir in $PATH
1869 do
1870 IFS=$as_save_IFS
1871 test -z "$as_dir" && as_dir=.
1872 for ac_exec_ext in '' $ac_executable_extensions; do
1873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1874 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1875 ac_prog_rejected=yes
1876 continue
1877 fi
1878 ac_cv_prog_CC="cc"
1879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 break 2
1881 fi
1882 done
1883 done
1884 IFS=$as_save_IFS
1885
1886 if test $ac_prog_rejected = yes; then
1887 # We found a bogon in the path, so make sure we never use it.
1888 set dummy $ac_cv_prog_CC
1889 shift
1890 if test $# != 0; then
1891 # We chose a different compiler from the bogus one.
1892 # However, it has the same basename, so the bogon will be chosen
1893 # first if we set CC to just the basename; use the full file name.
1894 shift
1895 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1896 fi
1897 fi
1898 fi
1899 fi
1900 CC=$ac_cv_prog_CC
1901 if test -n "$CC"; then
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1903 $as_echo "$CC" >&6; }
1904 else
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1906 $as_echo "no" >&6; }
1907 fi
1908
1909
1910 fi
1911 if test -z "$CC"; then
1912 if test -n "$ac_tool_prefix"; then
1913 for ac_prog in cl.exe
1914 do
1915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1916 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1918 $as_echo_n "checking for $ac_word... " >&6; }
1919 if test "${ac_cv_prog_CC+set}" = set; then :
1920 $as_echo_n "(cached) " >&6
1921 else
1922 if test -n "$CC"; then
1923 ac_cv_prog_CC="$CC" # Let the user override the test.
1924 else
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 for as_dir in $PATH
1927 do
1928 IFS=$as_save_IFS
1929 test -z "$as_dir" && as_dir=.
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1932 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1934 break 2
1935 fi
1936 done
1937 done
1938 IFS=$as_save_IFS
1939
1940 fi
1941 fi
1942 CC=$ac_cv_prog_CC
1943 if test -n "$CC"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1945 $as_echo "$CC" >&6; }
1946 else
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1948 $as_echo "no" >&6; }
1949 fi
1950
1951
1952 test -n "$CC" && break
1953 done
1954 fi
1955 if test -z "$CC"; then
1956 ac_ct_CC=$CC
1957 for ac_prog in cl.exe
1958 do
1959 # Extract the first word of "$ac_prog", so it can be a program name with args.
1960 set dummy $ac_prog; ac_word=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test -n "$ac_ct_CC"; then
1967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1968 else
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 for as_dir in $PATH
1971 do
1972 IFS=$as_save_IFS
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1976 ac_cv_prog_ac_ct_CC="$ac_prog"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 break 2
1979 fi
1980 done
1981 done
1982 IFS=$as_save_IFS
1983
1984 fi
1985 fi
1986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1987 if test -n "$ac_ct_CC"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1989 $as_echo "$ac_ct_CC" >&6; }
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1993 fi
1994
1995
1996 test -n "$ac_ct_CC" && break
1997 done
1998
1999 if test "x$ac_ct_CC" = x; then
2000 CC=""
2001 else
2002 case $cross_compiling:$ac_tool_warned in
2003 yes:)
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2006 ac_tool_warned=yes ;;
2007 esac
2008 CC=$ac_ct_CC
2009 fi
2010 fi
2011
2012 fi
2013
2014
2015 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2017 as_fn_error "no acceptable C compiler found in \$PATH
2018 See \`config.log' for more details." "$LINENO" 5; }
2019
2020 # Provide some information about the compiler.
2021 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2022 set X $ac_compile
2023 ac_compiler=$2
2024 for ac_option in --version -v -V -qversion; do
2025 { { ac_try="$ac_compiler $ac_option >&5"
2026 case "(($ac_try" in
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2029 esac
2030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2033 ac_status=$?
2034 if test -s conftest.err; then
2035 sed '10a\
2036 ... rest of stderr output deleted ...
2037 10q' conftest.err >conftest.er1
2038 cat conftest.er1 >&5
2039 rm -f conftest.er1 conftest.err
2040 fi
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; }
2043 done
2044
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2047
2048 int
2049 main ()
2050 {
2051
2052 ;
2053 return 0;
2054 }
2055 _ACEOF
2056 ac_clean_files_save=$ac_clean_files
2057 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2058 # Try to create an executable without -o first, disregard a.out.
2059 # It will help us diagnose broken compilers, and finding out an intuition
2060 # of exeext.
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2062 $as_echo_n "checking for C compiler default output file name... " >&6; }
2063 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2064
2065 # The possible output files:
2066 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2067
2068 ac_rmfiles=
2069 for ac_file in $ac_files
2070 do
2071 case $ac_file in
2072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2073 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2074 esac
2075 done
2076 rm -f $ac_rmfiles
2077
2078 if { { ac_try="$ac_link_default"
2079 case "(($ac_try" in
2080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2081 *) ac_try_echo=$ac_try;;
2082 esac
2083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2084 $as_echo "$ac_try_echo"; } >&5
2085 (eval "$ac_link_default") 2>&5
2086 ac_status=$?
2087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2088 test $ac_status = 0; }; then :
2089 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2090 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2091 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2092 # so that the user can short-circuit this test for compilers unknown to
2093 # Autoconf.
2094 for ac_file in $ac_files ''
2095 do
2096 test -f "$ac_file" || continue
2097 case $ac_file in
2098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2099 ;;
2100 [ab].out )
2101 # We found the default executable, but exeext='' is most
2102 # certainly right.
2103 break;;
2104 *.* )
2105 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2106 then :; else
2107 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2108 fi
2109 # We set ac_cv_exeext here because the later test for it is not
2110 # safe: cross compilers may not add the suffix if given an `-o'
2111 # argument, so we may need to know it at that point already.
2112 # Even if this section looks crufty: it has the advantage of
2113 # actually working.
2114 break;;
2115 * )
2116 break;;
2117 esac
2118 done
2119 test "$ac_cv_exeext" = no && ac_cv_exeext=
2120
2121 else
2122 ac_file=''
2123 fi
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2125 $as_echo "$ac_file" >&6; }
2126 if test -z "$ac_file"; then :
2127 $as_echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.$ac_ext >&5
2129
2130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 { as_fn_set_status 77
2133 as_fn_error "C compiler cannot create executables
2134 See \`config.log' for more details." "$LINENO" 5; }; }
2135 fi
2136 ac_exeext=$ac_cv_exeext
2137
2138 # Check that the compiler produces executables we can run. If not, either
2139 # the compiler is broken, or we cross compile.
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2141 $as_echo_n "checking whether the C compiler works... " >&6; }
2142 # If not cross compiling, check that we can run a simple program.
2143 if test "$cross_compiling" != yes; then
2144 if { ac_try='./$ac_file'
2145 { { case "(($ac_try" in
2146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147 *) ac_try_echo=$ac_try;;
2148 esac
2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_try") 2>&5
2152 ac_status=$?
2153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2154 test $ac_status = 0; }; }; then
2155 cross_compiling=no
2156 else
2157 if test "$cross_compiling" = maybe; then
2158 cross_compiling=yes
2159 else
2160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2162 as_fn_error "cannot run C compiled programs.
2163 If you meant to cross compile, use \`--host'.
2164 See \`config.log' for more details." "$LINENO" 5; }
2165 fi
2166 fi
2167 fi
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2169 $as_echo "yes" >&6; }
2170
2171 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2172 ac_clean_files=$ac_clean_files_save
2173 # Check that the compiler produces executables we can run. If not, either
2174 # the compiler is broken, or we cross compile.
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2176 $as_echo_n "checking whether we are cross compiling... " >&6; }
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2178 $as_echo "$cross_compiling" >&6; }
2179
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2181 $as_echo_n "checking for suffix of executables... " >&6; }
2182 if { { ac_try="$ac_link"
2183 case "(($ac_try" in
2184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2185 *) ac_try_echo=$ac_try;;
2186 esac
2187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2188 $as_echo "$ac_try_echo"; } >&5
2189 (eval "$ac_link") 2>&5
2190 ac_status=$?
2191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2192 test $ac_status = 0; }; then :
2193 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2194 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2195 # work properly (i.e., refer to `conftest.exe'), while it won't with
2196 # `rm'.
2197 for ac_file in conftest.exe conftest conftest.*; do
2198 test -f "$ac_file" || continue
2199 case $ac_file in
2200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2201 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2202 break;;
2203 * ) break;;
2204 esac
2205 done
2206 else
2207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209 as_fn_error "cannot compute suffix of executables: cannot compile and link
2210 See \`config.log' for more details." "$LINENO" 5; }
2211 fi
2212 rm -f conftest$ac_cv_exeext
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2214 $as_echo "$ac_cv_exeext" >&6; }
2215
2216 rm -f conftest.$ac_ext
2217 EXEEXT=$ac_cv_exeext
2218 ac_exeext=$EXEEXT
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2220 $as_echo_n "checking for suffix of object files... " >&6; }
2221 if test "${ac_cv_objext+set}" = set; then :
2222 $as_echo_n "(cached) " >&6
2223 else
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226
2227 int
2228 main ()
2229 {
2230
2231 ;
2232 return 0;
2233 }
2234 _ACEOF
2235 rm -f conftest.o conftest.obj
2236 if { { ac_try="$ac_compile"
2237 case "(($ac_try" in
2238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2239 *) ac_try_echo=$ac_try;;
2240 esac
2241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2242 $as_echo "$ac_try_echo"; } >&5
2243 (eval "$ac_compile") 2>&5
2244 ac_status=$?
2245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2246 test $ac_status = 0; }; then :
2247 for ac_file in conftest.o conftest.obj conftest.*; do
2248 test -f "$ac_file" || continue;
2249 case $ac_file in
2250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2251 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2252 break;;
2253 esac
2254 done
2255 else
2256 $as_echo "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.$ac_ext >&5
2258
2259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2261 as_fn_error "cannot compute suffix of object files: cannot compile
2262 See \`config.log' for more details." "$LINENO" 5; }
2263 fi
2264 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2265 fi
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2267 $as_echo "$ac_cv_objext" >&6; }
2268 OBJEXT=$ac_cv_objext
2269 ac_objext=$OBJEXT
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2271 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2272 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2273 $as_echo_n "(cached) " >&6
2274 else
2275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2277
2278 int
2279 main ()
2280 {
2281 #ifndef __GNUC__
2282 choke me
2283 #endif
2284
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_compiler_gnu=yes
2291 else
2292 ac_compiler_gnu=no
2293 fi
2294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2295 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2296
2297 fi
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2299 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2300 if test $ac_compiler_gnu = yes; then
2301 GCC=yes
2302 else
2303 GCC=
2304 fi
2305 ac_test_CFLAGS=${CFLAGS+set}
2306 ac_save_CFLAGS=$CFLAGS
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2308 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2309 if test "${ac_cv_prog_cc_g+set}" = set; then :
2310 $as_echo_n "(cached) " >&6
2311 else
2312 ac_save_c_werror_flag=$ac_c_werror_flag
2313 ac_c_werror_flag=yes
2314 ac_cv_prog_cc_g=no
2315 CFLAGS="-g"
2316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2317 /* end confdefs.h. */
2318
2319 int
2320 main ()
2321 {
2322
2323 ;
2324 return 0;
2325 }
2326 _ACEOF
2327 if ac_fn_c_try_compile "$LINENO"; then :
2328 ac_cv_prog_cc_g=yes
2329 else
2330 CFLAGS=""
2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h. */
2333
2334 int
2335 main ()
2336 {
2337
2338 ;
2339 return 0;
2340 }
2341 _ACEOF
2342 if ac_fn_c_try_compile "$LINENO"; then :
2343
2344 else
2345 ac_c_werror_flag=$ac_save_c_werror_flag
2346 CFLAGS="-g"
2347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2348 /* end confdefs.h. */
2349
2350 int
2351 main ()
2352 {
2353
2354 ;
2355 return 0;
2356 }
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 ac_cv_prog_cc_g=yes
2360 fi
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362 fi
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 fi
2365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 ac_c_werror_flag=$ac_save_c_werror_flag
2367 fi
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2369 $as_echo "$ac_cv_prog_cc_g" >&6; }
2370 if test "$ac_test_CFLAGS" = set; then
2371 CFLAGS=$ac_save_CFLAGS
2372 elif test $ac_cv_prog_cc_g = yes; then
2373 if test "$GCC" = yes; then
2374 CFLAGS="-g -O2"
2375 else
2376 CFLAGS="-g"
2377 fi
2378 else
2379 if test "$GCC" = yes; then
2380 CFLAGS="-O2"
2381 else
2382 CFLAGS=
2383 fi
2384 fi
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2386 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2387 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2388 $as_echo_n "(cached) " >&6
2389 else
2390 ac_cv_prog_cc_c89=no
2391 ac_save_CC=$CC
2392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2393 /* end confdefs.h. */
2394 #include <stdarg.h>
2395 #include <stdio.h>
2396 #include <sys/types.h>
2397 #include <sys/stat.h>
2398 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2399 struct buf { int x; };
2400 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2401 static char *e (p, i)
2402 char **p;
2403 int i;
2404 {
2405 return p[i];
2406 }
2407 static char *f (char * (*g) (char **, int), char **p, ...)
2408 {
2409 char *s;
2410 va_list v;
2411 va_start (v,p);
2412 s = g (p, va_arg (v,int));
2413 va_end (v);
2414 return s;
2415 }
2416
2417 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2418 function prototypes and stuff, but not '\xHH' hex character constants.
2419 These don't provoke an error unfortunately, instead are silently treated
2420 as 'x'. The following induces an error, until -std is added to get
2421 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2422 array size at least. It's necessary to write '\x00'==0 to get something
2423 that's true only with -std. */
2424 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2425
2426 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2427 inside strings and character constants. */
2428 #define FOO(x) 'x'
2429 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2430
2431 int test (int i, double x);
2432 struct s1 {int (*f) (int a);};
2433 struct s2 {int (*f) (double a);};
2434 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2435 int argc;
2436 char **argv;
2437 int
2438 main ()
2439 {
2440 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2441 ;
2442 return 0;
2443 }
2444 _ACEOF
2445 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2446 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2447 do
2448 CC="$ac_save_CC $ac_arg"
2449 if ac_fn_c_try_compile "$LINENO"; then :
2450 ac_cv_prog_cc_c89=$ac_arg
2451 fi
2452 rm -f core conftest.err conftest.$ac_objext
2453 test "x$ac_cv_prog_cc_c89" != "xno" && break
2454 done
2455 rm -f conftest.$ac_ext
2456 CC=$ac_save_CC
2457
2458 fi
2459 # AC_CACHE_VAL
2460 case "x$ac_cv_prog_cc_c89" in
2461 x)
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2463 $as_echo "none needed" >&6; } ;;
2464 xno)
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2466 $as_echo "unsupported" >&6; } ;;
2467 *)
2468 CC="$CC $ac_cv_prog_cc_c89"
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2470 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2471 esac
2472 if test "x$ac_cv_prog_cc_c89" != xno; then :
2473
2474 fi
2475
2476 ac_ext=c
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2481
2482
2483 # Put a useful copy of CPP_FOR_TARGET in Makefile.
2484 # This is only used to build the target values header files. These files are
2485 # shipped with distributions so CPP_FOR_TARGET only needs to work in
2486 # developer's trees. This value is borrowed from ../../Makefile.in.
2487 CPP_FOR_TARGET="\` \
2488 if test -f \$\${rootme}/../../gcc/Makefile ; then \
2489 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
2490 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
2491 else \
2492 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
2493 fi; \
2494 else \
2495 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
2496 echo \$(CC); \
2497 else \
2498 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
2499 fi; \
2500 fi\` -E"
2501
2502
2503 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
2504 if test x"${host}" = x"${target}" ; then
2505 TARGET_SUBDIR="."
2506 else
2507 TARGET_SUBDIR=${target_alias}
2508 fi
2509
2510
2511 ac_config_files="$ac_config_files Makefile"
2512
2513 cat >confcache <<\_ACEOF
2514 # This file is a shell script that caches the results of configure
2515 # tests run on this system so they can be shared between configure
2516 # scripts and configure runs, see configure's option --config-cache.
2517 # It is not useful on other systems. If it contains results you don't
2518 # want to keep, you may remove or edit it.
2519 #
2520 # config.status only pays attention to the cache file if you give it
2521 # the --recheck option to rerun configure.
2522 #
2523 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2524 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2525 # following values.
2526
2527 _ACEOF
2528
2529 # The following way of writing the cache mishandles newlines in values,
2530 # but we know of no workaround that is simple, portable, and efficient.
2531 # So, we kill variables containing newlines.
2532 # Ultrix sh set writes to stderr and can't be redirected directly,
2533 # and sets the high bit in the cache file unless we assign to the vars.
2534 (
2535 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2536 eval ac_val=\$$ac_var
2537 case $ac_val in #(
2538 *${as_nl}*)
2539 case $ac_var in #(
2540 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2541 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2542 esac
2543 case $ac_var in #(
2544 _ | IFS | as_nl) ;; #(
2545 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2546 *) { eval $ac_var=; unset $ac_var;} ;;
2547 esac ;;
2548 esac
2549 done
2550
2551 (set) 2>&1 |
2552 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2553 *${as_nl}ac_space=\ *)
2554 # `set' does not quote correctly, so add quotes: double-quote
2555 # substitution turns \\\\ into \\, and sed turns \\ into \.
2556 sed -n \
2557 "s/'/'\\\\''/g;
2558 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2559 ;; #(
2560 *)
2561 # `set' quotes correctly as required by POSIX, so do not add quotes.
2562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2563 ;;
2564 esac |
2565 sort
2566 ) |
2567 sed '
2568 /^ac_cv_env_/b end
2569 t clear
2570 :clear
2571 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2572 t end
2573 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2574 :end' >>confcache
2575 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2576 if test -w "$cache_file"; then
2577 test "x$cache_file" != "x/dev/null" &&
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2579 $as_echo "$as_me: updating cache $cache_file" >&6;}
2580 cat confcache >$cache_file
2581 else
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2583 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2584 fi
2585 fi
2586 rm -f confcache
2587
2588 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2589 # Let make expand exec_prefix.
2590 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2591
2592 # Transform confdefs.h into DEFS.
2593 # Protect against shell expansion while executing Makefile rules.
2594 # Protect against Makefile macro expansion.
2595 #
2596 # If the first sed substitution is executed (which looks for macros that
2597 # take arguments), then branch to the quote section. Otherwise,
2598 # look for a macro that doesn't take arguments.
2599 ac_script='
2600 :mline
2601 /\\$/{
2602 N
2603 s,\\\n,,
2604 b mline
2605 }
2606 t clear
2607 :clear
2608 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2609 t quote
2610 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2611 t quote
2612 b any
2613 :quote
2614 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2615 s/\[/\\&/g
2616 s/\]/\\&/g
2617 s/\$/$$/g
2618 H
2619 :any
2620 ${
2621 g
2622 s/^\n//
2623 s/\n/ /g
2624 p
2625 }
2626 '
2627 DEFS=`sed -n "$ac_script" confdefs.h`
2628
2629
2630 ac_libobjs=
2631 ac_ltlibobjs=
2632 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2633 # 1. Remove the extension, and $U if already installed.
2634 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2635 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2636 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2637 # will be set to the directory where LIBOBJS objects are built.
2638 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2639 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2640 done
2641 LIBOBJS=$ac_libobjs
2642
2643 LTLIBOBJS=$ac_ltlibobjs
2644
2645
2646
2647 : ${CONFIG_STATUS=./config.status}
2648 ac_write_fail=0
2649 ac_clean_files_save=$ac_clean_files
2650 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2652 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2653 as_write_fail=0
2654 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2655 #! $SHELL
2656 # Generated by $as_me.
2657 # Run this file to recreate the current configuration.
2658 # Compiler output produced by configure, useful for debugging
2659 # configure, is in config.log if it exists.
2660
2661 debug=false
2662 ac_cs_recheck=false
2663 ac_cs_silent=false
2664
2665 SHELL=\${CONFIG_SHELL-$SHELL}
2666 export SHELL
2667 _ASEOF
2668 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2669 ## -------------------- ##
2670 ## M4sh Initialization. ##
2671 ## -------------------- ##
2672
2673 # Be more Bourne compatible
2674 DUALCASE=1; export DUALCASE # for MKS sh
2675 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2676 emulate sh
2677 NULLCMD=:
2678 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2679 # is contrary to our usage. Disable this feature.
2680 alias -g '${1+"$@"}'='"$@"'
2681 setopt NO_GLOB_SUBST
2682 else
2683 case `(set -o) 2>/dev/null` in #(
2684 *posix*) :
2685 set -o posix ;; #(
2686 *) :
2687 ;;
2688 esac
2689 fi
2690
2691
2692 as_nl='
2693 '
2694 export as_nl
2695 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2696 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2697 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2698 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2699 # Prefer a ksh shell builtin over an external printf program on Solaris,
2700 # but without wasting forks for bash or zsh.
2701 if test -z "$BASH_VERSION$ZSH_VERSION" \
2702 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2703 as_echo='print -r --'
2704 as_echo_n='print -rn --'
2705 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2706 as_echo='printf %s\n'
2707 as_echo_n='printf %s'
2708 else
2709 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2710 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2711 as_echo_n='/usr/ucb/echo -n'
2712 else
2713 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2714 as_echo_n_body='eval
2715 arg=$1;
2716 case $arg in #(
2717 *"$as_nl"*)
2718 expr "X$arg" : "X\\(.*\\)$as_nl";
2719 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2720 esac;
2721 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2722 '
2723 export as_echo_n_body
2724 as_echo_n='sh -c $as_echo_n_body as_echo'
2725 fi
2726 export as_echo_body
2727 as_echo='sh -c $as_echo_body as_echo'
2728 fi
2729
2730 # The user is always right.
2731 if test "${PATH_SEPARATOR+set}" != set; then
2732 PATH_SEPARATOR=:
2733 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2734 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2735 PATH_SEPARATOR=';'
2736 }
2737 fi
2738
2739
2740 # IFS
2741 # We need space, tab and new line, in precisely that order. Quoting is
2742 # there to prevent editors from complaining about space-tab.
2743 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2744 # splitting by setting IFS to empty value.)
2745 IFS=" "" $as_nl"
2746
2747 # Find who we are. Look in the path if we contain no directory separator.
2748 case $0 in #((
2749 *[\\/]* ) as_myself=$0 ;;
2750 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 for as_dir in $PATH
2752 do
2753 IFS=$as_save_IFS
2754 test -z "$as_dir" && as_dir=.
2755 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2756 done
2757 IFS=$as_save_IFS
2758
2759 ;;
2760 esac
2761 # We did not find ourselves, most probably we were run as `sh COMMAND'
2762 # in which case we are not to be found in the path.
2763 if test "x$as_myself" = x; then
2764 as_myself=$0
2765 fi
2766 if test ! -f "$as_myself"; then
2767 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2768 exit 1
2769 fi
2770
2771 # Unset variables that we do not need and which cause bugs (e.g. in
2772 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2773 # suppresses any "Segmentation fault" message there. '((' could
2774 # trigger a bug in pdksh 5.2.14.
2775 for as_var in BASH_ENV ENV MAIL MAILPATH
2776 do eval test x\${$as_var+set} = xset \
2777 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2778 done
2779 PS1='$ '
2780 PS2='> '
2781 PS4='+ '
2782
2783 # NLS nuisances.
2784 LC_ALL=C
2785 export LC_ALL
2786 LANGUAGE=C
2787 export LANGUAGE
2788
2789 # CDPATH.
2790 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2791
2792
2793 # as_fn_error ERROR [LINENO LOG_FD]
2794 # ---------------------------------
2795 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2796 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2797 # script with status $?, using 1 if that was 0.
2798 as_fn_error ()
2799 {
2800 as_status=$?; test $as_status -eq 0 && as_status=1
2801 if test "$3"; then
2802 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2804 fi
2805 $as_echo "$as_me: error: $1" >&2
2806 as_fn_exit $as_status
2807 } # as_fn_error
2808
2809
2810 # as_fn_set_status STATUS
2811 # -----------------------
2812 # Set $? to STATUS, without forking.
2813 as_fn_set_status ()
2814 {
2815 return $1
2816 } # as_fn_set_status
2817
2818 # as_fn_exit STATUS
2819 # -----------------
2820 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2821 as_fn_exit ()
2822 {
2823 set +e
2824 as_fn_set_status $1
2825 exit $1
2826 } # as_fn_exit
2827
2828 # as_fn_unset VAR
2829 # ---------------
2830 # Portably unset VAR.
2831 as_fn_unset ()
2832 {
2833 { eval $1=; unset $1;}
2834 }
2835 as_unset=as_fn_unset
2836 # as_fn_append VAR VALUE
2837 # ----------------------
2838 # Append the text in VALUE to the end of the definition contained in VAR. Take
2839 # advantage of any shell optimizations that allow amortized linear growth over
2840 # repeated appends, instead of the typical quadratic growth present in naive
2841 # implementations.
2842 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2843 eval 'as_fn_append ()
2844 {
2845 eval $1+=\$2
2846 }'
2847 else
2848 as_fn_append ()
2849 {
2850 eval $1=\$$1\$2
2851 }
2852 fi # as_fn_append
2853
2854 # as_fn_arith ARG...
2855 # ------------------
2856 # Perform arithmetic evaluation on the ARGs, and store the result in the
2857 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2858 # must be portable across $(()) and expr.
2859 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2860 eval 'as_fn_arith ()
2861 {
2862 as_val=$(( $* ))
2863 }'
2864 else
2865 as_fn_arith ()
2866 {
2867 as_val=`expr "$@" || test $? -eq 1`
2868 }
2869 fi # as_fn_arith
2870
2871
2872 if expr a : '\(a\)' >/dev/null 2>&1 &&
2873 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2874 as_expr=expr
2875 else
2876 as_expr=false
2877 fi
2878
2879 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2880 as_basename=basename
2881 else
2882 as_basename=false
2883 fi
2884
2885 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2886 as_dirname=dirname
2887 else
2888 as_dirname=false
2889 fi
2890
2891 as_me=`$as_basename -- "$0" ||
2892 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2893 X"$0" : 'X\(//\)$' \| \
2894 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2895 $as_echo X/"$0" |
2896 sed '/^.*\/\([^/][^/]*\)\/*$/{
2897 s//\1/
2898 q
2899 }
2900 /^X\/\(\/\/\)$/{
2901 s//\1/
2902 q
2903 }
2904 /^X\/\(\/\).*/{
2905 s//\1/
2906 q
2907 }
2908 s/.*/./; q'`
2909
2910 # Avoid depending upon Character Ranges.
2911 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2912 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2913 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2914 as_cr_digits='0123456789'
2915 as_cr_alnum=$as_cr_Letters$as_cr_digits
2916
2917 ECHO_C= ECHO_N= ECHO_T=
2918 case `echo -n x` in #(((((
2919 -n*)
2920 case `echo 'xy\c'` in
2921 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2922 xy) ECHO_C='\c';;
2923 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2924 ECHO_T=' ';;
2925 esac;;
2926 *)
2927 ECHO_N='-n';;
2928 esac
2929
2930 rm -f conf$$ conf$$.exe conf$$.file
2931 if test -d conf$$.dir; then
2932 rm -f conf$$.dir/conf$$.file
2933 else
2934 rm -f conf$$.dir
2935 mkdir conf$$.dir 2>/dev/null
2936 fi
2937 if (echo >conf$$.file) 2>/dev/null; then
2938 if ln -s conf$$.file conf$$ 2>/dev/null; then
2939 as_ln_s='ln -s'
2940 # ... but there are two gotchas:
2941 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2942 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2943 # In both cases, we have to default to `cp -p'.
2944 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2945 as_ln_s='cp -p'
2946 elif ln conf$$.file conf$$ 2>/dev/null; then
2947 as_ln_s=ln
2948 else
2949 as_ln_s='cp -p'
2950 fi
2951 else
2952 as_ln_s='cp -p'
2953 fi
2954 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2955 rmdir conf$$.dir 2>/dev/null
2956
2957
2958 # as_fn_mkdir_p
2959 # -------------
2960 # Create "$as_dir" as a directory, including parents if necessary.
2961 as_fn_mkdir_p ()
2962 {
2963
2964 case $as_dir in #(
2965 -*) as_dir=./$as_dir;;
2966 esac
2967 test -d "$as_dir" || eval $as_mkdir_p || {
2968 as_dirs=
2969 while :; do
2970 case $as_dir in #(
2971 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2972 *) as_qdir=$as_dir;;
2973 esac
2974 as_dirs="'$as_qdir' $as_dirs"
2975 as_dir=`$as_dirname -- "$as_dir" ||
2976 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2977 X"$as_dir" : 'X\(//\)[^/]' \| \
2978 X"$as_dir" : 'X\(//\)$' \| \
2979 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2980 $as_echo X"$as_dir" |
2981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2982 s//\1/
2983 q
2984 }
2985 /^X\(\/\/\)[^/].*/{
2986 s//\1/
2987 q
2988 }
2989 /^X\(\/\/\)$/{
2990 s//\1/
2991 q
2992 }
2993 /^X\(\/\).*/{
2994 s//\1/
2995 q
2996 }
2997 s/.*/./; q'`
2998 test -d "$as_dir" && break
2999 done
3000 test -z "$as_dirs" || eval "mkdir $as_dirs"
3001 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3002
3003
3004 } # as_fn_mkdir_p
3005 if mkdir -p . 2>/dev/null; then
3006 as_mkdir_p='mkdir -p "$as_dir"'
3007 else
3008 test -d ./-p && rmdir ./-p
3009 as_mkdir_p=false
3010 fi
3011
3012 if test -x / >/dev/null 2>&1; then
3013 as_test_x='test -x'
3014 else
3015 if ls -dL / >/dev/null 2>&1; then
3016 as_ls_L_option=L
3017 else
3018 as_ls_L_option=
3019 fi
3020 as_test_x='
3021 eval sh -c '\''
3022 if test -d "$1"; then
3023 test -d "$1/.";
3024 else
3025 case $1 in #(
3026 -*)set "./$1";;
3027 esac;
3028 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3029 ???[sx]*):;;*)false;;esac;fi
3030 '\'' sh
3031 '
3032 fi
3033 as_executable_p=$as_test_x
3034
3035 # Sed expression to map a string onto a valid CPP name.
3036 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3037
3038 # Sed expression to map a string onto a valid variable name.
3039 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3040
3041
3042 exec 6>&1
3043 ## ----------------------------------- ##
3044 ## Main body of $CONFIG_STATUS script. ##
3045 ## ----------------------------------- ##
3046 _ASEOF
3047 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3048
3049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3050 # Save the log message, to keep $0 and so on meaningful, and to
3051 # report actual input values of CONFIG_FILES etc. instead of their
3052 # values after options handling.
3053 ac_log="
3054 This file was extended by $as_me, which was
3055 generated by GNU Autoconf 2.64. Invocation command line was
3056
3057 CONFIG_FILES = $CONFIG_FILES
3058 CONFIG_HEADERS = $CONFIG_HEADERS
3059 CONFIG_LINKS = $CONFIG_LINKS
3060 CONFIG_COMMANDS = $CONFIG_COMMANDS
3061 $ $0 $@
3062
3063 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3064 "
3065
3066 _ACEOF
3067
3068 case $ac_config_files in *"
3069 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3070 esac
3071
3072
3073
3074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3075 # Files that config.status was made for.
3076 config_files="$ac_config_files"
3077
3078 _ACEOF
3079
3080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3081 ac_cs_usage="\
3082 \`$as_me' instantiates files and other configuration actions
3083 from templates according to the current configuration. Unless the files
3084 and actions are specified as TAGs, all are instantiated by default.
3085
3086 Usage: $0 [OPTION]... [TAG]...
3087
3088 -h, --help print this help, then exit
3089 -V, --version print version number and configuration settings, then exit
3090 -q, --quiet, --silent
3091 do not print progress messages
3092 -d, --debug don't remove temporary files
3093 --recheck update $as_me by reconfiguring in the same conditions
3094 --file=FILE[:TEMPLATE]
3095 instantiate the configuration file FILE
3096
3097 Configuration files:
3098 $config_files
3099
3100 Report bugs to the package provider."
3101
3102 _ACEOF
3103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3104 ac_cs_version="\\
3105 config.status
3106 configured by $0, generated by GNU Autoconf 2.64,
3107 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3108
3109 Copyright (C) 2009 Free Software Foundation, Inc.
3110 This config.status script is free software; the Free Software Foundation
3111 gives unlimited permission to copy, distribute and modify it."
3112
3113 ac_pwd='$ac_pwd'
3114 srcdir='$srcdir'
3115 test -n "\$AWK" || AWK=awk
3116 _ACEOF
3117
3118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3119 # The default lists apply if the user does not specify any file.
3120 ac_need_defaults=:
3121 while test $# != 0
3122 do
3123 case $1 in
3124 --*=*)
3125 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3126 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3127 ac_shift=:
3128 ;;
3129 *)
3130 ac_option=$1
3131 ac_optarg=$2
3132 ac_shift=shift
3133 ;;
3134 esac
3135
3136 case $ac_option in
3137 # Handling of the options.
3138 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3139 ac_cs_recheck=: ;;
3140 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3141 $as_echo "$ac_cs_version"; exit ;;
3142 --debug | --debu | --deb | --de | --d | -d )
3143 debug=: ;;
3144 --file | --fil | --fi | --f )
3145 $ac_shift
3146 case $ac_optarg in
3147 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3148 esac
3149 as_fn_append CONFIG_FILES " '$ac_optarg'"
3150 ac_need_defaults=false;;
3151 --he | --h | --help | --hel | -h )
3152 $as_echo "$ac_cs_usage"; exit ;;
3153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3154 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3155 ac_cs_silent=: ;;
3156
3157 # This is an error.
3158 -*) as_fn_error "unrecognized option: \`$1'
3159 Try \`$0 --help' for more information." ;;
3160
3161 *) as_fn_append ac_config_targets " $1"
3162 ac_need_defaults=false ;;
3163
3164 esac
3165 shift
3166 done
3167
3168 ac_configure_extra_args=
3169
3170 if $ac_cs_silent; then
3171 exec 6>/dev/null
3172 ac_configure_extra_args="$ac_configure_extra_args --silent"
3173 fi
3174
3175 _ACEOF
3176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3177 if \$ac_cs_recheck; then
3178 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3179 shift
3180 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3181 CONFIG_SHELL='$SHELL'
3182 export CONFIG_SHELL
3183 exec "\$@"
3184 fi
3185
3186 _ACEOF
3187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3188 exec 5>>config.log
3189 {
3190 echo
3191 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3192 ## Running $as_me. ##
3193 _ASBOX
3194 $as_echo "$ac_log"
3195 } >&5
3196
3197 _ACEOF
3198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3199 _ACEOF
3200
3201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3202
3203 # Handling of arguments.
3204 for ac_config_target in $ac_config_targets
3205 do
3206 case $ac_config_target in
3207 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3208
3209 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3210 esac
3211 done
3212
3213
3214 # If the user did not use the arguments to specify the items to instantiate,
3215 # then the envvar interface is used. Set only those that are not.
3216 # We use the long form for the default assignment because of an extremely
3217 # bizarre bug on SunOS 4.1.3.
3218 if $ac_need_defaults; then
3219 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3220 fi
3221
3222 # Have a temporary directory for convenience. Make it in the build tree
3223 # simply because there is no reason against having it here, and in addition,
3224 # creating and moving files from /tmp can sometimes cause problems.
3225 # Hook for its removal unless debugging.
3226 # Note that there is a small window in which the directory will not be cleaned:
3227 # after its creation but before its name has been assigned to `$tmp'.
3228 $debug ||
3229 {
3230 tmp=
3231 trap 'exit_status=$?
3232 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3233 ' 0
3234 trap 'as_fn_exit 1' 1 2 13 15
3235 }
3236 # Create a (secure) tmp directory for tmp files.
3237
3238 {
3239 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3240 test -n "$tmp" && test -d "$tmp"
3241 } ||
3242 {
3243 tmp=./conf$$-$RANDOM
3244 (umask 077 && mkdir "$tmp")
3245 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3246
3247 # Set up the scripts for CONFIG_FILES section.
3248 # No need to generate them if there are no CONFIG_FILES.
3249 # This happens for instance with `./config.status config.h'.
3250 if test -n "$CONFIG_FILES"; then
3251
3252
3253 ac_cr=`echo X | tr X '\015'`
3254 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3255 # But we know of no other shell where ac_cr would be empty at this
3256 # point, so we can use a bashism as a fallback.
3257 if test "x$ac_cr" = x; then
3258 eval ac_cr=\$\'\\r\'
3259 fi
3260 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3261 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3262 ac_cs_awk_cr='\r'
3263 else
3264 ac_cs_awk_cr=$ac_cr
3265 fi
3266
3267 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3268 _ACEOF
3269
3270
3271 {
3272 echo "cat >conf$$subs.awk <<_ACEOF" &&
3273 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3274 echo "_ACEOF"
3275 } >conf$$subs.sh ||
3276 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3277 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3278 ac_delim='%!_!# '
3279 for ac_last_try in false false false false false :; do
3280 . ./conf$$subs.sh ||
3281 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3282
3283 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3284 if test $ac_delim_n = $ac_delim_num; then
3285 break
3286 elif $ac_last_try; then
3287 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3288 else
3289 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3290 fi
3291 done
3292 rm -f conf$$subs.sh
3293
3294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3295 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3296 _ACEOF
3297 sed -n '
3298 h
3299 s/^/S["/; s/!.*/"]=/
3300 p
3301 g
3302 s/^[^!]*!//
3303 :repl
3304 t repl
3305 s/'"$ac_delim"'$//
3306 t delim
3307 :nl
3308 h
3309 s/\(.\{148\}\).*/\1/
3310 t more1
3311 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3312 p
3313 n
3314 b repl
3315 :more1
3316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3317 p
3318 g
3319 s/.\{148\}//
3320 t nl
3321 :delim
3322 h
3323 s/\(.\{148\}\).*/\1/
3324 t more2
3325 s/["\\]/\\&/g; s/^/"/; s/$/"/
3326 p
3327 b
3328 :more2
3329 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3330 p
3331 g
3332 s/.\{148\}//
3333 t delim
3334 ' <conf$$subs.awk | sed '
3335 /^[^""]/{
3336 N
3337 s/\n//
3338 }
3339 ' >>$CONFIG_STATUS || ac_write_fail=1
3340 rm -f conf$$subs.awk
3341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3342 _ACAWK
3343 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3344 for (key in S) S_is_set[key] = 1
3345 FS = "\a"
3346
3347 }
3348 {
3349 line = $ 0
3350 nfields = split(line, field, "@")
3351 substed = 0
3352 len = length(field[1])
3353 for (i = 2; i < nfields; i++) {
3354 key = field[i]
3355 keylen = length(key)
3356 if (S_is_set[key]) {
3357 value = S[key]
3358 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3359 len += length(value) + length(field[++i])
3360 substed = 1
3361 } else
3362 len += 1 + keylen
3363 }
3364
3365 print line
3366 }
3367
3368 _ACAWK
3369 _ACEOF
3370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3371 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3372 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3373 else
3374 cat
3375 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3376 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3377 _ACEOF
3378
3379 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3380 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3381 # trailing colons and then remove the whole line if VPATH becomes empty
3382 # (actually we leave an empty line to preserve line numbers).
3383 if test "x$srcdir" = x.; then
3384 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3385 s/:*\$(srcdir):*/:/
3386 s/:*\${srcdir}:*/:/
3387 s/:*@srcdir@:*/:/
3388 s/^\([^=]*=[ ]*\):*/\1/
3389 s/:*$//
3390 s/^[^=]*=[ ]*$//
3391 }'
3392 fi
3393
3394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3395 fi # test -n "$CONFIG_FILES"
3396
3397
3398 eval set X " :F $CONFIG_FILES "
3399 shift
3400 for ac_tag
3401 do
3402 case $ac_tag in
3403 :[FHLC]) ac_mode=$ac_tag; continue;;
3404 esac
3405 case $ac_mode$ac_tag in
3406 :[FHL]*:*);;
3407 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3408 :[FH]-) ac_tag=-:-;;
3409 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3410 esac
3411 ac_save_IFS=$IFS
3412 IFS=:
3413 set x $ac_tag
3414 IFS=$ac_save_IFS
3415 shift
3416 ac_file=$1
3417 shift
3418
3419 case $ac_mode in
3420 :L) ac_source=$1;;
3421 :[FH])
3422 ac_file_inputs=
3423 for ac_f
3424 do
3425 case $ac_f in
3426 -) ac_f="$tmp/stdin";;
3427 *) # Look for the file first in the build tree, then in the source tree
3428 # (if the path is not absolute). The absolute path cannot be DOS-style,
3429 # because $ac_f cannot contain `:'.
3430 test -f "$ac_f" ||
3431 case $ac_f in
3432 [\\/$]*) false;;
3433 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3434 esac ||
3435 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3436 esac
3437 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3438 as_fn_append ac_file_inputs " '$ac_f'"
3439 done
3440
3441 # Let's still pretend it is `configure' which instantiates (i.e., don't
3442 # use $as_me), people would be surprised to read:
3443 # /* config.h. Generated by config.status. */
3444 configure_input='Generated from '`
3445 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3446 `' by configure.'
3447 if test x"$ac_file" != x-; then
3448 configure_input="$ac_file. $configure_input"
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3450 $as_echo "$as_me: creating $ac_file" >&6;}
3451 fi
3452 # Neutralize special characters interpreted by sed in replacement strings.
3453 case $configure_input in #(
3454 *\&* | *\|* | *\\* )
3455 ac_sed_conf_input=`$as_echo "$configure_input" |
3456 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3457 *) ac_sed_conf_input=$configure_input;;
3458 esac
3459
3460 case $ac_tag in
3461 *:-:* | *:-) cat >"$tmp/stdin" \
3462 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3463 esac
3464 ;;
3465 esac
3466
3467 ac_dir=`$as_dirname -- "$ac_file" ||
3468 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3469 X"$ac_file" : 'X\(//\)[^/]' \| \
3470 X"$ac_file" : 'X\(//\)$' \| \
3471 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3472 $as_echo X"$ac_file" |
3473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3474 s//\1/
3475 q
3476 }
3477 /^X\(\/\/\)[^/].*/{
3478 s//\1/
3479 q
3480 }
3481 /^X\(\/\/\)$/{
3482 s//\1/
3483 q
3484 }
3485 /^X\(\/\).*/{
3486 s//\1/
3487 q
3488 }
3489 s/.*/./; q'`
3490 as_dir="$ac_dir"; as_fn_mkdir_p
3491 ac_builddir=.
3492
3493 case "$ac_dir" in
3494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3495 *)
3496 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3497 # A ".." for each directory in $ac_dir_suffix.
3498 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3499 case $ac_top_builddir_sub in
3500 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3501 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3502 esac ;;
3503 esac
3504 ac_abs_top_builddir=$ac_pwd
3505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3506 # for backward compatibility:
3507 ac_top_builddir=$ac_top_build_prefix
3508
3509 case $srcdir in
3510 .) # We are building in place.
3511 ac_srcdir=.
3512 ac_top_srcdir=$ac_top_builddir_sub
3513 ac_abs_top_srcdir=$ac_pwd ;;
3514 [\\/]* | ?:[\\/]* ) # Absolute name.
3515 ac_srcdir=$srcdir$ac_dir_suffix;
3516 ac_top_srcdir=$srcdir
3517 ac_abs_top_srcdir=$srcdir ;;
3518 *) # Relative name.
3519 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3520 ac_top_srcdir=$ac_top_build_prefix$srcdir
3521 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3522 esac
3523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3524
3525
3526 case $ac_mode in
3527 :F)
3528 #
3529 # CONFIG_FILE
3530 #
3531
3532 _ACEOF
3533
3534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3535 # If the template does not know about datarootdir, expand it.
3536 # FIXME: This hack should be removed a few years after 2.60.
3537 ac_datarootdir_hack=; ac_datarootdir_seen=
3538 ac_sed_dataroot='
3539 /datarootdir/ {
3540 p
3541 q
3542 }
3543 /@datadir@/p
3544 /@docdir@/p
3545 /@infodir@/p
3546 /@localedir@/p
3547 /@mandir@/p'
3548 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3549 *datarootdir*) ac_datarootdir_seen=yes;;
3550 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3552 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3553 _ACEOF
3554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3555 ac_datarootdir_hack='
3556 s&@datadir@&$datadir&g
3557 s&@docdir@&$docdir&g
3558 s&@infodir@&$infodir&g
3559 s&@localedir@&$localedir&g
3560 s&@mandir@&$mandir&g
3561 s&\\\${datarootdir}&$datarootdir&g' ;;
3562 esac
3563 _ACEOF
3564
3565 # Neutralize VPATH when `$srcdir' = `.'.
3566 # Shell code in configure.ac might set extrasub.
3567 # FIXME: do we really want to maintain this feature?
3568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3569 ac_sed_extra="$ac_vpsub
3570 $extrasub
3571 _ACEOF
3572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3573 :t
3574 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3575 s|@configure_input@|$ac_sed_conf_input|;t t
3576 s&@top_builddir@&$ac_top_builddir_sub&;t t
3577 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3578 s&@srcdir@&$ac_srcdir&;t t
3579 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3580 s&@top_srcdir@&$ac_top_srcdir&;t t
3581 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3582 s&@builddir@&$ac_builddir&;t t
3583 s&@abs_builddir@&$ac_abs_builddir&;t t
3584 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3585 $ac_datarootdir_hack
3586 "
3587 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3588 || as_fn_error "could not create $ac_file" "$LINENO" 5
3589
3590 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3591 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3592 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3594 which seems to be undefined. Please make sure it is defined." >&5
3595 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3596 which seems to be undefined. Please make sure it is defined." >&2;}
3597
3598 rm -f "$tmp/stdin"
3599 case $ac_file in
3600 -) cat "$tmp/out" && rm -f "$tmp/out";;
3601 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3602 esac \
3603 || as_fn_error "could not create $ac_file" "$LINENO" 5
3604 ;;
3605
3606
3607
3608 esac
3609
3610 done # for ac_tag
3611
3612
3613 as_fn_exit 0
3614 _ACEOF
3615 ac_clean_files=$ac_clean_files_save
3616
3617 test $ac_write_fail = 0 ||
3618 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3619
3620
3621 # configure is writing to config.log, and then calls config.status.
3622 # config.status does its own redirection, appending to config.log.
3623 # Unfortunately, on DOS this fails, as config.log is still kept open
3624 # by configure, so config.status won't be able to write to it; its
3625 # output is simply discarded. So we exec the FD to /dev/null,
3626 # effectively closing config.log, so it can be properly (re)opened and
3627 # appended to by config.status. When coming back to configure, we
3628 # need to make the FD available again.
3629 if test "$no_create" != yes; then
3630 ac_cs_success=:
3631 ac_config_status_args=
3632 test "$silent" = yes &&
3633 ac_config_status_args="$ac_config_status_args --quiet"
3634 exec 5>/dev/null
3635 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3636 exec 5>>config.log
3637 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3638 # would make configure fail if this is the last instruction.
3639 $ac_cs_success || as_fn_exit $?
3640 fi
3641 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3643 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3644 fi
3645