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