158551Skris#! /bin/sh
258551Skris# Guess values for system-dependent variables and create Makefiles.
3230237Sbapt# Generated by GNU Autoconf 2.61.
458551Skris#
5230237Sbapt# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6230237Sbapt# 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.
9230237Sbapt## --------------------- ##
10230237Sbapt## M4sh Initialization.  ##
11230237Sbapt## --------------------- ##
1258551Skris
13230237Sbapt# Be more Bourne compatible
14230237SbaptDUALCASE=1; export DUALCASE # for MKS sh
15230237Sbaptif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16230237Sbapt  emulate sh
17230237Sbapt  NULLCMD=:
18230237Sbapt  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19230237Sbapt  # is contrary to our usage.  Disable this feature.
20230237Sbapt  alias -g '${1+"$@"}'='"$@"'
21230237Sbapt  setopt NO_GLOB_SUBST
22230237Sbaptelse
23230237Sbapt  case `(set -o) 2>/dev/null` in
24230237Sbapt  *posix*) set -o posix ;;
25230237Sbaptesac
26230237Sbapt
27230237Sbaptfi
28230237Sbapt
29230237Sbapt
30230237Sbapt
31230237Sbapt
32230237Sbapt# PATH needs CR
33230237Sbapt# Avoid depending upon Character Ranges.
34230237Sbaptas_cr_letters='abcdefghijklmnopqrstuvwxyz'
35230237Sbaptas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36230237Sbaptas_cr_Letters=$as_cr_letters$as_cr_LETTERS
37230237Sbaptas_cr_digits='0123456789'
38230237Sbaptas_cr_alnum=$as_cr_Letters$as_cr_digits
39230237Sbapt
40230237Sbapt# The user is always right.
41230237Sbaptif test "${PATH_SEPARATOR+set}" != set; then
42230237Sbapt  echo "#! /bin/sh" >conf$$.sh
43230237Sbapt  echo  "exit 0"   >>conf$$.sh
44230237Sbapt  chmod +x conf$$.sh
45230237Sbapt  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46230237Sbapt    PATH_SEPARATOR=';'
47230237Sbapt  else
48230237Sbapt    PATH_SEPARATOR=:
49230237Sbapt  fi
50230237Sbapt  rm -f conf$$.sh
51230237Sbaptfi
52230237Sbapt
53230237Sbapt# Support unset when possible.
54230237Sbaptif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55230237Sbapt  as_unset=unset
56230237Sbaptelse
57230237Sbapt  as_unset=false
58230237Sbaptfi
59230237Sbapt
60230237Sbapt
61230237Sbapt# IFS
62230237Sbapt# We need space, tab and new line, in precisely that order.  Quoting is
63230237Sbapt# there to prevent editors from complaining about space-tab.
64230237Sbapt# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65230237Sbapt# splitting by setting IFS to empty value.)
66230237Sbaptas_nl='
67230237Sbapt'
68230237SbaptIFS=" ""	$as_nl"
69230237Sbapt
70230237Sbapt# Find who we are.  Look in the path if we contain no directory separator.
71230237Sbaptcase $0 in
72230237Sbapt  *[\\/]* ) as_myself=$0 ;;
73230237Sbapt  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74230237Sbaptfor as_dir in $PATH
75230237Sbaptdo
76230237Sbapt  IFS=$as_save_IFS
77230237Sbapt  test -z "$as_dir" && as_dir=.
78230237Sbapt  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79230237Sbaptdone
80230237SbaptIFS=$as_save_IFS
81230237Sbapt
82230237Sbapt     ;;
83230237Sbaptesac
84230237Sbapt# We did not find ourselves, most probably we were run as `sh COMMAND'
85230237Sbapt# in which case we are not to be found in the path.
86230237Sbaptif test "x$as_myself" = x; then
87230237Sbapt  as_myself=$0
88230237Sbaptfi
89230237Sbaptif test ! -f "$as_myself"; then
90230237Sbapt  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91230237Sbapt  { (exit 1); exit 1; }
92230237Sbaptfi
93230237Sbapt
94230237Sbapt# Work around bugs in pre-3.0 UWIN ksh.
95230237Sbaptfor as_var in ENV MAIL MAILPATH
96230237Sbaptdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97230237Sbaptdone
98230237SbaptPS1='$ '
99230237SbaptPS2='> '
100230237SbaptPS4='+ '
101230237Sbapt
102230237Sbapt# NLS nuisances.
103230237Sbaptfor as_var in \
104230237Sbapt  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105230237Sbapt  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106230237Sbapt  LC_TELEPHONE LC_TIME
107230237Sbaptdo
108230237Sbapt  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109230237Sbapt    eval $as_var=C; export $as_var
110230237Sbapt  else
111230237Sbapt    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112230237Sbapt  fi
113230237Sbaptdone
114230237Sbapt
115230237Sbapt# Required to use basename.
116230237Sbaptif expr a : '\(a\)' >/dev/null 2>&1 &&
117230237Sbapt   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118230237Sbapt  as_expr=expr
119230237Sbaptelse
120230237Sbapt  as_expr=false
121230237Sbaptfi
122230237Sbapt
123230237Sbaptif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124230237Sbapt  as_basename=basename
125230237Sbaptelse
126230237Sbapt  as_basename=false
127230237Sbaptfi
128230237Sbapt
129230237Sbapt
130230237Sbapt# Name of the executable.
131230237Sbaptas_me=`$as_basename -- "$0" ||
132230237Sbapt$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133230237Sbapt	 X"$0" : 'X\(//\)$' \| \
134230237Sbapt	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135230237Sbaptecho X/"$0" |
136230237Sbapt    sed '/^.*\/\([^/][^/]*\)\/*$/{
137230237Sbapt	    s//\1/
138230237Sbapt	    q
139230237Sbapt	  }
140230237Sbapt	  /^X\/\(\/\/\)$/{
141230237Sbapt	    s//\1/
142230237Sbapt	    q
143230237Sbapt	  }
144230237Sbapt	  /^X\/\(\/\).*/{
145230237Sbapt	    s//\1/
146230237Sbapt	    q
147230237Sbapt	  }
148230237Sbapt	  s/.*/./; q'`
149230237Sbapt
150230237Sbapt# CDPATH.
151230237Sbapt$as_unset CDPATH
152230237Sbapt
153230237Sbapt
154230237Sbaptif test "x$CONFIG_SHELL" = x; then
155230237Sbapt  if (eval ":") 2>/dev/null; then
156230237Sbapt  as_have_required=yes
157230237Sbaptelse
158230237Sbapt  as_have_required=no
159230237Sbaptfi
160230237Sbapt
161230237Sbapt  if test $as_have_required = yes && 	 (eval ":
162230237Sbapt(as_func_return () {
163230237Sbapt  (exit \$1)
164230237Sbapt}
165230237Sbaptas_func_success () {
166230237Sbapt  as_func_return 0
167230237Sbapt}
168230237Sbaptas_func_failure () {
169230237Sbapt  as_func_return 1
170230237Sbapt}
171230237Sbaptas_func_ret_success () {
172230237Sbapt  return 0
173230237Sbapt}
174230237Sbaptas_func_ret_failure () {
175230237Sbapt  return 1
176230237Sbapt}
177230237Sbapt
178230237Sbaptexitcode=0
179230237Sbaptif as_func_success; then
180230237Sbapt  :
181230237Sbaptelse
182230237Sbapt  exitcode=1
183230237Sbapt  echo as_func_success failed.
184230237Sbaptfi
185230237Sbapt
186230237Sbaptif as_func_failure; then
187230237Sbapt  exitcode=1
188230237Sbapt  echo as_func_failure succeeded.
189230237Sbaptfi
190230237Sbapt
191230237Sbaptif as_func_ret_success; then
192230237Sbapt  :
193230237Sbaptelse
194230237Sbapt  exitcode=1
195230237Sbapt  echo as_func_ret_success failed.
196230237Sbaptfi
197230237Sbapt
198230237Sbaptif as_func_ret_failure; then
199230237Sbapt  exitcode=1
200230237Sbapt  echo as_func_ret_failure succeeded.
201230237Sbaptfi
202230237Sbapt
203230237Sbaptif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204230237Sbapt  :
205230237Sbaptelse
206230237Sbapt  exitcode=1
207230237Sbapt  echo positional parameters were not saved.
208230237Sbaptfi
209230237Sbapt
210230237Sbapttest \$exitcode = 0) || { (exit 1); exit 1; }
211230237Sbapt
212230237Sbapt(
213230237Sbapt  as_lineno_1=\$LINENO
214230237Sbapt  as_lineno_2=\$LINENO
215230237Sbapt  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216230237Sbapt  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217230237Sbapt") 2> /dev/null; then
218230237Sbapt  :
219230237Sbaptelse
220230237Sbapt  as_candidate_shells=
221230237Sbapt    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222230237Sbaptfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223230237Sbaptdo
224230237Sbapt  IFS=$as_save_IFS
225230237Sbapt  test -z "$as_dir" && as_dir=.
226230237Sbapt  case $as_dir in
227230237Sbapt	 /*)
228230237Sbapt	   for as_base in sh bash ksh sh5; do
229230237Sbapt	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230230237Sbapt	   done;;
231230237Sbapt       esac
232230237Sbaptdone
233230237SbaptIFS=$as_save_IFS
234230237Sbapt
235230237Sbapt
236230237Sbapt      for as_shell in $as_candidate_shells $SHELL; do
237230237Sbapt	 # Try only shells that exist, to save several forks.
238230237Sbapt	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239230237Sbapt		{ ("$as_shell") 2> /dev/null <<\_ASEOF
240230237Sbaptif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241230237Sbapt  emulate sh
242230237Sbapt  NULLCMD=:
243230237Sbapt  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244230237Sbapt  # is contrary to our usage.  Disable this feature.
245230237Sbapt  alias -g '${1+"$@"}'='"$@"'
246230237Sbapt  setopt NO_GLOB_SUBST
247230237Sbaptelse
248230237Sbapt  case `(set -o) 2>/dev/null` in
249230237Sbapt  *posix*) set -o posix ;;
250230237Sbaptesac
251230237Sbapt
252230237Sbaptfi
253230237Sbapt
254230237Sbapt
255230237Sbapt:
256230237Sbapt_ASEOF
257230237Sbapt}; then
258230237Sbapt  CONFIG_SHELL=$as_shell
259230237Sbapt	       as_have_required=yes
260230237Sbapt	       if { "$as_shell" 2> /dev/null <<\_ASEOF
261230237Sbaptif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262230237Sbapt  emulate sh
263230237Sbapt  NULLCMD=:
264230237Sbapt  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265230237Sbapt  # is contrary to our usage.  Disable this feature.
266230237Sbapt  alias -g '${1+"$@"}'='"$@"'
267230237Sbapt  setopt NO_GLOB_SUBST
268230237Sbaptelse
269230237Sbapt  case `(set -o) 2>/dev/null` in
270230237Sbapt  *posix*) set -o posix ;;
271230237Sbaptesac
272230237Sbapt
273230237Sbaptfi
274230237Sbapt
275230237Sbapt
276230237Sbapt:
277230237Sbapt(as_func_return () {
278230237Sbapt  (exit $1)
279230237Sbapt}
280230237Sbaptas_func_success () {
281230237Sbapt  as_func_return 0
282230237Sbapt}
283230237Sbaptas_func_failure () {
284230237Sbapt  as_func_return 1
285230237Sbapt}
286230237Sbaptas_func_ret_success () {
287230237Sbapt  return 0
288230237Sbapt}
289230237Sbaptas_func_ret_failure () {
290230237Sbapt  return 1
291230237Sbapt}
292230237Sbapt
293230237Sbaptexitcode=0
294230237Sbaptif as_func_success; then
295230237Sbapt  :
296230237Sbaptelse
297230237Sbapt  exitcode=1
298230237Sbapt  echo as_func_success failed.
299230237Sbaptfi
300230237Sbapt
301230237Sbaptif as_func_failure; then
302230237Sbapt  exitcode=1
303230237Sbapt  echo as_func_failure succeeded.
304230237Sbaptfi
305230237Sbapt
306230237Sbaptif as_func_ret_success; then
307230237Sbapt  :
308230237Sbaptelse
309230237Sbapt  exitcode=1
310230237Sbapt  echo as_func_ret_success failed.
311230237Sbaptfi
312230237Sbapt
313230237Sbaptif as_func_ret_failure; then
314230237Sbapt  exitcode=1
315230237Sbapt  echo as_func_ret_failure succeeded.
316230237Sbaptfi
317230237Sbapt
318230237Sbaptif ( set x; as_func_ret_success y && test x = "$1" ); then
319230237Sbapt  :
320230237Sbaptelse
321230237Sbapt  exitcode=1
322230237Sbapt  echo positional parameters were not saved.
323230237Sbaptfi
324230237Sbapt
325230237Sbapttest $exitcode = 0) || { (exit 1); exit 1; }
326230237Sbapt
327230237Sbapt(
328230237Sbapt  as_lineno_1=$LINENO
329230237Sbapt  as_lineno_2=$LINENO
330230237Sbapt  test "x$as_lineno_1" != "x$as_lineno_2" &&
331230237Sbapt  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332230237Sbapt
333230237Sbapt_ASEOF
334230237Sbapt}; then
335230237Sbapt  break
336230237Sbaptfi
337230237Sbapt
338230237Sbaptfi
339230237Sbapt
340230237Sbapt      done
341230237Sbapt
342230237Sbapt      if test "x$CONFIG_SHELL" != x; then
343230237Sbapt  for as_var in BASH_ENV ENV
344230237Sbapt        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345230237Sbapt        done
346230237Sbapt        export CONFIG_SHELL
347230237Sbapt        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348230237Sbaptfi
349230237Sbapt
350230237Sbapt
351230237Sbapt    if test $as_have_required = no; then
352230237Sbapt  echo This script requires a shell more modern than all the
353230237Sbapt      echo shells that I found on your system.  Please install a
354230237Sbapt      echo modern shell, or manually run the script under such a
355230237Sbapt      echo shell if you do have one.
356230237Sbapt      { (exit 1); exit 1; }
357230237Sbaptfi
358230237Sbapt
359230237Sbapt
360230237Sbaptfi
361230237Sbapt
362230237Sbaptfi
363230237Sbapt
364230237Sbapt
365230237Sbapt
366230237Sbapt(eval "as_func_return () {
367230237Sbapt  (exit \$1)
368230237Sbapt}
369230237Sbaptas_func_success () {
370230237Sbapt  as_func_return 0
371230237Sbapt}
372230237Sbaptas_func_failure () {
373230237Sbapt  as_func_return 1
374230237Sbapt}
375230237Sbaptas_func_ret_success () {
376230237Sbapt  return 0
377230237Sbapt}
378230237Sbaptas_func_ret_failure () {
379230237Sbapt  return 1
380230237Sbapt}
381230237Sbapt
382230237Sbaptexitcode=0
383230237Sbaptif as_func_success; then
384230237Sbapt  :
385230237Sbaptelse
386230237Sbapt  exitcode=1
387230237Sbapt  echo as_func_success failed.
388230237Sbaptfi
389230237Sbapt
390230237Sbaptif as_func_failure; then
391230237Sbapt  exitcode=1
392230237Sbapt  echo as_func_failure succeeded.
393230237Sbaptfi
394230237Sbapt
395230237Sbaptif as_func_ret_success; then
396230237Sbapt  :
397230237Sbaptelse
398230237Sbapt  exitcode=1
399230237Sbapt  echo as_func_ret_success failed.
400230237Sbaptfi
401230237Sbapt
402230237Sbaptif as_func_ret_failure; then
403230237Sbapt  exitcode=1
404230237Sbapt  echo as_func_ret_failure succeeded.
405230237Sbaptfi
406230237Sbapt
407230237Sbaptif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408230237Sbapt  :
409230237Sbaptelse
410230237Sbapt  exitcode=1
411230237Sbapt  echo positional parameters were not saved.
412230237Sbaptfi
413230237Sbapt
414230237Sbapttest \$exitcode = 0") || {
415230237Sbapt  echo No shell found that supports shell functions.
416230237Sbapt  echo Please tell autoconf@gnu.org about your system,
417230237Sbapt  echo including any error possibly output before this
418230237Sbapt  echo message
419230237Sbapt}
420230237Sbapt
421230237Sbapt
422230237Sbapt
423230237Sbapt  as_lineno_1=$LINENO
424230237Sbapt  as_lineno_2=$LINENO
425230237Sbapt  test "x$as_lineno_1" != "x$as_lineno_2" &&
426230237Sbapt  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427230237Sbapt
428230237Sbapt  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429230237Sbapt  # uniformly replaced by the line number.  The first 'sed' inserts a
430230237Sbapt  # line-number line after each line using $LINENO; the second 'sed'
431230237Sbapt  # does the real work.  The second script uses 'N' to pair each
432230237Sbapt  # line-number line with the line containing $LINENO, and appends
433230237Sbapt  # trailing '-' during substitution so that $LINENO is not a special
434230237Sbapt  # case at line end.
435230237Sbapt  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436230237Sbapt  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437230237Sbapt  # E. McMahon (1931-1989) for sed's syntax.  :-)
438230237Sbapt  sed -n '
439230237Sbapt    p
440230237Sbapt    /[$]LINENO/=
441230237Sbapt  ' <$as_myself |
442230237Sbapt    sed '
443230237Sbapt      s/[$]LINENO.*/&-/
444230237Sbapt      t lineno
445230237Sbapt      b
446230237Sbapt      :lineno
447230237Sbapt      N
448230237Sbapt      :loop
449230237Sbapt      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450230237Sbapt      t loop
451230237Sbapt      s/-\n.*//
452230237Sbapt    ' >$as_me.lineno &&
453230237Sbapt  chmod +x "$as_me.lineno" ||
454230237Sbapt    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455230237Sbapt   { (exit 1); exit 1; }; }
456230237Sbapt
457230237Sbapt  # Don't try to exec as it changes $[0], causing all sort of problems
458230237Sbapt  # (the dirname of $[0] is not the place where we might find the
459230237Sbapt  # original and so on.  Autoconf is especially sensitive to this).
460230237Sbapt  . "./$as_me.lineno"
461230237Sbapt  # Exit status is that of the last command.
462230237Sbapt  exit
463230237Sbapt}
464230237Sbapt
465230237Sbapt
466230237Sbaptif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467230237Sbapt  as_dirname=dirname
468230237Sbaptelse
469230237Sbapt  as_dirname=false
470230237Sbaptfi
471230237Sbapt
472230237SbaptECHO_C= ECHO_N= ECHO_T=
473230237Sbaptcase `echo -n x` in
474230237Sbapt-n*)
475230237Sbapt  case `echo 'x\c'` in
476230237Sbapt  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477230237Sbapt  *)   ECHO_C='\c';;
478230237Sbapt  esac;;
479230237Sbapt*)
480230237Sbapt  ECHO_N='-n';;
481230237Sbaptesac
482230237Sbapt
483230237Sbaptif expr a : '\(a\)' >/dev/null 2>&1 &&
484230237Sbapt   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485230237Sbapt  as_expr=expr
486230237Sbaptelse
487230237Sbapt  as_expr=false
488230237Sbaptfi
489230237Sbapt
490230237Sbaptrm -f conf$$ conf$$.exe conf$$.file
491230237Sbaptif test -d conf$$.dir; then
492230237Sbapt  rm -f conf$$.dir/conf$$.file
493230237Sbaptelse
494230237Sbapt  rm -f conf$$.dir
495230237Sbapt  mkdir conf$$.dir
496230237Sbaptfi
497230237Sbaptecho >conf$$.file
498230237Sbaptif ln -s conf$$.file conf$$ 2>/dev/null; then
499230237Sbapt  as_ln_s='ln -s'
500230237Sbapt  # ... but there are two gotchas:
501230237Sbapt  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502230237Sbapt  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503230237Sbapt  # In both cases, we have to default to `cp -p'.
504230237Sbapt  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505230237Sbapt    as_ln_s='cp -p'
506230237Sbaptelif ln conf$$.file conf$$ 2>/dev/null; then
507230237Sbapt  as_ln_s=ln
508230237Sbaptelse
509230237Sbapt  as_ln_s='cp -p'
510230237Sbaptfi
511230237Sbaptrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512230237Sbaptrmdir conf$$.dir 2>/dev/null
513230237Sbapt
514230237Sbaptif mkdir -p . 2>/dev/null; then
515230237Sbapt  as_mkdir_p=:
516230237Sbaptelse
517230237Sbapt  test -d ./-p && rmdir ./-p
518230237Sbapt  as_mkdir_p=false
519230237Sbaptfi
520230237Sbapt
521230237Sbaptif test -x / >/dev/null 2>&1; then
522230237Sbapt  as_test_x='test -x'
523230237Sbaptelse
524230237Sbapt  if ls -dL / >/dev/null 2>&1; then
525230237Sbapt    as_ls_L_option=L
526230237Sbapt  else
527230237Sbapt    as_ls_L_option=
528230237Sbapt  fi
529230237Sbapt  as_test_x='
530230237Sbapt    eval sh -c '\''
531230237Sbapt      if test -d "$1"; then
532230237Sbapt        test -d "$1/.";
533230237Sbapt      else
534230237Sbapt	case $1 in
535230237Sbapt        -*)set "./$1";;
536230237Sbapt	esac;
537230237Sbapt	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538230237Sbapt	???[sx]*):;;*)false;;esac;fi
539230237Sbapt    '\'' sh
540230237Sbapt  '
541230237Sbaptfi
542230237Sbaptas_executable_p=$as_test_x
543230237Sbapt
544230237Sbapt# Sed expression to map a string onto a valid CPP name.
545230237Sbaptas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546230237Sbapt
547230237Sbapt# Sed expression to map a string onto a valid variable name.
548230237Sbaptas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549230237Sbapt
550230237Sbapt
551230237Sbapt
552230237Sbaptexec 7<&0 </dev/null 6>&1
553230237Sbapt
554230237Sbapt# Name of the host.
555230237Sbapt# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556230237Sbapt# so uname gets run too.
557230237Sbaptac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558230237Sbapt
559230237Sbapt#
560230237Sbapt# Initializations.
561230237Sbapt#
56258551Skrisac_default_prefix=/usr/local
563230237Sbaptac_clean_files=
564230237Sbaptac_config_libobj_dir=.
565230237SbaptLIBOBJS=
566230237Sbaptcross_compiling=no
567230237Sbaptsubdirs=
568230237SbaptMFLAGS=
569230237SbaptMAKEFLAGS=
570230237SbaptSHELL=${CONFIG_SHELL-/bin/sh}
57158551Skris
572230237Sbapt# Identity of this package.
573230237SbaptPACKAGE_NAME=
574230237SbaptPACKAGE_TARNAME=
575230237SbaptPACKAGE_VERSION=
576230237SbaptPACKAGE_STRING=
577230237SbaptPACKAGE_BUGREPORT=
578230237Sbapt
579230237Sbaptac_unique_file="doc/gperf.1"
580230237Sbaptac_subst_vars='SHELL
581230237SbaptPATH_SEPARATOR
582230237SbaptPACKAGE_NAME
583230237SbaptPACKAGE_TARNAME
584230237SbaptPACKAGE_VERSION
585230237SbaptPACKAGE_STRING
586230237SbaptPACKAGE_BUGREPORT
587230237Sbaptexec_prefix
588230237Sbaptprefix
589230237Sbaptprogram_transform_name
590230237Sbaptbindir
591230237Sbaptsbindir
592230237Sbaptlibexecdir
593230237Sbaptdatarootdir
594230237Sbaptdatadir
595230237Sbaptsysconfdir
596230237Sbaptsharedstatedir
597230237Sbaptlocalstatedir
598230237Sbaptincludedir
599230237Sbaptoldincludedir
600230237Sbaptdocdir
601230237Sbaptinfodir
602230237Sbapthtmldir
603230237Sbaptdvidir
604230237Sbaptpdfdir
605230237Sbaptpsdir
606230237Sbaptlibdir
607230237Sbaptlocaledir
608230237Sbaptmandir
609230237SbaptDEFS
610230237SbaptECHO_C
611230237SbaptECHO_N
612230237SbaptECHO_T
613230237SbaptLIBS
614230237Sbaptbuild_alias
615230237Sbapthost_alias
616230237Sbapttarget_alias
617230237SbaptSET_MAKE
618230237Sbaptsubdirs
619230237SbaptLIBOBJS
620230237SbaptLTLIBOBJS'
621230237Sbaptac_subst_files=''
622230237Sbapt      ac_precious_vars='build_alias
623230237Sbapthost_alias
624230237Sbapttarget_alias'
625230237Sbaptac_subdirs_all='lib src tests doc'
626230237Sbapt
62758551Skris# Initialize some variables set by options.
628230237Sbaptac_init_help=
629230237Sbaptac_init_version=false
63058551Skris# The variables have the same names as the options, with
63158551Skris# dashes changed to underlines.
632230237Sbaptcache_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
646230237Sbapt
647230237Sbapt# Installation directory options.
648230237Sbapt# These are left unexpanded so users can "make install exec_prefix=/foo"
649230237Sbapt# and all the variables that are supposed to be based on exec_prefix
650230237Sbapt# by default will actually change.
651230237Sbapt# Use braces instead of parens because sh, perl, etc. also accept them.
652230237Sbapt# (The list follows the same order as the GNU Coding Standards.)
65358551Skrisbindir='${exec_prefix}/bin'
65458551Skrissbindir='${exec_prefix}/sbin'
65558551Skrislibexecdir='${exec_prefix}/libexec'
656230237Sbaptdatarootdir='${prefix}/share'
657230237Sbaptdatadir='${datarootdir}'
65858551Skrissysconfdir='${prefix}/etc'
65958551Skrissharedstatedir='${prefix}/com'
66058551Skrislocalstatedir='${prefix}/var'
66158551Skrisincludedir='${prefix}/include'
66258551Skrisoldincludedir='/usr/include'
663230237Sbaptdocdir='${datarootdir}/doc/${PACKAGE}'
664230237Sbaptinfodir='${datarootdir}/info'
665230237Sbapthtmldir='${docdir}'
666230237Sbaptdvidir='${docdir}'
667230237Sbaptpdfdir='${docdir}'
668230237Sbaptpsdir='${docdir}'
669230237Sbaptlibdir='${exec_prefix}/lib'
670230237Sbaptlocaledir='${datarootdir}/locale'
671230237Sbaptmandir='${datarootdir}/man'
67258551Skris
67358551Skrisac_prev=
674230237Sbaptac_dashdash=
67558551Skrisfor ac_option
67658551Skrisdo
67758551Skris  # If the previous option needs an argument, assign it.
67858551Skris  if test -n "$ac_prev"; then
679230237Sbapt    eval $ac_prev=\$ac_option
68058551Skris    ac_prev=
68158551Skris    continue
68258551Skris  fi
68358551Skris
684230237Sbapt  case $ac_option in
685230237Sbapt  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
686230237Sbapt  *)	ac_optarg=yes ;;
68758551Skris  esac
68858551Skris
68958551Skris  # Accept the important Cygnus configure options, so we can diagnose typos.
69058551Skris
691230237Sbapt  case $ac_dashdash$ac_option in
692230237Sbapt  --)
693230237Sbapt    ac_dashdash=yes ;;
69458551Skris
69558551Skris  -bindir | --bindir | --bindi | --bind | --bin | --bi)
69658551Skris    ac_prev=bindir ;;
69758551Skris  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
698230237Sbapt    bindir=$ac_optarg ;;
69958551Skris
70058551Skris  -build | --build | --buil | --bui | --bu)
701230237Sbapt    ac_prev=build_alias ;;
70258551Skris  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
703230237Sbapt    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=*)
710230237Sbapt    cache_file=$ac_optarg ;;
71158551Skris
712230237Sbapt  --config-cache | -C)
713230237Sbapt    cache_file=config.cache ;;
714230237Sbapt
715230237Sbapt  -datadir | --datadir | --datadi | --datad)
71658551Skris    ac_prev=datadir ;;
717230237Sbapt  -datadir=* | --datadir=* | --datadi=* | --datad=*)
718230237Sbapt    datadir=$ac_optarg ;;
71958551Skris
720230237Sbapt  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
721230237Sbapt  | --dataroo | --dataro | --datar)
722230237Sbapt    ac_prev=datarootdir ;;
723230237Sbapt  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
724230237Sbapt  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
725230237Sbapt    datarootdir=$ac_optarg ;;
726230237Sbapt
72758551Skris  -disable-* | --disable-*)
728230237Sbapt    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
72958551Skris    # Reject names that are not valid shell variable names.
730230237Sbapt    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
731230237Sbapt      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
732230237Sbapt   { (exit 1); exit 1; }; }
733230237Sbapt    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
734230237Sbapt    eval enable_$ac_feature=no ;;
73558551Skris
736230237Sbapt  -docdir | --docdir | --docdi | --doc | --do)
737230237Sbapt    ac_prev=docdir ;;
738230237Sbapt  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
739230237Sbapt    docdir=$ac_optarg ;;
740230237Sbapt
741230237Sbapt  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
742230237Sbapt    ac_prev=dvidir ;;
743230237Sbapt  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
744230237Sbapt    dvidir=$ac_optarg ;;
745230237Sbapt
74658551Skris  -enable-* | --enable-*)
747230237Sbapt    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
74858551Skris    # Reject names that are not valid shell variable names.
749230237Sbapt    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
750230237Sbapt      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
751230237Sbapt   { (exit 1); exit 1; }; }
752230237Sbapt    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
753230237Sbapt    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=*)
762230237Sbapt    exec_prefix=$ac_optarg ;;
76358551Skris
76458551Skris  -gas | --gas | --ga | --g)
76558551Skris    # Obsolete; use --with-gas.
76658551Skris    with_gas=yes ;;
76758551Skris
768230237Sbapt  -help | --help | --hel | --he | -h)
769230237Sbapt    ac_init_help=long ;;
770230237Sbapt  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
771230237Sbapt    ac_init_help=recursive ;;
772230237Sbapt  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
773230237Sbapt    ac_init_help=short ;;
77458551Skris
77558551Skris  -host | --host | --hos | --ho)
776230237Sbapt    ac_prev=host_alias ;;
77758551Skris  -host=* | --host=* | --hos=* | --ho=*)
778230237Sbapt    host_alias=$ac_optarg ;;
77958551Skris
780230237Sbapt  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
781230237Sbapt    ac_prev=htmldir ;;
782230237Sbapt  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
783230237Sbapt  | --ht=*)
784230237Sbapt    htmldir=$ac_optarg ;;
785230237Sbapt
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=*)
791230237Sbapt    includedir=$ac_optarg ;;
79258551Skris
79358551Skris  -infodir | --infodir | --infodi | --infod | --info | --inf)
79458551Skris    ac_prev=infodir ;;
79558551Skris  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
796230237Sbapt    infodir=$ac_optarg ;;
79758551Skris
79858551Skris  -libdir | --libdir | --libdi | --libd)
79958551Skris    ac_prev=libdir ;;
80058551Skris  -libdir=* | --libdir=* | --libdi=* | --libd=*)
801230237Sbapt    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=*)
808230237Sbapt    libexecdir=$ac_optarg ;;
80958551Skris
810230237Sbapt  -localedir | --localedir | --localedi | --localed | --locale)
811230237Sbapt    ac_prev=localedir ;;
812230237Sbapt  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
813230237Sbapt    localedir=$ac_optarg ;;
814230237Sbapt
81558551Skris  -localstatedir | --localstatedir | --localstatedi | --localstated \
816230237Sbapt  | --localstate | --localstat | --localsta | --localst | --locals)
81758551Skris    ac_prev=localstatedir ;;
81858551Skris  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
819230237Sbapt  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
820230237Sbapt    localstatedir=$ac_optarg ;;
82158551Skris
82258551Skris  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
82358551Skris    ac_prev=mandir ;;
82458551Skris  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
825230237Sbapt    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 \
832230237Sbapt  | --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=*)
846230237Sbapt    oldincludedir=$ac_optarg ;;
84758551Skris
84858551Skris  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
84958551Skris    ac_prev=prefix ;;
85058551Skris  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
851230237Sbapt    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=*)
858230237Sbapt    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=*)
865230237Sbapt    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=*)
882230237Sbapt    program_transform_name=$ac_optarg ;;
88358551Skris
884230237Sbapt  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
885230237Sbapt    ac_prev=pdfdir ;;
886230237Sbapt  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
887230237Sbapt    pdfdir=$ac_optarg ;;
888230237Sbapt
889230237Sbapt  -psdir | --psdir | --psdi | --psd | --ps)
890230237Sbapt    ac_prev=psdir ;;
891230237Sbapt  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
892230237Sbapt    psdir=$ac_optarg ;;
893230237Sbapt
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=*)
902230237Sbapt    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=*)
913230237Sbapt    sharedstatedir=$ac_optarg ;;
91458551Skris
91558551Skris  -site | --site | --sit)
91658551Skris    ac_prev=site ;;
91758551Skris  -site=* | --site=* | --sit=*)
918230237Sbapt    site=$ac_optarg ;;
91958551Skris
92058551Skris  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
92158551Skris    ac_prev=srcdir ;;
92258551Skris  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
923230237Sbapt    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=*)
930230237Sbapt    sysconfdir=$ac_optarg ;;
93158551Skris
93258551Skris  -target | --target | --targe | --targ | --tar | --ta | --t)
933230237Sbapt    ac_prev=target_alias ;;
93458551Skris  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
935230237Sbapt    target_alias=$ac_optarg ;;
93658551Skris
93758551Skris  -v | -verbose | --verbose | --verbos | --verbo | --verb)
93858551Skris    verbose=yes ;;
93958551Skris
940230237Sbapt  -version | --version | --versio | --versi | --vers | -V)
941230237Sbapt    ac_init_version=: ;;
94258551Skris
94358551Skris  -with-* | --with-*)
944230237Sbapt    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
94558551Skris    # Reject names that are not valid shell variable names.
946230237Sbapt    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
947230237Sbapt      { echo "$as_me: error: invalid package name: $ac_package" >&2
948230237Sbapt   { (exit 1); exit 1; }; }
949230237Sbapt    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
950230237Sbapt    eval with_$ac_package=\$ac_optarg ;;
95158551Skris
95258551Skris  -without-* | --without-*)
953230237Sbapt    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
95458551Skris    # Reject names that are not valid shell variable names.
955230237Sbapt    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
956230237Sbapt      { echo "$as_me: error: invalid package name: $ac_package" >&2
957230237Sbapt   { (exit 1); exit 1; }; }
958230237Sbapt    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
959230237Sbapt    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=*)
970230237Sbapt    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=*)
977230237Sbapt    x_libraries=$ac_optarg ;;
97858551Skris
979230237Sbapt  -*) { echo "$as_me: error: unrecognized option: $ac_option
980230237SbaptTry \`$0 --help' for more information." >&2
981230237Sbapt   { (exit 1); exit 1; }; }
98258551Skris    ;;
98358551Skris
984230237Sbapt  *=*)
985230237Sbapt    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
986230237Sbapt    # Reject names that are not valid shell variable names.
987230237Sbapt    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
988230237Sbapt      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
989230237Sbapt   { (exit 1); exit 1; }; }
990230237Sbapt    eval $ac_envvar=\$ac_optarg
991230237Sbapt    export $ac_envvar ;;
992230237Sbapt
99358551Skris  *)
994230237Sbapt    # FIXME: should be removed in autoconf 3.0.
995230237Sbapt    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
996230237Sbapt    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
997230237Sbapt      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
998230237Sbapt    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
99958551Skris    ;;
100058551Skris
100158551Skris  esac
100258551Skrisdone
100358551Skris
100458551Skrisif test -n "$ac_prev"; then
1005230237Sbapt  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1006230237Sbapt  { echo "$as_me: error: missing argument to $ac_option" >&2
1007230237Sbapt   { (exit 1); exit 1; }; }
100858551Skrisfi
100958551Skris
1010230237Sbapt# Be sure to have absolute directory names.
1011230237Sbaptfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1012230237Sbapt		datadir sysconfdir sharedstatedir localstatedir includedir \
1013230237Sbapt		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1014230237Sbapt		libdir localedir mandir
1015230237Sbaptdo
1016230237Sbapt  eval ac_val=\$$ac_var
1017230237Sbapt  case $ac_val in
1018230237Sbapt    [\\/$]* | ?:[\\/]* )  continue;;
1019230237Sbapt    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1020230237Sbapt  esac
1021230237Sbapt  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1022230237Sbapt   { (exit 1); exit 1; }; }
1023230237Sbaptdone
102458551Skris
1025230237Sbapt# There might be people who depend on the old broken behavior: `$host'
1026230237Sbapt# used to hold the argument of --host etc.
1027230237Sbapt# FIXME: To remove some day.
1028230237Sbaptbuild=$build_alias
1029230237Sbapthost=$host_alias
1030230237Sbapttarget=$target_alias
1031230237Sbapt
1032230237Sbapt# FIXME: To remove some day.
1033230237Sbaptif test "x$host_alias" != x; then
1034230237Sbapt  if test "x$build_alias" = x; then
1035230237Sbapt    cross_compiling=maybe
1036230237Sbapt    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1037230237Sbapt    If a cross compiler is detected then cross compile mode will be used." >&2
1038230237Sbapt  elif test "x$build_alias" != "x$host_alias"; then
1039230237Sbapt    cross_compiling=yes
1040230237Sbapt  fi
104158551Skrisfi
104258551Skris
1043230237Sbaptac_tool_prefix=
1044230237Sbapttest -n "$host_alias" && ac_tool_prefix=$host_alias-
104558551Skris
1046230237Sbapttest "$silent" = yes && exec 6>/dev/null
104758551Skris
104858551Skris
1049230237Sbaptac_pwd=`pwd` && test -n "$ac_pwd" &&
1050230237Sbaptac_ls_di=`ls -di .` &&
1051230237Sbaptac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1052230237Sbapt  { echo "$as_me: error: Working directory cannot be determined" >&2
1053230237Sbapt   { (exit 1); exit 1; }; }
1054230237Sbapttest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1055230237Sbapt  { echo "$as_me: error: pwd does not report name of working directory" >&2
1056230237Sbapt   { (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
1062230237Sbapt  # Try the directory containing this script, then the parent directory.
1063230237Sbapt  ac_confdir=`$as_dirname -- "$0" ||
1064230237Sbapt$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1065230237Sbapt	 X"$0" : 'X\(//\)[^/]' \| \
1066230237Sbapt	 X"$0" : 'X\(//\)$' \| \
1067230237Sbapt	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1068230237Sbaptecho X"$0" |
1069230237Sbapt    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1070230237Sbapt	    s//\1/
1071230237Sbapt	    q
1072230237Sbapt	  }
1073230237Sbapt	  /^X\(\/\/\)[^/].*/{
1074230237Sbapt	    s//\1/
1075230237Sbapt	    q
1076230237Sbapt	  }
1077230237Sbapt	  /^X\(\/\/\)$/{
1078230237Sbapt	    s//\1/
1079230237Sbapt	    q
1080230237Sbapt	  }
1081230237Sbapt	  /^X\(\/\).*/{
1082230237Sbapt	    s//\1/
1083230237Sbapt	    q
1084230237Sbapt	  }
1085230237Sbapt	  s/.*/./; q'`
108658551Skris  srcdir=$ac_confdir
1087230237Sbapt  if test ! -r "$srcdir/$ac_unique_file"; then
108858551Skris    srcdir=..
108958551Skris  fi
109058551Skriselse
109158551Skris  ac_srcdir_defaulted=no
109258551Skrisfi
1093230237Sbaptif test ! -r "$srcdir/$ac_unique_file"; then
1094230237Sbapt  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1095230237Sbapt  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1096230237Sbapt   { (exit 1); exit 1; }; }
109758551Skrisfi
1098230237Sbaptac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1099230237Sbaptac_abs_confdir=`(
1100230237Sbapt	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1101230237Sbapt   { (exit 1); exit 1; }; }
1102230237Sbapt	pwd)`
1103230237Sbapt# When building in place, set srcdir=.
1104230237Sbaptif test "$ac_abs_confdir" = "$ac_pwd"; then
1105230237Sbapt  srcdir=.
1106230237Sbaptfi
1107230237Sbapt# Remove unnecessary trailing slashes from srcdir.
1108230237Sbapt# Double slashes in file names in object file debugging info
1109230237Sbapt# mess up M-x gdb in Emacs.
1110230237Sbaptcase $srcdir in
1111230237Sbapt*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1112230237Sbaptesac
1113230237Sbaptfor ac_var in $ac_precious_vars; do
1114230237Sbapt  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1115230237Sbapt  eval ac_env_${ac_var}_value=\$${ac_var}
1116230237Sbapt  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1117230237Sbapt  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1118230237Sbaptdone
111958551Skris
1120230237Sbapt#
1121230237Sbapt# Report the --help message.
1122230237Sbapt#
1123230237Sbaptif test "$ac_init_help" = "long"; then
1124230237Sbapt  # Omit some internal or obsolete options to make the list less imposing.
1125230237Sbapt  # This message is too long to be a string in the A/UX 3.1 sh.
1126230237Sbapt  cat <<_ACEOF
1127230237Sbapt\`configure' configures this package to adapt to many kinds of systems.
1128230237Sbapt
1129230237SbaptUsage: $0 [OPTION]... [VAR=VALUE]...
1130230237Sbapt
1131230237SbaptTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1132230237SbaptVAR=VALUE.  See below for descriptions of some of the useful variables.
1133230237Sbapt
1134230237SbaptDefaults for the options are specified in brackets.
1135230237Sbapt
1136230237SbaptConfiguration:
1137230237Sbapt  -h, --help              display this help and exit
1138230237Sbapt      --help=short        display options specific to this package
1139230237Sbapt      --help=recursive    display the short help of all the included packages
1140230237Sbapt  -V, --version           display version information and exit
1141230237Sbapt  -q, --quiet, --silent   do not print \`checking...' messages
1142230237Sbapt      --cache-file=FILE   cache test results in FILE [disabled]
1143230237Sbapt  -C, --config-cache      alias for \`--cache-file=config.cache'
1144230237Sbapt  -n, --no-create         do not create output files
1145230237Sbapt      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1146230237Sbapt
1147230237SbaptInstallation directories:
1148230237Sbapt  --prefix=PREFIX         install architecture-independent files in PREFIX
1149230237Sbapt			  [$ac_default_prefix]
1150230237Sbapt  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1151230237Sbapt			  [PREFIX]
1152230237Sbapt
1153230237SbaptBy default, \`make install' will install all the files in
1154230237Sbapt\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1155230237Sbaptan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1156230237Sbaptfor instance \`--prefix=\$HOME'.
1157230237Sbapt
1158230237SbaptFor better control, use the options below.
1159230237Sbapt
1160230237SbaptFine tuning of the installation directories:
1161230237Sbapt  --bindir=DIR           user executables [EPREFIX/bin]
1162230237Sbapt  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1163230237Sbapt  --libexecdir=DIR       program executables [EPREFIX/libexec]
1164230237Sbapt  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1165230237Sbapt  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1166230237Sbapt  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1167230237Sbapt  --libdir=DIR           object code libraries [EPREFIX/lib]
1168230237Sbapt  --includedir=DIR       C header files [PREFIX/include]
1169230237Sbapt  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1170230237Sbapt  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1171230237Sbapt  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1172230237Sbapt  --infodir=DIR          info documentation [DATAROOTDIR/info]
1173230237Sbapt  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1174230237Sbapt  --mandir=DIR           man documentation [DATAROOTDIR/man]
1175230237Sbapt  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1176230237Sbapt  --htmldir=DIR          html documentation [DOCDIR]
1177230237Sbapt  --dvidir=DIR           dvi documentation [DOCDIR]
1178230237Sbapt  --pdfdir=DIR           pdf documentation [DOCDIR]
1179230237Sbapt  --psdir=DIR            ps documentation [DOCDIR]
1180230237Sbapt_ACEOF
1181230237Sbapt
1182230237Sbapt  cat <<\_ACEOF
1183230237Sbapt_ACEOF
1184230237Sbaptfi
1185230237Sbapt
1186230237Sbaptif test -n "$ac_init_help"; then
1187230237Sbapt
1188230237Sbapt  cat <<\_ACEOF
1189230237Sbapt
1190230237Sbapt_ACEOF
1191230237Sbaptac_status=$?
1192230237Sbaptfi
1193230237Sbapt
1194230237Sbaptif test "$ac_init_help" = "recursive"; then
1195230237Sbapt  # If there are subdirs, report their specific --help.
1196230237Sbapt  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1197230237Sbapt    test -d "$ac_dir" || continue
1198230237Sbapt    ac_builddir=.
1199230237Sbapt
1200230237Sbaptcase "$ac_dir" in
1201230237Sbapt.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1202230237Sbapt*)
1203230237Sbapt  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1204230237Sbapt  # A ".." for each directory in $ac_dir_suffix.
1205230237Sbapt  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1206230237Sbapt  case $ac_top_builddir_sub in
1207230237Sbapt  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1208230237Sbapt  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1209230237Sbapt  esac ;;
1210230237Sbaptesac
1211230237Sbaptac_abs_top_builddir=$ac_pwd
1212230237Sbaptac_abs_builddir=$ac_pwd$ac_dir_suffix
1213230237Sbapt# for backward compatibility:
1214230237Sbaptac_top_builddir=$ac_top_build_prefix
1215230237Sbapt
1216230237Sbaptcase $srcdir in
1217230237Sbapt  .)  # We are building in place.
1218230237Sbapt    ac_srcdir=.
1219230237Sbapt    ac_top_srcdir=$ac_top_builddir_sub
1220230237Sbapt    ac_abs_top_srcdir=$ac_pwd ;;
1221230237Sbapt  [\\/]* | ?:[\\/]* )  # Absolute name.
1222230237Sbapt    ac_srcdir=$srcdir$ac_dir_suffix;
1223230237Sbapt    ac_top_srcdir=$srcdir
1224230237Sbapt    ac_abs_top_srcdir=$srcdir ;;
1225230237Sbapt  *) # Relative name.
1226230237Sbapt    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1227230237Sbapt    ac_top_srcdir=$ac_top_build_prefix$srcdir
1228230237Sbapt    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1229230237Sbaptesac
1230230237Sbaptac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1231230237Sbapt
1232230237Sbapt    cd "$ac_dir" || { ac_status=$?; continue; }
1233230237Sbapt    # Check for guested configure.
1234230237Sbapt    if test -f "$ac_srcdir/configure.gnu"; then
1235230237Sbapt      echo &&
1236230237Sbapt      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1237230237Sbapt    elif test -f "$ac_srcdir/configure"; then
1238230237Sbapt      echo &&
1239230237Sbapt      $SHELL "$ac_srcdir/configure" --help=recursive
1240230237Sbapt    else
1241230237Sbapt      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1242230237Sbapt    fi || ac_status=$?
1243230237Sbapt    cd "$ac_pwd" || { ac_status=$?; break; }
1244230237Sbapt  done
1245230237Sbaptfi
1246230237Sbapt
1247230237Sbapttest -n "$ac_init_help" && exit $ac_status
1248230237Sbaptif $ac_init_version; then
1249230237Sbapt  cat <<\_ACEOF
1250230237Sbaptconfigure
1251230237Sbaptgenerated by GNU Autoconf 2.61
1252230237Sbapt
1253230237SbaptCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1254230237Sbapt2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1255230237SbaptThis configure script is free software; the Free Software Foundation
1256230237Sbaptgives unlimited permission to copy, distribute and modify it.
1257230237Sbapt_ACEOF
1258230237Sbapt  exit
1259230237Sbaptfi
1260230237Sbaptcat >config.log <<_ACEOF
1261230237SbaptThis file contains any messages produced by compilers while
1262230237Sbaptrunning configure, to aid debugging if configure makes a mistake.
1263230237Sbapt
1264230237SbaptIt was created by $as_me, which was
1265230237Sbaptgenerated by GNU Autoconf 2.61.  Invocation command line was
1266230237Sbapt
1267230237Sbapt  $ $0 $@
1268230237Sbapt
1269230237Sbapt_ACEOF
1270230237Sbaptexec 5>>config.log
1271230237Sbapt{
1272230237Sbaptcat <<_ASUNAME
1273230237Sbapt## --------- ##
1274230237Sbapt## Platform. ##
1275230237Sbapt## --------- ##
1276230237Sbapt
1277230237Sbapthostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1278230237Sbaptuname -m = `(uname -m) 2>/dev/null || echo unknown`
1279230237Sbaptuname -r = `(uname -r) 2>/dev/null || echo unknown`
1280230237Sbaptuname -s = `(uname -s) 2>/dev/null || echo unknown`
1281230237Sbaptuname -v = `(uname -v) 2>/dev/null || echo unknown`
1282230237Sbapt
1283230237Sbapt/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1284230237Sbapt/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1285230237Sbapt
1286230237Sbapt/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1287230237Sbapt/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1288230237Sbapt/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1289230237Sbapt/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1290230237Sbapt/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1291230237Sbapt/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1292230237Sbapt/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1293230237Sbapt
1294230237Sbapt_ASUNAME
1295230237Sbapt
1296230237Sbaptas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1297230237Sbaptfor as_dir in $PATH
1298230237Sbaptdo
1299230237Sbapt  IFS=$as_save_IFS
1300230237Sbapt  test -z "$as_dir" && as_dir=.
1301230237Sbapt  echo "PATH: $as_dir"
1302230237Sbaptdone
1303230237SbaptIFS=$as_save_IFS
1304230237Sbapt
1305230237Sbapt} >&5
1306230237Sbapt
1307230237Sbaptcat >&5 <<_ACEOF
1308230237Sbapt
1309230237Sbapt
1310230237Sbapt## ----------- ##
1311230237Sbapt## Core tests. ##
1312230237Sbapt## ----------- ##
1313230237Sbapt
1314230237Sbapt_ACEOF
1315230237Sbapt
1316230237Sbapt
1317230237Sbapt# Keep a trace of the command line.
1318230237Sbapt# Strip out --no-create and --no-recursion so they do not pile up.
1319230237Sbapt# Strip out --silent because we don't want to record it for future runs.
1320230237Sbapt# Also quote any args containing shell meta-characters.
1321230237Sbapt# Make two passes to allow for proper duplicate-argument suppression.
1322230237Sbaptac_configure_args=
1323230237Sbaptac_configure_args0=
1324230237Sbaptac_configure_args1=
1325230237Sbaptac_must_keep_next=false
1326230237Sbaptfor ac_pass in 1 2
1327230237Sbaptdo
1328230237Sbapt  for ac_arg
1329230237Sbapt  do
1330230237Sbapt    case $ac_arg in
1331230237Sbapt    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1332230237Sbapt    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1333230237Sbapt    | -silent | --silent | --silen | --sile | --sil)
1334230237Sbapt      continue ;;
1335230237Sbapt    *\'*)
1336230237Sbapt      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1337230237Sbapt    esac
1338230237Sbapt    case $ac_pass in
1339230237Sbapt    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1340230237Sbapt    2)
1341230237Sbapt      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1342230237Sbapt      if test $ac_must_keep_next = true; then
1343230237Sbapt	ac_must_keep_next=false # Got value, back to normal.
1344230237Sbapt      else
1345230237Sbapt	case $ac_arg in
1346230237Sbapt	  *=* | --config-cache | -C | -disable-* | --disable-* \
1347230237Sbapt	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1348230237Sbapt	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1349230237Sbapt	  | -with-* | --with-* | -without-* | --without-* | --x)
1350230237Sbapt	    case "$ac_configure_args0 " in
1351230237Sbapt	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1352230237Sbapt	    esac
1353230237Sbapt	    ;;
1354230237Sbapt	  -* ) ac_must_keep_next=true ;;
1355230237Sbapt	esac
1356230237Sbapt      fi
1357230237Sbapt      ac_configure_args="$ac_configure_args '$ac_arg'"
1358230237Sbapt      ;;
1359230237Sbapt    esac
1360230237Sbapt  done
1361230237Sbaptdone
1362230237Sbapt$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1363230237Sbapt$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1364230237Sbapt
1365230237Sbapt# When interrupted or exit'd, cleanup temporary files, and complete
1366230237Sbapt# config.log.  We remove comments because anyway the quotes in there
1367230237Sbapt# would cause problems or look ugly.
1368230237Sbapt# WARNING: Use '\'' to represent an apostrophe within the trap.
1369230237Sbapt# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1370230237Sbapttrap 'exit_status=$?
1371230237Sbapt  # Save into config.log some information that might help in debugging.
1372230237Sbapt  {
1373230237Sbapt    echo
1374230237Sbapt
1375230237Sbapt    cat <<\_ASBOX
1376230237Sbapt## ---------------- ##
1377230237Sbapt## Cache variables. ##
1378230237Sbapt## ---------------- ##
1379230237Sbapt_ASBOX
1380230237Sbapt    echo
1381230237Sbapt    # The following way of writing the cache mishandles newlines in values,
1382230237Sbapt(
1383230237Sbapt  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1384230237Sbapt    eval ac_val=\$$ac_var
1385230237Sbapt    case $ac_val in #(
1386230237Sbapt    *${as_nl}*)
1387230237Sbapt      case $ac_var in #(
1388230237Sbapt      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1389230237Sbaptecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1390230237Sbapt      esac
1391230237Sbapt      case $ac_var in #(
1392230237Sbapt      _ | IFS | as_nl) ;; #(
1393230237Sbapt      *) $as_unset $ac_var ;;
1394230237Sbapt      esac ;;
1395230237Sbapt    esac
1396230237Sbapt  done
1397230237Sbapt  (set) 2>&1 |
1398230237Sbapt    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1399230237Sbapt    *${as_nl}ac_space=\ *)
1400230237Sbapt      sed -n \
1401230237Sbapt	"s/'\''/'\''\\\\'\'''\''/g;
1402230237Sbapt	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1403230237Sbapt      ;; #(
1404230237Sbapt    *)
1405230237Sbapt      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1406230237Sbapt      ;;
1407230237Sbapt    esac |
1408230237Sbapt    sort
1409230237Sbapt)
1410230237Sbapt    echo
1411230237Sbapt
1412230237Sbapt    cat <<\_ASBOX
1413230237Sbapt## ----------------- ##
1414230237Sbapt## Output variables. ##
1415230237Sbapt## ----------------- ##
1416230237Sbapt_ASBOX
1417230237Sbapt    echo
1418230237Sbapt    for ac_var in $ac_subst_vars
1419230237Sbapt    do
1420230237Sbapt      eval ac_val=\$$ac_var
1421230237Sbapt      case $ac_val in
1422230237Sbapt      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1423230237Sbapt      esac
1424230237Sbapt      echo "$ac_var='\''$ac_val'\''"
1425230237Sbapt    done | sort
1426230237Sbapt    echo
1427230237Sbapt
1428230237Sbapt    if test -n "$ac_subst_files"; then
1429230237Sbapt      cat <<\_ASBOX
1430230237Sbapt## ------------------- ##
1431230237Sbapt## File substitutions. ##
1432230237Sbapt## ------------------- ##
1433230237Sbapt_ASBOX
1434230237Sbapt      echo
1435230237Sbapt      for ac_var in $ac_subst_files
1436230237Sbapt      do
1437230237Sbapt	eval ac_val=\$$ac_var
1438230237Sbapt	case $ac_val in
1439230237Sbapt	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1440230237Sbapt	esac
1441230237Sbapt	echo "$ac_var='\''$ac_val'\''"
1442230237Sbapt      done | sort
1443230237Sbapt      echo
1444230237Sbapt    fi
1445230237Sbapt
1446230237Sbapt    if test -s confdefs.h; then
1447230237Sbapt      cat <<\_ASBOX
1448230237Sbapt## ----------- ##
1449230237Sbapt## confdefs.h. ##
1450230237Sbapt## ----------- ##
1451230237Sbapt_ASBOX
1452230237Sbapt      echo
1453230237Sbapt      cat confdefs.h
1454230237Sbapt      echo
1455230237Sbapt    fi
1456230237Sbapt    test "$ac_signal" != 0 &&
1457230237Sbapt      echo "$as_me: caught signal $ac_signal"
1458230237Sbapt    echo "$as_me: exit $exit_status"
1459230237Sbapt  } >&5
1460230237Sbapt  rm -f core *.core core.conftest.* &&
1461230237Sbapt    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1462230237Sbapt    exit $exit_status
1463230237Sbapt' 0
1464230237Sbaptfor ac_signal in 1 2 13 15; do
1465230237Sbapt  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1466230237Sbaptdone
1467230237Sbaptac_signal=0
1468230237Sbapt
1469230237Sbapt# confdefs.h avoids OS command line length limits that DEFS can exceed.
1470230237Sbaptrm -f -r conftest* confdefs.h
1471230237Sbapt
1472230237Sbapt# Predefined preprocessor variables.
1473230237Sbapt
1474230237Sbaptcat >>confdefs.h <<_ACEOF
1475230237Sbapt#define PACKAGE_NAME "$PACKAGE_NAME"
1476230237Sbapt_ACEOF
1477230237Sbapt
1478230237Sbapt
1479230237Sbaptcat >>confdefs.h <<_ACEOF
1480230237Sbapt#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1481230237Sbapt_ACEOF
1482230237Sbapt
1483230237Sbapt
1484230237Sbaptcat >>confdefs.h <<_ACEOF
1485230237Sbapt#define PACKAGE_VERSION "$PACKAGE_VERSION"
1486230237Sbapt_ACEOF
1487230237Sbapt
1488230237Sbapt
1489230237Sbaptcat >>confdefs.h <<_ACEOF
1490230237Sbapt#define PACKAGE_STRING "$PACKAGE_STRING"
1491230237Sbapt_ACEOF
1492230237Sbapt
1493230237Sbapt
1494230237Sbaptcat >>confdefs.h <<_ACEOF
1495230237Sbapt#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1496230237Sbapt_ACEOF
1497230237Sbapt
1498230237Sbapt
1499230237Sbapt# Let the site file select an alternate cache file if it wants to.
150058551Skris# Prefer explicitly selected file to automatically selected ones.
1501230237Sbaptif test -n "$CONFIG_SITE"; then
1502230237Sbapt  set x "$CONFIG_SITE"
1503230237Sbaptelif test "x$prefix" != xNONE; then
1504230237Sbapt  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1505230237Sbaptelse
1506230237Sbapt  set x "$ac_default_prefix/share/config.site" \
1507230237Sbapt	"$ac_default_prefix/etc/config.site"
150858551Skrisfi
1509230237Sbaptshift
1510230237Sbaptfor ac_site_file
1511230237Sbaptdo
151258551Skris  if test -r "$ac_site_file"; then
1513230237Sbapt    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1514230237Sbaptecho "$as_me: loading site script $ac_site_file" >&6;}
1515230237Sbapt    sed 's/^/| /' "$ac_site_file" >&5
151658551Skris    . "$ac_site_file"
151758551Skris  fi
151858551Skrisdone
151958551Skris
152058551Skrisif test -r "$cache_file"; then
1521230237Sbapt  # Some versions of bash will fail to source /dev/null (special
1522230237Sbapt  # files actually), so we avoid doing that.
1523230237Sbapt  if test -f "$cache_file"; then
1524230237Sbapt    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1525230237Sbaptecho "$as_me: loading cache $cache_file" >&6;}
1526230237Sbapt    case $cache_file in
1527230237Sbapt      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1528230237Sbapt      *)                      . "./$cache_file";;
1529230237Sbapt    esac
1530230237Sbapt  fi
153158551Skriselse
1532230237Sbapt  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1533230237Sbaptecho "$as_me: creating cache $cache_file" >&6;}
1534230237Sbapt  >$cache_file
153558551Skrisfi
153658551Skris
1537230237Sbapt# Check that the precious variables saved in the cache have kept the same
1538230237Sbapt# value.
1539230237Sbaptac_cache_corrupted=false
1540230237Sbaptfor ac_var in $ac_precious_vars; do
1541230237Sbapt  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1542230237Sbapt  eval ac_new_set=\$ac_env_${ac_var}_set
1543230237Sbapt  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1544230237Sbapt  eval ac_new_val=\$ac_env_${ac_var}_value
1545230237Sbapt  case $ac_old_set,$ac_new_set in
1546230237Sbapt    set,)
1547230237Sbapt      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1548230237Sbaptecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1549230237Sbapt      ac_cache_corrupted=: ;;
1550230237Sbapt    ,set)
1551230237Sbapt      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1552230237Sbaptecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1553230237Sbapt      ac_cache_corrupted=: ;;
1554230237Sbapt    ,);;
1555230237Sbapt    *)
1556230237Sbapt      if test "x$ac_old_val" != "x$ac_new_val"; then
1557230237Sbapt	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1558230237Sbaptecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1559230237Sbapt	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1560230237Sbaptecho "$as_me:   former value:  $ac_old_val" >&2;}
1561230237Sbapt	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1562230237Sbaptecho "$as_me:   current value: $ac_new_val" >&2;}
1563230237Sbapt	ac_cache_corrupted=:
1564230237Sbapt      fi;;
1565230237Sbapt  esac
1566230237Sbapt  # Pass precious variables to config.status.
1567230237Sbapt  if test "$ac_new_set" = set; then
1568230237Sbapt    case $ac_new_val in
1569230237Sbapt    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1570230237Sbapt    *) ac_arg=$ac_var=$ac_new_val ;;
1571230237Sbapt    esac
1572230237Sbapt    case " $ac_configure_args " in
1573230237Sbapt      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1574230237Sbapt      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1575230237Sbapt    esac
1576230237Sbapt  fi
1577230237Sbaptdone
1578230237Sbaptif $ac_cache_corrupted; then
1579230237Sbapt  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1580230237Sbaptecho "$as_me: error: changes in the environment can compromise the build" >&2;}
1581230237Sbapt  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1582230237Sbaptecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1583230237Sbapt   { (exit 1); exit 1; }; }
1584230237Sbaptfi
1585230237Sbapt
1586230237Sbapt
1587230237Sbapt
1588230237Sbapt
1589230237Sbapt
1590230237Sbapt
1591230237Sbapt
1592230237Sbapt
1593230237Sbapt
1594230237Sbapt
1595230237Sbapt
1596230237Sbapt
1597230237Sbapt
1598230237Sbapt
1599230237Sbapt
1600230237Sbapt
1601230237Sbapt
160258551Skrisac_ext=c
160358551Skrisac_cpp='$CPP $CPPFLAGS'
1604230237Sbaptac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1605230237Sbaptac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1606230237Sbaptac_compiler_gnu=$ac_cv_c_compiler_gnu
160758551Skris
160858551Skris
1609230237Sbapt{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1610230237Sbaptecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1611230237Sbaptset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1612230237Sbaptif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1613230237Sbapt  echo $ECHO_N "(cached) $ECHO_C" >&6
161458551Skriselse
1615230237Sbapt  cat >conftest.make <<\_ACEOF
1616230237SbaptSHELL = /bin/sh
161758551Skrisall:
1618230237Sbapt	@echo '@@@%%%=$(MAKE)=@@@%%%'
1619230237Sbapt_ACEOF
162058551Skris# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1621230237Sbaptcase `${MAKE-make} -f conftest.make 2>/dev/null` in
1622230237Sbapt  *@@@%%%=?*=@@@%%%*)
1623230237Sbapt    eval ac_cv_prog_make_${ac_make}_set=yes;;
1624230237Sbapt  *)
1625230237Sbapt    eval ac_cv_prog_make_${ac_make}_set=no;;
1626230237Sbaptesac
1627230237Sbaptrm -f conftest.make
162858551Skrisfi
1629230237Sbaptif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1630230237Sbapt  { echo "$as_me:$LINENO: result: yes" >&5
1631230237Sbaptecho "${ECHO_T}yes" >&6; }
163258551Skris  SET_MAKE=
163358551Skriselse
1634230237Sbapt  { echo "$as_me:$LINENO: result: no" >&5
1635230237Sbaptecho "${ECHO_T}no" >&6; }
163658551Skris  SET_MAKE="MAKE=${MAKE-make}"
163758551Skrisfi
163858551Skris
1639230237Sbapt
1640230237Sbapt
1641230237Sbapt
1642230237Sbaptac_aux_dir=$srcdir
1643230237Sbapt
1644230237Sbaptsubdirs="$subdirs lib src tests doc"
1645230237Sbapt
1646230237Sbapt
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'
1665230237Sbaptac_config_files="$ac_config_files Makefile"
1666230237Sbapt
1667230237Sbaptcat >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
1670230237Sbapt# scripts and configure runs, see configure's option --config-cache.
1671230237Sbapt# It is not useful on other systems.  If it contains results you don't
1672230237Sbapt# want to keep, you may remove or edit it.
167358551Skris#
1674230237Sbapt# config.status only pays attention to the cache file if you give it
1675230237Sbapt# the --recheck option to rerun configure.
167658551Skris#
1677230237Sbapt# `ac_cv_env_foo' variables (set or unset) will be overridden when
1678230237Sbapt# loading this file, other *unset* `ac_cv_foo' will be assigned the
1679230237Sbapt# following values.
1680230237Sbapt
1681230237Sbapt_ACEOF
1682230237Sbapt
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.
1685230237Sbapt# 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.
1688230237Sbapt(
1689230237Sbapt  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1690230237Sbapt    eval ac_val=\$$ac_var
1691230237Sbapt    case $ac_val in #(
1692230237Sbapt    *${as_nl}*)
1693230237Sbapt      case $ac_var in #(
1694230237Sbapt      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1695230237Sbaptecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1696230237Sbapt      esac
1697230237Sbapt      case $ac_var in #(
1698230237Sbapt      _ | IFS | as_nl) ;; #(
1699230237Sbapt      *) $as_unset $ac_var ;;
1700230237Sbapt      esac ;;
1701230237Sbapt    esac
1702230237Sbapt  done
1703230237Sbapt
1704230237Sbapt  (set) 2>&1 |
1705230237Sbapt    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1706230237Sbapt    *${as_nl}ac_space=\ *)
1707230237Sbapt      # `set' does not quote correctly, so add quotes (double-quote
1708230237Sbapt      # substitution turns \\\\ into \\, and sed turns \\ into \).
1709230237Sbapt      sed -n \
1710230237Sbapt	"s/'/'\\\\''/g;
1711230237Sbapt	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1712230237Sbapt      ;; #(
1713230237Sbapt    *)
1714230237Sbapt      # `set' quotes correctly as required by POSIX, so do not add quotes.
1715230237Sbapt      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1716230237Sbapt      ;;
1717230237Sbapt    esac |
1718230237Sbapt    sort
1719230237Sbapt) |
1720230237Sbapt  sed '
1721230237Sbapt     /^ac_cv_env_/b end
1722230237Sbapt     t clear
1723230237Sbapt     :clear
1724230237Sbapt     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1725230237Sbapt     t end
1726230237Sbapt     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1727230237Sbapt     :end' >>confcache
1728230237Sbaptif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1729230237Sbapt  if test -w "$cache_file"; then
1730230237Sbapt    test "x$cache_file" != "x/dev/null" &&
1731230237Sbapt      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1732230237Sbaptecho "$as_me: updating cache $cache_file" >&6;}
1733230237Sbapt    cat confcache >$cache_file
173458551Skris  else
1735230237Sbapt    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1736230237Sbaptecho "$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.
1748230237Sbapt#
1749230237Sbapt# If the first sed substitution is executed (which looks for macros that
1750230237Sbapt# take arguments), then branch to the quote section.  Otherwise,
1751230237Sbapt# look for a macro that doesn't take arguments.
1752230237Sbaptac_script='
1753230237Sbaptt clear
1754230237Sbapt:clear
1755230237Sbapts/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
1756230237Sbaptt quote
1757230237Sbapts/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
1758230237Sbaptt quote
1759230237Sbaptb any
1760230237Sbapt:quote
1761230237Sbapts/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1762230237Sbapts/\[/\\&/g
1763230237Sbapts/\]/\\&/g
1764230237Sbapts/\$/$$/g
1765230237SbaptH
1766230237Sbapt:any
1767230237Sbapt${
1768230237Sbapt	g
1769230237Sbapt	s/^\n//
1770230237Sbapt	s/\n/ /g
1771230237Sbapt	p
1772230237Sbapt}
1773230237Sbapt'
1774230237SbaptDEFS=`sed -n "$ac_script" confdefs.h`
177558551Skris
177658551Skris
1777230237Sbaptac_libobjs=
1778230237Sbaptac_ltlibobjs=
1779230237Sbaptfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1780230237Sbapt  # 1. Remove the extension, and $U if already installed.
1781230237Sbapt  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1782230237Sbapt  ac_i=`echo "$ac_i" | sed "$ac_script"`
1783230237Sbapt  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1784230237Sbapt  #    will be set to the directory where LIBOBJS objects are built.
1785230237Sbapt  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1786230237Sbapt  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1787230237Sbaptdone
1788230237SbaptLIBOBJS=$ac_libobjs
1789230237Sbapt
1790230237SbaptLTLIBOBJS=$ac_ltlibobjs
1791230237Sbapt
1792230237Sbapt
1793230237Sbapt
179458551Skris: ${CONFIG_STATUS=./config.status}
1795230237Sbaptac_clean_files_save=$ac_clean_files
1796230237Sbaptac_clean_files="$ac_clean_files $CONFIG_STATUS"
1797230237Sbapt{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1798230237Sbaptecho "$as_me: creating $CONFIG_STATUS" >&6;}
1799230237Sbaptcat >$CONFIG_STATUS <<_ACEOF
1800230237Sbapt#! $SHELL
1801230237Sbapt# Generated by $as_me.
180258551Skris# Run this file to recreate the current configuration.
180358551Skris# Compiler output produced by configure, useful for debugging
1804230237Sbapt# configure, is in config.log if it exists.
180558551Skris
1806230237Sbaptdebug=false
1807230237Sbaptac_cs_recheck=false
1808230237Sbaptac_cs_silent=false
1809230237SbaptSHELL=\${CONFIG_SHELL-$SHELL}
1810230237Sbapt_ACEOF
181158551Skris
1812230237Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
1813230237Sbapt## --------------------- ##
1814230237Sbapt## M4sh Initialization.  ##
1815230237Sbapt## --------------------- ##
181658551Skris
1817230237Sbapt# Be more Bourne compatible
1818230237SbaptDUALCASE=1; export DUALCASE # for MKS sh
1819230237Sbaptif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1820230237Sbapt  emulate sh
1821230237Sbapt  NULLCMD=:
1822230237Sbapt  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1823230237Sbapt  # is contrary to our usage.  Disable this feature.
1824230237Sbapt  alias -g '${1+"$@"}'='"$@"'
1825230237Sbapt  setopt NO_GLOB_SUBST
1826230237Sbaptelse
1827230237Sbapt  case `(set -o) 2>/dev/null` in
1828230237Sbapt  *posix*) set -o posix ;;
1829230237Sbaptesac
183058551Skris
1831230237Sbaptfi
183258551Skris
183358551Skris
183458551Skris
1835230237Sbapt
1836230237Sbapt# PATH needs CR
1837230237Sbapt# Avoid depending upon Character Ranges.
1838230237Sbaptas_cr_letters='abcdefghijklmnopqrstuvwxyz'
1839230237Sbaptas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1840230237Sbaptas_cr_Letters=$as_cr_letters$as_cr_LETTERS
1841230237Sbaptas_cr_digits='0123456789'
1842230237Sbaptas_cr_alnum=$as_cr_Letters$as_cr_digits
1843230237Sbapt
1844230237Sbapt# The user is always right.
1845230237Sbaptif test "${PATH_SEPARATOR+set}" != set; then
1846230237Sbapt  echo "#! /bin/sh" >conf$$.sh
1847230237Sbapt  echo  "exit 0"   >>conf$$.sh
1848230237Sbapt  chmod +x conf$$.sh
1849230237Sbapt  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1850230237Sbapt    PATH_SEPARATOR=';'
185158551Skris  else
1852230237Sbapt    PATH_SEPARATOR=:
185358551Skris  fi
1854230237Sbapt  rm -f conf$$.sh
1855230237Sbaptfi
1856230237Sbapt
1857230237Sbapt# Support unset when possible.
1858230237Sbaptif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1859230237Sbapt  as_unset=unset
1860230237Sbaptelse
1861230237Sbapt  as_unset=false
1862230237Sbaptfi
1863230237Sbapt
1864230237Sbapt
1865230237Sbapt# IFS
1866230237Sbapt# We need space, tab and new line, in precisely that order.  Quoting is
1867230237Sbapt# there to prevent editors from complaining about space-tab.
1868230237Sbapt# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1869230237Sbapt# splitting by setting IFS to empty value.)
1870230237Sbaptas_nl='
1871230237Sbapt'
1872230237SbaptIFS=" ""	$as_nl"
1873230237Sbapt
1874230237Sbapt# Find who we are.  Look in the path if we contain no directory separator.
1875230237Sbaptcase $0 in
1876230237Sbapt  *[\\/]* ) as_myself=$0 ;;
1877230237Sbapt  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878230237Sbaptfor as_dir in $PATH
1879230237Sbaptdo
1880230237Sbapt  IFS=$as_save_IFS
1881230237Sbapt  test -z "$as_dir" && as_dir=.
1882230237Sbapt  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1883230237Sbaptdone
1884230237SbaptIFS=$as_save_IFS
1885230237Sbapt
1886230237Sbapt     ;;
1887230237Sbaptesac
1888230237Sbapt# We did not find ourselves, most probably we were run as `sh COMMAND'
1889230237Sbapt# in which case we are not to be found in the path.
1890230237Sbaptif test "x$as_myself" = x; then
1891230237Sbapt  as_myself=$0
1892230237Sbaptfi
1893230237Sbaptif test ! -f "$as_myself"; then
1894230237Sbapt  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1895230237Sbapt  { (exit 1); exit 1; }
1896230237Sbaptfi
1897230237Sbapt
1898230237Sbapt# Work around bugs in pre-3.0 UWIN ksh.
1899230237Sbaptfor as_var in ENV MAIL MAILPATH
1900230237Sbaptdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1901230237Sbaptdone
1902230237SbaptPS1='$ '
1903230237SbaptPS2='> '
1904230237SbaptPS4='+ '
1905230237Sbapt
1906230237Sbapt# NLS nuisances.
1907230237Sbaptfor as_var in \
1908230237Sbapt  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1909230237Sbapt  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1910230237Sbapt  LC_TELEPHONE LC_TIME
1911230237Sbaptdo
1912230237Sbapt  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1913230237Sbapt    eval $as_var=C; export $as_var
191458551Skris  else
1915230237Sbapt    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
191658551Skris  fi
191758551Skrisdone
1918230237Sbapt
1919230237Sbapt# Required to use basename.
1920230237Sbaptif expr a : '\(a\)' >/dev/null 2>&1 &&
1921230237Sbapt   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1922230237Sbapt  as_expr=expr
1923230237Sbaptelse
1924230237Sbapt  as_expr=false
192558551Skrisfi
192658551Skris
1927230237Sbaptif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1928230237Sbapt  as_basename=basename
1929230237Sbaptelse
1930230237Sbapt  as_basename=false
1931230237Sbaptfi
193258551Skris
1933230237Sbapt
1934230237Sbapt# Name of the executable.
1935230237Sbaptas_me=`$as_basename -- "$0" ||
1936230237Sbapt$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1937230237Sbapt	 X"$0" : 'X\(//\)$' \| \
1938230237Sbapt	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1939230237Sbaptecho X/"$0" |
1940230237Sbapt    sed '/^.*\/\([^/][^/]*\)\/*$/{
1941230237Sbapt	    s//\1/
1942230237Sbapt	    q
1943230237Sbapt	  }
1944230237Sbapt	  /^X\/\(\/\/\)$/{
1945230237Sbapt	    s//\1/
1946230237Sbapt	    q
1947230237Sbapt	  }
1948230237Sbapt	  /^X\/\(\/\).*/{
1949230237Sbapt	    s//\1/
1950230237Sbapt	    q
1951230237Sbapt	  }
1952230237Sbapt	  s/.*/./; q'`
1953230237Sbapt
1954230237Sbapt# CDPATH.
1955230237Sbapt$as_unset CDPATH
1956230237Sbapt
1957230237Sbapt
1958230237Sbapt
1959230237Sbapt  as_lineno_1=$LINENO
1960230237Sbapt  as_lineno_2=$LINENO
1961230237Sbapt  test "x$as_lineno_1" != "x$as_lineno_2" &&
1962230237Sbapt  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1963230237Sbapt
1964230237Sbapt  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1965230237Sbapt  # uniformly replaced by the line number.  The first 'sed' inserts a
1966230237Sbapt  # line-number line after each line using $LINENO; the second 'sed'
1967230237Sbapt  # does the real work.  The second script uses 'N' to pair each
1968230237Sbapt  # line-number line with the line containing $LINENO, and appends
1969230237Sbapt  # trailing '-' during substitution so that $LINENO is not a special
1970230237Sbapt  # case at line end.
1971230237Sbapt  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1972230237Sbapt  # scripts with optimization help from Paolo Bonzini.  Blame Lee
1973230237Sbapt  # E. McMahon (1931-1989) for sed's syntax.  :-)
1974230237Sbapt  sed -n '
1975230237Sbapt    p
1976230237Sbapt    /[$]LINENO/=
1977230237Sbapt  ' <$as_myself |
1978230237Sbapt    sed '
1979230237Sbapt      s/[$]LINENO.*/&-/
1980230237Sbapt      t lineno
1981230237Sbapt      b
1982230237Sbapt      :lineno
1983230237Sbapt      N
1984230237Sbapt      :loop
1985230237Sbapt      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1986230237Sbapt      t loop
1987230237Sbapt      s/-\n.*//
1988230237Sbapt    ' >$as_me.lineno &&
1989230237Sbapt  chmod +x "$as_me.lineno" ||
1990230237Sbapt    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1991230237Sbapt   { (exit 1); exit 1; }; }
1992230237Sbapt
1993230237Sbapt  # Don't try to exec as it changes $[0], causing all sort of problems
1994230237Sbapt  # (the dirname of $[0] is not the place where we might find the
1995230237Sbapt  # original and so on.  Autoconf is especially sensitive to this).
1996230237Sbapt  . "./$as_me.lineno"
1997230237Sbapt  # Exit status is that of the last command.
1998230237Sbapt  exit
1999230237Sbapt}
2000230237Sbapt
2001230237Sbapt
2002230237Sbaptif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2003230237Sbapt  as_dirname=dirname
2004230237Sbaptelse
2005230237Sbapt  as_dirname=false
2006230237Sbaptfi
2007230237Sbapt
2008230237SbaptECHO_C= ECHO_N= ECHO_T=
2009230237Sbaptcase `echo -n x` in
2010230237Sbapt-n*)
2011230237Sbapt  case `echo 'x\c'` in
2012230237Sbapt  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2013230237Sbapt  *)   ECHO_C='\c';;
2014230237Sbapt  esac;;
2015230237Sbapt*)
2016230237Sbapt  ECHO_N='-n';;
2017230237Sbaptesac
2018230237Sbapt
2019230237Sbaptif expr a : '\(a\)' >/dev/null 2>&1 &&
2020230237Sbapt   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2021230237Sbapt  as_expr=expr
2022230237Sbaptelse
2023230237Sbapt  as_expr=false
2024230237Sbaptfi
2025230237Sbapt
2026230237Sbaptrm -f conf$$ conf$$.exe conf$$.file
2027230237Sbaptif test -d conf$$.dir; then
2028230237Sbapt  rm -f conf$$.dir/conf$$.file
2029230237Sbaptelse
2030230237Sbapt  rm -f conf$$.dir
2031230237Sbapt  mkdir conf$$.dir
2032230237Sbaptfi
2033230237Sbaptecho >conf$$.file
2034230237Sbaptif ln -s conf$$.file conf$$ 2>/dev/null; then
2035230237Sbapt  as_ln_s='ln -s'
2036230237Sbapt  # ... but there are two gotchas:
2037230237Sbapt  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2038230237Sbapt  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2039230237Sbapt  # In both cases, we have to default to `cp -p'.
2040230237Sbapt  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2041230237Sbapt    as_ln_s='cp -p'
2042230237Sbaptelif ln conf$$.file conf$$ 2>/dev/null; then
2043230237Sbapt  as_ln_s=ln
2044230237Sbaptelse
2045230237Sbapt  as_ln_s='cp -p'
2046230237Sbaptfi
2047230237Sbaptrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2048230237Sbaptrmdir conf$$.dir 2>/dev/null
2049230237Sbapt
2050230237Sbaptif mkdir -p . 2>/dev/null; then
2051230237Sbapt  as_mkdir_p=:
2052230237Sbaptelse
2053230237Sbapt  test -d ./-p && rmdir ./-p
2054230237Sbapt  as_mkdir_p=false
2055230237Sbaptfi
2056230237Sbapt
2057230237Sbaptif test -x / >/dev/null 2>&1; then
2058230237Sbapt  as_test_x='test -x'
2059230237Sbaptelse
2060230237Sbapt  if ls -dL / >/dev/null 2>&1; then
2061230237Sbapt    as_ls_L_option=L
2062230237Sbapt  else
2063230237Sbapt    as_ls_L_option=
2064230237Sbapt  fi
2065230237Sbapt  as_test_x='
2066230237Sbapt    eval sh -c '\''
2067230237Sbapt      if test -d "$1"; then
2068230237Sbapt        test -d "$1/.";
2069230237Sbapt      else
2070230237Sbapt	case $1 in
2071230237Sbapt        -*)set "./$1";;
2072230237Sbapt	esac;
2073230237Sbapt	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2074230237Sbapt	???[sx]*):;;*)false;;esac;fi
2075230237Sbapt    '\'' sh
2076230237Sbapt  '
2077230237Sbaptfi
2078230237Sbaptas_executable_p=$as_test_x
2079230237Sbapt
2080230237Sbapt# Sed expression to map a string onto a valid CPP name.
2081230237Sbaptas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2082230237Sbapt
2083230237Sbapt# Sed expression to map a string onto a valid variable name.
2084230237Sbaptas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2085230237Sbapt
2086230237Sbapt
2087230237Sbaptexec 6>&1
2088230237Sbapt
2089230237Sbapt# Save the log message, to keep $[0] and so on meaningful, and to
2090230237Sbapt# report actual input values of CONFIG_FILES etc. instead of their
2091230237Sbapt# values after options handling.
2092230237Sbaptac_log="
2093230237SbaptThis file was extended by $as_me, which was
2094230237Sbaptgenerated by GNU Autoconf 2.61.  Invocation command line was
2095230237Sbapt
2096230237Sbapt  CONFIG_FILES    = $CONFIG_FILES
2097230237Sbapt  CONFIG_HEADERS  = $CONFIG_HEADERS
2098230237Sbapt  CONFIG_LINKS    = $CONFIG_LINKS
2099230237Sbapt  CONFIG_COMMANDS = $CONFIG_COMMANDS
2100230237Sbapt  $ $0 $@
2101230237Sbapt
2102230237Sbapton `(hostname || uname -n) 2>/dev/null | sed 1q`
2103230237Sbapt"
2104230237Sbapt
2105230237Sbapt_ACEOF
2106230237Sbapt
2107230237Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2108230237Sbapt# Files that config.status was made for.
2109230237Sbaptconfig_files="$ac_config_files"
2110230237Sbapt
2111230237Sbapt_ACEOF
2112230237Sbapt
2113230237Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2114230237Sbaptac_cs_usage="\
2115230237Sbapt\`$as_me' instantiates files from templates according to the
2116230237Sbaptcurrent configuration.
2117230237Sbapt
2118230237SbaptUsage: $0 [OPTIONS] [FILE]...
2119230237Sbapt
2120230237Sbapt  -h, --help       print this help, then exit
2121230237Sbapt  -V, --version    print version number and configuration settings, then exit
2122230237Sbapt  -q, --quiet      do not print progress messages
2123230237Sbapt  -d, --debug      don't remove temporary files
2124230237Sbapt      --recheck    update $as_me by reconfiguring in the same conditions
2125230237Sbapt  --file=FILE[:TEMPLATE]
2126230237Sbapt		   instantiate the configuration file FILE
2127230237Sbapt
2128230237SbaptConfiguration files:
2129230237Sbapt$config_files
2130230237Sbapt
2131230237SbaptReport bugs to <bug-autoconf@gnu.org>."
2132230237Sbapt
2133230237Sbapt_ACEOF
2134230237Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2135230237Sbaptac_cs_version="\\
2136230237Sbaptconfig.status
2137230237Sbaptconfigured by $0, generated by GNU Autoconf 2.61,
2138230237Sbapt  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2139230237Sbapt
2140230237SbaptCopyright (C) 2006 Free Software Foundation, Inc.
2141230237SbaptThis config.status script is free software; the Free Software Foundation
2142230237Sbaptgives unlimited permission to copy, distribute and modify it."
2143230237Sbapt
2144230237Sbaptac_pwd='$ac_pwd'
2145230237Sbaptsrcdir='$srcdir'
2146230237Sbapt_ACEOF
2147230237Sbapt
2148230237Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2149230237Sbapt# If no file are specified by the user, then we need to provide default
2150230237Sbapt# value.  By we need to know if files were specified by the user.
2151230237Sbaptac_need_defaults=:
2152230237Sbaptwhile test $# != 0
2153230237Sbaptdo
2154230237Sbapt  case $1 in
2155230237Sbapt  --*=*)
2156230237Sbapt    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2157230237Sbapt    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2158230237Sbapt    ac_shift=:
2159230237Sbapt    ;;
2160230237Sbapt  *)
2161230237Sbapt    ac_option=$1
2162230237Sbapt    ac_optarg=$2
2163230237Sbapt    ac_shift=shift
2164230237Sbapt    ;;
216558551Skris  esac
216658551Skris
2167230237Sbapt  case $ac_option in
2168230237Sbapt  # Handling of the options.
2169230237Sbapt  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2170230237Sbapt    ac_cs_recheck=: ;;
2171230237Sbapt  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2172230237Sbapt    echo "$ac_cs_version"; exit ;;
2173230237Sbapt  --debug | --debu | --deb | --de | --d | -d )
2174230237Sbapt    debug=: ;;
2175230237Sbapt  --file | --fil | --fi | --f )
2176230237Sbapt    $ac_shift
2177230237Sbapt    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2178230237Sbapt    ac_need_defaults=false;;
2179230237Sbapt  --he | --h |  --help | --hel | -h )
2180230237Sbapt    echo "$ac_cs_usage"; exit ;;
2181230237Sbapt  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2182230237Sbapt  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2183230237Sbapt    ac_cs_silent=: ;;
218458551Skris
2185230237Sbapt  # This is an error.
2186230237Sbapt  -*) { echo "$as_me: error: unrecognized option: $1
2187230237SbaptTry \`$0 --help' for more information." >&2
2188230237Sbapt   { (exit 1); exit 1; }; } ;;
2189230237Sbapt
2190230237Sbapt  *) ac_config_targets="$ac_config_targets $1"
2191230237Sbapt     ac_need_defaults=false ;;
2192230237Sbapt
2193230237Sbapt  esac
2194230237Sbapt  shift
2195230237Sbaptdone
2196230237Sbapt
2197230237Sbaptac_configure_extra_args=
2198230237Sbapt
2199230237Sbaptif $ac_cs_silent; then
2200230237Sbapt  exec 6>/dev/null
2201230237Sbapt  ac_configure_extra_args="$ac_configure_extra_args --silent"
2202230237Sbaptfi
2203230237Sbapt
2204230237Sbapt_ACEOF
2205230237Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2206230237Sbaptif \$ac_cs_recheck; then
2207230237Sbapt  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2208230237Sbapt  CONFIG_SHELL=$SHELL
2209230237Sbapt  export CONFIG_SHELL
2210230237Sbapt  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2211230237Sbaptfi
2212230237Sbapt
2213230237Sbapt_ACEOF
2214230237Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2215230237Sbaptexec 5>>config.log
2216230237Sbapt{
2217230237Sbapt  echo
2218230237Sbapt  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2219230237Sbapt## Running $as_me. ##
2220230237Sbapt_ASBOX
2221230237Sbapt  echo "$ac_log"
2222230237Sbapt} >&5
2223230237Sbapt
2224230237Sbapt_ACEOF
2225230237Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2226230237Sbapt_ACEOF
2227230237Sbapt
2228230237Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2229230237Sbapt
2230230237Sbapt# Handling of arguments.
2231230237Sbaptfor ac_config_target in $ac_config_targets
2232230237Sbaptdo
2233230237Sbapt  case $ac_config_target in
2234230237Sbapt    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2235230237Sbapt
2236230237Sbapt  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2237230237Sbaptecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
2238230237Sbapt   { (exit 1); exit 1; }; };;
2239230237Sbapt  esac
2240230237Sbaptdone
2241230237Sbapt
2242230237Sbapt
2243230237Sbapt# If the user did not use the arguments to specify the items to instantiate,
2244230237Sbapt# then the envvar interface is used.  Set only those that are not.
2245230237Sbapt# We use the long form for the default assignment because of an extremely
2246230237Sbapt# bizarre bug on SunOS 4.1.3.
2247230237Sbaptif $ac_need_defaults; then
2248230237Sbapt  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2249230237Sbaptfi
2250230237Sbapt
2251230237Sbapt# Have a temporary directory for convenience.  Make it in the build tree
2252230237Sbapt# simply because there is no reason against having it here, and in addition,
2253230237Sbapt# creating and moving files from /tmp can sometimes cause problems.
2254230237Sbapt# Hook for its removal unless debugging.
2255230237Sbapt# Note that there is a small window in which the directory will not be cleaned:
2256230237Sbapt# after its creation but before its name has been assigned to `$tmp'.
2257230237Sbapt$debug ||
2258230237Sbapt{
2259230237Sbapt  tmp=
2260230237Sbapt  trap 'exit_status=$?
2261230237Sbapt  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2262230237Sbapt' 0
2263230237Sbapt  trap '{ (exit 1); exit 1; }' 1 2 13 15
2264230237Sbapt}
2265230237Sbapt# Create a (secure) tmp directory for tmp files.
2266230237Sbapt
2267230237Sbapt{
2268230237Sbapt  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2269230237Sbapt  test -n "$tmp" && test -d "$tmp"
2270230237Sbapt}  ||
2271230237Sbapt{
2272230237Sbapt  tmp=./conf$$-$RANDOM
2273230237Sbapt  (umask 077 && mkdir "$tmp")
2274230237Sbapt} ||
2275230237Sbapt{
2276230237Sbapt   echo "$me: cannot create a temporary directory in ." >&2
2277230237Sbapt   { (exit 1); exit 1; }
2278230237Sbapt}
2279230237Sbapt
2280230237Sbapt#
2281230237Sbapt# Set up the sed scripts for CONFIG_FILES section.
2282230237Sbapt#
2283230237Sbapt
2284230237Sbapt# No need to generate the scripts if there are no CONFIG_FILES.
2285230237Sbapt# This happens for instance when ./config.status config.h
2286230237Sbaptif test -n "$CONFIG_FILES"; then
2287230237Sbapt
2288230237Sbapt_ACEOF
2289230237Sbapt
2290230237Sbapt
2291230237Sbapt
2292230237Sbaptac_delim='%!_!# '
2293230237Sbaptfor ac_last_try in false false false false false :; do
2294230237Sbapt  cat >conf$$subs.sed <<_ACEOF
2295230237SbaptSHELL!$SHELL$ac_delim
2296230237SbaptPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2297230237SbaptPACKAGE_NAME!$PACKAGE_NAME$ac_delim
2298230237SbaptPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2299230237SbaptPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2300230237SbaptPACKAGE_STRING!$PACKAGE_STRING$ac_delim
2301230237SbaptPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2302230237Sbaptexec_prefix!$exec_prefix$ac_delim
2303230237Sbaptprefix!$prefix$ac_delim
2304230237Sbaptprogram_transform_name!$program_transform_name$ac_delim
2305230237Sbaptbindir!$bindir$ac_delim
2306230237Sbaptsbindir!$sbindir$ac_delim
2307230237Sbaptlibexecdir!$libexecdir$ac_delim
2308230237Sbaptdatarootdir!$datarootdir$ac_delim
2309230237Sbaptdatadir!$datadir$ac_delim
2310230237Sbaptsysconfdir!$sysconfdir$ac_delim
2311230237Sbaptsharedstatedir!$sharedstatedir$ac_delim
2312230237Sbaptlocalstatedir!$localstatedir$ac_delim
2313230237Sbaptincludedir!$includedir$ac_delim
2314230237Sbaptoldincludedir!$oldincludedir$ac_delim
2315230237Sbaptdocdir!$docdir$ac_delim
2316230237Sbaptinfodir!$infodir$ac_delim
2317230237Sbapthtmldir!$htmldir$ac_delim
2318230237Sbaptdvidir!$dvidir$ac_delim
2319230237Sbaptpdfdir!$pdfdir$ac_delim
2320230237Sbaptpsdir!$psdir$ac_delim
2321230237Sbaptlibdir!$libdir$ac_delim
2322230237Sbaptlocaledir!$localedir$ac_delim
2323230237Sbaptmandir!$mandir$ac_delim
2324230237SbaptDEFS!$DEFS$ac_delim
2325230237SbaptECHO_C!$ECHO_C$ac_delim
2326230237SbaptECHO_N!$ECHO_N$ac_delim
2327230237SbaptECHO_T!$ECHO_T$ac_delim
2328230237SbaptLIBS!$LIBS$ac_delim
2329230237Sbaptbuild_alias!$build_alias$ac_delim
2330230237Sbapthost_alias!$host_alias$ac_delim
2331230237Sbapttarget_alias!$target_alias$ac_delim
2332230237SbaptSET_MAKE!$SET_MAKE$ac_delim
2333230237Sbaptsubdirs!$subdirs$ac_delim
2334230237SbaptLIBOBJS!$LIBOBJS$ac_delim
2335230237SbaptLTLIBOBJS!$LTLIBOBJS$ac_delim
2336230237Sbapt_ACEOF
2337230237Sbapt
2338230237Sbapt  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
2339230237Sbapt    break
2340230237Sbapt  elif $ac_last_try; then
2341230237Sbapt    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2342230237Sbaptecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2343230237Sbapt   { (exit 1); exit 1; }; }
234458551Skris  else
2345230237Sbapt    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
234658551Skris  fi
2347230237Sbaptdone
234858551Skris
2349230237Sbaptac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2350230237Sbaptif test -n "$ac_eof"; then
2351230237Sbapt  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2352230237Sbapt  ac_eof=`expr $ac_eof + 1`
2353230237Sbaptfi
2354230237Sbapt
2355230237Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2356230237Sbaptcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2357230237Sbapt/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2358230237Sbapt_ACEOF
2359230237Sbaptsed '
2360230237Sbapts/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2361230237Sbapts/^/s,@/; s/!/@,|#_!!_#|/
2362230237Sbapt:n
2363230237Sbaptt n
2364230237Sbapts/'"$ac_delim"'$/,g/; t
2365230237Sbapts/$/\\/; p
2366230237SbaptN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2367230237Sbapt' >>$CONFIG_STATUS <conf$$subs.sed
2368230237Sbaptrm -f conf$$subs.sed
2369230237Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2370230237Sbapt:end
2371230237Sbapts/|#_!!_#|//g
2372230237SbaptCEOF$ac_eof
2373230237Sbapt_ACEOF
2374230237Sbapt
2375230237Sbapt
2376230237Sbapt# VPATH may cause trouble with some makes, so we remove $(srcdir),
2377230237Sbapt# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2378230237Sbapt# trailing colons and then remove the whole line if VPATH becomes empty
2379230237Sbapt# (actually we leave an empty line to preserve line numbers).
2380230237Sbaptif test "x$srcdir" = x.; then
2381230237Sbapt  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
2382230237Sbapts/:*\$(srcdir):*/:/
2383230237Sbapts/:*\${srcdir}:*/:/
2384230237Sbapts/:*@srcdir@:*/:/
2385230237Sbapts/^\([^=]*=[	 ]*\):*/\1/
2386230237Sbapts/:*$//
2387230237Sbapts/^[^=]*=[	 ]*$//
2388230237Sbapt}'
2389230237Sbaptfi
2390230237Sbapt
2391230237Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2392230237Sbaptfi # test -n "$CONFIG_FILES"
2393230237Sbapt
2394230237Sbapt
2395230237Sbaptfor ac_tag in  :F $CONFIG_FILES
2396230237Sbaptdo
2397230237Sbapt  case $ac_tag in
2398230237Sbapt  :[FHLC]) ac_mode=$ac_tag; continue;;
239958551Skris  esac
2400230237Sbapt  case $ac_mode$ac_tag in
2401230237Sbapt  :[FHL]*:*);;
2402230237Sbapt  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2403230237Sbaptecho "$as_me: error: Invalid tag $ac_tag." >&2;}
2404230237Sbapt   { (exit 1); exit 1; }; };;
2405230237Sbapt  :[FH]-) ac_tag=-:-;;
2406230237Sbapt  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2407230237Sbapt  esac
2408230237Sbapt  ac_save_IFS=$IFS
2409230237Sbapt  IFS=:
2410230237Sbapt  set x $ac_tag
2411230237Sbapt  IFS=$ac_save_IFS
2412230237Sbapt  shift
2413230237Sbapt  ac_file=$1
2414230237Sbapt  shift
241558551Skris
2416230237Sbapt  case $ac_mode in
2417230237Sbapt  :L) ac_source=$1;;
2418230237Sbapt  :[FH])
2419230237Sbapt    ac_file_inputs=
2420230237Sbapt    for ac_f
2421230237Sbapt    do
2422230237Sbapt      case $ac_f in
2423230237Sbapt      -) ac_f="$tmp/stdin";;
2424230237Sbapt      *) # Look for the file first in the build tree, then in the source tree
2425230237Sbapt	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
2426230237Sbapt	 # because $ac_f cannot contain `:'.
2427230237Sbapt	 test -f "$ac_f" ||
2428230237Sbapt	   case $ac_f in
2429230237Sbapt	   [\\/$]*) false;;
2430230237Sbapt	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2431230237Sbapt	   esac ||
2432230237Sbapt	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2433230237Sbaptecho "$as_me: error: cannot find input file: $ac_f" >&2;}
2434230237Sbapt   { (exit 1); exit 1; }; };;
2435230237Sbapt      esac
2436230237Sbapt      ac_file_inputs="$ac_file_inputs $ac_f"
2437230237Sbapt    done
243858551Skris
2439230237Sbapt    # Let's still pretend it is `configure' which instantiates (i.e., don't
2440230237Sbapt    # use $as_me), people would be surprised to read:
2441230237Sbapt    #    /* config.h.  Generated by config.status.  */
2442230237Sbapt    configure_input="Generated from "`IFS=:
2443230237Sbapt	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2444230237Sbapt    if test x"$ac_file" != x-; then
2445230237Sbapt      configure_input="$ac_file.  $configure_input"
2446230237Sbapt      { echo "$as_me:$LINENO: creating $ac_file" >&5
2447230237Sbaptecho "$as_me: creating $ac_file" >&6;}
2448230237Sbapt    fi
2449230237Sbapt
2450230237Sbapt    case $ac_tag in
2451230237Sbapt    *:-:* | *:-) cat >"$tmp/stdin";;
2452230237Sbapt    esac
2453230237Sbapt    ;;
245458551Skris  esac
245558551Skris
2456230237Sbapt  ac_dir=`$as_dirname -- "$ac_file" ||
2457230237Sbapt$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2458230237Sbapt	 X"$ac_file" : 'X\(//\)[^/]' \| \
2459230237Sbapt	 X"$ac_file" : 'X\(//\)$' \| \
2460230237Sbapt	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2461230237Sbaptecho X"$ac_file" |
2462230237Sbapt    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2463230237Sbapt	    s//\1/
2464230237Sbapt	    q
2465230237Sbapt	  }
2466230237Sbapt	  /^X\(\/\/\)[^/].*/{
2467230237Sbapt	    s//\1/
2468230237Sbapt	    q
2469230237Sbapt	  }
2470230237Sbapt	  /^X\(\/\/\)$/{
2471230237Sbapt	    s//\1/
2472230237Sbapt	    q
2473230237Sbapt	  }
2474230237Sbapt	  /^X\(\/\).*/{
2475230237Sbapt	    s//\1/
2476230237Sbapt	    q
2477230237Sbapt	  }
2478230237Sbapt	  s/.*/./; q'`
2479230237Sbapt  { as_dir="$ac_dir"
2480230237Sbapt  case $as_dir in #(
2481230237Sbapt  -*) as_dir=./$as_dir;;
2482230237Sbapt  esac
2483230237Sbapt  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2484230237Sbapt    as_dirs=
2485230237Sbapt    while :; do
2486230237Sbapt      case $as_dir in #(
2487230237Sbapt      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2488230237Sbapt      *) as_qdir=$as_dir;;
2489230237Sbapt      esac
2490230237Sbapt      as_dirs="'$as_qdir' $as_dirs"
2491230237Sbapt      as_dir=`$as_dirname -- "$as_dir" ||
2492230237Sbapt$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2493230237Sbapt	 X"$as_dir" : 'X\(//\)[^/]' \| \
2494230237Sbapt	 X"$as_dir" : 'X\(//\)$' \| \
2495230237Sbapt	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2496230237Sbaptecho X"$as_dir" |
2497230237Sbapt    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2498230237Sbapt	    s//\1/
2499230237Sbapt	    q
2500230237Sbapt	  }
2501230237Sbapt	  /^X\(\/\/\)[^/].*/{
2502230237Sbapt	    s//\1/
2503230237Sbapt	    q
2504230237Sbapt	  }
2505230237Sbapt	  /^X\(\/\/\)$/{
2506230237Sbapt	    s//\1/
2507230237Sbapt	    q
2508230237Sbapt	  }
2509230237Sbapt	  /^X\(\/\).*/{
2510230237Sbapt	    s//\1/
2511230237Sbapt	    q
2512230237Sbapt	  }
2513230237Sbapt	  s/.*/./; q'`
2514230237Sbapt      test -d "$as_dir" && break
2515230237Sbapt    done
2516230237Sbapt    test -z "$as_dirs" || eval "mkdir $as_dirs"
2517230237Sbapt  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2518230237Sbaptecho "$as_me: error: cannot create directory $as_dir" >&2;}
2519230237Sbapt   { (exit 1); exit 1; }; }; }
2520230237Sbapt  ac_builddir=.
252158551Skris
2522230237Sbaptcase "$ac_dir" in
2523230237Sbapt.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2524230237Sbapt*)
2525230237Sbapt  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2526230237Sbapt  # A ".." for each directory in $ac_dir_suffix.
2527230237Sbapt  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2528230237Sbapt  case $ac_top_builddir_sub in
2529230237Sbapt  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2530230237Sbapt  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2531230237Sbapt  esac ;;
2532230237Sbaptesac
2533230237Sbaptac_abs_top_builddir=$ac_pwd
2534230237Sbaptac_abs_builddir=$ac_pwd$ac_dir_suffix
2535230237Sbapt# for backward compatibility:
2536230237Sbaptac_top_builddir=$ac_top_build_prefix
253758551Skris
2538230237Sbaptcase $srcdir in
2539230237Sbapt  .)  # We are building in place.
2540230237Sbapt    ac_srcdir=.
2541230237Sbapt    ac_top_srcdir=$ac_top_builddir_sub
2542230237Sbapt    ac_abs_top_srcdir=$ac_pwd ;;
2543230237Sbapt  [\\/]* | ?:[\\/]* )  # Absolute name.
2544230237Sbapt    ac_srcdir=$srcdir$ac_dir_suffix;
2545230237Sbapt    ac_top_srcdir=$srcdir
2546230237Sbapt    ac_abs_top_srcdir=$srcdir ;;
2547230237Sbapt  *) # Relative name.
2548230237Sbapt    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2549230237Sbapt    ac_top_srcdir=$ac_top_build_prefix$srcdir
2550230237Sbapt    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2551230237Sbaptesac
2552230237Sbaptac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
255358551Skris
2554230237Sbapt
2555230237Sbapt  case $ac_mode in
2556230237Sbapt  :F)
2557230237Sbapt  #
2558230237Sbapt  # CONFIG_FILE
2559230237Sbapt  #
2560230237Sbapt
2561230237Sbapt_ACEOF
2562230237Sbapt
2563230237Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2564230237Sbapt# If the template does not know about datarootdir, expand it.
2565230237Sbapt# FIXME: This hack should be removed a few years after 2.60.
2566230237Sbaptac_datarootdir_hack=; ac_datarootdir_seen=
2567230237Sbapt
2568230237Sbaptcase `sed -n '/datarootdir/ {
2569230237Sbapt  p
2570230237Sbapt  q
2571230237Sbapt}
2572230237Sbapt/@datadir@/p
2573230237Sbapt/@docdir@/p
2574230237Sbapt/@infodir@/p
2575230237Sbapt/@localedir@/p
2576230237Sbapt/@mandir@/p
2577230237Sbapt' $ac_file_inputs` in
2578230237Sbapt*datarootdir*) ac_datarootdir_seen=yes;;
2579230237Sbapt*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2580230237Sbapt  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2581230237Sbaptecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2582230237Sbapt_ACEOF
2583230237Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2584230237Sbapt  ac_datarootdir_hack='
2585230237Sbapt  s&@datadir@&$datadir&g
2586230237Sbapt  s&@docdir@&$docdir&g
2587230237Sbapt  s&@infodir@&$infodir&g
2588230237Sbapt  s&@localedir@&$localedir&g
2589230237Sbapt  s&@mandir@&$mandir&g
2590230237Sbapt    s&\\\${datarootdir}&$datarootdir&g' ;;
2591230237Sbaptesac
2592230237Sbapt_ACEOF
2593230237Sbapt
2594230237Sbapt# Neutralize VPATH when `$srcdir' = `.'.
2595230237Sbapt# Shell code in configure.ac might set extrasub.
2596230237Sbapt# FIXME: do we really want to maintain this feature?
2597230237Sbaptcat >>$CONFIG_STATUS <<_ACEOF
2598230237Sbapt  sed "$ac_vpsub
2599230237Sbapt$extrasub
2600230237Sbapt_ACEOF
2601230237Sbaptcat >>$CONFIG_STATUS <<\_ACEOF
2602230237Sbapt:t
2603230237Sbapt/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2604230237Sbapts&@configure_input@&$configure_input&;t t
2605230237Sbapts&@top_builddir@&$ac_top_builddir_sub&;t t
2606230237Sbapts&@srcdir@&$ac_srcdir&;t t
2607230237Sbapts&@abs_srcdir@&$ac_abs_srcdir&;t t
2608230237Sbapts&@top_srcdir@&$ac_top_srcdir&;t t
2609230237Sbapts&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2610230237Sbapts&@builddir@&$ac_builddir&;t t
2611230237Sbapts&@abs_builddir@&$ac_abs_builddir&;t t
2612230237Sbapts&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2613230237Sbapt$ac_datarootdir_hack
2614230237Sbapt" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2615230237Sbapt
2616230237Sbapttest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2617230237Sbapt  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2618230237Sbapt  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2619230237Sbapt  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2620230237Sbaptwhich seems to be undefined.  Please make sure it is defined." >&5
2621230237Sbaptecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2622230237Sbaptwhich seems to be undefined.  Please make sure it is defined." >&2;}
2623230237Sbapt
2624230237Sbapt  rm -f "$tmp/stdin"
2625230237Sbapt  case $ac_file in
2626230237Sbapt  -) cat "$tmp/out"; rm -f "$tmp/out";;
2627230237Sbapt  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2628230237Sbapt  esac
2629230237Sbapt ;;
2630230237Sbapt
2631230237Sbapt
2632230237Sbapt
2633230237Sbapt  esac
2634230237Sbapt
2635230237Sbaptdone # for ac_tag
2636230237Sbapt
2637230237Sbapt
2638230237Sbapt{ (exit 0); exit 0; }
2639230237Sbapt_ACEOF
264058551Skrischmod +x $CONFIG_STATUS
2641230237Sbaptac_clean_files=$ac_clean_files_save
264258551Skris
264358551Skris
2644230237Sbapt# configure is writing to config.log, and then calls config.status.
2645230237Sbapt# config.status does its own redirection, appending to config.log.
2646230237Sbapt# Unfortunately, on DOS this fails, as config.log is still kept open
2647230237Sbapt# by configure, so config.status won't be able to write to it; its
2648230237Sbapt# output is simply discarded.  So we exec the FD to /dev/null,
2649230237Sbapt# effectively closing config.log, so it can be properly (re)opened and
2650230237Sbapt# appended to by config.status.  When coming back to configure, we
2651230237Sbapt# need to make the FD available again.
2652230237Sbaptif test "$no_create" != yes; then
2653230237Sbapt  ac_cs_success=:
2654230237Sbapt  ac_config_status_args=
2655230237Sbapt  test "$silent" = yes &&
2656230237Sbapt    ac_config_status_args="$ac_config_status_args --quiet"
2657230237Sbapt  exec 5>/dev/null
2658230237Sbapt  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2659230237Sbapt  exec 5>>config.log
2660230237Sbapt  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2661230237Sbapt  # would make configure fail if this is the last instruction.
2662230237Sbapt  $ac_cs_success || { (exit 1); exit 1; }
2663230237Sbaptfi
2664230237Sbapt
2665230237Sbapt#
2666230237Sbapt# CONFIG_SUBDIRS section.
2667230237Sbapt#
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=
2673230237Sbapt  eval "set x $ac_configure_args"
2674230237Sbapt  shift
2675230237Sbapt  for ac_arg
2676230237Sbapt  do
267758551Skris    if test -n "$ac_prev"; then
267858551Skris      ac_prev=
267958551Skris      continue
268058551Skris    fi
2681230237Sbapt    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=* \
2686230237Sbapt    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
2687230237Sbapt    | --c=*)
268858551Skris      ;;
2689230237Sbapt    --config-cache | -C)
2690230237Sbapt      ;;
269158551Skris    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
269258551Skris      ac_prev=srcdir ;;
269358551Skris    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
269458551Skris      ;;
2695230237Sbapt    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2696230237Sbapt      ac_prev=prefix ;;
2697230237Sbapt    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2698230237Sbapt      ;;
2699230237Sbapt    *)
2700230237Sbapt      case $ac_arg in
2701230237Sbapt      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2702230237Sbapt      esac
2703230237Sbapt      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
270458551Skris    esac
270558551Skris  done
270658551Skris
2707230237Sbapt  # Always prepend --prefix to ensure using the same prefix
2708230237Sbapt  # in subdir configurations.
2709230237Sbapt  ac_arg="--prefix=$prefix"
2710230237Sbapt  case $ac_arg in
2711230237Sbapt  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2712230237Sbapt  esac
2713230237Sbapt  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
271458551Skris
2715230237Sbapt  # Pass --silent
2716230237Sbapt  if test "$silent" = yes; then
2717230237Sbapt    ac_sub_configure_args="--silent $ac_sub_configure_args"
2718230237Sbapt  fi
2719230237Sbapt
2720230237Sbapt  ac_popdir=`pwd`
2721230237Sbapt  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
2722230237Sbapt
272358551Skris    # Do not complain, so a configure script can configure whichever
272458551Skris    # parts of a large source tree are present.
2725230237Sbapt    test -d "$srcdir/$ac_dir" || continue
272658551Skris
2727230237Sbapt    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
2728230237Sbapt    echo "$as_me:$LINENO: $ac_msg" >&5
2729230237Sbapt    echo "$ac_msg" >&6
2730230237Sbapt    { as_dir="$ac_dir"
2731230237Sbapt  case $as_dir in #(
2732230237Sbapt  -*) as_dir=./$as_dir;;
2733230237Sbapt  esac
2734230237Sbapt  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2735230237Sbapt    as_dirs=
2736230237Sbapt    while :; do
2737230237Sbapt      case $as_dir in #(
2738230237Sbapt      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2739230237Sbapt      *) as_qdir=$as_dir;;
2740230237Sbapt      esac
2741230237Sbapt      as_dirs="'$as_qdir' $as_dirs"
2742230237Sbapt      as_dir=`$as_dirname -- "$as_dir" ||
2743230237Sbapt$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2744230237Sbapt	 X"$as_dir" : 'X\(//\)[^/]' \| \
2745230237Sbapt	 X"$as_dir" : 'X\(//\)$' \| \
2746230237Sbapt	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2747230237Sbaptecho X"$as_dir" |
2748230237Sbapt    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2749230237Sbapt	    s//\1/
2750230237Sbapt	    q
2751230237Sbapt	  }
2752230237Sbapt	  /^X\(\/\/\)[^/].*/{
2753230237Sbapt	    s//\1/
2754230237Sbapt	    q
2755230237Sbapt	  }
2756230237Sbapt	  /^X\(\/\/\)$/{
2757230237Sbapt	    s//\1/
2758230237Sbapt	    q
2759230237Sbapt	  }
2760230237Sbapt	  /^X\(\/\).*/{
2761230237Sbapt	    s//\1/
2762230237Sbapt	    q
2763230237Sbapt	  }
2764230237Sbapt	  s/.*/./; q'`
2765230237Sbapt      test -d "$as_dir" && break
2766230237Sbapt    done
2767230237Sbapt    test -z "$as_dirs" || eval "mkdir $as_dirs"
2768230237Sbapt  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2769230237Sbaptecho "$as_me: error: cannot create directory $as_dir" >&2;}
2770230237Sbapt   { (exit 1); exit 1; }; }; }
2771230237Sbapt    ac_builddir=.
277258551Skris
2773230237Sbaptcase "$ac_dir" in
2774230237Sbapt.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2775230237Sbapt*)
2776230237Sbapt  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2777230237Sbapt  # A ".." for each directory in $ac_dir_suffix.
2778230237Sbapt  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2779230237Sbapt  case $ac_top_builddir_sub in
2780230237Sbapt  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2781230237Sbapt  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2782230237Sbapt  esac ;;
2783230237Sbaptesac
2784230237Sbaptac_abs_top_builddir=$ac_pwd
2785230237Sbaptac_abs_builddir=$ac_pwd$ac_dir_suffix
2786230237Sbapt# for backward compatibility:
2787230237Sbaptac_top_builddir=$ac_top_build_prefix
278858551Skris
2789230237Sbaptcase $srcdir in
2790230237Sbapt  .)  # We are building in place.
2791230237Sbapt    ac_srcdir=.
2792230237Sbapt    ac_top_srcdir=$ac_top_builddir_sub
2793230237Sbapt    ac_abs_top_srcdir=$ac_pwd ;;
2794230237Sbapt  [\\/]* | ?:[\\/]* )  # Absolute name.
2795230237Sbapt    ac_srcdir=$srcdir$ac_dir_suffix;
2796230237Sbapt    ac_top_srcdir=$srcdir
2797230237Sbapt    ac_abs_top_srcdir=$srcdir ;;
2798230237Sbapt  *) # Relative name.
2799230237Sbapt    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2800230237Sbapt    ac_top_srcdir=$ac_top_build_prefix$srcdir
2801230237Sbapt    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2802230237Sbaptesac
2803230237Sbaptac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
280458551Skris
280558551Skris
2806230237Sbapt    cd "$ac_dir"
280758551Skris
280858551Skris    # Check for guested configure; otherwise get Cygnus style configure.
2809230237Sbapt    if test -f "$ac_srcdir/configure.gnu"; then
2810230237Sbapt      ac_sub_configure=$ac_srcdir/configure.gnu
2811230237Sbapt    elif test -f "$ac_srcdir/configure"; then
2812230237Sbapt      ac_sub_configure=$ac_srcdir/configure
2813230237Sbapt    elif test -f "$ac_srcdir/configure.in"; then
2814230237Sbapt      # This should be Cygnus configure.
2815230237Sbapt      ac_sub_configure=$ac_aux_dir/configure
281658551Skris    else
2817230237Sbapt      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
2818230237Sbaptecho "$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.
2825230237Sbapt      case $cache_file in
2826230237Sbapt      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
2827230237Sbapt      *) # Relative name.
2828230237Sbapt	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
282958551Skris      esac
283058551Skris
2831230237Sbapt      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
2832230237Sbaptecho "$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.
2834230237Sbapt      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
2835230237Sbapt	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
2836230237Sbapt	{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
2837230237Sbaptecho "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
2838230237Sbapt   { (exit 1); exit 1; }; }
283958551Skris    fi
284058551Skris
2841230237Sbapt    cd "$ac_popdir"
284258551Skris  done
284358551Skrisfi
284458551Skris
2845