xref: /netbsd-src/external/gpl2/gettext/dist/configure (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1*946379e7Schristos#! /bin/sh
2*946379e7Schristos# Guess values for system-dependent variables and create Makefiles.
3*946379e7Schristos# Generated by GNU Autoconf 2.61.
4*946379e7Schristos#
5*946379e7Schristos# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6*946379e7Schristos# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7*946379e7Schristos# This configure script is free software; the Free Software Foundation
8*946379e7Schristos# gives unlimited permission to copy, distribute and modify it.
9*946379e7Schristos## --------------------- ##
10*946379e7Schristos## M4sh Initialization.  ##
11*946379e7Schristos## --------------------- ##
12*946379e7Schristos
13*946379e7Schristos# Be more Bourne compatible
14*946379e7SchristosDUALCASE=1; export DUALCASE # for MKS sh
15*946379e7Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16*946379e7Schristos  emulate sh
17*946379e7Schristos  NULLCMD=:
18*946379e7Schristos  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19*946379e7Schristos  # is contrary to our usage.  Disable this feature.
20*946379e7Schristos  alias -g '${1+"$@"}'='"$@"'
21*946379e7Schristos  setopt NO_GLOB_SUBST
22*946379e7Schristoselse
23*946379e7Schristos  case `(set -o) 2>/dev/null` in
24*946379e7Schristos  *posix*) set -o posix ;;
25*946379e7Schristosesac
26*946379e7Schristos
27*946379e7Schristosfi
28*946379e7Schristos
29*946379e7Schristos
30*946379e7Schristos
31*946379e7Schristos
32*946379e7Schristos# PATH needs CR
33*946379e7Schristos# Avoid depending upon Character Ranges.
34*946379e7Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz'
35*946379e7Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36*946379e7Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS
37*946379e7Schristosas_cr_digits='0123456789'
38*946379e7Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits
39*946379e7Schristos
40*946379e7Schristos# The user is always right.
41*946379e7Schristosif test "${PATH_SEPARATOR+set}" != set; then
42*946379e7Schristos  echo "#! /bin/sh" >conf$$.sh
43*946379e7Schristos  echo  "exit 0"   >>conf$$.sh
44*946379e7Schristos  chmod +x conf$$.sh
45*946379e7Schristos  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46*946379e7Schristos    PATH_SEPARATOR=';'
47*946379e7Schristos  else
48*946379e7Schristos    PATH_SEPARATOR=:
49*946379e7Schristos  fi
50*946379e7Schristos  rm -f conf$$.sh
51*946379e7Schristosfi
52*946379e7Schristos
53*946379e7Schristos# Support unset when possible.
54*946379e7Schristosif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55*946379e7Schristos  as_unset=unset
56*946379e7Schristoselse
57*946379e7Schristos  as_unset=false
58*946379e7Schristosfi
59*946379e7Schristos
60*946379e7Schristos
61*946379e7Schristos# IFS
62*946379e7Schristos# We need space, tab and new line, in precisely that order.  Quoting is
63*946379e7Schristos# there to prevent editors from complaining about space-tab.
64*946379e7Schristos# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65*946379e7Schristos# splitting by setting IFS to empty value.)
66*946379e7Schristosas_nl='
67*946379e7Schristos'
68*946379e7SchristosIFS=" ""	$as_nl"
69*946379e7Schristos
70*946379e7Schristos# Find who we are.  Look in the path if we contain no directory separator.
71*946379e7Schristoscase $0 in
72*946379e7Schristos  *[\\/]* ) as_myself=$0 ;;
73*946379e7Schristos  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74*946379e7Schristosfor as_dir in $PATH
75*946379e7Schristosdo
76*946379e7Schristos  IFS=$as_save_IFS
77*946379e7Schristos  test -z "$as_dir" && as_dir=.
78*946379e7Schristos  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79*946379e7Schristosdone
80*946379e7SchristosIFS=$as_save_IFS
81*946379e7Schristos
82*946379e7Schristos     ;;
83*946379e7Schristosesac
84*946379e7Schristos# We did not find ourselves, most probably we were run as `sh COMMAND'
85*946379e7Schristos# in which case we are not to be found in the path.
86*946379e7Schristosif test "x$as_myself" = x; then
87*946379e7Schristos  as_myself=$0
88*946379e7Schristosfi
89*946379e7Schristosif test ! -f "$as_myself"; then
90*946379e7Schristos  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91*946379e7Schristos  { (exit 1); exit 1; }
92*946379e7Schristosfi
93*946379e7Schristos
94*946379e7Schristos# Work around bugs in pre-3.0 UWIN ksh.
95*946379e7Schristosfor as_var in ENV MAIL MAILPATH
96*946379e7Schristosdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97*946379e7Schristosdone
98*946379e7SchristosPS1='$ '
99*946379e7SchristosPS2='> '
100*946379e7SchristosPS4='+ '
101*946379e7Schristos
102*946379e7Schristos# NLS nuisances.
103*946379e7Schristosfor as_var in \
104*946379e7Schristos  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105*946379e7Schristos  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106*946379e7Schristos  LC_TELEPHONE LC_TIME
107*946379e7Schristosdo
108*946379e7Schristos  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109*946379e7Schristos    eval $as_var=C; export $as_var
110*946379e7Schristos  else
111*946379e7Schristos    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112*946379e7Schristos  fi
113*946379e7Schristosdone
114*946379e7Schristos
115*946379e7Schristos# Required to use basename.
116*946379e7Schristosif expr a : '\(a\)' >/dev/null 2>&1 &&
117*946379e7Schristos   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118*946379e7Schristos  as_expr=expr
119*946379e7Schristoselse
120*946379e7Schristos  as_expr=false
121*946379e7Schristosfi
122*946379e7Schristos
123*946379e7Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124*946379e7Schristos  as_basename=basename
125*946379e7Schristoselse
126*946379e7Schristos  as_basename=false
127*946379e7Schristosfi
128*946379e7Schristos
129*946379e7Schristos
130*946379e7Schristos# Name of the executable.
131*946379e7Schristosas_me=`$as_basename -- "$0" ||
132*946379e7Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133*946379e7Schristos	 X"$0" : 'X\(//\)$' \| \
134*946379e7Schristos	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135*946379e7Schristosecho X/"$0" |
136*946379e7Schristos    sed '/^.*\/\([^/][^/]*\)\/*$/{
137*946379e7Schristos	    s//\1/
138*946379e7Schristos	    q
139*946379e7Schristos	  }
140*946379e7Schristos	  /^X\/\(\/\/\)$/{
141*946379e7Schristos	    s//\1/
142*946379e7Schristos	    q
143*946379e7Schristos	  }
144*946379e7Schristos	  /^X\/\(\/\).*/{
145*946379e7Schristos	    s//\1/
146*946379e7Schristos	    q
147*946379e7Schristos	  }
148*946379e7Schristos	  s/.*/./; q'`
149*946379e7Schristos
150*946379e7Schristos# CDPATH.
151*946379e7Schristos$as_unset CDPATH
152*946379e7Schristos
153*946379e7Schristos
154*946379e7Schristosif test "x$CONFIG_SHELL" = x; then
155*946379e7Schristos  if (eval ":") 2>/dev/null; then
156*946379e7Schristos  as_have_required=yes
157*946379e7Schristoselse
158*946379e7Schristos  as_have_required=no
159*946379e7Schristosfi
160*946379e7Schristos
161*946379e7Schristos  if test $as_have_required = yes && 	 (eval ":
162*946379e7Schristos(as_func_return () {
163*946379e7Schristos  (exit \$1)
164*946379e7Schristos}
165*946379e7Schristosas_func_success () {
166*946379e7Schristos  as_func_return 0
167*946379e7Schristos}
168*946379e7Schristosas_func_failure () {
169*946379e7Schristos  as_func_return 1
170*946379e7Schristos}
171*946379e7Schristosas_func_ret_success () {
172*946379e7Schristos  return 0
173*946379e7Schristos}
174*946379e7Schristosas_func_ret_failure () {
175*946379e7Schristos  return 1
176*946379e7Schristos}
177*946379e7Schristos
178*946379e7Schristosexitcode=0
179*946379e7Schristosif as_func_success; then
180*946379e7Schristos  :
181*946379e7Schristoselse
182*946379e7Schristos  exitcode=1
183*946379e7Schristos  echo as_func_success failed.
184*946379e7Schristosfi
185*946379e7Schristos
186*946379e7Schristosif as_func_failure; then
187*946379e7Schristos  exitcode=1
188*946379e7Schristos  echo as_func_failure succeeded.
189*946379e7Schristosfi
190*946379e7Schristos
191*946379e7Schristosif as_func_ret_success; then
192*946379e7Schristos  :
193*946379e7Schristoselse
194*946379e7Schristos  exitcode=1
195*946379e7Schristos  echo as_func_ret_success failed.
196*946379e7Schristosfi
197*946379e7Schristos
198*946379e7Schristosif as_func_ret_failure; then
199*946379e7Schristos  exitcode=1
200*946379e7Schristos  echo as_func_ret_failure succeeded.
201*946379e7Schristosfi
202*946379e7Schristos
203*946379e7Schristosif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204*946379e7Schristos  :
205*946379e7Schristoselse
206*946379e7Schristos  exitcode=1
207*946379e7Schristos  echo positional parameters were not saved.
208*946379e7Schristosfi
209*946379e7Schristos
210*946379e7Schristostest \$exitcode = 0) || { (exit 1); exit 1; }
211*946379e7Schristos
212*946379e7Schristos(
213*946379e7Schristos  as_lineno_1=\$LINENO
214*946379e7Schristos  as_lineno_2=\$LINENO
215*946379e7Schristos  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216*946379e7Schristos  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217*946379e7Schristos") 2> /dev/null; then
218*946379e7Schristos  :
219*946379e7Schristoselse
220*946379e7Schristos  as_candidate_shells=
221*946379e7Schristos    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222*946379e7Schristosfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223*946379e7Schristosdo
224*946379e7Schristos  IFS=$as_save_IFS
225*946379e7Schristos  test -z "$as_dir" && as_dir=.
226*946379e7Schristos  case $as_dir in
227*946379e7Schristos	 /*)
228*946379e7Schristos	   for as_base in sh bash ksh sh5; do
229*946379e7Schristos	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230*946379e7Schristos	   done;;
231*946379e7Schristos       esac
232*946379e7Schristosdone
233*946379e7SchristosIFS=$as_save_IFS
234*946379e7Schristos
235*946379e7Schristos
236*946379e7Schristos      for as_shell in $as_candidate_shells $SHELL; do
237*946379e7Schristos	 # Try only shells that exist, to save several forks.
238*946379e7Schristos	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239*946379e7Schristos		{ ("$as_shell") 2> /dev/null <<\_ASEOF
240*946379e7Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241*946379e7Schristos  emulate sh
242*946379e7Schristos  NULLCMD=:
243*946379e7Schristos  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244*946379e7Schristos  # is contrary to our usage.  Disable this feature.
245*946379e7Schristos  alias -g '${1+"$@"}'='"$@"'
246*946379e7Schristos  setopt NO_GLOB_SUBST
247*946379e7Schristoselse
248*946379e7Schristos  case `(set -o) 2>/dev/null` in
249*946379e7Schristos  *posix*) set -o posix ;;
250*946379e7Schristosesac
251*946379e7Schristos
252*946379e7Schristosfi
253*946379e7Schristos
254*946379e7Schristos
255*946379e7Schristos:
256*946379e7Schristos_ASEOF
257*946379e7Schristos}; then
258*946379e7Schristos  CONFIG_SHELL=$as_shell
259*946379e7Schristos	       as_have_required=yes
260*946379e7Schristos	       if { "$as_shell" 2> /dev/null <<\_ASEOF
261*946379e7Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262*946379e7Schristos  emulate sh
263*946379e7Schristos  NULLCMD=:
264*946379e7Schristos  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265*946379e7Schristos  # is contrary to our usage.  Disable this feature.
266*946379e7Schristos  alias -g '${1+"$@"}'='"$@"'
267*946379e7Schristos  setopt NO_GLOB_SUBST
268*946379e7Schristoselse
269*946379e7Schristos  case `(set -o) 2>/dev/null` in
270*946379e7Schristos  *posix*) set -o posix ;;
271*946379e7Schristosesac
272*946379e7Schristos
273*946379e7Schristosfi
274*946379e7Schristos
275*946379e7Schristos
276*946379e7Schristos:
277*946379e7Schristos(as_func_return () {
278*946379e7Schristos  (exit $1)
279*946379e7Schristos}
280*946379e7Schristosas_func_success () {
281*946379e7Schristos  as_func_return 0
282*946379e7Schristos}
283*946379e7Schristosas_func_failure () {
284*946379e7Schristos  as_func_return 1
285*946379e7Schristos}
286*946379e7Schristosas_func_ret_success () {
287*946379e7Schristos  return 0
288*946379e7Schristos}
289*946379e7Schristosas_func_ret_failure () {
290*946379e7Schristos  return 1
291*946379e7Schristos}
292*946379e7Schristos
293*946379e7Schristosexitcode=0
294*946379e7Schristosif as_func_success; then
295*946379e7Schristos  :
296*946379e7Schristoselse
297*946379e7Schristos  exitcode=1
298*946379e7Schristos  echo as_func_success failed.
299*946379e7Schristosfi
300*946379e7Schristos
301*946379e7Schristosif as_func_failure; then
302*946379e7Schristos  exitcode=1
303*946379e7Schristos  echo as_func_failure succeeded.
304*946379e7Schristosfi
305*946379e7Schristos
306*946379e7Schristosif as_func_ret_success; then
307*946379e7Schristos  :
308*946379e7Schristoselse
309*946379e7Schristos  exitcode=1
310*946379e7Schristos  echo as_func_ret_success failed.
311*946379e7Schristosfi
312*946379e7Schristos
313*946379e7Schristosif as_func_ret_failure; then
314*946379e7Schristos  exitcode=1
315*946379e7Schristos  echo as_func_ret_failure succeeded.
316*946379e7Schristosfi
317*946379e7Schristos
318*946379e7Schristosif ( set x; as_func_ret_success y && test x = "$1" ); then
319*946379e7Schristos  :
320*946379e7Schristoselse
321*946379e7Schristos  exitcode=1
322*946379e7Schristos  echo positional parameters were not saved.
323*946379e7Schristosfi
324*946379e7Schristos
325*946379e7Schristostest $exitcode = 0) || { (exit 1); exit 1; }
326*946379e7Schristos
327*946379e7Schristos(
328*946379e7Schristos  as_lineno_1=$LINENO
329*946379e7Schristos  as_lineno_2=$LINENO
330*946379e7Schristos  test "x$as_lineno_1" != "x$as_lineno_2" &&
331*946379e7Schristos  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332*946379e7Schristos
333*946379e7Schristos_ASEOF
334*946379e7Schristos}; then
335*946379e7Schristos  break
336*946379e7Schristosfi
337*946379e7Schristos
338*946379e7Schristosfi
339*946379e7Schristos
340*946379e7Schristos      done
341*946379e7Schristos
342*946379e7Schristos      if test "x$CONFIG_SHELL" != x; then
343*946379e7Schristos  for as_var in BASH_ENV ENV
344*946379e7Schristos        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345*946379e7Schristos        done
346*946379e7Schristos        export CONFIG_SHELL
347*946379e7Schristos        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348*946379e7Schristosfi
349*946379e7Schristos
350*946379e7Schristos
351*946379e7Schristos    if test $as_have_required = no; then
352*946379e7Schristos  echo This script requires a shell more modern than all the
353*946379e7Schristos      echo shells that I found on your system.  Please install a
354*946379e7Schristos      echo modern shell, or manually run the script under such a
355*946379e7Schristos      echo shell if you do have one.
356*946379e7Schristos      { (exit 1); exit 1; }
357*946379e7Schristosfi
358*946379e7Schristos
359*946379e7Schristos
360*946379e7Schristosfi
361*946379e7Schristos
362*946379e7Schristosfi
363*946379e7Schristos
364*946379e7Schristos
365*946379e7Schristos
366*946379e7Schristos(eval "as_func_return () {
367*946379e7Schristos  (exit \$1)
368*946379e7Schristos}
369*946379e7Schristosas_func_success () {
370*946379e7Schristos  as_func_return 0
371*946379e7Schristos}
372*946379e7Schristosas_func_failure () {
373*946379e7Schristos  as_func_return 1
374*946379e7Schristos}
375*946379e7Schristosas_func_ret_success () {
376*946379e7Schristos  return 0
377*946379e7Schristos}
378*946379e7Schristosas_func_ret_failure () {
379*946379e7Schristos  return 1
380*946379e7Schristos}
381*946379e7Schristos
382*946379e7Schristosexitcode=0
383*946379e7Schristosif as_func_success; then
384*946379e7Schristos  :
385*946379e7Schristoselse
386*946379e7Schristos  exitcode=1
387*946379e7Schristos  echo as_func_success failed.
388*946379e7Schristosfi
389*946379e7Schristos
390*946379e7Schristosif as_func_failure; then
391*946379e7Schristos  exitcode=1
392*946379e7Schristos  echo as_func_failure succeeded.
393*946379e7Schristosfi
394*946379e7Schristos
395*946379e7Schristosif as_func_ret_success; then
396*946379e7Schristos  :
397*946379e7Schristoselse
398*946379e7Schristos  exitcode=1
399*946379e7Schristos  echo as_func_ret_success failed.
400*946379e7Schristosfi
401*946379e7Schristos
402*946379e7Schristosif as_func_ret_failure; then
403*946379e7Schristos  exitcode=1
404*946379e7Schristos  echo as_func_ret_failure succeeded.
405*946379e7Schristosfi
406*946379e7Schristos
407*946379e7Schristosif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408*946379e7Schristos  :
409*946379e7Schristoselse
410*946379e7Schristos  exitcode=1
411*946379e7Schristos  echo positional parameters were not saved.
412*946379e7Schristosfi
413*946379e7Schristos
414*946379e7Schristostest \$exitcode = 0") || {
415*946379e7Schristos  echo No shell found that supports shell functions.
416*946379e7Schristos  echo Please tell autoconf@gnu.org about your system,
417*946379e7Schristos  echo including any error possibly output before this
418*946379e7Schristos  echo message
419*946379e7Schristos}
420*946379e7Schristos
421*946379e7Schristos
422*946379e7Schristos
423*946379e7Schristos  as_lineno_1=$LINENO
424*946379e7Schristos  as_lineno_2=$LINENO
425*946379e7Schristos  test "x$as_lineno_1" != "x$as_lineno_2" &&
426*946379e7Schristos  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427*946379e7Schristos
428*946379e7Schristos  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429*946379e7Schristos  # uniformly replaced by the line number.  The first 'sed' inserts a
430*946379e7Schristos  # line-number line after each line using $LINENO; the second 'sed'
431*946379e7Schristos  # does the real work.  The second script uses 'N' to pair each
432*946379e7Schristos  # line-number line with the line containing $LINENO, and appends
433*946379e7Schristos  # trailing '-' during substitution so that $LINENO is not a special
434*946379e7Schristos  # case at line end.
435*946379e7Schristos  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436*946379e7Schristos  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437*946379e7Schristos  # E. McMahon (1931-1989) for sed's syntax.  :-)
438*946379e7Schristos  sed -n '
439*946379e7Schristos    p
440*946379e7Schristos    /[$]LINENO/=
441*946379e7Schristos  ' <$as_myself |
442*946379e7Schristos    sed '
443*946379e7Schristos      s/[$]LINENO.*/&-/
444*946379e7Schristos      t lineno
445*946379e7Schristos      b
446*946379e7Schristos      :lineno
447*946379e7Schristos      N
448*946379e7Schristos      :loop
449*946379e7Schristos      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450*946379e7Schristos      t loop
451*946379e7Schristos      s/-\n.*//
452*946379e7Schristos    ' >$as_me.lineno &&
453*946379e7Schristos  chmod +x "$as_me.lineno" ||
454*946379e7Schristos    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455*946379e7Schristos   { (exit 1); exit 1; }; }
456*946379e7Schristos
457*946379e7Schristos  # Don't try to exec as it changes $[0], causing all sort of problems
458*946379e7Schristos  # (the dirname of $[0] is not the place where we might find the
459*946379e7Schristos  # original and so on.  Autoconf is especially sensitive to this).
460*946379e7Schristos  . "./$as_me.lineno"
461*946379e7Schristos  # Exit status is that of the last command.
462*946379e7Schristos  exit
463*946379e7Schristos}
464*946379e7Schristos
465*946379e7Schristos
466*946379e7Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467*946379e7Schristos  as_dirname=dirname
468*946379e7Schristoselse
469*946379e7Schristos  as_dirname=false
470*946379e7Schristosfi
471*946379e7Schristos
472*946379e7SchristosECHO_C= ECHO_N= ECHO_T=
473*946379e7Schristoscase `echo -n x` in
474*946379e7Schristos-n*)
475*946379e7Schristos  case `echo 'x\c'` in
476*946379e7Schristos  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477*946379e7Schristos  *)   ECHO_C='\c';;
478*946379e7Schristos  esac;;
479*946379e7Schristos*)
480*946379e7Schristos  ECHO_N='-n';;
481*946379e7Schristosesac
482*946379e7Schristos
483*946379e7Schristosif expr a : '\(a\)' >/dev/null 2>&1 &&
484*946379e7Schristos   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485*946379e7Schristos  as_expr=expr
486*946379e7Schristoselse
487*946379e7Schristos  as_expr=false
488*946379e7Schristosfi
489*946379e7Schristos
490*946379e7Schristosrm -f conf$$ conf$$.exe conf$$.file
491*946379e7Schristosif test -d conf$$.dir; then
492*946379e7Schristos  rm -f conf$$.dir/conf$$.file
493*946379e7Schristoselse
494*946379e7Schristos  rm -f conf$$.dir
495*946379e7Schristos  mkdir conf$$.dir
496*946379e7Schristosfi
497*946379e7Schristosecho >conf$$.file
498*946379e7Schristosif ln -s conf$$.file conf$$ 2>/dev/null; then
499*946379e7Schristos  as_ln_s='ln -s'
500*946379e7Schristos  # ... but there are two gotchas:
501*946379e7Schristos  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502*946379e7Schristos  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503*946379e7Schristos  # In both cases, we have to default to `cp -p'.
504*946379e7Schristos  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505*946379e7Schristos    as_ln_s='cp -p'
506*946379e7Schristoselif ln conf$$.file conf$$ 2>/dev/null; then
507*946379e7Schristos  as_ln_s=ln
508*946379e7Schristoselse
509*946379e7Schristos  as_ln_s='cp -p'
510*946379e7Schristosfi
511*946379e7Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512*946379e7Schristosrmdir conf$$.dir 2>/dev/null
513*946379e7Schristos
514*946379e7Schristosif mkdir -p . 2>/dev/null; then
515*946379e7Schristos  as_mkdir_p=:
516*946379e7Schristoselse
517*946379e7Schristos  test -d ./-p && rmdir ./-p
518*946379e7Schristos  as_mkdir_p=false
519*946379e7Schristosfi
520*946379e7Schristos
521*946379e7Schristosif test -x / >/dev/null 2>&1; then
522*946379e7Schristos  as_test_x='test -x'
523*946379e7Schristoselse
524*946379e7Schristos  if ls -dL / >/dev/null 2>&1; then
525*946379e7Schristos    as_ls_L_option=L
526*946379e7Schristos  else
527*946379e7Schristos    as_ls_L_option=
528*946379e7Schristos  fi
529*946379e7Schristos  as_test_x='
530*946379e7Schristos    eval sh -c '\''
531*946379e7Schristos      if test -d "$1"; then
532*946379e7Schristos        test -d "$1/.";
533*946379e7Schristos      else
534*946379e7Schristos	case $1 in
535*946379e7Schristos        -*)set "./$1";;
536*946379e7Schristos	esac;
537*946379e7Schristos	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538*946379e7Schristos	???[sx]*):;;*)false;;esac;fi
539*946379e7Schristos    '\'' sh
540*946379e7Schristos  '
541*946379e7Schristosfi
542*946379e7Schristosas_executable_p=$as_test_x
543*946379e7Schristos
544*946379e7Schristos# Sed expression to map a string onto a valid CPP name.
545*946379e7Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546*946379e7Schristos
547*946379e7Schristos# Sed expression to map a string onto a valid variable name.
548*946379e7Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549*946379e7Schristos
550*946379e7Schristos
551*946379e7Schristos
552*946379e7Schristosexec 7<&0 </dev/null 6>&1
553*946379e7Schristos
554*946379e7Schristos# Name of the host.
555*946379e7Schristos# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556*946379e7Schristos# so uname gets run too.
557*946379e7Schristosac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558*946379e7Schristos
559*946379e7Schristos#
560*946379e7Schristos# Initializations.
561*946379e7Schristos#
562*946379e7Schristosac_default_prefix=/usr/local
563*946379e7Schristosac_clean_files=
564*946379e7Schristosac_config_libobj_dir=.
565*946379e7SchristosLIBOBJS=
566*946379e7Schristoscross_compiling=no
567*946379e7Schristossubdirs=
568*946379e7SchristosMFLAGS=
569*946379e7SchristosMAKEFLAGS=
570*946379e7SchristosSHELL=${CONFIG_SHELL-/bin/sh}
571*946379e7Schristos
572*946379e7Schristos# Identity of this package.
573*946379e7SchristosPACKAGE_NAME=
574*946379e7SchristosPACKAGE_TARNAME=
575*946379e7SchristosPACKAGE_VERSION=
576*946379e7SchristosPACKAGE_STRING=
577*946379e7SchristosPACKAGE_BUGREPORT=
578*946379e7Schristos
579*946379e7Schristosac_unique_file="gettext-tools/src/msgfmt.c"
580*946379e7Schristosac_subst_vars='SHELL
581*946379e7SchristosPATH_SEPARATOR
582*946379e7SchristosPACKAGE_NAME
583*946379e7SchristosPACKAGE_TARNAME
584*946379e7SchristosPACKAGE_VERSION
585*946379e7SchristosPACKAGE_STRING
586*946379e7SchristosPACKAGE_BUGREPORT
587*946379e7Schristosexec_prefix
588*946379e7Schristosprefix
589*946379e7Schristosprogram_transform_name
590*946379e7Schristosbindir
591*946379e7Schristossbindir
592*946379e7Schristoslibexecdir
593*946379e7Schristosdatarootdir
594*946379e7Schristosdatadir
595*946379e7Schristossysconfdir
596*946379e7Schristossharedstatedir
597*946379e7Schristoslocalstatedir
598*946379e7Schristosincludedir
599*946379e7Schristosoldincludedir
600*946379e7Schristosdocdir
601*946379e7Schristosinfodir
602*946379e7Schristoshtmldir
603*946379e7Schristosdvidir
604*946379e7Schristospdfdir
605*946379e7Schristospsdir
606*946379e7Schristoslibdir
607*946379e7Schristoslocaledir
608*946379e7Schristosmandir
609*946379e7SchristosDEFS
610*946379e7SchristosECHO_C
611*946379e7SchristosECHO_N
612*946379e7SchristosECHO_T
613*946379e7SchristosLIBS
614*946379e7Schristosbuild_alias
615*946379e7Schristoshost_alias
616*946379e7Schristostarget_alias
617*946379e7SchristosINSTALL_PROGRAM
618*946379e7SchristosINSTALL_SCRIPT
619*946379e7SchristosINSTALL_DATA
620*946379e7Schristosam__isrc
621*946379e7SchristosCYGPATH_W
622*946379e7SchristosPACKAGE
623*946379e7SchristosVERSION
624*946379e7SchristosACLOCAL
625*946379e7SchristosAUTOCONF
626*946379e7SchristosAUTOMAKE
627*946379e7SchristosAUTOHEADER
628*946379e7SchristosMAKEINFO
629*946379e7Schristosinstall_sh
630*946379e7SchristosSTRIP
631*946379e7SchristosINSTALL_STRIP_PROGRAM
632*946379e7Schristosmkdir_p
633*946379e7SchristosAWK
634*946379e7SchristosSET_MAKE
635*946379e7Schristosam__leading_dot
636*946379e7SchristosAMTAR
637*946379e7Schristosam__tar
638*946379e7Schristosam__untar
639*946379e7Schristossubdirs
640*946379e7Schristosbuild
641*946379e7Schristosbuild_cpu
642*946379e7Schristosbuild_vendor
643*946379e7Schristosbuild_os
644*946379e7Schristoshost
645*946379e7Schristoshost_cpu
646*946379e7Schristoshost_vendor
647*946379e7Schristoshost_os
648*946379e7SchristosCC
649*946379e7SchristosCFLAGS
650*946379e7SchristosLDFLAGS
651*946379e7SchristosCPPFLAGS
652*946379e7SchristosCPP
653*946379e7SchristosCXX
654*946379e7SchristosCXXFLAGS
655*946379e7SchristosCXXCPP
656*946379e7SchristosF77
657*946379e7SchristosFFLAGS
658*946379e7SchristosYACC
659*946379e7SchristosYFLAGS
660*946379e7SchristosGCJ
661*946379e7SchristosGCJFLAGS
662*946379e7SchristosEMACS
663*946379e7SchristosEMACSLOADPATH
664*946379e7SchristosLIBOBJS
665*946379e7SchristosLTLIBOBJS'
666*946379e7Schristosac_subst_files=''
667*946379e7Schristos      ac_precious_vars='build_alias
668*946379e7Schristoshost_alias
669*946379e7Schristostarget_alias
670*946379e7SchristosCC
671*946379e7SchristosCFLAGS
672*946379e7SchristosLDFLAGS
673*946379e7SchristosLIBS
674*946379e7SchristosCPPFLAGS
675*946379e7SchristosCPP
676*946379e7SchristosCXX
677*946379e7SchristosCXXFLAGS
678*946379e7SchristosCXXCPP
679*946379e7SchristosF77
680*946379e7SchristosFFLAGS
681*946379e7SchristosYACC
682*946379e7SchristosYFLAGS
683*946379e7SchristosGCJ
684*946379e7SchristosGCJFLAGS
685*946379e7SchristosEMACS
686*946379e7SchristosEMACSLOADPATH'
687*946379e7Schristosac_subdirs_all='autoconf-lib-link gettext-runtime gettext-tools'
688*946379e7Schristos
689*946379e7Schristos# Initialize some variables set by options.
690*946379e7Schristosac_init_help=
691*946379e7Schristosac_init_version=false
692*946379e7Schristos# The variables have the same names as the options, with
693*946379e7Schristos# dashes changed to underlines.
694*946379e7Schristoscache_file=/dev/null
695*946379e7Schristosexec_prefix=NONE
696*946379e7Schristosno_create=
697*946379e7Schristosno_recursion=
698*946379e7Schristosprefix=NONE
699*946379e7Schristosprogram_prefix=NONE
700*946379e7Schristosprogram_suffix=NONE
701*946379e7Schristosprogram_transform_name=s,x,x,
702*946379e7Schristossilent=
703*946379e7Schristossite=
704*946379e7Schristossrcdir=
705*946379e7Schristosverbose=
706*946379e7Schristosx_includes=NONE
707*946379e7Schristosx_libraries=NONE
708*946379e7Schristos
709*946379e7Schristos# Installation directory options.
710*946379e7Schristos# These are left unexpanded so users can "make install exec_prefix=/foo"
711*946379e7Schristos# and all the variables that are supposed to be based on exec_prefix
712*946379e7Schristos# by default will actually change.
713*946379e7Schristos# Use braces instead of parens because sh, perl, etc. also accept them.
714*946379e7Schristos# (The list follows the same order as the GNU Coding Standards.)
715*946379e7Schristosbindir='${exec_prefix}/bin'
716*946379e7Schristossbindir='${exec_prefix}/sbin'
717*946379e7Schristoslibexecdir='${exec_prefix}/libexec'
718*946379e7Schristosdatarootdir='${prefix}/share'
719*946379e7Schristosdatadir='${datarootdir}'
720*946379e7Schristossysconfdir='${prefix}/etc'
721*946379e7Schristossharedstatedir='${prefix}/com'
722*946379e7Schristoslocalstatedir='${prefix}/var'
723*946379e7Schristosincludedir='${prefix}/include'
724*946379e7Schristosoldincludedir='/usr/include'
725*946379e7Schristosdocdir='${datarootdir}/doc/${PACKAGE}'
726*946379e7Schristosinfodir='${datarootdir}/info'
727*946379e7Schristoshtmldir='${docdir}'
728*946379e7Schristosdvidir='${docdir}'
729*946379e7Schristospdfdir='${docdir}'
730*946379e7Schristospsdir='${docdir}'
731*946379e7Schristoslibdir='${exec_prefix}/lib'
732*946379e7Schristoslocaledir='${datarootdir}/locale'
733*946379e7Schristosmandir='${datarootdir}/man'
734*946379e7Schristos
735*946379e7Schristosac_prev=
736*946379e7Schristosac_dashdash=
737*946379e7Schristosfor ac_option
738*946379e7Schristosdo
739*946379e7Schristos  # If the previous option needs an argument, assign it.
740*946379e7Schristos  if test -n "$ac_prev"; then
741*946379e7Schristos    eval $ac_prev=\$ac_option
742*946379e7Schristos    ac_prev=
743*946379e7Schristos    continue
744*946379e7Schristos  fi
745*946379e7Schristos
746*946379e7Schristos  case $ac_option in
747*946379e7Schristos  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
748*946379e7Schristos  *)	ac_optarg=yes ;;
749*946379e7Schristos  esac
750*946379e7Schristos
751*946379e7Schristos  # Accept the important Cygnus configure options, so we can diagnose typos.
752*946379e7Schristos
753*946379e7Schristos  case $ac_dashdash$ac_option in
754*946379e7Schristos  --)
755*946379e7Schristos    ac_dashdash=yes ;;
756*946379e7Schristos
757*946379e7Schristos  -bindir | --bindir | --bindi | --bind | --bin | --bi)
758*946379e7Schristos    ac_prev=bindir ;;
759*946379e7Schristos  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
760*946379e7Schristos    bindir=$ac_optarg ;;
761*946379e7Schristos
762*946379e7Schristos  -build | --build | --buil | --bui | --bu)
763*946379e7Schristos    ac_prev=build_alias ;;
764*946379e7Schristos  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
765*946379e7Schristos    build_alias=$ac_optarg ;;
766*946379e7Schristos
767*946379e7Schristos  -cache-file | --cache-file | --cache-fil | --cache-fi \
768*946379e7Schristos  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
769*946379e7Schristos    ac_prev=cache_file ;;
770*946379e7Schristos  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
771*946379e7Schristos  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
772*946379e7Schristos    cache_file=$ac_optarg ;;
773*946379e7Schristos
774*946379e7Schristos  --config-cache | -C)
775*946379e7Schristos    cache_file=config.cache ;;
776*946379e7Schristos
777*946379e7Schristos  -datadir | --datadir | --datadi | --datad)
778*946379e7Schristos    ac_prev=datadir ;;
779*946379e7Schristos  -datadir=* | --datadir=* | --datadi=* | --datad=*)
780*946379e7Schristos    datadir=$ac_optarg ;;
781*946379e7Schristos
782*946379e7Schristos  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
783*946379e7Schristos  | --dataroo | --dataro | --datar)
784*946379e7Schristos    ac_prev=datarootdir ;;
785*946379e7Schristos  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
786*946379e7Schristos  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
787*946379e7Schristos    datarootdir=$ac_optarg ;;
788*946379e7Schristos
789*946379e7Schristos  -disable-* | --disable-*)
790*946379e7Schristos    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791*946379e7Schristos    # Reject names that are not valid shell variable names.
792*946379e7Schristos    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793*946379e7Schristos      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
794*946379e7Schristos   { (exit 1); exit 1; }; }
795*946379e7Schristos    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
796*946379e7Schristos    eval enable_$ac_feature=no ;;
797*946379e7Schristos
798*946379e7Schristos  -docdir | --docdir | --docdi | --doc | --do)
799*946379e7Schristos    ac_prev=docdir ;;
800*946379e7Schristos  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
801*946379e7Schristos    docdir=$ac_optarg ;;
802*946379e7Schristos
803*946379e7Schristos  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
804*946379e7Schristos    ac_prev=dvidir ;;
805*946379e7Schristos  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
806*946379e7Schristos    dvidir=$ac_optarg ;;
807*946379e7Schristos
808*946379e7Schristos  -enable-* | --enable-*)
809*946379e7Schristos    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
810*946379e7Schristos    # Reject names that are not valid shell variable names.
811*946379e7Schristos    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
812*946379e7Schristos      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
813*946379e7Schristos   { (exit 1); exit 1; }; }
814*946379e7Schristos    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
815*946379e7Schristos    eval enable_$ac_feature=\$ac_optarg ;;
816*946379e7Schristos
817*946379e7Schristos  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
818*946379e7Schristos  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
819*946379e7Schristos  | --exec | --exe | --ex)
820*946379e7Schristos    ac_prev=exec_prefix ;;
821*946379e7Schristos  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
822*946379e7Schristos  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
823*946379e7Schristos  | --exec=* | --exe=* | --ex=*)
824*946379e7Schristos    exec_prefix=$ac_optarg ;;
825*946379e7Schristos
826*946379e7Schristos  -gas | --gas | --ga | --g)
827*946379e7Schristos    # Obsolete; use --with-gas.
828*946379e7Schristos    with_gas=yes ;;
829*946379e7Schristos
830*946379e7Schristos  -help | --help | --hel | --he | -h)
831*946379e7Schristos    ac_init_help=long ;;
832*946379e7Schristos  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
833*946379e7Schristos    ac_init_help=recursive ;;
834*946379e7Schristos  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
835*946379e7Schristos    ac_init_help=short ;;
836*946379e7Schristos
837*946379e7Schristos  -host | --host | --hos | --ho)
838*946379e7Schristos    ac_prev=host_alias ;;
839*946379e7Schristos  -host=* | --host=* | --hos=* | --ho=*)
840*946379e7Schristos    host_alias=$ac_optarg ;;
841*946379e7Schristos
842*946379e7Schristos  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
843*946379e7Schristos    ac_prev=htmldir ;;
844*946379e7Schristos  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
845*946379e7Schristos  | --ht=*)
846*946379e7Schristos    htmldir=$ac_optarg ;;
847*946379e7Schristos
848*946379e7Schristos  -includedir | --includedir | --includedi | --included | --include \
849*946379e7Schristos  | --includ | --inclu | --incl | --inc)
850*946379e7Schristos    ac_prev=includedir ;;
851*946379e7Schristos  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
852*946379e7Schristos  | --includ=* | --inclu=* | --incl=* | --inc=*)
853*946379e7Schristos    includedir=$ac_optarg ;;
854*946379e7Schristos
855*946379e7Schristos  -infodir | --infodir | --infodi | --infod | --info | --inf)
856*946379e7Schristos    ac_prev=infodir ;;
857*946379e7Schristos  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
858*946379e7Schristos    infodir=$ac_optarg ;;
859*946379e7Schristos
860*946379e7Schristos  -libdir | --libdir | --libdi | --libd)
861*946379e7Schristos    ac_prev=libdir ;;
862*946379e7Schristos  -libdir=* | --libdir=* | --libdi=* | --libd=*)
863*946379e7Schristos    libdir=$ac_optarg ;;
864*946379e7Schristos
865*946379e7Schristos  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
866*946379e7Schristos  | --libexe | --libex | --libe)
867*946379e7Schristos    ac_prev=libexecdir ;;
868*946379e7Schristos  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
869*946379e7Schristos  | --libexe=* | --libex=* | --libe=*)
870*946379e7Schristos    libexecdir=$ac_optarg ;;
871*946379e7Schristos
872*946379e7Schristos  -localedir | --localedir | --localedi | --localed | --locale)
873*946379e7Schristos    ac_prev=localedir ;;
874*946379e7Schristos  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
875*946379e7Schristos    localedir=$ac_optarg ;;
876*946379e7Schristos
877*946379e7Schristos  -localstatedir | --localstatedir | --localstatedi | --localstated \
878*946379e7Schristos  | --localstate | --localstat | --localsta | --localst | --locals)
879*946379e7Schristos    ac_prev=localstatedir ;;
880*946379e7Schristos  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
881*946379e7Schristos  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
882*946379e7Schristos    localstatedir=$ac_optarg ;;
883*946379e7Schristos
884*946379e7Schristos  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
885*946379e7Schristos    ac_prev=mandir ;;
886*946379e7Schristos  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
887*946379e7Schristos    mandir=$ac_optarg ;;
888*946379e7Schristos
889*946379e7Schristos  -nfp | --nfp | --nf)
890*946379e7Schristos    # Obsolete; use --without-fp.
891*946379e7Schristos    with_fp=no ;;
892*946379e7Schristos
893*946379e7Schristos  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
894*946379e7Schristos  | --no-cr | --no-c | -n)
895*946379e7Schristos    no_create=yes ;;
896*946379e7Schristos
897*946379e7Schristos  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
898*946379e7Schristos  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
899*946379e7Schristos    no_recursion=yes ;;
900*946379e7Schristos
901*946379e7Schristos  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
902*946379e7Schristos  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
903*946379e7Schristos  | --oldin | --oldi | --old | --ol | --o)
904*946379e7Schristos    ac_prev=oldincludedir ;;
905*946379e7Schristos  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
906*946379e7Schristos  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
907*946379e7Schristos  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
908*946379e7Schristos    oldincludedir=$ac_optarg ;;
909*946379e7Schristos
910*946379e7Schristos  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
911*946379e7Schristos    ac_prev=prefix ;;
912*946379e7Schristos  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
913*946379e7Schristos    prefix=$ac_optarg ;;
914*946379e7Schristos
915*946379e7Schristos  -program-prefix | --program-prefix | --program-prefi | --program-pref \
916*946379e7Schristos  | --program-pre | --program-pr | --program-p)
917*946379e7Schristos    ac_prev=program_prefix ;;
918*946379e7Schristos  -program-prefix=* | --program-prefix=* | --program-prefi=* \
919*946379e7Schristos  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
920*946379e7Schristos    program_prefix=$ac_optarg ;;
921*946379e7Schristos
922*946379e7Schristos  -program-suffix | --program-suffix | --program-suffi | --program-suff \
923*946379e7Schristos  | --program-suf | --program-su | --program-s)
924*946379e7Schristos    ac_prev=program_suffix ;;
925*946379e7Schristos  -program-suffix=* | --program-suffix=* | --program-suffi=* \
926*946379e7Schristos  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
927*946379e7Schristos    program_suffix=$ac_optarg ;;
928*946379e7Schristos
929*946379e7Schristos  -program-transform-name | --program-transform-name \
930*946379e7Schristos  | --program-transform-nam | --program-transform-na \
931*946379e7Schristos  | --program-transform-n | --program-transform- \
932*946379e7Schristos  | --program-transform | --program-transfor \
933*946379e7Schristos  | --program-transfo | --program-transf \
934*946379e7Schristos  | --program-trans | --program-tran \
935*946379e7Schristos  | --progr-tra | --program-tr | --program-t)
936*946379e7Schristos    ac_prev=program_transform_name ;;
937*946379e7Schristos  -program-transform-name=* | --program-transform-name=* \
938*946379e7Schristos  | --program-transform-nam=* | --program-transform-na=* \
939*946379e7Schristos  | --program-transform-n=* | --program-transform-=* \
940*946379e7Schristos  | --program-transform=* | --program-transfor=* \
941*946379e7Schristos  | --program-transfo=* | --program-transf=* \
942*946379e7Schristos  | --program-trans=* | --program-tran=* \
943*946379e7Schristos  | --progr-tra=* | --program-tr=* | --program-t=*)
944*946379e7Schristos    program_transform_name=$ac_optarg ;;
945*946379e7Schristos
946*946379e7Schristos  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
947*946379e7Schristos    ac_prev=pdfdir ;;
948*946379e7Schristos  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
949*946379e7Schristos    pdfdir=$ac_optarg ;;
950*946379e7Schristos
951*946379e7Schristos  -psdir | --psdir | --psdi | --psd | --ps)
952*946379e7Schristos    ac_prev=psdir ;;
953*946379e7Schristos  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
954*946379e7Schristos    psdir=$ac_optarg ;;
955*946379e7Schristos
956*946379e7Schristos  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
957*946379e7Schristos  | -silent | --silent | --silen | --sile | --sil)
958*946379e7Schristos    silent=yes ;;
959*946379e7Schristos
960*946379e7Schristos  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
961*946379e7Schristos    ac_prev=sbindir ;;
962*946379e7Schristos  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
963*946379e7Schristos  | --sbi=* | --sb=*)
964*946379e7Schristos    sbindir=$ac_optarg ;;
965*946379e7Schristos
966*946379e7Schristos  -sharedstatedir | --sharedstatedir | --sharedstatedi \
967*946379e7Schristos  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
968*946379e7Schristos  | --sharedst | --shareds | --shared | --share | --shar \
969*946379e7Schristos  | --sha | --sh)
970*946379e7Schristos    ac_prev=sharedstatedir ;;
971*946379e7Schristos  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
972*946379e7Schristos  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
973*946379e7Schristos  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
974*946379e7Schristos  | --sha=* | --sh=*)
975*946379e7Schristos    sharedstatedir=$ac_optarg ;;
976*946379e7Schristos
977*946379e7Schristos  -site | --site | --sit)
978*946379e7Schristos    ac_prev=site ;;
979*946379e7Schristos  -site=* | --site=* | --sit=*)
980*946379e7Schristos    site=$ac_optarg ;;
981*946379e7Schristos
982*946379e7Schristos  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
983*946379e7Schristos    ac_prev=srcdir ;;
984*946379e7Schristos  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
985*946379e7Schristos    srcdir=$ac_optarg ;;
986*946379e7Schristos
987*946379e7Schristos  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
988*946379e7Schristos  | --syscon | --sysco | --sysc | --sys | --sy)
989*946379e7Schristos    ac_prev=sysconfdir ;;
990*946379e7Schristos  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
991*946379e7Schristos  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
992*946379e7Schristos    sysconfdir=$ac_optarg ;;
993*946379e7Schristos
994*946379e7Schristos  -target | --target | --targe | --targ | --tar | --ta | --t)
995*946379e7Schristos    ac_prev=target_alias ;;
996*946379e7Schristos  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
997*946379e7Schristos    target_alias=$ac_optarg ;;
998*946379e7Schristos
999*946379e7Schristos  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1000*946379e7Schristos    verbose=yes ;;
1001*946379e7Schristos
1002*946379e7Schristos  -version | --version | --versio | --versi | --vers | -V)
1003*946379e7Schristos    ac_init_version=: ;;
1004*946379e7Schristos
1005*946379e7Schristos  -with-* | --with-*)
1006*946379e7Schristos    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1007*946379e7Schristos    # Reject names that are not valid shell variable names.
1008*946379e7Schristos    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1009*946379e7Schristos      { echo "$as_me: error: invalid package name: $ac_package" >&2
1010*946379e7Schristos   { (exit 1); exit 1; }; }
1011*946379e7Schristos    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1012*946379e7Schristos    eval with_$ac_package=\$ac_optarg ;;
1013*946379e7Schristos
1014*946379e7Schristos  -without-* | --without-*)
1015*946379e7Schristos    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1016*946379e7Schristos    # Reject names that are not valid shell variable names.
1017*946379e7Schristos    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1018*946379e7Schristos      { echo "$as_me: error: invalid package name: $ac_package" >&2
1019*946379e7Schristos   { (exit 1); exit 1; }; }
1020*946379e7Schristos    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1021*946379e7Schristos    eval with_$ac_package=no ;;
1022*946379e7Schristos
1023*946379e7Schristos  --x)
1024*946379e7Schristos    # Obsolete; use --with-x.
1025*946379e7Schristos    with_x=yes ;;
1026*946379e7Schristos
1027*946379e7Schristos  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1028*946379e7Schristos  | --x-incl | --x-inc | --x-in | --x-i)
1029*946379e7Schristos    ac_prev=x_includes ;;
1030*946379e7Schristos  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1031*946379e7Schristos  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1032*946379e7Schristos    x_includes=$ac_optarg ;;
1033*946379e7Schristos
1034*946379e7Schristos  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1035*946379e7Schristos  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1036*946379e7Schristos    ac_prev=x_libraries ;;
1037*946379e7Schristos  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1038*946379e7Schristos  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1039*946379e7Schristos    x_libraries=$ac_optarg ;;
1040*946379e7Schristos
1041*946379e7Schristos  -*) { echo "$as_me: error: unrecognized option: $ac_option
1042*946379e7SchristosTry \`$0 --help' for more information." >&2
1043*946379e7Schristos   { (exit 1); exit 1; }; }
1044*946379e7Schristos    ;;
1045*946379e7Schristos
1046*946379e7Schristos  *=*)
1047*946379e7Schristos    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1048*946379e7Schristos    # Reject names that are not valid shell variable names.
1049*946379e7Schristos    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1050*946379e7Schristos      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1051*946379e7Schristos   { (exit 1); exit 1; }; }
1052*946379e7Schristos    eval $ac_envvar=\$ac_optarg
1053*946379e7Schristos    export $ac_envvar ;;
1054*946379e7Schristos
1055*946379e7Schristos  *)
1056*946379e7Schristos    # FIXME: should be removed in autoconf 3.0.
1057*946379e7Schristos    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1058*946379e7Schristos    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059*946379e7Schristos      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1060*946379e7Schristos    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1061*946379e7Schristos    ;;
1062*946379e7Schristos
1063*946379e7Schristos  esac
1064*946379e7Schristosdone
1065*946379e7Schristos
1066*946379e7Schristosif test -n "$ac_prev"; then
1067*946379e7Schristos  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1068*946379e7Schristos  { echo "$as_me: error: missing argument to $ac_option" >&2
1069*946379e7Schristos   { (exit 1); exit 1; }; }
1070*946379e7Schristosfi
1071*946379e7Schristos
1072*946379e7Schristos# Be sure to have absolute directory names.
1073*946379e7Schristosfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1074*946379e7Schristos		datadir sysconfdir sharedstatedir localstatedir includedir \
1075*946379e7Schristos		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1076*946379e7Schristos		libdir localedir mandir
1077*946379e7Schristosdo
1078*946379e7Schristos  eval ac_val=\$$ac_var
1079*946379e7Schristos  case $ac_val in
1080*946379e7Schristos    [\\/$]* | ?:[\\/]* )  continue;;
1081*946379e7Schristos    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1082*946379e7Schristos  esac
1083*946379e7Schristos  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1084*946379e7Schristos   { (exit 1); exit 1; }; }
1085*946379e7Schristosdone
1086*946379e7Schristos
1087*946379e7Schristos# There might be people who depend on the old broken behavior: `$host'
1088*946379e7Schristos# used to hold the argument of --host etc.
1089*946379e7Schristos# FIXME: To remove some day.
1090*946379e7Schristosbuild=$build_alias
1091*946379e7Schristoshost=$host_alias
1092*946379e7Schristostarget=$target_alias
1093*946379e7Schristos
1094*946379e7Schristos# FIXME: To remove some day.
1095*946379e7Schristosif test "x$host_alias" != x; then
1096*946379e7Schristos  if test "x$build_alias" = x; then
1097*946379e7Schristos    cross_compiling=maybe
1098*946379e7Schristos    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1099*946379e7Schristos    If a cross compiler is detected then cross compile mode will be used." >&2
1100*946379e7Schristos  elif test "x$build_alias" != "x$host_alias"; then
1101*946379e7Schristos    cross_compiling=yes
1102*946379e7Schristos  fi
1103*946379e7Schristosfi
1104*946379e7Schristos
1105*946379e7Schristosac_tool_prefix=
1106*946379e7Schristostest -n "$host_alias" && ac_tool_prefix=$host_alias-
1107*946379e7Schristos
1108*946379e7Schristostest "$silent" = yes && exec 6>/dev/null
1109*946379e7Schristos
1110*946379e7Schristos
1111*946379e7Schristosac_pwd=`pwd` && test -n "$ac_pwd" &&
1112*946379e7Schristosac_ls_di=`ls -di .` &&
1113*946379e7Schristosac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1114*946379e7Schristos  { echo "$as_me: error: Working directory cannot be determined" >&2
1115*946379e7Schristos   { (exit 1); exit 1; }; }
1116*946379e7Schristostest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1117*946379e7Schristos  { echo "$as_me: error: pwd does not report name of working directory" >&2
1118*946379e7Schristos   { (exit 1); exit 1; }; }
1119*946379e7Schristos
1120*946379e7Schristos
1121*946379e7Schristos# Find the source files, if location was not specified.
1122*946379e7Schristosif test -z "$srcdir"; then
1123*946379e7Schristos  ac_srcdir_defaulted=yes
1124*946379e7Schristos  # Try the directory containing this script, then the parent directory.
1125*946379e7Schristos  ac_confdir=`$as_dirname -- "$0" ||
1126*946379e7Schristos$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1127*946379e7Schristos	 X"$0" : 'X\(//\)[^/]' \| \
1128*946379e7Schristos	 X"$0" : 'X\(//\)$' \| \
1129*946379e7Schristos	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1130*946379e7Schristosecho X"$0" |
1131*946379e7Schristos    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1132*946379e7Schristos	    s//\1/
1133*946379e7Schristos	    q
1134*946379e7Schristos	  }
1135*946379e7Schristos	  /^X\(\/\/\)[^/].*/{
1136*946379e7Schristos	    s//\1/
1137*946379e7Schristos	    q
1138*946379e7Schristos	  }
1139*946379e7Schristos	  /^X\(\/\/\)$/{
1140*946379e7Schristos	    s//\1/
1141*946379e7Schristos	    q
1142*946379e7Schristos	  }
1143*946379e7Schristos	  /^X\(\/\).*/{
1144*946379e7Schristos	    s//\1/
1145*946379e7Schristos	    q
1146*946379e7Schristos	  }
1147*946379e7Schristos	  s/.*/./; q'`
1148*946379e7Schristos  srcdir=$ac_confdir
1149*946379e7Schristos  if test ! -r "$srcdir/$ac_unique_file"; then
1150*946379e7Schristos    srcdir=..
1151*946379e7Schristos  fi
1152*946379e7Schristoselse
1153*946379e7Schristos  ac_srcdir_defaulted=no
1154*946379e7Schristosfi
1155*946379e7Schristosif test ! -r "$srcdir/$ac_unique_file"; then
1156*946379e7Schristos  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1157*946379e7Schristos  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1158*946379e7Schristos   { (exit 1); exit 1; }; }
1159*946379e7Schristosfi
1160*946379e7Schristosac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1161*946379e7Schristosac_abs_confdir=`(
1162*946379e7Schristos	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1163*946379e7Schristos   { (exit 1); exit 1; }; }
1164*946379e7Schristos	pwd)`
1165*946379e7Schristos# When building in place, set srcdir=.
1166*946379e7Schristosif test "$ac_abs_confdir" = "$ac_pwd"; then
1167*946379e7Schristos  srcdir=.
1168*946379e7Schristosfi
1169*946379e7Schristos# Remove unnecessary trailing slashes from srcdir.
1170*946379e7Schristos# Double slashes in file names in object file debugging info
1171*946379e7Schristos# mess up M-x gdb in Emacs.
1172*946379e7Schristoscase $srcdir in
1173*946379e7Schristos*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1174*946379e7Schristosesac
1175*946379e7Schristosfor ac_var in $ac_precious_vars; do
1176*946379e7Schristos  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1177*946379e7Schristos  eval ac_env_${ac_var}_value=\$${ac_var}
1178*946379e7Schristos  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1179*946379e7Schristos  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1180*946379e7Schristosdone
1181*946379e7Schristos
1182*946379e7Schristos#
1183*946379e7Schristos# Report the --help message.
1184*946379e7Schristos#
1185*946379e7Schristosif test "$ac_init_help" = "long"; then
1186*946379e7Schristos  # Omit some internal or obsolete options to make the list less imposing.
1187*946379e7Schristos  # This message is too long to be a string in the A/UX 3.1 sh.
1188*946379e7Schristos  cat <<_ACEOF
1189*946379e7Schristos\`configure' configures this package to adapt to many kinds of systems.
1190*946379e7Schristos
1191*946379e7SchristosUsage: $0 [OPTION]... [VAR=VALUE]...
1192*946379e7Schristos
1193*946379e7SchristosTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1194*946379e7SchristosVAR=VALUE.  See below for descriptions of some of the useful variables.
1195*946379e7Schristos
1196*946379e7SchristosDefaults for the options are specified in brackets.
1197*946379e7Schristos
1198*946379e7SchristosConfiguration:
1199*946379e7Schristos  -h, --help              display this help and exit
1200*946379e7Schristos      --help=short        display options specific to this package
1201*946379e7Schristos      --help=recursive    display the short help of all the included packages
1202*946379e7Schristos  -V, --version           display version information and exit
1203*946379e7Schristos  -q, --quiet, --silent   do not print \`checking...' messages
1204*946379e7Schristos      --cache-file=FILE   cache test results in FILE [disabled]
1205*946379e7Schristos  -C, --config-cache      alias for \`--cache-file=config.cache'
1206*946379e7Schristos  -n, --no-create         do not create output files
1207*946379e7Schristos      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1208*946379e7Schristos
1209*946379e7SchristosInstallation directories:
1210*946379e7Schristos  --prefix=PREFIX         install architecture-independent files in PREFIX
1211*946379e7Schristos			  [$ac_default_prefix]
1212*946379e7Schristos  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1213*946379e7Schristos			  [PREFIX]
1214*946379e7Schristos
1215*946379e7SchristosBy default, \`make install' will install all the files in
1216*946379e7Schristos\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1217*946379e7Schristosan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1218*946379e7Schristosfor instance \`--prefix=\$HOME'.
1219*946379e7Schristos
1220*946379e7SchristosFor better control, use the options below.
1221*946379e7Schristos
1222*946379e7SchristosFine tuning of the installation directories:
1223*946379e7Schristos  --bindir=DIR           user executables [EPREFIX/bin]
1224*946379e7Schristos  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1225*946379e7Schristos  --libexecdir=DIR       program executables [EPREFIX/libexec]
1226*946379e7Schristos  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1227*946379e7Schristos  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1228*946379e7Schristos  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1229*946379e7Schristos  --libdir=DIR           object code libraries [EPREFIX/lib]
1230*946379e7Schristos  --includedir=DIR       C header files [PREFIX/include]
1231*946379e7Schristos  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1232*946379e7Schristos  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1233*946379e7Schristos  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1234*946379e7Schristos  --infodir=DIR          info documentation [DATAROOTDIR/info]
1235*946379e7Schristos  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1236*946379e7Schristos  --mandir=DIR           man documentation [DATAROOTDIR/man]
1237*946379e7Schristos  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1238*946379e7Schristos  --htmldir=DIR          html documentation [DOCDIR]
1239*946379e7Schristos  --dvidir=DIR           dvi documentation [DOCDIR]
1240*946379e7Schristos  --pdfdir=DIR           pdf documentation [DOCDIR]
1241*946379e7Schristos  --psdir=DIR            ps documentation [DOCDIR]
1242*946379e7Schristos_ACEOF
1243*946379e7Schristos
1244*946379e7Schristos  cat <<\_ACEOF
1245*946379e7Schristos
1246*946379e7SchristosProgram names:
1247*946379e7Schristos  --program-prefix=PREFIX            prepend PREFIX to installed program names
1248*946379e7Schristos  --program-suffix=SUFFIX            append SUFFIX to installed program names
1249*946379e7Schristos  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1250*946379e7Schristos
1251*946379e7SchristosSystem types:
1252*946379e7Schristos  --build=BUILD     configure for building on BUILD [guessed]
1253*946379e7Schristos  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1254*946379e7Schristos_ACEOF
1255*946379e7Schristosfi
1256*946379e7Schristos
1257*946379e7Schristosif test -n "$ac_init_help"; then
1258*946379e7Schristos
1259*946379e7Schristos  cat <<\_ACEOF
1260*946379e7Schristos
1261*946379e7SchristosOptional Features:
1262*946379e7Schristos  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1263*946379e7Schristos  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1264*946379e7Schristos  --disable-dependency-tracking  speeds up one-time build
1265*946379e7Schristos  --enable-dependency-tracking   do not reject slow dependency extractors
1266*946379e7Schristos  --enable-shared[=PKGS]  build shared libraries [default=yes]
1267*946379e7Schristos  --enable-static[=PKGS]  build static libraries [default=yes]
1268*946379e7Schristos  --enable-fast-install[=PKGS]
1269*946379e7Schristos                          optimize for fast installation [default=yes]
1270*946379e7Schristos  --disable-libtool-lock  avoid locking (might break parallel builds)
1271*946379e7Schristos  --disable-java          do not build Java sources
1272*946379e7Schristos  --disable-native-java   do not compile Java to native executables
1273*946379e7Schristos  --enable-csharp[=IMPL]  choose preferred C# implementation (pnet or mono)
1274*946379e7Schristos  --disable-nls           do not use Native Language Support
1275*946379e7Schristos  --enable-threads={posix|solaris|pth|win32}
1276*946379e7Schristos                          specify multithreading API
1277*946379e7Schristos  --disable-threads       build without multithread safety
1278*946379e7Schristos  --disable-rpath         do not hardcode runtime library paths
1279*946379e7Schristos  --enable-relocatable    install a package that can be moved in the filesystem
1280*946379e7Schristos  --disable-libasprintf   do not build libasprintf
1281*946379e7Schristos  --disable-openmp        do not use OpenMP
1282*946379e7Schristos
1283*946379e7SchristosOptional Packages:
1284*946379e7Schristos  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1285*946379e7Schristos  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1286*946379e7Schristos  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1287*946379e7Schristos  --with-pic              try to use only PIC/non-PIC objects [default=use
1288*946379e7Schristos                          both]
1289*946379e7Schristos  --with-tags[=TAGS]      include additional configurations [automatic]
1290*946379e7Schristos  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1291*946379e7Schristos  --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
1292*946379e7Schristos  --without-libpth-prefix     don't search for libpth in includedir and libdir
1293*946379e7Schristos  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1294*946379e7Schristos  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1295*946379e7Schristos  --with-included-gettext use the GNU gettext library included here
1296*946379e7Schristos  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1297*946379e7Schristos  --without-libintl-prefix     don't search for libintl in includedir and libdir
1298*946379e7Schristos  --without-included-regex don't compile regex; this is the default on
1299*946379e7Schristos                          systems with version 2 of the GNU C library
1300*946379e7Schristos                          (use with caution on other system)
1301*946379e7Schristos  --with-libexpat-prefix[=DIR]  search for libexpat in DIR/include and DIR/lib
1302*946379e7Schristos  --without-libexpat-prefix     don't search for libexpat in includedir and libdir
1303*946379e7Schristos  --with-lispdir          override the default lisp directory
1304*946379e7Schristos  --without-emacs         do not use Emacs, don't install po-mode
1305*946379e7Schristos
1306*946379e7SchristosSome influential environment variables:
1307*946379e7Schristos  CC          C compiler command
1308*946379e7Schristos  CFLAGS      C compiler flags
1309*946379e7Schristos  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1310*946379e7Schristos              nonstandard directory <lib dir>
1311*946379e7Schristos  LIBS        libraries to pass to the linker, e.g. -l<library>
1312*946379e7Schristos  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1313*946379e7Schristos              you have headers in a nonstandard directory <include dir>
1314*946379e7Schristos  CPP         C preprocessor
1315*946379e7Schristos  CXX         C++ compiler command
1316*946379e7Schristos  CXXFLAGS    C++ compiler flags
1317*946379e7Schristos  CXXCPP      C++ preprocessor
1318*946379e7Schristos  F77         Fortran 77 compiler command
1319*946379e7Schristos  FFLAGS      Fortran 77 compiler flags
1320*946379e7Schristos  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1321*946379e7Schristos              the first program found out of: `bison -y', `byacc', `yacc'.
1322*946379e7Schristos  YFLAGS      The list of arguments that will be passed by default to $YACC.
1323*946379e7Schristos              This script will default YFLAGS to the empty string to avoid a
1324*946379e7Schristos              default value of `-d' given by some make applications.
1325*946379e7Schristos  GCJ         Java native code compiler command
1326*946379e7Schristos  GCJFLAGS    Java native code compiler flags
1327*946379e7Schristos  EMACS       the Emacs editor command
1328*946379e7Schristos  EMACSLOADPATH
1329*946379e7Schristos              the Emacs library search path
1330*946379e7Schristos
1331*946379e7SchristosUse these variables to override the choices made by `configure' or to help
1332*946379e7Schristosit to find libraries and programs with nonstandard names/locations.
1333*946379e7Schristos
1334*946379e7Schristos_ACEOF
1335*946379e7Schristosac_status=$?
1336*946379e7Schristosfi
1337*946379e7Schristos
1338*946379e7Schristosif test "$ac_init_help" = "recursive"; then
1339*946379e7Schristos  # If there are subdirs, report their specific --help.
1340*946379e7Schristos  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1341*946379e7Schristos    test -d "$ac_dir" || continue
1342*946379e7Schristos    ac_builddir=.
1343*946379e7Schristos
1344*946379e7Schristoscase "$ac_dir" in
1345*946379e7Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346*946379e7Schristos*)
1347*946379e7Schristos  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1348*946379e7Schristos  # A ".." for each directory in $ac_dir_suffix.
1349*946379e7Schristos  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1350*946379e7Schristos  case $ac_top_builddir_sub in
1351*946379e7Schristos  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352*946379e7Schristos  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1353*946379e7Schristos  esac ;;
1354*946379e7Schristosesac
1355*946379e7Schristosac_abs_top_builddir=$ac_pwd
1356*946379e7Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix
1357*946379e7Schristos# for backward compatibility:
1358*946379e7Schristosac_top_builddir=$ac_top_build_prefix
1359*946379e7Schristos
1360*946379e7Schristoscase $srcdir in
1361*946379e7Schristos  .)  # We are building in place.
1362*946379e7Schristos    ac_srcdir=.
1363*946379e7Schristos    ac_top_srcdir=$ac_top_builddir_sub
1364*946379e7Schristos    ac_abs_top_srcdir=$ac_pwd ;;
1365*946379e7Schristos  [\\/]* | ?:[\\/]* )  # Absolute name.
1366*946379e7Schristos    ac_srcdir=$srcdir$ac_dir_suffix;
1367*946379e7Schristos    ac_top_srcdir=$srcdir
1368*946379e7Schristos    ac_abs_top_srcdir=$srcdir ;;
1369*946379e7Schristos  *) # Relative name.
1370*946379e7Schristos    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1371*946379e7Schristos    ac_top_srcdir=$ac_top_build_prefix$srcdir
1372*946379e7Schristos    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1373*946379e7Schristosesac
1374*946379e7Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1375*946379e7Schristos
1376*946379e7Schristos    cd "$ac_dir" || { ac_status=$?; continue; }
1377*946379e7Schristos    # Check for guested configure.
1378*946379e7Schristos    if test -f "$ac_srcdir/configure.gnu"; then
1379*946379e7Schristos      echo &&
1380*946379e7Schristos      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1381*946379e7Schristos    elif test -f "$ac_srcdir/configure"; then
1382*946379e7Schristos      echo &&
1383*946379e7Schristos      $SHELL "$ac_srcdir/configure" --help=recursive
1384*946379e7Schristos    else
1385*946379e7Schristos      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1386*946379e7Schristos    fi || ac_status=$?
1387*946379e7Schristos    cd "$ac_pwd" || { ac_status=$?; break; }
1388*946379e7Schristos  done
1389*946379e7Schristosfi
1390*946379e7Schristos
1391*946379e7Schristostest -n "$ac_init_help" && exit $ac_status
1392*946379e7Schristosif $ac_init_version; then
1393*946379e7Schristos  cat <<\_ACEOF
1394*946379e7Schristosconfigure
1395*946379e7Schristosgenerated by GNU Autoconf 2.61
1396*946379e7Schristos
1397*946379e7SchristosCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1398*946379e7Schristos2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1399*946379e7SchristosThis configure script is free software; the Free Software Foundation
1400*946379e7Schristosgives unlimited permission to copy, distribute and modify it.
1401*946379e7Schristos_ACEOF
1402*946379e7Schristos  exit
1403*946379e7Schristosfi
1404*946379e7Schristoscat >config.log <<_ACEOF
1405*946379e7SchristosThis file contains any messages produced by compilers while
1406*946379e7Schristosrunning configure, to aid debugging if configure makes a mistake.
1407*946379e7Schristos
1408*946379e7SchristosIt was created by $as_me, which was
1409*946379e7Schristosgenerated by GNU Autoconf 2.61.  Invocation command line was
1410*946379e7Schristos
1411*946379e7Schristos  $ $0 $@
1412*946379e7Schristos
1413*946379e7Schristos_ACEOF
1414*946379e7Schristosexec 5>>config.log
1415*946379e7Schristos{
1416*946379e7Schristoscat <<_ASUNAME
1417*946379e7Schristos## --------- ##
1418*946379e7Schristos## Platform. ##
1419*946379e7Schristos## --------- ##
1420*946379e7Schristos
1421*946379e7Schristoshostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1422*946379e7Schristosuname -m = `(uname -m) 2>/dev/null || echo unknown`
1423*946379e7Schristosuname -r = `(uname -r) 2>/dev/null || echo unknown`
1424*946379e7Schristosuname -s = `(uname -s) 2>/dev/null || echo unknown`
1425*946379e7Schristosuname -v = `(uname -v) 2>/dev/null || echo unknown`
1426*946379e7Schristos
1427*946379e7Schristos/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1428*946379e7Schristos/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1429*946379e7Schristos
1430*946379e7Schristos/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1431*946379e7Schristos/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1432*946379e7Schristos/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1433*946379e7Schristos/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1434*946379e7Schristos/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1435*946379e7Schristos/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1436*946379e7Schristos/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1437*946379e7Schristos
1438*946379e7Schristos_ASUNAME
1439*946379e7Schristos
1440*946379e7Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1441*946379e7Schristosfor as_dir in $PATH
1442*946379e7Schristosdo
1443*946379e7Schristos  IFS=$as_save_IFS
1444*946379e7Schristos  test -z "$as_dir" && as_dir=.
1445*946379e7Schristos  echo "PATH: $as_dir"
1446*946379e7Schristosdone
1447*946379e7SchristosIFS=$as_save_IFS
1448*946379e7Schristos
1449*946379e7Schristos} >&5
1450*946379e7Schristos
1451*946379e7Schristoscat >&5 <<_ACEOF
1452*946379e7Schristos
1453*946379e7Schristos
1454*946379e7Schristos## ----------- ##
1455*946379e7Schristos## Core tests. ##
1456*946379e7Schristos## ----------- ##
1457*946379e7Schristos
1458*946379e7Schristos_ACEOF
1459*946379e7Schristos
1460*946379e7Schristos
1461*946379e7Schristos# Keep a trace of the command line.
1462*946379e7Schristos# Strip out --no-create and --no-recursion so they do not pile up.
1463*946379e7Schristos# Strip out --silent because we don't want to record it for future runs.
1464*946379e7Schristos# Also quote any args containing shell meta-characters.
1465*946379e7Schristos# Make two passes to allow for proper duplicate-argument suppression.
1466*946379e7Schristosac_configure_args=
1467*946379e7Schristosac_configure_args0=
1468*946379e7Schristosac_configure_args1=
1469*946379e7Schristosac_must_keep_next=false
1470*946379e7Schristosfor ac_pass in 1 2
1471*946379e7Schristosdo
1472*946379e7Schristos  for ac_arg
1473*946379e7Schristos  do
1474*946379e7Schristos    case $ac_arg in
1475*946379e7Schristos    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1476*946379e7Schristos    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1477*946379e7Schristos    | -silent | --silent | --silen | --sile | --sil)
1478*946379e7Schristos      continue ;;
1479*946379e7Schristos    *\'*)
1480*946379e7Schristos      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1481*946379e7Schristos    esac
1482*946379e7Schristos    case $ac_pass in
1483*946379e7Schristos    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1484*946379e7Schristos    2)
1485*946379e7Schristos      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1486*946379e7Schristos      if test $ac_must_keep_next = true; then
1487*946379e7Schristos	ac_must_keep_next=false # Got value, back to normal.
1488*946379e7Schristos      else
1489*946379e7Schristos	case $ac_arg in
1490*946379e7Schristos	  *=* | --config-cache | -C | -disable-* | --disable-* \
1491*946379e7Schristos	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1492*946379e7Schristos	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1493*946379e7Schristos	  | -with-* | --with-* | -without-* | --without-* | --x)
1494*946379e7Schristos	    case "$ac_configure_args0 " in
1495*946379e7Schristos	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1496*946379e7Schristos	    esac
1497*946379e7Schristos	    ;;
1498*946379e7Schristos	  -* ) ac_must_keep_next=true ;;
1499*946379e7Schristos	esac
1500*946379e7Schristos      fi
1501*946379e7Schristos      ac_configure_args="$ac_configure_args '$ac_arg'"
1502*946379e7Schristos      ;;
1503*946379e7Schristos    esac
1504*946379e7Schristos  done
1505*946379e7Schristosdone
1506*946379e7Schristos$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1507*946379e7Schristos$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1508*946379e7Schristos
1509*946379e7Schristos# When interrupted or exit'd, cleanup temporary files, and complete
1510*946379e7Schristos# config.log.  We remove comments because anyway the quotes in there
1511*946379e7Schristos# would cause problems or look ugly.
1512*946379e7Schristos# WARNING: Use '\'' to represent an apostrophe within the trap.
1513*946379e7Schristos# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1514*946379e7Schristostrap 'exit_status=$?
1515*946379e7Schristos  # Save into config.log some information that might help in debugging.
1516*946379e7Schristos  {
1517*946379e7Schristos    echo
1518*946379e7Schristos
1519*946379e7Schristos    cat <<\_ASBOX
1520*946379e7Schristos## ---------------- ##
1521*946379e7Schristos## Cache variables. ##
1522*946379e7Schristos## ---------------- ##
1523*946379e7Schristos_ASBOX
1524*946379e7Schristos    echo
1525*946379e7Schristos    # The following way of writing the cache mishandles newlines in values,
1526*946379e7Schristos(
1527*946379e7Schristos  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1528*946379e7Schristos    eval ac_val=\$$ac_var
1529*946379e7Schristos    case $ac_val in #(
1530*946379e7Schristos    *${as_nl}*)
1531*946379e7Schristos      case $ac_var in #(
1532*946379e7Schristos      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1533*946379e7Schristosecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1534*946379e7Schristos      esac
1535*946379e7Schristos      case $ac_var in #(
1536*946379e7Schristos      _ | IFS | as_nl) ;; #(
1537*946379e7Schristos      *) $as_unset $ac_var ;;
1538*946379e7Schristos      esac ;;
1539*946379e7Schristos    esac
1540*946379e7Schristos  done
1541*946379e7Schristos  (set) 2>&1 |
1542*946379e7Schristos    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1543*946379e7Schristos    *${as_nl}ac_space=\ *)
1544*946379e7Schristos      sed -n \
1545*946379e7Schristos	"s/'\''/'\''\\\\'\'''\''/g;
1546*946379e7Schristos	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1547*946379e7Schristos      ;; #(
1548*946379e7Schristos    *)
1549*946379e7Schristos      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1550*946379e7Schristos      ;;
1551*946379e7Schristos    esac |
1552*946379e7Schristos    sort
1553*946379e7Schristos)
1554*946379e7Schristos    echo
1555*946379e7Schristos
1556*946379e7Schristos    cat <<\_ASBOX
1557*946379e7Schristos## ----------------- ##
1558*946379e7Schristos## Output variables. ##
1559*946379e7Schristos## ----------------- ##
1560*946379e7Schristos_ASBOX
1561*946379e7Schristos    echo
1562*946379e7Schristos    for ac_var in $ac_subst_vars
1563*946379e7Schristos    do
1564*946379e7Schristos      eval ac_val=\$$ac_var
1565*946379e7Schristos      case $ac_val in
1566*946379e7Schristos      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1567*946379e7Schristos      esac
1568*946379e7Schristos      echo "$ac_var='\''$ac_val'\''"
1569*946379e7Schristos    done | sort
1570*946379e7Schristos    echo
1571*946379e7Schristos
1572*946379e7Schristos    if test -n "$ac_subst_files"; then
1573*946379e7Schristos      cat <<\_ASBOX
1574*946379e7Schristos## ------------------- ##
1575*946379e7Schristos## File substitutions. ##
1576*946379e7Schristos## ------------------- ##
1577*946379e7Schristos_ASBOX
1578*946379e7Schristos      echo
1579*946379e7Schristos      for ac_var in $ac_subst_files
1580*946379e7Schristos      do
1581*946379e7Schristos	eval ac_val=\$$ac_var
1582*946379e7Schristos	case $ac_val in
1583*946379e7Schristos	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1584*946379e7Schristos	esac
1585*946379e7Schristos	echo "$ac_var='\''$ac_val'\''"
1586*946379e7Schristos      done | sort
1587*946379e7Schristos      echo
1588*946379e7Schristos    fi
1589*946379e7Schristos
1590*946379e7Schristos    if test -s confdefs.h; then
1591*946379e7Schristos      cat <<\_ASBOX
1592*946379e7Schristos## ----------- ##
1593*946379e7Schristos## confdefs.h. ##
1594*946379e7Schristos## ----------- ##
1595*946379e7Schristos_ASBOX
1596*946379e7Schristos      echo
1597*946379e7Schristos      cat confdefs.h
1598*946379e7Schristos      echo
1599*946379e7Schristos    fi
1600*946379e7Schristos    test "$ac_signal" != 0 &&
1601*946379e7Schristos      echo "$as_me: caught signal $ac_signal"
1602*946379e7Schristos    echo "$as_me: exit $exit_status"
1603*946379e7Schristos  } >&5
1604*946379e7Schristos  rm -f core *.core core.conftest.* &&
1605*946379e7Schristos    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1606*946379e7Schristos    exit $exit_status
1607*946379e7Schristos' 0
1608*946379e7Schristosfor ac_signal in 1 2 13 15; do
1609*946379e7Schristos  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1610*946379e7Schristosdone
1611*946379e7Schristosac_signal=0
1612*946379e7Schristos
1613*946379e7Schristos# confdefs.h avoids OS command line length limits that DEFS can exceed.
1614*946379e7Schristosrm -f -r conftest* confdefs.h
1615*946379e7Schristos
1616*946379e7Schristos# Predefined preprocessor variables.
1617*946379e7Schristos
1618*946379e7Schristoscat >>confdefs.h <<_ACEOF
1619*946379e7Schristos#define PACKAGE_NAME "$PACKAGE_NAME"
1620*946379e7Schristos_ACEOF
1621*946379e7Schristos
1622*946379e7Schristos
1623*946379e7Schristoscat >>confdefs.h <<_ACEOF
1624*946379e7Schristos#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1625*946379e7Schristos_ACEOF
1626*946379e7Schristos
1627*946379e7Schristos
1628*946379e7Schristoscat >>confdefs.h <<_ACEOF
1629*946379e7Schristos#define PACKAGE_VERSION "$PACKAGE_VERSION"
1630*946379e7Schristos_ACEOF
1631*946379e7Schristos
1632*946379e7Schristos
1633*946379e7Schristoscat >>confdefs.h <<_ACEOF
1634*946379e7Schristos#define PACKAGE_STRING "$PACKAGE_STRING"
1635*946379e7Schristos_ACEOF
1636*946379e7Schristos
1637*946379e7Schristos
1638*946379e7Schristoscat >>confdefs.h <<_ACEOF
1639*946379e7Schristos#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1640*946379e7Schristos_ACEOF
1641*946379e7Schristos
1642*946379e7Schristos
1643*946379e7Schristos# Let the site file select an alternate cache file if it wants to.
1644*946379e7Schristos# Prefer explicitly selected file to automatically selected ones.
1645*946379e7Schristosif test -n "$CONFIG_SITE"; then
1646*946379e7Schristos  set x "$CONFIG_SITE"
1647*946379e7Schristoselif test "x$prefix" != xNONE; then
1648*946379e7Schristos  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1649*946379e7Schristoselse
1650*946379e7Schristos  set x "$ac_default_prefix/share/config.site" \
1651*946379e7Schristos	"$ac_default_prefix/etc/config.site"
1652*946379e7Schristosfi
1653*946379e7Schristosshift
1654*946379e7Schristosfor ac_site_file
1655*946379e7Schristosdo
1656*946379e7Schristos  if test -r "$ac_site_file"; then
1657*946379e7Schristos    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1658*946379e7Schristosecho "$as_me: loading site script $ac_site_file" >&6;}
1659*946379e7Schristos    sed 's/^/| /' "$ac_site_file" >&5
1660*946379e7Schristos    . "$ac_site_file"
1661*946379e7Schristos  fi
1662*946379e7Schristosdone
1663*946379e7Schristos
1664*946379e7Schristosif test -r "$cache_file"; then
1665*946379e7Schristos  # Some versions of bash will fail to source /dev/null (special
1666*946379e7Schristos  # files actually), so we avoid doing that.
1667*946379e7Schristos  if test -f "$cache_file"; then
1668*946379e7Schristos    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1669*946379e7Schristosecho "$as_me: loading cache $cache_file" >&6;}
1670*946379e7Schristos    case $cache_file in
1671*946379e7Schristos      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1672*946379e7Schristos      *)                      . "./$cache_file";;
1673*946379e7Schristos    esac
1674*946379e7Schristos  fi
1675*946379e7Schristoselse
1676*946379e7Schristos  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1677*946379e7Schristosecho "$as_me: creating cache $cache_file" >&6;}
1678*946379e7Schristos  >$cache_file
1679*946379e7Schristosfi
1680*946379e7Schristos
1681*946379e7Schristos# Check that the precious variables saved in the cache have kept the same
1682*946379e7Schristos# value.
1683*946379e7Schristosac_cache_corrupted=false
1684*946379e7Schristosfor ac_var in $ac_precious_vars; do
1685*946379e7Schristos  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1686*946379e7Schristos  eval ac_new_set=\$ac_env_${ac_var}_set
1687*946379e7Schristos  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1688*946379e7Schristos  eval ac_new_val=\$ac_env_${ac_var}_value
1689*946379e7Schristos  case $ac_old_set,$ac_new_set in
1690*946379e7Schristos    set,)
1691*946379e7Schristos      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1692*946379e7Schristosecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1693*946379e7Schristos      ac_cache_corrupted=: ;;
1694*946379e7Schristos    ,set)
1695*946379e7Schristos      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1696*946379e7Schristosecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1697*946379e7Schristos      ac_cache_corrupted=: ;;
1698*946379e7Schristos    ,);;
1699*946379e7Schristos    *)
1700*946379e7Schristos      if test "x$ac_old_val" != "x$ac_new_val"; then
1701*946379e7Schristos	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1702*946379e7Schristosecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1703*946379e7Schristos	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1704*946379e7Schristosecho "$as_me:   former value:  $ac_old_val" >&2;}
1705*946379e7Schristos	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1706*946379e7Schristosecho "$as_me:   current value: $ac_new_val" >&2;}
1707*946379e7Schristos	ac_cache_corrupted=:
1708*946379e7Schristos      fi;;
1709*946379e7Schristos  esac
1710*946379e7Schristos  # Pass precious variables to config.status.
1711*946379e7Schristos  if test "$ac_new_set" = set; then
1712*946379e7Schristos    case $ac_new_val in
1713*946379e7Schristos    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1714*946379e7Schristos    *) ac_arg=$ac_var=$ac_new_val ;;
1715*946379e7Schristos    esac
1716*946379e7Schristos    case " $ac_configure_args " in
1717*946379e7Schristos      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1718*946379e7Schristos      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1719*946379e7Schristos    esac
1720*946379e7Schristos  fi
1721*946379e7Schristosdone
1722*946379e7Schristosif $ac_cache_corrupted; then
1723*946379e7Schristos  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1724*946379e7Schristosecho "$as_me: error: changes in the environment can compromise the build" >&2;}
1725*946379e7Schristos  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1726*946379e7Schristosecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1727*946379e7Schristos   { (exit 1); exit 1; }; }
1728*946379e7Schristosfi
1729*946379e7Schristos
1730*946379e7Schristos
1731*946379e7Schristos
1732*946379e7Schristos
1733*946379e7Schristos
1734*946379e7Schristos
1735*946379e7Schristos
1736*946379e7Schristos
1737*946379e7Schristos
1738*946379e7Schristos
1739*946379e7Schristos
1740*946379e7Schristos
1741*946379e7Schristos
1742*946379e7Schristos
1743*946379e7Schristos
1744*946379e7Schristos
1745*946379e7Schristos
1746*946379e7Schristosac_ext=c
1747*946379e7Schristosac_cpp='$CPP $CPPFLAGS'
1748*946379e7Schristosac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1749*946379e7Schristosac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1750*946379e7Schristosac_compiler_gnu=$ac_cv_c_compiler_gnu
1751*946379e7Schristos
1752*946379e7Schristos
1753*946379e7Schristos
1754*946379e7Schristosac_aux_dir=
1755*946379e7Schristosfor ac_dir in build-aux "$srcdir"/build-aux; do
1756*946379e7Schristos  if test -f "$ac_dir/install-sh"; then
1757*946379e7Schristos    ac_aux_dir=$ac_dir
1758*946379e7Schristos    ac_install_sh="$ac_aux_dir/install-sh -c"
1759*946379e7Schristos    break
1760*946379e7Schristos  elif test -f "$ac_dir/install.sh"; then
1761*946379e7Schristos    ac_aux_dir=$ac_dir
1762*946379e7Schristos    ac_install_sh="$ac_aux_dir/install.sh -c"
1763*946379e7Schristos    break
1764*946379e7Schristos  elif test -f "$ac_dir/shtool"; then
1765*946379e7Schristos    ac_aux_dir=$ac_dir
1766*946379e7Schristos    ac_install_sh="$ac_aux_dir/shtool install -c"
1767*946379e7Schristos    break
1768*946379e7Schristos  fi
1769*946379e7Schristosdone
1770*946379e7Schristosif test -z "$ac_aux_dir"; then
1771*946379e7Schristos  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1772*946379e7Schristosecho "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1773*946379e7Schristos   { (exit 1); exit 1; }; }
1774*946379e7Schristosfi
1775*946379e7Schristos
1776*946379e7Schristos# These three variables are undocumented and unsupported,
1777*946379e7Schristos# and are intended to be withdrawn in a future Autoconf release.
1778*946379e7Schristos# They can cause serious problems if a builder's source tree is in a directory
1779*946379e7Schristos# whose full name contains unusual characters.
1780*946379e7Schristosac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1781*946379e7Schristosac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1782*946379e7Schristosac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1783*946379e7Schristos
1784*946379e7Schristos
1785*946379e7Schristos. $srcdir/version.sh
1786*946379e7Schristosam__api_version='1.10'
1787*946379e7Schristos
1788*946379e7Schristos# Find a good install program.  We prefer a C program (faster),
1789*946379e7Schristos# so one script is as good as another.  But avoid the broken or
1790*946379e7Schristos# incompatible versions:
1791*946379e7Schristos# SysV /etc/install, /usr/sbin/install
1792*946379e7Schristos# SunOS /usr/etc/install
1793*946379e7Schristos# IRIX /sbin/install
1794*946379e7Schristos# AIX /bin/install
1795*946379e7Schristos# AmigaOS /C/install, which installs bootblocks on floppy discs
1796*946379e7Schristos# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1797*946379e7Schristos# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1798*946379e7Schristos# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1799*946379e7Schristos# OS/2's system install, which has a completely different semantic
1800*946379e7Schristos# ./install, which can be erroneously created by make from ./install.sh.
1801*946379e7Schristos{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1802*946379e7Schristosecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1803*946379e7Schristosif test -z "$INSTALL"; then
1804*946379e7Schristosif test "${ac_cv_path_install+set}" = set; then
1805*946379e7Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
1806*946379e7Schristoselse
1807*946379e7Schristos  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808*946379e7Schristosfor as_dir in $PATH
1809*946379e7Schristosdo
1810*946379e7Schristos  IFS=$as_save_IFS
1811*946379e7Schristos  test -z "$as_dir" && as_dir=.
1812*946379e7Schristos  # Account for people who put trailing slashes in PATH elements.
1813*946379e7Schristoscase $as_dir/ in
1814*946379e7Schristos  ./ | .// | /cC/* | \
1815*946379e7Schristos  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1816*946379e7Schristos  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1817*946379e7Schristos  /usr/ucb/* ) ;;
1818*946379e7Schristos  *)
1819*946379e7Schristos    # OSF1 and SCO ODT 3.0 have their own names for install.
1820*946379e7Schristos    # Don't use installbsd from OSF since it installs stuff as root
1821*946379e7Schristos    # by default.
1822*946379e7Schristos    for ac_prog in ginstall scoinst install; do
1823*946379e7Schristos      for ac_exec_ext in '' $ac_executable_extensions; do
1824*946379e7Schristos	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1825*946379e7Schristos	  if test $ac_prog = install &&
1826*946379e7Schristos	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1827*946379e7Schristos	    # AIX install.  It has an incompatible calling convention.
1828*946379e7Schristos	    :
1829*946379e7Schristos	  elif test $ac_prog = install &&
1830*946379e7Schristos	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1831*946379e7Schristos	    # program-specific install script used by HP pwplus--don't use.
1832*946379e7Schristos	    :
1833*946379e7Schristos	  else
1834*946379e7Schristos	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1835*946379e7Schristos	    break 3
1836*946379e7Schristos	  fi
1837*946379e7Schristos	fi
1838*946379e7Schristos      done
1839*946379e7Schristos    done
1840*946379e7Schristos    ;;
1841*946379e7Schristosesac
1842*946379e7Schristosdone
1843*946379e7SchristosIFS=$as_save_IFS
1844*946379e7Schristos
1845*946379e7Schristos
1846*946379e7Schristosfi
1847*946379e7Schristos  if test "${ac_cv_path_install+set}" = set; then
1848*946379e7Schristos    INSTALL=$ac_cv_path_install
1849*946379e7Schristos  else
1850*946379e7Schristos    # As a last resort, use the slow shell script.  Don't cache a
1851*946379e7Schristos    # value for INSTALL within a source directory, because that will
1852*946379e7Schristos    # break other packages using the cache if that directory is
1853*946379e7Schristos    # removed, or if the value is a relative name.
1854*946379e7Schristos    INSTALL=$ac_install_sh
1855*946379e7Schristos  fi
1856*946379e7Schristosfi
1857*946379e7Schristos{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1858*946379e7Schristosecho "${ECHO_T}$INSTALL" >&6; }
1859*946379e7Schristos
1860*946379e7Schristos# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861*946379e7Schristos# It thinks the first close brace ends the variable substitution.
1862*946379e7Schristostest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1863*946379e7Schristos
1864*946379e7Schristostest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1865*946379e7Schristos
1866*946379e7Schristostest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1867*946379e7Schristos
1868*946379e7Schristos{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869*946379e7Schristosecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1870*946379e7Schristos# Just in case
1871*946379e7Schristossleep 1
1872*946379e7Schristosecho timestamp > conftest.file
1873*946379e7Schristos# Do `set' in a subshell so we don't clobber the current shell's
1874*946379e7Schristos# arguments.  Must try -L first in case configure is actually a
1875*946379e7Schristos# symlink; some systems play weird games with the mod time of symlinks
1876*946379e7Schristos# (eg FreeBSD returns the mod time of the symlink's containing
1877*946379e7Schristos# directory).
1878*946379e7Schristosif (
1879*946379e7Schristos   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880*946379e7Schristos   if test "$*" = "X"; then
1881*946379e7Schristos      # -L didn't work.
1882*946379e7Schristos      set X `ls -t $srcdir/configure conftest.file`
1883*946379e7Schristos   fi
1884*946379e7Schristos   rm -f conftest.file
1885*946379e7Schristos   if test "$*" != "X $srcdir/configure conftest.file" \
1886*946379e7Schristos      && test "$*" != "X conftest.file $srcdir/configure"; then
1887*946379e7Schristos
1888*946379e7Schristos      # If neither matched, then we have a broken ls.  This can happen
1889*946379e7Schristos      # if, for instance, CONFIG_SHELL is bash and it inherits a
1890*946379e7Schristos      # broken ls alias from the environment.  This has actually
1891*946379e7Schristos      # happened.  Such a system could not be considered "sane".
1892*946379e7Schristos      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1893*946379e7Schristosalias in your environment" >&5
1894*946379e7Schristosecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1895*946379e7Schristosalias in your environment" >&2;}
1896*946379e7Schristos   { (exit 1); exit 1; }; }
1897*946379e7Schristos   fi
1898*946379e7Schristos
1899*946379e7Schristos   test "$2" = conftest.file
1900*946379e7Schristos   )
1901*946379e7Schristosthen
1902*946379e7Schristos   # Ok.
1903*946379e7Schristos   :
1904*946379e7Schristoselse
1905*946379e7Schristos   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906*946379e7SchristosCheck your system clock" >&5
1907*946379e7Schristosecho "$as_me: error: newly created file is older than distributed files!
1908*946379e7SchristosCheck your system clock" >&2;}
1909*946379e7Schristos   { (exit 1); exit 1; }; }
1910*946379e7Schristosfi
1911*946379e7Schristos{ echo "$as_me:$LINENO: result: yes" >&5
1912*946379e7Schristosecho "${ECHO_T}yes" >&6; }
1913*946379e7Schristostest "$program_prefix" != NONE &&
1914*946379e7Schristos  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1915*946379e7Schristos# Use a double $ so make ignores it.
1916*946379e7Schristostest "$program_suffix" != NONE &&
1917*946379e7Schristos  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1918*946379e7Schristos# Double any \ or $.  echo might interpret backslashes.
1919*946379e7Schristos# By default was `s,x,x', remove it if useless.
1920*946379e7Schristoscat <<\_ACEOF >conftest.sed
1921*946379e7Schristoss/[\\$]/&&/g;s/;s,x,x,$//
1922*946379e7Schristos_ACEOF
1923*946379e7Schristosprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1924*946379e7Schristosrm -f conftest.sed
1925*946379e7Schristos
1926*946379e7Schristos# expand $ac_aux_dir to an absolute path
1927*946379e7Schristosam_aux_dir=`cd $ac_aux_dir && pwd`
1928*946379e7Schristos
1929*946379e7Schristostest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1930*946379e7Schristos# Use eval to expand $SHELL
1931*946379e7Schristosif eval "$MISSING --run true"; then
1932*946379e7Schristos  am_missing_run="$MISSING --run "
1933*946379e7Schristoselse
1934*946379e7Schristos  am_missing_run=
1935*946379e7Schristos  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1936*946379e7Schristosecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1937*946379e7Schristosfi
1938*946379e7Schristos
1939*946379e7Schristos{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1940*946379e7Schristosecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1941*946379e7Schristosif test -z "$MKDIR_P"; then
1942*946379e7Schristos  if test "${ac_cv_path_mkdir+set}" = set; then
1943*946379e7Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
1944*946379e7Schristoselse
1945*946379e7Schristos  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946*946379e7Schristosfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1947*946379e7Schristosdo
1948*946379e7Schristos  IFS=$as_save_IFS
1949*946379e7Schristos  test -z "$as_dir" && as_dir=.
1950*946379e7Schristos  for ac_prog in mkdir gmkdir; do
1951*946379e7Schristos	 for ac_exec_ext in '' $ac_executable_extensions; do
1952*946379e7Schristos	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1953*946379e7Schristos	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1954*946379e7Schristos	     'mkdir (GNU coreutils) '* | \
1955*946379e7Schristos	     'mkdir (coreutils) '* | \
1956*946379e7Schristos	     'mkdir (fileutils) '4.1*)
1957*946379e7Schristos	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1958*946379e7Schristos	       break 3;;
1959*946379e7Schristos	   esac
1960*946379e7Schristos	 done
1961*946379e7Schristos       done
1962*946379e7Schristosdone
1963*946379e7SchristosIFS=$as_save_IFS
1964*946379e7Schristos
1965*946379e7Schristosfi
1966*946379e7Schristos
1967*946379e7Schristos  if test "${ac_cv_path_mkdir+set}" = set; then
1968*946379e7Schristos    MKDIR_P="$ac_cv_path_mkdir -p"
1969*946379e7Schristos  else
1970*946379e7Schristos    # As a last resort, use the slow shell script.  Don't cache a
1971*946379e7Schristos    # value for MKDIR_P within a source directory, because that will
1972*946379e7Schristos    # break other packages using the cache if that directory is
1973*946379e7Schristos    # removed, or if the value is a relative name.
1974*946379e7Schristos    test -d ./--version && rmdir ./--version
1975*946379e7Schristos    MKDIR_P="$ac_install_sh -d"
1976*946379e7Schristos  fi
1977*946379e7Schristosfi
1978*946379e7Schristos{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1979*946379e7Schristosecho "${ECHO_T}$MKDIR_P" >&6; }
1980*946379e7Schristos
1981*946379e7Schristosmkdir_p="$MKDIR_P"
1982*946379e7Schristoscase $mkdir_p in
1983*946379e7Schristos  [\\/$]* | ?:[\\/]*) ;;
1984*946379e7Schristos  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1985*946379e7Schristosesac
1986*946379e7Schristos
1987*946379e7Schristosfor ac_prog in gawk mawk nawk awk
1988*946379e7Schristosdo
1989*946379e7Schristos  # Extract the first word of "$ac_prog", so it can be a program name with args.
1990*946379e7Schristosset dummy $ac_prog; ac_word=$2
1991*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1992*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1993*946379e7Schristosif test "${ac_cv_prog_AWK+set}" = set; then
1994*946379e7Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
1995*946379e7Schristoselse
1996*946379e7Schristos  if test -n "$AWK"; then
1997*946379e7Schristos  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1998*946379e7Schristoselse
1999*946379e7Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000*946379e7Schristosfor as_dir in $PATH
2001*946379e7Schristosdo
2002*946379e7Schristos  IFS=$as_save_IFS
2003*946379e7Schristos  test -z "$as_dir" && as_dir=.
2004*946379e7Schristos  for ac_exec_ext in '' $ac_executable_extensions; do
2005*946379e7Schristos  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2006*946379e7Schristos    ac_cv_prog_AWK="$ac_prog"
2007*946379e7Schristos    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2008*946379e7Schristos    break 2
2009*946379e7Schristos  fi
2010*946379e7Schristosdone
2011*946379e7Schristosdone
2012*946379e7SchristosIFS=$as_save_IFS
2013*946379e7Schristos
2014*946379e7Schristosfi
2015*946379e7Schristosfi
2016*946379e7SchristosAWK=$ac_cv_prog_AWK
2017*946379e7Schristosif test -n "$AWK"; then
2018*946379e7Schristos  { echo "$as_me:$LINENO: result: $AWK" >&5
2019*946379e7Schristosecho "${ECHO_T}$AWK" >&6; }
2020*946379e7Schristoselse
2021*946379e7Schristos  { echo "$as_me:$LINENO: result: no" >&5
2022*946379e7Schristosecho "${ECHO_T}no" >&6; }
2023*946379e7Schristosfi
2024*946379e7Schristos
2025*946379e7Schristos
2026*946379e7Schristos  test -n "$AWK" && break
2027*946379e7Schristosdone
2028*946379e7Schristos
2029*946379e7Schristos{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2030*946379e7Schristosecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2031*946379e7Schristosset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032*946379e7Schristosif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033*946379e7Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
2034*946379e7Schristoselse
2035*946379e7Schristos  cat >conftest.make <<\_ACEOF
2036*946379e7SchristosSHELL = /bin/sh
2037*946379e7Schristosall:
2038*946379e7Schristos	@echo '@@@%%%=$(MAKE)=@@@%%%'
2039*946379e7Schristos_ACEOF
2040*946379e7Schristos# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041*946379e7Schristoscase `${MAKE-make} -f conftest.make 2>/dev/null` in
2042*946379e7Schristos  *@@@%%%=?*=@@@%%%*)
2043*946379e7Schristos    eval ac_cv_prog_make_${ac_make}_set=yes;;
2044*946379e7Schristos  *)
2045*946379e7Schristos    eval ac_cv_prog_make_${ac_make}_set=no;;
2046*946379e7Schristosesac
2047*946379e7Schristosrm -f conftest.make
2048*946379e7Schristosfi
2049*946379e7Schristosif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2050*946379e7Schristos  { echo "$as_me:$LINENO: result: yes" >&5
2051*946379e7Schristosecho "${ECHO_T}yes" >&6; }
2052*946379e7Schristos  SET_MAKE=
2053*946379e7Schristoselse
2054*946379e7Schristos  { echo "$as_me:$LINENO: result: no" >&5
2055*946379e7Schristosecho "${ECHO_T}no" >&6; }
2056*946379e7Schristos  SET_MAKE="MAKE=${MAKE-make}"
2057*946379e7Schristosfi
2058*946379e7Schristos
2059*946379e7Schristosrm -rf .tst 2>/dev/null
2060*946379e7Schristosmkdir .tst 2>/dev/null
2061*946379e7Schristosif test -d .tst; then
2062*946379e7Schristos  am__leading_dot=.
2063*946379e7Schristoselse
2064*946379e7Schristos  am__leading_dot=_
2065*946379e7Schristosfi
2066*946379e7Schristosrmdir .tst 2>/dev/null
2067*946379e7Schristos
2068*946379e7Schristosif test "`cd $srcdir && pwd`" != "`pwd`"; then
2069*946379e7Schristos  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2070*946379e7Schristos  # is not polluted with repeated "-I."
2071*946379e7Schristos  am__isrc=' -I$(srcdir)'
2072*946379e7Schristos  # test to see if srcdir already configured
2073*946379e7Schristos  if test -f $srcdir/config.status; then
2074*946379e7Schristos    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2075*946379e7Schristosecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2076*946379e7Schristos   { (exit 1); exit 1; }; }
2077*946379e7Schristos  fi
2078*946379e7Schristosfi
2079*946379e7Schristos
2080*946379e7Schristos# test whether we have cygpath
2081*946379e7Schristosif test -z "$CYGPATH_W"; then
2082*946379e7Schristos  if (cygpath --version) >/dev/null 2>/dev/null; then
2083*946379e7Schristos    CYGPATH_W='cygpath -w'
2084*946379e7Schristos  else
2085*946379e7Schristos    CYGPATH_W=echo
2086*946379e7Schristos  fi
2087*946379e7Schristosfi
2088*946379e7Schristos
2089*946379e7Schristos
2090*946379e7Schristos# Define the identity of the package.
2091*946379e7Schristos PACKAGE=gettext
2092*946379e7Schristos VERSION=$VERSION_NUMBER
2093*946379e7Schristos
2094*946379e7Schristos
2095*946379e7Schristoscat >>confdefs.h <<_ACEOF
2096*946379e7Schristos#define PACKAGE "$PACKAGE"
2097*946379e7Schristos_ACEOF
2098*946379e7Schristos
2099*946379e7Schristos
2100*946379e7Schristoscat >>confdefs.h <<_ACEOF
2101*946379e7Schristos#define VERSION "$VERSION"
2102*946379e7Schristos_ACEOF
2103*946379e7Schristos
2104*946379e7Schristos# Some tools Automake needs.
2105*946379e7Schristos
2106*946379e7SchristosACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2107*946379e7Schristos
2108*946379e7Schristos
2109*946379e7SchristosAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2110*946379e7Schristos
2111*946379e7Schristos
2112*946379e7SchristosAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2113*946379e7Schristos
2114*946379e7Schristos
2115*946379e7SchristosAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2116*946379e7Schristos
2117*946379e7Schristos
2118*946379e7SchristosMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2119*946379e7Schristos
2120*946379e7Schristosinstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2121*946379e7Schristos
2122*946379e7Schristos# Installed binaries are usually stripped using `strip' when the user
2123*946379e7Schristos# run `make install-strip'.  However `strip' might not be the right
2124*946379e7Schristos# tool to use in cross-compilation environments, therefore Automake
2125*946379e7Schristos# will honor the `STRIP' environment variable to overrule this program.
2126*946379e7Schristosif test "$cross_compiling" != no; then
2127*946379e7Schristos  if test -n "$ac_tool_prefix"; then
2128*946379e7Schristos  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2129*946379e7Schristosset dummy ${ac_tool_prefix}strip; ac_word=$2
2130*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2131*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132*946379e7Schristosif test "${ac_cv_prog_STRIP+set}" = set; then
2133*946379e7Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
2134*946379e7Schristoselse
2135*946379e7Schristos  if test -n "$STRIP"; then
2136*946379e7Schristos  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2137*946379e7Schristoselse
2138*946379e7Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139*946379e7Schristosfor as_dir in $PATH
2140*946379e7Schristosdo
2141*946379e7Schristos  IFS=$as_save_IFS
2142*946379e7Schristos  test -z "$as_dir" && as_dir=.
2143*946379e7Schristos  for ac_exec_ext in '' $ac_executable_extensions; do
2144*946379e7Schristos  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145*946379e7Schristos    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2146*946379e7Schristos    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147*946379e7Schristos    break 2
2148*946379e7Schristos  fi
2149*946379e7Schristosdone
2150*946379e7Schristosdone
2151*946379e7SchristosIFS=$as_save_IFS
2152*946379e7Schristos
2153*946379e7Schristosfi
2154*946379e7Schristosfi
2155*946379e7SchristosSTRIP=$ac_cv_prog_STRIP
2156*946379e7Schristosif test -n "$STRIP"; then
2157*946379e7Schristos  { echo "$as_me:$LINENO: result: $STRIP" >&5
2158*946379e7Schristosecho "${ECHO_T}$STRIP" >&6; }
2159*946379e7Schristoselse
2160*946379e7Schristos  { echo "$as_me:$LINENO: result: no" >&5
2161*946379e7Schristosecho "${ECHO_T}no" >&6; }
2162*946379e7Schristosfi
2163*946379e7Schristos
2164*946379e7Schristos
2165*946379e7Schristosfi
2166*946379e7Schristosif test -z "$ac_cv_prog_STRIP"; then
2167*946379e7Schristos  ac_ct_STRIP=$STRIP
2168*946379e7Schristos  # Extract the first word of "strip", so it can be a program name with args.
2169*946379e7Schristosset dummy strip; ac_word=$2
2170*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2171*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172*946379e7Schristosif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2173*946379e7Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
2174*946379e7Schristoselse
2175*946379e7Schristos  if test -n "$ac_ct_STRIP"; then
2176*946379e7Schristos  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2177*946379e7Schristoselse
2178*946379e7Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179*946379e7Schristosfor as_dir in $PATH
2180*946379e7Schristosdo
2181*946379e7Schristos  IFS=$as_save_IFS
2182*946379e7Schristos  test -z "$as_dir" && as_dir=.
2183*946379e7Schristos  for ac_exec_ext in '' $ac_executable_extensions; do
2184*946379e7Schristos  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185*946379e7Schristos    ac_cv_prog_ac_ct_STRIP="strip"
2186*946379e7Schristos    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187*946379e7Schristos    break 2
2188*946379e7Schristos  fi
2189*946379e7Schristosdone
2190*946379e7Schristosdone
2191*946379e7SchristosIFS=$as_save_IFS
2192*946379e7Schristos
2193*946379e7Schristosfi
2194*946379e7Schristosfi
2195*946379e7Schristosac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2196*946379e7Schristosif test -n "$ac_ct_STRIP"; then
2197*946379e7Schristos  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2198*946379e7Schristosecho "${ECHO_T}$ac_ct_STRIP" >&6; }
2199*946379e7Schristoselse
2200*946379e7Schristos  { echo "$as_me:$LINENO: result: no" >&5
2201*946379e7Schristosecho "${ECHO_T}no" >&6; }
2202*946379e7Schristosfi
2203*946379e7Schristos
2204*946379e7Schristos  if test "x$ac_ct_STRIP" = x; then
2205*946379e7Schristos    STRIP=":"
2206*946379e7Schristos  else
2207*946379e7Schristos    case $cross_compiling:$ac_tool_warned in
2208*946379e7Schristosyes:)
2209*946379e7Schristos{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2210*946379e7Schristoswhose name does not start with the host triplet.  If you think this
2211*946379e7Schristosconfiguration is useful to you, please write to autoconf@gnu.org." >&5
2212*946379e7Schristosecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2213*946379e7Schristoswhose name does not start with the host triplet.  If you think this
2214*946379e7Schristosconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
2215*946379e7Schristosac_tool_warned=yes ;;
2216*946379e7Schristosesac
2217*946379e7Schristos    STRIP=$ac_ct_STRIP
2218*946379e7Schristos  fi
2219*946379e7Schristoselse
2220*946379e7Schristos  STRIP="$ac_cv_prog_STRIP"
2221*946379e7Schristosfi
2222*946379e7Schristos
2223*946379e7Schristosfi
2224*946379e7SchristosINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2225*946379e7Schristos
2226*946379e7Schristos# We need awk for the "check" target.  The system "awk" is bad on
2227*946379e7Schristos# some platforms.
2228*946379e7Schristos# Always define AMTAR for backward compatibility.
2229*946379e7Schristos
2230*946379e7SchristosAMTAR=${AMTAR-"${am_missing_run}tar"}
2231*946379e7Schristos
2232*946379e7Schristosam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2233*946379e7Schristos
2234*946379e7Schristos
2235*946379e7Schristos
2236*946379e7Schristos
2237*946379e7Schristos
2238*946379e7Schristos
2239*946379e7Schristos
2240*946379e7Schristos
2241*946379e7Schristos
2242*946379e7Schristos
2243*946379e7Schristos
2244*946379e7Schristossubdirs="$subdirs autoconf-lib-link gettext-runtime gettext-tools"
2245*946379e7Schristos
2246*946379e7Schristos
2247*946379e7Schristos# Make sure we can run config.sub.
2248*946379e7Schristos$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2249*946379e7Schristos  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2250*946379e7Schristosecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2251*946379e7Schristos   { (exit 1); exit 1; }; }
2252*946379e7Schristos
2253*946379e7Schristos{ echo "$as_me:$LINENO: checking build system type" >&5
2254*946379e7Schristosecho $ECHO_N "checking build system type... $ECHO_C" >&6; }
2255*946379e7Schristosif test "${ac_cv_build+set}" = set; then
2256*946379e7Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
2257*946379e7Schristoselse
2258*946379e7Schristos  ac_build_alias=$build_alias
2259*946379e7Schristostest "x$ac_build_alias" = x &&
2260*946379e7Schristos  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2261*946379e7Schristostest "x$ac_build_alias" = x &&
2262*946379e7Schristos  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2263*946379e7Schristosecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
2264*946379e7Schristos   { (exit 1); exit 1; }; }
2265*946379e7Schristosac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2266*946379e7Schristos  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2267*946379e7Schristosecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2268*946379e7Schristos   { (exit 1); exit 1; }; }
2269*946379e7Schristos
2270*946379e7Schristosfi
2271*946379e7Schristos{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2272*946379e7Schristosecho "${ECHO_T}$ac_cv_build" >&6; }
2273*946379e7Schristoscase $ac_cv_build in
2274*946379e7Schristos*-*-*) ;;
2275*946379e7Schristos*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2276*946379e7Schristosecho "$as_me: error: invalid value of canonical build" >&2;}
2277*946379e7Schristos   { (exit 1); exit 1; }; };;
2278*946379e7Schristosesac
2279*946379e7Schristosbuild=$ac_cv_build
2280*946379e7Schristosac_save_IFS=$IFS; IFS='-'
2281*946379e7Schristosset x $ac_cv_build
2282*946379e7Schristosshift
2283*946379e7Schristosbuild_cpu=$1
2284*946379e7Schristosbuild_vendor=$2
2285*946379e7Schristosshift; shift
2286*946379e7Schristos# Remember, the first character of IFS is used to create $*,
2287*946379e7Schristos# except with old shells:
2288*946379e7Schristosbuild_os=$*
2289*946379e7SchristosIFS=$ac_save_IFS
2290*946379e7Schristoscase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2291*946379e7Schristos
2292*946379e7Schristos
2293*946379e7Schristos{ echo "$as_me:$LINENO: checking host system type" >&5
2294*946379e7Schristosecho $ECHO_N "checking host system type... $ECHO_C" >&6; }
2295*946379e7Schristosif test "${ac_cv_host+set}" = set; then
2296*946379e7Schristos  echo $ECHO_N "(cached) $ECHO_C" >&6
2297*946379e7Schristoselse
2298*946379e7Schristos  if test "x$host_alias" = x; then
2299*946379e7Schristos  ac_cv_host=$ac_cv_build
2300*946379e7Schristoselse
2301*946379e7Schristos  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2302*946379e7Schristos    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2303*946379e7Schristosecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2304*946379e7Schristos   { (exit 1); exit 1; }; }
2305*946379e7Schristosfi
2306*946379e7Schristos
2307*946379e7Schristosfi
2308*946379e7Schristos{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2309*946379e7Schristosecho "${ECHO_T}$ac_cv_host" >&6; }
2310*946379e7Schristoscase $ac_cv_host in
2311*946379e7Schristos*-*-*) ;;
2312*946379e7Schristos*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2313*946379e7Schristosecho "$as_me: error: invalid value of canonical host" >&2;}
2314*946379e7Schristos   { (exit 1); exit 1; }; };;
2315*946379e7Schristosesac
2316*946379e7Schristoshost=$ac_cv_host
2317*946379e7Schristosac_save_IFS=$IFS; IFS='-'
2318*946379e7Schristosset x $ac_cv_host
2319*946379e7Schristosshift
2320*946379e7Schristoshost_cpu=$1
2321*946379e7Schristoshost_vendor=$2
2322*946379e7Schristosshift; shift
2323*946379e7Schristos# Remember, the first character of IFS is used to create $*,
2324*946379e7Schristos# except with old shells:
2325*946379e7Schristoshost_os=$*
2326*946379e7SchristosIFS=$ac_save_IFS
2327*946379e7Schristoscase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2328*946379e7Schristos
2329*946379e7Schristos
2330*946379e7Schristos
2331*946379e7Schristos
2332*946379e7Schristos
2333*946379e7Schristos
2334*946379e7Schristos
2335*946379e7Schristos# Check whether --enable-dependency-tracking was given.
2336*946379e7Schristosif test "${enable_dependency_tracking+set}" = set; then
2337*946379e7Schristos  enableval=$enable_dependency_tracking;
2338*946379e7Schristosfi
2339*946379e7Schristos
2340*946379e7Schristos# Check whether --enable-shared was given.
2341*946379e7Schristosif test "${enable_shared+set}" = set; then
2342*946379e7Schristos  enableval=$enable_shared;
2343*946379e7Schristosfi
2344*946379e7Schristos
2345*946379e7Schristos# Check whether --enable-static was given.
2346*946379e7Schristosif test "${enable_static+set}" = set; then
2347*946379e7Schristos  enableval=$enable_static;
2348*946379e7Schristosfi
2349*946379e7Schristos
2350*946379e7Schristos# Check whether --enable-fast-install was given.
2351*946379e7Schristosif test "${enable_fast_install+set}" = set; then
2352*946379e7Schristos  enableval=$enable_fast_install;
2353*946379e7Schristosfi
2354*946379e7Schristos
2355*946379e7Schristos
2356*946379e7Schristos# Check whether --with-gnu-ld was given.
2357*946379e7Schristosif test "${with_gnu_ld+set}" = set; then
2358*946379e7Schristos  withval=$with_gnu_ld;
2359*946379e7Schristosfi
2360*946379e7Schristos
2361*946379e7Schristos# Check whether --enable-libtool-lock was given.
2362*946379e7Schristosif test "${enable_libtool_lock+set}" = set; then
2363*946379e7Schristos  enableval=$enable_libtool_lock;
2364*946379e7Schristosfi
2365*946379e7Schristos
2366*946379e7Schristos
2367*946379e7Schristos# Check whether --with-pic was given.
2368*946379e7Schristosif test "${with_pic+set}" = set; then
2369*946379e7Schristos  withval=$with_pic;
2370*946379e7Schristosfi
2371*946379e7Schristos
2372*946379e7Schristos# Check whether --enable-libtool-lock was given.
2373*946379e7Schristosif test "${enable_libtool_lock+set}" = set; then
2374*946379e7Schristos  enableval=$enable_libtool_lock;
2375*946379e7Schristosfi
2376*946379e7Schristos
2377*946379e7Schristos
2378*946379e7Schristos
2379*946379e7Schristos
2380*946379e7Schristos# Check whether --with-tags was given.
2381*946379e7Schristosif test "${with_tags+set}" = set; then
2382*946379e7Schristos  withval=$with_tags;
2383*946379e7Schristosfi
2384*946379e7Schristos
2385*946379e7Schristos
2386*946379e7Schristos
2387*946379e7Schristos
2388*946379e7Schristos
2389*946379e7Schristos
2390*946379e7Schristos
2391*946379e7Schristos
2392*946379e7Schristos
2393*946379e7Schristos# Check whether --with-gnu-ld was given.
2394*946379e7Schristosif test "${with_gnu_ld+set}" = set; then
2395*946379e7Schristos  withval=$with_gnu_ld;
2396*946379e7Schristosfi
2397*946379e7Schristos
2398*946379e7Schristos
2399*946379e7Schristos
2400*946379e7Schristos
2401*946379e7Schristos
2402*946379e7Schristos
2403*946379e7Schristos
2404*946379e7Schristos
2405*946379e7Schristos
2406*946379e7Schristos
2407*946379e7Schristos# Check whether --enable-dependency-tracking was given.
2408*946379e7Schristosif test "${enable_dependency_tracking+set}" = set; then
2409*946379e7Schristos  enableval=$enable_dependency_tracking;
2410*946379e7Schristosfi
2411*946379e7Schristos
2412*946379e7Schristos
2413*946379e7Schristos
2414*946379e7Schristos# Check whether --enable-java was given.
2415*946379e7Schristosif test "${enable_java+set}" = set; then
2416*946379e7Schristos  enableval=$enable_java;
2417*946379e7Schristosfi
2418*946379e7Schristos
2419*946379e7Schristos# Check whether --enable-native-java was given.
2420*946379e7Schristosif test "${enable_native_java+set}" = set; then
2421*946379e7Schristos  enableval=$enable_native_java;
2422*946379e7Schristosfi
2423*946379e7Schristos
2424*946379e7Schristos
2425*946379e7Schristos
2426*946379e7Schristos# Check whether --enable-csharp was given.
2427*946379e7Schristosif test "${enable_csharp+set}" = set; then
2428*946379e7Schristos  enableval=$enable_csharp;
2429*946379e7Schristosfi
2430*946379e7Schristos
2431*946379e7Schristos# Check whether --enable-shared was given.
2432*946379e7Schristosif test "${enable_shared+set}" = set; then
2433*946379e7Schristos  enableval=$enable_shared;
2434*946379e7Schristosfi
2435*946379e7Schristos
2436*946379e7Schristos# Check whether --enable-static was given.
2437*946379e7Schristosif test "${enable_static+set}" = set; then
2438*946379e7Schristos  enableval=$enable_static;
2439*946379e7Schristosfi
2440*946379e7Schristos
2441*946379e7Schristos# Check whether --enable-fast-install was given.
2442*946379e7Schristosif test "${enable_fast_install+set}" = set; then
2443*946379e7Schristos  enableval=$enable_fast_install;
2444*946379e7Schristosfi
2445*946379e7Schristos
2446*946379e7Schristos
2447*946379e7Schristos# Check whether --with-gnu-ld was given.
2448*946379e7Schristosif test "${with_gnu_ld+set}" = set; then
2449*946379e7Schristos  withval=$with_gnu_ld;
2450*946379e7Schristosfi
2451*946379e7Schristos
2452*946379e7Schristos# Check whether --enable-libtool-lock was given.
2453*946379e7Schristosif test "${enable_libtool_lock+set}" = set; then
2454*946379e7Schristos  enableval=$enable_libtool_lock;
2455*946379e7Schristosfi
2456*946379e7Schristos
2457*946379e7Schristos
2458*946379e7Schristos# Check whether --with-pic was given.
2459*946379e7Schristosif test "${with_pic+set}" = set; then
2460*946379e7Schristos  withval=$with_pic;
2461*946379e7Schristosfi
2462*946379e7Schristos
2463*946379e7Schristos# Check whether --enable-libtool-lock was given.
2464*946379e7Schristosif test "${enable_libtool_lock+set}" = set; then
2465*946379e7Schristos  enableval=$enable_libtool_lock;
2466*946379e7Schristosfi
2467*946379e7Schristos
2468*946379e7Schristos
2469*946379e7Schristos# Check whether --with-tags was given.
2470*946379e7Schristosif test "${with_tags+set}" = set; then
2471*946379e7Schristos  withval=$with_tags;
2472*946379e7Schristosfi
2473*946379e7Schristos
2474*946379e7Schristos
2475*946379e7Schristos
2476*946379e7Schristos
2477*946379e7Schristos
2478*946379e7Schristos
2479*946379e7Schristos
2480*946379e7Schristos
2481*946379e7Schristos
2482*946379e7Schristos# Check whether --with-gnu-ld was given.
2483*946379e7Schristosif test "${with_gnu_ld+set}" = set; then
2484*946379e7Schristos  withval=$with_gnu_ld;
2485*946379e7Schristosfi
2486*946379e7Schristos
2487*946379e7Schristos
2488*946379e7Schristos
2489*946379e7Schristos
2490*946379e7Schristos
2491*946379e7Schristos# Check whether --enable-nls was given.
2492*946379e7Schristosif test "${enable_nls+set}" = set; then
2493*946379e7Schristos  enableval=$enable_nls;
2494*946379e7Schristosfi
2495*946379e7Schristos
2496*946379e7Schristos# Check whether --enable-threads was given.
2497*946379e7Schristosif test "${enable_threads+set}" = set; then
2498*946379e7Schristos  enableval=$enable_threads;
2499*946379e7Schristosfi
2500*946379e7Schristos
2501*946379e7Schristos
2502*946379e7Schristos# Check whether --with-gnu-ld was given.
2503*946379e7Schristosif test "${with_gnu_ld+set}" = set; then
2504*946379e7Schristos  withval=$with_gnu_ld;
2505*946379e7Schristosfi
2506*946379e7Schristos
2507*946379e7Schristos# Check whether --enable-rpath was given.
2508*946379e7Schristosif test "${enable_rpath+set}" = set; then
2509*946379e7Schristos  enableval=$enable_rpath;
2510*946379e7Schristosfi
2511*946379e7Schristos
2512*946379e7Schristos
2513*946379e7Schristos# Check whether --with-libpth-prefix was given.
2514*946379e7Schristosif test "${with_libpth_prefix+set}" = set; then
2515*946379e7Schristos  withval=$with_libpth_prefix;
2516*946379e7Schristosfi
2517*946379e7Schristos
2518*946379e7Schristos
2519*946379e7Schristos# Check whether --with-libiconv-prefix was given.
2520*946379e7Schristosif test "${with_libiconv_prefix+set}" = set; then
2521*946379e7Schristos  withval=$with_libiconv_prefix;
2522*946379e7Schristosfi
2523*946379e7Schristos
2524*946379e7Schristos
2525*946379e7Schristos# Check whether --with-included-gettext was given.
2526*946379e7Schristosif test "${with_included_gettext+set}" = set; then
2527*946379e7Schristos  withval=$with_included_gettext;
2528*946379e7Schristosfi
2529*946379e7Schristos
2530*946379e7Schristos
2531*946379e7Schristos# Check whether --with-libintl-prefix was given.
2532*946379e7Schristosif test "${with_libintl_prefix+set}" = set; then
2533*946379e7Schristos  withval=$with_libintl_prefix;
2534*946379e7Schristosfi
2535*946379e7Schristos
2536*946379e7Schristos# Check whether --enable-java was given.
2537*946379e7Schristosif test "${enable_java+set}" = set; then
2538*946379e7Schristos  enableval=$enable_java;
2539*946379e7Schristosfi
2540*946379e7Schristos
2541*946379e7Schristos# Check whether --enable-native-java was given.
2542*946379e7Schristosif test "${enable_native_java+set}" = set; then
2543*946379e7Schristos  enableval=$enable_native_java;
2544*946379e7Schristosfi
2545*946379e7Schristos
2546*946379e7Schristos# Check whether --enable-relocatable was given.
2547*946379e7Schristosif test "${enable_relocatable+set}" = set; then
2548*946379e7Schristos  enableval=$enable_relocatable;
2549*946379e7Schristosfi
2550*946379e7Schristos
2551*946379e7Schristos
2552*946379e7Schristos
2553*946379e7Schristos# Check whether --enable-libasprintf was given.
2554*946379e7Schristosif test "${enable_libasprintf+set}" = set; then
2555*946379e7Schristos  enableval=$enable_libasprintf;
2556*946379e7Schristosfi
2557*946379e7Schristos
2558*946379e7Schristos
2559*946379e7Schristos
2560*946379e7Schristos
2561*946379e7Schristos
2562*946379e7Schristos
2563*946379e7Schristos# Check whether --enable-dependency-tracking was given.
2564*946379e7Schristosif test "${enable_dependency_tracking+set}" = set; then
2565*946379e7Schristos  enableval=$enable_dependency_tracking;
2566*946379e7Schristosfi
2567*946379e7Schristos
2568*946379e7Schristos
2569*946379e7Schristos
2570*946379e7Schristos# Check whether --enable-java was given.
2571*946379e7Schristosif test "${enable_java+set}" = set; then
2572*946379e7Schristos  enableval=$enable_java;
2573*946379e7Schristosfi
2574*946379e7Schristos
2575*946379e7Schristos# Check whether --enable-native-java was given.
2576*946379e7Schristosif test "${enable_native_java+set}" = set; then
2577*946379e7Schristos  enableval=$enable_native_java;
2578*946379e7Schristosfi
2579*946379e7Schristos
2580*946379e7Schristos
2581*946379e7Schristos
2582*946379e7Schristos
2583*946379e7Schristos
2584*946379e7Schristos# Check whether --enable-csharp was given.
2585*946379e7Schristosif test "${enable_csharp+set}" = set; then
2586*946379e7Schristos  enableval=$enable_csharp;
2587*946379e7Schristosfi
2588*946379e7Schristos
2589*946379e7Schristos# Check whether --enable-threads was given.
2590*946379e7Schristosif test "${enable_threads+set}" = set; then
2591*946379e7Schristos  enableval=$enable_threads;
2592*946379e7Schristosfi
2593*946379e7Schristos
2594*946379e7Schristos# Check whether --enable-shared was given.
2595*946379e7Schristosif test "${enable_shared+set}" = set; then
2596*946379e7Schristos  enableval=$enable_shared;
2597*946379e7Schristosfi
2598*946379e7Schristos
2599*946379e7Schristos# Check whether --enable-static was given.
2600*946379e7Schristosif test "${enable_static+set}" = set; then
2601*946379e7Schristos  enableval=$enable_static;
2602*946379e7Schristosfi
2603*946379e7Schristos
2604*946379e7Schristos# Check whether --enable-fast-install was given.
2605*946379e7Schristosif test "${enable_fast_install+set}" = set; then
2606*946379e7Schristos  enableval=$enable_fast_install;
2607*946379e7Schristosfi
2608*946379e7Schristos
2609*946379e7Schristos
2610*946379e7Schristos# Check whether --with-gnu-ld was given.
2611*946379e7Schristosif test "${with_gnu_ld+set}" = set; then
2612*946379e7Schristos  withval=$with_gnu_ld;
2613*946379e7Schristosfi
2614*946379e7Schristos
2615*946379e7Schristos# Check whether --enable-libtool-lock was given.
2616*946379e7Schristosif test "${enable_libtool_lock+set}" = set; then
2617*946379e7Schristos  enableval=$enable_libtool_lock;
2618*946379e7Schristosfi
2619*946379e7Schristos
2620*946379e7Schristos
2621*946379e7Schristos# Check whether --with-pic was given.
2622*946379e7Schristosif test "${with_pic+set}" = set; then
2623*946379e7Schristos  withval=$with_pic;
2624*946379e7Schristosfi
2625*946379e7Schristos
2626*946379e7Schristos# Check whether --enable-libtool-lock was given.
2627*946379e7Schristosif test "${enable_libtool_lock+set}" = set; then
2628*946379e7Schristos  enableval=$enable_libtool_lock;
2629*946379e7Schristosfi
2630*946379e7Schristos
2631*946379e7Schristos
2632*946379e7Schristos# Check whether --with-tags was given.
2633*946379e7Schristosif test "${with_tags+set}" = set; then
2634*946379e7Schristos  withval=$with_tags;
2635*946379e7Schristosfi
2636*946379e7Schristos
2637*946379e7Schristos
2638*946379e7Schristos
2639*946379e7Schristos
2640*946379e7Schristos
2641*946379e7Schristos
2642*946379e7Schristos
2643*946379e7Schristos
2644*946379e7Schristos
2645*946379e7Schristos# Check whether --with-gnu-ld was given.
2646*946379e7Schristosif test "${with_gnu_ld+set}" = set; then
2647*946379e7Schristos  withval=$with_gnu_ld;
2648*946379e7Schristosfi
2649*946379e7Schristos
2650*946379e7Schristos
2651*946379e7Schristos
2652*946379e7Schristos
2653*946379e7Schristos
2654*946379e7Schristos# Check whether --enable-nls was given.
2655*946379e7Schristosif test "${enable_nls+set}" = set; then
2656*946379e7Schristos  enableval=$enable_nls;
2657*946379e7Schristosfi
2658*946379e7Schristos
2659*946379e7Schristos
2660*946379e7Schristos# Check whether --with-gnu-ld was given.
2661*946379e7Schristosif test "${with_gnu_ld+set}" = set; then
2662*946379e7Schristos  withval=$with_gnu_ld;
2663*946379e7Schristosfi
2664*946379e7Schristos
2665*946379e7Schristos# Check whether --enable-rpath was given.
2666*946379e7Schristosif test "${enable_rpath+set}" = set; then
2667*946379e7Schristos  enableval=$enable_rpath;
2668*946379e7Schristosfi
2669*946379e7Schristos
2670*946379e7Schristos
2671*946379e7Schristos# Check whether --with-libpth-prefix was given.
2672*946379e7Schristosif test "${with_libpth_prefix+set}" = set; then
2673*946379e7Schristos  withval=$with_libpth_prefix;
2674*946379e7Schristosfi
2675*946379e7Schristos
2676*946379e7Schristos
2677*946379e7Schristos# Check whether --with-libiconv-prefix was given.
2678*946379e7Schristosif test "${with_libiconv_prefix+set}" = set; then
2679*946379e7Schristos  withval=$with_libiconv_prefix;
2680*946379e7Schristosfi
2681*946379e7Schristos
2682*946379e7Schristos
2683*946379e7Schristos# Check whether --with-included-gettext was given.
2684*946379e7Schristosif test "${with_included_gettext+set}" = set; then
2685*946379e7Schristos  withval=$with_included_gettext;
2686*946379e7Schristosfi
2687*946379e7Schristos
2688*946379e7Schristos
2689*946379e7Schristos# Check whether --with-libintl-prefix was given.
2690*946379e7Schristosif test "${with_libintl_prefix+set}" = set; then
2691*946379e7Schristos  withval=$with_libintl_prefix;
2692*946379e7Schristosfi
2693*946379e7Schristos
2694*946379e7Schristos# Check whether --enable-openmp was given.
2695*946379e7Schristosif test "${enable_openmp+set}" = set; then
2696*946379e7Schristos  enableval=$enable_openmp;
2697*946379e7Schristosfi
2698*946379e7Schristos
2699*946379e7Schristos
2700*946379e7Schristos
2701*946379e7Schristos# Check whether --enable-java was given.
2702*946379e7Schristosif test "${enable_java+set}" = set; then
2703*946379e7Schristos  enableval=$enable_java;
2704*946379e7Schristosfi
2705*946379e7Schristos
2706*946379e7Schristos# Check whether --enable-native-java was given.
2707*946379e7Schristosif test "${enable_native_java+set}" = set; then
2708*946379e7Schristos  enableval=$enable_native_java;
2709*946379e7Schristosfi
2710*946379e7Schristos
2711*946379e7Schristos# Check whether --enable-relocatable was given.
2712*946379e7Schristosif test "${enable_relocatable+set}" = set; then
2713*946379e7Schristos  enableval=$enable_relocatable;
2714*946379e7Schristosfi
2715*946379e7Schristos
2716*946379e7Schristos
2717*946379e7Schristos# Check whether --with-included-regex was given.
2718*946379e7Schristosif test "${with_included_regex+set}" = set; then
2719*946379e7Schristos  withval=$with_included_regex;
2720*946379e7Schristosfi
2721*946379e7Schristos
2722*946379e7Schristos
2723*946379e7Schristos# Check whether --with-libexpat-prefix was given.
2724*946379e7Schristosif test "${with_libexpat_prefix+set}" = set; then
2725*946379e7Schristos  withval=$with_libexpat_prefix;
2726*946379e7Schristosfi
2727*946379e7Schristos
2728*946379e7Schristos
2729*946379e7Schristos
2730*946379e7Schristos
2731*946379e7Schristos# Check whether --with-lispdir was given.
2732*946379e7Schristosif test "${with_lispdir+set}" = set; then
2733*946379e7Schristos  withval=$with_lispdir;
2734*946379e7Schristosfi
2735*946379e7Schristos
2736*946379e7Schristos
2737*946379e7Schristos# Check whether --with-emacs was given.
2738*946379e7Schristosif test "${with_emacs+set}" = set; then
2739*946379e7Schristos  withval=$with_emacs;
2740*946379e7Schristosfi
2741*946379e7Schristos
2742*946379e7Schristos
2743*946379e7Schristos
2744*946379e7Schristos
2745*946379e7Schristos
2746*946379e7Schristosac_config_files="$ac_config_files Makefile"
2747*946379e7Schristos
2748*946379e7Schristos
2749*946379e7Schristosac_config_files="$ac_config_files gnulib-local/Makefile"
2750*946379e7Schristos
2751*946379e7Schristos
2752*946379e7Schristoscat >confcache <<\_ACEOF
2753*946379e7Schristos# This file is a shell script that caches the results of configure
2754*946379e7Schristos# tests run on this system so they can be shared between configure
2755*946379e7Schristos# scripts and configure runs, see configure's option --config-cache.
2756*946379e7Schristos# It is not useful on other systems.  If it contains results you don't
2757*946379e7Schristos# want to keep, you may remove or edit it.
2758*946379e7Schristos#
2759*946379e7Schristos# config.status only pays attention to the cache file if you give it
2760*946379e7Schristos# the --recheck option to rerun configure.
2761*946379e7Schristos#
2762*946379e7Schristos# `ac_cv_env_foo' variables (set or unset) will be overridden when
2763*946379e7Schristos# loading this file, other *unset* `ac_cv_foo' will be assigned the
2764*946379e7Schristos# following values.
2765*946379e7Schristos
2766*946379e7Schristos_ACEOF
2767*946379e7Schristos
2768*946379e7Schristos# The following way of writing the cache mishandles newlines in values,
2769*946379e7Schristos# but we know of no workaround that is simple, portable, and efficient.
2770*946379e7Schristos# So, we kill variables containing newlines.
2771*946379e7Schristos# Ultrix sh set writes to stderr and can't be redirected directly,
2772*946379e7Schristos# and sets the high bit in the cache file unless we assign to the vars.
2773*946379e7Schristos(
2774*946379e7Schristos  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2775*946379e7Schristos    eval ac_val=\$$ac_var
2776*946379e7Schristos    case $ac_val in #(
2777*946379e7Schristos    *${as_nl}*)
2778*946379e7Schristos      case $ac_var in #(
2779*946379e7Schristos      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2780*946379e7Schristosecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2781*946379e7Schristos      esac
2782*946379e7Schristos      case $ac_var in #(
2783*946379e7Schristos      _ | IFS | as_nl) ;; #(
2784*946379e7Schristos      *) $as_unset $ac_var ;;
2785*946379e7Schristos      esac ;;
2786*946379e7Schristos    esac
2787*946379e7Schristos  done
2788*946379e7Schristos
2789*946379e7Schristos  (set) 2>&1 |
2790*946379e7Schristos    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2791*946379e7Schristos    *${as_nl}ac_space=\ *)
2792*946379e7Schristos      # `set' does not quote correctly, so add quotes (double-quote
2793*946379e7Schristos      # substitution turns \\\\ into \\, and sed turns \\ into \).
2794*946379e7Schristos      sed -n \
2795*946379e7Schristos	"s/'/'\\\\''/g;
2796*946379e7Schristos	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2797*946379e7Schristos      ;; #(
2798*946379e7Schristos    *)
2799*946379e7Schristos      # `set' quotes correctly as required by POSIX, so do not add quotes.
2800*946379e7Schristos      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2801*946379e7Schristos      ;;
2802*946379e7Schristos    esac |
2803*946379e7Schristos    sort
2804*946379e7Schristos) |
2805*946379e7Schristos  sed '
2806*946379e7Schristos     /^ac_cv_env_/b end
2807*946379e7Schristos     t clear
2808*946379e7Schristos     :clear
2809*946379e7Schristos     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2810*946379e7Schristos     t end
2811*946379e7Schristos     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2812*946379e7Schristos     :end' >>confcache
2813*946379e7Schristosif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2814*946379e7Schristos  if test -w "$cache_file"; then
2815*946379e7Schristos    test "x$cache_file" != "x/dev/null" &&
2816*946379e7Schristos      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2817*946379e7Schristosecho "$as_me: updating cache $cache_file" >&6;}
2818*946379e7Schristos    cat confcache >$cache_file
2819*946379e7Schristos  else
2820*946379e7Schristos    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2821*946379e7Schristosecho "$as_me: not updating unwritable cache $cache_file" >&6;}
2822*946379e7Schristos  fi
2823*946379e7Schristosfi
2824*946379e7Schristosrm -f confcache
2825*946379e7Schristos
2826*946379e7Schristostest "x$prefix" = xNONE && prefix=$ac_default_prefix
2827*946379e7Schristos# Let make expand exec_prefix.
2828*946379e7Schristostest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2829*946379e7Schristos
2830*946379e7Schristos# Transform confdefs.h into DEFS.
2831*946379e7Schristos# Protect against shell expansion while executing Makefile rules.
2832*946379e7Schristos# Protect against Makefile macro expansion.
2833*946379e7Schristos#
2834*946379e7Schristos# If the first sed substitution is executed (which looks for macros that
2835*946379e7Schristos# take arguments), then branch to the quote section.  Otherwise,
2836*946379e7Schristos# look for a macro that doesn't take arguments.
2837*946379e7Schristosac_script='
2838*946379e7Schristost clear
2839*946379e7Schristos:clear
2840*946379e7Schristoss/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2841*946379e7Schristost quote
2842*946379e7Schristoss/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2843*946379e7Schristost quote
2844*946379e7Schristosb any
2845*946379e7Schristos:quote
2846*946379e7Schristoss/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2847*946379e7Schristoss/\[/\\&/g
2848*946379e7Schristoss/\]/\\&/g
2849*946379e7Schristoss/\$/$$/g
2850*946379e7SchristosH
2851*946379e7Schristos:any
2852*946379e7Schristos${
2853*946379e7Schristos	g
2854*946379e7Schristos	s/^\n//
2855*946379e7Schristos	s/\n/ /g
2856*946379e7Schristos	p
2857*946379e7Schristos}
2858*946379e7Schristos'
2859*946379e7SchristosDEFS=`sed -n "$ac_script" confdefs.h`
2860*946379e7Schristos
2861*946379e7Schristos
2862*946379e7Schristosac_libobjs=
2863*946379e7Schristosac_ltlibobjs=
2864*946379e7Schristosfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2865*946379e7Schristos  # 1. Remove the extension, and $U if already installed.
2866*946379e7Schristos  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2867*946379e7Schristos  ac_i=`echo "$ac_i" | sed "$ac_script"`
2868*946379e7Schristos  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2869*946379e7Schristos  #    will be set to the directory where LIBOBJS objects are built.
2870*946379e7Schristos  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2871*946379e7Schristos  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2872*946379e7Schristosdone
2873*946379e7SchristosLIBOBJS=$ac_libobjs
2874*946379e7Schristos
2875*946379e7SchristosLTLIBOBJS=$ac_ltlibobjs
2876*946379e7Schristos
2877*946379e7Schristos
2878*946379e7Schristos
2879*946379e7Schristos: ${CONFIG_STATUS=./config.status}
2880*946379e7Schristosac_clean_files_save=$ac_clean_files
2881*946379e7Schristosac_clean_files="$ac_clean_files $CONFIG_STATUS"
2882*946379e7Schristos{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2883*946379e7Schristosecho "$as_me: creating $CONFIG_STATUS" >&6;}
2884*946379e7Schristoscat >$CONFIG_STATUS <<_ACEOF
2885*946379e7Schristos#! $SHELL
2886*946379e7Schristos# Generated by $as_me.
2887*946379e7Schristos# Run this file to recreate the current configuration.
2888*946379e7Schristos# Compiler output produced by configure, useful for debugging
2889*946379e7Schristos# configure, is in config.log if it exists.
2890*946379e7Schristos
2891*946379e7Schristosdebug=false
2892*946379e7Schristosac_cs_recheck=false
2893*946379e7Schristosac_cs_silent=false
2894*946379e7SchristosSHELL=\${CONFIG_SHELL-$SHELL}
2895*946379e7Schristos_ACEOF
2896*946379e7Schristos
2897*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF
2898*946379e7Schristos## --------------------- ##
2899*946379e7Schristos## M4sh Initialization.  ##
2900*946379e7Schristos## --------------------- ##
2901*946379e7Schristos
2902*946379e7Schristos# Be more Bourne compatible
2903*946379e7SchristosDUALCASE=1; export DUALCASE # for MKS sh
2904*946379e7Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2905*946379e7Schristos  emulate sh
2906*946379e7Schristos  NULLCMD=:
2907*946379e7Schristos  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2908*946379e7Schristos  # is contrary to our usage.  Disable this feature.
2909*946379e7Schristos  alias -g '${1+"$@"}'='"$@"'
2910*946379e7Schristos  setopt NO_GLOB_SUBST
2911*946379e7Schristoselse
2912*946379e7Schristos  case `(set -o) 2>/dev/null` in
2913*946379e7Schristos  *posix*) set -o posix ;;
2914*946379e7Schristosesac
2915*946379e7Schristos
2916*946379e7Schristosfi
2917*946379e7Schristos
2918*946379e7Schristos
2919*946379e7Schristos
2920*946379e7Schristos
2921*946379e7Schristos# PATH needs CR
2922*946379e7Schristos# Avoid depending upon Character Ranges.
2923*946379e7Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz'
2924*946379e7Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2925*946379e7Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS
2926*946379e7Schristosas_cr_digits='0123456789'
2927*946379e7Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits
2928*946379e7Schristos
2929*946379e7Schristos# The user is always right.
2930*946379e7Schristosif test "${PATH_SEPARATOR+set}" != set; then
2931*946379e7Schristos  echo "#! /bin/sh" >conf$$.sh
2932*946379e7Schristos  echo  "exit 0"   >>conf$$.sh
2933*946379e7Schristos  chmod +x conf$$.sh
2934*946379e7Schristos  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2935*946379e7Schristos    PATH_SEPARATOR=';'
2936*946379e7Schristos  else
2937*946379e7Schristos    PATH_SEPARATOR=:
2938*946379e7Schristos  fi
2939*946379e7Schristos  rm -f conf$$.sh
2940*946379e7Schristosfi
2941*946379e7Schristos
2942*946379e7Schristos# Support unset when possible.
2943*946379e7Schristosif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2944*946379e7Schristos  as_unset=unset
2945*946379e7Schristoselse
2946*946379e7Schristos  as_unset=false
2947*946379e7Schristosfi
2948*946379e7Schristos
2949*946379e7Schristos
2950*946379e7Schristos# IFS
2951*946379e7Schristos# We need space, tab and new line, in precisely that order.  Quoting is
2952*946379e7Schristos# there to prevent editors from complaining about space-tab.
2953*946379e7Schristos# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2954*946379e7Schristos# splitting by setting IFS to empty value.)
2955*946379e7Schristosas_nl='
2956*946379e7Schristos'
2957*946379e7SchristosIFS=" ""	$as_nl"
2958*946379e7Schristos
2959*946379e7Schristos# Find who we are.  Look in the path if we contain no directory separator.
2960*946379e7Schristoscase $0 in
2961*946379e7Schristos  *[\\/]* ) as_myself=$0 ;;
2962*946379e7Schristos  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963*946379e7Schristosfor as_dir in $PATH
2964*946379e7Schristosdo
2965*946379e7Schristos  IFS=$as_save_IFS
2966*946379e7Schristos  test -z "$as_dir" && as_dir=.
2967*946379e7Schristos  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2968*946379e7Schristosdone
2969*946379e7SchristosIFS=$as_save_IFS
2970*946379e7Schristos
2971*946379e7Schristos     ;;
2972*946379e7Schristosesac
2973*946379e7Schristos# We did not find ourselves, most probably we were run as `sh COMMAND'
2974*946379e7Schristos# in which case we are not to be found in the path.
2975*946379e7Schristosif test "x$as_myself" = x; then
2976*946379e7Schristos  as_myself=$0
2977*946379e7Schristosfi
2978*946379e7Schristosif test ! -f "$as_myself"; then
2979*946379e7Schristos  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2980*946379e7Schristos  { (exit 1); exit 1; }
2981*946379e7Schristosfi
2982*946379e7Schristos
2983*946379e7Schristos# Work around bugs in pre-3.0 UWIN ksh.
2984*946379e7Schristosfor as_var in ENV MAIL MAILPATH
2985*946379e7Schristosdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2986*946379e7Schristosdone
2987*946379e7SchristosPS1='$ '
2988*946379e7SchristosPS2='> '
2989*946379e7SchristosPS4='+ '
2990*946379e7Schristos
2991*946379e7Schristos# NLS nuisances.
2992*946379e7Schristosfor as_var in \
2993*946379e7Schristos  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2994*946379e7Schristos  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2995*946379e7Schristos  LC_TELEPHONE LC_TIME
2996*946379e7Schristosdo
2997*946379e7Schristos  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2998*946379e7Schristos    eval $as_var=C; export $as_var
2999*946379e7Schristos  else
3000*946379e7Schristos    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3001*946379e7Schristos  fi
3002*946379e7Schristosdone
3003*946379e7Schristos
3004*946379e7Schristos# Required to use basename.
3005*946379e7Schristosif expr a : '\(a\)' >/dev/null 2>&1 &&
3006*946379e7Schristos   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3007*946379e7Schristos  as_expr=expr
3008*946379e7Schristoselse
3009*946379e7Schristos  as_expr=false
3010*946379e7Schristosfi
3011*946379e7Schristos
3012*946379e7Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3013*946379e7Schristos  as_basename=basename
3014*946379e7Schristoselse
3015*946379e7Schristos  as_basename=false
3016*946379e7Schristosfi
3017*946379e7Schristos
3018*946379e7Schristos
3019*946379e7Schristos# Name of the executable.
3020*946379e7Schristosas_me=`$as_basename -- "$0" ||
3021*946379e7Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3022*946379e7Schristos	 X"$0" : 'X\(//\)$' \| \
3023*946379e7Schristos	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3024*946379e7Schristosecho X/"$0" |
3025*946379e7Schristos    sed '/^.*\/\([^/][^/]*\)\/*$/{
3026*946379e7Schristos	    s//\1/
3027*946379e7Schristos	    q
3028*946379e7Schristos	  }
3029*946379e7Schristos	  /^X\/\(\/\/\)$/{
3030*946379e7Schristos	    s//\1/
3031*946379e7Schristos	    q
3032*946379e7Schristos	  }
3033*946379e7Schristos	  /^X\/\(\/\).*/{
3034*946379e7Schristos	    s//\1/
3035*946379e7Schristos	    q
3036*946379e7Schristos	  }
3037*946379e7Schristos	  s/.*/./; q'`
3038*946379e7Schristos
3039*946379e7Schristos# CDPATH.
3040*946379e7Schristos$as_unset CDPATH
3041*946379e7Schristos
3042*946379e7Schristos
3043*946379e7Schristos
3044*946379e7Schristos  as_lineno_1=$LINENO
3045*946379e7Schristos  as_lineno_2=$LINENO
3046*946379e7Schristos  test "x$as_lineno_1" != "x$as_lineno_2" &&
3047*946379e7Schristos  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3048*946379e7Schristos
3049*946379e7Schristos  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3050*946379e7Schristos  # uniformly replaced by the line number.  The first 'sed' inserts a
3051*946379e7Schristos  # line-number line after each line using $LINENO; the second 'sed'
3052*946379e7Schristos  # does the real work.  The second script uses 'N' to pair each
3053*946379e7Schristos  # line-number line with the line containing $LINENO, and appends
3054*946379e7Schristos  # trailing '-' during substitution so that $LINENO is not a special
3055*946379e7Schristos  # case at line end.
3056*946379e7Schristos  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3057*946379e7Schristos  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3058*946379e7Schristos  # E. McMahon (1931-1989) for sed's syntax.  :-)
3059*946379e7Schristos  sed -n '
3060*946379e7Schristos    p
3061*946379e7Schristos    /[$]LINENO/=
3062*946379e7Schristos  ' <$as_myself |
3063*946379e7Schristos    sed '
3064*946379e7Schristos      s/[$]LINENO.*/&-/
3065*946379e7Schristos      t lineno
3066*946379e7Schristos      b
3067*946379e7Schristos      :lineno
3068*946379e7Schristos      N
3069*946379e7Schristos      :loop
3070*946379e7Schristos      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3071*946379e7Schristos      t loop
3072*946379e7Schristos      s/-\n.*//
3073*946379e7Schristos    ' >$as_me.lineno &&
3074*946379e7Schristos  chmod +x "$as_me.lineno" ||
3075*946379e7Schristos    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3076*946379e7Schristos   { (exit 1); exit 1; }; }
3077*946379e7Schristos
3078*946379e7Schristos  # Don't try to exec as it changes $[0], causing all sort of problems
3079*946379e7Schristos  # (the dirname of $[0] is not the place where we might find the
3080*946379e7Schristos  # original and so on.  Autoconf is especially sensitive to this).
3081*946379e7Schristos  . "./$as_me.lineno"
3082*946379e7Schristos  # Exit status is that of the last command.
3083*946379e7Schristos  exit
3084*946379e7Schristos}
3085*946379e7Schristos
3086*946379e7Schristos
3087*946379e7Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3088*946379e7Schristos  as_dirname=dirname
3089*946379e7Schristoselse
3090*946379e7Schristos  as_dirname=false
3091*946379e7Schristosfi
3092*946379e7Schristos
3093*946379e7SchristosECHO_C= ECHO_N= ECHO_T=
3094*946379e7Schristoscase `echo -n x` in
3095*946379e7Schristos-n*)
3096*946379e7Schristos  case `echo 'x\c'` in
3097*946379e7Schristos  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3098*946379e7Schristos  *)   ECHO_C='\c';;
3099*946379e7Schristos  esac;;
3100*946379e7Schristos*)
3101*946379e7Schristos  ECHO_N='-n';;
3102*946379e7Schristosesac
3103*946379e7Schristos
3104*946379e7Schristosif expr a : '\(a\)' >/dev/null 2>&1 &&
3105*946379e7Schristos   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3106*946379e7Schristos  as_expr=expr
3107*946379e7Schristoselse
3108*946379e7Schristos  as_expr=false
3109*946379e7Schristosfi
3110*946379e7Schristos
3111*946379e7Schristosrm -f conf$$ conf$$.exe conf$$.file
3112*946379e7Schristosif test -d conf$$.dir; then
3113*946379e7Schristos  rm -f conf$$.dir/conf$$.file
3114*946379e7Schristoselse
3115*946379e7Schristos  rm -f conf$$.dir
3116*946379e7Schristos  mkdir conf$$.dir
3117*946379e7Schristosfi
3118*946379e7Schristosecho >conf$$.file
3119*946379e7Schristosif ln -s conf$$.file conf$$ 2>/dev/null; then
3120*946379e7Schristos  as_ln_s='ln -s'
3121*946379e7Schristos  # ... but there are two gotchas:
3122*946379e7Schristos  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3123*946379e7Schristos  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3124*946379e7Schristos  # In both cases, we have to default to `cp -p'.
3125*946379e7Schristos  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3126*946379e7Schristos    as_ln_s='cp -p'
3127*946379e7Schristoselif ln conf$$.file conf$$ 2>/dev/null; then
3128*946379e7Schristos  as_ln_s=ln
3129*946379e7Schristoselse
3130*946379e7Schristos  as_ln_s='cp -p'
3131*946379e7Schristosfi
3132*946379e7Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3133*946379e7Schristosrmdir conf$$.dir 2>/dev/null
3134*946379e7Schristos
3135*946379e7Schristosif mkdir -p . 2>/dev/null; then
3136*946379e7Schristos  as_mkdir_p=:
3137*946379e7Schristoselse
3138*946379e7Schristos  test -d ./-p && rmdir ./-p
3139*946379e7Schristos  as_mkdir_p=false
3140*946379e7Schristosfi
3141*946379e7Schristos
3142*946379e7Schristosif test -x / >/dev/null 2>&1; then
3143*946379e7Schristos  as_test_x='test -x'
3144*946379e7Schristoselse
3145*946379e7Schristos  if ls -dL / >/dev/null 2>&1; then
3146*946379e7Schristos    as_ls_L_option=L
3147*946379e7Schristos  else
3148*946379e7Schristos    as_ls_L_option=
3149*946379e7Schristos  fi
3150*946379e7Schristos  as_test_x='
3151*946379e7Schristos    eval sh -c '\''
3152*946379e7Schristos      if test -d "$1"; then
3153*946379e7Schristos        test -d "$1/.";
3154*946379e7Schristos      else
3155*946379e7Schristos	case $1 in
3156*946379e7Schristos        -*)set "./$1";;
3157*946379e7Schristos	esac;
3158*946379e7Schristos	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3159*946379e7Schristos	???[sx]*):;;*)false;;esac;fi
3160*946379e7Schristos    '\'' sh
3161*946379e7Schristos  '
3162*946379e7Schristosfi
3163*946379e7Schristosas_executable_p=$as_test_x
3164*946379e7Schristos
3165*946379e7Schristos# Sed expression to map a string onto a valid CPP name.
3166*946379e7Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3167*946379e7Schristos
3168*946379e7Schristos# Sed expression to map a string onto a valid variable name.
3169*946379e7Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3170*946379e7Schristos
3171*946379e7Schristos
3172*946379e7Schristosexec 6>&1
3173*946379e7Schristos
3174*946379e7Schristos# Save the log message, to keep $[0] and so on meaningful, and to
3175*946379e7Schristos# report actual input values of CONFIG_FILES etc. instead of their
3176*946379e7Schristos# values after options handling.
3177*946379e7Schristosac_log="
3178*946379e7SchristosThis file was extended by $as_me, which was
3179*946379e7Schristosgenerated by GNU Autoconf 2.61.  Invocation command line was
3180*946379e7Schristos
3181*946379e7Schristos  CONFIG_FILES    = $CONFIG_FILES
3182*946379e7Schristos  CONFIG_HEADERS  = $CONFIG_HEADERS
3183*946379e7Schristos  CONFIG_LINKS    = $CONFIG_LINKS
3184*946379e7Schristos  CONFIG_COMMANDS = $CONFIG_COMMANDS
3185*946379e7Schristos  $ $0 $@
3186*946379e7Schristos
3187*946379e7Schristoson `(hostname || uname -n) 2>/dev/null | sed 1q`
3188*946379e7Schristos"
3189*946379e7Schristos
3190*946379e7Schristos_ACEOF
3191*946379e7Schristos
3192*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF
3193*946379e7Schristos# Files that config.status was made for.
3194*946379e7Schristosconfig_files="$ac_config_files"
3195*946379e7Schristos
3196*946379e7Schristos_ACEOF
3197*946379e7Schristos
3198*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF
3199*946379e7Schristosac_cs_usage="\
3200*946379e7Schristos\`$as_me' instantiates files from templates according to the
3201*946379e7Schristoscurrent configuration.
3202*946379e7Schristos
3203*946379e7SchristosUsage: $0 [OPTIONS] [FILE]...
3204*946379e7Schristos
3205*946379e7Schristos  -h, --help       print this help, then exit
3206*946379e7Schristos  -V, --version    print version number and configuration settings, then exit
3207*946379e7Schristos  -q, --quiet      do not print progress messages
3208*946379e7Schristos  -d, --debug      don't remove temporary files
3209*946379e7Schristos      --recheck    update $as_me by reconfiguring in the same conditions
3210*946379e7Schristos  --file=FILE[:TEMPLATE]
3211*946379e7Schristos		   instantiate the configuration file FILE
3212*946379e7Schristos
3213*946379e7SchristosConfiguration files:
3214*946379e7Schristos$config_files
3215*946379e7Schristos
3216*946379e7SchristosReport bugs to <bug-autoconf@gnu.org>."
3217*946379e7Schristos
3218*946379e7Schristos_ACEOF
3219*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF
3220*946379e7Schristosac_cs_version="\\
3221*946379e7Schristosconfig.status
3222*946379e7Schristosconfigured by $0, generated by GNU Autoconf 2.61,
3223*946379e7Schristos  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3224*946379e7Schristos
3225*946379e7SchristosCopyright (C) 2006 Free Software Foundation, Inc.
3226*946379e7SchristosThis config.status script is free software; the Free Software Foundation
3227*946379e7Schristosgives unlimited permission to copy, distribute and modify it."
3228*946379e7Schristos
3229*946379e7Schristosac_pwd='$ac_pwd'
3230*946379e7Schristossrcdir='$srcdir'
3231*946379e7SchristosINSTALL='$INSTALL'
3232*946379e7SchristosMKDIR_P='$MKDIR_P'
3233*946379e7Schristos_ACEOF
3234*946379e7Schristos
3235*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF
3236*946379e7Schristos# If no file are specified by the user, then we need to provide default
3237*946379e7Schristos# value.  By we need to know if files were specified by the user.
3238*946379e7Schristosac_need_defaults=:
3239*946379e7Schristoswhile test $# != 0
3240*946379e7Schristosdo
3241*946379e7Schristos  case $1 in
3242*946379e7Schristos  --*=*)
3243*946379e7Schristos    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3244*946379e7Schristos    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3245*946379e7Schristos    ac_shift=:
3246*946379e7Schristos    ;;
3247*946379e7Schristos  *)
3248*946379e7Schristos    ac_option=$1
3249*946379e7Schristos    ac_optarg=$2
3250*946379e7Schristos    ac_shift=shift
3251*946379e7Schristos    ;;
3252*946379e7Schristos  esac
3253*946379e7Schristos
3254*946379e7Schristos  case $ac_option in
3255*946379e7Schristos  # Handling of the options.
3256*946379e7Schristos  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3257*946379e7Schristos    ac_cs_recheck=: ;;
3258*946379e7Schristos  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3259*946379e7Schristos    echo "$ac_cs_version"; exit ;;
3260*946379e7Schristos  --debug | --debu | --deb | --de | --d | -d )
3261*946379e7Schristos    debug=: ;;
3262*946379e7Schristos  --file | --fil | --fi | --f )
3263*946379e7Schristos    $ac_shift
3264*946379e7Schristos    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3265*946379e7Schristos    ac_need_defaults=false;;
3266*946379e7Schristos  --he | --h |  --help | --hel | -h )
3267*946379e7Schristos    echo "$ac_cs_usage"; exit ;;
3268*946379e7Schristos  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3269*946379e7Schristos  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3270*946379e7Schristos    ac_cs_silent=: ;;
3271*946379e7Schristos
3272*946379e7Schristos  # This is an error.
3273*946379e7Schristos  -*) { echo "$as_me: error: unrecognized option: $1
3274*946379e7SchristosTry \`$0 --help' for more information." >&2
3275*946379e7Schristos   { (exit 1); exit 1; }; } ;;
3276*946379e7Schristos
3277*946379e7Schristos  *) ac_config_targets="$ac_config_targets $1"
3278*946379e7Schristos     ac_need_defaults=false ;;
3279*946379e7Schristos
3280*946379e7Schristos  esac
3281*946379e7Schristos  shift
3282*946379e7Schristosdone
3283*946379e7Schristos
3284*946379e7Schristosac_configure_extra_args=
3285*946379e7Schristos
3286*946379e7Schristosif $ac_cs_silent; then
3287*946379e7Schristos  exec 6>/dev/null
3288*946379e7Schristos  ac_configure_extra_args="$ac_configure_extra_args --silent"
3289*946379e7Schristosfi
3290*946379e7Schristos
3291*946379e7Schristos_ACEOF
3292*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF
3293*946379e7Schristosif \$ac_cs_recheck; then
3294*946379e7Schristos  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3295*946379e7Schristos  CONFIG_SHELL=$SHELL
3296*946379e7Schristos  export CONFIG_SHELL
3297*946379e7Schristos  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3298*946379e7Schristosfi
3299*946379e7Schristos
3300*946379e7Schristos_ACEOF
3301*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF
3302*946379e7Schristosexec 5>>config.log
3303*946379e7Schristos{
3304*946379e7Schristos  echo
3305*946379e7Schristos  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3306*946379e7Schristos## Running $as_me. ##
3307*946379e7Schristos_ASBOX
3308*946379e7Schristos  echo "$ac_log"
3309*946379e7Schristos} >&5
3310*946379e7Schristos
3311*946379e7Schristos_ACEOF
3312*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF
3313*946379e7Schristos_ACEOF
3314*946379e7Schristos
3315*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF
3316*946379e7Schristos
3317*946379e7Schristos# Handling of arguments.
3318*946379e7Schristosfor ac_config_target in $ac_config_targets
3319*946379e7Schristosdo
3320*946379e7Schristos  case $ac_config_target in
3321*946379e7Schristos    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3322*946379e7Schristos    "gnulib-local/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib-local/Makefile" ;;
3323*946379e7Schristos
3324*946379e7Schristos  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3325*946379e7Schristosecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
3326*946379e7Schristos   { (exit 1); exit 1; }; };;
3327*946379e7Schristos  esac
3328*946379e7Schristosdone
3329*946379e7Schristos
3330*946379e7Schristos
3331*946379e7Schristos# If the user did not use the arguments to specify the items to instantiate,
3332*946379e7Schristos# then the envvar interface is used.  Set only those that are not.
3333*946379e7Schristos# We use the long form for the default assignment because of an extremely
3334*946379e7Schristos# bizarre bug on SunOS 4.1.3.
3335*946379e7Schristosif $ac_need_defaults; then
3336*946379e7Schristos  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3337*946379e7Schristosfi
3338*946379e7Schristos
3339*946379e7Schristos# Have a temporary directory for convenience.  Make it in the build tree
3340*946379e7Schristos# simply because there is no reason against having it here, and in addition,
3341*946379e7Schristos# creating and moving files from /tmp can sometimes cause problems.
3342*946379e7Schristos# Hook for its removal unless debugging.
3343*946379e7Schristos# Note that there is a small window in which the directory will not be cleaned:
3344*946379e7Schristos# after its creation but before its name has been assigned to `$tmp'.
3345*946379e7Schristos$debug ||
3346*946379e7Schristos{
3347*946379e7Schristos  tmp=
3348*946379e7Schristos  trap 'exit_status=$?
3349*946379e7Schristos  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3350*946379e7Schristos' 0
3351*946379e7Schristos  trap '{ (exit 1); exit 1; }' 1 2 13 15
3352*946379e7Schristos}
3353*946379e7Schristos# Create a (secure) tmp directory for tmp files.
3354*946379e7Schristos
3355*946379e7Schristos{
3356*946379e7Schristos  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3357*946379e7Schristos  test -n "$tmp" && test -d "$tmp"
3358*946379e7Schristos}  ||
3359*946379e7Schristos{
3360*946379e7Schristos  tmp=./conf$$-$RANDOM
3361*946379e7Schristos  (umask 077 && mkdir "$tmp")
3362*946379e7Schristos} ||
3363*946379e7Schristos{
3364*946379e7Schristos   echo "$me: cannot create a temporary directory in ." >&2
3365*946379e7Schristos   { (exit 1); exit 1; }
3366*946379e7Schristos}
3367*946379e7Schristos
3368*946379e7Schristos#
3369*946379e7Schristos# Set up the sed scripts for CONFIG_FILES section.
3370*946379e7Schristos#
3371*946379e7Schristos
3372*946379e7Schristos# No need to generate the scripts if there are no CONFIG_FILES.
3373*946379e7Schristos# This happens for instance when ./config.status config.h
3374*946379e7Schristosif test -n "$CONFIG_FILES"; then
3375*946379e7Schristos
3376*946379e7Schristos_ACEOF
3377*946379e7Schristos
3378*946379e7Schristos
3379*946379e7Schristos
3380*946379e7Schristosac_delim='%!_!# '
3381*946379e7Schristosfor ac_last_try in false false false false false :; do
3382*946379e7Schristos  cat >conf$$subs.sed <<_ACEOF
3383*946379e7SchristosSHELL!$SHELL$ac_delim
3384*946379e7SchristosPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3385*946379e7SchristosPACKAGE_NAME!$PACKAGE_NAME$ac_delim
3386*946379e7SchristosPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3387*946379e7SchristosPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3388*946379e7SchristosPACKAGE_STRING!$PACKAGE_STRING$ac_delim
3389*946379e7SchristosPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3390*946379e7Schristosexec_prefix!$exec_prefix$ac_delim
3391*946379e7Schristosprefix!$prefix$ac_delim
3392*946379e7Schristosprogram_transform_name!$program_transform_name$ac_delim
3393*946379e7Schristosbindir!$bindir$ac_delim
3394*946379e7Schristossbindir!$sbindir$ac_delim
3395*946379e7Schristoslibexecdir!$libexecdir$ac_delim
3396*946379e7Schristosdatarootdir!$datarootdir$ac_delim
3397*946379e7Schristosdatadir!$datadir$ac_delim
3398*946379e7Schristossysconfdir!$sysconfdir$ac_delim
3399*946379e7Schristossharedstatedir!$sharedstatedir$ac_delim
3400*946379e7Schristoslocalstatedir!$localstatedir$ac_delim
3401*946379e7Schristosincludedir!$includedir$ac_delim
3402*946379e7Schristosoldincludedir!$oldincludedir$ac_delim
3403*946379e7Schristosdocdir!$docdir$ac_delim
3404*946379e7Schristosinfodir!$infodir$ac_delim
3405*946379e7Schristoshtmldir!$htmldir$ac_delim
3406*946379e7Schristosdvidir!$dvidir$ac_delim
3407*946379e7Schristospdfdir!$pdfdir$ac_delim
3408*946379e7Schristospsdir!$psdir$ac_delim
3409*946379e7Schristoslibdir!$libdir$ac_delim
3410*946379e7Schristoslocaledir!$localedir$ac_delim
3411*946379e7Schristosmandir!$mandir$ac_delim
3412*946379e7SchristosDEFS!$DEFS$ac_delim
3413*946379e7SchristosECHO_C!$ECHO_C$ac_delim
3414*946379e7SchristosECHO_N!$ECHO_N$ac_delim
3415*946379e7SchristosECHO_T!$ECHO_T$ac_delim
3416*946379e7SchristosLIBS!$LIBS$ac_delim
3417*946379e7Schristosbuild_alias!$build_alias$ac_delim
3418*946379e7Schristoshost_alias!$host_alias$ac_delim
3419*946379e7Schristostarget_alias!$target_alias$ac_delim
3420*946379e7SchristosINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3421*946379e7SchristosINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3422*946379e7SchristosINSTALL_DATA!$INSTALL_DATA$ac_delim
3423*946379e7Schristosam__isrc!$am__isrc$ac_delim
3424*946379e7SchristosCYGPATH_W!$CYGPATH_W$ac_delim
3425*946379e7SchristosPACKAGE!$PACKAGE$ac_delim
3426*946379e7SchristosVERSION!$VERSION$ac_delim
3427*946379e7SchristosACLOCAL!$ACLOCAL$ac_delim
3428*946379e7SchristosAUTOCONF!$AUTOCONF$ac_delim
3429*946379e7SchristosAUTOMAKE!$AUTOMAKE$ac_delim
3430*946379e7SchristosAUTOHEADER!$AUTOHEADER$ac_delim
3431*946379e7SchristosMAKEINFO!$MAKEINFO$ac_delim
3432*946379e7Schristosinstall_sh!$install_sh$ac_delim
3433*946379e7SchristosSTRIP!$STRIP$ac_delim
3434*946379e7SchristosINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3435*946379e7Schristosmkdir_p!$mkdir_p$ac_delim
3436*946379e7SchristosAWK!$AWK$ac_delim
3437*946379e7SchristosSET_MAKE!$SET_MAKE$ac_delim
3438*946379e7Schristosam__leading_dot!$am__leading_dot$ac_delim
3439*946379e7SchristosAMTAR!$AMTAR$ac_delim
3440*946379e7Schristosam__tar!$am__tar$ac_delim
3441*946379e7Schristosam__untar!$am__untar$ac_delim
3442*946379e7Schristossubdirs!$subdirs$ac_delim
3443*946379e7Schristosbuild!$build$ac_delim
3444*946379e7Schristosbuild_cpu!$build_cpu$ac_delim
3445*946379e7Schristosbuild_vendor!$build_vendor$ac_delim
3446*946379e7Schristosbuild_os!$build_os$ac_delim
3447*946379e7Schristoshost!$host$ac_delim
3448*946379e7Schristoshost_cpu!$host_cpu$ac_delim
3449*946379e7Schristoshost_vendor!$host_vendor$ac_delim
3450*946379e7Schristoshost_os!$host_os$ac_delim
3451*946379e7SchristosCC!$CC$ac_delim
3452*946379e7SchristosCFLAGS!$CFLAGS$ac_delim
3453*946379e7SchristosLDFLAGS!$LDFLAGS$ac_delim
3454*946379e7SchristosCPPFLAGS!$CPPFLAGS$ac_delim
3455*946379e7SchristosCPP!$CPP$ac_delim
3456*946379e7SchristosCXX!$CXX$ac_delim
3457*946379e7SchristosCXXFLAGS!$CXXFLAGS$ac_delim
3458*946379e7SchristosCXXCPP!$CXXCPP$ac_delim
3459*946379e7SchristosF77!$F77$ac_delim
3460*946379e7SchristosFFLAGS!$FFLAGS$ac_delim
3461*946379e7SchristosYACC!$YACC$ac_delim
3462*946379e7SchristosYFLAGS!$YFLAGS$ac_delim
3463*946379e7SchristosGCJ!$GCJ$ac_delim
3464*946379e7SchristosGCJFLAGS!$GCJFLAGS$ac_delim
3465*946379e7SchristosEMACS!$EMACS$ac_delim
3466*946379e7SchristosEMACSLOADPATH!$EMACSLOADPATH$ac_delim
3467*946379e7SchristosLIBOBJS!$LIBOBJS$ac_delim
3468*946379e7SchristosLTLIBOBJS!$LTLIBOBJS$ac_delim
3469*946379e7Schristos_ACEOF
3470*946379e7Schristos
3471*946379e7Schristos  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
3472*946379e7Schristos    break
3473*946379e7Schristos  elif $ac_last_try; then
3474*946379e7Schristos    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3475*946379e7Schristosecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3476*946379e7Schristos   { (exit 1); exit 1; }; }
3477*946379e7Schristos  else
3478*946379e7Schristos    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3479*946379e7Schristos  fi
3480*946379e7Schristosdone
3481*946379e7Schristos
3482*946379e7Schristosac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3483*946379e7Schristosif test -n "$ac_eof"; then
3484*946379e7Schristos  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3485*946379e7Schristos  ac_eof=`expr $ac_eof + 1`
3486*946379e7Schristosfi
3487*946379e7Schristos
3488*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF
3489*946379e7Schristoscat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3490*946379e7Schristos/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3491*946379e7Schristos_ACEOF
3492*946379e7Schristossed '
3493*946379e7Schristoss/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3494*946379e7Schristoss/^/s,@/; s/!/@,|#_!!_#|/
3495*946379e7Schristos:n
3496*946379e7Schristost n
3497*946379e7Schristoss/'"$ac_delim"'$/,g/; t
3498*946379e7Schristoss/$/\\/; p
3499*946379e7SchristosN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3500*946379e7Schristos' >>$CONFIG_STATUS <conf$$subs.sed
3501*946379e7Schristosrm -f conf$$subs.sed
3502*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF
3503*946379e7Schristos:end
3504*946379e7Schristoss/|#_!!_#|//g
3505*946379e7SchristosCEOF$ac_eof
3506*946379e7Schristos_ACEOF
3507*946379e7Schristos
3508*946379e7Schristos
3509*946379e7Schristos# VPATH may cause trouble with some makes, so we remove $(srcdir),
3510*946379e7Schristos# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3511*946379e7Schristos# trailing colons and then remove the whole line if VPATH becomes empty
3512*946379e7Schristos# (actually we leave an empty line to preserve line numbers).
3513*946379e7Schristosif test "x$srcdir" = x.; then
3514*946379e7Schristos  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
3515*946379e7Schristoss/:*\$(srcdir):*/:/
3516*946379e7Schristoss/:*\${srcdir}:*/:/
3517*946379e7Schristoss/:*@srcdir@:*/:/
3518*946379e7Schristoss/^\([^=]*=[	 ]*\):*/\1/
3519*946379e7Schristoss/:*$//
3520*946379e7Schristoss/^[^=]*=[	 ]*$//
3521*946379e7Schristos}'
3522*946379e7Schristosfi
3523*946379e7Schristos
3524*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF
3525*946379e7Schristosfi # test -n "$CONFIG_FILES"
3526*946379e7Schristos
3527*946379e7Schristos
3528*946379e7Schristosfor ac_tag in  :F $CONFIG_FILES
3529*946379e7Schristosdo
3530*946379e7Schristos  case $ac_tag in
3531*946379e7Schristos  :[FHLC]) ac_mode=$ac_tag; continue;;
3532*946379e7Schristos  esac
3533*946379e7Schristos  case $ac_mode$ac_tag in
3534*946379e7Schristos  :[FHL]*:*);;
3535*946379e7Schristos  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3536*946379e7Schristosecho "$as_me: error: Invalid tag $ac_tag." >&2;}
3537*946379e7Schristos   { (exit 1); exit 1; }; };;
3538*946379e7Schristos  :[FH]-) ac_tag=-:-;;
3539*946379e7Schristos  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3540*946379e7Schristos  esac
3541*946379e7Schristos  ac_save_IFS=$IFS
3542*946379e7Schristos  IFS=:
3543*946379e7Schristos  set x $ac_tag
3544*946379e7Schristos  IFS=$ac_save_IFS
3545*946379e7Schristos  shift
3546*946379e7Schristos  ac_file=$1
3547*946379e7Schristos  shift
3548*946379e7Schristos
3549*946379e7Schristos  case $ac_mode in
3550*946379e7Schristos  :L) ac_source=$1;;
3551*946379e7Schristos  :[FH])
3552*946379e7Schristos    ac_file_inputs=
3553*946379e7Schristos    for ac_f
3554*946379e7Schristos    do
3555*946379e7Schristos      case $ac_f in
3556*946379e7Schristos      -) ac_f="$tmp/stdin";;
3557*946379e7Schristos      *) # Look for the file first in the build tree, then in the source tree
3558*946379e7Schristos	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3559*946379e7Schristos	 # because $ac_f cannot contain `:'.
3560*946379e7Schristos	 test -f "$ac_f" ||
3561*946379e7Schristos	   case $ac_f in
3562*946379e7Schristos	   [\\/$]*) false;;
3563*946379e7Schristos	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3564*946379e7Schristos	   esac ||
3565*946379e7Schristos	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3566*946379e7Schristosecho "$as_me: error: cannot find input file: $ac_f" >&2;}
3567*946379e7Schristos   { (exit 1); exit 1; }; };;
3568*946379e7Schristos      esac
3569*946379e7Schristos      ac_file_inputs="$ac_file_inputs $ac_f"
3570*946379e7Schristos    done
3571*946379e7Schristos
3572*946379e7Schristos    # Let's still pretend it is `configure' which instantiates (i.e., don't
3573*946379e7Schristos    # use $as_me), people would be surprised to read:
3574*946379e7Schristos    #    /* config.h.  Generated by config.status.  */
3575*946379e7Schristos    configure_input="Generated from "`IFS=:
3576*946379e7Schristos	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3577*946379e7Schristos    if test x"$ac_file" != x-; then
3578*946379e7Schristos      configure_input="$ac_file.  $configure_input"
3579*946379e7Schristos      { echo "$as_me:$LINENO: creating $ac_file" >&5
3580*946379e7Schristosecho "$as_me: creating $ac_file" >&6;}
3581*946379e7Schristos    fi
3582*946379e7Schristos
3583*946379e7Schristos    case $ac_tag in
3584*946379e7Schristos    *:-:* | *:-) cat >"$tmp/stdin";;
3585*946379e7Schristos    esac
3586*946379e7Schristos    ;;
3587*946379e7Schristos  esac
3588*946379e7Schristos
3589*946379e7Schristos  ac_dir=`$as_dirname -- "$ac_file" ||
3590*946379e7Schristos$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3591*946379e7Schristos	 X"$ac_file" : 'X\(//\)[^/]' \| \
3592*946379e7Schristos	 X"$ac_file" : 'X\(//\)$' \| \
3593*946379e7Schristos	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3594*946379e7Schristosecho X"$ac_file" |
3595*946379e7Schristos    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3596*946379e7Schristos	    s//\1/
3597*946379e7Schristos	    q
3598*946379e7Schristos	  }
3599*946379e7Schristos	  /^X\(\/\/\)[^/].*/{
3600*946379e7Schristos	    s//\1/
3601*946379e7Schristos	    q
3602*946379e7Schristos	  }
3603*946379e7Schristos	  /^X\(\/\/\)$/{
3604*946379e7Schristos	    s//\1/
3605*946379e7Schristos	    q
3606*946379e7Schristos	  }
3607*946379e7Schristos	  /^X\(\/\).*/{
3608*946379e7Schristos	    s//\1/
3609*946379e7Schristos	    q
3610*946379e7Schristos	  }
3611*946379e7Schristos	  s/.*/./; q'`
3612*946379e7Schristos  { as_dir="$ac_dir"
3613*946379e7Schristos  case $as_dir in #(
3614*946379e7Schristos  -*) as_dir=./$as_dir;;
3615*946379e7Schristos  esac
3616*946379e7Schristos  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3617*946379e7Schristos    as_dirs=
3618*946379e7Schristos    while :; do
3619*946379e7Schristos      case $as_dir in #(
3620*946379e7Schristos      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3621*946379e7Schristos      *) as_qdir=$as_dir;;
3622*946379e7Schristos      esac
3623*946379e7Schristos      as_dirs="'$as_qdir' $as_dirs"
3624*946379e7Schristos      as_dir=`$as_dirname -- "$as_dir" ||
3625*946379e7Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3626*946379e7Schristos	 X"$as_dir" : 'X\(//\)[^/]' \| \
3627*946379e7Schristos	 X"$as_dir" : 'X\(//\)$' \| \
3628*946379e7Schristos	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3629*946379e7Schristosecho X"$as_dir" |
3630*946379e7Schristos    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3631*946379e7Schristos	    s//\1/
3632*946379e7Schristos	    q
3633*946379e7Schristos	  }
3634*946379e7Schristos	  /^X\(\/\/\)[^/].*/{
3635*946379e7Schristos	    s//\1/
3636*946379e7Schristos	    q
3637*946379e7Schristos	  }
3638*946379e7Schristos	  /^X\(\/\/\)$/{
3639*946379e7Schristos	    s//\1/
3640*946379e7Schristos	    q
3641*946379e7Schristos	  }
3642*946379e7Schristos	  /^X\(\/\).*/{
3643*946379e7Schristos	    s//\1/
3644*946379e7Schristos	    q
3645*946379e7Schristos	  }
3646*946379e7Schristos	  s/.*/./; q'`
3647*946379e7Schristos      test -d "$as_dir" && break
3648*946379e7Schristos    done
3649*946379e7Schristos    test -z "$as_dirs" || eval "mkdir $as_dirs"
3650*946379e7Schristos  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3651*946379e7Schristosecho "$as_me: error: cannot create directory $as_dir" >&2;}
3652*946379e7Schristos   { (exit 1); exit 1; }; }; }
3653*946379e7Schristos  ac_builddir=.
3654*946379e7Schristos
3655*946379e7Schristoscase "$ac_dir" in
3656*946379e7Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3657*946379e7Schristos*)
3658*946379e7Schristos  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3659*946379e7Schristos  # A ".." for each directory in $ac_dir_suffix.
3660*946379e7Schristos  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3661*946379e7Schristos  case $ac_top_builddir_sub in
3662*946379e7Schristos  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3663*946379e7Schristos  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3664*946379e7Schristos  esac ;;
3665*946379e7Schristosesac
3666*946379e7Schristosac_abs_top_builddir=$ac_pwd
3667*946379e7Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix
3668*946379e7Schristos# for backward compatibility:
3669*946379e7Schristosac_top_builddir=$ac_top_build_prefix
3670*946379e7Schristos
3671*946379e7Schristoscase $srcdir in
3672*946379e7Schristos  .)  # We are building in place.
3673*946379e7Schristos    ac_srcdir=.
3674*946379e7Schristos    ac_top_srcdir=$ac_top_builddir_sub
3675*946379e7Schristos    ac_abs_top_srcdir=$ac_pwd ;;
3676*946379e7Schristos  [\\/]* | ?:[\\/]* )  # Absolute name.
3677*946379e7Schristos    ac_srcdir=$srcdir$ac_dir_suffix;
3678*946379e7Schristos    ac_top_srcdir=$srcdir
3679*946379e7Schristos    ac_abs_top_srcdir=$srcdir ;;
3680*946379e7Schristos  *) # Relative name.
3681*946379e7Schristos    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3682*946379e7Schristos    ac_top_srcdir=$ac_top_build_prefix$srcdir
3683*946379e7Schristos    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3684*946379e7Schristosesac
3685*946379e7Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3686*946379e7Schristos
3687*946379e7Schristos
3688*946379e7Schristos  case $ac_mode in
3689*946379e7Schristos  :F)
3690*946379e7Schristos  #
3691*946379e7Schristos  # CONFIG_FILE
3692*946379e7Schristos  #
3693*946379e7Schristos
3694*946379e7Schristos  case $INSTALL in
3695*946379e7Schristos  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3696*946379e7Schristos  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3697*946379e7Schristos  esac
3698*946379e7Schristos  ac_MKDIR_P=$MKDIR_P
3699*946379e7Schristos  case $MKDIR_P in
3700*946379e7Schristos  [\\/$]* | ?:[\\/]* ) ;;
3701*946379e7Schristos  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3702*946379e7Schristos  esac
3703*946379e7Schristos_ACEOF
3704*946379e7Schristos
3705*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF
3706*946379e7Schristos# If the template does not know about datarootdir, expand it.
3707*946379e7Schristos# FIXME: This hack should be removed a few years after 2.60.
3708*946379e7Schristosac_datarootdir_hack=; ac_datarootdir_seen=
3709*946379e7Schristos
3710*946379e7Schristoscase `sed -n '/datarootdir/ {
3711*946379e7Schristos  p
3712*946379e7Schristos  q
3713*946379e7Schristos}
3714*946379e7Schristos/@datadir@/p
3715*946379e7Schristos/@docdir@/p
3716*946379e7Schristos/@infodir@/p
3717*946379e7Schristos/@localedir@/p
3718*946379e7Schristos/@mandir@/p
3719*946379e7Schristos' $ac_file_inputs` in
3720*946379e7Schristos*datarootdir*) ac_datarootdir_seen=yes;;
3721*946379e7Schristos*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3722*946379e7Schristos  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3723*946379e7Schristosecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3724*946379e7Schristos_ACEOF
3725*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF
3726*946379e7Schristos  ac_datarootdir_hack='
3727*946379e7Schristos  s&@datadir@&$datadir&g
3728*946379e7Schristos  s&@docdir@&$docdir&g
3729*946379e7Schristos  s&@infodir@&$infodir&g
3730*946379e7Schristos  s&@localedir@&$localedir&g
3731*946379e7Schristos  s&@mandir@&$mandir&g
3732*946379e7Schristos    s&\\\${datarootdir}&$datarootdir&g' ;;
3733*946379e7Schristosesac
3734*946379e7Schristos_ACEOF
3735*946379e7Schristos
3736*946379e7Schristos# Neutralize VPATH when `$srcdir' = `.'.
3737*946379e7Schristos# Shell code in configure.ac might set extrasub.
3738*946379e7Schristos# FIXME: do we really want to maintain this feature?
3739*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF
3740*946379e7Schristos  sed "$ac_vpsub
3741*946379e7Schristos$extrasub
3742*946379e7Schristos_ACEOF
3743*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF
3744*946379e7Schristos:t
3745*946379e7Schristos/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3746*946379e7Schristoss&@configure_input@&$configure_input&;t t
3747*946379e7Schristoss&@top_builddir@&$ac_top_builddir_sub&;t t
3748*946379e7Schristoss&@srcdir@&$ac_srcdir&;t t
3749*946379e7Schristoss&@abs_srcdir@&$ac_abs_srcdir&;t t
3750*946379e7Schristoss&@top_srcdir@&$ac_top_srcdir&;t t
3751*946379e7Schristoss&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3752*946379e7Schristoss&@builddir@&$ac_builddir&;t t
3753*946379e7Schristoss&@abs_builddir@&$ac_abs_builddir&;t t
3754*946379e7Schristoss&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3755*946379e7Schristoss&@INSTALL@&$ac_INSTALL&;t t
3756*946379e7Schristoss&@MKDIR_P@&$ac_MKDIR_P&;t t
3757*946379e7Schristos$ac_datarootdir_hack
3758*946379e7Schristos" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3759*946379e7Schristos
3760*946379e7Schristostest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3761*946379e7Schristos  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3762*946379e7Schristos  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3763*946379e7Schristos  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3764*946379e7Schristoswhich seems to be undefined.  Please make sure it is defined." >&5
3765*946379e7Schristosecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3766*946379e7Schristoswhich seems to be undefined.  Please make sure it is defined." >&2;}
3767*946379e7Schristos
3768*946379e7Schristos  rm -f "$tmp/stdin"
3769*946379e7Schristos  case $ac_file in
3770*946379e7Schristos  -) cat "$tmp/out"; rm -f "$tmp/out";;
3771*946379e7Schristos  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3772*946379e7Schristos  esac
3773*946379e7Schristos ;;
3774*946379e7Schristos
3775*946379e7Schristos
3776*946379e7Schristos
3777*946379e7Schristos  esac
3778*946379e7Schristos
3779*946379e7Schristosdone # for ac_tag
3780*946379e7Schristos
3781*946379e7Schristos
3782*946379e7Schristos{ (exit 0); exit 0; }
3783*946379e7Schristos_ACEOF
3784*946379e7Schristoschmod +x $CONFIG_STATUS
3785*946379e7Schristosac_clean_files=$ac_clean_files_save
3786*946379e7Schristos
3787*946379e7Schristos
3788*946379e7Schristos# configure is writing to config.log, and then calls config.status.
3789*946379e7Schristos# config.status does its own redirection, appending to config.log.
3790*946379e7Schristos# Unfortunately, on DOS this fails, as config.log is still kept open
3791*946379e7Schristos# by configure, so config.status won't be able to write to it; its
3792*946379e7Schristos# output is simply discarded.  So we exec the FD to /dev/null,
3793*946379e7Schristos# effectively closing config.log, so it can be properly (re)opened and
3794*946379e7Schristos# appended to by config.status.  When coming back to configure, we
3795*946379e7Schristos# need to make the FD available again.
3796*946379e7Schristosif test "$no_create" != yes; then
3797*946379e7Schristos  ac_cs_success=:
3798*946379e7Schristos  ac_config_status_args=
3799*946379e7Schristos  test "$silent" = yes &&
3800*946379e7Schristos    ac_config_status_args="$ac_config_status_args --quiet"
3801*946379e7Schristos  exec 5>/dev/null
3802*946379e7Schristos  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3803*946379e7Schristos  exec 5>>config.log
3804*946379e7Schristos  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3805*946379e7Schristos  # would make configure fail if this is the last instruction.
3806*946379e7Schristos  $ac_cs_success || { (exit 1); exit 1; }
3807*946379e7Schristosfi
3808*946379e7Schristos
3809*946379e7Schristos#
3810*946379e7Schristos# CONFIG_SUBDIRS section.
3811*946379e7Schristos#
3812*946379e7Schristosif test "$no_recursion" != yes; then
3813*946379e7Schristos
3814*946379e7Schristos  # Remove --cache-file and --srcdir arguments so they do not pile up.
3815*946379e7Schristos  ac_sub_configure_args=
3816*946379e7Schristos  ac_prev=
3817*946379e7Schristos  eval "set x $ac_configure_args"
3818*946379e7Schristos  shift
3819*946379e7Schristos  for ac_arg
3820*946379e7Schristos  do
3821*946379e7Schristos    if test -n "$ac_prev"; then
3822*946379e7Schristos      ac_prev=
3823*946379e7Schristos      continue
3824*946379e7Schristos    fi
3825*946379e7Schristos    case $ac_arg in
3826*946379e7Schristos    -cache-file | --cache-file | --cache-fil | --cache-fi \
3827*946379e7Schristos    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3828*946379e7Schristos      ac_prev=cache_file ;;
3829*946379e7Schristos    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3830*946379e7Schristos    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3831*946379e7Schristos    | --c=*)
3832*946379e7Schristos      ;;
3833*946379e7Schristos    --config-cache | -C)
3834*946379e7Schristos      ;;
3835*946379e7Schristos    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3836*946379e7Schristos      ac_prev=srcdir ;;
3837*946379e7Schristos    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3838*946379e7Schristos      ;;
3839*946379e7Schristos    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3840*946379e7Schristos      ac_prev=prefix ;;
3841*946379e7Schristos    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3842*946379e7Schristos      ;;
3843*946379e7Schristos    *)
3844*946379e7Schristos      case $ac_arg in
3845*946379e7Schristos      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3846*946379e7Schristos      esac
3847*946379e7Schristos      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
3848*946379e7Schristos    esac
3849*946379e7Schristos  done
3850*946379e7Schristos
3851*946379e7Schristos  # Always prepend --prefix to ensure using the same prefix
3852*946379e7Schristos  # in subdir configurations.
3853*946379e7Schristos  ac_arg="--prefix=$prefix"
3854*946379e7Schristos  case $ac_arg in
3855*946379e7Schristos  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3856*946379e7Schristos  esac
3857*946379e7Schristos  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3858*946379e7Schristos
3859*946379e7Schristos  # Pass --silent
3860*946379e7Schristos  if test "$silent" = yes; then
3861*946379e7Schristos    ac_sub_configure_args="--silent $ac_sub_configure_args"
3862*946379e7Schristos  fi
3863*946379e7Schristos
3864*946379e7Schristos  ac_popdir=`pwd`
3865*946379e7Schristos  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3866*946379e7Schristos
3867*946379e7Schristos    # Do not complain, so a configure script can configure whichever
3868*946379e7Schristos    # parts of a large source tree are present.
3869*946379e7Schristos    test -d "$srcdir/$ac_dir" || continue
3870*946379e7Schristos
3871*946379e7Schristos    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3872*946379e7Schristos    echo "$as_me:$LINENO: $ac_msg" >&5
3873*946379e7Schristos    echo "$ac_msg" >&6
3874*946379e7Schristos    { as_dir="$ac_dir"
3875*946379e7Schristos  case $as_dir in #(
3876*946379e7Schristos  -*) as_dir=./$as_dir;;
3877*946379e7Schristos  esac
3878*946379e7Schristos  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3879*946379e7Schristos    as_dirs=
3880*946379e7Schristos    while :; do
3881*946379e7Schristos      case $as_dir in #(
3882*946379e7Schristos      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3883*946379e7Schristos      *) as_qdir=$as_dir;;
3884*946379e7Schristos      esac
3885*946379e7Schristos      as_dirs="'$as_qdir' $as_dirs"
3886*946379e7Schristos      as_dir=`$as_dirname -- "$as_dir" ||
3887*946379e7Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3888*946379e7Schristos	 X"$as_dir" : 'X\(//\)[^/]' \| \
3889*946379e7Schristos	 X"$as_dir" : 'X\(//\)$' \| \
3890*946379e7Schristos	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3891*946379e7Schristosecho X"$as_dir" |
3892*946379e7Schristos    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3893*946379e7Schristos	    s//\1/
3894*946379e7Schristos	    q
3895*946379e7Schristos	  }
3896*946379e7Schristos	  /^X\(\/\/\)[^/].*/{
3897*946379e7Schristos	    s//\1/
3898*946379e7Schristos	    q
3899*946379e7Schristos	  }
3900*946379e7Schristos	  /^X\(\/\/\)$/{
3901*946379e7Schristos	    s//\1/
3902*946379e7Schristos	    q
3903*946379e7Schristos	  }
3904*946379e7Schristos	  /^X\(\/\).*/{
3905*946379e7Schristos	    s//\1/
3906*946379e7Schristos	    q
3907*946379e7Schristos	  }
3908*946379e7Schristos	  s/.*/./; q'`
3909*946379e7Schristos      test -d "$as_dir" && break
3910*946379e7Schristos    done
3911*946379e7Schristos    test -z "$as_dirs" || eval "mkdir $as_dirs"
3912*946379e7Schristos  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3913*946379e7Schristosecho "$as_me: error: cannot create directory $as_dir" >&2;}
3914*946379e7Schristos   { (exit 1); exit 1; }; }; }
3915*946379e7Schristos    ac_builddir=.
3916*946379e7Schristos
3917*946379e7Schristoscase "$ac_dir" in
3918*946379e7Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3919*946379e7Schristos*)
3920*946379e7Schristos  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3921*946379e7Schristos  # A ".." for each directory in $ac_dir_suffix.
3922*946379e7Schristos  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3923*946379e7Schristos  case $ac_top_builddir_sub in
3924*946379e7Schristos  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3925*946379e7Schristos  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3926*946379e7Schristos  esac ;;
3927*946379e7Schristosesac
3928*946379e7Schristosac_abs_top_builddir=$ac_pwd
3929*946379e7Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix
3930*946379e7Schristos# for backward compatibility:
3931*946379e7Schristosac_top_builddir=$ac_top_build_prefix
3932*946379e7Schristos
3933*946379e7Schristoscase $srcdir in
3934*946379e7Schristos  .)  # We are building in place.
3935*946379e7Schristos    ac_srcdir=.
3936*946379e7Schristos    ac_top_srcdir=$ac_top_builddir_sub
3937*946379e7Schristos    ac_abs_top_srcdir=$ac_pwd ;;
3938*946379e7Schristos  [\\/]* | ?:[\\/]* )  # Absolute name.
3939*946379e7Schristos    ac_srcdir=$srcdir$ac_dir_suffix;
3940*946379e7Schristos    ac_top_srcdir=$srcdir
3941*946379e7Schristos    ac_abs_top_srcdir=$srcdir ;;
3942*946379e7Schristos  *) # Relative name.
3943*946379e7Schristos    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3944*946379e7Schristos    ac_top_srcdir=$ac_top_build_prefix$srcdir
3945*946379e7Schristos    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3946*946379e7Schristosesac
3947*946379e7Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3948*946379e7Schristos
3949*946379e7Schristos
3950*946379e7Schristos    cd "$ac_dir"
3951*946379e7Schristos
3952*946379e7Schristos    # Check for guested configure; otherwise get Cygnus style configure.
3953*946379e7Schristos    if test -f "$ac_srcdir/configure.gnu"; then
3954*946379e7Schristos      ac_sub_configure=$ac_srcdir/configure.gnu
3955*946379e7Schristos    elif test -f "$ac_srcdir/configure"; then
3956*946379e7Schristos      ac_sub_configure=$ac_srcdir/configure
3957*946379e7Schristos    elif test -f "$ac_srcdir/configure.in"; then
3958*946379e7Schristos      # This should be Cygnus configure.
3959*946379e7Schristos      ac_sub_configure=$ac_aux_dir/configure
3960*946379e7Schristos    else
3961*946379e7Schristos      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3962*946379e7Schristosecho "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3963*946379e7Schristos      ac_sub_configure=
3964*946379e7Schristos    fi
3965*946379e7Schristos
3966*946379e7Schristos    # The recursion is here.
3967*946379e7Schristos    if test -n "$ac_sub_configure"; then
3968*946379e7Schristos      # Make the cache file name correct relative to the subdirectory.
3969*946379e7Schristos      case $cache_file in
3970*946379e7Schristos      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3971*946379e7Schristos      *) # Relative name.
3972*946379e7Schristos	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3973*946379e7Schristos      esac
3974*946379e7Schristos
3975*946379e7Schristos      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3976*946379e7Schristosecho "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3977*946379e7Schristos      # The eval makes quoting arguments work.
3978*946379e7Schristos      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3979*946379e7Schristos	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3980*946379e7Schristos	{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3981*946379e7Schristosecho "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3982*946379e7Schristos   { (exit 1); exit 1; }; }
3983*946379e7Schristos    fi
3984*946379e7Schristos
3985*946379e7Schristos    cd "$ac_popdir"
3986*946379e7Schristos  done
3987*946379e7Schristosfi
3988*946379e7Schristos
3989