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