gdb: add target_ops::supports_displaced_step
[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
689pru
690rl78
691rx
692sh64
693sh
694erc32
695ppc
696ft32
697v850
698testsuite
699igen'
700
701# Initialize some variables set by options.
702ac_init_help=
703ac_init_version=false
704ac_unrecognized_opts=
705ac_unrecognized_sep=
706# The variables have the same names as the options, with
707# dashes changed to underlines.
708cache_file=/dev/null
709exec_prefix=NONE
710no_create=
711no_recursion=
712prefix=NONE
713program_prefix=NONE
714program_suffix=NONE
715program_transform_name=s,x,x,
716silent=
717site=
718srcdir=
719verbose=
720x_includes=NONE
721x_libraries=NONE
722
723# Installation directory options.
724# These are left unexpanded so users can "make install exec_prefix=/foo"
725# and all the variables that are supposed to be based on exec_prefix
726# by default will actually change.
727# Use braces instead of parens because sh, perl, etc. also accept them.
728# (The list follows the same order as the GNU Coding Standards.)
729bindir='${exec_prefix}/bin'
730sbindir='${exec_prefix}/sbin'
731libexecdir='${exec_prefix}/libexec'
732datarootdir='${prefix}/share'
733datadir='${datarootdir}'
734sysconfdir='${prefix}/etc'
735sharedstatedir='${prefix}/com'
736localstatedir='${prefix}/var'
737includedir='${prefix}/include'
738oldincludedir='/usr/include'
739docdir='${datarootdir}/doc/${PACKAGE}'
740infodir='${datarootdir}/info'
741htmldir='${docdir}'
742dvidir='${docdir}'
743pdfdir='${docdir}'
744psdir='${docdir}'
745libdir='${exec_prefix}/lib'
746localedir='${datarootdir}/locale'
747mandir='${datarootdir}/man'
748
749ac_prev=
750ac_dashdash=
751for ac_option
752do
753 # If the previous option needs an argument, assign it.
754 if test -n "$ac_prev"; then
755 eval $ac_prev=\$ac_option
756 ac_prev=
757 continue
758 fi
759
760 case $ac_option in
761 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762 *=) ac_optarg= ;;
763 *) ac_optarg=yes ;;
764 esac
765
766 # Accept the important Cygnus configure options, so we can diagnose typos.
767
768 case $ac_dashdash$ac_option in
769 --)
770 ac_dashdash=yes ;;
771
772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
773 ac_prev=bindir ;;
774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775 bindir=$ac_optarg ;;
776
777 -build | --build | --buil | --bui | --bu)
778 ac_prev=build_alias ;;
779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780 build_alias=$ac_optarg ;;
781
782 -cache-file | --cache-file | --cache-fil | --cache-fi \
783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 ac_prev=cache_file ;;
785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787 cache_file=$ac_optarg ;;
788
789 --config-cache | -C)
790 cache_file=config.cache ;;
791
792 -datadir | --datadir | --datadi | --datad)
793 ac_prev=datadir ;;
794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
795 datadir=$ac_optarg ;;
796
797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798 | --dataroo | --dataro | --datar)
799 ac_prev=datarootdir ;;
800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802 datarootdir=$ac_optarg ;;
803
804 -disable-* | --disable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
812 *"
813"enable_$ac_useropt"
814"*) ;;
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
817 esac
818 eval enable_$ac_useropt=no ;;
819
820 -docdir | --docdir | --docdi | --doc | --do)
821 ac_prev=docdir ;;
822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823 docdir=$ac_optarg ;;
824
825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826 ac_prev=dvidir ;;
827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828 dvidir=$ac_optarg ;;
829
830 -enable-* | --enable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error $? "invalid feature name: $ac_useropt"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
838 *"
839"enable_$ac_useropt"
840"*) ;;
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
843 esac
844 eval enable_$ac_useropt=\$ac_optarg ;;
845
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev=exec_prefix ;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix=$ac_optarg ;;
854
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
857 with_gas=yes ;;
858
859 -help | --help | --hel | --he | -h)
860 ac_init_help=long ;;
861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862 ac_init_help=recursive ;;
863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864 ac_init_help=short ;;
865
866 -host | --host | --hos | --ho)
867 ac_prev=host_alias ;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias=$ac_optarg ;;
870
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872 ac_prev=htmldir ;;
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874 | --ht=*)
875 htmldir=$ac_optarg ;;
876
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev=includedir ;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir=$ac_optarg ;;
883
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
885 ac_prev=infodir ;;
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir=$ac_optarg ;;
888
889 -libdir | --libdir | --libdi | --libd)
890 ac_prev=libdir ;;
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
892 libdir=$ac_optarg ;;
893
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev=libexecdir ;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir=$ac_optarg ;;
900
901 -localedir | --localedir | --localedi | --localed | --locale)
902 ac_prev=localedir ;;
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
905
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev=localstatedir ;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir=$ac_optarg ;;
912
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914 ac_prev=mandir ;;
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916 mandir=$ac_optarg ;;
917
918 -nfp | --nfp | --nf)
919 # Obsolete; use --without-fp.
920 with_fp=no ;;
921
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
924 no_create=yes ;;
925
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928 no_recursion=yes ;;
929
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev=oldincludedir ;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir=$ac_optarg ;;
938
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940 ac_prev=prefix ;;
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942 prefix=$ac_optarg ;;
943
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev=program_prefix ;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix=$ac_optarg ;;
950
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev=program_suffix ;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix=$ac_optarg ;;
957
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev=program_transform_name ;;
966 -program-transform-name=* | --program-transform-name=* \
967 | --program-transform-nam=* | --program-transform-na=* \
968 | --program-transform-n=* | --program-transform-=* \
969 | --program-transform=* | --program-transfor=* \
970 | --program-transfo=* | --program-transf=* \
971 | --program-trans=* | --program-tran=* \
972 | --progr-tra=* | --program-tr=* | --program-t=*)
973 program_transform_name=$ac_optarg ;;
974
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976 ac_prev=pdfdir ;;
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978 pdfdir=$ac_optarg ;;
979
980 -psdir | --psdir | --psdi | --psd | --ps)
981 ac_prev=psdir ;;
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983 psdir=$ac_optarg ;;
984
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
987 silent=yes ;;
988
989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
990 ac_prev=sbindir ;;
991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
992 | --sbi=* | --sb=*)
993 sbindir=$ac_optarg ;;
994
995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997 | --sharedst | --shareds | --shared | --share | --shar \
998 | --sha | --sh)
999 ac_prev=sharedstatedir ;;
1000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1003 | --sha=* | --sh=*)
1004 sharedstatedir=$ac_optarg ;;
1005
1006 -site | --site | --sit)
1007 ac_prev=site ;;
1008 -site=* | --site=* | --sit=*)
1009 site=$ac_optarg ;;
1010
1011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012 ac_prev=srcdir ;;
1013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014 srcdir=$ac_optarg ;;
1015
1016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017 | --syscon | --sysco | --sysc | --sys | --sy)
1018 ac_prev=sysconfdir ;;
1019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021 sysconfdir=$ac_optarg ;;
1022
1023 -target | --target | --targe | --targ | --tar | --ta | --t)
1024 ac_prev=target_alias ;;
1025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026 target_alias=$ac_optarg ;;
1027
1028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029 verbose=yes ;;
1030
1031 -version | --version | --versio | --versi | --vers | -V)
1032 ac_init_version=: ;;
1033
1034 -with-* | --with-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error $? "invalid package name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1042 *"
1043"with_$ac_useropt"
1044"*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=\$ac_optarg ;;
1049
1050 -without-* | --without-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 as_fn_error $? "invalid package name: $ac_useropt"
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1058 *"
1059"with_$ac_useropt"
1060"*) ;;
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1063 esac
1064 eval with_$ac_useropt=no ;;
1065
1066 --x)
1067 # Obsolete; use --with-x.
1068 with_x=yes ;;
1069
1070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071 | --x-incl | --x-inc | --x-in | --x-i)
1072 ac_prev=x_includes ;;
1073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075 x_includes=$ac_optarg ;;
1076
1077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079 ac_prev=x_libraries ;;
1080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082 x_libraries=$ac_optarg ;;
1083
1084 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1085Try \`$0 --help' for more information"
1086 ;;
1087
1088 *=*)
1089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 case $ac_envvar in #(
1092 '' | [0-9]* | *[!_$as_cr_alnum]* )
1093 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1094 esac
1095 eval $ac_envvar=\$ac_optarg
1096 export $ac_envvar ;;
1097
1098 *)
1099 # FIXME: should be removed in autoconf 3.0.
1100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104 ;;
1105
1106 esac
1107done
1108
1109if test -n "$ac_prev"; then
1110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111 as_fn_error $? "missing argument to $ac_option"
1112fi
1113
1114if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1116 no) ;;
1117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119 esac
1120fi
1121
1122# Check all directory arguments for consistency.
1123for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126 libdir localedir mandir
1127do
1128 eval ac_val=\$$ac_var
1129 # Remove trailing slashes.
1130 case $ac_val in
1131 */ )
1132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133 eval $ac_var=\$ac_val;;
1134 esac
1135 # Be sure to have absolute directory names.
1136 case $ac_val in
1137 [\\/$]* | ?:[\\/]* ) continue;;
1138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1139 esac
1140 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1141done
1142
1143# There might be people who depend on the old broken behavior: `$host'
1144# used to hold the argument of --host etc.
1145# FIXME: To remove some day.
1146build=$build_alias
1147host=$host_alias
1148target=$target_alias
1149
1150# FIXME: To remove some day.
1151if test "x$host_alias" != x; then
1152 if test "x$build_alias" = x; then
1153 cross_compiling=maybe
1154 elif test "x$build_alias" != "x$host_alias"; then
1155 cross_compiling=yes
1156 fi
1157fi
1158
1159ac_tool_prefix=
1160test -n "$host_alias" && ac_tool_prefix=$host_alias-
1161
1162test "$silent" = yes && exec 6>/dev/null
1163
1164
1165ac_pwd=`pwd` && test -n "$ac_pwd" &&
1166ac_ls_di=`ls -di .` &&
1167ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1168 as_fn_error $? "working directory cannot be determined"
1169test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 as_fn_error $? "pwd does not report name of working directory"
1171
1172
1173# Find the source files, if location was not specified.
1174if test -z "$srcdir"; then
1175 ac_srcdir_defaulted=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir=`$as_dirname -- "$as_myself" ||
1178$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182$as_echo X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 s//\1/
1185 q
1186 }
1187 /^X\(\/\/\)[^/].*/{
1188 s//\1/
1189 q
1190 }
1191 /^X\(\/\/\)$/{
1192 s//\1/
1193 q
1194 }
1195 /^X\(\/\).*/{
1196 s//\1/
1197 q
1198 }
1199 s/.*/./; q'`
1200 srcdir=$ac_confdir
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 srcdir=..
1203 fi
1204else
1205 ac_srcdir_defaulted=no
1206fi
1207if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1210fi
1211ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212ac_abs_confdir=`(
1213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1214 pwd)`
1215# When building in place, set srcdir=.
1216if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 srcdir=.
1218fi
1219# Remove unnecessary trailing slashes from srcdir.
1220# Double slashes in file names in object file debugging info
1221# mess up M-x gdb in Emacs.
1222case $srcdir in
1223*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1224esac
1225for ac_var in $ac_precious_vars; do
1226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_env_${ac_var}_value=\$${ac_var}
1228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230done
1231
1232#
1233# Report the --help message.
1234#
1235if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1238 cat <<_ACEOF
1239\`configure' configures this package to adapt to many kinds of systems.
1240
1241Usage: $0 [OPTION]... [VAR=VALUE]...
1242
1243To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244VAR=VALUE. See below for descriptions of some of the useful variables.
1245
1246Defaults for the options are specified in brackets.
1247
1248Configuration:
1249 -h, --help display this help and exit
1250 --help=short display options specific to this package
1251 --help=recursive display the short help of all the included packages
1252 -V, --version display version information and exit
1253 -q, --quiet, --silent do not print \`checking ...' messages
1254 --cache-file=FILE cache test results in FILE [disabled]
1255 -C, --config-cache alias for \`--cache-file=config.cache'
1256 -n, --no-create do not create output files
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1258
1259Installation directories:
1260 --prefix=PREFIX install architecture-independent files in PREFIX
1261 [$ac_default_prefix]
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 [PREFIX]
1264
1265By default, \`make install' will install all the files in
1266\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268for instance \`--prefix=\$HOME'.
1269
1270For better control, use the options below.
1271
1272Fine tuning of the installation directories:
1273 --bindir=DIR user executables [EPREFIX/bin]
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --libdir=DIR object code libraries [EPREFIX/lib]
1280 --includedir=DIR C header files [PREFIX/include]
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284 --infodir=DIR info documentation [DATAROOTDIR/info]
1285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286 --mandir=DIR man documentation [DATAROOTDIR/man]
1287 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1288 --htmldir=DIR html documentation [DOCDIR]
1289 --dvidir=DIR dvi documentation [DOCDIR]
1290 --pdfdir=DIR pdf documentation [DOCDIR]
1291 --psdir=DIR ps documentation [DOCDIR]
1292_ACEOF
1293
1294 cat <<\_ACEOF
1295
1296Program names:
1297 --program-prefix=PREFIX prepend PREFIX to installed program names
1298 --program-suffix=SUFFIX append SUFFIX to installed program names
1299 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1300
1301System types:
1302 --build=BUILD configure for building on BUILD [guessed]
1303 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1304 --target=TARGET configure for building compilers for TARGET [HOST]
1305_ACEOF
1306fi
1307
1308if test -n "$ac_init_help"; then
1309
1310 cat <<\_ACEOF
1311
1312Optional Features:
1313 --disable-option-checking ignore unrecognized --enable/--with options
1314 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1315 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1316 --enable-sim Enable the GNU simulator
1317
1318Some influential environment variables:
1319 CC C compiler command
1320 CFLAGS C compiler flags
1321 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1322 nonstandard directory <lib dir>
1323 LIBS libraries to pass to the linker, e.g. -l<library>
1324 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1325 you have headers in a nonstandard directory <include dir>
1326
1327Use these variables to override the choices made by `configure' or to help
1328it to find libraries and programs with nonstandard names/locations.
1329
1330Report bugs to the package provider.
1331_ACEOF
1332ac_status=$?
1333fi
1334
1335if test "$ac_init_help" = "recursive"; then
1336 # If there are subdirs, report their specific --help.
1337 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1338 test -d "$ac_dir" ||
1339 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1340 continue
1341 ac_builddir=.
1342
1343case "$ac_dir" in
1344.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345*)
1346 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1347 # A ".." for each directory in $ac_dir_suffix.
1348 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1349 case $ac_top_builddir_sub in
1350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1352 esac ;;
1353esac
1354ac_abs_top_builddir=$ac_pwd
1355ac_abs_builddir=$ac_pwd$ac_dir_suffix
1356# for backward compatibility:
1357ac_top_builddir=$ac_top_build_prefix
1358
1359case $srcdir in
1360 .) # We are building in place.
1361 ac_srcdir=.
1362 ac_top_srcdir=$ac_top_builddir_sub
1363 ac_abs_top_srcdir=$ac_pwd ;;
1364 [\\/]* | ?:[\\/]* ) # Absolute name.
1365 ac_srcdir=$srcdir$ac_dir_suffix;
1366 ac_top_srcdir=$srcdir
1367 ac_abs_top_srcdir=$srcdir ;;
1368 *) # Relative name.
1369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1370 ac_top_srcdir=$ac_top_build_prefix$srcdir
1371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1372esac
1373ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1374
1375 cd "$ac_dir" || { ac_status=$?; continue; }
1376 # Check for guested configure.
1377 if test -f "$ac_srcdir/configure.gnu"; then
1378 echo &&
1379 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1380 elif test -f "$ac_srcdir/configure"; then
1381 echo &&
1382 $SHELL "$ac_srcdir/configure" --help=recursive
1383 else
1384 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1385 fi || ac_status=$?
1386 cd "$ac_pwd" || { ac_status=$?; break; }
1387 done
1388fi
1389
1390test -n "$ac_init_help" && exit $ac_status
1391if $ac_init_version; then
1392 cat <<\_ACEOF
1393configure
1394generated by GNU Autoconf 2.69
1395
1396Copyright (C) 2012 Free Software Foundation, Inc.
1397This configure script is free software; the Free Software Foundation
1398gives unlimited permission to copy, distribute and modify it.
1399_ACEOF
1400 exit
1401fi
1402
1403## ------------------------ ##
1404## Autoconf initialization. ##
1405## ------------------------ ##
1406
1407# ac_fn_c_try_compile LINENO
1408# --------------------------
1409# Try to compile conftest.$ac_ext, and return whether this succeeded.
1410ac_fn_c_try_compile ()
1411{
1412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1413 rm -f conftest.$ac_objext
1414 if { { ac_try="$ac_compile"
1415case "(($ac_try" in
1416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1417 *) ac_try_echo=$ac_try;;
1418esac
1419eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1420$as_echo "$ac_try_echo"; } >&5
1421 (eval "$ac_compile") 2>conftest.err
1422 ac_status=$?
1423 if test -s conftest.err; then
1424 grep -v '^ *+' conftest.err >conftest.er1
1425 cat conftest.er1 >&5
1426 mv -f conftest.er1 conftest.err
1427 fi
1428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1429 test $ac_status = 0; } && {
1430 test -z "$ac_c_werror_flag" ||
1431 test ! -s conftest.err
1432 } && test -s conftest.$ac_objext; then :
1433 ac_retval=0
1434else
1435 $as_echo "$as_me: failed program was:" >&5
1436sed 's/^/| /' conftest.$ac_ext >&5
1437
1438 ac_retval=1
1439fi
1440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1441 as_fn_set_status $ac_retval
1442
1443} # ac_fn_c_try_compile
1444cat >config.log <<_ACEOF
1445This file contains any messages produced by compilers while
1446running configure, to aid debugging if configure makes a mistake.
1447
1448It was created by $as_me, which was
1449generated by GNU Autoconf 2.69. Invocation command line was
1450
1451 $ $0 $@
1452
1453_ACEOF
1454exec 5>>config.log
1455{
1456cat <<_ASUNAME
1457## --------- ##
1458## Platform. ##
1459## --------- ##
1460
1461hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1462uname -m = `(uname -m) 2>/dev/null || echo unknown`
1463uname -r = `(uname -r) 2>/dev/null || echo unknown`
1464uname -s = `(uname -s) 2>/dev/null || echo unknown`
1465uname -v = `(uname -v) 2>/dev/null || echo unknown`
1466
1467/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1468/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1469
1470/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1471/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1472/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1473/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1474/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1475/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1476/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1477
1478_ASUNAME
1479
1480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1481for as_dir in $PATH
1482do
1483 IFS=$as_save_IFS
1484 test -z "$as_dir" && as_dir=.
1485 $as_echo "PATH: $as_dir"
1486 done
1487IFS=$as_save_IFS
1488
1489} >&5
1490
1491cat >&5 <<_ACEOF
1492
1493
1494## ----------- ##
1495## Core tests. ##
1496## ----------- ##
1497
1498_ACEOF
1499
1500
1501# Keep a trace of the command line.
1502# Strip out --no-create and --no-recursion so they do not pile up.
1503# Strip out --silent because we don't want to record it for future runs.
1504# Also quote any args containing shell meta-characters.
1505# Make two passes to allow for proper duplicate-argument suppression.
1506ac_configure_args=
1507ac_configure_args0=
1508ac_configure_args1=
1509ac_must_keep_next=false
1510for ac_pass in 1 2
1511do
1512 for ac_arg
1513 do
1514 case $ac_arg in
1515 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1516 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1517 | -silent | --silent | --silen | --sile | --sil)
1518 continue ;;
1519 *\'*)
1520 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1521 esac
1522 case $ac_pass in
1523 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1524 2)
1525 as_fn_append ac_configure_args1 " '$ac_arg'"
1526 if test $ac_must_keep_next = true; then
1527 ac_must_keep_next=false # Got value, back to normal.
1528 else
1529 case $ac_arg in
1530 *=* | --config-cache | -C | -disable-* | --disable-* \
1531 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1532 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1533 | -with-* | --with-* | -without-* | --without-* | --x)
1534 case "$ac_configure_args0 " in
1535 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1536 esac
1537 ;;
1538 -* ) ac_must_keep_next=true ;;
1539 esac
1540 fi
1541 as_fn_append ac_configure_args " '$ac_arg'"
1542 ;;
1543 esac
1544 done
1545done
1546{ ac_configure_args0=; unset ac_configure_args0;}
1547{ ac_configure_args1=; unset ac_configure_args1;}
1548
1549# When interrupted or exit'd, cleanup temporary files, and complete
1550# config.log. We remove comments because anyway the quotes in there
1551# would cause problems or look ugly.
1552# WARNING: Use '\'' to represent an apostrophe within the trap.
1553# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1554trap 'exit_status=$?
1555 # Save into config.log some information that might help in debugging.
1556 {
1557 echo
1558
1559 $as_echo "## ---------------- ##
1560## Cache variables. ##
1561## ---------------- ##"
1562 echo
1563 # The following way of writing the cache mishandles newlines in values,
1564(
1565 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1566 eval ac_val=\$$ac_var
1567 case $ac_val in #(
1568 *${as_nl}*)
1569 case $ac_var in #(
1570 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1571$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1572 esac
1573 case $ac_var in #(
1574 _ | IFS | as_nl) ;; #(
1575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1576 *) { eval $ac_var=; unset $ac_var;} ;;
1577 esac ;;
1578 esac
1579 done
1580 (set) 2>&1 |
1581 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1582 *${as_nl}ac_space=\ *)
1583 sed -n \
1584 "s/'\''/'\''\\\\'\'''\''/g;
1585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1586 ;; #(
1587 *)
1588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1589 ;;
1590 esac |
1591 sort
1592)
1593 echo
1594
1595 $as_echo "## ----------------- ##
1596## Output variables. ##
1597## ----------------- ##"
1598 echo
1599 for ac_var in $ac_subst_vars
1600 do
1601 eval ac_val=\$$ac_var
1602 case $ac_val in
1603 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1604 esac
1605 $as_echo "$ac_var='\''$ac_val'\''"
1606 done | sort
1607 echo
1608
1609 if test -n "$ac_subst_files"; then
1610 $as_echo "## ------------------- ##
1611## File substitutions. ##
1612## ------------------- ##"
1613 echo
1614 for ac_var in $ac_subst_files
1615 do
1616 eval ac_val=\$$ac_var
1617 case $ac_val in
1618 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 esac
1620 $as_echo "$ac_var='\''$ac_val'\''"
1621 done | sort
1622 echo
1623 fi
1624
1625 if test -s confdefs.h; then
1626 $as_echo "## ----------- ##
1627## confdefs.h. ##
1628## ----------- ##"
1629 echo
1630 cat confdefs.h
1631 echo
1632 fi
1633 test "$ac_signal" != 0 &&
1634 $as_echo "$as_me: caught signal $ac_signal"
1635 $as_echo "$as_me: exit $exit_status"
1636 } >&5
1637 rm -f core *.core core.conftest.* &&
1638 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1639 exit $exit_status
1640' 0
1641for ac_signal in 1 2 13 15; do
1642 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1643done
1644ac_signal=0
1645
1646# confdefs.h avoids OS command line length limits that DEFS can exceed.
1647rm -f -r conftest* confdefs.h
1648
1649$as_echo "/* confdefs.h */" > confdefs.h
1650
1651# Predefined preprocessor variables.
1652
1653cat >>confdefs.h <<_ACEOF
1654#define PACKAGE_NAME "$PACKAGE_NAME"
1655_ACEOF
1656
1657cat >>confdefs.h <<_ACEOF
1658#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1659_ACEOF
1660
1661cat >>confdefs.h <<_ACEOF
1662#define PACKAGE_VERSION "$PACKAGE_VERSION"
1663_ACEOF
1664
1665cat >>confdefs.h <<_ACEOF
1666#define PACKAGE_STRING "$PACKAGE_STRING"
1667_ACEOF
1668
1669cat >>confdefs.h <<_ACEOF
1670#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1671_ACEOF
1672
1673cat >>confdefs.h <<_ACEOF
1674#define PACKAGE_URL "$PACKAGE_URL"
1675_ACEOF
1676
1677
1678# Let the site file select an alternate cache file if it wants to.
1679# Prefer an explicitly selected file to automatically selected ones.
1680ac_site_file1=NONE
1681ac_site_file2=NONE
1682if test -n "$CONFIG_SITE"; then
1683 # We do not want a PATH search for config.site.
1684 case $CONFIG_SITE in #((
1685 -*) ac_site_file1=./$CONFIG_SITE;;
1686 */*) ac_site_file1=$CONFIG_SITE;;
1687 *) ac_site_file1=./$CONFIG_SITE;;
1688 esac
1689elif test "x$prefix" != xNONE; then
1690 ac_site_file1=$prefix/share/config.site
1691 ac_site_file2=$prefix/etc/config.site
1692else
1693 ac_site_file1=$ac_default_prefix/share/config.site
1694 ac_site_file2=$ac_default_prefix/etc/config.site
1695fi
1696for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1697do
1698 test "x$ac_site_file" = xNONE && continue
1699 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1701$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1702 sed 's/^/| /' "$ac_site_file" >&5
1703 . "$ac_site_file" \
1704 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1705$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1706as_fn_error $? "failed to load site script $ac_site_file
1707See \`config.log' for more details" "$LINENO" 5; }
1708 fi
1709done
1710
1711if test -r "$cache_file"; then
1712 # Some versions of bash will fail to source /dev/null (special files
1713 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1714 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1716$as_echo "$as_me: loading cache $cache_file" >&6;}
1717 case $cache_file in
1718 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1719 *) . "./$cache_file";;
1720 esac
1721 fi
1722else
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1724$as_echo "$as_me: creating cache $cache_file" >&6;}
1725 >$cache_file
1726fi
1727
1728# Check that the precious variables saved in the cache have kept the same
1729# value.
1730ac_cache_corrupted=false
1731for ac_var in $ac_precious_vars; do
1732 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1733 eval ac_new_set=\$ac_env_${ac_var}_set
1734 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1735 eval ac_new_val=\$ac_env_${ac_var}_value
1736 case $ac_old_set,$ac_new_set in
1737 set,)
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1739$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1740 ac_cache_corrupted=: ;;
1741 ,set)
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1743$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1744 ac_cache_corrupted=: ;;
1745 ,);;
1746 *)
1747 if test "x$ac_old_val" != "x$ac_new_val"; then
1748 # differences in whitespace do not lead to failure.
1749 ac_old_val_w=`echo x $ac_old_val`
1750 ac_new_val_w=`echo x $ac_new_val`
1751 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1753$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1754 ac_cache_corrupted=:
1755 else
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1757$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1758 eval $ac_var=\$ac_old_val
1759 fi
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1761$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1763$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1764 fi;;
1765 esac
1766 # Pass precious variables to config.status.
1767 if test "$ac_new_set" = set; then
1768 case $ac_new_val in
1769 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1770 *) ac_arg=$ac_var=$ac_new_val ;;
1771 esac
1772 case " $ac_configure_args " in
1773 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1774 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1775 esac
1776 fi
1777done
1778if $ac_cache_corrupted; then
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1780$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1782$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1783 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1784fi
1785## -------------------- ##
1786## Main body of script. ##
1787## -------------------- ##
1788
1789ac_ext=c
1790ac_cpp='$CPP $CPPFLAGS'
1791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1793ac_compiler_gnu=$ac_cv_c_compiler_gnu
1794
1795
1796
1797
1798
1799
1800ac_ext=c
1801ac_cpp='$CPP $CPPFLAGS'
1802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1804ac_compiler_gnu=$ac_cv_c_compiler_gnu
1805if test -n "$ac_tool_prefix"; then
1806 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1807set dummy ${ac_tool_prefix}gcc; ac_word=$2
1808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1809$as_echo_n "checking for $ac_word... " >&6; }
1810if ${ac_cv_prog_CC+:} false; then :
1811 $as_echo_n "(cached) " >&6
1812else
1813 if test -n "$CC"; then
1814 ac_cv_prog_CC="$CC" # Let the user override the test.
1815else
1816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817for as_dir in $PATH
1818do
1819 IFS=$as_save_IFS
1820 test -z "$as_dir" && as_dir=.
1821 for ac_exec_ext in '' $ac_executable_extensions; do
1822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1823 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 break 2
1826 fi
1827done
1828 done
1829IFS=$as_save_IFS
1830
1831fi
1832fi
1833CC=$ac_cv_prog_CC
1834if test -n "$CC"; then
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1836$as_echo "$CC" >&6; }
1837else
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1839$as_echo "no" >&6; }
1840fi
1841
1842
1843fi
1844if test -z "$ac_cv_prog_CC"; then
1845 ac_ct_CC=$CC
1846 # Extract the first word of "gcc", so it can be a program name with args.
1847set dummy gcc; ac_word=$2
1848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1849$as_echo_n "checking for $ac_word... " >&6; }
1850if ${ac_cv_prog_ac_ct_CC+:} false; then :
1851 $as_echo_n "(cached) " >&6
1852else
1853 if test -n "$ac_ct_CC"; then
1854 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1855else
1856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857for as_dir in $PATH
1858do
1859 IFS=$as_save_IFS
1860 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_ac_ct_CC="gcc"
1864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 break 2
1866 fi
1867done
1868 done
1869IFS=$as_save_IFS
1870
1871fi
1872fi
1873ac_ct_CC=$ac_cv_prog_ac_ct_CC
1874if test -n "$ac_ct_CC"; then
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1876$as_echo "$ac_ct_CC" >&6; }
1877else
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1879$as_echo "no" >&6; }
1880fi
1881
1882 if test "x$ac_ct_CC" = x; then
1883 CC=""
1884 else
1885 case $cross_compiling:$ac_tool_warned in
1886yes:)
1887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1889ac_tool_warned=yes ;;
1890esac
1891 CC=$ac_ct_CC
1892 fi
1893else
1894 CC="$ac_cv_prog_CC"
1895fi
1896
1897if test -z "$CC"; then
1898 if test -n "$ac_tool_prefix"; then
1899 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1900set dummy ${ac_tool_prefix}cc; ac_word=$2
1901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1902$as_echo_n "checking for $ac_word... " >&6; }
1903if ${ac_cv_prog_CC+:} false; then :
1904 $as_echo_n "(cached) " >&6
1905else
1906 if test -n "$CC"; then
1907 ac_cv_prog_CC="$CC" # Let the user override the test.
1908else
1909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910for as_dir in $PATH
1911do
1912 IFS=$as_save_IFS
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_CC="${ac_tool_prefix}cc"
1917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 break 2
1919 fi
1920done
1921 done
1922IFS=$as_save_IFS
1923
1924fi
1925fi
1926CC=$ac_cv_prog_CC
1927if test -n "$CC"; then
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1929$as_echo "$CC" >&6; }
1930else
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1932$as_echo "no" >&6; }
1933fi
1934
1935
1936 fi
1937fi
1938if test -z "$CC"; then
1939 # Extract the first word of "cc", so it can be a program name with args.
1940set dummy cc; ac_word=$2
1941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1942$as_echo_n "checking for $ac_word... " >&6; }
1943if ${ac_cv_prog_CC+:} false; then :
1944 $as_echo_n "(cached) " >&6
1945else
1946 if test -n "$CC"; then
1947 ac_cv_prog_CC="$CC" # Let the user override the test.
1948else
1949 ac_prog_rejected=no
1950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1951for as_dir in $PATH
1952do
1953 IFS=$as_save_IFS
1954 test -z "$as_dir" && as_dir=.
1955 for ac_exec_ext in '' $ac_executable_extensions; do
1956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1957 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1958 ac_prog_rejected=yes
1959 continue
1960 fi
1961 ac_cv_prog_CC="cc"
1962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1963 break 2
1964 fi
1965done
1966 done
1967IFS=$as_save_IFS
1968
1969if test $ac_prog_rejected = yes; then
1970 # We found a bogon in the path, so make sure we never use it.
1971 set dummy $ac_cv_prog_CC
1972 shift
1973 if test $# != 0; then
1974 # We chose a different compiler from the bogus one.
1975 # However, it has the same basename, so the bogon will be chosen
1976 # first if we set CC to just the basename; use the full file name.
1977 shift
1978 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1979 fi
1980fi
1981fi
1982fi
1983CC=$ac_cv_prog_CC
1984if test -n "$CC"; then
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1986$as_echo "$CC" >&6; }
1987else
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1989$as_echo "no" >&6; }
1990fi
1991
1992
1993fi
1994if test -z "$CC"; then
1995 if test -n "$ac_tool_prefix"; then
1996 for ac_prog in cl.exe
1997 do
1998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1999set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2001$as_echo_n "checking for $ac_word... " >&6; }
2002if ${ac_cv_prog_CC+:} false; then :
2003 $as_echo_n "(cached) " >&6
2004else
2005 if test -n "$CC"; then
2006 ac_cv_prog_CC="$CC" # Let the user override the test.
2007else
2008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009for as_dir in $PATH
2010do
2011 IFS=$as_save_IFS
2012 test -z "$as_dir" && as_dir=.
2013 for ac_exec_ext in '' $ac_executable_extensions; do
2014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2017 break 2
2018 fi
2019done
2020 done
2021IFS=$as_save_IFS
2022
2023fi
2024fi
2025CC=$ac_cv_prog_CC
2026if test -n "$CC"; then
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2028$as_echo "$CC" >&6; }
2029else
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2031$as_echo "no" >&6; }
2032fi
2033
2034
2035 test -n "$CC" && break
2036 done
2037fi
2038if test -z "$CC"; then
2039 ac_ct_CC=$CC
2040 for ac_prog in cl.exe
2041do
2042 # Extract the first word of "$ac_prog", so it can be a program name with args.
2043set dummy $ac_prog; ac_word=$2
2044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2045$as_echo_n "checking for $ac_word... " >&6; }
2046if ${ac_cv_prog_ac_ct_CC+:} false; then :
2047 $as_echo_n "(cached) " >&6
2048else
2049 if test -n "$ac_ct_CC"; then
2050 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2051else
2052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053for as_dir in $PATH
2054do
2055 IFS=$as_save_IFS
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 ac_cv_prog_ac_ct_CC="$ac_prog"
2060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 break 2
2062 fi
2063done
2064 done
2065IFS=$as_save_IFS
2066
2067fi
2068fi
2069ac_ct_CC=$ac_cv_prog_ac_ct_CC
2070if test -n "$ac_ct_CC"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2072$as_echo "$ac_ct_CC" >&6; }
2073else
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2075$as_echo "no" >&6; }
2076fi
2077
2078
2079 test -n "$ac_ct_CC" && break
2080done
2081
2082 if test "x$ac_ct_CC" = x; then
2083 CC=""
2084 else
2085 case $cross_compiling:$ac_tool_warned in
2086yes:)
2087{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2088$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2089ac_tool_warned=yes ;;
2090esac
2091 CC=$ac_ct_CC
2092 fi
2093fi
2094
2095fi
2096
2097
2098test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100as_fn_error $? "no acceptable C compiler found in \$PATH
2101See \`config.log' for more details" "$LINENO" 5; }
2102
2103# Provide some information about the compiler.
2104$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2105set X $ac_compile
2106ac_compiler=$2
2107for ac_option in --version -v -V -qversion; do
2108 { { ac_try="$ac_compiler $ac_option >&5"
2109case "(($ac_try" in
2110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2111 *) ac_try_echo=$ac_try;;
2112esac
2113eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2114$as_echo "$ac_try_echo"; } >&5
2115 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2116 ac_status=$?
2117 if test -s conftest.err; then
2118 sed '10a\
2119... rest of stderr output deleted ...
2120 10q' conftest.err >conftest.er1
2121 cat conftest.er1 >&5
2122 fi
2123 rm -f conftest.er1 conftest.err
2124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2125 test $ac_status = 0; }
2126done
2127
2128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129/* end confdefs.h. */
2130
2131int
2132main ()
2133{
2134
2135 ;
2136 return 0;
2137}
2138_ACEOF
2139ac_clean_files_save=$ac_clean_files
2140ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2141# Try to create an executable without -o first, disregard a.out.
2142# It will help us diagnose broken compilers, and finding out an intuition
2143# of exeext.
2144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2145$as_echo_n "checking whether the C compiler works... " >&6; }
2146ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2147
2148# The possible output files:
2149ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2150
2151ac_rmfiles=
2152for ac_file in $ac_files
2153do
2154 case $ac_file in
2155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2156 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2157 esac
2158done
2159rm -f $ac_rmfiles
2160
2161if { { ac_try="$ac_link_default"
2162case "(($ac_try" in
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2165esac
2166eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2167$as_echo "$ac_try_echo"; } >&5
2168 (eval "$ac_link_default") 2>&5
2169 ac_status=$?
2170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2171 test $ac_status = 0; }; then :
2172 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2173# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2174# in a Makefile. We should not override ac_cv_exeext if it was cached,
2175# so that the user can short-circuit this test for compilers unknown to
2176# Autoconf.
2177for ac_file in $ac_files ''
2178do
2179 test -f "$ac_file" || continue
2180 case $ac_file in
2181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2182 ;;
2183 [ab].out )
2184 # We found the default executable, but exeext='' is most
2185 # certainly right.
2186 break;;
2187 *.* )
2188 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2189 then :; else
2190 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2191 fi
2192 # We set ac_cv_exeext here because the later test for it is not
2193 # safe: cross compilers may not add the suffix if given an `-o'
2194 # argument, so we may need to know it at that point already.
2195 # Even if this section looks crufty: it has the advantage of
2196 # actually working.
2197 break;;
2198 * )
2199 break;;
2200 esac
2201done
2202test "$ac_cv_exeext" = no && ac_cv_exeext=
2203
2204else
2205 ac_file=''
2206fi
2207if test -z "$ac_file"; then :
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2209$as_echo "no" >&6; }
2210$as_echo "$as_me: failed program was:" >&5
2211sed 's/^/| /' conftest.$ac_ext >&5
2212
2213{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215as_fn_error 77 "C compiler cannot create executables
2216See \`config.log' for more details" "$LINENO" 5; }
2217else
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2219$as_echo "yes" >&6; }
2220fi
2221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2222$as_echo_n "checking for C compiler default output file name... " >&6; }
2223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2224$as_echo "$ac_file" >&6; }
2225ac_exeext=$ac_cv_exeext
2226
2227rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2228ac_clean_files=$ac_clean_files_save
2229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2230$as_echo_n "checking for suffix of executables... " >&6; }
2231if { { ac_try="$ac_link"
2232case "(($ac_try" in
2233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2234 *) ac_try_echo=$ac_try;;
2235esac
2236eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2237$as_echo "$ac_try_echo"; } >&5
2238 (eval "$ac_link") 2>&5
2239 ac_status=$?
2240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2241 test $ac_status = 0; }; then :
2242 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2243# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2244# work properly (i.e., refer to `conftest.exe'), while it won't with
2245# `rm'.
2246for ac_file in conftest.exe conftest conftest.*; do
2247 test -f "$ac_file" || continue
2248 case $ac_file in
2249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2250 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2251 break;;
2252 * ) break;;
2253 esac
2254done
2255else
2256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2257$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2258as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2259See \`config.log' for more details" "$LINENO" 5; }
2260fi
2261rm -f conftest conftest$ac_cv_exeext
2262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2263$as_echo "$ac_cv_exeext" >&6; }
2264
2265rm -f conftest.$ac_ext
2266EXEEXT=$ac_cv_exeext
2267ac_exeext=$EXEEXT
2268cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269/* end confdefs.h. */
2270#include <stdio.h>
2271int
2272main ()
2273{
2274FILE *f = fopen ("conftest.out", "w");
2275 return ferror (f) || fclose (f) != 0;
2276
2277 ;
2278 return 0;
2279}
2280_ACEOF
2281ac_clean_files="$ac_clean_files conftest.out"
2282# Check that the compiler produces executables we can run. If not, either
2283# the compiler is broken, or we cross compile.
2284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2285$as_echo_n "checking whether we are cross compiling... " >&6; }
2286if test "$cross_compiling" != yes; then
2287 { { ac_try="$ac_link"
2288case "(($ac_try" in
2289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2290 *) ac_try_echo=$ac_try;;
2291esac
2292eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2293$as_echo "$ac_try_echo"; } >&5
2294 (eval "$ac_link") 2>&5
2295 ac_status=$?
2296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2297 test $ac_status = 0; }
2298 if { ac_try='./conftest$ac_cv_exeext'
2299 { { case "(($ac_try" in
2300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2301 *) ac_try_echo=$ac_try;;
2302esac
2303eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2304$as_echo "$ac_try_echo"; } >&5
2305 (eval "$ac_try") 2>&5
2306 ac_status=$?
2307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2308 test $ac_status = 0; }; }; then
2309 cross_compiling=no
2310 else
2311 if test "$cross_compiling" = maybe; then
2312 cross_compiling=yes
2313 else
2314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2315$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2316as_fn_error $? "cannot run C compiled programs.
2317If you meant to cross compile, use \`--host'.
2318See \`config.log' for more details" "$LINENO" 5; }
2319 fi
2320 fi
2321fi
2322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2323$as_echo "$cross_compiling" >&6; }
2324
2325rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2326ac_clean_files=$ac_clean_files_save
2327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2328$as_echo_n "checking for suffix of object files... " >&6; }
2329if ${ac_cv_objext+:} false; then :
2330 $as_echo_n "(cached) " >&6
2331else
2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2333/* end confdefs.h. */
2334
2335int
2336main ()
2337{
2338
2339 ;
2340 return 0;
2341}
2342_ACEOF
2343rm -f conftest.o conftest.obj
2344if { { ac_try="$ac_compile"
2345case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348esac
2349eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350$as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_compile") 2>&5
2352 ac_status=$?
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; }; then :
2355 for ac_file in conftest.o conftest.obj conftest.*; do
2356 test -f "$ac_file" || continue;
2357 case $ac_file in
2358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2359 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2360 break;;
2361 esac
2362done
2363else
2364 $as_echo "$as_me: failed program was:" >&5
2365sed 's/^/| /' conftest.$ac_ext >&5
2366
2367{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2368$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369as_fn_error $? "cannot compute suffix of object files: cannot compile
2370See \`config.log' for more details" "$LINENO" 5; }
2371fi
2372rm -f conftest.$ac_cv_objext conftest.$ac_ext
2373fi
2374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2375$as_echo "$ac_cv_objext" >&6; }
2376OBJEXT=$ac_cv_objext
2377ac_objext=$OBJEXT
2378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2379$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2380if ${ac_cv_c_compiler_gnu+:} false; then :
2381 $as_echo_n "(cached) " >&6
2382else
2383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2384/* end confdefs.h. */
2385
2386int
2387main ()
2388{
2389#ifndef __GNUC__
2390 choke me
2391#endif
2392
2393 ;
2394 return 0;
2395}
2396_ACEOF
2397if ac_fn_c_try_compile "$LINENO"; then :
2398 ac_compiler_gnu=yes
2399else
2400 ac_compiler_gnu=no
2401fi
2402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2403ac_cv_c_compiler_gnu=$ac_compiler_gnu
2404
2405fi
2406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2407$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2408if test $ac_compiler_gnu = yes; then
2409 GCC=yes
2410else
2411 GCC=
2412fi
2413ac_test_CFLAGS=${CFLAGS+set}
2414ac_save_CFLAGS=$CFLAGS
2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2416$as_echo_n "checking whether $CC accepts -g... " >&6; }
2417if ${ac_cv_prog_cc_g+:} false; then :
2418 $as_echo_n "(cached) " >&6
2419else
2420 ac_save_c_werror_flag=$ac_c_werror_flag
2421 ac_c_werror_flag=yes
2422 ac_cv_prog_cc_g=no
2423 CFLAGS="-g"
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425/* end confdefs.h. */
2426
2427int
2428main ()
2429{
2430
2431 ;
2432 return 0;
2433}
2434_ACEOF
2435if ac_fn_c_try_compile "$LINENO"; then :
2436 ac_cv_prog_cc_g=yes
2437else
2438 CFLAGS=""
2439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2440/* end confdefs.h. */
2441
2442int
2443main ()
2444{
2445
2446 ;
2447 return 0;
2448}
2449_ACEOF
2450if ac_fn_c_try_compile "$LINENO"; then :
2451
2452else
2453 ac_c_werror_flag=$ac_save_c_werror_flag
2454 CFLAGS="-g"
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456/* end confdefs.h. */
2457
2458int
2459main ()
2460{
2461
2462 ;
2463 return 0;
2464}
2465_ACEOF
2466if ac_fn_c_try_compile "$LINENO"; then :
2467 ac_cv_prog_cc_g=yes
2468fi
2469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470fi
2471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472fi
2473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 ac_c_werror_flag=$ac_save_c_werror_flag
2475fi
2476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2477$as_echo "$ac_cv_prog_cc_g" >&6; }
2478if test "$ac_test_CFLAGS" = set; then
2479 CFLAGS=$ac_save_CFLAGS
2480elif test $ac_cv_prog_cc_g = yes; then
2481 if test "$GCC" = yes; then
2482 CFLAGS="-g -O2"
2483 else
2484 CFLAGS="-g"
2485 fi
2486else
2487 if test "$GCC" = yes; then
2488 CFLAGS="-O2"
2489 else
2490 CFLAGS=
2491 fi
2492fi
2493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2494$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2495if ${ac_cv_prog_cc_c89+:} false; then :
2496 $as_echo_n "(cached) " >&6
2497else
2498 ac_cv_prog_cc_c89=no
2499ac_save_CC=$CC
2500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501/* end confdefs.h. */
2502#include <stdarg.h>
2503#include <stdio.h>
2504struct stat;
2505/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2506struct buf { int x; };
2507FILE * (*rcsopen) (struct buf *, struct stat *, int);
2508static char *e (p, i)
2509 char **p;
2510 int i;
2511{
2512 return p[i];
2513}
2514static char *f (char * (*g) (char **, int), char **p, ...)
2515{
2516 char *s;
2517 va_list v;
2518 va_start (v,p);
2519 s = g (p, va_arg (v,int));
2520 va_end (v);
2521 return s;
2522}
2523
2524/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2525 function prototypes and stuff, but not '\xHH' hex character constants.
2526 These don't provoke an error unfortunately, instead are silently treated
2527 as 'x'. The following induces an error, until -std is added to get
2528 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2529 array size at least. It's necessary to write '\x00'==0 to get something
2530 that's true only with -std. */
2531int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2532
2533/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2534 inside strings and character constants. */
2535#define FOO(x) 'x'
2536int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2537
2538int test (int i, double x);
2539struct s1 {int (*f) (int a);};
2540struct s2 {int (*f) (double a);};
2541int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2542int argc;
2543char **argv;
2544int
2545main ()
2546{
2547return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2548 ;
2549 return 0;
2550}
2551_ACEOF
2552for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2553 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2554do
2555 CC="$ac_save_CC $ac_arg"
2556 if ac_fn_c_try_compile "$LINENO"; then :
2557 ac_cv_prog_cc_c89=$ac_arg
2558fi
2559rm -f core conftest.err conftest.$ac_objext
2560 test "x$ac_cv_prog_cc_c89" != "xno" && break
2561done
2562rm -f conftest.$ac_ext
2563CC=$ac_save_CC
2564
2565fi
2566# AC_CACHE_VAL
2567case "x$ac_cv_prog_cc_c89" in
2568 x)
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2570$as_echo "none needed" >&6; } ;;
2571 xno)
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2573$as_echo "unsupported" >&6; } ;;
2574 *)
2575 CC="$CC $ac_cv_prog_cc_c89"
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2577$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2578esac
2579if test "x$ac_cv_prog_cc_c89" != xno; then :
2580
2581fi
2582
2583ac_ext=c
2584ac_cpp='$CPP $CPPFLAGS'
2585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2587ac_compiler_gnu=$ac_cv_c_compiler_gnu
2588
2589ac_aux_dir=
2590for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2591 if test -f "$ac_dir/install-sh"; then
2592 ac_aux_dir=$ac_dir
2593 ac_install_sh="$ac_aux_dir/install-sh -c"
2594 break
2595 elif test -f "$ac_dir/install.sh"; then
2596 ac_aux_dir=$ac_dir
2597 ac_install_sh="$ac_aux_dir/install.sh -c"
2598 break
2599 elif test -f "$ac_dir/shtool"; then
2600 ac_aux_dir=$ac_dir
2601 ac_install_sh="$ac_aux_dir/shtool install -c"
2602 break
2603 fi
2604done
2605if test -z "$ac_aux_dir"; then
2606 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2607fi
2608
2609# These three variables are undocumented and unsupported,
2610# and are intended to be withdrawn in a future Autoconf release.
2611# They can cause serious problems if a builder's source tree is in a directory
2612# whose full name contains unusual characters.
2613ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2614ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2615ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2616
2617
2618# Find a good install program. We prefer a C program (faster),
2619# so one script is as good as another. But avoid the broken or
2620# incompatible versions:
2621# SysV /etc/install, /usr/sbin/install
2622# SunOS /usr/etc/install
2623# IRIX /sbin/install
2624# AIX /bin/install
2625# AmigaOS /C/install, which installs bootblocks on floppy discs
2626# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2627# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2628# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2629# OS/2's system install, which has a completely different semantic
2630# ./install, which can be erroneously created by make from ./install.sh.
2631# Reject install programs that cannot install multiple files.
2632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2633$as_echo_n "checking for a BSD-compatible install... " >&6; }
2634if test -z "$INSTALL"; then
2635if ${ac_cv_path_install+:} false; then :
2636 $as_echo_n "(cached) " >&6
2637else
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639for as_dir in $PATH
2640do
2641 IFS=$as_save_IFS
2642 test -z "$as_dir" && as_dir=.
2643 # Account for people who put trailing slashes in PATH elements.
2644case $as_dir/ in #((
2645 ./ | .// | /[cC]/* | \
2646 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2647 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2648 /usr/ucb/* ) ;;
2649 *)
2650 # OSF1 and SCO ODT 3.0 have their own names for install.
2651 # Don't use installbsd from OSF since it installs stuff as root
2652 # by default.
2653 for ac_prog in ginstall scoinst install; do
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2656 if test $ac_prog = install &&
2657 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2658 # AIX install. It has an incompatible calling convention.
2659 :
2660 elif test $ac_prog = install &&
2661 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2662 # program-specific install script used by HP pwplus--don't use.
2663 :
2664 else
2665 rm -rf conftest.one conftest.two conftest.dir
2666 echo one > conftest.one
2667 echo two > conftest.two
2668 mkdir conftest.dir
2669 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2670 test -s conftest.one && test -s conftest.two &&
2671 test -s conftest.dir/conftest.one &&
2672 test -s conftest.dir/conftest.two
2673 then
2674 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2675 break 3
2676 fi
2677 fi
2678 fi
2679 done
2680 done
2681 ;;
2682esac
2683
2684 done
2685IFS=$as_save_IFS
2686
2687rm -rf conftest.one conftest.two conftest.dir
2688
2689fi
2690 if test "${ac_cv_path_install+set}" = set; then
2691 INSTALL=$ac_cv_path_install
2692 else
2693 # As a last resort, use the slow shell script. Don't cache a
2694 # value for INSTALL within a source directory, because that will
2695 # break other packages using the cache if that directory is
2696 # removed, or if the value is a relative name.
2697 INSTALL=$ac_install_sh
2698 fi
2699fi
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2701$as_echo "$INSTALL" >&6; }
2702
2703# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2704# It thinks the first close brace ends the variable substitution.
2705test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2706
2707test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2708
2709test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2710
2711if test -n "$ac_tool_prefix"; then
2712 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2713set dummy ${ac_tool_prefix}ar; ac_word=$2
2714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715$as_echo_n "checking for $ac_word... " >&6; }
2716if ${ac_cv_prog_AR+:} false; then :
2717 $as_echo_n "(cached) " >&6
2718else
2719 if test -n "$AR"; then
2720 ac_cv_prog_AR="$AR" # Let the user override the test.
2721else
2722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723for as_dir in $PATH
2724do
2725 IFS=$as_save_IFS
2726 test -z "$as_dir" && as_dir=.
2727 for ac_exec_ext in '' $ac_executable_extensions; do
2728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2729 ac_cv_prog_AR="${ac_tool_prefix}ar"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2731 break 2
2732 fi
2733done
2734 done
2735IFS=$as_save_IFS
2736
2737fi
2738fi
2739AR=$ac_cv_prog_AR
2740if test -n "$AR"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2742$as_echo "$AR" >&6; }
2743else
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745$as_echo "no" >&6; }
2746fi
2747
2748
2749fi
2750if test -z "$ac_cv_prog_AR"; then
2751 ac_ct_AR=$AR
2752 # Extract the first word of "ar", so it can be a program name with args.
2753set dummy ar; ac_word=$2
2754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2755$as_echo_n "checking for $ac_word... " >&6; }
2756if ${ac_cv_prog_ac_ct_AR+:} false; then :
2757 $as_echo_n "(cached) " >&6
2758else
2759 if test -n "$ac_ct_AR"; then
2760 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2761else
2762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763for as_dir in $PATH
2764do
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 for ac_exec_ext in '' $ac_executable_extensions; do
2768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2769 ac_cv_prog_ac_ct_AR="ar"
2770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2771 break 2
2772 fi
2773done
2774 done
2775IFS=$as_save_IFS
2776
2777fi
2778fi
2779ac_ct_AR=$ac_cv_prog_ac_ct_AR
2780if test -n "$ac_ct_AR"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2782$as_echo "$ac_ct_AR" >&6; }
2783else
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2785$as_echo "no" >&6; }
2786fi
2787
2788 if test "x$ac_ct_AR" = x; then
2789 AR=""
2790 else
2791 case $cross_compiling:$ac_tool_warned in
2792yes:)
2793{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2794$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2795ac_tool_warned=yes ;;
2796esac
2797 AR=$ac_ct_AR
2798 fi
2799else
2800 AR="$ac_cv_prog_AR"
2801fi
2802
2803if test -n "$ac_tool_prefix"; then
2804 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2805set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807$as_echo_n "checking for $ac_word... " >&6; }
2808if ${ac_cv_prog_RANLIB+:} false; then :
2809 $as_echo_n "(cached) " >&6
2810else
2811 if test -n "$RANLIB"; then
2812 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2813else
2814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815for as_dir in $PATH
2816do
2817 IFS=$as_save_IFS
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 break 2
2824 fi
2825done
2826 done
2827IFS=$as_save_IFS
2828
2829fi
2830fi
2831RANLIB=$ac_cv_prog_RANLIB
2832if test -n "$RANLIB"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2834$as_echo "$RANLIB" >&6; }
2835else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837$as_echo "no" >&6; }
2838fi
2839
2840
2841fi
2842if test -z "$ac_cv_prog_RANLIB"; then
2843 ac_ct_RANLIB=$RANLIB
2844 # Extract the first word of "ranlib", so it can be a program name with args.
2845set dummy ranlib; ac_word=$2
2846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847$as_echo_n "checking for $ac_word... " >&6; }
2848if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2849 $as_echo_n "(cached) " >&6
2850else
2851 if test -n "$ac_ct_RANLIB"; then
2852 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2853else
2854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855for as_dir in $PATH
2856do
2857 IFS=$as_save_IFS
2858 test -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2861 ac_cv_prog_ac_ct_RANLIB="ranlib"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 break 2
2864 fi
2865done
2866 done
2867IFS=$as_save_IFS
2868
2869fi
2870fi
2871ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2872if test -n "$ac_ct_RANLIB"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2874$as_echo "$ac_ct_RANLIB" >&6; }
2875else
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877$as_echo "no" >&6; }
2878fi
2879
2880 if test "x$ac_ct_RANLIB" = x; then
2881 RANLIB=":"
2882 else
2883 case $cross_compiling:$ac_tool_warned in
2884yes:)
2885{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2886$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2887ac_tool_warned=yes ;;
2888esac
2889 RANLIB=$ac_ct_RANLIB
2890 fi
2891else
2892 RANLIB="$ac_cv_prog_RANLIB"
2893fi
2894
2895
2896# Make sure we can run config.sub.
2897$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2898 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2899
2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2901$as_echo_n "checking build system type... " >&6; }
2902if ${ac_cv_build+:} false; then :
2903 $as_echo_n "(cached) " >&6
2904else
2905 ac_build_alias=$build_alias
2906test "x$ac_build_alias" = x &&
2907 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2908test "x$ac_build_alias" = x &&
2909 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2910ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2911 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2912
2913fi
2914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2915$as_echo "$ac_cv_build" >&6; }
2916case $ac_cv_build in
2917*-*-*) ;;
2918*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2919esac
2920build=$ac_cv_build
2921ac_save_IFS=$IFS; IFS='-'
2922set x $ac_cv_build
2923shift
2924build_cpu=$1
2925build_vendor=$2
2926shift; shift
2927# Remember, the first character of IFS is used to create $*,
2928# except with old shells:
2929build_os=$*
2930IFS=$ac_save_IFS
2931case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2932
2933
2934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2935$as_echo_n "checking host system type... " >&6; }
2936if ${ac_cv_host+:} false; then :
2937 $as_echo_n "(cached) " >&6
2938else
2939 if test "x$host_alias" = x; then
2940 ac_cv_host=$ac_cv_build
2941else
2942 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2943 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2944fi
2945
2946fi
2947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2948$as_echo "$ac_cv_host" >&6; }
2949case $ac_cv_host in
2950*-*-*) ;;
2951*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2952esac
2953host=$ac_cv_host
2954ac_save_IFS=$IFS; IFS='-'
2955set x $ac_cv_host
2956shift
2957host_cpu=$1
2958host_vendor=$2
2959shift; shift
2960# Remember, the first character of IFS is used to create $*,
2961# except with old shells:
2962host_os=$*
2963IFS=$ac_save_IFS
2964case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2965
2966
2967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2968$as_echo_n "checking target system type... " >&6; }
2969if ${ac_cv_target+:} false; then :
2970 $as_echo_n "(cached) " >&6
2971else
2972 if test "x$target_alias" = x; then
2973 ac_cv_target=$ac_cv_host
2974else
2975 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2976 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2977fi
2978
2979fi
2980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2981$as_echo "$ac_cv_target" >&6; }
2982case $ac_cv_target in
2983*-*-*) ;;
2984*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2985esac
2986target=$ac_cv_target
2987ac_save_IFS=$IFS; IFS='-'
2988set x $ac_cv_target
2989shift
2990target_cpu=$1
2991target_vendor=$2
2992shift; shift
2993# Remember, the first character of IFS is used to create $*,
2994# except with old shells:
2995target_os=$*
2996IFS=$ac_save_IFS
2997case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2998
2999
3000# The aliases save the names the user supplied, while $host etc.
3001# will get canonicalized.
3002test -n "$target_alias" &&
3003 test "$program_prefix$program_suffix$program_transform_name" = \
3004 NONENONEs,x,x, &&
3005 program_prefix=${target_alias}-
3006
3007test "$program_prefix" != NONE &&
3008 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3009# Use a double $ so make ignores it.
3010test "$program_suffix" != NONE &&
3011 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3012# Double any \ or $.
3013# By default was `s,x,x', remove it if useless.
3014ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3015program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3016
3017ac_ext=c
3018ac_cpp='$CPP $CPPFLAGS'
3019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021ac_compiler_gnu=$ac_cv_c_compiler_gnu
3022if test -n "$ac_tool_prefix"; then
3023 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3024set dummy ${ac_tool_prefix}gcc; ac_word=$2
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026$as_echo_n "checking for $ac_word... " >&6; }
3027if ${ac_cv_prog_CC+:} false; then :
3028 $as_echo_n "(cached) " >&6
3029else
3030 if test -n "$CC"; then
3031 ac_cv_prog_CC="$CC" # Let the user override the test.
3032else
3033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034for as_dir in $PATH
3035do
3036 IFS=$as_save_IFS
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 break 2
3043 fi
3044done
3045 done
3046IFS=$as_save_IFS
3047
3048fi
3049fi
3050CC=$ac_cv_prog_CC
3051if test -n "$CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3053$as_echo "$CC" >&6; }
3054else
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056$as_echo "no" >&6; }
3057fi
3058
3059
3060fi
3061if test -z "$ac_cv_prog_CC"; then
3062 ac_ct_CC=$CC
3063 # Extract the first word of "gcc", so it can be a program name with args.
3064set dummy gcc; ac_word=$2
3065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066$as_echo_n "checking for $ac_word... " >&6; }
3067if ${ac_cv_prog_ac_ct_CC+:} false; then :
3068 $as_echo_n "(cached) " >&6
3069else
3070 if test -n "$ac_ct_CC"; then
3071 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3072else
3073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074for as_dir in $PATH
3075do
3076 IFS=$as_save_IFS
3077 test -z "$as_dir" && as_dir=.
3078 for ac_exec_ext in '' $ac_executable_extensions; do
3079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080 ac_cv_prog_ac_ct_CC="gcc"
3081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 break 2
3083 fi
3084done
3085 done
3086IFS=$as_save_IFS
3087
3088fi
3089fi
3090ac_ct_CC=$ac_cv_prog_ac_ct_CC
3091if test -n "$ac_ct_CC"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3093$as_echo "$ac_ct_CC" >&6; }
3094else
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096$as_echo "no" >&6; }
3097fi
3098
3099 if test "x$ac_ct_CC" = x; then
3100 CC=""
3101 else
3102 case $cross_compiling:$ac_tool_warned in
3103yes:)
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3105$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3106ac_tool_warned=yes ;;
3107esac
3108 CC=$ac_ct_CC
3109 fi
3110else
3111 CC="$ac_cv_prog_CC"
3112fi
3113
3114if test -z "$CC"; then
3115 if test -n "$ac_tool_prefix"; then
3116 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3117set dummy ${ac_tool_prefix}cc; ac_word=$2
3118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119$as_echo_n "checking for $ac_word... " >&6; }
3120if ${ac_cv_prog_CC+:} false; then :
3121 $as_echo_n "(cached) " >&6
3122else
3123 if test -n "$CC"; then
3124 ac_cv_prog_CC="$CC" # Let the user override the test.
3125else
3126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127for as_dir in $PATH
3128do
3129 IFS=$as_save_IFS
3130 test -z "$as_dir" && as_dir=.
3131 for ac_exec_ext in '' $ac_executable_extensions; do
3132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133 ac_cv_prog_CC="${ac_tool_prefix}cc"
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 break 2
3136 fi
3137done
3138 done
3139IFS=$as_save_IFS
3140
3141fi
3142fi
3143CC=$ac_cv_prog_CC
3144if test -n "$CC"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3146$as_echo "$CC" >&6; }
3147else
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149$as_echo "no" >&6; }
3150fi
3151
3152
3153 fi
3154fi
3155if test -z "$CC"; then
3156 # Extract the first word of "cc", so it can be a program name with args.
3157set dummy cc; ac_word=$2
3158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159$as_echo_n "checking for $ac_word... " >&6; }
3160if ${ac_cv_prog_CC+:} false; then :
3161 $as_echo_n "(cached) " >&6
3162else
3163 if test -n "$CC"; then
3164 ac_cv_prog_CC="$CC" # Let the user override the test.
3165else
3166 ac_prog_rejected=no
3167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168for as_dir in $PATH
3169do
3170 IFS=$as_save_IFS
3171 test -z "$as_dir" && as_dir=.
3172 for ac_exec_ext in '' $ac_executable_extensions; do
3173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3175 ac_prog_rejected=yes
3176 continue
3177 fi
3178 ac_cv_prog_CC="cc"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 break 2
3181 fi
3182done
3183 done
3184IFS=$as_save_IFS
3185
3186if test $ac_prog_rejected = yes; then
3187 # We found a bogon in the path, so make sure we never use it.
3188 set dummy $ac_cv_prog_CC
3189 shift
3190 if test $# != 0; then
3191 # We chose a different compiler from the bogus one.
3192 # However, it has the same basename, so the bogon will be chosen
3193 # first if we set CC to just the basename; use the full file name.
3194 shift
3195 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3196 fi
3197fi
3198fi
3199fi
3200CC=$ac_cv_prog_CC
3201if test -n "$CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3203$as_echo "$CC" >&6; }
3204else
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206$as_echo "no" >&6; }
3207fi
3208
3209
3210fi
3211if test -z "$CC"; then
3212 if test -n "$ac_tool_prefix"; then
3213 for ac_prog in cl.exe
3214 do
3215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3216set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218$as_echo_n "checking for $ac_word... " >&6; }
3219if ${ac_cv_prog_CC+:} false; then :
3220 $as_echo_n "(cached) " >&6
3221else
3222 if test -n "$CC"; then
3223 ac_cv_prog_CC="$CC" # Let the user override the test.
3224else
3225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226for as_dir in $PATH
3227do
3228 IFS=$as_save_IFS
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 break 2
3235 fi
3236done
3237 done
3238IFS=$as_save_IFS
3239
3240fi
3241fi
3242CC=$ac_cv_prog_CC
3243if test -n "$CC"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3245$as_echo "$CC" >&6; }
3246else
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248$as_echo "no" >&6; }
3249fi
3250
3251
3252 test -n "$CC" && break
3253 done
3254fi
3255if test -z "$CC"; then
3256 ac_ct_CC=$CC
3257 for ac_prog in cl.exe
3258do
3259 # Extract the first word of "$ac_prog", so it can be a program name with args.
3260set dummy $ac_prog; ac_word=$2
3261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262$as_echo_n "checking for $ac_word... " >&6; }
3263if ${ac_cv_prog_ac_ct_CC+:} false; then :
3264 $as_echo_n "(cached) " >&6
3265else
3266 if test -n "$ac_ct_CC"; then
3267 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3268else
3269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270for as_dir in $PATH
3271do
3272 IFS=$as_save_IFS
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3276 ac_cv_prog_ac_ct_CC="$ac_prog"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3279 fi
3280done
3281 done
3282IFS=$as_save_IFS
3283
3284fi
3285fi
3286ac_ct_CC=$ac_cv_prog_ac_ct_CC
3287if test -n "$ac_ct_CC"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3289$as_echo "$ac_ct_CC" >&6; }
3290else
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292$as_echo "no" >&6; }
3293fi
3294
3295
3296 test -n "$ac_ct_CC" && break
3297done
3298
3299 if test "x$ac_ct_CC" = x; then
3300 CC=""
3301 else
3302 case $cross_compiling:$ac_tool_warned in
3303yes:)
3304{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3305$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3306ac_tool_warned=yes ;;
3307esac
3308 CC=$ac_ct_CC
3309 fi
3310fi
3311
3312fi
3313
3314
3315test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317as_fn_error $? "no acceptable C compiler found in \$PATH
3318See \`config.log' for more details" "$LINENO" 5; }
3319
3320# Provide some information about the compiler.
3321$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3322set X $ac_compile
3323ac_compiler=$2
3324for ac_option in --version -v -V -qversion; do
3325 { { ac_try="$ac_compiler $ac_option >&5"
3326case "(($ac_try" in
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3329esac
3330eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331$as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3333 ac_status=$?
3334 if test -s conftest.err; then
3335 sed '10a\
3336... rest of stderr output deleted ...
3337 10q' conftest.err >conftest.er1
3338 cat conftest.er1 >&5
3339 fi
3340 rm -f conftest.er1 conftest.err
3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342 test $ac_status = 0; }
3343done
3344
3345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3346$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3347if ${ac_cv_c_compiler_gnu+:} false; then :
3348 $as_echo_n "(cached) " >&6
3349else
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351/* end confdefs.h. */
3352
3353int
3354main ()
3355{
3356#ifndef __GNUC__
3357 choke me
3358#endif
3359
3360 ;
3361 return 0;
3362}
3363_ACEOF
3364if ac_fn_c_try_compile "$LINENO"; then :
3365 ac_compiler_gnu=yes
3366else
3367 ac_compiler_gnu=no
3368fi
3369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370ac_cv_c_compiler_gnu=$ac_compiler_gnu
3371
3372fi
3373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3374$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3375if test $ac_compiler_gnu = yes; then
3376 GCC=yes
3377else
3378 GCC=
3379fi
3380ac_test_CFLAGS=${CFLAGS+set}
3381ac_save_CFLAGS=$CFLAGS
3382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3383$as_echo_n "checking whether $CC accepts -g... " >&6; }
3384if ${ac_cv_prog_cc_g+:} false; then :
3385 $as_echo_n "(cached) " >&6
3386else
3387 ac_save_c_werror_flag=$ac_c_werror_flag
3388 ac_c_werror_flag=yes
3389 ac_cv_prog_cc_g=no
3390 CFLAGS="-g"
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392/* end confdefs.h. */
3393
3394int
3395main ()
3396{
3397
3398 ;
3399 return 0;
3400}
3401_ACEOF
3402if ac_fn_c_try_compile "$LINENO"; then :
3403 ac_cv_prog_cc_g=yes
3404else
3405 CFLAGS=""
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407/* end confdefs.h. */
3408
3409int
3410main ()
3411{
3412
3413 ;
3414 return 0;
3415}
3416_ACEOF
3417if ac_fn_c_try_compile "$LINENO"; then :
3418
3419else
3420 ac_c_werror_flag=$ac_save_c_werror_flag
3421 CFLAGS="-g"
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423/* end confdefs.h. */
3424
3425int
3426main ()
3427{
3428
3429 ;
3430 return 0;
3431}
3432_ACEOF
3433if ac_fn_c_try_compile "$LINENO"; then :
3434 ac_cv_prog_cc_g=yes
3435fi
3436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437fi
3438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439fi
3440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 ac_c_werror_flag=$ac_save_c_werror_flag
3442fi
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3444$as_echo "$ac_cv_prog_cc_g" >&6; }
3445if test "$ac_test_CFLAGS" = set; then
3446 CFLAGS=$ac_save_CFLAGS
3447elif test $ac_cv_prog_cc_g = yes; then
3448 if test "$GCC" = yes; then
3449 CFLAGS="-g -O2"
3450 else
3451 CFLAGS="-g"
3452 fi
3453else
3454 if test "$GCC" = yes; then
3455 CFLAGS="-O2"
3456 else
3457 CFLAGS=
3458 fi
3459fi
3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3461$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3462if ${ac_cv_prog_cc_c89+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464else
3465 ac_cv_prog_cc_c89=no
3466ac_save_CC=$CC
3467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468/* end confdefs.h. */
3469#include <stdarg.h>
3470#include <stdio.h>
3471struct stat;
3472/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3473struct buf { int x; };
3474FILE * (*rcsopen) (struct buf *, struct stat *, int);
3475static char *e (p, i)
3476 char **p;
3477 int i;
3478{
3479 return p[i];
3480}
3481static char *f (char * (*g) (char **, int), char **p, ...)
3482{
3483 char *s;
3484 va_list v;
3485 va_start (v,p);
3486 s = g (p, va_arg (v,int));
3487 va_end (v);
3488 return s;
3489}
3490
3491/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3492 function prototypes and stuff, but not '\xHH' hex character constants.
3493 These don't provoke an error unfortunately, instead are silently treated
3494 as 'x'. The following induces an error, until -std is added to get
3495 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3496 array size at least. It's necessary to write '\x00'==0 to get something
3497 that's true only with -std. */
3498int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3499
3500/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3501 inside strings and character constants. */
3502#define FOO(x) 'x'
3503int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3504
3505int test (int i, double x);
3506struct s1 {int (*f) (int a);};
3507struct s2 {int (*f) (double a);};
3508int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3509int argc;
3510char **argv;
3511int
3512main ()
3513{
3514return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3515 ;
3516 return 0;
3517}
3518_ACEOF
3519for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3520 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3521do
3522 CC="$ac_save_CC $ac_arg"
3523 if ac_fn_c_try_compile "$LINENO"; then :
3524 ac_cv_prog_cc_c89=$ac_arg
3525fi
3526rm -f core conftest.err conftest.$ac_objext
3527 test "x$ac_cv_prog_cc_c89" != "xno" && break
3528done
3529rm -f conftest.$ac_ext
3530CC=$ac_save_CC
3531
3532fi
3533# AC_CACHE_VAL
3534case "x$ac_cv_prog_cc_c89" in
3535 x)
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3537$as_echo "none needed" >&6; } ;;
3538 xno)
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3540$as_echo "unsupported" >&6; } ;;
3541 *)
3542 CC="$CC $ac_cv_prog_cc_c89"
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3544$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3545esac
3546if test "x$ac_cv_prog_cc_c89" != xno; then :
3547
3548fi
3549
3550ac_ext=c
3551ac_cpp='$CPP $CPPFLAGS'
3552ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555
3556
3557
3558AR=${AR-ar}
3559
3560if test -n "$ac_tool_prefix"; then
3561 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3562set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564$as_echo_n "checking for $ac_word... " >&6; }
3565if ${ac_cv_prog_RANLIB+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567else
3568 if test -n "$RANLIB"; then
3569 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3570else
3571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572for as_dir in $PATH
3573do
3574 IFS=$as_save_IFS
3575 test -z "$as_dir" && as_dir=.
3576 for ac_exec_ext in '' $ac_executable_extensions; do
3577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 break 2
3581 fi
3582done
3583 done
3584IFS=$as_save_IFS
3585
3586fi
3587fi
3588RANLIB=$ac_cv_prog_RANLIB
3589if test -n "$RANLIB"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3591$as_echo "$RANLIB" >&6; }
3592else
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594$as_echo "no" >&6; }
3595fi
3596
3597
3598fi
3599if test -z "$ac_cv_prog_RANLIB"; then
3600 ac_ct_RANLIB=$RANLIB
3601 # Extract the first word of "ranlib", so it can be a program name with args.
3602set dummy ranlib; ac_word=$2
3603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604$as_echo_n "checking for $ac_word... " >&6; }
3605if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607else
3608 if test -n "$ac_ct_RANLIB"; then
3609 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3610else
3611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612for as_dir in $PATH
3613do
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_ac_ct_RANLIB="ranlib"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 break 2
3621 fi
3622done
3623 done
3624IFS=$as_save_IFS
3625
3626fi
3627fi
3628ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3629if test -n "$ac_ct_RANLIB"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3631$as_echo "$ac_ct_RANLIB" >&6; }
3632else
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634$as_echo "no" >&6; }
3635fi
3636
3637 if test "x$ac_ct_RANLIB" = x; then
3638 RANLIB=":"
3639 else
3640 case $cross_compiling:$ac_tool_warned in
3641yes:)
3642{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3643$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3644ac_tool_warned=yes ;;
3645esac
3646 RANLIB=$ac_ct_RANLIB
3647 fi
3648else
3649 RANLIB="$ac_cv_prog_RANLIB"
3650fi
3651
3652
3653# Put a plausible default for CC_FOR_BUILD in Makefile.
3654if test -z "$CC_FOR_BUILD"; then
3655 if test "x$cross_compiling" = "xno"; then
3656 CC_FOR_BUILD='$(CC)'
3657 else
3658 CC_FOR_BUILD=gcc
3659 fi
3660fi
3661
3662CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3663
3664
3665# If a cpu ever has more than one simulator to choose from, use
3666# --enable-sim=... to choose.
3667# Check whether --enable-sim was given.
3668if test "${enable_sim+set}" = set; then :
3669 enableval=$enable_sim; case "${enableval}" in
3670yes | no) ;;
3671*) as_fn_error $? "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3672esac
3673fi
3674
3675
3676
3677if test "${enable_sim}" != no; then
3678
3679# WHEN ADDING ENTRIES TO THIS MATRIX:
3680
3681# Make sure that the left side always has two dashes. Otherwise you
3682# can get spurious matches. Even for unambiguous cases, do this as a
3683# convention, else the table becomes a real mess to understand and
3684# maintain.
3685
3686
3687
3688sim_igen=no
3689sim_arch=
3690case "${target}" in
3691 aarch64*-*-*)
3692
3693 sim_arch=aarch64
3694
3695
3696subdirs="$subdirs aarch64"
3697
3698
3699 ;;
3700 arm*-*-*)
3701
3702 sim_arch=arm
3703 subdirs="$subdirs arm"
3704
3705
3706 ;;
3707 avr*-*-*)
3708
3709 sim_arch=avr
3710 subdirs="$subdirs avr"
3711
3712
3713 ;;
3714 bfin-*-*)
3715
3716 sim_arch=bfin
3717 subdirs="$subdirs bfin"
3718
3719
3720 ;;
3721 cr16*-*-*)
3722
3723 sim_arch=cr16
3724 subdirs="$subdirs cr16"
3725
3726
3727 ;;
3728 cris-*-* | crisv32-*-*)
3729
3730 sim_arch=cris
3731 subdirs="$subdirs cris"
3732
3733
3734 ;;
3735 d10v-*-*)
3736
3737 sim_arch=d10v
3738 subdirs="$subdirs d10v"
3739
3740
3741 ;;
3742 frv-*-*)
3743
3744 sim_arch=frv
3745 subdirs="$subdirs frv"
3746
3747
3748 ;;
3749 h8300*-*-*)
3750
3751 sim_arch=h8300
3752 subdirs="$subdirs h8300"
3753
3754
3755 ;;
3756 iq2000-*-*)
3757
3758 sim_arch=iq2000
3759 subdirs="$subdirs iq2000"
3760
3761
3762 ;;
3763 lm32-*-*)
3764
3765 sim_arch=lm32
3766 subdirs="$subdirs lm32"
3767
3768
3769 ;;
3770 m32c-*-*)
3771
3772 sim_arch=m32c
3773 subdirs="$subdirs m32c"
3774
3775
3776 ;;
3777 m32r-*-*)
3778
3779 sim_arch=m32r
3780 subdirs="$subdirs m32r"
3781
3782
3783 ;;
3784 m68hc11-*-*|m6811-*-*)
3785
3786 sim_arch=m68hc11
3787 subdirs="$subdirs m68hc11"
3788
3789
3790 ;;
3791 mcore-*-*)
3792
3793 sim_arch=mcore
3794 subdirs="$subdirs mcore"
3795
3796
3797 ;;
3798 microblaze-*-*)
3799
3800 sim_arch=microblaze
3801 subdirs="$subdirs microblaze"
3802
3803
3804 ;;
3805 mips*-*-*)
3806
3807 sim_arch=mips
3808 subdirs="$subdirs mips"
3809
3810
3811 sim_igen=yes
3812 ;;
3813 mn10300*-*-*)
3814
3815 sim_arch=mn10300
3816 subdirs="$subdirs mn10300"
3817
3818
3819 sim_igen=yes
3820 ;;
3821 moxie-*-*)
3822
3823 sim_arch=moxie
3824 subdirs="$subdirs moxie"
3825
3826
3827 ;;
3828 msp430*-*-*)
3829
3830 sim_arch=msp430
3831 subdirs="$subdirs msp430"
3832
3833
3834 ;;
3835 or1k-*-* | or1knd-*-*)
3836
3837 sim_arch=or1k
3838 subdirs="$subdirs or1k"
3839
3840
3841 ;;
3842 pru*-*-*)
3843
3844 sim_arch=pru
3845 subdirs="$subdirs pru"
3846
3847
3848 ;;
3849 rl78-*-*)
3850
3851 sim_arch=rl78
3852 subdirs="$subdirs rl78"
3853
3854
3855 ;;
3856 rx-*-*)
3857
3858 sim_arch=rx
3859 subdirs="$subdirs rx"
3860
3861
3862 ;;
3863 sh64*-*-*)
3864
3865 sim_arch=sh64
3866 subdirs="$subdirs sh64"
3867
3868
3869 ;;
3870 sh*-*-*)
3871
3872 sim_arch=sh
3873 subdirs="$subdirs sh"
3874
3875
3876 ;;
3877 sparc-*-rtems*|sparc-*-elf*)
3878
3879 sim_arch=erc32
3880 subdirs="$subdirs erc32"
3881
3882
3883 ;;
3884 powerpc*-*-*)
3885
3886 sim_arch=ppc
3887 subdirs="$subdirs ppc"
3888
3889
3890 ;;
3891 ft32-*-*)
3892
3893 sim_arch=ft32
3894 subdirs="$subdirs ft32"
3895
3896
3897 ;;
3898 v850*-*-*)
3899
3900 sim_arch=v850
3901 subdirs="$subdirs v850"
3902
3903
3904 sim_igen=yes
3905 ;;
3906esac
3907
3908
3909 subdirs="$subdirs testsuite"
3910
3911 if test "$sim_igen" = yes; then
3912 subdirs="$subdirs igen"
3913
3914 fi
3915fi
3916
3917ac_config_files="$ac_config_files Makefile"
3918
3919cat >confcache <<\_ACEOF
3920# This file is a shell script that caches the results of configure
3921# tests run on this system so they can be shared between configure
3922# scripts and configure runs, see configure's option --config-cache.
3923# It is not useful on other systems. If it contains results you don't
3924# want to keep, you may remove or edit it.
3925#
3926# config.status only pays attention to the cache file if you give it
3927# the --recheck option to rerun configure.
3928#
3929# `ac_cv_env_foo' variables (set or unset) will be overridden when
3930# loading this file, other *unset* `ac_cv_foo' will be assigned the
3931# following values.
3932
3933_ACEOF
3934
3935# The following way of writing the cache mishandles newlines in values,
3936# but we know of no workaround that is simple, portable, and efficient.
3937# So, we kill variables containing newlines.
3938# Ultrix sh set writes to stderr and can't be redirected directly,
3939# and sets the high bit in the cache file unless we assign to the vars.
3940(
3941 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3942 eval ac_val=\$$ac_var
3943 case $ac_val in #(
3944 *${as_nl}*)
3945 case $ac_var in #(
3946 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3947$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3948 esac
3949 case $ac_var in #(
3950 _ | IFS | as_nl) ;; #(
3951 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3952 *) { eval $ac_var=; unset $ac_var;} ;;
3953 esac ;;
3954 esac
3955 done
3956
3957 (set) 2>&1 |
3958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3959 *${as_nl}ac_space=\ *)
3960 # `set' does not quote correctly, so add quotes: double-quote
3961 # substitution turns \\\\ into \\, and sed turns \\ into \.
3962 sed -n \
3963 "s/'/'\\\\''/g;
3964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3965 ;; #(
3966 *)
3967 # `set' quotes correctly as required by POSIX, so do not add quotes.
3968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3969 ;;
3970 esac |
3971 sort
3972) |
3973 sed '
3974 /^ac_cv_env_/b end
3975 t clear
3976 :clear
3977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3978 t end
3979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3980 :end' >>confcache
3981if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3982 if test -w "$cache_file"; then
3983 if test "x$cache_file" != "x/dev/null"; then
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3985$as_echo "$as_me: updating cache $cache_file" >&6;}
3986 if test ! -f "$cache_file" || test -h "$cache_file"; then
3987 cat confcache >"$cache_file"
3988 else
3989 case $cache_file in #(
3990 */* | ?:*)
3991 mv -f confcache "$cache_file"$$ &&
3992 mv -f "$cache_file"$$ "$cache_file" ;; #(
3993 *)
3994 mv -f confcache "$cache_file" ;;
3995 esac
3996 fi
3997 fi
3998 else
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4000$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4001 fi
4002fi
4003rm -f confcache
4004
4005test "x$prefix" = xNONE && prefix=$ac_default_prefix
4006# Let make expand exec_prefix.
4007test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4008
4009# Transform confdefs.h into DEFS.
4010# Protect against shell expansion while executing Makefile rules.
4011# Protect against Makefile macro expansion.
4012#
4013# If the first sed substitution is executed (which looks for macros that
4014# take arguments), then branch to the quote section. Otherwise,
4015# look for a macro that doesn't take arguments.
4016ac_script='
4017:mline
4018/\\$/{
4019 N
4020 s,\\\n,,
4021 b mline
4022}
4023t clear
4024:clear
4025s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4026t quote
4027s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4028t quote
4029b any
4030:quote
4031s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4032s/\[/\\&/g
4033s/\]/\\&/g
4034s/\$/$$/g
4035H
4036:any
4037${
4038 g
4039 s/^\n//
4040 s/\n/ /g
4041 p
4042}
4043'
4044DEFS=`sed -n "$ac_script" confdefs.h`
4045
4046
4047ac_libobjs=
4048ac_ltlibobjs=
4049U=
4050for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4051 # 1. Remove the extension, and $U if already installed.
4052 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4053 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4055 # will be set to the directory where LIBOBJS objects are built.
4056 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4057 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4058done
4059LIBOBJS=$ac_libobjs
4060
4061LTLIBOBJS=$ac_ltlibobjs
4062
4063
4064
4065: "${CONFIG_STATUS=./config.status}"
4066ac_write_fail=0
4067ac_clean_files_save=$ac_clean_files
4068ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4070$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4071as_write_fail=0
4072cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4073#! $SHELL
4074# Generated by $as_me.
4075# Run this file to recreate the current configuration.
4076# Compiler output produced by configure, useful for debugging
4077# configure, is in config.log if it exists.
4078
4079debug=false
4080ac_cs_recheck=false
4081ac_cs_silent=false
4082
4083SHELL=\${CONFIG_SHELL-$SHELL}
4084export SHELL
4085_ASEOF
4086cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4087## -------------------- ##
4088## M4sh Initialization. ##
4089## -------------------- ##
4090
4091# Be more Bourne compatible
4092DUALCASE=1; export DUALCASE # for MKS sh
4093if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4094 emulate sh
4095 NULLCMD=:
4096 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4097 # is contrary to our usage. Disable this feature.
4098 alias -g '${1+"$@"}'='"$@"'
4099 setopt NO_GLOB_SUBST
4100else
4101 case `(set -o) 2>/dev/null` in #(
4102 *posix*) :
4103 set -o posix ;; #(
4104 *) :
4105 ;;
4106esac
4107fi
4108
4109
4110as_nl='
4111'
4112export as_nl
4113# Printing a long string crashes Solaris 7 /usr/bin/printf.
4114as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4115as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4116as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4117# Prefer a ksh shell builtin over an external printf program on Solaris,
4118# but without wasting forks for bash or zsh.
4119if test -z "$BASH_VERSION$ZSH_VERSION" \
4120 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4121 as_echo='print -r --'
4122 as_echo_n='print -rn --'
4123elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4124 as_echo='printf %s\n'
4125 as_echo_n='printf %s'
4126else
4127 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4128 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4129 as_echo_n='/usr/ucb/echo -n'
4130 else
4131 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4132 as_echo_n_body='eval
4133 arg=$1;
4134 case $arg in #(
4135 *"$as_nl"*)
4136 expr "X$arg" : "X\\(.*\\)$as_nl";
4137 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4138 esac;
4139 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4140 '
4141 export as_echo_n_body
4142 as_echo_n='sh -c $as_echo_n_body as_echo'
4143 fi
4144 export as_echo_body
4145 as_echo='sh -c $as_echo_body as_echo'
4146fi
4147
4148# The user is always right.
4149if test "${PATH_SEPARATOR+set}" != set; then
4150 PATH_SEPARATOR=:
4151 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4152 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4153 PATH_SEPARATOR=';'
4154 }
4155fi
4156
4157
4158# IFS
4159# We need space, tab and new line, in precisely that order. Quoting is
4160# there to prevent editors from complaining about space-tab.
4161# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4162# splitting by setting IFS to empty value.)
4163IFS=" "" $as_nl"
4164
4165# Find who we are. Look in the path if we contain no directory separator.
4166as_myself=
4167case $0 in #((
4168 *[\\/]* ) as_myself=$0 ;;
4169 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170for as_dir in $PATH
4171do
4172 IFS=$as_save_IFS
4173 test -z "$as_dir" && as_dir=.
4174 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4175 done
4176IFS=$as_save_IFS
4177
4178 ;;
4179esac
4180# We did not find ourselves, most probably we were run as `sh COMMAND'
4181# in which case we are not to be found in the path.
4182if test "x$as_myself" = x; then
4183 as_myself=$0
4184fi
4185if test ! -f "$as_myself"; then
4186 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4187 exit 1
4188fi
4189
4190# Unset variables that we do not need and which cause bugs (e.g. in
4191# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4192# suppresses any "Segmentation fault" message there. '((' could
4193# trigger a bug in pdksh 5.2.14.
4194for as_var in BASH_ENV ENV MAIL MAILPATH
4195do eval test x\${$as_var+set} = xset \
4196 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4197done
4198PS1='$ '
4199PS2='> '
4200PS4='+ '
4201
4202# NLS nuisances.
4203LC_ALL=C
4204export LC_ALL
4205LANGUAGE=C
4206export LANGUAGE
4207
4208# CDPATH.
4209(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4210
4211
4212# as_fn_error STATUS ERROR [LINENO LOG_FD]
4213# ----------------------------------------
4214# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4215# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4216# script with STATUS, using 1 if that was 0.
4217as_fn_error ()
4218{
4219 as_status=$1; test $as_status -eq 0 && as_status=1
4220 if test "$4"; then
4221 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4222 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4223 fi
4224 $as_echo "$as_me: error: $2" >&2
4225 as_fn_exit $as_status
4226} # as_fn_error
4227
4228
4229# as_fn_set_status STATUS
4230# -----------------------
4231# Set $? to STATUS, without forking.
4232as_fn_set_status ()
4233{
4234 return $1
4235} # as_fn_set_status
4236
4237# as_fn_exit STATUS
4238# -----------------
4239# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4240as_fn_exit ()
4241{
4242 set +e
4243 as_fn_set_status $1
4244 exit $1
4245} # as_fn_exit
4246
4247# as_fn_unset VAR
4248# ---------------
4249# Portably unset VAR.
4250as_fn_unset ()
4251{
4252 { eval $1=; unset $1;}
4253}
4254as_unset=as_fn_unset
4255# as_fn_append VAR VALUE
4256# ----------------------
4257# Append the text in VALUE to the end of the definition contained in VAR. Take
4258# advantage of any shell optimizations that allow amortized linear growth over
4259# repeated appends, instead of the typical quadratic growth present in naive
4260# implementations.
4261if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4262 eval 'as_fn_append ()
4263 {
4264 eval $1+=\$2
4265 }'
4266else
4267 as_fn_append ()
4268 {
4269 eval $1=\$$1\$2
4270 }
4271fi # as_fn_append
4272
4273# as_fn_arith ARG...
4274# ------------------
4275# Perform arithmetic evaluation on the ARGs, and store the result in the
4276# global $as_val. Take advantage of shells that can avoid forks. The arguments
4277# must be portable across $(()) and expr.
4278if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4279 eval 'as_fn_arith ()
4280 {
4281 as_val=$(( $* ))
4282 }'
4283else
4284 as_fn_arith ()
4285 {
4286 as_val=`expr "$@" || test $? -eq 1`
4287 }
4288fi # as_fn_arith
4289
4290
4291if expr a : '\(a\)' >/dev/null 2>&1 &&
4292 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4293 as_expr=expr
4294else
4295 as_expr=false
4296fi
4297
4298if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4299 as_basename=basename
4300else
4301 as_basename=false
4302fi
4303
4304if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4305 as_dirname=dirname
4306else
4307 as_dirname=false
4308fi
4309
4310as_me=`$as_basename -- "$0" ||
4311$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4312 X"$0" : 'X\(//\)$' \| \
4313 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4314$as_echo X/"$0" |
4315 sed '/^.*\/\([^/][^/]*\)\/*$/{
4316 s//\1/
4317 q
4318 }
4319 /^X\/\(\/\/\)$/{
4320 s//\1/
4321 q
4322 }
4323 /^X\/\(\/\).*/{
4324 s//\1/
4325 q
4326 }
4327 s/.*/./; q'`
4328
4329# Avoid depending upon Character Ranges.
4330as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4331as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4332as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4333as_cr_digits='0123456789'
4334as_cr_alnum=$as_cr_Letters$as_cr_digits
4335
4336ECHO_C= ECHO_N= ECHO_T=
4337case `echo -n x` in #(((((
4338-n*)
4339 case `echo 'xy\c'` in
4340 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4341 xy) ECHO_C='\c';;
4342 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4343 ECHO_T=' ';;
4344 esac;;
4345*)
4346 ECHO_N='-n';;
4347esac
4348
4349rm -f conf$$ conf$$.exe conf$$.file
4350if test -d conf$$.dir; then
4351 rm -f conf$$.dir/conf$$.file
4352else
4353 rm -f conf$$.dir
4354 mkdir conf$$.dir 2>/dev/null
4355fi
4356if (echo >conf$$.file) 2>/dev/null; then
4357 if ln -s conf$$.file conf$$ 2>/dev/null; then
4358 as_ln_s='ln -s'
4359 # ... but there are two gotchas:
4360 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4361 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4362 # In both cases, we have to default to `cp -pR'.
4363 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4364 as_ln_s='cp -pR'
4365 elif ln conf$$.file conf$$ 2>/dev/null; then
4366 as_ln_s=ln
4367 else
4368 as_ln_s='cp -pR'
4369 fi
4370else
4371 as_ln_s='cp -pR'
4372fi
4373rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4374rmdir conf$$.dir 2>/dev/null
4375
4376
4377# as_fn_mkdir_p
4378# -------------
4379# Create "$as_dir" as a directory, including parents if necessary.
4380as_fn_mkdir_p ()
4381{
4382
4383 case $as_dir in #(
4384 -*) as_dir=./$as_dir;;
4385 esac
4386 test -d "$as_dir" || eval $as_mkdir_p || {
4387 as_dirs=
4388 while :; do
4389 case $as_dir in #(
4390 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4391 *) as_qdir=$as_dir;;
4392 esac
4393 as_dirs="'$as_qdir' $as_dirs"
4394 as_dir=`$as_dirname -- "$as_dir" ||
4395$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4396 X"$as_dir" : 'X\(//\)[^/]' \| \
4397 X"$as_dir" : 'X\(//\)$' \| \
4398 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4399$as_echo X"$as_dir" |
4400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4401 s//\1/
4402 q
4403 }
4404 /^X\(\/\/\)[^/].*/{
4405 s//\1/
4406 q
4407 }
4408 /^X\(\/\/\)$/{
4409 s//\1/
4410 q
4411 }
4412 /^X\(\/\).*/{
4413 s//\1/
4414 q
4415 }
4416 s/.*/./; q'`
4417 test -d "$as_dir" && break
4418 done
4419 test -z "$as_dirs" || eval "mkdir $as_dirs"
4420 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4421
4422
4423} # as_fn_mkdir_p
4424if mkdir -p . 2>/dev/null; then
4425 as_mkdir_p='mkdir -p "$as_dir"'
4426else
4427 test -d ./-p && rmdir ./-p
4428 as_mkdir_p=false
4429fi
4430
4431
4432# as_fn_executable_p FILE
4433# -----------------------
4434# Test if FILE is an executable regular file.
4435as_fn_executable_p ()
4436{
4437 test -f "$1" && test -x "$1"
4438} # as_fn_executable_p
4439as_test_x='test -x'
4440as_executable_p=as_fn_executable_p
4441
4442# Sed expression to map a string onto a valid CPP name.
4443as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4444
4445# Sed expression to map a string onto a valid variable name.
4446as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4447
4448
4449exec 6>&1
4450## ----------------------------------- ##
4451## Main body of $CONFIG_STATUS script. ##
4452## ----------------------------------- ##
4453_ASEOF
4454test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4455
4456cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4457# Save the log message, to keep $0 and so on meaningful, and to
4458# report actual input values of CONFIG_FILES etc. instead of their
4459# values after options handling.
4460ac_log="
4461This file was extended by $as_me, which was
4462generated by GNU Autoconf 2.69. Invocation command line was
4463
4464 CONFIG_FILES = $CONFIG_FILES
4465 CONFIG_HEADERS = $CONFIG_HEADERS
4466 CONFIG_LINKS = $CONFIG_LINKS
4467 CONFIG_COMMANDS = $CONFIG_COMMANDS
4468 $ $0 $@
4469
4470on `(hostname || uname -n) 2>/dev/null | sed 1q`
4471"
4472
4473_ACEOF
4474
4475case $ac_config_files in *"
4476"*) set x $ac_config_files; shift; ac_config_files=$*;;
4477esac
4478
4479
4480
4481cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4482# Files that config.status was made for.
4483config_files="$ac_config_files"
4484
4485_ACEOF
4486
4487cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4488ac_cs_usage="\
4489\`$as_me' instantiates files and other configuration actions
4490from templates according to the current configuration. Unless the files
4491and actions are specified as TAGs, all are instantiated by default.
4492
4493Usage: $0 [OPTION]... [TAG]...
4494
4495 -h, --help print this help, then exit
4496 -V, --version print version number and configuration settings, then exit
4497 --config print configuration, then exit
4498 -q, --quiet, --silent
4499 do not print progress messages
4500 -d, --debug don't remove temporary files
4501 --recheck update $as_me by reconfiguring in the same conditions
4502 --file=FILE[:TEMPLATE]
4503 instantiate the configuration file FILE
4504
4505Configuration files:
4506$config_files
4507
4508Report bugs to the package provider."
4509
4510_ACEOF
4511cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4512ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4513ac_cs_version="\\
4514config.status
4515configured by $0, generated by GNU Autoconf 2.69,
4516 with options \\"\$ac_cs_config\\"
4517
4518Copyright (C) 2012 Free Software Foundation, Inc.
4519This config.status script is free software; the Free Software Foundation
4520gives unlimited permission to copy, distribute and modify it."
4521
4522ac_pwd='$ac_pwd'
4523srcdir='$srcdir'
4524INSTALL='$INSTALL'
4525test -n "\$AWK" || AWK=awk
4526_ACEOF
4527
4528cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4529# The default lists apply if the user does not specify any file.
4530ac_need_defaults=:
4531while test $# != 0
4532do
4533 case $1 in
4534 --*=?*)
4535 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4536 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4537 ac_shift=:
4538 ;;
4539 --*=)
4540 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4541 ac_optarg=
4542 ac_shift=:
4543 ;;
4544 *)
4545 ac_option=$1
4546 ac_optarg=$2
4547 ac_shift=shift
4548 ;;
4549 esac
4550
4551 case $ac_option in
4552 # Handling of the options.
4553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4554 ac_cs_recheck=: ;;
4555 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4556 $as_echo "$ac_cs_version"; exit ;;
4557 --config | --confi | --conf | --con | --co | --c )
4558 $as_echo "$ac_cs_config"; exit ;;
4559 --debug | --debu | --deb | --de | --d | -d )
4560 debug=: ;;
4561 --file | --fil | --fi | --f )
4562 $ac_shift
4563 case $ac_optarg in
4564 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4565 '') as_fn_error $? "missing file argument" ;;
4566 esac
4567 as_fn_append CONFIG_FILES " '$ac_optarg'"
4568 ac_need_defaults=false;;
4569 --he | --h | --help | --hel | -h )
4570 $as_echo "$ac_cs_usage"; exit ;;
4571 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4572 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4573 ac_cs_silent=: ;;
4574
4575 # This is an error.
4576 -*) as_fn_error $? "unrecognized option: \`$1'
4577Try \`$0 --help' for more information." ;;
4578
4579 *) as_fn_append ac_config_targets " $1"
4580 ac_need_defaults=false ;;
4581
4582 esac
4583 shift
4584done
4585
4586ac_configure_extra_args=
4587
4588if $ac_cs_silent; then
4589 exec 6>/dev/null
4590 ac_configure_extra_args="$ac_configure_extra_args --silent"
4591fi
4592
4593_ACEOF
4594cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4595if \$ac_cs_recheck; then
4596 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4597 shift
4598 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4599 CONFIG_SHELL='$SHELL'
4600 export CONFIG_SHELL
4601 exec "\$@"
4602fi
4603
4604_ACEOF
4605cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4606exec 5>>config.log
4607{
4608 echo
4609 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4610## Running $as_me. ##
4611_ASBOX
4612 $as_echo "$ac_log"
4613} >&5
4614
4615_ACEOF
4616cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4617_ACEOF
4618
4619cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4620
4621# Handling of arguments.
4622for ac_config_target in $ac_config_targets
4623do
4624 case $ac_config_target in
4625 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4626
4627 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4628 esac
4629done
4630
4631
4632# If the user did not use the arguments to specify the items to instantiate,
4633# then the envvar interface is used. Set only those that are not.
4634# We use the long form for the default assignment because of an extremely
4635# bizarre bug on SunOS 4.1.3.
4636if $ac_need_defaults; then
4637 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4638fi
4639
4640# Have a temporary directory for convenience. Make it in the build tree
4641# simply because there is no reason against having it here, and in addition,
4642# creating and moving files from /tmp can sometimes cause problems.
4643# Hook for its removal unless debugging.
4644# Note that there is a small window in which the directory will not be cleaned:
4645# after its creation but before its name has been assigned to `$tmp'.
4646$debug ||
4647{
4648 tmp= ac_tmp=
4649 trap 'exit_status=$?
4650 : "${ac_tmp:=$tmp}"
4651 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4652' 0
4653 trap 'as_fn_exit 1' 1 2 13 15
4654}
4655# Create a (secure) tmp directory for tmp files.
4656
4657{
4658 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4659 test -d "$tmp"
4660} ||
4661{
4662 tmp=./conf$$-$RANDOM
4663 (umask 077 && mkdir "$tmp")
4664} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4665ac_tmp=$tmp
4666
4667# Set up the scripts for CONFIG_FILES section.
4668# No need to generate them if there are no CONFIG_FILES.
4669# This happens for instance with `./config.status config.h'.
4670if test -n "$CONFIG_FILES"; then
4671
4672
4673ac_cr=`echo X | tr X '\015'`
4674# On cygwin, bash can eat \r inside `` if the user requested igncr.
4675# But we know of no other shell where ac_cr would be empty at this
4676# point, so we can use a bashism as a fallback.
4677if test "x$ac_cr" = x; then
4678 eval ac_cr=\$\'\\r\'
4679fi
4680ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4681if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4682 ac_cs_awk_cr='\\r'
4683else
4684 ac_cs_awk_cr=$ac_cr
4685fi
4686
4687echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4688_ACEOF
4689
4690
4691{
4692 echo "cat >conf$$subs.awk <<_ACEOF" &&
4693 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4694 echo "_ACEOF"
4695} >conf$$subs.sh ||
4696 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4697ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4698ac_delim='%!_!# '
4699for ac_last_try in false false false false false :; do
4700 . ./conf$$subs.sh ||
4701 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4702
4703 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4704 if test $ac_delim_n = $ac_delim_num; then
4705 break
4706 elif $ac_last_try; then
4707 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4708 else
4709 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4710 fi
4711done
4712rm -f conf$$subs.sh
4713
4714cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4715cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4716_ACEOF
4717sed -n '
4718h
4719s/^/S["/; s/!.*/"]=/
4720p
4721g
4722s/^[^!]*!//
4723:repl
4724t repl
4725s/'"$ac_delim"'$//
4726t delim
4727:nl
4728h
4729s/\(.\{148\}\)..*/\1/
4730t more1
4731s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4732p
4733n
4734b repl
4735:more1
4736s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4737p
4738g
4739s/.\{148\}//
4740t nl
4741:delim
4742h
4743s/\(.\{148\}\)..*/\1/
4744t more2
4745s/["\\]/\\&/g; s/^/"/; s/$/"/
4746p
4747b
4748:more2
4749s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4750p
4751g
4752s/.\{148\}//
4753t delim
4754' <conf$$subs.awk | sed '
4755/^[^""]/{
4756 N
4757 s/\n//
4758}
4759' >>$CONFIG_STATUS || ac_write_fail=1
4760rm -f conf$$subs.awk
4761cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4762_ACAWK
4763cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4764 for (key in S) S_is_set[key] = 1
4765 FS = "\a"
4766
4767}
4768{
4769 line = $ 0
4770 nfields = split(line, field, "@")
4771 substed = 0
4772 len = length(field[1])
4773 for (i = 2; i < nfields; i++) {
4774 key = field[i]
4775 keylen = length(key)
4776 if (S_is_set[key]) {
4777 value = S[key]
4778 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4779 len += length(value) + length(field[++i])
4780 substed = 1
4781 } else
4782 len += 1 + keylen
4783 }
4784
4785 print line
4786}
4787
4788_ACAWK
4789_ACEOF
4790cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4791if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4792 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4793else
4794 cat
4795fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4796 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4797_ACEOF
4798
4799# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4800# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4801# trailing colons and then remove the whole line if VPATH becomes empty
4802# (actually we leave an empty line to preserve line numbers).
4803if test "x$srcdir" = x.; then
4804 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4805h
4806s///
4807s/^/:/
4808s/[ ]*$/:/
4809s/:\$(srcdir):/:/g
4810s/:\${srcdir}:/:/g
4811s/:@srcdir@:/:/g
4812s/^:*//
4813s/:*$//
4814x
4815s/\(=[ ]*\).*/\1/
4816G
4817s/\n//
4818s/^[^=]*=[ ]*$//
4819}'
4820fi
4821
4822cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4823fi # test -n "$CONFIG_FILES"
4824
4825
4826eval set X " :F $CONFIG_FILES "
4827shift
4828for ac_tag
4829do
4830 case $ac_tag in
4831 :[FHLC]) ac_mode=$ac_tag; continue;;
4832 esac
4833 case $ac_mode$ac_tag in
4834 :[FHL]*:*);;
4835 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4836 :[FH]-) ac_tag=-:-;;
4837 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4838 esac
4839 ac_save_IFS=$IFS
4840 IFS=:
4841 set x $ac_tag
4842 IFS=$ac_save_IFS
4843 shift
4844 ac_file=$1
4845 shift
4846
4847 case $ac_mode in
4848 :L) ac_source=$1;;
4849 :[FH])
4850 ac_file_inputs=
4851 for ac_f
4852 do
4853 case $ac_f in
4854 -) ac_f="$ac_tmp/stdin";;
4855 *) # Look for the file first in the build tree, then in the source tree
4856 # (if the path is not absolute). The absolute path cannot be DOS-style,
4857 # because $ac_f cannot contain `:'.
4858 test -f "$ac_f" ||
4859 case $ac_f in
4860 [\\/$]*) false;;
4861 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4862 esac ||
4863 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4864 esac
4865 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4866 as_fn_append ac_file_inputs " '$ac_f'"
4867 done
4868
4869 # Let's still pretend it is `configure' which instantiates (i.e., don't
4870 # use $as_me), people would be surprised to read:
4871 # /* config.h. Generated by config.status. */
4872 configure_input='Generated from '`
4873 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4874 `' by configure.'
4875 if test x"$ac_file" != x-; then
4876 configure_input="$ac_file. $configure_input"
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4878$as_echo "$as_me: creating $ac_file" >&6;}
4879 fi
4880 # Neutralize special characters interpreted by sed in replacement strings.
4881 case $configure_input in #(
4882 *\&* | *\|* | *\\* )
4883 ac_sed_conf_input=`$as_echo "$configure_input" |
4884 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4885 *) ac_sed_conf_input=$configure_input;;
4886 esac
4887
4888 case $ac_tag in
4889 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4890 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4891 esac
4892 ;;
4893 esac
4894
4895 ac_dir=`$as_dirname -- "$ac_file" ||
4896$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4897 X"$ac_file" : 'X\(//\)[^/]' \| \
4898 X"$ac_file" : 'X\(//\)$' \| \
4899 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4900$as_echo X"$ac_file" |
4901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4902 s//\1/
4903 q
4904 }
4905 /^X\(\/\/\)[^/].*/{
4906 s//\1/
4907 q
4908 }
4909 /^X\(\/\/\)$/{
4910 s//\1/
4911 q
4912 }
4913 /^X\(\/\).*/{
4914 s//\1/
4915 q
4916 }
4917 s/.*/./; q'`
4918 as_dir="$ac_dir"; as_fn_mkdir_p
4919 ac_builddir=.
4920
4921case "$ac_dir" in
4922.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4923*)
4924 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4925 # A ".." for each directory in $ac_dir_suffix.
4926 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4927 case $ac_top_builddir_sub in
4928 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4929 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4930 esac ;;
4931esac
4932ac_abs_top_builddir=$ac_pwd
4933ac_abs_builddir=$ac_pwd$ac_dir_suffix
4934# for backward compatibility:
4935ac_top_builddir=$ac_top_build_prefix
4936
4937case $srcdir in
4938 .) # We are building in place.
4939 ac_srcdir=.
4940 ac_top_srcdir=$ac_top_builddir_sub
4941 ac_abs_top_srcdir=$ac_pwd ;;
4942 [\\/]* | ?:[\\/]* ) # Absolute name.
4943 ac_srcdir=$srcdir$ac_dir_suffix;
4944 ac_top_srcdir=$srcdir
4945 ac_abs_top_srcdir=$srcdir ;;
4946 *) # Relative name.
4947 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4948 ac_top_srcdir=$ac_top_build_prefix$srcdir
4949 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4950esac
4951ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4952
4953
4954 case $ac_mode in
4955 :F)
4956 #
4957 # CONFIG_FILE
4958 #
4959
4960 case $INSTALL in
4961 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4962 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4963 esac
4964_ACEOF
4965
4966cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4967# If the template does not know about datarootdir, expand it.
4968# FIXME: This hack should be removed a few years after 2.60.
4969ac_datarootdir_hack=; ac_datarootdir_seen=
4970ac_sed_dataroot='
4971/datarootdir/ {
4972 p
4973 q
4974}
4975/@datadir@/p
4976/@docdir@/p
4977/@infodir@/p
4978/@localedir@/p
4979/@mandir@/p'
4980case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4981*datarootdir*) ac_datarootdir_seen=yes;;
4982*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4984$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4985_ACEOF
4986cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4987 ac_datarootdir_hack='
4988 s&@datadir@&$datadir&g
4989 s&@docdir@&$docdir&g
4990 s&@infodir@&$infodir&g
4991 s&@localedir@&$localedir&g
4992 s&@mandir@&$mandir&g
4993 s&\\\${datarootdir}&$datarootdir&g' ;;
4994esac
4995_ACEOF
4996
4997# Neutralize VPATH when `$srcdir' = `.'.
4998# Shell code in configure.ac might set extrasub.
4999# FIXME: do we really want to maintain this feature?
5000cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5001ac_sed_extra="$ac_vpsub
5002$extrasub
5003_ACEOF
5004cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5005:t
5006/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5007s|@configure_input@|$ac_sed_conf_input|;t t
5008s&@top_builddir@&$ac_top_builddir_sub&;t t
5009s&@top_build_prefix@&$ac_top_build_prefix&;t t
5010s&@srcdir@&$ac_srcdir&;t t
5011s&@abs_srcdir@&$ac_abs_srcdir&;t t
5012s&@top_srcdir@&$ac_top_srcdir&;t t
5013s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5014s&@builddir@&$ac_builddir&;t t
5015s&@abs_builddir@&$ac_abs_builddir&;t t
5016s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5017s&@INSTALL@&$ac_INSTALL&;t t
5018$ac_datarootdir_hack
5019"
5020eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5021 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5022
5023test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5024 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5025 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5026 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5028which seems to be undefined. Please make sure it is defined" >&5
5029$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5030which seems to be undefined. Please make sure it is defined" >&2;}
5031
5032 rm -f "$ac_tmp/stdin"
5033 case $ac_file in
5034 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5035 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5036 esac \
5037 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5038 ;;
5039
5040
5041
5042 esac
5043
5044done # for ac_tag
5045
5046
5047as_fn_exit 0
5048_ACEOF
5049ac_clean_files=$ac_clean_files_save
5050
5051test $ac_write_fail = 0 ||
5052 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5053
5054
5055# configure is writing to config.log, and then calls config.status.
5056# config.status does its own redirection, appending to config.log.
5057# Unfortunately, on DOS this fails, as config.log is still kept open
5058# by configure, so config.status won't be able to write to it; its
5059# output is simply discarded. So we exec the FD to /dev/null,
5060# effectively closing config.log, so it can be properly (re)opened and
5061# appended to by config.status. When coming back to configure, we
5062# need to make the FD available again.
5063if test "$no_create" != yes; then
5064 ac_cs_success=:
5065 ac_config_status_args=
5066 test "$silent" = yes &&
5067 ac_config_status_args="$ac_config_status_args --quiet"
5068 exec 5>/dev/null
5069 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5070 exec 5>>config.log
5071 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5072 # would make configure fail if this is the last instruction.
5073 $ac_cs_success || as_fn_exit 1
5074fi
5075
5076#
5077# CONFIG_SUBDIRS section.
5078#
5079if test "$no_recursion" != yes; then
5080
5081 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5082 # so they do not pile up.
5083 ac_sub_configure_args=
5084 ac_prev=
5085 eval "set x $ac_configure_args"
5086 shift
5087 for ac_arg
5088 do
5089 if test -n "$ac_prev"; then
5090 ac_prev=
5091 continue
5092 fi
5093 case $ac_arg in
5094 -cache-file | --cache-file | --cache-fil | --cache-fi \
5095 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5096 ac_prev=cache_file ;;
5097 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5098 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5099 | --c=*)
5100 ;;
5101 --config-cache | -C)
5102 ;;
5103 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5104 ac_prev=srcdir ;;
5105 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5106 ;;
5107 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5108 ac_prev=prefix ;;
5109 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5110 ;;
5111 --disable-option-checking)
5112 ;;
5113 *)
5114 case $ac_arg in
5115 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5116 esac
5117 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
5118 esac
5119 done
5120
5121 # Always prepend --prefix to ensure using the same prefix
5122 # in subdir configurations.
5123 ac_arg="--prefix=$prefix"
5124 case $ac_arg in
5125 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5126 esac
5127 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
5128
5129 # Pass --silent
5130 if test "$silent" = yes; then
5131 ac_sub_configure_args="--silent $ac_sub_configure_args"
5132 fi
5133
5134 # Always prepend --disable-option-checking to silence warnings, since
5135 # different subdirs can have different --enable and --with options.
5136 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
5137
5138 ac_popdir=`pwd`
5139 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5140
5141 # Do not complain, so a configure script can configure whichever
5142 # parts of a large source tree are present.
5143 test -d "$srcdir/$ac_dir" || continue
5144
5145 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5146 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5147 $as_echo "$ac_msg" >&6
5148 as_dir="$ac_dir"; as_fn_mkdir_p
5149 ac_builddir=.
5150
5151case "$ac_dir" in
5152.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5153*)
5154 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5155 # A ".." for each directory in $ac_dir_suffix.
5156 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5157 case $ac_top_builddir_sub in
5158 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5159 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5160 esac ;;
5161esac
5162ac_abs_top_builddir=$ac_pwd
5163ac_abs_builddir=$ac_pwd$ac_dir_suffix
5164# for backward compatibility:
5165ac_top_builddir=$ac_top_build_prefix
5166
5167case $srcdir in
5168 .) # We are building in place.
5169 ac_srcdir=.
5170 ac_top_srcdir=$ac_top_builddir_sub
5171 ac_abs_top_srcdir=$ac_pwd ;;
5172 [\\/]* | ?:[\\/]* ) # Absolute name.
5173 ac_srcdir=$srcdir$ac_dir_suffix;
5174 ac_top_srcdir=$srcdir
5175 ac_abs_top_srcdir=$srcdir ;;
5176 *) # Relative name.
5177 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5178 ac_top_srcdir=$ac_top_build_prefix$srcdir
5179 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5180esac
5181ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5182
5183
5184 cd "$ac_dir"
5185
5186 # Check for guested configure; otherwise get Cygnus style configure.
5187 if test -f "$ac_srcdir/configure.gnu"; then
5188 ac_sub_configure=$ac_srcdir/configure.gnu
5189 elif test -f "$ac_srcdir/configure"; then
5190 ac_sub_configure=$ac_srcdir/configure
5191 elif test -f "$ac_srcdir/configure.in"; then
5192 # This should be Cygnus configure.
5193 ac_sub_configure=$ac_aux_dir/configure
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5196$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5197 ac_sub_configure=
5198 fi
5199
5200 # The recursion is here.
5201 if test -n "$ac_sub_configure"; then
5202 # Make the cache file name correct relative to the subdirectory.
5203 case $cache_file in
5204 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5205 *) # Relative name.
5206 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5207 esac
5208
5209 { $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
5210$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5211 # The eval makes quoting arguments work.
5212 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5213 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5214 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5215 fi
5216
5217 cd "$ac_popdir"
5218 done
5219fi
5220if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5222$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5223fi
5224
5225
5226exit 0
This page took 0.040405 seconds and 4 git commands to generate.