Regenerate tree using Autoconf 2.64 and Automake 1.11.
[deliverable/binutils-gdb.git] / sim / testsuite / configure
CommitLineData
c906108c 1#! /bin/sh
c906108c 2# Guess values for system-dependent variables and create Makefiles.
81ecdfbb
RW
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.
c906108c
SS
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
81ecdfbb
RW
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
b7026657 14
81ecdfbb
RW
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 :
b7026657
AC
18 emulate sh
19 NULLCMD=:
81ecdfbb 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
b7026657
AC
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
81ecdfbb
RW
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30esac
b7026657 31fi
b7026657 32
81ecdfbb
RW
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'
b7026657 50else
81ecdfbb
RW
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 }
b7026657
AC
79fi
80
81
81ecdfbb
RW
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
b7026657
AC
121PS1='$ '
122PS2='> '
123PS4='+ '
124
125# NLS nuisances.
81ecdfbb
RW
126LC_ALL=C
127export LC_ALL
128LANGUAGE=C
129export LANGUAGE
130
131# CDPATH.
132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148esac
149fi
150"
151 as_required="as_fn_return () { (exit \$1); }
152as_fn_success () { as_fn_return 0; }
153as_fn_failure () { as_fn_return 1; }
154as_fn_ret_success () { return 0; }
155as_fn_ret_failure () { return 1; }
156
157exitcode=0
158as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164else
165 exitcode=1; echo positional parameters were not saved.
166fi
167test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174else
175 as_have_required=no
176fi
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
179else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181as_found=false
182for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
b7026657 183do
81ecdfbb
RW
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
188 /*)
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
197fi
198fi
199 done;;
200 esac
201 as_found=false
202done
203$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206fi; }
207IFS=$as_save_IFS
208
209
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219fi
220
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
b7026657 227 else
81ecdfbb
RW
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229$0: including any error possibly output before this
230$0: message. Then install a modern shell, or manually run
231$0: the script under such a shell if you do have one."
b7026657 232 fi
81ecdfbb
RW
233 exit 1
234fi
235fi
236fi
237SHELL=${CONFIG_SHELL-/bin/sh}
238export SHELL
239# Unset more variables known to interfere with behavior of common tools.
240CLICOLOR_FORCE= GREP_OPTIONS=
241unset CLICOLOR_FORCE GREP_OPTIONS
242
243## --------------------- ##
244## M4sh Shell Functions. ##
245## --------------------- ##
246# as_fn_unset VAR
247# ---------------
248# Portably unset VAR.
249as_fn_unset ()
250{
251 { eval $1=; unset $1;}
252}
253as_unset=as_fn_unset
254
255# as_fn_set_status STATUS
256# -----------------------
257# Set $? to STATUS, without forking.
258as_fn_set_status ()
259{
260 return $1
261} # as_fn_set_status
262
263# as_fn_exit STATUS
264# -----------------
265# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266as_fn_exit ()
267{
268 set +e
269 as_fn_set_status $1
270 exit $1
271} # as_fn_exit
272
273# as_fn_mkdir_p
274# -------------
275# Create "$as_dir" as a directory, including parents if necessary.
276as_fn_mkdir_p ()
277{
278
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295$as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
298 q
299 }
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
302 q
303 }
304 /^X\(\/\/\)$/{
305 s//\1/
306 q
307 }
308 /^X\(\/\).*/{
309 s//\1/
310 q
311 }
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317
318
319} # as_fn_mkdir_p
320# as_fn_append VAR VALUE
321# ----------------------
322# Append the text in VALUE to the end of the definition contained in VAR. Take
323# advantage of any shell optimizations that allow amortized linear growth over
324# repeated appends, instead of the typical quadratic growth present in naive
325# implementations.
326if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
328 {
329 eval $1+=\$2
330 }'
331else
332 as_fn_append ()
333 {
334 eval $1=\$$1\$2
335 }
336fi # as_fn_append
337
338# as_fn_arith ARG...
339# ------------------
340# Perform arithmetic evaluation on the ARGs, and store the result in the
341# global $as_val. Take advantage of shells that can avoid forks. The arguments
342# must be portable across $(()) and expr.
343if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
345 {
346 as_val=$(( $* ))
347 }'
348else
349 as_fn_arith ()
350 {
351 as_val=`expr "$@" || test $? -eq 1`
352 }
353fi # as_fn_arith
354
355
356# as_fn_error ERROR [LINENO LOG_FD]
357# ---------------------------------
358# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360# script with status $?, using 1 if that was 0.
361as_fn_error ()
362{
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
367 fi
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370} # as_fn_error
b7026657 371
81ecdfbb
RW
372if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
b7026657
AC
374 as_expr=expr
375else
376 as_expr=false
377fi
378
81ecdfbb 379if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
b7026657
AC
380 as_basename=basename
381else
382 as_basename=false
383fi
384
81ecdfbb
RW
385if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387else
388 as_dirname=false
389fi
b7026657 390
81ecdfbb 391as_me=`$as_basename -- "$0" ||
b7026657
AC
392$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
81ecdfbb
RW
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395$as_echo X/"$0" |
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
397 s//\1/
398 q
399 }
400 /^X\/\(\/\/\)$/{
401 s//\1/
402 q
403 }
404 /^X\/\(\/\).*/{
405 s//\1/
406 q
407 }
408 s/.*/./; q'`
b7026657 409
b7026657
AC
410# Avoid depending upon Character Ranges.
411as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414as_cr_digits='0123456789'
415as_cr_alnum=$as_cr_Letters$as_cr_digits
416
b7026657 417
81ecdfbb
RW
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
423 sed -n '
424 p
425 /[$]LINENO/=
426 ' <$as_myself |
b7026657 427 sed '
81ecdfbb
RW
428 s/[$]LINENO.*/&-/
429 t lineno
430 b
431 :lineno
b7026657 432 N
81ecdfbb
RW
433 :loop
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
b7026657 435 t loop
81ecdfbb 436 s/-\n.*//
b7026657 437 ' >$as_me.lineno &&
81ecdfbb
RW
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
b7026657
AC
440
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
81ecdfbb
RW
443 # original and so on. Autoconf is especially sensitive to this).
444 . "./$as_me.lineno"
b7026657
AC
445 # Exit status is that of the last command.
446 exit
447}
448
81ecdfbb
RW
449ECHO_C= ECHO_N= ECHO_T=
450case `echo -n x` in #(((((
451-n*)
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
457 esac;;
458*)
459 ECHO_N='-n';;
b7026657
AC
460esac
461
81ecdfbb
RW
462rm -f conf$$ conf$$.exe conf$$.file
463if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
b7026657 465else
81ecdfbb
RW
466 rm -f conf$$.dir
467 mkdir conf$$.dir 2>/dev/null
b7026657 468fi
81ecdfbb
RW
469if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
b7026657 471 as_ln_s='ln -s'
81ecdfbb
RW
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
481 as_ln_s='cp -p'
b7026657 482 fi
b7026657
AC
483else
484 as_ln_s='cp -p'
485fi
81ecdfbb
RW
486rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487rmdir conf$$.dir 2>/dev/null
b7026657
AC
488
489if mkdir -p . 2>/dev/null; then
81ecdfbb 490 as_mkdir_p='mkdir -p "$as_dir"'
b7026657
AC
491else
492 test -d ./-p && rmdir ./-p
493 as_mkdir_p=false
494fi
495
81ecdfbb
RW
496if test -x / >/dev/null 2>&1; then
497 as_test_x='test -x'
498else
499 if ls -dL / >/dev/null 2>&1; then
500 as_ls_L_option=L
501 else
502 as_ls_L_option=
503 fi
504 as_test_x='
505 eval sh -c '\''
506 if test -d "$1"; then
507 test -d "$1/.";
508 else
509 case $1 in #(
510 -*)set "./$1";;
511 esac;
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
514 '\'' sh
515 '
516fi
517as_executable_p=$as_test_x
b7026657
AC
518
519# Sed expression to map a string onto a valid CPP name.
520as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521
522# Sed expression to map a string onto a valid variable name.
523as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524
525
81ecdfbb 526exec 7<&0 </dev/null 6>&1
c906108c 527
b7026657
AC
528# Name of the host.
529# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530# so uname gets run too.
531ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
532
b7026657
AC
533#
534# Initializations.
535#
c906108c 536ac_default_prefix=/usr/local
81ecdfbb 537ac_clean_files=
b7026657 538ac_config_libobj_dir=.
81ecdfbb 539LIBOBJS=
b7026657
AC
540cross_compiling=no
541subdirs=
542MFLAGS=
543MAKEFLAGS=
b7026657
AC
544
545# Identity of this package.
546PACKAGE_NAME=
547PACKAGE_TARNAME=
548PACKAGE_VERSION=
549PACKAGE_STRING=
550PACKAGE_BUGREPORT=
81ecdfbb 551PACKAGE_URL=
b7026657
AC
552
553ac_unique_file="common/bits-tst.c"
81ecdfbb
RW
554enable_option_checking=no
555ac_subst_vars='LTLIBOBJS
556LIBOBJS
557arch
558subdirs
559target_os
560target_vendor
561target_cpu
562target
563host_os
564host_vendor
565host_cpu
566host
567build_os
568build_vendor
569build_cpu
570build
571CC
572target_alias
573host_alias
574build_alias
575LIBS
576ECHO_T
577ECHO_N
578ECHO_C
579DEFS
580mandir
581localedir
582libdir
583psdir
584pdfdir
585dvidir
586htmldir
587infodir
588docdir
589oldincludedir
590includedir
591localstatedir
592sharedstatedir
593sysconfdir
594datadir
595datarootdir
596libexecdir
597sbindir
598bindir
599program_transform_name
600prefix
601exec_prefix
602PACKAGE_URL
603PACKAGE_BUGREPORT
604PACKAGE_STRING
605PACKAGE_VERSION
606PACKAGE_TARNAME
607PACKAGE_NAME
608PATH_SEPARATOR
609SHELL'
b7026657 610ac_subst_files=''
81ecdfbb
RW
611ac_user_opts='
612enable_option_checking
613'
614 ac_precious_vars='build_alias
615host_alias
616target_alias'
617ac_subdirs_all='frv-elf
618m32r-elf
619mips64el-elf'
c906108c
SS
620
621# Initialize some variables set by options.
b7026657
AC
622ac_init_help=
623ac_init_version=false
81ecdfbb
RW
624ac_unrecognized_opts=
625ac_unrecognized_sep=
c906108c
SS
626# The variables have the same names as the options, with
627# dashes changed to underlines.
b7026657 628cache_file=/dev/null
c906108c 629exec_prefix=NONE
c906108c 630no_create=
c906108c
SS
631no_recursion=
632prefix=NONE
633program_prefix=NONE
634program_suffix=NONE
635program_transform_name=s,x,x,
636silent=
637site=
638srcdir=
c906108c
SS
639verbose=
640x_includes=NONE
641x_libraries=NONE
b7026657
AC
642
643# Installation directory options.
644# These are left unexpanded so users can "make install exec_prefix=/foo"
645# and all the variables that are supposed to be based on exec_prefix
646# by default will actually change.
647# Use braces instead of parens because sh, perl, etc. also accept them.
81ecdfbb 648# (The list follows the same order as the GNU Coding Standards.)
c906108c
SS
649bindir='${exec_prefix}/bin'
650sbindir='${exec_prefix}/sbin'
651libexecdir='${exec_prefix}/libexec'
81ecdfbb
RW
652datarootdir='${prefix}/share'
653datadir='${datarootdir}'
c906108c
SS
654sysconfdir='${prefix}/etc'
655sharedstatedir='${prefix}/com'
656localstatedir='${prefix}/var'
c906108c
SS
657includedir='${prefix}/include'
658oldincludedir='/usr/include'
81ecdfbb
RW
659docdir='${datarootdir}/doc/${PACKAGE}'
660infodir='${datarootdir}/info'
661htmldir='${docdir}'
662dvidir='${docdir}'
663pdfdir='${docdir}'
664psdir='${docdir}'
665libdir='${exec_prefix}/lib'
666localedir='${datarootdir}/locale'
667mandir='${datarootdir}/man'
c906108c 668
c906108c 669ac_prev=
81ecdfbb 670ac_dashdash=
c906108c
SS
671for ac_option
672do
c906108c
SS
673 # If the previous option needs an argument, assign it.
674 if test -n "$ac_prev"; then
81ecdfbb 675 eval $ac_prev=\$ac_option
c906108c
SS
676 ac_prev=
677 continue
678 fi
679
81ecdfbb
RW
680 case $ac_option in
681 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
682 *) ac_optarg=yes ;;
683 esac
c906108c
SS
684
685 # Accept the important Cygnus configure options, so we can diagnose typos.
686
81ecdfbb
RW
687 case $ac_dashdash$ac_option in
688 --)
689 ac_dashdash=yes ;;
c906108c
SS
690
691 -bindir | --bindir | --bindi | --bind | --bin | --bi)
692 ac_prev=bindir ;;
693 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
b7026657 694 bindir=$ac_optarg ;;
c906108c
SS
695
696 -build | --build | --buil | --bui | --bu)
b7026657 697 ac_prev=build_alias ;;
c906108c 698 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
b7026657 699 build_alias=$ac_optarg ;;
c906108c
SS
700
701 -cache-file | --cache-file | --cache-fil | --cache-fi \
702 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
703 ac_prev=cache_file ;;
704 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
705 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
b7026657
AC
706 cache_file=$ac_optarg ;;
707
708 --config-cache | -C)
709 cache_file=config.cache ;;
c906108c 710
81ecdfbb 711 -datadir | --datadir | --datadi | --datad)
c906108c 712 ac_prev=datadir ;;
81ecdfbb 713 -datadir=* | --datadir=* | --datadi=* | --datad=*)
b7026657 714 datadir=$ac_optarg ;;
c906108c 715
81ecdfbb
RW
716 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
717 | --dataroo | --dataro | --datar)
718 ac_prev=datarootdir ;;
719 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
720 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
721 datarootdir=$ac_optarg ;;
722
c906108c 723 -disable-* | --disable-*)
81ecdfbb 724 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
c906108c 725 # Reject names that are not valid shell variable names.
81ecdfbb
RW
726 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
727 as_fn_error "invalid feature name: $ac_useropt"
728 ac_useropt_orig=$ac_useropt
729 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
730 case $ac_user_opts in
731 *"
732"enable_$ac_useropt"
733"*) ;;
734 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
735 ac_unrecognized_sep=', ';;
736 esac
737 eval enable_$ac_useropt=no ;;
738
739 -docdir | --docdir | --docdi | --doc | --do)
740 ac_prev=docdir ;;
741 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
742 docdir=$ac_optarg ;;
743
744 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
745 ac_prev=dvidir ;;
746 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
747 dvidir=$ac_optarg ;;
c906108c
SS
748
749 -enable-* | --enable-*)
81ecdfbb 750 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
c906108c 751 # Reject names that are not valid shell variable names.
81ecdfbb
RW
752 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
753 as_fn_error "invalid feature name: $ac_useropt"
754 ac_useropt_orig=$ac_useropt
755 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
756 case $ac_user_opts in
757 *"
758"enable_$ac_useropt"
759"*) ;;
760 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
761 ac_unrecognized_sep=', ';;
c906108c 762 esac
81ecdfbb 763 eval enable_$ac_useropt=\$ac_optarg ;;
c906108c
SS
764
765 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767 | --exec | --exe | --ex)
768 ac_prev=exec_prefix ;;
769 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771 | --exec=* | --exe=* | --ex=*)
b7026657 772 exec_prefix=$ac_optarg ;;
c906108c
SS
773
774 -gas | --gas | --ga | --g)
775 # Obsolete; use --with-gas.
776 with_gas=yes ;;
777
b7026657
AC
778 -help | --help | --hel | --he | -h)
779 ac_init_help=long ;;
780 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781 ac_init_help=recursive ;;
782 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783 ac_init_help=short ;;
c906108c
SS
784
785 -host | --host | --hos | --ho)
b7026657 786 ac_prev=host_alias ;;
c906108c 787 -host=* | --host=* | --hos=* | --ho=*)
b7026657 788 host_alias=$ac_optarg ;;
c906108c 789
81ecdfbb
RW
790 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
791 ac_prev=htmldir ;;
792 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
793 | --ht=*)
794 htmldir=$ac_optarg ;;
795
c906108c
SS
796 -includedir | --includedir | --includedi | --included | --include \
797 | --includ | --inclu | --incl | --inc)
798 ac_prev=includedir ;;
799 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800 | --includ=* | --inclu=* | --incl=* | --inc=*)
b7026657 801 includedir=$ac_optarg ;;
c906108c
SS
802
803 -infodir | --infodir | --infodi | --infod | --info | --inf)
804 ac_prev=infodir ;;
805 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
b7026657 806 infodir=$ac_optarg ;;
c906108c
SS
807
808 -libdir | --libdir | --libdi | --libd)
809 ac_prev=libdir ;;
810 -libdir=* | --libdir=* | --libdi=* | --libd=*)
b7026657 811 libdir=$ac_optarg ;;
c906108c
SS
812
813 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814 | --libexe | --libex | --libe)
815 ac_prev=libexecdir ;;
816 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817 | --libexe=* | --libex=* | --libe=*)
b7026657 818 libexecdir=$ac_optarg ;;
c906108c 819
81ecdfbb
RW
820 -localedir | --localedir | --localedi | --localed | --locale)
821 ac_prev=localedir ;;
822 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823 localedir=$ac_optarg ;;
824
c906108c 825 -localstatedir | --localstatedir | --localstatedi | --localstated \
81ecdfbb 826 | --localstate | --localstat | --localsta | --localst | --locals)
c906108c
SS
827 ac_prev=localstatedir ;;
828 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
81ecdfbb 829 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
b7026657 830 localstatedir=$ac_optarg ;;
c906108c
SS
831
832 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
833 ac_prev=mandir ;;
834 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
b7026657 835 mandir=$ac_optarg ;;
c906108c
SS
836
837 -nfp | --nfp | --nf)
838 # Obsolete; use --without-fp.
839 with_fp=no ;;
840
841 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
b7026657 842 | --no-cr | --no-c | -n)
c906108c
SS
843 no_create=yes ;;
844
845 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
847 no_recursion=yes ;;
848
849 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851 | --oldin | --oldi | --old | --ol | --o)
852 ac_prev=oldincludedir ;;
853 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
b7026657 856 oldincludedir=$ac_optarg ;;
c906108c
SS
857
858 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
859 ac_prev=prefix ;;
860 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
b7026657 861 prefix=$ac_optarg ;;
c906108c
SS
862
863 -program-prefix | --program-prefix | --program-prefi | --program-pref \
864 | --program-pre | --program-pr | --program-p)
865 ac_prev=program_prefix ;;
866 -program-prefix=* | --program-prefix=* | --program-prefi=* \
867 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
b7026657 868 program_prefix=$ac_optarg ;;
c906108c
SS
869
870 -program-suffix | --program-suffix | --program-suffi | --program-suff \
871 | --program-suf | --program-su | --program-s)
872 ac_prev=program_suffix ;;
873 -program-suffix=* | --program-suffix=* | --program-suffi=* \
874 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
b7026657 875 program_suffix=$ac_optarg ;;
c906108c
SS
876
877 -program-transform-name | --program-transform-name \
878 | --program-transform-nam | --program-transform-na \
879 | --program-transform-n | --program-transform- \
880 | --program-transform | --program-transfor \
881 | --program-transfo | --program-transf \
882 | --program-trans | --program-tran \
883 | --progr-tra | --program-tr | --program-t)
884 ac_prev=program_transform_name ;;
885 -program-transform-name=* | --program-transform-name=* \
886 | --program-transform-nam=* | --program-transform-na=* \
887 | --program-transform-n=* | --program-transform-=* \
888 | --program-transform=* | --program-transfor=* \
889 | --program-transfo=* | --program-transf=* \
890 | --program-trans=* | --program-tran=* \
891 | --progr-tra=* | --program-tr=* | --program-t=*)
b7026657 892 program_transform_name=$ac_optarg ;;
c906108c 893
81ecdfbb
RW
894 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
895 ac_prev=pdfdir ;;
896 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
897 pdfdir=$ac_optarg ;;
898
899 -psdir | --psdir | --psdi | --psd | --ps)
900 ac_prev=psdir ;;
901 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
902 psdir=$ac_optarg ;;
903
c906108c
SS
904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905 | -silent | --silent | --silen | --sile | --sil)
906 silent=yes ;;
907
908 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
909 ac_prev=sbindir ;;
910 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
911 | --sbi=* | --sb=*)
b7026657 912 sbindir=$ac_optarg ;;
c906108c
SS
913
914 -sharedstatedir | --sharedstatedir | --sharedstatedi \
915 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916 | --sharedst | --shareds | --shared | --share | --shar \
917 | --sha | --sh)
918 ac_prev=sharedstatedir ;;
919 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
922 | --sha=* | --sh=*)
b7026657 923 sharedstatedir=$ac_optarg ;;
c906108c
SS
924
925 -site | --site | --sit)
926 ac_prev=site ;;
927 -site=* | --site=* | --sit=*)
b7026657 928 site=$ac_optarg ;;
eb2d80b4 929
c906108c
SS
930 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
931 ac_prev=srcdir ;;
932 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
b7026657 933 srcdir=$ac_optarg ;;
c906108c
SS
934
935 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936 | --syscon | --sysco | --sysc | --sys | --sy)
937 ac_prev=sysconfdir ;;
938 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
b7026657 940 sysconfdir=$ac_optarg ;;
c906108c
SS
941
942 -target | --target | --targe | --targ | --tar | --ta | --t)
b7026657 943 ac_prev=target_alias ;;
c906108c 944 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
b7026657 945 target_alias=$ac_optarg ;;
c906108c
SS
946
947 -v | -verbose | --verbose | --verbos | --verbo | --verb)
948 verbose=yes ;;
949
b7026657
AC
950 -version | --version | --versio | --versi | --vers | -V)
951 ac_init_version=: ;;
c906108c
SS
952
953 -with-* | --with-*)
81ecdfbb 954 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
c906108c 955 # Reject names that are not valid shell variable names.
81ecdfbb
RW
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957 as_fn_error "invalid package name: $ac_useropt"
958 ac_useropt_orig=$ac_useropt
959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
961 *"
962"with_$ac_useropt"
963"*) ;;
964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
965 ac_unrecognized_sep=', ';;
c906108c 966 esac
81ecdfbb 967 eval with_$ac_useropt=\$ac_optarg ;;
c906108c
SS
968
969 -without-* | --without-*)
81ecdfbb 970 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
c906108c 971 # Reject names that are not valid shell variable names.
81ecdfbb
RW
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973 as_fn_error "invalid package name: $ac_useropt"
974 ac_useropt_orig=$ac_useropt
975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
977 *"
978"with_$ac_useropt"
979"*) ;;
980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
981 ac_unrecognized_sep=', ';;
982 esac
983 eval with_$ac_useropt=no ;;
c906108c
SS
984
985 --x)
986 # Obsolete; use --with-x.
987 with_x=yes ;;
988
989 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
990 | --x-incl | --x-inc | --x-in | --x-i)
991 ac_prev=x_includes ;;
992 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
993 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
b7026657 994 x_includes=$ac_optarg ;;
c906108c
SS
995
996 -x-libraries | --x-libraries | --x-librarie | --x-librari \
997 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
998 ac_prev=x_libraries ;;
999 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1000 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
b7026657 1001 x_libraries=$ac_optarg ;;
c906108c 1002
81ecdfbb
RW
1003 -*) as_fn_error "unrecognized option: \`$ac_option'
1004Try \`$0 --help' for more information."
c906108c
SS
1005 ;;
1006
b7026657
AC
1007 *=*)
1008 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1009 # Reject names that are not valid shell variable names.
81ecdfbb
RW
1010 case $ac_envvar in #(
1011 '' | [0-9]* | *[!_$as_cr_alnum]* )
1012 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1013 esac
1014 eval $ac_envvar=\$ac_optarg
b7026657
AC
1015 export $ac_envvar ;;
1016
c906108c 1017 *)
b7026657 1018 # FIXME: should be removed in autoconf 3.0.
81ecdfbb 1019 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
b7026657 1020 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
81ecdfbb 1021 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
b7026657 1022 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
c906108c
SS
1023 ;;
1024
1025 esac
1026done
1027
1028if test -n "$ac_prev"; then
b7026657 1029 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
81ecdfbb 1030 as_fn_error "missing argument to $ac_option"
c906108c 1031fi
c906108c 1032
81ecdfbb
RW
1033if test -n "$ac_unrecognized_opts"; then
1034 case $enable_option_checking in
1035 no) ;;
1036 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1037 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
b7026657 1038 esac
81ecdfbb 1039fi
c906108c 1040
81ecdfbb
RW
1041# Check all directory arguments for consistency.
1042for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1043 datadir sysconfdir sharedstatedir localstatedir includedir \
1044 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1045 libdir localedir mandir
c906108c 1046do
81ecdfbb
RW
1047 eval ac_val=\$$ac_var
1048 # Remove trailing slashes.
b7026657 1049 case $ac_val in
81ecdfbb
RW
1050 */ )
1051 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1052 eval $ac_var=\$ac_val;;
c906108c 1053 esac
81ecdfbb
RW
1054 # Be sure to have absolute directory names.
1055 case $ac_val in
1056 [\\/$]* | ?:[\\/]* ) continue;;
1057 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1058 esac
1059 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
c906108c
SS
1060done
1061
b7026657
AC
1062# There might be people who depend on the old broken behavior: `$host'
1063# used to hold the argument of --host etc.
1064# FIXME: To remove some day.
1065build=$build_alias
1066host=$host_alias
1067target=$target_alias
1068
1069# FIXME: To remove some day.
1070if test "x$host_alias" != x; then
1071 if test "x$build_alias" = x; then
1072 cross_compiling=maybe
81ecdfbb 1073 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
b7026657
AC
1074 If a cross compiler is detected then cross compile mode will be used." >&2
1075 elif test "x$build_alias" != "x$host_alias"; then
1076 cross_compiling=yes
1077 fi
1078fi
c906108c 1079
b7026657
AC
1080ac_tool_prefix=
1081test -n "$host_alias" && ac_tool_prefix=$host_alias-
1082
1083test "$silent" = yes && exec 6>/dev/null
c906108c 1084
c906108c 1085
81ecdfbb
RW
1086ac_pwd=`pwd` && test -n "$ac_pwd" &&
1087ac_ls_di=`ls -di .` &&
1088ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1089 as_fn_error "working directory cannot be determined"
1090test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1091 as_fn_error "pwd does not report name of working directory"
1092
1093
c906108c
SS
1094# Find the source files, if location was not specified.
1095if test -z "$srcdir"; then
1096 ac_srcdir_defaulted=yes
81ecdfbb
RW
1097 # Try the directory containing this script, then the parent directory.
1098 ac_confdir=`$as_dirname -- "$as_myself" ||
1099$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1100 X"$as_myself" : 'X\(//\)[^/]' \| \
1101 X"$as_myself" : 'X\(//\)$' \| \
1102 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1103$as_echo X"$as_myself" |
1104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1105 s//\1/
1106 q
1107 }
1108 /^X\(\/\/\)[^/].*/{
1109 s//\1/
1110 q
1111 }
1112 /^X\(\/\/\)$/{
1113 s//\1/
1114 q
1115 }
1116 /^X\(\/\).*/{
1117 s//\1/
1118 q
1119 }
1120 s/.*/./; q'`
c906108c 1121 srcdir=$ac_confdir
81ecdfbb 1122 if test ! -r "$srcdir/$ac_unique_file"; then
c906108c
SS
1123 srcdir=..
1124 fi
1125else
1126 ac_srcdir_defaulted=no
1127fi
81ecdfbb
RW
1128if test ! -r "$srcdir/$ac_unique_file"; then
1129 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1130 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1131fi
1132ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1133ac_abs_confdir=`(
1134 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1135 pwd)`
1136# When building in place, set srcdir=.
1137if test "$ac_abs_confdir" = "$ac_pwd"; then
1138 srcdir=.
c906108c 1139fi
81ecdfbb
RW
1140# Remove unnecessary trailing slashes from srcdir.
1141# Double slashes in file names in object file debugging info
1142# mess up M-x gdb in Emacs.
1143case $srcdir in
1144*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1145esac
1146for ac_var in $ac_precious_vars; do
1147 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1148 eval ac_env_${ac_var}_value=\$${ac_var}
1149 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1150 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1151done
c906108c 1152
b7026657
AC
1153#
1154# Report the --help message.
1155#
1156if test "$ac_init_help" = "long"; then
1157 # Omit some internal or obsolete options to make the list less imposing.
1158 # This message is too long to be a string in the A/UX 3.1 sh.
1159 cat <<_ACEOF
1160\`configure' configures this package to adapt to many kinds of systems.
1161
1162Usage: $0 [OPTION]... [VAR=VALUE]...
1163
1164To assign environment variables (e.g., CC, CFLAGS...), specify them as
1165VAR=VALUE. See below for descriptions of some of the useful variables.
1166
1167Defaults for the options are specified in brackets.
1168
1169Configuration:
1170 -h, --help display this help and exit
1171 --help=short display options specific to this package
1172 --help=recursive display the short help of all the included packages
1173 -V, --version display version information and exit
1174 -q, --quiet, --silent do not print \`checking...' messages
1175 --cache-file=FILE cache test results in FILE [disabled]
1176 -C, --config-cache alias for \`--cache-file=config.cache'
1177 -n, --no-create do not create output files
1178 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1179
b7026657
AC
1180Installation directories:
1181 --prefix=PREFIX install architecture-independent files in PREFIX
81ecdfbb 1182 [$ac_default_prefix]
b7026657 1183 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
81ecdfbb 1184 [PREFIX]
b7026657
AC
1185
1186By default, \`make install' will install all the files in
1187\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1188an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1189for instance \`--prefix=\$HOME'.
1190
1191For better control, use the options below.
1192
1193Fine tuning of the installation directories:
81ecdfbb
RW
1194 --bindir=DIR user executables [EPREFIX/bin]
1195 --sbindir=DIR system admin executables [EPREFIX/sbin]
1196 --libexecdir=DIR program executables [EPREFIX/libexec]
1197 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1198 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1199 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1200 --libdir=DIR object code libraries [EPREFIX/lib]
1201 --includedir=DIR C header files [PREFIX/include]
1202 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1203 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1204 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1205 --infodir=DIR info documentation [DATAROOTDIR/info]
1206 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1207 --mandir=DIR man documentation [DATAROOTDIR/man]
1208 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1209 --htmldir=DIR html documentation [DOCDIR]
1210 --dvidir=DIR dvi documentation [DOCDIR]
1211 --pdfdir=DIR pdf documentation [DOCDIR]
1212 --psdir=DIR ps documentation [DOCDIR]
b7026657
AC
1213_ACEOF
1214
1215 cat <<\_ACEOF
1216
1217System types:
1218 --build=BUILD configure for building on BUILD [guessed]
1219 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1220 --target=TARGET configure for building compilers for TARGET [HOST]
1221_ACEOF
1222fi
1223
1224if test -n "$ac_init_help"; then
1225
1226 cat <<\_ACEOF
1227
81ecdfbb 1228Report bugs to the package provider.
b7026657 1229_ACEOF
81ecdfbb 1230ac_status=$?
b7026657
AC
1231fi
1232
1233if test "$ac_init_help" = "recursive"; then
1234 # If there are subdirs, report their specific --help.
b7026657 1235 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
81ecdfbb
RW
1236 test -d "$ac_dir" ||
1237 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1238 continue
b7026657
AC
1239 ac_builddir=.
1240
81ecdfbb
RW
1241case "$ac_dir" in
1242.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1243*)
1244 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1245 # A ".." for each directory in $ac_dir_suffix.
1246 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1247 case $ac_top_builddir_sub in
1248 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1249 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1250 esac ;;
1251esac
1252ac_abs_top_builddir=$ac_pwd
1253ac_abs_builddir=$ac_pwd$ac_dir_suffix
1254# for backward compatibility:
1255ac_top_builddir=$ac_top_build_prefix
b7026657
AC
1256
1257case $srcdir in
81ecdfbb 1258 .) # We are building in place.
b7026657 1259 ac_srcdir=.
81ecdfbb
RW
1260 ac_top_srcdir=$ac_top_builddir_sub
1261 ac_abs_top_srcdir=$ac_pwd ;;
1262 [\\/]* | ?:[\\/]* ) # Absolute name.
b7026657 1263 ac_srcdir=$srcdir$ac_dir_suffix;
81ecdfbb
RW
1264 ac_top_srcdir=$srcdir
1265 ac_abs_top_srcdir=$srcdir ;;
1266 *) # Relative name.
1267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1268 ac_top_srcdir=$ac_top_build_prefix$srcdir
1269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
b7026657 1270esac
81ecdfbb
RW
1271ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1272
1273 cd "$ac_dir" || { ac_status=$?; continue; }
1274 # Check for guested configure.
1275 if test -f "$ac_srcdir/configure.gnu"; then
1276 echo &&
1277 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1278 elif test -f "$ac_srcdir/configure"; then
1279 echo &&
1280 $SHELL "$ac_srcdir/configure" --help=recursive
b7026657 1281 else
81ecdfbb
RW
1282 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1283 fi || ac_status=$?
1284 cd "$ac_pwd" || { ac_status=$?; break; }
b7026657
AC
1285 done
1286fi
1287
81ecdfbb 1288test -n "$ac_init_help" && exit $ac_status
b7026657
AC
1289if $ac_init_version; then
1290 cat <<\_ACEOF
81ecdfbb
RW
1291configure
1292generated by GNU Autoconf 2.64
b7026657 1293
81ecdfbb 1294Copyright (C) 2009 Free Software Foundation, Inc.
b7026657
AC
1295This configure script is free software; the Free Software Foundation
1296gives unlimited permission to copy, distribute and modify it.
1297_ACEOF
81ecdfbb 1298 exit
b7026657 1299fi
81ecdfbb
RW
1300
1301## ------------------------ ##
1302## Autoconf initialization. ##
1303## ------------------------ ##
1304cat >config.log <<_ACEOF
b7026657
AC
1305This file contains any messages produced by compilers while
1306running configure, to aid debugging if configure makes a mistake.
1307
1308It was created by $as_me, which was
81ecdfbb 1309generated by GNU Autoconf 2.64. Invocation command line was
b7026657
AC
1310
1311 $ $0 $@
1312
1313_ACEOF
81ecdfbb 1314exec 5>>config.log
b7026657
AC
1315{
1316cat <<_ASUNAME
1317## --------- ##
1318## Platform. ##
1319## --------- ##
1320
1321hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1322uname -m = `(uname -m) 2>/dev/null || echo unknown`
1323uname -r = `(uname -r) 2>/dev/null || echo unknown`
1324uname -s = `(uname -s) 2>/dev/null || echo unknown`
1325uname -v = `(uname -v) 2>/dev/null || echo unknown`
1326
1327/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1328/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1329
1330/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1331/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1332/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
81ecdfbb 1333/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
b7026657
AC
1334/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1335/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1336/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1337
1338_ASUNAME
1339
1340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1341for as_dir in $PATH
1342do
1343 IFS=$as_save_IFS
1344 test -z "$as_dir" && as_dir=.
81ecdfbb
RW
1345 $as_echo "PATH: $as_dir"
1346 done
1347IFS=$as_save_IFS
b7026657
AC
1348
1349} >&5
1350
1351cat >&5 <<_ACEOF
1352
1353
1354## ----------- ##
1355## Core tests. ##
1356## ----------- ##
1357
1358_ACEOF
1359
1360
1361# Keep a trace of the command line.
1362# Strip out --no-create and --no-recursion so they do not pile up.
1363# Strip out --silent because we don't want to record it for future runs.
1364# Also quote any args containing shell meta-characters.
1365# Make two passes to allow for proper duplicate-argument suppression.
1366ac_configure_args=
1367ac_configure_args0=
1368ac_configure_args1=
b7026657
AC
1369ac_must_keep_next=false
1370for ac_pass in 1 2
1371do
1372 for ac_arg
1373 do
1374 case $ac_arg in
1375 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1377 | -silent | --silent | --silen | --sile | --sil)
1378 continue ;;
81ecdfbb
RW
1379 *\'*)
1380 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
b7026657
AC
1381 esac
1382 case $ac_pass in
81ecdfbb 1383 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
b7026657 1384 2)
81ecdfbb 1385 as_fn_append ac_configure_args1 " '$ac_arg'"
b7026657
AC
1386 if test $ac_must_keep_next = true; then
1387 ac_must_keep_next=false # Got value, back to normal.
1388 else
1389 case $ac_arg in
1390 *=* | --config-cache | -C | -disable-* | --disable-* \
1391 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1392 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1393 | -with-* | --with-* | -without-* | --without-* | --x)
1394 case "$ac_configure_args0 " in
1395 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1396 esac
1397 ;;
1398 -* ) ac_must_keep_next=true ;;
1399 esac
1400 fi
81ecdfbb 1401 as_fn_append ac_configure_args " '$ac_arg'"
b7026657
AC
1402 ;;
1403 esac
1404 done
1405done
81ecdfbb
RW
1406{ ac_configure_args0=; unset ac_configure_args0;}
1407{ ac_configure_args1=; unset ac_configure_args1;}
b7026657
AC
1408
1409# When interrupted or exit'd, cleanup temporary files, and complete
1410# config.log. We remove comments because anyway the quotes in there
1411# would cause problems or look ugly.
81ecdfbb
RW
1412# WARNING: Use '\'' to represent an apostrophe within the trap.
1413# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
b7026657
AC
1414trap 'exit_status=$?
1415 # Save into config.log some information that might help in debugging.
1416 {
1417 echo
1418
1419 cat <<\_ASBOX
1420## ---------------- ##
1421## Cache variables. ##
1422## ---------------- ##
1423_ASBOX
1424 echo
1425 # The following way of writing the cache mishandles newlines in values,
81ecdfbb
RW
1426(
1427 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1428 eval ac_val=\$$ac_var
1429 case $ac_val in #(
1430 *${as_nl}*)
1431 case $ac_var in #(
1432 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1433$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1434 esac
1435 case $ac_var in #(
1436 _ | IFS | as_nl) ;; #(
1437 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1438 *) { eval $ac_var=; unset $ac_var;} ;;
1439 esac ;;
1440 esac
1441 done
b7026657 1442 (set) 2>&1 |
81ecdfbb
RW
1443 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1444 *${as_nl}ac_space=\ *)
b7026657 1445 sed -n \
81ecdfbb
RW
1446 "s/'\''/'\''\\\\'\'''\''/g;
1447 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1448 ;; #(
b7026657 1449 *)
81ecdfbb 1450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
b7026657 1451 ;;
81ecdfbb
RW
1452 esac |
1453 sort
1454)
b7026657
AC
1455 echo
1456
1457 cat <<\_ASBOX
1458## ----------------- ##
1459## Output variables. ##
1460## ----------------- ##
1461_ASBOX
1462 echo
1463 for ac_var in $ac_subst_vars
1464 do
81ecdfbb
RW
1465 eval ac_val=\$$ac_var
1466 case $ac_val in
1467 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1468 esac
1469 $as_echo "$ac_var='\''$ac_val'\''"
b7026657
AC
1470 done | sort
1471 echo
1472
1473 if test -n "$ac_subst_files"; then
1474 cat <<\_ASBOX
81ecdfbb
RW
1475## ------------------- ##
1476## File substitutions. ##
1477## ------------------- ##
b7026657
AC
1478_ASBOX
1479 echo
1480 for ac_var in $ac_subst_files
1481 do
81ecdfbb
RW
1482 eval ac_val=\$$ac_var
1483 case $ac_val in
1484 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1485 esac
1486 $as_echo "$ac_var='\''$ac_val'\''"
b7026657
AC
1487 done | sort
1488 echo
eb2d80b4 1489 fi
b7026657
AC
1490
1491 if test -s confdefs.h; then
1492 cat <<\_ASBOX
1493## ----------- ##
1494## confdefs.h. ##
1495## ----------- ##
1496_ASBOX
1497 echo
81ecdfbb 1498 cat confdefs.h
b7026657
AC
1499 echo
1500 fi
1501 test "$ac_signal" != 0 &&
81ecdfbb
RW
1502 $as_echo "$as_me: caught signal $ac_signal"
1503 $as_echo "$as_me: exit $exit_status"
b7026657 1504 } >&5
81ecdfbb
RW
1505 rm -f core *.core core.conftest.* &&
1506 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
b7026657 1507 exit $exit_status
81ecdfbb 1508' 0
b7026657 1509for ac_signal in 1 2 13 15; do
81ecdfbb 1510 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
b7026657
AC
1511done
1512ac_signal=0
1513
1514# confdefs.h avoids OS command line length limits that DEFS can exceed.
81ecdfbb
RW
1515rm -f -r conftest* confdefs.h
1516
1517$as_echo "/* confdefs.h */" > confdefs.h
b7026657
AC
1518
1519# Predefined preprocessor variables.
1520
1521cat >>confdefs.h <<_ACEOF
1522#define PACKAGE_NAME "$PACKAGE_NAME"
1523_ACEOF
1524
b7026657
AC
1525cat >>confdefs.h <<_ACEOF
1526#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1527_ACEOF
1528
b7026657
AC
1529cat >>confdefs.h <<_ACEOF
1530#define PACKAGE_VERSION "$PACKAGE_VERSION"
1531_ACEOF
1532
b7026657
AC
1533cat >>confdefs.h <<_ACEOF
1534#define PACKAGE_STRING "$PACKAGE_STRING"
1535_ACEOF
1536
b7026657
AC
1537cat >>confdefs.h <<_ACEOF
1538#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1539_ACEOF
1540
81ecdfbb
RW
1541cat >>confdefs.h <<_ACEOF
1542#define PACKAGE_URL "$PACKAGE_URL"
1543_ACEOF
1544
b7026657
AC
1545
1546# Let the site file select an alternate cache file if it wants to.
81ecdfbb
RW
1547# Prefer an explicitly selected file to automatically selected ones.
1548ac_site_file1=NONE
1549ac_site_file2=NONE
1550if test -n "$CONFIG_SITE"; then
1551 ac_site_file1=$CONFIG_SITE
1552elif test "x$prefix" != xNONE; then
1553 ac_site_file1=$prefix/share/config.site
1554 ac_site_file2=$prefix/etc/config.site
1555else
1556 ac_site_file1=$ac_default_prefix/share/config.site
1557 ac_site_file2=$ac_default_prefix/etc/config.site
c906108c 1558fi
81ecdfbb
RW
1559for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1560do
1561 test "x$ac_site_file" = xNONE && continue
c906108c 1562 if test -r "$ac_site_file"; then
81ecdfbb
RW
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1564$as_echo "$as_me: loading site script $ac_site_file" >&6;}
b7026657 1565 sed 's/^/| /' "$ac_site_file" >&5
c906108c
SS
1566 . "$ac_site_file"
1567 fi
1568done
1569
1570if test -r "$cache_file"; then
b7026657
AC
1571 # Some versions of bash will fail to source /dev/null (special
1572 # files actually), so we avoid doing that.
1573 if test -f "$cache_file"; then
81ecdfbb
RW
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1575$as_echo "$as_me: loading cache $cache_file" >&6;}
b7026657 1576 case $cache_file in
81ecdfbb
RW
1577 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1578 *) . "./$cache_file";;
b7026657
AC
1579 esac
1580 fi
c906108c 1581else
81ecdfbb
RW
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1583$as_echo "$as_me: creating cache $cache_file" >&6;}
b7026657 1584 >$cache_file
c906108c
SS
1585fi
1586
b7026657
AC
1587# Check that the precious variables saved in the cache have kept the same
1588# value.
1589ac_cache_corrupted=false
81ecdfbb 1590for ac_var in $ac_precious_vars; do
b7026657
AC
1591 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1592 eval ac_new_set=\$ac_env_${ac_var}_set
81ecdfbb
RW
1593 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1594 eval ac_new_val=\$ac_env_${ac_var}_value
b7026657
AC
1595 case $ac_old_set,$ac_new_set in
1596 set,)
81ecdfbb
RW
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1598$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
b7026657
AC
1599 ac_cache_corrupted=: ;;
1600 ,set)
81ecdfbb
RW
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1602$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
b7026657
AC
1603 ac_cache_corrupted=: ;;
1604 ,);;
1605 *)
1606 if test "x$ac_old_val" != "x$ac_new_val"; then
81ecdfbb
RW
1607 # differences in whitespace do not lead to failure.
1608 ac_old_val_w=`echo x $ac_old_val`
1609 ac_new_val_w=`echo x $ac_new_val`
1610 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1612$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1613 ac_cache_corrupted=:
1614 else
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1616$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1617 eval $ac_var=\$ac_old_val
1618 fi
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1620$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1622$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
b7026657
AC
1623 fi;;
1624 esac
1625 # Pass precious variables to config.status.
1626 if test "$ac_new_set" = set; then
1627 case $ac_new_val in
81ecdfbb 1628 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
b7026657
AC
1629 *) ac_arg=$ac_var=$ac_new_val ;;
1630 esac
1631 case " $ac_configure_args " in
1632 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
81ecdfbb 1633 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
b7026657 1634 esac
c906108c 1635 fi
b7026657
AC
1636done
1637if $ac_cache_corrupted; then
81ecdfbb
RW
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1639$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1641$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1642 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
c906108c 1643fi
81ecdfbb
RW
1644## -------------------- ##
1645## Main body of script. ##
1646## -------------------- ##
c906108c 1647
b7026657
AC
1648ac_ext=c
1649ac_cpp='$CPP $CPPFLAGS'
1650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1652ac_compiler_gnu=$ac_cv_c_compiler_gnu
1653
1654
1655
c906108c
SS
1656CC=${CC-cc}
1657
1658ac_aux_dir=
81ecdfbb
RW
1659for ac_dir in `cd $srcdir;pwd`/../.. "$srcdir"/`cd $srcdir;pwd`/../..; do
1660 for ac_t in install-sh install.sh shtool; do
1661 if test -f "$ac_dir/$ac_t"; then
1662 ac_aux_dir=$ac_dir
1663 ac_install_sh="$ac_aux_dir/$ac_t -c"
1664 break 2
1665 fi
1666 done
c906108c
SS
1667done
1668if test -z "$ac_aux_dir"; then
81ecdfbb 1669 as_fn_error "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../.." "$LINENO" 5
c906108c 1670fi
c906108c 1671
81ecdfbb
RW
1672# These three variables are undocumented and unsupported,
1673# and are intended to be withdrawn in a future Autoconf release.
1674# They can cause serious problems if a builder's source tree is in a directory
1675# whose full name contains unusual characters.
1676ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1677ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1678ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
c906108c 1679
b7026657 1680
81ecdfbb
RW
1681# Make sure we can run config.sub.
1682$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1683 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
b7026657 1684
81ecdfbb
RW
1685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1686$as_echo_n "checking build system type... " >&6; }
1687if test "${ac_cv_build+set}" = set; then :
1688 $as_echo_n "(cached) " >&6
b7026657 1689else
81ecdfbb
RW
1690 ac_build_alias=$build_alias
1691test "x$ac_build_alias" = x &&
1692 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1693test "x$ac_build_alias" = x &&
1694 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1695ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1696 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
c906108c 1697
b7026657 1698fi
81ecdfbb
RW
1699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1700$as_echo "$ac_cv_build" >&6; }
1701case $ac_cv_build in
1702*-*-*) ;;
1703*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1704esac
1705build=$ac_cv_build
1706ac_save_IFS=$IFS; IFS='-'
1707set x $ac_cv_build
1708shift
1709build_cpu=$1
1710build_vendor=$2
1711shift; shift
1712# Remember, the first character of IFS is used to create $*,
1713# except with old shells:
1714build_os=$*
1715IFS=$ac_save_IFS
1716case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1717
1718
1719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1720$as_echo_n "checking host system type... " >&6; }
1721if test "${ac_cv_host+set}" = set; then :
1722 $as_echo_n "(cached) " >&6
1723else
1724 if test "x$host_alias" = x; then
1725 ac_cv_host=$ac_cv_build
1726else
1727 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1728 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1729fi
b7026657 1730
81ecdfbb
RW
1731fi
1732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1733$as_echo "$ac_cv_host" >&6; }
1734case $ac_cv_host in
1735*-*-*) ;;
1736*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1737esac
1738host=$ac_cv_host
1739ac_save_IFS=$IFS; IFS='-'
1740set x $ac_cv_host
1741shift
1742host_cpu=$1
1743host_vendor=$2
1744shift; shift
1745# Remember, the first character of IFS is used to create $*,
1746# except with old shells:
1747host_os=$*
1748IFS=$ac_save_IFS
1749case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1750
1751
1752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1753$as_echo_n "checking target system type... " >&6; }
1754if test "${ac_cv_target+set}" = set; then :
1755 $as_echo_n "(cached) " >&6
b7026657 1756else
81ecdfbb
RW
1757 if test "x$target_alias" = x; then
1758 ac_cv_target=$ac_cv_host
1759else
1760 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1761 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1762fi
c906108c 1763
b7026657 1764fi
81ecdfbb
RW
1765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1766$as_echo "$ac_cv_target" >&6; }
1767case $ac_cv_target in
1768*-*-*) ;;
1769*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1770esac
b7026657 1771target=$ac_cv_target
81ecdfbb
RW
1772ac_save_IFS=$IFS; IFS='-'
1773set x $ac_cv_target
1774shift
1775target_cpu=$1
1776target_vendor=$2
1777shift; shift
1778# Remember, the first character of IFS is used to create $*,
1779# except with old shells:
1780target_os=$*
1781IFS=$ac_save_IFS
1782case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
c906108c 1783
c906108c 1784
b7026657
AC
1785# The aliases save the names the user supplied, while $host etc.
1786# will get canonicalized.
1787test -n "$target_alias" &&
c906108c
SS
1788 test "$program_prefix$program_suffix$program_transform_name" = \
1789 NONENONEs,x,x, &&
1790 program_prefix=${target_alias}-
1791
81ecdfbb 1792
d0945c9b
AC
1793# Configure sub-directory for appropriate targets
1794case ${target} in
1795 frv-*-elf )
b7026657
AC
1796
1797
1798subdirs="$subdirs frv-elf"
c906108c 1799
d0945c9b
AC
1800 ;;
1801 m32r-*-elf )
81ecdfbb 1802 subdirs="$subdirs m32r-elf"
c906108c 1803
d0945c9b
AC
1804 ;;
1805 mips64el-*-elf )
81ecdfbb 1806 subdirs="$subdirs mips64el-elf"
d0945c9b
AC
1807
1808 ;;
c906108c
SS
1809esac
1810
1811# Compute the target architecture.
1812# FIXME: Will need to canonicalize some values.
1813# FIXME: Should be in generally accessable place.
1814case $target in
1815 *) arch=${target_cpu} ;;
1816esac
1817
1818
81ecdfbb
RW
1819ac_config_files="$ac_config_files Makefile"
1820
b7026657 1821cat >confcache <<\_ACEOF
c906108c
SS
1822# This file is a shell script that caches the results of configure
1823# tests run on this system so they can be shared between configure
b7026657
AC
1824# scripts and configure runs, see configure's option --config-cache.
1825# It is not useful on other systems. If it contains results you don't
1826# want to keep, you may remove or edit it.
c906108c 1827#
b7026657
AC
1828# config.status only pays attention to the cache file if you give it
1829# the --recheck option to rerun configure.
c906108c 1830#
b7026657
AC
1831# `ac_cv_env_foo' variables (set or unset) will be overridden when
1832# loading this file, other *unset* `ac_cv_foo' will be assigned the
1833# following values.
1834
1835_ACEOF
1836
c906108c
SS
1837# The following way of writing the cache mishandles newlines in values,
1838# but we know of no workaround that is simple, portable, and efficient.
81ecdfbb 1839# So, we kill variables containing newlines.
c906108c
SS
1840# Ultrix sh set writes to stderr and can't be redirected directly,
1841# and sets the high bit in the cache file unless we assign to the vars.
81ecdfbb
RW
1842(
1843 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1844 eval ac_val=\$$ac_var
1845 case $ac_val in #(
1846 *${as_nl}*)
1847 case $ac_var in #(
1848 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1849$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1850 esac
1851 case $ac_var in #(
1852 _ | IFS | as_nl) ;; #(
1853 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1854 *) { eval $ac_var=; unset $ac_var;} ;;
1855 esac ;;
1856 esac
1857 done
1858
b7026657 1859 (set) 2>&1 |
81ecdfbb
RW
1860 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1861 *${as_nl}ac_space=\ *)
1862 # `set' does not quote correctly, so add quotes: double-quote
1863 # substitution turns \\\\ into \\, and sed turns \\ into \.
b7026657
AC
1864 sed -n \
1865 "s/'/'\\\\''/g;
1866 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81ecdfbb 1867 ;; #(
b7026657
AC
1868 *)
1869 # `set' quotes correctly as required by POSIX, so do not add quotes.
81ecdfbb 1870 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
b7026657 1871 ;;
81ecdfbb
RW
1872 esac |
1873 sort
1874) |
b7026657 1875 sed '
81ecdfbb 1876 /^ac_cv_env_/b end
b7026657 1877 t clear
81ecdfbb 1878 :clear
b7026657
AC
1879 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1880 t end
81ecdfbb
RW
1881 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1882 :end' >>confcache
1883if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1884 if test -w "$cache_file"; then
1885 test "x$cache_file" != "x/dev/null" &&
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1887$as_echo "$as_me: updating cache $cache_file" >&6;}
b7026657 1888 cat confcache >$cache_file
c906108c 1889 else
81ecdfbb
RW
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1891$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
c906108c
SS
1892 fi
1893fi
1894rm -f confcache
1895
c906108c
SS
1896test "x$prefix" = xNONE && prefix=$ac_default_prefix
1897# Let make expand exec_prefix.
1898test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1899
c906108c
SS
1900# Transform confdefs.h into DEFS.
1901# Protect against shell expansion while executing Makefile rules.
1902# Protect against Makefile macro expansion.
b7026657
AC
1903#
1904# If the first sed substitution is executed (which looks for macros that
81ecdfbb 1905# take arguments), then branch to the quote section. Otherwise,
b7026657 1906# look for a macro that doesn't take arguments.
81ecdfbb
RW
1907ac_script='
1908:mline
1909/\\$/{
1910 N
1911 s,\\\n,,
1912 b mline
1913}
b7026657 1914t clear
81ecdfbb
RW
1915:clear
1916s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
b7026657 1917t quote
81ecdfbb 1918s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
b7026657 1919t quote
81ecdfbb
RW
1920b any
1921:quote
1922s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1923s/\[/\\&/g
1924s/\]/\\&/g
1925s/\$/$$/g
1926H
1927:any
1928${
1929 g
1930 s/^\n//
1931 s/\n/ /g
1932 p
1933}
1934'
1935DEFS=`sed -n "$ac_script" confdefs.h`
b7026657
AC
1936
1937
1938ac_libobjs=
1939ac_ltlibobjs=
1940for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1941 # 1. Remove the extension, and $U if already installed.
81ecdfbb
RW
1942 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1943 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1944 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1945 # will be set to the directory where LIBOBJS objects are built.
1946 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1947 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
b7026657
AC
1948done
1949LIBOBJS=$ac_libobjs
c906108c 1950
b7026657
AC
1951LTLIBOBJS=$ac_ltlibobjs
1952
1953
1954
1955: ${CONFIG_STATUS=./config.status}
81ecdfbb 1956ac_write_fail=0
b7026657
AC
1957ac_clean_files_save=$ac_clean_files
1958ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81ecdfbb
RW
1959{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1960$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1961as_write_fail=0
1962cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
b7026657
AC
1963#! $SHELL
1964# Generated by $as_me.
c906108c 1965# Run this file to recreate the current configuration.
c906108c 1966# Compiler output produced by configure, useful for debugging
b7026657
AC
1967# configure, is in config.log if it exists.
1968
1969debug=false
1970ac_cs_recheck=false
1971ac_cs_silent=false
b7026657 1972
81ecdfbb
RW
1973SHELL=\${CONFIG_SHELL-$SHELL}
1974export SHELL
1975_ASEOF
1976cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1977## -------------------- ##
1978## M4sh Initialization. ##
1979## -------------------- ##
1980
1981# Be more Bourne compatible
1982DUALCASE=1; export DUALCASE # for MKS sh
1983if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
b7026657
AC
1984 emulate sh
1985 NULLCMD=:
81ecdfbb 1986 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
b7026657
AC
1987 # is contrary to our usage. Disable this feature.
1988 alias -g '${1+"$@"}'='"$@"'
81ecdfbb
RW
1989 setopt NO_GLOB_SUBST
1990else
1991 case `(set -o) 2>/dev/null` in #(
1992 *posix*) :
1993 set -o posix ;; #(
1994 *) :
1995 ;;
1996esac
b7026657 1997fi
c906108c 1998
81ecdfbb
RW
1999
2000as_nl='
2001'
2002export as_nl
2003# Printing a long string crashes Solaris 7 /usr/bin/printf.
2004as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2005as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2006as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2007# Prefer a ksh shell builtin over an external printf program on Solaris,
2008# but without wasting forks for bash or zsh.
2009if test -z "$BASH_VERSION$ZSH_VERSION" \
2010 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2011 as_echo='print -r --'
2012 as_echo_n='print -rn --'
2013elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2014 as_echo='printf %s\n'
2015 as_echo_n='printf %s'
b7026657 2016else
81ecdfbb
RW
2017 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2018 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2019 as_echo_n='/usr/ucb/echo -n'
2020 else
2021 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2022 as_echo_n_body='eval
2023 arg=$1;
2024 case $arg in #(
2025 *"$as_nl"*)
2026 expr "X$arg" : "X\\(.*\\)$as_nl";
2027 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2028 esac;
2029 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2030 '
2031 export as_echo_n_body
2032 as_echo_n='sh -c $as_echo_n_body as_echo'
2033 fi
2034 export as_echo_body
2035 as_echo='sh -c $as_echo_body as_echo'
b7026657
AC
2036fi
2037
81ecdfbb
RW
2038# The user is always right.
2039if test "${PATH_SEPARATOR+set}" != set; then
2040 PATH_SEPARATOR=:
2041 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2042 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2043 PATH_SEPARATOR=';'
2044 }
2045fi
2046
2047
2048# IFS
2049# We need space, tab and new line, in precisely that order. Quoting is
2050# there to prevent editors from complaining about space-tab.
2051# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2052# splitting by setting IFS to empty value.)
2053IFS=" "" $as_nl"
2054
2055# Find who we are. Look in the path if we contain no directory separator.
2056case $0 in #((
2057 *[\\/]* ) as_myself=$0 ;;
2058 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059for as_dir in $PATH
2060do
2061 IFS=$as_save_IFS
2062 test -z "$as_dir" && as_dir=.
2063 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2064 done
2065IFS=$as_save_IFS
b7026657 2066
81ecdfbb
RW
2067 ;;
2068esac
2069# We did not find ourselves, most probably we were run as `sh COMMAND'
2070# in which case we are not to be found in the path.
2071if test "x$as_myself" = x; then
2072 as_myself=$0
2073fi
2074if test ! -f "$as_myself"; then
2075 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2076 exit 1
2077fi
2078
2079# Unset variables that we do not need and which cause bugs (e.g. in
2080# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2081# suppresses any "Segmentation fault" message there. '((' could
2082# trigger a bug in pdksh 5.2.14.
2083for as_var in BASH_ENV ENV MAIL MAILPATH
2084do eval test x\${$as_var+set} = xset \
2085 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2086done
b7026657
AC
2087PS1='$ '
2088PS2='> '
2089PS4='+ '
2090
2091# NLS nuisances.
81ecdfbb
RW
2092LC_ALL=C
2093export LC_ALL
2094LANGUAGE=C
2095export LANGUAGE
2096
2097# CDPATH.
2098(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2099
2100
2101# as_fn_error ERROR [LINENO LOG_FD]
2102# ---------------------------------
2103# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2104# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2105# script with status $?, using 1 if that was 0.
2106as_fn_error ()
2107{
2108 as_status=$?; test $as_status -eq 0 && as_status=1
2109 if test "$3"; then
2110 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
b7026657 2112 fi
81ecdfbb
RW
2113 $as_echo "$as_me: error: $1" >&2
2114 as_fn_exit $as_status
2115} # as_fn_error
2116
2117
2118# as_fn_set_status STATUS
2119# -----------------------
2120# Set $? to STATUS, without forking.
2121as_fn_set_status ()
2122{
2123 return $1
2124} # as_fn_set_status
2125
2126# as_fn_exit STATUS
2127# -----------------
2128# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2129as_fn_exit ()
2130{
2131 set +e
2132 as_fn_set_status $1
2133 exit $1
2134} # as_fn_exit
2135
2136# as_fn_unset VAR
2137# ---------------
2138# Portably unset VAR.
2139as_fn_unset ()
2140{
2141 { eval $1=; unset $1;}
2142}
2143as_unset=as_fn_unset
2144# as_fn_append VAR VALUE
2145# ----------------------
2146# Append the text in VALUE to the end of the definition contained in VAR. Take
2147# advantage of any shell optimizations that allow amortized linear growth over
2148# repeated appends, instead of the typical quadratic growth present in naive
2149# implementations.
2150if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2151 eval 'as_fn_append ()
2152 {
2153 eval $1+=\$2
2154 }'
2155else
2156 as_fn_append ()
2157 {
2158 eval $1=\$$1\$2
2159 }
2160fi # as_fn_append
2161
2162# as_fn_arith ARG...
2163# ------------------
2164# Perform arithmetic evaluation on the ARGs, and store the result in the
2165# global $as_val. Take advantage of shells that can avoid forks. The arguments
2166# must be portable across $(()) and expr.
2167if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2168 eval 'as_fn_arith ()
2169 {
2170 as_val=$(( $* ))
2171 }'
2172else
2173 as_fn_arith ()
2174 {
2175 as_val=`expr "$@" || test $? -eq 1`
2176 }
2177fi # as_fn_arith
2178
c906108c 2179
81ecdfbb
RW
2180if expr a : '\(a\)' >/dev/null 2>&1 &&
2181 test "X`expr 00001 : '.*\(...\)'`" = X001; then
b7026657
AC
2182 as_expr=expr
2183else
2184 as_expr=false
2185fi
c906108c 2186
81ecdfbb 2187if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
b7026657
AC
2188 as_basename=basename
2189else
2190 as_basename=false
2191fi
c906108c 2192
81ecdfbb
RW
2193if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2194 as_dirname=dirname
2195else
2196 as_dirname=false
2197fi
c906108c 2198
81ecdfbb 2199as_me=`$as_basename -- "$0" ||
b7026657
AC
2200$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2201 X"$0" : 'X\(//\)$' \| \
81ecdfbb
RW
2202 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2203$as_echo X/"$0" |
2204 sed '/^.*\/\([^/][^/]*\)\/*$/{
2205 s//\1/
2206 q
2207 }
2208 /^X\/\(\/\/\)$/{
2209 s//\1/
2210 q
2211 }
2212 /^X\/\(\/\).*/{
2213 s//\1/
2214 q
2215 }
2216 s/.*/./; q'`
b7026657 2217
b7026657
AC
2218# Avoid depending upon Character Ranges.
2219as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2220as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2221as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2222as_cr_digits='0123456789'
2223as_cr_alnum=$as_cr_Letters$as_cr_digits
2224
81ecdfbb
RW
2225ECHO_C= ECHO_N= ECHO_T=
2226case `echo -n x` in #(((((
2227-n*)
2228 case `echo 'xy\c'` in
2229 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2230 xy) ECHO_C='\c';;
2231 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2232 ECHO_T=' ';;
2233 esac;;
2234*)
2235 ECHO_N='-n';;
b7026657
AC
2236esac
2237
81ecdfbb
RW
2238rm -f conf$$ conf$$.exe conf$$.file
2239if test -d conf$$.dir; then
2240 rm -f conf$$.dir/conf$$.file
b7026657 2241else
81ecdfbb
RW
2242 rm -f conf$$.dir
2243 mkdir conf$$.dir 2>/dev/null
b7026657 2244fi
81ecdfbb
RW
2245if (echo >conf$$.file) 2>/dev/null; then
2246 if ln -s conf$$.file conf$$ 2>/dev/null; then
b7026657 2247 as_ln_s='ln -s'
81ecdfbb
RW
2248 # ... but there are two gotchas:
2249 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2250 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2251 # In both cases, we have to default to `cp -p'.
2252 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2253 as_ln_s='cp -p'
2254 elif ln conf$$.file conf$$ 2>/dev/null; then
2255 as_ln_s=ln
2256 else
2257 as_ln_s='cp -p'
c906108c 2258 fi
b7026657
AC
2259else
2260 as_ln_s='cp -p'
2261fi
81ecdfbb
RW
2262rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2263rmdir conf$$.dir 2>/dev/null
2264
2265
2266# as_fn_mkdir_p
2267# -------------
2268# Create "$as_dir" as a directory, including parents if necessary.
2269as_fn_mkdir_p ()
2270{
b7026657 2271
81ecdfbb
RW
2272 case $as_dir in #(
2273 -*) as_dir=./$as_dir;;
2274 esac
2275 test -d "$as_dir" || eval $as_mkdir_p || {
2276 as_dirs=
2277 while :; do
2278 case $as_dir in #(
2279 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2280 *) as_qdir=$as_dir;;
2281 esac
2282 as_dirs="'$as_qdir' $as_dirs"
2283 as_dir=`$as_dirname -- "$as_dir" ||
2284$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2285 X"$as_dir" : 'X\(//\)[^/]' \| \
2286 X"$as_dir" : 'X\(//\)$' \| \
2287 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2288$as_echo X"$as_dir" |
2289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2290 s//\1/
2291 q
2292 }
2293 /^X\(\/\/\)[^/].*/{
2294 s//\1/
2295 q
2296 }
2297 /^X\(\/\/\)$/{
2298 s//\1/
2299 q
2300 }
2301 /^X\(\/\).*/{
2302 s//\1/
2303 q
2304 }
2305 s/.*/./; q'`
2306 test -d "$as_dir" && break
2307 done
2308 test -z "$as_dirs" || eval "mkdir $as_dirs"
2309 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2310
2311
2312} # as_fn_mkdir_p
b7026657 2313if mkdir -p . 2>/dev/null; then
81ecdfbb 2314 as_mkdir_p='mkdir -p "$as_dir"'
b7026657
AC
2315else
2316 test -d ./-p && rmdir ./-p
2317 as_mkdir_p=false
2318fi
2319
81ecdfbb
RW
2320if test -x / >/dev/null 2>&1; then
2321 as_test_x='test -x'
2322else
2323 if ls -dL / >/dev/null 2>&1; then
2324 as_ls_L_option=L
2325 else
2326 as_ls_L_option=
2327 fi
2328 as_test_x='
2329 eval sh -c '\''
2330 if test -d "$1"; then
2331 test -d "$1/.";
2332 else
2333 case $1 in #(
2334 -*)set "./$1";;
2335 esac;
2336 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2337 ???[sx]*):;;*)false;;esac;fi
2338 '\'' sh
2339 '
2340fi
2341as_executable_p=$as_test_x
b7026657
AC
2342
2343# Sed expression to map a string onto a valid CPP name.
2344as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2345
2346# Sed expression to map a string onto a valid variable name.
2347as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2348
2349
b7026657 2350exec 6>&1
81ecdfbb
RW
2351## ----------------------------------- ##
2352## Main body of $CONFIG_STATUS script. ##
2353## ----------------------------------- ##
2354_ASEOF
2355test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2356
2357cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2358# Save the log message, to keep $0 and so on meaningful, and to
b7026657 2359# report actual input values of CONFIG_FILES etc. instead of their
81ecdfbb
RW
2360# values after options handling.
2361ac_log="
b7026657 2362This file was extended by $as_me, which was
81ecdfbb 2363generated by GNU Autoconf 2.64. Invocation command line was
b7026657
AC
2364
2365 CONFIG_FILES = $CONFIG_FILES
2366 CONFIG_HEADERS = $CONFIG_HEADERS
2367 CONFIG_LINKS = $CONFIG_LINKS
2368 CONFIG_COMMANDS = $CONFIG_COMMANDS
2369 $ $0 $@
2370
81ecdfbb
RW
2371on `(hostname || uname -n) 2>/dev/null | sed 1q`
2372"
2373
b7026657
AC
2374_ACEOF
2375
81ecdfbb
RW
2376case $ac_config_files in *"
2377"*) set x $ac_config_files; shift; ac_config_files=$*;;
2378esac
b7026657 2379
b7026657 2380
b7026657 2381
81ecdfbb
RW
2382cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2383# Files that config.status was made for.
2384config_files="$ac_config_files"
b7026657 2385
81ecdfbb 2386_ACEOF
b7026657 2387
81ecdfbb 2388cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b7026657 2389ac_cs_usage="\
81ecdfbb
RW
2390\`$as_me' instantiates files and other configuration actions
2391from templates according to the current configuration. Unless the files
2392and actions are specified as TAGs, all are instantiated by default.
b7026657 2393
81ecdfbb 2394Usage: $0 [OPTION]... [TAG]...
b7026657
AC
2395
2396 -h, --help print this help, then exit
81ecdfbb
RW
2397 -V, --version print version number and configuration settings, then exit
2398 -q, --quiet, --silent
2399 do not print progress messages
b7026657
AC
2400 -d, --debug don't remove temporary files
2401 --recheck update $as_me by reconfiguring in the same conditions
81ecdfbb
RW
2402 --file=FILE[:TEMPLATE]
2403 instantiate the configuration file FILE
b7026657
AC
2404
2405Configuration files:
2406$config_files
2407
81ecdfbb 2408Report bugs to the package provider."
b7026657 2409
81ecdfbb
RW
2410_ACEOF
2411cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b7026657
AC
2412ac_cs_version="\\
2413config.status
81ecdfbb
RW
2414configured by $0, generated by GNU Autoconf 2.64,
2415 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
b7026657 2416
81ecdfbb 2417Copyright (C) 2009 Free Software Foundation, Inc.
b7026657
AC
2418This config.status script is free software; the Free Software Foundation
2419gives unlimited permission to copy, distribute and modify it."
81ecdfbb
RW
2420
2421ac_pwd='$ac_pwd'
2422srcdir='$srcdir'
2423test -n "\$AWK" || AWK=awk
b7026657
AC
2424_ACEOF
2425
81ecdfbb
RW
2426cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2427# The default lists apply if the user does not specify any file.
b7026657
AC
2428ac_need_defaults=:
2429while test $# != 0
2430do
2431 case $1 in
2432 --*=*)
81ecdfbb
RW
2433 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2434 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
b7026657
AC
2435 ac_shift=:
2436 ;;
81ecdfbb 2437 *)
b7026657
AC
2438 ac_option=$1
2439 ac_optarg=$2
2440 ac_shift=shift
2441 ;;
b7026657
AC
2442 esac
2443
2444 case $ac_option in
2445 # Handling of the options.
b7026657
AC
2446 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2447 ac_cs_recheck=: ;;
81ecdfbb
RW
2448 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2449 $as_echo "$ac_cs_version"; exit ;;
2450 --debug | --debu | --deb | --de | --d | -d )
b7026657
AC
2451 debug=: ;;
2452 --file | --fil | --fi | --f )
2453 $ac_shift
81ecdfbb
RW
2454 case $ac_optarg in
2455 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2456 esac
2457 as_fn_append CONFIG_FILES " '$ac_optarg'"
b7026657 2458 ac_need_defaults=false;;
81ecdfbb
RW
2459 --he | --h | --help | --hel | -h )
2460 $as_echo "$ac_cs_usage"; exit ;;
b7026657
AC
2461 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2462 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2463 ac_cs_silent=: ;;
2464
2465 # This is an error.
81ecdfbb
RW
2466 -*) as_fn_error "unrecognized option: \`$1'
2467Try \`$0 --help' for more information." ;;
b7026657 2468
81ecdfbb
RW
2469 *) as_fn_append ac_config_targets " $1"
2470 ac_need_defaults=false ;;
b7026657
AC
2471
2472 esac
2473 shift
c906108c 2474done
b7026657
AC
2475
2476ac_configure_extra_args=
2477
2478if $ac_cs_silent; then
2479 exec 6>/dev/null
2480 ac_configure_extra_args="$ac_configure_extra_args --silent"
c906108c 2481fi
c906108c 2482
b7026657 2483_ACEOF
81ecdfbb 2484cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b7026657 2485if \$ac_cs_recheck; then
81ecdfbb
RW
2486 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2487 shift
2488 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2489 CONFIG_SHELL='$SHELL'
2490 export CONFIG_SHELL
2491 exec "\$@"
b7026657 2492fi
c906108c 2493
b7026657 2494_ACEOF
81ecdfbb
RW
2495cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2496exec 5>>config.log
2497{
2498 echo
2499 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2500## Running $as_me. ##
2501_ASBOX
2502 $as_echo "$ac_log"
2503} >&5
b7026657 2504
81ecdfbb
RW
2505_ACEOF
2506cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2507_ACEOF
b7026657 2508
81ecdfbb 2509cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b7026657 2510
81ecdfbb 2511# Handling of arguments.
b7026657
AC
2512for ac_config_target in $ac_config_targets
2513do
81ecdfbb
RW
2514 case $ac_config_target in
2515 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2516
2517 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
c906108c 2518 esac
b7026657 2519done
c906108c 2520
81ecdfbb 2521
b7026657
AC
2522# If the user did not use the arguments to specify the items to instantiate,
2523# then the envvar interface is used. Set only those that are not.
2524# We use the long form for the default assignment because of an extremely
2525# bizarre bug on SunOS 4.1.3.
2526if $ac_need_defaults; then
2527 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2528fi
c906108c 2529
b7026657 2530# Have a temporary directory for convenience. Make it in the build tree
81ecdfbb 2531# simply because there is no reason against having it here, and in addition,
b7026657 2532# creating and moving files from /tmp can sometimes cause problems.
81ecdfbb
RW
2533# Hook for its removal unless debugging.
2534# Note that there is a small window in which the directory will not be cleaned:
2535# after its creation but before its name has been assigned to `$tmp'.
b7026657
AC
2536$debug ||
2537{
81ecdfbb
RW
2538 tmp=
2539 trap 'exit_status=$?
2540 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2541' 0
2542 trap 'as_fn_exit 1' 1 2 13 15
b7026657 2543}
b7026657
AC
2544# Create a (secure) tmp directory for tmp files.
2545
2546{
81ecdfbb 2547 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
b7026657
AC
2548 test -n "$tmp" && test -d "$tmp"
2549} ||
2550{
81ecdfbb
RW
2551 tmp=./conf$$-$RANDOM
2552 (umask 077 && mkdir "$tmp")
2553} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2554
2555# Set up the scripts for CONFIG_FILES section.
2556# No need to generate them if there are no CONFIG_FILES.
2557# This happens for instance with `./config.status config.h'.
2558if test -n "$CONFIG_FILES"; then
2559
2560
2561ac_cr=`echo X | tr X '\015'`
2562# On cygwin, bash can eat \r inside `` if the user requested igncr.
2563# But we know of no other shell where ac_cr would be empty at this
2564# point, so we can use a bashism as a fallback.
2565if test "x$ac_cr" = x; then
2566 eval ac_cr=\$\'\\r\'
2567fi
2568ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2569if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2570 ac_cs_awk_cr='\r'
2571else
2572 ac_cs_awk_cr=$ac_cr
2573fi
2574
2575echo 'BEGIN {' >"$tmp/subs1.awk" &&
2576_ACEOF
2577
2578
2579{
2580 echo "cat >conf$$subs.awk <<_ACEOF" &&
2581 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2582 echo "_ACEOF"
2583} >conf$$subs.sh ||
2584 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2585ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2586ac_delim='%!_!# '
2587for ac_last_try in false false false false false :; do
2588 . ./conf$$subs.sh ||
2589 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2590
2591 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2592 if test $ac_delim_n = $ac_delim_num; then
2593 break
2594 elif $ac_last_try; then
2595 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2596 else
2597 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2598 fi
2599done
2600rm -f conf$$subs.sh
2601
2602cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2603cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2604_ACEOF
2605sed -n '
2606h
2607s/^/S["/; s/!.*/"]=/
2608p
2609g
2610s/^[^!]*!//
2611:repl
2612t repl
2613s/'"$ac_delim"'$//
2614t delim
2615:nl
2616h
2617s/\(.\{148\}\).*/\1/
2618t more1
2619s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2620p
2621n
2622b repl
2623:more1
2624s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2625p
2626g
2627s/.\{148\}//
2628t nl
2629:delim
2630h
2631s/\(.\{148\}\).*/\1/
2632t more2
2633s/["\\]/\\&/g; s/^/"/; s/$/"/
2634p
2635b
2636:more2
2637s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2638p
2639g
2640s/.\{148\}//
2641t delim
2642' <conf$$subs.awk | sed '
2643/^[^""]/{
2644 N
2645 s/\n//
2646}
2647' >>$CONFIG_STATUS || ac_write_fail=1
2648rm -f conf$$subs.awk
2649cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2650_ACAWK
2651cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2652 for (key in S) S_is_set[key] = 1
2653 FS = "\a"
2654
2655}
b7026657 2656{
81ecdfbb
RW
2657 line = $ 0
2658 nfields = split(line, field, "@")
2659 substed = 0
2660 len = length(field[1])
2661 for (i = 2; i < nfields; i++) {
2662 key = field[i]
2663 keylen = length(key)
2664 if (S_is_set[key]) {
2665 value = S[key]
2666 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2667 len += length(value) + length(field[++i])
2668 substed = 1
2669 } else
2670 len += 1 + keylen
2671 }
2672
2673 print line
b7026657
AC
2674}
2675
81ecdfbb
RW
2676_ACAWK
2677_ACEOF
2678cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2679if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2680 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2681else
2682 cat
2683fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2684 || as_fn_error "could not setup config files machinery" "$LINENO" 5
b7026657
AC
2685_ACEOF
2686
81ecdfbb
RW
2687# VPATH may cause trouble with some makes, so we remove $(srcdir),
2688# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2689# trailing colons and then remove the whole line if VPATH becomes empty
2690# (actually we leave an empty line to preserve line numbers).
2691if test "x$srcdir" = x.; then
2692 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2693s/:*\$(srcdir):*/:/
2694s/:*\${srcdir}:*/:/
2695s/:*@srcdir@:*/:/
2696s/^\([^=]*=[ ]*\):*/\1/
2697s/:*$//
2698s/^[^=]*=[ ]*$//
2699}'
2700fi
b7026657 2701
81ecdfbb
RW
2702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2703fi # test -n "$CONFIG_FILES"
b7026657 2704
b7026657 2705
81ecdfbb
RW
2706eval set X " :F $CONFIG_FILES "
2707shift
2708for ac_tag
2709do
2710 case $ac_tag in
2711 :[FHLC]) ac_mode=$ac_tag; continue;;
2712 esac
2713 case $ac_mode$ac_tag in
2714 :[FHL]*:*);;
2715 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2716 :[FH]-) ac_tag=-:-;;
2717 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2718 esac
2719 ac_save_IFS=$IFS
2720 IFS=:
2721 set x $ac_tag
2722 IFS=$ac_save_IFS
2723 shift
2724 ac_file=$1
2725 shift
b7026657 2726
81ecdfbb
RW
2727 case $ac_mode in
2728 :L) ac_source=$1;;
2729 :[FH])
2730 ac_file_inputs=
2731 for ac_f
2732 do
2733 case $ac_f in
2734 -) ac_f="$tmp/stdin";;
2735 *) # Look for the file first in the build tree, then in the source tree
2736 # (if the path is not absolute). The absolute path cannot be DOS-style,
2737 # because $ac_f cannot contain `:'.
2738 test -f "$ac_f" ||
2739 case $ac_f in
2740 [\\/$]*) false;;
2741 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2742 esac ||
2743 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2744 esac
2745 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2746 as_fn_append ac_file_inputs " '$ac_f'"
2747 done
2748
2749 # Let's still pretend it is `configure' which instantiates (i.e., don't
2750 # use $as_me), people would be surprised to read:
2751 # /* config.h. Generated by config.status. */
2752 configure_input='Generated from '`
2753 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2754 `' by configure.'
2755 if test x"$ac_file" != x-; then
2756 configure_input="$ac_file. $configure_input"
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2758$as_echo "$as_me: creating $ac_file" >&6;}
b7026657 2759 fi
81ecdfbb
RW
2760 # Neutralize special characters interpreted by sed in replacement strings.
2761 case $configure_input in #(
2762 *\&* | *\|* | *\\* )
2763 ac_sed_conf_input=`$as_echo "$configure_input" |
2764 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2765 *) ac_sed_conf_input=$configure_input;;
2766 esac
c906108c 2767
81ecdfbb
RW
2768 case $ac_tag in
2769 *:-:* | *:-) cat >"$tmp/stdin" \
2770 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2771 esac
2772 ;;
c906108c
SS
2773 esac
2774
81ecdfbb 2775 ac_dir=`$as_dirname -- "$ac_file" ||
b7026657
AC
2776$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2777 X"$ac_file" : 'X\(//\)[^/]' \| \
2778 X"$ac_file" : 'X\(//\)$' \| \
81ecdfbb
RW
2779 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2780$as_echo X"$ac_file" |
2781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2782 s//\1/
2783 q
2784 }
2785 /^X\(\/\/\)[^/].*/{
2786 s//\1/
2787 q
2788 }
2789 /^X\(\/\/\)$/{
2790 s//\1/
2791 q
2792 }
2793 /^X\(\/\).*/{
2794 s//\1/
2795 q
2796 }
2797 s/.*/./; q'`
2798 as_dir="$ac_dir"; as_fn_mkdir_p
b7026657
AC
2799 ac_builddir=.
2800
81ecdfbb
RW
2801case "$ac_dir" in
2802.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2803*)
2804 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2805 # A ".." for each directory in $ac_dir_suffix.
2806 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2807 case $ac_top_builddir_sub in
2808 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2809 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2810 esac ;;
2811esac
2812ac_abs_top_builddir=$ac_pwd
2813ac_abs_builddir=$ac_pwd$ac_dir_suffix
2814# for backward compatibility:
2815ac_top_builddir=$ac_top_build_prefix
c906108c 2816
b7026657 2817case $srcdir in
81ecdfbb 2818 .) # We are building in place.
b7026657 2819 ac_srcdir=.
81ecdfbb
RW
2820 ac_top_srcdir=$ac_top_builddir_sub
2821 ac_abs_top_srcdir=$ac_pwd ;;
2822 [\\/]* | ?:[\\/]* ) # Absolute name.
b7026657 2823 ac_srcdir=$srcdir$ac_dir_suffix;
81ecdfbb
RW
2824 ac_top_srcdir=$srcdir
2825 ac_abs_top_srcdir=$srcdir ;;
2826 *) # Relative name.
2827 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2828 ac_top_srcdir=$ac_top_build_prefix$srcdir
2829 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
b7026657 2830esac
81ecdfbb 2831ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
c906108c 2832
c906108c 2833
81ecdfbb
RW
2834 case $ac_mode in
2835 :F)
2836 #
2837 # CONFIG_FILE
2838 #
c906108c 2839
81ecdfbb 2840_ACEOF
c906108c 2841
81ecdfbb
RW
2842cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2843# If the template does not know about datarootdir, expand it.
2844# FIXME: This hack should be removed a few years after 2.60.
2845ac_datarootdir_hack=; ac_datarootdir_seen=
2846ac_sed_dataroot='
2847/datarootdir/ {
2848 p
2849 q
2850}
2851/@datadir@/p
2852/@docdir@/p
2853/@infodir@/p
2854/@localedir@/p
2855/@mandir@/p'
2856case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2857*datarootdir*) ac_datarootdir_seen=yes;;
2858*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2860$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2861_ACEOF
2862cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2863 ac_datarootdir_hack='
2864 s&@datadir@&$datadir&g
2865 s&@docdir@&$docdir&g
2866 s&@infodir@&$infodir&g
2867 s&@localedir@&$localedir&g
2868 s&@mandir@&$mandir&g
2869 s&\\\${datarootdir}&$datarootdir&g' ;;
2870esac
b7026657 2871_ACEOF
81ecdfbb
RW
2872
2873# Neutralize VPATH when `$srcdir' = `.'.
2874# Shell code in configure.ac might set extrasub.
2875# FIXME: do we really want to maintain this feature?
2876cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2877ac_sed_extra="$ac_vpsub
b7026657
AC
2878$extrasub
2879_ACEOF
81ecdfbb 2880cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b7026657
AC
2881:t
2882/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81ecdfbb
RW
2883s|@configure_input@|$ac_sed_conf_input|;t t
2884s&@top_builddir@&$ac_top_builddir_sub&;t t
2885s&@top_build_prefix@&$ac_top_build_prefix&;t t
2886s&@srcdir@&$ac_srcdir&;t t
2887s&@abs_srcdir@&$ac_abs_srcdir&;t t
2888s&@top_srcdir@&$ac_top_srcdir&;t t
2889s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2890s&@builddir@&$ac_builddir&;t t
2891s&@abs_builddir@&$ac_abs_builddir&;t t
2892s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2893$ac_datarootdir_hack
2894"
2895eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
2896 || as_fn_error "could not create $ac_file" "$LINENO" 5
2897
2898test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2899 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2900 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2902which seems to be undefined. Please make sure it is defined." >&5
2903$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2904which seems to be undefined. Please make sure it is defined." >&2;}
2905
2906 rm -f "$tmp/stdin"
2907 case $ac_file in
2908 -) cat "$tmp/out" && rm -f "$tmp/out";;
2909 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
2910 esac \
2911 || as_fn_error "could not create $ac_file" "$LINENO" 5
2912 ;;
b7026657 2913
b7026657 2914
b7026657 2915
81ecdfbb
RW
2916 esac
2917
2918done # for ac_tag
2919
2920
2921as_fn_exit 0
b7026657 2922_ACEOF
b7026657
AC
2923ac_clean_files=$ac_clean_files_save
2924
81ecdfbb
RW
2925test $ac_write_fail = 0 ||
2926 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
2927
b7026657
AC
2928
2929# configure is writing to config.log, and then calls config.status.
2930# config.status does its own redirection, appending to config.log.
2931# Unfortunately, on DOS this fails, as config.log is still kept open
2932# by configure, so config.status won't be able to write to it; its
2933# output is simply discarded. So we exec the FD to /dev/null,
2934# effectively closing config.log, so it can be properly (re)opened and
2935# appended to by config.status. When coming back to configure, we
2936# need to make the FD available again.
2937if test "$no_create" != yes; then
2938 ac_cs_success=:
2939 ac_config_status_args=
2940 test "$silent" = yes &&
2941 ac_config_status_args="$ac_config_status_args --quiet"
2942 exec 5>/dev/null
2943 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2944 exec 5>>config.log
2945 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2946 # would make configure fail if this is the last instruction.
81ecdfbb 2947 $ac_cs_success || as_fn_exit $?
b7026657 2948fi
c906108c 2949
b7026657
AC
2950#
2951# CONFIG_SUBDIRS section.
2952#
c906108c
SS
2953if test "$no_recursion" != yes; then
2954
81ecdfbb
RW
2955 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
2956 # so they do not pile up.
c906108c
SS
2957 ac_sub_configure_args=
2958 ac_prev=
81ecdfbb
RW
2959 eval "set x $ac_configure_args"
2960 shift
2961 for ac_arg
2962 do
c906108c
SS
2963 if test -n "$ac_prev"; then
2964 ac_prev=
2965 continue
2966 fi
b7026657 2967 case $ac_arg in
c906108c
SS
2968 -cache-file | --cache-file | --cache-fil | --cache-fi \
2969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2970 ac_prev=cache_file ;;
2971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
b7026657
AC
2972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
2973 | --c=*)
2974 ;;
2975 --config-cache | -C)
c906108c
SS
2976 ;;
2977 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2978 ac_prev=srcdir ;;
2979 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2980 ;;
b7026657
AC
2981 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2982 ac_prev=prefix ;;
2983 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2984 ;;
81ecdfbb
RW
2985 --disable-option-checking)
2986 ;;
2987 *)
2988 case $ac_arg in
2989 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2990 esac
2991 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
c906108c
SS
2992 esac
2993 done
2994
b7026657
AC
2995 # Always prepend --prefix to ensure using the same prefix
2996 # in subdir configurations.
81ecdfbb
RW
2997 ac_arg="--prefix=$prefix"
2998 case $ac_arg in
2999 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3000 esac
3001 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3002
3003 # Pass --silent
3004 if test "$silent" = yes; then
3005 ac_sub_configure_args="--silent $ac_sub_configure_args"
3006 fi
3007
3008 # Always prepend --disable-option-checking to silence warnings, since
3009 # different subdirs can have different --enable and --with options.
3010 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
b7026657
AC
3011
3012 ac_popdir=`pwd`
3013 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
c906108c
SS
3014
3015 # Do not complain, so a configure script can configure whichever
3016 # parts of a large source tree are present.
81ecdfbb 3017 test -d "$srcdir/$ac_dir" || continue
b7026657 3018
81ecdfbb
RW
3019 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3020 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3021 $as_echo "$ac_msg" >&6
3022 as_dir="$ac_dir"; as_fn_mkdir_p
b7026657
AC
3023 ac_builddir=.
3024
81ecdfbb
RW
3025case "$ac_dir" in
3026.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3027*)
3028 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3029 # A ".." for each directory in $ac_dir_suffix.
3030 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3031 case $ac_top_builddir_sub in
3032 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3033 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3034 esac ;;
3035esac
3036ac_abs_top_builddir=$ac_pwd
3037ac_abs_builddir=$ac_pwd$ac_dir_suffix
3038# for backward compatibility:
3039ac_top_builddir=$ac_top_build_prefix
c906108c 3040
b7026657 3041case $srcdir in
81ecdfbb 3042 .) # We are building in place.
b7026657 3043 ac_srcdir=.
81ecdfbb
RW
3044 ac_top_srcdir=$ac_top_builddir_sub
3045 ac_abs_top_srcdir=$ac_pwd ;;
3046 [\\/]* | ?:[\\/]* ) # Absolute name.
b7026657 3047 ac_srcdir=$srcdir$ac_dir_suffix;
81ecdfbb
RW
3048 ac_top_srcdir=$srcdir
3049 ac_abs_top_srcdir=$srcdir ;;
3050 *) # Relative name.
3051 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3052 ac_top_srcdir=$ac_top_build_prefix$srcdir
3053 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
b7026657 3054esac
81ecdfbb 3055ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
c906108c 3056
c906108c 3057
81ecdfbb 3058 cd "$ac_dir"
c906108c
SS
3059
3060 # Check for guested configure; otherwise get Cygnus style configure.
81ecdfbb
RW
3061 if test -f "$ac_srcdir/configure.gnu"; then
3062 ac_sub_configure=$ac_srcdir/configure.gnu
3063 elif test -f "$ac_srcdir/configure"; then
3064 ac_sub_configure=$ac_srcdir/configure
3065 elif test -f "$ac_srcdir/configure.in"; then
3066 # This should be Cygnus configure.
3067 ac_sub_configure=$ac_aux_dir/configure
c906108c 3068 else
81ecdfbb
RW
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3070$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
c906108c
SS
3071 ac_sub_configure=
3072 fi
3073
3074 # The recursion is here.
3075 if test -n "$ac_sub_configure"; then
c906108c 3076 # Make the cache file name correct relative to the subdirectory.
b7026657
AC
3077 case $cache_file in
3078 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
81ecdfbb
RW
3079 *) # Relative name.
3080 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
c906108c
SS
3081 esac
3082
81ecdfbb
RW
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3084$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
c906108c 3085 # The eval makes quoting arguments work.
81ecdfbb
RW
3086 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3087 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3088 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
c906108c
SS
3089 fi
3090
81ecdfbb 3091 cd "$ac_popdir"
c906108c
SS
3092 done
3093fi
81ecdfbb
RW
3094if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3096$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3097fi
c906108c 3098
This page took 0.705612 seconds and 4 git commands to generate.