configure revision aa98702c
1f299d47fSmrg#! /bin/sh
2f299d47fSmrg# Guess values for system-dependent variables and create Makefiles.
3aa98702cSmrg# Generated by GNU Autoconf 2.63 for xev 1.0.4.
4f299d47fSmrg#
5f299d47fSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6f299d47fSmrg#
7f299d47fSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8aa98702cSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9f299d47fSmrg# This configure script is free software; the Free Software Foundation
10f299d47fSmrg# gives unlimited permission to copy, distribute and modify it.
11f299d47fSmrg## --------------------- ##
12f299d47fSmrg## M4sh Initialization.  ##
13f299d47fSmrg## --------------------- ##
14f299d47fSmrg
15f299d47fSmrg# Be more Bourne compatible
16f299d47fSmrgDUALCASE=1; export DUALCASE # for MKS sh
17f299d47fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18f299d47fSmrg  emulate sh
19f299d47fSmrg  NULLCMD=:
20aa98702cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21f299d47fSmrg  # is contrary to our usage.  Disable this feature.
22f299d47fSmrg  alias -g '${1+"$@"}'='"$@"'
23f299d47fSmrg  setopt NO_GLOB_SUBST
24f299d47fSmrgelse
25f299d47fSmrg  case `(set -o) 2>/dev/null` in
26f299d47fSmrg  *posix*) set -o posix ;;
27f299d47fSmrgesac
28f299d47fSmrg
29f299d47fSmrgfi
30f299d47fSmrg
31f299d47fSmrg
32f299d47fSmrg
33f299d47fSmrg
34f299d47fSmrg# PATH needs CR
35f299d47fSmrg# Avoid depending upon Character Ranges.
36f299d47fSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
37f299d47fSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38f299d47fSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
39f299d47fSmrgas_cr_digits='0123456789'
40f299d47fSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
41f299d47fSmrg
42aa98702cSmrgas_nl='
43aa98702cSmrg'
44aa98702cSmrgexport as_nl
45aa98702cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
46aa98702cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47aa98702cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48aa98702cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49aa98702cSmrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50aa98702cSmrg  as_echo='printf %s\n'
51aa98702cSmrg  as_echo_n='printf %s'
52aa98702cSmrgelse
53aa98702cSmrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54aa98702cSmrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55aa98702cSmrg    as_echo_n='/usr/ucb/echo -n'
56f299d47fSmrg  else
57aa98702cSmrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58aa98702cSmrg    as_echo_n_body='eval
59aa98702cSmrg      arg=$1;
60aa98702cSmrg      case $arg in
61aa98702cSmrg      *"$as_nl"*)
62aa98702cSmrg	expr "X$arg" : "X\\(.*\\)$as_nl";
63aa98702cSmrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64aa98702cSmrg      esac;
65aa98702cSmrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66aa98702cSmrg    '
67aa98702cSmrg    export as_echo_n_body
68aa98702cSmrg    as_echo_n='sh -c $as_echo_n_body as_echo'
69f299d47fSmrg  fi
70aa98702cSmrg  export as_echo_body
71aa98702cSmrg  as_echo='sh -c $as_echo_body as_echo'
72aa98702cSmrgfi
73aa98702cSmrg
74aa98702cSmrg# The user is always right.
75aa98702cSmrgif test "${PATH_SEPARATOR+set}" != set; then
76aa98702cSmrg  PATH_SEPARATOR=:
77aa98702cSmrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78aa98702cSmrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79aa98702cSmrg      PATH_SEPARATOR=';'
80aa98702cSmrg  }
81f299d47fSmrgfi
82f299d47fSmrg
83f299d47fSmrg# Support unset when possible.
84f299d47fSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85f299d47fSmrg  as_unset=unset
86f299d47fSmrgelse
87f299d47fSmrg  as_unset=false
88f299d47fSmrgfi
89f299d47fSmrg
90f299d47fSmrg
91f299d47fSmrg# IFS
92f299d47fSmrg# We need space, tab and new line, in precisely that order.  Quoting is
93f299d47fSmrg# there to prevent editors from complaining about space-tab.
94f299d47fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95f299d47fSmrg# splitting by setting IFS to empty value.)
96f299d47fSmrgIFS=" ""	$as_nl"
97f299d47fSmrg
98f299d47fSmrg# Find who we are.  Look in the path if we contain no directory separator.
99f299d47fSmrgcase $0 in
100f299d47fSmrg  *[\\/]* ) as_myself=$0 ;;
101f299d47fSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102f299d47fSmrgfor as_dir in $PATH
103f299d47fSmrgdo
104f299d47fSmrg  IFS=$as_save_IFS
105f299d47fSmrg  test -z "$as_dir" && as_dir=.
106f299d47fSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107f299d47fSmrgdone
108f299d47fSmrgIFS=$as_save_IFS
109f299d47fSmrg
110f299d47fSmrg     ;;
111f299d47fSmrgesac
112f299d47fSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
113f299d47fSmrg# in which case we are not to be found in the path.
114f299d47fSmrgif test "x$as_myself" = x; then
115f299d47fSmrg  as_myself=$0
116f299d47fSmrgfi
117f299d47fSmrgif test ! -f "$as_myself"; then
118aa98702cSmrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119f299d47fSmrg  { (exit 1); exit 1; }
120f299d47fSmrgfi
121f299d47fSmrg
122f299d47fSmrg# Work around bugs in pre-3.0 UWIN ksh.
123f299d47fSmrgfor as_var in ENV MAIL MAILPATH
124f299d47fSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125f299d47fSmrgdone
126f299d47fSmrgPS1='$ '
127f299d47fSmrgPS2='> '
128f299d47fSmrgPS4='+ '
129f299d47fSmrg
130f299d47fSmrg# NLS nuisances.
131aa98702cSmrgLC_ALL=C
132aa98702cSmrgexport LC_ALL
133aa98702cSmrgLANGUAGE=C
134aa98702cSmrgexport LANGUAGE
135f299d47fSmrg
136f299d47fSmrg# Required to use basename.
137f299d47fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
138f299d47fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139f299d47fSmrg  as_expr=expr
140f299d47fSmrgelse
141f299d47fSmrg  as_expr=false
142f299d47fSmrgfi
143f299d47fSmrg
144f299d47fSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145f299d47fSmrg  as_basename=basename
146f299d47fSmrgelse
147f299d47fSmrg  as_basename=false
148f299d47fSmrgfi
149f299d47fSmrg
150f299d47fSmrg
151f299d47fSmrg# Name of the executable.
152f299d47fSmrgas_me=`$as_basename -- "$0" ||
153f299d47fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154f299d47fSmrg	 X"$0" : 'X\(//\)$' \| \
155f299d47fSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156aa98702cSmrg$as_echo X/"$0" |
157f299d47fSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
158f299d47fSmrg	    s//\1/
159f299d47fSmrg	    q
160f299d47fSmrg	  }
161f299d47fSmrg	  /^X\/\(\/\/\)$/{
162f299d47fSmrg	    s//\1/
163f299d47fSmrg	    q
164f299d47fSmrg	  }
165f299d47fSmrg	  /^X\/\(\/\).*/{
166f299d47fSmrg	    s//\1/
167f299d47fSmrg	    q
168f299d47fSmrg	  }
169f299d47fSmrg	  s/.*/./; q'`
170f299d47fSmrg
171f299d47fSmrg# CDPATH.
172f299d47fSmrg$as_unset CDPATH
173f299d47fSmrg
174f299d47fSmrg
175f299d47fSmrgif test "x$CONFIG_SHELL" = x; then
176f299d47fSmrg  if (eval ":") 2>/dev/null; then
177f299d47fSmrg  as_have_required=yes
178f299d47fSmrgelse
179f299d47fSmrg  as_have_required=no
180f299d47fSmrgfi
181f299d47fSmrg
182aa98702cSmrg  if test $as_have_required = yes &&	 (eval ":
183f299d47fSmrg(as_func_return () {
184f299d47fSmrg  (exit \$1)
185f299d47fSmrg}
186f299d47fSmrgas_func_success () {
187f299d47fSmrg  as_func_return 0
188f299d47fSmrg}
189f299d47fSmrgas_func_failure () {
190f299d47fSmrg  as_func_return 1
191f299d47fSmrg}
192f299d47fSmrgas_func_ret_success () {
193f299d47fSmrg  return 0
194f299d47fSmrg}
195f299d47fSmrgas_func_ret_failure () {
196f299d47fSmrg  return 1
197f299d47fSmrg}
198f299d47fSmrg
199f299d47fSmrgexitcode=0
200f299d47fSmrgif as_func_success; then
201f299d47fSmrg  :
202f299d47fSmrgelse
203f299d47fSmrg  exitcode=1
204f299d47fSmrg  echo as_func_success failed.
205f299d47fSmrgfi
206f299d47fSmrg
207f299d47fSmrgif as_func_failure; then
208f299d47fSmrg  exitcode=1
209f299d47fSmrg  echo as_func_failure succeeded.
210f299d47fSmrgfi
211f299d47fSmrg
212f299d47fSmrgif as_func_ret_success; then
213f299d47fSmrg  :
214f299d47fSmrgelse
215f299d47fSmrg  exitcode=1
216f299d47fSmrg  echo as_func_ret_success failed.
217f299d47fSmrgfi
218f299d47fSmrg
219f299d47fSmrgif as_func_ret_failure; then
220f299d47fSmrg  exitcode=1
221f299d47fSmrg  echo as_func_ret_failure succeeded.
222f299d47fSmrgfi
223f299d47fSmrg
224f299d47fSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225f299d47fSmrg  :
226f299d47fSmrgelse
227f299d47fSmrg  exitcode=1
228f299d47fSmrg  echo positional parameters were not saved.
229f299d47fSmrgfi
230f299d47fSmrg
231f299d47fSmrgtest \$exitcode = 0) || { (exit 1); exit 1; }
232f299d47fSmrg
233f299d47fSmrg(
234f299d47fSmrg  as_lineno_1=\$LINENO
235f299d47fSmrg  as_lineno_2=\$LINENO
236f299d47fSmrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237f299d47fSmrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238f299d47fSmrg") 2> /dev/null; then
239f299d47fSmrg  :
240f299d47fSmrgelse
241f299d47fSmrg  as_candidate_shells=
242f299d47fSmrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243f299d47fSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244f299d47fSmrgdo
245f299d47fSmrg  IFS=$as_save_IFS
246f299d47fSmrg  test -z "$as_dir" && as_dir=.
247f299d47fSmrg  case $as_dir in
248f299d47fSmrg	 /*)
249f299d47fSmrg	   for as_base in sh bash ksh sh5; do
250f299d47fSmrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251f299d47fSmrg	   done;;
252f299d47fSmrg       esac
253f299d47fSmrgdone
254f299d47fSmrgIFS=$as_save_IFS
255f299d47fSmrg
256f299d47fSmrg
257f299d47fSmrg      for as_shell in $as_candidate_shells $SHELL; do
258f299d47fSmrg	 # Try only shells that exist, to save several forks.
259f299d47fSmrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260f299d47fSmrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
261f299d47fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262f299d47fSmrg  emulate sh
263f299d47fSmrg  NULLCMD=:
264aa98702cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265f299d47fSmrg  # is contrary to our usage.  Disable this feature.
266f299d47fSmrg  alias -g '${1+"$@"}'='"$@"'
267f299d47fSmrg  setopt NO_GLOB_SUBST
268f299d47fSmrgelse
269f299d47fSmrg  case `(set -o) 2>/dev/null` in
270f299d47fSmrg  *posix*) set -o posix ;;
271f299d47fSmrgesac
272f299d47fSmrg
273f299d47fSmrgfi
274f299d47fSmrg
275f299d47fSmrg
276f299d47fSmrg:
277f299d47fSmrg_ASEOF
278f299d47fSmrg}; then
279f299d47fSmrg  CONFIG_SHELL=$as_shell
280f299d47fSmrg	       as_have_required=yes
281f299d47fSmrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
282f299d47fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283f299d47fSmrg  emulate sh
284f299d47fSmrg  NULLCMD=:
285aa98702cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286f299d47fSmrg  # is contrary to our usage.  Disable this feature.
287f299d47fSmrg  alias -g '${1+"$@"}'='"$@"'
288f299d47fSmrg  setopt NO_GLOB_SUBST
289f299d47fSmrgelse
290f299d47fSmrg  case `(set -o) 2>/dev/null` in
291f299d47fSmrg  *posix*) set -o posix ;;
292f299d47fSmrgesac
293f299d47fSmrg
294f299d47fSmrgfi
295f299d47fSmrg
296f299d47fSmrg
297f299d47fSmrg:
298f299d47fSmrg(as_func_return () {
299f299d47fSmrg  (exit $1)
300f299d47fSmrg}
301f299d47fSmrgas_func_success () {
302f299d47fSmrg  as_func_return 0
303f299d47fSmrg}
304f299d47fSmrgas_func_failure () {
305f299d47fSmrg  as_func_return 1
306f299d47fSmrg}
307f299d47fSmrgas_func_ret_success () {
308f299d47fSmrg  return 0
309f299d47fSmrg}
310f299d47fSmrgas_func_ret_failure () {
311f299d47fSmrg  return 1
312f299d47fSmrg}
313f299d47fSmrg
314f299d47fSmrgexitcode=0
315f299d47fSmrgif as_func_success; then
316f299d47fSmrg  :
317f299d47fSmrgelse
318f299d47fSmrg  exitcode=1
319f299d47fSmrg  echo as_func_success failed.
320f299d47fSmrgfi
321f299d47fSmrg
322f299d47fSmrgif as_func_failure; then
323f299d47fSmrg  exitcode=1
324f299d47fSmrg  echo as_func_failure succeeded.
325f299d47fSmrgfi
326f299d47fSmrg
327f299d47fSmrgif as_func_ret_success; then
328f299d47fSmrg  :
329f299d47fSmrgelse
330f299d47fSmrg  exitcode=1
331f299d47fSmrg  echo as_func_ret_success failed.
332f299d47fSmrgfi
333f299d47fSmrg
334f299d47fSmrgif as_func_ret_failure; then
335f299d47fSmrg  exitcode=1
336f299d47fSmrg  echo as_func_ret_failure succeeded.
337f299d47fSmrgfi
338f299d47fSmrg
339f299d47fSmrgif ( set x; as_func_ret_success y && test x = "$1" ); then
340f299d47fSmrg  :
341f299d47fSmrgelse
342f299d47fSmrg  exitcode=1
343f299d47fSmrg  echo positional parameters were not saved.
344f299d47fSmrgfi
345f299d47fSmrg
346f299d47fSmrgtest $exitcode = 0) || { (exit 1); exit 1; }
347f299d47fSmrg
348f299d47fSmrg(
349f299d47fSmrg  as_lineno_1=$LINENO
350f299d47fSmrg  as_lineno_2=$LINENO
351f299d47fSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
352f299d47fSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353f299d47fSmrg
354f299d47fSmrg_ASEOF
355f299d47fSmrg}; then
356f299d47fSmrg  break
357f299d47fSmrgfi
358f299d47fSmrg
359f299d47fSmrgfi
360f299d47fSmrg
361f299d47fSmrg      done
362f299d47fSmrg
363f299d47fSmrg      if test "x$CONFIG_SHELL" != x; then
364f299d47fSmrg  for as_var in BASH_ENV ENV
365aa98702cSmrg	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366aa98702cSmrg	done
367aa98702cSmrg	export CONFIG_SHELL
368aa98702cSmrg	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369f299d47fSmrgfi
370f299d47fSmrg
371f299d47fSmrg
372f299d47fSmrg    if test $as_have_required = no; then
373f299d47fSmrg  echo This script requires a shell more modern than all the
374f299d47fSmrg      echo shells that I found on your system.  Please install a
375f299d47fSmrg      echo modern shell, or manually run the script under such a
376f299d47fSmrg      echo shell if you do have one.
377f299d47fSmrg      { (exit 1); exit 1; }
378f299d47fSmrgfi
379f299d47fSmrg
380f299d47fSmrg
381f299d47fSmrgfi
382f299d47fSmrg
383f299d47fSmrgfi
384f299d47fSmrg
385f299d47fSmrg
386f299d47fSmrg
387f299d47fSmrg(eval "as_func_return () {
388f299d47fSmrg  (exit \$1)
389f299d47fSmrg}
390f299d47fSmrgas_func_success () {
391f299d47fSmrg  as_func_return 0
392f299d47fSmrg}
393f299d47fSmrgas_func_failure () {
394f299d47fSmrg  as_func_return 1
395f299d47fSmrg}
396f299d47fSmrgas_func_ret_success () {
397f299d47fSmrg  return 0
398f299d47fSmrg}
399f299d47fSmrgas_func_ret_failure () {
400f299d47fSmrg  return 1
401f299d47fSmrg}
402f299d47fSmrg
403f299d47fSmrgexitcode=0
404f299d47fSmrgif as_func_success; then
405f299d47fSmrg  :
406f299d47fSmrgelse
407f299d47fSmrg  exitcode=1
408f299d47fSmrg  echo as_func_success failed.
409f299d47fSmrgfi
410f299d47fSmrg
411f299d47fSmrgif as_func_failure; then
412f299d47fSmrg  exitcode=1
413f299d47fSmrg  echo as_func_failure succeeded.
414f299d47fSmrgfi
415f299d47fSmrg
416f299d47fSmrgif as_func_ret_success; then
417f299d47fSmrg  :
418f299d47fSmrgelse
419f299d47fSmrg  exitcode=1
420f299d47fSmrg  echo as_func_ret_success failed.
421f299d47fSmrgfi
422f299d47fSmrg
423f299d47fSmrgif as_func_ret_failure; then
424f299d47fSmrg  exitcode=1
425f299d47fSmrg  echo as_func_ret_failure succeeded.
426f299d47fSmrgfi
427f299d47fSmrg
428f299d47fSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429f299d47fSmrg  :
430f299d47fSmrgelse
431f299d47fSmrg  exitcode=1
432f299d47fSmrg  echo positional parameters were not saved.
433f299d47fSmrgfi
434f299d47fSmrg
435f299d47fSmrgtest \$exitcode = 0") || {
436f299d47fSmrg  echo No shell found that supports shell functions.
437aa98702cSmrg  echo Please tell bug-autoconf@gnu.org about your system,
438aa98702cSmrg  echo including any error possibly output before this message.
439aa98702cSmrg  echo This can help us improve future autoconf versions.
440aa98702cSmrg  echo Configuration will now proceed without shell functions.
441f299d47fSmrg}
442f299d47fSmrg
443f299d47fSmrg
444f299d47fSmrg
445f299d47fSmrg  as_lineno_1=$LINENO
446f299d47fSmrg  as_lineno_2=$LINENO
447f299d47fSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
448f299d47fSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449f299d47fSmrg
450f299d47fSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451f299d47fSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
452f299d47fSmrg  # line-number line after each line using $LINENO; the second 'sed'
453f299d47fSmrg  # does the real work.  The second script uses 'N' to pair each
454f299d47fSmrg  # line-number line with the line containing $LINENO, and appends
455f299d47fSmrg  # trailing '-' during substitution so that $LINENO is not a special
456f299d47fSmrg  # case at line end.
457f299d47fSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458f299d47fSmrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459f299d47fSmrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
460f299d47fSmrg  sed -n '
461f299d47fSmrg    p
462f299d47fSmrg    /[$]LINENO/=
463f299d47fSmrg  ' <$as_myself |
464f299d47fSmrg    sed '
465f299d47fSmrg      s/[$]LINENO.*/&-/
466f299d47fSmrg      t lineno
467f299d47fSmrg      b
468f299d47fSmrg      :lineno
469f299d47fSmrg      N
470f299d47fSmrg      :loop
471f299d47fSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472f299d47fSmrg      t loop
473f299d47fSmrg      s/-\n.*//
474f299d47fSmrg    ' >$as_me.lineno &&
475f299d47fSmrg  chmod +x "$as_me.lineno" ||
476aa98702cSmrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477f299d47fSmrg   { (exit 1); exit 1; }; }
478f299d47fSmrg
479f299d47fSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
480f299d47fSmrg  # (the dirname of $[0] is not the place where we might find the
481f299d47fSmrg  # original and so on.  Autoconf is especially sensitive to this).
482f299d47fSmrg  . "./$as_me.lineno"
483f299d47fSmrg  # Exit status is that of the last command.
484f299d47fSmrg  exit
485f299d47fSmrg}
486f299d47fSmrg
487f299d47fSmrg
488f299d47fSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489f299d47fSmrg  as_dirname=dirname
490f299d47fSmrgelse
491f299d47fSmrg  as_dirname=false
492f299d47fSmrgfi
493f299d47fSmrg
494f299d47fSmrgECHO_C= ECHO_N= ECHO_T=
495f299d47fSmrgcase `echo -n x` in
496f299d47fSmrg-n*)
497f299d47fSmrg  case `echo 'x\c'` in
498f299d47fSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
499f299d47fSmrg  *)   ECHO_C='\c';;
500f299d47fSmrg  esac;;
501f299d47fSmrg*)
502f299d47fSmrg  ECHO_N='-n';;
503f299d47fSmrgesac
504f299d47fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
505f299d47fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506f299d47fSmrg  as_expr=expr
507f299d47fSmrgelse
508f299d47fSmrg  as_expr=false
509f299d47fSmrgfi
510f299d47fSmrg
511f299d47fSmrgrm -f conf$$ conf$$.exe conf$$.file
512f299d47fSmrgif test -d conf$$.dir; then
513f299d47fSmrg  rm -f conf$$.dir/conf$$.file
514f299d47fSmrgelse
515f299d47fSmrg  rm -f conf$$.dir
516aa98702cSmrg  mkdir conf$$.dir 2>/dev/null
517aa98702cSmrgfi
518aa98702cSmrgif (echo >conf$$.file) 2>/dev/null; then
519aa98702cSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
520aa98702cSmrg    as_ln_s='ln -s'
521aa98702cSmrg    # ... but there are two gotchas:
522aa98702cSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523aa98702cSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524aa98702cSmrg    # In both cases, we have to default to `cp -p'.
525aa98702cSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526aa98702cSmrg      as_ln_s='cp -p'
527aa98702cSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
528aa98702cSmrg    as_ln_s=ln
529aa98702cSmrg  else
530f299d47fSmrg    as_ln_s='cp -p'
531aa98702cSmrg  fi
532f299d47fSmrgelse
533f299d47fSmrg  as_ln_s='cp -p'
534f299d47fSmrgfi
535f299d47fSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536f299d47fSmrgrmdir conf$$.dir 2>/dev/null
537f299d47fSmrg
538f299d47fSmrgif mkdir -p . 2>/dev/null; then
539f299d47fSmrg  as_mkdir_p=:
540f299d47fSmrgelse
541f299d47fSmrg  test -d ./-p && rmdir ./-p
542f299d47fSmrg  as_mkdir_p=false
543f299d47fSmrgfi
544f299d47fSmrg
545f299d47fSmrgif test -x / >/dev/null 2>&1; then
546f299d47fSmrg  as_test_x='test -x'
547f299d47fSmrgelse
548f299d47fSmrg  if ls -dL / >/dev/null 2>&1; then
549f299d47fSmrg    as_ls_L_option=L
550f299d47fSmrg  else
551f299d47fSmrg    as_ls_L_option=
552f299d47fSmrg  fi
553f299d47fSmrg  as_test_x='
554f299d47fSmrg    eval sh -c '\''
555f299d47fSmrg      if test -d "$1"; then
556aa98702cSmrg	test -d "$1/.";
557f299d47fSmrg      else
558f299d47fSmrg	case $1 in
559aa98702cSmrg	-*)set "./$1";;
560f299d47fSmrg	esac;
561f299d47fSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562f299d47fSmrg	???[sx]*):;;*)false;;esac;fi
563f299d47fSmrg    '\'' sh
564f299d47fSmrg  '
565f299d47fSmrgfi
566f299d47fSmrgas_executable_p=$as_test_x
567f299d47fSmrg
568f299d47fSmrg# Sed expression to map a string onto a valid CPP name.
569f299d47fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570f299d47fSmrg
571f299d47fSmrg# Sed expression to map a string onto a valid variable name.
572f299d47fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573f299d47fSmrg
574f299d47fSmrg
575f299d47fSmrg
576f299d47fSmrgexec 7<&0 </dev/null 6>&1
577f299d47fSmrg
578f299d47fSmrg# Name of the host.
579f299d47fSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580f299d47fSmrg# so uname gets run too.
581f299d47fSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582f299d47fSmrg
583f299d47fSmrg#
584f299d47fSmrg# Initializations.
585f299d47fSmrg#
586f299d47fSmrgac_default_prefix=/usr/local
587f299d47fSmrgac_clean_files=
588f299d47fSmrgac_config_libobj_dir=.
589f299d47fSmrgLIBOBJS=
590f299d47fSmrgcross_compiling=no
591f299d47fSmrgsubdirs=
592f299d47fSmrgMFLAGS=
593f299d47fSmrgMAKEFLAGS=
594f299d47fSmrgSHELL=${CONFIG_SHELL-/bin/sh}
595f299d47fSmrg
596f299d47fSmrg# Identity of this package.
597f299d47fSmrgPACKAGE_NAME='xev'
598f299d47fSmrgPACKAGE_TARNAME='xev'
599aa98702cSmrgPACKAGE_VERSION='1.0.4'
600aa98702cSmrgPACKAGE_STRING='xev 1.0.4'
601f299d47fSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
602f299d47fSmrg
603aa98702cSmrg# Factoring default headers for most tests.
604aa98702cSmrgac_includes_default="\
605aa98702cSmrg#include <stdio.h>
606aa98702cSmrg#ifdef HAVE_SYS_TYPES_H
607aa98702cSmrg# include <sys/types.h>
608aa98702cSmrg#endif
609aa98702cSmrg#ifdef HAVE_SYS_STAT_H
610aa98702cSmrg# include <sys/stat.h>
611aa98702cSmrg#endif
612aa98702cSmrg#ifdef STDC_HEADERS
613aa98702cSmrg# include <stdlib.h>
614aa98702cSmrg# include <stddef.h>
615aa98702cSmrg#else
616aa98702cSmrg# ifdef HAVE_STDLIB_H
617aa98702cSmrg#  include <stdlib.h>
618aa98702cSmrg# endif
619aa98702cSmrg#endif
620aa98702cSmrg#ifdef HAVE_STRING_H
621aa98702cSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622aa98702cSmrg#  include <memory.h>
623aa98702cSmrg# endif
624aa98702cSmrg# include <string.h>
625aa98702cSmrg#endif
626aa98702cSmrg#ifdef HAVE_STRINGS_H
627aa98702cSmrg# include <strings.h>
628aa98702cSmrg#endif
629aa98702cSmrg#ifdef HAVE_INTTYPES_H
630aa98702cSmrg# include <inttypes.h>
631aa98702cSmrg#endif
632aa98702cSmrg#ifdef HAVE_STDINT_H
633aa98702cSmrg# include <stdint.h>
634aa98702cSmrg#endif
635aa98702cSmrg#ifdef HAVE_UNISTD_H
636aa98702cSmrg# include <unistd.h>
637aa98702cSmrg#endif"
638aa98702cSmrg
639aa98702cSmrgac_subst_vars='am__EXEEXT_FALSE
640aa98702cSmrgam__EXEEXT_TRUE
641aa98702cSmrgLTLIBOBJS
642aa98702cSmrgLIBOBJS
643f299d47fSmrgXEV_LIBS
644aa98702cSmrgXEV_CFLAGS
645aa98702cSmrgPKG_CONFIG
646f299d47fSmrgADMIN_MAN_DIR
647aa98702cSmrgDRIVER_MAN_DIR
648aa98702cSmrgMISC_MAN_DIR
649aa98702cSmrgFILE_MAN_DIR
650aa98702cSmrgLIB_MAN_DIR
651aa98702cSmrgAPP_MAN_DIR
652aa98702cSmrgADMIN_MAN_SUFFIX
653aa98702cSmrgDRIVER_MAN_SUFFIX
654aa98702cSmrgMISC_MAN_SUFFIX
655aa98702cSmrgFILE_MAN_SUFFIX
656aa98702cSmrgLIB_MAN_SUFFIX
657aa98702cSmrgAPP_MAN_SUFFIX
658aa98702cSmrghost_os
659aa98702cSmrghost_vendor
660aa98702cSmrghost_cpu
661aa98702cSmrghost
662aa98702cSmrgbuild_os
663aa98702cSmrgbuild_vendor
664aa98702cSmrgbuild_cpu
665aa98702cSmrgbuild
666aa98702cSmrgdistcleancheck_listfiles
667aa98702cSmrgCHANGELOG_CMD
668aa98702cSmrgAM_BACKSLASH
669aa98702cSmrgAM_DEFAULT_VERBOSITY
670aa98702cSmrgCWARNFLAGS
671aa98702cSmrgEGREP
672aa98702cSmrgGREP
673aa98702cSmrgCPP
674aa98702cSmrgam__fastdepCC_FALSE
675aa98702cSmrgam__fastdepCC_TRUE
676aa98702cSmrgCCDEPMODE
677aa98702cSmrgAMDEPBACKSLASH
678aa98702cSmrgAMDEP_FALSE
679aa98702cSmrgAMDEP_TRUE
680aa98702cSmrgam__quote
681aa98702cSmrgam__include
682aa98702cSmrgDEPDIR
683aa98702cSmrgOBJEXT
684aa98702cSmrgEXEEXT
685aa98702cSmrgac_ct_CC
686aa98702cSmrgCPPFLAGS
687aa98702cSmrgLDFLAGS
688aa98702cSmrgCFLAGS
689aa98702cSmrgCC
690aa98702cSmrgMAINT
691aa98702cSmrgMAINTAINER_MODE_FALSE
692aa98702cSmrgMAINTAINER_MODE_TRUE
693aa98702cSmrgam__untar
694aa98702cSmrgam__tar
695aa98702cSmrgAMTAR
696aa98702cSmrgam__leading_dot
697aa98702cSmrgSET_MAKE
698aa98702cSmrgAWK
699aa98702cSmrgmkdir_p
700aa98702cSmrgMKDIR_P
701aa98702cSmrgINSTALL_STRIP_PROGRAM
702aa98702cSmrgSTRIP
703aa98702cSmrginstall_sh
704aa98702cSmrgMAKEINFO
705aa98702cSmrgAUTOHEADER
706aa98702cSmrgAUTOMAKE
707aa98702cSmrgAUTOCONF
708aa98702cSmrgACLOCAL
709aa98702cSmrgVERSION
710aa98702cSmrgPACKAGE
711aa98702cSmrgCYGPATH_W
712aa98702cSmrgam__isrc
713aa98702cSmrgINSTALL_DATA
714aa98702cSmrgINSTALL_SCRIPT
715aa98702cSmrgINSTALL_PROGRAM
716aa98702cSmrgtarget_alias
717aa98702cSmrghost_alias
718aa98702cSmrgbuild_alias
719aa98702cSmrgLIBS
720aa98702cSmrgECHO_T
721aa98702cSmrgECHO_N
722aa98702cSmrgECHO_C
723aa98702cSmrgDEFS
724aa98702cSmrgmandir
725aa98702cSmrglocaledir
726aa98702cSmrglibdir
727aa98702cSmrgpsdir
728aa98702cSmrgpdfdir
729aa98702cSmrgdvidir
730aa98702cSmrghtmldir
731aa98702cSmrginfodir
732aa98702cSmrgdocdir
733aa98702cSmrgoldincludedir
734aa98702cSmrgincludedir
735aa98702cSmrglocalstatedir
736aa98702cSmrgsharedstatedir
737aa98702cSmrgsysconfdir
738aa98702cSmrgdatadir
739aa98702cSmrgdatarootdir
740aa98702cSmrglibexecdir
741aa98702cSmrgsbindir
742aa98702cSmrgbindir
743aa98702cSmrgprogram_transform_name
744aa98702cSmrgprefix
745aa98702cSmrgexec_prefix
746aa98702cSmrgPACKAGE_BUGREPORT
747aa98702cSmrgPACKAGE_STRING
748aa98702cSmrgPACKAGE_VERSION
749aa98702cSmrgPACKAGE_TARNAME
750aa98702cSmrgPACKAGE_NAME
751aa98702cSmrgPATH_SEPARATOR
752aa98702cSmrgSHELL'
753f299d47fSmrgac_subst_files=''
754aa98702cSmrgac_user_opts='
755aa98702cSmrgenable_option_checking
756aa98702cSmrgenable_maintainer_mode
757aa98702cSmrgenable_dependency_tracking
758aa98702cSmrgenable_silent_rules
759aa98702cSmrgenable_strict_compilation
760aa98702cSmrgwith_release_version
761aa98702cSmrg'
762f299d47fSmrg      ac_precious_vars='build_alias
763f299d47fSmrghost_alias
764f299d47fSmrgtarget_alias
765f299d47fSmrgCC
766f299d47fSmrgCFLAGS
767f299d47fSmrgLDFLAGS
768f299d47fSmrgLIBS
769f299d47fSmrgCPPFLAGS
770aa98702cSmrgCPP
771f299d47fSmrgPKG_CONFIG
772f299d47fSmrgXEV_CFLAGS
773f299d47fSmrgXEV_LIBS'
774f299d47fSmrg
775f299d47fSmrg
776f299d47fSmrg# Initialize some variables set by options.
777f299d47fSmrgac_init_help=
778f299d47fSmrgac_init_version=false
779aa98702cSmrgac_unrecognized_opts=
780aa98702cSmrgac_unrecognized_sep=
781f299d47fSmrg# The variables have the same names as the options, with
782f299d47fSmrg# dashes changed to underlines.
783f299d47fSmrgcache_file=/dev/null
784f299d47fSmrgexec_prefix=NONE
785f299d47fSmrgno_create=
786f299d47fSmrgno_recursion=
787f299d47fSmrgprefix=NONE
788f299d47fSmrgprogram_prefix=NONE
789f299d47fSmrgprogram_suffix=NONE
790f299d47fSmrgprogram_transform_name=s,x,x,
791f299d47fSmrgsilent=
792f299d47fSmrgsite=
793f299d47fSmrgsrcdir=
794f299d47fSmrgverbose=
795f299d47fSmrgx_includes=NONE
796f299d47fSmrgx_libraries=NONE
797f299d47fSmrg
798f299d47fSmrg# Installation directory options.
799f299d47fSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
800f299d47fSmrg# and all the variables that are supposed to be based on exec_prefix
801f299d47fSmrg# by default will actually change.
802f299d47fSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
803f299d47fSmrg# (The list follows the same order as the GNU Coding Standards.)
804f299d47fSmrgbindir='${exec_prefix}/bin'
805f299d47fSmrgsbindir='${exec_prefix}/sbin'
806f299d47fSmrglibexecdir='${exec_prefix}/libexec'
807f299d47fSmrgdatarootdir='${prefix}/share'
808f299d47fSmrgdatadir='${datarootdir}'
809f299d47fSmrgsysconfdir='${prefix}/etc'
810f299d47fSmrgsharedstatedir='${prefix}/com'
811f299d47fSmrglocalstatedir='${prefix}/var'
812f299d47fSmrgincludedir='${prefix}/include'
813f299d47fSmrgoldincludedir='/usr/include'
814f299d47fSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
815f299d47fSmrginfodir='${datarootdir}/info'
816f299d47fSmrghtmldir='${docdir}'
817f299d47fSmrgdvidir='${docdir}'
818f299d47fSmrgpdfdir='${docdir}'
819f299d47fSmrgpsdir='${docdir}'
820f299d47fSmrglibdir='${exec_prefix}/lib'
821f299d47fSmrglocaledir='${datarootdir}/locale'
822f299d47fSmrgmandir='${datarootdir}/man'
823f299d47fSmrg
824f299d47fSmrgac_prev=
825f299d47fSmrgac_dashdash=
826f299d47fSmrgfor ac_option
827f299d47fSmrgdo
828f299d47fSmrg  # If the previous option needs an argument, assign it.
829f299d47fSmrg  if test -n "$ac_prev"; then
830f299d47fSmrg    eval $ac_prev=\$ac_option
831f299d47fSmrg    ac_prev=
832f299d47fSmrg    continue
833f299d47fSmrg  fi
834f299d47fSmrg
835f299d47fSmrg  case $ac_option in
836f299d47fSmrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837f299d47fSmrg  *)	ac_optarg=yes ;;
838f299d47fSmrg  esac
839f299d47fSmrg
840f299d47fSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
841f299d47fSmrg
842f299d47fSmrg  case $ac_dashdash$ac_option in
843f299d47fSmrg  --)
844f299d47fSmrg    ac_dashdash=yes ;;
845f299d47fSmrg
846f299d47fSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
847f299d47fSmrg    ac_prev=bindir ;;
848f299d47fSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
849f299d47fSmrg    bindir=$ac_optarg ;;
850f299d47fSmrg
851f299d47fSmrg  -build | --build | --buil | --bui | --bu)
852f299d47fSmrg    ac_prev=build_alias ;;
853f299d47fSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
854f299d47fSmrg    build_alias=$ac_optarg ;;
855f299d47fSmrg
856f299d47fSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
857f299d47fSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
858f299d47fSmrg    ac_prev=cache_file ;;
859f299d47fSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
860f299d47fSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
861f299d47fSmrg    cache_file=$ac_optarg ;;
862f299d47fSmrg
863f299d47fSmrg  --config-cache | -C)
864f299d47fSmrg    cache_file=config.cache ;;
865f299d47fSmrg
866f299d47fSmrg  -datadir | --datadir | --datadi | --datad)
867f299d47fSmrg    ac_prev=datadir ;;
868f299d47fSmrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
869f299d47fSmrg    datadir=$ac_optarg ;;
870f299d47fSmrg
871f299d47fSmrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
872f299d47fSmrg  | --dataroo | --dataro | --datar)
873f299d47fSmrg    ac_prev=datarootdir ;;
874f299d47fSmrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
875f299d47fSmrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
876f299d47fSmrg    datarootdir=$ac_optarg ;;
877f299d47fSmrg
878f299d47fSmrg  -disable-* | --disable-*)
879aa98702cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880f299d47fSmrg    # Reject names that are not valid shell variable names.
881aa98702cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882aa98702cSmrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
883f299d47fSmrg   { (exit 1); exit 1; }; }
884aa98702cSmrg    ac_useropt_orig=$ac_useropt
885aa98702cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
886aa98702cSmrg    case $ac_user_opts in
887aa98702cSmrg      *"
888aa98702cSmrg"enable_$ac_useropt"
889aa98702cSmrg"*) ;;
890aa98702cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
891aa98702cSmrg	 ac_unrecognized_sep=', ';;
892aa98702cSmrg    esac
893aa98702cSmrg    eval enable_$ac_useropt=no ;;
894f299d47fSmrg
895f299d47fSmrg  -docdir | --docdir | --docdi | --doc | --do)
896f299d47fSmrg    ac_prev=docdir ;;
897f299d47fSmrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
898f299d47fSmrg    docdir=$ac_optarg ;;
899f299d47fSmrg
900f299d47fSmrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
901f299d47fSmrg    ac_prev=dvidir ;;
902f299d47fSmrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
903f299d47fSmrg    dvidir=$ac_optarg ;;
904f299d47fSmrg
905f299d47fSmrg  -enable-* | --enable-*)
906aa98702cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
907f299d47fSmrg    # Reject names that are not valid shell variable names.
908aa98702cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909aa98702cSmrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
910f299d47fSmrg   { (exit 1); exit 1; }; }
911aa98702cSmrg    ac_useropt_orig=$ac_useropt
912aa98702cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913aa98702cSmrg    case $ac_user_opts in
914aa98702cSmrg      *"
915aa98702cSmrg"enable_$ac_useropt"
916aa98702cSmrg"*) ;;
917aa98702cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918aa98702cSmrg	 ac_unrecognized_sep=', ';;
919aa98702cSmrg    esac
920aa98702cSmrg    eval enable_$ac_useropt=\$ac_optarg ;;
921f299d47fSmrg
922f299d47fSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923f299d47fSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924f299d47fSmrg  | --exec | --exe | --ex)
925f299d47fSmrg    ac_prev=exec_prefix ;;
926f299d47fSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927f299d47fSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928f299d47fSmrg  | --exec=* | --exe=* | --ex=*)
929f299d47fSmrg    exec_prefix=$ac_optarg ;;
930f299d47fSmrg
931f299d47fSmrg  -gas | --gas | --ga | --g)
932f299d47fSmrg    # Obsolete; use --with-gas.
933f299d47fSmrg    with_gas=yes ;;
934f299d47fSmrg
935f299d47fSmrg  -help | --help | --hel | --he | -h)
936f299d47fSmrg    ac_init_help=long ;;
937f299d47fSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938f299d47fSmrg    ac_init_help=recursive ;;
939f299d47fSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940f299d47fSmrg    ac_init_help=short ;;
941f299d47fSmrg
942f299d47fSmrg  -host | --host | --hos | --ho)
943f299d47fSmrg    ac_prev=host_alias ;;
944f299d47fSmrg  -host=* | --host=* | --hos=* | --ho=*)
945f299d47fSmrg    host_alias=$ac_optarg ;;
946f299d47fSmrg
947f299d47fSmrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948f299d47fSmrg    ac_prev=htmldir ;;
949f299d47fSmrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950f299d47fSmrg  | --ht=*)
951f299d47fSmrg    htmldir=$ac_optarg ;;
952f299d47fSmrg
953f299d47fSmrg  -includedir | --includedir | --includedi | --included | --include \
954f299d47fSmrg  | --includ | --inclu | --incl | --inc)
955f299d47fSmrg    ac_prev=includedir ;;
956f299d47fSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957f299d47fSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
958f299d47fSmrg    includedir=$ac_optarg ;;
959f299d47fSmrg
960f299d47fSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
961f299d47fSmrg    ac_prev=infodir ;;
962f299d47fSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963f299d47fSmrg    infodir=$ac_optarg ;;
964f299d47fSmrg
965f299d47fSmrg  -libdir | --libdir | --libdi | --libd)
966f299d47fSmrg    ac_prev=libdir ;;
967f299d47fSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
968f299d47fSmrg    libdir=$ac_optarg ;;
969f299d47fSmrg
970f299d47fSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971f299d47fSmrg  | --libexe | --libex | --libe)
972f299d47fSmrg    ac_prev=libexecdir ;;
973f299d47fSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974f299d47fSmrg  | --libexe=* | --libex=* | --libe=*)
975f299d47fSmrg    libexecdir=$ac_optarg ;;
976f299d47fSmrg
977f299d47fSmrg  -localedir | --localedir | --localedi | --localed | --locale)
978f299d47fSmrg    ac_prev=localedir ;;
979f299d47fSmrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980f299d47fSmrg    localedir=$ac_optarg ;;
981f299d47fSmrg
982f299d47fSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
983f299d47fSmrg  | --localstate | --localstat | --localsta | --localst | --locals)
984f299d47fSmrg    ac_prev=localstatedir ;;
985f299d47fSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986f299d47fSmrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987f299d47fSmrg    localstatedir=$ac_optarg ;;
988f299d47fSmrg
989f299d47fSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990f299d47fSmrg    ac_prev=mandir ;;
991f299d47fSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992f299d47fSmrg    mandir=$ac_optarg ;;
993f299d47fSmrg
994f299d47fSmrg  -nfp | --nfp | --nf)
995f299d47fSmrg    # Obsolete; use --without-fp.
996f299d47fSmrg    with_fp=no ;;
997f299d47fSmrg
998f299d47fSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999f299d47fSmrg  | --no-cr | --no-c | -n)
1000f299d47fSmrg    no_create=yes ;;
1001f299d47fSmrg
1002f299d47fSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003f299d47fSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004f299d47fSmrg    no_recursion=yes ;;
1005f299d47fSmrg
1006f299d47fSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007f299d47fSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008f299d47fSmrg  | --oldin | --oldi | --old | --ol | --o)
1009f299d47fSmrg    ac_prev=oldincludedir ;;
1010f299d47fSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011f299d47fSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012f299d47fSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013f299d47fSmrg    oldincludedir=$ac_optarg ;;
1014f299d47fSmrg
1015f299d47fSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016f299d47fSmrg    ac_prev=prefix ;;
1017f299d47fSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018f299d47fSmrg    prefix=$ac_optarg ;;
1019f299d47fSmrg
1020f299d47fSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021f299d47fSmrg  | --program-pre | --program-pr | --program-p)
1022f299d47fSmrg    ac_prev=program_prefix ;;
1023f299d47fSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024f299d47fSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025f299d47fSmrg    program_prefix=$ac_optarg ;;
1026f299d47fSmrg
1027f299d47fSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028f299d47fSmrg  | --program-suf | --program-su | --program-s)
1029f299d47fSmrg    ac_prev=program_suffix ;;
1030f299d47fSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031f299d47fSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032f299d47fSmrg    program_suffix=$ac_optarg ;;
1033f299d47fSmrg
1034f299d47fSmrg  -program-transform-name | --program-transform-name \
1035f299d47fSmrg  | --program-transform-nam | --program-transform-na \
1036f299d47fSmrg  | --program-transform-n | --program-transform- \
1037f299d47fSmrg  | --program-transform | --program-transfor \
1038f299d47fSmrg  | --program-transfo | --program-transf \
1039f299d47fSmrg  | --program-trans | --program-tran \
1040f299d47fSmrg  | --progr-tra | --program-tr | --program-t)
1041f299d47fSmrg    ac_prev=program_transform_name ;;
1042f299d47fSmrg  -program-transform-name=* | --program-transform-name=* \
1043f299d47fSmrg  | --program-transform-nam=* | --program-transform-na=* \
1044f299d47fSmrg  | --program-transform-n=* | --program-transform-=* \
1045f299d47fSmrg  | --program-transform=* | --program-transfor=* \
1046f299d47fSmrg  | --program-transfo=* | --program-transf=* \
1047f299d47fSmrg  | --program-trans=* | --program-tran=* \
1048f299d47fSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1049f299d47fSmrg    program_transform_name=$ac_optarg ;;
1050f299d47fSmrg
1051f299d47fSmrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052f299d47fSmrg    ac_prev=pdfdir ;;
1053f299d47fSmrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054f299d47fSmrg    pdfdir=$ac_optarg ;;
1055f299d47fSmrg
1056f299d47fSmrg  -psdir | --psdir | --psdi | --psd | --ps)
1057f299d47fSmrg    ac_prev=psdir ;;
1058f299d47fSmrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059f299d47fSmrg    psdir=$ac_optarg ;;
1060f299d47fSmrg
1061f299d47fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062f299d47fSmrg  | -silent | --silent | --silen | --sile | --sil)
1063f299d47fSmrg    silent=yes ;;
1064f299d47fSmrg
1065f299d47fSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066f299d47fSmrg    ac_prev=sbindir ;;
1067f299d47fSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068f299d47fSmrg  | --sbi=* | --sb=*)
1069f299d47fSmrg    sbindir=$ac_optarg ;;
1070f299d47fSmrg
1071f299d47fSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072f299d47fSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073f299d47fSmrg  | --sharedst | --shareds | --shared | --share | --shar \
1074f299d47fSmrg  | --sha | --sh)
1075f299d47fSmrg    ac_prev=sharedstatedir ;;
1076f299d47fSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077f299d47fSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078f299d47fSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079f299d47fSmrg  | --sha=* | --sh=*)
1080f299d47fSmrg    sharedstatedir=$ac_optarg ;;
1081f299d47fSmrg
1082f299d47fSmrg  -site | --site | --sit)
1083f299d47fSmrg    ac_prev=site ;;
1084f299d47fSmrg  -site=* | --site=* | --sit=*)
1085f299d47fSmrg    site=$ac_optarg ;;
1086f299d47fSmrg
1087f299d47fSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088f299d47fSmrg    ac_prev=srcdir ;;
1089f299d47fSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090f299d47fSmrg    srcdir=$ac_optarg ;;
1091f299d47fSmrg
1092f299d47fSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093f299d47fSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
1094f299d47fSmrg    ac_prev=sysconfdir ;;
1095f299d47fSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096f299d47fSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097f299d47fSmrg    sysconfdir=$ac_optarg ;;
1098f299d47fSmrg
1099f299d47fSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1100f299d47fSmrg    ac_prev=target_alias ;;
1101f299d47fSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102f299d47fSmrg    target_alias=$ac_optarg ;;
1103f299d47fSmrg
1104f299d47fSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105f299d47fSmrg    verbose=yes ;;
1106f299d47fSmrg
1107f299d47fSmrg  -version | --version | --versio | --versi | --vers | -V)
1108f299d47fSmrg    ac_init_version=: ;;
1109f299d47fSmrg
1110f299d47fSmrg  -with-* | --with-*)
1111aa98702cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112f299d47fSmrg    # Reject names that are not valid shell variable names.
1113aa98702cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114aa98702cSmrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1115f299d47fSmrg   { (exit 1); exit 1; }; }
1116aa98702cSmrg    ac_useropt_orig=$ac_useropt
1117aa98702cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118aa98702cSmrg    case $ac_user_opts in
1119aa98702cSmrg      *"
1120aa98702cSmrg"with_$ac_useropt"
1121aa98702cSmrg"*) ;;
1122aa98702cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1123aa98702cSmrg	 ac_unrecognized_sep=', ';;
1124aa98702cSmrg    esac
1125aa98702cSmrg    eval with_$ac_useropt=\$ac_optarg ;;
1126f299d47fSmrg
1127f299d47fSmrg  -without-* | --without-*)
1128aa98702cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129f299d47fSmrg    # Reject names that are not valid shell variable names.
1130aa98702cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131aa98702cSmrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1132f299d47fSmrg   { (exit 1); exit 1; }; }
1133aa98702cSmrg    ac_useropt_orig=$ac_useropt
1134aa98702cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135aa98702cSmrg    case $ac_user_opts in
1136aa98702cSmrg      *"
1137aa98702cSmrg"with_$ac_useropt"
1138aa98702cSmrg"*) ;;
1139aa98702cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140aa98702cSmrg	 ac_unrecognized_sep=', ';;
1141aa98702cSmrg    esac
1142aa98702cSmrg    eval with_$ac_useropt=no ;;
1143f299d47fSmrg
1144f299d47fSmrg  --x)
1145f299d47fSmrg    # Obsolete; use --with-x.
1146f299d47fSmrg    with_x=yes ;;
1147f299d47fSmrg
1148f299d47fSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1149f299d47fSmrg  | --x-incl | --x-inc | --x-in | --x-i)
1150f299d47fSmrg    ac_prev=x_includes ;;
1151f299d47fSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1152f299d47fSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1153f299d47fSmrg    x_includes=$ac_optarg ;;
1154f299d47fSmrg
1155f299d47fSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1156f299d47fSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1157f299d47fSmrg    ac_prev=x_libraries ;;
1158f299d47fSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1159f299d47fSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160f299d47fSmrg    x_libraries=$ac_optarg ;;
1161f299d47fSmrg
1162aa98702cSmrg  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1163f299d47fSmrgTry \`$0 --help' for more information." >&2
1164f299d47fSmrg   { (exit 1); exit 1; }; }
1165f299d47fSmrg    ;;
1166f299d47fSmrg
1167f299d47fSmrg  *=*)
1168f299d47fSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1169f299d47fSmrg    # Reject names that are not valid shell variable names.
1170f299d47fSmrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1171aa98702cSmrg      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1172f299d47fSmrg   { (exit 1); exit 1; }; }
1173f299d47fSmrg    eval $ac_envvar=\$ac_optarg
1174f299d47fSmrg    export $ac_envvar ;;
1175f299d47fSmrg
1176f299d47fSmrg  *)
1177f299d47fSmrg    # FIXME: should be removed in autoconf 3.0.
1178aa98702cSmrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179f299d47fSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180aa98702cSmrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181f299d47fSmrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1182f299d47fSmrg    ;;
1183f299d47fSmrg
1184f299d47fSmrg  esac
1185f299d47fSmrgdone
1186f299d47fSmrg
1187f299d47fSmrgif test -n "$ac_prev"; then
1188f299d47fSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189aa98702cSmrg  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1190f299d47fSmrg   { (exit 1); exit 1; }; }
1191f299d47fSmrgfi
1192f299d47fSmrg
1193aa98702cSmrgif test -n "$ac_unrecognized_opts"; then
1194aa98702cSmrg  case $enable_option_checking in
1195aa98702cSmrg    no) ;;
1196aa98702cSmrg    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1197aa98702cSmrg   { (exit 1); exit 1; }; } ;;
1198aa98702cSmrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199aa98702cSmrg  esac
1200aa98702cSmrgfi
1201aa98702cSmrg
1202aa98702cSmrg# Check all directory arguments for consistency.
1203f299d47fSmrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204f299d47fSmrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1205f299d47fSmrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206f299d47fSmrg		libdir localedir mandir
1207f299d47fSmrgdo
1208f299d47fSmrg  eval ac_val=\$$ac_var
1209aa98702cSmrg  # Remove trailing slashes.
1210aa98702cSmrg  case $ac_val in
1211aa98702cSmrg    */ )
1212aa98702cSmrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213aa98702cSmrg      eval $ac_var=\$ac_val;;
1214aa98702cSmrg  esac
1215aa98702cSmrg  # Be sure to have absolute directory names.
1216f299d47fSmrg  case $ac_val in
1217f299d47fSmrg    [\\/$]* | ?:[\\/]* )  continue;;
1218f299d47fSmrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219f299d47fSmrg  esac
1220aa98702cSmrg  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1221f299d47fSmrg   { (exit 1); exit 1; }; }
1222f299d47fSmrgdone
1223f299d47fSmrg
1224f299d47fSmrg# There might be people who depend on the old broken behavior: `$host'
1225f299d47fSmrg# used to hold the argument of --host etc.
1226f299d47fSmrg# FIXME: To remove some day.
1227f299d47fSmrgbuild=$build_alias
1228f299d47fSmrghost=$host_alias
1229f299d47fSmrgtarget=$target_alias
1230f299d47fSmrg
1231f299d47fSmrg# FIXME: To remove some day.
1232f299d47fSmrgif test "x$host_alias" != x; then
1233f299d47fSmrg  if test "x$build_alias" = x; then
1234f299d47fSmrg    cross_compiling=maybe
1235aa98702cSmrg    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1236f299d47fSmrg    If a cross compiler is detected then cross compile mode will be used." >&2
1237f299d47fSmrg  elif test "x$build_alias" != "x$host_alias"; then
1238f299d47fSmrg    cross_compiling=yes
1239f299d47fSmrg  fi
1240f299d47fSmrgfi
1241f299d47fSmrg
1242f299d47fSmrgac_tool_prefix=
1243f299d47fSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1244f299d47fSmrg
1245f299d47fSmrgtest "$silent" = yes && exec 6>/dev/null
1246f299d47fSmrg
1247f299d47fSmrg
1248f299d47fSmrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1249f299d47fSmrgac_ls_di=`ls -di .` &&
1250f299d47fSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251aa98702cSmrg  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1252f299d47fSmrg   { (exit 1); exit 1; }; }
1253f299d47fSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254aa98702cSmrg  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1255f299d47fSmrg   { (exit 1); exit 1; }; }
1256f299d47fSmrg
1257f299d47fSmrg
1258f299d47fSmrg# Find the source files, if location was not specified.
1259f299d47fSmrgif test -z "$srcdir"; then
1260f299d47fSmrg  ac_srcdir_defaulted=yes
1261f299d47fSmrg  # Try the directory containing this script, then the parent directory.
1262aa98702cSmrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1263aa98702cSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264aa98702cSmrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1265aa98702cSmrg	 X"$as_myself" : 'X\(//\)$' \| \
1266aa98702cSmrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267aa98702cSmrg$as_echo X"$as_myself" |
1268f299d47fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269f299d47fSmrg	    s//\1/
1270f299d47fSmrg	    q
1271f299d47fSmrg	  }
1272f299d47fSmrg	  /^X\(\/\/\)[^/].*/{
1273f299d47fSmrg	    s//\1/
1274f299d47fSmrg	    q
1275f299d47fSmrg	  }
1276f299d47fSmrg	  /^X\(\/\/\)$/{
1277f299d47fSmrg	    s//\1/
1278f299d47fSmrg	    q
1279f299d47fSmrg	  }
1280f299d47fSmrg	  /^X\(\/\).*/{
1281f299d47fSmrg	    s//\1/
1282f299d47fSmrg	    q
1283f299d47fSmrg	  }
1284f299d47fSmrg	  s/.*/./; q'`
1285f299d47fSmrg  srcdir=$ac_confdir
1286f299d47fSmrg  if test ! -r "$srcdir/$ac_unique_file"; then
1287f299d47fSmrg    srcdir=..
1288f299d47fSmrg  fi
1289f299d47fSmrgelse
1290f299d47fSmrg  ac_srcdir_defaulted=no
1291f299d47fSmrgfi
1292f299d47fSmrgif test ! -r "$srcdir/$ac_unique_file"; then
1293f299d47fSmrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294aa98702cSmrg  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1295f299d47fSmrg   { (exit 1); exit 1; }; }
1296f299d47fSmrgfi
1297f299d47fSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1298f299d47fSmrgac_abs_confdir=`(
1299aa98702cSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1300f299d47fSmrg   { (exit 1); exit 1; }; }
1301f299d47fSmrg	pwd)`
1302f299d47fSmrg# When building in place, set srcdir=.
1303f299d47fSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1304f299d47fSmrg  srcdir=.
1305f299d47fSmrgfi
1306f299d47fSmrg# Remove unnecessary trailing slashes from srcdir.
1307f299d47fSmrg# Double slashes in file names in object file debugging info
1308f299d47fSmrg# mess up M-x gdb in Emacs.
1309f299d47fSmrgcase $srcdir in
1310f299d47fSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311f299d47fSmrgesac
1312f299d47fSmrgfor ac_var in $ac_precious_vars; do
1313f299d47fSmrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1314f299d47fSmrg  eval ac_env_${ac_var}_value=\$${ac_var}
1315f299d47fSmrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1316f299d47fSmrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317f299d47fSmrgdone
1318f299d47fSmrg
1319f299d47fSmrg#
1320f299d47fSmrg# Report the --help message.
1321f299d47fSmrg#
1322f299d47fSmrgif test "$ac_init_help" = "long"; then
1323f299d47fSmrg  # Omit some internal or obsolete options to make the list less imposing.
1324f299d47fSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
1325f299d47fSmrg  cat <<_ACEOF
1326aa98702cSmrg\`configure' configures xev 1.0.4 to adapt to many kinds of systems.
1327f299d47fSmrg
1328f299d47fSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1329f299d47fSmrg
1330f299d47fSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1331f299d47fSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1332f299d47fSmrg
1333f299d47fSmrgDefaults for the options are specified in brackets.
1334f299d47fSmrg
1335f299d47fSmrgConfiguration:
1336f299d47fSmrg  -h, --help              display this help and exit
1337f299d47fSmrg      --help=short        display options specific to this package
1338f299d47fSmrg      --help=recursive    display the short help of all the included packages
1339f299d47fSmrg  -V, --version           display version information and exit
1340f299d47fSmrg  -q, --quiet, --silent   do not print \`checking...' messages
1341f299d47fSmrg      --cache-file=FILE   cache test results in FILE [disabled]
1342f299d47fSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1343f299d47fSmrg  -n, --no-create         do not create output files
1344f299d47fSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1345f299d47fSmrg
1346f299d47fSmrgInstallation directories:
1347f299d47fSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1348aa98702cSmrg                          [$ac_default_prefix]
1349f299d47fSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1350aa98702cSmrg                          [PREFIX]
1351f299d47fSmrg
1352f299d47fSmrgBy default, \`make install' will install all the files in
1353f299d47fSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1354f299d47fSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355f299d47fSmrgfor instance \`--prefix=\$HOME'.
1356f299d47fSmrg
1357f299d47fSmrgFor better control, use the options below.
1358f299d47fSmrg
1359f299d47fSmrgFine tuning of the installation directories:
1360aa98702cSmrg  --bindir=DIR            user executables [EPREFIX/bin]
1361aa98702cSmrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1362aa98702cSmrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1363aa98702cSmrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1364aa98702cSmrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1365aa98702cSmrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1366aa98702cSmrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1367aa98702cSmrg  --includedir=DIR        C header files [PREFIX/include]
1368aa98702cSmrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1369aa98702cSmrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1370aa98702cSmrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1371aa98702cSmrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1372aa98702cSmrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1373aa98702cSmrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1374aa98702cSmrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/xev]
1375aa98702cSmrg  --htmldir=DIR           html documentation [DOCDIR]
1376aa98702cSmrg  --dvidir=DIR            dvi documentation [DOCDIR]
1377aa98702cSmrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1378aa98702cSmrg  --psdir=DIR             ps documentation [DOCDIR]
1379f299d47fSmrg_ACEOF
1380f299d47fSmrg
1381f299d47fSmrg  cat <<\_ACEOF
1382f299d47fSmrg
1383f299d47fSmrgProgram names:
1384f299d47fSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1385f299d47fSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1386f299d47fSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1387f299d47fSmrg
1388f299d47fSmrgSystem types:
1389f299d47fSmrg  --build=BUILD     configure for building on BUILD [guessed]
1390f299d47fSmrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1391f299d47fSmrg_ACEOF
1392f299d47fSmrgfi
1393f299d47fSmrg
1394f299d47fSmrgif test -n "$ac_init_help"; then
1395f299d47fSmrg  case $ac_init_help in
1396aa98702cSmrg     short | recursive ) echo "Configuration of xev 1.0.4:";;
1397f299d47fSmrg   esac
1398f299d47fSmrg  cat <<\_ACEOF
1399f299d47fSmrg
1400f299d47fSmrgOptional Features:
1401aa98702cSmrg  --disable-option-checking  ignore unrecognized --enable/--with options
1402f299d47fSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1403f299d47fSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1404f299d47fSmrg  --enable-maintainer-mode  enable make rules and dependencies not useful
1405f299d47fSmrg			  (and sometimes confusing) to the casual installer
1406f299d47fSmrg  --disable-dependency-tracking  speeds up one-time build
1407f299d47fSmrg  --enable-dependency-tracking   do not reject slow dependency extractors
1408aa98702cSmrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
1409aa98702cSmrg  --disable-silent-rules         verbose build output (undo: `make V=0')
1410aa98702cSmrg  --enable-strict-compilation
1411aa98702cSmrg                          Enable all warnings from compiler and make them
1412aa98702cSmrg                          errors (default: disabled)
1413f299d47fSmrg
1414f299d47fSmrgOptional Packages:
1415f299d47fSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1416f299d47fSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1417f299d47fSmrg  --with-release-version=STRING
1418f299d47fSmrg                          Use release version string in package name
1419f299d47fSmrg
1420f299d47fSmrgSome influential environment variables:
1421f299d47fSmrg  CC          C compiler command
1422f299d47fSmrg  CFLAGS      C compiler flags
1423f299d47fSmrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1424f299d47fSmrg              nonstandard directory <lib dir>
1425f299d47fSmrg  LIBS        libraries to pass to the linker, e.g. -l<library>
1426f299d47fSmrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1427f299d47fSmrg              you have headers in a nonstandard directory <include dir>
1428aa98702cSmrg  CPP         C preprocessor
1429f299d47fSmrg  PKG_CONFIG  path to pkg-config utility
1430f299d47fSmrg  XEV_CFLAGS  C compiler flags for XEV, overriding pkg-config
1431f299d47fSmrg  XEV_LIBS    linker flags for XEV, overriding pkg-config
1432f299d47fSmrg
1433f299d47fSmrgUse these variables to override the choices made by `configure' or to help
1434f299d47fSmrgit to find libraries and programs with nonstandard names/locations.
1435f299d47fSmrg
1436f299d47fSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1437f299d47fSmrg_ACEOF
1438f299d47fSmrgac_status=$?
1439f299d47fSmrgfi
1440f299d47fSmrg
1441f299d47fSmrgif test "$ac_init_help" = "recursive"; then
1442f299d47fSmrg  # If there are subdirs, report their specific --help.
1443f299d47fSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1444aa98702cSmrg    test -d "$ac_dir" ||
1445aa98702cSmrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446aa98702cSmrg      continue
1447f299d47fSmrg    ac_builddir=.
1448f299d47fSmrg
1449f299d47fSmrgcase "$ac_dir" in
1450f299d47fSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451f299d47fSmrg*)
1452aa98702cSmrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1453f299d47fSmrg  # A ".." for each directory in $ac_dir_suffix.
1454aa98702cSmrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1455f299d47fSmrg  case $ac_top_builddir_sub in
1456f299d47fSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457f299d47fSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458f299d47fSmrg  esac ;;
1459f299d47fSmrgesac
1460f299d47fSmrgac_abs_top_builddir=$ac_pwd
1461f299d47fSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1462f299d47fSmrg# for backward compatibility:
1463f299d47fSmrgac_top_builddir=$ac_top_build_prefix
1464f299d47fSmrg
1465f299d47fSmrgcase $srcdir in
1466f299d47fSmrg  .)  # We are building in place.
1467f299d47fSmrg    ac_srcdir=.
1468f299d47fSmrg    ac_top_srcdir=$ac_top_builddir_sub
1469f299d47fSmrg    ac_abs_top_srcdir=$ac_pwd ;;
1470f299d47fSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1471f299d47fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
1472f299d47fSmrg    ac_top_srcdir=$srcdir
1473f299d47fSmrg    ac_abs_top_srcdir=$srcdir ;;
1474f299d47fSmrg  *) # Relative name.
1475f299d47fSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476f299d47fSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1477f299d47fSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478f299d47fSmrgesac
1479f299d47fSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1480f299d47fSmrg
1481f299d47fSmrg    cd "$ac_dir" || { ac_status=$?; continue; }
1482f299d47fSmrg    # Check for guested configure.
1483f299d47fSmrg    if test -f "$ac_srcdir/configure.gnu"; then
1484f299d47fSmrg      echo &&
1485f299d47fSmrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486f299d47fSmrg    elif test -f "$ac_srcdir/configure"; then
1487f299d47fSmrg      echo &&
1488f299d47fSmrg      $SHELL "$ac_srcdir/configure" --help=recursive
1489f299d47fSmrg    else
1490aa98702cSmrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491f299d47fSmrg    fi || ac_status=$?
1492f299d47fSmrg    cd "$ac_pwd" || { ac_status=$?; break; }
1493f299d47fSmrg  done
1494f299d47fSmrgfi
1495f299d47fSmrg
1496f299d47fSmrgtest -n "$ac_init_help" && exit $ac_status
1497f299d47fSmrgif $ac_init_version; then
1498f299d47fSmrg  cat <<\_ACEOF
1499aa98702cSmrgxev configure 1.0.4
1500aa98702cSmrggenerated by GNU Autoconf 2.63
1501f299d47fSmrg
1502f299d47fSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1503aa98702cSmrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1504f299d47fSmrgThis configure script is free software; the Free Software Foundation
1505f299d47fSmrggives unlimited permission to copy, distribute and modify it.
1506f299d47fSmrg_ACEOF
1507f299d47fSmrg  exit
1508f299d47fSmrgfi
1509f299d47fSmrgcat >config.log <<_ACEOF
1510f299d47fSmrgThis file contains any messages produced by compilers while
1511f299d47fSmrgrunning configure, to aid debugging if configure makes a mistake.
1512f299d47fSmrg
1513aa98702cSmrgIt was created by xev $as_me 1.0.4, which was
1514aa98702cSmrggenerated by GNU Autoconf 2.63.  Invocation command line was
1515f299d47fSmrg
1516f299d47fSmrg  $ $0 $@
1517f299d47fSmrg
1518f299d47fSmrg_ACEOF
1519f299d47fSmrgexec 5>>config.log
1520f299d47fSmrg{
1521f299d47fSmrgcat <<_ASUNAME
1522f299d47fSmrg## --------- ##
1523f299d47fSmrg## Platform. ##
1524f299d47fSmrg## --------- ##
1525f299d47fSmrg
1526f299d47fSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1527f299d47fSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1528f299d47fSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1529f299d47fSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1530f299d47fSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1531f299d47fSmrg
1532f299d47fSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1533f299d47fSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1534f299d47fSmrg
1535f299d47fSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1536f299d47fSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1537f299d47fSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1538f299d47fSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1539f299d47fSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1540f299d47fSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1541f299d47fSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1542f299d47fSmrg
1543f299d47fSmrg_ASUNAME
1544f299d47fSmrg
1545f299d47fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1546f299d47fSmrgfor as_dir in $PATH
1547f299d47fSmrgdo
1548f299d47fSmrg  IFS=$as_save_IFS
1549f299d47fSmrg  test -z "$as_dir" && as_dir=.
1550aa98702cSmrg  $as_echo "PATH: $as_dir"
1551f299d47fSmrgdone
1552f299d47fSmrgIFS=$as_save_IFS
1553f299d47fSmrg
1554f299d47fSmrg} >&5
1555f299d47fSmrg
1556f299d47fSmrgcat >&5 <<_ACEOF
1557f299d47fSmrg
1558f299d47fSmrg
1559f299d47fSmrg## ----------- ##
1560f299d47fSmrg## Core tests. ##
1561f299d47fSmrg## ----------- ##
1562f299d47fSmrg
1563f299d47fSmrg_ACEOF
1564f299d47fSmrg
1565f299d47fSmrg
1566f299d47fSmrg# Keep a trace of the command line.
1567f299d47fSmrg# Strip out --no-create and --no-recursion so they do not pile up.
1568f299d47fSmrg# Strip out --silent because we don't want to record it for future runs.
1569f299d47fSmrg# Also quote any args containing shell meta-characters.
1570f299d47fSmrg# Make two passes to allow for proper duplicate-argument suppression.
1571f299d47fSmrgac_configure_args=
1572f299d47fSmrgac_configure_args0=
1573f299d47fSmrgac_configure_args1=
1574f299d47fSmrgac_must_keep_next=false
1575f299d47fSmrgfor ac_pass in 1 2
1576f299d47fSmrgdo
1577f299d47fSmrg  for ac_arg
1578f299d47fSmrg  do
1579f299d47fSmrg    case $ac_arg in
1580f299d47fSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1581f299d47fSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1582f299d47fSmrg    | -silent | --silent | --silen | --sile | --sil)
1583f299d47fSmrg      continue ;;
1584f299d47fSmrg    *\'*)
1585aa98702cSmrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1586f299d47fSmrg    esac
1587f299d47fSmrg    case $ac_pass in
1588f299d47fSmrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1589f299d47fSmrg    2)
1590f299d47fSmrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1591f299d47fSmrg      if test $ac_must_keep_next = true; then
1592f299d47fSmrg	ac_must_keep_next=false # Got value, back to normal.
1593f299d47fSmrg      else
1594f299d47fSmrg	case $ac_arg in
1595f299d47fSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1596f299d47fSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1597f299d47fSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1598f299d47fSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1599f299d47fSmrg	    case "$ac_configure_args0 " in
1600f299d47fSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1601f299d47fSmrg	    esac
1602f299d47fSmrg	    ;;
1603f299d47fSmrg	  -* ) ac_must_keep_next=true ;;
1604f299d47fSmrg	esac
1605f299d47fSmrg      fi
1606f299d47fSmrg      ac_configure_args="$ac_configure_args '$ac_arg'"
1607f299d47fSmrg      ;;
1608f299d47fSmrg    esac
1609f299d47fSmrg  done
1610f299d47fSmrgdone
1611f299d47fSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1612f299d47fSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1613f299d47fSmrg
1614f299d47fSmrg# When interrupted or exit'd, cleanup temporary files, and complete
1615f299d47fSmrg# config.log.  We remove comments because anyway the quotes in there
1616f299d47fSmrg# would cause problems or look ugly.
1617f299d47fSmrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1618f299d47fSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1619f299d47fSmrgtrap 'exit_status=$?
1620f299d47fSmrg  # Save into config.log some information that might help in debugging.
1621f299d47fSmrg  {
1622f299d47fSmrg    echo
1623f299d47fSmrg
1624f299d47fSmrg    cat <<\_ASBOX
1625f299d47fSmrg## ---------------- ##
1626f299d47fSmrg## Cache variables. ##
1627f299d47fSmrg## ---------------- ##
1628f299d47fSmrg_ASBOX
1629f299d47fSmrg    echo
1630f299d47fSmrg    # The following way of writing the cache mishandles newlines in values,
1631f299d47fSmrg(
1632f299d47fSmrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1633f299d47fSmrg    eval ac_val=\$$ac_var
1634f299d47fSmrg    case $ac_val in #(
1635f299d47fSmrg    *${as_nl}*)
1636f299d47fSmrg      case $ac_var in #(
1637aa98702cSmrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1638aa98702cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1639f299d47fSmrg      esac
1640f299d47fSmrg      case $ac_var in #(
1641f299d47fSmrg      _ | IFS | as_nl) ;; #(
1642aa98702cSmrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1643f299d47fSmrg      *) $as_unset $ac_var ;;
1644f299d47fSmrg      esac ;;
1645f299d47fSmrg    esac
1646f299d47fSmrg  done
1647f299d47fSmrg  (set) 2>&1 |
1648f299d47fSmrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1649f299d47fSmrg    *${as_nl}ac_space=\ *)
1650f299d47fSmrg      sed -n \
1651f299d47fSmrg	"s/'\''/'\''\\\\'\'''\''/g;
1652f299d47fSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1653f299d47fSmrg      ;; #(
1654f299d47fSmrg    *)
1655f299d47fSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1656f299d47fSmrg      ;;
1657f299d47fSmrg    esac |
1658f299d47fSmrg    sort
1659f299d47fSmrg)
1660f299d47fSmrg    echo
1661f299d47fSmrg
1662f299d47fSmrg    cat <<\_ASBOX
1663f299d47fSmrg## ----------------- ##
1664f299d47fSmrg## Output variables. ##
1665f299d47fSmrg## ----------------- ##
1666f299d47fSmrg_ASBOX
1667f299d47fSmrg    echo
1668f299d47fSmrg    for ac_var in $ac_subst_vars
1669f299d47fSmrg    do
1670f299d47fSmrg      eval ac_val=\$$ac_var
1671f299d47fSmrg      case $ac_val in
1672aa98702cSmrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673f299d47fSmrg      esac
1674aa98702cSmrg      $as_echo "$ac_var='\''$ac_val'\''"
1675f299d47fSmrg    done | sort
1676f299d47fSmrg    echo
1677f299d47fSmrg
1678f299d47fSmrg    if test -n "$ac_subst_files"; then
1679f299d47fSmrg      cat <<\_ASBOX
1680f299d47fSmrg## ------------------- ##
1681f299d47fSmrg## File substitutions. ##
1682f299d47fSmrg## ------------------- ##
1683f299d47fSmrg_ASBOX
1684f299d47fSmrg      echo
1685f299d47fSmrg      for ac_var in $ac_subst_files
1686f299d47fSmrg      do
1687f299d47fSmrg	eval ac_val=\$$ac_var
1688f299d47fSmrg	case $ac_val in
1689aa98702cSmrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1690f299d47fSmrg	esac
1691aa98702cSmrg	$as_echo "$ac_var='\''$ac_val'\''"
1692f299d47fSmrg      done | sort
1693f299d47fSmrg      echo
1694f299d47fSmrg    fi
1695f299d47fSmrg
1696f299d47fSmrg    if test -s confdefs.h; then
1697f299d47fSmrg      cat <<\_ASBOX
1698f299d47fSmrg## ----------- ##
1699f299d47fSmrg## confdefs.h. ##
1700f299d47fSmrg## ----------- ##
1701f299d47fSmrg_ASBOX
1702f299d47fSmrg      echo
1703f299d47fSmrg      cat confdefs.h
1704f299d47fSmrg      echo
1705f299d47fSmrg    fi
1706f299d47fSmrg    test "$ac_signal" != 0 &&
1707aa98702cSmrg      $as_echo "$as_me: caught signal $ac_signal"
1708aa98702cSmrg    $as_echo "$as_me: exit $exit_status"
1709f299d47fSmrg  } >&5
1710f299d47fSmrg  rm -f core *.core core.conftest.* &&
1711f299d47fSmrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1712f299d47fSmrg    exit $exit_status
1713f299d47fSmrg' 0
1714f299d47fSmrgfor ac_signal in 1 2 13 15; do
1715f299d47fSmrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1716f299d47fSmrgdone
1717f299d47fSmrgac_signal=0
1718f299d47fSmrg
1719f299d47fSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1720f299d47fSmrgrm -f -r conftest* confdefs.h
1721f299d47fSmrg
1722f299d47fSmrg# Predefined preprocessor variables.
1723f299d47fSmrg
1724f299d47fSmrgcat >>confdefs.h <<_ACEOF
1725f299d47fSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
1726f299d47fSmrg_ACEOF
1727f299d47fSmrg
1728f299d47fSmrg
1729f299d47fSmrgcat >>confdefs.h <<_ACEOF
1730f299d47fSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1731f299d47fSmrg_ACEOF
1732f299d47fSmrg
1733f299d47fSmrg
1734f299d47fSmrgcat >>confdefs.h <<_ACEOF
1735f299d47fSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1736f299d47fSmrg_ACEOF
1737f299d47fSmrg
1738f299d47fSmrg
1739f299d47fSmrgcat >>confdefs.h <<_ACEOF
1740f299d47fSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
1741f299d47fSmrg_ACEOF
1742f299d47fSmrg
1743f299d47fSmrg
1744f299d47fSmrgcat >>confdefs.h <<_ACEOF
1745f299d47fSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1746f299d47fSmrg_ACEOF
1747f299d47fSmrg
1748f299d47fSmrg
1749f299d47fSmrg# Let the site file select an alternate cache file if it wants to.
1750aa98702cSmrg# Prefer an explicitly selected file to automatically selected ones.
1751aa98702cSmrgac_site_file1=NONE
1752aa98702cSmrgac_site_file2=NONE
1753f299d47fSmrgif test -n "$CONFIG_SITE"; then
1754aa98702cSmrg  ac_site_file1=$CONFIG_SITE
1755f299d47fSmrgelif test "x$prefix" != xNONE; then
1756aa98702cSmrg  ac_site_file1=$prefix/share/config.site
1757aa98702cSmrg  ac_site_file2=$prefix/etc/config.site
1758f299d47fSmrgelse
1759aa98702cSmrg  ac_site_file1=$ac_default_prefix/share/config.site
1760aa98702cSmrg  ac_site_file2=$ac_default_prefix/etc/config.site
1761f299d47fSmrgfi
1762aa98702cSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
1763f299d47fSmrgdo
1764aa98702cSmrg  test "x$ac_site_file" = xNONE && continue
1765f299d47fSmrg  if test -r "$ac_site_file"; then
1766aa98702cSmrg    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1767aa98702cSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1768f299d47fSmrg    sed 's/^/| /' "$ac_site_file" >&5
1769f299d47fSmrg    . "$ac_site_file"
1770f299d47fSmrg  fi
1771f299d47fSmrgdone
1772f299d47fSmrg
1773f299d47fSmrgif test -r "$cache_file"; then
1774f299d47fSmrg  # Some versions of bash will fail to source /dev/null (special
1775f299d47fSmrg  # files actually), so we avoid doing that.
1776f299d47fSmrg  if test -f "$cache_file"; then
1777aa98702cSmrg    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1778aa98702cSmrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1779f299d47fSmrg    case $cache_file in
1780f299d47fSmrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1781f299d47fSmrg      *)                      . "./$cache_file";;
1782f299d47fSmrg    esac
1783f299d47fSmrg  fi
1784f299d47fSmrgelse
1785aa98702cSmrg  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1786aa98702cSmrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1787f299d47fSmrg  >$cache_file
1788f299d47fSmrgfi
1789f299d47fSmrg
1790f299d47fSmrg# Check that the precious variables saved in the cache have kept the same
1791f299d47fSmrg# value.
1792f299d47fSmrgac_cache_corrupted=false
1793f299d47fSmrgfor ac_var in $ac_precious_vars; do
1794f299d47fSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1795f299d47fSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
1796f299d47fSmrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1797f299d47fSmrg  eval ac_new_val=\$ac_env_${ac_var}_value
1798f299d47fSmrg  case $ac_old_set,$ac_new_set in
1799f299d47fSmrg    set,)
1800aa98702cSmrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1801aa98702cSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1802f299d47fSmrg      ac_cache_corrupted=: ;;
1803f299d47fSmrg    ,set)
1804aa98702cSmrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1805aa98702cSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1806f299d47fSmrg      ac_cache_corrupted=: ;;
1807f299d47fSmrg    ,);;
1808f299d47fSmrg    *)
1809f299d47fSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1810aa98702cSmrg	# differences in whitespace do not lead to failure.
1811aa98702cSmrg	ac_old_val_w=`echo x $ac_old_val`
1812aa98702cSmrg	ac_new_val_w=`echo x $ac_new_val`
1813aa98702cSmrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1814aa98702cSmrg	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1815aa98702cSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1816aa98702cSmrg	  ac_cache_corrupted=:
1817aa98702cSmrg	else
1818aa98702cSmrg	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1819aa98702cSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1820aa98702cSmrg	  eval $ac_var=\$ac_old_val
1821aa98702cSmrg	fi
1822aa98702cSmrg	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1823aa98702cSmrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1824aa98702cSmrg	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1825aa98702cSmrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1826f299d47fSmrg      fi;;
1827f299d47fSmrg  esac
1828f299d47fSmrg  # Pass precious variables to config.status.
1829f299d47fSmrg  if test "$ac_new_set" = set; then
1830f299d47fSmrg    case $ac_new_val in
1831aa98702cSmrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1832f299d47fSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
1833f299d47fSmrg    esac
1834f299d47fSmrg    case " $ac_configure_args " in
1835f299d47fSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1836f299d47fSmrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1837f299d47fSmrg    esac
1838f299d47fSmrg  fi
1839f299d47fSmrgdone
1840f299d47fSmrgif $ac_cache_corrupted; then
1841aa98702cSmrg  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1842aa98702cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1843aa98702cSmrg  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1844aa98702cSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1845aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1846aa98702cSmrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1847f299d47fSmrg   { (exit 1); exit 1; }; }
1848f299d47fSmrgfi
1849f299d47fSmrg
1850f299d47fSmrg
1851f299d47fSmrg
1852f299d47fSmrg
1853f299d47fSmrg
1854f299d47fSmrg
1855f299d47fSmrg
1856f299d47fSmrg
1857f299d47fSmrg
1858f299d47fSmrg
1859f299d47fSmrg
1860f299d47fSmrg
1861f299d47fSmrg
1862f299d47fSmrg
1863f299d47fSmrg
1864f299d47fSmrg
1865f299d47fSmrg
1866f299d47fSmrg
1867f299d47fSmrg
1868f299d47fSmrg
1869f299d47fSmrg
1870f299d47fSmrg
1871f299d47fSmrg
1872f299d47fSmrg
1873f299d47fSmrg
1874f299d47fSmrgac_ext=c
1875f299d47fSmrgac_cpp='$CPP $CPPFLAGS'
1876f299d47fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1877f299d47fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1878f299d47fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1879f299d47fSmrg
1880f299d47fSmrg
1881aa98702cSmrgam__api_version='1.11'
1882f299d47fSmrg
1883f299d47fSmrgac_aux_dir=
1884f299d47fSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1885f299d47fSmrg  if test -f "$ac_dir/install-sh"; then
1886f299d47fSmrg    ac_aux_dir=$ac_dir
1887f299d47fSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1888f299d47fSmrg    break
1889f299d47fSmrg  elif test -f "$ac_dir/install.sh"; then
1890f299d47fSmrg    ac_aux_dir=$ac_dir
1891f299d47fSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1892f299d47fSmrg    break
1893f299d47fSmrg  elif test -f "$ac_dir/shtool"; then
1894f299d47fSmrg    ac_aux_dir=$ac_dir
1895f299d47fSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1896f299d47fSmrg    break
1897f299d47fSmrg  fi
1898f299d47fSmrgdone
1899f299d47fSmrgif test -z "$ac_aux_dir"; then
1900aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1901aa98702cSmrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1902f299d47fSmrg   { (exit 1); exit 1; }; }
1903f299d47fSmrgfi
1904f299d47fSmrg
1905f299d47fSmrg# These three variables are undocumented and unsupported,
1906f299d47fSmrg# and are intended to be withdrawn in a future Autoconf release.
1907f299d47fSmrg# They can cause serious problems if a builder's source tree is in a directory
1908f299d47fSmrg# whose full name contains unusual characters.
1909f299d47fSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1910f299d47fSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1911f299d47fSmrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1912f299d47fSmrg
1913f299d47fSmrg
1914f299d47fSmrg# Find a good install program.  We prefer a C program (faster),
1915f299d47fSmrg# so one script is as good as another.  But avoid the broken or
1916f299d47fSmrg# incompatible versions:
1917f299d47fSmrg# SysV /etc/install, /usr/sbin/install
1918f299d47fSmrg# SunOS /usr/etc/install
1919f299d47fSmrg# IRIX /sbin/install
1920f299d47fSmrg# AIX /bin/install
1921f299d47fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1922f299d47fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1923f299d47fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1924f299d47fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1925f299d47fSmrg# OS/2's system install, which has a completely different semantic
1926f299d47fSmrg# ./install, which can be erroneously created by make from ./install.sh.
1927aa98702cSmrg# Reject install programs that cannot install multiple files.
1928aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1929aa98702cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
1930f299d47fSmrgif test -z "$INSTALL"; then
1931f299d47fSmrgif test "${ac_cv_path_install+set}" = set; then
1932aa98702cSmrg  $as_echo_n "(cached) " >&6
1933f299d47fSmrgelse
1934f299d47fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935f299d47fSmrgfor as_dir in $PATH
1936f299d47fSmrgdo
1937f299d47fSmrg  IFS=$as_save_IFS
1938f299d47fSmrg  test -z "$as_dir" && as_dir=.
1939f299d47fSmrg  # Account for people who put trailing slashes in PATH elements.
1940f299d47fSmrgcase $as_dir/ in
1941f299d47fSmrg  ./ | .// | /cC/* | \
1942f299d47fSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1943f299d47fSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1944f299d47fSmrg  /usr/ucb/* ) ;;
1945f299d47fSmrg  *)
1946f299d47fSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1947f299d47fSmrg    # Don't use installbsd from OSF since it installs stuff as root
1948f299d47fSmrg    # by default.
1949f299d47fSmrg    for ac_prog in ginstall scoinst install; do
1950f299d47fSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
1951f299d47fSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1952f299d47fSmrg	  if test $ac_prog = install &&
1953f299d47fSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1954f299d47fSmrg	    # AIX install.  It has an incompatible calling convention.
1955f299d47fSmrg	    :
1956f299d47fSmrg	  elif test $ac_prog = install &&
1957f299d47fSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1958f299d47fSmrg	    # program-specific install script used by HP pwplus--don't use.
1959f299d47fSmrg	    :
1960f299d47fSmrg	  else
1961aa98702cSmrg	    rm -rf conftest.one conftest.two conftest.dir
1962aa98702cSmrg	    echo one > conftest.one
1963aa98702cSmrg	    echo two > conftest.two
1964aa98702cSmrg	    mkdir conftest.dir
1965aa98702cSmrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1966aa98702cSmrg	      test -s conftest.one && test -s conftest.two &&
1967aa98702cSmrg	      test -s conftest.dir/conftest.one &&
1968aa98702cSmrg	      test -s conftest.dir/conftest.two
1969aa98702cSmrg	    then
1970aa98702cSmrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1971aa98702cSmrg	      break 3
1972aa98702cSmrg	    fi
1973f299d47fSmrg	  fi
1974f299d47fSmrg	fi
1975f299d47fSmrg      done
1976f299d47fSmrg    done
1977f299d47fSmrg    ;;
1978f299d47fSmrgesac
1979aa98702cSmrg
1980f299d47fSmrgdone
1981f299d47fSmrgIFS=$as_save_IFS
1982f299d47fSmrg
1983aa98702cSmrgrm -rf conftest.one conftest.two conftest.dir
1984f299d47fSmrg
1985f299d47fSmrgfi
1986f299d47fSmrg  if test "${ac_cv_path_install+set}" = set; then
1987f299d47fSmrg    INSTALL=$ac_cv_path_install
1988f299d47fSmrg  else
1989f299d47fSmrg    # As a last resort, use the slow shell script.  Don't cache a
1990f299d47fSmrg    # value for INSTALL within a source directory, because that will
1991f299d47fSmrg    # break other packages using the cache if that directory is
1992f299d47fSmrg    # removed, or if the value is a relative name.
1993f299d47fSmrg    INSTALL=$ac_install_sh
1994f299d47fSmrg  fi
1995f299d47fSmrgfi
1996aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1997aa98702cSmrg$as_echo "$INSTALL" >&6; }
1998f299d47fSmrg
1999f299d47fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2000f299d47fSmrg# It thinks the first close brace ends the variable substitution.
2001f299d47fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2002f299d47fSmrg
2003f299d47fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2004f299d47fSmrg
2005f299d47fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2006f299d47fSmrg
2007aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2008aa98702cSmrg$as_echo_n "checking whether build environment is sane... " >&6; }
2009f299d47fSmrg# Just in case
2010f299d47fSmrgsleep 1
2011f299d47fSmrgecho timestamp > conftest.file
2012aa98702cSmrg# Reject unsafe characters in $srcdir or the absolute working directory
2013aa98702cSmrg# name.  Accept space and tab only in the latter.
2014aa98702cSmrgam_lf='
2015aa98702cSmrg'
2016aa98702cSmrgcase `pwd` in
2017aa98702cSmrg  *[\\\"\#\$\&\'\`$am_lf]*)
2018aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2019aa98702cSmrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2020aa98702cSmrg   { (exit 1); exit 1; }; };;
2021aa98702cSmrgesac
2022aa98702cSmrgcase $srcdir in
2023aa98702cSmrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2024aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2025aa98702cSmrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2026aa98702cSmrg   { (exit 1); exit 1; }; };;
2027aa98702cSmrgesac
2028aa98702cSmrg
2029f299d47fSmrg# Do `set' in a subshell so we don't clobber the current shell's
2030f299d47fSmrg# arguments.  Must try -L first in case configure is actually a
2031f299d47fSmrg# symlink; some systems play weird games with the mod time of symlinks
2032f299d47fSmrg# (eg FreeBSD returns the mod time of the symlink's containing
2033f299d47fSmrg# directory).
2034f299d47fSmrgif (
2035aa98702cSmrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2036f299d47fSmrg   if test "$*" = "X"; then
2037f299d47fSmrg      # -L didn't work.
2038aa98702cSmrg      set X `ls -t "$srcdir/configure" conftest.file`
2039f299d47fSmrg   fi
2040f299d47fSmrg   rm -f conftest.file
2041f299d47fSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
2042f299d47fSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
2043f299d47fSmrg
2044f299d47fSmrg      # If neither matched, then we have a broken ls.  This can happen
2045f299d47fSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
2046f299d47fSmrg      # broken ls alias from the environment.  This has actually
2047f299d47fSmrg      # happened.  Such a system could not be considered "sane".
2048aa98702cSmrg      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2049f299d47fSmrgalias in your environment" >&5
2050aa98702cSmrg$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2051f299d47fSmrgalias in your environment" >&2;}
2052f299d47fSmrg   { (exit 1); exit 1; }; }
2053f299d47fSmrg   fi
2054f299d47fSmrg
2055f299d47fSmrg   test "$2" = conftest.file
2056f299d47fSmrg   )
2057f299d47fSmrgthen
2058f299d47fSmrg   # Ok.
2059f299d47fSmrg   :
2060f299d47fSmrgelse
2061aa98702cSmrg   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2062f299d47fSmrgCheck your system clock" >&5
2063aa98702cSmrg$as_echo "$as_me: error: newly created file is older than distributed files!
2064f299d47fSmrgCheck your system clock" >&2;}
2065f299d47fSmrg   { (exit 1); exit 1; }; }
2066f299d47fSmrgfi
2067aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
2068aa98702cSmrg$as_echo "yes" >&6; }
2069f299d47fSmrgtest "$program_prefix" != NONE &&
2070f299d47fSmrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2071f299d47fSmrg# Use a double $ so make ignores it.
2072f299d47fSmrgtest "$program_suffix" != NONE &&
2073f299d47fSmrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2074aa98702cSmrg# Double any \ or $.
2075f299d47fSmrg# By default was `s,x,x', remove it if useless.
2076aa98702cSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2077aa98702cSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2078f299d47fSmrg
2079f299d47fSmrg# expand $ac_aux_dir to an absolute path
2080f299d47fSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
2081f299d47fSmrg
2082aa98702cSmrgif test x"${MISSING+set}" != xset; then
2083aa98702cSmrg  case $am_aux_dir in
2084aa98702cSmrg  *\ * | *\	*)
2085aa98702cSmrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2086aa98702cSmrg  *)
2087aa98702cSmrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2088aa98702cSmrg  esac
2089aa98702cSmrgfi
2090f299d47fSmrg# Use eval to expand $SHELL
2091f299d47fSmrgif eval "$MISSING --run true"; then
2092f299d47fSmrg  am_missing_run="$MISSING --run "
2093f299d47fSmrgelse
2094f299d47fSmrg  am_missing_run=
2095aa98702cSmrg  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2096aa98702cSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2097f299d47fSmrgfi
2098f299d47fSmrg
2099aa98702cSmrgif test x"${install_sh}" != xset; then
2100aa98702cSmrg  case $am_aux_dir in
2101aa98702cSmrg  *\ * | *\	*)
2102aa98702cSmrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2103aa98702cSmrg  *)
2104aa98702cSmrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2105aa98702cSmrg  esac
2106aa98702cSmrgfi
2107aa98702cSmrg
2108aa98702cSmrg# Installed binaries are usually stripped using `strip' when the user
2109aa98702cSmrg# run `make install-strip'.  However `strip' might not be the right
2110aa98702cSmrg# tool to use in cross-compilation environments, therefore Automake
2111aa98702cSmrg# will honor the `STRIP' environment variable to overrule this program.
2112aa98702cSmrgif test "$cross_compiling" != no; then
2113aa98702cSmrg  if test -n "$ac_tool_prefix"; then
2114aa98702cSmrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2115aa98702cSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2
2116aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2117aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2118aa98702cSmrgif test "${ac_cv_prog_STRIP+set}" = set; then
2119aa98702cSmrg  $as_echo_n "(cached) " >&6
2120aa98702cSmrgelse
2121aa98702cSmrg  if test -n "$STRIP"; then
2122aa98702cSmrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2123aa98702cSmrgelse
2124aa98702cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125aa98702cSmrgfor as_dir in $PATH
2126aa98702cSmrgdo
2127aa98702cSmrg  IFS=$as_save_IFS
2128aa98702cSmrg  test -z "$as_dir" && as_dir=.
2129aa98702cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2130aa98702cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2131aa98702cSmrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2132aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133aa98702cSmrg    break 2
2134aa98702cSmrg  fi
2135aa98702cSmrgdone
2136aa98702cSmrgdone
2137aa98702cSmrgIFS=$as_save_IFS
2138aa98702cSmrg
2139aa98702cSmrgfi
2140aa98702cSmrgfi
2141aa98702cSmrgSTRIP=$ac_cv_prog_STRIP
2142aa98702cSmrgif test -n "$STRIP"; then
2143aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2144aa98702cSmrg$as_echo "$STRIP" >&6; }
2145aa98702cSmrgelse
2146aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2147aa98702cSmrg$as_echo "no" >&6; }
2148aa98702cSmrgfi
2149aa98702cSmrg
2150aa98702cSmrg
2151aa98702cSmrgfi
2152aa98702cSmrgif test -z "$ac_cv_prog_STRIP"; then
2153aa98702cSmrg  ac_ct_STRIP=$STRIP
2154aa98702cSmrg  # Extract the first word of "strip", so it can be a program name with args.
2155aa98702cSmrgset dummy strip; ac_word=$2
2156aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2157aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2158aa98702cSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2159aa98702cSmrg  $as_echo_n "(cached) " >&6
2160aa98702cSmrgelse
2161aa98702cSmrg  if test -n "$ac_ct_STRIP"; then
2162aa98702cSmrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2163aa98702cSmrgelse
2164aa98702cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165aa98702cSmrgfor as_dir in $PATH
2166aa98702cSmrgdo
2167aa98702cSmrg  IFS=$as_save_IFS
2168aa98702cSmrg  test -z "$as_dir" && as_dir=.
2169aa98702cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2170aa98702cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2171aa98702cSmrg    ac_cv_prog_ac_ct_STRIP="strip"
2172aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173aa98702cSmrg    break 2
2174aa98702cSmrg  fi
2175aa98702cSmrgdone
2176aa98702cSmrgdone
2177aa98702cSmrgIFS=$as_save_IFS
2178aa98702cSmrg
2179aa98702cSmrgfi
2180aa98702cSmrgfi
2181aa98702cSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2182aa98702cSmrgif test -n "$ac_ct_STRIP"; then
2183aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2184aa98702cSmrg$as_echo "$ac_ct_STRIP" >&6; }
2185aa98702cSmrgelse
2186aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2187aa98702cSmrg$as_echo "no" >&6; }
2188aa98702cSmrgfi
2189aa98702cSmrg
2190aa98702cSmrg  if test "x$ac_ct_STRIP" = x; then
2191aa98702cSmrg    STRIP=":"
2192aa98702cSmrg  else
2193aa98702cSmrg    case $cross_compiling:$ac_tool_warned in
2194aa98702cSmrgyes:)
2195aa98702cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2196aa98702cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2197aa98702cSmrgac_tool_warned=yes ;;
2198aa98702cSmrgesac
2199aa98702cSmrg    STRIP=$ac_ct_STRIP
2200aa98702cSmrg  fi
2201aa98702cSmrgelse
2202aa98702cSmrg  STRIP="$ac_cv_prog_STRIP"
2203aa98702cSmrgfi
2204aa98702cSmrg
2205aa98702cSmrgfi
2206aa98702cSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2207aa98702cSmrg
2208aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2209aa98702cSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2210aa98702cSmrgif test -z "$MKDIR_P"; then
2211aa98702cSmrg  if test "${ac_cv_path_mkdir+set}" = set; then
2212aa98702cSmrg  $as_echo_n "(cached) " >&6
2213aa98702cSmrgelse
2214f299d47fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215f299d47fSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2216f299d47fSmrgdo
2217f299d47fSmrg  IFS=$as_save_IFS
2218f299d47fSmrg  test -z "$as_dir" && as_dir=.
2219f299d47fSmrg  for ac_prog in mkdir gmkdir; do
2220f299d47fSmrg	 for ac_exec_ext in '' $ac_executable_extensions; do
2221f299d47fSmrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2222f299d47fSmrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2223f299d47fSmrg	     'mkdir (GNU coreutils) '* | \
2224f299d47fSmrg	     'mkdir (coreutils) '* | \
2225f299d47fSmrg	     'mkdir (fileutils) '4.1*)
2226f299d47fSmrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2227f299d47fSmrg	       break 3;;
2228f299d47fSmrg	   esac
2229f299d47fSmrg	 done
2230f299d47fSmrg       done
2231f299d47fSmrgdone
2232f299d47fSmrgIFS=$as_save_IFS
2233f299d47fSmrg
2234f299d47fSmrgfi
2235f299d47fSmrg
2236f299d47fSmrg  if test "${ac_cv_path_mkdir+set}" = set; then
2237f299d47fSmrg    MKDIR_P="$ac_cv_path_mkdir -p"
2238f299d47fSmrg  else
2239f299d47fSmrg    # As a last resort, use the slow shell script.  Don't cache a
2240f299d47fSmrg    # value for MKDIR_P within a source directory, because that will
2241f299d47fSmrg    # break other packages using the cache if that directory is
2242f299d47fSmrg    # removed, or if the value is a relative name.
2243f299d47fSmrg    test -d ./--version && rmdir ./--version
2244f299d47fSmrg    MKDIR_P="$ac_install_sh -d"
2245f299d47fSmrg  fi
2246f299d47fSmrgfi
2247aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2248aa98702cSmrg$as_echo "$MKDIR_P" >&6; }
2249f299d47fSmrg
2250f299d47fSmrgmkdir_p="$MKDIR_P"
2251f299d47fSmrgcase $mkdir_p in
2252f299d47fSmrg  [\\/$]* | ?:[\\/]*) ;;
2253f299d47fSmrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2254f299d47fSmrgesac
2255f299d47fSmrg
2256f299d47fSmrgfor ac_prog in gawk mawk nawk awk
2257f299d47fSmrgdo
2258f299d47fSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2259f299d47fSmrgset dummy $ac_prog; ac_word=$2
2260aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2261aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2262f299d47fSmrgif test "${ac_cv_prog_AWK+set}" = set; then
2263aa98702cSmrg  $as_echo_n "(cached) " >&6
2264f299d47fSmrgelse
2265f299d47fSmrg  if test -n "$AWK"; then
2266f299d47fSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2267f299d47fSmrgelse
2268f299d47fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269f299d47fSmrgfor as_dir in $PATH
2270f299d47fSmrgdo
2271f299d47fSmrg  IFS=$as_save_IFS
2272f299d47fSmrg  test -z "$as_dir" && as_dir=.
2273f299d47fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2274f299d47fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275f299d47fSmrg    ac_cv_prog_AWK="$ac_prog"
2276aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277f299d47fSmrg    break 2
2278f299d47fSmrg  fi
2279f299d47fSmrgdone
2280f299d47fSmrgdone
2281f299d47fSmrgIFS=$as_save_IFS
2282f299d47fSmrg
2283f299d47fSmrgfi
2284f299d47fSmrgfi
2285f299d47fSmrgAWK=$ac_cv_prog_AWK
2286f299d47fSmrgif test -n "$AWK"; then
2287aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2288aa98702cSmrg$as_echo "$AWK" >&6; }
2289f299d47fSmrgelse
2290aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2291aa98702cSmrg$as_echo "no" >&6; }
2292f299d47fSmrgfi
2293f299d47fSmrg
2294f299d47fSmrg
2295f299d47fSmrg  test -n "$AWK" && break
2296f299d47fSmrgdone
2297f299d47fSmrg
2298aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2299aa98702cSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2300aa98702cSmrgset x ${MAKE-make}
2301aa98702cSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2302f299d47fSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2303aa98702cSmrg  $as_echo_n "(cached) " >&6
2304f299d47fSmrgelse
2305f299d47fSmrg  cat >conftest.make <<\_ACEOF
2306f299d47fSmrgSHELL = /bin/sh
2307f299d47fSmrgall:
2308f299d47fSmrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2309f299d47fSmrg_ACEOF
2310f299d47fSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2311f299d47fSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2312f299d47fSmrg  *@@@%%%=?*=@@@%%%*)
2313f299d47fSmrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2314f299d47fSmrg  *)
2315f299d47fSmrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2316f299d47fSmrgesac
2317f299d47fSmrgrm -f conftest.make
2318f299d47fSmrgfi
2319f299d47fSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2320aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: yes" >&5
2321aa98702cSmrg$as_echo "yes" >&6; }
2322f299d47fSmrg  SET_MAKE=
2323f299d47fSmrgelse
2324aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2325aa98702cSmrg$as_echo "no" >&6; }
2326f299d47fSmrg  SET_MAKE="MAKE=${MAKE-make}"
2327f299d47fSmrgfi
2328f299d47fSmrg
2329f299d47fSmrgrm -rf .tst 2>/dev/null
2330f299d47fSmrgmkdir .tst 2>/dev/null
2331f299d47fSmrgif test -d .tst; then
2332f299d47fSmrg  am__leading_dot=.
2333f299d47fSmrgelse
2334f299d47fSmrg  am__leading_dot=_
2335f299d47fSmrgfi
2336f299d47fSmrgrmdir .tst 2>/dev/null
2337f299d47fSmrg
2338f299d47fSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2339f299d47fSmrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2340f299d47fSmrg  # is not polluted with repeated "-I."
2341f299d47fSmrg  am__isrc=' -I$(srcdir)'
2342f299d47fSmrg  # test to see if srcdir already configured
2343f299d47fSmrg  if test -f $srcdir/config.status; then
2344aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2345aa98702cSmrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2346f299d47fSmrg   { (exit 1); exit 1; }; }
2347f299d47fSmrg  fi
2348f299d47fSmrgfi
2349f299d47fSmrg
2350f299d47fSmrg# test whether we have cygpath
2351f299d47fSmrgif test -z "$CYGPATH_W"; then
2352f299d47fSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2353f299d47fSmrg    CYGPATH_W='cygpath -w'
2354f299d47fSmrg  else
2355f299d47fSmrg    CYGPATH_W=echo
2356f299d47fSmrg  fi
2357f299d47fSmrgfi
2358f299d47fSmrg
2359f299d47fSmrg
2360f299d47fSmrg# Define the identity of the package.
2361f299d47fSmrg PACKAGE='xev'
2362aa98702cSmrg VERSION='1.0.4'
2363f299d47fSmrg
2364f299d47fSmrg
2365f299d47fSmrgcat >>confdefs.h <<_ACEOF
2366f299d47fSmrg#define PACKAGE "$PACKAGE"
2367f299d47fSmrg_ACEOF
2368f299d47fSmrg
2369f299d47fSmrg
2370f299d47fSmrgcat >>confdefs.h <<_ACEOF
2371f299d47fSmrg#define VERSION "$VERSION"
2372f299d47fSmrg_ACEOF
2373f299d47fSmrg
2374f299d47fSmrg# Some tools Automake needs.
2375f299d47fSmrg
2376f299d47fSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2377f299d47fSmrg
2378f299d47fSmrg
2379f299d47fSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2380f299d47fSmrg
2381f299d47fSmrg
2382f299d47fSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2383f299d47fSmrg
2384f299d47fSmrg
2385f299d47fSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2386f299d47fSmrg
2387f299d47fSmrg
2388f299d47fSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2389f299d47fSmrg
2390f299d47fSmrg# We need awk for the "check" target.  The system "awk" is bad on
2391f299d47fSmrg# some platforms.
2392f299d47fSmrg# Always define AMTAR for backward compatibility.
2393f299d47fSmrg
2394f299d47fSmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2395f299d47fSmrg
2396f299d47fSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2397f299d47fSmrg
2398f299d47fSmrg
2399f299d47fSmrg
2400f299d47fSmrg
2401f299d47fSmrg
2402aa98702cSmrg
2403aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2404aa98702cSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2405f299d47fSmrg    # Check whether --enable-maintainer-mode was given.
2406f299d47fSmrgif test "${enable_maintainer_mode+set}" = set; then
2407f299d47fSmrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2408f299d47fSmrgelse
2409f299d47fSmrg  USE_MAINTAINER_MODE=no
2410f299d47fSmrgfi
2411f299d47fSmrg
2412aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2413aa98702cSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
2414f299d47fSmrg   if test $USE_MAINTAINER_MODE = yes; then
2415f299d47fSmrg  MAINTAINER_MODE_TRUE=
2416f299d47fSmrg  MAINTAINER_MODE_FALSE='#'
2417f299d47fSmrgelse
2418f299d47fSmrg  MAINTAINER_MODE_TRUE='#'
2419f299d47fSmrg  MAINTAINER_MODE_FALSE=
2420f299d47fSmrgfi
2421f299d47fSmrg
2422f299d47fSmrg  MAINT=$MAINTAINER_MODE_TRUE
2423f299d47fSmrg
2424f299d47fSmrg
2425f299d47fSmrg
2426f299d47fSmrgac_config_headers="$ac_config_headers config.h"
2427f299d47fSmrg
2428f299d47fSmrg
2429aa98702cSmrg# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
2430aa98702cSmrg
2431aa98702cSmrg
2432aa98702cSmrg
2433aa98702cSmrg
2434aa98702cSmrg
2435aa98702cSmrg
2436aa98702cSmrg
2437aa98702cSmrg
2438aa98702cSmrg
2439aa98702cSmrg
2440aa98702cSmrg
2441aa98702cSmrg
2442f299d47fSmrgac_ext=c
2443f299d47fSmrgac_cpp='$CPP $CPPFLAGS'
2444f299d47fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445f299d47fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446f299d47fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2447f299d47fSmrgif test -n "$ac_tool_prefix"; then
2448f299d47fSmrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2449f299d47fSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
2450aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2451aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2452f299d47fSmrgif test "${ac_cv_prog_CC+set}" = set; then
2453aa98702cSmrg  $as_echo_n "(cached) " >&6
2454f299d47fSmrgelse
2455f299d47fSmrg  if test -n "$CC"; then
2456f299d47fSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2457f299d47fSmrgelse
2458f299d47fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459f299d47fSmrgfor as_dir in $PATH
2460f299d47fSmrgdo
2461f299d47fSmrg  IFS=$as_save_IFS
2462f299d47fSmrg  test -z "$as_dir" && as_dir=.
2463f299d47fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2464f299d47fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465f299d47fSmrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2466aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467f299d47fSmrg    break 2
2468f299d47fSmrg  fi
2469f299d47fSmrgdone
2470f299d47fSmrgdone
2471f299d47fSmrgIFS=$as_save_IFS
2472f299d47fSmrg
2473f299d47fSmrgfi
2474f299d47fSmrgfi
2475f299d47fSmrgCC=$ac_cv_prog_CC
2476f299d47fSmrgif test -n "$CC"; then
2477aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2478aa98702cSmrg$as_echo "$CC" >&6; }
2479f299d47fSmrgelse
2480aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2481aa98702cSmrg$as_echo "no" >&6; }
2482f299d47fSmrgfi
2483f299d47fSmrg
2484f299d47fSmrg
2485f299d47fSmrgfi
2486f299d47fSmrgif test -z "$ac_cv_prog_CC"; then
2487f299d47fSmrg  ac_ct_CC=$CC
2488f299d47fSmrg  # Extract the first word of "gcc", so it can be a program name with args.
2489f299d47fSmrgset dummy gcc; ac_word=$2
2490aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2491aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2492f299d47fSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2493aa98702cSmrg  $as_echo_n "(cached) " >&6
2494f299d47fSmrgelse
2495f299d47fSmrg  if test -n "$ac_ct_CC"; then
2496f299d47fSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2497f299d47fSmrgelse
2498f299d47fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499f299d47fSmrgfor as_dir in $PATH
2500f299d47fSmrgdo
2501f299d47fSmrg  IFS=$as_save_IFS
2502f299d47fSmrg  test -z "$as_dir" && as_dir=.
2503f299d47fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2504f299d47fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505f299d47fSmrg    ac_cv_prog_ac_ct_CC="gcc"
2506aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507f299d47fSmrg    break 2
2508f299d47fSmrg  fi
2509f299d47fSmrgdone
2510f299d47fSmrgdone
2511f299d47fSmrgIFS=$as_save_IFS
2512f299d47fSmrg
2513f299d47fSmrgfi
2514f299d47fSmrgfi
2515f299d47fSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2516f299d47fSmrgif test -n "$ac_ct_CC"; then
2517aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2518aa98702cSmrg$as_echo "$ac_ct_CC" >&6; }
2519f299d47fSmrgelse
2520aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2521aa98702cSmrg$as_echo "no" >&6; }
2522f299d47fSmrgfi
2523f299d47fSmrg
2524f299d47fSmrg  if test "x$ac_ct_CC" = x; then
2525f299d47fSmrg    CC=""
2526f299d47fSmrg  else
2527f299d47fSmrg    case $cross_compiling:$ac_tool_warned in
2528f299d47fSmrgyes:)
2529aa98702cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2530aa98702cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2531f299d47fSmrgac_tool_warned=yes ;;
2532f299d47fSmrgesac
2533f299d47fSmrg    CC=$ac_ct_CC
2534f299d47fSmrg  fi
2535f299d47fSmrgelse
2536f299d47fSmrg  CC="$ac_cv_prog_CC"
2537f299d47fSmrgfi
2538f299d47fSmrg
2539f299d47fSmrgif test -z "$CC"; then
2540f299d47fSmrg          if test -n "$ac_tool_prefix"; then
2541f299d47fSmrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2542f299d47fSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2
2543aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2544aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2545f299d47fSmrgif test "${ac_cv_prog_CC+set}" = set; then
2546aa98702cSmrg  $as_echo_n "(cached) " >&6
2547f299d47fSmrgelse
2548f299d47fSmrg  if test -n "$CC"; then
2549f299d47fSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2550f299d47fSmrgelse
2551f299d47fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552f299d47fSmrgfor as_dir in $PATH
2553f299d47fSmrgdo
2554f299d47fSmrg  IFS=$as_save_IFS
2555f299d47fSmrg  test -z "$as_dir" && as_dir=.
2556f299d47fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2557f299d47fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2558f299d47fSmrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
2559aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2560f299d47fSmrg    break 2
2561f299d47fSmrg  fi
2562f299d47fSmrgdone
2563f299d47fSmrgdone
2564f299d47fSmrgIFS=$as_save_IFS
2565f299d47fSmrg
2566f299d47fSmrgfi
2567f299d47fSmrgfi
2568f299d47fSmrgCC=$ac_cv_prog_CC
2569f299d47fSmrgif test -n "$CC"; then
2570aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2571aa98702cSmrg$as_echo "$CC" >&6; }
2572f299d47fSmrgelse
2573aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2574aa98702cSmrg$as_echo "no" >&6; }
2575f299d47fSmrgfi
2576f299d47fSmrg
2577f299d47fSmrg
2578f299d47fSmrg  fi
2579f299d47fSmrgfi
2580f299d47fSmrgif test -z "$CC"; then
2581f299d47fSmrg  # Extract the first word of "cc", so it can be a program name with args.
2582f299d47fSmrgset dummy cc; ac_word=$2
2583aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2584aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2585f299d47fSmrgif test "${ac_cv_prog_CC+set}" = set; then
2586aa98702cSmrg  $as_echo_n "(cached) " >&6
2587f299d47fSmrgelse
2588f299d47fSmrg  if test -n "$CC"; then
2589f299d47fSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2590f299d47fSmrgelse
2591f299d47fSmrg  ac_prog_rejected=no
2592f299d47fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593f299d47fSmrgfor as_dir in $PATH
2594f299d47fSmrgdo
2595f299d47fSmrg  IFS=$as_save_IFS
2596f299d47fSmrg  test -z "$as_dir" && as_dir=.
2597f299d47fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2598f299d47fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2599f299d47fSmrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2600f299d47fSmrg       ac_prog_rejected=yes
2601f299d47fSmrg       continue
2602f299d47fSmrg     fi
2603f299d47fSmrg    ac_cv_prog_CC="cc"
2604aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2605f299d47fSmrg    break 2
2606f299d47fSmrg  fi
2607f299d47fSmrgdone
2608f299d47fSmrgdone
2609f299d47fSmrgIFS=$as_save_IFS
2610f299d47fSmrg
2611f299d47fSmrgif test $ac_prog_rejected = yes; then
2612f299d47fSmrg  # We found a bogon in the path, so make sure we never use it.
2613f299d47fSmrg  set dummy $ac_cv_prog_CC
2614f299d47fSmrg  shift
2615f299d47fSmrg  if test $# != 0; then
2616f299d47fSmrg    # We chose a different compiler from the bogus one.
2617f299d47fSmrg    # However, it has the same basename, so the bogon will be chosen
2618f299d47fSmrg    # first if we set CC to just the basename; use the full file name.
2619f299d47fSmrg    shift
2620f299d47fSmrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2621f299d47fSmrg  fi
2622f299d47fSmrgfi
2623f299d47fSmrgfi
2624f299d47fSmrgfi
2625f299d47fSmrgCC=$ac_cv_prog_CC
2626f299d47fSmrgif test -n "$CC"; then
2627aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2628aa98702cSmrg$as_echo "$CC" >&6; }
2629f299d47fSmrgelse
2630aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2631aa98702cSmrg$as_echo "no" >&6; }
2632f299d47fSmrgfi
2633f299d47fSmrg
2634f299d47fSmrg
2635f299d47fSmrgfi
2636f299d47fSmrgif test -z "$CC"; then
2637f299d47fSmrg  if test -n "$ac_tool_prefix"; then
2638f299d47fSmrg  for ac_prog in cl.exe
2639f299d47fSmrg  do
2640f299d47fSmrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2641f299d47fSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
2642aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2643aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2644f299d47fSmrgif test "${ac_cv_prog_CC+set}" = set; then
2645aa98702cSmrg  $as_echo_n "(cached) " >&6
2646f299d47fSmrgelse
2647f299d47fSmrg  if test -n "$CC"; then
2648f299d47fSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2649f299d47fSmrgelse
2650f299d47fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651f299d47fSmrgfor as_dir in $PATH
2652f299d47fSmrgdo
2653f299d47fSmrg  IFS=$as_save_IFS
2654f299d47fSmrg  test -z "$as_dir" && as_dir=.
2655f299d47fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2656f299d47fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657f299d47fSmrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2658aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659f299d47fSmrg    break 2
2660f299d47fSmrg  fi
2661f299d47fSmrgdone
2662f299d47fSmrgdone
2663f299d47fSmrgIFS=$as_save_IFS
2664f299d47fSmrg
2665f299d47fSmrgfi
2666f299d47fSmrgfi
2667f299d47fSmrgCC=$ac_cv_prog_CC
2668f299d47fSmrgif test -n "$CC"; then
2669aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2670aa98702cSmrg$as_echo "$CC" >&6; }
2671f299d47fSmrgelse
2672aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2673aa98702cSmrg$as_echo "no" >&6; }
2674f299d47fSmrgfi
2675f299d47fSmrg
2676f299d47fSmrg
2677f299d47fSmrg    test -n "$CC" && break
2678f299d47fSmrg  done
2679f299d47fSmrgfi
2680f299d47fSmrgif test -z "$CC"; then
2681f299d47fSmrg  ac_ct_CC=$CC
2682f299d47fSmrg  for ac_prog in cl.exe
2683f299d47fSmrgdo
2684f299d47fSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2685f299d47fSmrgset dummy $ac_prog; ac_word=$2
2686aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2687aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2688f299d47fSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2689aa98702cSmrg  $as_echo_n "(cached) " >&6
2690f299d47fSmrgelse
2691f299d47fSmrg  if test -n "$ac_ct_CC"; then
2692f299d47fSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2693f299d47fSmrgelse
2694f299d47fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695f299d47fSmrgfor as_dir in $PATH
2696f299d47fSmrgdo
2697f299d47fSmrg  IFS=$as_save_IFS
2698f299d47fSmrg  test -z "$as_dir" && as_dir=.
2699f299d47fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2700f299d47fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701f299d47fSmrg    ac_cv_prog_ac_ct_CC="$ac_prog"
2702aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703f299d47fSmrg    break 2
2704f299d47fSmrg  fi
2705f299d47fSmrgdone
2706f299d47fSmrgdone
2707f299d47fSmrgIFS=$as_save_IFS
2708f299d47fSmrg
2709f299d47fSmrgfi
2710f299d47fSmrgfi
2711f299d47fSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2712f299d47fSmrgif test -n "$ac_ct_CC"; then
2713aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2714aa98702cSmrg$as_echo "$ac_ct_CC" >&6; }
2715f299d47fSmrgelse
2716aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
2717aa98702cSmrg$as_echo "no" >&6; }
2718f299d47fSmrgfi
2719f299d47fSmrg
2720f299d47fSmrg
2721f299d47fSmrg  test -n "$ac_ct_CC" && break
2722f299d47fSmrgdone
2723f299d47fSmrg
2724f299d47fSmrg  if test "x$ac_ct_CC" = x; then
2725f299d47fSmrg    CC=""
2726f299d47fSmrg  else
2727f299d47fSmrg    case $cross_compiling:$ac_tool_warned in
2728f299d47fSmrgyes:)
2729aa98702cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2730aa98702cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2731f299d47fSmrgac_tool_warned=yes ;;
2732f299d47fSmrgesac
2733f299d47fSmrg    CC=$ac_ct_CC
2734f299d47fSmrg  fi
2735f299d47fSmrgfi
2736f299d47fSmrg
2737f299d47fSmrgfi
2738f299d47fSmrg
2739f299d47fSmrg
2740aa98702cSmrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2741aa98702cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2742aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2743f299d47fSmrgSee \`config.log' for more details." >&5
2744aa98702cSmrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2745f299d47fSmrgSee \`config.log' for more details." >&2;}
2746aa98702cSmrg   { (exit 1); exit 1; }; }; }
2747f299d47fSmrg
2748f299d47fSmrg# Provide some information about the compiler.
2749aa98702cSmrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2750aa98702cSmrgset X $ac_compile
2751aa98702cSmrgac_compiler=$2
2752f299d47fSmrg{ (ac_try="$ac_compiler --version >&5"
2753f299d47fSmrgcase "(($ac_try" in
2754f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755f299d47fSmrg  *) ac_try_echo=$ac_try;;
2756f299d47fSmrgesac
2757aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2758aa98702cSmrg$as_echo "$ac_try_echo") >&5
2759f299d47fSmrg  (eval "$ac_compiler --version >&5") 2>&5
2760f299d47fSmrg  ac_status=$?
2761aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762f299d47fSmrg  (exit $ac_status); }
2763f299d47fSmrg{ (ac_try="$ac_compiler -v >&5"
2764f299d47fSmrgcase "(($ac_try" in
2765f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766f299d47fSmrg  *) ac_try_echo=$ac_try;;
2767f299d47fSmrgesac
2768aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2769aa98702cSmrg$as_echo "$ac_try_echo") >&5
2770f299d47fSmrg  (eval "$ac_compiler -v >&5") 2>&5
2771f299d47fSmrg  ac_status=$?
2772aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773f299d47fSmrg  (exit $ac_status); }
2774f299d47fSmrg{ (ac_try="$ac_compiler -V >&5"
2775f299d47fSmrgcase "(($ac_try" in
2776f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777f299d47fSmrg  *) ac_try_echo=$ac_try;;
2778f299d47fSmrgesac
2779aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2780aa98702cSmrg$as_echo "$ac_try_echo") >&5
2781f299d47fSmrg  (eval "$ac_compiler -V >&5") 2>&5
2782f299d47fSmrg  ac_status=$?
2783aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784f299d47fSmrg  (exit $ac_status); }
2785f299d47fSmrg
2786f299d47fSmrgcat >conftest.$ac_ext <<_ACEOF
2787f299d47fSmrg/* confdefs.h.  */
2788f299d47fSmrg_ACEOF
2789f299d47fSmrgcat confdefs.h >>conftest.$ac_ext
2790f299d47fSmrgcat >>conftest.$ac_ext <<_ACEOF
2791f299d47fSmrg/* end confdefs.h.  */
2792f299d47fSmrg
2793f299d47fSmrgint
2794f299d47fSmrgmain ()
2795f299d47fSmrg{
2796f299d47fSmrg
2797f299d47fSmrg  ;
2798f299d47fSmrg  return 0;
2799f299d47fSmrg}
2800f299d47fSmrg_ACEOF
2801f299d47fSmrgac_clean_files_save=$ac_clean_files
2802aa98702cSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2803f299d47fSmrg# Try to create an executable without -o first, disregard a.out.
2804f299d47fSmrg# It will help us diagnose broken compilers, and finding out an intuition
2805f299d47fSmrg# of exeext.
2806aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2807aa98702cSmrg$as_echo_n "checking for C compiler default output file name... " >&6; }
2808aa98702cSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2809aa98702cSmrg
2810aa98702cSmrg# The possible output files:
2811aa98702cSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2812aa98702cSmrg
2813f299d47fSmrgac_rmfiles=
2814f299d47fSmrgfor ac_file in $ac_files
2815f299d47fSmrgdo
2816f299d47fSmrg  case $ac_file in
2817aa98702cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2818f299d47fSmrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2819f299d47fSmrg  esac
2820f299d47fSmrgdone
2821f299d47fSmrgrm -f $ac_rmfiles
2822f299d47fSmrg
2823f299d47fSmrgif { (ac_try="$ac_link_default"
2824f299d47fSmrgcase "(($ac_try" in
2825f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826f299d47fSmrg  *) ac_try_echo=$ac_try;;
2827f299d47fSmrgesac
2828aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829aa98702cSmrg$as_echo "$ac_try_echo") >&5
2830f299d47fSmrg  (eval "$ac_link_default") 2>&5
2831f299d47fSmrg  ac_status=$?
2832aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833f299d47fSmrg  (exit $ac_status); }; then
2834f299d47fSmrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2835f299d47fSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2836f299d47fSmrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2837f299d47fSmrg# so that the user can short-circuit this test for compilers unknown to
2838f299d47fSmrg# Autoconf.
2839f299d47fSmrgfor ac_file in $ac_files ''
2840f299d47fSmrgdo
2841f299d47fSmrg  test -f "$ac_file" || continue
2842f299d47fSmrg  case $ac_file in
2843aa98702cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2844f299d47fSmrg	;;
2845f299d47fSmrg    [ab].out )
2846f299d47fSmrg	# We found the default executable, but exeext='' is most
2847f299d47fSmrg	# certainly right.
2848f299d47fSmrg	break;;
2849f299d47fSmrg    *.* )
2850f299d47fSmrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2851f299d47fSmrg	then :; else
2852f299d47fSmrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2853f299d47fSmrg	fi
2854f299d47fSmrg	# We set ac_cv_exeext here because the later test for it is not
2855f299d47fSmrg	# safe: cross compilers may not add the suffix if given an `-o'
2856f299d47fSmrg	# argument, so we may need to know it at that point already.
2857f299d47fSmrg	# Even if this section looks crufty: it has the advantage of
2858f299d47fSmrg	# actually working.
2859f299d47fSmrg	break;;
2860f299d47fSmrg    * )
2861f299d47fSmrg	break;;
2862f299d47fSmrg  esac
2863f299d47fSmrgdone
2864f299d47fSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
2865f299d47fSmrg
2866f299d47fSmrgelse
2867f299d47fSmrg  ac_file=''
2868f299d47fSmrgfi
2869f299d47fSmrg
2870aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2871aa98702cSmrg$as_echo "$ac_file" >&6; }
2872f299d47fSmrgif test -z "$ac_file"; then
2873aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
2874f299d47fSmrgsed 's/^/| /' conftest.$ac_ext >&5
2875f299d47fSmrg
2876aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2877aa98702cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2878aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2879f299d47fSmrgSee \`config.log' for more details." >&5
2880aa98702cSmrg$as_echo "$as_me: error: C compiler cannot create executables
2881f299d47fSmrgSee \`config.log' for more details." >&2;}
2882aa98702cSmrg   { (exit 77); exit 77; }; }; }
2883f299d47fSmrgfi
2884f299d47fSmrg
2885f299d47fSmrgac_exeext=$ac_cv_exeext
2886f299d47fSmrg
2887f299d47fSmrg# Check that the compiler produces executables we can run.  If not, either
2888f299d47fSmrg# the compiler is broken, or we cross compile.
2889aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2890aa98702cSmrg$as_echo_n "checking whether the C compiler works... " >&6; }
2891f299d47fSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2892f299d47fSmrg# If not cross compiling, check that we can run a simple program.
2893f299d47fSmrgif test "$cross_compiling" != yes; then
2894f299d47fSmrg  if { ac_try='./$ac_file'
2895f299d47fSmrg  { (case "(($ac_try" in
2896f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897f299d47fSmrg  *) ac_try_echo=$ac_try;;
2898f299d47fSmrgesac
2899aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2900aa98702cSmrg$as_echo "$ac_try_echo") >&5
2901f299d47fSmrg  (eval "$ac_try") 2>&5
2902f299d47fSmrg  ac_status=$?
2903aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904f299d47fSmrg  (exit $ac_status); }; }; then
2905f299d47fSmrg    cross_compiling=no
2906f299d47fSmrg  else
2907f299d47fSmrg    if test "$cross_compiling" = maybe; then
2908f299d47fSmrg	cross_compiling=yes
2909f299d47fSmrg    else
2910aa98702cSmrg	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2911aa98702cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2913f299d47fSmrgIf you meant to cross compile, use \`--host'.
2914f299d47fSmrgSee \`config.log' for more details." >&5
2915aa98702cSmrg$as_echo "$as_me: error: cannot run C compiled programs.
2916f299d47fSmrgIf you meant to cross compile, use \`--host'.
2917f299d47fSmrgSee \`config.log' for more details." >&2;}
2918aa98702cSmrg   { (exit 1); exit 1; }; }; }
2919f299d47fSmrg    fi
2920f299d47fSmrg  fi
2921f299d47fSmrgfi
2922aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
2923aa98702cSmrg$as_echo "yes" >&6; }
2924f299d47fSmrg
2925aa98702cSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2926f299d47fSmrgac_clean_files=$ac_clean_files_save
2927f299d47fSmrg# Check that the compiler produces executables we can run.  If not, either
2928f299d47fSmrg# the compiler is broken, or we cross compile.
2929aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2930aa98702cSmrg$as_echo_n "checking whether we are cross compiling... " >&6; }
2931aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2932aa98702cSmrg$as_echo "$cross_compiling" >&6; }
2933f299d47fSmrg
2934aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2935aa98702cSmrg$as_echo_n "checking for suffix of executables... " >&6; }
2936f299d47fSmrgif { (ac_try="$ac_link"
2937f299d47fSmrgcase "(($ac_try" in
2938f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939f299d47fSmrg  *) ac_try_echo=$ac_try;;
2940f299d47fSmrgesac
2941aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2942aa98702cSmrg$as_echo "$ac_try_echo") >&5
2943f299d47fSmrg  (eval "$ac_link") 2>&5
2944f299d47fSmrg  ac_status=$?
2945aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946f299d47fSmrg  (exit $ac_status); }; then
2947f299d47fSmrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2948f299d47fSmrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2949f299d47fSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with
2950f299d47fSmrg# `rm'.
2951f299d47fSmrgfor ac_file in conftest.exe conftest conftest.*; do
2952f299d47fSmrg  test -f "$ac_file" || continue
2953f299d47fSmrg  case $ac_file in
2954aa98702cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2955f299d47fSmrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2956f299d47fSmrg	  break;;
2957f299d47fSmrg    * ) break;;
2958f299d47fSmrg  esac
2959f299d47fSmrgdone
2960f299d47fSmrgelse
2961aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2962aa98702cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2963aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2964f299d47fSmrgSee \`config.log' for more details." >&5
2965aa98702cSmrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2966f299d47fSmrgSee \`config.log' for more details." >&2;}
2967aa98702cSmrg   { (exit 1); exit 1; }; }; }
2968f299d47fSmrgfi
2969f299d47fSmrg
2970f299d47fSmrgrm -f conftest$ac_cv_exeext
2971aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2972aa98702cSmrg$as_echo "$ac_cv_exeext" >&6; }
2973f299d47fSmrg
2974f299d47fSmrgrm -f conftest.$ac_ext
2975f299d47fSmrgEXEEXT=$ac_cv_exeext
2976f299d47fSmrgac_exeext=$EXEEXT
2977aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2978aa98702cSmrg$as_echo_n "checking for suffix of object files... " >&6; }
2979f299d47fSmrgif test "${ac_cv_objext+set}" = set; then
2980aa98702cSmrg  $as_echo_n "(cached) " >&6
2981f299d47fSmrgelse
2982f299d47fSmrg  cat >conftest.$ac_ext <<_ACEOF
2983f299d47fSmrg/* confdefs.h.  */
2984f299d47fSmrg_ACEOF
2985f299d47fSmrgcat confdefs.h >>conftest.$ac_ext
2986f299d47fSmrgcat >>conftest.$ac_ext <<_ACEOF
2987f299d47fSmrg/* end confdefs.h.  */
2988f299d47fSmrg
2989f299d47fSmrgint
2990f299d47fSmrgmain ()
2991f299d47fSmrg{
2992f299d47fSmrg
2993f299d47fSmrg  ;
2994f299d47fSmrg  return 0;
2995f299d47fSmrg}
2996f299d47fSmrg_ACEOF
2997f299d47fSmrgrm -f conftest.o conftest.obj
2998f299d47fSmrgif { (ac_try="$ac_compile"
2999f299d47fSmrgcase "(($ac_try" in
3000f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001f299d47fSmrg  *) ac_try_echo=$ac_try;;
3002f299d47fSmrgesac
3003aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3004aa98702cSmrg$as_echo "$ac_try_echo") >&5
3005f299d47fSmrg  (eval "$ac_compile") 2>&5
3006f299d47fSmrg  ac_status=$?
3007aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008f299d47fSmrg  (exit $ac_status); }; then
3009f299d47fSmrg  for ac_file in conftest.o conftest.obj conftest.*; do
3010f299d47fSmrg  test -f "$ac_file" || continue;
3011f299d47fSmrg  case $ac_file in
3012aa98702cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3013f299d47fSmrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3014f299d47fSmrg       break;;
3015f299d47fSmrg  esac
3016f299d47fSmrgdone
3017f299d47fSmrgelse
3018aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3019f299d47fSmrgsed 's/^/| /' conftest.$ac_ext >&5
3020f299d47fSmrg
3021aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3022aa98702cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3024f299d47fSmrgSee \`config.log' for more details." >&5
3025aa98702cSmrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3026f299d47fSmrgSee \`config.log' for more details." >&2;}
3027aa98702cSmrg   { (exit 1); exit 1; }; }; }
3028f299d47fSmrgfi
3029f299d47fSmrg
3030f299d47fSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
3031f299d47fSmrgfi
3032aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3033aa98702cSmrg$as_echo "$ac_cv_objext" >&6; }
3034f299d47fSmrgOBJEXT=$ac_cv_objext
3035f299d47fSmrgac_objext=$OBJEXT
3036aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3037aa98702cSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3038f299d47fSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
3039aa98702cSmrg  $as_echo_n "(cached) " >&6
3040f299d47fSmrgelse
3041f299d47fSmrg  cat >conftest.$ac_ext <<_ACEOF
3042f299d47fSmrg/* confdefs.h.  */
3043f299d47fSmrg_ACEOF
3044f299d47fSmrgcat confdefs.h >>conftest.$ac_ext
3045f299d47fSmrgcat >>conftest.$ac_ext <<_ACEOF
3046f299d47fSmrg/* end confdefs.h.  */
3047f299d47fSmrg
3048f299d47fSmrgint
3049f299d47fSmrgmain ()
3050f299d47fSmrg{
3051f299d47fSmrg#ifndef __GNUC__
3052f299d47fSmrg       choke me
3053f299d47fSmrg#endif
3054f299d47fSmrg
3055f299d47fSmrg  ;
3056f299d47fSmrg  return 0;
3057f299d47fSmrg}
3058f299d47fSmrg_ACEOF
3059f299d47fSmrgrm -f conftest.$ac_objext
3060f299d47fSmrgif { (ac_try="$ac_compile"
3061f299d47fSmrgcase "(($ac_try" in
3062f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063f299d47fSmrg  *) ac_try_echo=$ac_try;;
3064f299d47fSmrgesac
3065aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3066aa98702cSmrg$as_echo "$ac_try_echo") >&5
3067f299d47fSmrg  (eval "$ac_compile") 2>conftest.er1
3068f299d47fSmrg  ac_status=$?
3069f299d47fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3070f299d47fSmrg  rm -f conftest.er1
3071f299d47fSmrg  cat conftest.err >&5
3072aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073f299d47fSmrg  (exit $ac_status); } && {
3074f299d47fSmrg	 test -z "$ac_c_werror_flag" ||
3075f299d47fSmrg	 test ! -s conftest.err
3076f299d47fSmrg       } && test -s conftest.$ac_objext; then
3077f299d47fSmrg  ac_compiler_gnu=yes
3078f299d47fSmrgelse
3079aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3080f299d47fSmrgsed 's/^/| /' conftest.$ac_ext >&5
3081f299d47fSmrg
3082f299d47fSmrg	ac_compiler_gnu=no
3083f299d47fSmrgfi
3084f299d47fSmrg
3085f299d47fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086f299d47fSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu
3087f299d47fSmrg
3088f299d47fSmrgfi
3089aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3090aa98702cSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3091aa98702cSmrgif test $ac_compiler_gnu = yes; then
3092aa98702cSmrg  GCC=yes
3093aa98702cSmrgelse
3094aa98702cSmrg  GCC=
3095aa98702cSmrgfi
3096f299d47fSmrgac_test_CFLAGS=${CFLAGS+set}
3097f299d47fSmrgac_save_CFLAGS=$CFLAGS
3098aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3099aa98702cSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
3100f299d47fSmrgif test "${ac_cv_prog_cc_g+set}" = set; then
3101aa98702cSmrg  $as_echo_n "(cached) " >&6
3102f299d47fSmrgelse
3103f299d47fSmrg  ac_save_c_werror_flag=$ac_c_werror_flag
3104f299d47fSmrg   ac_c_werror_flag=yes
3105f299d47fSmrg   ac_cv_prog_cc_g=no
3106f299d47fSmrg   CFLAGS="-g"
3107f299d47fSmrg   cat >conftest.$ac_ext <<_ACEOF
3108f299d47fSmrg/* confdefs.h.  */
3109f299d47fSmrg_ACEOF
3110f299d47fSmrgcat confdefs.h >>conftest.$ac_ext
3111f299d47fSmrgcat >>conftest.$ac_ext <<_ACEOF
3112f299d47fSmrg/* end confdefs.h.  */
3113f299d47fSmrg
3114f299d47fSmrgint
3115f299d47fSmrgmain ()
3116f299d47fSmrg{
3117f299d47fSmrg
3118f299d47fSmrg  ;
3119f299d47fSmrg  return 0;
3120f299d47fSmrg}
3121f299d47fSmrg_ACEOF
3122f299d47fSmrgrm -f conftest.$ac_objext
3123f299d47fSmrgif { (ac_try="$ac_compile"
3124f299d47fSmrgcase "(($ac_try" in
3125f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126f299d47fSmrg  *) ac_try_echo=$ac_try;;
3127f299d47fSmrgesac
3128aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3129aa98702cSmrg$as_echo "$ac_try_echo") >&5
3130f299d47fSmrg  (eval "$ac_compile") 2>conftest.er1
3131f299d47fSmrg  ac_status=$?
3132f299d47fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3133f299d47fSmrg  rm -f conftest.er1
3134f299d47fSmrg  cat conftest.err >&5
3135aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136f299d47fSmrg  (exit $ac_status); } && {
3137f299d47fSmrg	 test -z "$ac_c_werror_flag" ||
3138f299d47fSmrg	 test ! -s conftest.err
3139f299d47fSmrg       } && test -s conftest.$ac_objext; then
3140f299d47fSmrg  ac_cv_prog_cc_g=yes
3141f299d47fSmrgelse
3142aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3143f299d47fSmrgsed 's/^/| /' conftest.$ac_ext >&5
3144f299d47fSmrg
3145f299d47fSmrg	CFLAGS=""
3146f299d47fSmrg      cat >conftest.$ac_ext <<_ACEOF
3147f299d47fSmrg/* confdefs.h.  */
3148f299d47fSmrg_ACEOF
3149f299d47fSmrgcat confdefs.h >>conftest.$ac_ext
3150f299d47fSmrgcat >>conftest.$ac_ext <<_ACEOF
3151f299d47fSmrg/* end confdefs.h.  */
3152f299d47fSmrg
3153f299d47fSmrgint
3154f299d47fSmrgmain ()
3155f299d47fSmrg{
3156f299d47fSmrg
3157f299d47fSmrg  ;
3158f299d47fSmrg  return 0;
3159f299d47fSmrg}
3160f299d47fSmrg_ACEOF
3161f299d47fSmrgrm -f conftest.$ac_objext
3162f299d47fSmrgif { (ac_try="$ac_compile"
3163f299d47fSmrgcase "(($ac_try" in
3164f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165f299d47fSmrg  *) ac_try_echo=$ac_try;;
3166f299d47fSmrgesac
3167aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3168aa98702cSmrg$as_echo "$ac_try_echo") >&5
3169f299d47fSmrg  (eval "$ac_compile") 2>conftest.er1
3170f299d47fSmrg  ac_status=$?
3171f299d47fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3172f299d47fSmrg  rm -f conftest.er1
3173f299d47fSmrg  cat conftest.err >&5
3174aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175f299d47fSmrg  (exit $ac_status); } && {
3176f299d47fSmrg	 test -z "$ac_c_werror_flag" ||
3177f299d47fSmrg	 test ! -s conftest.err
3178f299d47fSmrg       } && test -s conftest.$ac_objext; then
3179f299d47fSmrg  :
3180f299d47fSmrgelse
3181aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3182f299d47fSmrgsed 's/^/| /' conftest.$ac_ext >&5
3183f299d47fSmrg
3184f299d47fSmrg	ac_c_werror_flag=$ac_save_c_werror_flag
3185f299d47fSmrg	 CFLAGS="-g"
3186f299d47fSmrg	 cat >conftest.$ac_ext <<_ACEOF
3187f299d47fSmrg/* confdefs.h.  */
3188f299d47fSmrg_ACEOF
3189f299d47fSmrgcat confdefs.h >>conftest.$ac_ext
3190f299d47fSmrgcat >>conftest.$ac_ext <<_ACEOF
3191f299d47fSmrg/* end confdefs.h.  */
3192f299d47fSmrg
3193f299d47fSmrgint
3194f299d47fSmrgmain ()
3195f299d47fSmrg{
3196f299d47fSmrg
3197f299d47fSmrg  ;
3198f299d47fSmrg  return 0;
3199f299d47fSmrg}
3200f299d47fSmrg_ACEOF
3201f299d47fSmrgrm -f conftest.$ac_objext
3202f299d47fSmrgif { (ac_try="$ac_compile"
3203f299d47fSmrgcase "(($ac_try" in
3204f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205f299d47fSmrg  *) ac_try_echo=$ac_try;;
3206f299d47fSmrgesac
3207aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3208aa98702cSmrg$as_echo "$ac_try_echo") >&5
3209f299d47fSmrg  (eval "$ac_compile") 2>conftest.er1
3210f299d47fSmrg  ac_status=$?
3211f299d47fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3212f299d47fSmrg  rm -f conftest.er1
3213f299d47fSmrg  cat conftest.err >&5
3214aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215f299d47fSmrg  (exit $ac_status); } && {
3216f299d47fSmrg	 test -z "$ac_c_werror_flag" ||
3217f299d47fSmrg	 test ! -s conftest.err
3218f299d47fSmrg       } && test -s conftest.$ac_objext; then
3219f299d47fSmrg  ac_cv_prog_cc_g=yes
3220f299d47fSmrgelse
3221aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3222f299d47fSmrgsed 's/^/| /' conftest.$ac_ext >&5
3223f299d47fSmrg
3224f299d47fSmrg
3225f299d47fSmrgfi
3226f299d47fSmrg
3227f299d47fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228f299d47fSmrgfi
3229f299d47fSmrg
3230f299d47fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231f299d47fSmrgfi
3232f299d47fSmrg
3233f299d47fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234f299d47fSmrg   ac_c_werror_flag=$ac_save_c_werror_flag
3235f299d47fSmrgfi
3236aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3237aa98702cSmrg$as_echo "$ac_cv_prog_cc_g" >&6; }
3238f299d47fSmrgif test "$ac_test_CFLAGS" = set; then
3239f299d47fSmrg  CFLAGS=$ac_save_CFLAGS
3240f299d47fSmrgelif test $ac_cv_prog_cc_g = yes; then
3241f299d47fSmrg  if test "$GCC" = yes; then
3242f299d47fSmrg    CFLAGS="-g -O2"
3243f299d47fSmrg  else
3244f299d47fSmrg    CFLAGS="-g"
3245f299d47fSmrg  fi
3246f299d47fSmrgelse
3247f299d47fSmrg  if test "$GCC" = yes; then
3248f299d47fSmrg    CFLAGS="-O2"
3249f299d47fSmrg  else
3250f299d47fSmrg    CFLAGS=
3251f299d47fSmrg  fi
3252f299d47fSmrgfi
3253aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3254aa98702cSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3255f299d47fSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then
3256aa98702cSmrg  $as_echo_n "(cached) " >&6
3257f299d47fSmrgelse
3258f299d47fSmrg  ac_cv_prog_cc_c89=no
3259f299d47fSmrgac_save_CC=$CC
3260f299d47fSmrgcat >conftest.$ac_ext <<_ACEOF
3261f299d47fSmrg/* confdefs.h.  */
3262f299d47fSmrg_ACEOF
3263f299d47fSmrgcat confdefs.h >>conftest.$ac_ext
3264f299d47fSmrgcat >>conftest.$ac_ext <<_ACEOF
3265f299d47fSmrg/* end confdefs.h.  */
3266f299d47fSmrg#include <stdarg.h>
3267f299d47fSmrg#include <stdio.h>
3268f299d47fSmrg#include <sys/types.h>
3269f299d47fSmrg#include <sys/stat.h>
3270f299d47fSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3271f299d47fSmrgstruct buf { int x; };
3272f299d47fSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
3273f299d47fSmrgstatic char *e (p, i)
3274f299d47fSmrg     char **p;
3275f299d47fSmrg     int i;
3276f299d47fSmrg{
3277f299d47fSmrg  return p[i];
3278f299d47fSmrg}
3279f299d47fSmrgstatic char *f (char * (*g) (char **, int), char **p, ...)
3280f299d47fSmrg{
3281f299d47fSmrg  char *s;
3282f299d47fSmrg  va_list v;
3283f299d47fSmrg  va_start (v,p);
3284f299d47fSmrg  s = g (p, va_arg (v,int));
3285f299d47fSmrg  va_end (v);
3286f299d47fSmrg  return s;
3287f299d47fSmrg}
3288f299d47fSmrg
3289f299d47fSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3290f299d47fSmrg   function prototypes and stuff, but not '\xHH' hex character constants.
3291f299d47fSmrg   These don't provoke an error unfortunately, instead are silently treated
3292f299d47fSmrg   as 'x'.  The following induces an error, until -std is added to get
3293f299d47fSmrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3294f299d47fSmrg   array size at least.  It's necessary to write '\x00'==0 to get something
3295f299d47fSmrg   that's true only with -std.  */
3296f299d47fSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
3297f299d47fSmrg
3298f299d47fSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3299f299d47fSmrg   inside strings and character constants.  */
3300f299d47fSmrg#define FOO(x) 'x'
3301f299d47fSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3302f299d47fSmrg
3303f299d47fSmrgint test (int i, double x);
3304f299d47fSmrgstruct s1 {int (*f) (int a);};
3305f299d47fSmrgstruct s2 {int (*f) (double a);};
3306f299d47fSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3307f299d47fSmrgint argc;
3308f299d47fSmrgchar **argv;
3309f299d47fSmrgint
3310f299d47fSmrgmain ()
3311f299d47fSmrg{
3312f299d47fSmrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3313f299d47fSmrg  ;
3314f299d47fSmrg  return 0;
3315f299d47fSmrg}
3316f299d47fSmrg_ACEOF
3317f299d47fSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3318f299d47fSmrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3319f299d47fSmrgdo
3320f299d47fSmrg  CC="$ac_save_CC $ac_arg"
3321f299d47fSmrg  rm -f conftest.$ac_objext
3322f299d47fSmrgif { (ac_try="$ac_compile"
3323f299d47fSmrgcase "(($ac_try" in
3324f299d47fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325f299d47fSmrg  *) ac_try_echo=$ac_try;;
3326f299d47fSmrgesac
3327aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3328aa98702cSmrg$as_echo "$ac_try_echo") >&5
3329f299d47fSmrg  (eval "$ac_compile") 2>conftest.er1
3330f299d47fSmrg  ac_status=$?
3331f299d47fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3332f299d47fSmrg  rm -f conftest.er1
3333f299d47fSmrg  cat conftest.err >&5
3334aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335f299d47fSmrg  (exit $ac_status); } && {
3336f299d47fSmrg	 test -z "$ac_c_werror_flag" ||
3337f299d47fSmrg	 test ! -s conftest.err
3338f299d47fSmrg       } && test -s conftest.$ac_objext; then
3339f299d47fSmrg  ac_cv_prog_cc_c89=$ac_arg
3340f299d47fSmrgelse
3341aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3342f299d47fSmrgsed 's/^/| /' conftest.$ac_ext >&5
3343f299d47fSmrg
3344f299d47fSmrg
3345f299d47fSmrgfi
3346f299d47fSmrg
3347f299d47fSmrgrm -f core conftest.err conftest.$ac_objext
3348f299d47fSmrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
3349f299d47fSmrgdone
3350f299d47fSmrgrm -f conftest.$ac_ext
3351f299d47fSmrgCC=$ac_save_CC
3352f299d47fSmrg
3353f299d47fSmrgfi
3354f299d47fSmrg# AC_CACHE_VAL
3355f299d47fSmrgcase "x$ac_cv_prog_cc_c89" in
3356f299d47fSmrg  x)
3357aa98702cSmrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3358aa98702cSmrg$as_echo "none needed" >&6; } ;;
3359f299d47fSmrg  xno)
3360aa98702cSmrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3361aa98702cSmrg$as_echo "unsupported" >&6; } ;;
3362f299d47fSmrg  *)
3363f299d47fSmrg    CC="$CC $ac_cv_prog_cc_c89"
3364aa98702cSmrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3365aa98702cSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3366f299d47fSmrgesac
3367f299d47fSmrg
3368f299d47fSmrg
3369f299d47fSmrgac_ext=c
3370f299d47fSmrgac_cpp='$CPP $CPPFLAGS'
3371f299d47fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372f299d47fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373f299d47fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3374f299d47fSmrgDEPDIR="${am__leading_dot}deps"
3375f299d47fSmrg
3376f299d47fSmrgac_config_commands="$ac_config_commands depfiles"
3377f299d47fSmrg
3378f299d47fSmrg
3379f299d47fSmrgam_make=${MAKE-make}
3380f299d47fSmrgcat > confinc << 'END'
3381f299d47fSmrgam__doit:
3382aa98702cSmrg	@echo this is the am__doit target
3383f299d47fSmrg.PHONY: am__doit
3384f299d47fSmrgEND
3385f299d47fSmrg# If we don't find an include directive, just comment out the code.
3386aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3387aa98702cSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
3388f299d47fSmrgam__include="#"
3389f299d47fSmrgam__quote=
3390f299d47fSmrg_am_result=none
3391f299d47fSmrg# First try GNU make style include.
3392f299d47fSmrgecho "include confinc" > confmf
3393aa98702cSmrg# Ignore all kinds of additional output from `make'.
3394aa98702cSmrgcase `$am_make -s -f confmf 2> /dev/null` in #(
3395aa98702cSmrg*the\ am__doit\ target*)
3396aa98702cSmrg  am__include=include
3397aa98702cSmrg  am__quote=
3398aa98702cSmrg  _am_result=GNU
3399aa98702cSmrg  ;;
3400aa98702cSmrgesac
3401f299d47fSmrg# Now try BSD make style include.
3402f299d47fSmrgif test "$am__include" = "#"; then
3403f299d47fSmrg   echo '.include "confinc"' > confmf
3404aa98702cSmrg   case `$am_make -s -f confmf 2> /dev/null` in #(
3405aa98702cSmrg   *the\ am__doit\ target*)
3406aa98702cSmrg     am__include=.include
3407aa98702cSmrg     am__quote="\""
3408aa98702cSmrg     _am_result=BSD
3409aa98702cSmrg     ;;
3410aa98702cSmrg   esac
3411f299d47fSmrgfi
3412f299d47fSmrg
3413f299d47fSmrg
3414aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3415aa98702cSmrg$as_echo "$_am_result" >&6; }
3416f299d47fSmrgrm -f confinc confmf
3417f299d47fSmrg
3418f299d47fSmrg# Check whether --enable-dependency-tracking was given.
3419f299d47fSmrgif test "${enable_dependency_tracking+set}" = set; then
3420f299d47fSmrg  enableval=$enable_dependency_tracking;
3421f299d47fSmrgfi
3422f299d47fSmrg
3423f299d47fSmrgif test "x$enable_dependency_tracking" != xno; then
3424f299d47fSmrg  am_depcomp="$ac_aux_dir/depcomp"
3425f299d47fSmrg  AMDEPBACKSLASH='\'
3426f299d47fSmrgfi
3427f299d47fSmrg if test "x$enable_dependency_tracking" != xno; then
3428f299d47fSmrg  AMDEP_TRUE=
3429f299d47fSmrg  AMDEP_FALSE='#'
3430f299d47fSmrgelse
3431f299d47fSmrg  AMDEP_TRUE='#'
3432f299d47fSmrg  AMDEP_FALSE=
3433f299d47fSmrgfi
3434f299d47fSmrg
3435f299d47fSmrg
3436f299d47fSmrg
3437f299d47fSmrgdepcc="$CC"   am_compiler_list=
3438f299d47fSmrg
3439aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3440aa98702cSmrg$as_echo_n "checking dependency style of $depcc... " >&6; }
3441f299d47fSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3442aa98702cSmrg  $as_echo_n "(cached) " >&6
3443f299d47fSmrgelse
3444f299d47fSmrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3445f299d47fSmrg  # We make a subdir and do the tests there.  Otherwise we can end up
3446f299d47fSmrg  # making bogus files that we don't know about and never remove.  For
3447f299d47fSmrg  # instance it was reported that on HP-UX the gcc test will end up
3448f299d47fSmrg  # making a dummy file named `D' -- because `-MD' means `put the output
3449f299d47fSmrg  # in D'.
3450f299d47fSmrg  mkdir conftest.dir
3451f299d47fSmrg  # Copy depcomp to subdir because otherwise we won't find it if we're
3452f299d47fSmrg  # using a relative directory.
3453f299d47fSmrg  cp "$am_depcomp" conftest.dir
3454f299d47fSmrg  cd conftest.dir
3455f299d47fSmrg  # We will build objects and dependencies in a subdirectory because
3456f299d47fSmrg  # it helps to detect inapplicable dependency modes.  For instance
3457f299d47fSmrg  # both Tru64's cc and ICC support -MD to output dependencies as a
3458f299d47fSmrg  # side effect of compilation, but ICC will put the dependencies in
3459f299d47fSmrg  # the current directory while Tru64 will put them in the object
3460f299d47fSmrg  # directory.
3461f299d47fSmrg  mkdir sub
3462f299d47fSmrg
3463f299d47fSmrg  am_cv_CC_dependencies_compiler_type=none
3464f299d47fSmrg  if test "$am_compiler_list" = ""; then
3465f299d47fSmrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3466f299d47fSmrg  fi
3467aa98702cSmrg  am__universal=false
3468aa98702cSmrg  case " $depcc " in #(
3469aa98702cSmrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3470aa98702cSmrg     esac
3471aa98702cSmrg
3472f299d47fSmrg  for depmode in $am_compiler_list; do
3473f299d47fSmrg    # Setup a source with many dependencies, because some compilers
3474f299d47fSmrg    # like to wrap large dependency lists on column 80 (with \), and
3475f299d47fSmrg    # we should not choose a depcomp mode which is confused by this.
3476f299d47fSmrg    #
3477f299d47fSmrg    # We need to recreate these files for each test, as the compiler may
3478f299d47fSmrg    # overwrite some of them when testing with obscure command lines.
3479f299d47fSmrg    # This happens at least with the AIX C compiler.
3480f299d47fSmrg    : > sub/conftest.c
3481f299d47fSmrg    for i in 1 2 3 4 5 6; do
3482f299d47fSmrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3483f299d47fSmrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3484f299d47fSmrg      # Solaris 8's {/usr,}/bin/sh.
3485f299d47fSmrg      touch sub/conftst$i.h
3486f299d47fSmrg    done
3487f299d47fSmrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3488f299d47fSmrg
3489aa98702cSmrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3490aa98702cSmrg    # mode.  It turns out that the SunPro C++ compiler does not properly
3491aa98702cSmrg    # handle `-M -o', and we need to detect this.  Also, some Intel
3492aa98702cSmrg    # versions had trouble with output in subdirs
3493aa98702cSmrg    am__obj=sub/conftest.${OBJEXT-o}
3494aa98702cSmrg    am__minus_obj="-o $am__obj"
3495f299d47fSmrg    case $depmode in
3496aa98702cSmrg    gcc)
3497aa98702cSmrg      # This depmode causes a compiler race in universal mode.
3498aa98702cSmrg      test "$am__universal" = false || continue
3499aa98702cSmrg      ;;
3500f299d47fSmrg    nosideeffect)
3501f299d47fSmrg      # after this tag, mechanisms are not by side-effect, so they'll
3502f299d47fSmrg      # only be used when explicitly requested
3503f299d47fSmrg      if test "x$enable_dependency_tracking" = xyes; then
3504f299d47fSmrg	continue
3505f299d47fSmrg      else
3506f299d47fSmrg	break
3507f299d47fSmrg      fi
3508f299d47fSmrg      ;;
3509aa98702cSmrg    msvisualcpp | msvcmsys)
3510aa98702cSmrg      # This compiler won't grok `-c -o', but also, the minuso test has
3511aa98702cSmrg      # not run yet.  These depmodes are late enough in the game, and
3512aa98702cSmrg      # so weak that their functioning should not be impacted.
3513aa98702cSmrg      am__obj=conftest.${OBJEXT-o}
3514aa98702cSmrg      am__minus_obj=
3515aa98702cSmrg      ;;
3516f299d47fSmrg    none) break ;;
3517f299d47fSmrg    esac
3518f299d47fSmrg    if depmode=$depmode \
3519aa98702cSmrg       source=sub/conftest.c object=$am__obj \
3520f299d47fSmrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3521aa98702cSmrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3522f299d47fSmrg         >/dev/null 2>conftest.err &&
3523f299d47fSmrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3524f299d47fSmrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3525aa98702cSmrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3526f299d47fSmrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3527f299d47fSmrg      # icc doesn't choke on unknown options, it will just issue warnings
3528f299d47fSmrg      # or remarks (even with -Werror).  So we grep stderr for any message
3529f299d47fSmrg      # that says an option was ignored or not supported.
3530f299d47fSmrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
3531f299d47fSmrg      #   icc: Command line warning: ignoring option '-M'; no argument required
3532f299d47fSmrg      # The diagnosis changed in icc 8.0:
3533f299d47fSmrg      #   icc: Command line remark: option '-MP' not supported
3534f299d47fSmrg      if (grep 'ignoring option' conftest.err ||
3535f299d47fSmrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3536f299d47fSmrg        am_cv_CC_dependencies_compiler_type=$depmode
3537f299d47fSmrg        break
3538f299d47fSmrg      fi
3539f299d47fSmrg    fi
3540f299d47fSmrg  done
3541f299d47fSmrg
3542f299d47fSmrg  cd ..
3543f299d47fSmrg  rm -rf conftest.dir
3544f299d47fSmrgelse
3545f299d47fSmrg  am_cv_CC_dependencies_compiler_type=none
3546f299d47fSmrgfi
3547f299d47fSmrg
3548f299d47fSmrgfi
3549aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3550aa98702cSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3551f299d47fSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3552f299d47fSmrg
3553f299d47fSmrg if
3554f299d47fSmrg  test "x$enable_dependency_tracking" != xno \
3555f299d47fSmrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3556f299d47fSmrg  am__fastdepCC_TRUE=
3557f299d47fSmrg  am__fastdepCC_FALSE='#'
3558f299d47fSmrgelse
3559f299d47fSmrg  am__fastdepCC_TRUE='#'
3560f299d47fSmrg  am__fastdepCC_FALSE=
3561f299d47fSmrgfi
3562f299d47fSmrg
3563f299d47fSmrg
3564f299d47fSmrg# Find a good install program.  We prefer a C program (faster),
3565f299d47fSmrg# so one script is as good as another.  But avoid the broken or
3566f299d47fSmrg# incompatible versions:
3567f299d47fSmrg# SysV /etc/install, /usr/sbin/install
3568f299d47fSmrg# SunOS /usr/etc/install
3569f299d47fSmrg# IRIX /sbin/install
3570f299d47fSmrg# AIX /bin/install
3571f299d47fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
3572f299d47fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3573f299d47fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3574f299d47fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3575f299d47fSmrg# OS/2's system install, which has a completely different semantic
3576f299d47fSmrg# ./install, which can be erroneously created by make from ./install.sh.
3577aa98702cSmrg# Reject install programs that cannot install multiple files.
3578aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3579aa98702cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
3580f299d47fSmrgif test -z "$INSTALL"; then
3581f299d47fSmrgif test "${ac_cv_path_install+set}" = set; then
3582aa98702cSmrg  $as_echo_n "(cached) " >&6
3583f299d47fSmrgelse
3584f299d47fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585f299d47fSmrgfor as_dir in $PATH
3586f299d47fSmrgdo
3587f299d47fSmrg  IFS=$as_save_IFS
3588f299d47fSmrg  test -z "$as_dir" && as_dir=.
3589f299d47fSmrg  # Account for people who put trailing slashes in PATH elements.
3590f299d47fSmrgcase $as_dir/ in
3591f299d47fSmrg  ./ | .// | /cC/* | \
3592f299d47fSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3593f299d47fSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3594f299d47fSmrg  /usr/ucb/* ) ;;
3595f299d47fSmrg  *)
3596f299d47fSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
3597f299d47fSmrg    # Don't use installbsd from OSF since it installs stuff as root
3598f299d47fSmrg    # by default.
3599f299d47fSmrg    for ac_prog in ginstall scoinst install; do
3600f299d47fSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
3601f299d47fSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3602f299d47fSmrg	  if test $ac_prog = install &&
3603f299d47fSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3604f299d47fSmrg	    # AIX install.  It has an incompatible calling convention.
3605f299d47fSmrg	    :
3606f299d47fSmrg	  elif test $ac_prog = install &&
3607f299d47fSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3608f299d47fSmrg	    # program-specific install script used by HP pwplus--don't use.
3609f299d47fSmrg	    :
3610f299d47fSmrg	  else
3611aa98702cSmrg	    rm -rf conftest.one conftest.two conftest.dir
3612aa98702cSmrg	    echo one > conftest.one
3613aa98702cSmrg	    echo two > conftest.two
3614aa98702cSmrg	    mkdir conftest.dir
3615aa98702cSmrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3616aa98702cSmrg	      test -s conftest.one && test -s conftest.two &&
3617aa98702cSmrg	      test -s conftest.dir/conftest.one &&
3618aa98702cSmrg	      test -s conftest.dir/conftest.two
3619aa98702cSmrg	    then
3620aa98702cSmrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3621aa98702cSmrg	      break 3
3622aa98702cSmrg	    fi
3623f299d47fSmrg	  fi
3624f299d47fSmrg	fi
3625f299d47fSmrg      done
3626f299d47fSmrg    done
3627f299d47fSmrg    ;;
3628f299d47fSmrgesac
3629aa98702cSmrg
3630f299d47fSmrgdone
3631f299d47fSmrgIFS=$as_save_IFS
3632f299d47fSmrg
3633aa98702cSmrgrm -rf conftest.one conftest.two conftest.dir
3634f299d47fSmrg
3635f299d47fSmrgfi
3636f299d47fSmrg  if test "${ac_cv_path_install+set}" = set; then
3637f299d47fSmrg    INSTALL=$ac_cv_path_install
3638f299d47fSmrg  else
3639f299d47fSmrg    # As a last resort, use the slow shell script.  Don't cache a
3640f299d47fSmrg    # value for INSTALL within a source directory, because that will
3641f299d47fSmrg    # break other packages using the cache if that directory is
3642f299d47fSmrg    # removed, or if the value is a relative name.
3643f299d47fSmrg    INSTALL=$ac_install_sh
3644f299d47fSmrg  fi
3645f299d47fSmrgfi
3646aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3647aa98702cSmrg$as_echo "$INSTALL" >&6; }
3648f299d47fSmrg
3649f299d47fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3650f299d47fSmrg# It thinks the first close brace ends the variable substitution.
3651f299d47fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3652f299d47fSmrg
3653f299d47fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3654f299d47fSmrg
3655f299d47fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3656f299d47fSmrg
3657f299d47fSmrg
3658f299d47fSmrg
3659aa98702cSmrgac_ext=c
3660aa98702cSmrgac_cpp='$CPP $CPPFLAGS'
3661aa98702cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3662aa98702cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3663aa98702cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3664aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3665aa98702cSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
3666aa98702cSmrg# On Suns, sometimes $CPP names a directory.
3667aa98702cSmrgif test -n "$CPP" && test -d "$CPP"; then
3668aa98702cSmrg  CPP=
3669aa98702cSmrgfi
3670aa98702cSmrgif test -z "$CPP"; then
3671aa98702cSmrg  if test "${ac_cv_prog_CPP+set}" = set; then
3672aa98702cSmrg  $as_echo_n "(cached) " >&6
3673f299d47fSmrgelse
3674aa98702cSmrg      # Double quotes because CPP needs to be expanded
3675aa98702cSmrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3676aa98702cSmrg    do
3677aa98702cSmrg      ac_preproc_ok=false
3678aa98702cSmrgfor ac_c_preproc_warn_flag in '' yes
3679f299d47fSmrgdo
3680aa98702cSmrg  # Use a header file that comes with gcc, so configuring glibc
3681aa98702cSmrg  # with a fresh cross-compiler works.
3682aa98702cSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3683aa98702cSmrg  # <limits.h> exists even on freestanding compilers.
3684aa98702cSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3685aa98702cSmrg  # not just through cpp. "Syntax error" is here to catch this case.
3686aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
3687aa98702cSmrg/* confdefs.h.  */
3688aa98702cSmrg_ACEOF
3689aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
3690aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
3691aa98702cSmrg/* end confdefs.h.  */
3692aa98702cSmrg#ifdef __STDC__
3693aa98702cSmrg# include <limits.h>
3694aa98702cSmrg#else
3695aa98702cSmrg# include <assert.h>
3696aa98702cSmrg#endif
3697aa98702cSmrg		     Syntax error
3698aa98702cSmrg_ACEOF
3699aa98702cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
3700aa98702cSmrgcase "(($ac_try" in
3701aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702aa98702cSmrg  *) ac_try_echo=$ac_try;;
3703aa98702cSmrgesac
3704aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3705aa98702cSmrg$as_echo "$ac_try_echo") >&5
3706aa98702cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3707aa98702cSmrg  ac_status=$?
3708aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3709aa98702cSmrg  rm -f conftest.er1
3710aa98702cSmrg  cat conftest.err >&5
3711aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712aa98702cSmrg  (exit $ac_status); } >/dev/null && {
3713aa98702cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3714aa98702cSmrg	 test ! -s conftest.err
3715aa98702cSmrg       }; then
3716aa98702cSmrg  :
3717aa98702cSmrgelse
3718aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3719aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
3720aa98702cSmrg
3721aa98702cSmrg  # Broken: fails on valid input.
3722aa98702cSmrgcontinue
3723aa98702cSmrgfi
3724aa98702cSmrg
3725aa98702cSmrgrm -f conftest.err conftest.$ac_ext
3726aa98702cSmrg
3727aa98702cSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
3728aa98702cSmrg  # can be detected and how.
3729aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
3730aa98702cSmrg/* confdefs.h.  */
3731aa98702cSmrg_ACEOF
3732aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
3733aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
3734aa98702cSmrg/* end confdefs.h.  */
3735aa98702cSmrg#include <ac_nonexistent.h>
3736aa98702cSmrg_ACEOF
3737aa98702cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
3738aa98702cSmrgcase "(($ac_try" in
3739aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740aa98702cSmrg  *) ac_try_echo=$ac_try;;
3741aa98702cSmrgesac
3742aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3743aa98702cSmrg$as_echo "$ac_try_echo") >&5
3744aa98702cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3745aa98702cSmrg  ac_status=$?
3746aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3747aa98702cSmrg  rm -f conftest.er1
3748aa98702cSmrg  cat conftest.err >&5
3749aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750aa98702cSmrg  (exit $ac_status); } >/dev/null && {
3751aa98702cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3752aa98702cSmrg	 test ! -s conftest.err
3753aa98702cSmrg       }; then
3754aa98702cSmrg  # Broken: success on invalid input.
3755aa98702cSmrgcontinue
3756aa98702cSmrgelse
3757aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3758aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
3759aa98702cSmrg
3760aa98702cSmrg  # Passes both tests.
3761aa98702cSmrgac_preproc_ok=:
3762aa98702cSmrgbreak
3763aa98702cSmrgfi
3764aa98702cSmrg
3765aa98702cSmrgrm -f conftest.err conftest.$ac_ext
3766aa98702cSmrg
3767aa98702cSmrgdone
3768aa98702cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3769aa98702cSmrgrm -f conftest.err conftest.$ac_ext
3770aa98702cSmrgif $ac_preproc_ok; then
3771aa98702cSmrg  break
3772aa98702cSmrgfi
3773aa98702cSmrg
3774aa98702cSmrg    done
3775aa98702cSmrg    ac_cv_prog_CPP=$CPP
3776aa98702cSmrg
3777aa98702cSmrgfi
3778aa98702cSmrg  CPP=$ac_cv_prog_CPP
3779aa98702cSmrgelse
3780aa98702cSmrg  ac_cv_prog_CPP=$CPP
3781aa98702cSmrgfi
3782aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3783aa98702cSmrg$as_echo "$CPP" >&6; }
3784aa98702cSmrgac_preproc_ok=false
3785aa98702cSmrgfor ac_c_preproc_warn_flag in '' yes
3786aa98702cSmrgdo
3787aa98702cSmrg  # Use a header file that comes with gcc, so configuring glibc
3788aa98702cSmrg  # with a fresh cross-compiler works.
3789aa98702cSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3790aa98702cSmrg  # <limits.h> exists even on freestanding compilers.
3791aa98702cSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3792aa98702cSmrg  # not just through cpp. "Syntax error" is here to catch this case.
3793aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
3794aa98702cSmrg/* confdefs.h.  */
3795aa98702cSmrg_ACEOF
3796aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
3797aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
3798aa98702cSmrg/* end confdefs.h.  */
3799aa98702cSmrg#ifdef __STDC__
3800aa98702cSmrg# include <limits.h>
3801aa98702cSmrg#else
3802aa98702cSmrg# include <assert.h>
3803aa98702cSmrg#endif
3804aa98702cSmrg		     Syntax error
3805aa98702cSmrg_ACEOF
3806aa98702cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
3807aa98702cSmrgcase "(($ac_try" in
3808aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809aa98702cSmrg  *) ac_try_echo=$ac_try;;
3810aa98702cSmrgesac
3811aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3812aa98702cSmrg$as_echo "$ac_try_echo") >&5
3813aa98702cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3814aa98702cSmrg  ac_status=$?
3815aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3816aa98702cSmrg  rm -f conftest.er1
3817aa98702cSmrg  cat conftest.err >&5
3818aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819aa98702cSmrg  (exit $ac_status); } >/dev/null && {
3820aa98702cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3821aa98702cSmrg	 test ! -s conftest.err
3822aa98702cSmrg       }; then
3823aa98702cSmrg  :
3824aa98702cSmrgelse
3825aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3826aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
3827aa98702cSmrg
3828aa98702cSmrg  # Broken: fails on valid input.
3829aa98702cSmrgcontinue
3830aa98702cSmrgfi
3831aa98702cSmrg
3832aa98702cSmrgrm -f conftest.err conftest.$ac_ext
3833aa98702cSmrg
3834aa98702cSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
3835aa98702cSmrg  # can be detected and how.
3836aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
3837aa98702cSmrg/* confdefs.h.  */
3838aa98702cSmrg_ACEOF
3839aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
3840aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
3841aa98702cSmrg/* end confdefs.h.  */
3842aa98702cSmrg#include <ac_nonexistent.h>
3843aa98702cSmrg_ACEOF
3844aa98702cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
3845aa98702cSmrgcase "(($ac_try" in
3846aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847aa98702cSmrg  *) ac_try_echo=$ac_try;;
3848aa98702cSmrgesac
3849aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3850aa98702cSmrg$as_echo "$ac_try_echo") >&5
3851aa98702cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3852aa98702cSmrg  ac_status=$?
3853aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
3854aa98702cSmrg  rm -f conftest.er1
3855aa98702cSmrg  cat conftest.err >&5
3856aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857aa98702cSmrg  (exit $ac_status); } >/dev/null && {
3858aa98702cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3859aa98702cSmrg	 test ! -s conftest.err
3860aa98702cSmrg       }; then
3861aa98702cSmrg  # Broken: success on invalid input.
3862aa98702cSmrgcontinue
3863aa98702cSmrgelse
3864aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
3865aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
3866aa98702cSmrg
3867aa98702cSmrg  # Passes both tests.
3868aa98702cSmrgac_preproc_ok=:
3869aa98702cSmrgbreak
3870aa98702cSmrgfi
3871aa98702cSmrg
3872aa98702cSmrgrm -f conftest.err conftest.$ac_ext
3873aa98702cSmrg
3874aa98702cSmrgdone
3875aa98702cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3876aa98702cSmrgrm -f conftest.err conftest.$ac_ext
3877aa98702cSmrgif $ac_preproc_ok; then
3878aa98702cSmrg  :
3879aa98702cSmrgelse
3880aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3881aa98702cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3882aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3883aa98702cSmrgSee \`config.log' for more details." >&5
3884aa98702cSmrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3885aa98702cSmrgSee \`config.log' for more details." >&2;}
3886aa98702cSmrg   { (exit 1); exit 1; }; }; }
3887aa98702cSmrgfi
3888aa98702cSmrg
3889aa98702cSmrgac_ext=c
3890aa98702cSmrgac_cpp='$CPP $CPPFLAGS'
3891aa98702cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892aa98702cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893aa98702cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3894aa98702cSmrg
3895aa98702cSmrg
3896aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3897aa98702cSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3898aa98702cSmrgif test "${ac_cv_path_GREP+set}" = set; then
3899aa98702cSmrg  $as_echo_n "(cached) " >&6
3900aa98702cSmrgelse
3901aa98702cSmrg  if test -z "$GREP"; then
3902aa98702cSmrg  ac_path_GREP_found=false
3903aa98702cSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
3904aa98702cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905aa98702cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3906aa98702cSmrgdo
3907aa98702cSmrg  IFS=$as_save_IFS
3908aa98702cSmrg  test -z "$as_dir" && as_dir=.
3909aa98702cSmrg  for ac_prog in grep ggrep; do
3910aa98702cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3911aa98702cSmrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3912aa98702cSmrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3913aa98702cSmrg# Check for GNU ac_path_GREP and select it if it is found.
3914aa98702cSmrg  # Check for GNU $ac_path_GREP
3915aa98702cSmrgcase `"$ac_path_GREP" --version 2>&1` in
3916aa98702cSmrg*GNU*)
3917aa98702cSmrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3918aa98702cSmrg*)
3919aa98702cSmrg  ac_count=0
3920aa98702cSmrg  $as_echo_n 0123456789 >"conftest.in"
3921aa98702cSmrg  while :
3922aa98702cSmrg  do
3923aa98702cSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3924aa98702cSmrg    mv "conftest.tmp" "conftest.in"
3925aa98702cSmrg    cp "conftest.in" "conftest.nl"
3926aa98702cSmrg    $as_echo 'GREP' >> "conftest.nl"
3927aa98702cSmrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3928aa98702cSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3929aa98702cSmrg    ac_count=`expr $ac_count + 1`
3930aa98702cSmrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3931aa98702cSmrg      # Best one so far, save it but keep looking for a better one
3932aa98702cSmrg      ac_cv_path_GREP="$ac_path_GREP"
3933aa98702cSmrg      ac_path_GREP_max=$ac_count
3934aa98702cSmrg    fi
3935aa98702cSmrg    # 10*(2^10) chars as input seems more than enough
3936aa98702cSmrg    test $ac_count -gt 10 && break
3937aa98702cSmrg  done
3938aa98702cSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3939aa98702cSmrgesac
3940aa98702cSmrg
3941aa98702cSmrg      $ac_path_GREP_found && break 3
3942aa98702cSmrg    done
3943aa98702cSmrg  done
3944aa98702cSmrgdone
3945aa98702cSmrgIFS=$as_save_IFS
3946aa98702cSmrg  if test -z "$ac_cv_path_GREP"; then
3947aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3948aa98702cSmrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3949aa98702cSmrg   { (exit 1); exit 1; }; }
3950aa98702cSmrg  fi
3951aa98702cSmrgelse
3952aa98702cSmrg  ac_cv_path_GREP=$GREP
3953aa98702cSmrgfi
3954aa98702cSmrg
3955aa98702cSmrgfi
3956aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3957aa98702cSmrg$as_echo "$ac_cv_path_GREP" >&6; }
3958aa98702cSmrg GREP="$ac_cv_path_GREP"
3959aa98702cSmrg
3960aa98702cSmrg
3961aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3962aa98702cSmrg$as_echo_n "checking for egrep... " >&6; }
3963aa98702cSmrgif test "${ac_cv_path_EGREP+set}" = set; then
3964aa98702cSmrg  $as_echo_n "(cached) " >&6
3965aa98702cSmrgelse
3966aa98702cSmrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3967aa98702cSmrg   then ac_cv_path_EGREP="$GREP -E"
3968aa98702cSmrg   else
3969aa98702cSmrg     if test -z "$EGREP"; then
3970aa98702cSmrg  ac_path_EGREP_found=false
3971aa98702cSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
3972aa98702cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973aa98702cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3974aa98702cSmrgdo
3975aa98702cSmrg  IFS=$as_save_IFS
3976aa98702cSmrg  test -z "$as_dir" && as_dir=.
3977aa98702cSmrg  for ac_prog in egrep; do
3978aa98702cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3979aa98702cSmrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3980aa98702cSmrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3981aa98702cSmrg# Check for GNU ac_path_EGREP and select it if it is found.
3982aa98702cSmrg  # Check for GNU $ac_path_EGREP
3983aa98702cSmrgcase `"$ac_path_EGREP" --version 2>&1` in
3984aa98702cSmrg*GNU*)
3985aa98702cSmrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3986aa98702cSmrg*)
3987aa98702cSmrg  ac_count=0
3988aa98702cSmrg  $as_echo_n 0123456789 >"conftest.in"
3989aa98702cSmrg  while :
3990aa98702cSmrg  do
3991aa98702cSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3992aa98702cSmrg    mv "conftest.tmp" "conftest.in"
3993aa98702cSmrg    cp "conftest.in" "conftest.nl"
3994aa98702cSmrg    $as_echo 'EGREP' >> "conftest.nl"
3995aa98702cSmrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3996aa98702cSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3997aa98702cSmrg    ac_count=`expr $ac_count + 1`
3998aa98702cSmrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3999aa98702cSmrg      # Best one so far, save it but keep looking for a better one
4000aa98702cSmrg      ac_cv_path_EGREP="$ac_path_EGREP"
4001aa98702cSmrg      ac_path_EGREP_max=$ac_count
4002aa98702cSmrg    fi
4003aa98702cSmrg    # 10*(2^10) chars as input seems more than enough
4004aa98702cSmrg    test $ac_count -gt 10 && break
4005aa98702cSmrg  done
4006aa98702cSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4007aa98702cSmrgesac
4008aa98702cSmrg
4009aa98702cSmrg      $ac_path_EGREP_found && break 3
4010aa98702cSmrg    done
4011aa98702cSmrg  done
4012aa98702cSmrgdone
4013aa98702cSmrgIFS=$as_save_IFS
4014aa98702cSmrg  if test -z "$ac_cv_path_EGREP"; then
4015aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4016aa98702cSmrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4017aa98702cSmrg   { (exit 1); exit 1; }; }
4018aa98702cSmrg  fi
4019aa98702cSmrgelse
4020aa98702cSmrg  ac_cv_path_EGREP=$EGREP
4021aa98702cSmrgfi
4022aa98702cSmrg
4023aa98702cSmrg   fi
4024aa98702cSmrgfi
4025aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4026aa98702cSmrg$as_echo "$ac_cv_path_EGREP" >&6; }
4027aa98702cSmrg EGREP="$ac_cv_path_EGREP"
4028aa98702cSmrg
4029aa98702cSmrg
4030aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4031aa98702cSmrg$as_echo_n "checking for ANSI C header files... " >&6; }
4032aa98702cSmrgif test "${ac_cv_header_stdc+set}" = set; then
4033aa98702cSmrg  $as_echo_n "(cached) " >&6
4034aa98702cSmrgelse
4035aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
4036aa98702cSmrg/* confdefs.h.  */
4037aa98702cSmrg_ACEOF
4038aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4039aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4040aa98702cSmrg/* end confdefs.h.  */
4041aa98702cSmrg#include <stdlib.h>
4042aa98702cSmrg#include <stdarg.h>
4043aa98702cSmrg#include <string.h>
4044aa98702cSmrg#include <float.h>
4045aa98702cSmrg
4046aa98702cSmrgint
4047aa98702cSmrgmain ()
4048aa98702cSmrg{
4049aa98702cSmrg
4050aa98702cSmrg  ;
4051aa98702cSmrg  return 0;
4052aa98702cSmrg}
4053aa98702cSmrg_ACEOF
4054aa98702cSmrgrm -f conftest.$ac_objext
4055aa98702cSmrgif { (ac_try="$ac_compile"
4056aa98702cSmrgcase "(($ac_try" in
4057aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058aa98702cSmrg  *) ac_try_echo=$ac_try;;
4059aa98702cSmrgesac
4060aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4061aa98702cSmrg$as_echo "$ac_try_echo") >&5
4062aa98702cSmrg  (eval "$ac_compile") 2>conftest.er1
4063aa98702cSmrg  ac_status=$?
4064aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
4065aa98702cSmrg  rm -f conftest.er1
4066aa98702cSmrg  cat conftest.err >&5
4067aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068aa98702cSmrg  (exit $ac_status); } && {
4069aa98702cSmrg	 test -z "$ac_c_werror_flag" ||
4070aa98702cSmrg	 test ! -s conftest.err
4071aa98702cSmrg       } && test -s conftest.$ac_objext; then
4072aa98702cSmrg  ac_cv_header_stdc=yes
4073aa98702cSmrgelse
4074aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
4075aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
4076aa98702cSmrg
4077aa98702cSmrg	ac_cv_header_stdc=no
4078aa98702cSmrgfi
4079aa98702cSmrg
4080aa98702cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081aa98702cSmrg
4082aa98702cSmrgif test $ac_cv_header_stdc = yes; then
4083aa98702cSmrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4084aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
4085aa98702cSmrg/* confdefs.h.  */
4086aa98702cSmrg_ACEOF
4087aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4088aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4089aa98702cSmrg/* end confdefs.h.  */
4090aa98702cSmrg#include <string.h>
4091aa98702cSmrg
4092aa98702cSmrg_ACEOF
4093aa98702cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4094aa98702cSmrg  $EGREP "memchr" >/dev/null 2>&1; then
4095aa98702cSmrg  :
4096aa98702cSmrgelse
4097aa98702cSmrg  ac_cv_header_stdc=no
4098aa98702cSmrgfi
4099aa98702cSmrgrm -f conftest*
4100aa98702cSmrg
4101aa98702cSmrgfi
4102aa98702cSmrg
4103aa98702cSmrgif test $ac_cv_header_stdc = yes; then
4104aa98702cSmrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4105aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
4106aa98702cSmrg/* confdefs.h.  */
4107aa98702cSmrg_ACEOF
4108aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4109aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4110aa98702cSmrg/* end confdefs.h.  */
4111aa98702cSmrg#include <stdlib.h>
4112aa98702cSmrg
4113aa98702cSmrg_ACEOF
4114aa98702cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4115aa98702cSmrg  $EGREP "free" >/dev/null 2>&1; then
4116aa98702cSmrg  :
4117aa98702cSmrgelse
4118aa98702cSmrg  ac_cv_header_stdc=no
4119aa98702cSmrgfi
4120aa98702cSmrgrm -f conftest*
4121aa98702cSmrg
4122aa98702cSmrgfi
4123aa98702cSmrg
4124aa98702cSmrgif test $ac_cv_header_stdc = yes; then
4125aa98702cSmrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4126aa98702cSmrg  if test "$cross_compiling" = yes; then
4127aa98702cSmrg  :
4128aa98702cSmrgelse
4129aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
4130aa98702cSmrg/* confdefs.h.  */
4131aa98702cSmrg_ACEOF
4132aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4133aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4134aa98702cSmrg/* end confdefs.h.  */
4135aa98702cSmrg#include <ctype.h>
4136aa98702cSmrg#include <stdlib.h>
4137aa98702cSmrg#if ((' ' & 0x0FF) == 0x020)
4138aa98702cSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4139aa98702cSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4140aa98702cSmrg#else
4141aa98702cSmrg# define ISLOWER(c) \
4142aa98702cSmrg		   (('a' <= (c) && (c) <= 'i') \
4143aa98702cSmrg		     || ('j' <= (c) && (c) <= 'r') \
4144aa98702cSmrg		     || ('s' <= (c) && (c) <= 'z'))
4145aa98702cSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4146aa98702cSmrg#endif
4147aa98702cSmrg
4148aa98702cSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4149aa98702cSmrgint
4150aa98702cSmrgmain ()
4151aa98702cSmrg{
4152aa98702cSmrg  int i;
4153aa98702cSmrg  for (i = 0; i < 256; i++)
4154aa98702cSmrg    if (XOR (islower (i), ISLOWER (i))
4155aa98702cSmrg	|| toupper (i) != TOUPPER (i))
4156aa98702cSmrg      return 2;
4157aa98702cSmrg  return 0;
4158aa98702cSmrg}
4159aa98702cSmrg_ACEOF
4160aa98702cSmrgrm -f conftest$ac_exeext
4161aa98702cSmrgif { (ac_try="$ac_link"
4162aa98702cSmrgcase "(($ac_try" in
4163aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164aa98702cSmrg  *) ac_try_echo=$ac_try;;
4165aa98702cSmrgesac
4166aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4167aa98702cSmrg$as_echo "$ac_try_echo") >&5
4168aa98702cSmrg  (eval "$ac_link") 2>&5
4169aa98702cSmrg  ac_status=$?
4170aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171aa98702cSmrg  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4172aa98702cSmrg  { (case "(($ac_try" in
4173aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174aa98702cSmrg  *) ac_try_echo=$ac_try;;
4175aa98702cSmrgesac
4176aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4177aa98702cSmrg$as_echo "$ac_try_echo") >&5
4178aa98702cSmrg  (eval "$ac_try") 2>&5
4179aa98702cSmrg  ac_status=$?
4180aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181aa98702cSmrg  (exit $ac_status); }; }; then
4182aa98702cSmrg  :
4183aa98702cSmrgelse
4184aa98702cSmrg  $as_echo "$as_me: program exited with status $ac_status" >&5
4185aa98702cSmrg$as_echo "$as_me: failed program was:" >&5
4186aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
4187aa98702cSmrg
4188aa98702cSmrg( exit $ac_status )
4189aa98702cSmrgac_cv_header_stdc=no
4190aa98702cSmrgfi
4191aa98702cSmrgrm -rf conftest.dSYM
4192aa98702cSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4193aa98702cSmrgfi
4194aa98702cSmrg
4195aa98702cSmrg
4196aa98702cSmrgfi
4197aa98702cSmrgfi
4198aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4199aa98702cSmrg$as_echo "$ac_cv_header_stdc" >&6; }
4200aa98702cSmrgif test $ac_cv_header_stdc = yes; then
4201aa98702cSmrg
4202aa98702cSmrgcat >>confdefs.h <<\_ACEOF
4203aa98702cSmrg#define STDC_HEADERS 1
4204aa98702cSmrg_ACEOF
4205aa98702cSmrg
4206aa98702cSmrgfi
4207aa98702cSmrg
4208aa98702cSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4209aa98702cSmrg
4210aa98702cSmrg
4211aa98702cSmrg
4212aa98702cSmrg
4213aa98702cSmrg
4214aa98702cSmrg
4215aa98702cSmrg
4216aa98702cSmrg
4217aa98702cSmrg
4218aa98702cSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4219aa98702cSmrg		  inttypes.h stdint.h unistd.h
4220aa98702cSmrgdo
4221aa98702cSmrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4222aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4223aa98702cSmrg$as_echo_n "checking for $ac_header... " >&6; }
4224aa98702cSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4225aa98702cSmrg  $as_echo_n "(cached) " >&6
4226aa98702cSmrgelse
4227aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
4228aa98702cSmrg/* confdefs.h.  */
4229aa98702cSmrg_ACEOF
4230aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4231aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4232aa98702cSmrg/* end confdefs.h.  */
4233aa98702cSmrg$ac_includes_default
4234aa98702cSmrg
4235aa98702cSmrg#include <$ac_header>
4236aa98702cSmrg_ACEOF
4237aa98702cSmrgrm -f conftest.$ac_objext
4238aa98702cSmrgif { (ac_try="$ac_compile"
4239aa98702cSmrgcase "(($ac_try" in
4240aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241aa98702cSmrg  *) ac_try_echo=$ac_try;;
4242aa98702cSmrgesac
4243aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4244aa98702cSmrg$as_echo "$ac_try_echo") >&5
4245aa98702cSmrg  (eval "$ac_compile") 2>conftest.er1
4246aa98702cSmrg  ac_status=$?
4247aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
4248aa98702cSmrg  rm -f conftest.er1
4249aa98702cSmrg  cat conftest.err >&5
4250aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251aa98702cSmrg  (exit $ac_status); } && {
4252aa98702cSmrg	 test -z "$ac_c_werror_flag" ||
4253aa98702cSmrg	 test ! -s conftest.err
4254aa98702cSmrg       } && test -s conftest.$ac_objext; then
4255aa98702cSmrg  eval "$as_ac_Header=yes"
4256aa98702cSmrgelse
4257aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
4258aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
4259aa98702cSmrg
4260aa98702cSmrg	eval "$as_ac_Header=no"
4261aa98702cSmrgfi
4262aa98702cSmrg
4263aa98702cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264aa98702cSmrgfi
4265aa98702cSmrgac_res=`eval 'as_val=${'$as_ac_Header'}
4266aa98702cSmrg		 $as_echo "$as_val"'`
4267aa98702cSmrg	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4268aa98702cSmrg$as_echo "$ac_res" >&6; }
4269aa98702cSmrgas_val=`eval 'as_val=${'$as_ac_Header'}
4270aa98702cSmrg		 $as_echo "$as_val"'`
4271aa98702cSmrg   if test "x$as_val" = x""yes; then
4272aa98702cSmrg  cat >>confdefs.h <<_ACEOF
4273aa98702cSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4274aa98702cSmrg_ACEOF
4275aa98702cSmrg
4276aa98702cSmrgfi
4277aa98702cSmrg
4278aa98702cSmrgdone
4279aa98702cSmrg
4280aa98702cSmrg
4281aa98702cSmrg   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
4282aa98702cSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4283aa98702cSmrgif test "${ac_cv_prog_cc_c99+set}" = set; then
4284aa98702cSmrg  $as_echo_n "(cached) " >&6
4285aa98702cSmrgelse
4286aa98702cSmrg  ac_cv_prog_cc_c99=no
4287aa98702cSmrgac_save_CC=$CC
4288aa98702cSmrgcat >conftest.$ac_ext <<_ACEOF
4289aa98702cSmrg/* confdefs.h.  */
4290aa98702cSmrg_ACEOF
4291aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4292aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4293aa98702cSmrg/* end confdefs.h.  */
4294aa98702cSmrg#include <stdarg.h>
4295aa98702cSmrg#include <stdbool.h>
4296aa98702cSmrg#include <stdlib.h>
4297aa98702cSmrg#include <wchar.h>
4298aa98702cSmrg#include <stdio.h>
4299aa98702cSmrg
4300aa98702cSmrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
4301aa98702cSmrg#define debug(...) fprintf (stderr, __VA_ARGS__)
4302aa98702cSmrg#define showlist(...) puts (#__VA_ARGS__)
4303aa98702cSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4304aa98702cSmrgstatic void
4305aa98702cSmrgtest_varargs_macros (void)
4306aa98702cSmrg{
4307aa98702cSmrg  int x = 1234;
4308aa98702cSmrg  int y = 5678;
4309aa98702cSmrg  debug ("Flag");
4310aa98702cSmrg  debug ("X = %d\n", x);
4311aa98702cSmrg  showlist (The first, second, and third items.);
4312aa98702cSmrg  report (x>y, "x is %d but y is %d", x, y);
4313aa98702cSmrg}
4314aa98702cSmrg
4315aa98702cSmrg// Check long long types.
4316aa98702cSmrg#define BIG64 18446744073709551615ull
4317aa98702cSmrg#define BIG32 4294967295ul
4318aa98702cSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4319aa98702cSmrg#if !BIG_OK
4320aa98702cSmrg  your preprocessor is broken;
4321aa98702cSmrg#endif
4322aa98702cSmrg#if BIG_OK
4323aa98702cSmrg#else
4324aa98702cSmrg  your preprocessor is broken;
4325aa98702cSmrg#endif
4326aa98702cSmrgstatic long long int bignum = -9223372036854775807LL;
4327aa98702cSmrgstatic unsigned long long int ubignum = BIG64;
4328aa98702cSmrg
4329aa98702cSmrgstruct incomplete_array
4330aa98702cSmrg{
4331aa98702cSmrg  int datasize;
4332aa98702cSmrg  double data[];
4333aa98702cSmrg};
4334aa98702cSmrg
4335aa98702cSmrgstruct named_init {
4336aa98702cSmrg  int number;
4337aa98702cSmrg  const wchar_t *name;
4338aa98702cSmrg  double average;
4339aa98702cSmrg};
4340aa98702cSmrg
4341aa98702cSmrgtypedef const char *ccp;
4342aa98702cSmrg
4343aa98702cSmrgstatic inline int
4344aa98702cSmrgtest_restrict (ccp restrict text)
4345aa98702cSmrg{
4346aa98702cSmrg  // See if C++-style comments work.
4347aa98702cSmrg  // Iterate through items via the restricted pointer.
4348aa98702cSmrg  // Also check for declarations in for loops.
4349aa98702cSmrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4350aa98702cSmrg    continue;
4351aa98702cSmrg  return 0;
4352aa98702cSmrg}
4353aa98702cSmrg
4354aa98702cSmrg// Check varargs and va_copy.
4355aa98702cSmrgstatic void
4356aa98702cSmrgtest_varargs (const char *format, ...)
4357aa98702cSmrg{
4358aa98702cSmrg  va_list args;
4359aa98702cSmrg  va_start (args, format);
4360aa98702cSmrg  va_list args_copy;
4361aa98702cSmrg  va_copy (args_copy, args);
4362aa98702cSmrg
4363aa98702cSmrg  const char *str;
4364aa98702cSmrg  int number;
4365aa98702cSmrg  float fnumber;
4366aa98702cSmrg
4367aa98702cSmrg  while (*format)
4368aa98702cSmrg    {
4369aa98702cSmrg      switch (*format++)
4370aa98702cSmrg	{
4371aa98702cSmrg	case 's': // string
4372aa98702cSmrg	  str = va_arg (args_copy, const char *);
4373aa98702cSmrg	  break;
4374aa98702cSmrg	case 'd': // int
4375aa98702cSmrg	  number = va_arg (args_copy, int);
4376aa98702cSmrg	  break;
4377aa98702cSmrg	case 'f': // float
4378aa98702cSmrg	  fnumber = va_arg (args_copy, double);
4379aa98702cSmrg	  break;
4380aa98702cSmrg	default:
4381aa98702cSmrg	  break;
4382aa98702cSmrg	}
4383aa98702cSmrg    }
4384aa98702cSmrg  va_end (args_copy);
4385aa98702cSmrg  va_end (args);
4386aa98702cSmrg}
4387aa98702cSmrg
4388aa98702cSmrgint
4389aa98702cSmrgmain ()
4390aa98702cSmrg{
4391aa98702cSmrg
4392aa98702cSmrg  // Check bool.
4393aa98702cSmrg  _Bool success = false;
4394aa98702cSmrg
4395aa98702cSmrg  // Check restrict.
4396aa98702cSmrg  if (test_restrict ("String literal") == 0)
4397aa98702cSmrg    success = true;
4398aa98702cSmrg  char *restrict newvar = "Another string";
4399aa98702cSmrg
4400aa98702cSmrg  // Check varargs.
4401aa98702cSmrg  test_varargs ("s, d' f .", "string", 65, 34.234);
4402aa98702cSmrg  test_varargs_macros ();
4403aa98702cSmrg
4404aa98702cSmrg  // Check flexible array members.
4405aa98702cSmrg  struct incomplete_array *ia =
4406aa98702cSmrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4407aa98702cSmrg  ia->datasize = 10;
4408aa98702cSmrg  for (int i = 0; i < ia->datasize; ++i)
4409aa98702cSmrg    ia->data[i] = i * 1.234;
4410aa98702cSmrg
4411aa98702cSmrg  // Check named initializers.
4412aa98702cSmrg  struct named_init ni = {
4413aa98702cSmrg    .number = 34,
4414aa98702cSmrg    .name = L"Test wide string",
4415aa98702cSmrg    .average = 543.34343,
4416aa98702cSmrg  };
4417aa98702cSmrg
4418aa98702cSmrg  ni.number = 58;
4419aa98702cSmrg
4420aa98702cSmrg  int dynamic_array[ni.number];
4421aa98702cSmrg  dynamic_array[ni.number - 1] = 543;
4422aa98702cSmrg
4423aa98702cSmrg  // work around unused variable warnings
4424aa98702cSmrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4425aa98702cSmrg	  || dynamic_array[ni.number - 1] != 543);
4426aa98702cSmrg
4427aa98702cSmrg  ;
4428aa98702cSmrg  return 0;
4429aa98702cSmrg}
4430aa98702cSmrg_ACEOF
4431aa98702cSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4432aa98702cSmrgdo
4433aa98702cSmrg  CC="$ac_save_CC $ac_arg"
4434aa98702cSmrg  rm -f conftest.$ac_objext
4435aa98702cSmrgif { (ac_try="$ac_compile"
4436aa98702cSmrgcase "(($ac_try" in
4437aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4438aa98702cSmrg  *) ac_try_echo=$ac_try;;
4439aa98702cSmrgesac
4440aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4441aa98702cSmrg$as_echo "$ac_try_echo") >&5
4442aa98702cSmrg  (eval "$ac_compile") 2>conftest.er1
4443aa98702cSmrg  ac_status=$?
4444aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
4445aa98702cSmrg  rm -f conftest.er1
4446aa98702cSmrg  cat conftest.err >&5
4447aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448aa98702cSmrg  (exit $ac_status); } && {
4449aa98702cSmrg	 test -z "$ac_c_werror_flag" ||
4450aa98702cSmrg	 test ! -s conftest.err
4451aa98702cSmrg       } && test -s conftest.$ac_objext; then
4452aa98702cSmrg  ac_cv_prog_cc_c99=$ac_arg
4453aa98702cSmrgelse
4454aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
4455aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
4456aa98702cSmrg
4457aa98702cSmrg
4458aa98702cSmrgfi
4459aa98702cSmrg
4460aa98702cSmrgrm -f core conftest.err conftest.$ac_objext
4461aa98702cSmrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
4462aa98702cSmrgdone
4463aa98702cSmrgrm -f conftest.$ac_ext
4464aa98702cSmrgCC=$ac_save_CC
4465aa98702cSmrg
4466aa98702cSmrgfi
4467aa98702cSmrg# AC_CACHE_VAL
4468aa98702cSmrgcase "x$ac_cv_prog_cc_c99" in
4469aa98702cSmrg  x)
4470aa98702cSmrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4471aa98702cSmrg$as_echo "none needed" >&6; } ;;
4472aa98702cSmrg  xno)
4473aa98702cSmrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4474aa98702cSmrg$as_echo "unsupported" >&6; } ;;
4475aa98702cSmrg  *)
4476aa98702cSmrg    CC="$CC $ac_cv_prog_cc_c99"
4477aa98702cSmrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
4478aa98702cSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4479aa98702cSmrgesac
4480aa98702cSmrg
4481aa98702cSmrg
4482aa98702cSmrg
4483aa98702cSmrg# Make sure we can run config.sub.
4484aa98702cSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4485aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4486aa98702cSmrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4487aa98702cSmrg   { (exit 1); exit 1; }; }
4488aa98702cSmrg
4489aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4490aa98702cSmrg$as_echo_n "checking build system type... " >&6; }
4491aa98702cSmrgif test "${ac_cv_build+set}" = set; then
4492aa98702cSmrg  $as_echo_n "(cached) " >&6
4493aa98702cSmrgelse
4494aa98702cSmrg  ac_build_alias=$build_alias
4495aa98702cSmrgtest "x$ac_build_alias" = x &&
4496aa98702cSmrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4497aa98702cSmrgtest "x$ac_build_alias" = x &&
4498aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4499aa98702cSmrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4500aa98702cSmrg   { (exit 1); exit 1; }; }
4501aa98702cSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4502aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4503aa98702cSmrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4504aa98702cSmrg   { (exit 1); exit 1; }; }
4505aa98702cSmrg
4506aa98702cSmrgfi
4507aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4508aa98702cSmrg$as_echo "$ac_cv_build" >&6; }
4509aa98702cSmrgcase $ac_cv_build in
4510aa98702cSmrg*-*-*) ;;
4511aa98702cSmrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4512aa98702cSmrg$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4513aa98702cSmrg   { (exit 1); exit 1; }; };;
4514aa98702cSmrgesac
4515aa98702cSmrgbuild=$ac_cv_build
4516aa98702cSmrgac_save_IFS=$IFS; IFS='-'
4517aa98702cSmrgset x $ac_cv_build
4518aa98702cSmrgshift
4519aa98702cSmrgbuild_cpu=$1
4520aa98702cSmrgbuild_vendor=$2
4521aa98702cSmrgshift; shift
4522aa98702cSmrg# Remember, the first character of IFS is used to create $*,
4523aa98702cSmrg# except with old shells:
4524aa98702cSmrgbuild_os=$*
4525aa98702cSmrgIFS=$ac_save_IFS
4526aa98702cSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4527aa98702cSmrg
4528aa98702cSmrg
4529aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4530aa98702cSmrg$as_echo_n "checking host system type... " >&6; }
4531aa98702cSmrgif test "${ac_cv_host+set}" = set; then
4532aa98702cSmrg  $as_echo_n "(cached) " >&6
4533aa98702cSmrgelse
4534aa98702cSmrg  if test "x$host_alias" = x; then
4535aa98702cSmrg  ac_cv_host=$ac_cv_build
4536aa98702cSmrgelse
4537aa98702cSmrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4538aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4539aa98702cSmrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4540aa98702cSmrg   { (exit 1); exit 1; }; }
4541aa98702cSmrgfi
4542aa98702cSmrg
4543aa98702cSmrgfi
4544aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4545aa98702cSmrg$as_echo "$ac_cv_host" >&6; }
4546aa98702cSmrgcase $ac_cv_host in
4547aa98702cSmrg*-*-*) ;;
4548aa98702cSmrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4549aa98702cSmrg$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4550aa98702cSmrg   { (exit 1); exit 1; }; };;
4551aa98702cSmrgesac
4552aa98702cSmrghost=$ac_cv_host
4553aa98702cSmrgac_save_IFS=$IFS; IFS='-'
4554aa98702cSmrgset x $ac_cv_host
4555aa98702cSmrgshift
4556aa98702cSmrghost_cpu=$1
4557aa98702cSmrghost_vendor=$2
4558aa98702cSmrgshift; shift
4559aa98702cSmrg# Remember, the first character of IFS is used to create $*,
4560aa98702cSmrg# except with old shells:
4561aa98702cSmrghost_os=$*
4562aa98702cSmrgIFS=$ac_save_IFS
4563aa98702cSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4564aa98702cSmrg
4565aa98702cSmrg
4566aa98702cSmrg
4567aa98702cSmrg
4568aa98702cSmrg
4569aa98702cSmrgif  test "x$GCC" = xyes ; then
4570aa98702cSmrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4571aa98702cSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4572aa98702cSmrg-Wbad-function-cast"
4573aa98702cSmrg    case `$CC -dumpversion` in
4574aa98702cSmrg    3.4.* | 4.*)
4575aa98702cSmrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4576aa98702cSmrg	;;
4577aa98702cSmrg    esac
4578aa98702cSmrgelse
4579aa98702cSmrg    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4580aa98702cSmrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4581aa98702cSmrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4582aa98702cSmrg  $as_echo_n "(cached) " >&6
4583aa98702cSmrgelse
4584aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
4585aa98702cSmrg/* confdefs.h.  */
4586aa98702cSmrg_ACEOF
4587aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4588aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4589aa98702cSmrg/* end confdefs.h.  */
4590aa98702cSmrg$ac_includes_default
4591aa98702cSmrgint
4592aa98702cSmrgmain ()
4593aa98702cSmrg{
4594aa98702cSmrg#ifndef __SUNPRO_C
4595aa98702cSmrg  (void) __SUNPRO_C;
4596aa98702cSmrg#endif
4597aa98702cSmrg
4598aa98702cSmrg  ;
4599aa98702cSmrg  return 0;
4600aa98702cSmrg}
4601aa98702cSmrg_ACEOF
4602aa98702cSmrgrm -f conftest.$ac_objext
4603aa98702cSmrgif { (ac_try="$ac_compile"
4604aa98702cSmrgcase "(($ac_try" in
4605aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606aa98702cSmrg  *) ac_try_echo=$ac_try;;
4607aa98702cSmrgesac
4608aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4609aa98702cSmrg$as_echo "$ac_try_echo") >&5
4610aa98702cSmrg  (eval "$ac_compile") 2>conftest.er1
4611aa98702cSmrg  ac_status=$?
4612aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
4613aa98702cSmrg  rm -f conftest.er1
4614aa98702cSmrg  cat conftest.err >&5
4615aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616aa98702cSmrg  (exit $ac_status); } && {
4617aa98702cSmrg	 test -z "$ac_c_werror_flag" ||
4618aa98702cSmrg	 test ! -s conftest.err
4619aa98702cSmrg       } && test -s conftest.$ac_objext; then
4620aa98702cSmrg  ac_cv_have_decl___SUNPRO_C=yes
4621aa98702cSmrgelse
4622aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
4623aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
4624aa98702cSmrg
4625aa98702cSmrg	ac_cv_have_decl___SUNPRO_C=no
4626aa98702cSmrgfi
4627aa98702cSmrg
4628aa98702cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629aa98702cSmrgfi
4630aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4631aa98702cSmrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4632aa98702cSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4633aa98702cSmrg  SUNCC="yes"
4634aa98702cSmrgelse
4635aa98702cSmrg  SUNCC="no"
4636aa98702cSmrgfi
4637aa98702cSmrg
4638aa98702cSmrg    if test "x$SUNCC" = "xyes"; then
4639aa98702cSmrg	CWARNFLAGS="-v"
4640aa98702cSmrg    fi
4641aa98702cSmrgfi
4642aa98702cSmrg
4643aa98702cSmrg# Check whether --enable-silent-rules was given.
4644aa98702cSmrgif test "${enable_silent_rules+set}" = set; then
4645aa98702cSmrg  enableval=$enable_silent_rules;
4646aa98702cSmrgfi
4647aa98702cSmrg
4648aa98702cSmrgcase $enable_silent_rules in
4649aa98702cSmrgyes) AM_DEFAULT_VERBOSITY=0;;
4650aa98702cSmrgno)  AM_DEFAULT_VERBOSITY=1;;
4651aa98702cSmrg*)   AM_DEFAULT_VERBOSITY=0;;
4652aa98702cSmrgesac
4653aa98702cSmrgAM_BACKSLASH='\'
4654aa98702cSmrg
4655aa98702cSmrg
4656aa98702cSmrg
4657aa98702cSmrg
4658aa98702cSmrg
4659aa98702cSmrg
4660aa98702cSmrg
4661aa98702cSmrg# Check whether --enable-strict-compilation was given.
4662aa98702cSmrgif test "${enable_strict_compilation+set}" = set; then
4663aa98702cSmrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4664aa98702cSmrgelse
4665aa98702cSmrg  STRICT_COMPILE=no
4666aa98702cSmrgfi
4667aa98702cSmrg
4668aa98702cSmrgif test "x$STRICT_COMPILE" = "xyes"; then
4669aa98702cSmrg	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4670aa98702cSmrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4671aa98702cSmrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4672aa98702cSmrg  $as_echo_n "(cached) " >&6
4673aa98702cSmrgelse
4674aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
4675aa98702cSmrg/* confdefs.h.  */
4676aa98702cSmrg_ACEOF
4677aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4678aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4679aa98702cSmrg/* end confdefs.h.  */
4680aa98702cSmrg$ac_includes_default
4681aa98702cSmrgint
4682aa98702cSmrgmain ()
4683aa98702cSmrg{
4684aa98702cSmrg#ifndef __SUNPRO_C
4685aa98702cSmrg  (void) __SUNPRO_C;
4686aa98702cSmrg#endif
4687aa98702cSmrg
4688aa98702cSmrg  ;
4689aa98702cSmrg  return 0;
4690aa98702cSmrg}
4691aa98702cSmrg_ACEOF
4692aa98702cSmrgrm -f conftest.$ac_objext
4693aa98702cSmrgif { (ac_try="$ac_compile"
4694aa98702cSmrgcase "(($ac_try" in
4695aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4696aa98702cSmrg  *) ac_try_echo=$ac_try;;
4697aa98702cSmrgesac
4698aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4699aa98702cSmrg$as_echo "$ac_try_echo") >&5
4700aa98702cSmrg  (eval "$ac_compile") 2>conftest.er1
4701aa98702cSmrg  ac_status=$?
4702aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
4703aa98702cSmrg  rm -f conftest.er1
4704aa98702cSmrg  cat conftest.err >&5
4705aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706aa98702cSmrg  (exit $ac_status); } && {
4707aa98702cSmrg	 test -z "$ac_c_werror_flag" ||
4708aa98702cSmrg	 test ! -s conftest.err
4709aa98702cSmrg       } && test -s conftest.$ac_objext; then
4710aa98702cSmrg  ac_cv_have_decl___SUNPRO_C=yes
4711aa98702cSmrgelse
4712aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
4713aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
4714aa98702cSmrg
4715aa98702cSmrg	ac_cv_have_decl___SUNPRO_C=no
4716aa98702cSmrgfi
4717aa98702cSmrg
4718aa98702cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4719aa98702cSmrgfi
4720aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4721aa98702cSmrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4722aa98702cSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4723aa98702cSmrg  SUNCC="yes"
4724aa98702cSmrgelse
4725aa98702cSmrg  SUNCC="no"
4726aa98702cSmrgfi
4727aa98702cSmrg
4728aa98702cSmrg	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4729aa98702cSmrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4730aa98702cSmrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4731aa98702cSmrg  $as_echo_n "(cached) " >&6
4732aa98702cSmrgelse
4733aa98702cSmrg  cat >conftest.$ac_ext <<_ACEOF
4734aa98702cSmrg/* confdefs.h.  */
4735aa98702cSmrg_ACEOF
4736aa98702cSmrgcat confdefs.h >>conftest.$ac_ext
4737aa98702cSmrgcat >>conftest.$ac_ext <<_ACEOF
4738aa98702cSmrg/* end confdefs.h.  */
4739aa98702cSmrg$ac_includes_default
4740aa98702cSmrgint
4741aa98702cSmrgmain ()
4742aa98702cSmrg{
4743aa98702cSmrg#ifndef __INTEL_COMPILER
4744aa98702cSmrg  (void) __INTEL_COMPILER;
4745aa98702cSmrg#endif
4746aa98702cSmrg
4747aa98702cSmrg  ;
4748aa98702cSmrg  return 0;
4749aa98702cSmrg}
4750aa98702cSmrg_ACEOF
4751aa98702cSmrgrm -f conftest.$ac_objext
4752aa98702cSmrgif { (ac_try="$ac_compile"
4753aa98702cSmrgcase "(($ac_try" in
4754aa98702cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755aa98702cSmrg  *) ac_try_echo=$ac_try;;
4756aa98702cSmrgesac
4757aa98702cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4758aa98702cSmrg$as_echo "$ac_try_echo") >&5
4759aa98702cSmrg  (eval "$ac_compile") 2>conftest.er1
4760aa98702cSmrg  ac_status=$?
4761aa98702cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
4762aa98702cSmrg  rm -f conftest.er1
4763aa98702cSmrg  cat conftest.err >&5
4764aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765aa98702cSmrg  (exit $ac_status); } && {
4766aa98702cSmrg	 test -z "$ac_c_werror_flag" ||
4767aa98702cSmrg	 test ! -s conftest.err
4768aa98702cSmrg       } && test -s conftest.$ac_objext; then
4769aa98702cSmrg  ac_cv_have_decl___INTEL_COMPILER=yes
4770aa98702cSmrgelse
4771aa98702cSmrg  $as_echo "$as_me: failed program was:" >&5
4772aa98702cSmrgsed 's/^/| /' conftest.$ac_ext >&5
4773aa98702cSmrg
4774aa98702cSmrg	ac_cv_have_decl___INTEL_COMPILER=no
4775aa98702cSmrgfi
4776aa98702cSmrg
4777aa98702cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778aa98702cSmrgfi
4779aa98702cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4780aa98702cSmrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4781aa98702cSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
4782aa98702cSmrg  INTELCC="yes"
4783aa98702cSmrgelse
4784aa98702cSmrg  INTELCC="no"
4785aa98702cSmrgfi
4786aa98702cSmrg
4787aa98702cSmrg	if test "x$GCC" = xyes ; then
4788aa98702cSmrg		STRICT_CFLAGS="-pedantic -Werror"
4789aa98702cSmrg	elif test "x$SUNCC" = "xyes"; then
4790aa98702cSmrg		STRICT_CFLAGS="-errwarn"
4791aa98702cSmrg    elif test "x$INTELCC" = "xyes"; then
4792aa98702cSmrg		STRICT_CFLAGS="-Werror"
4793aa98702cSmrg	fi
4794aa98702cSmrgfi
4795aa98702cSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4796aa98702cSmrg
4797aa98702cSmrg
4798aa98702cSmrg
4799aa98702cSmrg
4800aa98702cSmrg# Check whether --with-release-version was given.
4801aa98702cSmrgif test "${with_release_version+set}" = set; then
4802aa98702cSmrg  withval=$with_release_version; RELEASE_VERSION="$withval"
4803aa98702cSmrgelse
4804aa98702cSmrg  RELEASE_VERSION=""
4805aa98702cSmrgfi
4806aa98702cSmrg
4807aa98702cSmrg	if test "x$RELEASE_VERSION" != "x"; then
4808aa98702cSmrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
4809aa98702cSmrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4810aa98702cSmrg		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4811aa98702cSmrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4812aa98702cSmrg	fi
4813aa98702cSmrg
4814aa98702cSmrgcat >>confdefs.h <<_ACEOF
4815aa98702cSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4816aa98702cSmrg_ACEOF
4817aa98702cSmrg
4818aa98702cSmrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4819aa98702cSmrg	if test "x$PVM" = "x"; then
4820aa98702cSmrg		PVM="0"
4821aa98702cSmrg	fi
4822aa98702cSmrg
4823aa98702cSmrgcat >>confdefs.h <<_ACEOF
4824aa98702cSmrg#define PACKAGE_VERSION_MINOR $PVM
4825aa98702cSmrg_ACEOF
4826aa98702cSmrg
4827aa98702cSmrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4828aa98702cSmrg	if test "x$PVP" = "x"; then
4829aa98702cSmrg		PVP="0"
4830aa98702cSmrg	fi
4831aa98702cSmrg
4832aa98702cSmrgcat >>confdefs.h <<_ACEOF
4833aa98702cSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
4834aa98702cSmrg_ACEOF
4835aa98702cSmrg
4836aa98702cSmrg
4837aa98702cSmrg
4838aa98702cSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4839aa98702cSmrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
4840aa98702cSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
4841aa98702cSmrg
4842aa98702cSmrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
4843aa98702cSmrg
4844aa98702cSmrg
4845aa98702cSmrg
4846aa98702cSmrg
4847aa98702cSmrg
4848aa98702cSmrgif test x$APP_MAN_SUFFIX = x    ; then
4849aa98702cSmrg    APP_MAN_SUFFIX=1
4850aa98702cSmrgfi
4851aa98702cSmrgif test x$APP_MAN_DIR = x    ; then
4852aa98702cSmrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4853aa98702cSmrgfi
4854aa98702cSmrg
4855aa98702cSmrgif test x$LIB_MAN_SUFFIX = x    ; then
4856aa98702cSmrg    LIB_MAN_SUFFIX=3
4857aa98702cSmrgfi
4858aa98702cSmrgif test x$LIB_MAN_DIR = x    ; then
4859aa98702cSmrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4860aa98702cSmrgfi
4861aa98702cSmrg
4862aa98702cSmrgif test x$FILE_MAN_SUFFIX = x    ; then
4863aa98702cSmrg    case $host_os in
4864aa98702cSmrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
4865aa98702cSmrg	*)		FILE_MAN_SUFFIX=5  ;;
4866aa98702cSmrg    esac
4867aa98702cSmrgfi
4868aa98702cSmrgif test x$FILE_MAN_DIR = x    ; then
4869aa98702cSmrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4870aa98702cSmrgfi
4871aa98702cSmrg
4872aa98702cSmrgif test x$MISC_MAN_SUFFIX = x    ; then
4873aa98702cSmrg    case $host_os in
4874aa98702cSmrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
4875aa98702cSmrg	*)		MISC_MAN_SUFFIX=7  ;;
4876aa98702cSmrg    esac
4877aa98702cSmrgfi
4878aa98702cSmrgif test x$MISC_MAN_DIR = x    ; then
4879aa98702cSmrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4880aa98702cSmrgfi
4881aa98702cSmrg
4882aa98702cSmrgif test x$DRIVER_MAN_SUFFIX = x    ; then
4883aa98702cSmrg    case $host_os in
4884aa98702cSmrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4885aa98702cSmrg	*)		DRIVER_MAN_SUFFIX=4  ;;
4886aa98702cSmrg    esac
4887aa98702cSmrgfi
4888aa98702cSmrgif test x$DRIVER_MAN_DIR = x    ; then
4889aa98702cSmrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4890aa98702cSmrgfi
4891aa98702cSmrg
4892aa98702cSmrgif test x$ADMIN_MAN_SUFFIX = x    ; then
4893aa98702cSmrg    case $host_os in
4894aa98702cSmrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4895aa98702cSmrg	*)		ADMIN_MAN_SUFFIX=8  ;;
4896aa98702cSmrg    esac
4897aa98702cSmrgfi
4898aa98702cSmrgif test x$ADMIN_MAN_DIR = x    ; then
4899aa98702cSmrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4900aa98702cSmrgfi
4901aa98702cSmrg
4902aa98702cSmrg
4903aa98702cSmrg
4904aa98702cSmrg
4905aa98702cSmrg
4906aa98702cSmrg
4907aa98702cSmrg
4908aa98702cSmrg
4909aa98702cSmrg
4910aa98702cSmrg
4911aa98702cSmrg
4912aa98702cSmrg
4913aa98702cSmrg
4914aa98702cSmrg
4915aa98702cSmrg
4916aa98702cSmrg
4917aa98702cSmrg
4918aa98702cSmrg# Checks for pkg-config packages
4919aa98702cSmrg
4920aa98702cSmrg
4921aa98702cSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4922aa98702cSmrg	if test -n "$ac_tool_prefix"; then
4923aa98702cSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4924aa98702cSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4925aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4926aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
4927aa98702cSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4928aa98702cSmrg  $as_echo_n "(cached) " >&6
4929aa98702cSmrgelse
4930aa98702cSmrg  case $PKG_CONFIG in
4931aa98702cSmrg  [\\/]* | ?:[\\/]*)
4932aa98702cSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4933aa98702cSmrg  ;;
4934aa98702cSmrg  *)
4935aa98702cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936aa98702cSmrgfor as_dir in $PATH
4937aa98702cSmrgdo
4938aa98702cSmrg  IFS=$as_save_IFS
4939aa98702cSmrg  test -z "$as_dir" && as_dir=.
4940aa98702cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
4941aa98702cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942aa98702cSmrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4943aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4944aa98702cSmrg    break 2
4945aa98702cSmrg  fi
4946aa98702cSmrgdone
4947aa98702cSmrgdone
4948aa98702cSmrgIFS=$as_save_IFS
4949aa98702cSmrg
4950aa98702cSmrg  ;;
4951f299d47fSmrgesac
4952f299d47fSmrgfi
4953f299d47fSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
4954f299d47fSmrgif test -n "$PKG_CONFIG"; then
4955aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4956aa98702cSmrg$as_echo "$PKG_CONFIG" >&6; }
4957f299d47fSmrgelse
4958aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
4959aa98702cSmrg$as_echo "no" >&6; }
4960f299d47fSmrgfi
4961f299d47fSmrg
4962f299d47fSmrg
4963f299d47fSmrgfi
4964f299d47fSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
4965f299d47fSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
4966f299d47fSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
4967f299d47fSmrgset dummy pkg-config; ac_word=$2
4968aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4969aa98702cSmrg$as_echo_n "checking for $ac_word... " >&6; }
4970f299d47fSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4971aa98702cSmrg  $as_echo_n "(cached) " >&6
4972f299d47fSmrgelse
4973f299d47fSmrg  case $ac_pt_PKG_CONFIG in
4974f299d47fSmrg  [\\/]* | ?:[\\/]*)
4975f299d47fSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4976f299d47fSmrg  ;;
4977f299d47fSmrg  *)
4978f299d47fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979f299d47fSmrgfor as_dir in $PATH
4980f299d47fSmrgdo
4981f299d47fSmrg  IFS=$as_save_IFS
4982f299d47fSmrg  test -z "$as_dir" && as_dir=.
4983f299d47fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
4984f299d47fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985f299d47fSmrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4986aa98702cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4987f299d47fSmrg    break 2
4988f299d47fSmrg  fi
4989f299d47fSmrgdone
4990f299d47fSmrgdone
4991f299d47fSmrgIFS=$as_save_IFS
4992f299d47fSmrg
4993f299d47fSmrg  ;;
4994f299d47fSmrgesac
4995f299d47fSmrgfi
4996f299d47fSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4997f299d47fSmrgif test -n "$ac_pt_PKG_CONFIG"; then
4998aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4999aa98702cSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5000f299d47fSmrgelse
5001aa98702cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
5002aa98702cSmrg$as_echo "no" >&6; }
5003f299d47fSmrgfi
5004f299d47fSmrg
5005f299d47fSmrg  if test "x$ac_pt_PKG_CONFIG" = x; then
5006f299d47fSmrg    PKG_CONFIG=""
5007f299d47fSmrg  else
5008f299d47fSmrg    case $cross_compiling:$ac_tool_warned in
5009f299d47fSmrgyes:)
5010aa98702cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5011aa98702cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5012f299d47fSmrgac_tool_warned=yes ;;
5013f299d47fSmrgesac
5014f299d47fSmrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
5015f299d47fSmrg  fi
5016f299d47fSmrgelse
5017aa98702cSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5018f299d47fSmrgfi
5019f299d47fSmrg
5020f299d47fSmrgfi
5021aa98702cSmrgif test -n "$PKG_CONFIG"; then
5022aa98702cSmrg	_pkg_min_version=0.9.0
5023aa98702cSmrg	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5024aa98702cSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5025aa98702cSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5026aa98702cSmrg		{ $as_echo "$as_me:$LINENO: result: yes" >&5
5027aa98702cSmrg$as_echo "yes" >&6; }
5028aa98702cSmrg	else
5029aa98702cSmrg		{ $as_echo "$as_me:$LINENO: result: no" >&5
5030aa98702cSmrg$as_echo "no" >&6; }
5031aa98702cSmrg		PKG_CONFIG=""
5032aa98702cSmrg	fi
5033aa98702cSmrg
5034f299d47fSmrgfi
5035f299d47fSmrg
5036aa98702cSmrgpkg_failed=no
5037aa98702cSmrg{ $as_echo "$as_me:$LINENO: checking for XEV" >&5
5038aa98702cSmrg$as_echo_n "checking for XEV... " >&6; }
5039aa98702cSmrg
5040aa98702cSmrgif test -n "$XEV_CFLAGS"; then
5041aa98702cSmrg    pkg_cv_XEV_CFLAGS="$XEV_CFLAGS"
5042aa98702cSmrg elif test -n "$PKG_CONFIG"; then
5043aa98702cSmrg    if test -n "$PKG_CONFIG" && \
5044aa98702cSmrg    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
5045aa98702cSmrg  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
5046aa98702cSmrg  ac_status=$?
5047aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048aa98702cSmrg  (exit $ac_status); }; then
5049aa98702cSmrg  pkg_cv_XEV_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
5050aa98702cSmrgelse
5051aa98702cSmrg  pkg_failed=yes
5052f299d47fSmrgfi
5053aa98702cSmrg else
5054aa98702cSmrg    pkg_failed=untried
5055f299d47fSmrgfi
5056aa98702cSmrgif test -n "$XEV_LIBS"; then
5057aa98702cSmrg    pkg_cv_XEV_LIBS="$XEV_LIBS"
5058aa98702cSmrg elif test -n "$PKG_CONFIG"; then
5059aa98702cSmrg    if test -n "$PKG_CONFIG" && \
5060aa98702cSmrg    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
5061aa98702cSmrg  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
5062aa98702cSmrg  ac_status=$?
5063aa98702cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064aa98702cSmrg  (exit $ac_status); }; then
5065aa98702cSmrg  pkg_cv_XEV_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
5066aa98702cSmrgelse
5067aa98702cSmrg  pkg_failed=yes
5068f299d47fSmrgfi
5069aa98702cSmrg else
5070aa98702cSmrg    pkg_failed=untried
5071f299d47fSmrgfi
5072f299d47fSmrg
5073f299d47fSmrg
5074f299d47fSmrg
5075aa98702cSmrgif test $pkg_failed = yes; then
5076f299d47fSmrg
5077aa98702cSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5078aa98702cSmrg        _pkg_short_errors_supported=yes
5079aa98702cSmrgelse
5080aa98702cSmrg        _pkg_short_errors_supported=no
5081aa98702cSmrgfi
5082aa98702cSmrg        if test $_pkg_short_errors_supported = yes; then
5083aa98702cSmrg	        XEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
5084aa98702cSmrg        else
5085aa98702cSmrg	        XEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
5086aa98702cSmrg        fi
5087aa98702cSmrg	# Put the nasty error message in config.log where it belongs
5088aa98702cSmrg	echo "$XEV_PKG_ERRORS" >&5
5089f299d47fSmrg
5090aa98702cSmrg	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
5091f299d47fSmrg
5092aa98702cSmrg$XEV_PKG_ERRORS
5093f299d47fSmrg
5094aa98702cSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
5095aa98702cSmrginstalled software in a non-standard prefix.
5096f299d47fSmrg
5097aa98702cSmrgAlternatively, you may set the environment variables XEV_CFLAGS
5098aa98702cSmrgand XEV_LIBS to avoid the need to call pkg-config.
5099aa98702cSmrgSee the pkg-config man page for more details.
5100aa98702cSmrg" >&5
5101aa98702cSmrg$as_echo "$as_me: error: Package requirements (x11) were not met:
5102f299d47fSmrg
5103aa98702cSmrg$XEV_PKG_ERRORS
5104f299d47fSmrg
5105aa98702cSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
5106aa98702cSmrginstalled software in a non-standard prefix.
5107f299d47fSmrg
5108aa98702cSmrgAlternatively, you may set the environment variables XEV_CFLAGS
5109aa98702cSmrgand XEV_LIBS to avoid the need to call pkg-config.
5110aa98702cSmrgSee the pkg-config man page for more details.
5111aa98702cSmrg" >&2;}
5112aa98702cSmrg   { (exit 1); exit 1; }; }
5113aa98702cSmrgelif test $pkg_failed = untried; then
5114aa98702cSmrg	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5115aa98702cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5116aa98702cSmrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5117aa98702cSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
5118aa98702cSmrgpath to pkg-config.
5119f299d47fSmrg
5120aa98702cSmrgAlternatively, you may set the environment variables XEV_CFLAGS
5121aa98702cSmrgand XEV_LIBS to avoid the need to call pkg-config.
5122aa98702cSmrgSee the pkg-config man page for more details.
5123f299d47fSmrg
5124aa98702cSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
5125aa98702cSmrgSee \`config.log' for more details." >&5
5126aa98702cSmrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5127aa98702cSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
5128aa98702cSmrgpath to pkg-config.
5129f299d47fSmrg
5130aa98702cSmrgAlternatively, you may set the environment variables XEV_CFLAGS
5131aa98702cSmrgand XEV_LIBS to avoid the need to call pkg-config.
5132aa98702cSmrgSee the pkg-config man page for more details.
5133f299d47fSmrg
5134aa98702cSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
5135aa98702cSmrgSee \`config.log' for more details." >&2;}
5136aa98702cSmrg   { (exit 1); exit 1; }; }; }
5137f299d47fSmrgelse
5138aa98702cSmrg	XEV_CFLAGS=$pkg_cv_XEV_CFLAGS
5139aa98702cSmrg	XEV_LIBS=$pkg_cv_XEV_LIBS
5140aa98702cSmrg        { $as_echo "$as_me:$LINENO: result: yes" >&5
5141aa98702cSmrg$as_echo "yes" >&6; }
5142aa98702cSmrg	:
5143f299d47fSmrgfi
5144f299d47fSmrg
5145f299d47fSmrg
5146f299d47fSmrg
5147f299d47fSmrgac_config_files="$ac_config_files Makefile"
5148f299d47fSmrg
5149f299d47fSmrgcat >confcache <<\_ACEOF
5150f299d47fSmrg# This file is a shell script that caches the results of configure
5151f299d47fSmrg# tests run on this system so they can be shared between configure
5152f299d47fSmrg# scripts and configure runs, see configure's option --config-cache.
5153f299d47fSmrg# It is not useful on other systems.  If it contains results you don't
5154f299d47fSmrg# want to keep, you may remove or edit it.
5155f299d47fSmrg#
5156f299d47fSmrg# config.status only pays attention to the cache file if you give it
5157f299d47fSmrg# the --recheck option to rerun configure.
5158f299d47fSmrg#
5159f299d47fSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
5160f299d47fSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
5161f299d47fSmrg# following values.
5162f299d47fSmrg
5163f299d47fSmrg_ACEOF
5164f299d47fSmrg
5165f299d47fSmrg# The following way of writing the cache mishandles newlines in values,
5166f299d47fSmrg# but we know of no workaround that is simple, portable, and efficient.
5167f299d47fSmrg# So, we kill variables containing newlines.
5168f299d47fSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
5169f299d47fSmrg# and sets the high bit in the cache file unless we assign to the vars.
5170f299d47fSmrg(
5171f299d47fSmrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5172f299d47fSmrg    eval ac_val=\$$ac_var
5173f299d47fSmrg    case $ac_val in #(
5174f299d47fSmrg    *${as_nl}*)
5175f299d47fSmrg      case $ac_var in #(
5176aa98702cSmrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5177aa98702cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5178f299d47fSmrg      esac
5179f299d47fSmrg      case $ac_var in #(
5180f299d47fSmrg      _ | IFS | as_nl) ;; #(
5181aa98702cSmrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5182f299d47fSmrg      *) $as_unset $ac_var ;;
5183f299d47fSmrg      esac ;;
5184f299d47fSmrg    esac
5185f299d47fSmrg  done
5186f299d47fSmrg
5187f299d47fSmrg  (set) 2>&1 |
5188f299d47fSmrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5189f299d47fSmrg    *${as_nl}ac_space=\ *)
5190f299d47fSmrg      # `set' does not quote correctly, so add quotes (double-quote
5191f299d47fSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
5192f299d47fSmrg      sed -n \
5193f299d47fSmrg	"s/'/'\\\\''/g;
5194f299d47fSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5195f299d47fSmrg      ;; #(
5196f299d47fSmrg    *)
5197f299d47fSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
5198f299d47fSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5199f299d47fSmrg      ;;
5200f299d47fSmrg    esac |
5201f299d47fSmrg    sort
5202f299d47fSmrg) |
5203f299d47fSmrg  sed '
5204f299d47fSmrg     /^ac_cv_env_/b end
5205f299d47fSmrg     t clear
5206f299d47fSmrg     :clear
5207f299d47fSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5208f299d47fSmrg     t end
5209f299d47fSmrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5210f299d47fSmrg     :end' >>confcache
5211f299d47fSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5212f299d47fSmrg  if test -w "$cache_file"; then
5213f299d47fSmrg    test "x$cache_file" != "x/dev/null" &&
5214aa98702cSmrg      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5215aa98702cSmrg$as_echo "$as_me: updating cache $cache_file" >&6;}
5216f299d47fSmrg    cat confcache >$cache_file
5217f299d47fSmrg  else
5218aa98702cSmrg    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5219aa98702cSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5220f299d47fSmrg  fi
5221f299d47fSmrgfi
5222f299d47fSmrgrm -f confcache
5223f299d47fSmrg
5224f299d47fSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
5225f299d47fSmrg# Let make expand exec_prefix.
5226f299d47fSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5227f299d47fSmrg
5228f299d47fSmrgDEFS=-DHAVE_CONFIG_H
5229f299d47fSmrg
5230f299d47fSmrgac_libobjs=
5231f299d47fSmrgac_ltlibobjs=
5232f299d47fSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5233f299d47fSmrg  # 1. Remove the extension, and $U if already installed.
5234f299d47fSmrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5235aa98702cSmrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5236f299d47fSmrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5237f299d47fSmrg  #    will be set to the directory where LIBOBJS objects are built.
5238f299d47fSmrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5239f299d47fSmrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5240f299d47fSmrgdone
5241f299d47fSmrgLIBOBJS=$ac_libobjs
5242f299d47fSmrg
5243f299d47fSmrgLTLIBOBJS=$ac_ltlibobjs
5244f299d47fSmrg
5245f299d47fSmrg
5246aa98702cSmrg if test -n "$EXEEXT"; then
5247aa98702cSmrg  am__EXEEXT_TRUE=
5248aa98702cSmrg  am__EXEEXT_FALSE='#'
5249aa98702cSmrgelse
5250aa98702cSmrg  am__EXEEXT_TRUE='#'
5251aa98702cSmrg  am__EXEEXT_FALSE=
5252aa98702cSmrgfi
5253aa98702cSmrg
5254f299d47fSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5255aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5256f299d47fSmrgUsually this means the macro was only invoked conditionally." >&5
5257aa98702cSmrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5258f299d47fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5259f299d47fSmrg   { (exit 1); exit 1; }; }
5260f299d47fSmrgfi
5261f299d47fSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5262aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5263f299d47fSmrgUsually this means the macro was only invoked conditionally." >&5
5264aa98702cSmrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5265f299d47fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5266f299d47fSmrg   { (exit 1); exit 1; }; }
5267f299d47fSmrgfi
5268f299d47fSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5269aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5270f299d47fSmrgUsually this means the macro was only invoked conditionally." >&5
5271aa98702cSmrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5272f299d47fSmrgUsually this means the macro was only invoked conditionally." >&2;}
5273f299d47fSmrg   { (exit 1); exit 1; }; }
5274f299d47fSmrgfi
5275f299d47fSmrg
5276f299d47fSmrg: ${CONFIG_STATUS=./config.status}
5277aa98702cSmrgac_write_fail=0
5278f299d47fSmrgac_clean_files_save=$ac_clean_files
5279f299d47fSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
5280aa98702cSmrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5281aa98702cSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5282aa98702cSmrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5283f299d47fSmrg#! $SHELL
5284f299d47fSmrg# Generated by $as_me.
5285f299d47fSmrg# Run this file to recreate the current configuration.
5286f299d47fSmrg# Compiler output produced by configure, useful for debugging
5287f299d47fSmrg# configure, is in config.log if it exists.
5288f299d47fSmrg
5289f299d47fSmrgdebug=false
5290f299d47fSmrgac_cs_recheck=false
5291f299d47fSmrgac_cs_silent=false
5292f299d47fSmrgSHELL=\${CONFIG_SHELL-$SHELL}
5293f299d47fSmrg_ACEOF
5294f299d47fSmrg
5295aa98702cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5296f299d47fSmrg## --------------------- ##
5297f299d47fSmrg## M4sh Initialization.  ##
5298f299d47fSmrg## --------------------- ##
5299f299d47fSmrg
5300f299d47fSmrg# Be more Bourne compatible
5301f299d47fSmrgDUALCASE=1; export DUALCASE # for MKS sh
5302f299d47fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5303f299d47fSmrg  emulate sh
5304f299d47fSmrg  NULLCMD=:
5305aa98702cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5306f299d47fSmrg  # is contrary to our usage.  Disable this feature.
5307f299d47fSmrg  alias -g '${1+"$@"}'='"$@"'
5308f299d47fSmrg  setopt NO_GLOB_SUBST
5309f299d47fSmrgelse
5310f299d47fSmrg  case `(set -o) 2>/dev/null` in
5311f299d47fSmrg  *posix*) set -o posix ;;
5312f299d47fSmrgesac
5313f299d47fSmrg
5314f299d47fSmrgfi
5315f299d47fSmrg
5316f299d47fSmrg
5317f299d47fSmrg
5318f299d47fSmrg
5319f299d47fSmrg# PATH needs CR
5320f299d47fSmrg# Avoid depending upon Character Ranges.
5321f299d47fSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
5322f299d47fSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5323f299d47fSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
5324f299d47fSmrgas_cr_digits='0123456789'
5325f299d47fSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
5326f299d47fSmrg
5327aa98702cSmrgas_nl='
5328aa98702cSmrg'
5329aa98702cSmrgexport as_nl
5330aa98702cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
5331aa98702cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5332aa98702cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5333aa98702cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5334aa98702cSmrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5335aa98702cSmrg  as_echo='printf %s\n'
5336aa98702cSmrg  as_echo_n='printf %s'
5337aa98702cSmrgelse
5338aa98702cSmrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5339aa98702cSmrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5340aa98702cSmrg    as_echo_n='/usr/ucb/echo -n'
5341f299d47fSmrg  else
5342aa98702cSmrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5343aa98702cSmrg    as_echo_n_body='eval
5344aa98702cSmrg      arg=$1;
5345aa98702cSmrg      case $arg in
5346aa98702cSmrg      *"$as_nl"*)
5347aa98702cSmrg	expr "X$arg" : "X\\(.*\\)$as_nl";
5348aa98702cSmrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5349aa98702cSmrg      esac;
5350aa98702cSmrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5351aa98702cSmrg    '
5352aa98702cSmrg    export as_echo_n_body
5353aa98702cSmrg    as_echo_n='sh -c $as_echo_n_body as_echo'
5354f299d47fSmrg  fi
5355aa98702cSmrg  export as_echo_body
5356aa98702cSmrg  as_echo='sh -c $as_echo_body as_echo'
5357aa98702cSmrgfi
5358aa98702cSmrg
5359aa98702cSmrg# The user is always right.
5360aa98702cSmrgif test "${PATH_SEPARATOR+set}" != set; then
5361aa98702cSmrg  PATH_SEPARATOR=:
5362aa98702cSmrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5363aa98702cSmrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5364aa98702cSmrg      PATH_SEPARATOR=';'
5365aa98702cSmrg  }
5366f299d47fSmrgfi
5367f299d47fSmrg
5368f299d47fSmrg# Support unset when possible.
5369f299d47fSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5370f299d47fSmrg  as_unset=unset
5371f299d47fSmrgelse
5372f299d47fSmrg  as_unset=false
5373f299d47fSmrgfi
5374f299d47fSmrg
5375f299d47fSmrg
5376f299d47fSmrg# IFS
5377f299d47fSmrg# We need space, tab and new line, in precisely that order.  Quoting is
5378f299d47fSmrg# there to prevent editors from complaining about space-tab.
5379f299d47fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5380f299d47fSmrg# splitting by setting IFS to empty value.)
5381f299d47fSmrgIFS=" ""	$as_nl"
5382f299d47fSmrg
5383f299d47fSmrg# Find who we are.  Look in the path if we contain no directory separator.
5384f299d47fSmrgcase $0 in
5385f299d47fSmrg  *[\\/]* ) as_myself=$0 ;;
5386f299d47fSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387f299d47fSmrgfor as_dir in $PATH
5388f299d47fSmrgdo
5389f299d47fSmrg  IFS=$as_save_IFS
5390f299d47fSmrg  test -z "$as_dir" && as_dir=.
5391f299d47fSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5392f299d47fSmrgdone
5393f299d47fSmrgIFS=$as_save_IFS
5394f299d47fSmrg
5395f299d47fSmrg     ;;
5396f299d47fSmrgesac
5397f299d47fSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
5398f299d47fSmrg# in which case we are not to be found in the path.
5399f299d47fSmrgif test "x$as_myself" = x; then
5400f299d47fSmrg  as_myself=$0
5401f299d47fSmrgfi
5402f299d47fSmrgif test ! -f "$as_myself"; then
5403aa98702cSmrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5404f299d47fSmrg  { (exit 1); exit 1; }
5405f299d47fSmrgfi
5406f299d47fSmrg
5407f299d47fSmrg# Work around bugs in pre-3.0 UWIN ksh.
5408f299d47fSmrgfor as_var in ENV MAIL MAILPATH
5409f299d47fSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5410f299d47fSmrgdone
5411f299d47fSmrgPS1='$ '
5412f299d47fSmrgPS2='> '
5413f299d47fSmrgPS4='+ '
5414f299d47fSmrg
5415f299d47fSmrg# NLS nuisances.
5416aa98702cSmrgLC_ALL=C
5417aa98702cSmrgexport LC_ALL
5418aa98702cSmrgLANGUAGE=C
5419aa98702cSmrgexport LANGUAGE
5420f299d47fSmrg
5421f299d47fSmrg# Required to use basename.
5422f299d47fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
5423f299d47fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5424f299d47fSmrg  as_expr=expr
5425f299d47fSmrgelse
5426f299d47fSmrg  as_expr=false
5427f299d47fSmrgfi
5428f299d47fSmrg
5429f299d47fSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5430f299d47fSmrg  as_basename=basename
5431f299d47fSmrgelse
5432f299d47fSmrg  as_basename=false
5433f299d47fSmrgfi
5434f299d47fSmrg
5435f299d47fSmrg
5436f299d47fSmrg# Name of the executable.
5437f299d47fSmrgas_me=`$as_basename -- "$0" ||
5438f299d47fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5439f299d47fSmrg	 X"$0" : 'X\(//\)$' \| \
5440f299d47fSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5441aa98702cSmrg$as_echo X/"$0" |
5442f299d47fSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
5443f299d47fSmrg	    s//\1/
5444f299d47fSmrg	    q
5445f299d47fSmrg	  }
5446f299d47fSmrg	  /^X\/\(\/\/\)$/{
5447f299d47fSmrg	    s//\1/
5448f299d47fSmrg	    q
5449f299d47fSmrg	  }
5450f299d47fSmrg	  /^X\/\(\/\).*/{
5451f299d47fSmrg	    s//\1/
5452f299d47fSmrg	    q
5453f299d47fSmrg	  }
5454f299d47fSmrg	  s/.*/./; q'`
5455f299d47fSmrg
5456f299d47fSmrg# CDPATH.
5457f299d47fSmrg$as_unset CDPATH
5458f299d47fSmrg
5459f299d47fSmrg
5460f299d47fSmrg
5461f299d47fSmrg  as_lineno_1=$LINENO
5462f299d47fSmrg  as_lineno_2=$LINENO
5463f299d47fSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
5464f299d47fSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5465f299d47fSmrg
5466f299d47fSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5467f299d47fSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
5468f299d47fSmrg  # line-number line after each line using $LINENO; the second 'sed'
5469f299d47fSmrg  # does the real work.  The second script uses 'N' to pair each
5470f299d47fSmrg  # line-number line with the line containing $LINENO, and appends
5471f299d47fSmrg  # trailing '-' during substitution so that $LINENO is not a special
5472f299d47fSmrg  # case at line end.
5473f299d47fSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5474f299d47fSmrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5475f299d47fSmrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
5476f299d47fSmrg  sed -n '
5477f299d47fSmrg    p
5478f299d47fSmrg    /[$]LINENO/=
5479f299d47fSmrg  ' <$as_myself |
5480f299d47fSmrg    sed '
5481f299d47fSmrg      s/[$]LINENO.*/&-/
5482f299d47fSmrg      t lineno
5483f299d47fSmrg      b
5484f299d47fSmrg      :lineno
5485f299d47fSmrg      N
5486f299d47fSmrg      :loop
5487f299d47fSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5488f299d47fSmrg      t loop
5489f299d47fSmrg      s/-\n.*//
5490f299d47fSmrg    ' >$as_me.lineno &&
5491f299d47fSmrg  chmod +x "$as_me.lineno" ||
5492aa98702cSmrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5493f299d47fSmrg   { (exit 1); exit 1; }; }
5494f299d47fSmrg
5495f299d47fSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
5496f299d47fSmrg  # (the dirname of $[0] is not the place where we might find the
5497f299d47fSmrg  # original and so on.  Autoconf is especially sensitive to this).
5498f299d47fSmrg  . "./$as_me.lineno"
5499f299d47fSmrg  # Exit status is that of the last command.
5500f299d47fSmrg  exit
5501f299d47fSmrg}
5502f299d47fSmrg
5503f299d47fSmrg
5504f299d47fSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5505f299d47fSmrg  as_dirname=dirname
5506f299d47fSmrgelse
5507f299d47fSmrg  as_dirname=false
5508f299d47fSmrgfi
5509f299d47fSmrg
5510f299d47fSmrgECHO_C= ECHO_N= ECHO_T=
5511f299d47fSmrgcase `echo -n x` in
5512f299d47fSmrg-n*)
5513f299d47fSmrg  case `echo 'x\c'` in
5514f299d47fSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5515f299d47fSmrg  *)   ECHO_C='\c';;
5516f299d47fSmrg  esac;;
5517f299d47fSmrg*)
5518f299d47fSmrg  ECHO_N='-n';;
5519f299d47fSmrgesac
5520f299d47fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
5521f299d47fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5522f299d47fSmrg  as_expr=expr
5523f299d47fSmrgelse
5524f299d47fSmrg  as_expr=false
5525f299d47fSmrgfi
5526f299d47fSmrg
5527f299d47fSmrgrm -f conf$$ conf$$.exe conf$$.file
5528f299d47fSmrgif test -d conf$$.dir; then
5529f299d47fSmrg  rm -f conf$$.dir/conf$$.file
5530f299d47fSmrgelse
5531f299d47fSmrg  rm -f conf$$.dir
5532aa98702cSmrg  mkdir conf$$.dir 2>/dev/null
5533aa98702cSmrgfi
5534aa98702cSmrgif (echo >conf$$.file) 2>/dev/null; then
5535aa98702cSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5536aa98702cSmrg    as_ln_s='ln -s'
5537aa98702cSmrg    # ... but there are two gotchas:
5538aa98702cSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5539aa98702cSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5540aa98702cSmrg    # In both cases, we have to default to `cp -p'.
5541aa98702cSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5542aa98702cSmrg      as_ln_s='cp -p'
5543aa98702cSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5544aa98702cSmrg    as_ln_s=ln
5545aa98702cSmrg  else
5546f299d47fSmrg    as_ln_s='cp -p'
5547aa98702cSmrg  fi
5548f299d47fSmrgelse
5549f299d47fSmrg  as_ln_s='cp -p'
5550f299d47fSmrgfi
5551f299d47fSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5552f299d47fSmrgrmdir conf$$.dir 2>/dev/null
5553f299d47fSmrg
5554f299d47fSmrgif mkdir -p . 2>/dev/null; then
5555f299d47fSmrg  as_mkdir_p=:
5556f299d47fSmrgelse
5557f299d47fSmrg  test -d ./-p && rmdir ./-p
5558f299d47fSmrg  as_mkdir_p=false
5559f299d47fSmrgfi
5560f299d47fSmrg
5561f299d47fSmrgif test -x / >/dev/null 2>&1; then
5562f299d47fSmrg  as_test_x='test -x'
5563f299d47fSmrgelse
5564f299d47fSmrg  if ls -dL / >/dev/null 2>&1; then
5565f299d47fSmrg    as_ls_L_option=L
5566f299d47fSmrg  else
5567f299d47fSmrg    as_ls_L_option=
5568f299d47fSmrg  fi
5569f299d47fSmrg  as_test_x='
5570f299d47fSmrg    eval sh -c '\''
5571f299d47fSmrg      if test -d "$1"; then
5572aa98702cSmrg	test -d "$1/.";
5573f299d47fSmrg      else
5574f299d47fSmrg	case $1 in
5575aa98702cSmrg	-*)set "./$1";;
5576f299d47fSmrg	esac;
5577f299d47fSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5578f299d47fSmrg	???[sx]*):;;*)false;;esac;fi
5579f299d47fSmrg    '\'' sh
5580f299d47fSmrg  '
5581f299d47fSmrgfi
5582f299d47fSmrgas_executable_p=$as_test_x
5583f299d47fSmrg
5584f299d47fSmrg# Sed expression to map a string onto a valid CPP name.
5585f299d47fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5586f299d47fSmrg
5587f299d47fSmrg# Sed expression to map a string onto a valid variable name.
5588f299d47fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5589f299d47fSmrg
5590f299d47fSmrg
5591f299d47fSmrgexec 6>&1
5592f299d47fSmrg
5593f299d47fSmrg# Save the log message, to keep $[0] and so on meaningful, and to
5594f299d47fSmrg# report actual input values of CONFIG_FILES etc. instead of their
5595f299d47fSmrg# values after options handling.
5596f299d47fSmrgac_log="
5597aa98702cSmrgThis file was extended by xev $as_me 1.0.4, which was
5598aa98702cSmrggenerated by GNU Autoconf 2.63.  Invocation command line was
5599f299d47fSmrg
5600f299d47fSmrg  CONFIG_FILES    = $CONFIG_FILES
5601f299d47fSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
5602f299d47fSmrg  CONFIG_LINKS    = $CONFIG_LINKS
5603f299d47fSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
5604f299d47fSmrg  $ $0 $@
5605f299d47fSmrg
5606f299d47fSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
5607f299d47fSmrg"
5608f299d47fSmrg
5609f299d47fSmrg_ACEOF
5610f299d47fSmrg
5611aa98702cSmrgcase $ac_config_files in *"
5612aa98702cSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
5613aa98702cSmrgesac
5614aa98702cSmrg
5615aa98702cSmrgcase $ac_config_headers in *"
5616aa98702cSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5617aa98702cSmrgesac
5618aa98702cSmrg
5619aa98702cSmrg
5620aa98702cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5621f299d47fSmrg# Files that config.status was made for.
5622f299d47fSmrgconfig_files="$ac_config_files"
5623f299d47fSmrgconfig_headers="$ac_config_headers"
5624f299d47fSmrgconfig_commands="$ac_config_commands"
5625f299d47fSmrg
5626f299d47fSmrg_ACEOF
5627f299d47fSmrg
5628aa98702cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5629f299d47fSmrgac_cs_usage="\
5630f299d47fSmrg\`$as_me' instantiates files from templates according to the
5631f299d47fSmrgcurrent configuration.
5632f299d47fSmrg
5633aa98702cSmrgUsage: $0 [OPTION]... [FILE]...
5634f299d47fSmrg
5635f299d47fSmrg  -h, --help       print this help, then exit
5636f299d47fSmrg  -V, --version    print version number and configuration settings, then exit
5637aa98702cSmrg  -q, --quiet, --silent
5638aa98702cSmrg                   do not print progress messages
5639f299d47fSmrg  -d, --debug      don't remove temporary files
5640f299d47fSmrg      --recheck    update $as_me by reconfiguring in the same conditions
5641aa98702cSmrg      --file=FILE[:TEMPLATE]
5642aa98702cSmrg                   instantiate the configuration file FILE
5643aa98702cSmrg      --header=FILE[:TEMPLATE]
5644aa98702cSmrg                   instantiate the configuration header FILE
5645f299d47fSmrg
5646f299d47fSmrgConfiguration files:
5647f299d47fSmrg$config_files
5648f299d47fSmrg
5649f299d47fSmrgConfiguration headers:
5650f299d47fSmrg$config_headers
5651f299d47fSmrg
5652f299d47fSmrgConfiguration commands:
5653f299d47fSmrg$config_commands
5654f299d47fSmrg
5655f299d47fSmrgReport bugs to <bug-autoconf@gnu.org>."
5656f299d47fSmrg
5657f299d47fSmrg_ACEOF
5658aa98702cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5659f299d47fSmrgac_cs_version="\\
5660aa98702cSmrgxev config.status 1.0.4
5661aa98702cSmrgconfigured by $0, generated by GNU Autoconf 2.63,
5662aa98702cSmrg  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5663f299d47fSmrg
5664aa98702cSmrgCopyright (C) 2008 Free Software Foundation, Inc.
5665f299d47fSmrgThis config.status script is free software; the Free Software Foundation
5666f299d47fSmrggives unlimited permission to copy, distribute and modify it."
5667f299d47fSmrg
5668f299d47fSmrgac_pwd='$ac_pwd'
5669f299d47fSmrgsrcdir='$srcdir'
5670f299d47fSmrgINSTALL='$INSTALL'
5671f299d47fSmrgMKDIR_P='$MKDIR_P'
5672aa98702cSmrgAWK='$AWK'
5673aa98702cSmrgtest -n "\$AWK" || AWK=awk
5674f299d47fSmrg_ACEOF
5675f299d47fSmrg
5676aa98702cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5677aa98702cSmrg# The default lists apply if the user does not specify any file.
5678f299d47fSmrgac_need_defaults=:
5679f299d47fSmrgwhile test $# != 0
5680f299d47fSmrgdo
5681f299d47fSmrg  case $1 in
5682f299d47fSmrg  --*=*)
5683f299d47fSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5684f299d47fSmrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5685f299d47fSmrg    ac_shift=:
5686f299d47fSmrg    ;;
5687f299d47fSmrg  *)
5688f299d47fSmrg    ac_option=$1
5689f299d47fSmrg    ac_optarg=$2
5690f299d47fSmrg    ac_shift=shift
5691f299d47fSmrg    ;;
5692f299d47fSmrg  esac
5693f299d47fSmrg
5694f299d47fSmrg  case $ac_option in
5695f299d47fSmrg  # Handling of the options.
5696f299d47fSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5697f299d47fSmrg    ac_cs_recheck=: ;;
5698f299d47fSmrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5699aa98702cSmrg    $as_echo "$ac_cs_version"; exit ;;
5700f299d47fSmrg  --debug | --debu | --deb | --de | --d | -d )
5701f299d47fSmrg    debug=: ;;
5702f299d47fSmrg  --file | --fil | --fi | --f )
5703f299d47fSmrg    $ac_shift
5704aa98702cSmrg    case $ac_optarg in
5705aa98702cSmrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5706aa98702cSmrg    esac
5707aa98702cSmrg    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5708f299d47fSmrg    ac_need_defaults=false;;
5709f299d47fSmrg  --header | --heade | --head | --hea )
5710f299d47fSmrg    $ac_shift
5711aa98702cSmrg    case $ac_optarg in
5712aa98702cSmrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5713aa98702cSmrg    esac
5714aa98702cSmrg    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5715f299d47fSmrg    ac_need_defaults=false;;
5716f299d47fSmrg  --he | --h)
5717f299d47fSmrg    # Conflict between --help and --header
5718aa98702cSmrg    { $as_echo "$as_me: error: ambiguous option: $1
5719f299d47fSmrgTry \`$0 --help' for more information." >&2
5720f299d47fSmrg   { (exit 1); exit 1; }; };;
5721f299d47fSmrg  --help | --hel | -h )
5722aa98702cSmrg    $as_echo "$ac_cs_usage"; exit ;;
5723f299d47fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5724f299d47fSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5725f299d47fSmrg    ac_cs_silent=: ;;
5726f299d47fSmrg
5727f299d47fSmrg  # This is an error.
5728aa98702cSmrg  -*) { $as_echo "$as_me: error: unrecognized option: $1
5729f299d47fSmrgTry \`$0 --help' for more information." >&2
5730f299d47fSmrg   { (exit 1); exit 1; }; } ;;
5731f299d47fSmrg
5732f299d47fSmrg  *) ac_config_targets="$ac_config_targets $1"
5733f299d47fSmrg     ac_need_defaults=false ;;
5734f299d47fSmrg
5735f299d47fSmrg  esac
5736f299d47fSmrg  shift
5737f299d47fSmrgdone
5738f299d47fSmrg
5739f299d47fSmrgac_configure_extra_args=
5740f299d47fSmrg
5741f299d47fSmrgif $ac_cs_silent; then
5742f299d47fSmrg  exec 6>/dev/null
5743f299d47fSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
5744f299d47fSmrgfi
5745f299d47fSmrg
5746f299d47fSmrg_ACEOF
5747aa98702cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5748f299d47fSmrgif \$ac_cs_recheck; then
5749aa98702cSmrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5750aa98702cSmrg  shift
5751aa98702cSmrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5752aa98702cSmrg  CONFIG_SHELL='$SHELL'
5753f299d47fSmrg  export CONFIG_SHELL
5754aa98702cSmrg  exec "\$@"
5755f299d47fSmrgfi
5756f299d47fSmrg
5757f299d47fSmrg_ACEOF
5758aa98702cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5759f299d47fSmrgexec 5>>config.log
5760f299d47fSmrg{
5761f299d47fSmrg  echo
5762f299d47fSmrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5763f299d47fSmrg## Running $as_me. ##
5764f299d47fSmrg_ASBOX
5765aa98702cSmrg  $as_echo "$ac_log"
5766f299d47fSmrg} >&5
5767f299d47fSmrg
5768f299d47fSmrg_ACEOF
5769aa98702cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5770f299d47fSmrg#
5771f299d47fSmrg# INIT-COMMANDS
5772f299d47fSmrg#
5773f299d47fSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5774f299d47fSmrg
5775f299d47fSmrg_ACEOF
5776f299d47fSmrg
5777aa98702cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5778f299d47fSmrg
5779f299d47fSmrg# Handling of arguments.
5780f299d47fSmrgfor ac_config_target in $ac_config_targets
5781f299d47fSmrgdo
5782f299d47fSmrg  case $ac_config_target in
5783f299d47fSmrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5784f299d47fSmrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5785f299d47fSmrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5786f299d47fSmrg
5787aa98702cSmrg  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5788aa98702cSmrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5789f299d47fSmrg   { (exit 1); exit 1; }; };;
5790f299d47fSmrg  esac
5791f299d47fSmrgdone
5792f299d47fSmrg
5793f299d47fSmrg
5794f299d47fSmrg# If the user did not use the arguments to specify the items to instantiate,
5795f299d47fSmrg# then the envvar interface is used.  Set only those that are not.
5796f299d47fSmrg# We use the long form for the default assignment because of an extremely
5797f299d47fSmrg# bizarre bug on SunOS 4.1.3.
5798f299d47fSmrgif $ac_need_defaults; then
5799f299d47fSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5800f299d47fSmrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5801f299d47fSmrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5802f299d47fSmrgfi
5803f299d47fSmrg
5804f299d47fSmrg# Have a temporary directory for convenience.  Make it in the build tree
5805f299d47fSmrg# simply because there is no reason against having it here, and in addition,
5806f299d47fSmrg# creating and moving files from /tmp can sometimes cause problems.
5807f299d47fSmrg# Hook for its removal unless debugging.
5808f299d47fSmrg# Note that there is a small window in which the directory will not be cleaned:
5809f299d47fSmrg# after its creation but before its name has been assigned to `$tmp'.
5810f299d47fSmrg$debug ||
5811f299d47fSmrg{
5812f299d47fSmrg  tmp=
5813f299d47fSmrg  trap 'exit_status=$?
5814f299d47fSmrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5815f299d47fSmrg' 0
5816f299d47fSmrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
5817f299d47fSmrg}
5818f299d47fSmrg# Create a (secure) tmp directory for tmp files.
5819f299d47fSmrg
5820f299d47fSmrg{
5821f299d47fSmrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5822f299d47fSmrg  test -n "$tmp" && test -d "$tmp"
5823f299d47fSmrg}  ||
5824f299d47fSmrg{
5825f299d47fSmrg  tmp=./conf$$-$RANDOM
5826f299d47fSmrg  (umask 077 && mkdir "$tmp")
5827f299d47fSmrg} ||
5828f299d47fSmrg{
5829aa98702cSmrg   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5830f299d47fSmrg   { (exit 1); exit 1; }
5831f299d47fSmrg}
5832f299d47fSmrg
5833aa98702cSmrg# Set up the scripts for CONFIG_FILES section.
5834aa98702cSmrg# No need to generate them if there are no CONFIG_FILES.
5835aa98702cSmrg# This happens for instance with `./config.status config.h'.
5836f299d47fSmrgif test -n "$CONFIG_FILES"; then
5837f299d47fSmrg
5838f299d47fSmrg
5839aa98702cSmrgac_cr='
5840aa98702cSmrg'
5841aa98702cSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5842aa98702cSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5843aa98702cSmrg  ac_cs_awk_cr='\\r'
5844aa98702cSmrgelse
5845f299d47fSmrg  ac_cs_awk_cr=$ac_cr
5846f299d47fSmrgfi
5847aa98702cSmrg
5848f299d47fSmrgecho 'BEGIN {' >"$tmp/subs1.awk" &&
5849f299d47fSmrg_ACEOF
5850f299d47fSmrg
5851aa98702cSmrg
5852aa98702cSmrg{
5853aa98702cSmrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
5854aa98702cSmrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5855aa98702cSmrg  echo "_ACEOF"
5856aa98702cSmrg} >conf$$subs.sh ||
5857aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5858aa98702cSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5859aa98702cSmrg   { (exit 1); exit 1; }; }
5860f299d47fSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5861f299d47fSmrgac_delim='%!_!# '
5862aa98702cSmrgfor ac_last_try in false false false false false :; do
5863aa98702cSmrg  . ./conf$$subs.sh ||
5864aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5865aa98702cSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5866f299d47fSmrg   { (exit 1); exit 1; }; }
5867aa98702cSmrg
5868aa98702cSmrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5869f299d47fSmrg  if test $ac_delim_n = $ac_delim_num; then
5870f299d47fSmrg    break
5871aa98702cSmrg  elif $ac_last_try; then
5872aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5873f299d47fSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5874f299d47fSmrg   { (exit 1); exit 1; }; }
5875f299d47fSmrg  else
5876f299d47fSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5877f299d47fSmrg  fi
5878aa98702cSmrgdone
5879f299d47fSmrgrm -f conf$$subs.sh
5880aa98702cSmrg
5881aa98702cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5882aa98702cSmrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5883aa98702cSmrg_ACEOF
5884aa98702cSmrgsed -n '
5885aa98702cSmrgh
5886aa98702cSmrgs/^/S["/; s/!.*/"]=/
5887aa98702cSmrgp
5888aa98702cSmrgg
5889aa98702cSmrgs/^[^!]*!//
5890aa98702cSmrg:repl
5891aa98702cSmrgt repl
5892aa98702cSmrgs/'"$ac_delim"'$//
5893aa98702cSmrgt delim
5894aa98702cSmrg:nl
5895aa98702cSmrgh
5896aa98702cSmrgs/\(.\{148\}\).*/\1/
5897aa98702cSmrgt more1
5898aa98702cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5899aa98702cSmrgp
5900aa98702cSmrgn
5901aa98702cSmrgb repl
5902aa98702cSmrg:more1
5903aa98702cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5904aa98702cSmrgp
5905aa98702cSmrgg
5906aa98702cSmrgs/.\{148\}//
5907aa98702cSmrgt nl
5908aa98702cSmrg:delim
5909aa98702cSmrgh
5910aa98702cSmrgs/\(.\{148\}\).*/\1/
5911aa98702cSmrgt more2
5912aa98702cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/
5913aa98702cSmrgp
5914aa98702cSmrgb
5915aa98702cSmrg:more2
5916aa98702cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5917aa98702cSmrgp
5918aa98702cSmrgg
5919aa98702cSmrgs/.\{148\}//
5920aa98702cSmrgt delim
5921aa98702cSmrg' <conf$$subs.awk | sed '
5922aa98702cSmrg/^[^""]/{
5923aa98702cSmrg  N
5924aa98702cSmrg  s/\n//
5925aa98702cSmrg}
5926aa98702cSmrg' >>$CONFIG_STATUS || ac_write_fail=1
5927aa98702cSmrgrm -f conf$$subs.awk
5928aa98702cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5929aa98702cSmrg_ACAWK
5930aa98702cSmrgcat >>"\$tmp/subs1.awk" <<_ACAWK &&
5931aa98702cSmrg  for (key in S) S_is_set[key] = 1
5932aa98702cSmrg  FS = ""
5933aa98702cSmrg
5934aa98702cSmrg}
5935aa98702cSmrg{
5936aa98702cSmrg  line = $ 0
5937aa98702cSmrg  nfields = split(line, field, "@")
5938aa98702cSmrg  substed = 0
5939aa98702cSmrg  len = length(field[1])
5940aa98702cSmrg  for (i = 2; i < nfields; i++) {
5941aa98702cSmrg    key = field[i]
5942aa98702cSmrg    keylen = length(key)
5943aa98702cSmrg    if (S_is_set[key]) {
5944aa98702cSmrg      value = S[key]
5945aa98702cSmrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5946aa98702cSmrg      len += length(value) + length(field[++i])
5947aa98702cSmrg      substed = 1
5948aa98702cSmrg    } else
5949aa98702cSmrg      len += 1 + keylen
5950aa98702cSmrg  }
5951aa98702cSmrg
5952aa98702cSmrg  print line
5953f299d47fSmrg}
5954aa98702cSmrg
5955f299d47fSmrg_ACAWK
5956aa98702cSmrg_ACEOF
5957aa98702cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5958aa98702cSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5959aa98702cSmrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5960aa98702cSmrgelse
5961aa98702cSmrg  cat
5962aa98702cSmrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5963aa98702cSmrg  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5964aa98702cSmrg$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5965f299d47fSmrg   { (exit 1); exit 1; }; }
5966f299d47fSmrg_ACEOF
5967f299d47fSmrg
5968f299d47fSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
5969f299d47fSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5970f299d47fSmrg# trailing colons and then remove the whole line if VPATH becomes empty
5971f299d47fSmrg# (actually we leave an empty line to preserve line numbers).
5972f299d47fSmrgif test "x$srcdir" = x.; then
5973f299d47fSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
5974f299d47fSmrgs/:*\$(srcdir):*/:/
5975f299d47fSmrgs/:*\${srcdir}:*/:/
5976f299d47fSmrgs/:*@srcdir@:*/:/
5977f299d47fSmrgs/^\([^=]*=[	 ]*\):*/\1/
5978f299d47fSmrgs/:*$//
5979f299d47fSmrgs/^[^=]*=[	 ]*$//
5980f299d47fSmrg}'
5981f299d47fSmrgfi
5982aa98702cSmrg
5983f299d47fSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5984f299d47fSmrgfi # test -n "$CONFIG_FILES"
5985aa98702cSmrg
5986aa98702cSmrg# Set up the scripts for CONFIG_HEADERS section.
5987aa98702cSmrg# No need to generate them if there are no CONFIG_HEADERS.
5988aa98702cSmrg# This happens for instance with `./config.status Makefile'.
5989aa98702cSmrgif test -n "$CONFIG_HEADERS"; then
5990aa98702cSmrgcat >"$tmp/defines.awk" <<\_ACAWK ||
5991aa98702cSmrgBEGIN {
5992aa98702cSmrg_ACEOF
5993aa98702cSmrg
5994aa98702cSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as
5995aa98702cSmrg# here-document in config.status, that substitutes the proper values into
5996aa98702cSmrg# config.h.in to produce config.h.
5997aa98702cSmrg
5998aa98702cSmrg# Create a delimiter string that does not exist in confdefs.h, to ease
5999aa98702cSmrg# handling of long lines.
6000aa98702cSmrgac_delim='%!_!# '
6001aa98702cSmrgfor ac_last_try in false false :; do
6002aa98702cSmrg  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6003aa98702cSmrg  if test -z "$ac_t"; then
6004aa98702cSmrg    break
6005aa98702cSmrg  elif $ac_last_try; then
6006aa98702cSmrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6007aa98702cSmrg$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6008aa98702cSmrg   { (exit 1); exit 1; }; }
6009aa98702cSmrg  else
6010aa98702cSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6011aa98702cSmrg  fi
6012aa98702cSmrgdone
6013aa98702cSmrg
6014aa98702cSmrg# For the awk script, D is an array of macro values keyed by name,
6015aa98702cSmrg# likewise P contains macro parameters if any.  Preserve backslash
6016aa98702cSmrg# newline sequences.
6017aa98702cSmrg
6018aa98702cSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6019aa98702cSmrgsed -n '
6020aa98702cSmrgs/.\{148\}/&'"$ac_delim"'/g
6021aa98702cSmrgt rset
6022aa98702cSmrg:rset
6023aa98702cSmrgs/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6024aa98702cSmrgt def
6025aa98702cSmrgd
6026aa98702cSmrg:def
6027aa98702cSmrgs/\\$//
6028aa98702cSmrgt bsnl
6029aa98702cSmrgs/["\\]/\\&/g
6030aa98702cSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6031aa98702cSmrgD["\1"]=" \3"/p
6032aa98702cSmrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6033aa98702cSmrgd
6034aa98702cSmrg:bsnl
6035aa98702cSmrgs/["\\]/\\&/g
6036aa98702cSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6037aa98702cSmrgD["\1"]=" \3\\\\\\n"\\/p
6038aa98702cSmrgt cont
6039aa98702cSmrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6040aa98702cSmrgt cont
6041aa98702cSmrgd
6042aa98702cSmrg:cont
6043aa98702cSmrgn
6044aa98702cSmrgs/.\{148\}/&'"$ac_delim"'/g
6045aa98702cSmrgt clear
6046aa98702cSmrg:clear
6047aa98702cSmrgs/\\$//
6048aa98702cSmrgt bsnlc
6049aa98702cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p
6050aa98702cSmrgd
6051aa98702cSmrg:bsnlc
6052aa98702cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6053aa98702cSmrgb cont
6054aa98702cSmrg' <confdefs.h | sed '
6055aa98702cSmrgs/'"$ac_delim"'/"\\\
6056aa98702cSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1
6057aa98702cSmrg
6058aa98702cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6059aa98702cSmrg  for (key in D) D_is_set[key] = 1
6060aa98702cSmrg  FS = ""
6061aa98702cSmrg}
6062aa98702cSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6063aa98702cSmrg  line = \$ 0
6064aa98702cSmrg  split(line, arg, " ")
6065aa98702cSmrg  if (arg[1] == "#") {
6066aa98702cSmrg    defundef = arg[2]
6067aa98702cSmrg    mac1 = arg[3]
6068aa98702cSmrg  } else {
6069aa98702cSmrg    defundef = substr(arg[1], 2)
6070aa98702cSmrg    mac1 = arg[2]
6071aa98702cSmrg  }
6072aa98702cSmrg  split(mac1, mac2, "(") #)
6073aa98702cSmrg  macro = mac2[1]
6074aa98702cSmrg  prefix = substr(line, 1, index(line, defundef) - 1)
6075aa98702cSmrg  if (D_is_set[macro]) {
6076aa98702cSmrg    # Preserve the white space surrounding the "#".
6077aa98702cSmrg    print prefix "define", macro P[macro] D[macro]
6078aa98702cSmrg    next
6079aa98702cSmrg  } else {
6080aa98702cSmrg    # Replace #undef with comments.  This is necessary, for example,
6081aa98702cSmrg    # in the case of _POSIX_SOURCE, which is predefined and required
6082aa98702cSmrg    # on some systems where configure will not decide to define it.
6083aa98702cSmrg    if (defundef == "undef") {
6084aa98702cSmrg      print "/*", prefix defundef, macro, "*/"
6085aa98702cSmrg      next
6086aa98702cSmrg    }
6087aa98702cSmrg  }
6088aa98702cSmrg}
6089aa98702cSmrg{ print }
6090aa98702cSmrg_ACAWK
6091aa98702cSmrg_ACEOF
6092aa98702cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6093aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6094aa98702cSmrg$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6095aa98702cSmrg   { (exit 1); exit 1; }; }
6096aa98702cSmrgfi # test -n "$CONFIG_HEADERS"
6097f299d47fSmrg
6098aa98702cSmrg
6099aa98702cSmrgeval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6100aa98702cSmrgshift
6101f299d47fSmrgfor ac_tag
6102f299d47fSmrgdo
6103f299d47fSmrg  case $ac_tag in
6104f299d47fSmrg  :[FHLC]) ac_mode=$ac_tag; continue;;
6105f299d47fSmrg  esac
6106f299d47fSmrg  case $ac_mode$ac_tag in
6107aa98702cSmrg  :[FHL]*:*);;
6108aa98702cSmrg  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6109f299d47fSmrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6110f299d47fSmrg   { (exit 1); exit 1; }; };;
6111f299d47fSmrg  :[FH]-) ac_tag=-:-;;
6112f299d47fSmrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6113f299d47fSmrg  esac
6114f299d47fSmrg  ac_save_IFS=$IFS
6115f299d47fSmrg  IFS=:
6116f299d47fSmrg  set x $ac_tag
6117f299d47fSmrg  IFS=$ac_save_IFS
6118f299d47fSmrg  shift
6119f299d47fSmrg  ac_file=$1
6120f299d47fSmrg  shift
6121f299d47fSmrg
6122f299d47fSmrg  case $ac_mode in
6123f299d47fSmrg  :L) ac_source=$1;;
6124f299d47fSmrg  :[FH])
6125f299d47fSmrg    ac_file_inputs=
6126f299d47fSmrg    for ac_f
6127f299d47fSmrg    do
6128f299d47fSmrg      case $ac_f in
6129f299d47fSmrg      -) ac_f="$tmp/stdin";;
6130f299d47fSmrg      *) # Look for the file first in the build tree, then in the source tree
6131f299d47fSmrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6132f299d47fSmrg	 # because $ac_f cannot contain `:'.
6133f299d47fSmrg	 test -f "$ac_f" ||
6134f299d47fSmrg	   case $ac_f in
6135f299d47fSmrg	   [\\/$]*) false;;
6136f299d47fSmrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6137aa98702cSmrg	   esac ||
6138aa98702cSmrg	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6139f299d47fSmrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6140f299d47fSmrg   { (exit 1); exit 1; }; };;
6141aa98702cSmrg      esac
6142aa98702cSmrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6143f299d47fSmrg      ac_file_inputs="$ac_file_inputs '$ac_f'"
6144f299d47fSmrg    done
6145f299d47fSmrg
6146f299d47fSmrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
6147f299d47fSmrg    # use $as_me), people would be surprised to read:
6148aa98702cSmrg    #    /* config.h.  Generated by config.status.  */
6149aa98702cSmrg    configure_input='Generated from '`
6150aa98702cSmrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6151f299d47fSmrg	`' by configure.'
6152f299d47fSmrg    if test x"$ac_file" != x-; then
6153aa98702cSmrg      configure_input="$ac_file.  $configure_input"
6154aa98702cSmrg      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6155f299d47fSmrg$as_echo "$as_me: creating $ac_file" >&6;}
6156aa98702cSmrg    fi
6157aa98702cSmrg    # Neutralize special characters interpreted by sed in replacement strings.
6158aa98702cSmrg    case $configure_input in #(
6159aa98702cSmrg    *\&* | *\|* | *\\* )
6160aa98702cSmrg       ac_sed_conf_input=`$as_echo "$configure_input" |
6161aa98702cSmrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6162aa98702cSmrg    *) ac_sed_conf_input=$configure_input;;
6163f299d47fSmrg    esac
6164f299d47fSmrg
6165aa98702cSmrg    case $ac_tag in
6166aa98702cSmrg    *:-:* | *:-) cat >"$tmp/stdin" \
6167aa98702cSmrg      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6168aa98702cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6169f299d47fSmrg   { (exit 1); exit 1; }; } ;;
6170f299d47fSmrg    esac
6171f299d47fSmrg    ;;
6172f299d47fSmrg  esac
6173f299d47fSmrg
6174f299d47fSmrg  ac_dir=`$as_dirname -- "$ac_file" ||
6175f299d47fSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6176f299d47fSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
6177f299d47fSmrg	 X"$ac_file" : 'X\(//\)$' \| \
6178aa98702cSmrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6179f299d47fSmrg$as_echo X"$ac_file" |
6180f299d47fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6181f299d47fSmrg	    s//\1/
6182f299d47fSmrg	    q
6183f299d47fSmrg	  }
6184f299d47fSmrg	  /^X\(\/\/\)[^/].*/{
6185f299d47fSmrg	    s//\1/
6186f299d47fSmrg	    q
6187f299d47fSmrg	  }
6188f299d47fSmrg	  /^X\(\/\/\)$/{
6189f299d47fSmrg	    s//\1/
6190f299d47fSmrg	    q
6191f299d47fSmrg	  }
6192f299d47fSmrg	  /^X\(\/\).*/{
6193f299d47fSmrg	    s//\1/
6194f299d47fSmrg	    q
6195f299d47fSmrg	  }
6196f299d47fSmrg	  s/.*/./; q'`
6197f299d47fSmrg  { as_dir="$ac_dir"
6198f299d47fSmrg  case $as_dir in #(
6199f299d47fSmrg  -*) as_dir=./$as_dir;;
6200f299d47fSmrg  esac
6201f299d47fSmrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6202f299d47fSmrg    as_dirs=
6203f299d47fSmrg    while :; do
6204aa98702cSmrg      case $as_dir in #(
6205f299d47fSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6206f299d47fSmrg      *) as_qdir=$as_dir;;
6207f299d47fSmrg      esac
6208f299d47fSmrg      as_dirs="'$as_qdir' $as_dirs"
6209f299d47fSmrg      as_dir=`$as_dirname -- "$as_dir" ||
6210f299d47fSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6211f299d47fSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
6212f299d47fSmrg	 X"$as_dir" : 'X\(//\)$' \| \
6213aa98702cSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6214f299d47fSmrg$as_echo X"$as_dir" |
6215f299d47fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6216f299d47fSmrg	    s//\1/
6217f299d47fSmrg	    q
6218f299d47fSmrg	  }
6219f299d47fSmrg	  /^X\(\/\/\)[^/].*/{
6220f299d47fSmrg	    s//\1/
6221f299d47fSmrg	    q
6222f299d47fSmrg	  }
6223f299d47fSmrg	  /^X\(\/\/\)$/{
6224f299d47fSmrg	    s//\1/
6225f299d47fSmrg	    q
6226f299d47fSmrg	  }
6227f299d47fSmrg	  /^X\(\/\).*/{
6228f299d47fSmrg	    s//\1/
6229f299d47fSmrg	    q
6230f299d47fSmrg	  }
6231f299d47fSmrg	  s/.*/./; q'`
6232f299d47fSmrg      test -d "$as_dir" && break
6233f299d47fSmrg    done
6234aa98702cSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
6235aa98702cSmrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6236f299d47fSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6237f299d47fSmrg   { (exit 1); exit 1; }; }; }
6238f299d47fSmrg  ac_builddir=.
6239f299d47fSmrg
6240f299d47fSmrgcase "$ac_dir" in
6241f299d47fSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6242aa98702cSmrg*)
6243f299d47fSmrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6244aa98702cSmrg  # A ".." for each directory in $ac_dir_suffix.
6245f299d47fSmrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6246f299d47fSmrg  case $ac_top_builddir_sub in
6247f299d47fSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6248f299d47fSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6249f299d47fSmrg  esac ;;
6250f299d47fSmrgesac
6251f299d47fSmrgac_abs_top_builddir=$ac_pwd
6252f299d47fSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
6253f299d47fSmrg# for backward compatibility:
6254f299d47fSmrgac_top_builddir=$ac_top_build_prefix
6255f299d47fSmrg
6256f299d47fSmrgcase $srcdir in
6257f299d47fSmrg  .)  # We are building in place.
6258f299d47fSmrg    ac_srcdir=.
6259f299d47fSmrg    ac_top_srcdir=$ac_top_builddir_sub
6260f299d47fSmrg    ac_abs_top_srcdir=$ac_pwd ;;
6261f299d47fSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
6262f299d47fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
6263f299d47fSmrg    ac_top_srcdir=$srcdir
6264f299d47fSmrg    ac_abs_top_srcdir=$srcdir ;;
6265f299d47fSmrg  *) # Relative name.
6266f299d47fSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6267f299d47fSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
6268f299d47fSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6269f299d47fSmrgesac
6270f299d47fSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6271f299d47fSmrg
6272f299d47fSmrg
6273f299d47fSmrg  case $ac_mode in
6274f299d47fSmrg  :F)
6275f299d47fSmrg  #
6276f299d47fSmrg  # CONFIG_FILE
6277f299d47fSmrg  #
6278f299d47fSmrg
6279f299d47fSmrg  case $INSTALL in
6280f299d47fSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6281f299d47fSmrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6282f299d47fSmrg  esac
6283f299d47fSmrg  ac_MKDIR_P=$MKDIR_P
6284f299d47fSmrg  case $MKDIR_P in
6285f299d47fSmrg  [\\/$]* | ?:[\\/]* ) ;;
6286f299d47fSmrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6287f299d47fSmrg  esac
6288f299d47fSmrg_ACEOF
6289aa98702cSmrg
6290f299d47fSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6291f299d47fSmrg# If the template does not know about datarootdir, expand it.
6292f299d47fSmrg# FIXME: This hack should be removed a few years after 2.60.
6293f299d47fSmrgac_datarootdir_hack=; ac_datarootdir_seen=
6294aa98702cSmrg
6295aa98702cSmrgac_sed_dataroot='
6296f299d47fSmrg/datarootdir/ {
6297f299d47fSmrg  p
6298f299d47fSmrg  q
6299f299d47fSmrg}
6300f299d47fSmrg/@datadir@/p
6301f299d47fSmrg/@docdir@/p
6302f299d47fSmrg/@infodir@/p
6303f299d47fSmrg/@localedir@/p
6304aa98702cSmrg/@mandir@/p
6305aa98702cSmrg'
6306f299d47fSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6307f299d47fSmrg*datarootdir*) ac_datarootdir_seen=yes;;
6308aa98702cSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6309aa98702cSmrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6310f299d47fSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6311aa98702cSmrg_ACEOF
6312f299d47fSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6313f299d47fSmrg  ac_datarootdir_hack='
6314f299d47fSmrg  s&@datadir@&$datadir&g
6315f299d47fSmrg  s&@docdir@&$docdir&g
6316f299d47fSmrg  s&@infodir@&$infodir&g
6317f299d47fSmrg  s&@localedir@&$localedir&g
6318f299d47fSmrg  s&@mandir@&$mandir&g
6319f299d47fSmrg    s&\\\${datarootdir}&$datarootdir&g' ;;
6320f299d47fSmrgesac
6321f299d47fSmrg_ACEOF
6322f299d47fSmrg
6323f299d47fSmrg# Neutralize VPATH when `$srcdir' = `.'.
6324f299d47fSmrg# Shell code in configure.ac might set extrasub.
6325aa98702cSmrg# FIXME: do we really want to maintain this feature?
6326aa98702cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6327f299d47fSmrgac_sed_extra="$ac_vpsub
6328f299d47fSmrg$extrasub
6329aa98702cSmrg_ACEOF
6330f299d47fSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6331f299d47fSmrg:t
6332aa98702cSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6333f299d47fSmrgs|@configure_input@|$ac_sed_conf_input|;t t
6334aa98702cSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t
6335f299d47fSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
6336f299d47fSmrgs&@srcdir@&$ac_srcdir&;t t
6337f299d47fSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
6338f299d47fSmrgs&@top_srcdir@&$ac_top_srcdir&;t t
6339f299d47fSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6340f299d47fSmrgs&@builddir@&$ac_builddir&;t t
6341f299d47fSmrgs&@abs_builddir@&$ac_abs_builddir&;t t
6342f299d47fSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6343f299d47fSmrgs&@INSTALL@&$ac_INSTALL&;t t
6344f299d47fSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
6345aa98702cSmrg$ac_datarootdir_hack
6346aa98702cSmrg"
6347aa98702cSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6348aa98702cSmrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6349aa98702cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6350f299d47fSmrg   { (exit 1); exit 1; }; }
6351f299d47fSmrg
6352f299d47fSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6353f299d47fSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6354aa98702cSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6355f299d47fSmrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6356aa98702cSmrgwhich seems to be undefined.  Please make sure it is defined." >&5
6357f299d47fSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6358f299d47fSmrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
6359f299d47fSmrg
6360f299d47fSmrg  rm -f "$tmp/stdin"
6361aa98702cSmrg  case $ac_file in
6362aa98702cSmrg  -) cat "$tmp/out" && rm -f "$tmp/out";;
6363aa98702cSmrg  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6364aa98702cSmrg  esac \
6365aa98702cSmrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6366aa98702cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6367f299d47fSmrg   { (exit 1); exit 1; }; }
6368f299d47fSmrg ;;
6369f299d47fSmrg  :H)
6370f299d47fSmrg  #
6371f299d47fSmrg  # CONFIG_HEADER
6372f299d47fSmrg  #
6373aa98702cSmrg  if test x"$ac_file" != x-; then
6374aa98702cSmrg    {
6375aa98702cSmrg      $as_echo "/* $configure_input  */" \
6376aa98702cSmrg      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6377aa98702cSmrg    } >"$tmp/config.h" \
6378aa98702cSmrg      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6379aa98702cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6380aa98702cSmrg   { (exit 1); exit 1; }; }
6381aa98702cSmrg    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6382aa98702cSmrg      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6383f299d47fSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;}
6384aa98702cSmrg    else
6385aa98702cSmrg      rm -f "$ac_file"
6386aa98702cSmrg      mv "$tmp/config.h" "$ac_file" \
6387aa98702cSmrg	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6388aa98702cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6389f299d47fSmrg   { (exit 1); exit 1; }; }
6390f299d47fSmrg    fi
6391aa98702cSmrg  else
6392aa98702cSmrg    $as_echo "/* $configure_input  */" \
6393aa98702cSmrg      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6394aa98702cSmrg      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6395aa98702cSmrg$as_echo "$as_me: error: could not create -" >&2;}
6396f299d47fSmrg   { (exit 1); exit 1; }; }
6397aa98702cSmrg  fi
6398aa98702cSmrg# Compute "$ac_file"'s index in $config_headers.
6399f299d47fSmrg_am_arg="$ac_file"
6400f299d47fSmrg_am_stamp_count=1
6401f299d47fSmrgfor _am_header in $config_headers :; do
6402f299d47fSmrg  case $_am_header in
6403f299d47fSmrg    $_am_arg | $_am_arg:* )
6404f299d47fSmrg      break ;;
6405f299d47fSmrg    * )
6406f299d47fSmrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6407f299d47fSmrg  esac
6408f299d47fSmrgdone
6409f299d47fSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6410f299d47fSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6411f299d47fSmrg	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6412f299d47fSmrg	 X"$_am_arg" : 'X\(//\)$' \| \
6413aa98702cSmrg	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6414f299d47fSmrg$as_echo X"$_am_arg" |
6415f299d47fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6416f299d47fSmrg	    s//\1/
6417f299d47fSmrg	    q
6418f299d47fSmrg	  }
6419f299d47fSmrg	  /^X\(\/\/\)[^/].*/{
6420f299d47fSmrg	    s//\1/
6421f299d47fSmrg	    q
6422f299d47fSmrg	  }
6423f299d47fSmrg	  /^X\(\/\/\)$/{
6424f299d47fSmrg	    s//\1/
6425f299d47fSmrg	    q
6426f299d47fSmrg	  }
6427f299d47fSmrg	  /^X\(\/\).*/{
6428f299d47fSmrg	    s//\1/
6429f299d47fSmrg	    q
6430f299d47fSmrg	  }
6431f299d47fSmrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
6432f299d47fSmrg ;;
6433aa98702cSmrg
6434aa98702cSmrg  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6435f299d47fSmrg$as_echo "$as_me: executing $ac_file commands" >&6;}
6436f299d47fSmrg ;;
6437f299d47fSmrg  esac
6438f299d47fSmrg
6439f299d47fSmrg
6440aa98702cSmrg  case $ac_file$ac_mode in
6441aa98702cSmrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6442aa98702cSmrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6443aa98702cSmrg  # are listed without --file.  Let's play safe and only enable the eval
6444aa98702cSmrg  # if we detect the quoting.
6445aa98702cSmrg  case $CONFIG_FILES in
6446aa98702cSmrg  *\'*) eval set x "$CONFIG_FILES" ;;
6447aa98702cSmrg  *)   set x $CONFIG_FILES ;;
6448aa98702cSmrg  esac
6449aa98702cSmrg  shift
6450aa98702cSmrg  for mf
6451aa98702cSmrg  do
6452aa98702cSmrg    # Strip MF so we end up with the name of the file.
6453aa98702cSmrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
6454aa98702cSmrg    # Check whether this is an Automake generated Makefile or not.
6455aa98702cSmrg    # We used to match only the files named `Makefile.in', but
6456aa98702cSmrg    # some people rename them; so instead we look at the file content.
6457aa98702cSmrg    # Grep'ing the first line is not enough: some people post-process
6458aa98702cSmrg    # each Makefile.in and add a new line on top of each file to say so.
6459aa98702cSmrg    # Grep'ing the whole file is not good either: AIX grep has a line
6460aa98702cSmrg    # limit of 2048, but all sed's we know have understand at least 4000.
6461aa98702cSmrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6462f299d47fSmrg      dirpart=`$as_dirname -- "$mf" ||
6463f299d47fSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6464f299d47fSmrg	 X"$mf" : 'X\(//\)[^/]' \| \
6465f299d47fSmrg	 X"$mf" : 'X\(//\)$' \| \
6466aa98702cSmrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6467f299d47fSmrg$as_echo X"$mf" |
6468f299d47fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6469f299d47fSmrg	    s//\1/
6470f299d47fSmrg	    q
6471f299d47fSmrg	  }
6472f299d47fSmrg	  /^X\(\/\/\)[^/].*/{
6473f299d47fSmrg	    s//\1/
6474f299d47fSmrg	    q
6475f299d47fSmrg	  }
6476f299d47fSmrg	  /^X\(\/\/\)$/{
6477f299d47fSmrg	    s//\1/
6478f299d47fSmrg	    q
6479f299d47fSmrg	  }
6480f299d47fSmrg	  /^X\(\/\).*/{
6481f299d47fSmrg	    s//\1/
6482f299d47fSmrg	    q
6483f299d47fSmrg	  }
6484aa98702cSmrg	  s/.*/./; q'`
6485aa98702cSmrg    else
6486aa98702cSmrg      continue
6487aa98702cSmrg    fi
6488aa98702cSmrg    # Extract the definition of DEPDIR, am__include, and am__quote
6489aa98702cSmrg    # from the Makefile without running `make'.
6490aa98702cSmrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6491aa98702cSmrg    test -z "$DEPDIR" && continue
6492aa98702cSmrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6493aa98702cSmrg    test -z "am__include" && continue
6494aa98702cSmrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6495aa98702cSmrg    # When using ansi2knr, U may be empty or an underscore; expand it
6496aa98702cSmrg    U=`sed -n 's/^U = //p' < "$mf"`
6497aa98702cSmrg    # Find all dependency output files, they are included files with
6498aa98702cSmrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6499aa98702cSmrg    # simplest approach to changing $(DEPDIR) to its actual value in the
6500aa98702cSmrg    # expansion.
6501aa98702cSmrg    for file in `sed -n "
6502aa98702cSmrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6503aa98702cSmrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6504aa98702cSmrg      # Make sure the directory exists.
6505aa98702cSmrg      test -f "$dirpart/$file" && continue
6506f299d47fSmrg      fdir=`$as_dirname -- "$file" ||
6507f299d47fSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6508f299d47fSmrg	 X"$file" : 'X\(//\)[^/]' \| \
6509f299d47fSmrg	 X"$file" : 'X\(//\)$' \| \
6510aa98702cSmrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6511f299d47fSmrg$as_echo X"$file" |
6512f299d47fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6513f299d47fSmrg	    s//\1/
6514f299d47fSmrg	    q
6515f299d47fSmrg	  }
6516f299d47fSmrg	  /^X\(\/\/\)[^/].*/{
6517f299d47fSmrg	    s//\1/
6518f299d47fSmrg	    q
6519f299d47fSmrg	  }
6520f299d47fSmrg	  /^X\(\/\/\)$/{
6521f299d47fSmrg	    s//\1/
6522f299d47fSmrg	    q
6523f299d47fSmrg	  }
6524f299d47fSmrg	  /^X\(\/\).*/{
6525f299d47fSmrg	    s//\1/
6526f299d47fSmrg	    q
6527f299d47fSmrg	  }
6528aa98702cSmrg	  s/.*/./; q'`
6529f299d47fSmrg      { as_dir=$dirpart/$fdir
6530f299d47fSmrg  case $as_dir in #(
6531f299d47fSmrg  -*) as_dir=./$as_dir;;
6532f299d47fSmrg  esac
6533f299d47fSmrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6534f299d47fSmrg    as_dirs=
6535f299d47fSmrg    while :; do
6536aa98702cSmrg      case $as_dir in #(
6537f299d47fSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6538f299d47fSmrg      *) as_qdir=$as_dir;;
6539f299d47fSmrg      esac
6540f299d47fSmrg      as_dirs="'$as_qdir' $as_dirs"
6541f299d47fSmrg      as_dir=`$as_dirname -- "$as_dir" ||
6542f299d47fSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6543f299d47fSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
6544f299d47fSmrg	 X"$as_dir" : 'X\(//\)$' \| \
6545aa98702cSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6546f299d47fSmrg$as_echo X"$as_dir" |
6547f299d47fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6548f299d47fSmrg	    s//\1/
6549f299d47fSmrg	    q
6550f299d47fSmrg	  }
6551f299d47fSmrg	  /^X\(\/\/\)[^/].*/{
6552f299d47fSmrg	    s//\1/
6553f299d47fSmrg	    q
6554f299d47fSmrg	  }
6555f299d47fSmrg	  /^X\(\/\/\)$/{
6556f299d47fSmrg	    s//\1/
6557f299d47fSmrg	    q
6558f299d47fSmrg	  }
6559f299d47fSmrg	  /^X\(\/\).*/{
6560f299d47fSmrg	    s//\1/
6561f299d47fSmrg	    q
6562f299d47fSmrg	  }
6563f299d47fSmrg	  s/.*/./; q'`
6564f299d47fSmrg      test -d "$as_dir" && break
6565f299d47fSmrg    done
6566aa98702cSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
6567aa98702cSmrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6568f299d47fSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6569aa98702cSmrg   { (exit 1); exit 1; }; }; }
6570aa98702cSmrg      # echo "creating $dirpart/$file"
6571aa98702cSmrg      echo '# dummy' > "$dirpart/$file"
6572f299d47fSmrg    done
6573aa98702cSmrg  done
6574f299d47fSmrg}
6575f299d47fSmrg ;;
6576f299d47fSmrg
6577f299d47fSmrg  esac
6578f299d47fSmrgdone # for ac_tag
6579f299d47fSmrg
6580f299d47fSmrg
6581f299d47fSmrg{ (exit 0); exit 0; }
6582f299d47fSmrg_ACEOF
6583f299d47fSmrgchmod +x $CONFIG_STATUS
6584f299d47fSmrgac_clean_files=$ac_clean_files_save
6585aa98702cSmrg
6586aa98702cSmrgtest $ac_write_fail = 0 ||
6587aa98702cSmrg  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6588aa98702cSmrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6589aa98702cSmrg   { (exit 1); exit 1; }; }
6590f299d47fSmrg
6591f299d47fSmrg
6592f299d47fSmrg# configure is writing to config.log, and then calls config.status.
6593f299d47fSmrg# config.status does its own redirection, appending to config.log.
6594f299d47fSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
6595f299d47fSmrg# by configure, so config.status won't be able to write to it; its
6596f299d47fSmrg# output is simply discarded.  So we exec the FD to /dev/null,
6597f299d47fSmrg# effectively closing config.log, so it can be properly (re)opened and
6598f299d47fSmrg# appended to by config.status.  When coming back to configure, we
6599f299d47fSmrg# need to make the FD available again.
6600f299d47fSmrgif test "$no_create" != yes; then
6601f299d47fSmrg  ac_cs_success=:
6602f299d47fSmrg  ac_config_status_args=
6603f299d47fSmrg  test "$silent" = yes &&
6604f299d47fSmrg    ac_config_status_args="$ac_config_status_args --quiet"
6605f299d47fSmrg  exec 5>/dev/null
6606f299d47fSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6607f299d47fSmrg  exec 5>>config.log
6608f299d47fSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6609f299d47fSmrg  # would make configure fail if this is the last instruction.
6610f299d47fSmrg  $ac_cs_success || { (exit 1); exit 1; }
6611aa98702cSmrgfi
6612aa98702cSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6613aa98702cSmrg  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6614aa98702cSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6615f299d47fSmrgfi
6616
6617