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