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