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