158551Skris#! /bin/sh
258551Skris# Guess values for system-dependent variables and create Makefiles.
3228060Sbapt# Generated by GNU Autoconf 2.61.
458551Skris#
5228060Sbapt# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6228060Sbapt# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
758551Skris# This configure script is free software; the Free Software Foundation
858551Skris# gives unlimited permission to copy, distribute and modify it.
9228060Sbapt## --------------------- ##
10228060Sbapt## M4sh Initialization.  ##
11228060Sbapt## --------------------- ##
1258551Skris
13228060Sbapt# Be more Bourne compatible
14228060SbaptDUALCASE=1; export DUALCASE # for MKS sh
15228060Sbaptif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16228060Sbapt  emulate sh
17228060Sbapt  NULLCMD=:
18228060Sbapt  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19228060Sbapt  # is contrary to our usage.  Disable this feature.
20228060Sbapt  alias -g '${1+"$@"}'='"$@"'
21228060Sbapt  setopt NO_GLOB_SUBST
22228060Sbaptelse
23228060Sbapt  case `(set -o) 2>/dev/null` in
24228060Sbapt  *posix*) set -o posix ;;
25228060Sbaptesac
26228060Sbapt
27228060Sbaptfi
28228060Sbapt
29228060Sbapt
30228060Sbapt
31228060Sbapt
32228060Sbapt# PATH needs CR
33228060Sbapt# Avoid depending upon Character Ranges.
34228060Sbaptas_cr_letters='abcdefghijklmnopqrstuvwxyz'
35228060Sbaptas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36228060Sbaptas_cr_Letters=$as_cr_letters$as_cr_LETTERS
37228060Sbaptas_cr_digits='0123456789'
38228060Sbaptas_cr_alnum=$as_cr_Letters$as_cr_digits
39228060Sbapt
40228060Sbapt# The user is always right.
41228060Sbaptif test "${PATH_SEPARATOR+set}" != set; then
42228060Sbapt  echo "#! /bin/sh" >conf$$.sh
43228060Sbapt  echo  "exit 0"   >>conf$$.sh
44228060Sbapt  chmod +x conf$$.sh
45228060Sbapt  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46228060Sbapt    PATH_SEPARATOR=';'
47228060Sbapt  else
48228060Sbapt    PATH_SEPARATOR=:
49228060Sbapt  fi
50228060Sbapt  rm -f conf$$.sh
51228060Sbaptfi
52228060Sbapt
53228060Sbapt# Support unset when possible.
54228060Sbaptif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55228060Sbapt  as_unset=unset
56228060Sbaptelse
57228060Sbapt  as_unset=false
58228060Sbaptfi
59228060Sbapt
60228060Sbapt
61228060Sbapt# IFS
62228060Sbapt# We need space, tab and new line, in precisely that order.  Quoting is
63228060Sbapt# there to prevent editors from complaining about space-tab.
64228060Sbapt# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65228060Sbapt# splitting by setting IFS to empty value.)
66228060Sbaptas_nl='
67228060Sbapt'
68228060SbaptIFS=" ""	$as_nl"
69228060Sbapt
70228060Sbapt# Find who we are.  Look in the path if we contain no directory separator.
71228060Sbaptcase $0 in
72228060Sbapt  *[\\/]* ) as_myself=$0 ;;
73228060Sbapt  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74228060Sbaptfor as_dir in $PATH
75228060Sbaptdo
76228060Sbapt  IFS=$as_save_IFS
77228060Sbapt  test -z "$as_dir" && as_dir=.
78228060Sbapt  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79228060Sbaptdone
80228060SbaptIFS=$as_save_IFS
81228060Sbapt
82228060Sbapt     ;;
83228060Sbaptesac
84228060Sbapt# We did not find ourselves, most probably we were run as `sh COMMAND'
85228060Sbapt# in which case we are not to be found in the path.
86228060Sbaptif test "x$as_myself" = x; then
87228060Sbapt  as_myself=$0
88228060Sbaptfi
89228060Sbaptif test ! -f "$as_myself"; then
90228060Sbapt  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91228060Sbapt  { (exit 1); exit 1; }
92228060Sbaptfi
93228060Sbapt
94228060Sbapt# Work around bugs in pre-3.0 UWIN ksh.
95228060Sbaptfor as_var in ENV MAIL MAILPATH
96228060Sbaptdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97228060Sbaptdone
98228060SbaptPS1='$ '
99228060SbaptPS2='> '
100228060SbaptPS4='+ '
101228060Sbapt
102228060Sbapt# NLS nuisances.
103228060Sbaptfor as_var in \
104228060Sbapt  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105228060Sbapt  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106228060Sbapt  LC_TELEPHONE LC_TIME
107228060Sbaptdo
108228060Sbapt  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109228060Sbapt    eval $as_var=C; export $as_var
110228060Sbapt  else
111228060Sbapt    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112228060Sbapt  fi
113228060Sbaptdone
114228060Sbapt
115228060Sbapt# Required to use basename.
116228060Sbaptif expr a : '\(a\)' >/dev/null 2>&1 &&
117228060Sbapt   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118228060Sbapt  as_expr=expr
119228060Sbaptelse
120228060Sbapt  as_expr=false
121228060Sbaptfi
122228060Sbapt
123228060Sbaptif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124228060Sbapt  as_basename=basename
125228060Sbaptelse
126228060Sbapt  as_basename=false
127228060Sbaptfi
128228060Sbapt
129228060Sbapt
130228060Sbapt# Name of the executable.
131228060Sbaptas_me=`$as_basename -- "$0" ||
132228060Sbapt$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133228060Sbapt	 X"$0" : 'X\(//\)$' \| \
134228060Sbapt	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135228060Sbaptecho X/"$0" |
136228060Sbapt    sed '/^.*\/\([^/][^/]*\)\/*$/{
137228060Sbapt	    s//\1/
138228060Sbapt	    q
139228060Sbapt	  }
140228060Sbapt	  /^X\/\(\/\/\)$/{
141228060Sbapt	    s//\1/
142228060Sbapt	    q
143228060Sbapt	  }
144228060Sbapt	  /^X\/\(\/\).*/{
145228060Sbapt	    s//\1/
146228060Sbapt	    q
147228060Sbapt	  }
148228060Sbapt	  s/.*/./; q'`
149228060Sbapt
150228060Sbapt# CDPATH.
151228060Sbapt$as_unset CDPATH
152228060Sbapt
153228060Sbapt
154228060Sbaptif test "x$CONFIG_SHELL" = x; then
155228060Sbapt  if (eval ":") 2>/dev/null; then
156228060Sbapt  as_have_required=yes
157228060Sbaptelse
158228060Sbapt  as_have_required=no
159228060Sbaptfi
160228060Sbapt
161228060Sbapt  if test $as_have_required = yes && 	 (eval ":
162228060Sbapt(as_func_return () {
163228060Sbapt  (exit \$1)
164228060Sbapt}
165228060Sbaptas_func_success () {
166228060Sbapt  as_func_return 0
167228060Sbapt}
168228060Sbaptas_func_failure () {
169228060Sbapt  as_func_return 1
170228060Sbapt}
171228060Sbaptas_func_ret_success () {
172228060Sbapt  return 0
173228060Sbapt}
174228060Sbaptas_func_ret_failure () {
175228060Sbapt  return 1
176228060Sbapt}
177228060Sbapt
178228060Sbaptexitcode=0
179228060Sbaptif as_func_success; then
180228060Sbapt  :
181228060Sbaptelse
182228060Sbapt  exitcode=1
183228060Sbapt  echo as_func_success failed.
184228060Sbaptfi
185228060Sbapt
186228060Sbaptif as_func_failure; then
187228060Sbapt  exitcode=1
188228060Sbapt  echo as_func_failure succeeded.
189228060Sbaptfi
190228060Sbapt
191228060Sbaptif as_func_ret_success; then
192228060Sbapt  :
193228060Sbaptelse
194228060Sbapt  exitcode=1
195228060Sbapt  echo as_func_ret_success failed.
196228060Sbaptfi
197228060Sbapt
198228060Sbaptif as_func_ret_failure; then
199228060Sbapt  exitcode=1
200228060Sbapt  echo as_func_ret_failure succeeded.
201228060Sbaptfi
202228060Sbapt
203228060Sbaptif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204228060Sbapt  :
205228060Sbaptelse
206228060Sbapt  exitcode=1
207228060Sbapt  echo positional parameters were not saved.
208228060Sbaptfi
209228060Sbapt
210228060Sbapttest \$exitcode = 0) || { (exit 1); exit 1; }
211228060Sbapt
212228060Sbapt(
213228060Sbapt  as_lineno_1=\$LINENO
214228060Sbapt  as_lineno_2=\$LINENO
215228060Sbapt  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216228060Sbapt  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217228060Sbapt") 2> /dev/null; then
218228060Sbapt  :
219228060Sbaptelse
220228060Sbapt  as_candidate_shells=
221228060Sbapt    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222228060Sbaptfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223228060Sbaptdo
224228060Sbapt  IFS=$as_save_IFS
225228060Sbapt  test -z "$as_dir" && as_dir=.
226228060Sbapt  case $as_dir in
227228060Sbapt	 /*)
228228060Sbapt	   for as_base in sh bash ksh sh5; do
229228060Sbapt	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230228060Sbapt	   done;;
231228060Sbapt       esac
232228060Sbaptdone
233228060SbaptIFS=$as_save_IFS
234228060Sbapt
235228060Sbapt
236228060Sbapt      for as_shell in $as_candidate_shells $SHELL; do
237228060Sbapt	 # Try only shells that exist, to save several forks.
238228060Sbapt	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239228060Sbapt		{ ("$as_shell") 2> /dev/null <<\_ASEOF
240228060Sbaptif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241228060Sbapt  emulate sh
242228060Sbapt  NULLCMD=:
243228060Sbapt  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244228060Sbapt  # is contrary to our usage.  Disable this feature.
245228060Sbapt  alias -g '${1+"$@"}'='"$@"'
246228060Sbapt  setopt NO_GLOB_SUBST
247228060Sbaptelse
248228060Sbapt  case `(set -o) 2>/dev/null` in
249228060Sbapt  *posix*) set -o posix ;;
250228060Sbaptesac
251228060Sbapt
252228060Sbaptfi
253228060Sbapt
254228060Sbapt
255228060Sbapt:
256228060Sbapt_ASEOF
257228060Sbapt}; then
258228060Sbapt  CONFIG_SHELL=$as_shell
259228060Sbapt	       as_have_required=yes
260228060Sbapt	       if { "$as_shell" 2> /dev/null <<\_ASEOF
261228060Sbaptif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262228060Sbapt  emulate sh
263228060Sbapt  NULLCMD=:
264228060Sbapt  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265228060Sbapt  # is contrary to our usage.  Disable this feature.
266228060Sbapt  alias -g '${1+"$@"}'='"$@"'
267228060Sbapt  setopt NO_GLOB_SUBST
268228060Sbaptelse
269228060Sbapt  case `(set -o) 2>/dev/null` in
270228060Sbapt  *posix*) set -o posix ;;
271228060Sbaptesac
272228060Sbapt
273228060Sbaptfi
274228060Sbapt
275228060Sbapt
276228060Sbapt:
277228060Sbapt(as_func_return () {
278228060Sbapt  (exit $1)
279228060Sbapt}
280228060Sbaptas_func_success () {
281228060Sbapt  as_func_return 0
282228060Sbapt}
283228060Sbaptas_func_failure () {
284228060Sbapt  as_func_return 1
285228060Sbapt}
286228060Sbaptas_func_ret_success () {
287228060Sbapt  return 0
288228060Sbapt}
289228060Sbaptas_func_ret_failure () {
290228060Sbapt  return 1
291228060Sbapt}
292228060Sbapt
293228060Sbaptexitcode=0
294228060Sbaptif as_func_success; then
295228060Sbapt  :
296228060Sbaptelse
297228060Sbapt  exitcode=1
298228060Sbapt  echo as_func_success failed.
299228060Sbaptfi
300228060Sbapt
301228060Sbaptif as_func_failure; then
302228060Sbapt  exitcode=1
303228060Sbapt  echo as_func_failure succeeded.
304228060Sbaptfi
305228060Sbapt
306228060Sbaptif as_func_ret_success; then
307228060Sbapt  :
308228060Sbaptelse
309228060Sbapt  exitcode=1
310228060Sbapt  echo as_func_ret_success failed.
311228060Sbaptfi
312228060Sbapt
313228060Sbaptif as_func_ret_failure; then
314228060Sbapt  exitcode=1
315228060Sbapt  echo as_func_ret_failure succeeded.
316228060Sbaptfi
317228060Sbapt
318228060Sbaptif ( set x; as_func_ret_success y && test x = "$1" ); then
319228060Sbapt  :
320228060Sbaptelse
321228060Sbapt  exitcode=1
322228060Sbapt  echo positional parameters were not saved.
323228060Sbaptfi
324228060Sbapt
325228060Sbapttest $exitcode = 0) || { (exit 1); exit 1; }
326228060Sbapt
327228060Sbapt(
328228060Sbapt  as_lineno_1=$LINENO
329228060Sbapt  as_lineno_2=$LINENO
330228060Sbapt  test "x$as_lineno_1" != "x$as_lineno_2" &&
331228060Sbapt  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332228060Sbapt
333228060Sbapt_ASEOF
334228060Sbapt}; then
335228060Sbapt  break
336228060Sbaptfi
337228060Sbapt
338228060Sbaptfi
339228060Sbapt
340228060Sbapt      done
341228060Sbapt
342228060Sbapt      if test "x$CONFIG_SHELL" != x; then
343228060Sbapt  for as_var in BASH_ENV ENV
344228060Sbapt        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345228060Sbapt        done
346228060Sbapt        export CONFIG_SHELL
347228060Sbapt        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348228060Sbaptfi
349228060Sbapt
350228060Sbapt
351228060Sbapt    if test $as_have_required = no; then
352228060Sbapt  echo This script requires a shell more modern than all the
353228060Sbapt      echo shells that I found on your system.  Please install a
354228060Sbapt      echo modern shell, or manually run the script under such a
355228060Sbapt      echo shell if you do have one.
356228060Sbapt      { (exit 1); exit 1; }
357228060Sbaptfi
358228060Sbapt
359228060Sbapt
360228060Sbaptfi
361228060Sbapt
362228060Sbaptfi
363228060Sbapt
364228060Sbapt
365228060Sbapt
366228060Sbapt(eval "as_func_return () {
367228060Sbapt  (exit \$1)
368228060Sbapt}
369228060Sbaptas_func_success () {
370228060Sbapt  as_func_return 0
371228060Sbapt}
372228060Sbaptas_func_failure () {
373228060Sbapt  as_func_return 1
374228060Sbapt}
375228060Sbaptas_func_ret_success () {
376228060Sbapt  return 0
377228060Sbapt}
378228060Sbaptas_func_ret_failure () {
379228060Sbapt  return 1
380228060Sbapt}
381228060Sbapt
382228060Sbaptexitcode=0
383228060Sbaptif as_func_success; then
384228060Sbapt  :
385228060Sbaptelse
386228060Sbapt  exitcode=1
387228060Sbapt  echo as_func_success failed.
388228060Sbaptfi
389228060Sbapt
390228060Sbaptif as_func_failure; then
391228060Sbapt  exitcode=1
392228060Sbapt  echo as_func_failure succeeded.
393228060Sbaptfi
394228060Sbapt
395228060Sbaptif as_func_ret_success; then
396228060Sbapt  :
397228060Sbaptelse
398228060Sbapt  exitcode=1
399228060Sbapt  echo as_func_ret_success failed.
400228060Sbaptfi
401228060Sbapt
402228060Sbaptif as_func_ret_failure; then
403228060Sbapt  exitcode=1
404228060Sbapt  echo as_func_ret_failure succeeded.
405228060Sbaptfi
406228060Sbapt
407228060Sbaptif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408228060Sbapt  :
409228060Sbaptelse
410228060Sbapt  exitcode=1
411228060Sbapt  echo positional parameters were not saved.
412228060Sbaptfi
413228060Sbapt
414228060Sbapttest \$exitcode = 0") || {
415228060Sbapt  echo No shell found that supports shell functions.
416228060Sbapt  echo Please tell autoconf@gnu.org about your system,
417228060Sbapt  echo including any error possibly output before this
418228060Sbapt  echo message
419228060Sbapt}
420228060Sbapt
421228060Sbapt
422228060Sbapt
423228060Sbapt  as_lineno_1=$LINENO
424228060Sbapt  as_lineno_2=$LINENO
425228060Sbapt  test "x$as_lineno_1" != "x$as_lineno_2" &&
426228060Sbapt  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427228060Sbapt
428228060Sbapt  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429228060Sbapt  # uniformly replaced by the line number.  The first 'sed' inserts a
430228060Sbapt  # line-number line after each line using $LINENO; the second 'sed'
431228060Sbapt  # does the real work.  The second script uses 'N' to pair each
432228060Sbapt  # line-number line with the line containing $LINENO, and appends
433228060Sbapt  # trailing '-' during substitution so that $LINENO is not a special
434228060Sbapt  # case at line end.
435228060Sbapt  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436228060Sbapt  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437228060Sbapt  # E. McMahon (1931-1989) for sed's syntax.  :-)
438228060Sbapt  sed -n '
439228060Sbapt    p
440228060Sbapt    /[$]LINENO/=
441228060Sbapt  ' <$as_myself |
442228060Sbapt    sed '
443228060Sbapt      s/[$]LINENO.*/&-/
444228060Sbapt      t lineno
445228060Sbapt      b
446228060Sbapt      :lineno
447228060Sbapt      N
448228060Sbapt      :loop
449228060Sbapt      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450228060Sbapt      t loop
451228060Sbapt      s/-\n.*//
452228060Sbapt    ' >$as_me.lineno &&
453228060Sbapt  chmod +x "$as_me.lineno" ||
454228060Sbapt    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455228060Sbapt   { (exit 1); exit 1; }; }
456228060Sbapt
457228060Sbapt  # Don't try to exec as it changes $[0], causing all sort of problems
458228060Sbapt  # (the dirname of $[0] is not the place where we might find the
459228060Sbapt  # original and so on.  Autoconf is especially sensitive to this).
460228060Sbapt  . "./$as_me.lineno"
461228060Sbapt  # Exit status is that of the last command.
462228060Sbapt  exit
463228060Sbapt}
464228060Sbapt
465228060Sbapt
466228060Sbaptif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467228060Sbapt  as_dirname=dirname
468228060Sbaptelse
469228060Sbapt  as_dirname=false
470228060Sbaptfi
471228060Sbapt
472228060SbaptECHO_C= ECHO_N= ECHO_T=
473228060Sbaptcase `echo -n x` in
474228060Sbapt-n*)
475228060Sbapt  case `echo 'x\c'` in
476228060Sbapt  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477228060Sbapt  *)   ECHO_C='\c';;
478228060Sbapt  esac;;
479228060Sbapt*)
480228060Sbapt  ECHO_N='-n';;
481228060Sbaptesac
482228060Sbapt
483228060Sbaptif expr a : '\(a\)' >/dev/null 2>&1 &&
484228060Sbapt   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485228060Sbapt  as_expr=expr
486228060Sbaptelse
487228060Sbapt  as_expr=false
488228060Sbaptfi
489228060Sbapt
490228060Sbaptrm -f conf$$ conf$$.exe conf$$.file
491228060Sbaptif test -d conf$$.dir; then
492228060Sbapt  rm -f conf$$.dir/conf$$.file
493228060Sbaptelse
494228060Sbapt  rm -f conf$$.dir
495228060Sbapt  mkdir conf$$.dir
496228060Sbaptfi
497228060Sbaptecho >conf$$.file
498228060Sbaptif ln -s conf$$.file conf$$ 2>/dev/null; then
499228060Sbapt  as_ln_s='ln -s'
500228060Sbapt  # ... but there are two gotchas:
501228060Sbapt  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502228060Sbapt  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503228060Sbapt  # In both cases, we have to default to `cp -p'.
504228060Sbapt  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505228060Sbapt    as_ln_s='cp -p'
506228060Sbaptelif ln conf$$.file conf$$ 2>/dev/null; then
507228060Sbapt  as_ln_s=ln
508228060Sbaptelse
509228060Sbapt  as_ln_s='cp -p'
510228060Sbaptfi
511228060Sbaptrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512228060Sbaptrmdir conf$$.dir 2>/dev/null
513228060Sbapt
514228060Sbaptif mkdir -p . 2>/dev/null; then
515228060Sbapt  as_mkdir_p=:
516228060Sbaptelse
517228060Sbapt  test -d ./-p && rmdir ./-p
518228060Sbapt  as_mkdir_p=false
519228060Sbaptfi
520228060Sbapt
521228060Sbaptif test -x / >/dev/null 2>&1; then
522228060Sbapt  as_test_x='test -x'
523228060Sbaptelse
524228060Sbapt  if ls -dL / >/dev/null 2>&1; then
525228060Sbapt    as_ls_L_option=L
526228060Sbapt  else
527228060Sbapt    as_ls_L_option=
528228060Sbapt  fi
529228060Sbapt  as_test_x='
530228060Sbapt    eval sh -c '\''
531228060Sbapt      if test -d "$1"; then
532228060Sbapt        test -d "$1/.";
533228060Sbapt      else
534228060Sbapt	case $1 in
535228060Sbapt        -*)set "./$1";;
536228060Sbapt	esac;
537228060Sbapt	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538228060Sbapt	???[sx]*):;;*)false;;esac;fi
539228060Sbapt    '\'' sh
540228060Sbapt  '
541228060Sbaptfi
542228060Sbaptas_executable_p=$as_test_x
543228060Sbapt
544228060Sbapt# Sed expression to map a string onto a valid CPP name.
545228060Sbaptas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546228060Sbapt
547228060Sbapt# Sed expression to map a string onto a valid variable name.
548228060Sbaptas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549228060Sbapt
550228060Sbapt
551228060Sbapt
552228060Sbaptexec 7<&0 </dev/null 6>&1
553228060Sbapt
554228060Sbapt# Name of the host.
555228060Sbapt# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556228060Sbapt# so uname gets run too.
557228060Sbaptac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558228060Sbapt
559228060Sbapt#
560228060Sbapt# Initializations.
561228060Sbapt#
56258551Skrisac_default_prefix=/usr/local
563228060Sbaptac_clean_files=
564228060Sbaptac_config_libobj_dir=.
565228060SbaptLIBOBJS=
566228060Sbaptcross_compiling=no
567228060Sbaptsubdirs=
568228060SbaptMFLAGS=
569228060SbaptMAKEFLAGS=
570228060SbaptSHELL=${CONFIG_SHELL-/bin/sh}
57158551Skris
572228060Sbapt# Identity of this package.
573228060SbaptPACKAGE_NAME=
574228060SbaptPACKAGE_TARNAME=
575228060SbaptPACKAGE_VERSION=
576228060SbaptPACKAGE_STRING=
577228060SbaptPACKAGE_BUGREPORT=
578228060Sbapt
579228060Sbaptac_unique_file="doc/gperf.1"
580228060Sbaptac_subst_vars='SHELL
581228060SbaptPATH_SEPARATOR
582228060SbaptPACKAGE_NAME
583228060SbaptPACKAGE_TARNAME
584228060SbaptPACKAGE_VERSION
585228060SbaptPACKAGE_STRING
586228060SbaptPACKAGE_BUGREPORT
587228060Sbaptexec_prefix
588228060Sbaptprefix
589228060Sbaptprogram_transform_name
590228060Sbaptbindir
591228060Sbaptsbindir
592228060Sbaptlibexecdir
593228060Sbaptdatarootdir
594228060Sbaptdatadir
595228060Sbaptsysconfdir
596228060Sbaptsharedstatedir
597228060Sbaptlocalstatedir
598228060Sbaptincludedir
599228060Sbaptoldincludedir
600228060Sbaptdocdir
601228060Sbaptinfodir
602228060Sbapthtmldir
603228060Sbaptdvidir
604228060Sbaptpdfdir
605228060Sbaptpsdir
606228060Sbaptlibdir
607228060Sbaptlocaledir
608228060Sbaptmandir
609228060SbaptDEFS
610228060SbaptECHO_C
611228060SbaptECHO_N
612228060SbaptECHO_T
613228060SbaptLIBS
614228060Sbaptbuild_alias
615228060Sbapthost_alias
616228060Sbapttarget_alias
617228060SbaptSET_MAKE
618228060Sbaptsubdirs
619228060SbaptLIBOBJS
620228060SbaptLTLIBOBJS'
621228060Sbaptac_subst_files=''
622228060Sbapt      ac_precious_vars='build_alias
623228060Sbapthost_alias
624228060Sbapttarget_alias'
625228060Sbaptac_subdirs_all='lib src tests doc'
626228060Sbapt
62758551Skris# Initialize some variables set by options.
628228060Sbaptac_init_help=
629228060Sbaptac_init_version=false
63058551Skris# The variables have the same names as the options, with
63158551Skris# dashes changed to underlines.
632228060Sbaptcache_file=/dev/null
63358551Skrisexec_prefix=NONE
63458551Skrisno_create=
63558551Skrisno_recursion=
63658551Skrisprefix=NONE
63758551Skrisprogram_prefix=NONE
63858551Skrisprogram_suffix=NONE
63958551Skrisprogram_transform_name=s,x,x,
64058551Skrissilent=
64158551Skrissite=
64258551Skrissrcdir=
64358551Skrisverbose=
64458551Skrisx_includes=NONE
64558551Skrisx_libraries=NONE
646228060Sbapt
647228060Sbapt# Installation directory options.
648228060Sbapt# These are left unexpanded so users can "make install exec_prefix=/foo"
649228060Sbapt# and all the variables that are supposed to be based on exec_prefix
650228060Sbapt# by default will actually change.
651228060Sbapt# Use braces instead of parens because sh, perl, etc. also accept them.
652228060Sbapt# (The list follows the same order as the GNU Coding Standards.)
65358551Skrisbindir='${exec_prefix}/bin'
65458551Skrissbindir='${exec_prefix}/sbin'
65558551Skrislibexecdir='${exec_prefix}/libexec'
656228060Sbaptdatarootdir='${prefix}/share'
657228060Sbaptdatadir='${datarootdir}'
65858551Skrissysconfdir='${prefix}/etc'
65958551Skrissharedstatedir='${prefix}/com'
66058551Skrislocalstatedir='${prefix}/var'
66158551Skrisincludedir='${prefix}/include'
66258551Skrisoldincludedir='/usr/include'
663228060Sbaptdocdir='${datarootdir}/doc/${PACKAGE}'
664228060Sbaptinfodir='${datarootdir}/info'
665228060Sbapthtmldir='${docdir}'
666228060Sbaptdvidir='${docdir}'
667228060Sbaptpdfdir='${docdir}'
668228060Sbaptpsdir='${docdir}'
669228060Sbaptlibdir='${exec_prefix}/lib'
670228060Sbaptlocaledir='${datarootdir}/locale'
671228060Sbaptmandir='${datarootdir}/man'
67258551Skris
67358551Skrisac_prev=
674228060Sbaptac_dashdash=
67558551Skrisfor ac_option
67658551Skrisdo
67758551Skris  # If the previous option needs an argument, assign it.
67858551Skris  if test -n "$ac_prev"; then
679228060Sbapt    eval $ac_prev=\$ac_option
68058551Skris    ac_prev=
68158551Skris    continue
68258551Skris  fi
68358551Skris
684228060Sbapt  case $ac_option in
685228060Sbapt  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
686228060Sbapt  *)	ac_optarg=yes ;;
68758551Skris  esac
68858551Skris
68958551Skris  # Accept the important Cygnus configure options, so we can diagnose typos.
69058551Skris
691228060Sbapt  case $ac_dashdash$ac_option in
692228060Sbapt  --)
693228060Sbapt    ac_dashdash=yes ;;
69458551Skris
69558551Skris  -bindir | --bindir | --bindi | --bind | --bin | --bi)
69658551Skris    ac_prev=bindir ;;
69758551Skris  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
698228060Sbapt    bindir=$ac_optarg ;;
69958551Skris
70058551Skris  -build | --build | --buil | --bui | --bu)
701228060Sbapt    ac_prev=build_alias ;;
70258551Skris  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
703228060Sbapt    build_alias=$ac_optarg ;;
70458551Skris
70558551Skris  -cache-file | --cache-file | --cache-fil | --cache-fi \
70658551Skris  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
70758551Skris    ac_prev=cache_file ;;
70858551Skris  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
70958551Skris  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
710228060Sbapt    cache_file=$ac_optarg ;;
71158551Skris
712228060Sbapt  --config-cache | -C)
713228060Sbapt    cache_file=config.cache ;;
714228060Sbapt
715228060Sbapt  -datadir | --datadir | --datadi | --datad)
71658551Skris    ac_prev=datadir ;;
717228060Sbapt  -datadir=* | --datadir=* | --datadi=* | --datad=*)
718228060Sbapt    datadir=$ac_optarg ;;
71958551Skris
720228060Sbapt  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
721228060Sbapt  | --dataroo | --dataro | --datar)
722228060Sbapt    ac_prev=datarootdir ;;
723228060Sbapt  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
724228060Sbapt  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
725228060Sbapt    datarootdir=$ac_optarg ;;
726228060Sbapt
72758551Skris  -disable-* | --disable-*)
728228060Sbapt    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
72958551Skris    # Reject names that are not valid shell variable names.
730228060Sbapt    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
731228060Sbapt      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
732228060Sbapt   { (exit 1); exit 1; }; }
733228060Sbapt    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
734228060Sbapt    eval enable_$ac_feature=no ;;
73558551Skris
736228060Sbapt  -docdir | --docdir | --docdi | --doc | --do)
737228060Sbapt    ac_prev=docdir ;;
738228060Sbapt  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
739228060Sbapt    docdir=$ac_optarg ;;
740228060Sbapt
741228060Sbapt  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
742228060Sbapt    ac_prev=dvidir ;;
743228060Sbapt  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
744228060Sbapt    dvidir=$ac_optarg ;;
745228060Sbapt
74658551Skris  -enable-* | --enable-*)
747228060Sbapt    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
74858551Skris    # Reject names that are not valid shell variable names.
749228060Sbapt    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
750228060Sbapt      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
751228060Sbapt   { (exit 1); exit 1; }; }
752228060Sbapt    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
753228060Sbapt    eval enable_$ac_feature=\$ac_optarg ;;
75458551Skris
75558551Skris  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
75658551Skris  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
75758551Skris  | --exec | --exe | --ex)
75858551Skris    ac_prev=exec_prefix ;;
75958551Skris  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
76058551Skris  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
76158551Skris  | --exec=* | --exe=* | --ex=*)
762228060Sbapt    exec_prefix=$ac_optarg ;;
76358551Skris
76458551Skris  -gas | --gas | --ga | --g)
76558551Skris    # Obsolete; use --with-gas.
76658551Skris    with_gas=yes ;;
76758551Skris
768228060Sbapt  -help | --help | --hel | --he | -h)
769228060Sbapt    ac_init_help=long ;;
770228060Sbapt  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
771228060Sbapt    ac_init_help=recursive ;;
772228060Sbapt  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
773228060Sbapt    ac_init_help=short ;;
77458551Skris
77558551Skris  -host | --host | --hos | --ho)
776228060Sbapt    ac_prev=host_alias ;;
77758551Skris  -host=* | --host=* | --hos=* | --ho=*)
778228060Sbapt    host_alias=$ac_optarg ;;
77958551Skris
780228060Sbapt  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
781228060Sbapt    ac_prev=htmldir ;;
782228060Sbapt  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
783228060Sbapt  | --ht=*)
784228060Sbapt    htmldir=$ac_optarg ;;
785228060Sbapt
78658551Skris  -includedir | --includedir | --includedi | --included | --include \
78758551Skris  | --includ | --inclu | --incl | --inc)
78858551Skris    ac_prev=includedir ;;
78958551Skris  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
79058551Skris  | --includ=* | --inclu=* | --incl=* | --inc=*)
791228060Sbapt    includedir=$ac_optarg ;;
79258551Skris
79358551Skris  -infodir | --infodir | --infodi | --infod | --info | --inf)
79458551Skris    ac_prev=infodir ;;
79558551Skris  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
796228060Sbapt    infodir=$ac_optarg ;;
79758551Skris
79858551Skris  -libdir | --libdir | --libdi | --libd)
79958551Skris    ac_prev=libdir ;;
80058551Skris  -libdir=* | --libdir=* | --libdi=* | --libd=*)
801228060Sbapt    libdir=$ac_optarg ;;
80258551Skris
80358551Skris  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
80458551Skris  | --libexe | --libex | --libe)
80558551Skris    ac_prev=libexecdir ;;
80658551Skris  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
80758551Skris  | --libexe=* | --libex=* | --libe=*)
808228060Sbapt    libexecdir=$ac_optarg ;;
80958551Skris
810228060Sbapt  -localedir | --localedir | --localedi | --localed | --locale)
811228060Sbapt    ac_prev=localedir ;;
812228060Sbapt  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
813228060Sbapt    localedir=$ac_optarg ;;
814228060Sbapt
81558551Skris  -localstatedir | --localstatedir | --localstatedi | --localstated \
816228060Sbapt  | --localstate | --localstat | --localsta | --localst | --locals)
81758551Skris    ac_prev=localstatedir ;;
81858551Skris  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
819228060Sbapt  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
820228060Sbapt    localstatedir=$ac_optarg ;;
82158551Skris
82258551Skris  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
82358551Skris    ac_prev=mandir ;;
82458551Skris  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
825228060Sbapt    mandir=$ac_optarg ;;
82658551Skris
82758551Skris  -nfp | --nfp | --nf)
82858551Skris    # Obsolete; use --without-fp.
82958551Skris    with_fp=no ;;
83058551Skris
83158551Skris  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
832228060Sbapt  | --no-cr | --no-c | -n)
83358551Skris    no_create=yes ;;
83458551Skris
83558551Skris  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
83658551Skris  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
83758551Skris    no_recursion=yes ;;
83858551Skris
83958551Skris  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
84058551Skris  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
84158551Skris  | --oldin | --oldi | --old | --ol | --o)
84258551Skris    ac_prev=oldincludedir ;;
84358551Skris  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
84458551Skris  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
84558551Skris  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
846228060Sbapt    oldincludedir=$ac_optarg ;;
84758551Skris
84858551Skris  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
84958551Skris    ac_prev=prefix ;;
85058551Skris  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
851228060Sbapt    prefix=$ac_optarg ;;
85258551Skris
85358551Skris  -program-prefix | --program-prefix | --program-prefi | --program-pref \
85458551Skris  | --program-pre | --program-pr | --program-p)
85558551Skris    ac_prev=program_prefix ;;
85658551Skris  -program-prefix=* | --program-prefix=* | --program-prefi=* \
85758551Skris  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
858228060Sbapt    program_prefix=$ac_optarg ;;
85958551Skris
86058551Skris  -program-suffix | --program-suffix | --program-suffi | --program-suff \
86158551Skris  | --program-suf | --program-su | --program-s)
86258551Skris    ac_prev=program_suffix ;;
86358551Skris  -program-suffix=* | --program-suffix=* | --program-suffi=* \
86458551Skris  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
865228060Sbapt    program_suffix=$ac_optarg ;;
86658551Skris
86758551Skris  -program-transform-name | --program-transform-name \
86858551Skris  | --program-transform-nam | --program-transform-na \
86958551Skris  | --program-transform-n | --program-transform- \
87058551Skris  | --program-transform | --program-transfor \
87158551Skris  | --program-transfo | --program-transf \
87258551Skris  | --program-trans | --program-tran \
87358551Skris  | --progr-tra | --program-tr | --program-t)
87458551Skris    ac_prev=program_transform_name ;;
87558551Skris  -program-transform-name=* | --program-transform-name=* \
87658551Skris  | --program-transform-nam=* | --program-transform-na=* \
87758551Skris  | --program-transform-n=* | --program-transform-=* \
87858551Skris  | --program-transform=* | --program-transfor=* \
87958551Skris  | --program-transfo=* | --program-transf=* \
88058551Skris  | --program-trans=* | --program-tran=* \
88158551Skris  | --progr-tra=* | --program-tr=* | --program-t=*)
882228060Sbapt    program_transform_name=$ac_optarg ;;
88358551Skris
884228060Sbapt  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
885228060Sbapt    ac_prev=pdfdir ;;
886228060Sbapt  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
887228060Sbapt    pdfdir=$ac_optarg ;;
888228060Sbapt
889228060Sbapt  -psdir | --psdir | --psdi | --psd | --ps)
890228060Sbapt    ac_prev=psdir ;;
891228060Sbapt  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
892228060Sbapt    psdir=$ac_optarg ;;
893228060Sbapt
89458551Skris  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89558551Skris  | -silent | --silent | --silen | --sile | --sil)
89658551Skris    silent=yes ;;
89758551Skris
89858551Skris  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
89958551Skris    ac_prev=sbindir ;;
90058551Skris  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
90158551Skris  | --sbi=* | --sb=*)
902228060Sbapt    sbindir=$ac_optarg ;;
90358551Skris
90458551Skris  -sharedstatedir | --sharedstatedir | --sharedstatedi \
90558551Skris  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
90658551Skris  | --sharedst | --shareds | --shared | --share | --shar \
90758551Skris  | --sha | --sh)
90858551Skris    ac_prev=sharedstatedir ;;
90958551Skris  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
91058551Skris  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
91158551Skris  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
91258551Skris  | --sha=* | --sh=*)
913228060Sbapt    sharedstatedir=$ac_optarg ;;
91458551Skris
91558551Skris  -site | --site | --sit)
91658551Skris    ac_prev=site ;;
91758551Skris  -site=* | --site=* | --sit=*)
918228060Sbapt    site=$ac_optarg ;;
91958551Skris
92058551Skris  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
92158551Skris    ac_prev=srcdir ;;
92258551Skris  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
923228060Sbapt    srcdir=$ac_optarg ;;
92458551Skris
92558551Skris  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
92658551Skris  | --syscon | --sysco | --sysc | --sys | --sy)
92758551Skris    ac_prev=sysconfdir ;;
92858551Skris  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
92958551Skris  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
930228060Sbapt    sysconfdir=$ac_optarg ;;
93158551Skris
93258551Skris  -target | --target | --targe | --targ | --tar | --ta | --t)
933228060Sbapt    ac_prev=target_alias ;;
93458551Skris  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
935228060Sbapt    target_alias=$ac_optarg ;;
93658551Skris
93758551Skris  -v | -verbose | --verbose | --verbos | --verbo | --verb)
93858551Skris    verbose=yes ;;
93958551Skris
940228060Sbapt  -version | --version | --versio | --versi | --vers | -V)
941228060Sbapt    ac_init_version=: ;;
94258551Skris
94358551Skris  -with-* | --with-*)
944228060Sbapt    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
94558551Skris    # Reject names that are not valid shell variable names.
946228060Sbapt    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
947228060Sbapt      { echo "$as_me: error: invalid package name: $ac_package" >&2
948228060Sbapt   { (exit 1); exit 1; }; }
949228060Sbapt    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
950228060Sbapt    eval with_$ac_package=\$ac_optarg ;;
95158551Skris
95258551Skris  -without-* | --without-*)
953228060Sbapt    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
95458551Skris    # Reject names that are not valid shell variable names.
955228060Sbapt    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
956228060Sbapt      { echo "$as_me: error: invalid package name: $ac_package" >&2
957228060Sbapt   { (exit 1); exit 1; }; }
958228060Sbapt    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
959228060Sbapt    eval with_$ac_package=no ;;
96058551Skris
96158551Skris  --x)
96258551Skris    # Obsolete; use --with-x.
96358551Skris    with_x=yes ;;
96458551Skris
96558551Skris  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
96658551Skris  | --x-incl | --x-inc | --x-in | --x-i)
96758551Skris    ac_prev=x_includes ;;
96858551Skris  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
96958551Skris  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
970228060Sbapt    x_includes=$ac_optarg ;;
97158551Skris
97258551Skris  -x-libraries | --x-libraries | --x-librarie | --x-librari \
97358551Skris  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
97458551Skris    ac_prev=x_libraries ;;
97558551Skris  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
97658551Skris  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
977228060Sbapt    x_libraries=$ac_optarg ;;
97858551Skris
979228060Sbapt  -*) { echo "$as_me: error: unrecognized option: $ac_option
980228060SbaptTry \`$0 --help' for more information." >&2
981228060Sbapt   { (exit 1); exit 1; }; }
98258551Skris    ;;
98358551Skris
984228060Sbapt  *=*)
985228060Sbapt    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
986228060Sbapt    # Reject names that are not valid shell variable names.
987228060Sbapt    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
988228060Sbapt      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
989228060Sbapt   { (exit 1); exit 1; }; }
990228060Sbapt    eval $ac_envvar=\$ac_optarg
991228060Sbapt    export $ac_envvar ;;
992228060Sbapt
99358551Skris  *)
994228060Sbapt    # FIXME: should be removed in autoconf 3.0.
995228060Sbapt    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
996228060Sbapt    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
997228060Sbapt      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
998228060Sbapt    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
99958551Skris    ;;
100058551Skris
100158551Skris  esac
100258551Skrisdone
100358551Skris
100458551Skrisif test -n "$ac_prev"; then
1005228060Sbapt  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1006228060Sbapt  { echo "$as_me: error: missing argument to $ac_option" >&2
1007228060Sbapt   { (exit 1); exit 1; }; }
100858551Skrisfi
100958551Skris
1010228060Sbapt# Be sure to have absolute directory names.
1011228060Sbaptfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1012228060Sbapt		datadir sysconfdir sharedstatedir localstatedir includedir \
1013228060Sbapt		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1014228060Sbapt		libdir localedir mandir
1015228060Sbaptdo
1016228060Sbapt  eval ac_val=\$$ac_var
1017228060Sbapt  case $ac_val in
1018228060Sbapt    [\\/$]* | ?:[\\/]* )  continue;;
1019228060Sbapt    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1020228060Sbapt  esac
1021228060Sbapt  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1022228060Sbapt   { (exit 1); exit 1; }; }
1023228060Sbaptdone
102458551Skris
1025228060Sbapt# There might be people who depend on the old broken behavior: `$host'
1026228060Sbapt# used to hold the argument of --host etc.
1027228060Sbapt# FIXME: To remove some day.
1028228060Sbaptbuild=$build_alias
1029228060Sbapthost=$host_alias
1030228060Sbapttarget=$target_alias
1031228060Sbapt
1032228060Sbapt# FIXME: To remove some day.
1033228060Sbaptif test "x$host_alias" != x; then
1034228060Sbapt  if test "x$build_alias" = x; then
1035228060Sbapt    cross_compiling=maybe
1036228060Sbapt    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1037228060Sbapt    If a cross compiler is detected then cross compile mode will be used." >&2
1038228060Sbapt  elif test "x$build_alias" != "x$host_alias"; then
1039228060Sbapt    cross_compiling=yes
1040228060Sbapt  fi
104158551Skrisfi
104258551Skris
1043228060Sbaptac_tool_prefix=
1044228060Sbapttest -n "$host_alias" && ac_tool_prefix=$host_alias-
104558551Skris
1046228060Sbapttest "$silent" = yes && exec 6>/dev/null
104758551Skris
104858551Skris
1049228060Sbaptac_pwd=`pwd` && test -n "$ac_pwd" &&
1050228060Sbaptac_ls_di=`ls -di .` &&
1051228060Sbaptac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1052228060Sbapt  { echo "$as_me: error: Working directory cannot be determined" >&2
1053228060Sbapt   { (exit 1); exit 1; }; }
1054228060Sbapttest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1055228060Sbapt  { echo "$as_me: error: pwd does not report name of working directory" >&2
1056228060Sbapt   { (exit 1); exit 1; }; }
105758551Skris
105858551Skris
105958551Skris# Find the source files, if location was not specified.
106058551Skrisif test -z "$srcdir"; then
106158551Skris  ac_srcdir_defaulted=yes
1062228060Sbapt  # Try the directory containing this script, then the parent directory.
1063228060Sbapt  ac_confdir=`$as_dirname -- "$0" ||
1064228060Sbapt$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1065228060Sbapt	 X"$0" : 'X\(//\)[^/]' \| \
1066228060Sbapt	 X"$0" : 'X\(//\)$' \| \
1067228060Sbapt	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1068228060Sbaptecho X"$0" |
1069228060Sbapt    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1070228060Sbapt	    s//\1/
1071228060Sbapt	    q
1072228060Sbapt	  }
1073228060Sbapt	  /^X\(\/\/\)[^/].*/{
1074228060Sbapt	    s//\1/
1075228060Sbapt	    q
1076228060Sbapt	  }
1077228060Sbapt	  /^X\(\/\/\)$/{
1078228060Sbapt	    s//\1/
1079228060Sbapt	    q
1080228060Sbapt	  }
1081228060Sbapt	  /^X\(\/\).*/{
1082228060Sbapt	    s//\1/
1083228060Sbapt	    q
1084228060Sbapt	  }
1085228060Sbapt	  s/.*/./; q'`
108658551Skris  srcdir=$ac_confdir
1087228060Sbapt  if test ! -r "$srcdir/$ac_unique_file"; then
108858551Skris    srcdir=..
108958551Skris  fi
109058551Skriselse
109158551Skris  ac_srcdir_defaulted=no
109258551Skrisfi
1093228060Sbaptif test ! -r "$srcdir/$ac_unique_file"; then
1094228060Sbapt  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1095228060Sbapt  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1096228060Sbapt   { (exit 1); exit 1; }; }
109758551Skrisfi
1098228060Sbaptac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1099228060Sbaptac_abs_confdir=`(
1100228060Sbapt	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1101228060Sbapt   { (exit 1); exit 1; }; }
1102228060Sbapt	pwd)`
1103228060Sbapt# When building in place, set srcdir=.
1104228060Sbaptif test "$ac_abs_confdir" = "$ac_pwd"; then
1105228060Sbapt  srcdir=.
1106228060Sbaptfi
1107228060Sbapt# Remove unnecessary trailing slashes from srcdir.
1108228060Sbapt# Double slashes in file names in object file debugging info
1109228060Sbapt# mess up M-x gdb in Emacs.
1110228060Sbaptcase $srcdir in
1111228060Sbapt*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1112228060Sbaptesac
1113228060Sbaptfor ac_var in $ac_precious_vars; do
1114228060Sbapt  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1115228060Sbapt  eval ac_env_${ac_var}_value=\$${ac_var}
1116228060Sbapt  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1117228060Sbapt  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1118228060Sbaptdone
111958551Skris
1120228060Sbapt#
1121228060Sbapt# Report the --help message.
1122228060Sbapt#
1123228060Sbaptif test "$ac_init_help" = "long"; then
1124228060Sbapt  # Omit some internal or obsolete options to make the list less imposing.
1125228060Sbapt  # This message is too long to be a string in the A/UX 3.1 sh.
1126228060Sbapt  cat <<_ACEOF
1127228060Sbapt\`configure' configures this package to adapt to many kinds of systems.
1128228060Sbapt
1129228060SbaptUsage: $0 [OPTION]... [VAR=VALUE]...
1130228060Sbapt
1131228060SbaptTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1132228060SbaptVAR=VALUE.  See below for descriptions of some of the useful variables.
1133228060Sbapt
1134228060SbaptDefaults for the options are specified in brackets.
1135228060Sbapt
1136228060SbaptConfiguration:
1137228060Sbapt  -h, --help              display this help and exit
1138228060Sbapt      --help=short        display options specific to this package
1139228060Sbapt      --help=recursive    display the short help of all the included packages
1140228060Sbapt  -V, --version           display version information and exit
1141228060Sbapt  -q, --quiet, --silent   do not print \`checking...' messages
1142228060Sbapt      --cache-file=FILE   cache test results in FILE [disabled]
1143228060Sbapt  -C, --config-cache      alias for \`--cache-file=config.cache'
1144228060Sbapt  -n, --no-create         do not create output files
1145228060Sbapt      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1146228060Sbapt
1147228060SbaptInstallation directories:
1148228060Sbapt  --prefix=PREFIX         install architecture-independent files in PREFIX
1149228060Sbapt			  [$ac_default_prefix]
1150228060Sbapt  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1151228060Sbapt			  [PREFIX]
1152228060Sbapt
1153228060SbaptBy default, \`make install' will install all the files in
1154228060Sbapt\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1155228060Sbaptan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1156228060Sbaptfor instance \`--prefix=\$HOME'.
1157228060Sbapt
1158228060SbaptFor better control, use the options below.
1159228060Sbapt
1160228060SbaptFine tuning of the installation directories:
1161228060Sbapt  --bindir=DIR           user executables [EPREFIX/bin]
1162228060Sbapt  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1163228060Sbapt  --libexecdir=DIR       program executables [EPREFIX/libexec]
1164228060Sbapt  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1165228060Sbapt  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1166228060Sbapt  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1167228060Sbapt  --libdir=DIR           object code libraries [EPREFIX/lib]
1168228060Sbapt  --includedir=DIR       C header files [PREFIX/include]
1169228060Sbapt  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1170228060Sbapt  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1171228060Sbapt  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1172228060Sbapt  --infodir=DIR          info documentation [DATAROOTDIR/info]
1173228060Sbapt  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1174228060Sbapt  --mandir=DIR           man documentation [DATAROOTDIR/man]
1175228060Sbapt  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1176228060Sbapt  --htmldir=DIR          html documentation [DOCDIR]
1177228060Sbapt  --dvidir=DIR           dvi documentation [DOCDIR]
1178228060Sbapt  --pdfdir=DIR           pdf documentation [DOCDIR]
1179228060Sbapt  --psdir=DIR            ps documentation [DOCDIR]
1180228060Sbapt_ACEOF
1181228060Sbapt
1182228060Sbapt  cat <<\_ACEOF
1183228060Sbapt_ACEOF
1184228060Sbaptfi
1185228060Sbapt
1186228060Sbaptif test -n "$ac_init_help"; then
1187228060Sbapt
1188228060Sbapt  cat <<\_ACEOF
1189228060Sbapt
1190228060Sbapt_ACEOF
1191228060Sbaptac_status=$?
1192228060Sbaptfi
1193228060Sbapt
1194228060Sbaptif test "$ac_init_help" = "recursive"; then
1195228060Sbapt  # If there are subdirs, report their specific --help.
1196228060Sbapt  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1197228060Sbapt    test -d "$ac_dir" || continue
1198228060Sbapt    ac_builddir=.
1199228060Sbapt
1200228060Sbaptcase "$ac_dir" in
1201228060Sbapt.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1202228060Sbapt*)
1203228060Sbapt  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1204228060Sbapt  # A ".." for each directory in $ac_dir_suffix.
1205228060Sbapt  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1206228060Sbapt  case $ac_top_builddir_sub in
1207228060Sbapt  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1208228060Sbapt  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1209228060Sbapt  esac ;;
1210228060Sbaptesac
1211228060Sbaptac_abs_top_builddir=$ac_pwd
1212228060Sbaptac_abs_builddir=$ac_pwd$ac_dir_suffix
1213228060Sbapt# for backward compatibility:
1214228060Sbaptac_top_builddir=$ac_top_build_prefix
1215228060Sbapt
1216228060Sbaptcase $srcdir in
1217228060Sbapt  .)  # We are building in place.
1218228060Sbapt    ac_srcdir=.
1219228060Sbapt    ac_top_srcdir=$ac_top_builddir_sub
1220228060Sbapt    ac_abs_top_srcdir=$ac_pwd ;;
1221228060Sbapt  [\\/]* | ?:[\\/]* )  # Absolute name.
1222228060Sbapt    ac_srcdir=$srcdir$ac_dir_suffix;
1223228060Sbapt    ac_top_srcdir=$srcdir
1224228060Sbapt    ac_abs_top_srcdir=$srcdir ;;
1225228060Sbapt  *) # Relative name.
1226228060Sbapt    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1227228060Sbapt    ac_top_srcdir=$ac_top_build_prefix$srcdir
1228228060Sbapt    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1229228060Sbaptesac
1230228060Sbaptac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1231228060Sbapt
1232228060Sbapt    cd "$ac_dir" || { ac_status=$?; continue; }
1233228060Sbapt    # Check for guested configure.
1234228060Sbapt    if test -f "$ac_srcdir/configure.gnu"; then
1235228060Sbapt      echo &&
1236228060Sbapt      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1237228060Sbapt    elif test -f "$ac_srcdir/configure"; then
1238228060Sbapt      echo &&
1239228060Sbapt      $SHELL "$ac_srcdir/configure" --help=recursive
1240228060Sbapt    else
1241228060Sbapt      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1242228060Sbapt    fi || ac_status=$?
1243228060Sbapt    cd "$ac_pwd" || { ac_status=$?; break; }
1244228060Sbapt  done
1245228060Sbaptfi
1246228060Sbapt
1247228060Sbapttest -n "$ac_init_help" && exit $ac_status
1248228060Sbaptif $ac_init_version; then
1249228060Sbapt  cat <<\_ACEOF
1250228060Sbaptconfigure
1251228060Sbaptgenerated by GNU Autoconf 2.61
1252228060Sbapt
1253228060SbaptCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1254228060Sbapt2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1255228060SbaptThis configure script is free software; the Free Software Foundation
1256228060Sbaptgives unlimited permission to copy, distribute and modify it.
1257228060Sbapt_ACEOF
1258228060Sbapt  exit
1259228060Sbaptfi
1260228060Sbaptcat >config.log <<_ACEOF
1261228060SbaptThis file contains any messages produced by compilers while
1262228060Sbaptrunning configure, to aid debugging if configure makes a mistake.
1263228060Sbapt
1264228060SbaptIt was created by $as_me, which was
1265228060Sbaptgenerated by GNU Autoconf 2.61.  Invocation command line was
1266228060Sbapt
1267228060Sbapt  $ $0 $@
1268228060Sbapt
1269228060Sbapt_ACEOF
1270228060Sbaptexec 5>>config.log
1271228060Sbapt{
1272228060Sbaptcat <<_ASUNAME
1273228060Sbapt## --------- ##
1274228060Sbapt## Platform. ##
1275228060Sbapt## --------- ##
1276228060Sbapt
1277228060Sbapthostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1278228060Sbaptuname -m = `(uname -m) 2>/dev/null || echo unknown`
1279228060Sbaptuname -r = `(uname -r) 2>/dev/null || echo unknown`
1280228060Sbaptuname -s = `(uname -s) 2>/dev/null || echo unknown`
1281228060Sbaptuname -v = `(uname -v) 2>/dev/null || echo unknown`
1282228060Sbapt
1283228060Sbapt/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1284228060Sbapt/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1285228060Sbapt
1286228060Sbapt/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1287228060Sbapt/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1288228060Sbapt/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1289228060Sbapt/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1290228060Sbapt/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1291228060Sbapt/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1292228060Sbapt/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1293228060Sbapt
1294228060Sbapt_ASUNAME
1295228060Sbapt
1296228060Sbaptas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1297228060Sbaptfor as_dir in $PATH
1298228060Sbaptdo
1299228060Sbapt  IFS=$as_save_IFS
1300228060Sbapt  test -z "$as_dir" && as_dir=.
1301228060Sbapt  echo "PATH: $as_dir"
1302228060Sbaptdone
1303228060SbaptIFS=$as_save_IFS
1304228060Sbapt
1305228060Sbapt} >&5
1306228060Sbapt
1307228060Sbaptcat >&5 <<_ACEOF
1308228060Sbapt
1309228060Sbapt
1310228060Sbapt## ----------- ##
1311228060Sbapt## Core tests. ##
1312228060Sbapt## ----------- ##
1313228060Sbapt
1314228060Sbapt_ACEOF
1315228060Sbapt
1316228060Sbapt
1317228060Sbapt# Keep a trace of the command line.
1318228060Sbapt# Strip out --no-create and --no-recursion so they do not pile up.
1319228060Sbapt# Strip out --silent because we don't want to record it for future runs.
1320228060Sbapt# Also quote any args containing shell meta-characters.
1321228060Sbapt# Make two passes to allow for proper duplicate-argument suppression.
1322228060Sbaptac_configure_args=
1323228060Sbaptac_configure_args0=
1324228060Sbaptac_configure_args1=
1325228060Sbaptac_must_keep_next=false
1326228060Sbaptfor ac_pass in 1 2
1327228060Sbaptdo
1328228060Sbapt  for ac_arg
1329228060Sbapt  do
1330228060Sbapt    case $ac_arg in
1331228060Sbapt    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1332228060Sbapt    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1333228060Sbapt    | -silent | --silent | --silen | --sile | --sil)
1334228060Sbapt      continue ;;
1335228060Sbapt    *\'*)
1336228060Sbapt      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1337228060Sbapt    esac
1338228060Sbapt    case $ac_pass in
1339228060Sbapt    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1340228060Sbapt    2)
1341228060Sbapt      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1342228060Sbapt      if test $ac_must_keep_next = true; then
1343228060Sbapt	ac_must_keep_next=false # Got value, back to normal.
1344228060Sbapt      else
1345228060Sbapt	case $ac_arg in
1346228060Sbapt	  *=* | --config-cache | -C | -disable-* | --disable-* \
1347228060Sbapt	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1348228060Sbapt	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1349228060Sbapt	  | -with-* | --with-* | -without-* | --without-* | --x)
1350228060Sbapt	    case "$ac_configure_args0 " in
1351228060Sbapt	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1352228060Sbapt	    esac
1353228060Sbapt	    ;;
1354228060Sbapt	  -* ) ac_must_keep_next=true ;;
1355228060Sbapt	esac
1356228060Sbapt      fi
1357228060Sbapt      ac_configure_args="$ac_configure_args '$ac_arg'"
1358228060Sbapt      ;;
1359228060Sbapt    esac
1360228060Sbapt  done
1361228060Sbaptdone
1362228060Sbapt$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1363228060Sbapt$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1364228060Sbapt
1365228060Sbapt# When interrupted or exit'd, cleanup temporary files, and complete
1366228060Sbapt# config.log.  We remove comments because anyway the quotes in there
1367228060Sbapt# would cause problems or look ugly.
1368228060Sbapt# WARNING: Use '\'' to represent an apostrophe within the trap.
1369228060Sbapt# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1370228060Sbapttrap 'exit_status=$?
1371228060Sbapt  # Save into config.log some information that might help in debugging.
1372228060Sbapt  {
1373228060Sbapt    echo
1374228060Sbapt
1375228060Sbapt    cat <<\_ASBOX
1376228060Sbapt## ---------------- ##
1377228060Sbapt## Cache variables. ##
1378228060Sbapt## ---------------- ##
1379228060Sbapt_ASBOX
1380228060Sbapt    echo
1381228060Sbapt    # The following way of writing the cache mishandles newlines in values,
1382228060Sbapt(
1383228060Sbapt  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1384228060Sbapt    eval ac_val=\$$ac_var
1385228060Sbapt    case $ac_val in #(
1386228060Sbapt    *${as_nl}*)
1387228060Sbapt      case $ac_var in #(
1388228060Sbapt      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1389228060Sbaptecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1390228060Sbapt      esac
1391228060Sbapt      case $ac_var in #(
1392228060Sbapt      _ | IFS | as_nl) ;; #(
1393228060Sbapt      *) $as_unset $ac_var ;;
1394228060Sbapt      esac ;;
1395228060Sbapt    esac
1396228060Sbapt  done
1397228060Sbapt  (set) 2>&1 |
1398228060Sbapt    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1399228060Sbapt    *${as_nl}ac_space=\ *)
1400228060Sbapt      sed -n \
1401228060Sbapt	"s/'\''/'\''\\\\'\'''\''/g;
1402228060Sbapt	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1403228060Sbapt      ;; #(
1404228060Sbapt    *)
1405228060Sbapt      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1406228060Sbapt      ;;
1407228060Sbapt    esac |
1408228060Sbapt    sort
1409228060Sbapt)
1410228060Sbapt    echo
1411228060Sbapt
1412228060Sbapt    cat <<\_ASBOX
1413228060Sbapt## ----------------- ##
1414228060Sbapt## Output variables. ##
1415228060Sbapt## ----------------- ##
1416228060Sbapt_ASBOX
1417228060Sbapt    echo
1418228060Sbapt    for ac_var in $ac_subst_vars
1419228060Sbapt    do
1420228060Sbapt      eval ac_val=\$$ac_var
1421228060Sbapt      case $ac_val in
1422228060Sbapt      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1423228060Sbapt      esac
1424228060Sbapt      echo "$ac_var='\''$ac_val'\''"
1425228060Sbapt    done | sort
1426228060Sbapt    echo
1427228060Sbapt
1428228060Sbapt    if test -n "$ac_subst_files"; then
1429228060Sbapt      cat <<\_ASBOX
1430228060Sbapt## ------------------- ##
1431228060Sbapt## File substitutions. ##
1432228060Sbapt## ------------------- ##
1433228060Sbapt_ASBOX
1434228060Sbapt      echo
1435228060Sbapt      for ac_var in $ac_subst_files
1436228060Sbapt      do
1437228060Sbapt	eval ac_val=\$$ac_var
1438228060Sbapt	case $ac_val in
1439228060Sbapt	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1440228060Sbapt	esac
1441228060Sbapt	echo "$ac_var='\''$ac_val'\''"
1442228060Sbapt      done | sort
1443228060Sbapt      echo
1444228060Sbapt    fi
1445228060Sbapt
1446228060Sbapt    if test -s confdefs.h; then
1447228060Sbapt      cat <<\_ASBOX
1448228060Sbapt## ----------- ##
1449228060Sbapt## confdefs.h. ##
1450228060Sbapt## ----------- ##
1451228060Sbapt_ASBOX
1452228060Sbapt      echo
1453228060Sbapt      cat confdefs.h
1454228060Sbapt      echo
1455228060Sbapt    fi
1456228060Sbapt    test "$ac_signal" != 0 &&
1457228060Sbapt      echo "$as_me: caught signal $ac_signal"
1458228060Sbapt    echo "$as_me: exit $exit_status"
1459228060Sbapt  } >&5
1460228060Sbapt  rm -f core *.core core.conftest.* &&
1461228060Sbapt    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1462228060Sbapt    exit $exit_status
1463228060Sbapt' 0
1464228060Sbaptfor ac_signal in 1 2 13 15; do
1465228060Sbapt  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1466228060Sbaptdone
1467228060Sbaptac_signal=0
1468228060Sbapt
1469228060Sbapt# confdefs.h avoids OS command line length limits that DEFS can exceed.
1470228060Sbaptrm -f -r conftest* confdefs.h
1471228060Sbapt
1472228060Sbapt# Predefined preprocessor variables.
1473228060Sbapt
1474228060Sbaptcat >>confdefs.h <<_ACEOF
1475228060Sbapt#define PACKAGE_NAME "$PACKAGE_NAME"
1476228060Sbapt_ACEOF
1477228060Sbapt
1478228060Sbapt
1479228060Sbaptcat >>confdefs.h <<_ACEOF
1480228060Sbapt#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1481228060Sbapt_ACEOF
1482228060Sbapt
1483228060Sbapt
1484228060Sbaptcat >>confdefs.h <<_ACEOF
1485228060Sbapt#define PACKAGE_VERSION "$PACKAGE_VERSION"
1486228060Sbapt_ACEOF
1487228060Sbapt
1488228060Sbapt
1489228060Sbaptcat >>confdefs.h <<_ACEOF
1490228060Sbapt#define PACKAGE_STRING "$PACKAGE_STRING"
1491228060Sbapt_ACEOF
1492228060Sbapt
1493228060Sbapt
1494228060Sbaptcat >>confdefs.h <<_ACEOF
1495228060Sbapt#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1496228060Sbapt_ACEOF
1497228060Sbapt
1498228060Sbapt
1499228060Sbapt# Let the site file select an alternate cache file if it wants to.
150058551Skris# Prefer explicitly selected file to automatically selected ones.
1501228060Sbaptif test -n "$CONFIG_SITE"; then
1502228060Sbapt  set x "$CONFIG_SITE"
1503228060Sbaptelif test "x$prefix" != xNONE; then
1504228060Sbapt  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1505228060Sbaptelse
1506228060Sbapt  set x "$ac_default_prefix/share/config.site" \
1507228060Sbapt	"$ac_default_prefix/etc/config.site"
150858551Skrisfi
1509228060Sbaptshift
1510228060Sbaptfor ac_site_file
1511228060Sbaptdo
151258551Skris  if test -r "$ac_site_file"; then
1513228060Sbapt    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1514228060Sbaptecho "$as_me: loading site script $ac_site_file" >&6;}
1515228060Sbapt    sed 's/^/| /' "$ac_site_file" >&5
151658551Skris    . "$ac_site_file"
151758551Skris  fi
151858551Skrisdone
151958551Skris
152058551Skrisif test -r "$cache_file"; then
1521228060Sbapt  # Some versions of bash will fail to source /dev/null (special
1522228060Sbapt  # files actually), so we avoid doing that.
1523228060Sbapt  if test -f "$cache_file"; then
1524228060Sbapt    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1525228060Sbaptecho "$as_me: loading cache $cache_file" >&6;}
1526228060Sbapt    case $cache_file in
1527228060Sbapt      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1528228060Sbapt      *)                      . "./$cache_file";;
1529228060Sbapt    esac
1530228060Sbapt  fi
153158551Skriselse
1532228060Sbapt  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1533228060Sbaptecho "$as_me: creating cache $cache_file" >&6;}
1534228060Sbapt  >$cache_file
153558551Skrisfi
153658551Skris
1537228060Sbapt# Check that the precious variables saved in the cache have kept the same
1538228060Sbapt# value.
1539228060Sbaptac_cache_corrupted=false
1540228060Sbaptfor ac_var in $ac_precious_vars; do
1541228060Sbapt  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1542228060Sbapt  eval ac_new_set=\$ac_env_${ac_var}_set
1543228060Sbapt  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1544228060Sbapt  eval ac_new_val=\$ac_env_${ac_var}_value
1545228060Sbapt  case $ac_old_set,$ac_new_set in
1546228060Sbapt    set,)
1547228060Sbapt      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1548228060Sbaptecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1549228060Sbapt      ac_cache_corrupted=: ;;
1550228060Sbapt    ,set)
1551228060Sbapt      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1552228060Sbaptecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1553228060Sbapt      ac_cache_corrupted=: ;;
1554228060Sbapt    ,);;
1555228060Sbapt    *)
1556228060Sbapt      if test "x$ac_old_val" != "x$ac_new_val"; then
1557228060Sbapt	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1558228060Sbaptecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1559228060Sbapt	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1560228060Sbaptecho "$as_me:   former value:  $ac_old_val" >&2;}
1561228060Sbapt	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1562228060Sbaptecho "$as_me:   current value: $ac_new_val" >&2;}
1563228060Sbapt	ac_cache_corrupted=:
1564228060Sbapt      fi;;
1565228060Sbapt  esac
1566228060Sbapt  # Pass precious variables to config.status.
1567228060Sbapt  if test "$ac_new_set" = set; then
1568228060Sbapt    case $ac_new_val in
1569228060Sbapt    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1570228060Sbapt    *) ac_arg=$ac_var=$ac_new_val ;;
1571228060Sbapt    esac
1572228060Sbapt    case " $ac_configure_args " in
1573228060Sbapt      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1574228060Sbapt      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1575228060Sbapt    esac
1576228060Sbapt  fi
1577228060Sbaptdone
1578228060Sbaptif $ac_cache_corrupted; then
1579228060Sbapt  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1580228060Sbaptecho "$as_me: error: changes in the environment can compromise the build" >&2;}
1581228060Sbapt  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1582228060Sbaptecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1583228060Sbapt   { (exit 1); exit 1; }; }
1584228060Sbaptfi
1585228060Sbapt
1586228060Sbapt
1587228060Sbapt
1588228060Sbapt
1589228060Sbapt
1590228060Sbapt
1591228060Sbapt
1592228060Sbapt
1593228060Sbapt
1594228060Sbapt
1595228060Sbapt
1596228060Sbapt
1597228060Sbapt
1598228060Sbapt
1599228060Sbapt
1600228060Sbapt
1601228060Sbapt
160258551Skrisac_ext=c
160358551Skrisac_cpp='$CPP $CPPFLAGS'
1604228060Sbaptac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1605228060Sbaptac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1606228060Sbaptac_compiler_gnu=$ac_cv_c_compiler_gnu
160758551Skris
160858551Skris
1609228060Sbapt{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1610228060Sbaptecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1611228060Sbaptset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1612228060Sbaptif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1613228060Sbapt  echo $ECHO_N "(cached) $ECHO_C" >&6
161458551Skriselse
1615228060Sbapt  cat >conftest.make <<\_ACEOF
1616228060SbaptSHELL = /bin/sh
161758551Skrisall:
1618228060Sbapt	@echo '@@@%%%=$(MAKE)=@@@%%%'
1619228060Sbapt_ACEOF
162058551Skris# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1621228060Sbaptcase `${MAKE-make} -f conftest.make 2>/dev/null` in
1622228060Sbapt  *@@@%%%=?*=@@@%%%*)
1623228060Sbapt    eval ac_cv_prog_make_${ac_make}_set=yes;;
1624228060Sbapt  *)
1625228060Sbapt    eval ac_cv_prog_make_${ac_make}_set=no;;
1626228060Sbaptesac
1627228060Sbaptrm -f conftest.make
162858551Skrisfi
1629228060Sbaptif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1630228060Sbapt  { echo "$as_me:$LINENO: result: yes" >&5
1631228060Sbaptecho "${ECHO_T}yes" >&6; }
163258551Skris  SET_MAKE=
163358551Skriselse
1634228060Sbapt  { echo "$as_me:$LINENO: result: no" >&5
1635228060Sbaptecho "${ECHO_T}no" >&6; }
163658551Skris  SET_MAKE="MAKE=${MAKE-make}"
163758551Skrisfi
163858551Skris
1639228060Sbapt
1640228060Sbapt
1641228060Sbapt
1642228060Sbaptac_aux_dir=$srcdir
1643228060Sbapt
1644228060Sbaptsubdirs="$subdirs lib src tests doc"
1645228060Sbapt
1646228060Sbapt
164758551Skrisextrasub="$extrasub"'
164858551Skris/@subdir@/{
164958551Skrish
165058551Skrisg
165158551Skriss/@subdir@/lib/
165258551Skrisp
165358551Skrisg
165458551Skriss/@subdir@/src/
165558551Skrisp
165658551Skrisg
165758551Skriss/@subdir@/tests/
165858551Skrisp
165958551Skrisg
166058551Skriss/@subdir@/doc/
166158551Skrisp
166258551Skrisd
166358551Skris}
166458551Skris'
1665228060Sbaptac_config_files="$ac_config_files Makefile"
1666228060Sbapt
1667228060Sbaptcat >confcache <<\_ACEOF
166858551Skris# This file is a shell script that caches the results of configure
166958551Skris# tests run on this system so they can be shared between configure
1670228060Sbapt# scripts and configure runs, see configure's option --config-cache.
1671228060Sbapt# It is not useful on other systems.  If it contains results you don't
1672228060Sbapt# want to keep, you may remove or edit it.
167358551Skris#
1674228060Sbapt# config.status only pays attention to the cache file if you give it
1675228060Sbapt# the --recheck option to rerun configure.
167658551Skris#
1677228060Sbapt# `ac_cv_env_foo' variables (set or unset) will be overridden when
1678228060Sbapt# loading this file, other *unset* `ac_cv_foo' will be assigned the
1679228060Sbapt# following values.
1680228060Sbapt
1681228060Sbapt_ACEOF
1682228060Sbapt
168358551Skris# The following way of writing the cache mishandles newlines in values,
168458551Skris# but we know of no workaround that is simple, portable, and efficient.
1685228060Sbapt# So, we kill variables containing newlines.
168658551Skris# Ultrix sh set writes to stderr and can't be redirected directly,
168758551Skris# and sets the high bit in the cache file unless we assign to the vars.
1688228060Sbapt(
1689228060Sbapt  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1690228060Sbapt    eval ac_val=\$$ac_var
1691228060Sbapt    case $ac_val in #(
1692228060Sbapt    *${as_nl}*)
1693228060Sbapt      case $ac_var in #(
1694228060Sbapt      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1695228060Sbaptecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1696228060Sbapt      esac
1697228060Sbapt      case $ac_var in #(
1698228060Sbapt      _ | IFS | as_nl) ;; #(
1699228060Sbapt      *) $as_unset $ac_var ;;
1700228060Sbapt      esac ;;
1701228060Sbapt    esac
1702228060Sbapt  done
1703228060Sbapt
1704228060Sbapt  (set) 2>&1 |
1705228060Sbapt    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1706228060Sbapt    *${as_nl}ac_space=\ *)
1707228060Sbapt      # `set' does not quote correctly, so add quotes (double-quote
1708228060Sbapt      # substitution turns \\\\ into \\, and sed turns \\ into \).
1709228060Sbapt      sed -n \
1710228060Sbapt	"s/'/'\\\\''/g;
1711228060Sbapt	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1712228060Sbapt      ;; #(
1713228060Sbapt    *)
1714228060Sbapt      # `set' quotes correctly as required by POSIX, so do not add quotes.
1715228060Sbapt      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1716228060Sbapt      ;;
1717228060Sbapt    esac |
1718228060Sbapt    sort
1719228060Sbapt) |
1720228060Sbapt  sed '
1721228060Sbapt     /^ac_cv_env_/b end
1722228060Sbapt     t clear
1723228060Sbapt     :clear
1724228060Sbapt     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1725228060Sbapt     t end
1726228060Sbapt     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1727228060Sbapt     :end' >>confcache
1728228060Sbaptif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1729228060Sbapt  if test -w "$cache_file"; then
1730228060Sbapt    test "x$cache_file" != "x/dev/null" &&
1731228060Sbapt      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1732228060Sbaptecho "$as_me: updating cache $cache_file" >&6;}
1733228060Sbapt    cat confcache >$cache_file
173458551Skris  else
1735228060Sbapt    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1736228060Sbaptecho "$as_me: not updating unwritable cache $cache_file" >&6;}
173758551Skris  fi
173858551Skrisfi
173958551Skrisrm -f confcache
174058551Skris
174158551Skristest "x$prefix" = xNONE && prefix=$ac_default_prefix
174258551Skris# Let make expand exec_prefix.
174358551Skristest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
174458551Skris
174558551Skris# Transform confdefs.h into DEFS.
174658551Skris# Protect against shell expansion while executing Makefile rules.
174758551Skris# Protect against Makefile macro expansion.
1748228060Sbapt#
1749228060Sbapt# If the first sed substitution is executed (which looks for macros that
1750228060Sbapt# take arguments), then branch to the quote section.  Otherwise,
1751228060Sbapt# look for a macro that doesn't take arguments.
1752228060Sbaptac_script='
1753228060Sbaptt clear
1754228060Sbapt:clear
1755228060Sbapts/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
1756228060Sbaptt quote
1757228060Sbapts/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
1758228060Sbaptt quote
1759228060Sbaptb any
1760228060Sbapt:quote
1761228060Sbapts/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1762228060Sbapts/\[/\\&/g
1763228060Sbapts/\]/\\&/g
1764228060Sbapts/\$/$$/g
1765228060SbaptH
1766228060Sbapt:any
1767228060Sbapt${
1768228060Sbapt	g
1769228060Sbapt	s/^\n//
1770228060Sbapt	s/\n/ /g
1771228060Sbapt	p
1772228060Sbapt}
1773228060Sbapt'
1774228060SbaptDEFS=`sed -n "$ac_script" confdefs.h`
177558551Skris
177658551Skris
1777228060Sbaptac_libobjs=
1778228060Sbaptac_ltlibobjs=
1779228060Sbaptfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1780228060Sbapt  # 1. Remove the extension, and $U if already installed.
1781228060Sbapt  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1782228060Sbapt  ac_i=`echo "$ac_i" | sed "$ac_script"`
1783228060Sbapt  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1784228060Sbapt  #    will be set to the directory where LIBOBJS objects are built.
1785228060Sbapt  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1786228060Sbapt  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1787228060Sbaptdone
1788228060SbaptLIBOBJS=$ac_libobjs
1789228060Sbapt
1790228060SbaptLTLIBOBJS=$ac_ltlibobjs
1791228060Sbapt
1792228060Sbapt
1793228060Sbapt
179458551Skris: ${CONFIG_STATUS=./config.status}
1795228060Sbaptac_clean_files_save=$ac_clean_files
1796228060Sbaptac_clean_files="$ac_clean_files $CONFIG_STATUS"
1797228060Sbapt{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1798228060Sbaptecho "$as_me: creating $CONFIG_STATUS" >&6;}
1799228060Sbaptcat >$CONFIG_STATUS <<_ACEOF
1800228060Sbapt#! $SHELL
1801228060Sbapt# Generated by $as_me.
180258551Skris# Run this file to recreate the current configuration.
180358551Skris# Compiler output produced by configure, useful for debugging
1804228060Sbapt# configure, is in config.log if it exists.
180558551Skris
1806228060Sbaptdebug=false
1807228060Sbaptac_cs_recheck=false
1808228060Sbaptac_cs_silent=false
1809228060SbaptSHELL=\${CONFIG_SHELL-$SHELL}
1810228060Sbapt_ACEOF
181158551Skris
1812228060Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
1813228060Sbapt## --------------------- ##
1814228060Sbapt## M4sh Initialization.  ##
1815228060Sbapt## --------------------- ##
181658551Skris
1817228060Sbapt# Be more Bourne compatible
1818228060SbaptDUALCASE=1; export DUALCASE # for MKS sh
1819228060Sbaptif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1820228060Sbapt  emulate sh
1821228060Sbapt  NULLCMD=:
1822228060Sbapt  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1823228060Sbapt  # is contrary to our usage.  Disable this feature.
1824228060Sbapt  alias -g '${1+"$@"}'='"$@"'
1825228060Sbapt  setopt NO_GLOB_SUBST
1826228060Sbaptelse
1827228060Sbapt  case `(set -o) 2>/dev/null` in
1828228060Sbapt  *posix*) set -o posix ;;
1829228060Sbaptesac
183058551Skris
1831228060Sbaptfi
183258551Skris
183358551Skris
183458551Skris
1835228060Sbapt
1836228060Sbapt# PATH needs CR
1837228060Sbapt# Avoid depending upon Character Ranges.
1838228060Sbaptas_cr_letters='abcdefghijklmnopqrstuvwxyz'
1839228060Sbaptas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1840228060Sbaptas_cr_Letters=$as_cr_letters$as_cr_LETTERS
1841228060Sbaptas_cr_digits='0123456789'
1842228060Sbaptas_cr_alnum=$as_cr_Letters$as_cr_digits
1843228060Sbapt
1844228060Sbapt# The user is always right.
1845228060Sbaptif test "${PATH_SEPARATOR+set}" != set; then
1846228060Sbapt  echo "#! /bin/sh" >conf$$.sh
1847228060Sbapt  echo  "exit 0"   >>conf$$.sh
1848228060Sbapt  chmod +x conf$$.sh
1849228060Sbapt  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1850228060Sbapt    PATH_SEPARATOR=';'
185158551Skris  else
1852228060Sbapt    PATH_SEPARATOR=:
185358551Skris  fi
1854228060Sbapt  rm -f conf$$.sh
1855228060Sbaptfi
1856228060Sbapt
1857228060Sbapt# Support unset when possible.
1858228060Sbaptif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1859228060Sbapt  as_unset=unset
1860228060Sbaptelse
1861228060Sbapt  as_unset=false
1862228060Sbaptfi
1863228060Sbapt
1864228060Sbapt
1865228060Sbapt# IFS
1866228060Sbapt# We need space, tab and new line, in precisely that order.  Quoting is
1867228060Sbapt# there to prevent editors from complaining about space-tab.
1868228060Sbapt# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1869228060Sbapt# splitting by setting IFS to empty value.)
1870228060Sbaptas_nl='
1871228060Sbapt'
1872228060SbaptIFS=" ""	$as_nl"
1873228060Sbapt
1874228060Sbapt# Find who we are.  Look in the path if we contain no directory separator.
1875228060Sbaptcase $0 in
1876228060Sbapt  *[\\/]* ) as_myself=$0 ;;
1877228060Sbapt  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878228060Sbaptfor as_dir in $PATH
1879228060Sbaptdo
1880228060Sbapt  IFS=$as_save_IFS
1881228060Sbapt  test -z "$as_dir" && as_dir=.
1882228060Sbapt  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1883228060Sbaptdone
1884228060SbaptIFS=$as_save_IFS
1885228060Sbapt
1886228060Sbapt     ;;
1887228060Sbaptesac
1888228060Sbapt# We did not find ourselves, most probably we were run as `sh COMMAND'
1889228060Sbapt# in which case we are not to be found in the path.
1890228060Sbaptif test "x$as_myself" = x; then
1891228060Sbapt  as_myself=$0
1892228060Sbaptfi
1893228060Sbaptif test ! -f "$as_myself"; then
1894228060Sbapt  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1895228060Sbapt  { (exit 1); exit 1; }
1896228060Sbaptfi
1897228060Sbapt
1898228060Sbapt# Work around bugs in pre-3.0 UWIN ksh.
1899228060Sbaptfor as_var in ENV MAIL MAILPATH
1900228060Sbaptdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1901228060Sbaptdone
1902228060SbaptPS1='$ '
1903228060SbaptPS2='> '
1904228060SbaptPS4='+ '
1905228060Sbapt
1906228060Sbapt# NLS nuisances.
1907228060Sbaptfor as_var in \
1908228060Sbapt  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1909228060Sbapt  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1910228060Sbapt  LC_TELEPHONE LC_TIME
1911228060Sbaptdo
1912228060Sbapt  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1913228060Sbapt    eval $as_var=C; export $as_var
191458551Skris  else
1915228060Sbapt    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
191658551Skris  fi
191758551Skrisdone
1918228060Sbapt
1919228060Sbapt# Required to use basename.
1920228060Sbaptif expr a : '\(a\)' >/dev/null 2>&1 &&
1921228060Sbapt   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1922228060Sbapt  as_expr=expr
1923228060Sbaptelse
1924228060Sbapt  as_expr=false
192558551Skrisfi
192658551Skris
1927228060Sbaptif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1928228060Sbapt  as_basename=basename
1929228060Sbaptelse
1930228060Sbapt  as_basename=false
1931228060Sbaptfi
193258551Skris
1933228060Sbapt
1934228060Sbapt# Name of the executable.
1935228060Sbaptas_me=`$as_basename -- "$0" ||
1936228060Sbapt$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1937228060Sbapt	 X"$0" : 'X\(//\)$' \| \
1938228060Sbapt	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1939228060Sbaptecho X/"$0" |
1940228060Sbapt    sed '/^.*\/\([^/][^/]*\)\/*$/{
1941228060Sbapt	    s//\1/
1942228060Sbapt	    q
1943228060Sbapt	  }
1944228060Sbapt	  /^X\/\(\/\/\)$/{
1945228060Sbapt	    s//\1/
1946228060Sbapt	    q
1947228060Sbapt	  }
1948228060Sbapt	  /^X\/\(\/\).*/{
1949228060Sbapt	    s//\1/
1950228060Sbapt	    q
1951228060Sbapt	  }
1952228060Sbapt	  s/.*/./; q'`
1953228060Sbapt
1954228060Sbapt# CDPATH.
1955228060Sbapt$as_unset CDPATH
1956228060Sbapt
1957228060Sbapt
1958228060Sbapt
1959228060Sbapt  as_lineno_1=$LINENO
1960228060Sbapt  as_lineno_2=$LINENO
1961228060Sbapt  test "x$as_lineno_1" != "x$as_lineno_2" &&
1962228060Sbapt  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1963228060Sbapt
1964228060Sbapt  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1965228060Sbapt  # uniformly replaced by the line number.  The first 'sed' inserts a
1966228060Sbapt  # line-number line after each line using $LINENO; the second 'sed'
1967228060Sbapt  # does the real work.  The second script uses 'N' to pair each
1968228060Sbapt  # line-number line with the line containing $LINENO, and appends
1969228060Sbapt  # trailing '-' during substitution so that $LINENO is not a special
1970228060Sbapt  # case at line end.
1971228060Sbapt  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1972228060Sbapt  # scripts with optimization help from Paolo Bonzini.  Blame Lee
1973228060Sbapt  # E. McMahon (1931-1989) for sed's syntax.  :-)
1974228060Sbapt  sed -n '
1975228060Sbapt    p
1976228060Sbapt    /[$]LINENO/=
1977228060Sbapt  ' <$as_myself |
1978228060Sbapt    sed '
1979228060Sbapt      s/[$]LINENO.*/&-/
1980228060Sbapt      t lineno
1981228060Sbapt      b
1982228060Sbapt      :lineno
1983228060Sbapt      N
1984228060Sbapt      :loop
1985228060Sbapt      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1986228060Sbapt      t loop
1987228060Sbapt      s/-\n.*//
1988228060Sbapt    ' >$as_me.lineno &&
1989228060Sbapt  chmod +x "$as_me.lineno" ||
1990228060Sbapt    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1991228060Sbapt   { (exit 1); exit 1; }; }
1992228060Sbapt
1993228060Sbapt  # Don't try to exec as it changes $[0], causing all sort of problems
1994228060Sbapt  # (the dirname of $[0] is not the place where we might find the
1995228060Sbapt  # original and so on.  Autoconf is especially sensitive to this).
1996228060Sbapt  . "./$as_me.lineno"
1997228060Sbapt  # Exit status is that of the last command.
1998228060Sbapt  exit
1999228060Sbapt}
2000228060Sbapt
2001228060Sbapt
2002228060Sbaptif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2003228060Sbapt  as_dirname=dirname
2004228060Sbaptelse
2005228060Sbapt  as_dirname=false
2006228060Sbaptfi
2007228060Sbapt
2008228060SbaptECHO_C= ECHO_N= ECHO_T=
2009228060Sbaptcase `echo -n x` in
2010228060Sbapt-n*)
2011228060Sbapt  case `echo 'x\c'` in
2012228060Sbapt  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2013228060Sbapt  *)   ECHO_C='\c';;
2014228060Sbapt  esac;;
2015228060Sbapt*)
2016228060Sbapt  ECHO_N='-n';;
2017228060Sbaptesac
2018228060Sbapt
2019228060Sbaptif expr a : '\(a\)' >/dev/null 2>&1 &&
2020228060Sbapt   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2021228060Sbapt  as_expr=expr
2022228060Sbaptelse
2023228060Sbapt  as_expr=false
2024228060Sbaptfi
2025228060Sbapt
2026228060Sbaptrm -f conf$$ conf$$.exe conf$$.file
2027228060Sbaptif test -d conf$$.dir; then
2028228060Sbapt  rm -f conf$$.dir/conf$$.file
2029228060Sbaptelse
2030228060Sbapt  rm -f conf$$.dir
2031228060Sbapt  mkdir conf$$.dir
2032228060Sbaptfi
2033228060Sbaptecho >conf$$.file
2034228060Sbaptif ln -s conf$$.file conf$$ 2>/dev/null; then
2035228060Sbapt  as_ln_s='ln -s'
2036228060Sbapt  # ... but there are two gotchas:
2037228060Sbapt  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2038228060Sbapt  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2039228060Sbapt  # In both cases, we have to default to `cp -p'.
2040228060Sbapt  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2041228060Sbapt    as_ln_s='cp -p'
2042228060Sbaptelif ln conf$$.file conf$$ 2>/dev/null; then
2043228060Sbapt  as_ln_s=ln
2044228060Sbaptelse
2045228060Sbapt  as_ln_s='cp -p'
2046228060Sbaptfi
2047228060Sbaptrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2048228060Sbaptrmdir conf$$.dir 2>/dev/null
2049228060Sbapt
2050228060Sbaptif mkdir -p . 2>/dev/null; then
2051228060Sbapt  as_mkdir_p=:
2052228060Sbaptelse
2053228060Sbapt  test -d ./-p && rmdir ./-p
2054228060Sbapt  as_mkdir_p=false
2055228060Sbaptfi
2056228060Sbapt
2057228060Sbaptif test -x / >/dev/null 2>&1; then
2058228060Sbapt  as_test_x='test -x'
2059228060Sbaptelse
2060228060Sbapt  if ls -dL / >/dev/null 2>&1; then
2061228060Sbapt    as_ls_L_option=L
2062228060Sbapt  else
2063228060Sbapt    as_ls_L_option=
2064228060Sbapt  fi
2065228060Sbapt  as_test_x='
2066228060Sbapt    eval sh -c '\''
2067228060Sbapt      if test -d "$1"; then
2068228060Sbapt        test -d "$1/.";
2069228060Sbapt      else
2070228060Sbapt	case $1 in
2071228060Sbapt        -*)set "./$1";;
2072228060Sbapt	esac;
2073228060Sbapt	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2074228060Sbapt	???[sx]*):;;*)false;;esac;fi
2075228060Sbapt    '\'' sh
2076228060Sbapt  '
2077228060Sbaptfi
2078228060Sbaptas_executable_p=$as_test_x
2079228060Sbapt
2080228060Sbapt# Sed expression to map a string onto a valid CPP name.
2081228060Sbaptas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2082228060Sbapt
2083228060Sbapt# Sed expression to map a string onto a valid variable name.
2084228060Sbaptas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2085228060Sbapt
2086228060Sbapt
2087228060Sbaptexec 6>&1
2088228060Sbapt
2089228060Sbapt# Save the log message, to keep $[0] and so on meaningful, and to
2090228060Sbapt# report actual input values of CONFIG_FILES etc. instead of their
2091228060Sbapt# values after options handling.
2092228060Sbaptac_log="
2093228060SbaptThis file was extended by $as_me, which was
2094228060Sbaptgenerated by GNU Autoconf 2.61.  Invocation command line was
2095228060Sbapt
2096228060Sbapt  CONFIG_FILES    = $CONFIG_FILES
2097228060Sbapt  CONFIG_HEADERS  = $CONFIG_HEADERS
2098228060Sbapt  CONFIG_LINKS    = $CONFIG_LINKS
2099228060Sbapt  CONFIG_COMMANDS = $CONFIG_COMMANDS
2100228060Sbapt  $ $0 $@
2101228060Sbapt
2102228060Sbapton `(hostname || uname -n) 2>/dev/null | sed 1q`
2103228060Sbapt"
2104228060Sbapt
2105228060Sbapt_ACEOF
2106228060Sbapt
2107228060Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2108228060Sbapt# Files that config.status was made for.
2109228060Sbaptconfig_files="$ac_config_files"
2110228060Sbapt
2111228060Sbapt_ACEOF
2112228060Sbapt
2113228060Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2114228060Sbaptac_cs_usage="\
2115228060Sbapt\`$as_me' instantiates files from templates according to the
2116228060Sbaptcurrent configuration.
2117228060Sbapt
2118228060SbaptUsage: $0 [OPTIONS] [FILE]...
2119228060Sbapt
2120228060Sbapt  -h, --help       print this help, then exit
2121228060Sbapt  -V, --version    print version number and configuration settings, then exit
2122228060Sbapt  -q, --quiet      do not print progress messages
2123228060Sbapt  -d, --debug      don't remove temporary files
2124228060Sbapt      --recheck    update $as_me by reconfiguring in the same conditions
2125228060Sbapt  --file=FILE[:TEMPLATE]
2126228060Sbapt		   instantiate the configuration file FILE
2127228060Sbapt
2128228060SbaptConfiguration files:
2129228060Sbapt$config_files
2130228060Sbapt
2131228060SbaptReport bugs to <bug-autoconf@gnu.org>."
2132228060Sbapt
2133228060Sbapt_ACEOF
2134228060Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2135228060Sbaptac_cs_version="\\
2136228060Sbaptconfig.status
2137228060Sbaptconfigured by $0, generated by GNU Autoconf 2.61,
2138228060Sbapt  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2139228060Sbapt
2140228060SbaptCopyright (C) 2006 Free Software Foundation, Inc.
2141228060SbaptThis config.status script is free software; the Free Software Foundation
2142228060Sbaptgives unlimited permission to copy, distribute and modify it."
2143228060Sbapt
2144228060Sbaptac_pwd='$ac_pwd'
2145228060Sbaptsrcdir='$srcdir'
2146228060Sbapt_ACEOF
2147228060Sbapt
2148228060Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2149228060Sbapt# If no file are specified by the user, then we need to provide default
2150228060Sbapt# value.  By we need to know if files were specified by the user.
2151228060Sbaptac_need_defaults=:
2152228060Sbaptwhile test $# != 0
2153228060Sbaptdo
2154228060Sbapt  case $1 in
2155228060Sbapt  --*=*)
2156228060Sbapt    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2157228060Sbapt    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2158228060Sbapt    ac_shift=:
2159228060Sbapt    ;;
2160228060Sbapt  *)
2161228060Sbapt    ac_option=$1
2162228060Sbapt    ac_optarg=$2
2163228060Sbapt    ac_shift=shift
2164228060Sbapt    ;;
216558551Skris  esac
216658551Skris
2167228060Sbapt  case $ac_option in
2168228060Sbapt  # Handling of the options.
2169228060Sbapt  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2170228060Sbapt    ac_cs_recheck=: ;;
2171228060Sbapt  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2172228060Sbapt    echo "$ac_cs_version"; exit ;;
2173228060Sbapt  --debug | --debu | --deb | --de | --d | -d )
2174228060Sbapt    debug=: ;;
2175228060Sbapt  --file | --fil | --fi | --f )
2176228060Sbapt    $ac_shift
2177228060Sbapt    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2178228060Sbapt    ac_need_defaults=false;;
2179228060Sbapt  --he | --h |  --help | --hel | -h )
2180228060Sbapt    echo "$ac_cs_usage"; exit ;;
2181228060Sbapt  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2182228060Sbapt  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2183228060Sbapt    ac_cs_silent=: ;;
218458551Skris
2185228060Sbapt  # This is an error.
2186228060Sbapt  -*) { echo "$as_me: error: unrecognized option: $1
2187228060SbaptTry \`$0 --help' for more information." >&2
2188228060Sbapt   { (exit 1); exit 1; }; } ;;
2189228060Sbapt
2190228060Sbapt  *) ac_config_targets="$ac_config_targets $1"
2191228060Sbapt     ac_need_defaults=false ;;
2192228060Sbapt
2193228060Sbapt  esac
2194228060Sbapt  shift
2195228060Sbaptdone
2196228060Sbapt
2197228060Sbaptac_configure_extra_args=
2198228060Sbapt
2199228060Sbaptif $ac_cs_silent; then
2200228060Sbapt  exec 6>/dev/null
2201228060Sbapt  ac_configure_extra_args="$ac_configure_extra_args --silent"
2202228060Sbaptfi
2203228060Sbapt
2204228060Sbapt_ACEOF
2205228060Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2206228060Sbaptif \$ac_cs_recheck; then
2207228060Sbapt  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2208228060Sbapt  CONFIG_SHELL=$SHELL
2209228060Sbapt  export CONFIG_SHELL
2210228060Sbapt  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2211228060Sbaptfi
2212228060Sbapt
2213228060Sbapt_ACEOF
2214228060Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2215228060Sbaptexec 5>>config.log
2216228060Sbapt{
2217228060Sbapt  echo
2218228060Sbapt  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2219228060Sbapt## Running $as_me. ##
2220228060Sbapt_ASBOX
2221228060Sbapt  echo "$ac_log"
2222228060Sbapt} >&5
2223228060Sbapt
2224228060Sbapt_ACEOF
2225228060Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2226228060Sbapt_ACEOF
2227228060Sbapt
2228228060Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2229228060Sbapt
2230228060Sbapt# Handling of arguments.
2231228060Sbaptfor ac_config_target in $ac_config_targets
2232228060Sbaptdo
2233228060Sbapt  case $ac_config_target in
2234228060Sbapt    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2235228060Sbapt
2236228060Sbapt  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2237228060Sbaptecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
2238228060Sbapt   { (exit 1); exit 1; }; };;
2239228060Sbapt  esac
2240228060Sbaptdone
2241228060Sbapt
2242228060Sbapt
2243228060Sbapt# If the user did not use the arguments to specify the items to instantiate,
2244228060Sbapt# then the envvar interface is used.  Set only those that are not.
2245228060Sbapt# We use the long form for the default assignment because of an extremely
2246228060Sbapt# bizarre bug on SunOS 4.1.3.
2247228060Sbaptif $ac_need_defaults; then
2248228060Sbapt  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2249228060Sbaptfi
2250228060Sbapt
2251228060Sbapt# Have a temporary directory for convenience.  Make it in the build tree
2252228060Sbapt# simply because there is no reason against having it here, and in addition,
2253228060Sbapt# creating and moving files from /tmp can sometimes cause problems.
2254228060Sbapt# Hook for its removal unless debugging.
2255228060Sbapt# Note that there is a small window in which the directory will not be cleaned:
2256228060Sbapt# after its creation but before its name has been assigned to `$tmp'.
2257228060Sbapt$debug ||
2258228060Sbapt{
2259228060Sbapt  tmp=
2260228060Sbapt  trap 'exit_status=$?
2261228060Sbapt  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2262228060Sbapt' 0
2263228060Sbapt  trap '{ (exit 1); exit 1; }' 1 2 13 15
2264228060Sbapt}
2265228060Sbapt# Create a (secure) tmp directory for tmp files.
2266228060Sbapt
2267228060Sbapt{
2268228060Sbapt  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2269228060Sbapt  test -n "$tmp" && test -d "$tmp"
2270228060Sbapt}  ||
2271228060Sbapt{
2272228060Sbapt  tmp=./conf$$-$RANDOM
2273228060Sbapt  (umask 077 && mkdir "$tmp")
2274228060Sbapt} ||
2275228060Sbapt{
2276228060Sbapt   echo "$me: cannot create a temporary directory in ." >&2
2277228060Sbapt   { (exit 1); exit 1; }
2278228060Sbapt}
2279228060Sbapt
2280228060Sbapt#
2281228060Sbapt# Set up the sed scripts for CONFIG_FILES section.
2282228060Sbapt#
2283228060Sbapt
2284228060Sbapt# No need to generate the scripts if there are no CONFIG_FILES.
2285228060Sbapt# This happens for instance when ./config.status config.h
2286228060Sbaptif test -n "$CONFIG_FILES"; then
2287228060Sbapt
2288228060Sbapt_ACEOF
2289228060Sbapt
2290228060Sbapt
2291228060Sbapt
2292228060Sbaptac_delim='%!_!# '
2293228060Sbaptfor ac_last_try in false false false false false :; do
2294228060Sbapt  cat >conf$$subs.sed <<_ACEOF
2295228060SbaptSHELL!$SHELL$ac_delim
2296228060SbaptPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2297228060SbaptPACKAGE_NAME!$PACKAGE_NAME$ac_delim
2298228060SbaptPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2299228060SbaptPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2300228060SbaptPACKAGE_STRING!$PACKAGE_STRING$ac_delim
2301228060SbaptPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2302228060Sbaptexec_prefix!$exec_prefix$ac_delim
2303228060Sbaptprefix!$prefix$ac_delim
2304228060Sbaptprogram_transform_name!$program_transform_name$ac_delim
2305228060Sbaptbindir!$bindir$ac_delim
2306228060Sbaptsbindir!$sbindir$ac_delim
2307228060Sbaptlibexecdir!$libexecdir$ac_delim
2308228060Sbaptdatarootdir!$datarootdir$ac_delim
2309228060Sbaptdatadir!$datadir$ac_delim
2310228060Sbaptsysconfdir!$sysconfdir$ac_delim
2311228060Sbaptsharedstatedir!$sharedstatedir$ac_delim
2312228060Sbaptlocalstatedir!$localstatedir$ac_delim
2313228060Sbaptincludedir!$includedir$ac_delim
2314228060Sbaptoldincludedir!$oldincludedir$ac_delim
2315228060Sbaptdocdir!$docdir$ac_delim
2316228060Sbaptinfodir!$infodir$ac_delim
2317228060Sbapthtmldir!$htmldir$ac_delim
2318228060Sbaptdvidir!$dvidir$ac_delim
2319228060Sbaptpdfdir!$pdfdir$ac_delim
2320228060Sbaptpsdir!$psdir$ac_delim
2321228060Sbaptlibdir!$libdir$ac_delim
2322228060Sbaptlocaledir!$localedir$ac_delim
2323228060Sbaptmandir!$mandir$ac_delim
2324228060SbaptDEFS!$DEFS$ac_delim
2325228060SbaptECHO_C!$ECHO_C$ac_delim
2326228060SbaptECHO_N!$ECHO_N$ac_delim
2327228060SbaptECHO_T!$ECHO_T$ac_delim
2328228060SbaptLIBS!$LIBS$ac_delim
2329228060Sbaptbuild_alias!$build_alias$ac_delim
2330228060Sbapthost_alias!$host_alias$ac_delim
2331228060Sbapttarget_alias!$target_alias$ac_delim
2332228060SbaptSET_MAKE!$SET_MAKE$ac_delim
2333228060Sbaptsubdirs!$subdirs$ac_delim
2334228060SbaptLIBOBJS!$LIBOBJS$ac_delim
2335228060SbaptLTLIBOBJS!$LTLIBOBJS$ac_delim
2336228060Sbapt_ACEOF
2337228060Sbapt
2338228060Sbapt  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
2339228060Sbapt    break
2340228060Sbapt  elif $ac_last_try; then
2341228060Sbapt    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2342228060Sbaptecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2343228060Sbapt   { (exit 1); exit 1; }; }
234458551Skris  else
2345228060Sbapt    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
234658551Skris  fi
2347228060Sbaptdone
234858551Skris
2349228060Sbaptac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2350228060Sbaptif test -n "$ac_eof"; then
2351228060Sbapt  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2352228060Sbapt  ac_eof=`expr $ac_eof + 1`
2353228060Sbaptfi
2354228060Sbapt
2355228060Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2356228060Sbaptcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2357228060Sbapt/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2358228060Sbapt_ACEOF
2359228060Sbaptsed '
2360228060Sbapts/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2361228060Sbapts/^/s,@/; s/!/@,|#_!!_#|/
2362228060Sbapt:n
2363228060Sbaptt n
2364228060Sbapts/'"$ac_delim"'$/,g/; t
2365228060Sbapts/$/\\/; p
2366228060SbaptN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2367228060Sbapt' >>$CONFIG_STATUS <conf$$subs.sed
2368228060Sbaptrm -f conf$$subs.sed
2369228060Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2370228060Sbapt:end
2371228060Sbapts/|#_!!_#|//g
2372228060SbaptCEOF$ac_eof
2373228060Sbapt_ACEOF
2374228060Sbapt
2375228060Sbapt
2376228060Sbapt# VPATH may cause trouble with some makes, so we remove $(srcdir),
2377228060Sbapt# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2378228060Sbapt# trailing colons and then remove the whole line if VPATH becomes empty
2379228060Sbapt# (actually we leave an empty line to preserve line numbers).
2380228060Sbaptif test "x$srcdir" = x.; then
2381228060Sbapt  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
2382228060Sbapts/:*\$(srcdir):*/:/
2383228060Sbapts/:*\${srcdir}:*/:/
2384228060Sbapts/:*@srcdir@:*/:/
2385228060Sbapts/^\([^=]*=[	 ]*\):*/\1/
2386228060Sbapts/:*$//
2387228060Sbapts/^[^=]*=[	 ]*$//
2388228060Sbapt}'
2389228060Sbaptfi
2390228060Sbapt
2391228060Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2392228060Sbaptfi # test -n "$CONFIG_FILES"
2393228060Sbapt
2394228060Sbapt
2395228060Sbaptfor ac_tag in  :F $CONFIG_FILES
2396228060Sbaptdo
2397228060Sbapt  case $ac_tag in
2398228060Sbapt  :[FHLC]) ac_mode=$ac_tag; continue;;
239958551Skris  esac
2400228060Sbapt  case $ac_mode$ac_tag in
2401228060Sbapt  :[FHL]*:*);;
2402228060Sbapt  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2403228060Sbaptecho "$as_me: error: Invalid tag $ac_tag." >&2;}
2404228060Sbapt   { (exit 1); exit 1; }; };;
2405228060Sbapt  :[FH]-) ac_tag=-:-;;
2406228060Sbapt  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2407228060Sbapt  esac
2408228060Sbapt  ac_save_IFS=$IFS
2409228060Sbapt  IFS=:
2410228060Sbapt  set x $ac_tag
2411228060Sbapt  IFS=$ac_save_IFS
2412228060Sbapt  shift
2413228060Sbapt  ac_file=$1
2414228060Sbapt  shift
241558551Skris
2416228060Sbapt  case $ac_mode in
2417228060Sbapt  :L) ac_source=$1;;
2418228060Sbapt  :[FH])
2419228060Sbapt    ac_file_inputs=
2420228060Sbapt    for ac_f
2421228060Sbapt    do
2422228060Sbapt      case $ac_f in
2423228060Sbapt      -) ac_f="$tmp/stdin";;
2424228060Sbapt      *) # Look for the file first in the build tree, then in the source tree
2425228060Sbapt	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
2426228060Sbapt	 # because $ac_f cannot contain `:'.
2427228060Sbapt	 test -f "$ac_f" ||
2428228060Sbapt	   case $ac_f in
2429228060Sbapt	   [\\/$]*) false;;
2430228060Sbapt	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2431228060Sbapt	   esac ||
2432228060Sbapt	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2433228060Sbaptecho "$as_me: error: cannot find input file: $ac_f" >&2;}
2434228060Sbapt   { (exit 1); exit 1; }; };;
2435228060Sbapt      esac
2436228060Sbapt      ac_file_inputs="$ac_file_inputs $ac_f"
2437228060Sbapt    done
243858551Skris
2439228060Sbapt    # Let's still pretend it is `configure' which instantiates (i.e., don't
2440228060Sbapt    # use $as_me), people would be surprised to read:
2441228060Sbapt    #    /* config.h.  Generated by config.status.  */
2442228060Sbapt    configure_input="Generated from "`IFS=:
2443228060Sbapt	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2444228060Sbapt    if test x"$ac_file" != x-; then
2445228060Sbapt      configure_input="$ac_file.  $configure_input"
2446228060Sbapt      { echo "$as_me:$LINENO: creating $ac_file" >&5
2447228060Sbaptecho "$as_me: creating $ac_file" >&6;}
2448228060Sbapt    fi
2449228060Sbapt
2450228060Sbapt    case $ac_tag in
2451228060Sbapt    *:-:* | *:-) cat >"$tmp/stdin";;
2452228060Sbapt    esac
2453228060Sbapt    ;;
245458551Skris  esac
245558551Skris
2456228060Sbapt  ac_dir=`$as_dirname -- "$ac_file" ||
2457228060Sbapt$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2458228060Sbapt	 X"$ac_file" : 'X\(//\)[^/]' \| \
2459228060Sbapt	 X"$ac_file" : 'X\(//\)$' \| \
2460228060Sbapt	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2461228060Sbaptecho X"$ac_file" |
2462228060Sbapt    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2463228060Sbapt	    s//\1/
2464228060Sbapt	    q
2465228060Sbapt	  }
2466228060Sbapt	  /^X\(\/\/\)[^/].*/{
2467228060Sbapt	    s//\1/
2468228060Sbapt	    q
2469228060Sbapt	  }
2470228060Sbapt	  /^X\(\/\/\)$/{
2471228060Sbapt	    s//\1/
2472228060Sbapt	    q
2473228060Sbapt	  }
2474228060Sbapt	  /^X\(\/\).*/{
2475228060Sbapt	    s//\1/
2476228060Sbapt	    q
2477228060Sbapt	  }
2478228060Sbapt	  s/.*/./; q'`
2479228060Sbapt  { as_dir="$ac_dir"
2480228060Sbapt  case $as_dir in #(
2481228060Sbapt  -*) as_dir=./$as_dir;;
2482228060Sbapt  esac
2483228060Sbapt  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2484228060Sbapt    as_dirs=
2485228060Sbapt    while :; do
2486228060Sbapt      case $as_dir in #(
2487228060Sbapt      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2488228060Sbapt      *) as_qdir=$as_dir;;
2489228060Sbapt      esac
2490228060Sbapt      as_dirs="'$as_qdir' $as_dirs"
2491228060Sbapt      as_dir=`$as_dirname -- "$as_dir" ||
2492228060Sbapt$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2493228060Sbapt	 X"$as_dir" : 'X\(//\)[^/]' \| \
2494228060Sbapt	 X"$as_dir" : 'X\(//\)$' \| \
2495228060Sbapt	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2496228060Sbaptecho X"$as_dir" |
2497228060Sbapt    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2498228060Sbapt	    s//\1/
2499228060Sbapt	    q
2500228060Sbapt	  }
2501228060Sbapt	  /^X\(\/\/\)[^/].*/{
2502228060Sbapt	    s//\1/
2503228060Sbapt	    q
2504228060Sbapt	  }
2505228060Sbapt	  /^X\(\/\/\)$/{
2506228060Sbapt	    s//\1/
2507228060Sbapt	    q
2508228060Sbapt	  }
2509228060Sbapt	  /^X\(\/\).*/{
2510228060Sbapt	    s//\1/
2511228060Sbapt	    q
2512228060Sbapt	  }
2513228060Sbapt	  s/.*/./; q'`
2514228060Sbapt      test -d "$as_dir" && break
2515228060Sbapt    done
2516228060Sbapt    test -z "$as_dirs" || eval "mkdir $as_dirs"
2517228060Sbapt  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2518228060Sbaptecho "$as_me: error: cannot create directory $as_dir" >&2;}
2519228060Sbapt   { (exit 1); exit 1; }; }; }
2520228060Sbapt  ac_builddir=.
252158551Skris
2522228060Sbaptcase "$ac_dir" in
2523228060Sbapt.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2524228060Sbapt*)
2525228060Sbapt  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2526228060Sbapt  # A ".." for each directory in $ac_dir_suffix.
2527228060Sbapt  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2528228060Sbapt  case $ac_top_builddir_sub in
2529228060Sbapt  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2530228060Sbapt  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2531228060Sbapt  esac ;;
2532228060Sbaptesac
2533228060Sbaptac_abs_top_builddir=$ac_pwd
2534228060Sbaptac_abs_builddir=$ac_pwd$ac_dir_suffix
2535228060Sbapt# for backward compatibility:
2536228060Sbaptac_top_builddir=$ac_top_build_prefix
253758551Skris
2538228060Sbaptcase $srcdir in
2539228060Sbapt  .)  # We are building in place.
2540228060Sbapt    ac_srcdir=.
2541228060Sbapt    ac_top_srcdir=$ac_top_builddir_sub
2542228060Sbapt    ac_abs_top_srcdir=$ac_pwd ;;
2543228060Sbapt  [\\/]* | ?:[\\/]* )  # Absolute name.
2544228060Sbapt    ac_srcdir=$srcdir$ac_dir_suffix;
2545228060Sbapt    ac_top_srcdir=$srcdir
2546228060Sbapt    ac_abs_top_srcdir=$srcdir ;;
2547228060Sbapt  *) # Relative name.
2548228060Sbapt    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2549228060Sbapt    ac_top_srcdir=$ac_top_build_prefix$srcdir
2550228060Sbapt    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2551228060Sbaptesac
2552228060Sbaptac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
255358551Skris
2554228060Sbapt
2555228060Sbapt  case $ac_mode in
2556228060Sbapt  :F)
2557228060Sbapt  #
2558228060Sbapt  # CONFIG_FILE
2559228060Sbapt  #
2560228060Sbapt
2561228060Sbapt_ACEOF
2562228060Sbapt
2563228060Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2564228060Sbapt# If the template does not know about datarootdir, expand it.
2565228060Sbapt# FIXME: This hack should be removed a few years after 2.60.
2566228060Sbaptac_datarootdir_hack=; ac_datarootdir_seen=
2567228060Sbapt
2568228060Sbaptcase `sed -n '/datarootdir/ {
2569228060Sbapt  p
2570228060Sbapt  q
2571228060Sbapt}
2572228060Sbapt/@datadir@/p
2573228060Sbapt/@docdir@/p
2574228060Sbapt/@infodir@/p
2575228060Sbapt/@localedir@/p
2576228060Sbapt/@mandir@/p
2577228060Sbapt' $ac_file_inputs` in
2578228060Sbapt*datarootdir*) ac_datarootdir_seen=yes;;
2579228060Sbapt*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2580228060Sbapt  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2581228060Sbaptecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2582228060Sbapt_ACEOF
2583228060Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2584228060Sbapt  ac_datarootdir_hack='
2585228060Sbapt  s&@datadir@&$datadir&g
2586228060Sbapt  s&@docdir@&$docdir&g
2587228060Sbapt  s&@infodir@&$infodir&g
2588228060Sbapt  s&@localedir@&$localedir&g
2589228060Sbapt  s&@mandir@&$mandir&g
2590228060Sbapt    s&\\\${datarootdir}&$datarootdir&g' ;;
2591228060Sbaptesac
2592228060Sbapt_ACEOF
2593228060Sbapt
2594228060Sbapt# Neutralize VPATH when `$srcdir' = `.'.
2595228060Sbapt# Shell code in configure.ac might set extrasub.
2596228060Sbapt# FIXME: do we really want to maintain this feature?
2597228060Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2598228060Sbapt  sed "$ac_vpsub
2599228060Sbapt$extrasub
2600228060Sbapt_ACEOF
2601228060Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2602228060Sbapt:t
2603228060Sbapt/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2604228060Sbapts&@configure_input@&$configure_input&;t t
2605228060Sbapts&@top_builddir@&$ac_top_builddir_sub&;t t
2606228060Sbapts&@srcdir@&$ac_srcdir&;t t
2607228060Sbapts&@abs_srcdir@&$ac_abs_srcdir&;t t
2608228060Sbapts&@top_srcdir@&$ac_top_srcdir&;t t
2609228060Sbapts&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2610228060Sbapts&@builddir@&$ac_builddir&;t t
2611228060Sbapts&@abs_builddir@&$ac_abs_builddir&;t t
2612228060Sbapts&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2613228060Sbapt$ac_datarootdir_hack
2614228060Sbapt" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2615228060Sbapt
2616228060Sbapttest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2617228060Sbapt  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2618228060Sbapt  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2619228060Sbapt  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2620228060Sbaptwhich seems to be undefined.  Please make sure it is defined." >&5
2621228060Sbaptecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2622228060Sbaptwhich seems to be undefined.  Please make sure it is defined." >&2;}
2623228060Sbapt
2624228060Sbapt  rm -f "$tmp/stdin"
2625228060Sbapt  case $ac_file in
2626228060Sbapt  -) cat "$tmp/out"; rm -f "$tmp/out";;
2627228060Sbapt  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2628228060Sbapt  esac
2629228060Sbapt ;;
2630228060Sbapt
2631228060Sbapt
2632228060Sbapt
2633228060Sbapt  esac
2634228060Sbapt
2635228060Sbaptdone # for ac_tag
2636228060Sbapt
2637228060Sbapt
2638228060Sbapt{ (exit 0); exit 0; }
2639228060Sbapt_ACEOF
264058551Skrischmod +x $CONFIG_STATUS
2641228060Sbaptac_clean_files=$ac_clean_files_save
264258551Skris
264358551Skris
2644228060Sbapt# configure is writing to config.log, and then calls config.status.
2645228060Sbapt# config.status does its own redirection, appending to config.log.
2646228060Sbapt# Unfortunately, on DOS this fails, as config.log is still kept open
2647228060Sbapt# by configure, so config.status won't be able to write to it; its
2648228060Sbapt# output is simply discarded.  So we exec the FD to /dev/null,
2649228060Sbapt# effectively closing config.log, so it can be properly (re)opened and
2650228060Sbapt# appended to by config.status.  When coming back to configure, we
2651228060Sbapt# need to make the FD available again.
2652228060Sbaptif test "$no_create" != yes; then
2653228060Sbapt  ac_cs_success=:
2654228060Sbapt  ac_config_status_args=
2655228060Sbapt  test "$silent" = yes &&
2656228060Sbapt    ac_config_status_args="$ac_config_status_args --quiet"
2657228060Sbapt  exec 5>/dev/null
2658228060Sbapt  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2659228060Sbapt  exec 5>>config.log
2660228060Sbapt  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2661228060Sbapt  # would make configure fail if this is the last instruction.
2662228060Sbapt  $ac_cs_success || { (exit 1); exit 1; }
2663228060Sbaptfi
2664228060Sbapt
2665228060Sbapt#
2666228060Sbapt# CONFIG_SUBDIRS section.
2667228060Sbapt#
266858551Skrisif test "$no_recursion" != yes; then
266958551Skris
267058551Skris  # Remove --cache-file and --srcdir arguments so they do not pile up.
267158551Skris  ac_sub_configure_args=
267258551Skris  ac_prev=
2673228060Sbapt  eval "set x $ac_configure_args"
2674228060Sbapt  shift
2675228060Sbapt  for ac_arg
2676228060Sbapt  do
267758551Skris    if test -n "$ac_prev"; then
267858551Skris      ac_prev=
267958551Skris      continue
268058551Skris    fi
2681228060Sbapt    case $ac_arg in
268258551Skris    -cache-file | --cache-file | --cache-fil | --cache-fi \
268358551Skris    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
268458551Skris      ac_prev=cache_file ;;
268558551Skris    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2686228060Sbapt    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
2687228060Sbapt    | --c=*)
268858551Skris      ;;
2689228060Sbapt    --config-cache | -C)
2690228060Sbapt      ;;
269158551Skris    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
269258551Skris      ac_prev=srcdir ;;
269358551Skris    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
269458551Skris      ;;
2695228060Sbapt    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2696228060Sbapt      ac_prev=prefix ;;
2697228060Sbapt    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2698228060Sbapt      ;;
2699228060Sbapt    *)
2700228060Sbapt      case $ac_arg in
2701228060Sbapt      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2702228060Sbapt      esac
2703228060Sbapt      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
270458551Skris    esac
270558551Skris  done
270658551Skris
2707228060Sbapt  # Always prepend --prefix to ensure using the same prefix
2708228060Sbapt  # in subdir configurations.
2709228060Sbapt  ac_arg="--prefix=$prefix"
2710228060Sbapt  case $ac_arg in
2711228060Sbapt  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2712228060Sbapt  esac
2713228060Sbapt  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
271458551Skris
2715228060Sbapt  # Pass --silent
2716228060Sbapt  if test "$silent" = yes; then
2717228060Sbapt    ac_sub_configure_args="--silent $ac_sub_configure_args"
2718228060Sbapt  fi
2719228060Sbapt
2720228060Sbapt  ac_popdir=`pwd`
2721228060Sbapt  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
2722228060Sbapt
272358551Skris    # Do not complain, so a configure script can configure whichever
272458551Skris    # parts of a large source tree are present.
2725228060Sbapt    test -d "$srcdir/$ac_dir" || continue
272658551Skris
2727228060Sbapt    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
2728228060Sbapt    echo "$as_me:$LINENO: $ac_msg" >&5
2729228060Sbapt    echo "$ac_msg" >&6
2730228060Sbapt    { as_dir="$ac_dir"
2731228060Sbapt  case $as_dir in #(
2732228060Sbapt  -*) as_dir=./$as_dir;;
2733228060Sbapt  esac
2734228060Sbapt  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2735228060Sbapt    as_dirs=
2736228060Sbapt    while :; do
2737228060Sbapt      case $as_dir in #(
2738228060Sbapt      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2739228060Sbapt      *) as_qdir=$as_dir;;
2740228060Sbapt      esac
2741228060Sbapt      as_dirs="'$as_qdir' $as_dirs"
2742228060Sbapt      as_dir=`$as_dirname -- "$as_dir" ||
2743228060Sbapt$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2744228060Sbapt	 X"$as_dir" : 'X\(//\)[^/]' \| \
2745228060Sbapt	 X"$as_dir" : 'X\(//\)$' \| \
2746228060Sbapt	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2747228060Sbaptecho X"$as_dir" |
2748228060Sbapt    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2749228060Sbapt	    s//\1/
2750228060Sbapt	    q
2751228060Sbapt	  }
2752228060Sbapt	  /^X\(\/\/\)[^/].*/{
2753228060Sbapt	    s//\1/
2754228060Sbapt	    q
2755228060Sbapt	  }
2756228060Sbapt	  /^X\(\/\/\)$/{
2757228060Sbapt	    s//\1/
2758228060Sbapt	    q
2759228060Sbapt	  }
2760228060Sbapt	  /^X\(\/\).*/{
2761228060Sbapt	    s//\1/
2762228060Sbapt	    q
2763228060Sbapt	  }
2764228060Sbapt	  s/.*/./; q'`
2765228060Sbapt      test -d "$as_dir" && break
2766228060Sbapt    done
2767228060Sbapt    test -z "$as_dirs" || eval "mkdir $as_dirs"
2768228060Sbapt  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2769228060Sbaptecho "$as_me: error: cannot create directory $as_dir" >&2;}
2770228060Sbapt   { (exit 1); exit 1; }; }; }
2771228060Sbapt    ac_builddir=.
277258551Skris
2773228060Sbaptcase "$ac_dir" in
2774228060Sbapt.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2775228060Sbapt*)
2776228060Sbapt  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2777228060Sbapt  # A ".." for each directory in $ac_dir_suffix.
2778228060Sbapt  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2779228060Sbapt  case $ac_top_builddir_sub in
2780228060Sbapt  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2781228060Sbapt  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2782228060Sbapt  esac ;;
2783228060Sbaptesac
2784228060Sbaptac_abs_top_builddir=$ac_pwd
2785228060Sbaptac_abs_builddir=$ac_pwd$ac_dir_suffix
2786228060Sbapt# for backward compatibility:
2787228060Sbaptac_top_builddir=$ac_top_build_prefix
278858551Skris
2789228060Sbaptcase $srcdir in
2790228060Sbapt  .)  # We are building in place.
2791228060Sbapt    ac_srcdir=.
2792228060Sbapt    ac_top_srcdir=$ac_top_builddir_sub
2793228060Sbapt    ac_abs_top_srcdir=$ac_pwd ;;
2794228060Sbapt  [\\/]* | ?:[\\/]* )  # Absolute name.
2795228060Sbapt    ac_srcdir=$srcdir$ac_dir_suffix;
2796228060Sbapt    ac_top_srcdir=$srcdir
2797228060Sbapt    ac_abs_top_srcdir=$srcdir ;;
2798228060Sbapt  *) # Relative name.
2799228060Sbapt    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2800228060Sbapt    ac_top_srcdir=$ac_top_build_prefix$srcdir
2801228060Sbapt    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2802228060Sbaptesac
2803228060Sbaptac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
280458551Skris
280558551Skris
2806228060Sbapt    cd "$ac_dir"
280758551Skris
280858551Skris    # Check for guested configure; otherwise get Cygnus style configure.
2809228060Sbapt    if test -f "$ac_srcdir/configure.gnu"; then
2810228060Sbapt      ac_sub_configure=$ac_srcdir/configure.gnu
2811228060Sbapt    elif test -f "$ac_srcdir/configure"; then
2812228060Sbapt      ac_sub_configure=$ac_srcdir/configure
2813228060Sbapt    elif test -f "$ac_srcdir/configure.in"; then
2814228060Sbapt      # This should be Cygnus configure.
2815228060Sbapt      ac_sub_configure=$ac_aux_dir/configure
281658551Skris    else
2817228060Sbapt      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
2818228060Sbaptecho "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
281958551Skris      ac_sub_configure=
282058551Skris    fi
282158551Skris
282258551Skris    # The recursion is here.
282358551Skris    if test -n "$ac_sub_configure"; then
282458551Skris      # Make the cache file name correct relative to the subdirectory.
2825228060Sbapt      case $cache_file in
2826228060Sbapt      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
2827228060Sbapt      *) # Relative name.
2828228060Sbapt	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
282958551Skris      esac
283058551Skris
2831228060Sbapt      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
2832228060Sbaptecho "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
283358551Skris      # The eval makes quoting arguments work.
2834228060Sbapt      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
2835228060Sbapt	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
2836228060Sbapt	{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
2837228060Sbaptecho "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
2838228060Sbapt   { (exit 1); exit 1; }; }
283958551Skris    fi
284058551Skris
2841228060Sbapt    cd "$ac_popdir"
284258551Skris  done
284358551Skrisfi
284458551Skris
2845