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