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