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