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