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