[PATCH 26/57][Arm][GAS] Add support for MVE instructions: vpnot and vpsel
[binutils-gdb.git] / sim / configure
blobca3fd673ab60673ff2e611686a89ad2eb9d6edbd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="Makefile.in"
585 enable_option_checking=no
586 ac_subst_vars='LTLIBOBJS
587 LIBOBJS
588 sim_arch
589 subdirs
590 CFLAGS_FOR_BUILD
591 CC_FOR_BUILD
592 HDEFINES
593 target_os
594 target_vendor
595 target_cpu
596 target
597 host_os
598 host_vendor
599 host_cpu
600 host
601 build_os
602 build_vendor
603 build_cpu
604 build
605 RANLIB
607 INSTALL_DATA
608 INSTALL_SCRIPT
609 INSTALL_PROGRAM
610 OBJEXT
611 EXEEXT
612 ac_ct_CC
613 CPPFLAGS
614 LDFLAGS
615 CFLAGS
617 target_alias
618 host_alias
619 build_alias
620 LIBS
621 ECHO_T
622 ECHO_N
623 ECHO_C
624 DEFS
625 mandir
626 localedir
627 libdir
628 psdir
629 pdfdir
630 dvidir
631 htmldir
632 infodir
633 docdir
634 oldincludedir
635 includedir
636 localstatedir
637 sharedstatedir
638 sysconfdir
639 datadir
640 datarootdir
641 libexecdir
642 sbindir
643 bindir
644 program_transform_name
645 prefix
646 exec_prefix
647 PACKAGE_URL
648 PACKAGE_BUGREPORT
649 PACKAGE_STRING
650 PACKAGE_VERSION
651 PACKAGE_TARNAME
652 PACKAGE_NAME
653 PATH_SEPARATOR
654 SHELL'
655 ac_subst_files=''
656 ac_user_opts='
657 enable_option_checking
658 enable_sim
660 ac_precious_vars='build_alias
661 host_alias
662 target_alias
664 CFLAGS
665 LDFLAGS
666 LIBS
667 CPPFLAGS'
668 ac_subdirs_all='aarch64
671 bfin
672 cr16
673 cris
674 d10v
676 h8300
677 iq2000
678 lm32
679 m32c
680 m32r
681 m68hc11
682 mcore
683 microblaze
684 mips
685 mn10300
686 moxie
687 msp430
688 or1k
689 rl78
691 sh64
693 erc32
695 ft32
696 v850
697 testsuite
698 igen'
700 # Initialize some variables set by options.
701 ac_init_help=
702 ac_init_version=false
703 ac_unrecognized_opts=
704 ac_unrecognized_sep=
705 # The variables have the same names as the options, with
706 # dashes changed to underlines.
707 cache_file=/dev/null
708 exec_prefix=NONE
709 no_create=
710 no_recursion=
711 prefix=NONE
712 program_prefix=NONE
713 program_suffix=NONE
714 program_transform_name=s,x,x,
715 silent=
716 site=
717 srcdir=
718 verbose=
719 x_includes=NONE
720 x_libraries=NONE
722 # Installation directory options.
723 # These are left unexpanded so users can "make install exec_prefix=/foo"
724 # and all the variables that are supposed to be based on exec_prefix
725 # by default will actually change.
726 # Use braces instead of parens because sh, perl, etc. also accept them.
727 # (The list follows the same order as the GNU Coding Standards.)
728 bindir='${exec_prefix}/bin'
729 sbindir='${exec_prefix}/sbin'
730 libexecdir='${exec_prefix}/libexec'
731 datarootdir='${prefix}/share'
732 datadir='${datarootdir}'
733 sysconfdir='${prefix}/etc'
734 sharedstatedir='${prefix}/com'
735 localstatedir='${prefix}/var'
736 includedir='${prefix}/include'
737 oldincludedir='/usr/include'
738 docdir='${datarootdir}/doc/${PACKAGE}'
739 infodir='${datarootdir}/info'
740 htmldir='${docdir}'
741 dvidir='${docdir}'
742 pdfdir='${docdir}'
743 psdir='${docdir}'
744 libdir='${exec_prefix}/lib'
745 localedir='${datarootdir}/locale'
746 mandir='${datarootdir}/man'
748 ac_prev=
749 ac_dashdash=
750 for ac_option
752 # If the previous option needs an argument, assign it.
753 if test -n "$ac_prev"; then
754 eval $ac_prev=\$ac_option
755 ac_prev=
756 continue
759 case $ac_option in
760 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 *=) ac_optarg= ;;
762 *) ac_optarg=yes ;;
763 esac
765 # Accept the important Cygnus configure options, so we can diagnose typos.
767 case $ac_dashdash$ac_option in
769 ac_dashdash=yes ;;
771 -bindir | --bindir | --bindi | --bind | --bin | --bi)
772 ac_prev=bindir ;;
773 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
774 bindir=$ac_optarg ;;
776 -build | --build | --buil | --bui | --bu)
777 ac_prev=build_alias ;;
778 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
779 build_alias=$ac_optarg ;;
781 -cache-file | --cache-file | --cache-fil | --cache-fi \
782 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
783 ac_prev=cache_file ;;
784 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
785 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
786 cache_file=$ac_optarg ;;
788 --config-cache | -C)
789 cache_file=config.cache ;;
791 -datadir | --datadir | --datadi | --datad)
792 ac_prev=datadir ;;
793 -datadir=* | --datadir=* | --datadi=* | --datad=*)
794 datadir=$ac_optarg ;;
796 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
797 | --dataroo | --dataro | --datar)
798 ac_prev=datarootdir ;;
799 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
800 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
801 datarootdir=$ac_optarg ;;
803 -disable-* | --disable-*)
804 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
807 as_fn_error $? "invalid feature name: $ac_useropt"
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
812 "enable_$ac_useropt"
813 "*) ;;
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
816 esac
817 eval enable_$ac_useropt=no ;;
819 -docdir | --docdir | --docdi | --doc | --do)
820 ac_prev=docdir ;;
821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
822 docdir=$ac_optarg ;;
824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
825 ac_prev=dvidir ;;
826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
827 dvidir=$ac_optarg ;;
829 -enable-* | --enable-*)
830 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
833 as_fn_error $? "invalid feature name: $ac_useropt"
834 ac_useropt_orig=$ac_useropt
835 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
836 case $ac_user_opts in
838 "enable_$ac_useropt"
839 "*) ;;
840 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
841 ac_unrecognized_sep=', ';;
842 esac
843 eval enable_$ac_useropt=\$ac_optarg ;;
845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
847 | --exec | --exe | --ex)
848 ac_prev=exec_prefix ;;
849 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
850 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
851 | --exec=* | --exe=* | --ex=*)
852 exec_prefix=$ac_optarg ;;
854 -gas | --gas | --ga | --g)
855 # Obsolete; use --with-gas.
856 with_gas=yes ;;
858 -help | --help | --hel | --he | -h)
859 ac_init_help=long ;;
860 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
861 ac_init_help=recursive ;;
862 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
863 ac_init_help=short ;;
865 -host | --host | --hos | --ho)
866 ac_prev=host_alias ;;
867 -host=* | --host=* | --hos=* | --ho=*)
868 host_alias=$ac_optarg ;;
870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
871 ac_prev=htmldir ;;
872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
873 | --ht=*)
874 htmldir=$ac_optarg ;;
876 -includedir | --includedir | --includedi | --included | --include \
877 | --includ | --inclu | --incl | --inc)
878 ac_prev=includedir ;;
879 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
880 | --includ=* | --inclu=* | --incl=* | --inc=*)
881 includedir=$ac_optarg ;;
883 -infodir | --infodir | --infodi | --infod | --info | --inf)
884 ac_prev=infodir ;;
885 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
886 infodir=$ac_optarg ;;
888 -libdir | --libdir | --libdi | --libd)
889 ac_prev=libdir ;;
890 -libdir=* | --libdir=* | --libdi=* | --libd=*)
891 libdir=$ac_optarg ;;
893 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
894 | --libexe | --libex | --libe)
895 ac_prev=libexecdir ;;
896 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
897 | --libexe=* | --libex=* | --libe=*)
898 libexecdir=$ac_optarg ;;
900 -localedir | --localedir | --localedi | --localed | --locale)
901 ac_prev=localedir ;;
902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
903 localedir=$ac_optarg ;;
905 -localstatedir | --localstatedir | --localstatedi | --localstated \
906 | --localstate | --localstat | --localsta | --localst | --locals)
907 ac_prev=localstatedir ;;
908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
910 localstatedir=$ac_optarg ;;
912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
913 ac_prev=mandir ;;
914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
915 mandir=$ac_optarg ;;
917 -nfp | --nfp | --nf)
918 # Obsolete; use --without-fp.
919 with_fp=no ;;
921 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
922 | --no-cr | --no-c | -n)
923 no_create=yes ;;
925 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
926 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
927 no_recursion=yes ;;
929 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
930 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
931 | --oldin | --oldi | --old | --ol | --o)
932 ac_prev=oldincludedir ;;
933 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
934 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
935 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
936 oldincludedir=$ac_optarg ;;
938 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
939 ac_prev=prefix ;;
940 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
941 prefix=$ac_optarg ;;
943 -program-prefix | --program-prefix | --program-prefi | --program-pref \
944 | --program-pre | --program-pr | --program-p)
945 ac_prev=program_prefix ;;
946 -program-prefix=* | --program-prefix=* | --program-prefi=* \
947 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
948 program_prefix=$ac_optarg ;;
950 -program-suffix | --program-suffix | --program-suffi | --program-suff \
951 | --program-suf | --program-su | --program-s)
952 ac_prev=program_suffix ;;
953 -program-suffix=* | --program-suffix=* | --program-suffi=* \
954 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
955 program_suffix=$ac_optarg ;;
957 -program-transform-name | --program-transform-name \
958 | --program-transform-nam | --program-transform-na \
959 | --program-transform-n | --program-transform- \
960 | --program-transform | --program-transfor \
961 | --program-transfo | --program-transf \
962 | --program-trans | --program-tran \
963 | --progr-tra | --program-tr | --program-t)
964 ac_prev=program_transform_name ;;
965 -program-transform-name=* | --program-transform-name=* \
966 | --program-transform-nam=* | --program-transform-na=* \
967 | --program-transform-n=* | --program-transform-=* \
968 | --program-transform=* | --program-transfor=* \
969 | --program-transfo=* | --program-transf=* \
970 | --program-trans=* | --program-tran=* \
971 | --progr-tra=* | --program-tr=* | --program-t=*)
972 program_transform_name=$ac_optarg ;;
974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
975 ac_prev=pdfdir ;;
976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
977 pdfdir=$ac_optarg ;;
979 -psdir | --psdir | --psdi | --psd | --ps)
980 ac_prev=psdir ;;
981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
982 psdir=$ac_optarg ;;
984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
985 | -silent | --silent | --silen | --sile | --sil)
986 silent=yes ;;
988 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
989 ac_prev=sbindir ;;
990 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
991 | --sbi=* | --sb=*)
992 sbindir=$ac_optarg ;;
994 -sharedstatedir | --sharedstatedir | --sharedstatedi \
995 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
996 | --sharedst | --shareds | --shared | --share | --shar \
997 | --sha | --sh)
998 ac_prev=sharedstatedir ;;
999 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1000 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1001 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1002 | --sha=* | --sh=*)
1003 sharedstatedir=$ac_optarg ;;
1005 -site | --site | --sit)
1006 ac_prev=site ;;
1007 -site=* | --site=* | --sit=*)
1008 site=$ac_optarg ;;
1010 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1011 ac_prev=srcdir ;;
1012 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1013 srcdir=$ac_optarg ;;
1015 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1016 | --syscon | --sysco | --sysc | --sys | --sy)
1017 ac_prev=sysconfdir ;;
1018 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1019 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1020 sysconfdir=$ac_optarg ;;
1022 -target | --target | --targe | --targ | --tar | --ta | --t)
1023 ac_prev=target_alias ;;
1024 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1025 target_alias=$ac_optarg ;;
1027 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1028 verbose=yes ;;
1030 -version | --version | --versio | --versi | --vers | -V)
1031 ac_init_version=: ;;
1033 -with-* | --with-*)
1034 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037 as_fn_error $? "invalid package name: $ac_useropt"
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1042 "with_$ac_useropt"
1043 "*) ;;
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1046 esac
1047 eval with_$ac_useropt=\$ac_optarg ;;
1049 -without-* | --without-*)
1050 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053 as_fn_error $? "invalid package name: $ac_useropt"
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1058 "with_$ac_useropt"
1059 "*) ;;
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1062 esac
1063 eval with_$ac_useropt=no ;;
1065 --x)
1066 # Obsolete; use --with-x.
1067 with_x=yes ;;
1069 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1070 | --x-incl | --x-inc | --x-in | --x-i)
1071 ac_prev=x_includes ;;
1072 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1073 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1074 x_includes=$ac_optarg ;;
1076 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1077 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1078 ac_prev=x_libraries ;;
1079 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1080 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1081 x_libraries=$ac_optarg ;;
1083 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1084 Try \`$0 --help' for more information"
1087 *=*)
1088 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1089 # Reject names that are not valid shell variable names.
1090 case $ac_envvar in #(
1091 '' | [0-9]* | *[!_$as_cr_alnum]* )
1092 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1093 esac
1094 eval $ac_envvar=\$ac_optarg
1095 export $ac_envvar ;;
1098 # FIXME: should be removed in autoconf 3.0.
1099 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1102 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1105 esac
1106 done
1108 if test -n "$ac_prev"; then
1109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1110 as_fn_error $? "missing argument to $ac_option"
1113 if test -n "$ac_unrecognized_opts"; then
1114 case $enable_option_checking in
1115 no) ;;
1116 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1117 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1118 esac
1121 # Check all directory arguments for consistency.
1122 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1123 datadir sysconfdir sharedstatedir localstatedir includedir \
1124 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1125 libdir localedir mandir
1127 eval ac_val=\$$ac_var
1128 # Remove trailing slashes.
1129 case $ac_val in
1130 */ )
1131 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1132 eval $ac_var=\$ac_val;;
1133 esac
1134 # Be sure to have absolute directory names.
1135 case $ac_val in
1136 [\\/$]* | ?:[\\/]* ) continue;;
1137 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1138 esac
1139 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1140 done
1142 # There might be people who depend on the old broken behavior: `$host'
1143 # used to hold the argument of --host etc.
1144 # FIXME: To remove some day.
1145 build=$build_alias
1146 host=$host_alias
1147 target=$target_alias
1149 # FIXME: To remove some day.
1150 if test "x$host_alias" != x; then
1151 if test "x$build_alias" = x; then
1152 cross_compiling=maybe
1153 elif test "x$build_alias" != "x$host_alias"; then
1154 cross_compiling=yes
1158 ac_tool_prefix=
1159 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1161 test "$silent" = yes && exec 6>/dev/null
1164 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1165 ac_ls_di=`ls -di .` &&
1166 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1167 as_fn_error $? "working directory cannot be determined"
1168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 as_fn_error $? "pwd does not report name of working directory"
1172 # Find the source files, if location was not specified.
1173 if test -z "$srcdir"; then
1174 ac_srcdir_defaulted=yes
1175 # Try the directory containing this script, then the parent directory.
1176 ac_confdir=`$as_dirname -- "$as_myself" ||
1177 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1178 X"$as_myself" : 'X\(//\)[^/]' \| \
1179 X"$as_myself" : 'X\(//\)$' \| \
1180 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1181 $as_echo X"$as_myself" |
1182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 s//\1/
1186 /^X\(\/\/\)[^/].*/{
1187 s//\1/
1190 /^X\(\/\/\)$/{
1191 s//\1/
1194 /^X\(\/\).*/{
1195 s//\1/
1198 s/.*/./; q'`
1199 srcdir=$ac_confdir
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 srcdir=..
1203 else
1204 ac_srcdir_defaulted=no
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1208 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1211 ac_abs_confdir=`(
1212 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1213 pwd)`
1214 # When building in place, set srcdir=.
1215 if test "$ac_abs_confdir" = "$ac_pwd"; then
1216 srcdir=.
1218 # Remove unnecessary trailing slashes from srcdir.
1219 # Double slashes in file names in object file debugging info
1220 # mess up M-x gdb in Emacs.
1221 case $srcdir in
1222 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223 esac
1224 for ac_var in $ac_precious_vars; do
1225 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1226 eval ac_env_${ac_var}_value=\$${ac_var}
1227 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1228 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1229 done
1232 # Report the --help message.
1234 if test "$ac_init_help" = "long"; then
1235 # Omit some internal or obsolete options to make the list less imposing.
1236 # This message is too long to be a string in the A/UX 3.1 sh.
1237 cat <<_ACEOF
1238 \`configure' configures this package to adapt to many kinds of systems.
1240 Usage: $0 [OPTION]... [VAR=VALUE]...
1242 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1243 VAR=VALUE. See below for descriptions of some of the useful variables.
1245 Defaults for the options are specified in brackets.
1247 Configuration:
1248 -h, --help display this help and exit
1249 --help=short display options specific to this package
1250 --help=recursive display the short help of all the included packages
1251 -V, --version display version information and exit
1252 -q, --quiet, --silent do not print \`checking ...' messages
1253 --cache-file=FILE cache test results in FILE [disabled]
1254 -C, --config-cache alias for \`--cache-file=config.cache'
1255 -n, --no-create do not create output files
1256 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1258 Installation directories:
1259 --prefix=PREFIX install architecture-independent files in PREFIX
1260 [$ac_default_prefix]
1261 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1262 [PREFIX]
1264 By default, \`make install' will install all the files in
1265 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1266 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1267 for instance \`--prefix=\$HOME'.
1269 For better control, use the options below.
1271 Fine tuning of the installation directories:
1272 --bindir=DIR user executables [EPREFIX/bin]
1273 --sbindir=DIR system admin executables [EPREFIX/sbin]
1274 --libexecdir=DIR program executables [EPREFIX/libexec]
1275 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1276 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1277 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1278 --libdir=DIR object code libraries [EPREFIX/lib]
1279 --includedir=DIR C header files [PREFIX/include]
1280 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1281 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1282 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1283 --infodir=DIR info documentation [DATAROOTDIR/info]
1284 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1285 --mandir=DIR man documentation [DATAROOTDIR/man]
1286 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1287 --htmldir=DIR html documentation [DOCDIR]
1288 --dvidir=DIR dvi documentation [DOCDIR]
1289 --pdfdir=DIR pdf documentation [DOCDIR]
1290 --psdir=DIR ps documentation [DOCDIR]
1291 _ACEOF
1293 cat <<\_ACEOF
1295 Program names:
1296 --program-prefix=PREFIX prepend PREFIX to installed program names
1297 --program-suffix=SUFFIX append SUFFIX to installed program names
1298 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1300 System types:
1301 --build=BUILD configure for building on BUILD [guessed]
1302 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1303 --target=TARGET configure for building compilers for TARGET [HOST]
1304 _ACEOF
1307 if test -n "$ac_init_help"; then
1309 cat <<\_ACEOF
1311 Optional Features:
1312 --disable-option-checking ignore unrecognized --enable/--with options
1313 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1314 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1315 --enable-sim Enable the GNU simulator
1317 Some influential environment variables:
1318 CC C compiler command
1319 CFLAGS C compiler flags
1320 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1321 nonstandard directory <lib dir>
1322 LIBS libraries to pass to the linker, e.g. -l<library>
1323 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1324 you have headers in a nonstandard directory <include dir>
1326 Use these variables to override the choices made by `configure' or to help
1327 it to find libraries and programs with nonstandard names/locations.
1329 Report bugs to the package provider.
1330 _ACEOF
1331 ac_status=$?
1334 if test "$ac_init_help" = "recursive"; then
1335 # If there are subdirs, report their specific --help.
1336 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1337 test -d "$ac_dir" ||
1338 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1339 continue
1340 ac_builddir=.
1342 case "$ac_dir" in
1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1346 # A ".." for each directory in $ac_dir_suffix.
1347 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1348 case $ac_top_builddir_sub in
1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1351 esac ;;
1352 esac
1353 ac_abs_top_builddir=$ac_pwd
1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1355 # for backward compatibility:
1356 ac_top_builddir=$ac_top_build_prefix
1358 case $srcdir in
1359 .) # We are building in place.
1360 ac_srcdir=.
1361 ac_top_srcdir=$ac_top_builddir_sub
1362 ac_abs_top_srcdir=$ac_pwd ;;
1363 [\\/]* | ?:[\\/]* ) # Absolute name.
1364 ac_srcdir=$srcdir$ac_dir_suffix;
1365 ac_top_srcdir=$srcdir
1366 ac_abs_top_srcdir=$srcdir ;;
1367 *) # Relative name.
1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1369 ac_top_srcdir=$ac_top_build_prefix$srcdir
1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1371 esac
1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1374 cd "$ac_dir" || { ac_status=$?; continue; }
1375 # Check for guested configure.
1376 if test -f "$ac_srcdir/configure.gnu"; then
1377 echo &&
1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1379 elif test -f "$ac_srcdir/configure"; then
1380 echo &&
1381 $SHELL "$ac_srcdir/configure" --help=recursive
1382 else
1383 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1384 fi || ac_status=$?
1385 cd "$ac_pwd" || { ac_status=$?; break; }
1386 done
1389 test -n "$ac_init_help" && exit $ac_status
1390 if $ac_init_version; then
1391 cat <<\_ACEOF
1392 configure
1393 generated by GNU Autoconf 2.69
1395 Copyright (C) 2012 Free Software Foundation, Inc.
1396 This configure script is free software; the Free Software Foundation
1397 gives unlimited permission to copy, distribute and modify it.
1398 _ACEOF
1399 exit
1402 ## ------------------------ ##
1403 ## Autoconf initialization. ##
1404 ## ------------------------ ##
1406 # ac_fn_c_try_compile LINENO
1407 # --------------------------
1408 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1409 ac_fn_c_try_compile ()
1411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1412 rm -f conftest.$ac_objext
1413 if { { ac_try="$ac_compile"
1414 case "(($ac_try" in
1415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1416 *) ac_try_echo=$ac_try;;
1417 esac
1418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1419 $as_echo "$ac_try_echo"; } >&5
1420 (eval "$ac_compile") 2>conftest.err
1421 ac_status=$?
1422 if test -s conftest.err; then
1423 grep -v '^ *+' conftest.err >conftest.er1
1424 cat conftest.er1 >&5
1425 mv -f conftest.er1 conftest.err
1427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1428 test $ac_status = 0; } && {
1429 test -z "$ac_c_werror_flag" ||
1430 test ! -s conftest.err
1431 } && test -s conftest.$ac_objext; then :
1432 ac_retval=0
1433 else
1434 $as_echo "$as_me: failed program was:" >&5
1435 sed 's/^/| /' conftest.$ac_ext >&5
1437 ac_retval=1
1439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1440 as_fn_set_status $ac_retval
1442 } # ac_fn_c_try_compile
1443 cat >config.log <<_ACEOF
1444 This file contains any messages produced by compilers while
1445 running configure, to aid debugging if configure makes a mistake.
1447 It was created by $as_me, which was
1448 generated by GNU Autoconf 2.69. Invocation command line was
1450 $ $0 $@
1452 _ACEOF
1453 exec 5>>config.log
1455 cat <<_ASUNAME
1456 ## --------- ##
1457 ## Platform. ##
1458 ## --------- ##
1460 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1461 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1462 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1463 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1464 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1466 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1467 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1469 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1470 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1471 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1472 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1473 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1474 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1475 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1477 _ASUNAME
1479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480 for as_dir in $PATH
1482 IFS=$as_save_IFS
1483 test -z "$as_dir" && as_dir=.
1484 $as_echo "PATH: $as_dir"
1485 done
1486 IFS=$as_save_IFS
1488 } >&5
1490 cat >&5 <<_ACEOF
1493 ## ----------- ##
1494 ## Core tests. ##
1495 ## ----------- ##
1497 _ACEOF
1500 # Keep a trace of the command line.
1501 # Strip out --no-create and --no-recursion so they do not pile up.
1502 # Strip out --silent because we don't want to record it for future runs.
1503 # Also quote any args containing shell meta-characters.
1504 # Make two passes to allow for proper duplicate-argument suppression.
1505 ac_configure_args=
1506 ac_configure_args0=
1507 ac_configure_args1=
1508 ac_must_keep_next=false
1509 for ac_pass in 1 2
1511 for ac_arg
1513 case $ac_arg in
1514 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1515 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1516 | -silent | --silent | --silen | --sile | --sil)
1517 continue ;;
1518 *\'*)
1519 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1520 esac
1521 case $ac_pass in
1522 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1524 as_fn_append ac_configure_args1 " '$ac_arg'"
1525 if test $ac_must_keep_next = true; then
1526 ac_must_keep_next=false # Got value, back to normal.
1527 else
1528 case $ac_arg in
1529 *=* | --config-cache | -C | -disable-* | --disable-* \
1530 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1531 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1532 | -with-* | --with-* | -without-* | --without-* | --x)
1533 case "$ac_configure_args0 " in
1534 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1535 esac
1537 -* ) ac_must_keep_next=true ;;
1538 esac
1540 as_fn_append ac_configure_args " '$ac_arg'"
1542 esac
1543 done
1544 done
1545 { ac_configure_args0=; unset ac_configure_args0;}
1546 { ac_configure_args1=; unset ac_configure_args1;}
1548 # When interrupted or exit'd, cleanup temporary files, and complete
1549 # config.log. We remove comments because anyway the quotes in there
1550 # would cause problems or look ugly.
1551 # WARNING: Use '\'' to represent an apostrophe within the trap.
1552 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1553 trap 'exit_status=$?
1554 # Save into config.log some information that might help in debugging.
1556 echo
1558 $as_echo "## ---------------- ##
1559 ## Cache variables. ##
1560 ## ---------------- ##"
1561 echo
1562 # The following way of writing the cache mishandles newlines in values,
1564 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1565 eval ac_val=\$$ac_var
1566 case $ac_val in #(
1567 *${as_nl}*)
1568 case $ac_var in #(
1569 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1570 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1571 esac
1572 case $ac_var in #(
1573 _ | IFS | as_nl) ;; #(
1574 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1575 *) { eval $ac_var=; unset $ac_var;} ;;
1576 esac ;;
1577 esac
1578 done
1579 (set) 2>&1 |
1580 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1581 *${as_nl}ac_space=\ *)
1582 sed -n \
1583 "s/'\''/'\''\\\\'\'''\''/g;
1584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1585 ;; #(
1587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1589 esac |
1590 sort
1592 echo
1594 $as_echo "## ----------------- ##
1595 ## Output variables. ##
1596 ## ----------------- ##"
1597 echo
1598 for ac_var in $ac_subst_vars
1600 eval ac_val=\$$ac_var
1601 case $ac_val in
1602 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1603 esac
1604 $as_echo "$ac_var='\''$ac_val'\''"
1605 done | sort
1606 echo
1608 if test -n "$ac_subst_files"; then
1609 $as_echo "## ------------------- ##
1610 ## File substitutions. ##
1611 ## ------------------- ##"
1612 echo
1613 for ac_var in $ac_subst_files
1615 eval ac_val=\$$ac_var
1616 case $ac_val in
1617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618 esac
1619 $as_echo "$ac_var='\''$ac_val'\''"
1620 done | sort
1621 echo
1624 if test -s confdefs.h; then
1625 $as_echo "## ----------- ##
1626 ## confdefs.h. ##
1627 ## ----------- ##"
1628 echo
1629 cat confdefs.h
1630 echo
1632 test "$ac_signal" != 0 &&
1633 $as_echo "$as_me: caught signal $ac_signal"
1634 $as_echo "$as_me: exit $exit_status"
1635 } >&5
1636 rm -f core *.core core.conftest.* &&
1637 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1638 exit $exit_status
1640 for ac_signal in 1 2 13 15; do
1641 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1642 done
1643 ac_signal=0
1645 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1646 rm -f -r conftest* confdefs.h
1648 $as_echo "/* confdefs.h */" > confdefs.h
1650 # Predefined preprocessor variables.
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE_NAME "$PACKAGE_NAME"
1654 _ACEOF
1656 cat >>confdefs.h <<_ACEOF
1657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1658 _ACEOF
1660 cat >>confdefs.h <<_ACEOF
1661 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1662 _ACEOF
1664 cat >>confdefs.h <<_ACEOF
1665 #define PACKAGE_STRING "$PACKAGE_STRING"
1666 _ACEOF
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1670 _ACEOF
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_URL "$PACKAGE_URL"
1674 _ACEOF
1677 # Let the site file select an alternate cache file if it wants to.
1678 # Prefer an explicitly selected file to automatically selected ones.
1679 ac_site_file1=NONE
1680 ac_site_file2=NONE
1681 if test -n "$CONFIG_SITE"; then
1682 # We do not want a PATH search for config.site.
1683 case $CONFIG_SITE in #((
1684 -*) ac_site_file1=./$CONFIG_SITE;;
1685 */*) ac_site_file1=$CONFIG_SITE;;
1686 *) ac_site_file1=./$CONFIG_SITE;;
1687 esac
1688 elif test "x$prefix" != xNONE; then
1689 ac_site_file1=$prefix/share/config.site
1690 ac_site_file2=$prefix/etc/config.site
1691 else
1692 ac_site_file1=$ac_default_prefix/share/config.site
1693 ac_site_file2=$ac_default_prefix/etc/config.site
1695 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1697 test "x$ac_site_file" = xNONE && continue
1698 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1700 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1701 sed 's/^/| /' "$ac_site_file" >&5
1702 . "$ac_site_file" \
1703 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1705 as_fn_error $? "failed to load site script $ac_site_file
1706 See \`config.log' for more details" "$LINENO" 5; }
1708 done
1710 if test -r "$cache_file"; then
1711 # Some versions of bash will fail to source /dev/null (special files
1712 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1713 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1715 $as_echo "$as_me: loading cache $cache_file" >&6;}
1716 case $cache_file in
1717 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1718 *) . "./$cache_file";;
1719 esac
1721 else
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1723 $as_echo "$as_me: creating cache $cache_file" >&6;}
1724 >$cache_file
1727 # Check that the precious variables saved in the cache have kept the same
1728 # value.
1729 ac_cache_corrupted=false
1730 for ac_var in $ac_precious_vars; do
1731 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1732 eval ac_new_set=\$ac_env_${ac_var}_set
1733 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1734 eval ac_new_val=\$ac_env_${ac_var}_value
1735 case $ac_old_set,$ac_new_set in
1736 set,)
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1738 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1739 ac_cache_corrupted=: ;;
1740 ,set)
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1742 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1744 ,);;
1746 if test "x$ac_old_val" != "x$ac_new_val"; then
1747 # differences in whitespace do not lead to failure.
1748 ac_old_val_w=`echo x $ac_old_val`
1749 ac_new_val_w=`echo x $ac_new_val`
1750 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1752 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1753 ac_cache_corrupted=:
1754 else
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1756 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1757 eval $ac_var=\$ac_old_val
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1760 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1762 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1763 fi;;
1764 esac
1765 # Pass precious variables to config.status.
1766 if test "$ac_new_set" = set; then
1767 case $ac_new_val in
1768 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1769 *) ac_arg=$ac_var=$ac_new_val ;;
1770 esac
1771 case " $ac_configure_args " in
1772 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1773 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1774 esac
1776 done
1777 if $ac_cache_corrupted; then
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1781 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1782 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1784 ## -------------------- ##
1785 ## Main body of script. ##
1786 ## -------------------- ##
1788 ac_ext=c
1789 ac_cpp='$CPP $CPPFLAGS'
1790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1799 ac_ext=c
1800 ac_cpp='$CPP $CPPFLAGS'
1801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1804 if test -n "$ac_tool_prefix"; then
1805 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1806 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1808 $as_echo_n "checking for $ac_word... " >&6; }
1809 if ${ac_cv_prog_CC+:} false; then :
1810 $as_echo_n "(cached) " >&6
1811 else
1812 if test -n "$CC"; then
1813 ac_cv_prog_CC="$CC" # Let the user override the test.
1814 else
1815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816 for as_dir in $PATH
1818 IFS=$as_save_IFS
1819 test -z "$as_dir" && as_dir=.
1820 for ac_exec_ext in '' $ac_executable_extensions; do
1821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1822 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 break 2
1826 done
1827 done
1828 IFS=$as_save_IFS
1832 CC=$ac_cv_prog_CC
1833 if test -n "$CC"; then
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1835 $as_echo "$CC" >&6; }
1836 else
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1838 $as_echo "no" >&6; }
1843 if test -z "$ac_cv_prog_CC"; then
1844 ac_ct_CC=$CC
1845 # Extract the first word of "gcc", so it can be a program name with args.
1846 set dummy gcc; ac_word=$2
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1848 $as_echo_n "checking for $ac_word... " >&6; }
1849 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1850 $as_echo_n "(cached) " >&6
1851 else
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1858 IFS=$as_save_IFS
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_ac_ct_CC="gcc"
1863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 break 2
1866 done
1867 done
1868 IFS=$as_save_IFS
1872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1873 if test -n "$ac_ct_CC"; then
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1875 $as_echo "$ac_ct_CC" >&6; }
1876 else
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1878 $as_echo "no" >&6; }
1881 if test "x$ac_ct_CC" = x; then
1882 CC=""
1883 else
1884 case $cross_compiling:$ac_tool_warned in
1885 yes:)
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1888 ac_tool_warned=yes ;;
1889 esac
1890 CC=$ac_ct_CC
1892 else
1893 CC="$ac_cv_prog_CC"
1896 if test -z "$CC"; then
1897 if test -n "$ac_tool_prefix"; then
1898 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1899 set dummy ${ac_tool_prefix}cc; ac_word=$2
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1901 $as_echo_n "checking for $ac_word... " >&6; }
1902 if ${ac_cv_prog_CC+:} false; then :
1903 $as_echo_n "(cached) " >&6
1904 else
1905 if test -n "$CC"; then
1906 ac_cv_prog_CC="$CC" # Let the user override the test.
1907 else
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 for as_dir in $PATH
1911 IFS=$as_save_IFS
1912 test -z "$as_dir" && as_dir=.
1913 for ac_exec_ext in '' $ac_executable_extensions; do
1914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1915 ac_cv_prog_CC="${ac_tool_prefix}cc"
1916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 break 2
1919 done
1920 done
1921 IFS=$as_save_IFS
1925 CC=$ac_cv_prog_CC
1926 if test -n "$CC"; then
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1928 $as_echo "$CC" >&6; }
1929 else
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1931 $as_echo "no" >&6; }
1937 if test -z "$CC"; then
1938 # Extract the first word of "cc", so it can be a program name with args.
1939 set dummy cc; ac_word=$2
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1941 $as_echo_n "checking for $ac_word... " >&6; }
1942 if ${ac_cv_prog_CC+:} false; then :
1943 $as_echo_n "(cached) " >&6
1944 else
1945 if test -n "$CC"; then
1946 ac_cv_prog_CC="$CC" # Let the user override the test.
1947 else
1948 ac_prog_rejected=no
1949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 for as_dir in $PATH
1952 IFS=$as_save_IFS
1953 test -z "$as_dir" && as_dir=.
1954 for ac_exec_ext in '' $ac_executable_extensions; do
1955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1956 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1957 ac_prog_rejected=yes
1958 continue
1960 ac_cv_prog_CC="cc"
1961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1962 break 2
1964 done
1965 done
1966 IFS=$as_save_IFS
1968 if test $ac_prog_rejected = yes; then
1969 # We found a bogon in the path, so make sure we never use it.
1970 set dummy $ac_cv_prog_CC
1971 shift
1972 if test $# != 0; then
1973 # We chose a different compiler from the bogus one.
1974 # However, it has the same basename, so the bogon will be chosen
1975 # first if we set CC to just the basename; use the full file name.
1976 shift
1977 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1982 CC=$ac_cv_prog_CC
1983 if test -n "$CC"; then
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1985 $as_echo "$CC" >&6; }
1986 else
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1988 $as_echo "no" >&6; }
1993 if test -z "$CC"; then
1994 if test -n "$ac_tool_prefix"; then
1995 for ac_prog in cl.exe
1997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1998 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2000 $as_echo_n "checking for $ac_word... " >&6; }
2001 if ${ac_cv_prog_CC+:} false; then :
2002 $as_echo_n "(cached) " >&6
2003 else
2004 if test -n "$CC"; then
2005 ac_cv_prog_CC="$CC" # Let the user override the test.
2006 else
2007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008 for as_dir in $PATH
2010 IFS=$as_save_IFS
2011 test -z "$as_dir" && as_dir=.
2012 for ac_exec_ext in '' $ac_executable_extensions; do
2013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2014 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 break 2
2018 done
2019 done
2020 IFS=$as_save_IFS
2024 CC=$ac_cv_prog_CC
2025 if test -n "$CC"; then
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2027 $as_echo "$CC" >&6; }
2028 else
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2030 $as_echo "no" >&6; }
2034 test -n "$CC" && break
2035 done
2037 if test -z "$CC"; then
2038 ac_ct_CC=$CC
2039 for ac_prog in cl.exe
2041 # Extract the first word of "$ac_prog", so it can be a program name with args.
2042 set dummy $ac_prog; ac_word=$2
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2044 $as_echo_n "checking for $ac_word... " >&6; }
2045 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2046 $as_echo_n "(cached) " >&6
2047 else
2048 if test -n "$ac_ct_CC"; then
2049 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2050 else
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 for as_dir in $PATH
2054 IFS=$as_save_IFS
2055 test -z "$as_dir" && as_dir=.
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058 ac_cv_prog_ac_ct_CC="$ac_prog"
2059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 break 2
2062 done
2063 done
2064 IFS=$as_save_IFS
2068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2069 if test -n "$ac_ct_CC"; then
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2071 $as_echo "$ac_ct_CC" >&6; }
2072 else
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2074 $as_echo "no" >&6; }
2078 test -n "$ac_ct_CC" && break
2079 done
2081 if test "x$ac_ct_CC" = x; then
2082 CC=""
2083 else
2084 case $cross_compiling:$ac_tool_warned in
2085 yes:)
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2088 ac_tool_warned=yes ;;
2089 esac
2090 CC=$ac_ct_CC
2097 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2099 as_fn_error $? "no acceptable C compiler found in \$PATH
2100 See \`config.log' for more details" "$LINENO" 5; }
2102 # Provide some information about the compiler.
2103 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2104 set X $ac_compile
2105 ac_compiler=$2
2106 for ac_option in --version -v -V -qversion; do
2107 { { ac_try="$ac_compiler $ac_option >&5"
2108 case "(($ac_try" in
2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2110 *) ac_try_echo=$ac_try;;
2111 esac
2112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2113 $as_echo "$ac_try_echo"; } >&5
2114 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2115 ac_status=$?
2116 if test -s conftest.err; then
2117 sed '10a\
2118 ... rest of stderr output deleted ...
2119 10q' conftest.err >conftest.er1
2120 cat conftest.er1 >&5
2122 rm -f conftest.er1 conftest.err
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; }
2125 done
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2131 main ()
2135 return 0;
2137 _ACEOF
2138 ac_clean_files_save=$ac_clean_files
2139 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2140 # Try to create an executable without -o first, disregard a.out.
2141 # It will help us diagnose broken compilers, and finding out an intuition
2142 # of exeext.
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2144 $as_echo_n "checking whether the C compiler works... " >&6; }
2145 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2147 # The possible output files:
2148 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2150 ac_rmfiles=
2151 for ac_file in $ac_files
2153 case $ac_file in
2154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2155 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2156 esac
2157 done
2158 rm -f $ac_rmfiles
2160 if { { ac_try="$ac_link_default"
2161 case "(($ac_try" in
2162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2163 *) ac_try_echo=$ac_try;;
2164 esac
2165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2166 $as_echo "$ac_try_echo"; } >&5
2167 (eval "$ac_link_default") 2>&5
2168 ac_status=$?
2169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2170 test $ac_status = 0; }; then :
2171 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2172 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2173 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2174 # so that the user can short-circuit this test for compilers unknown to
2175 # Autoconf.
2176 for ac_file in $ac_files ''
2178 test -f "$ac_file" || continue
2179 case $ac_file in
2180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2182 [ab].out )
2183 # We found the default executable, but exeext='' is most
2184 # certainly right.
2185 break;;
2186 *.* )
2187 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2188 then :; else
2189 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2191 # We set ac_cv_exeext here because the later test for it is not
2192 # safe: cross compilers may not add the suffix if given an `-o'
2193 # argument, so we may need to know it at that point already.
2194 # Even if this section looks crufty: it has the advantage of
2195 # actually working.
2196 break;;
2198 break;;
2199 esac
2200 done
2201 test "$ac_cv_exeext" = no && ac_cv_exeext=
2203 else
2204 ac_file=''
2206 if test -z "$ac_file"; then :
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2208 $as_echo "no" >&6; }
2209 $as_echo "$as_me: failed program was:" >&5
2210 sed 's/^/| /' conftest.$ac_ext >&5
2212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214 as_fn_error 77 "C compiler cannot create executables
2215 See \`config.log' for more details" "$LINENO" 5; }
2216 else
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2218 $as_echo "yes" >&6; }
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2221 $as_echo_n "checking for C compiler default output file name... " >&6; }
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2223 $as_echo "$ac_file" >&6; }
2224 ac_exeext=$ac_cv_exeext
2226 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2227 ac_clean_files=$ac_clean_files_save
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2229 $as_echo_n "checking for suffix of executables... " >&6; }
2230 if { { ac_try="$ac_link"
2231 case "(($ac_try" in
2232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2233 *) ac_try_echo=$ac_try;;
2234 esac
2235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2236 $as_echo "$ac_try_echo"; } >&5
2237 (eval "$ac_link") 2>&5
2238 ac_status=$?
2239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2240 test $ac_status = 0; }; then :
2241 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2242 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2243 # work properly (i.e., refer to `conftest.exe'), while it won't with
2244 # `rm'.
2245 for ac_file in conftest.exe conftest conftest.*; do
2246 test -f "$ac_file" || continue
2247 case $ac_file in
2248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2249 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2250 break;;
2251 * ) break;;
2252 esac
2253 done
2254 else
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 executables: cannot compile and link
2258 See \`config.log' for more details" "$LINENO" 5; }
2260 rm -f conftest conftest$ac_cv_exeext
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2262 $as_echo "$ac_cv_exeext" >&6; }
2264 rm -f conftest.$ac_ext
2265 EXEEXT=$ac_cv_exeext
2266 ac_exeext=$EXEEXT
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2269 #include <stdio.h>
2271 main ()
2273 FILE *f = fopen ("conftest.out", "w");
2274 return ferror (f) || fclose (f) != 0;
2277 return 0;
2279 _ACEOF
2280 ac_clean_files="$ac_clean_files conftest.out"
2281 # Check that the compiler produces executables we can run. If not, either
2282 # the compiler is broken, or we cross compile.
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2284 $as_echo_n "checking whether we are cross compiling... " >&6; }
2285 if test "$cross_compiling" != yes; then
2286 { { ac_try="$ac_link"
2287 case "(($ac_try" in
2288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289 *) ac_try_echo=$ac_try;;
2290 esac
2291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2292 $as_echo "$ac_try_echo"; } >&5
2293 (eval "$ac_link") 2>&5
2294 ac_status=$?
2295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2296 test $ac_status = 0; }
2297 if { ac_try='./conftest$ac_cv_exeext'
2298 { { case "(($ac_try" in
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2301 esac
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_try") 2>&5
2305 ac_status=$?
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; }; }; then
2308 cross_compiling=no
2309 else
2310 if test "$cross_compiling" = maybe; then
2311 cross_compiling=yes
2312 else
2313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315 as_fn_error $? "cannot run C compiled programs.
2316 If you meant to cross compile, use \`--host'.
2317 See \`config.log' for more details" "$LINENO" 5; }
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2322 $as_echo "$cross_compiling" >&6; }
2324 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2325 ac_clean_files=$ac_clean_files_save
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2327 $as_echo_n "checking for suffix of object files... " >&6; }
2328 if ${ac_cv_objext+:} false; then :
2329 $as_echo_n "(cached) " >&6
2330 else
2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h. */
2335 main ()
2339 return 0;
2341 _ACEOF
2342 rm -f conftest.o conftest.obj
2343 if { { ac_try="$ac_compile"
2344 case "(($ac_try" in
2345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2346 *) ac_try_echo=$ac_try;;
2347 esac
2348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2349 $as_echo "$ac_try_echo"; } >&5
2350 (eval "$ac_compile") 2>&5
2351 ac_status=$?
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; }; then :
2354 for ac_file in conftest.o conftest.obj conftest.*; do
2355 test -f "$ac_file" || continue;
2356 case $ac_file in
2357 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2358 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2359 break;;
2360 esac
2361 done
2362 else
2363 $as_echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368 as_fn_error $? "cannot compute suffix of object files: cannot compile
2369 See \`config.log' for more details" "$LINENO" 5; }
2371 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2374 $as_echo "$ac_cv_objext" >&6; }
2375 OBJEXT=$ac_cv_objext
2376 ac_objext=$OBJEXT
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2378 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2379 if ${ac_cv_c_compiler_gnu+:} false; then :
2380 $as_echo_n "(cached) " >&6
2381 else
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h. */
2386 main ()
2388 #ifndef __GNUC__
2389 choke me
2390 #endif
2393 return 0;
2395 _ACEOF
2396 if ac_fn_c_try_compile "$LINENO"; then :
2397 ac_compiler_gnu=yes
2398 else
2399 ac_compiler_gnu=no
2401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2406 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2407 if test $ac_compiler_gnu = yes; then
2408 GCC=yes
2409 else
2410 GCC=
2412 ac_test_CFLAGS=${CFLAGS+set}
2413 ac_save_CFLAGS=$CFLAGS
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2415 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2416 if ${ac_cv_prog_cc_g+:} false; then :
2417 $as_echo_n "(cached) " >&6
2418 else
2419 ac_save_c_werror_flag=$ac_c_werror_flag
2420 ac_c_werror_flag=yes
2421 ac_cv_prog_cc_g=no
2422 CFLAGS="-g"
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2427 main ()
2431 return 0;
2433 _ACEOF
2434 if ac_fn_c_try_compile "$LINENO"; then :
2435 ac_cv_prog_cc_g=yes
2436 else
2437 CFLAGS=""
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2442 main ()
2446 return 0;
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2451 else
2452 ac_c_werror_flag=$ac_save_c_werror_flag
2453 CFLAGS="-g"
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2462 return 0;
2464 _ACEOF
2465 if ac_fn_c_try_compile "$LINENO"; then :
2466 ac_cv_prog_cc_g=yes
2468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 ac_c_werror_flag=$ac_save_c_werror_flag
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2476 $as_echo "$ac_cv_prog_cc_g" >&6; }
2477 if test "$ac_test_CFLAGS" = set; then
2478 CFLAGS=$ac_save_CFLAGS
2479 elif test $ac_cv_prog_cc_g = yes; then
2480 if test "$GCC" = yes; then
2481 CFLAGS="-g -O2"
2482 else
2483 CFLAGS="-g"
2485 else
2486 if test "$GCC" = yes; then
2487 CFLAGS="-O2"
2488 else
2489 CFLAGS=
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2493 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2494 if ${ac_cv_prog_cc_c89+:} false; then :
2495 $as_echo_n "(cached) " >&6
2496 else
2497 ac_cv_prog_cc_c89=no
2498 ac_save_CC=$CC
2499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2500 /* end confdefs.h. */
2501 #include <stdarg.h>
2502 #include <stdio.h>
2503 struct stat;
2504 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2505 struct buf { int x; };
2506 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2507 static char *e (p, i)
2508 char **p;
2509 int i;
2511 return p[i];
2513 static char *f (char * (*g) (char **, int), char **p, ...)
2515 char *s;
2516 va_list v;
2517 va_start (v,p);
2518 s = g (p, va_arg (v,int));
2519 va_end (v);
2520 return s;
2523 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2524 function prototypes and stuff, but not '\xHH' hex character constants.
2525 These don't provoke an error unfortunately, instead are silently treated
2526 as 'x'. The following induces an error, until -std is added to get
2527 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2528 array size at least. It's necessary to write '\x00'==0 to get something
2529 that's true only with -std. */
2530 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2532 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2533 inside strings and character constants. */
2534 #define FOO(x) 'x'
2535 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2537 int test (int i, double x);
2538 struct s1 {int (*f) (int a);};
2539 struct s2 {int (*f) (double a);};
2540 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2541 int argc;
2542 char **argv;
2544 main ()
2546 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2548 return 0;
2550 _ACEOF
2551 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2552 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2554 CC="$ac_save_CC $ac_arg"
2555 if ac_fn_c_try_compile "$LINENO"; then :
2556 ac_cv_prog_cc_c89=$ac_arg
2558 rm -f core conftest.err conftest.$ac_objext
2559 test "x$ac_cv_prog_cc_c89" != "xno" && break
2560 done
2561 rm -f conftest.$ac_ext
2562 CC=$ac_save_CC
2565 # AC_CACHE_VAL
2566 case "x$ac_cv_prog_cc_c89" in
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2569 $as_echo "none needed" >&6; } ;;
2570 xno)
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2572 $as_echo "unsupported" >&6; } ;;
2574 CC="$CC $ac_cv_prog_cc_c89"
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2576 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2577 esac
2578 if test "x$ac_cv_prog_cc_c89" != xno; then :
2582 ac_ext=c
2583 ac_cpp='$CPP $CPPFLAGS'
2584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2588 ac_aux_dir=
2589 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2590 if test -f "$ac_dir/install-sh"; then
2591 ac_aux_dir=$ac_dir
2592 ac_install_sh="$ac_aux_dir/install-sh -c"
2593 break
2594 elif test -f "$ac_dir/install.sh"; then
2595 ac_aux_dir=$ac_dir
2596 ac_install_sh="$ac_aux_dir/install.sh -c"
2597 break
2598 elif test -f "$ac_dir/shtool"; then
2599 ac_aux_dir=$ac_dir
2600 ac_install_sh="$ac_aux_dir/shtool install -c"
2601 break
2603 done
2604 if test -z "$ac_aux_dir"; then
2605 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2608 # These three variables are undocumented and unsupported,
2609 # and are intended to be withdrawn in a future Autoconf release.
2610 # They can cause serious problems if a builder's source tree is in a directory
2611 # whose full name contains unusual characters.
2612 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2613 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2614 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2617 # Find a good install program. We prefer a C program (faster),
2618 # so one script is as good as another. But avoid the broken or
2619 # incompatible versions:
2620 # SysV /etc/install, /usr/sbin/install
2621 # SunOS /usr/etc/install
2622 # IRIX /sbin/install
2623 # AIX /bin/install
2624 # AmigaOS /C/install, which installs bootblocks on floppy discs
2625 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2626 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2627 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2628 # OS/2's system install, which has a completely different semantic
2629 # ./install, which can be erroneously created by make from ./install.sh.
2630 # Reject install programs that cannot install multiple files.
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2632 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2633 if test -z "$INSTALL"; then
2634 if ${ac_cv_path_install+:} false; then :
2635 $as_echo_n "(cached) " >&6
2636 else
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 for as_dir in $PATH
2640 IFS=$as_save_IFS
2641 test -z "$as_dir" && as_dir=.
2642 # Account for people who put trailing slashes in PATH elements.
2643 case $as_dir/ in #((
2644 ./ | .// | /[cC]/* | \
2645 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2646 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2647 /usr/ucb/* ) ;;
2649 # OSF1 and SCO ODT 3.0 have their own names for install.
2650 # Don't use installbsd from OSF since it installs stuff as root
2651 # by default.
2652 for ac_prog in ginstall scoinst install; do
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2655 if test $ac_prog = install &&
2656 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2657 # AIX install. It has an incompatible calling convention.
2659 elif test $ac_prog = install &&
2660 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2661 # program-specific install script used by HP pwplus--don't use.
2663 else
2664 rm -rf conftest.one conftest.two conftest.dir
2665 echo one > conftest.one
2666 echo two > conftest.two
2667 mkdir conftest.dir
2668 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2669 test -s conftest.one && test -s conftest.two &&
2670 test -s conftest.dir/conftest.one &&
2671 test -s conftest.dir/conftest.two
2672 then
2673 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2674 break 3
2678 done
2679 done
2681 esac
2683 done
2684 IFS=$as_save_IFS
2686 rm -rf conftest.one conftest.two conftest.dir
2689 if test "${ac_cv_path_install+set}" = set; then
2690 INSTALL=$ac_cv_path_install
2691 else
2692 # As a last resort, use the slow shell script. Don't cache a
2693 # value for INSTALL within a source directory, because that will
2694 # break other packages using the cache if that directory is
2695 # removed, or if the value is a relative name.
2696 INSTALL=$ac_install_sh
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2700 $as_echo "$INSTALL" >&6; }
2702 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2703 # It thinks the first close brace ends the variable substitution.
2704 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2706 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2708 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2710 if test -n "$ac_tool_prefix"; then
2711 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2712 set dummy ${ac_tool_prefix}ar; ac_word=$2
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2714 $as_echo_n "checking for $ac_word... " >&6; }
2715 if ${ac_cv_prog_AR+:} false; then :
2716 $as_echo_n "(cached) " >&6
2717 else
2718 if test -n "$AR"; then
2719 ac_cv_prog_AR="$AR" # Let the user override the test.
2720 else
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 for as_dir in $PATH
2724 IFS=$as_save_IFS
2725 test -z "$as_dir" && as_dir=.
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_AR="${ac_tool_prefix}ar"
2729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 break 2
2732 done
2733 done
2734 IFS=$as_save_IFS
2738 AR=$ac_cv_prog_AR
2739 if test -n "$AR"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2741 $as_echo "$AR" >&6; }
2742 else
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2744 $as_echo "no" >&6; }
2749 if test -z "$ac_cv_prog_AR"; then
2750 ac_ct_AR=$AR
2751 # Extract the first word of "ar", so it can be a program name with args.
2752 set dummy ar; ac_word=$2
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2754 $as_echo_n "checking for $ac_word... " >&6; }
2755 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2756 $as_echo_n "(cached) " >&6
2757 else
2758 if test -n "$ac_ct_AR"; then
2759 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2760 else
2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762 for as_dir in $PATH
2764 IFS=$as_save_IFS
2765 test -z "$as_dir" && as_dir=.
2766 for ac_exec_ext in '' $ac_executable_extensions; do
2767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2768 ac_cv_prog_ac_ct_AR="ar"
2769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 break 2
2772 done
2773 done
2774 IFS=$as_save_IFS
2778 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2779 if test -n "$ac_ct_AR"; then
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2781 $as_echo "$ac_ct_AR" >&6; }
2782 else
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784 $as_echo "no" >&6; }
2787 if test "x$ac_ct_AR" = x; then
2788 AR=""
2789 else
2790 case $cross_compiling:$ac_tool_warned in
2791 yes:)
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2794 ac_tool_warned=yes ;;
2795 esac
2796 AR=$ac_ct_AR
2798 else
2799 AR="$ac_cv_prog_AR"
2802 if test -n "$ac_tool_prefix"; then
2803 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2804 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if ${ac_cv_prog_RANLIB+:} false; then :
2808 $as_echo_n "(cached) " >&6
2809 else
2810 if test -n "$RANLIB"; then
2811 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2812 else
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 for as_dir in $PATH
2816 IFS=$as_save_IFS
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 break 2
2824 done
2825 done
2826 IFS=$as_save_IFS
2830 RANLIB=$ac_cv_prog_RANLIB
2831 if test -n "$RANLIB"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2833 $as_echo "$RANLIB" >&6; }
2834 else
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2841 if test -z "$ac_cv_prog_RANLIB"; then
2842 ac_ct_RANLIB=$RANLIB
2843 # Extract the first word of "ranlib", so it can be a program name with args.
2844 set dummy ranlib; ac_word=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 if test -n "$ac_ct_RANLIB"; then
2851 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2852 else
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 for as_dir in $PATH
2856 IFS=$as_save_IFS
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_ac_ct_RANLIB="ranlib"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 break 2
2864 done
2865 done
2866 IFS=$as_save_IFS
2870 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2871 if test -n "$ac_ct_RANLIB"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2873 $as_echo "$ac_ct_RANLIB" >&6; }
2874 else
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2879 if test "x$ac_ct_RANLIB" = x; then
2880 RANLIB=":"
2881 else
2882 case $cross_compiling:$ac_tool_warned in
2883 yes:)
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2886 ac_tool_warned=yes ;;
2887 esac
2888 RANLIB=$ac_ct_RANLIB
2890 else
2891 RANLIB="$ac_cv_prog_RANLIB"
2895 # Make sure we can run config.sub.
2896 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2897 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2900 $as_echo_n "checking build system type... " >&6; }
2901 if ${ac_cv_build+:} false; then :
2902 $as_echo_n "(cached) " >&6
2903 else
2904 ac_build_alias=$build_alias
2905 test "x$ac_build_alias" = x &&
2906 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2907 test "x$ac_build_alias" = x &&
2908 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2909 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2910 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2914 $as_echo "$ac_cv_build" >&6; }
2915 case $ac_cv_build in
2916 *-*-*) ;;
2917 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2918 esac
2919 build=$ac_cv_build
2920 ac_save_IFS=$IFS; IFS='-'
2921 set x $ac_cv_build
2922 shift
2923 build_cpu=$1
2924 build_vendor=$2
2925 shift; shift
2926 # Remember, the first character of IFS is used to create $*,
2927 # except with old shells:
2928 build_os=$*
2929 IFS=$ac_save_IFS
2930 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2934 $as_echo_n "checking host system type... " >&6; }
2935 if ${ac_cv_host+:} false; then :
2936 $as_echo_n "(cached) " >&6
2937 else
2938 if test "x$host_alias" = x; then
2939 ac_cv_host=$ac_cv_build
2940 else
2941 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2942 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2947 $as_echo "$ac_cv_host" >&6; }
2948 case $ac_cv_host in
2949 *-*-*) ;;
2950 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2951 esac
2952 host=$ac_cv_host
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_host
2955 shift
2956 host_cpu=$1
2957 host_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 host_os=$*
2962 IFS=$ac_save_IFS
2963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2967 $as_echo_n "checking target system type... " >&6; }
2968 if ${ac_cv_target+:} false; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$target_alias" = x; then
2972 ac_cv_target=$ac_cv_host
2973 else
2974 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2975 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2980 $as_echo "$ac_cv_target" >&6; }
2981 case $ac_cv_target in
2982 *-*-*) ;;
2983 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2984 esac
2985 target=$ac_cv_target
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_target
2988 shift
2989 target_cpu=$1
2990 target_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 target_os=$*
2995 IFS=$ac_save_IFS
2996 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2999 # The aliases save the names the user supplied, while $host etc.
3000 # will get canonicalized.
3001 test -n "$target_alias" &&
3002 test "$program_prefix$program_suffix$program_transform_name" = \
3003 NONENONEs,x,x, &&
3004 program_prefix=${target_alias}-
3006 test "$program_prefix" != NONE &&
3007 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3008 # Use a double $ so make ignores it.
3009 test "$program_suffix" != NONE &&
3010 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3011 # Double any \ or $.
3012 # By default was `s,x,x', remove it if useless.
3013 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3014 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3016 ac_ext=c
3017 ac_cpp='$CPP $CPPFLAGS'
3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3021 if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3023 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3028 else
3029 if test -n "$CC"; then
3030 ac_cv_prog_CC="$CC" # Let the user override the test.
3031 else
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3035 IFS=$as_save_IFS
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 break 2
3043 done
3044 done
3045 IFS=$as_save_IFS
3049 CC=$ac_cv_prog_CC
3050 if test -n "$CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052 $as_echo "$CC" >&6; }
3053 else
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3060 if test -z "$ac_cv_prog_CC"; then
3061 ac_ct_CC=$CC
3062 # Extract the first word of "gcc", so it can be a program name with args.
3063 set dummy gcc; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068 else
3069 if test -n "$ac_ct_CC"; then
3070 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3071 else
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3075 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_ac_ct_CC="gcc"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 break 2
3083 done
3084 done
3085 IFS=$as_save_IFS
3089 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3090 if test -n "$ac_ct_CC"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3092 $as_echo "$ac_ct_CC" >&6; }
3093 else
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3098 if test "x$ac_ct_CC" = x; then
3099 CC=""
3100 else
3101 case $cross_compiling:$ac_tool_warned in
3102 yes:)
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3105 ac_tool_warned=yes ;;
3106 esac
3107 CC=$ac_ct_CC
3109 else
3110 CC="$ac_cv_prog_CC"
3113 if test -z "$CC"; then
3114 if test -n "$ac_tool_prefix"; then
3115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3116 set dummy ${ac_tool_prefix}cc; ac_word=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if ${ac_cv_prog_CC+:} false; then :
3120 $as_echo_n "(cached) " >&6
3121 else
3122 if test -n "$CC"; then
3123 ac_cv_prog_CC="$CC" # Let the user override the test.
3124 else
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 for as_dir in $PATH
3128 IFS=$as_save_IFS
3129 test -z "$as_dir" && as_dir=.
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_CC="${ac_tool_prefix}cc"
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 break 2
3136 done
3137 done
3138 IFS=$as_save_IFS
3142 CC=$ac_cv_prog_CC
3143 if test -n "$CC"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3145 $as_echo "$CC" >&6; }
3146 else
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3154 if test -z "$CC"; then
3155 # Extract the first word of "cc", so it can be a program name with args.
3156 set dummy cc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_CC+:} false; then :
3160 $as_echo_n "(cached) " >&6
3161 else
3162 if test -n "$CC"; then
3163 ac_cv_prog_CC="$CC" # Let the user override the test.
3164 else
3165 ac_prog_rejected=no
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 for as_dir in $PATH
3169 IFS=$as_save_IFS
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3173 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3174 ac_prog_rejected=yes
3175 continue
3177 ac_cv_prog_CC="cc"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 break 2
3181 done
3182 done
3183 IFS=$as_save_IFS
3185 if test $ac_prog_rejected = yes; then
3186 # We found a bogon in the path, so make sure we never use it.
3187 set dummy $ac_cv_prog_CC
3188 shift
3189 if test $# != 0; then
3190 # We chose a different compiler from the bogus one.
3191 # However, it has the same basename, so the bogon will be chosen
3192 # first if we set CC to just the basename; use the full file name.
3193 shift
3194 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3199 CC=$ac_cv_prog_CC
3200 if test -n "$CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3202 $as_echo "$CC" >&6; }
3203 else
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3210 if test -z "$CC"; then
3211 if test -n "$ac_tool_prefix"; then
3212 for ac_prog in cl.exe
3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_CC+:} false; then :
3219 $as_echo_n "(cached) " >&6
3220 else
3221 if test -n "$CC"; then
3222 ac_cv_prog_CC="$CC" # Let the user override the test.
3223 else
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 for as_dir in $PATH
3227 IFS=$as_save_IFS
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3231 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 break 2
3235 done
3236 done
3237 IFS=$as_save_IFS
3241 CC=$ac_cv_prog_CC
3242 if test -n "$CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3244 $as_echo "$CC" >&6; }
3245 else
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3251 test -n "$CC" && break
3252 done
3254 if test -z "$CC"; then
3255 ac_ct_CC=$CC
3256 for ac_prog in cl.exe
3258 # Extract the first word of "$ac_prog", so it can be a program name with args.
3259 set dummy $ac_prog; ac_word=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3263 $as_echo_n "(cached) " >&6
3264 else
3265 if test -n "$ac_ct_CC"; then
3266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3267 else
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 for as_dir in $PATH
3271 IFS=$as_save_IFS
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3275 ac_cv_prog_ac_ct_CC="$ac_prog"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 break 2
3279 done
3280 done
3281 IFS=$as_save_IFS
3285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3286 if test -n "$ac_ct_CC"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3288 $as_echo "$ac_ct_CC" >&6; }
3289 else
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3295 test -n "$ac_ct_CC" && break
3296 done
3298 if test "x$ac_ct_CC" = x; then
3299 CC=""
3300 else
3301 case $cross_compiling:$ac_tool_warned in
3302 yes:)
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307 CC=$ac_ct_CC
3314 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316 as_fn_error $? "no acceptable C compiler found in \$PATH
3317 See \`config.log' for more details" "$LINENO" 5; }
3319 # Provide some information about the compiler.
3320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3321 set X $ac_compile
3322 ac_compiler=$2
3323 for ac_option in --version -v -V -qversion; do
3324 { { ac_try="$ac_compiler $ac_option >&5"
3325 case "(($ac_try" in
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3328 esac
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3332 ac_status=$?
3333 if test -s conftest.err; then
3334 sed '10a\
3335 ... rest of stderr output deleted ...
3336 10q' conftest.err >conftest.er1
3337 cat conftest.er1 >&5
3339 rm -f conftest.er1 conftest.err
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }
3342 done
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3345 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3346 if ${ac_cv_c_compiler_gnu+:} false; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3353 main ()
3355 #ifndef __GNUC__
3356 choke me
3357 #endif
3360 return 0;
3362 _ACEOF
3363 if ac_fn_c_try_compile "$LINENO"; then :
3364 ac_compiler_gnu=yes
3365 else
3366 ac_compiler_gnu=no
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3373 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3374 if test $ac_compiler_gnu = yes; then
3375 GCC=yes
3376 else
3377 GCC=
3379 ac_test_CFLAGS=${CFLAGS+set}
3380 ac_save_CFLAGS=$CFLAGS
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3382 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3383 if ${ac_cv_prog_cc_g+:} false; then :
3384 $as_echo_n "(cached) " >&6
3385 else
3386 ac_save_c_werror_flag=$ac_c_werror_flag
3387 ac_c_werror_flag=yes
3388 ac_cv_prog_cc_g=no
3389 CFLAGS="-g"
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3394 main ()
3398 return 0;
3400 _ACEOF
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402 ac_cv_prog_cc_g=yes
3403 else
3404 CFLAGS=""
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3409 main ()
3413 return 0;
3415 _ACEOF
3416 if ac_fn_c_try_compile "$LINENO"; then :
3418 else
3419 ac_c_werror_flag=$ac_save_c_werror_flag
3420 CFLAGS="-g"
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3425 main ()
3429 return 0;
3431 _ACEOF
3432 if ac_fn_c_try_compile "$LINENO"; then :
3433 ac_cv_prog_cc_g=yes
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 ac_c_werror_flag=$ac_save_c_werror_flag
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3443 $as_echo "$ac_cv_prog_cc_g" >&6; }
3444 if test "$ac_test_CFLAGS" = set; then
3445 CFLAGS=$ac_save_CFLAGS
3446 elif test $ac_cv_prog_cc_g = yes; then
3447 if test "$GCC" = yes; then
3448 CFLAGS="-g -O2"
3449 else
3450 CFLAGS="-g"
3452 else
3453 if test "$GCC" = yes; then
3454 CFLAGS="-O2"
3455 else
3456 CFLAGS=
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3460 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3461 if ${ac_cv_prog_cc_c89+:} false; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 ac_cv_prog_cc_c89=no
3465 ac_save_CC=$CC
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3468 #include <stdarg.h>
3469 #include <stdio.h>
3470 struct stat;
3471 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3472 struct buf { int x; };
3473 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3474 static char *e (p, i)
3475 char **p;
3476 int i;
3478 return p[i];
3480 static char *f (char * (*g) (char **, int), char **p, ...)
3482 char *s;
3483 va_list v;
3484 va_start (v,p);
3485 s = g (p, va_arg (v,int));
3486 va_end (v);
3487 return s;
3490 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3491 function prototypes and stuff, but not '\xHH' hex character constants.
3492 These don't provoke an error unfortunately, instead are silently treated
3493 as 'x'. The following induces an error, until -std is added to get
3494 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3495 array size at least. It's necessary to write '\x00'==0 to get something
3496 that's true only with -std. */
3497 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3499 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3500 inside strings and character constants. */
3501 #define FOO(x) 'x'
3502 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3504 int test (int i, double x);
3505 struct s1 {int (*f) (int a);};
3506 struct s2 {int (*f) (double a);};
3507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3508 int argc;
3509 char **argv;
3511 main ()
3513 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3515 return 0;
3517 _ACEOF
3518 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3519 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3521 CC="$ac_save_CC $ac_arg"
3522 if ac_fn_c_try_compile "$LINENO"; then :
3523 ac_cv_prog_cc_c89=$ac_arg
3525 rm -f core conftest.err conftest.$ac_objext
3526 test "x$ac_cv_prog_cc_c89" != "xno" && break
3527 done
3528 rm -f conftest.$ac_ext
3529 CC=$ac_save_CC
3532 # AC_CACHE_VAL
3533 case "x$ac_cv_prog_cc_c89" in
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3536 $as_echo "none needed" >&6; } ;;
3537 xno)
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3539 $as_echo "unsupported" >&6; } ;;
3541 CC="$CC $ac_cv_prog_cc_c89"
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3543 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3544 esac
3545 if test "x$ac_cv_prog_cc_c89" != xno; then :
3549 ac_ext=c
3550 ac_cpp='$CPP $CPPFLAGS'
3551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3557 AR=${AR-ar}
3559 if test -n "$ac_tool_prefix"; then
3560 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3561 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563 $as_echo_n "checking for $ac_word... " >&6; }
3564 if ${ac_cv_prog_RANLIB+:} false; then :
3565 $as_echo_n "(cached) " >&6
3566 else
3567 if test -n "$RANLIB"; then
3568 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3569 else
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 for as_dir in $PATH
3573 IFS=$as_save_IFS
3574 test -z "$as_dir" && as_dir=.
3575 for ac_exec_ext in '' $ac_executable_extensions; do
3576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3577 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 break 2
3581 done
3582 done
3583 IFS=$as_save_IFS
3587 RANLIB=$ac_cv_prog_RANLIB
3588 if test -n "$RANLIB"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3590 $as_echo "$RANLIB" >&6; }
3591 else
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3598 if test -z "$ac_cv_prog_RANLIB"; then
3599 ac_ct_RANLIB=$RANLIB
3600 # Extract the first word of "ranlib", so it can be a program name with args.
3601 set dummy ranlib; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 if test -n "$ac_ct_RANLIB"; then
3608 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3609 else
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3613 IFS=$as_save_IFS
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3617 ac_cv_prog_ac_ct_RANLIB="ranlib"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 break 2
3621 done
3622 done
3623 IFS=$as_save_IFS
3627 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3628 if test -n "$ac_ct_RANLIB"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3630 $as_echo "$ac_ct_RANLIB" >&6; }
3631 else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3636 if test "x$ac_ct_RANLIB" = x; then
3637 RANLIB=":"
3638 else
3639 case $cross_compiling:$ac_tool_warned in
3640 yes:)
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3643 ac_tool_warned=yes ;;
3644 esac
3645 RANLIB=$ac_ct_RANLIB
3647 else
3648 RANLIB="$ac_cv_prog_RANLIB"
3652 # Put a plausible default for CC_FOR_BUILD in Makefile.
3653 if test -z "$CC_FOR_BUILD"; then
3654 if test "x$cross_compiling" = "xno"; then
3655 CC_FOR_BUILD='$(CC)'
3656 else
3657 CC_FOR_BUILD=gcc
3661 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3664 # If a cpu ever has more than one simulator to choose from, use
3665 # --enable-sim=... to choose.
3666 # Check whether --enable-sim was given.
3667 if test "${enable_sim+set}" = set; then :
3668 enableval=$enable_sim; case "${enableval}" in
3669 yes | no) ;;
3670 *) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3671 esac
3676 if test "${enable_sim}" != no; then
3678 # WHEN ADDING ENTRIES TO THIS MATRIX:
3680 # Make sure that the left side always has two dashes. Otherwise you
3681 # can get spurious matches. Even for unambiguous cases, do this as a
3682 # convention, else the table becomes a real mess to understand and
3683 # maintain.
3687 sim_igen=no
3688 sim_arch=
3689 case "${target}" in
3690 aarch64*-*-*)
3692 sim_arch=aarch64
3695 subdirs="$subdirs aarch64"
3699 arm*-*-*)
3701 sim_arch=arm
3702 subdirs="$subdirs arm"
3706 avr*-*-*)
3708 sim_arch=avr
3709 subdirs="$subdirs avr"
3713 bfin-*-*)
3715 sim_arch=bfin
3716 subdirs="$subdirs bfin"
3720 cr16*-*-*)
3722 sim_arch=cr16
3723 subdirs="$subdirs cr16"
3727 cris-*-* | crisv32-*-*)
3729 sim_arch=cris
3730 subdirs="$subdirs cris"
3734 d10v-*-*)
3736 sim_arch=d10v
3737 subdirs="$subdirs d10v"
3741 frv-*-*)
3743 sim_arch=frv
3744 subdirs="$subdirs frv"
3748 h8300*-*-*)
3750 sim_arch=h8300
3751 subdirs="$subdirs h8300"
3755 iq2000-*-*)
3757 sim_arch=iq2000
3758 subdirs="$subdirs iq2000"
3762 lm32-*-*)
3764 sim_arch=lm32
3765 subdirs="$subdirs lm32"
3769 m32c-*-*)
3771 sim_arch=m32c
3772 subdirs="$subdirs m32c"
3776 m32r-*-*)
3778 sim_arch=m32r
3779 subdirs="$subdirs m32r"
3783 m68hc11-*-*|m6811-*-*)
3785 sim_arch=m68hc11
3786 subdirs="$subdirs m68hc11"
3790 mcore-*-*)
3792 sim_arch=mcore
3793 subdirs="$subdirs mcore"
3797 microblaze-*-*)
3799 sim_arch=microblaze
3800 subdirs="$subdirs microblaze"
3804 mips*-*-*)
3806 sim_arch=mips
3807 subdirs="$subdirs mips"
3810 sim_igen=yes
3812 mn10300*-*-*)
3814 sim_arch=mn10300
3815 subdirs="$subdirs mn10300"
3818 sim_igen=yes
3820 moxie-*-*)
3822 sim_arch=moxie
3823 subdirs="$subdirs moxie"
3827 msp430*-*-*)
3829 sim_arch=msp430
3830 subdirs="$subdirs msp430"
3834 or1k-*-* | or1knd-*-*)
3836 sim_arch=or1k
3837 subdirs="$subdirs or1k"
3841 rl78-*-*)
3843 sim_arch=rl78
3844 subdirs="$subdirs rl78"
3848 rx-*-*)
3850 sim_arch=rx
3851 subdirs="$subdirs rx"
3855 sh64*-*-*)
3857 sim_arch=sh64
3858 subdirs="$subdirs sh64"
3862 sh*-*-*)
3864 sim_arch=sh
3865 subdirs="$subdirs sh"
3869 sparc-*-rtems*|sparc-*-elf*)
3871 sim_arch=erc32
3872 subdirs="$subdirs erc32"
3876 powerpc*-*-*)
3878 sim_arch=ppc
3879 subdirs="$subdirs ppc"
3883 ft32-*-*)
3885 sim_arch=ft32
3886 subdirs="$subdirs ft32"
3890 v850*-*-*)
3892 sim_arch=v850
3893 subdirs="$subdirs v850"
3896 sim_igen=yes
3898 esac
3901 subdirs="$subdirs testsuite"
3903 if test "$sim_igen" = yes; then
3904 subdirs="$subdirs igen"
3909 ac_config_files="$ac_config_files Makefile"
3911 cat >confcache <<\_ACEOF
3912 # This file is a shell script that caches the results of configure
3913 # tests run on this system so they can be shared between configure
3914 # scripts and configure runs, see configure's option --config-cache.
3915 # It is not useful on other systems. If it contains results you don't
3916 # want to keep, you may remove or edit it.
3918 # config.status only pays attention to the cache file if you give it
3919 # the --recheck option to rerun configure.
3921 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3922 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3923 # following values.
3925 _ACEOF
3927 # The following way of writing the cache mishandles newlines in values,
3928 # but we know of no workaround that is simple, portable, and efficient.
3929 # So, we kill variables containing newlines.
3930 # Ultrix sh set writes to stderr and can't be redirected directly,
3931 # and sets the high bit in the cache file unless we assign to the vars.
3933 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3934 eval ac_val=\$$ac_var
3935 case $ac_val in #(
3936 *${as_nl}*)
3937 case $ac_var in #(
3938 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3939 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3940 esac
3941 case $ac_var in #(
3942 _ | IFS | as_nl) ;; #(
3943 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3944 *) { eval $ac_var=; unset $ac_var;} ;;
3945 esac ;;
3946 esac
3947 done
3949 (set) 2>&1 |
3950 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3951 *${as_nl}ac_space=\ *)
3952 # `set' does not quote correctly, so add quotes: double-quote
3953 # substitution turns \\\\ into \\, and sed turns \\ into \.
3954 sed -n \
3955 "s/'/'\\\\''/g;
3956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3957 ;; #(
3959 # `set' quotes correctly as required by POSIX, so do not add quotes.
3960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3962 esac |
3963 sort
3965 sed '
3966 /^ac_cv_env_/b end
3967 t clear
3968 :clear
3969 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3970 t end
3971 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3972 :end' >>confcache
3973 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3974 if test -w "$cache_file"; then
3975 if test "x$cache_file" != "x/dev/null"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3977 $as_echo "$as_me: updating cache $cache_file" >&6;}
3978 if test ! -f "$cache_file" || test -h "$cache_file"; then
3979 cat confcache >"$cache_file"
3980 else
3981 case $cache_file in #(
3982 */* | ?:*)
3983 mv -f confcache "$cache_file"$$ &&
3984 mv -f "$cache_file"$$ "$cache_file" ;; #(
3986 mv -f confcache "$cache_file" ;;
3987 esac
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3992 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3995 rm -f confcache
3997 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3998 # Let make expand exec_prefix.
3999 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4001 # Transform confdefs.h into DEFS.
4002 # Protect against shell expansion while executing Makefile rules.
4003 # Protect against Makefile macro expansion.
4005 # If the first sed substitution is executed (which looks for macros that
4006 # take arguments), then branch to the quote section. Otherwise,
4007 # look for a macro that doesn't take arguments.
4008 ac_script='
4009 :mline
4010 /\\$/{
4012 s,\\\n,,
4013 b mline
4015 t clear
4016 :clear
4017 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4018 t quote
4019 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4020 t quote
4021 b any
4022 :quote
4023 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4024 s/\[/\\&/g
4025 s/\]/\\&/g
4026 s/\$/$$/g
4028 :any
4031 s/^\n//
4032 s/\n/ /g
4036 DEFS=`sed -n "$ac_script" confdefs.h`
4039 ac_libobjs=
4040 ac_ltlibobjs=
4042 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4043 # 1. Remove the extension, and $U if already installed.
4044 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4045 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4046 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4047 # will be set to the directory where LIBOBJS objects are built.
4048 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4049 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4050 done
4051 LIBOBJS=$ac_libobjs
4053 LTLIBOBJS=$ac_ltlibobjs
4057 : "${CONFIG_STATUS=./config.status}"
4058 ac_write_fail=0
4059 ac_clean_files_save=$ac_clean_files
4060 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4062 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4063 as_write_fail=0
4064 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4065 #! $SHELL
4066 # Generated by $as_me.
4067 # Run this file to recreate the current configuration.
4068 # Compiler output produced by configure, useful for debugging
4069 # configure, is in config.log if it exists.
4071 debug=false
4072 ac_cs_recheck=false
4073 ac_cs_silent=false
4075 SHELL=\${CONFIG_SHELL-$SHELL}
4076 export SHELL
4077 _ASEOF
4078 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4079 ## -------------------- ##
4080 ## M4sh Initialization. ##
4081 ## -------------------- ##
4083 # Be more Bourne compatible
4084 DUALCASE=1; export DUALCASE # for MKS sh
4085 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4086 emulate sh
4087 NULLCMD=:
4088 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4089 # is contrary to our usage. Disable this feature.
4090 alias -g '${1+"$@"}'='"$@"'
4091 setopt NO_GLOB_SUBST
4092 else
4093 case `(set -o) 2>/dev/null` in #(
4094 *posix*) :
4095 set -o posix ;; #(
4096 *) :
4098 esac
4102 as_nl='
4104 export as_nl
4105 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4106 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4107 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4108 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4109 # Prefer a ksh shell builtin over an external printf program on Solaris,
4110 # but without wasting forks for bash or zsh.
4111 if test -z "$BASH_VERSION$ZSH_VERSION" \
4112 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4113 as_echo='print -r --'
4114 as_echo_n='print -rn --'
4115 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4116 as_echo='printf %s\n'
4117 as_echo_n='printf %s'
4118 else
4119 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4120 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4121 as_echo_n='/usr/ucb/echo -n'
4122 else
4123 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4124 as_echo_n_body='eval
4125 arg=$1;
4126 case $arg in #(
4127 *"$as_nl"*)
4128 expr "X$arg" : "X\\(.*\\)$as_nl";
4129 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4130 esac;
4131 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4133 export as_echo_n_body
4134 as_echo_n='sh -c $as_echo_n_body as_echo'
4136 export as_echo_body
4137 as_echo='sh -c $as_echo_body as_echo'
4140 # The user is always right.
4141 if test "${PATH_SEPARATOR+set}" != set; then
4142 PATH_SEPARATOR=:
4143 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4144 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4145 PATH_SEPARATOR=';'
4150 # IFS
4151 # We need space, tab and new line, in precisely that order. Quoting is
4152 # there to prevent editors from complaining about space-tab.
4153 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4154 # splitting by setting IFS to empty value.)
4155 IFS=" "" $as_nl"
4157 # Find who we are. Look in the path if we contain no directory separator.
4158 as_myself=
4159 case $0 in #((
4160 *[\\/]* ) as_myself=$0 ;;
4161 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 for as_dir in $PATH
4164 IFS=$as_save_IFS
4165 test -z "$as_dir" && as_dir=.
4166 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4167 done
4168 IFS=$as_save_IFS
4171 esac
4172 # We did not find ourselves, most probably we were run as `sh COMMAND'
4173 # in which case we are not to be found in the path.
4174 if test "x$as_myself" = x; then
4175 as_myself=$0
4177 if test ! -f "$as_myself"; then
4178 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4179 exit 1
4182 # Unset variables that we do not need and which cause bugs (e.g. in
4183 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4184 # suppresses any "Segmentation fault" message there. '((' could
4185 # trigger a bug in pdksh 5.2.14.
4186 for as_var in BASH_ENV ENV MAIL MAILPATH
4187 do eval test x\${$as_var+set} = xset \
4188 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4189 done
4190 PS1='$ '
4191 PS2='> '
4192 PS4='+ '
4194 # NLS nuisances.
4195 LC_ALL=C
4196 export LC_ALL
4197 LANGUAGE=C
4198 export LANGUAGE
4200 # CDPATH.
4201 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4204 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4205 # ----------------------------------------
4206 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4207 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4208 # script with STATUS, using 1 if that was 0.
4209 as_fn_error ()
4211 as_status=$1; test $as_status -eq 0 && as_status=1
4212 if test "$4"; then
4213 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4214 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4216 $as_echo "$as_me: error: $2" >&2
4217 as_fn_exit $as_status
4218 } # as_fn_error
4221 # as_fn_set_status STATUS
4222 # -----------------------
4223 # Set $? to STATUS, without forking.
4224 as_fn_set_status ()
4226 return $1
4227 } # as_fn_set_status
4229 # as_fn_exit STATUS
4230 # -----------------
4231 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4232 as_fn_exit ()
4234 set +e
4235 as_fn_set_status $1
4236 exit $1
4237 } # as_fn_exit
4239 # as_fn_unset VAR
4240 # ---------------
4241 # Portably unset VAR.
4242 as_fn_unset ()
4244 { eval $1=; unset $1;}
4246 as_unset=as_fn_unset
4247 # as_fn_append VAR VALUE
4248 # ----------------------
4249 # Append the text in VALUE to the end of the definition contained in VAR. Take
4250 # advantage of any shell optimizations that allow amortized linear growth over
4251 # repeated appends, instead of the typical quadratic growth present in naive
4252 # implementations.
4253 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4254 eval 'as_fn_append ()
4256 eval $1+=\$2
4258 else
4259 as_fn_append ()
4261 eval $1=\$$1\$2
4263 fi # as_fn_append
4265 # as_fn_arith ARG...
4266 # ------------------
4267 # Perform arithmetic evaluation on the ARGs, and store the result in the
4268 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4269 # must be portable across $(()) and expr.
4270 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4271 eval 'as_fn_arith ()
4273 as_val=$(( $* ))
4275 else
4276 as_fn_arith ()
4278 as_val=`expr "$@" || test $? -eq 1`
4280 fi # as_fn_arith
4283 if expr a : '\(a\)' >/dev/null 2>&1 &&
4284 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4285 as_expr=expr
4286 else
4287 as_expr=false
4290 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4291 as_basename=basename
4292 else
4293 as_basename=false
4296 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4297 as_dirname=dirname
4298 else
4299 as_dirname=false
4302 as_me=`$as_basename -- "$0" ||
4303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4304 X"$0" : 'X\(//\)$' \| \
4305 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4306 $as_echo X/"$0" |
4307 sed '/^.*\/\([^/][^/]*\)\/*$/{
4308 s//\1/
4311 /^X\/\(\/\/\)$/{
4312 s//\1/
4315 /^X\/\(\/\).*/{
4316 s//\1/
4319 s/.*/./; q'`
4321 # Avoid depending upon Character Ranges.
4322 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4323 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4324 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4325 as_cr_digits='0123456789'
4326 as_cr_alnum=$as_cr_Letters$as_cr_digits
4328 ECHO_C= ECHO_N= ECHO_T=
4329 case `echo -n x` in #(((((
4330 -n*)
4331 case `echo 'xy\c'` in
4332 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4333 xy) ECHO_C='\c';;
4334 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4335 ECHO_T=' ';;
4336 esac;;
4338 ECHO_N='-n';;
4339 esac
4341 rm -f conf$$ conf$$.exe conf$$.file
4342 if test -d conf$$.dir; then
4343 rm -f conf$$.dir/conf$$.file
4344 else
4345 rm -f conf$$.dir
4346 mkdir conf$$.dir 2>/dev/null
4348 if (echo >conf$$.file) 2>/dev/null; then
4349 if ln -s conf$$.file conf$$ 2>/dev/null; then
4350 as_ln_s='ln -s'
4351 # ... but there are two gotchas:
4352 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4353 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4354 # In both cases, we have to default to `cp -pR'.
4355 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4356 as_ln_s='cp -pR'
4357 elif ln conf$$.file conf$$ 2>/dev/null; then
4358 as_ln_s=ln
4359 else
4360 as_ln_s='cp -pR'
4362 else
4363 as_ln_s='cp -pR'
4365 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4366 rmdir conf$$.dir 2>/dev/null
4369 # as_fn_mkdir_p
4370 # -------------
4371 # Create "$as_dir" as a directory, including parents if necessary.
4372 as_fn_mkdir_p ()
4375 case $as_dir in #(
4376 -*) as_dir=./$as_dir;;
4377 esac
4378 test -d "$as_dir" || eval $as_mkdir_p || {
4379 as_dirs=
4380 while :; do
4381 case $as_dir in #(
4382 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4383 *) as_qdir=$as_dir;;
4384 esac
4385 as_dirs="'$as_qdir' $as_dirs"
4386 as_dir=`$as_dirname -- "$as_dir" ||
4387 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4388 X"$as_dir" : 'X\(//\)[^/]' \| \
4389 X"$as_dir" : 'X\(//\)$' \| \
4390 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4391 $as_echo X"$as_dir" |
4392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4393 s//\1/
4396 /^X\(\/\/\)[^/].*/{
4397 s//\1/
4400 /^X\(\/\/\)$/{
4401 s//\1/
4404 /^X\(\/\).*/{
4405 s//\1/
4408 s/.*/./; q'`
4409 test -d "$as_dir" && break
4410 done
4411 test -z "$as_dirs" || eval "mkdir $as_dirs"
4412 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4415 } # as_fn_mkdir_p
4416 if mkdir -p . 2>/dev/null; then
4417 as_mkdir_p='mkdir -p "$as_dir"'
4418 else
4419 test -d ./-p && rmdir ./-p
4420 as_mkdir_p=false
4424 # as_fn_executable_p FILE
4425 # -----------------------
4426 # Test if FILE is an executable regular file.
4427 as_fn_executable_p ()
4429 test -f "$1" && test -x "$1"
4430 } # as_fn_executable_p
4431 as_test_x='test -x'
4432 as_executable_p=as_fn_executable_p
4434 # Sed expression to map a string onto a valid CPP name.
4435 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4437 # Sed expression to map a string onto a valid variable name.
4438 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4441 exec 6>&1
4442 ## ----------------------------------- ##
4443 ## Main body of $CONFIG_STATUS script. ##
4444 ## ----------------------------------- ##
4445 _ASEOF
4446 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4449 # Save the log message, to keep $0 and so on meaningful, and to
4450 # report actual input values of CONFIG_FILES etc. instead of their
4451 # values after options handling.
4452 ac_log="
4453 This file was extended by $as_me, which was
4454 generated by GNU Autoconf 2.69. Invocation command line was
4456 CONFIG_FILES = $CONFIG_FILES
4457 CONFIG_HEADERS = $CONFIG_HEADERS
4458 CONFIG_LINKS = $CONFIG_LINKS
4459 CONFIG_COMMANDS = $CONFIG_COMMANDS
4460 $ $0 $@
4462 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4465 _ACEOF
4467 case $ac_config_files in *"
4468 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4469 esac
4473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4474 # Files that config.status was made for.
4475 config_files="$ac_config_files"
4477 _ACEOF
4479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4480 ac_cs_usage="\
4481 \`$as_me' instantiates files and other configuration actions
4482 from templates according to the current configuration. Unless the files
4483 and actions are specified as TAGs, all are instantiated by default.
4485 Usage: $0 [OPTION]... [TAG]...
4487 -h, --help print this help, then exit
4488 -V, --version print version number and configuration settings, then exit
4489 --config print configuration, then exit
4490 -q, --quiet, --silent
4491 do not print progress messages
4492 -d, --debug don't remove temporary files
4493 --recheck update $as_me by reconfiguring in the same conditions
4494 --file=FILE[:TEMPLATE]
4495 instantiate the configuration file FILE
4497 Configuration files:
4498 $config_files
4500 Report bugs to the package provider."
4502 _ACEOF
4503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4504 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4505 ac_cs_version="\\
4506 config.status
4507 configured by $0, generated by GNU Autoconf 2.69,
4508 with options \\"\$ac_cs_config\\"
4510 Copyright (C) 2012 Free Software Foundation, Inc.
4511 This config.status script is free software; the Free Software Foundation
4512 gives unlimited permission to copy, distribute and modify it."
4514 ac_pwd='$ac_pwd'
4515 srcdir='$srcdir'
4516 INSTALL='$INSTALL'
4517 test -n "\$AWK" || AWK=awk
4518 _ACEOF
4520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4521 # The default lists apply if the user does not specify any file.
4522 ac_need_defaults=:
4523 while test $# != 0
4525 case $1 in
4526 --*=?*)
4527 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4528 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4529 ac_shift=:
4531 --*=)
4532 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4533 ac_optarg=
4534 ac_shift=:
4537 ac_option=$1
4538 ac_optarg=$2
4539 ac_shift=shift
4541 esac
4543 case $ac_option in
4544 # Handling of the options.
4545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4546 ac_cs_recheck=: ;;
4547 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4548 $as_echo "$ac_cs_version"; exit ;;
4549 --config | --confi | --conf | --con | --co | --c )
4550 $as_echo "$ac_cs_config"; exit ;;
4551 --debug | --debu | --deb | --de | --d | -d )
4552 debug=: ;;
4553 --file | --fil | --fi | --f )
4554 $ac_shift
4555 case $ac_optarg in
4556 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4557 '') as_fn_error $? "missing file argument" ;;
4558 esac
4559 as_fn_append CONFIG_FILES " '$ac_optarg'"
4560 ac_need_defaults=false;;
4561 --he | --h | --help | --hel | -h )
4562 $as_echo "$ac_cs_usage"; exit ;;
4563 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4564 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4565 ac_cs_silent=: ;;
4567 # This is an error.
4568 -*) as_fn_error $? "unrecognized option: \`$1'
4569 Try \`$0 --help' for more information." ;;
4571 *) as_fn_append ac_config_targets " $1"
4572 ac_need_defaults=false ;;
4574 esac
4575 shift
4576 done
4578 ac_configure_extra_args=
4580 if $ac_cs_silent; then
4581 exec 6>/dev/null
4582 ac_configure_extra_args="$ac_configure_extra_args --silent"
4585 _ACEOF
4586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4587 if \$ac_cs_recheck; then
4588 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4589 shift
4590 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4591 CONFIG_SHELL='$SHELL'
4592 export CONFIG_SHELL
4593 exec "\$@"
4596 _ACEOF
4597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4598 exec 5>>config.log
4600 echo
4601 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4602 ## Running $as_me. ##
4603 _ASBOX
4604 $as_echo "$ac_log"
4605 } >&5
4607 _ACEOF
4608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4609 _ACEOF
4611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4613 # Handling of arguments.
4614 for ac_config_target in $ac_config_targets
4616 case $ac_config_target in
4617 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4619 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4620 esac
4621 done
4624 # If the user did not use the arguments to specify the items to instantiate,
4625 # then the envvar interface is used. Set only those that are not.
4626 # We use the long form for the default assignment because of an extremely
4627 # bizarre bug on SunOS 4.1.3.
4628 if $ac_need_defaults; then
4629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4632 # Have a temporary directory for convenience. Make it in the build tree
4633 # simply because there is no reason against having it here, and in addition,
4634 # creating and moving files from /tmp can sometimes cause problems.
4635 # Hook for its removal unless debugging.
4636 # Note that there is a small window in which the directory will not be cleaned:
4637 # after its creation but before its name has been assigned to `$tmp'.
4638 $debug ||
4640 tmp= ac_tmp=
4641 trap 'exit_status=$?
4642 : "${ac_tmp:=$tmp}"
4643 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4645 trap 'as_fn_exit 1' 1 2 13 15
4647 # Create a (secure) tmp directory for tmp files.
4650 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4651 test -d "$tmp"
4652 } ||
4654 tmp=./conf$$-$RANDOM
4655 (umask 077 && mkdir "$tmp")
4656 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4657 ac_tmp=$tmp
4659 # Set up the scripts for CONFIG_FILES section.
4660 # No need to generate them if there are no CONFIG_FILES.
4661 # This happens for instance with `./config.status config.h'.
4662 if test -n "$CONFIG_FILES"; then
4665 ac_cr=`echo X | tr X '\015'`
4666 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4667 # But we know of no other shell where ac_cr would be empty at this
4668 # point, so we can use a bashism as a fallback.
4669 if test "x$ac_cr" = x; then
4670 eval ac_cr=\$\'\\r\'
4672 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4673 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4674 ac_cs_awk_cr='\\r'
4675 else
4676 ac_cs_awk_cr=$ac_cr
4679 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4680 _ACEOF
4684 echo "cat >conf$$subs.awk <<_ACEOF" &&
4685 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4686 echo "_ACEOF"
4687 } >conf$$subs.sh ||
4688 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4689 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4690 ac_delim='%!_!# '
4691 for ac_last_try in false false false false false :; do
4692 . ./conf$$subs.sh ||
4693 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4695 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4696 if test $ac_delim_n = $ac_delim_num; then
4697 break
4698 elif $ac_last_try; then
4699 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4700 else
4701 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4703 done
4704 rm -f conf$$subs.sh
4706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4707 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4708 _ACEOF
4709 sed -n '
4711 s/^/S["/; s/!.*/"]=/
4714 s/^[^!]*!//
4715 :repl
4716 t repl
4717 s/'"$ac_delim"'$//
4718 t delim
4721 s/\(.\{148\}\)..*/\1/
4722 t more1
4723 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4726 b repl
4727 :more1
4728 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4731 s/.\{148\}//
4732 t nl
4733 :delim
4735 s/\(.\{148\}\)..*/\1/
4736 t more2
4737 s/["\\]/\\&/g; s/^/"/; s/$/"/
4740 :more2
4741 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4744 s/.\{148\}//
4745 t delim
4746 ' <conf$$subs.awk | sed '
4747 /^[^""]/{
4749 s/\n//
4751 ' >>$CONFIG_STATUS || ac_write_fail=1
4752 rm -f conf$$subs.awk
4753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4754 _ACAWK
4755 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4756 for (key in S) S_is_set[key] = 1
4757 FS = "\a"
4761 line = $ 0
4762 nfields = split(line, field, "@")
4763 substed = 0
4764 len = length(field[1])
4765 for (i = 2; i < nfields; i++) {
4766 key = field[i]
4767 keylen = length(key)
4768 if (S_is_set[key]) {
4769 value = S[key]
4770 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4771 len += length(value) + length(field[++i])
4772 substed = 1
4773 } else
4774 len += 1 + keylen
4777 print line
4780 _ACAWK
4781 _ACEOF
4782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4783 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4784 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4785 else
4787 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4788 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4789 _ACEOF
4791 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4792 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4793 # trailing colons and then remove the whole line if VPATH becomes empty
4794 # (actually we leave an empty line to preserve line numbers).
4795 if test "x$srcdir" = x.; then
4796 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4798 s///
4799 s/^/:/
4800 s/[ ]*$/:/
4801 s/:\$(srcdir):/:/g
4802 s/:\${srcdir}:/:/g
4803 s/:@srcdir@:/:/g
4804 s/^:*//
4805 s/:*$//
4807 s/\(=[ ]*\).*/\1/
4809 s/\n//
4810 s/^[^=]*=[ ]*$//
4814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4815 fi # test -n "$CONFIG_FILES"
4818 eval set X " :F $CONFIG_FILES "
4819 shift
4820 for ac_tag
4822 case $ac_tag in
4823 :[FHLC]) ac_mode=$ac_tag; continue;;
4824 esac
4825 case $ac_mode$ac_tag in
4826 :[FHL]*:*);;
4827 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4828 :[FH]-) ac_tag=-:-;;
4829 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4830 esac
4831 ac_save_IFS=$IFS
4832 IFS=:
4833 set x $ac_tag
4834 IFS=$ac_save_IFS
4835 shift
4836 ac_file=$1
4837 shift
4839 case $ac_mode in
4840 :L) ac_source=$1;;
4841 :[FH])
4842 ac_file_inputs=
4843 for ac_f
4845 case $ac_f in
4846 -) ac_f="$ac_tmp/stdin";;
4847 *) # Look for the file first in the build tree, then in the source tree
4848 # (if the path is not absolute). The absolute path cannot be DOS-style,
4849 # because $ac_f cannot contain `:'.
4850 test -f "$ac_f" ||
4851 case $ac_f in
4852 [\\/$]*) false;;
4853 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4854 esac ||
4855 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4856 esac
4857 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4858 as_fn_append ac_file_inputs " '$ac_f'"
4859 done
4861 # Let's still pretend it is `configure' which instantiates (i.e., don't
4862 # use $as_me), people would be surprised to read:
4863 # /* config.h. Generated by config.status. */
4864 configure_input='Generated from '`
4865 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4866 `' by configure.'
4867 if test x"$ac_file" != x-; then
4868 configure_input="$ac_file. $configure_input"
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4870 $as_echo "$as_me: creating $ac_file" >&6;}
4872 # Neutralize special characters interpreted by sed in replacement strings.
4873 case $configure_input in #(
4874 *\&* | *\|* | *\\* )
4875 ac_sed_conf_input=`$as_echo "$configure_input" |
4876 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4877 *) ac_sed_conf_input=$configure_input;;
4878 esac
4880 case $ac_tag in
4881 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4883 esac
4885 esac
4887 ac_dir=`$as_dirname -- "$ac_file" ||
4888 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4889 X"$ac_file" : 'X\(//\)[^/]' \| \
4890 X"$ac_file" : 'X\(//\)$' \| \
4891 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4892 $as_echo X"$ac_file" |
4893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4894 s//\1/
4897 /^X\(\/\/\)[^/].*/{
4898 s//\1/
4901 /^X\(\/\/\)$/{
4902 s//\1/
4905 /^X\(\/\).*/{
4906 s//\1/
4909 s/.*/./; q'`
4910 as_dir="$ac_dir"; as_fn_mkdir_p
4911 ac_builddir=.
4913 case "$ac_dir" in
4914 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4916 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4917 # A ".." for each directory in $ac_dir_suffix.
4918 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4919 case $ac_top_builddir_sub in
4920 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4921 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4922 esac ;;
4923 esac
4924 ac_abs_top_builddir=$ac_pwd
4925 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4926 # for backward compatibility:
4927 ac_top_builddir=$ac_top_build_prefix
4929 case $srcdir in
4930 .) # We are building in place.
4931 ac_srcdir=.
4932 ac_top_srcdir=$ac_top_builddir_sub
4933 ac_abs_top_srcdir=$ac_pwd ;;
4934 [\\/]* | ?:[\\/]* ) # Absolute name.
4935 ac_srcdir=$srcdir$ac_dir_suffix;
4936 ac_top_srcdir=$srcdir
4937 ac_abs_top_srcdir=$srcdir ;;
4938 *) # Relative name.
4939 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4940 ac_top_srcdir=$ac_top_build_prefix$srcdir
4941 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4942 esac
4943 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4946 case $ac_mode in
4949 # CONFIG_FILE
4952 case $INSTALL in
4953 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4954 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4955 esac
4956 _ACEOF
4958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4959 # If the template does not know about datarootdir, expand it.
4960 # FIXME: This hack should be removed a few years after 2.60.
4961 ac_datarootdir_hack=; ac_datarootdir_seen=
4962 ac_sed_dataroot='
4963 /datarootdir/ {
4967 /@datadir@/p
4968 /@docdir@/p
4969 /@infodir@/p
4970 /@localedir@/p
4971 /@mandir@/p'
4972 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4973 *datarootdir*) ac_datarootdir_seen=yes;;
4974 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4976 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4977 _ACEOF
4978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4979 ac_datarootdir_hack='
4980 s&@datadir@&$datadir&g
4981 s&@docdir@&$docdir&g
4982 s&@infodir@&$infodir&g
4983 s&@localedir@&$localedir&g
4984 s&@mandir@&$mandir&g
4985 s&\\\${datarootdir}&$datarootdir&g' ;;
4986 esac
4987 _ACEOF
4989 # Neutralize VPATH when `$srcdir' = `.'.
4990 # Shell code in configure.ac might set extrasub.
4991 # FIXME: do we really want to maintain this feature?
4992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4993 ac_sed_extra="$ac_vpsub
4994 $extrasub
4995 _ACEOF
4996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4999 s|@configure_input@|$ac_sed_conf_input|;t t
5000 s&@top_builddir@&$ac_top_builddir_sub&;t t
5001 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5002 s&@srcdir@&$ac_srcdir&;t t
5003 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5004 s&@top_srcdir@&$ac_top_srcdir&;t t
5005 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5006 s&@builddir@&$ac_builddir&;t t
5007 s&@abs_builddir@&$ac_abs_builddir&;t t
5008 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5009 s&@INSTALL@&$ac_INSTALL&;t t
5010 $ac_datarootdir_hack
5012 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5013 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5015 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5016 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5017 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5018 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5020 which seems to be undefined. Please make sure it is defined" >&5
5021 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5022 which seems to be undefined. Please make sure it is defined" >&2;}
5024 rm -f "$ac_tmp/stdin"
5025 case $ac_file in
5026 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5027 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5028 esac \
5029 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5034 esac
5036 done # for ac_tag
5039 as_fn_exit 0
5040 _ACEOF
5041 ac_clean_files=$ac_clean_files_save
5043 test $ac_write_fail = 0 ||
5044 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5047 # configure is writing to config.log, and then calls config.status.
5048 # config.status does its own redirection, appending to config.log.
5049 # Unfortunately, on DOS this fails, as config.log is still kept open
5050 # by configure, so config.status won't be able to write to it; its
5051 # output is simply discarded. So we exec the FD to /dev/null,
5052 # effectively closing config.log, so it can be properly (re)opened and
5053 # appended to by config.status. When coming back to configure, we
5054 # need to make the FD available again.
5055 if test "$no_create" != yes; then
5056 ac_cs_success=:
5057 ac_config_status_args=
5058 test "$silent" = yes &&
5059 ac_config_status_args="$ac_config_status_args --quiet"
5060 exec 5>/dev/null
5061 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5062 exec 5>>config.log
5063 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5064 # would make configure fail if this is the last instruction.
5065 $ac_cs_success || as_fn_exit 1
5069 # CONFIG_SUBDIRS section.
5071 if test "$no_recursion" != yes; then
5073 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5074 # so they do not pile up.
5075 ac_sub_configure_args=
5076 ac_prev=
5077 eval "set x $ac_configure_args"
5078 shift
5079 for ac_arg
5081 if test -n "$ac_prev"; then
5082 ac_prev=
5083 continue
5085 case $ac_arg in
5086 -cache-file | --cache-file | --cache-fil | --cache-fi \
5087 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5088 ac_prev=cache_file ;;
5089 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5090 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5091 | --c=*)
5093 --config-cache | -C)
5095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5096 ac_prev=srcdir ;;
5097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5099 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5100 ac_prev=prefix ;;
5101 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5103 --disable-option-checking)
5106 case $ac_arg in
5107 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5108 esac
5109 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
5110 esac
5111 done
5113 # Always prepend --prefix to ensure using the same prefix
5114 # in subdir configurations.
5115 ac_arg="--prefix=$prefix"
5116 case $ac_arg in
5117 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5118 esac
5119 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
5121 # Pass --silent
5122 if test "$silent" = yes; then
5123 ac_sub_configure_args="--silent $ac_sub_configure_args"
5126 # Always prepend --disable-option-checking to silence warnings, since
5127 # different subdirs can have different --enable and --with options.
5128 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
5130 ac_popdir=`pwd`
5131 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5133 # Do not complain, so a configure script can configure whichever
5134 # parts of a large source tree are present.
5135 test -d "$srcdir/$ac_dir" || continue
5137 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5139 $as_echo "$ac_msg" >&6
5140 as_dir="$ac_dir"; as_fn_mkdir_p
5141 ac_builddir=.
5143 case "$ac_dir" in
5144 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5146 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5147 # A ".." for each directory in $ac_dir_suffix.
5148 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5149 case $ac_top_builddir_sub in
5150 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5151 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5152 esac ;;
5153 esac
5154 ac_abs_top_builddir=$ac_pwd
5155 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5156 # for backward compatibility:
5157 ac_top_builddir=$ac_top_build_prefix
5159 case $srcdir in
5160 .) # We are building in place.
5161 ac_srcdir=.
5162 ac_top_srcdir=$ac_top_builddir_sub
5163 ac_abs_top_srcdir=$ac_pwd ;;
5164 [\\/]* | ?:[\\/]* ) # Absolute name.
5165 ac_srcdir=$srcdir$ac_dir_suffix;
5166 ac_top_srcdir=$srcdir
5167 ac_abs_top_srcdir=$srcdir ;;
5168 *) # Relative name.
5169 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5170 ac_top_srcdir=$ac_top_build_prefix$srcdir
5171 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5172 esac
5173 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5176 cd "$ac_dir"
5178 # Check for guested configure; otherwise get Cygnus style configure.
5179 if test -f "$ac_srcdir/configure.gnu"; then
5180 ac_sub_configure=$ac_srcdir/configure.gnu
5181 elif test -f "$ac_srcdir/configure"; then
5182 ac_sub_configure=$ac_srcdir/configure
5183 elif test -f "$ac_srcdir/configure.in"; then
5184 # This should be Cygnus configure.
5185 ac_sub_configure=$ac_aux_dir/configure
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5188 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5189 ac_sub_configure=
5192 # The recursion is here.
5193 if test -n "$ac_sub_configure"; then
5194 # Make the cache file name correct relative to the subdirectory.
5195 case $cache_file in
5196 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5197 *) # Relative name.
5198 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5199 esac
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5202 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5203 # The eval makes quoting arguments work.
5204 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5205 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5206 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5209 cd "$ac_popdir"
5210 done
5212 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5214 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5218 exit 0