x86: drop bogus IgnoreSize from SHA insns
[deliverable/binutils-gdb.git] / sim / configure
... / ...
CommitLineData
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if 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
24else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_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.
43if 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 --'
47elif (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'
50else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order. Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" "" $as_nl"
88
89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
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
100IFS=$as_save_IFS
101
102 ;;
103esac
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.
106if test "x$as_myself" = x; then
107 as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112fi
113
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.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
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.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $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
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160if 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
168else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174esac
175fi
176"
177 as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191 exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -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
201else
202 as_have_required=no
203fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
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
224fi
225fi
226 done;;
227 esac
228 as_found=false
229done
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
233fi; }
234IFS=$as_save_IFS
235
236
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.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251esac
252exec $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
256exit 255
257fi
258
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."
270 fi
271 exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289 { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_fn_set_status ()
297{
298 return $1
299} # as_fn_set_status
300
301# as_fn_exit STATUS
302# -----------------
303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304as_fn_exit ()
305{
306 set +e
307 as_fn_set_status $1
308 exit $1
309} # as_fn_exit
310
311# as_fn_mkdir_p
312# -------------
313# Create "$as_dir" as a directory, including parents if necessary.
314as_fn_mkdir_p ()
315{
316
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/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
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"
355
356
357} # as_fn_mkdir_p
358
359# as_fn_executable_p FILE
360# -----------------------
361# Test if FILE is an executable regular file.
362as_fn_executable_p ()
363{
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.
372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382fi # as_fn_append
383
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.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399fi # as_fn_arith
400
401
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.
407as_fn_error ()
408{
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
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416} # as_fn_error
417
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421else
422 as_expr=false
423fi
424
425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427else
428 as_basename=false
429fi
430
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433else
434 as_dirname=false
435fi
436
437as_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/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456# Avoid depending upon Character Ranges.
457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460as_cr_digits='0123456789'
461as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
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 '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
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; }
486
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
497}
498
499ECHO_C= ECHO_N= ECHO_T=
500case `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;;
508*)
509 ECHO_N='-n';;
510esac
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518fi
519if (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'
532 fi
533else
534 as_ln_s='cp -pR'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544fi
545
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
558
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.
562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564#
565# Initializations.
566#
567ac_default_prefix=/usr/local
568ac_clean_files=
569ac_config_libobj_dir=.
570LIBOBJS=
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
575
576# Identity of this package.
577PACKAGE_NAME=
578PACKAGE_TARNAME=
579PACKAGE_VERSION=
580PACKAGE_STRING=
581PACKAGE_BUGREPORT=
582PACKAGE_URL=
583
584ac_unique_file="Makefile.in"
585enable_option_checking=no
586ac_subst_vars='LTLIBOBJS
587LIBOBJS
588sim_arch
589subdirs
590CFLAGS_FOR_BUILD
591CC_FOR_BUILD
592HDEFINES
593target_os
594target_vendor
595target_cpu
596target
597host_os
598host_vendor
599host_cpu
600host
601build_os
602build_vendor
603build_cpu
604build
605RANLIB
606AR
607INSTALL_DATA
608INSTALL_SCRIPT
609INSTALL_PROGRAM
610OBJEXT
611EXEEXT
612ac_ct_CC
613CPPFLAGS
614LDFLAGS
615CFLAGS
616CC
617target_alias
618host_alias
619build_alias
620LIBS
621ECHO_T
622ECHO_N
623ECHO_C
624DEFS
625mandir
626localedir
627libdir
628psdir
629pdfdir
630dvidir
631htmldir
632infodir
633docdir
634oldincludedir
635includedir
636localstatedir
637sharedstatedir
638sysconfdir
639datadir
640datarootdir
641libexecdir
642sbindir
643bindir
644program_transform_name
645prefix
646exec_prefix
647PACKAGE_URL
648PACKAGE_BUGREPORT
649PACKAGE_STRING
650PACKAGE_VERSION
651PACKAGE_TARNAME
652PACKAGE_NAME
653PATH_SEPARATOR
654SHELL'
655ac_subst_files=''
656ac_user_opts='
657enable_option_checking
658enable_sim
659'
660 ac_precious_vars='build_alias
661host_alias
662target_alias
663CC
664CFLAGS
665LDFLAGS
666LIBS
667CPPFLAGS'
668ac_subdirs_all='aarch64
669arm
670avr
671bfin
672cr16
673cris
674d10v
675frv
676h8300
677iq2000
678lm32
679m32c
680m32r
681m68hc11
682mcore
683microblaze
684mips
685mn10300
686moxie
687msp430
688or1k
689rl78
690rx
691sh64
692sh
693erc32
694ppc
695ft32
696v850
697testsuite
698igen'
699
700# Initialize some variables set by options.
701ac_init_help=
702ac_init_version=false
703ac_unrecognized_opts=
704ac_unrecognized_sep=
705# The variables have the same names as the options, with
706# dashes changed to underlines.
707cache_file=/dev/null
708exec_prefix=NONE
709no_create=
710no_recursion=
711prefix=NONE
712program_prefix=NONE
713program_suffix=NONE
714program_transform_name=s,x,x,
715silent=
716site=
717srcdir=
718verbose=
719x_includes=NONE
720x_libraries=NONE
721
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.)
728bindir='${exec_prefix}/bin'
729sbindir='${exec_prefix}/sbin'
730libexecdir='${exec_prefix}/libexec'
731datarootdir='${prefix}/share'
732datadir='${datarootdir}'
733sysconfdir='${prefix}/etc'
734sharedstatedir='${prefix}/com'
735localstatedir='${prefix}/var'
736includedir='${prefix}/include'
737oldincludedir='/usr/include'
738docdir='${datarootdir}/doc/${PACKAGE}'
739infodir='${datarootdir}/info'
740htmldir='${docdir}'
741dvidir='${docdir}'
742pdfdir='${docdir}'
743psdir='${docdir}'
744libdir='${exec_prefix}/lib'
745localedir='${datarootdir}/locale'
746mandir='${datarootdir}/man'
747
748ac_prev=
749ac_dashdash=
750for ac_option
751do
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
757 fi
758
759 case $ac_option in
760 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 *=) ac_optarg= ;;
762 *) ac_optarg=yes ;;
763 esac
764
765 # Accept the important Cygnus configure options, so we can diagnose typos.
766
767 case $ac_dashdash$ac_option in
768 --)
769 ac_dashdash=yes ;;
770
771 -bindir | --bindir | --bindi | --bind | --bin | --bi)
772 ac_prev=bindir ;;
773 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
774 bindir=$ac_optarg ;;
775
776 -build | --build | --buil | --bui | --bu)
777 ac_prev=build_alias ;;
778 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
779 build_alias=$ac_optarg ;;
780
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 ;;
787
788 --config-cache | -C)
789 cache_file=config.cache ;;
790
791 -datadir | --datadir | --datadi | --datad)
792 ac_prev=datadir ;;
793 -datadir=* | --datadir=* | --datadi=* | --datad=*)
794 datadir=$ac_optarg ;;
795
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 ;;
802
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
811 *"
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 ;;
818
819 -docdir | --docdir | --docdi | --doc | --do)
820 ac_prev=docdir ;;
821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
822 docdir=$ac_optarg ;;
823
824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
825 ac_prev=dvidir ;;
826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
827 dvidir=$ac_optarg ;;
828
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
837 *"
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 ;;
844
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 ;;
853
854 -gas | --gas | --ga | --g)
855 # Obsolete; use --with-gas.
856 with_gas=yes ;;
857
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 ;;
864
865 -host | --host | --hos | --ho)
866 ac_prev=host_alias ;;
867 -host=* | --host=* | --hos=* | --ho=*)
868 host_alias=$ac_optarg ;;
869
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 ;;
875
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 ;;
882
883 -infodir | --infodir | --infodi | --infod | --info | --inf)
884 ac_prev=infodir ;;
885 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
886 infodir=$ac_optarg ;;
887
888 -libdir | --libdir | --libdi | --libd)
889 ac_prev=libdir ;;
890 -libdir=* | --libdir=* | --libdi=* | --libd=*)
891 libdir=$ac_optarg ;;
892
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 ;;
899
900 -localedir | --localedir | --localedi | --localed | --locale)
901 ac_prev=localedir ;;
902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
903 localedir=$ac_optarg ;;
904
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 ;;
911
912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
913 ac_prev=mandir ;;
914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
915 mandir=$ac_optarg ;;
916
917 -nfp | --nfp | --nf)
918 # Obsolete; use --without-fp.
919 with_fp=no ;;
920
921 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
922 | --no-cr | --no-c | -n)
923 no_create=yes ;;
924
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 ;;
928
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 ;;
937
938 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
939 ac_prev=prefix ;;
940 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
941 prefix=$ac_optarg ;;
942
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 ;;
949
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 ;;
956
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 ;;
973
974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
975 ac_prev=pdfdir ;;
976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
977 pdfdir=$ac_optarg ;;
978
979 -psdir | --psdir | --psdi | --psd | --ps)
980 ac_prev=psdir ;;
981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
982 psdir=$ac_optarg ;;
983
984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
985 | -silent | --silent | --silen | --sile | --sil)
986 silent=yes ;;
987
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 ;;
993
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 ;;
1004
1005 -site | --site | --sit)
1006 ac_prev=site ;;
1007 -site=* | --site=* | --sit=*)
1008 site=$ac_optarg ;;
1009
1010 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1011 ac_prev=srcdir ;;
1012 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1013 srcdir=$ac_optarg ;;
1014
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 ;;
1021
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 ;;
1026
1027 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1028 verbose=yes ;;
1029
1030 -version | --version | --versio | --versi | --vers | -V)
1031 ac_init_version=: ;;
1032
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
1041 *"
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 ;;
1048
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
1057 *"
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 ;;
1064
1065 --x)
1066 # Obsolete; use --with-x.
1067 with_x=yes ;;
1068
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 ;;
1075
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 ;;
1082
1083 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1084Try \`$0 --help' for more information"
1085 ;;
1086
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 ;;
1096
1097 *)
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}"
1103 ;;
1104
1105 esac
1106done
1107
1108if test -n "$ac_prev"; then
1109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1110 as_fn_error $? "missing argument to $ac_option"
1111fi
1112
1113if 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
1119fi
1120
1121# Check all directory arguments for consistency.
1122for 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
1126do
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"
1140done
1141
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.
1145build=$build_alias
1146host=$host_alias
1147target=$target_alias
1148
1149# FIXME: To remove some day.
1150if 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
1155 fi
1156fi
1157
1158ac_tool_prefix=
1159test -n "$host_alias" && ac_tool_prefix=$host_alias-
1160
1161test "$silent" = yes && exec 6>/dev/null
1162
1163
1164ac_pwd=`pwd` && test -n "$ac_pwd" &&
1165ac_ls_di=`ls -di .` &&
1166ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1167 as_fn_error $? "working directory cannot be determined"
1168test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 as_fn_error $? "pwd does not report name of working directory"
1170
1171
1172# Find the source files, if location was not specified.
1173if 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/
1184 q
1185 }
1186 /^X\(\/\/\)[^/].*/{
1187 s//\1/
1188 q
1189 }
1190 /^X\(\/\/\)$/{
1191 s//\1/
1192 q
1193 }
1194 /^X\(\/\).*/{
1195 s//\1/
1196 q
1197 }
1198 s/.*/./; q'`
1199 srcdir=$ac_confdir
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 srcdir=..
1202 fi
1203else
1204 ac_srcdir_defaulted=no
1205fi
1206if 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"
1209fi
1210ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1211ac_abs_confdir=`(
1212 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1213 pwd)`
1214# When building in place, set srcdir=.
1215if test "$ac_abs_confdir" = "$ac_pwd"; then
1216 srcdir=.
1217fi
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.
1221case $srcdir in
1222*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223esac
1224for 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}
1229done
1230
1231#
1232# Report the --help message.
1233#
1234if 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.
1239
1240Usage: $0 [OPTION]... [VAR=VALUE]...
1241
1242To assign environment variables (e.g., CC, CFLAGS...), specify them as
1243VAR=VALUE. See below for descriptions of some of the useful variables.
1244
1245Defaults for the options are specified in brackets.
1246
1247Configuration:
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 \`..']
1257
1258Installation 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]
1263
1264By default, \`make install' will install all the files in
1265\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1266an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1267for instance \`--prefix=\$HOME'.
1268
1269For better control, use the options below.
1270
1271Fine 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
1292
1293 cat <<\_ACEOF
1294
1295Program 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
1299
1300System 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
1305fi
1306
1307if test -n "$ac_init_help"; then
1308
1309 cat <<\_ACEOF
1310
1311Optional 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
1316
1317Some 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>
1325
1326Use these variables to override the choices made by `configure' or to help
1327it to find libraries and programs with nonstandard names/locations.
1328
1329Report bugs to the package provider.
1330_ACEOF
1331ac_status=$?
1332fi
1333
1334if 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=.
1341
1342case "$ac_dir" in
1343.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344*)
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 ;;
1352esac
1353ac_abs_top_builddir=$ac_pwd
1354ac_abs_builddir=$ac_pwd$ac_dir_suffix
1355# for backward compatibility:
1356ac_top_builddir=$ac_top_build_prefix
1357
1358case $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 ;;
1371esac
1372ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1373
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
1387fi
1388
1389test -n "$ac_init_help" && exit $ac_status
1390if $ac_init_version; then
1391 cat <<\_ACEOF
1392configure
1393generated by GNU Autoconf 2.69
1394
1395Copyright (C) 2012 Free Software Foundation, Inc.
1396This configure script is free software; the Free Software Foundation
1397gives unlimited permission to copy, distribute and modify it.
1398_ACEOF
1399 exit
1400fi
1401
1402## ------------------------ ##
1403## Autoconf initialization. ##
1404## ------------------------ ##
1405
1406# ac_fn_c_try_compile LINENO
1407# --------------------------
1408# Try to compile conftest.$ac_ext, and return whether this succeeded.
1409ac_fn_c_try_compile ()
1410{
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"
1414case "(($ac_try" in
1415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1416 *) ac_try_echo=$ac_try;;
1417esac
1418eval 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
1426 fi
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
1433else
1434 $as_echo "$as_me: failed program was:" >&5
1435sed 's/^/| /' conftest.$ac_ext >&5
1436
1437 ac_retval=1
1438fi
1439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1440 as_fn_set_status $ac_retval
1441
1442} # ac_fn_c_try_compile
1443cat >config.log <<_ACEOF
1444This file contains any messages produced by compilers while
1445running configure, to aid debugging if configure makes a mistake.
1446
1447It was created by $as_me, which was
1448generated by GNU Autoconf 2.69. Invocation command line was
1449
1450 $ $0 $@
1451
1452_ACEOF
1453exec 5>>config.log
1454{
1455cat <<_ASUNAME
1456## --------- ##
1457## Platform. ##
1458## --------- ##
1459
1460hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1461uname -m = `(uname -m) 2>/dev/null || echo unknown`
1462uname -r = `(uname -r) 2>/dev/null || echo unknown`
1463uname -s = `(uname -s) 2>/dev/null || echo unknown`
1464uname -v = `(uname -v) 2>/dev/null || echo unknown`
1465
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`
1468
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`
1476
1477_ASUNAME
1478
1479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480for as_dir in $PATH
1481do
1482 IFS=$as_save_IFS
1483 test -z "$as_dir" && as_dir=.
1484 $as_echo "PATH: $as_dir"
1485 done
1486IFS=$as_save_IFS
1487
1488} >&5
1489
1490cat >&5 <<_ACEOF
1491
1492
1493## ----------- ##
1494## Core tests. ##
1495## ----------- ##
1496
1497_ACEOF
1498
1499
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.
1505ac_configure_args=
1506ac_configure_args0=
1507ac_configure_args1=
1508ac_must_keep_next=false
1509for ac_pass in 1 2
1510do
1511 for ac_arg
1512 do
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'" ;;
1523 2)
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
1536 ;;
1537 -* ) ac_must_keep_next=true ;;
1538 esac
1539 fi
1540 as_fn_append ac_configure_args " '$ac_arg'"
1541 ;;
1542 esac
1543 done
1544done
1545{ ac_configure_args0=; unset ac_configure_args0;}
1546{ ac_configure_args1=; unset ac_configure_args1;}
1547
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.
1553trap 'exit_status=$?
1554 # Save into config.log some information that might help in debugging.
1555 {
1556 echo
1557
1558 $as_echo "## ---------------- ##
1559## Cache variables. ##
1560## ---------------- ##"
1561 echo
1562 # The following way of writing the cache mishandles newlines in values,
1563(
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 ;; #(
1586 *)
1587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1588 ;;
1589 esac |
1590 sort
1591)
1592 echo
1593
1594 $as_echo "## ----------------- ##
1595## Output variables. ##
1596## ----------------- ##"
1597 echo
1598 for ac_var in $ac_subst_vars
1599 do
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
1607
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
1614 do
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
1622 fi
1623
1624 if test -s confdefs.h; then
1625 $as_echo "## ----------- ##
1626## confdefs.h. ##
1627## ----------- ##"
1628 echo
1629 cat confdefs.h
1630 echo
1631 fi
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
1639' 0
1640for ac_signal in 1 2 13 15; do
1641 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1642done
1643ac_signal=0
1644
1645# confdefs.h avoids OS command line length limits that DEFS can exceed.
1646rm -f -r conftest* confdefs.h
1647
1648$as_echo "/* confdefs.h */" > confdefs.h
1649
1650# Predefined preprocessor variables.
1651
1652cat >>confdefs.h <<_ACEOF
1653#define PACKAGE_NAME "$PACKAGE_NAME"
1654_ACEOF
1655
1656cat >>confdefs.h <<_ACEOF
1657#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1658_ACEOF
1659
1660cat >>confdefs.h <<_ACEOF
1661#define PACKAGE_VERSION "$PACKAGE_VERSION"
1662_ACEOF
1663
1664cat >>confdefs.h <<_ACEOF
1665#define PACKAGE_STRING "$PACKAGE_STRING"
1666_ACEOF
1667
1668cat >>confdefs.h <<_ACEOF
1669#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1670_ACEOF
1671
1672cat >>confdefs.h <<_ACEOF
1673#define PACKAGE_URL "$PACKAGE_URL"
1674_ACEOF
1675
1676
1677# Let the site file select an alternate cache file if it wants to.
1678# Prefer an explicitly selected file to automatically selected ones.
1679ac_site_file1=NONE
1680ac_site_file2=NONE
1681if 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
1688elif test "x$prefix" != xNONE; then
1689 ac_site_file1=$prefix/share/config.site
1690 ac_site_file2=$prefix/etc/config.site
1691else
1692 ac_site_file1=$ac_default_prefix/share/config.site
1693 ac_site_file2=$ac_default_prefix/etc/config.site
1694fi
1695for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1696do
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;}
1705as_fn_error $? "failed to load site script $ac_site_file
1706See \`config.log' for more details" "$LINENO" 5; }
1707 fi
1708done
1709
1710if 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
1720 fi
1721else
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
1725fi
1726
1727# Check that the precious variables saved in the cache have kept the same
1728# value.
1729ac_cache_corrupted=false
1730for 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 ,);;
1745 *)
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
1758 fi
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
1775 fi
1776done
1777if $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
1783fi
1784## -------------------- ##
1785## Main body of script. ##
1786## -------------------- ##
1787
1788ac_ext=c
1789ac_cpp='$CPP $CPPFLAGS'
1790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1792ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793
1794
1795
1796
1797
1798
1799ac_ext=c
1800ac_cpp='$CPP $CPPFLAGS'
1801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1803ac_compiler_gnu=$ac_cv_c_compiler_gnu
1804if 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.
1806set 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; }
1809if ${ac_cv_prog_CC+:} false; then :
1810 $as_echo_n "(cached) " >&6
1811else
1812 if test -n "$CC"; then
1813 ac_cv_prog_CC="$CC" # Let the user override the test.
1814else
1815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816for as_dir in $PATH
1817do
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
1825 fi
1826done
1827 done
1828IFS=$as_save_IFS
1829
1830fi
1831fi
1832CC=$ac_cv_prog_CC
1833if test -n "$CC"; then
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1835$as_echo "$CC" >&6; }
1836else
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1838$as_echo "no" >&6; }
1839fi
1840
1841
1842fi
1843if 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.
1846set 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; }
1849if ${ac_cv_prog_ac_ct_CC+:} false; then :
1850 $as_echo_n "(cached) " >&6
1851else
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1854else
1855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856for as_dir in $PATH
1857do
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
1865 fi
1866done
1867 done
1868IFS=$as_save_IFS
1869
1870fi
1871fi
1872ac_ct_CC=$ac_cv_prog_ac_ct_CC
1873if 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; }
1876else
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1878$as_echo "no" >&6; }
1879fi
1880
1881 if test "x$ac_ct_CC" = x; then
1882 CC=""
1883 else
1884 case $cross_compiling:$ac_tool_warned in
1885yes:)
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;}
1888ac_tool_warned=yes ;;
1889esac
1890 CC=$ac_ct_CC
1891 fi
1892else
1893 CC="$ac_cv_prog_CC"
1894fi
1895
1896if 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.
1899set 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; }
1902if ${ac_cv_prog_CC+:} false; then :
1903 $as_echo_n "(cached) " >&6
1904else
1905 if test -n "$CC"; then
1906 ac_cv_prog_CC="$CC" # Let the user override the test.
1907else
1908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909for as_dir in $PATH
1910do
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
1918 fi
1919done
1920 done
1921IFS=$as_save_IFS
1922
1923fi
1924fi
1925CC=$ac_cv_prog_CC
1926if test -n "$CC"; then
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1928$as_echo "$CC" >&6; }
1929else
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1931$as_echo "no" >&6; }
1932fi
1933
1934
1935 fi
1936fi
1937if test -z "$CC"; then
1938 # Extract the first word of "cc", so it can be a program name with args.
1939set 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; }
1942if ${ac_cv_prog_CC+:} false; then :
1943 $as_echo_n "(cached) " >&6
1944else
1945 if test -n "$CC"; then
1946 ac_cv_prog_CC="$CC" # Let the user override the test.
1947else
1948 ac_prog_rejected=no
1949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950for as_dir in $PATH
1951do
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
1959 fi
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
1963 fi
1964done
1965 done
1966IFS=$as_save_IFS
1967
1968if 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+' '}$@"
1978 fi
1979fi
1980fi
1981fi
1982CC=$ac_cv_prog_CC
1983if test -n "$CC"; then
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1985$as_echo "$CC" >&6; }
1986else
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1988$as_echo "no" >&6; }
1989fi
1990
1991
1992fi
1993if test -z "$CC"; then
1994 if test -n "$ac_tool_prefix"; then
1995 for ac_prog in cl.exe
1996 do
1997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1998set 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; }
2001if ${ac_cv_prog_CC+:} false; then :
2002 $as_echo_n "(cached) " >&6
2003else
2004 if test -n "$CC"; then
2005 ac_cv_prog_CC="$CC" # Let the user override the test.
2006else
2007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008for as_dir in $PATH
2009do
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
2017 fi
2018done
2019 done
2020IFS=$as_save_IFS
2021
2022fi
2023fi
2024CC=$ac_cv_prog_CC
2025if test -n "$CC"; then
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2027$as_echo "$CC" >&6; }
2028else
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2030$as_echo "no" >&6; }
2031fi
2032
2033
2034 test -n "$CC" && break
2035 done
2036fi
2037if test -z "$CC"; then
2038 ac_ct_CC=$CC
2039 for ac_prog in cl.exe
2040do
2041 # Extract the first word of "$ac_prog", so it can be a program name with args.
2042set 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; }
2045if ${ac_cv_prog_ac_ct_CC+:} false; then :
2046 $as_echo_n "(cached) " >&6
2047else
2048 if test -n "$ac_ct_CC"; then
2049 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2050else
2051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052for as_dir in $PATH
2053do
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
2061 fi
2062done
2063 done
2064IFS=$as_save_IFS
2065
2066fi
2067fi
2068ac_ct_CC=$ac_cv_prog_ac_ct_CC
2069if 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; }
2072else
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2074$as_echo "no" >&6; }
2075fi
2076
2077
2078 test -n "$ac_ct_CC" && break
2079done
2080
2081 if test "x$ac_ct_CC" = x; then
2082 CC=""
2083 else
2084 case $cross_compiling:$ac_tool_warned in
2085yes:)
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;}
2088ac_tool_warned=yes ;;
2089esac
2090 CC=$ac_ct_CC
2091 fi
2092fi
2093
2094fi
2095
2096
2097test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2098$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2099as_fn_error $? "no acceptable C compiler found in \$PATH
2100See \`config.log' for more details" "$LINENO" 5; }
2101
2102# Provide some information about the compiler.
2103$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2104set X $ac_compile
2105ac_compiler=$2
2106for ac_option in --version -v -V -qversion; do
2107 { { ac_try="$ac_compiler $ac_option >&5"
2108case "(($ac_try" in
2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2110 *) ac_try_echo=$ac_try;;
2111esac
2112eval 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
2121 fi
2122 rm -f conftest.er1 conftest.err
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; }
2125done
2126
2127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128/* end confdefs.h. */
2129
2130int
2131main ()
2132{
2133
2134 ;
2135 return 0;
2136}
2137_ACEOF
2138ac_clean_files_save=$ac_clean_files
2139ac_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; }
2145ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2146
2147# The possible output files:
2148ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2149
2150ac_rmfiles=
2151for ac_file in $ac_files
2152do
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
2157done
2158rm -f $ac_rmfiles
2159
2160if { { ac_try="$ac_link_default"
2161case "(($ac_try" in
2162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2163 *) ac_try_echo=$ac_try;;
2164esac
2165eval 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.
2176for ac_file in $ac_files ''
2177do
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 )
2181 ;;
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" : '[^.]*\(\..*\)'`
2190 fi
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;;
2197 * )
2198 break;;
2199 esac
2200done
2201test "$ac_cv_exeext" = no && ac_cv_exeext=
2202
2203else
2204 ac_file=''
2205fi
2206if 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
2210sed 's/^/| /' conftest.$ac_ext >&5
2211
2212{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214as_fn_error 77 "C compiler cannot create executables
2215See \`config.log' for more details" "$LINENO" 5; }
2216else
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2218$as_echo "yes" >&6; }
2219fi
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; }
2224ac_exeext=$ac_cv_exeext
2225
2226rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2227ac_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; }
2230if { { ac_try="$ac_link"
2231case "(($ac_try" in
2232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2233 *) ac_try_echo=$ac_try;;
2234esac
2235eval 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'.
2245for 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
2253done
2254else
2255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2258See \`config.log' for more details" "$LINENO" 5; }
2259fi
2260rm -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; }
2263
2264rm -f conftest.$ac_ext
2265EXEEXT=$ac_cv_exeext
2266ac_exeext=$EXEEXT
2267cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268/* end confdefs.h. */
2269#include <stdio.h>
2270int
2271main ()
2272{
2273FILE *f = fopen ("conftest.out", "w");
2274 return ferror (f) || fclose (f) != 0;
2275
2276 ;
2277 return 0;
2278}
2279_ACEOF
2280ac_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; }
2285if test "$cross_compiling" != yes; then
2286 { { ac_try="$ac_link"
2287case "(($ac_try" in
2288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289 *) ac_try_echo=$ac_try;;
2290esac
2291eval 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;;
2301esac
2302eval 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;}
2315as_fn_error $? "cannot run C compiled programs.
2316If you meant to cross compile, use \`--host'.
2317See \`config.log' for more details" "$LINENO" 5; }
2318 fi
2319 fi
2320fi
2321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2322$as_echo "$cross_compiling" >&6; }
2323
2324rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2325ac_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; }
2328if ${ac_cv_objext+:} false; then :
2329 $as_echo_n "(cached) " >&6
2330else
2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332/* end confdefs.h. */
2333
2334int
2335main ()
2336{
2337
2338 ;
2339 return 0;
2340}
2341_ACEOF
2342rm -f conftest.o conftest.obj
2343if { { ac_try="$ac_compile"
2344case "(($ac_try" in
2345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2346 *) ac_try_echo=$ac_try;;
2347esac
2348eval 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
2361done
2362else
2363 $as_echo "$as_me: failed program was:" >&5
2364sed 's/^/| /' conftest.$ac_ext >&5
2365
2366{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368as_fn_error $? "cannot compute suffix of object files: cannot compile
2369See \`config.log' for more details" "$LINENO" 5; }
2370fi
2371rm -f conftest.$ac_cv_objext conftest.$ac_ext
2372fi
2373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2374$as_echo "$ac_cv_objext" >&6; }
2375OBJEXT=$ac_cv_objext
2376ac_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; }
2379if ${ac_cv_c_compiler_gnu+:} false; then :
2380 $as_echo_n "(cached) " >&6
2381else
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383/* end confdefs.h. */
2384
2385int
2386main ()
2387{
2388#ifndef __GNUC__
2389 choke me
2390#endif
2391
2392 ;
2393 return 0;
2394}
2395_ACEOF
2396if ac_fn_c_try_compile "$LINENO"; then :
2397 ac_compiler_gnu=yes
2398else
2399 ac_compiler_gnu=no
2400fi
2401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402ac_cv_c_compiler_gnu=$ac_compiler_gnu
2403
2404fi
2405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2406$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2407if test $ac_compiler_gnu = yes; then
2408 GCC=yes
2409else
2410 GCC=
2411fi
2412ac_test_CFLAGS=${CFLAGS+set}
2413ac_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; }
2416if ${ac_cv_prog_cc_g+:} false; then :
2417 $as_echo_n "(cached) " >&6
2418else
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. */
2425
2426int
2427main ()
2428{
2429
2430 ;
2431 return 0;
2432}
2433_ACEOF
2434if ac_fn_c_try_compile "$LINENO"; then :
2435 ac_cv_prog_cc_g=yes
2436else
2437 CFLAGS=""
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439/* end confdefs.h. */
2440
2441int
2442main ()
2443{
2444
2445 ;
2446 return 0;
2447}
2448_ACEOF
2449if ac_fn_c_try_compile "$LINENO"; then :
2450
2451else
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. */
2456
2457int
2458main ()
2459{
2460
2461 ;
2462 return 0;
2463}
2464_ACEOF
2465if ac_fn_c_try_compile "$LINENO"; then :
2466 ac_cv_prog_cc_g=yes
2467fi
2468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2469fi
2470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471fi
2472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 ac_c_werror_flag=$ac_save_c_werror_flag
2474fi
2475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2476$as_echo "$ac_cv_prog_cc_g" >&6; }
2477if test "$ac_test_CFLAGS" = set; then
2478 CFLAGS=$ac_save_CFLAGS
2479elif test $ac_cv_prog_cc_g = yes; then
2480 if test "$GCC" = yes; then
2481 CFLAGS="-g -O2"
2482 else
2483 CFLAGS="-g"
2484 fi
2485else
2486 if test "$GCC" = yes; then
2487 CFLAGS="-O2"
2488 else
2489 CFLAGS=
2490 fi
2491fi
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; }
2494if ${ac_cv_prog_cc_c89+:} false; then :
2495 $as_echo_n "(cached) " >&6
2496else
2497 ac_cv_prog_cc_c89=no
2498ac_save_CC=$CC
2499cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2500/* end confdefs.h. */
2501#include <stdarg.h>
2502#include <stdio.h>
2503struct stat;
2504/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2505struct buf { int x; };
2506FILE * (*rcsopen) (struct buf *, struct stat *, int);
2507static char *e (p, i)
2508 char **p;
2509 int i;
2510{
2511 return p[i];
2512}
2513static char *f (char * (*g) (char **, int), char **p, ...)
2514{
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;
2521}
2522
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. */
2530int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2531
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'
2535int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2536
2537int test (int i, double x);
2538struct s1 {int (*f) (int a);};
2539struct s2 {int (*f) (double a);};
2540int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2541int argc;
2542char **argv;
2543int
2544main ()
2545{
2546return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2547 ;
2548 return 0;
2549}
2550_ACEOF
2551for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2552 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2553do
2554 CC="$ac_save_CC $ac_arg"
2555 if ac_fn_c_try_compile "$LINENO"; then :
2556 ac_cv_prog_cc_c89=$ac_arg
2557fi
2558rm -f core conftest.err conftest.$ac_objext
2559 test "x$ac_cv_prog_cc_c89" != "xno" && break
2560done
2561rm -f conftest.$ac_ext
2562CC=$ac_save_CC
2563
2564fi
2565# AC_CACHE_VAL
2566case "x$ac_cv_prog_cc_c89" in
2567 x)
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; } ;;
2573 *)
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; } ;;
2577esac
2578if test "x$ac_cv_prog_cc_c89" != xno; then :
2579
2580fi
2581
2582ac_ext=c
2583ac_cpp='$CPP $CPPFLAGS'
2584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2586ac_compiler_gnu=$ac_cv_c_compiler_gnu
2587
2588ac_aux_dir=
2589for 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
2602 fi
2603done
2604if test -z "$ac_aux_dir"; then
2605 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2606fi
2607
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.
2612ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2613ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2614ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2615
2616
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; }
2633if test -z "$INSTALL"; then
2634if ${ac_cv_path_install+:} false; then :
2635 $as_echo_n "(cached) " >&6
2636else
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638for as_dir in $PATH
2639do
2640 IFS=$as_save_IFS
2641 test -z "$as_dir" && as_dir=.
2642 # Account for people who put trailing slashes in PATH elements.
2643case $as_dir/ in #((
2644 ./ | .// | /[cC]/* | \
2645 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2646 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2647 /usr/ucb/* ) ;;
2648 *)
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.
2658 :
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.
2662 :
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
2675 fi
2676 fi
2677 fi
2678 done
2679 done
2680 ;;
2681esac
2682
2683 done
2684IFS=$as_save_IFS
2685
2686rm -rf conftest.one conftest.two conftest.dir
2687
2688fi
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
2697 fi
2698fi
2699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2700$as_echo "$INSTALL" >&6; }
2701
2702# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2703# It thinks the first close brace ends the variable substitution.
2704test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2705
2706test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2707
2708test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2709
2710if 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.
2712set 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; }
2715if ${ac_cv_prog_AR+:} false; then :
2716 $as_echo_n "(cached) " >&6
2717else
2718 if test -n "$AR"; then
2719 ac_cv_prog_AR="$AR" # Let the user override the test.
2720else
2721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722for as_dir in $PATH
2723do
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
2731 fi
2732done
2733 done
2734IFS=$as_save_IFS
2735
2736fi
2737fi
2738AR=$ac_cv_prog_AR
2739if test -n "$AR"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2741$as_echo "$AR" >&6; }
2742else
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2744$as_echo "no" >&6; }
2745fi
2746
2747
2748fi
2749if 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.
2752set 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; }
2755if ${ac_cv_prog_ac_ct_AR+:} false; then :
2756 $as_echo_n "(cached) " >&6
2757else
2758 if test -n "$ac_ct_AR"; then
2759 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2760else
2761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762for as_dir in $PATH
2763do
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
2771 fi
2772done
2773 done
2774IFS=$as_save_IFS
2775
2776fi
2777fi
2778ac_ct_AR=$ac_cv_prog_ac_ct_AR
2779if 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; }
2782else
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784$as_echo "no" >&6; }
2785fi
2786
2787 if test "x$ac_ct_AR" = x; then
2788 AR=""
2789 else
2790 case $cross_compiling:$ac_tool_warned in
2791yes:)
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;}
2794ac_tool_warned=yes ;;
2795esac
2796 AR=$ac_ct_AR
2797 fi
2798else
2799 AR="$ac_cv_prog_AR"
2800fi
2801
2802if 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.
2804set 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; }
2807if ${ac_cv_prog_RANLIB+:} false; then :
2808 $as_echo_n "(cached) " >&6
2809else
2810 if test -n "$RANLIB"; then
2811 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2812else
2813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814for as_dir in $PATH
2815do
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
2823 fi
2824done
2825 done
2826IFS=$as_save_IFS
2827
2828fi
2829fi
2830RANLIB=$ac_cv_prog_RANLIB
2831if test -n "$RANLIB"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2833$as_echo "$RANLIB" >&6; }
2834else
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836$as_echo "no" >&6; }
2837fi
2838
2839
2840fi
2841if 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.
2844set 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; }
2847if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2848 $as_echo_n "(cached) " >&6
2849else
2850 if test -n "$ac_ct_RANLIB"; then
2851 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2852else
2853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854for as_dir in $PATH
2855do
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
2863 fi
2864done
2865 done
2866IFS=$as_save_IFS
2867
2868fi
2869fi
2870ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2871if 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; }
2874else
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876$as_echo "no" >&6; }
2877fi
2878
2879 if test "x$ac_ct_RANLIB" = x; then
2880 RANLIB=":"
2881 else
2882 case $cross_compiling:$ac_tool_warned in
2883yes:)
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;}
2886ac_tool_warned=yes ;;
2887esac
2888 RANLIB=$ac_ct_RANLIB
2889 fi
2890else
2891 RANLIB="$ac_cv_prog_RANLIB"
2892fi
2893
2894
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
2898
2899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2900$as_echo_n "checking build system type... " >&6; }
2901if ${ac_cv_build+:} false; then :
2902 $as_echo_n "(cached) " >&6
2903else
2904 ac_build_alias=$build_alias
2905test "x$ac_build_alias" = x &&
2906 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2907test "x$ac_build_alias" = x &&
2908 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2909ac_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
2911
2912fi
2913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2914$as_echo "$ac_cv_build" >&6; }
2915case $ac_cv_build in
2916*-*-*) ;;
2917*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2918esac
2919build=$ac_cv_build
2920ac_save_IFS=$IFS; IFS='-'
2921set x $ac_cv_build
2922shift
2923build_cpu=$1
2924build_vendor=$2
2925shift; shift
2926# Remember, the first character of IFS is used to create $*,
2927# except with old shells:
2928build_os=$*
2929IFS=$ac_save_IFS
2930case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2931
2932
2933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2934$as_echo_n "checking host system type... " >&6; }
2935if ${ac_cv_host+:} false; then :
2936 $as_echo_n "(cached) " >&6
2937else
2938 if test "x$host_alias" = x; then
2939 ac_cv_host=$ac_cv_build
2940else
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
2943fi
2944
2945fi
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2947$as_echo "$ac_cv_host" >&6; }
2948case $ac_cv_host in
2949*-*-*) ;;
2950*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2951esac
2952host=$ac_cv_host
2953ac_save_IFS=$IFS; IFS='-'
2954set x $ac_cv_host
2955shift
2956host_cpu=$1
2957host_vendor=$2
2958shift; shift
2959# Remember, the first character of IFS is used to create $*,
2960# except with old shells:
2961host_os=$*
2962IFS=$ac_save_IFS
2963case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2964
2965
2966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2967$as_echo_n "checking target system type... " >&6; }
2968if ${ac_cv_target+:} false; then :
2969 $as_echo_n "(cached) " >&6
2970else
2971 if test "x$target_alias" = x; then
2972 ac_cv_target=$ac_cv_host
2973else
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
2976fi
2977
2978fi
2979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2980$as_echo "$ac_cv_target" >&6; }
2981case $ac_cv_target in
2982*-*-*) ;;
2983*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2984esac
2985target=$ac_cv_target
2986ac_save_IFS=$IFS; IFS='-'
2987set x $ac_cv_target
2988shift
2989target_cpu=$1
2990target_vendor=$2
2991shift; shift
2992# Remember, the first character of IFS is used to create $*,
2993# except with old shells:
2994target_os=$*
2995IFS=$ac_save_IFS
2996case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2997
2998
2999# The aliases save the names the user supplied, while $host etc.
3000# will get canonicalized.
3001test -n "$target_alias" &&
3002 test "$program_prefix$program_suffix$program_transform_name" = \
3003 NONENONEs,x,x, &&
3004 program_prefix=${target_alias}-
3005
3006test "$program_prefix" != NONE &&
3007 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3008# Use a double $ so make ignores it.
3009test "$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.
3013ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3014program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3015
3016ac_ext=c
3017ac_cpp='$CPP $CPPFLAGS'
3018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020ac_compiler_gnu=$ac_cv_c_compiler_gnu
3021if 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.
3023set 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; }
3026if ${ac_cv_prog_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3028else
3029 if test -n "$CC"; then
3030 ac_cv_prog_CC="$CC" # Let the user override the test.
3031else
3032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033for as_dir in $PATH
3034do
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
3042 fi
3043done
3044 done
3045IFS=$as_save_IFS
3046
3047fi
3048fi
3049CC=$ac_cv_prog_CC
3050if test -n "$CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052$as_echo "$CC" >&6; }
3053else
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055$as_echo "no" >&6; }
3056fi
3057
3058
3059fi
3060if 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.
3063set 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; }
3066if ${ac_cv_prog_ac_ct_CC+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068else
3069 if test -n "$ac_ct_CC"; then
3070 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3071else
3072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073for as_dir in $PATH
3074do
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
3082 fi
3083done
3084 done
3085IFS=$as_save_IFS
3086
3087fi
3088fi
3089ac_ct_CC=$ac_cv_prog_ac_ct_CC
3090if 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; }
3093else
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095$as_echo "no" >&6; }
3096fi
3097
3098 if test "x$ac_ct_CC" = x; then
3099 CC=""
3100 else
3101 case $cross_compiling:$ac_tool_warned in
3102yes:)
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;}
3105ac_tool_warned=yes ;;
3106esac
3107 CC=$ac_ct_CC
3108 fi
3109else
3110 CC="$ac_cv_prog_CC"
3111fi
3112
3113if 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.
3116set 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; }
3119if ${ac_cv_prog_CC+:} false; then :
3120 $as_echo_n "(cached) " >&6
3121else
3122 if test -n "$CC"; then
3123 ac_cv_prog_CC="$CC" # Let the user override the test.
3124else
3125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126for as_dir in $PATH
3127do
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
3135 fi
3136done
3137 done
3138IFS=$as_save_IFS
3139
3140fi
3141fi
3142CC=$ac_cv_prog_CC
3143if test -n "$CC"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3145$as_echo "$CC" >&6; }
3146else
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148$as_echo "no" >&6; }
3149fi
3150
3151
3152 fi
3153fi
3154if test -z "$CC"; then
3155 # Extract the first word of "cc", so it can be a program name with args.
3156set 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; }
3159if ${ac_cv_prog_CC+:} false; then :
3160 $as_echo_n "(cached) " >&6
3161else
3162 if test -n "$CC"; then
3163 ac_cv_prog_CC="$CC" # Let the user override the test.
3164else
3165 ac_prog_rejected=no
3166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167for as_dir in $PATH
3168do
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
3176 fi
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
3180 fi
3181done
3182 done
3183IFS=$as_save_IFS
3184
3185if 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+' '}$@"
3195 fi
3196fi
3197fi
3198fi
3199CC=$ac_cv_prog_CC
3200if test -n "$CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3202$as_echo "$CC" >&6; }
3203else
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205$as_echo "no" >&6; }
3206fi
3207
3208
3209fi
3210if test -z "$CC"; then
3211 if test -n "$ac_tool_prefix"; then
3212 for ac_prog in cl.exe
3213 do
3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3215set 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; }
3218if ${ac_cv_prog_CC+:} false; then :
3219 $as_echo_n "(cached) " >&6
3220else
3221 if test -n "$CC"; then
3222 ac_cv_prog_CC="$CC" # Let the user override the test.
3223else
3224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225for as_dir in $PATH
3226do
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
3234 fi
3235done
3236 done
3237IFS=$as_save_IFS
3238
3239fi
3240fi
3241CC=$ac_cv_prog_CC
3242if test -n "$CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3244$as_echo "$CC" >&6; }
3245else
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247$as_echo "no" >&6; }
3248fi
3249
3250
3251 test -n "$CC" && break
3252 done
3253fi
3254if test -z "$CC"; then
3255 ac_ct_CC=$CC
3256 for ac_prog in cl.exe
3257do
3258 # Extract the first word of "$ac_prog", so it can be a program name with args.
3259set 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; }
3262if ${ac_cv_prog_ac_ct_CC+:} false; then :
3263 $as_echo_n "(cached) " >&6
3264else
3265 if test -n "$ac_ct_CC"; then
3266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3267else
3268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269for as_dir in $PATH
3270do
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
3278 fi
3279done
3280 done
3281IFS=$as_save_IFS
3282
3283fi
3284fi
3285ac_ct_CC=$ac_cv_prog_ac_ct_CC
3286if 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; }
3289else
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291$as_echo "no" >&6; }
3292fi
3293
3294
3295 test -n "$ac_ct_CC" && break
3296done
3297
3298 if test "x$ac_ct_CC" = x; then
3299 CC=""
3300 else
3301 case $cross_compiling:$ac_tool_warned in
3302yes:)
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;}
3305ac_tool_warned=yes ;;
3306esac
3307 CC=$ac_ct_CC
3308 fi
3309fi
3310
3311fi
3312
3313
3314test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3315$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316as_fn_error $? "no acceptable C compiler found in \$PATH
3317See \`config.log' for more details" "$LINENO" 5; }
3318
3319# Provide some information about the compiler.
3320$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3321set X $ac_compile
3322ac_compiler=$2
3323for ac_option in --version -v -V -qversion; do
3324 { { ac_try="$ac_compiler $ac_option >&5"
3325case "(($ac_try" in
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3328esac
3329eval 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
3338 fi
3339 rm -f conftest.er1 conftest.err
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }
3342done
3343
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; }
3346if ${ac_cv_c_compiler_gnu+:} false; then :
3347 $as_echo_n "(cached) " >&6
3348else
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350/* end confdefs.h. */
3351
3352int
3353main ()
3354{
3355#ifndef __GNUC__
3356 choke me
3357#endif
3358
3359 ;
3360 return 0;
3361}
3362_ACEOF
3363if ac_fn_c_try_compile "$LINENO"; then :
3364 ac_compiler_gnu=yes
3365else
3366 ac_compiler_gnu=no
3367fi
3368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369ac_cv_c_compiler_gnu=$ac_compiler_gnu
3370
3371fi
3372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3373$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3374if test $ac_compiler_gnu = yes; then
3375 GCC=yes
3376else
3377 GCC=
3378fi
3379ac_test_CFLAGS=${CFLAGS+set}
3380ac_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; }
3383if ${ac_cv_prog_cc_g+:} false; then :
3384 $as_echo_n "(cached) " >&6
3385else
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. */
3392
3393int
3394main ()
3395{
3396
3397 ;
3398 return 0;
3399}
3400_ACEOF
3401if ac_fn_c_try_compile "$LINENO"; then :
3402 ac_cv_prog_cc_g=yes
3403else
3404 CFLAGS=""
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406/* end confdefs.h. */
3407
3408int
3409main ()
3410{
3411
3412 ;
3413 return 0;
3414}
3415_ACEOF
3416if ac_fn_c_try_compile "$LINENO"; then :
3417
3418else
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. */
3423
3424int
3425main ()
3426{
3427
3428 ;
3429 return 0;
3430}
3431_ACEOF
3432if ac_fn_c_try_compile "$LINENO"; then :
3433 ac_cv_prog_cc_g=yes
3434fi
3435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436fi
3437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438fi
3439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 ac_c_werror_flag=$ac_save_c_werror_flag
3441fi
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3443$as_echo "$ac_cv_prog_cc_g" >&6; }
3444if test "$ac_test_CFLAGS" = set; then
3445 CFLAGS=$ac_save_CFLAGS
3446elif test $ac_cv_prog_cc_g = yes; then
3447 if test "$GCC" = yes; then
3448 CFLAGS="-g -O2"
3449 else
3450 CFLAGS="-g"
3451 fi
3452else
3453 if test "$GCC" = yes; then
3454 CFLAGS="-O2"
3455 else
3456 CFLAGS=
3457 fi
3458fi
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; }
3461if ${ac_cv_prog_cc_c89+:} false; then :
3462 $as_echo_n "(cached) " >&6
3463else
3464 ac_cv_prog_cc_c89=no
3465ac_save_CC=$CC
3466cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467/* end confdefs.h. */
3468#include <stdarg.h>
3469#include <stdio.h>
3470struct stat;
3471/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3472struct buf { int x; };
3473FILE * (*rcsopen) (struct buf *, struct stat *, int);
3474static char *e (p, i)
3475 char **p;
3476 int i;
3477{
3478 return p[i];
3479}
3480static char *f (char * (*g) (char **, int), char **p, ...)
3481{
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;
3488}
3489
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. */
3497int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3498
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'
3502int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3503
3504int test (int i, double x);
3505struct s1 {int (*f) (int a);};
3506struct s2 {int (*f) (double a);};
3507int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3508int argc;
3509char **argv;
3510int
3511main ()
3512{
3513return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3514 ;
3515 return 0;
3516}
3517_ACEOF
3518for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3519 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3520do
3521 CC="$ac_save_CC $ac_arg"
3522 if ac_fn_c_try_compile "$LINENO"; then :
3523 ac_cv_prog_cc_c89=$ac_arg
3524fi
3525rm -f core conftest.err conftest.$ac_objext
3526 test "x$ac_cv_prog_cc_c89" != "xno" && break
3527done
3528rm -f conftest.$ac_ext
3529CC=$ac_save_CC
3530
3531fi
3532# AC_CACHE_VAL
3533case "x$ac_cv_prog_cc_c89" in
3534 x)
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; } ;;
3540 *)
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; } ;;
3544esac
3545if test "x$ac_cv_prog_cc_c89" != xno; then :
3546
3547fi
3548
3549ac_ext=c
3550ac_cpp='$CPP $CPPFLAGS'
3551ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554
3555
3556
3557AR=${AR-ar}
3558
3559if 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.
3561set 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; }
3564if ${ac_cv_prog_RANLIB+:} false; then :
3565 $as_echo_n "(cached) " >&6
3566else
3567 if test -n "$RANLIB"; then
3568 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3569else
3570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571for as_dir in $PATH
3572do
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
3580 fi
3581done
3582 done
3583IFS=$as_save_IFS
3584
3585fi
3586fi
3587RANLIB=$ac_cv_prog_RANLIB
3588if test -n "$RANLIB"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3590$as_echo "$RANLIB" >&6; }
3591else
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593$as_echo "no" >&6; }
3594fi
3595
3596
3597fi
3598if 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.
3601set 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; }
3604if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3605 $as_echo_n "(cached) " >&6
3606else
3607 if test -n "$ac_ct_RANLIB"; then
3608 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3609else
3610as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611for as_dir in $PATH
3612do
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
3620 fi
3621done
3622 done
3623IFS=$as_save_IFS
3624
3625fi
3626fi
3627ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3628if 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; }
3631else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633$as_echo "no" >&6; }
3634fi
3635
3636 if test "x$ac_ct_RANLIB" = x; then
3637 RANLIB=":"
3638 else
3639 case $cross_compiling:$ac_tool_warned in
3640yes:)
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;}
3643ac_tool_warned=yes ;;
3644esac
3645 RANLIB=$ac_ct_RANLIB
3646 fi
3647else
3648 RANLIB="$ac_cv_prog_RANLIB"
3649fi
3650
3651
3652# Put a plausible default for CC_FOR_BUILD in Makefile.
3653if 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
3658 fi
3659fi
3660
3661CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3662
3663
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.
3667if test "${enable_sim+set}" = set; then :
3668 enableval=$enable_sim; case "${enableval}" in
3669yes | no) ;;
3670*) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3671esac
3672fi
3673
3674
3675
3676if test "${enable_sim}" != no; then
3677
3678# WHEN ADDING ENTRIES TO THIS MATRIX:
3679
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.
3684
3685
3686
3687sim_igen=no
3688sim_arch=
3689case "${target}" in
3690 aarch64*-*-*)
3691
3692 sim_arch=aarch64
3693
3694
3695subdirs="$subdirs aarch64"
3696
3697
3698 ;;
3699 arm*-*-*)
3700
3701 sim_arch=arm
3702 subdirs="$subdirs arm"
3703
3704
3705 ;;
3706 avr*-*-*)
3707
3708 sim_arch=avr
3709 subdirs="$subdirs avr"
3710
3711
3712 ;;
3713 bfin-*-*)
3714
3715 sim_arch=bfin
3716 subdirs="$subdirs bfin"
3717
3718
3719 ;;
3720 cr16*-*-*)
3721
3722 sim_arch=cr16
3723 subdirs="$subdirs cr16"
3724
3725
3726 ;;
3727 cris-*-* | crisv32-*-*)
3728
3729 sim_arch=cris
3730 subdirs="$subdirs cris"
3731
3732
3733 ;;
3734 d10v-*-*)
3735
3736 sim_arch=d10v
3737 subdirs="$subdirs d10v"
3738
3739
3740 ;;
3741 frv-*-*)
3742
3743 sim_arch=frv
3744 subdirs="$subdirs frv"
3745
3746
3747 ;;
3748 h8300*-*-*)
3749
3750 sim_arch=h8300
3751 subdirs="$subdirs h8300"
3752
3753
3754 ;;
3755 iq2000-*-*)
3756
3757 sim_arch=iq2000
3758 subdirs="$subdirs iq2000"
3759
3760
3761 ;;
3762 lm32-*-*)
3763
3764 sim_arch=lm32
3765 subdirs="$subdirs lm32"
3766
3767
3768 ;;
3769 m32c-*-*)
3770
3771 sim_arch=m32c
3772 subdirs="$subdirs m32c"
3773
3774
3775 ;;
3776 m32r-*-*)
3777
3778 sim_arch=m32r
3779 subdirs="$subdirs m32r"
3780
3781
3782 ;;
3783 m68hc11-*-*|m6811-*-*)
3784
3785 sim_arch=m68hc11
3786 subdirs="$subdirs m68hc11"
3787
3788
3789 ;;
3790 mcore-*-*)
3791
3792 sim_arch=mcore
3793 subdirs="$subdirs mcore"
3794
3795
3796 ;;
3797 microblaze-*-*)
3798
3799 sim_arch=microblaze
3800 subdirs="$subdirs microblaze"
3801
3802
3803 ;;
3804 mips*-*-*)
3805
3806 sim_arch=mips
3807 subdirs="$subdirs mips"
3808
3809
3810 sim_igen=yes
3811 ;;
3812 mn10300*-*-*)
3813
3814 sim_arch=mn10300
3815 subdirs="$subdirs mn10300"
3816
3817
3818 sim_igen=yes
3819 ;;
3820 moxie-*-*)
3821
3822 sim_arch=moxie
3823 subdirs="$subdirs moxie"
3824
3825
3826 ;;
3827 msp430*-*-*)
3828
3829 sim_arch=msp430
3830 subdirs="$subdirs msp430"
3831
3832
3833 ;;
3834 or1k-*-* | or1knd-*-*)
3835
3836 sim_arch=or1k
3837 subdirs="$subdirs or1k"
3838
3839
3840 ;;
3841 rl78-*-*)
3842
3843 sim_arch=rl78
3844 subdirs="$subdirs rl78"
3845
3846
3847 ;;
3848 rx-*-*)
3849
3850 sim_arch=rx
3851 subdirs="$subdirs rx"
3852
3853
3854 ;;
3855 sh64*-*-*)
3856
3857 sim_arch=sh64
3858 subdirs="$subdirs sh64"
3859
3860
3861 ;;
3862 sh*-*-*)
3863
3864 sim_arch=sh
3865 subdirs="$subdirs sh"
3866
3867
3868 ;;
3869 sparc-*-rtems*|sparc-*-elf*)
3870
3871 sim_arch=erc32
3872 subdirs="$subdirs erc32"
3873
3874
3875 ;;
3876 powerpc*-*-*)
3877
3878 sim_arch=ppc
3879 subdirs="$subdirs ppc"
3880
3881
3882 ;;
3883 ft32-*-*)
3884
3885 sim_arch=ft32
3886 subdirs="$subdirs ft32"
3887
3888
3889 ;;
3890 v850*-*-*)
3891
3892 sim_arch=v850
3893 subdirs="$subdirs v850"
3894
3895
3896 sim_igen=yes
3897 ;;
3898esac
3899
3900
3901 subdirs="$subdirs testsuite"
3902
3903 if test "$sim_igen" = yes; then
3904 subdirs="$subdirs igen"
3905
3906 fi
3907fi
3908
3909ac_config_files="$ac_config_files Makefile"
3910
3911cat >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.
3917#
3918# config.status only pays attention to the cache file if you give it
3919# the --recheck option to rerun configure.
3920#
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.
3924
3925_ACEOF
3926
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.
3932(
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
3948
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 ;; #(
3958 *)
3959 # `set' quotes correctly as required by POSIX, so do not add quotes.
3960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3961 ;;
3962 esac |
3963 sort
3964) |
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
3973if 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" ;; #(
3985 *)
3986 mv -f confcache "$cache_file" ;;
3987 esac
3988 fi
3989 fi
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;}
3993 fi
3994fi
3995rm -f confcache
3996
3997test "x$prefix" = xNONE && prefix=$ac_default_prefix
3998# Let make expand exec_prefix.
3999test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4000
4001# Transform confdefs.h into DEFS.
4002# Protect against shell expansion while executing Makefile rules.
4003# Protect against Makefile macro expansion.
4004#
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.
4008ac_script='
4009:mline
4010/\\$/{
4011 N
4012 s,\\\n,,
4013 b mline
4014}
4015t clear
4016:clear
4017s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4018t quote
4019s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4020t quote
4021b any
4022:quote
4023s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4024s/\[/\\&/g
4025s/\]/\\&/g
4026s/\$/$$/g
4027H
4028:any
4029${
4030 g
4031 s/^\n//
4032 s/\n/ /g
4033 p
4034}
4035'
4036DEFS=`sed -n "$ac_script" confdefs.h`
4037
4038
4039ac_libobjs=
4040ac_ltlibobjs=
4041U=
4042for 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'
4050done
4051LIBOBJS=$ac_libobjs
4052
4053LTLIBOBJS=$ac_ltlibobjs
4054
4055
4056
4057: "${CONFIG_STATUS=./config.status}"
4058ac_write_fail=0
4059ac_clean_files_save=$ac_clean_files
4060ac_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;}
4063as_write_fail=0
4064cat >$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.
4070
4071debug=false
4072ac_cs_recheck=false
4073ac_cs_silent=false
4074
4075SHELL=\${CONFIG_SHELL-$SHELL}
4076export SHELL
4077_ASEOF
4078cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4079## -------------------- ##
4080## M4sh Initialization. ##
4081## -------------------- ##
4082
4083# Be more Bourne compatible
4084DUALCASE=1; export DUALCASE # for MKS sh
4085if 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
4092else
4093 case `(set -o) 2>/dev/null` in #(
4094 *posix*) :
4095 set -o posix ;; #(
4096 *) :
4097 ;;
4098esac
4099fi
4100
4101
4102as_nl='
4103'
4104export as_nl
4105# Printing a long string crashes Solaris 7 /usr/bin/printf.
4106as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4107as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4108as_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.
4111if 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 --'
4115elif (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'
4118else
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"
4132 '
4133 export as_echo_n_body
4134 as_echo_n='sh -c $as_echo_n_body as_echo'
4135 fi
4136 export as_echo_body
4137 as_echo='sh -c $as_echo_body as_echo'
4138fi
4139
4140# The user is always right.
4141if 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=';'
4146 }
4147fi
4148
4149
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.)
4155IFS=" "" $as_nl"
4156
4157# Find who we are. Look in the path if we contain no directory separator.
4158as_myself=
4159case $0 in #((
4160 *[\\/]* ) as_myself=$0 ;;
4161 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162for as_dir in $PATH
4163do
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
4168IFS=$as_save_IFS
4169
4170 ;;
4171esac
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.
4174if test "x$as_myself" = x; then
4175 as_myself=$0
4176fi
4177if test ! -f "$as_myself"; then
4178 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4179 exit 1
4180fi
4181
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.
4186for as_var in BASH_ENV ENV MAIL MAILPATH
4187do eval test x\${$as_var+set} = xset \
4188 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4189done
4190PS1='$ '
4191PS2='> '
4192PS4='+ '
4193
4194# NLS nuisances.
4195LC_ALL=C
4196export LC_ALL
4197LANGUAGE=C
4198export LANGUAGE
4199
4200# CDPATH.
4201(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4202
4203
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.
4209as_fn_error ()
4210{
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
4215 fi
4216 $as_echo "$as_me: error: $2" >&2
4217 as_fn_exit $as_status
4218} # as_fn_error
4219
4220
4221# as_fn_set_status STATUS
4222# -----------------------
4223# Set $? to STATUS, without forking.
4224as_fn_set_status ()
4225{
4226 return $1
4227} # as_fn_set_status
4228
4229# as_fn_exit STATUS
4230# -----------------
4231# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4232as_fn_exit ()
4233{
4234 set +e
4235 as_fn_set_status $1
4236 exit $1
4237} # as_fn_exit
4238
4239# as_fn_unset VAR
4240# ---------------
4241# Portably unset VAR.
4242as_fn_unset ()
4243{
4244 { eval $1=; unset $1;}
4245}
4246as_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.
4253if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4254 eval 'as_fn_append ()
4255 {
4256 eval $1+=\$2
4257 }'
4258else
4259 as_fn_append ()
4260 {
4261 eval $1=\$$1\$2
4262 }
4263fi # as_fn_append
4264
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.
4270if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4271 eval 'as_fn_arith ()
4272 {
4273 as_val=$(( $* ))
4274 }'
4275else
4276 as_fn_arith ()
4277 {
4278 as_val=`expr "$@" || test $? -eq 1`
4279 }
4280fi # as_fn_arith
4281
4282
4283if expr a : '\(a\)' >/dev/null 2>&1 &&
4284 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4285 as_expr=expr
4286else
4287 as_expr=false
4288fi
4289
4290if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4291 as_basename=basename
4292else
4293 as_basename=false
4294fi
4295
4296if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4297 as_dirname=dirname
4298else
4299 as_dirname=false
4300fi
4301
4302as_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/
4309 q
4310 }
4311 /^X\/\(\/\/\)$/{
4312 s//\1/
4313 q
4314 }
4315 /^X\/\(\/\).*/{
4316 s//\1/
4317 q
4318 }
4319 s/.*/./; q'`
4320
4321# Avoid depending upon Character Ranges.
4322as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4323as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4324as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4325as_cr_digits='0123456789'
4326as_cr_alnum=$as_cr_Letters$as_cr_digits
4327
4328ECHO_C= ECHO_N= ECHO_T=
4329case `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;;
4337*)
4338 ECHO_N='-n';;
4339esac
4340
4341rm -f conf$$ conf$$.exe conf$$.file
4342if test -d conf$$.dir; then
4343 rm -f conf$$.dir/conf$$.file
4344else
4345 rm -f conf$$.dir
4346 mkdir conf$$.dir 2>/dev/null
4347fi
4348if (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'
4361 fi
4362else
4363 as_ln_s='cp -pR'
4364fi
4365rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4366rmdir conf$$.dir 2>/dev/null
4367
4368
4369# as_fn_mkdir_p
4370# -------------
4371# Create "$as_dir" as a directory, including parents if necessary.
4372as_fn_mkdir_p ()
4373{
4374
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/
4394 q
4395 }
4396 /^X\(\/\/\)[^/].*/{
4397 s//\1/
4398 q
4399 }
4400 /^X\(\/\/\)$/{
4401 s//\1/
4402 q
4403 }
4404 /^X\(\/\).*/{
4405 s//\1/
4406 q
4407 }
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"
4413
4414
4415} # as_fn_mkdir_p
4416if mkdir -p . 2>/dev/null; then
4417 as_mkdir_p='mkdir -p "$as_dir"'
4418else
4419 test -d ./-p && rmdir ./-p
4420 as_mkdir_p=false
4421fi
4422
4423
4424# as_fn_executable_p FILE
4425# -----------------------
4426# Test if FILE is an executable regular file.
4427as_fn_executable_p ()
4428{
4429 test -f "$1" && test -x "$1"
4430} # as_fn_executable_p
4431as_test_x='test -x'
4432as_executable_p=as_fn_executable_p
4433
4434# Sed expression to map a string onto a valid CPP name.
4435as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4436
4437# Sed expression to map a string onto a valid variable name.
4438as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4439
4440
4441exec 6>&1
4442## ----------------------------------- ##
4443## Main body of $CONFIG_STATUS script. ##
4444## ----------------------------------- ##
4445_ASEOF
4446test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4447
4448cat >>$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.
4452ac_log="
4453This file was extended by $as_me, which was
4454generated by GNU Autoconf 2.69. Invocation command line was
4455
4456 CONFIG_FILES = $CONFIG_FILES
4457 CONFIG_HEADERS = $CONFIG_HEADERS
4458 CONFIG_LINKS = $CONFIG_LINKS
4459 CONFIG_COMMANDS = $CONFIG_COMMANDS
4460 $ $0 $@
4461
4462on `(hostname || uname -n) 2>/dev/null | sed 1q`
4463"
4464
4465_ACEOF
4466
4467case $ac_config_files in *"
4468"*) set x $ac_config_files; shift; ac_config_files=$*;;
4469esac
4470
4471
4472
4473cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4474# Files that config.status was made for.
4475config_files="$ac_config_files"
4476
4477_ACEOF
4478
4479cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4480ac_cs_usage="\
4481\`$as_me' instantiates files and other configuration actions
4482from templates according to the current configuration. Unless the files
4483and actions are specified as TAGs, all are instantiated by default.
4484
4485Usage: $0 [OPTION]... [TAG]...
4486
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
4496
4497Configuration files:
4498$config_files
4499
4500Report bugs to the package provider."
4501
4502_ACEOF
4503cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4504ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4505ac_cs_version="\\
4506config.status
4507configured by $0, generated by GNU Autoconf 2.69,
4508 with options \\"\$ac_cs_config\\"
4509
4510Copyright (C) 2012 Free Software Foundation, Inc.
4511This config.status script is free software; the Free Software Foundation
4512gives unlimited permission to copy, distribute and modify it."
4513
4514ac_pwd='$ac_pwd'
4515srcdir='$srcdir'
4516INSTALL='$INSTALL'
4517test -n "\$AWK" || AWK=awk
4518_ACEOF
4519
4520cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4521# The default lists apply if the user does not specify any file.
4522ac_need_defaults=:
4523while test $# != 0
4524do
4525 case $1 in
4526 --*=?*)
4527 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4528 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4529 ac_shift=:
4530 ;;
4531 --*=)
4532 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4533 ac_optarg=
4534 ac_shift=:
4535 ;;
4536 *)
4537 ac_option=$1
4538 ac_optarg=$2
4539 ac_shift=shift
4540 ;;
4541 esac
4542
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=: ;;
4566
4567 # This is an error.
4568 -*) as_fn_error $? "unrecognized option: \`$1'
4569Try \`$0 --help' for more information." ;;
4570
4571 *) as_fn_append ac_config_targets " $1"
4572 ac_need_defaults=false ;;
4573
4574 esac
4575 shift
4576done
4577
4578ac_configure_extra_args=
4579
4580if $ac_cs_silent; then
4581 exec 6>/dev/null
4582 ac_configure_extra_args="$ac_configure_extra_args --silent"
4583fi
4584
4585_ACEOF
4586cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4587if \$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 "\$@"
4594fi
4595
4596_ACEOF
4597cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4598exec 5>>config.log
4599{
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
4606
4607_ACEOF
4608cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4609_ACEOF
4610
4611cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4612
4613# Handling of arguments.
4614for ac_config_target in $ac_config_targets
4615do
4616 case $ac_config_target in
4617 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4618
4619 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4620 esac
4621done
4622
4623
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.
4628if $ac_need_defaults; then
4629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4630fi
4631
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 ||
4639{
4640 tmp= ac_tmp=
4641 trap 'exit_status=$?
4642 : "${ac_tmp:=$tmp}"
4643 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4644' 0
4645 trap 'as_fn_exit 1' 1 2 13 15
4646}
4647# Create a (secure) tmp directory for tmp files.
4648
4649{
4650 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4651 test -d "$tmp"
4652} ||
4653{
4654 tmp=./conf$$-$RANDOM
4655 (umask 077 && mkdir "$tmp")
4656} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4657ac_tmp=$tmp
4658
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'.
4662if test -n "$CONFIG_FILES"; then
4663
4664
4665ac_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.
4669if test "x$ac_cr" = x; then
4670 eval ac_cr=\$\'\\r\'
4671fi
4672ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4673if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4674 ac_cs_awk_cr='\\r'
4675else
4676 ac_cs_awk_cr=$ac_cr
4677fi
4678
4679echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4680_ACEOF
4681
4682
4683{
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
4689ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4690ac_delim='%!_!# '
4691for 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
4694
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!! "
4702 fi
4703done
4704rm -f conf$$subs.sh
4705
4706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4707cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4708_ACEOF
4709sed -n '
4710h
4711s/^/S["/; s/!.*/"]=/
4712p
4713g
4714s/^[^!]*!//
4715:repl
4716t repl
4717s/'"$ac_delim"'$//
4718t delim
4719:nl
4720h
4721s/\(.\{148\}\)..*/\1/
4722t more1
4723s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4724p
4725n
4726b repl
4727:more1
4728s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4729p
4730g
4731s/.\{148\}//
4732t nl
4733:delim
4734h
4735s/\(.\{148\}\)..*/\1/
4736t more2
4737s/["\\]/\\&/g; s/^/"/; s/$/"/
4738p
4739b
4740:more2
4741s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4742p
4743g
4744s/.\{148\}//
4745t delim
4746' <conf$$subs.awk | sed '
4747/^[^""]/{
4748 N
4749 s/\n//
4750}
4751' >>$CONFIG_STATUS || ac_write_fail=1
4752rm -f conf$$subs.awk
4753cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4754_ACAWK
4755cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4756 for (key in S) S_is_set[key] = 1
4757 FS = "\a"
4758
4759}
4760{
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
4775 }
4776
4777 print line
4778}
4779
4780_ACAWK
4781_ACEOF
4782cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4783if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4784 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4785else
4786 cat
4787fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4788 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4789_ACEOF
4790
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).
4795if test "x$srcdir" = x.; then
4796 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4797h
4798s///
4799s/^/:/
4800s/[ ]*$/:/
4801s/:\$(srcdir):/:/g
4802s/:\${srcdir}:/:/g
4803s/:@srcdir@:/:/g
4804s/^:*//
4805s/:*$//
4806x
4807s/\(=[ ]*\).*/\1/
4808G
4809s/\n//
4810s/^[^=]*=[ ]*$//
4811}'
4812fi
4813
4814cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4815fi # test -n "$CONFIG_FILES"
4816
4817
4818eval set X " :F $CONFIG_FILES "
4819shift
4820for ac_tag
4821do
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
4838
4839 case $ac_mode in
4840 :L) ac_source=$1;;
4841 :[FH])
4842 ac_file_inputs=
4843 for ac_f
4844 do
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
4860
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;}
4871 fi
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
4879
4880 case $ac_tag in
4881 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4883 esac
4884 ;;
4885 esac
4886
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/
4895 q
4896 }
4897 /^X\(\/\/\)[^/].*/{
4898 s//\1/
4899 q
4900 }
4901 /^X\(\/\/\)$/{
4902 s//\1/
4903 q
4904 }
4905 /^X\(\/\).*/{
4906 s//\1/
4907 q
4908 }
4909 s/.*/./; q'`
4910 as_dir="$ac_dir"; as_fn_mkdir_p
4911 ac_builddir=.
4912
4913case "$ac_dir" in
4914.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4915*)
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 ;;
4923esac
4924ac_abs_top_builddir=$ac_pwd
4925ac_abs_builddir=$ac_pwd$ac_dir_suffix
4926# for backward compatibility:
4927ac_top_builddir=$ac_top_build_prefix
4928
4929case $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 ;;
4942esac
4943ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4944
4945
4946 case $ac_mode in
4947 :F)
4948 #
4949 # CONFIG_FILE
4950 #
4951
4952 case $INSTALL in
4953 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4954 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4955 esac
4956_ACEOF
4957
4958cat >>$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.
4961ac_datarootdir_hack=; ac_datarootdir_seen=
4962ac_sed_dataroot='
4963/datarootdir/ {
4964 p
4965 q
4966}
4967/@datadir@/p
4968/@docdir@/p
4969/@infodir@/p
4970/@localedir@/p
4971/@mandir@/p'
4972case `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
4978cat >>$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' ;;
4986esac
4987_ACEOF
4988
4989# Neutralize VPATH when `$srcdir' = `.'.
4990# Shell code in configure.ac might set extrasub.
4991# FIXME: do we really want to maintain this feature?
4992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4993ac_sed_extra="$ac_vpsub
4994$extrasub
4995_ACEOF
4996cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4997:t
4998/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4999s|@configure_input@|$ac_sed_conf_input|;t t
5000s&@top_builddir@&$ac_top_builddir_sub&;t t
5001s&@top_build_prefix@&$ac_top_build_prefix&;t t
5002s&@srcdir@&$ac_srcdir&;t t
5003s&@abs_srcdir@&$ac_abs_srcdir&;t t
5004s&@top_srcdir@&$ac_top_srcdir&;t t
5005s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5006s&@builddir@&$ac_builddir&;t t
5007s&@abs_builddir@&$ac_abs_builddir&;t t
5008s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5009s&@INSTALL@&$ac_INSTALL&;t t
5010$ac_datarootdir_hack
5011"
5012eval 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
5014
5015test -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'
5020which 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'
5022which seems to be undefined. Please make sure it is defined" >&2;}
5023
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
5030 ;;
5031
5032
5033
5034 esac
5035
5036done # for ac_tag
5037
5038
5039as_fn_exit 0
5040_ACEOF
5041ac_clean_files=$ac_clean_files_save
5042
5043test $ac_write_fail = 0 ||
5044 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5045
5046
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.
5055if 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
5066fi
5067
5068#
5069# CONFIG_SUBDIRS section.
5070#
5071if test "$no_recursion" != yes; then
5072
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
5080 do
5081 if test -n "$ac_prev"; then
5082 ac_prev=
5083 continue
5084 fi
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=*)
5092 ;;
5093 --config-cache | -C)
5094 ;;
5095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5096 ac_prev=srcdir ;;
5097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5098 ;;
5099 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5100 ac_prev=prefix ;;
5101 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5102 ;;
5103 --disable-option-checking)
5104 ;;
5105 *)
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
5112
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"
5120
5121 # Pass --silent
5122 if test "$silent" = yes; then
5123 ac_sub_configure_args="--silent $ac_sub_configure_args"
5124 fi
5125
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"
5129
5130 ac_popdir=`pwd`
5131 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5132
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
5136
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=.
5142
5143case "$ac_dir" in
5144.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5145*)
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 ;;
5153esac
5154ac_abs_top_builddir=$ac_pwd
5155ac_abs_builddir=$ac_pwd$ac_dir_suffix
5156# for backward compatibility:
5157ac_top_builddir=$ac_top_build_prefix
5158
5159case $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 ;;
5172esac
5173ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5174
5175
5176 cd "$ac_dir"
5177
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=
5190 fi
5191
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
5200
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
5207 fi
5208
5209 cd "$ac_popdir"
5210 done
5211fi
5212if 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;}
5215fi
5216
5217
5218exit 0
This page took 0.051698 seconds and 4 git commands to generate.