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