configure revision e6232409
1e6232409Smrg#! /bin/sh
2e6232409Smrg# Guess values for system-dependent variables and create Makefiles.
3e6232409Smrg# Generated by GNU Autoconf 2.60 for xlsfonts 1.0.2.
4e6232409Smrg#
5e6232409Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6e6232409Smrg#
7e6232409Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8e6232409Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9e6232409Smrg# This configure script is free software; the Free Software Foundation
10e6232409Smrg# gives unlimited permission to copy, distribute and modify it.
11e6232409Smrg## --------------------- ##
12e6232409Smrg## M4sh Initialization.  ##
13e6232409Smrg## --------------------- ##
14e6232409Smrg
15e6232409Smrg# Be Bourne compatible
16e6232409Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17e6232409Smrg  emulate sh
18e6232409Smrg  NULLCMD=:
19e6232409Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20e6232409Smrg  # is contrary to our usage.  Disable this feature.
21e6232409Smrg  alias -g '${1+"$@"}'='"$@"'
22e6232409Smrg  setopt NO_GLOB_SUBST
23e6232409Smrgelse
24e6232409Smrg  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
25e6232409Smrgfi
26e6232409SmrgBIN_SH=xpg4; export BIN_SH # for Tru64
27e6232409SmrgDUALCASE=1; export DUALCASE # for MKS sh
28e6232409Smrg
29e6232409Smrg
30e6232409Smrg# PATH needs CR
31e6232409Smrg# Avoid depending upon Character Ranges.
32e6232409Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
33e6232409Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34e6232409Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
35e6232409Smrgas_cr_digits='0123456789'
36e6232409Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
37e6232409Smrg
38e6232409Smrg# The user is always right.
39e6232409Smrgif test "${PATH_SEPARATOR+set}" != set; then
40e6232409Smrg  echo "#! /bin/sh" >conf$$.sh
41e6232409Smrg  echo  "exit 0"   >>conf$$.sh
42e6232409Smrg  chmod +x conf$$.sh
43e6232409Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44e6232409Smrg    PATH_SEPARATOR=';'
45e6232409Smrg  else
46e6232409Smrg    PATH_SEPARATOR=:
47e6232409Smrg  fi
48e6232409Smrg  rm -f conf$$.sh
49e6232409Smrgfi
50e6232409Smrg
51e6232409Smrg# Support unset when possible.
52e6232409Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53e6232409Smrg  as_unset=unset
54e6232409Smrgelse
55e6232409Smrg  as_unset=false
56e6232409Smrgfi
57e6232409Smrg
58e6232409Smrg
59e6232409Smrg# IFS
60e6232409Smrg# We need space, tab and new line, in precisely that order.  Quoting is
61e6232409Smrg# there to prevent editors from complaining about space-tab.
62e6232409Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
63e6232409Smrg# splitting by setting IFS to empty value.)
64e6232409Smrgas_nl='
65e6232409Smrg'
66e6232409SmrgIFS=" ""	$as_nl"
67e6232409Smrg
68e6232409Smrg# Find who we are.  Look in the path if we contain no directory separator.
69e6232409Smrgcase $0 in
70e6232409Smrg  *[\\/]* ) as_myself=$0 ;;
71e6232409Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72e6232409Smrgfor as_dir in $PATH
73e6232409Smrgdo
74e6232409Smrg  IFS=$as_save_IFS
75e6232409Smrg  test -z "$as_dir" && as_dir=.
76e6232409Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77e6232409Smrgdone
78e6232409SmrgIFS=$as_save_IFS
79e6232409Smrg
80e6232409Smrg     ;;
81e6232409Smrgesac
82e6232409Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
83e6232409Smrg# in which case we are not to be found in the path.
84e6232409Smrgif test "x$as_myself" = x; then
85e6232409Smrg  as_myself=$0
86e6232409Smrgfi
87e6232409Smrgif test ! -f "$as_myself"; then
88e6232409Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89e6232409Smrg  { (exit 1); exit 1; }
90e6232409Smrgfi
91e6232409Smrg
92e6232409Smrg# Work around bugs in pre-3.0 UWIN ksh.
93e6232409Smrgfor as_var in ENV MAIL MAILPATH
94e6232409Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95e6232409Smrgdone
96e6232409SmrgPS1='$ '
97e6232409SmrgPS2='> '
98e6232409SmrgPS4='+ '
99e6232409Smrg
100e6232409Smrg# NLS nuisances.
101e6232409Smrgfor as_var in \
102e6232409Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103e6232409Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104e6232409Smrg  LC_TELEPHONE LC_TIME
105e6232409Smrgdo
106e6232409Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107e6232409Smrg    eval $as_var=C; export $as_var
108e6232409Smrg  else
109e6232409Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
110e6232409Smrg  fi
111e6232409Smrgdone
112e6232409Smrg
113e6232409Smrg# Required to use basename.
114e6232409Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
115e6232409Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
116e6232409Smrg  as_expr=expr
117e6232409Smrgelse
118e6232409Smrg  as_expr=false
119e6232409Smrgfi
120e6232409Smrg
121e6232409Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122e6232409Smrg  as_basename=basename
123e6232409Smrgelse
124e6232409Smrg  as_basename=false
125e6232409Smrgfi
126e6232409Smrg
127e6232409Smrg
128e6232409Smrg# Name of the executable.
129e6232409Smrgas_me=`$as_basename -- "$0" ||
130e6232409Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131e6232409Smrg	 X"$0" : 'X\(//\)$' \| \
132e6232409Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133e6232409Smrgecho X/"$0" |
134e6232409Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
135e6232409Smrg	    s//\1/
136e6232409Smrg	    q
137e6232409Smrg	  }
138e6232409Smrg	  /^X\/\(\/\/\)$/{
139e6232409Smrg	    s//\1/
140e6232409Smrg	    q
141e6232409Smrg	  }
142e6232409Smrg	  /^X\/\(\/\).*/{
143e6232409Smrg	    s//\1/
144e6232409Smrg	    q
145e6232409Smrg	  }
146e6232409Smrg	  s/.*/./; q'`
147e6232409Smrg
148e6232409Smrg# CDPATH.
149e6232409Smrg$as_unset CDPATH
150e6232409Smrg
151e6232409Smrg
152e6232409Smrgif test "x$CONFIG_SHELL" = x; then
153e6232409Smrg  if (eval ":") 2>/dev/null; then
154e6232409Smrg  as_have_required=yes
155e6232409Smrgelse
156e6232409Smrg  as_have_required=no
157e6232409Smrgfi
158e6232409Smrg
159e6232409Smrg  if test $as_have_required = yes && 	 (eval ":
160e6232409Smrg(as_func_return () {
161e6232409Smrg  (exit \$1)
162e6232409Smrg}
163e6232409Smrgas_func_success () {
164e6232409Smrg  as_func_return 0
165e6232409Smrg}
166e6232409Smrgas_func_failure () {
167e6232409Smrg  as_func_return 1
168e6232409Smrg}
169e6232409Smrgas_func_ret_success () {
170e6232409Smrg  return 0
171e6232409Smrg}
172e6232409Smrgas_func_ret_failure () {
173e6232409Smrg  return 1
174e6232409Smrg}
175e6232409Smrg
176e6232409Smrgexitcode=0
177e6232409Smrgif as_func_success; then
178e6232409Smrg  :
179e6232409Smrgelse
180e6232409Smrg  exitcode=1
181e6232409Smrg  echo as_func_success failed.
182e6232409Smrgfi
183e6232409Smrg
184e6232409Smrgif as_func_failure; then
185e6232409Smrg  exitcode=1
186e6232409Smrg  echo as_func_failure succeeded.
187e6232409Smrgfi
188e6232409Smrg
189e6232409Smrgif as_func_ret_success; then
190e6232409Smrg  :
191e6232409Smrgelse
192e6232409Smrg  exitcode=1
193e6232409Smrg  echo as_func_ret_success failed.
194e6232409Smrgfi
195e6232409Smrg
196e6232409Smrgif as_func_ret_failure; then
197e6232409Smrg  exitcode=1
198e6232409Smrg  echo as_func_ret_failure succeeded.
199e6232409Smrgfi
200e6232409Smrg
201e6232409Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
202e6232409Smrg  :
203e6232409Smrgelse
204e6232409Smrg  exitcode=1
205e6232409Smrg  echo positional parameters were not saved.
206e6232409Smrgfi
207e6232409Smrg
208e6232409Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
209e6232409Smrg
210e6232409Smrg(
211e6232409Smrg  as_lineno_1=\$LINENO
212e6232409Smrg  as_lineno_2=\$LINENO
213e6232409Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214e6232409Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215e6232409Smrg") 2> /dev/null; then
216e6232409Smrg  :
217e6232409Smrgelse
218e6232409Smrg  as_candidate_shells=
219e6232409Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220e6232409Smrgfor as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221e6232409Smrgdo
222e6232409Smrg  IFS=$as_save_IFS
223e6232409Smrg  test -z "$as_dir" && as_dir=.
224e6232409Smrg  case $as_dir in
225e6232409Smrg	 /*)
226e6232409Smrg	   for as_base in sh bash ksh sh5; do
227e6232409Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228e6232409Smrg	   done;;
229e6232409Smrg       esac
230e6232409Smrgdone
231e6232409SmrgIFS=$as_save_IFS
232e6232409Smrg
233e6232409Smrg
234e6232409Smrg      for as_shell in $as_candidate_shells $SHELL; do
235e6232409Smrg	 # Try only shells that exist, to save several forks.
236e6232409Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237e6232409Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
238e6232409Smrg# Be Bourne compatible
239e6232409Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240e6232409Smrg  emulate sh
241e6232409Smrg  NULLCMD=:
242e6232409Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243e6232409Smrg  # is contrary to our usage.  Disable this feature.
244e6232409Smrg  alias -g '${1+"$@"}'='"$@"'
245e6232409Smrg  setopt NO_GLOB_SUBST
246e6232409Smrgelse
247e6232409Smrg  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248e6232409Smrgfi
249e6232409SmrgBIN_SH=xpg4; export BIN_SH # for Tru64
250e6232409SmrgDUALCASE=1; export DUALCASE # for MKS sh
251e6232409Smrg
252e6232409Smrg:
253e6232409Smrg_ASEOF
254e6232409Smrg}; then
255e6232409Smrg  CONFIG_SHELL=$as_shell
256e6232409Smrg	       as_have_required=yes
257e6232409Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
258e6232409Smrg# Be Bourne compatible
259e6232409Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260e6232409Smrg  emulate sh
261e6232409Smrg  NULLCMD=:
262e6232409Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263e6232409Smrg  # is contrary to our usage.  Disable this feature.
264e6232409Smrg  alias -g '${1+"$@"}'='"$@"'
265e6232409Smrg  setopt NO_GLOB_SUBST
266e6232409Smrgelse
267e6232409Smrg  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268e6232409Smrgfi
269e6232409SmrgBIN_SH=xpg4; export BIN_SH # for Tru64
270e6232409SmrgDUALCASE=1; export DUALCASE # for MKS sh
271e6232409Smrg
272e6232409Smrg:
273e6232409Smrg(as_func_return () {
274e6232409Smrg  (exit $1)
275e6232409Smrg}
276e6232409Smrgas_func_success () {
277e6232409Smrg  as_func_return 0
278e6232409Smrg}
279e6232409Smrgas_func_failure () {
280e6232409Smrg  as_func_return 1
281e6232409Smrg}
282e6232409Smrgas_func_ret_success () {
283e6232409Smrg  return 0
284e6232409Smrg}
285e6232409Smrgas_func_ret_failure () {
286e6232409Smrg  return 1
287e6232409Smrg}
288e6232409Smrg
289e6232409Smrgexitcode=0
290e6232409Smrgif as_func_success; then
291e6232409Smrg  :
292e6232409Smrgelse
293e6232409Smrg  exitcode=1
294e6232409Smrg  echo as_func_success failed.
295e6232409Smrgfi
296e6232409Smrg
297e6232409Smrgif as_func_failure; then
298e6232409Smrg  exitcode=1
299e6232409Smrg  echo as_func_failure succeeded.
300e6232409Smrgfi
301e6232409Smrg
302e6232409Smrgif as_func_ret_success; then
303e6232409Smrg  :
304e6232409Smrgelse
305e6232409Smrg  exitcode=1
306e6232409Smrg  echo as_func_ret_success failed.
307e6232409Smrgfi
308e6232409Smrg
309e6232409Smrgif as_func_ret_failure; then
310e6232409Smrg  exitcode=1
311e6232409Smrg  echo as_func_ret_failure succeeded.
312e6232409Smrgfi
313e6232409Smrg
314e6232409Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
315e6232409Smrg  :
316e6232409Smrgelse
317e6232409Smrg  exitcode=1
318e6232409Smrg  echo positional parameters were not saved.
319e6232409Smrgfi
320e6232409Smrg
321e6232409Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
322e6232409Smrg
323e6232409Smrg(
324e6232409Smrg  as_lineno_1=$LINENO
325e6232409Smrg  as_lineno_2=$LINENO
326e6232409Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
327e6232409Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
328e6232409Smrg
329e6232409Smrg_ASEOF
330e6232409Smrg}; then
331e6232409Smrg  break
332e6232409Smrgfi
333e6232409Smrg
334e6232409Smrgfi
335e6232409Smrg
336e6232409Smrg      done
337e6232409Smrg
338e6232409Smrg      if test "x$CONFIG_SHELL" != x; then
339e6232409Smrg  for as_var in BASH_ENV ENV
340e6232409Smrg        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341e6232409Smrg        done
342e6232409Smrg        export CONFIG_SHELL
343e6232409Smrg        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
344e6232409Smrgfi
345e6232409Smrg
346e6232409Smrg
347e6232409Smrg    if test $as_have_required = no; then
348e6232409Smrg  echo This script requires a shell more modern than all the
349e6232409Smrg      echo shells that I found on your system.  Please install a
350e6232409Smrg      echo modern shell, or manually run the script under such a
351e6232409Smrg      echo shell if you do have one.
352e6232409Smrg      { (exit 1); exit 1; }
353e6232409Smrgfi
354e6232409Smrg
355e6232409Smrg
356e6232409Smrgfi
357e6232409Smrg
358e6232409Smrgfi
359e6232409Smrg
360e6232409Smrg
361e6232409Smrg
362e6232409Smrg(eval "as_func_return () {
363e6232409Smrg  (exit \$1)
364e6232409Smrg}
365e6232409Smrgas_func_success () {
366e6232409Smrg  as_func_return 0
367e6232409Smrg}
368e6232409Smrgas_func_failure () {
369e6232409Smrg  as_func_return 1
370e6232409Smrg}
371e6232409Smrgas_func_ret_success () {
372e6232409Smrg  return 0
373e6232409Smrg}
374e6232409Smrgas_func_ret_failure () {
375e6232409Smrg  return 1
376e6232409Smrg}
377e6232409Smrg
378e6232409Smrgexitcode=0
379e6232409Smrgif as_func_success; then
380e6232409Smrg  :
381e6232409Smrgelse
382e6232409Smrg  exitcode=1
383e6232409Smrg  echo as_func_success failed.
384e6232409Smrgfi
385e6232409Smrg
386e6232409Smrgif as_func_failure; then
387e6232409Smrg  exitcode=1
388e6232409Smrg  echo as_func_failure succeeded.
389e6232409Smrgfi
390e6232409Smrg
391e6232409Smrgif as_func_ret_success; then
392e6232409Smrg  :
393e6232409Smrgelse
394e6232409Smrg  exitcode=1
395e6232409Smrg  echo as_func_ret_success failed.
396e6232409Smrgfi
397e6232409Smrg
398e6232409Smrgif as_func_ret_failure; then
399e6232409Smrg  exitcode=1
400e6232409Smrg  echo as_func_ret_failure succeeded.
401e6232409Smrgfi
402e6232409Smrg
403e6232409Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
404e6232409Smrg  :
405e6232409Smrgelse
406e6232409Smrg  exitcode=1
407e6232409Smrg  echo positional parameters were not saved.
408e6232409Smrgfi
409e6232409Smrg
410e6232409Smrgtest \$exitcode = 0") || {
411e6232409Smrg  echo No shell found that supports shell functions.
412e6232409Smrg  echo Please tell autoconf@gnu.org about your system,
413e6232409Smrg  echo including any error possibly output before this
414e6232409Smrg  echo message
415e6232409Smrg}
416e6232409Smrg
417e6232409Smrg
418e6232409Smrg
419e6232409Smrg  as_lineno_1=$LINENO
420e6232409Smrg  as_lineno_2=$LINENO
421e6232409Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
422e6232409Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
423e6232409Smrg
424e6232409Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425e6232409Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
426e6232409Smrg  # line-number line after each line using $LINENO; the second 'sed'
427e6232409Smrg  # does the real work.  The second script uses 'N' to pair each
428e6232409Smrg  # line-number line with the line containing $LINENO, and appends
429e6232409Smrg  # trailing '-' during substitution so that $LINENO is not a special
430e6232409Smrg  # case at line end.
431e6232409Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432e6232409Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
433e6232409Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
434e6232409Smrg  sed -n '
435e6232409Smrg    p
436e6232409Smrg    /[$]LINENO/=
437e6232409Smrg  ' <$as_myself |
438e6232409Smrg    sed '
439e6232409Smrg      s/[$]LINENO.*/&-/
440e6232409Smrg      t lineno
441e6232409Smrg      b
442e6232409Smrg      :lineno
443e6232409Smrg      N
444e6232409Smrg      :loop
445e6232409Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446e6232409Smrg      t loop
447e6232409Smrg      s/-\n.*//
448e6232409Smrg    ' >$as_me.lineno &&
449e6232409Smrg  chmod +x "$as_me.lineno" ||
450e6232409Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451e6232409Smrg   { (exit 1); exit 1; }; }
452e6232409Smrg
453e6232409Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
454e6232409Smrg  # (the dirname of $[0] is not the place where we might find the
455e6232409Smrg  # original and so on.  Autoconf is especially sensitive to this).
456e6232409Smrg  . "./$as_me.lineno"
457e6232409Smrg  # Exit status is that of the last command.
458e6232409Smrg  exit
459e6232409Smrg}
460e6232409Smrg
461e6232409Smrg
462e6232409Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463e6232409Smrg  as_dirname=dirname
464e6232409Smrgelse
465e6232409Smrg  as_dirname=false
466e6232409Smrgfi
467e6232409Smrg
468e6232409SmrgECHO_C= ECHO_N= ECHO_T=
469e6232409Smrgcase `echo -n x` in
470e6232409Smrg-n*)
471e6232409Smrg  case `echo 'x\c'` in
472e6232409Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
473e6232409Smrg  *)   ECHO_C='\c';;
474e6232409Smrg  esac;;
475e6232409Smrg*)
476e6232409Smrg  ECHO_N='-n';;
477e6232409Smrgesac
478e6232409Smrg
479e6232409Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
480e6232409Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
481e6232409Smrg  as_expr=expr
482e6232409Smrgelse
483e6232409Smrg  as_expr=false
484e6232409Smrgfi
485e6232409Smrg
486e6232409Smrgrm -f conf$$ conf$$.exe conf$$.file
487e6232409Smrgif test -d conf$$.dir; then
488e6232409Smrg  rm -f conf$$.dir/conf$$.file
489e6232409Smrgelse
490e6232409Smrg  rm -f conf$$.dir
491e6232409Smrg  mkdir conf$$.dir
492e6232409Smrgfi
493e6232409Smrgecho >conf$$.file
494e6232409Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
495e6232409Smrg  as_ln_s='ln -s'
496e6232409Smrg  # ... but there are two gotchas:
497e6232409Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498e6232409Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499e6232409Smrg  # In both cases, we have to default to `cp -p'.
500e6232409Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501e6232409Smrg    as_ln_s='cp -p'
502e6232409Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
503e6232409Smrg  as_ln_s=ln
504e6232409Smrgelse
505e6232409Smrg  as_ln_s='cp -p'
506e6232409Smrgfi
507e6232409Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508e6232409Smrgrmdir conf$$.dir 2>/dev/null
509e6232409Smrg
510e6232409Smrgif mkdir -p . 2>/dev/null; then
511e6232409Smrg  as_mkdir_p=:
512e6232409Smrgelse
513e6232409Smrg  test -d ./-p && rmdir ./-p
514e6232409Smrg  as_mkdir_p=false
515e6232409Smrgfi
516e6232409Smrg
517e6232409Smrg# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
518e6232409Smrg# systems may use methods other than mode bits to determine executability.
519e6232409Smrgcat >conf$$.file <<_ASEOF
520e6232409Smrg#! /bin/sh
521e6232409Smrgexit 0
522e6232409Smrg_ASEOF
523e6232409Smrgchmod +x conf$$.file
524e6232409Smrgif test -x conf$$.file >/dev/null 2>&1; then
525e6232409Smrg  as_executable_p="test -x"
526e6232409Smrgelse
527e6232409Smrg  as_executable_p=:
528e6232409Smrgfi
529e6232409Smrgrm -f conf$$.file
530e6232409Smrg
531e6232409Smrg# Sed expression to map a string onto a valid CPP name.
532e6232409Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533e6232409Smrg
534e6232409Smrg# Sed expression to map a string onto a valid variable name.
535e6232409Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536e6232409Smrg
537e6232409Smrg
538e6232409Smrg
539e6232409Smrgexec 7<&0 </dev/null 6>&1
540e6232409Smrg
541e6232409Smrg# Name of the host.
542e6232409Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543e6232409Smrg# so uname gets run too.
544e6232409Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545e6232409Smrg
546e6232409Smrg#
547e6232409Smrg# Initializations.
548e6232409Smrg#
549e6232409Smrgac_default_prefix=/usr/local
550e6232409Smrgac_clean_files=
551e6232409Smrgac_config_libobj_dir=.
552e6232409SmrgLIBOBJS=
553e6232409Smrgcross_compiling=no
554e6232409Smrgsubdirs=
555e6232409SmrgMFLAGS=
556e6232409SmrgMAKEFLAGS=
557e6232409SmrgSHELL=${CONFIG_SHELL-/bin/sh}
558e6232409Smrg
559e6232409Smrg# Identity of this package.
560e6232409SmrgPACKAGE_NAME='xlsfonts'
561e6232409SmrgPACKAGE_TARNAME='xlsfonts'
562e6232409SmrgPACKAGE_VERSION='1.0.2'
563e6232409SmrgPACKAGE_STRING='xlsfonts 1.0.2'
564e6232409SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
565e6232409Smrg
566e6232409Smrgac_subst_vars='SHELL
567e6232409SmrgPATH_SEPARATOR
568e6232409SmrgPACKAGE_NAME
569e6232409SmrgPACKAGE_TARNAME
570e6232409SmrgPACKAGE_VERSION
571e6232409SmrgPACKAGE_STRING
572e6232409SmrgPACKAGE_BUGREPORT
573e6232409Smrgexec_prefix
574e6232409Smrgprefix
575e6232409Smrgprogram_transform_name
576e6232409Smrgbindir
577e6232409Smrgsbindir
578e6232409Smrglibexecdir
579e6232409Smrgdatarootdir
580e6232409Smrgdatadir
581e6232409Smrgsysconfdir
582e6232409Smrgsharedstatedir
583e6232409Smrglocalstatedir
584e6232409Smrgincludedir
585e6232409Smrgoldincludedir
586e6232409Smrgdocdir
587e6232409Smrginfodir
588e6232409Smrghtmldir
589e6232409Smrgdvidir
590e6232409Smrgpdfdir
591e6232409Smrgpsdir
592e6232409Smrglibdir
593e6232409Smrglocaledir
594e6232409Smrgmandir
595e6232409SmrgDEFS
596e6232409SmrgECHO_C
597e6232409SmrgECHO_N
598e6232409SmrgECHO_T
599e6232409SmrgLIBS
600e6232409Smrgbuild_alias
601e6232409Smrghost_alias
602e6232409Smrgtarget_alias
603e6232409SmrgINSTALL_PROGRAM
604e6232409SmrgINSTALL_SCRIPT
605e6232409SmrgINSTALL_DATA
606e6232409SmrgCYGPATH_W
607e6232409SmrgPACKAGE
608e6232409SmrgVERSION
609e6232409SmrgACLOCAL
610e6232409SmrgAUTOCONF
611e6232409SmrgAUTOMAKE
612e6232409SmrgAUTOHEADER
613e6232409SmrgMAKEINFO
614e6232409Smrginstall_sh
615e6232409SmrgSTRIP
616e6232409SmrgINSTALL_STRIP_PROGRAM
617e6232409Smrgmkdir_p
618e6232409SmrgAWK
619e6232409SmrgSET_MAKE
620e6232409Smrgam__leading_dot
621e6232409SmrgAMTAR
622e6232409Smrgam__tar
623e6232409Smrgam__untar
624e6232409SmrgMAINTAINER_MODE_TRUE
625e6232409SmrgMAINTAINER_MODE_FALSE
626e6232409SmrgMAINT
627e6232409SmrgCC
628e6232409SmrgCFLAGS
629e6232409SmrgLDFLAGS
630e6232409SmrgCPPFLAGS
631e6232409Smrgac_ct_CC
632e6232409SmrgEXEEXT
633e6232409SmrgOBJEXT
634e6232409SmrgDEPDIR
635e6232409Smrgam__include
636e6232409Smrgam__quote
637e6232409SmrgAMDEP_TRUE
638e6232409SmrgAMDEP_FALSE
639e6232409SmrgAMDEPBACKSLASH
640e6232409SmrgCCDEPMODE
641e6232409Smrgam__fastdepCC_TRUE
642e6232409Smrgam__fastdepCC_FALSE
643e6232409SmrgPKG_CONFIG
644e6232409SmrgXLSFONTS_CFLAGS
645e6232409SmrgXLSFONTS_LIBS
646e6232409Smrgbuild
647e6232409Smrgbuild_cpu
648e6232409Smrgbuild_vendor
649e6232409Smrgbuild_os
650e6232409Smrghost
651e6232409Smrghost_cpu
652e6232409Smrghost_vendor
653e6232409Smrghost_os
654e6232409SmrgAPP_MAN_SUFFIX
655e6232409SmrgLIB_MAN_SUFFIX
656e6232409SmrgFILE_MAN_SUFFIX
657e6232409SmrgMISC_MAN_SUFFIX
658e6232409SmrgDRIVER_MAN_SUFFIX
659e6232409SmrgADMIN_MAN_SUFFIX
660e6232409SmrgAPP_MAN_DIR
661e6232409SmrgLIB_MAN_DIR
662e6232409SmrgFILE_MAN_DIR
663e6232409SmrgMISC_MAN_DIR
664e6232409SmrgDRIVER_MAN_DIR
665e6232409SmrgADMIN_MAN_DIR
666e6232409SmrgLIBOBJS
667e6232409SmrgLTLIBOBJS'
668e6232409Smrgac_subst_files=''
669e6232409Smrg      ac_precious_vars='build_alias
670e6232409Smrghost_alias
671e6232409Smrgtarget_alias
672e6232409SmrgCC
673e6232409SmrgCFLAGS
674e6232409SmrgLDFLAGS
675e6232409SmrgCPPFLAGS
676e6232409SmrgPKG_CONFIG
677e6232409SmrgXLSFONTS_CFLAGS
678e6232409SmrgXLSFONTS_LIBS'
679e6232409Smrg
680e6232409Smrg
681e6232409Smrg# Initialize some variables set by options.
682e6232409Smrgac_init_help=
683e6232409Smrgac_init_version=false
684e6232409Smrg# The variables have the same names as the options, with
685e6232409Smrg# dashes changed to underlines.
686e6232409Smrgcache_file=/dev/null
687e6232409Smrgexec_prefix=NONE
688e6232409Smrgno_create=
689e6232409Smrgno_recursion=
690e6232409Smrgprefix=NONE
691e6232409Smrgprogram_prefix=NONE
692e6232409Smrgprogram_suffix=NONE
693e6232409Smrgprogram_transform_name=s,x,x,
694e6232409Smrgsilent=
695e6232409Smrgsite=
696e6232409Smrgsrcdir=
697e6232409Smrgverbose=
698e6232409Smrgx_includes=NONE
699e6232409Smrgx_libraries=NONE
700e6232409Smrg
701e6232409Smrg# Installation directory options.
702e6232409Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
703e6232409Smrg# and all the variables that are supposed to be based on exec_prefix
704e6232409Smrg# by default will actually change.
705e6232409Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
706e6232409Smrg# (The list follows the same order as the GNU Coding Standards.)
707e6232409Smrgbindir='${exec_prefix}/bin'
708e6232409Smrgsbindir='${exec_prefix}/sbin'
709e6232409Smrglibexecdir='${exec_prefix}/libexec'
710e6232409Smrgdatarootdir='${prefix}/share'
711e6232409Smrgdatadir='${datarootdir}'
712e6232409Smrgsysconfdir='${prefix}/etc'
713e6232409Smrgsharedstatedir='${prefix}/com'
714e6232409Smrglocalstatedir='${prefix}/var'
715e6232409Smrgincludedir='${prefix}/include'
716e6232409Smrgoldincludedir='/usr/include'
717e6232409Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
718e6232409Smrginfodir='${datarootdir}/info'
719e6232409Smrghtmldir='${docdir}'
720e6232409Smrgdvidir='${docdir}'
721e6232409Smrgpdfdir='${docdir}'
722e6232409Smrgpsdir='${docdir}'
723e6232409Smrglibdir='${exec_prefix}/lib'
724e6232409Smrglocaledir='${datarootdir}/locale'
725e6232409Smrgmandir='${datarootdir}/man'
726e6232409Smrg
727e6232409Smrgac_prev=
728e6232409Smrgac_dashdash=
729e6232409Smrgfor ac_option
730e6232409Smrgdo
731e6232409Smrg  # If the previous option needs an argument, assign it.
732e6232409Smrg  if test -n "$ac_prev"; then
733e6232409Smrg    eval $ac_prev=\$ac_option
734e6232409Smrg    ac_prev=
735e6232409Smrg    continue
736e6232409Smrg  fi
737e6232409Smrg
738e6232409Smrg  case $ac_option in
739e6232409Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
740e6232409Smrg  *)	ac_optarg=yes ;;
741e6232409Smrg  esac
742e6232409Smrg
743e6232409Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
744e6232409Smrg
745e6232409Smrg  case $ac_dashdash$ac_option in
746e6232409Smrg  --)
747e6232409Smrg    ac_dashdash=yes ;;
748e6232409Smrg
749e6232409Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
750e6232409Smrg    ac_prev=bindir ;;
751e6232409Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
752e6232409Smrg    bindir=$ac_optarg ;;
753e6232409Smrg
754e6232409Smrg  -build | --build | --buil | --bui | --bu)
755e6232409Smrg    ac_prev=build_alias ;;
756e6232409Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
757e6232409Smrg    build_alias=$ac_optarg ;;
758e6232409Smrg
759e6232409Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
760e6232409Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
761e6232409Smrg    ac_prev=cache_file ;;
762e6232409Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
763e6232409Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
764e6232409Smrg    cache_file=$ac_optarg ;;
765e6232409Smrg
766e6232409Smrg  --config-cache | -C)
767e6232409Smrg    cache_file=config.cache ;;
768e6232409Smrg
769e6232409Smrg  -datadir | --datadir | --datadi | --datad)
770e6232409Smrg    ac_prev=datadir ;;
771e6232409Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
772e6232409Smrg    datadir=$ac_optarg ;;
773e6232409Smrg
774e6232409Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
775e6232409Smrg  | --dataroo | --dataro | --datar)
776e6232409Smrg    ac_prev=datarootdir ;;
777e6232409Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
778e6232409Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
779e6232409Smrg    datarootdir=$ac_optarg ;;
780e6232409Smrg
781e6232409Smrg  -disable-* | --disable-*)
782e6232409Smrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
783e6232409Smrg    # Reject names that are not valid shell variable names.
784e6232409Smrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
785e6232409Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
786e6232409Smrg   { (exit 1); exit 1; }; }
787e6232409Smrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
788e6232409Smrg    eval enable_$ac_feature=no ;;
789e6232409Smrg
790e6232409Smrg  -docdir | --docdir | --docdi | --doc | --do)
791e6232409Smrg    ac_prev=docdir ;;
792e6232409Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
793e6232409Smrg    docdir=$ac_optarg ;;
794e6232409Smrg
795e6232409Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
796e6232409Smrg    ac_prev=dvidir ;;
797e6232409Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
798e6232409Smrg    dvidir=$ac_optarg ;;
799e6232409Smrg
800e6232409Smrg  -enable-* | --enable-*)
801e6232409Smrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
802e6232409Smrg    # Reject names that are not valid shell variable names.
803e6232409Smrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
804e6232409Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
805e6232409Smrg   { (exit 1); exit 1; }; }
806e6232409Smrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
807e6232409Smrg    eval enable_$ac_feature=\$ac_optarg ;;
808e6232409Smrg
809e6232409Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
810e6232409Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
811e6232409Smrg  | --exec | --exe | --ex)
812e6232409Smrg    ac_prev=exec_prefix ;;
813e6232409Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
814e6232409Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
815e6232409Smrg  | --exec=* | --exe=* | --ex=*)
816e6232409Smrg    exec_prefix=$ac_optarg ;;
817e6232409Smrg
818e6232409Smrg  -gas | --gas | --ga | --g)
819e6232409Smrg    # Obsolete; use --with-gas.
820e6232409Smrg    with_gas=yes ;;
821e6232409Smrg
822e6232409Smrg  -help | --help | --hel | --he | -h)
823e6232409Smrg    ac_init_help=long ;;
824e6232409Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
825e6232409Smrg    ac_init_help=recursive ;;
826e6232409Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
827e6232409Smrg    ac_init_help=short ;;
828e6232409Smrg
829e6232409Smrg  -host | --host | --hos | --ho)
830e6232409Smrg    ac_prev=host_alias ;;
831e6232409Smrg  -host=* | --host=* | --hos=* | --ho=*)
832e6232409Smrg    host_alias=$ac_optarg ;;
833e6232409Smrg
834e6232409Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
835e6232409Smrg    ac_prev=htmldir ;;
836e6232409Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
837e6232409Smrg  | --ht=*)
838e6232409Smrg    htmldir=$ac_optarg ;;
839e6232409Smrg
840e6232409Smrg  -includedir | --includedir | --includedi | --included | --include \
841e6232409Smrg  | --includ | --inclu | --incl | --inc)
842e6232409Smrg    ac_prev=includedir ;;
843e6232409Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
844e6232409Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
845e6232409Smrg    includedir=$ac_optarg ;;
846e6232409Smrg
847e6232409Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
848e6232409Smrg    ac_prev=infodir ;;
849e6232409Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
850e6232409Smrg    infodir=$ac_optarg ;;
851e6232409Smrg
852e6232409Smrg  -libdir | --libdir | --libdi | --libd)
853e6232409Smrg    ac_prev=libdir ;;
854e6232409Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
855e6232409Smrg    libdir=$ac_optarg ;;
856e6232409Smrg
857e6232409Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
858e6232409Smrg  | --libexe | --libex | --libe)
859e6232409Smrg    ac_prev=libexecdir ;;
860e6232409Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
861e6232409Smrg  | --libexe=* | --libex=* | --libe=*)
862e6232409Smrg    libexecdir=$ac_optarg ;;
863e6232409Smrg
864e6232409Smrg  -localedir | --localedir | --localedi | --localed | --locale)
865e6232409Smrg    ac_prev=localedir ;;
866e6232409Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
867e6232409Smrg    localedir=$ac_optarg ;;
868e6232409Smrg
869e6232409Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
870e6232409Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
871e6232409Smrg    ac_prev=localstatedir ;;
872e6232409Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
873e6232409Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
874e6232409Smrg    localstatedir=$ac_optarg ;;
875e6232409Smrg
876e6232409Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
877e6232409Smrg    ac_prev=mandir ;;
878e6232409Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
879e6232409Smrg    mandir=$ac_optarg ;;
880e6232409Smrg
881e6232409Smrg  -nfp | --nfp | --nf)
882e6232409Smrg    # Obsolete; use --without-fp.
883e6232409Smrg    with_fp=no ;;
884e6232409Smrg
885e6232409Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
886e6232409Smrg  | --no-cr | --no-c | -n)
887e6232409Smrg    no_create=yes ;;
888e6232409Smrg
889e6232409Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
890e6232409Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
891e6232409Smrg    no_recursion=yes ;;
892e6232409Smrg
893e6232409Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
894e6232409Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
895e6232409Smrg  | --oldin | --oldi | --old | --ol | --o)
896e6232409Smrg    ac_prev=oldincludedir ;;
897e6232409Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
898e6232409Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
899e6232409Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
900e6232409Smrg    oldincludedir=$ac_optarg ;;
901e6232409Smrg
902e6232409Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
903e6232409Smrg    ac_prev=prefix ;;
904e6232409Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
905e6232409Smrg    prefix=$ac_optarg ;;
906e6232409Smrg
907e6232409Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
908e6232409Smrg  | --program-pre | --program-pr | --program-p)
909e6232409Smrg    ac_prev=program_prefix ;;
910e6232409Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
911e6232409Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
912e6232409Smrg    program_prefix=$ac_optarg ;;
913e6232409Smrg
914e6232409Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
915e6232409Smrg  | --program-suf | --program-su | --program-s)
916e6232409Smrg    ac_prev=program_suffix ;;
917e6232409Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
918e6232409Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
919e6232409Smrg    program_suffix=$ac_optarg ;;
920e6232409Smrg
921e6232409Smrg  -program-transform-name | --program-transform-name \
922e6232409Smrg  | --program-transform-nam | --program-transform-na \
923e6232409Smrg  | --program-transform-n | --program-transform- \
924e6232409Smrg  | --program-transform | --program-transfor \
925e6232409Smrg  | --program-transfo | --program-transf \
926e6232409Smrg  | --program-trans | --program-tran \
927e6232409Smrg  | --progr-tra | --program-tr | --program-t)
928e6232409Smrg    ac_prev=program_transform_name ;;
929e6232409Smrg  -program-transform-name=* | --program-transform-name=* \
930e6232409Smrg  | --program-transform-nam=* | --program-transform-na=* \
931e6232409Smrg  | --program-transform-n=* | --program-transform-=* \
932e6232409Smrg  | --program-transform=* | --program-transfor=* \
933e6232409Smrg  | --program-transfo=* | --program-transf=* \
934e6232409Smrg  | --program-trans=* | --program-tran=* \
935e6232409Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
936e6232409Smrg    program_transform_name=$ac_optarg ;;
937e6232409Smrg
938e6232409Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
939e6232409Smrg    ac_prev=pdfdir ;;
940e6232409Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
941e6232409Smrg    pdfdir=$ac_optarg ;;
942e6232409Smrg
943e6232409Smrg  -psdir | --psdir | --psdi | --psd | --ps)
944e6232409Smrg    ac_prev=psdir ;;
945e6232409Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
946e6232409Smrg    psdir=$ac_optarg ;;
947e6232409Smrg
948e6232409Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
949e6232409Smrg  | -silent | --silent | --silen | --sile | --sil)
950e6232409Smrg    silent=yes ;;
951e6232409Smrg
952e6232409Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
953e6232409Smrg    ac_prev=sbindir ;;
954e6232409Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
955e6232409Smrg  | --sbi=* | --sb=*)
956e6232409Smrg    sbindir=$ac_optarg ;;
957e6232409Smrg
958e6232409Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
959e6232409Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
960e6232409Smrg  | --sharedst | --shareds | --shared | --share | --shar \
961e6232409Smrg  | --sha | --sh)
962e6232409Smrg    ac_prev=sharedstatedir ;;
963e6232409Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
964e6232409Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
965e6232409Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
966e6232409Smrg  | --sha=* | --sh=*)
967e6232409Smrg    sharedstatedir=$ac_optarg ;;
968e6232409Smrg
969e6232409Smrg  -site | --site | --sit)
970e6232409Smrg    ac_prev=site ;;
971e6232409Smrg  -site=* | --site=* | --sit=*)
972e6232409Smrg    site=$ac_optarg ;;
973e6232409Smrg
974e6232409Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
975e6232409Smrg    ac_prev=srcdir ;;
976e6232409Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
977e6232409Smrg    srcdir=$ac_optarg ;;
978e6232409Smrg
979e6232409Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
980e6232409Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
981e6232409Smrg    ac_prev=sysconfdir ;;
982e6232409Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
983e6232409Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
984e6232409Smrg    sysconfdir=$ac_optarg ;;
985e6232409Smrg
986e6232409Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
987e6232409Smrg    ac_prev=target_alias ;;
988e6232409Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
989e6232409Smrg    target_alias=$ac_optarg ;;
990e6232409Smrg
991e6232409Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
992e6232409Smrg    verbose=yes ;;
993e6232409Smrg
994e6232409Smrg  -version | --version | --versio | --versi | --vers | -V)
995e6232409Smrg    ac_init_version=: ;;
996e6232409Smrg
997e6232409Smrg  -with-* | --with-*)
998e6232409Smrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
999e6232409Smrg    # Reject names that are not valid shell variable names.
1000e6232409Smrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1001e6232409Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
1002e6232409Smrg   { (exit 1); exit 1; }; }
1003e6232409Smrg    ac_package=`echo $ac_package| sed 's/-/_/g'`
1004e6232409Smrg    eval with_$ac_package=\$ac_optarg ;;
1005e6232409Smrg
1006e6232409Smrg  -without-* | --without-*)
1007e6232409Smrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1008e6232409Smrg    # Reject names that are not valid shell variable names.
1009e6232409Smrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1010e6232409Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
1011e6232409Smrg   { (exit 1); exit 1; }; }
1012e6232409Smrg    ac_package=`echo $ac_package | sed 's/-/_/g'`
1013e6232409Smrg    eval with_$ac_package=no ;;
1014e6232409Smrg
1015e6232409Smrg  --x)
1016e6232409Smrg    # Obsolete; use --with-x.
1017e6232409Smrg    with_x=yes ;;
1018e6232409Smrg
1019e6232409Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1020e6232409Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1021e6232409Smrg    ac_prev=x_includes ;;
1022e6232409Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1023e6232409Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1024e6232409Smrg    x_includes=$ac_optarg ;;
1025e6232409Smrg
1026e6232409Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1027e6232409Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1028e6232409Smrg    ac_prev=x_libraries ;;
1029e6232409Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1030e6232409Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1031e6232409Smrg    x_libraries=$ac_optarg ;;
1032e6232409Smrg
1033e6232409Smrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
1034e6232409SmrgTry \`$0 --help' for more information." >&2
1035e6232409Smrg   { (exit 1); exit 1; }; }
1036e6232409Smrg    ;;
1037e6232409Smrg
1038e6232409Smrg  *=*)
1039e6232409Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1040e6232409Smrg    # Reject names that are not valid shell variable names.
1041e6232409Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1042e6232409Smrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1043e6232409Smrg   { (exit 1); exit 1; }; }
1044e6232409Smrg    eval $ac_envvar=\$ac_optarg
1045e6232409Smrg    export $ac_envvar ;;
1046e6232409Smrg
1047e6232409Smrg  *)
1048e6232409Smrg    # FIXME: should be removed in autoconf 3.0.
1049e6232409Smrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1050e6232409Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1051e6232409Smrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1052e6232409Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1053e6232409Smrg    ;;
1054e6232409Smrg
1055e6232409Smrg  esac
1056e6232409Smrgdone
1057e6232409Smrg
1058e6232409Smrgif test -n "$ac_prev"; then
1059e6232409Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1060e6232409Smrg  { echo "$as_me: error: missing argument to $ac_option" >&2
1061e6232409Smrg   { (exit 1); exit 1; }; }
1062e6232409Smrgfi
1063e6232409Smrg
1064e6232409Smrg# Be sure to have absolute directory names.
1065e6232409Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1066e6232409Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1067e6232409Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1068e6232409Smrg		libdir localedir mandir
1069e6232409Smrgdo
1070e6232409Smrg  eval ac_val=\$$ac_var
1071e6232409Smrg  case $ac_val in
1072e6232409Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1073e6232409Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1074e6232409Smrg  esac
1075e6232409Smrg  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1076e6232409Smrg   { (exit 1); exit 1; }; }
1077e6232409Smrgdone
1078e6232409Smrg
1079e6232409Smrg# There might be people who depend on the old broken behavior: `$host'
1080e6232409Smrg# used to hold the argument of --host etc.
1081e6232409Smrg# FIXME: To remove some day.
1082e6232409Smrgbuild=$build_alias
1083e6232409Smrghost=$host_alias
1084e6232409Smrgtarget=$target_alias
1085e6232409Smrg
1086e6232409Smrg# FIXME: To remove some day.
1087e6232409Smrgif test "x$host_alias" != x; then
1088e6232409Smrg  if test "x$build_alias" = x; then
1089e6232409Smrg    cross_compiling=maybe
1090e6232409Smrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1091e6232409Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
1092e6232409Smrg  elif test "x$build_alias" != "x$host_alias"; then
1093e6232409Smrg    cross_compiling=yes
1094e6232409Smrg  fi
1095e6232409Smrgfi
1096e6232409Smrg
1097e6232409Smrgac_tool_prefix=
1098e6232409Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1099e6232409Smrg
1100e6232409Smrgtest "$silent" = yes && exec 6>/dev/null
1101e6232409Smrg
1102e6232409Smrg
1103e6232409Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1104e6232409Smrgac_ls_di=`ls -di .` &&
1105e6232409Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1106e6232409Smrg  { echo "$as_me: error: Working directory cannot be determined" >&2
1107e6232409Smrg   { (exit 1); exit 1; }; }
1108e6232409Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1109e6232409Smrg  { echo "$as_me: error: pwd does not report name of working directory" >&2
1110e6232409Smrg   { (exit 1); exit 1; }; }
1111e6232409Smrg
1112e6232409Smrg
1113e6232409Smrg# Find the source files, if location was not specified.
1114e6232409Smrgif test -z "$srcdir"; then
1115e6232409Smrg  ac_srcdir_defaulted=yes
1116e6232409Smrg  # Try the directory containing this script, then the parent directory.
1117e6232409Smrg  ac_confdir=`$as_dirname -- "$0" ||
1118e6232409Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1119e6232409Smrg	 X"$0" : 'X\(//\)[^/]' \| \
1120e6232409Smrg	 X"$0" : 'X\(//\)$' \| \
1121e6232409Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1122e6232409Smrgecho X"$0" |
1123e6232409Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1124e6232409Smrg	    s//\1/
1125e6232409Smrg	    q
1126e6232409Smrg	  }
1127e6232409Smrg	  /^X\(\/\/\)[^/].*/{
1128e6232409Smrg	    s//\1/
1129e6232409Smrg	    q
1130e6232409Smrg	  }
1131e6232409Smrg	  /^X\(\/\/\)$/{
1132e6232409Smrg	    s//\1/
1133e6232409Smrg	    q
1134e6232409Smrg	  }
1135e6232409Smrg	  /^X\(\/\).*/{
1136e6232409Smrg	    s//\1/
1137e6232409Smrg	    q
1138e6232409Smrg	  }
1139e6232409Smrg	  s/.*/./; q'`
1140e6232409Smrg  srcdir=$ac_confdir
1141e6232409Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1142e6232409Smrg    srcdir=..
1143e6232409Smrg  fi
1144e6232409Smrgelse
1145e6232409Smrg  ac_srcdir_defaulted=no
1146e6232409Smrgfi
1147e6232409Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1148e6232409Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1149e6232409Smrg  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1150e6232409Smrg   { (exit 1); exit 1; }; }
1151e6232409Smrgfi
1152e6232409Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1153e6232409Smrgac_abs_confdir=`(
1154e6232409Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1155e6232409Smrg   { (exit 1); exit 1; }; }
1156e6232409Smrg	pwd)`
1157e6232409Smrg# When building in place, set srcdir=.
1158e6232409Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1159e6232409Smrg  srcdir=.
1160e6232409Smrgfi
1161e6232409Smrg# Remove unnecessary trailing slashes from srcdir.
1162e6232409Smrg# Double slashes in file names in object file debugging info
1163e6232409Smrg# mess up M-x gdb in Emacs.
1164e6232409Smrgcase $srcdir in
1165e6232409Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1166e6232409Smrgesac
1167e6232409Smrgfor ac_var in $ac_precious_vars; do
1168e6232409Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1169e6232409Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1170e6232409Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1171e6232409Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1172e6232409Smrgdone
1173e6232409Smrg
1174e6232409Smrg#
1175e6232409Smrg# Report the --help message.
1176e6232409Smrg#
1177e6232409Smrgif test "$ac_init_help" = "long"; then
1178e6232409Smrg  # Omit some internal or obsolete options to make the list less imposing.
1179e6232409Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1180e6232409Smrg  cat <<_ACEOF
1181e6232409Smrg\`configure' configures xlsfonts 1.0.2 to adapt to many kinds of systems.
1182e6232409Smrg
1183e6232409SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1184e6232409Smrg
1185e6232409SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1186e6232409SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1187e6232409Smrg
1188e6232409SmrgDefaults for the options are specified in brackets.
1189e6232409Smrg
1190e6232409SmrgConfiguration:
1191e6232409Smrg  -h, --help              display this help and exit
1192e6232409Smrg      --help=short        display options specific to this package
1193e6232409Smrg      --help=recursive    display the short help of all the included packages
1194e6232409Smrg  -V, --version           display version information and exit
1195e6232409Smrg  -q, --quiet, --silent   do not print \`checking...' messages
1196e6232409Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1197e6232409Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1198e6232409Smrg  -n, --no-create         do not create output files
1199e6232409Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1200e6232409Smrg
1201e6232409SmrgInstallation directories:
1202e6232409Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1203e6232409Smrg			  [$ac_default_prefix]
1204e6232409Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1205e6232409Smrg			  [PREFIX]
1206e6232409Smrg
1207e6232409SmrgBy default, \`make install' will install all the files in
1208e6232409Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1209e6232409Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1210e6232409Smrgfor instance \`--prefix=\$HOME'.
1211e6232409Smrg
1212e6232409SmrgFor better control, use the options below.
1213e6232409Smrg
1214e6232409SmrgFine tuning of the installation directories:
1215e6232409Smrg  --bindir=DIR           user executables [EPREFIX/bin]
1216e6232409Smrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1217e6232409Smrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
1218e6232409Smrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1219e6232409Smrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1220e6232409Smrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1221e6232409Smrg  --libdir=DIR           object code libraries [EPREFIX/lib]
1222e6232409Smrg  --includedir=DIR       C header files [PREFIX/include]
1223e6232409Smrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1224e6232409Smrg  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1225e6232409Smrg  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1226e6232409Smrg  --infodir=DIR          info documentation [DATAROOTDIR/info]
1227e6232409Smrg  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1228e6232409Smrg  --mandir=DIR           man documentation [DATAROOTDIR/man]
1229e6232409Smrg  --docdir=DIR           documentation root [DATAROOTDIR/doc/xlsfonts]
1230e6232409Smrg  --htmldir=DIR          html documentation [DOCDIR]
1231e6232409Smrg  --dvidir=DIR           dvi documentation [DOCDIR]
1232e6232409Smrg  --pdfdir=DIR           pdf documentation [DOCDIR]
1233e6232409Smrg  --psdir=DIR            ps documentation [DOCDIR]
1234e6232409Smrg_ACEOF
1235e6232409Smrg
1236e6232409Smrg  cat <<\_ACEOF
1237e6232409Smrg
1238e6232409SmrgProgram names:
1239e6232409Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1240e6232409Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1241e6232409Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1242e6232409Smrg
1243e6232409SmrgSystem types:
1244e6232409Smrg  --build=BUILD     configure for building on BUILD [guessed]
1245e6232409Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1246e6232409Smrg_ACEOF
1247e6232409Smrgfi
1248e6232409Smrg
1249e6232409Smrgif test -n "$ac_init_help"; then
1250e6232409Smrg  case $ac_init_help in
1251e6232409Smrg     short | recursive ) echo "Configuration of xlsfonts 1.0.2:";;
1252e6232409Smrg   esac
1253e6232409Smrg  cat <<\_ACEOF
1254e6232409Smrg
1255e6232409SmrgOptional Features:
1256e6232409Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1257e6232409Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1258e6232409Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
1259e6232409Smrg			  (and sometimes confusing) to the casual installer
1260e6232409Smrg  --disable-dependency-tracking  speeds up one-time build
1261e6232409Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
1262e6232409Smrg
1263e6232409SmrgOptional Packages:
1264e6232409Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1265e6232409Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1266e6232409Smrg  --with-release-version=STRING
1267e6232409Smrg                          Use release version string in package name
1268e6232409Smrg
1269e6232409SmrgSome influential environment variables:
1270e6232409Smrg  CC          C compiler command
1271e6232409Smrg  CFLAGS      C compiler flags
1272e6232409Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1273e6232409Smrg              nonstandard directory <lib dir>
1274e6232409Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1275e6232409Smrg              you have headers in a nonstandard directory <include dir>
1276e6232409Smrg  PKG_CONFIG  path to pkg-config utility
1277e6232409Smrg  XLSFONTS_CFLAGS
1278e6232409Smrg              C compiler flags for XLSFONTS, overriding pkg-config
1279e6232409Smrg  XLSFONTS_LIBS
1280e6232409Smrg              linker flags for XLSFONTS, overriding pkg-config
1281e6232409Smrg
1282e6232409SmrgUse these variables to override the choices made by `configure' or to help
1283e6232409Smrgit to find libraries and programs with nonstandard names/locations.
1284e6232409Smrg
1285e6232409SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1286e6232409Smrg_ACEOF
1287e6232409Smrgac_status=$?
1288e6232409Smrgfi
1289e6232409Smrg
1290e6232409Smrgif test "$ac_init_help" = "recursive"; then
1291e6232409Smrg  # If there are subdirs, report their specific --help.
1292e6232409Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1293e6232409Smrg    test -d "$ac_dir" || continue
1294e6232409Smrg    ac_builddir=.
1295e6232409Smrg
1296e6232409Smrgcase "$ac_dir" in
1297e6232409Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1298e6232409Smrg*)
1299e6232409Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1300e6232409Smrg  # A ".." for each directory in $ac_dir_suffix.
1301e6232409Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1302e6232409Smrg  case $ac_top_builddir_sub in
1303e6232409Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1304e6232409Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1305e6232409Smrg  esac ;;
1306e6232409Smrgesac
1307e6232409Smrgac_abs_top_builddir=$ac_pwd
1308e6232409Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1309e6232409Smrg# for backward compatibility:
1310e6232409Smrgac_top_builddir=$ac_top_build_prefix
1311e6232409Smrg
1312e6232409Smrgcase $srcdir in
1313e6232409Smrg  .)  # We are building in place.
1314e6232409Smrg    ac_srcdir=.
1315e6232409Smrg    ac_top_srcdir=$ac_top_builddir_sub
1316e6232409Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1317e6232409Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1318e6232409Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
1319e6232409Smrg    ac_top_srcdir=$srcdir
1320e6232409Smrg    ac_abs_top_srcdir=$srcdir ;;
1321e6232409Smrg  *) # Relative name.
1322e6232409Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1323e6232409Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1324e6232409Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1325e6232409Smrgesac
1326e6232409Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1327e6232409Smrg
1328e6232409Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
1329e6232409Smrg    # Check for guested configure.
1330e6232409Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1331e6232409Smrg      echo &&
1332e6232409Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1333e6232409Smrg    elif test -f "$ac_srcdir/configure"; then
1334e6232409Smrg      echo &&
1335e6232409Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1336e6232409Smrg    else
1337e6232409Smrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1338e6232409Smrg    fi || ac_status=$?
1339e6232409Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1340e6232409Smrg  done
1341e6232409Smrgfi
1342e6232409Smrg
1343e6232409Smrgtest -n "$ac_init_help" && exit $ac_status
1344e6232409Smrgif $ac_init_version; then
1345e6232409Smrg  cat <<\_ACEOF
1346e6232409Smrgxlsfonts configure 1.0.2
1347e6232409Smrggenerated by GNU Autoconf 2.60
1348e6232409Smrg
1349e6232409SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1350e6232409Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1351e6232409SmrgThis configure script is free software; the Free Software Foundation
1352e6232409Smrggives unlimited permission to copy, distribute and modify it.
1353e6232409Smrg_ACEOF
1354e6232409Smrg  exit
1355e6232409Smrgfi
1356e6232409Smrgcat >config.log <<_ACEOF
1357e6232409SmrgThis file contains any messages produced by compilers while
1358e6232409Smrgrunning configure, to aid debugging if configure makes a mistake.
1359e6232409Smrg
1360e6232409SmrgIt was created by xlsfonts $as_me 1.0.2, which was
1361e6232409Smrggenerated by GNU Autoconf 2.60.  Invocation command line was
1362e6232409Smrg
1363e6232409Smrg  $ $0 $@
1364e6232409Smrg
1365e6232409Smrg_ACEOF
1366e6232409Smrgexec 5>>config.log
1367e6232409Smrg{
1368e6232409Smrgcat <<_ASUNAME
1369e6232409Smrg## --------- ##
1370e6232409Smrg## Platform. ##
1371e6232409Smrg## --------- ##
1372e6232409Smrg
1373e6232409Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1374e6232409Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1375e6232409Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1376e6232409Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1377e6232409Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1378e6232409Smrg
1379e6232409Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1380e6232409Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1381e6232409Smrg
1382e6232409Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1383e6232409Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1384e6232409Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1385e6232409Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1386e6232409Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1387e6232409Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1388e6232409Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1389e6232409Smrg
1390e6232409Smrg_ASUNAME
1391e6232409Smrg
1392e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393e6232409Smrgfor as_dir in $PATH
1394e6232409Smrgdo
1395e6232409Smrg  IFS=$as_save_IFS
1396e6232409Smrg  test -z "$as_dir" && as_dir=.
1397e6232409Smrg  echo "PATH: $as_dir"
1398e6232409Smrgdone
1399e6232409SmrgIFS=$as_save_IFS
1400e6232409Smrg
1401e6232409Smrg} >&5
1402e6232409Smrg
1403e6232409Smrgcat >&5 <<_ACEOF
1404e6232409Smrg
1405e6232409Smrg
1406e6232409Smrg## ----------- ##
1407e6232409Smrg## Core tests. ##
1408e6232409Smrg## ----------- ##
1409e6232409Smrg
1410e6232409Smrg_ACEOF
1411e6232409Smrg
1412e6232409Smrg
1413e6232409Smrg# Keep a trace of the command line.
1414e6232409Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1415e6232409Smrg# Strip out --silent because we don't want to record it for future runs.
1416e6232409Smrg# Also quote any args containing shell meta-characters.
1417e6232409Smrg# Make two passes to allow for proper duplicate-argument suppression.
1418e6232409Smrgac_configure_args=
1419e6232409Smrgac_configure_args0=
1420e6232409Smrgac_configure_args1=
1421e6232409Smrgac_must_keep_next=false
1422e6232409Smrgfor ac_pass in 1 2
1423e6232409Smrgdo
1424e6232409Smrg  for ac_arg
1425e6232409Smrg  do
1426e6232409Smrg    case $ac_arg in
1427e6232409Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1428e6232409Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1429e6232409Smrg    | -silent | --silent | --silen | --sile | --sil)
1430e6232409Smrg      continue ;;
1431e6232409Smrg    *\'*)
1432e6232409Smrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1433e6232409Smrg    esac
1434e6232409Smrg    case $ac_pass in
1435e6232409Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1436e6232409Smrg    2)
1437e6232409Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1438e6232409Smrg      if test $ac_must_keep_next = true; then
1439e6232409Smrg	ac_must_keep_next=false # Got value, back to normal.
1440e6232409Smrg      else
1441e6232409Smrg	case $ac_arg in
1442e6232409Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1443e6232409Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1444e6232409Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1445e6232409Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1446e6232409Smrg	    case "$ac_configure_args0 " in
1447e6232409Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1448e6232409Smrg	    esac
1449e6232409Smrg	    ;;
1450e6232409Smrg	  -* ) ac_must_keep_next=true ;;
1451e6232409Smrg	esac
1452e6232409Smrg      fi
1453e6232409Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
1454e6232409Smrg      ;;
1455e6232409Smrg    esac
1456e6232409Smrg  done
1457e6232409Smrgdone
1458e6232409Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1459e6232409Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1460e6232409Smrg
1461e6232409Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1462e6232409Smrg# config.log.  We remove comments because anyway the quotes in there
1463e6232409Smrg# would cause problems or look ugly.
1464e6232409Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1465e6232409Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1466e6232409Smrgtrap 'exit_status=$?
1467e6232409Smrg  # Save into config.log some information that might help in debugging.
1468e6232409Smrg  {
1469e6232409Smrg    echo
1470e6232409Smrg
1471e6232409Smrg    cat <<\_ASBOX
1472e6232409Smrg## ---------------- ##
1473e6232409Smrg## Cache variables. ##
1474e6232409Smrg## ---------------- ##
1475e6232409Smrg_ASBOX
1476e6232409Smrg    echo
1477e6232409Smrg    # The following way of writing the cache mishandles newlines in values,
1478e6232409Smrg(
1479e6232409Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1480e6232409Smrg    eval ac_val=\$$ac_var
1481e6232409Smrg    case $ac_val in #(
1482e6232409Smrg    *${as_nl}*)
1483e6232409Smrg      case $ac_var in #(
1484e6232409Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1485e6232409Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1486e6232409Smrg      esac
1487e6232409Smrg      case $ac_var in #(
1488e6232409Smrg      _ | IFS | as_nl) ;; #(
1489e6232409Smrg      *) $as_unset $ac_var ;;
1490e6232409Smrg      esac ;;
1491e6232409Smrg    esac
1492e6232409Smrg  done
1493e6232409Smrg  (set) 2>&1 |
1494e6232409Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1495e6232409Smrg    *${as_nl}ac_space=\ *)
1496e6232409Smrg      sed -n \
1497e6232409Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1498e6232409Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1499e6232409Smrg      ;; #(
1500e6232409Smrg    *)
1501e6232409Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1502e6232409Smrg      ;;
1503e6232409Smrg    esac |
1504e6232409Smrg    sort
1505e6232409Smrg)
1506e6232409Smrg    echo
1507e6232409Smrg
1508e6232409Smrg    cat <<\_ASBOX
1509e6232409Smrg## ----------------- ##
1510e6232409Smrg## Output variables. ##
1511e6232409Smrg## ----------------- ##
1512e6232409Smrg_ASBOX
1513e6232409Smrg    echo
1514e6232409Smrg    for ac_var in $ac_subst_vars
1515e6232409Smrg    do
1516e6232409Smrg      eval ac_val=\$$ac_var
1517e6232409Smrg      case $ac_val in
1518e6232409Smrg      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1519e6232409Smrg      esac
1520e6232409Smrg      echo "$ac_var='\''$ac_val'\''"
1521e6232409Smrg    done | sort
1522e6232409Smrg    echo
1523e6232409Smrg
1524e6232409Smrg    if test -n "$ac_subst_files"; then
1525e6232409Smrg      cat <<\_ASBOX
1526e6232409Smrg## ------------------- ##
1527e6232409Smrg## File substitutions. ##
1528e6232409Smrg## ------------------- ##
1529e6232409Smrg_ASBOX
1530e6232409Smrg      echo
1531e6232409Smrg      for ac_var in $ac_subst_files
1532e6232409Smrg      do
1533e6232409Smrg	eval ac_val=\$$ac_var
1534e6232409Smrg	case $ac_val in
1535e6232409Smrg	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1536e6232409Smrg	esac
1537e6232409Smrg	echo "$ac_var='\''$ac_val'\''"
1538e6232409Smrg      done | sort
1539e6232409Smrg      echo
1540e6232409Smrg    fi
1541e6232409Smrg
1542e6232409Smrg    if test -s confdefs.h; then
1543e6232409Smrg      cat <<\_ASBOX
1544e6232409Smrg## ----------- ##
1545e6232409Smrg## confdefs.h. ##
1546e6232409Smrg## ----------- ##
1547e6232409Smrg_ASBOX
1548e6232409Smrg      echo
1549e6232409Smrg      cat confdefs.h
1550e6232409Smrg      echo
1551e6232409Smrg    fi
1552e6232409Smrg    test "$ac_signal" != 0 &&
1553e6232409Smrg      echo "$as_me: caught signal $ac_signal"
1554e6232409Smrg    echo "$as_me: exit $exit_status"
1555e6232409Smrg  } >&5
1556e6232409Smrg  rm -f core *.core core.conftest.* &&
1557e6232409Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1558e6232409Smrg    exit $exit_status
1559e6232409Smrg' 0
1560e6232409Smrgfor ac_signal in 1 2 13 15; do
1561e6232409Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1562e6232409Smrgdone
1563e6232409Smrgac_signal=0
1564e6232409Smrg
1565e6232409Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1566e6232409Smrgrm -f -r conftest* confdefs.h
1567e6232409Smrg
1568e6232409Smrg# Predefined preprocessor variables.
1569e6232409Smrg
1570e6232409Smrgcat >>confdefs.h <<_ACEOF
1571e6232409Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
1572e6232409Smrg_ACEOF
1573e6232409Smrg
1574e6232409Smrg
1575e6232409Smrgcat >>confdefs.h <<_ACEOF
1576e6232409Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1577e6232409Smrg_ACEOF
1578e6232409Smrg
1579e6232409Smrg
1580e6232409Smrgcat >>confdefs.h <<_ACEOF
1581e6232409Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1582e6232409Smrg_ACEOF
1583e6232409Smrg
1584e6232409Smrg
1585e6232409Smrgcat >>confdefs.h <<_ACEOF
1586e6232409Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
1587e6232409Smrg_ACEOF
1588e6232409Smrg
1589e6232409Smrg
1590e6232409Smrgcat >>confdefs.h <<_ACEOF
1591e6232409Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1592e6232409Smrg_ACEOF
1593e6232409Smrg
1594e6232409Smrg
1595e6232409Smrg# Let the site file select an alternate cache file if it wants to.
1596e6232409Smrg# Prefer explicitly selected file to automatically selected ones.
1597e6232409Smrgif test -n "$CONFIG_SITE"; then
1598e6232409Smrg  set x "$CONFIG_SITE"
1599e6232409Smrgelif test "x$prefix" != xNONE; then
1600e6232409Smrg  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1601e6232409Smrgelse
1602e6232409Smrg  set x "$ac_default_prefix/share/config.site" \
1603e6232409Smrg	"$ac_default_prefix/etc/config.site"
1604e6232409Smrgfi
1605e6232409Smrgshift
1606e6232409Smrgfor ac_site_file
1607e6232409Smrgdo
1608e6232409Smrg  if test -r "$ac_site_file"; then
1609e6232409Smrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1610e6232409Smrgecho "$as_me: loading site script $ac_site_file" >&6;}
1611e6232409Smrg    sed 's/^/| /' "$ac_site_file" >&5
1612e6232409Smrg    . "$ac_site_file"
1613e6232409Smrg  fi
1614e6232409Smrgdone
1615e6232409Smrg
1616e6232409Smrgif test -r "$cache_file"; then
1617e6232409Smrg  # Some versions of bash will fail to source /dev/null (special
1618e6232409Smrg  # files actually), so we avoid doing that.
1619e6232409Smrg  if test -f "$cache_file"; then
1620e6232409Smrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1621e6232409Smrgecho "$as_me: loading cache $cache_file" >&6;}
1622e6232409Smrg    case $cache_file in
1623e6232409Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1624e6232409Smrg      *)                      . "./$cache_file";;
1625e6232409Smrg    esac
1626e6232409Smrg  fi
1627e6232409Smrgelse
1628e6232409Smrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1629e6232409Smrgecho "$as_me: creating cache $cache_file" >&6;}
1630e6232409Smrg  >$cache_file
1631e6232409Smrgfi
1632e6232409Smrg
1633e6232409Smrg# Check that the precious variables saved in the cache have kept the same
1634e6232409Smrg# value.
1635e6232409Smrgac_cache_corrupted=false
1636e6232409Smrgfor ac_var in $ac_precious_vars; do
1637e6232409Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1638e6232409Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
1639e6232409Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1640e6232409Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1641e6232409Smrg  case $ac_old_set,$ac_new_set in
1642e6232409Smrg    set,)
1643e6232409Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1644e6232409Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1645e6232409Smrg      ac_cache_corrupted=: ;;
1646e6232409Smrg    ,set)
1647e6232409Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1648e6232409Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1649e6232409Smrg      ac_cache_corrupted=: ;;
1650e6232409Smrg    ,);;
1651e6232409Smrg    *)
1652e6232409Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1653e6232409Smrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1654e6232409Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1655e6232409Smrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1656e6232409Smrgecho "$as_me:   former value:  $ac_old_val" >&2;}
1657e6232409Smrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1658e6232409Smrgecho "$as_me:   current value: $ac_new_val" >&2;}
1659e6232409Smrg	ac_cache_corrupted=:
1660e6232409Smrg      fi;;
1661e6232409Smrg  esac
1662e6232409Smrg  # Pass precious variables to config.status.
1663e6232409Smrg  if test "$ac_new_set" = set; then
1664e6232409Smrg    case $ac_new_val in
1665e6232409Smrg    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1666e6232409Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1667e6232409Smrg    esac
1668e6232409Smrg    case " $ac_configure_args " in
1669e6232409Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1670e6232409Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1671e6232409Smrg    esac
1672e6232409Smrg  fi
1673e6232409Smrgdone
1674e6232409Smrgif $ac_cache_corrupted; then
1675e6232409Smrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1676e6232409Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
1677e6232409Smrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1678e6232409Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1679e6232409Smrg   { (exit 1); exit 1; }; }
1680e6232409Smrgfi
1681e6232409Smrg
1682e6232409Smrg
1683e6232409Smrg
1684e6232409Smrg
1685e6232409Smrg
1686e6232409Smrg
1687e6232409Smrg
1688e6232409Smrg
1689e6232409Smrg
1690e6232409Smrg
1691e6232409Smrg
1692e6232409Smrg
1693e6232409Smrg
1694e6232409Smrg
1695e6232409Smrg
1696e6232409Smrg
1697e6232409Smrg
1698e6232409Smrg
1699e6232409Smrg
1700e6232409Smrg
1701e6232409Smrg
1702e6232409Smrg
1703e6232409Smrg
1704e6232409Smrg
1705e6232409Smrg
1706e6232409Smrgac_ext=c
1707e6232409Smrgac_cpp='$CPP $CPPFLAGS'
1708e6232409Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1709e6232409Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1710e6232409Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1711e6232409Smrg
1712e6232409Smrg
1713e6232409Smrgam__api_version="1.9"
1714e6232409Smrgac_aux_dir=
1715e6232409Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1716e6232409Smrg  if test -f "$ac_dir/install-sh"; then
1717e6232409Smrg    ac_aux_dir=$ac_dir
1718e6232409Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1719e6232409Smrg    break
1720e6232409Smrg  elif test -f "$ac_dir/install.sh"; then
1721e6232409Smrg    ac_aux_dir=$ac_dir
1722e6232409Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1723e6232409Smrg    break
1724e6232409Smrg  elif test -f "$ac_dir/shtool"; then
1725e6232409Smrg    ac_aux_dir=$ac_dir
1726e6232409Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1727e6232409Smrg    break
1728e6232409Smrg  fi
1729e6232409Smrgdone
1730e6232409Smrgif test -z "$ac_aux_dir"; then
1731e6232409Smrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1732e6232409Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1733e6232409Smrg   { (exit 1); exit 1; }; }
1734e6232409Smrgfi
1735e6232409Smrg
1736e6232409Smrg# These three variables are undocumented and unsupported,
1737e6232409Smrg# and are intended to be withdrawn in a future Autoconf release.
1738e6232409Smrg# They can cause serious problems if a builder's source tree is in a directory
1739e6232409Smrg# whose full name contains unusual characters.
1740e6232409Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1741e6232409Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1742e6232409Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1743e6232409Smrg
1744e6232409Smrg
1745e6232409Smrg# Find a good install program.  We prefer a C program (faster),
1746e6232409Smrg# so one script is as good as another.  But avoid the broken or
1747e6232409Smrg# incompatible versions:
1748e6232409Smrg# SysV /etc/install, /usr/sbin/install
1749e6232409Smrg# SunOS /usr/etc/install
1750e6232409Smrg# IRIX /sbin/install
1751e6232409Smrg# AIX /bin/install
1752e6232409Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1753e6232409Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1754e6232409Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1755e6232409Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1756e6232409Smrg# OS/2's system install, which has a completely different semantic
1757e6232409Smrg# ./install, which can be erroneously created by make from ./install.sh.
1758e6232409Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1759e6232409Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1760e6232409Smrgif test -z "$INSTALL"; then
1761e6232409Smrgif test "${ac_cv_path_install+set}" = set; then
1762e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1763e6232409Smrgelse
1764e6232409Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1765e6232409Smrgfor as_dir in $PATH
1766e6232409Smrgdo
1767e6232409Smrg  IFS=$as_save_IFS
1768e6232409Smrg  test -z "$as_dir" && as_dir=.
1769e6232409Smrg  # Account for people who put trailing slashes in PATH elements.
1770e6232409Smrgcase $as_dir/ in
1771e6232409Smrg  ./ | .// | /cC/* | \
1772e6232409Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1773e6232409Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1774e6232409Smrg  /usr/ucb/* ) ;;
1775e6232409Smrg  *)
1776e6232409Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1777e6232409Smrg    # Don't use installbsd from OSF since it installs stuff as root
1778e6232409Smrg    # by default.
1779e6232409Smrg    for ac_prog in ginstall scoinst install; do
1780e6232409Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
1781e6232409Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1782e6232409Smrg	  if test $ac_prog = install &&
1783e6232409Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1784e6232409Smrg	    # AIX install.  It has an incompatible calling convention.
1785e6232409Smrg	    :
1786e6232409Smrg	  elif test $ac_prog = install &&
1787e6232409Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1788e6232409Smrg	    # program-specific install script used by HP pwplus--don't use.
1789e6232409Smrg	    :
1790e6232409Smrg	  else
1791e6232409Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1792e6232409Smrg	    break 3
1793e6232409Smrg	  fi
1794e6232409Smrg	fi
1795e6232409Smrg      done
1796e6232409Smrg    done
1797e6232409Smrg    ;;
1798e6232409Smrgesac
1799e6232409Smrgdone
1800e6232409SmrgIFS=$as_save_IFS
1801e6232409Smrg
1802e6232409Smrg
1803e6232409Smrgfi
1804e6232409Smrg  if test "${ac_cv_path_install+set}" = set; then
1805e6232409Smrg    INSTALL=$ac_cv_path_install
1806e6232409Smrg  else
1807e6232409Smrg    # As a last resort, use the slow shell script.  Don't cache a
1808e6232409Smrg    # value for INSTALL within a source directory, because that will
1809e6232409Smrg    # break other packages using the cache if that directory is
1810e6232409Smrg    # removed, or if the value is a relative name.
1811e6232409Smrg    INSTALL=$ac_install_sh
1812e6232409Smrg  fi
1813e6232409Smrgfi
1814e6232409Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1815e6232409Smrgecho "${ECHO_T}$INSTALL" >&6; }
1816e6232409Smrg
1817e6232409Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1818e6232409Smrg# It thinks the first close brace ends the variable substitution.
1819e6232409Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1820e6232409Smrg
1821e6232409Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1822e6232409Smrg
1823e6232409Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1824e6232409Smrg
1825e6232409Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1826e6232409Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1827e6232409Smrg# Just in case
1828e6232409Smrgsleep 1
1829e6232409Smrgecho timestamp > conftest.file
1830e6232409Smrg# Do `set' in a subshell so we don't clobber the current shell's
1831e6232409Smrg# arguments.  Must try -L first in case configure is actually a
1832e6232409Smrg# symlink; some systems play weird games with the mod time of symlinks
1833e6232409Smrg# (eg FreeBSD returns the mod time of the symlink's containing
1834e6232409Smrg# directory).
1835e6232409Smrgif (
1836e6232409Smrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1837e6232409Smrg   if test "$*" = "X"; then
1838e6232409Smrg      # -L didn't work.
1839e6232409Smrg      set X `ls -t $srcdir/configure conftest.file`
1840e6232409Smrg   fi
1841e6232409Smrg   rm -f conftest.file
1842e6232409Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
1843e6232409Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
1844e6232409Smrg
1845e6232409Smrg      # If neither matched, then we have a broken ls.  This can happen
1846e6232409Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
1847e6232409Smrg      # broken ls alias from the environment.  This has actually
1848e6232409Smrg      # happened.  Such a system could not be considered "sane".
1849e6232409Smrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1850e6232409Smrgalias in your environment" >&5
1851e6232409Smrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1852e6232409Smrgalias in your environment" >&2;}
1853e6232409Smrg   { (exit 1); exit 1; }; }
1854e6232409Smrg   fi
1855e6232409Smrg
1856e6232409Smrg   test "$2" = conftest.file
1857e6232409Smrg   )
1858e6232409Smrgthen
1859e6232409Smrg   # Ok.
1860e6232409Smrg   :
1861e6232409Smrgelse
1862e6232409Smrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1863e6232409SmrgCheck your system clock" >&5
1864e6232409Smrgecho "$as_me: error: newly created file is older than distributed files!
1865e6232409SmrgCheck your system clock" >&2;}
1866e6232409Smrg   { (exit 1); exit 1; }; }
1867e6232409Smrgfi
1868e6232409Smrg{ echo "$as_me:$LINENO: result: yes" >&5
1869e6232409Smrgecho "${ECHO_T}yes" >&6; }
1870e6232409Smrgtest "$program_prefix" != NONE &&
1871e6232409Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1872e6232409Smrg# Use a double $ so make ignores it.
1873e6232409Smrgtest "$program_suffix" != NONE &&
1874e6232409Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1875e6232409Smrg# Double any \ or $.  echo might interpret backslashes.
1876e6232409Smrg# By default was `s,x,x', remove it if useless.
1877e6232409Smrgcat <<\_ACEOF >conftest.sed
1878e6232409Smrgs/[\\$]/&&/g;s/;s,x,x,$//
1879e6232409Smrg_ACEOF
1880e6232409Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1881e6232409Smrgrm -f conftest.sed
1882e6232409Smrg
1883e6232409Smrg# expand $ac_aux_dir to an absolute path
1884e6232409Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
1885e6232409Smrg
1886e6232409Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1887e6232409Smrg# Use eval to expand $SHELL
1888e6232409Smrgif eval "$MISSING --run true"; then
1889e6232409Smrg  am_missing_run="$MISSING --run "
1890e6232409Smrgelse
1891e6232409Smrg  am_missing_run=
1892e6232409Smrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1893e6232409Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1894e6232409Smrgfi
1895e6232409Smrg
1896e6232409Smrgif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1897e6232409Smrg  # We used to keeping the `.' as first argument, in order to
1898e6232409Smrg  # allow $(mkdir_p) to be used without argument.  As in
1899e6232409Smrg  #   $(mkdir_p) $(somedir)
1900e6232409Smrg  # where $(somedir) is conditionally defined.  However this is wrong
1901e6232409Smrg  # for two reasons:
1902e6232409Smrg  #  1. if the package is installed by a user who cannot write `.'
1903e6232409Smrg  #     make install will fail,
1904e6232409Smrg  #  2. the above comment should most certainly read
1905e6232409Smrg  #     $(mkdir_p) $(DESTDIR)$(somedir)
1906e6232409Smrg  #     so it does not work when $(somedir) is undefined and
1907e6232409Smrg  #     $(DESTDIR) is not.
1908e6232409Smrg  #  To support the latter case, we have to write
1909e6232409Smrg  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1910e6232409Smrg  #  so the `.' trick is pointless.
1911e6232409Smrg  mkdir_p='mkdir -p --'
1912e6232409Smrgelse
1913e6232409Smrg  # On NextStep and OpenStep, the `mkdir' command does not
1914e6232409Smrg  # recognize any option.  It will interpret all options as
1915e6232409Smrg  # directories to create, and then abort because `.' already
1916e6232409Smrg  # exists.
1917e6232409Smrg  for d in ./-p ./--version;
1918e6232409Smrg  do
1919e6232409Smrg    test -d $d && rmdir $d
1920e6232409Smrg  done
1921e6232409Smrg  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1922e6232409Smrg  if test -f "$ac_aux_dir/mkinstalldirs"; then
1923e6232409Smrg    mkdir_p='$(mkinstalldirs)'
1924e6232409Smrg  else
1925e6232409Smrg    mkdir_p='$(install_sh) -d'
1926e6232409Smrg  fi
1927e6232409Smrgfi
1928e6232409Smrg
1929e6232409Smrgfor ac_prog in gawk mawk nawk awk
1930e6232409Smrgdo
1931e6232409Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
1932e6232409Smrgset dummy $ac_prog; ac_word=$2
1933e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1934e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1935e6232409Smrgif test "${ac_cv_prog_AWK+set}" = set; then
1936e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1937e6232409Smrgelse
1938e6232409Smrg  if test -n "$AWK"; then
1939e6232409Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1940e6232409Smrgelse
1941e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942e6232409Smrgfor as_dir in $PATH
1943e6232409Smrgdo
1944e6232409Smrg  IFS=$as_save_IFS
1945e6232409Smrg  test -z "$as_dir" && as_dir=.
1946e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1947e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1948e6232409Smrg    ac_cv_prog_AWK="$ac_prog"
1949e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950e6232409Smrg    break 2
1951e6232409Smrg  fi
1952e6232409Smrgdone
1953e6232409Smrgdone
1954e6232409SmrgIFS=$as_save_IFS
1955e6232409Smrg
1956e6232409Smrgfi
1957e6232409Smrgfi
1958e6232409SmrgAWK=$ac_cv_prog_AWK
1959e6232409Smrgif test -n "$AWK"; then
1960e6232409Smrg  { echo "$as_me:$LINENO: result: $AWK" >&5
1961e6232409Smrgecho "${ECHO_T}$AWK" >&6; }
1962e6232409Smrgelse
1963e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
1964e6232409Smrgecho "${ECHO_T}no" >&6; }
1965e6232409Smrgfi
1966e6232409Smrg
1967e6232409Smrg
1968e6232409Smrg  test -n "$AWK" && break
1969e6232409Smrgdone
1970e6232409Smrg
1971e6232409Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1972e6232409Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1973e6232409Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1974e6232409Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1975e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1976e6232409Smrgelse
1977e6232409Smrg  cat >conftest.make <<\_ACEOF
1978e6232409SmrgSHELL = /bin/sh
1979e6232409Smrgall:
1980e6232409Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
1981e6232409Smrg_ACEOF
1982e6232409Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1983e6232409Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
1984e6232409Smrg  *@@@%%%=?*=@@@%%%*)
1985e6232409Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
1986e6232409Smrg  *)
1987e6232409Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
1988e6232409Smrgesac
1989e6232409Smrgrm -f conftest.make
1990e6232409Smrgfi
1991e6232409Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1992e6232409Smrg  { echo "$as_me:$LINENO: result: yes" >&5
1993e6232409Smrgecho "${ECHO_T}yes" >&6; }
1994e6232409Smrg  SET_MAKE=
1995e6232409Smrgelse
1996e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
1997e6232409Smrgecho "${ECHO_T}no" >&6; }
1998e6232409Smrg  SET_MAKE="MAKE=${MAKE-make}"
1999e6232409Smrgfi
2000e6232409Smrg
2001e6232409Smrgrm -rf .tst 2>/dev/null
2002e6232409Smrgmkdir .tst 2>/dev/null
2003e6232409Smrgif test -d .tst; then
2004e6232409Smrg  am__leading_dot=.
2005e6232409Smrgelse
2006e6232409Smrg  am__leading_dot=_
2007e6232409Smrgfi
2008e6232409Smrgrmdir .tst 2>/dev/null
2009e6232409Smrg
2010e6232409Smrg# test to see if srcdir already configured
2011e6232409Smrgif test "`cd $srcdir && pwd`" != "`pwd`" &&
2012e6232409Smrg   test -f $srcdir/config.status; then
2013e6232409Smrg  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2014e6232409Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2015e6232409Smrg   { (exit 1); exit 1; }; }
2016e6232409Smrgfi
2017e6232409Smrg
2018e6232409Smrg# test whether we have cygpath
2019e6232409Smrgif test -z "$CYGPATH_W"; then
2020e6232409Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2021e6232409Smrg    CYGPATH_W='cygpath -w'
2022e6232409Smrg  else
2023e6232409Smrg    CYGPATH_W=echo
2024e6232409Smrg  fi
2025e6232409Smrgfi
2026e6232409Smrg
2027e6232409Smrg
2028e6232409Smrg# Define the identity of the package.
2029e6232409Smrg PACKAGE='xlsfonts'
2030e6232409Smrg VERSION='1.0.2'
2031e6232409Smrg
2032e6232409Smrg
2033e6232409Smrgcat >>confdefs.h <<_ACEOF
2034e6232409Smrg#define PACKAGE "$PACKAGE"
2035e6232409Smrg_ACEOF
2036e6232409Smrg
2037e6232409Smrg
2038e6232409Smrgcat >>confdefs.h <<_ACEOF
2039e6232409Smrg#define VERSION "$VERSION"
2040e6232409Smrg_ACEOF
2041e6232409Smrg
2042e6232409Smrg# Some tools Automake needs.
2043e6232409Smrg
2044e6232409SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2045e6232409Smrg
2046e6232409Smrg
2047e6232409SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2048e6232409Smrg
2049e6232409Smrg
2050e6232409SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2051e6232409Smrg
2052e6232409Smrg
2053e6232409SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2054e6232409Smrg
2055e6232409Smrg
2056e6232409SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2057e6232409Smrg
2058e6232409Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"}
2059e6232409Smrg
2060e6232409Smrg# Installed binaries are usually stripped using `strip' when the user
2061e6232409Smrg# run `make install-strip'.  However `strip' might not be the right
2062e6232409Smrg# tool to use in cross-compilation environments, therefore Automake
2063e6232409Smrg# will honor the `STRIP' environment variable to overrule this program.
2064e6232409Smrgif test "$cross_compiling" != no; then
2065e6232409Smrg  if test -n "$ac_tool_prefix"; then
2066e6232409Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2067e6232409Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
2068e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2069e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070e6232409Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
2071e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2072e6232409Smrgelse
2073e6232409Smrg  if test -n "$STRIP"; then
2074e6232409Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2075e6232409Smrgelse
2076e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077e6232409Smrgfor as_dir in $PATH
2078e6232409Smrgdo
2079e6232409Smrg  IFS=$as_save_IFS
2080e6232409Smrg  test -z "$as_dir" && as_dir=.
2081e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2082e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2083e6232409Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2084e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085e6232409Smrg    break 2
2086e6232409Smrg  fi
2087e6232409Smrgdone
2088e6232409Smrgdone
2089e6232409SmrgIFS=$as_save_IFS
2090e6232409Smrg
2091e6232409Smrgfi
2092e6232409Smrgfi
2093e6232409SmrgSTRIP=$ac_cv_prog_STRIP
2094e6232409Smrgif test -n "$STRIP"; then
2095e6232409Smrg  { echo "$as_me:$LINENO: result: $STRIP" >&5
2096e6232409Smrgecho "${ECHO_T}$STRIP" >&6; }
2097e6232409Smrgelse
2098e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
2099e6232409Smrgecho "${ECHO_T}no" >&6; }
2100e6232409Smrgfi
2101e6232409Smrg
2102e6232409Smrg
2103e6232409Smrgfi
2104e6232409Smrgif test -z "$ac_cv_prog_STRIP"; then
2105e6232409Smrg  ac_ct_STRIP=$STRIP
2106e6232409Smrg  # Extract the first word of "strip", so it can be a program name with args.
2107e6232409Smrgset dummy strip; ac_word=$2
2108e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2109e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110e6232409Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2111e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2112e6232409Smrgelse
2113e6232409Smrg  if test -n "$ac_ct_STRIP"; then
2114e6232409Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2115e6232409Smrgelse
2116e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117e6232409Smrgfor as_dir in $PATH
2118e6232409Smrgdo
2119e6232409Smrg  IFS=$as_save_IFS
2120e6232409Smrg  test -z "$as_dir" && as_dir=.
2121e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2122e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2123e6232409Smrg    ac_cv_prog_ac_ct_STRIP="strip"
2124e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125e6232409Smrg    break 2
2126e6232409Smrg  fi
2127e6232409Smrgdone
2128e6232409Smrgdone
2129e6232409SmrgIFS=$as_save_IFS
2130e6232409Smrg
2131e6232409Smrgfi
2132e6232409Smrgfi
2133e6232409Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2134e6232409Smrgif test -n "$ac_ct_STRIP"; then
2135e6232409Smrg  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2136e6232409Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; }
2137e6232409Smrgelse
2138e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
2139e6232409Smrgecho "${ECHO_T}no" >&6; }
2140e6232409Smrgfi
2141e6232409Smrg
2142e6232409Smrg  if test "x$ac_ct_STRIP" = x; then
2143e6232409Smrg    STRIP=":"
2144e6232409Smrg  else
2145e6232409Smrg    case $cross_compiling:$ac_tool_warned in
2146e6232409Smrgyes:)
2147e6232409Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148e6232409Smrgwhose name does not start with the host triplet.  If you think this
2149e6232409Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
2150e6232409Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151e6232409Smrgwhose name does not start with the host triplet.  If you think this
2152e6232409Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
2153e6232409Smrgac_tool_warned=yes ;;
2154e6232409Smrgesac
2155e6232409Smrg    STRIP=$ac_ct_STRIP
2156e6232409Smrg  fi
2157e6232409Smrgelse
2158e6232409Smrg  STRIP="$ac_cv_prog_STRIP"
2159e6232409Smrgfi
2160e6232409Smrg
2161e6232409Smrgfi
2162e6232409SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2163e6232409Smrg
2164e6232409Smrg# We need awk for the "check" target.  The system "awk" is bad on
2165e6232409Smrg# some platforms.
2166e6232409Smrg# Always define AMTAR for backward compatibility.
2167e6232409Smrg
2168e6232409SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2169e6232409Smrg
2170e6232409Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2171e6232409Smrg
2172e6232409Smrg
2173e6232409Smrg
2174e6232409Smrg
2175e6232409Smrg
2176e6232409Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2177e6232409Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2178e6232409Smrg    # Check whether --enable-maintainer-mode was given.
2179e6232409Smrgif test "${enable_maintainer_mode+set}" = set; then
2180e6232409Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2181e6232409Smrgelse
2182e6232409Smrg  USE_MAINTAINER_MODE=no
2183e6232409Smrgfi
2184e6232409Smrg
2185e6232409Smrg  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2186e6232409Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2187e6232409Smrg
2188e6232409Smrg
2189e6232409Smrgif test $USE_MAINTAINER_MODE = yes; then
2190e6232409Smrg  MAINTAINER_MODE_TRUE=
2191e6232409Smrg  MAINTAINER_MODE_FALSE='#'
2192e6232409Smrgelse
2193e6232409Smrg  MAINTAINER_MODE_TRUE='#'
2194e6232409Smrg  MAINTAINER_MODE_FALSE=
2195e6232409Smrgfi
2196e6232409Smrg
2197e6232409Smrg  MAINT=$MAINTAINER_MODE_TRUE
2198e6232409Smrg
2199e6232409Smrg
2200e6232409Smrg
2201e6232409Smrgac_config_headers="$ac_config_headers config.h"
2202e6232409Smrg
2203e6232409Smrg
2204e6232409Smrgac_ext=c
2205e6232409Smrgac_cpp='$CPP $CPPFLAGS'
2206e6232409Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207e6232409Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208e6232409Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2209e6232409Smrgif test -n "$ac_tool_prefix"; then
2210e6232409Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2211e6232409Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
2212e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2213e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2214e6232409Smrgif test "${ac_cv_prog_CC+set}" = set; then
2215e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2216e6232409Smrgelse
2217e6232409Smrg  if test -n "$CC"; then
2218e6232409Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2219e6232409Smrgelse
2220e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221e6232409Smrgfor as_dir in $PATH
2222e6232409Smrgdo
2223e6232409Smrg  IFS=$as_save_IFS
2224e6232409Smrg  test -z "$as_dir" && as_dir=.
2225e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2226e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2227e6232409Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2228e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229e6232409Smrg    break 2
2230e6232409Smrg  fi
2231e6232409Smrgdone
2232e6232409Smrgdone
2233e6232409SmrgIFS=$as_save_IFS
2234e6232409Smrg
2235e6232409Smrgfi
2236e6232409Smrgfi
2237e6232409SmrgCC=$ac_cv_prog_CC
2238e6232409Smrgif test -n "$CC"; then
2239e6232409Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
2240e6232409Smrgecho "${ECHO_T}$CC" >&6; }
2241e6232409Smrgelse
2242e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
2243e6232409Smrgecho "${ECHO_T}no" >&6; }
2244e6232409Smrgfi
2245e6232409Smrg
2246e6232409Smrg
2247e6232409Smrgfi
2248e6232409Smrgif test -z "$ac_cv_prog_CC"; then
2249e6232409Smrg  ac_ct_CC=$CC
2250e6232409Smrg  # Extract the first word of "gcc", so it can be a program name with args.
2251e6232409Smrgset dummy gcc; ac_word=$2
2252e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2253e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2254e6232409Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2255e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2256e6232409Smrgelse
2257e6232409Smrg  if test -n "$ac_ct_CC"; then
2258e6232409Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2259e6232409Smrgelse
2260e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261e6232409Smrgfor as_dir in $PATH
2262e6232409Smrgdo
2263e6232409Smrg  IFS=$as_save_IFS
2264e6232409Smrg  test -z "$as_dir" && as_dir=.
2265e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2266e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2267e6232409Smrg    ac_cv_prog_ac_ct_CC="gcc"
2268e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269e6232409Smrg    break 2
2270e6232409Smrg  fi
2271e6232409Smrgdone
2272e6232409Smrgdone
2273e6232409SmrgIFS=$as_save_IFS
2274e6232409Smrg
2275e6232409Smrgfi
2276e6232409Smrgfi
2277e6232409Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2278e6232409Smrgif test -n "$ac_ct_CC"; then
2279e6232409Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2280e6232409Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
2281e6232409Smrgelse
2282e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
2283e6232409Smrgecho "${ECHO_T}no" >&6; }
2284e6232409Smrgfi
2285e6232409Smrg
2286e6232409Smrg  if test "x$ac_ct_CC" = x; then
2287e6232409Smrg    CC=""
2288e6232409Smrg  else
2289e6232409Smrg    case $cross_compiling:$ac_tool_warned in
2290e6232409Smrgyes:)
2291e6232409Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2292e6232409Smrgwhose name does not start with the host triplet.  If you think this
2293e6232409Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
2294e6232409Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2295e6232409Smrgwhose name does not start with the host triplet.  If you think this
2296e6232409Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
2297e6232409Smrgac_tool_warned=yes ;;
2298e6232409Smrgesac
2299e6232409Smrg    CC=$ac_ct_CC
2300e6232409Smrg  fi
2301e6232409Smrgelse
2302e6232409Smrg  CC="$ac_cv_prog_CC"
2303e6232409Smrgfi
2304e6232409Smrg
2305e6232409Smrgif test -z "$CC"; then
2306e6232409Smrg          if test -n "$ac_tool_prefix"; then
2307e6232409Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2308e6232409Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
2309e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2310e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311e6232409Smrgif test "${ac_cv_prog_CC+set}" = set; then
2312e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2313e6232409Smrgelse
2314e6232409Smrg  if test -n "$CC"; then
2315e6232409Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2316e6232409Smrgelse
2317e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318e6232409Smrgfor as_dir in $PATH
2319e6232409Smrgdo
2320e6232409Smrg  IFS=$as_save_IFS
2321e6232409Smrg  test -z "$as_dir" && as_dir=.
2322e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2323e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2324e6232409Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
2325e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326e6232409Smrg    break 2
2327e6232409Smrg  fi
2328e6232409Smrgdone
2329e6232409Smrgdone
2330e6232409SmrgIFS=$as_save_IFS
2331e6232409Smrg
2332e6232409Smrgfi
2333e6232409Smrgfi
2334e6232409SmrgCC=$ac_cv_prog_CC
2335e6232409Smrgif test -n "$CC"; then
2336e6232409Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
2337e6232409Smrgecho "${ECHO_T}$CC" >&6; }
2338e6232409Smrgelse
2339e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
2340e6232409Smrgecho "${ECHO_T}no" >&6; }
2341e6232409Smrgfi
2342e6232409Smrg
2343e6232409Smrg
2344e6232409Smrg  fi
2345e6232409Smrgfi
2346e6232409Smrgif test -z "$CC"; then
2347e6232409Smrg  # Extract the first word of "cc", so it can be a program name with args.
2348e6232409Smrgset dummy cc; ac_word=$2
2349e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2350e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2351e6232409Smrgif test "${ac_cv_prog_CC+set}" = set; then
2352e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2353e6232409Smrgelse
2354e6232409Smrg  if test -n "$CC"; then
2355e6232409Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2356e6232409Smrgelse
2357e6232409Smrg  ac_prog_rejected=no
2358e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359e6232409Smrgfor as_dir in $PATH
2360e6232409Smrgdo
2361e6232409Smrg  IFS=$as_save_IFS
2362e6232409Smrg  test -z "$as_dir" && as_dir=.
2363e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2364e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2365e6232409Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2366e6232409Smrg       ac_prog_rejected=yes
2367e6232409Smrg       continue
2368e6232409Smrg     fi
2369e6232409Smrg    ac_cv_prog_CC="cc"
2370e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371e6232409Smrg    break 2
2372e6232409Smrg  fi
2373e6232409Smrgdone
2374e6232409Smrgdone
2375e6232409SmrgIFS=$as_save_IFS
2376e6232409Smrg
2377e6232409Smrgif test $ac_prog_rejected = yes; then
2378e6232409Smrg  # We found a bogon in the path, so make sure we never use it.
2379e6232409Smrg  set dummy $ac_cv_prog_CC
2380e6232409Smrg  shift
2381e6232409Smrg  if test $# != 0; then
2382e6232409Smrg    # We chose a different compiler from the bogus one.
2383e6232409Smrg    # However, it has the same basename, so the bogon will be chosen
2384e6232409Smrg    # first if we set CC to just the basename; use the full file name.
2385e6232409Smrg    shift
2386e6232409Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2387e6232409Smrg  fi
2388e6232409Smrgfi
2389e6232409Smrgfi
2390e6232409Smrgfi
2391e6232409SmrgCC=$ac_cv_prog_CC
2392e6232409Smrgif test -n "$CC"; then
2393e6232409Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
2394e6232409Smrgecho "${ECHO_T}$CC" >&6; }
2395e6232409Smrgelse
2396e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
2397e6232409Smrgecho "${ECHO_T}no" >&6; }
2398e6232409Smrgfi
2399e6232409Smrg
2400e6232409Smrg
2401e6232409Smrgfi
2402e6232409Smrgif test -z "$CC"; then
2403e6232409Smrg  if test -n "$ac_tool_prefix"; then
2404e6232409Smrg  for ac_prog in cl.exe
2405e6232409Smrg  do
2406e6232409Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2407e6232409Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
2408e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2409e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2410e6232409Smrgif test "${ac_cv_prog_CC+set}" = set; then
2411e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2412e6232409Smrgelse
2413e6232409Smrg  if test -n "$CC"; then
2414e6232409Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2415e6232409Smrgelse
2416e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417e6232409Smrgfor as_dir in $PATH
2418e6232409Smrgdo
2419e6232409Smrg  IFS=$as_save_IFS
2420e6232409Smrg  test -z "$as_dir" && as_dir=.
2421e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2422e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2423e6232409Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2424e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425e6232409Smrg    break 2
2426e6232409Smrg  fi
2427e6232409Smrgdone
2428e6232409Smrgdone
2429e6232409SmrgIFS=$as_save_IFS
2430e6232409Smrg
2431e6232409Smrgfi
2432e6232409Smrgfi
2433e6232409SmrgCC=$ac_cv_prog_CC
2434e6232409Smrgif test -n "$CC"; then
2435e6232409Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
2436e6232409Smrgecho "${ECHO_T}$CC" >&6; }
2437e6232409Smrgelse
2438e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
2439e6232409Smrgecho "${ECHO_T}no" >&6; }
2440e6232409Smrgfi
2441e6232409Smrg
2442e6232409Smrg
2443e6232409Smrg    test -n "$CC" && break
2444e6232409Smrg  done
2445e6232409Smrgfi
2446e6232409Smrgif test -z "$CC"; then
2447e6232409Smrg  ac_ct_CC=$CC
2448e6232409Smrg  for ac_prog in cl.exe
2449e6232409Smrgdo
2450e6232409Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2451e6232409Smrgset dummy $ac_prog; ac_word=$2
2452e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2453e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2454e6232409Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2455e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2456e6232409Smrgelse
2457e6232409Smrg  if test -n "$ac_ct_CC"; then
2458e6232409Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2459e6232409Smrgelse
2460e6232409Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461e6232409Smrgfor as_dir in $PATH
2462e6232409Smrgdo
2463e6232409Smrg  IFS=$as_save_IFS
2464e6232409Smrg  test -z "$as_dir" && as_dir=.
2465e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2466e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2467e6232409Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
2468e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469e6232409Smrg    break 2
2470e6232409Smrg  fi
2471e6232409Smrgdone
2472e6232409Smrgdone
2473e6232409SmrgIFS=$as_save_IFS
2474e6232409Smrg
2475e6232409Smrgfi
2476e6232409Smrgfi
2477e6232409Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2478e6232409Smrgif test -n "$ac_ct_CC"; then
2479e6232409Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2480e6232409Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
2481e6232409Smrgelse
2482e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
2483e6232409Smrgecho "${ECHO_T}no" >&6; }
2484e6232409Smrgfi
2485e6232409Smrg
2486e6232409Smrg
2487e6232409Smrg  test -n "$ac_ct_CC" && break
2488e6232409Smrgdone
2489e6232409Smrg
2490e6232409Smrg  if test "x$ac_ct_CC" = x; then
2491e6232409Smrg    CC=""
2492e6232409Smrg  else
2493e6232409Smrg    case $cross_compiling:$ac_tool_warned in
2494e6232409Smrgyes:)
2495e6232409Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2496e6232409Smrgwhose name does not start with the host triplet.  If you think this
2497e6232409Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
2498e6232409Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2499e6232409Smrgwhose name does not start with the host triplet.  If you think this
2500e6232409Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
2501e6232409Smrgac_tool_warned=yes ;;
2502e6232409Smrgesac
2503e6232409Smrg    CC=$ac_ct_CC
2504e6232409Smrg  fi
2505e6232409Smrgfi
2506e6232409Smrg
2507e6232409Smrgfi
2508e6232409Smrg
2509e6232409Smrg
2510e6232409Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2511e6232409SmrgSee \`config.log' for more details." >&5
2512e6232409Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH
2513e6232409SmrgSee \`config.log' for more details." >&2;}
2514e6232409Smrg   { (exit 1); exit 1; }; }
2515e6232409Smrg
2516e6232409Smrg# Provide some information about the compiler.
2517e6232409Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5
2518e6232409Smrgac_compiler=`set X $ac_compile; echo $2`
2519e6232409Smrg{ (ac_try="$ac_compiler --version >&5"
2520e6232409Smrgcase "(($ac_try" in
2521e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522e6232409Smrg  *) ac_try_echo=$ac_try;;
2523e6232409Smrgesac
2524e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2525e6232409Smrg  (eval "$ac_compiler --version >&5") 2>&5
2526e6232409Smrg  ac_status=$?
2527e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528e6232409Smrg  (exit $ac_status); }
2529e6232409Smrg{ (ac_try="$ac_compiler -v >&5"
2530e6232409Smrgcase "(($ac_try" in
2531e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532e6232409Smrg  *) ac_try_echo=$ac_try;;
2533e6232409Smrgesac
2534e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2535e6232409Smrg  (eval "$ac_compiler -v >&5") 2>&5
2536e6232409Smrg  ac_status=$?
2537e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538e6232409Smrg  (exit $ac_status); }
2539e6232409Smrg{ (ac_try="$ac_compiler -V >&5"
2540e6232409Smrgcase "(($ac_try" in
2541e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542e6232409Smrg  *) ac_try_echo=$ac_try;;
2543e6232409Smrgesac
2544e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2545e6232409Smrg  (eval "$ac_compiler -V >&5") 2>&5
2546e6232409Smrg  ac_status=$?
2547e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548e6232409Smrg  (exit $ac_status); }
2549e6232409Smrg
2550e6232409Smrgcat >conftest.$ac_ext <<_ACEOF
2551e6232409Smrg/* confdefs.h.  */
2552e6232409Smrg_ACEOF
2553e6232409Smrgcat confdefs.h >>conftest.$ac_ext
2554e6232409Smrgcat >>conftest.$ac_ext <<_ACEOF
2555e6232409Smrg/* end confdefs.h.  */
2556e6232409Smrg
2557e6232409Smrgint
2558e6232409Smrgmain ()
2559e6232409Smrg{
2560e6232409Smrg
2561e6232409Smrg  ;
2562e6232409Smrg  return 0;
2563e6232409Smrg}
2564e6232409Smrg_ACEOF
2565e6232409Smrgac_clean_files_save=$ac_clean_files
2566e6232409Smrgac_clean_files="$ac_clean_files a.out a.exe b.out"
2567e6232409Smrg# Try to create an executable without -o first, disregard a.out.
2568e6232409Smrg# It will help us diagnose broken compilers, and finding out an intuition
2569e6232409Smrg# of exeext.
2570e6232409Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2571e6232409Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2572e6232409Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2573e6232409Smrg#
2574e6232409Smrg# List of possible output files, starting from the most likely.
2575e6232409Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2576e6232409Smrg# only as a last resort.  b.out is created by i960 compilers.
2577e6232409Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2578e6232409Smrg#
2579e6232409Smrg# The IRIX 6 linker writes into existing files which may not be
2580e6232409Smrg# executable, retaining their permissions.  Remove them first so a
2581e6232409Smrg# subsequent execution test works.
2582e6232409Smrgac_rmfiles=
2583e6232409Smrgfor ac_file in $ac_files
2584e6232409Smrgdo
2585e6232409Smrg  case $ac_file in
2586e6232409Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2587e6232409Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2588e6232409Smrg  esac
2589e6232409Smrgdone
2590e6232409Smrgrm -f $ac_rmfiles
2591e6232409Smrg
2592e6232409Smrgif { (ac_try="$ac_link_default"
2593e6232409Smrgcase "(($ac_try" in
2594e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595e6232409Smrg  *) ac_try_echo=$ac_try;;
2596e6232409Smrgesac
2597e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598e6232409Smrg  (eval "$ac_link_default") 2>&5
2599e6232409Smrg  ac_status=$?
2600e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601e6232409Smrg  (exit $ac_status); }; then
2602e6232409Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2603e6232409Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2604e6232409Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2605e6232409Smrg# so that the user can short-circuit this test for compilers unknown to
2606e6232409Smrg# Autoconf.
2607e6232409Smrgfor ac_file in $ac_files
2608e6232409Smrgdo
2609e6232409Smrg  test -f "$ac_file" || continue
2610e6232409Smrg  case $ac_file in
2611e6232409Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2612e6232409Smrg	;;
2613e6232409Smrg    [ab].out )
2614e6232409Smrg	# We found the default executable, but exeext='' is most
2615e6232409Smrg	# certainly right.
2616e6232409Smrg	break;;
2617e6232409Smrg    *.* )
2618e6232409Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2619e6232409Smrg	then :; else
2620e6232409Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2621e6232409Smrg	fi
2622e6232409Smrg	# We set ac_cv_exeext here because the later test for it is not
2623e6232409Smrg	# safe: cross compilers may not add the suffix if given an `-o'
2624e6232409Smrg	# argument, so we may need to know it at that point already.
2625e6232409Smrg	# Even if this section looks crufty: it has the advantage of
2626e6232409Smrg	# actually working.
2627e6232409Smrg	break;;
2628e6232409Smrg    * )
2629e6232409Smrg	break;;
2630e6232409Smrg  esac
2631e6232409Smrgdone
2632e6232409Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
2633e6232409Smrg
2634e6232409Smrgelse
2635e6232409Smrg  echo "$as_me: failed program was:" >&5
2636e6232409Smrgsed 's/^/| /' conftest.$ac_ext >&5
2637e6232409Smrg
2638e6232409Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2639e6232409SmrgSee \`config.log' for more details." >&5
2640e6232409Smrgecho "$as_me: error: C compiler cannot create executables
2641e6232409SmrgSee \`config.log' for more details." >&2;}
2642e6232409Smrg   { (exit 77); exit 77; }; }
2643e6232409Smrgfi
2644e6232409Smrg
2645e6232409Smrgac_exeext=$ac_cv_exeext
2646e6232409Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5
2647e6232409Smrgecho "${ECHO_T}$ac_file" >&6; }
2648e6232409Smrg
2649e6232409Smrg# Check that the compiler produces executables we can run.  If not, either
2650e6232409Smrg# the compiler is broken, or we cross compile.
2651e6232409Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2652e6232409Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2653e6232409Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2654e6232409Smrg# If not cross compiling, check that we can run a simple program.
2655e6232409Smrgif test "$cross_compiling" != yes; then
2656e6232409Smrg  if { ac_try='./$ac_file'
2657e6232409Smrg  { (case "(($ac_try" in
2658e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659e6232409Smrg  *) ac_try_echo=$ac_try;;
2660e6232409Smrgesac
2661e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2662e6232409Smrg  (eval "$ac_try") 2>&5
2663e6232409Smrg  ac_status=$?
2664e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665e6232409Smrg  (exit $ac_status); }; }; then
2666e6232409Smrg    cross_compiling=no
2667e6232409Smrg  else
2668e6232409Smrg    if test "$cross_compiling" = maybe; then
2669e6232409Smrg	cross_compiling=yes
2670e6232409Smrg    else
2671e6232409Smrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2672e6232409SmrgIf you meant to cross compile, use \`--host'.
2673e6232409SmrgSee \`config.log' for more details." >&5
2674e6232409Smrgecho "$as_me: error: cannot run C compiled programs.
2675e6232409SmrgIf you meant to cross compile, use \`--host'.
2676e6232409SmrgSee \`config.log' for more details." >&2;}
2677e6232409Smrg   { (exit 1); exit 1; }; }
2678e6232409Smrg    fi
2679e6232409Smrg  fi
2680e6232409Smrgfi
2681e6232409Smrg{ echo "$as_me:$LINENO: result: yes" >&5
2682e6232409Smrgecho "${ECHO_T}yes" >&6; }
2683e6232409Smrg
2684e6232409Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
2685e6232409Smrgac_clean_files=$ac_clean_files_save
2686e6232409Smrg# Check that the compiler produces executables we can run.  If not, either
2687e6232409Smrg# the compiler is broken, or we cross compile.
2688e6232409Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2689e6232409Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2690e6232409Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2691e6232409Smrgecho "${ECHO_T}$cross_compiling" >&6; }
2692e6232409Smrg
2693e6232409Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2694e6232409Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2695e6232409Smrgif { (ac_try="$ac_link"
2696e6232409Smrgcase "(($ac_try" in
2697e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698e6232409Smrg  *) ac_try_echo=$ac_try;;
2699e6232409Smrgesac
2700e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2701e6232409Smrg  (eval "$ac_link") 2>&5
2702e6232409Smrg  ac_status=$?
2703e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704e6232409Smrg  (exit $ac_status); }; then
2705e6232409Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2706e6232409Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2707e6232409Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
2708e6232409Smrg# `rm'.
2709e6232409Smrgfor ac_file in conftest.exe conftest conftest.*; do
2710e6232409Smrg  test -f "$ac_file" || continue
2711e6232409Smrg  case $ac_file in
2712e6232409Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2713e6232409Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2714e6232409Smrg	  break;;
2715e6232409Smrg    * ) break;;
2716e6232409Smrg  esac
2717e6232409Smrgdone
2718e6232409Smrgelse
2719e6232409Smrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2720e6232409SmrgSee \`config.log' for more details." >&5
2721e6232409Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
2722e6232409SmrgSee \`config.log' for more details." >&2;}
2723e6232409Smrg   { (exit 1); exit 1; }; }
2724e6232409Smrgfi
2725e6232409Smrg
2726e6232409Smrgrm -f conftest$ac_cv_exeext
2727e6232409Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2728e6232409Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; }
2729e6232409Smrg
2730e6232409Smrgrm -f conftest.$ac_ext
2731e6232409SmrgEXEEXT=$ac_cv_exeext
2732e6232409Smrgac_exeext=$EXEEXT
2733e6232409Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2734e6232409Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2735e6232409Smrgif test "${ac_cv_objext+set}" = set; then
2736e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2737e6232409Smrgelse
2738e6232409Smrg  cat >conftest.$ac_ext <<_ACEOF
2739e6232409Smrg/* confdefs.h.  */
2740e6232409Smrg_ACEOF
2741e6232409Smrgcat confdefs.h >>conftest.$ac_ext
2742e6232409Smrgcat >>conftest.$ac_ext <<_ACEOF
2743e6232409Smrg/* end confdefs.h.  */
2744e6232409Smrg
2745e6232409Smrgint
2746e6232409Smrgmain ()
2747e6232409Smrg{
2748e6232409Smrg
2749e6232409Smrg  ;
2750e6232409Smrg  return 0;
2751e6232409Smrg}
2752e6232409Smrg_ACEOF
2753e6232409Smrgrm -f conftest.o conftest.obj
2754e6232409Smrgif { (ac_try="$ac_compile"
2755e6232409Smrgcase "(($ac_try" in
2756e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757e6232409Smrg  *) ac_try_echo=$ac_try;;
2758e6232409Smrgesac
2759e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2760e6232409Smrg  (eval "$ac_compile") 2>&5
2761e6232409Smrg  ac_status=$?
2762e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763e6232409Smrg  (exit $ac_status); }; then
2764e6232409Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
2765e6232409Smrg  test -f "$ac_file" || continue;
2766e6232409Smrg  case $ac_file in
2767e6232409Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2768e6232409Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2769e6232409Smrg       break;;
2770e6232409Smrg  esac
2771e6232409Smrgdone
2772e6232409Smrgelse
2773e6232409Smrg  echo "$as_me: failed program was:" >&5
2774e6232409Smrgsed 's/^/| /' conftest.$ac_ext >&5
2775e6232409Smrg
2776e6232409Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2777e6232409SmrgSee \`config.log' for more details." >&5
2778e6232409Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
2779e6232409SmrgSee \`config.log' for more details." >&2;}
2780e6232409Smrg   { (exit 1); exit 1; }; }
2781e6232409Smrgfi
2782e6232409Smrg
2783e6232409Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
2784e6232409Smrgfi
2785e6232409Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2786e6232409Smrgecho "${ECHO_T}$ac_cv_objext" >&6; }
2787e6232409SmrgOBJEXT=$ac_cv_objext
2788e6232409Smrgac_objext=$OBJEXT
2789e6232409Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2790e6232409Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2791e6232409Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
2792e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2793e6232409Smrgelse
2794e6232409Smrg  cat >conftest.$ac_ext <<_ACEOF
2795e6232409Smrg/* confdefs.h.  */
2796e6232409Smrg_ACEOF
2797e6232409Smrgcat confdefs.h >>conftest.$ac_ext
2798e6232409Smrgcat >>conftest.$ac_ext <<_ACEOF
2799e6232409Smrg/* end confdefs.h.  */
2800e6232409Smrg
2801e6232409Smrgint
2802e6232409Smrgmain ()
2803e6232409Smrg{
2804e6232409Smrg#ifndef __GNUC__
2805e6232409Smrg       choke me
2806e6232409Smrg#endif
2807e6232409Smrg
2808e6232409Smrg  ;
2809e6232409Smrg  return 0;
2810e6232409Smrg}
2811e6232409Smrg_ACEOF
2812e6232409Smrgrm -f conftest.$ac_objext
2813e6232409Smrgif { (ac_try="$ac_compile"
2814e6232409Smrgcase "(($ac_try" in
2815e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816e6232409Smrg  *) ac_try_echo=$ac_try;;
2817e6232409Smrgesac
2818e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2819e6232409Smrg  (eval "$ac_compile") 2>conftest.er1
2820e6232409Smrg  ac_status=$?
2821e6232409Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2822e6232409Smrg  rm -f conftest.er1
2823e6232409Smrg  cat conftest.err >&5
2824e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825e6232409Smrg  (exit $ac_status); } &&
2826e6232409Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2827e6232409Smrg  { (case "(($ac_try" in
2828e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829e6232409Smrg  *) ac_try_echo=$ac_try;;
2830e6232409Smrgesac
2831e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832e6232409Smrg  (eval "$ac_try") 2>&5
2833e6232409Smrg  ac_status=$?
2834e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835e6232409Smrg  (exit $ac_status); }; } &&
2836e6232409Smrg	 { ac_try='test -s conftest.$ac_objext'
2837e6232409Smrg  { (case "(($ac_try" in
2838e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839e6232409Smrg  *) ac_try_echo=$ac_try;;
2840e6232409Smrgesac
2841e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842e6232409Smrg  (eval "$ac_try") 2>&5
2843e6232409Smrg  ac_status=$?
2844e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845e6232409Smrg  (exit $ac_status); }; }; then
2846e6232409Smrg  ac_compiler_gnu=yes
2847e6232409Smrgelse
2848e6232409Smrg  echo "$as_me: failed program was:" >&5
2849e6232409Smrgsed 's/^/| /' conftest.$ac_ext >&5
2850e6232409Smrg
2851e6232409Smrg	ac_compiler_gnu=no
2852e6232409Smrgfi
2853e6232409Smrg
2854e6232409Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855e6232409Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
2856e6232409Smrg
2857e6232409Smrgfi
2858e6232409Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2859e6232409Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2860e6232409SmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
2861e6232409Smrgac_test_CFLAGS=${CFLAGS+set}
2862e6232409Smrgac_save_CFLAGS=$CFLAGS
2863e6232409Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2864e6232409Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2865e6232409Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
2866e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2867e6232409Smrgelse
2868e6232409Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
2869e6232409Smrg   ac_c_werror_flag=yes
2870e6232409Smrg   ac_cv_prog_cc_g=no
2871e6232409Smrg   CFLAGS="-g"
2872e6232409Smrg   cat >conftest.$ac_ext <<_ACEOF
2873e6232409Smrg/* confdefs.h.  */
2874e6232409Smrg_ACEOF
2875e6232409Smrgcat confdefs.h >>conftest.$ac_ext
2876e6232409Smrgcat >>conftest.$ac_ext <<_ACEOF
2877e6232409Smrg/* end confdefs.h.  */
2878e6232409Smrg
2879e6232409Smrgint
2880e6232409Smrgmain ()
2881e6232409Smrg{
2882e6232409Smrg
2883e6232409Smrg  ;
2884e6232409Smrg  return 0;
2885e6232409Smrg}
2886e6232409Smrg_ACEOF
2887e6232409Smrgrm -f conftest.$ac_objext
2888e6232409Smrgif { (ac_try="$ac_compile"
2889e6232409Smrgcase "(($ac_try" in
2890e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891e6232409Smrg  *) ac_try_echo=$ac_try;;
2892e6232409Smrgesac
2893e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2894e6232409Smrg  (eval "$ac_compile") 2>conftest.er1
2895e6232409Smrg  ac_status=$?
2896e6232409Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2897e6232409Smrg  rm -f conftest.er1
2898e6232409Smrg  cat conftest.err >&5
2899e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900e6232409Smrg  (exit $ac_status); } &&
2901e6232409Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2902e6232409Smrg  { (case "(($ac_try" in
2903e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904e6232409Smrg  *) ac_try_echo=$ac_try;;
2905e6232409Smrgesac
2906e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2907e6232409Smrg  (eval "$ac_try") 2>&5
2908e6232409Smrg  ac_status=$?
2909e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910e6232409Smrg  (exit $ac_status); }; } &&
2911e6232409Smrg	 { ac_try='test -s conftest.$ac_objext'
2912e6232409Smrg  { (case "(($ac_try" in
2913e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914e6232409Smrg  *) ac_try_echo=$ac_try;;
2915e6232409Smrgesac
2916e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917e6232409Smrg  (eval "$ac_try") 2>&5
2918e6232409Smrg  ac_status=$?
2919e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920e6232409Smrg  (exit $ac_status); }; }; then
2921e6232409Smrg  ac_cv_prog_cc_g=yes
2922e6232409Smrgelse
2923e6232409Smrg  echo "$as_me: failed program was:" >&5
2924e6232409Smrgsed 's/^/| /' conftest.$ac_ext >&5
2925e6232409Smrg
2926e6232409Smrg	CFLAGS=""
2927e6232409Smrg      cat >conftest.$ac_ext <<_ACEOF
2928e6232409Smrg/* confdefs.h.  */
2929e6232409Smrg_ACEOF
2930e6232409Smrgcat confdefs.h >>conftest.$ac_ext
2931e6232409Smrgcat >>conftest.$ac_ext <<_ACEOF
2932e6232409Smrg/* end confdefs.h.  */
2933e6232409Smrg
2934e6232409Smrgint
2935e6232409Smrgmain ()
2936e6232409Smrg{
2937e6232409Smrg
2938e6232409Smrg  ;
2939e6232409Smrg  return 0;
2940e6232409Smrg}
2941e6232409Smrg_ACEOF
2942e6232409Smrgrm -f conftest.$ac_objext
2943e6232409Smrgif { (ac_try="$ac_compile"
2944e6232409Smrgcase "(($ac_try" in
2945e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946e6232409Smrg  *) ac_try_echo=$ac_try;;
2947e6232409Smrgesac
2948e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949e6232409Smrg  (eval "$ac_compile") 2>conftest.er1
2950e6232409Smrg  ac_status=$?
2951e6232409Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2952e6232409Smrg  rm -f conftest.er1
2953e6232409Smrg  cat conftest.err >&5
2954e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955e6232409Smrg  (exit $ac_status); } &&
2956e6232409Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2957e6232409Smrg  { (case "(($ac_try" in
2958e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959e6232409Smrg  *) ac_try_echo=$ac_try;;
2960e6232409Smrgesac
2961e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2962e6232409Smrg  (eval "$ac_try") 2>&5
2963e6232409Smrg  ac_status=$?
2964e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965e6232409Smrg  (exit $ac_status); }; } &&
2966e6232409Smrg	 { ac_try='test -s conftest.$ac_objext'
2967e6232409Smrg  { (case "(($ac_try" in
2968e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969e6232409Smrg  *) ac_try_echo=$ac_try;;
2970e6232409Smrgesac
2971e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2972e6232409Smrg  (eval "$ac_try") 2>&5
2973e6232409Smrg  ac_status=$?
2974e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975e6232409Smrg  (exit $ac_status); }; }; then
2976e6232409Smrg  :
2977e6232409Smrgelse
2978e6232409Smrg  echo "$as_me: failed program was:" >&5
2979e6232409Smrgsed 's/^/| /' conftest.$ac_ext >&5
2980e6232409Smrg
2981e6232409Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
2982e6232409Smrg	 CFLAGS="-g"
2983e6232409Smrg	 cat >conftest.$ac_ext <<_ACEOF
2984e6232409Smrg/* confdefs.h.  */
2985e6232409Smrg_ACEOF
2986e6232409Smrgcat confdefs.h >>conftest.$ac_ext
2987e6232409Smrgcat >>conftest.$ac_ext <<_ACEOF
2988e6232409Smrg/* end confdefs.h.  */
2989e6232409Smrg
2990e6232409Smrgint
2991e6232409Smrgmain ()
2992e6232409Smrg{
2993e6232409Smrg
2994e6232409Smrg  ;
2995e6232409Smrg  return 0;
2996e6232409Smrg}
2997e6232409Smrg_ACEOF
2998e6232409Smrgrm -f conftest.$ac_objext
2999e6232409Smrgif { (ac_try="$ac_compile"
3000e6232409Smrgcase "(($ac_try" in
3001e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002e6232409Smrg  *) ac_try_echo=$ac_try;;
3003e6232409Smrgesac
3004e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005e6232409Smrg  (eval "$ac_compile") 2>conftest.er1
3006e6232409Smrg  ac_status=$?
3007e6232409Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3008e6232409Smrg  rm -f conftest.er1
3009e6232409Smrg  cat conftest.err >&5
3010e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011e6232409Smrg  (exit $ac_status); } &&
3012e6232409Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3013e6232409Smrg  { (case "(($ac_try" in
3014e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015e6232409Smrg  *) ac_try_echo=$ac_try;;
3016e6232409Smrgesac
3017e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3018e6232409Smrg  (eval "$ac_try") 2>&5
3019e6232409Smrg  ac_status=$?
3020e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021e6232409Smrg  (exit $ac_status); }; } &&
3022e6232409Smrg	 { ac_try='test -s conftest.$ac_objext'
3023e6232409Smrg  { (case "(($ac_try" in
3024e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025e6232409Smrg  *) ac_try_echo=$ac_try;;
3026e6232409Smrgesac
3027e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3028e6232409Smrg  (eval "$ac_try") 2>&5
3029e6232409Smrg  ac_status=$?
3030e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031e6232409Smrg  (exit $ac_status); }; }; then
3032e6232409Smrg  ac_cv_prog_cc_g=yes
3033e6232409Smrgelse
3034e6232409Smrg  echo "$as_me: failed program was:" >&5
3035e6232409Smrgsed 's/^/| /' conftest.$ac_ext >&5
3036e6232409Smrg
3037e6232409Smrg
3038e6232409Smrgfi
3039e6232409Smrg
3040e6232409Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041e6232409Smrgfi
3042e6232409Smrg
3043e6232409Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044e6232409Smrgfi
3045e6232409Smrg
3046e6232409Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047e6232409Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
3048e6232409Smrgfi
3049e6232409Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3050e6232409Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3051e6232409Smrgif test "$ac_test_CFLAGS" = set; then
3052e6232409Smrg  CFLAGS=$ac_save_CFLAGS
3053e6232409Smrgelif test $ac_cv_prog_cc_g = yes; then
3054e6232409Smrg  if test "$GCC" = yes; then
3055e6232409Smrg    CFLAGS="-g -O2"
3056e6232409Smrg  else
3057e6232409Smrg    CFLAGS="-g"
3058e6232409Smrg  fi
3059e6232409Smrgelse
3060e6232409Smrg  if test "$GCC" = yes; then
3061e6232409Smrg    CFLAGS="-O2"
3062e6232409Smrg  else
3063e6232409Smrg    CFLAGS=
3064e6232409Smrg  fi
3065e6232409Smrgfi
3066e6232409Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3067e6232409Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3068e6232409Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
3069e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3070e6232409Smrgelse
3071e6232409Smrg  ac_cv_prog_cc_c89=no
3072e6232409Smrgac_save_CC=$CC
3073e6232409Smrgcat >conftest.$ac_ext <<_ACEOF
3074e6232409Smrg/* confdefs.h.  */
3075e6232409Smrg_ACEOF
3076e6232409Smrgcat confdefs.h >>conftest.$ac_ext
3077e6232409Smrgcat >>conftest.$ac_ext <<_ACEOF
3078e6232409Smrg/* end confdefs.h.  */
3079e6232409Smrg#include <stdarg.h>
3080e6232409Smrg#include <stdio.h>
3081e6232409Smrg#include <sys/types.h>
3082e6232409Smrg#include <sys/stat.h>
3083e6232409Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3084e6232409Smrgstruct buf { int x; };
3085e6232409SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
3086e6232409Smrgstatic char *e (p, i)
3087e6232409Smrg     char **p;
3088e6232409Smrg     int i;
3089e6232409Smrg{
3090e6232409Smrg  return p[i];
3091e6232409Smrg}
3092e6232409Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
3093e6232409Smrg{
3094e6232409Smrg  char *s;
3095e6232409Smrg  va_list v;
3096e6232409Smrg  va_start (v,p);
3097e6232409Smrg  s = g (p, va_arg (v,int));
3098e6232409Smrg  va_end (v);
3099e6232409Smrg  return s;
3100e6232409Smrg}
3101e6232409Smrg
3102e6232409Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3103e6232409Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
3104e6232409Smrg   These don't provoke an error unfortunately, instead are silently treated
3105e6232409Smrg   as 'x'.  The following induces an error, until -std is added to get
3106e6232409Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3107e6232409Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
3108e6232409Smrg   that's true only with -std.  */
3109e6232409Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
3110e6232409Smrg
3111e6232409Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3112e6232409Smrg   inside strings and character constants.  */
3113e6232409Smrg#define FOO(x) 'x'
3114e6232409Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3115e6232409Smrg
3116e6232409Smrgint test (int i, double x);
3117e6232409Smrgstruct s1 {int (*f) (int a);};
3118e6232409Smrgstruct s2 {int (*f) (double a);};
3119e6232409Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3120e6232409Smrgint argc;
3121e6232409Smrgchar **argv;
3122e6232409Smrgint
3123e6232409Smrgmain ()
3124e6232409Smrg{
3125e6232409Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3126e6232409Smrg  ;
3127e6232409Smrg  return 0;
3128e6232409Smrg}
3129e6232409Smrg_ACEOF
3130e6232409Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3131e6232409Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3132e6232409Smrgdo
3133e6232409Smrg  CC="$ac_save_CC $ac_arg"
3134e6232409Smrg  rm -f conftest.$ac_objext
3135e6232409Smrgif { (ac_try="$ac_compile"
3136e6232409Smrgcase "(($ac_try" in
3137e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138e6232409Smrg  *) ac_try_echo=$ac_try;;
3139e6232409Smrgesac
3140e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141e6232409Smrg  (eval "$ac_compile") 2>conftest.er1
3142e6232409Smrg  ac_status=$?
3143e6232409Smrg  grep -v '^ *+' conftest.er1 >conftest.err
3144e6232409Smrg  rm -f conftest.er1
3145e6232409Smrg  cat conftest.err >&5
3146e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147e6232409Smrg  (exit $ac_status); } &&
3148e6232409Smrg	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3149e6232409Smrg  { (case "(($ac_try" in
3150e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151e6232409Smrg  *) ac_try_echo=$ac_try;;
3152e6232409Smrgesac
3153e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3154e6232409Smrg  (eval "$ac_try") 2>&5
3155e6232409Smrg  ac_status=$?
3156e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157e6232409Smrg  (exit $ac_status); }; } &&
3158e6232409Smrg	 { ac_try='test -s conftest.$ac_objext'
3159e6232409Smrg  { (case "(($ac_try" in
3160e6232409Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161e6232409Smrg  *) ac_try_echo=$ac_try;;
3162e6232409Smrgesac
3163e6232409Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3164e6232409Smrg  (eval "$ac_try") 2>&5
3165e6232409Smrg  ac_status=$?
3166e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167e6232409Smrg  (exit $ac_status); }; }; then
3168e6232409Smrg  ac_cv_prog_cc_c89=$ac_arg
3169e6232409Smrgelse
3170e6232409Smrg  echo "$as_me: failed program was:" >&5
3171e6232409Smrgsed 's/^/| /' conftest.$ac_ext >&5
3172e6232409Smrg
3173e6232409Smrg
3174e6232409Smrgfi
3175e6232409Smrg
3176e6232409Smrgrm -f core conftest.err conftest.$ac_objext
3177e6232409Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
3178e6232409Smrgdone
3179e6232409Smrgrm -f conftest.$ac_ext
3180e6232409SmrgCC=$ac_save_CC
3181e6232409Smrg
3182e6232409Smrgfi
3183e6232409Smrg# AC_CACHE_VAL
3184e6232409Smrgcase "x$ac_cv_prog_cc_c89" in
3185e6232409Smrg  x)
3186e6232409Smrg    { echo "$as_me:$LINENO: result: none needed" >&5
3187e6232409Smrgecho "${ECHO_T}none needed" >&6; } ;;
3188e6232409Smrg  xno)
3189e6232409Smrg    { echo "$as_me:$LINENO: result: unsupported" >&5
3190e6232409Smrgecho "${ECHO_T}unsupported" >&6; } ;;
3191e6232409Smrg  *)
3192e6232409Smrg    CC="$CC $ac_cv_prog_cc_c89"
3193e6232409Smrg    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3194e6232409Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3195e6232409Smrgesac
3196e6232409Smrg
3197e6232409Smrg
3198e6232409Smrgac_ext=c
3199e6232409Smrgac_cpp='$CPP $CPPFLAGS'
3200e6232409Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201e6232409Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202e6232409Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3203e6232409SmrgDEPDIR="${am__leading_dot}deps"
3204e6232409Smrg
3205e6232409Smrgac_config_commands="$ac_config_commands depfiles"
3206e6232409Smrg
3207e6232409Smrg
3208e6232409Smrgam_make=${MAKE-make}
3209e6232409Smrgcat > confinc << 'END'
3210e6232409Smrgam__doit:
3211e6232409Smrg	@echo done
3212e6232409Smrg.PHONY: am__doit
3213e6232409SmrgEND
3214e6232409Smrg# If we don't find an include directive, just comment out the code.
3215e6232409Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3216e6232409Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3217e6232409Smrgam__include="#"
3218e6232409Smrgam__quote=
3219e6232409Smrg_am_result=none
3220e6232409Smrg# First try GNU make style include.
3221e6232409Smrgecho "include confinc" > confmf
3222e6232409Smrg# We grep out `Entering directory' and `Leaving directory'
3223e6232409Smrg# messages which can occur if `w' ends up in MAKEFLAGS.
3224e6232409Smrg# In particular we don't look at `^make:' because GNU make might
3225e6232409Smrg# be invoked under some other name (usually "gmake"), in which
3226e6232409Smrg# case it prints its new name instead of `make'.
3227e6232409Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3228e6232409Smrg   am__include=include
3229e6232409Smrg   am__quote=
3230e6232409Smrg   _am_result=GNU
3231e6232409Smrgfi
3232e6232409Smrg# Now try BSD make style include.
3233e6232409Smrgif test "$am__include" = "#"; then
3234e6232409Smrg   echo '.include "confinc"' > confmf
3235e6232409Smrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3236e6232409Smrg      am__include=.include
3237e6232409Smrg      am__quote="\""
3238e6232409Smrg      _am_result=BSD
3239e6232409Smrg   fi
3240e6232409Smrgfi
3241e6232409Smrg
3242e6232409Smrg
3243e6232409Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5
3244e6232409Smrgecho "${ECHO_T}$_am_result" >&6; }
3245e6232409Smrgrm -f confinc confmf
3246e6232409Smrg
3247e6232409Smrg# Check whether --enable-dependency-tracking was given.
3248e6232409Smrgif test "${enable_dependency_tracking+set}" = set; then
3249e6232409Smrg  enableval=$enable_dependency_tracking;
3250e6232409Smrgfi
3251e6232409Smrg
3252e6232409Smrgif test "x$enable_dependency_tracking" != xno; then
3253e6232409Smrg  am_depcomp="$ac_aux_dir/depcomp"
3254e6232409Smrg  AMDEPBACKSLASH='\'
3255e6232409Smrgfi
3256e6232409Smrg
3257e6232409Smrg
3258e6232409Smrgif test "x$enable_dependency_tracking" != xno; then
3259e6232409Smrg  AMDEP_TRUE=
3260e6232409Smrg  AMDEP_FALSE='#'
3261e6232409Smrgelse
3262e6232409Smrg  AMDEP_TRUE='#'
3263e6232409Smrg  AMDEP_FALSE=
3264e6232409Smrgfi
3265e6232409Smrg
3266e6232409Smrg
3267e6232409Smrg
3268e6232409Smrg
3269e6232409Smrgdepcc="$CC"   am_compiler_list=
3270e6232409Smrg
3271e6232409Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3272e6232409Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3273e6232409Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3274e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3275e6232409Smrgelse
3276e6232409Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3277e6232409Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
3278e6232409Smrg  # making bogus files that we don't know about and never remove.  For
3279e6232409Smrg  # instance it was reported that on HP-UX the gcc test will end up
3280e6232409Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
3281e6232409Smrg  # in D'.
3282e6232409Smrg  mkdir conftest.dir
3283e6232409Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
3284e6232409Smrg  # using a relative directory.
3285e6232409Smrg  cp "$am_depcomp" conftest.dir
3286e6232409Smrg  cd conftest.dir
3287e6232409Smrg  # We will build objects and dependencies in a subdirectory because
3288e6232409Smrg  # it helps to detect inapplicable dependency modes.  For instance
3289e6232409Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
3290e6232409Smrg  # side effect of compilation, but ICC will put the dependencies in
3291e6232409Smrg  # the current directory while Tru64 will put them in the object
3292e6232409Smrg  # directory.
3293e6232409Smrg  mkdir sub
3294e6232409Smrg
3295e6232409Smrg  am_cv_CC_dependencies_compiler_type=none
3296e6232409Smrg  if test "$am_compiler_list" = ""; then
3297e6232409Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3298e6232409Smrg  fi
3299e6232409Smrg  for depmode in $am_compiler_list; do
3300e6232409Smrg    # Setup a source with many dependencies, because some compilers
3301e6232409Smrg    # like to wrap large dependency lists on column 80 (with \), and
3302e6232409Smrg    # we should not choose a depcomp mode which is confused by this.
3303e6232409Smrg    #
3304e6232409Smrg    # We need to recreate these files for each test, as the compiler may
3305e6232409Smrg    # overwrite some of them when testing with obscure command lines.
3306e6232409Smrg    # This happens at least with the AIX C compiler.
3307e6232409Smrg    : > sub/conftest.c
3308e6232409Smrg    for i in 1 2 3 4 5 6; do
3309e6232409Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3310e6232409Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3311e6232409Smrg      # Solaris 8's {/usr,}/bin/sh.
3312e6232409Smrg      touch sub/conftst$i.h
3313e6232409Smrg    done
3314e6232409Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3315e6232409Smrg
3316e6232409Smrg    case $depmode in
3317e6232409Smrg    nosideeffect)
3318e6232409Smrg      # after this tag, mechanisms are not by side-effect, so they'll
3319e6232409Smrg      # only be used when explicitly requested
3320e6232409Smrg      if test "x$enable_dependency_tracking" = xyes; then
3321e6232409Smrg	continue
3322e6232409Smrg      else
3323e6232409Smrg	break
3324e6232409Smrg      fi
3325e6232409Smrg      ;;
3326e6232409Smrg    none) break ;;
3327e6232409Smrg    esac
3328e6232409Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3329e6232409Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
3330e6232409Smrg    # handle `-M -o', and we need to detect this.
3331e6232409Smrg    if depmode=$depmode \
3332e6232409Smrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3333e6232409Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3334e6232409Smrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3335e6232409Smrg         >/dev/null 2>conftest.err &&
3336e6232409Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3337e6232409Smrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3338e6232409Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3339e6232409Smrg      # icc doesn't choke on unknown options, it will just issue warnings
3340e6232409Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
3341e6232409Smrg      # that says an option was ignored or not supported.
3342e6232409Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
3343e6232409Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
3344e6232409Smrg      # The diagnosis changed in icc 8.0:
3345e6232409Smrg      #   icc: Command line remark: option '-MP' not supported
3346e6232409Smrg      if (grep 'ignoring option' conftest.err ||
3347e6232409Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3348e6232409Smrg        am_cv_CC_dependencies_compiler_type=$depmode
3349e6232409Smrg        break
3350e6232409Smrg      fi
3351e6232409Smrg    fi
3352e6232409Smrg  done
3353e6232409Smrg
3354e6232409Smrg  cd ..
3355e6232409Smrg  rm -rf conftest.dir
3356e6232409Smrgelse
3357e6232409Smrg  am_cv_CC_dependencies_compiler_type=none
3358e6232409Smrgfi
3359e6232409Smrg
3360e6232409Smrgfi
3361e6232409Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3362e6232409Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3363e6232409SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3364e6232409Smrg
3365e6232409Smrg
3366e6232409Smrg
3367e6232409Smrgif
3368e6232409Smrg  test "x$enable_dependency_tracking" != xno \
3369e6232409Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3370e6232409Smrg  am__fastdepCC_TRUE=
3371e6232409Smrg  am__fastdepCC_FALSE='#'
3372e6232409Smrgelse
3373e6232409Smrg  am__fastdepCC_TRUE='#'
3374e6232409Smrg  am__fastdepCC_FALSE=
3375e6232409Smrgfi
3376e6232409Smrg
3377e6232409Smrg
3378e6232409Smrg# Find a good install program.  We prefer a C program (faster),
3379e6232409Smrg# so one script is as good as another.  But avoid the broken or
3380e6232409Smrg# incompatible versions:
3381e6232409Smrg# SysV /etc/install, /usr/sbin/install
3382e6232409Smrg# SunOS /usr/etc/install
3383e6232409Smrg# IRIX /sbin/install
3384e6232409Smrg# AIX /bin/install
3385e6232409Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
3386e6232409Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3387e6232409Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3388e6232409Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3389e6232409Smrg# OS/2's system install, which has a completely different semantic
3390e6232409Smrg# ./install, which can be erroneously created by make from ./install.sh.
3391e6232409Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3392e6232409Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3393e6232409Smrgif test -z "$INSTALL"; then
3394e6232409Smrgif test "${ac_cv_path_install+set}" = set; then
3395e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3396e6232409Smrgelse
3397e6232409Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398e6232409Smrgfor as_dir in $PATH
3399e6232409Smrgdo
3400e6232409Smrg  IFS=$as_save_IFS
3401e6232409Smrg  test -z "$as_dir" && as_dir=.
3402e6232409Smrg  # Account for people who put trailing slashes in PATH elements.
3403e6232409Smrgcase $as_dir/ in
3404e6232409Smrg  ./ | .// | /cC/* | \
3405e6232409Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3406e6232409Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3407e6232409Smrg  /usr/ucb/* ) ;;
3408e6232409Smrg  *)
3409e6232409Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
3410e6232409Smrg    # Don't use installbsd from OSF since it installs stuff as root
3411e6232409Smrg    # by default.
3412e6232409Smrg    for ac_prog in ginstall scoinst install; do
3413e6232409Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
3414e6232409Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3415e6232409Smrg	  if test $ac_prog = install &&
3416e6232409Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3417e6232409Smrg	    # AIX install.  It has an incompatible calling convention.
3418e6232409Smrg	    :
3419e6232409Smrg	  elif test $ac_prog = install &&
3420e6232409Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3421e6232409Smrg	    # program-specific install script used by HP pwplus--don't use.
3422e6232409Smrg	    :
3423e6232409Smrg	  else
3424e6232409Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3425e6232409Smrg	    break 3
3426e6232409Smrg	  fi
3427e6232409Smrg	fi
3428e6232409Smrg      done
3429e6232409Smrg    done
3430e6232409Smrg    ;;
3431e6232409Smrgesac
3432e6232409Smrgdone
3433e6232409SmrgIFS=$as_save_IFS
3434e6232409Smrg
3435e6232409Smrg
3436e6232409Smrgfi
3437e6232409Smrg  if test "${ac_cv_path_install+set}" = set; then
3438e6232409Smrg    INSTALL=$ac_cv_path_install
3439e6232409Smrg  else
3440e6232409Smrg    # As a last resort, use the slow shell script.  Don't cache a
3441e6232409Smrg    # value for INSTALL within a source directory, because that will
3442e6232409Smrg    # break other packages using the cache if that directory is
3443e6232409Smrg    # removed, or if the value is a relative name.
3444e6232409Smrg    INSTALL=$ac_install_sh
3445e6232409Smrg  fi
3446e6232409Smrgfi
3447e6232409Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3448e6232409Smrgecho "${ECHO_T}$INSTALL" >&6; }
3449e6232409Smrg
3450e6232409Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3451e6232409Smrg# It thinks the first close brace ends the variable substitution.
3452e6232409Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3453e6232409Smrg
3454e6232409Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3455e6232409Smrg
3456e6232409Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3457e6232409Smrg
3458e6232409Smrg
3459e6232409Smrg# Checks for pkg-config packages
3460e6232409Smrg
3461e6232409Smrg
3462e6232409Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3463e6232409Smrg	if test -n "$ac_tool_prefix"; then
3464e6232409Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3465e6232409Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3466e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3467e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3468e6232409Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3469e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3470e6232409Smrgelse
3471e6232409Smrg  case $PKG_CONFIG in
3472e6232409Smrg  [\\/]* | ?:[\\/]*)
3473e6232409Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3474e6232409Smrg  ;;
3475e6232409Smrg  *)
3476e6232409Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477e6232409Smrgfor as_dir in $PATH
3478e6232409Smrgdo
3479e6232409Smrg  IFS=$as_save_IFS
3480e6232409Smrg  test -z "$as_dir" && as_dir=.
3481e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
3482e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3483e6232409Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3484e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3485e6232409Smrg    break 2
3486e6232409Smrg  fi
3487e6232409Smrgdone
3488e6232409Smrgdone
3489e6232409SmrgIFS=$as_save_IFS
3490e6232409Smrg
3491e6232409Smrg  ;;
3492e6232409Smrgesac
3493e6232409Smrgfi
3494e6232409SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
3495e6232409Smrgif test -n "$PKG_CONFIG"; then
3496e6232409Smrg  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3497e6232409Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; }
3498e6232409Smrgelse
3499e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
3500e6232409Smrgecho "${ECHO_T}no" >&6; }
3501e6232409Smrgfi
3502e6232409Smrg
3503e6232409Smrg
3504e6232409Smrgfi
3505e6232409Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
3506e6232409Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
3507e6232409Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
3508e6232409Smrgset dummy pkg-config; ac_word=$2
3509e6232409Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3510e6232409Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3511e6232409Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3512e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3513e6232409Smrgelse
3514e6232409Smrg  case $ac_pt_PKG_CONFIG in
3515e6232409Smrg  [\\/]* | ?:[\\/]*)
3516e6232409Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3517e6232409Smrg  ;;
3518e6232409Smrg  *)
3519e6232409Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520e6232409Smrgfor as_dir in $PATH
3521e6232409Smrgdo
3522e6232409Smrg  IFS=$as_save_IFS
3523e6232409Smrg  test -z "$as_dir" && as_dir=.
3524e6232409Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
3525e6232409Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3526e6232409Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3527e6232409Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3528e6232409Smrg    break 2
3529e6232409Smrg  fi
3530e6232409Smrgdone
3531e6232409Smrgdone
3532e6232409SmrgIFS=$as_save_IFS
3533e6232409Smrg
3534e6232409Smrg  ;;
3535e6232409Smrgesac
3536e6232409Smrgfi
3537e6232409Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3538e6232409Smrgif test -n "$ac_pt_PKG_CONFIG"; then
3539e6232409Smrg  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3540e6232409Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3541e6232409Smrgelse
3542e6232409Smrg  { echo "$as_me:$LINENO: result: no" >&5
3543e6232409Smrgecho "${ECHO_T}no" >&6; }
3544e6232409Smrgfi
3545e6232409Smrg
3546e6232409Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
3547e6232409Smrg    PKG_CONFIG=""
3548e6232409Smrg  else
3549e6232409Smrg    case $cross_compiling:$ac_tool_warned in
3550e6232409Smrgyes:)
3551e6232409Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3552e6232409Smrgwhose name does not start with the host triplet.  If you think this
3553e6232409Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
3554e6232409Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3555e6232409Smrgwhose name does not start with the host triplet.  If you think this
3556e6232409Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
3557e6232409Smrgac_tool_warned=yes ;;
3558e6232409Smrgesac
3559e6232409Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
3560e6232409Smrg  fi
3561e6232409Smrgelse
3562e6232409Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3563e6232409Smrgfi
3564e6232409Smrg
3565e6232409Smrgfi
3566e6232409Smrgif test -n "$PKG_CONFIG"; then
3567e6232409Smrg	_pkg_min_version=0.9.0
3568e6232409Smrg	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3569e6232409Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3570e6232409Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3571e6232409Smrg		{ echo "$as_me:$LINENO: result: yes" >&5
3572e6232409Smrgecho "${ECHO_T}yes" >&6; }
3573e6232409Smrg	else
3574e6232409Smrg		{ echo "$as_me:$LINENO: result: no" >&5
3575e6232409Smrgecho "${ECHO_T}no" >&6; }
3576e6232409Smrg		PKG_CONFIG=""
3577e6232409Smrg	fi
3578e6232409Smrg
3579e6232409Smrgfi
3580e6232409Smrg
3581e6232409Smrgpkg_failed=no
3582e6232409Smrg{ echo "$as_me:$LINENO: checking for XLSFONTS" >&5
3583e6232409Smrgecho $ECHO_N "checking for XLSFONTS... $ECHO_C" >&6; }
3584e6232409Smrg
3585e6232409Smrgif test -n "$PKG_CONFIG"; then
3586e6232409Smrg        if test -n "$PKG_CONFIG" && \
3587e6232409Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3588e6232409Smrg  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
3589e6232409Smrg  ac_status=$?
3590e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591e6232409Smrg  (exit $ac_status); }; then
3592e6232409Smrg  pkg_cv_XLSFONTS_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
3593e6232409Smrgelse
3594e6232409Smrg  pkg_failed=yes
3595e6232409Smrgfi
3596e6232409Smrgelse
3597e6232409Smrg	pkg_failed=untried
3598e6232409Smrgfi
3599e6232409Smrgif test -n "$PKG_CONFIG"; then
3600e6232409Smrg        if test -n "$PKG_CONFIG" && \
3601e6232409Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3602e6232409Smrg  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
3603e6232409Smrg  ac_status=$?
3604e6232409Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605e6232409Smrg  (exit $ac_status); }; then
3606e6232409Smrg  pkg_cv_XLSFONTS_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
3607e6232409Smrgelse
3608e6232409Smrg  pkg_failed=yes
3609e6232409Smrgfi
3610e6232409Smrgelse
3611e6232409Smrg	pkg_failed=untried
3612e6232409Smrgfi
3613e6232409Smrg
3614e6232409Smrgif test $pkg_failed = yes; then
3615e6232409Smrg	XLSFONTS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
3616e6232409Smrg	# Put the nasty error message in config.log where it belongs
3617e6232409Smrg	echo "$XLSFONTS_PKG_ERRORS" 1>&5
3618e6232409Smrg
3619e6232409Smrg	{ { echo "$as_me:$LINENO: error: Package requirements (x11) were not met.
3620e6232409SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
3621e6232409Smrginstalled software in a non-standard prefix.
3622e6232409Smrg
3623e6232409SmrgAlternatively you may set the XLSFONTS_CFLAGS and XLSFONTS_LIBS environment variables
3624e6232409Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
3625e6232409Smrgmore details." >&5
3626e6232409Smrgecho "$as_me: error: Package requirements (x11) were not met.
3627e6232409SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
3628e6232409Smrginstalled software in a non-standard prefix.
3629e6232409Smrg
3630e6232409SmrgAlternatively you may set the XLSFONTS_CFLAGS and XLSFONTS_LIBS environment variables
3631e6232409Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
3632e6232409Smrgmore details." >&2;}
3633e6232409Smrg   { (exit 1); exit 1; }; }
3634e6232409Smrgelif test $pkg_failed = untried; then
3635e6232409Smrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3636e6232409Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
3637e6232409Smrgpath to pkg-config.
3638e6232409Smrg
3639e6232409SmrgAlternatively you may set the XLSFONTS_CFLAGS and XLSFONTS_LIBS environment variables
3640e6232409Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
3641e6232409Smrgmore details.
3642e6232409Smrg
3643e6232409SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3644e6232409SmrgSee \`config.log' for more details." >&5
3645e6232409Smrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3646e6232409Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
3647e6232409Smrgpath to pkg-config.
3648e6232409Smrg
3649e6232409SmrgAlternatively you may set the XLSFONTS_CFLAGS and XLSFONTS_LIBS environment variables
3650e6232409Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
3651e6232409Smrgmore details.
3652e6232409Smrg
3653e6232409SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3654e6232409SmrgSee \`config.log' for more details." >&2;}
3655e6232409Smrg   { (exit 1); exit 1; }; }
3656e6232409Smrgelse
3657e6232409Smrg	XLSFONTS_CFLAGS=$pkg_cv_XLSFONTS_CFLAGS
3658e6232409Smrg	XLSFONTS_LIBS=$pkg_cv_XLSFONTS_LIBS
3659e6232409Smrg        { echo "$as_me:$LINENO: result: yes" >&5
3660e6232409Smrgecho "${ECHO_T}yes" >&6; }
3661e6232409Smrg	:
3662e6232409Smrgfi
3663e6232409Smrg
3664e6232409Smrg
3665e6232409Smrg
3666e6232409Smrg# Make sure we can run config.sub.
3667e6232409Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3668e6232409Smrg  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3669e6232409Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3670e6232409Smrg   { (exit 1); exit 1; }; }
3671e6232409Smrg
3672e6232409Smrg{ echo "$as_me:$LINENO: checking build system type" >&5
3673e6232409Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; }
3674e6232409Smrgif test "${ac_cv_build+set}" = set; then
3675e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3676e6232409Smrgelse
3677e6232409Smrg  ac_build_alias=$build_alias
3678e6232409Smrgtest "x$ac_build_alias" = x &&
3679e6232409Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3680e6232409Smrgtest "x$ac_build_alias" = x &&
3681e6232409Smrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3682e6232409Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
3683e6232409Smrg   { (exit 1); exit 1; }; }
3684e6232409Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3685e6232409Smrg  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3686e6232409Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3687e6232409Smrg   { (exit 1); exit 1; }; }
3688e6232409Smrg
3689e6232409Smrgfi
3690e6232409Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3691e6232409Smrgecho "${ECHO_T}$ac_cv_build" >&6; }
3692e6232409Smrgcase $ac_cv_build in
3693e6232409Smrg*-*-*) ;;
3694e6232409Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3695e6232409Smrgecho "$as_me: error: invalid value of canonical build" >&2;}
3696e6232409Smrg   { (exit 1); exit 1; }; };;
3697e6232409Smrgesac
3698e6232409Smrgbuild=$ac_cv_build
3699e6232409Smrgac_save_IFS=$IFS; IFS='-'
3700e6232409Smrgset x $ac_cv_build
3701e6232409Smrgshift
3702e6232409Smrgbuild_cpu=$1
3703e6232409Smrgbuild_vendor=$2
3704e6232409Smrgshift; shift
3705e6232409Smrg# Remember, the first character of IFS is used to create $*,
3706e6232409Smrg# except with old shells:
3707e6232409Smrgbuild_os=$*
3708e6232409SmrgIFS=$ac_save_IFS
3709e6232409Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3710e6232409Smrg
3711e6232409Smrg
3712e6232409Smrg{ echo "$as_me:$LINENO: checking host system type" >&5
3713e6232409Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; }
3714e6232409Smrgif test "${ac_cv_host+set}" = set; then
3715e6232409Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3716e6232409Smrgelse
3717e6232409Smrg  if test "x$host_alias" = x; then
3718e6232409Smrg  ac_cv_host=$ac_cv_build
3719e6232409Smrgelse
3720e6232409Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3721e6232409Smrg    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3722e6232409Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3723e6232409Smrg   { (exit 1); exit 1; }; }
3724e6232409Smrgfi
3725e6232409Smrg
3726e6232409Smrgfi
3727e6232409Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3728e6232409Smrgecho "${ECHO_T}$ac_cv_host" >&6; }
3729e6232409Smrgcase $ac_cv_host in
3730e6232409Smrg*-*-*) ;;
3731e6232409Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3732e6232409Smrgecho "$as_me: error: invalid value of canonical host" >&2;}
3733e6232409Smrg   { (exit 1); exit 1; }; };;
3734e6232409Smrgesac
3735e6232409Smrghost=$ac_cv_host
3736e6232409Smrgac_save_IFS=$IFS; IFS='-'
3737e6232409Smrgset x $ac_cv_host
3738e6232409Smrgshift
3739e6232409Smrghost_cpu=$1
3740e6232409Smrghost_vendor=$2
3741e6232409Smrgshift; shift
3742e6232409Smrg# Remember, the first character of IFS is used to create $*,
3743e6232409Smrg# except with old shells:
3744e6232409Smrghost_os=$*
3745e6232409SmrgIFS=$ac_save_IFS
3746e6232409Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3747e6232409Smrg
3748e6232409Smrg
3749e6232409Smrg
3750e6232409Smrg
3751e6232409Smrg
3752e6232409Smrgif test x$APP_MAN_SUFFIX = x    ; then
3753e6232409Smrg    APP_MAN_SUFFIX=1
3754e6232409Smrgfi
3755e6232409Smrgif test x$APP_MAN_DIR = x    ; then
3756e6232409Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3757e6232409Smrgfi
3758e6232409Smrg
3759e6232409Smrgif test x$LIB_MAN_SUFFIX = x    ; then
3760e6232409Smrg    LIB_MAN_SUFFIX=3
3761e6232409Smrgfi
3762e6232409Smrgif test x$LIB_MAN_DIR = x    ; then
3763e6232409Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3764e6232409Smrgfi
3765e6232409Smrg
3766e6232409Smrgif test x$FILE_MAN_SUFFIX = x    ; then
3767e6232409Smrg    case $host_os in
3768e6232409Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
3769e6232409Smrg	*)		FILE_MAN_SUFFIX=5  ;;
3770e6232409Smrg    esac
3771e6232409Smrgfi
3772e6232409Smrgif test x$FILE_MAN_DIR = x    ; then
3773e6232409Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3774e6232409Smrgfi
3775e6232409Smrg
3776e6232409Smrgif test x$MISC_MAN_SUFFIX = x    ; then
3777e6232409Smrg    case $host_os in
3778e6232409Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
3779e6232409Smrg	*)		MISC_MAN_SUFFIX=7  ;;
3780e6232409Smrg    esac
3781e6232409Smrgfi
3782e6232409Smrgif test x$MISC_MAN_DIR = x    ; then
3783e6232409Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3784e6232409Smrgfi
3785e6232409Smrg
3786e6232409Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
3787e6232409Smrg    case $host_os in
3788e6232409Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
3789e6232409Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
3790e6232409Smrg    esac
3791e6232409Smrgfi
3792e6232409Smrgif test x$DRIVER_MAN_DIR = x    ; then
3793e6232409Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3794e6232409Smrgfi
3795e6232409Smrg
3796e6232409Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
3797e6232409Smrg    case $host_os in
3798e6232409Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
3799e6232409Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
3800e6232409Smrg    esac
3801e6232409Smrgfi
3802e6232409Smrgif test x$ADMIN_MAN_DIR = x    ; then
3803e6232409Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3804e6232409Smrgfi
3805e6232409Smrg
3806e6232409Smrg
3807e6232409Smrg
3808e6232409Smrg
3809e6232409Smrg
3810e6232409Smrg
3811e6232409Smrg
3812e6232409Smrg
3813e6232409Smrg
3814e6232409Smrg
3815e6232409Smrg
3816e6232409Smrg
3817e6232409Smrg
3818e6232409Smrg
3819e6232409Smrg
3820e6232409Smrg
3821e6232409Smrg
3822e6232409Smrg# Check whether --with-release-version was given.
3823e6232409Smrgif test "${with_release_version+set}" = set; then
3824e6232409Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
3825e6232409Smrgelse
3826e6232409Smrg  RELEASE_VERSION=""
3827e6232409Smrgfi
3828e6232409Smrg
3829e6232409Smrg	if test "x$RELEASE_VERSION" != "x"; then
3830e6232409Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
3831e6232409Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3832e6232409Smrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3833e6232409Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
3834e6232409Smrg	fi
3835e6232409Smrg
3836e6232409Smrgcat >>confdefs.h <<_ACEOF
3837e6232409Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3838e6232409Smrg_ACEOF
3839e6232409Smrg
3840e6232409Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
3841e6232409Smrg	if test "x$PVM" = "x"; then
3842e6232409Smrg		PVM="0"
3843e6232409Smrg	fi
3844e6232409Smrg
3845e6232409Smrgcat >>confdefs.h <<_ACEOF
3846e6232409Smrg#define PACKAGE_VERSION_MINOR $PVM
3847e6232409Smrg_ACEOF
3848e6232409Smrg
3849e6232409Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
3850e6232409Smrg	if test "x$PVP" = "x"; then
3851e6232409Smrg		PVP="0"
3852e6232409Smrg	fi
3853e6232409Smrg
3854e6232409Smrgcat >>confdefs.h <<_ACEOF
3855e6232409Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
3856e6232409Smrg_ACEOF
3857e6232409Smrg
3858e6232409Smrg
3859e6232409Smrg
3860e6232409Smrgac_config_files="$ac_config_files Makefile"
3861e6232409Smrg
3862e6232409Smrgcat >confcache <<\_ACEOF
3863e6232409Smrg# This file is a shell script that caches the results of configure
3864e6232409Smrg# tests run on this system so they can be shared between configure
3865e6232409Smrg# scripts and configure runs, see configure's option --config-cache.
3866e6232409Smrg# It is not useful on other systems.  If it contains results you don't
3867e6232409Smrg# want to keep, you may remove or edit it.
3868e6232409Smrg#
3869e6232409Smrg# config.status only pays attention to the cache file if you give it
3870e6232409Smrg# the --recheck option to rerun configure.
3871e6232409Smrg#
3872e6232409Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
3873e6232409Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
3874e6232409Smrg# following values.
3875e6232409Smrg
3876e6232409Smrg_ACEOF
3877e6232409Smrg
3878e6232409Smrg# The following way of writing the cache mishandles newlines in values,
3879e6232409Smrg# but we know of no workaround that is simple, portable, and efficient.
3880e6232409Smrg# So, we kill variables containing newlines.
3881e6232409Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
3882e6232409Smrg# and sets the high bit in the cache file unless we assign to the vars.
3883e6232409Smrg(
3884e6232409Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3885e6232409Smrg    eval ac_val=\$$ac_var
3886e6232409Smrg    case $ac_val in #(
3887e6232409Smrg    *${as_nl}*)
3888e6232409Smrg      case $ac_var in #(
3889e6232409Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3890e6232409Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3891e6232409Smrg      esac
3892e6232409Smrg      case $ac_var in #(
3893e6232409Smrg      _ | IFS | as_nl) ;; #(
3894e6232409Smrg      *) $as_unset $ac_var ;;
3895e6232409Smrg      esac ;;
3896e6232409Smrg    esac
3897e6232409Smrg  done
3898e6232409Smrg
3899e6232409Smrg  (set) 2>&1 |
3900e6232409Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3901e6232409Smrg    *${as_nl}ac_space=\ *)
3902e6232409Smrg      # `set' does not quote correctly, so add quotes (double-quote
3903e6232409Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
3904e6232409Smrg      sed -n \
3905e6232409Smrg	"s/'/'\\\\''/g;
3906e6232409Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3907e6232409Smrg      ;; #(
3908e6232409Smrg    *)
3909e6232409Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
3910e6232409Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3911e6232409Smrg      ;;
3912e6232409Smrg    esac |
3913e6232409Smrg    sort
3914e6232409Smrg) |
3915e6232409Smrg  sed '
3916e6232409Smrg     /^ac_cv_env_/b end
3917e6232409Smrg     t clear
3918e6232409Smrg     :clear
3919e6232409Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3920e6232409Smrg     t end
3921e6232409Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3922e6232409Smrg     :end' >>confcache
3923e6232409Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3924e6232409Smrg  if test -w "$cache_file"; then
3925e6232409Smrg    test "x$cache_file" != "x/dev/null" &&
3926e6232409Smrg      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3927e6232409Smrgecho "$as_me: updating cache $cache_file" >&6;}
3928e6232409Smrg    cat confcache >$cache_file
3929e6232409Smrg  else
3930e6232409Smrg    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3931e6232409Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;}
3932e6232409Smrg  fi
3933e6232409Smrgfi
3934e6232409Smrgrm -f confcache
3935e6232409Smrg
3936e6232409Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
3937e6232409Smrg# Let make expand exec_prefix.
3938e6232409Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3939e6232409Smrg
3940e6232409SmrgDEFS=-DHAVE_CONFIG_H
3941e6232409Smrg
3942e6232409Smrgac_libobjs=
3943e6232409Smrgac_ltlibobjs=
3944e6232409Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3945e6232409Smrg  # 1. Remove the extension, and $U if already installed.
3946e6232409Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3947e6232409Smrg  ac_i=`echo "$ac_i" | sed "$ac_script"`
3948e6232409Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3949e6232409Smrg  #    will be set to the directory where LIBOBJS objects are built.
3950e6232409Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3951e6232409Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3952e6232409Smrgdone
3953e6232409SmrgLIBOBJS=$ac_libobjs
3954e6232409Smrg
3955e6232409SmrgLTLIBOBJS=$ac_ltlibobjs
3956e6232409Smrg
3957e6232409Smrg
3958e6232409Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3959e6232409Smrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3960e6232409SmrgUsually this means the macro was only invoked conditionally." >&5
3961e6232409Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3962e6232409SmrgUsually this means the macro was only invoked conditionally." >&2;}
3963e6232409Smrg   { (exit 1); exit 1; }; }
3964e6232409Smrgfi
3965e6232409Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3966e6232409Smrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3967e6232409SmrgUsually this means the macro was only invoked conditionally." >&5
3968e6232409Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
3969e6232409SmrgUsually this means the macro was only invoked conditionally." >&2;}
3970e6232409Smrg   { (exit 1); exit 1; }; }
3971e6232409Smrgfi
3972e6232409Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3973e6232409Smrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3974e6232409SmrgUsually this means the macro was only invoked conditionally." >&5
3975e6232409Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3976e6232409SmrgUsually this means the macro was only invoked conditionally." >&2;}
3977e6232409Smrg   { (exit 1); exit 1; }; }
3978e6232409Smrgfi
3979e6232409Smrg
3980e6232409Smrg: ${CONFIG_STATUS=./config.status}
3981e6232409Smrgac_clean_files_save=$ac_clean_files
3982e6232409Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
3983e6232409Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3984e6232409Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
3985e6232409Smrgcat >$CONFIG_STATUS <<_ACEOF
3986e6232409Smrg#! $SHELL
3987e6232409Smrg# Generated by $as_me.
3988e6232409Smrg# Run this file to recreate the current configuration.
3989e6232409Smrg# Compiler output produced by configure, useful for debugging
3990e6232409Smrg# configure, is in config.log if it exists.
3991e6232409Smrg
3992e6232409Smrgdebug=false
3993e6232409Smrgac_cs_recheck=false
3994e6232409Smrgac_cs_silent=false
3995e6232409SmrgSHELL=\${CONFIG_SHELL-$SHELL}
3996e6232409Smrg_ACEOF
3997e6232409Smrg
3998e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
3999e6232409Smrg## --------------------- ##
4000e6232409Smrg## M4sh Initialization.  ##
4001e6232409Smrg## --------------------- ##
4002e6232409Smrg
4003e6232409Smrg# Be Bourne compatible
4004e6232409Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4005e6232409Smrg  emulate sh
4006e6232409Smrg  NULLCMD=:
4007e6232409Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4008e6232409Smrg  # is contrary to our usage.  Disable this feature.
4009e6232409Smrg  alias -g '${1+"$@"}'='"$@"'
4010e6232409Smrg  setopt NO_GLOB_SUBST
4011e6232409Smrgelse
4012e6232409Smrg  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
4013e6232409Smrgfi
4014e6232409SmrgBIN_SH=xpg4; export BIN_SH # for Tru64
4015e6232409SmrgDUALCASE=1; export DUALCASE # for MKS sh
4016e6232409Smrg
4017e6232409Smrg
4018e6232409Smrg# PATH needs CR
4019e6232409Smrg# Avoid depending upon Character Ranges.
4020e6232409Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4021e6232409Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4022e6232409Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4023e6232409Smrgas_cr_digits='0123456789'
4024e6232409Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
4025e6232409Smrg
4026e6232409Smrg# The user is always right.
4027e6232409Smrgif test "${PATH_SEPARATOR+set}" != set; then
4028e6232409Smrg  echo "#! /bin/sh" >conf$$.sh
4029e6232409Smrg  echo  "exit 0"   >>conf$$.sh
4030e6232409Smrg  chmod +x conf$$.sh
4031e6232409Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4032e6232409Smrg    PATH_SEPARATOR=';'
4033e6232409Smrg  else
4034e6232409Smrg    PATH_SEPARATOR=:
4035e6232409Smrg  fi
4036e6232409Smrg  rm -f conf$$.sh
4037e6232409Smrgfi
4038e6232409Smrg
4039e6232409Smrg# Support unset when possible.
4040e6232409Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4041e6232409Smrg  as_unset=unset
4042e6232409Smrgelse
4043e6232409Smrg  as_unset=false
4044e6232409Smrgfi
4045e6232409Smrg
4046e6232409Smrg
4047e6232409Smrg# IFS
4048e6232409Smrg# We need space, tab and new line, in precisely that order.  Quoting is
4049e6232409Smrg# there to prevent editors from complaining about space-tab.
4050e6232409Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4051e6232409Smrg# splitting by setting IFS to empty value.)
4052e6232409Smrgas_nl='
4053e6232409Smrg'
4054e6232409SmrgIFS=" ""	$as_nl"
4055e6232409Smrg
4056e6232409Smrg# Find who we are.  Look in the path if we contain no directory separator.
4057e6232409Smrgcase $0 in
4058e6232409Smrg  *[\\/]* ) as_myself=$0 ;;
4059e6232409Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4060e6232409Smrgfor as_dir in $PATH
4061e6232409Smrgdo
4062e6232409Smrg  IFS=$as_save_IFS
4063e6232409Smrg  test -z "$as_dir" && as_dir=.
4064e6232409Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4065e6232409Smrgdone
4066e6232409SmrgIFS=$as_save_IFS
4067e6232409Smrg
4068e6232409Smrg     ;;
4069e6232409Smrgesac
4070e6232409Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
4071e6232409Smrg# in which case we are not to be found in the path.
4072e6232409Smrgif test "x$as_myself" = x; then
4073e6232409Smrg  as_myself=$0
4074e6232409Smrgfi
4075e6232409Smrgif test ! -f "$as_myself"; then
4076e6232409Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4077e6232409Smrg  { (exit 1); exit 1; }
4078e6232409Smrgfi
4079e6232409Smrg
4080e6232409Smrg# Work around bugs in pre-3.0 UWIN ksh.
4081e6232409Smrgfor as_var in ENV MAIL MAILPATH
4082e6232409Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4083e6232409Smrgdone
4084e6232409SmrgPS1='$ '
4085e6232409SmrgPS2='> '
4086e6232409SmrgPS4='+ '
4087e6232409Smrg
4088e6232409Smrg# NLS nuisances.
4089e6232409Smrgfor as_var in \
4090e6232409Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4091e6232409Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4092e6232409Smrg  LC_TELEPHONE LC_TIME
4093e6232409Smrgdo
4094e6232409Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4095e6232409Smrg    eval $as_var=C; export $as_var
4096e6232409Smrg  else
4097e6232409Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4098e6232409Smrg  fi
4099e6232409Smrgdone
4100e6232409Smrg
4101e6232409Smrg# Required to use basename.
4102e6232409Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4103e6232409Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4104e6232409Smrg  as_expr=expr
4105e6232409Smrgelse
4106e6232409Smrg  as_expr=false
4107e6232409Smrgfi
4108e6232409Smrg
4109e6232409Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4110e6232409Smrg  as_basename=basename
4111e6232409Smrgelse
4112e6232409Smrg  as_basename=false
4113e6232409Smrgfi
4114e6232409Smrg
4115e6232409Smrg
4116e6232409Smrg# Name of the executable.
4117e6232409Smrgas_me=`$as_basename -- "$0" ||
4118e6232409Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4119e6232409Smrg	 X"$0" : 'X\(//\)$' \| \
4120e6232409Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4121e6232409Smrgecho X/"$0" |
4122e6232409Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
4123e6232409Smrg	    s//\1/
4124e6232409Smrg	    q
4125e6232409Smrg	  }
4126e6232409Smrg	  /^X\/\(\/\/\)$/{
4127e6232409Smrg	    s//\1/
4128e6232409Smrg	    q
4129e6232409Smrg	  }
4130e6232409Smrg	  /^X\/\(\/\).*/{
4131e6232409Smrg	    s//\1/
4132e6232409Smrg	    q
4133e6232409Smrg	  }
4134e6232409Smrg	  s/.*/./; q'`
4135e6232409Smrg
4136e6232409Smrg# CDPATH.
4137e6232409Smrg$as_unset CDPATH
4138e6232409Smrg
4139e6232409Smrg
4140e6232409Smrg
4141e6232409Smrg  as_lineno_1=$LINENO
4142e6232409Smrg  as_lineno_2=$LINENO
4143e6232409Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
4144e6232409Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4145e6232409Smrg
4146e6232409Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4147e6232409Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
4148e6232409Smrg  # line-number line after each line using $LINENO; the second 'sed'
4149e6232409Smrg  # does the real work.  The second script uses 'N' to pair each
4150e6232409Smrg  # line-number line with the line containing $LINENO, and appends
4151e6232409Smrg  # trailing '-' during substitution so that $LINENO is not a special
4152e6232409Smrg  # case at line end.
4153e6232409Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4154e6232409Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4155e6232409Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
4156e6232409Smrg  sed -n '
4157e6232409Smrg    p
4158e6232409Smrg    /[$]LINENO/=
4159e6232409Smrg  ' <$as_myself |
4160e6232409Smrg    sed '
4161e6232409Smrg      s/[$]LINENO.*/&-/
4162e6232409Smrg      t lineno
4163e6232409Smrg      b
4164e6232409Smrg      :lineno
4165e6232409Smrg      N
4166e6232409Smrg      :loop
4167e6232409Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4168e6232409Smrg      t loop
4169e6232409Smrg      s/-\n.*//
4170e6232409Smrg    ' >$as_me.lineno &&
4171e6232409Smrg  chmod +x "$as_me.lineno" ||
4172e6232409Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4173e6232409Smrg   { (exit 1); exit 1; }; }
4174e6232409Smrg
4175e6232409Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
4176e6232409Smrg  # (the dirname of $[0] is not the place where we might find the
4177e6232409Smrg  # original and so on.  Autoconf is especially sensitive to this).
4178e6232409Smrg  . "./$as_me.lineno"
4179e6232409Smrg  # Exit status is that of the last command.
4180e6232409Smrg  exit
4181e6232409Smrg}
4182e6232409Smrg
4183e6232409Smrg
4184e6232409Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4185e6232409Smrg  as_dirname=dirname
4186e6232409Smrgelse
4187e6232409Smrg  as_dirname=false
4188e6232409Smrgfi
4189e6232409Smrg
4190e6232409SmrgECHO_C= ECHO_N= ECHO_T=
4191e6232409Smrgcase `echo -n x` in
4192e6232409Smrg-n*)
4193e6232409Smrg  case `echo 'x\c'` in
4194e6232409Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4195e6232409Smrg  *)   ECHO_C='\c';;
4196e6232409Smrg  esac;;
4197e6232409Smrg*)
4198e6232409Smrg  ECHO_N='-n';;
4199e6232409Smrgesac
4200e6232409Smrg
4201e6232409Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4202e6232409Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4203e6232409Smrg  as_expr=expr
4204e6232409Smrgelse
4205e6232409Smrg  as_expr=false
4206e6232409Smrgfi
4207e6232409Smrg
4208e6232409Smrgrm -f conf$$ conf$$.exe conf$$.file
4209e6232409Smrgif test -d conf$$.dir; then
4210e6232409Smrg  rm -f conf$$.dir/conf$$.file
4211e6232409Smrgelse
4212e6232409Smrg  rm -f conf$$.dir
4213e6232409Smrg  mkdir conf$$.dir
4214e6232409Smrgfi
4215e6232409Smrgecho >conf$$.file
4216e6232409Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
4217e6232409Smrg  as_ln_s='ln -s'
4218e6232409Smrg  # ... but there are two gotchas:
4219e6232409Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4220e6232409Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4221e6232409Smrg  # In both cases, we have to default to `cp -p'.
4222e6232409Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4223e6232409Smrg    as_ln_s='cp -p'
4224e6232409Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
4225e6232409Smrg  as_ln_s=ln
4226e6232409Smrgelse
4227e6232409Smrg  as_ln_s='cp -p'
4228e6232409Smrgfi
4229e6232409Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4230e6232409Smrgrmdir conf$$.dir 2>/dev/null
4231e6232409Smrg
4232e6232409Smrgif mkdir -p . 2>/dev/null; then
4233e6232409Smrg  as_mkdir_p=:
4234e6232409Smrgelse
4235e6232409Smrg  test -d ./-p && rmdir ./-p
4236e6232409Smrg  as_mkdir_p=false
4237e6232409Smrgfi
4238e6232409Smrg
4239e6232409Smrg# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
4240e6232409Smrg# systems may use methods other than mode bits to determine executability.
4241e6232409Smrgcat >conf$$.file <<_ASEOF
4242e6232409Smrg#! /bin/sh
4243e6232409Smrgexit 0
4244e6232409Smrg_ASEOF
4245e6232409Smrgchmod +x conf$$.file
4246e6232409Smrgif test -x conf$$.file >/dev/null 2>&1; then
4247e6232409Smrg  as_executable_p="test -x"
4248e6232409Smrgelse
4249e6232409Smrg  as_executable_p=:
4250e6232409Smrgfi
4251e6232409Smrgrm -f conf$$.file
4252e6232409Smrg
4253e6232409Smrg# Sed expression to map a string onto a valid CPP name.
4254e6232409Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4255e6232409Smrg
4256e6232409Smrg# Sed expression to map a string onto a valid variable name.
4257e6232409Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4258e6232409Smrg
4259e6232409Smrg
4260e6232409Smrgexec 6>&1
4261e6232409Smrg
4262e6232409Smrg# Save the log message, to keep $[0] and so on meaningful, and to
4263e6232409Smrg# report actual input values of CONFIG_FILES etc. instead of their
4264e6232409Smrg# values after options handling.
4265e6232409Smrgac_log="
4266e6232409SmrgThis file was extended by xlsfonts $as_me 1.0.2, which was
4267e6232409Smrggenerated by GNU Autoconf 2.60.  Invocation command line was
4268e6232409Smrg
4269e6232409Smrg  CONFIG_FILES    = $CONFIG_FILES
4270e6232409Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
4271e6232409Smrg  CONFIG_LINKS    = $CONFIG_LINKS
4272e6232409Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
4273e6232409Smrg  $ $0 $@
4274e6232409Smrg
4275e6232409Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
4276e6232409Smrg"
4277e6232409Smrg
4278e6232409Smrg_ACEOF
4279e6232409Smrg
4280e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4281e6232409Smrg# Files that config.status was made for.
4282e6232409Smrgconfig_files="$ac_config_files"
4283e6232409Smrgconfig_headers="$ac_config_headers"
4284e6232409Smrgconfig_commands="$ac_config_commands"
4285e6232409Smrg
4286e6232409Smrg_ACEOF
4287e6232409Smrg
4288e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4289e6232409Smrgac_cs_usage="\
4290e6232409Smrg\`$as_me' instantiates files from templates according to the
4291e6232409Smrgcurrent configuration.
4292e6232409Smrg
4293e6232409SmrgUsage: $0 [OPTIONS] [FILE]...
4294e6232409Smrg
4295e6232409Smrg  -h, --help       print this help, then exit
4296e6232409Smrg  -V, --version    print version number, then exit
4297e6232409Smrg  -q, --quiet      do not print progress messages
4298e6232409Smrg  -d, --debug      don't remove temporary files
4299e6232409Smrg      --recheck    update $as_me by reconfiguring in the same conditions
4300e6232409Smrg  --file=FILE[:TEMPLATE]
4301e6232409Smrg		   instantiate the configuration file FILE
4302e6232409Smrg  --header=FILE[:TEMPLATE]
4303e6232409Smrg		   instantiate the configuration header FILE
4304e6232409Smrg
4305e6232409SmrgConfiguration files:
4306e6232409Smrg$config_files
4307e6232409Smrg
4308e6232409SmrgConfiguration headers:
4309e6232409Smrg$config_headers
4310e6232409Smrg
4311e6232409SmrgConfiguration commands:
4312e6232409Smrg$config_commands
4313e6232409Smrg
4314e6232409SmrgReport bugs to <bug-autoconf@gnu.org>."
4315e6232409Smrg
4316e6232409Smrg_ACEOF
4317e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4318e6232409Smrgac_cs_version="\\
4319e6232409Smrgxlsfonts config.status 1.0.2
4320e6232409Smrgconfigured by $0, generated by GNU Autoconf 2.60,
4321e6232409Smrg  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4322e6232409Smrg
4323e6232409SmrgCopyright (C) 2006 Free Software Foundation, Inc.
4324e6232409SmrgThis config.status script is free software; the Free Software Foundation
4325e6232409Smrggives unlimited permission to copy, distribute and modify it."
4326e6232409Smrg
4327e6232409Smrgac_pwd='$ac_pwd'
4328e6232409Smrgsrcdir='$srcdir'
4329e6232409SmrgINSTALL='$INSTALL'
4330e6232409Smrg_ACEOF
4331e6232409Smrg
4332e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4333e6232409Smrg# If no file are specified by the user, then we need to provide default
4334e6232409Smrg# value.  By we need to know if files were specified by the user.
4335e6232409Smrgac_need_defaults=:
4336e6232409Smrgwhile test $# != 0
4337e6232409Smrgdo
4338e6232409Smrg  case $1 in
4339e6232409Smrg  --*=*)
4340e6232409Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4341e6232409Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4342e6232409Smrg    ac_shift=:
4343e6232409Smrg    ;;
4344e6232409Smrg  *)
4345e6232409Smrg    ac_option=$1
4346e6232409Smrg    ac_optarg=$2
4347e6232409Smrg    ac_shift=shift
4348e6232409Smrg    ;;
4349e6232409Smrg  esac
4350e6232409Smrg
4351e6232409Smrg  case $ac_option in
4352e6232409Smrg  # Handling of the options.
4353e6232409Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4354e6232409Smrg    ac_cs_recheck=: ;;
4355e6232409Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4356e6232409Smrg    echo "$ac_cs_version"; exit ;;
4357e6232409Smrg  --debug | --debu | --deb | --de | --d | -d )
4358e6232409Smrg    debug=: ;;
4359e6232409Smrg  --file | --fil | --fi | --f )
4360e6232409Smrg    $ac_shift
4361e6232409Smrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4362e6232409Smrg    ac_need_defaults=false;;
4363e6232409Smrg  --header | --heade | --head | --hea )
4364e6232409Smrg    $ac_shift
4365e6232409Smrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4366e6232409Smrg    ac_need_defaults=false;;
4367e6232409Smrg  --he | --h)
4368e6232409Smrg    # Conflict between --help and --header
4369e6232409Smrg    { echo "$as_me: error: ambiguous option: $1
4370e6232409SmrgTry \`$0 --help' for more information." >&2
4371e6232409Smrg   { (exit 1); exit 1; }; };;
4372e6232409Smrg  --help | --hel | -h )
4373e6232409Smrg    echo "$ac_cs_usage"; exit ;;
4374e6232409Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4375e6232409Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4376e6232409Smrg    ac_cs_silent=: ;;
4377e6232409Smrg
4378e6232409Smrg  # This is an error.
4379e6232409Smrg  -*) { echo "$as_me: error: unrecognized option: $1
4380e6232409SmrgTry \`$0 --help' for more information." >&2
4381e6232409Smrg   { (exit 1); exit 1; }; } ;;
4382e6232409Smrg
4383e6232409Smrg  *) ac_config_targets="$ac_config_targets $1"
4384e6232409Smrg     ac_need_defaults=false ;;
4385e6232409Smrg
4386e6232409Smrg  esac
4387e6232409Smrg  shift
4388e6232409Smrgdone
4389e6232409Smrg
4390e6232409Smrgac_configure_extra_args=
4391e6232409Smrg
4392e6232409Smrgif $ac_cs_silent; then
4393e6232409Smrg  exec 6>/dev/null
4394e6232409Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
4395e6232409Smrgfi
4396e6232409Smrg
4397e6232409Smrg_ACEOF
4398e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4399e6232409Smrgif \$ac_cs_recheck; then
4400e6232409Smrg  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4401e6232409Smrg  CONFIG_SHELL=$SHELL
4402e6232409Smrg  export CONFIG_SHELL
4403e6232409Smrg  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4404e6232409Smrgfi
4405e6232409Smrg
4406e6232409Smrg_ACEOF
4407e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4408e6232409Smrgexec 5>>config.log
4409e6232409Smrg{
4410e6232409Smrg  echo
4411e6232409Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4412e6232409Smrg## Running $as_me. ##
4413e6232409Smrg_ASBOX
4414e6232409Smrg  echo "$ac_log"
4415e6232409Smrg} >&5
4416e6232409Smrg
4417e6232409Smrg_ACEOF
4418e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4419e6232409Smrg#
4420e6232409Smrg# INIT-COMMANDS
4421e6232409Smrg#
4422e6232409SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4423e6232409Smrg
4424e6232409Smrg_ACEOF
4425e6232409Smrg
4426e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4427e6232409Smrg
4428e6232409Smrg# Handling of arguments.
4429e6232409Smrgfor ac_config_target in $ac_config_targets
4430e6232409Smrgdo
4431e6232409Smrg  case $ac_config_target in
4432e6232409Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4433e6232409Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4434e6232409Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4435e6232409Smrg
4436e6232409Smrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4437e6232409Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
4438e6232409Smrg   { (exit 1); exit 1; }; };;
4439e6232409Smrg  esac
4440e6232409Smrgdone
4441e6232409Smrg
4442e6232409Smrg
4443e6232409Smrg# If the user did not use the arguments to specify the items to instantiate,
4444e6232409Smrg# then the envvar interface is used.  Set only those that are not.
4445e6232409Smrg# We use the long form for the default assignment because of an extremely
4446e6232409Smrg# bizarre bug on SunOS 4.1.3.
4447e6232409Smrgif $ac_need_defaults; then
4448e6232409Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4449e6232409Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4450e6232409Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4451e6232409Smrgfi
4452e6232409Smrg
4453e6232409Smrg# Have a temporary directory for convenience.  Make it in the build tree
4454e6232409Smrg# simply because there is no reason against having it here, and in addition,
4455e6232409Smrg# creating and moving files from /tmp can sometimes cause problems.
4456e6232409Smrg# Hook for its removal unless debugging.
4457e6232409Smrg# Note that there is a small window in which the directory will not be cleaned:
4458e6232409Smrg# after its creation but before its name has been assigned to `$tmp'.
4459e6232409Smrg$debug ||
4460e6232409Smrg{
4461e6232409Smrg  tmp=
4462e6232409Smrg  trap 'exit_status=$?
4463e6232409Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4464e6232409Smrg' 0
4465e6232409Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
4466e6232409Smrg}
4467e6232409Smrg# Create a (secure) tmp directory for tmp files.
4468e6232409Smrg
4469e6232409Smrg{
4470e6232409Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4471e6232409Smrg  test -n "$tmp" && test -d "$tmp"
4472e6232409Smrg}  ||
4473e6232409Smrg{
4474e6232409Smrg  tmp=./conf$$-$RANDOM
4475e6232409Smrg  (umask 077 && mkdir "$tmp")
4476e6232409Smrg} ||
4477e6232409Smrg{
4478e6232409Smrg   echo "$me: cannot create a temporary directory in ." >&2
4479e6232409Smrg   { (exit 1); exit 1; }
4480e6232409Smrg}
4481e6232409Smrg
4482e6232409Smrg#
4483e6232409Smrg# Set up the sed scripts for CONFIG_FILES section.
4484e6232409Smrg#
4485e6232409Smrg
4486e6232409Smrg# No need to generate the scripts if there are no CONFIG_FILES.
4487e6232409Smrg# This happens for instance when ./config.status config.h
4488e6232409Smrgif test -n "$CONFIG_FILES"; then
4489e6232409Smrg
4490e6232409Smrg_ACEOF
4491e6232409Smrg
4492e6232409Smrg
4493e6232409Smrg
4494e6232409Smrgac_delim='%!_!# '
4495e6232409Smrgfor ac_last_try in false false false false false :; do
4496e6232409Smrg  cat >conf$$subs.sed <<_ACEOF
4497e6232409SmrgSHELL!$SHELL$ac_delim
4498e6232409SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4499e6232409SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim
4500e6232409SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4501e6232409SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4502e6232409SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim
4503e6232409SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4504e6232409Smrgexec_prefix!$exec_prefix$ac_delim
4505e6232409Smrgprefix!$prefix$ac_delim
4506e6232409Smrgprogram_transform_name!$program_transform_name$ac_delim
4507e6232409Smrgbindir!$bindir$ac_delim
4508e6232409Smrgsbindir!$sbindir$ac_delim
4509e6232409Smrglibexecdir!$libexecdir$ac_delim
4510e6232409Smrgdatarootdir!$datarootdir$ac_delim
4511e6232409Smrgdatadir!$datadir$ac_delim
4512e6232409Smrgsysconfdir!$sysconfdir$ac_delim
4513e6232409Smrgsharedstatedir!$sharedstatedir$ac_delim
4514e6232409Smrglocalstatedir!$localstatedir$ac_delim
4515e6232409Smrgincludedir!$includedir$ac_delim
4516e6232409Smrgoldincludedir!$oldincludedir$ac_delim
4517e6232409Smrgdocdir!$docdir$ac_delim
4518e6232409Smrginfodir!$infodir$ac_delim
4519e6232409Smrghtmldir!$htmldir$ac_delim
4520e6232409Smrgdvidir!$dvidir$ac_delim
4521e6232409Smrgpdfdir!$pdfdir$ac_delim
4522e6232409Smrgpsdir!$psdir$ac_delim
4523e6232409Smrglibdir!$libdir$ac_delim
4524e6232409Smrglocaledir!$localedir$ac_delim
4525e6232409Smrgmandir!$mandir$ac_delim
4526e6232409SmrgDEFS!$DEFS$ac_delim
4527e6232409SmrgECHO_C!$ECHO_C$ac_delim
4528e6232409SmrgECHO_N!$ECHO_N$ac_delim
4529e6232409SmrgECHO_T!$ECHO_T$ac_delim
4530e6232409SmrgLIBS!$LIBS$ac_delim
4531e6232409Smrgbuild_alias!$build_alias$ac_delim
4532e6232409Smrghost_alias!$host_alias$ac_delim
4533e6232409Smrgtarget_alias!$target_alias$ac_delim
4534e6232409SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4535e6232409SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4536e6232409SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim
4537e6232409SmrgCYGPATH_W!$CYGPATH_W$ac_delim
4538e6232409SmrgPACKAGE!$PACKAGE$ac_delim
4539e6232409SmrgVERSION!$VERSION$ac_delim
4540e6232409SmrgACLOCAL!$ACLOCAL$ac_delim
4541e6232409SmrgAUTOCONF!$AUTOCONF$ac_delim
4542e6232409SmrgAUTOMAKE!$AUTOMAKE$ac_delim
4543e6232409SmrgAUTOHEADER!$AUTOHEADER$ac_delim
4544e6232409SmrgMAKEINFO!$MAKEINFO$ac_delim
4545e6232409Smrginstall_sh!$install_sh$ac_delim
4546e6232409SmrgSTRIP!$STRIP$ac_delim
4547e6232409SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4548e6232409Smrgmkdir_p!$mkdir_p$ac_delim
4549e6232409SmrgAWK!$AWK$ac_delim
4550e6232409SmrgSET_MAKE!$SET_MAKE$ac_delim
4551e6232409Smrgam__leading_dot!$am__leading_dot$ac_delim
4552e6232409SmrgAMTAR!$AMTAR$ac_delim
4553e6232409Smrgam__tar!$am__tar$ac_delim
4554e6232409Smrgam__untar!$am__untar$ac_delim
4555e6232409SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4556e6232409SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4557e6232409SmrgMAINT!$MAINT$ac_delim
4558e6232409SmrgCC!$CC$ac_delim
4559e6232409SmrgCFLAGS!$CFLAGS$ac_delim
4560e6232409SmrgLDFLAGS!$LDFLAGS$ac_delim
4561e6232409SmrgCPPFLAGS!$CPPFLAGS$ac_delim
4562e6232409Smrgac_ct_CC!$ac_ct_CC$ac_delim
4563e6232409SmrgEXEEXT!$EXEEXT$ac_delim
4564e6232409SmrgOBJEXT!$OBJEXT$ac_delim
4565e6232409SmrgDEPDIR!$DEPDIR$ac_delim
4566e6232409Smrgam__include!$am__include$ac_delim
4567e6232409Smrgam__quote!$am__quote$ac_delim
4568e6232409SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim
4569e6232409SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim
4570e6232409SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4571e6232409SmrgCCDEPMODE!$CCDEPMODE$ac_delim
4572e6232409Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4573e6232409Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4574e6232409SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim
4575e6232409SmrgXLSFONTS_CFLAGS!$XLSFONTS_CFLAGS$ac_delim
4576e6232409SmrgXLSFONTS_LIBS!$XLSFONTS_LIBS$ac_delim
4577e6232409Smrgbuild!$build$ac_delim
4578e6232409Smrgbuild_cpu!$build_cpu$ac_delim
4579e6232409Smrgbuild_vendor!$build_vendor$ac_delim
4580e6232409Smrgbuild_os!$build_os$ac_delim
4581e6232409Smrghost!$host$ac_delim
4582e6232409Smrghost_cpu!$host_cpu$ac_delim
4583e6232409Smrghost_vendor!$host_vendor$ac_delim
4584e6232409Smrghost_os!$host_os$ac_delim
4585e6232409SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
4586e6232409SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
4587e6232409SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
4588e6232409SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
4589e6232409SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
4590e6232409SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
4591e6232409SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim
4592e6232409SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
4593e6232409SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
4594e6232409Smrg_ACEOF
4595e6232409Smrg
4596e6232409Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4597e6232409Smrg    break
4598e6232409Smrg  elif $ac_last_try; then
4599e6232409Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4600e6232409Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4601e6232409Smrg   { (exit 1); exit 1; }; }
4602e6232409Smrg  else
4603e6232409Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4604e6232409Smrg  fi
4605e6232409Smrgdone
4606e6232409Smrg
4607e6232409Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4608e6232409Smrgif test -n "$ac_eof"; then
4609e6232409Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4610e6232409Smrg  ac_eof=`expr $ac_eof + 1`
4611e6232409Smrgfi
4612e6232409Smrg
4613e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4614e6232409Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4615e6232409Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4616e6232409Smrg_ACEOF
4617e6232409Smrgsed '
4618e6232409Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4619e6232409Smrgs/^/s,@/; s/!/@,|#_!!_#|/
4620e6232409Smrg:n
4621e6232409Smrgt n
4622e6232409Smrgs/'"$ac_delim"'$/,g/; t
4623e6232409Smrgs/$/\\/; p
4624e6232409SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4625e6232409Smrg' >>$CONFIG_STATUS <conf$$subs.sed
4626e6232409Smrgrm -f conf$$subs.sed
4627e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4628e6232409SmrgCEOF$ac_eof
4629e6232409Smrg_ACEOF
4630e6232409Smrg
4631e6232409Smrg
4632e6232409Smrgac_delim='%!_!# '
4633e6232409Smrgfor ac_last_try in false false false false false :; do
4634e6232409Smrg  cat >conf$$subs.sed <<_ACEOF
4635e6232409SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
4636e6232409SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
4637e6232409SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
4638e6232409SmrgLIBOBJS!$LIBOBJS$ac_delim
4639e6232409SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim
4640e6232409Smrg_ACEOF
4641e6232409Smrg
4642e6232409Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
4643e6232409Smrg    break
4644e6232409Smrg  elif $ac_last_try; then
4645e6232409Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4646e6232409Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4647e6232409Smrg   { (exit 1); exit 1; }; }
4648e6232409Smrg  else
4649e6232409Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4650e6232409Smrg  fi
4651e6232409Smrgdone
4652e6232409Smrg
4653e6232409Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4654e6232409Smrgif test -n "$ac_eof"; then
4655e6232409Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4656e6232409Smrg  ac_eof=`expr $ac_eof + 1`
4657e6232409Smrgfi
4658e6232409Smrg
4659e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4660e6232409Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4661e6232409Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4662e6232409Smrg_ACEOF
4663e6232409Smrgsed '
4664e6232409Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4665e6232409Smrgs/^/s,@/; s/!/@,|#_!!_#|/
4666e6232409Smrg:n
4667e6232409Smrgt n
4668e6232409Smrgs/'"$ac_delim"'$/,g/; t
4669e6232409Smrgs/$/\\/; p
4670e6232409SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4671e6232409Smrg' >>$CONFIG_STATUS <conf$$subs.sed
4672e6232409Smrgrm -f conf$$subs.sed
4673e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4674e6232409Smrg:end
4675e6232409Smrgs/|#_!!_#|//g
4676e6232409SmrgCEOF$ac_eof
4677e6232409Smrg_ACEOF
4678e6232409Smrg
4679e6232409Smrg
4680e6232409Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
4681e6232409Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4682e6232409Smrg# trailing colons and then remove the whole line if VPATH becomes empty
4683e6232409Smrg# (actually we leave an empty line to preserve line numbers).
4684e6232409Smrgif test "x$srcdir" = x.; then
4685e6232409Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
4686e6232409Smrgs/:*\$(srcdir):*/:/
4687e6232409Smrgs/:*\${srcdir}:*/:/
4688e6232409Smrgs/:*@srcdir@:*/:/
4689e6232409Smrgs/^\([^=]*=[	 ]*\):*/\1/
4690e6232409Smrgs/:*$//
4691e6232409Smrgs/^[^=]*=[	 ]*$//
4692e6232409Smrg}'
4693e6232409Smrgfi
4694e6232409Smrg
4695e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4696e6232409Smrgfi # test -n "$CONFIG_FILES"
4697e6232409Smrg
4698e6232409Smrg
4699e6232409Smrgfor ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
4700e6232409Smrgdo
4701e6232409Smrg  case $ac_tag in
4702e6232409Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
4703e6232409Smrg  esac
4704e6232409Smrg  case $ac_mode$ac_tag in
4705e6232409Smrg  :[FHL]*:*);;
4706e6232409Smrg  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4707e6232409Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;}
4708e6232409Smrg   { (exit 1); exit 1; }; };;
4709e6232409Smrg  :[FH]-) ac_tag=-:-;;
4710e6232409Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4711e6232409Smrg  esac
4712e6232409Smrg  ac_save_IFS=$IFS
4713e6232409Smrg  IFS=:
4714e6232409Smrg  set x $ac_tag
4715e6232409Smrg  IFS=$ac_save_IFS
4716e6232409Smrg  shift
4717e6232409Smrg  ac_file=$1
4718e6232409Smrg  shift
4719e6232409Smrg
4720e6232409Smrg  case $ac_mode in
4721e6232409Smrg  :L) ac_source=$1;;
4722e6232409Smrg  :[FH])
4723e6232409Smrg    ac_file_inputs=
4724e6232409Smrg    for ac_f
4725e6232409Smrg    do
4726e6232409Smrg      case $ac_f in
4727e6232409Smrg      -) ac_f="$tmp/stdin";;
4728e6232409Smrg      *) # Look for the file first in the build tree, then in the source tree
4729e6232409Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4730e6232409Smrg	 # because $ac_f cannot contain `:'.
4731e6232409Smrg	 test -f "$ac_f" ||
4732e6232409Smrg	   case $ac_f in
4733e6232409Smrg	   [\\/$]*) false;;
4734e6232409Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4735e6232409Smrg	   esac ||
4736e6232409Smrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4737e6232409Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;}
4738e6232409Smrg   { (exit 1); exit 1; }; };;
4739e6232409Smrg      esac
4740e6232409Smrg      ac_file_inputs="$ac_file_inputs $ac_f"
4741e6232409Smrg    done
4742e6232409Smrg
4743e6232409Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
4744e6232409Smrg    # use $as_me), people would be surprised to read:
4745e6232409Smrg    #    /* config.h.  Generated by config.status.  */
4746e6232409Smrg    configure_input="Generated from "`IFS=:
4747e6232409Smrg	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4748e6232409Smrg    if test x"$ac_file" != x-; then
4749e6232409Smrg      configure_input="$ac_file.  $configure_input"
4750e6232409Smrg      { echo "$as_me:$LINENO: creating $ac_file" >&5
4751e6232409Smrgecho "$as_me: creating $ac_file" >&6;}
4752e6232409Smrg    fi
4753e6232409Smrg
4754e6232409Smrg    case $ac_tag in
4755e6232409Smrg    *:-:* | *:-) cat >"$tmp/stdin";;
4756e6232409Smrg    esac
4757e6232409Smrg    ;;
4758e6232409Smrg  esac
4759e6232409Smrg
4760e6232409Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
4761e6232409Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4762e6232409Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
4763e6232409Smrg	 X"$ac_file" : 'X\(//\)$' \| \
4764e6232409Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4765e6232409Smrgecho X"$ac_file" |
4766e6232409Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4767e6232409Smrg	    s//\1/
4768e6232409Smrg	    q
4769e6232409Smrg	  }
4770e6232409Smrg	  /^X\(\/\/\)[^/].*/{
4771e6232409Smrg	    s//\1/
4772e6232409Smrg	    q
4773e6232409Smrg	  }
4774e6232409Smrg	  /^X\(\/\/\)$/{
4775e6232409Smrg	    s//\1/
4776e6232409Smrg	    q
4777e6232409Smrg	  }
4778e6232409Smrg	  /^X\(\/\).*/{
4779e6232409Smrg	    s//\1/
4780e6232409Smrg	    q
4781e6232409Smrg	  }
4782e6232409Smrg	  s/.*/./; q'`
4783e6232409Smrg  { as_dir="$ac_dir"
4784e6232409Smrg  case $as_dir in #(
4785e6232409Smrg  -*) as_dir=./$as_dir;;
4786e6232409Smrg  esac
4787e6232409Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4788e6232409Smrg    as_dirs=
4789e6232409Smrg    while :; do
4790e6232409Smrg      case $as_dir in #(
4791e6232409Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4792e6232409Smrg      *) as_qdir=$as_dir;;
4793e6232409Smrg      esac
4794e6232409Smrg      as_dirs="'$as_qdir' $as_dirs"
4795e6232409Smrg      as_dir=`$as_dirname -- "$as_dir" ||
4796e6232409Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4797e6232409Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4798e6232409Smrg	 X"$as_dir" : 'X\(//\)$' \| \
4799e6232409Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4800e6232409Smrgecho X"$as_dir" |
4801e6232409Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4802e6232409Smrg	    s//\1/
4803e6232409Smrg	    q
4804e6232409Smrg	  }
4805e6232409Smrg	  /^X\(\/\/\)[^/].*/{
4806e6232409Smrg	    s//\1/
4807e6232409Smrg	    q
4808e6232409Smrg	  }
4809e6232409Smrg	  /^X\(\/\/\)$/{
4810e6232409Smrg	    s//\1/
4811e6232409Smrg	    q
4812e6232409Smrg	  }
4813e6232409Smrg	  /^X\(\/\).*/{
4814e6232409Smrg	    s//\1/
4815e6232409Smrg	    q
4816e6232409Smrg	  }
4817e6232409Smrg	  s/.*/./; q'`
4818e6232409Smrg      test -d "$as_dir" && break
4819e6232409Smrg    done
4820e6232409Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
4821e6232409Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4822e6232409Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
4823e6232409Smrg   { (exit 1); exit 1; }; }; }
4824e6232409Smrg  ac_builddir=.
4825e6232409Smrg
4826e6232409Smrgcase "$ac_dir" in
4827e6232409Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4828e6232409Smrg*)
4829e6232409Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4830e6232409Smrg  # A ".." for each directory in $ac_dir_suffix.
4831e6232409Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4832e6232409Smrg  case $ac_top_builddir_sub in
4833e6232409Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4834e6232409Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4835e6232409Smrg  esac ;;
4836e6232409Smrgesac
4837e6232409Smrgac_abs_top_builddir=$ac_pwd
4838e6232409Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
4839e6232409Smrg# for backward compatibility:
4840e6232409Smrgac_top_builddir=$ac_top_build_prefix
4841e6232409Smrg
4842e6232409Smrgcase $srcdir in
4843e6232409Smrg  .)  # We are building in place.
4844e6232409Smrg    ac_srcdir=.
4845e6232409Smrg    ac_top_srcdir=$ac_top_builddir_sub
4846e6232409Smrg    ac_abs_top_srcdir=$ac_pwd ;;
4847e6232409Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
4848e6232409Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
4849e6232409Smrg    ac_top_srcdir=$srcdir
4850e6232409Smrg    ac_abs_top_srcdir=$srcdir ;;
4851e6232409Smrg  *) # Relative name.
4852e6232409Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4853e6232409Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
4854e6232409Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4855e6232409Smrgesac
4856e6232409Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4857e6232409Smrg
4858e6232409Smrg
4859e6232409Smrg  case $ac_mode in
4860e6232409Smrg  :F)
4861e6232409Smrg  #
4862e6232409Smrg  # CONFIG_FILE
4863e6232409Smrg  #
4864e6232409Smrg
4865e6232409Smrg  case $INSTALL in
4866e6232409Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4867e6232409Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4868e6232409Smrg  esac
4869e6232409Smrg_ACEOF
4870e6232409Smrg
4871e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4872e6232409Smrg# If the template does not know about datarootdir, expand it.
4873e6232409Smrg# FIXME: This hack should be removed a few years after 2.60.
4874e6232409Smrgac_datarootdir_hack=; ac_datarootdir_seen=
4875e6232409Smrg
4876e6232409Smrgcase `sed -n '/datarootdir/ {
4877e6232409Smrg  p
4878e6232409Smrg  q
4879e6232409Smrg}
4880e6232409Smrg/@datadir@/p
4881e6232409Smrg/@docdir@/p
4882e6232409Smrg/@infodir@/p
4883e6232409Smrg/@localedir@/p
4884e6232409Smrg/@mandir@/p
4885e6232409Smrg' $ac_file_inputs` in
4886e6232409Smrg*datarootdir*) ac_datarootdir_seen=yes;;
4887e6232409Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4888e6232409Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4889e6232409Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4890e6232409Smrg_ACEOF
4891e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4892e6232409Smrg  ac_datarootdir_hack='
4893e6232409Smrg  s&@datadir@&$datadir&g
4894e6232409Smrg  s&@docdir@&$docdir&g
4895e6232409Smrg  s&@infodir@&$infodir&g
4896e6232409Smrg  s&@localedir@&$localedir&g
4897e6232409Smrg  s&@mandir@&$mandir&g
4898e6232409Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
4899e6232409Smrgesac
4900e6232409Smrg_ACEOF
4901e6232409Smrg
4902e6232409Smrg# Neutralize VPATH when `$srcdir' = `.'.
4903e6232409Smrg# Shell code in configure.ac might set extrasub.
4904e6232409Smrg# FIXME: do we really want to maintain this feature?
4905e6232409Smrgcat >>$CONFIG_STATUS <<_ACEOF
4906e6232409Smrg  sed "$ac_vpsub
4907e6232409Smrg$extrasub
4908e6232409Smrg_ACEOF
4909e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4910e6232409Smrg:t
4911e6232409Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4912e6232409Smrgs&@configure_input@&$configure_input&;t t
4913e6232409Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
4914e6232409Smrgs&@srcdir@&$ac_srcdir&;t t
4915e6232409Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
4916e6232409Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
4917e6232409Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4918e6232409Smrgs&@builddir@&$ac_builddir&;t t
4919e6232409Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
4920e6232409Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4921e6232409Smrgs&@INSTALL@&$ac_INSTALL&;t t
4922e6232409Smrg$ac_datarootdir_hack
4923e6232409Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
4924e6232409Smrg
4925e6232409Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4926e6232409Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4927e6232409Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4928e6232409Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4929e6232409Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
4930e6232409Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4931e6232409Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
4932e6232409Smrg
4933e6232409Smrg  rm -f "$tmp/stdin"
4934e6232409Smrg  case $ac_file in
4935e6232409Smrg  -) cat "$tmp/out"; rm -f "$tmp/out";;
4936e6232409Smrg  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4937e6232409Smrg  esac
4938e6232409Smrg ;;
4939e6232409Smrg  :H)
4940e6232409Smrg  #
4941e6232409Smrg  # CONFIG_HEADER
4942e6232409Smrg  #
4943e6232409Smrg_ACEOF
4944e6232409Smrg
4945e6232409Smrg# Transform confdefs.h into a sed script `conftest.defines', that
4946e6232409Smrg# substitutes the proper values into config.h.in to produce config.h.
4947e6232409Smrgrm -f conftest.defines conftest.tail
4948e6232409Smrg# First, append a space to every undef/define line, to ease matching.
4949e6232409Smrgecho 's/$/ /' >conftest.defines
4950e6232409Smrg# Then, protect against being on the right side of a sed subst, or in
4951e6232409Smrg# an unquoted here document, in config.status.  If some macros were
4952e6232409Smrg# called several times there might be several #defines for the same
4953e6232409Smrg# symbol, which is useless.  But do not sort them, since the last
4954e6232409Smrg# AC_DEFINE must be honored.
4955e6232409Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4956e6232409Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4957e6232409Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given.
4958e6232409Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's
4959e6232409Smrg# just an empty string.
4960e6232409Smrgac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
4961e6232409Smrgac_dB='\\)[	 (].*,\\1define\\2'
4962e6232409Smrgac_dC=' '
4963e6232409Smrgac_dD=' ,'
4964e6232409Smrg
4965e6232409Smrguniq confdefs.h |
4966e6232409Smrg  sed -n '
4967e6232409Smrg	t rset
4968e6232409Smrg	:rset
4969e6232409Smrg	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
4970e6232409Smrg	t ok
4971e6232409Smrg	d
4972e6232409Smrg	:ok
4973e6232409Smrg	s/[\\&,]/\\&/g
4974e6232409Smrg	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4975e6232409Smrg	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4976e6232409Smrg  ' >>conftest.defines
4977e6232409Smrg
4978e6232409Smrg# Remove the space that was appended to ease matching.
4979e6232409Smrg# Then replace #undef with comments.  This is necessary, for
4980e6232409Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required
4981e6232409Smrg# on some systems where configure will not decide to define it.
4982e6232409Smrg# (The regexp can be short, since the line contains either #define or #undef.)
4983e6232409Smrgecho 's/ $//
4984e6232409Smrgs,^[	 #]*u.*,/* & */,' >>conftest.defines
4985e6232409Smrg
4986e6232409Smrg# Break up conftest.defines:
4987e6232409Smrgac_max_sed_lines=50
4988e6232409Smrg
4989e6232409Smrg# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4990e6232409Smrg# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4991e6232409Smrg# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4992e6232409Smrg# et cetera.
4993e6232409Smrgac_in='$ac_file_inputs'
4994e6232409Smrgac_out='"$tmp/out1"'
4995e6232409Smrgac_nxt='"$tmp/out2"'
4996e6232409Smrg
4997e6232409Smrgwhile :
4998e6232409Smrgdo
4999e6232409Smrg  # Write a here document:
5000e6232409Smrg    cat >>$CONFIG_STATUS <<_ACEOF
5001e6232409Smrg    # First, check the format of the line:
5002e6232409Smrg    cat >"\$tmp/defines.sed" <<\\CEOF
5003e6232409Smrg/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
5004e6232409Smrg/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
5005e6232409Smrgb
5006e6232409Smrg:def
5007e6232409Smrg_ACEOF
5008e6232409Smrg  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5009e6232409Smrg  echo 'CEOF
5010e6232409Smrg    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5011e6232409Smrg  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5012e6232409Smrg  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5013e6232409Smrg  grep . conftest.tail >/dev/null || break
5014e6232409Smrg  rm -f conftest.defines
5015e6232409Smrg  mv conftest.tail conftest.defines
5016e6232409Smrgdone
5017e6232409Smrgrm -f conftest.defines conftest.tail
5018e6232409Smrg
5019e6232409Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS
5020e6232409Smrgcat >>$CONFIG_STATUS <<\_ACEOF
5021e6232409Smrg  if test x"$ac_file" != x-; then
5022e6232409Smrg    echo "/* $configure_input  */" >"$tmp/config.h"
5023e6232409Smrg    cat "$ac_result" >>"$tmp/config.h"
5024e6232409Smrg    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5025e6232409Smrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5026e6232409Smrgecho "$as_me: $ac_file is unchanged" >&6;}
5027e6232409Smrg    else
5028e6232409Smrg      rm -f $ac_file
5029e6232409Smrg      mv "$tmp/config.h" $ac_file
5030e6232409Smrg    fi
5031e6232409Smrg  else
5032e6232409Smrg    echo "/* $configure_input  */"
5033e6232409Smrg    cat "$ac_result"
5034e6232409Smrg  fi
5035e6232409Smrg  rm -f "$tmp/out12"
5036e6232409Smrg# Compute $ac_file's index in $config_headers.
5037e6232409Smrg_am_stamp_count=1
5038e6232409Smrgfor _am_header in $config_headers :; do
5039e6232409Smrg  case $_am_header in
5040e6232409Smrg    $ac_file | $ac_file:* )
5041e6232409Smrg      break ;;
5042e6232409Smrg    * )
5043e6232409Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5044e6232409Smrg  esac
5045e6232409Smrgdone
5046e6232409Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5047e6232409Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5048e6232409Smrg	 X$ac_file : 'X\(//\)[^/]' \| \
5049e6232409Smrg	 X$ac_file : 'X\(//\)$' \| \
5050e6232409Smrg	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5051e6232409Smrgecho X$ac_file |
5052e6232409Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5053e6232409Smrg	    s//\1/
5054e6232409Smrg	    q
5055e6232409Smrg	  }
5056e6232409Smrg	  /^X\(\/\/\)[^/].*/{
5057e6232409Smrg	    s//\1/
5058e6232409Smrg	    q
5059e6232409Smrg	  }
5060e6232409Smrg	  /^X\(\/\/\)$/{
5061e6232409Smrg	    s//\1/
5062e6232409Smrg	    q
5063e6232409Smrg	  }
5064e6232409Smrg	  /^X\(\/\).*/{
5065e6232409Smrg	    s//\1/
5066e6232409Smrg	    q
5067e6232409Smrg	  }
5068e6232409Smrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
5069e6232409Smrg ;;
5070e6232409Smrg
5071e6232409Smrg  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5072e6232409Smrgecho "$as_me: executing $ac_file commands" >&6;}
5073e6232409Smrg ;;
5074e6232409Smrg  esac
5075e6232409Smrg
5076e6232409Smrg
5077e6232409Smrg  case $ac_file$ac_mode in
5078e6232409Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5079e6232409Smrg  # Strip MF so we end up with the name of the file.
5080e6232409Smrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
5081e6232409Smrg  # Check whether this is an Automake generated Makefile or not.
5082e6232409Smrg  # We used to match only the files named `Makefile.in', but
5083e6232409Smrg  # some people rename them; so instead we look at the file content.
5084e6232409Smrg  # Grep'ing the first line is not enough: some people post-process
5085e6232409Smrg  # each Makefile.in and add a new line on top of each file to say so.
5086e6232409Smrg  # So let's grep whole file.
5087e6232409Smrg  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5088e6232409Smrg    dirpart=`$as_dirname -- "$mf" ||
5089e6232409Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5090e6232409Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
5091e6232409Smrg	 X"$mf" : 'X\(//\)$' \| \
5092e6232409Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5093e6232409Smrgecho X"$mf" |
5094e6232409Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5095e6232409Smrg	    s//\1/
5096e6232409Smrg	    q
5097e6232409Smrg	  }
5098e6232409Smrg	  /^X\(\/\/\)[^/].*/{
5099e6232409Smrg	    s//\1/
5100e6232409Smrg	    q
5101e6232409Smrg	  }
5102e6232409Smrg	  /^X\(\/\/\)$/{
5103e6232409Smrg	    s//\1/
5104e6232409Smrg	    q
5105e6232409Smrg	  }
5106e6232409Smrg	  /^X\(\/\).*/{
5107e6232409Smrg	    s//\1/
5108e6232409Smrg	    q
5109e6232409Smrg	  }
5110e6232409Smrg	  s/.*/./; q'`
5111e6232409Smrg  else
5112e6232409Smrg    continue
5113e6232409Smrg  fi
5114e6232409Smrg  # Extract the definition of DEPDIR, am__include, and am__quote
5115e6232409Smrg  # from the Makefile without running `make'.
5116e6232409Smrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5117e6232409Smrg  test -z "$DEPDIR" && continue
5118e6232409Smrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5119e6232409Smrg  test -z "am__include" && continue
5120e6232409Smrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5121e6232409Smrg  # When using ansi2knr, U may be empty or an underscore; expand it
5122e6232409Smrg  U=`sed -n 's/^U = //p' < "$mf"`
5123e6232409Smrg  # Find all dependency output files, they are included files with
5124e6232409Smrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5125e6232409Smrg  # simplest approach to changing $(DEPDIR) to its actual value in the
5126e6232409Smrg  # expansion.
5127e6232409Smrg  for file in `sed -n "
5128e6232409Smrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5129e6232409Smrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5130e6232409Smrg    # Make sure the directory exists.
5131e6232409Smrg    test -f "$dirpart/$file" && continue
5132e6232409Smrg    fdir=`$as_dirname -- "$file" ||
5133e6232409Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5134e6232409Smrg	 X"$file" : 'X\(//\)[^/]' \| \
5135e6232409Smrg	 X"$file" : 'X\(//\)$' \| \
5136e6232409Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5137e6232409Smrgecho X"$file" |
5138e6232409Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5139e6232409Smrg	    s//\1/
5140e6232409Smrg	    q
5141e6232409Smrg	  }
5142e6232409Smrg	  /^X\(\/\/\)[^/].*/{
5143e6232409Smrg	    s//\1/
5144e6232409Smrg	    q
5145e6232409Smrg	  }
5146e6232409Smrg	  /^X\(\/\/\)$/{
5147e6232409Smrg	    s//\1/
5148e6232409Smrg	    q
5149e6232409Smrg	  }
5150e6232409Smrg	  /^X\(\/\).*/{
5151e6232409Smrg	    s//\1/
5152e6232409Smrg	    q
5153e6232409Smrg	  }
5154e6232409Smrg	  s/.*/./; q'`
5155e6232409Smrg    { as_dir=$dirpart/$fdir
5156e6232409Smrg  case $as_dir in #(
5157e6232409Smrg  -*) as_dir=./$as_dir;;
5158e6232409Smrg  esac
5159e6232409Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5160e6232409Smrg    as_dirs=
5161e6232409Smrg    while :; do
5162e6232409Smrg      case $as_dir in #(
5163e6232409Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5164e6232409Smrg      *) as_qdir=$as_dir;;
5165e6232409Smrg      esac
5166e6232409Smrg      as_dirs="'$as_qdir' $as_dirs"
5167e6232409Smrg      as_dir=`$as_dirname -- "$as_dir" ||
5168e6232409Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5169e6232409Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
5170e6232409Smrg	 X"$as_dir" : 'X\(//\)$' \| \
5171e6232409Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5172e6232409Smrgecho X"$as_dir" |
5173e6232409Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5174e6232409Smrg	    s//\1/
5175e6232409Smrg	    q
5176e6232409Smrg	  }
5177e6232409Smrg	  /^X\(\/\/\)[^/].*/{
5178e6232409Smrg	    s//\1/
5179e6232409Smrg	    q
5180e6232409Smrg	  }
5181e6232409Smrg	  /^X\(\/\/\)$/{
5182e6232409Smrg	    s//\1/
5183e6232409Smrg	    q
5184e6232409Smrg	  }
5185e6232409Smrg	  /^X\(\/\).*/{
5186e6232409Smrg	    s//\1/
5187e6232409Smrg	    q
5188e6232409Smrg	  }
5189e6232409Smrg	  s/.*/./; q'`
5190e6232409Smrg      test -d "$as_dir" && break
5191e6232409Smrg    done
5192e6232409Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
5193e6232409Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5194e6232409Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
5195e6232409Smrg   { (exit 1); exit 1; }; }; }
5196e6232409Smrg    # echo "creating $dirpart/$file"
5197e6232409Smrg    echo '# dummy' > "$dirpart/$file"
5198e6232409Smrg  done
5199e6232409Smrgdone
5200e6232409Smrg ;;
5201e6232409Smrg
5202e6232409Smrg  esac
5203e6232409Smrgdone # for ac_tag
5204e6232409Smrg
5205e6232409Smrg
5206e6232409Smrg{ (exit 0); exit 0; }
5207e6232409Smrg_ACEOF
5208e6232409Smrgchmod +x $CONFIG_STATUS
5209e6232409Smrgac_clean_files=$ac_clean_files_save
5210e6232409Smrg
5211e6232409Smrg
5212e6232409Smrg# configure is writing to config.log, and then calls config.status.
5213e6232409Smrg# config.status does its own redirection, appending to config.log.
5214e6232409Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
5215e6232409Smrg# by configure, so config.status won't be able to write to it; its
5216e6232409Smrg# output is simply discarded.  So we exec the FD to /dev/null,
5217e6232409Smrg# effectively closing config.log, so it can be properly (re)opened and
5218e6232409Smrg# appended to by config.status.  When coming back to configure, we
5219e6232409Smrg# need to make the FD available again.
5220e6232409Smrgif test "$no_create" != yes; then
5221e6232409Smrg  ac_cs_success=:
5222e6232409Smrg  ac_config_status_args=
5223e6232409Smrg  test "$silent" = yes &&
5224e6232409Smrg    ac_config_status_args="$ac_config_status_args --quiet"
5225e6232409Smrg  exec 5>/dev/null
5226e6232409Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5227e6232409Smrg  exec 5>>config.log
5228e6232409Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5229e6232409Smrg  # would make configure fail if this is the last instruction.
5230e6232409Smrg  $ac_cs_success || { (exit 1); exit 1; }
5231e6232409Smrgfi
5232e6232409Smrg
5233