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