configure revision 876ff6fe
1876ff6feSmrg#! /bin/sh
2876ff6feSmrg# Guess values for system-dependent variables and create Makefiles.
3876ff6feSmrg# Generated by GNU Autoconf 2.59 for xtrap 1.0.2.
4876ff6feSmrg#
5876ff6feSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6876ff6feSmrg#
7876ff6feSmrg# Copyright (C) 2003 Free Software Foundation, Inc.
8876ff6feSmrg# This configure script is free software; the Free Software Foundation
9876ff6feSmrg# gives unlimited permission to copy, distribute and modify it.
10876ff6feSmrg## --------------------- ##
11876ff6feSmrg## M4sh Initialization.  ##
12876ff6feSmrg## --------------------- ##
13876ff6feSmrg
14876ff6feSmrg# Be Bourne compatible
15876ff6feSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16876ff6feSmrg  emulate sh
17876ff6feSmrg  NULLCMD=:
18876ff6feSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19876ff6feSmrg  # is contrary to our usage.  Disable this feature.
20876ff6feSmrg  alias -g '${1+"$@"}'='"$@"'
21876ff6feSmrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22876ff6feSmrg  set -o posix
23876ff6feSmrgfi
24876ff6feSmrgDUALCASE=1; export DUALCASE # for MKS sh
25876ff6feSmrg
26876ff6feSmrg# Support unset when possible.
27876ff6feSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28876ff6feSmrg  as_unset=unset
29876ff6feSmrgelse
30876ff6feSmrg  as_unset=false
31876ff6feSmrgfi
32876ff6feSmrg
33876ff6feSmrg
34876ff6feSmrg# Work around bugs in pre-3.0 UWIN ksh.
35876ff6feSmrg$as_unset ENV MAIL MAILPATH
36876ff6feSmrgPS1='$ '
37876ff6feSmrgPS2='> '
38876ff6feSmrgPS4='+ '
39876ff6feSmrg
40876ff6feSmrg# NLS nuisances.
41876ff6feSmrgfor as_var in \
42876ff6feSmrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43876ff6feSmrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44876ff6feSmrg  LC_TELEPHONE LC_TIME
45876ff6feSmrgdo
46876ff6feSmrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47876ff6feSmrg    eval $as_var=C; export $as_var
48876ff6feSmrg  else
49876ff6feSmrg    $as_unset $as_var
50876ff6feSmrg  fi
51876ff6feSmrgdone
52876ff6feSmrg
53876ff6feSmrg# Required to use basename.
54876ff6feSmrgif expr a : '\(a\)' >/dev/null 2>&1; then
55876ff6feSmrg  as_expr=expr
56876ff6feSmrgelse
57876ff6feSmrg  as_expr=false
58876ff6feSmrgfi
59876ff6feSmrg
60876ff6feSmrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61876ff6feSmrg  as_basename=basename
62876ff6feSmrgelse
63876ff6feSmrg  as_basename=false
64876ff6feSmrgfi
65876ff6feSmrg
66876ff6feSmrg
67876ff6feSmrg# Name of the executable.
68876ff6feSmrgas_me=`$as_basename "$0" ||
69876ff6feSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70876ff6feSmrg	 X"$0" : 'X\(//\)$' \| \
71876ff6feSmrg	 X"$0" : 'X\(/\)$' \| \
72876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
73876ff6feSmrgecho X/"$0" |
74876ff6feSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75876ff6feSmrg  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
76876ff6feSmrg  	  /^X\/\(\/\).*/{ s//\1/; q; }
77876ff6feSmrg  	  s/.*/./; q'`
78876ff6feSmrg
79876ff6feSmrg
80876ff6feSmrg# PATH needs CR, and LINENO needs CR and PATH.
81876ff6feSmrg# Avoid depending upon Character Ranges.
82876ff6feSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
83876ff6feSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84876ff6feSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
85876ff6feSmrgas_cr_digits='0123456789'
86876ff6feSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
87876ff6feSmrg
88876ff6feSmrg# The user is always right.
89876ff6feSmrgif test "${PATH_SEPARATOR+set}" != set; then
90876ff6feSmrg  echo "#! /bin/sh" >conf$$.sh
91876ff6feSmrg  echo  "exit 0"   >>conf$$.sh
92876ff6feSmrg  chmod +x conf$$.sh
93876ff6feSmrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94876ff6feSmrg    PATH_SEPARATOR=';'
95876ff6feSmrg  else
96876ff6feSmrg    PATH_SEPARATOR=:
97876ff6feSmrg  fi
98876ff6feSmrg  rm -f conf$$.sh
99876ff6feSmrgfi
100876ff6feSmrg
101876ff6feSmrg
102876ff6feSmrg  as_lineno_1=$LINENO
103876ff6feSmrg  as_lineno_2=$LINENO
104876ff6feSmrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105876ff6feSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
106876ff6feSmrg  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107876ff6feSmrg  # Find who we are.  Look in the path if we contain no path at all
108876ff6feSmrg  # relative or not.
109876ff6feSmrg  case $0 in
110876ff6feSmrg    *[\\/]* ) as_myself=$0 ;;
111876ff6feSmrg    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112876ff6feSmrgfor as_dir in $PATH
113876ff6feSmrgdo
114876ff6feSmrg  IFS=$as_save_IFS
115876ff6feSmrg  test -z "$as_dir" && as_dir=.
116876ff6feSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117876ff6feSmrgdone
118876ff6feSmrg
119876ff6feSmrg       ;;
120876ff6feSmrg  esac
121876ff6feSmrg  # We did not find ourselves, most probably we were run as `sh COMMAND'
122876ff6feSmrg  # in which case we are not to be found in the path.
123876ff6feSmrg  if test "x$as_myself" = x; then
124876ff6feSmrg    as_myself=$0
125876ff6feSmrg  fi
126876ff6feSmrg  if test ! -f "$as_myself"; then
127876ff6feSmrg    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128876ff6feSmrg   { (exit 1); exit 1; }; }
129876ff6feSmrg  fi
130876ff6feSmrg  case $CONFIG_SHELL in
131876ff6feSmrg  '')
132876ff6feSmrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133876ff6feSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134876ff6feSmrgdo
135876ff6feSmrg  IFS=$as_save_IFS
136876ff6feSmrg  test -z "$as_dir" && as_dir=.
137876ff6feSmrg  for as_base in sh bash ksh sh5; do
138876ff6feSmrg	 case $as_dir in
139876ff6feSmrg	 /*)
140876ff6feSmrg	   if ("$as_dir/$as_base" -c '
141876ff6feSmrg  as_lineno_1=$LINENO
142876ff6feSmrg  as_lineno_2=$LINENO
143876ff6feSmrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144876ff6feSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
145876ff6feSmrg  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146876ff6feSmrg	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147876ff6feSmrg	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148876ff6feSmrg	     CONFIG_SHELL=$as_dir/$as_base
149876ff6feSmrg	     export CONFIG_SHELL
150876ff6feSmrg	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151876ff6feSmrg	   fi;;
152876ff6feSmrg	 esac
153876ff6feSmrg       done
154876ff6feSmrgdone
155876ff6feSmrg;;
156876ff6feSmrg  esac
157876ff6feSmrg
158876ff6feSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159876ff6feSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
160876ff6feSmrg  # line-number line before each line; the second 'sed' does the real
161876ff6feSmrg  # work.  The second script uses 'N' to pair each line-number line
162876ff6feSmrg  # with the numbered line, and appends trailing '-' during
163876ff6feSmrg  # substitution so that $LINENO is not a special case at line end.
164876ff6feSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165876ff6feSmrg  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166876ff6feSmrg  sed '=' <$as_myself |
167876ff6feSmrg    sed '
168876ff6feSmrg      N
169876ff6feSmrg      s,$,-,
170876ff6feSmrg      : loop
171876ff6feSmrg      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172876ff6feSmrg      t loop
173876ff6feSmrg      s,-$,,
174876ff6feSmrg      s,^['$as_cr_digits']*\n,,
175876ff6feSmrg    ' >$as_me.lineno &&
176876ff6feSmrg  chmod +x $as_me.lineno ||
177876ff6feSmrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178876ff6feSmrg   { (exit 1); exit 1; }; }
179876ff6feSmrg
180876ff6feSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
181876ff6feSmrg  # (the dirname of $[0] is not the place where we might find the
182876ff6feSmrg  # original and so on.  Autoconf is especially sensible to this).
183876ff6feSmrg  . ./$as_me.lineno
184876ff6feSmrg  # Exit status is that of the last command.
185876ff6feSmrg  exit
186876ff6feSmrg}
187876ff6feSmrg
188876ff6feSmrg
189876ff6feSmrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190876ff6feSmrg  *c*,-n*) ECHO_N= ECHO_C='
191876ff6feSmrg' ECHO_T='	' ;;
192876ff6feSmrg  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193876ff6feSmrg  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194876ff6feSmrgesac
195876ff6feSmrg
196876ff6feSmrgif expr a : '\(a\)' >/dev/null 2>&1; then
197876ff6feSmrg  as_expr=expr
198876ff6feSmrgelse
199876ff6feSmrg  as_expr=false
200876ff6feSmrgfi
201876ff6feSmrg
202876ff6feSmrgrm -f conf$$ conf$$.exe conf$$.file
203876ff6feSmrgecho >conf$$.file
204876ff6feSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then
205876ff6feSmrg  # We could just check for DJGPP; but this test a) works b) is more generic
206876ff6feSmrg  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207876ff6feSmrg  if test -f conf$$.exe; then
208876ff6feSmrg    # Don't use ln at all; we don't have any links
209876ff6feSmrg    as_ln_s='cp -p'
210876ff6feSmrg  else
211876ff6feSmrg    as_ln_s='ln -s'
212876ff6feSmrg  fi
213876ff6feSmrgelif ln conf$$.file conf$$ 2>/dev/null; then
214876ff6feSmrg  as_ln_s=ln
215876ff6feSmrgelse
216876ff6feSmrg  as_ln_s='cp -p'
217876ff6feSmrgfi
218876ff6feSmrgrm -f conf$$ conf$$.exe conf$$.file
219876ff6feSmrg
220876ff6feSmrgif mkdir -p . 2>/dev/null; then
221876ff6feSmrg  as_mkdir_p=:
222876ff6feSmrgelse
223876ff6feSmrg  test -d ./-p && rmdir ./-p
224876ff6feSmrg  as_mkdir_p=false
225876ff6feSmrgfi
226876ff6feSmrg
227876ff6feSmrgas_executable_p="test -f"
228876ff6feSmrg
229876ff6feSmrg# Sed expression to map a string onto a valid CPP name.
230876ff6feSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231876ff6feSmrg
232876ff6feSmrg# Sed expression to map a string onto a valid variable name.
233876ff6feSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234876ff6feSmrg
235876ff6feSmrg
236876ff6feSmrg# IFS
237876ff6feSmrg# We need space, tab and new line, in precisely that order.
238876ff6feSmrgas_nl='
239876ff6feSmrg'
240876ff6feSmrgIFS=" 	$as_nl"
241876ff6feSmrg
242876ff6feSmrg# CDPATH.
243876ff6feSmrg$as_unset CDPATH
244876ff6feSmrg
245876ff6feSmrg
246876ff6feSmrg# Name of the host.
247876ff6feSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248876ff6feSmrg# so uname gets run too.
249876ff6feSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250876ff6feSmrg
251876ff6feSmrgexec 6>&1
252876ff6feSmrg
253876ff6feSmrg#
254876ff6feSmrg# Initializations.
255876ff6feSmrg#
256876ff6feSmrgac_default_prefix=/usr/local
257876ff6feSmrgac_config_libobj_dir=.
258876ff6feSmrgcross_compiling=no
259876ff6feSmrgsubdirs=
260876ff6feSmrgMFLAGS=
261876ff6feSmrgMAKEFLAGS=
262876ff6feSmrgSHELL=${CONFIG_SHELL-/bin/sh}
263876ff6feSmrg
264876ff6feSmrg# Maximum number of lines to put in a shell here document.
265876ff6feSmrg# This variable seems obsolete.  It should probably be removed, and
266876ff6feSmrg# only ac_max_sed_lines should be used.
267876ff6feSmrg: ${ac_max_here_lines=38}
268876ff6feSmrg
269876ff6feSmrg# Identity of this package.
270876ff6feSmrgPACKAGE_NAME='xtrap'
271876ff6feSmrgPACKAGE_TARNAME='xtrap'
272876ff6feSmrgPACKAGE_VERSION='1.0.2'
273876ff6feSmrgPACKAGE_STRING='xtrap 1.0.2'
274876ff6feSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275876ff6feSmrg
276876ff6feSmrgac_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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 XTRAP_APP_CFLAGS XTRAP_APP_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'
277876ff6feSmrgac_subst_files=''
278876ff6feSmrg
279876ff6feSmrg# Initialize some variables set by options.
280876ff6feSmrgac_init_help=
281876ff6feSmrgac_init_version=false
282876ff6feSmrg# The variables have the same names as the options, with
283876ff6feSmrg# dashes changed to underlines.
284876ff6feSmrgcache_file=/dev/null
285876ff6feSmrgexec_prefix=NONE
286876ff6feSmrgno_create=
287876ff6feSmrgno_recursion=
288876ff6feSmrgprefix=NONE
289876ff6feSmrgprogram_prefix=NONE
290876ff6feSmrgprogram_suffix=NONE
291876ff6feSmrgprogram_transform_name=s,x,x,
292876ff6feSmrgsilent=
293876ff6feSmrgsite=
294876ff6feSmrgsrcdir=
295876ff6feSmrgverbose=
296876ff6feSmrgx_includes=NONE
297876ff6feSmrgx_libraries=NONE
298876ff6feSmrg
299876ff6feSmrg# Installation directory options.
300876ff6feSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
301876ff6feSmrg# and all the variables that are supposed to be based on exec_prefix
302876ff6feSmrg# by default will actually change.
303876ff6feSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
304876ff6feSmrgbindir='${exec_prefix}/bin'
305876ff6feSmrgsbindir='${exec_prefix}/sbin'
306876ff6feSmrglibexecdir='${exec_prefix}/libexec'
307876ff6feSmrgdatadir='${prefix}/share'
308876ff6feSmrgsysconfdir='${prefix}/etc'
309876ff6feSmrgsharedstatedir='${prefix}/com'
310876ff6feSmrglocalstatedir='${prefix}/var'
311876ff6feSmrglibdir='${exec_prefix}/lib'
312876ff6feSmrgincludedir='${prefix}/include'
313876ff6feSmrgoldincludedir='/usr/include'
314876ff6feSmrginfodir='${prefix}/info'
315876ff6feSmrgmandir='${prefix}/man'
316876ff6feSmrg
317876ff6feSmrgac_prev=
318876ff6feSmrgfor ac_option
319876ff6feSmrgdo
320876ff6feSmrg  # If the previous option needs an argument, assign it.
321876ff6feSmrg  if test -n "$ac_prev"; then
322876ff6feSmrg    eval "$ac_prev=\$ac_option"
323876ff6feSmrg    ac_prev=
324876ff6feSmrg    continue
325876ff6feSmrg  fi
326876ff6feSmrg
327876ff6feSmrg  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328876ff6feSmrg
329876ff6feSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
330876ff6feSmrg
331876ff6feSmrg  case $ac_option in
332876ff6feSmrg
333876ff6feSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334876ff6feSmrg    ac_prev=bindir ;;
335876ff6feSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336876ff6feSmrg    bindir=$ac_optarg ;;
337876ff6feSmrg
338876ff6feSmrg  -build | --build | --buil | --bui | --bu)
339876ff6feSmrg    ac_prev=build_alias ;;
340876ff6feSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341876ff6feSmrg    build_alias=$ac_optarg ;;
342876ff6feSmrg
343876ff6feSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
344876ff6feSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345876ff6feSmrg    ac_prev=cache_file ;;
346876ff6feSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347876ff6feSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348876ff6feSmrg    cache_file=$ac_optarg ;;
349876ff6feSmrg
350876ff6feSmrg  --config-cache | -C)
351876ff6feSmrg    cache_file=config.cache ;;
352876ff6feSmrg
353876ff6feSmrg  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354876ff6feSmrg    ac_prev=datadir ;;
355876ff6feSmrg  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356876ff6feSmrg  | --da=*)
357876ff6feSmrg    datadir=$ac_optarg ;;
358876ff6feSmrg
359876ff6feSmrg  -disable-* | --disable-*)
360876ff6feSmrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361876ff6feSmrg    # Reject names that are not valid shell variable names.
362876ff6feSmrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363876ff6feSmrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364876ff6feSmrg   { (exit 1); exit 1; }; }
365876ff6feSmrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366876ff6feSmrg    eval "enable_$ac_feature=no" ;;
367876ff6feSmrg
368876ff6feSmrg  -enable-* | --enable-*)
369876ff6feSmrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370876ff6feSmrg    # Reject names that are not valid shell variable names.
371876ff6feSmrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372876ff6feSmrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373876ff6feSmrg   { (exit 1); exit 1; }; }
374876ff6feSmrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375876ff6feSmrg    case $ac_option in
376876ff6feSmrg      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377876ff6feSmrg      *) ac_optarg=yes ;;
378876ff6feSmrg    esac
379876ff6feSmrg    eval "enable_$ac_feature='$ac_optarg'" ;;
380876ff6feSmrg
381876ff6feSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382876ff6feSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383876ff6feSmrg  | --exec | --exe | --ex)
384876ff6feSmrg    ac_prev=exec_prefix ;;
385876ff6feSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386876ff6feSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387876ff6feSmrg  | --exec=* | --exe=* | --ex=*)
388876ff6feSmrg    exec_prefix=$ac_optarg ;;
389876ff6feSmrg
390876ff6feSmrg  -gas | --gas | --ga | --g)
391876ff6feSmrg    # Obsolete; use --with-gas.
392876ff6feSmrg    with_gas=yes ;;
393876ff6feSmrg
394876ff6feSmrg  -help | --help | --hel | --he | -h)
395876ff6feSmrg    ac_init_help=long ;;
396876ff6feSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397876ff6feSmrg    ac_init_help=recursive ;;
398876ff6feSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399876ff6feSmrg    ac_init_help=short ;;
400876ff6feSmrg
401876ff6feSmrg  -host | --host | --hos | --ho)
402876ff6feSmrg    ac_prev=host_alias ;;
403876ff6feSmrg  -host=* | --host=* | --hos=* | --ho=*)
404876ff6feSmrg    host_alias=$ac_optarg ;;
405876ff6feSmrg
406876ff6feSmrg  -includedir | --includedir | --includedi | --included | --include \
407876ff6feSmrg  | --includ | --inclu | --incl | --inc)
408876ff6feSmrg    ac_prev=includedir ;;
409876ff6feSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410876ff6feSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
411876ff6feSmrg    includedir=$ac_optarg ;;
412876ff6feSmrg
413876ff6feSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
414876ff6feSmrg    ac_prev=infodir ;;
415876ff6feSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416876ff6feSmrg    infodir=$ac_optarg ;;
417876ff6feSmrg
418876ff6feSmrg  -libdir | --libdir | --libdi | --libd)
419876ff6feSmrg    ac_prev=libdir ;;
420876ff6feSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
421876ff6feSmrg    libdir=$ac_optarg ;;
422876ff6feSmrg
423876ff6feSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424876ff6feSmrg  | --libexe | --libex | --libe)
425876ff6feSmrg    ac_prev=libexecdir ;;
426876ff6feSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427876ff6feSmrg  | --libexe=* | --libex=* | --libe=*)
428876ff6feSmrg    libexecdir=$ac_optarg ;;
429876ff6feSmrg
430876ff6feSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
431876ff6feSmrg  | --localstate | --localstat | --localsta | --localst \
432876ff6feSmrg  | --locals | --local | --loca | --loc | --lo)
433876ff6feSmrg    ac_prev=localstatedir ;;
434876ff6feSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435876ff6feSmrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436876ff6feSmrg  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437876ff6feSmrg    localstatedir=$ac_optarg ;;
438876ff6feSmrg
439876ff6feSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440876ff6feSmrg    ac_prev=mandir ;;
441876ff6feSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442876ff6feSmrg    mandir=$ac_optarg ;;
443876ff6feSmrg
444876ff6feSmrg  -nfp | --nfp | --nf)
445876ff6feSmrg    # Obsolete; use --without-fp.
446876ff6feSmrg    with_fp=no ;;
447876ff6feSmrg
448876ff6feSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449876ff6feSmrg  | --no-cr | --no-c | -n)
450876ff6feSmrg    no_create=yes ;;
451876ff6feSmrg
452876ff6feSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453876ff6feSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454876ff6feSmrg    no_recursion=yes ;;
455876ff6feSmrg
456876ff6feSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457876ff6feSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458876ff6feSmrg  | --oldin | --oldi | --old | --ol | --o)
459876ff6feSmrg    ac_prev=oldincludedir ;;
460876ff6feSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461876ff6feSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462876ff6feSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463876ff6feSmrg    oldincludedir=$ac_optarg ;;
464876ff6feSmrg
465876ff6feSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466876ff6feSmrg    ac_prev=prefix ;;
467876ff6feSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468876ff6feSmrg    prefix=$ac_optarg ;;
469876ff6feSmrg
470876ff6feSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
471876ff6feSmrg  | --program-pre | --program-pr | --program-p)
472876ff6feSmrg    ac_prev=program_prefix ;;
473876ff6feSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
474876ff6feSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475876ff6feSmrg    program_prefix=$ac_optarg ;;
476876ff6feSmrg
477876ff6feSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
478876ff6feSmrg  | --program-suf | --program-su | --program-s)
479876ff6feSmrg    ac_prev=program_suffix ;;
480876ff6feSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
481876ff6feSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482876ff6feSmrg    program_suffix=$ac_optarg ;;
483876ff6feSmrg
484876ff6feSmrg  -program-transform-name | --program-transform-name \
485876ff6feSmrg  | --program-transform-nam | --program-transform-na \
486876ff6feSmrg  | --program-transform-n | --program-transform- \
487876ff6feSmrg  | --program-transform | --program-transfor \
488876ff6feSmrg  | --program-transfo | --program-transf \
489876ff6feSmrg  | --program-trans | --program-tran \
490876ff6feSmrg  | --progr-tra | --program-tr | --program-t)
491876ff6feSmrg    ac_prev=program_transform_name ;;
492876ff6feSmrg  -program-transform-name=* | --program-transform-name=* \
493876ff6feSmrg  | --program-transform-nam=* | --program-transform-na=* \
494876ff6feSmrg  | --program-transform-n=* | --program-transform-=* \
495876ff6feSmrg  | --program-transform=* | --program-transfor=* \
496876ff6feSmrg  | --program-transfo=* | --program-transf=* \
497876ff6feSmrg  | --program-trans=* | --program-tran=* \
498876ff6feSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
499876ff6feSmrg    program_transform_name=$ac_optarg ;;
500876ff6feSmrg
501876ff6feSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502876ff6feSmrg  | -silent | --silent | --silen | --sile | --sil)
503876ff6feSmrg    silent=yes ;;
504876ff6feSmrg
505876ff6feSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506876ff6feSmrg    ac_prev=sbindir ;;
507876ff6feSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508876ff6feSmrg  | --sbi=* | --sb=*)
509876ff6feSmrg    sbindir=$ac_optarg ;;
510876ff6feSmrg
511876ff6feSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
512876ff6feSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513876ff6feSmrg  | --sharedst | --shareds | --shared | --share | --shar \
514876ff6feSmrg  | --sha | --sh)
515876ff6feSmrg    ac_prev=sharedstatedir ;;
516876ff6feSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517876ff6feSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518876ff6feSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519876ff6feSmrg  | --sha=* | --sh=*)
520876ff6feSmrg    sharedstatedir=$ac_optarg ;;
521876ff6feSmrg
522876ff6feSmrg  -site | --site | --sit)
523876ff6feSmrg    ac_prev=site ;;
524876ff6feSmrg  -site=* | --site=* | --sit=*)
525876ff6feSmrg    site=$ac_optarg ;;
526876ff6feSmrg
527876ff6feSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528876ff6feSmrg    ac_prev=srcdir ;;
529876ff6feSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530876ff6feSmrg    srcdir=$ac_optarg ;;
531876ff6feSmrg
532876ff6feSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533876ff6feSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
534876ff6feSmrg    ac_prev=sysconfdir ;;
535876ff6feSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536876ff6feSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537876ff6feSmrg    sysconfdir=$ac_optarg ;;
538876ff6feSmrg
539876ff6feSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
540876ff6feSmrg    ac_prev=target_alias ;;
541876ff6feSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542876ff6feSmrg    target_alias=$ac_optarg ;;
543876ff6feSmrg
544876ff6feSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
545876ff6feSmrg    verbose=yes ;;
546876ff6feSmrg
547876ff6feSmrg  -version | --version | --versio | --versi | --vers | -V)
548876ff6feSmrg    ac_init_version=: ;;
549876ff6feSmrg
550876ff6feSmrg  -with-* | --with-*)
551876ff6feSmrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552876ff6feSmrg    # Reject names that are not valid shell variable names.
553876ff6feSmrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554876ff6feSmrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
555876ff6feSmrg   { (exit 1); exit 1; }; }
556876ff6feSmrg    ac_package=`echo $ac_package| sed 's/-/_/g'`
557876ff6feSmrg    case $ac_option in
558876ff6feSmrg      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559876ff6feSmrg      *) ac_optarg=yes ;;
560876ff6feSmrg    esac
561876ff6feSmrg    eval "with_$ac_package='$ac_optarg'" ;;
562876ff6feSmrg
563876ff6feSmrg  -without-* | --without-*)
564876ff6feSmrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565876ff6feSmrg    # Reject names that are not valid shell variable names.
566876ff6feSmrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567876ff6feSmrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
568876ff6feSmrg   { (exit 1); exit 1; }; }
569876ff6feSmrg    ac_package=`echo $ac_package | sed 's/-/_/g'`
570876ff6feSmrg    eval "with_$ac_package=no" ;;
571876ff6feSmrg
572876ff6feSmrg  --x)
573876ff6feSmrg    # Obsolete; use --with-x.
574876ff6feSmrg    with_x=yes ;;
575876ff6feSmrg
576876ff6feSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577876ff6feSmrg  | --x-incl | --x-inc | --x-in | --x-i)
578876ff6feSmrg    ac_prev=x_includes ;;
579876ff6feSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580876ff6feSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581876ff6feSmrg    x_includes=$ac_optarg ;;
582876ff6feSmrg
583876ff6feSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
584876ff6feSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585876ff6feSmrg    ac_prev=x_libraries ;;
586876ff6feSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587876ff6feSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588876ff6feSmrg    x_libraries=$ac_optarg ;;
589876ff6feSmrg
590876ff6feSmrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
591876ff6feSmrgTry \`$0 --help' for more information." >&2
592876ff6feSmrg   { (exit 1); exit 1; }; }
593876ff6feSmrg    ;;
594876ff6feSmrg
595876ff6feSmrg  *=*)
596876ff6feSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597876ff6feSmrg    # Reject names that are not valid shell variable names.
598876ff6feSmrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599876ff6feSmrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600876ff6feSmrg   { (exit 1); exit 1; }; }
601876ff6feSmrg    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602876ff6feSmrg    eval "$ac_envvar='$ac_optarg'"
603876ff6feSmrg    export $ac_envvar ;;
604876ff6feSmrg
605876ff6feSmrg  *)
606876ff6feSmrg    # FIXME: should be removed in autoconf 3.0.
607876ff6feSmrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608876ff6feSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609876ff6feSmrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610876ff6feSmrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611876ff6feSmrg    ;;
612876ff6feSmrg
613876ff6feSmrg  esac
614876ff6feSmrgdone
615876ff6feSmrg
616876ff6feSmrgif test -n "$ac_prev"; then
617876ff6feSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618876ff6feSmrg  { echo "$as_me: error: missing argument to $ac_option" >&2
619876ff6feSmrg   { (exit 1); exit 1; }; }
620876ff6feSmrgfi
621876ff6feSmrg
622876ff6feSmrg# Be sure to have absolute paths.
623876ff6feSmrgfor ac_var in exec_prefix prefix
624876ff6feSmrgdo
625876ff6feSmrg  eval ac_val=$`echo $ac_var`
626876ff6feSmrg  case $ac_val in
627876ff6feSmrg    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628876ff6feSmrg    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629876ff6feSmrg   { (exit 1); exit 1; }; };;
630876ff6feSmrg  esac
631876ff6feSmrgdone
632876ff6feSmrg
633876ff6feSmrg# Be sure to have absolute paths.
634876ff6feSmrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635876ff6feSmrg	      localstatedir libdir includedir oldincludedir infodir mandir
636876ff6feSmrgdo
637876ff6feSmrg  eval ac_val=$`echo $ac_var`
638876ff6feSmrg  case $ac_val in
639876ff6feSmrg    [\\/$]* | ?:[\\/]* ) ;;
640876ff6feSmrg    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641876ff6feSmrg   { (exit 1); exit 1; }; };;
642876ff6feSmrg  esac
643876ff6feSmrgdone
644876ff6feSmrg
645876ff6feSmrg# There might be people who depend on the old broken behavior: `$host'
646876ff6feSmrg# used to hold the argument of --host etc.
647876ff6feSmrg# FIXME: To remove some day.
648876ff6feSmrgbuild=$build_alias
649876ff6feSmrghost=$host_alias
650876ff6feSmrgtarget=$target_alias
651876ff6feSmrg
652876ff6feSmrg# FIXME: To remove some day.
653876ff6feSmrgif test "x$host_alias" != x; then
654876ff6feSmrg  if test "x$build_alias" = x; then
655876ff6feSmrg    cross_compiling=maybe
656876ff6feSmrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657876ff6feSmrg    If a cross compiler is detected then cross compile mode will be used." >&2
658876ff6feSmrg  elif test "x$build_alias" != "x$host_alias"; then
659876ff6feSmrg    cross_compiling=yes
660876ff6feSmrg  fi
661876ff6feSmrgfi
662876ff6feSmrg
663876ff6feSmrgac_tool_prefix=
664876ff6feSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
665876ff6feSmrg
666876ff6feSmrgtest "$silent" = yes && exec 6>/dev/null
667876ff6feSmrg
668876ff6feSmrg
669876ff6feSmrg# Find the source files, if location was not specified.
670876ff6feSmrgif test -z "$srcdir"; then
671876ff6feSmrg  ac_srcdir_defaulted=yes
672876ff6feSmrg  # Try the directory containing this script, then its parent.
673876ff6feSmrg  ac_confdir=`(dirname "$0") 2>/dev/null ||
674876ff6feSmrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675876ff6feSmrg	 X"$0" : 'X\(//\)[^/]' \| \
676876ff6feSmrg	 X"$0" : 'X\(//\)$' \| \
677876ff6feSmrg	 X"$0" : 'X\(/\)' \| \
678876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
679876ff6feSmrgecho X"$0" |
680876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
683876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
684876ff6feSmrg  	  s/.*/./; q'`
685876ff6feSmrg  srcdir=$ac_confdir
686876ff6feSmrg  if test ! -r $srcdir/$ac_unique_file; then
687876ff6feSmrg    srcdir=..
688876ff6feSmrg  fi
689876ff6feSmrgelse
690876ff6feSmrg  ac_srcdir_defaulted=no
691876ff6feSmrgfi
692876ff6feSmrgif test ! -r $srcdir/$ac_unique_file; then
693876ff6feSmrg  if test "$ac_srcdir_defaulted" = yes; then
694876ff6feSmrg    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695876ff6feSmrg   { (exit 1); exit 1; }; }
696876ff6feSmrg  else
697876ff6feSmrg    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698876ff6feSmrg   { (exit 1); exit 1; }; }
699876ff6feSmrg  fi
700876ff6feSmrgfi
701876ff6feSmrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702876ff6feSmrg  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703876ff6feSmrg   { (exit 1); exit 1; }; }
704876ff6feSmrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705876ff6feSmrgac_env_build_alias_set=${build_alias+set}
706876ff6feSmrgac_env_build_alias_value=$build_alias
707876ff6feSmrgac_cv_env_build_alias_set=${build_alias+set}
708876ff6feSmrgac_cv_env_build_alias_value=$build_alias
709876ff6feSmrgac_env_host_alias_set=${host_alias+set}
710876ff6feSmrgac_env_host_alias_value=$host_alias
711876ff6feSmrgac_cv_env_host_alias_set=${host_alias+set}
712876ff6feSmrgac_cv_env_host_alias_value=$host_alias
713876ff6feSmrgac_env_target_alias_set=${target_alias+set}
714876ff6feSmrgac_env_target_alias_value=$target_alias
715876ff6feSmrgac_cv_env_target_alias_set=${target_alias+set}
716876ff6feSmrgac_cv_env_target_alias_value=$target_alias
717876ff6feSmrgac_env_CC_set=${CC+set}
718876ff6feSmrgac_env_CC_value=$CC
719876ff6feSmrgac_cv_env_CC_set=${CC+set}
720876ff6feSmrgac_cv_env_CC_value=$CC
721876ff6feSmrgac_env_CFLAGS_set=${CFLAGS+set}
722876ff6feSmrgac_env_CFLAGS_value=$CFLAGS
723876ff6feSmrgac_cv_env_CFLAGS_set=${CFLAGS+set}
724876ff6feSmrgac_cv_env_CFLAGS_value=$CFLAGS
725876ff6feSmrgac_env_LDFLAGS_set=${LDFLAGS+set}
726876ff6feSmrgac_env_LDFLAGS_value=$LDFLAGS
727876ff6feSmrgac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728876ff6feSmrgac_cv_env_LDFLAGS_value=$LDFLAGS
729876ff6feSmrgac_env_CPPFLAGS_set=${CPPFLAGS+set}
730876ff6feSmrgac_env_CPPFLAGS_value=$CPPFLAGS
731876ff6feSmrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732876ff6feSmrgac_cv_env_CPPFLAGS_value=$CPPFLAGS
733876ff6feSmrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
734876ff6feSmrgac_env_PKG_CONFIG_value=$PKG_CONFIG
735876ff6feSmrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
736876ff6feSmrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
737876ff6feSmrgac_env_XTRAP_APP_CFLAGS_set=${XTRAP_APP_CFLAGS+set}
738876ff6feSmrgac_env_XTRAP_APP_CFLAGS_value=$XTRAP_APP_CFLAGS
739876ff6feSmrgac_cv_env_XTRAP_APP_CFLAGS_set=${XTRAP_APP_CFLAGS+set}
740876ff6feSmrgac_cv_env_XTRAP_APP_CFLAGS_value=$XTRAP_APP_CFLAGS
741876ff6feSmrgac_env_XTRAP_APP_LIBS_set=${XTRAP_APP_LIBS+set}
742876ff6feSmrgac_env_XTRAP_APP_LIBS_value=$XTRAP_APP_LIBS
743876ff6feSmrgac_cv_env_XTRAP_APP_LIBS_set=${XTRAP_APP_LIBS+set}
744876ff6feSmrgac_cv_env_XTRAP_APP_LIBS_value=$XTRAP_APP_LIBS
745876ff6feSmrg
746876ff6feSmrg#
747876ff6feSmrg# Report the --help message.
748876ff6feSmrg#
749876ff6feSmrgif test "$ac_init_help" = "long"; then
750876ff6feSmrg  # Omit some internal or obsolete options to make the list less imposing.
751876ff6feSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
752876ff6feSmrg  cat <<_ACEOF
753876ff6feSmrg\`configure' configures xtrap 1.0.2 to adapt to many kinds of systems.
754876ff6feSmrg
755876ff6feSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
756876ff6feSmrg
757876ff6feSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
758876ff6feSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
759876ff6feSmrg
760876ff6feSmrgDefaults for the options are specified in brackets.
761876ff6feSmrg
762876ff6feSmrgConfiguration:
763876ff6feSmrg  -h, --help              display this help and exit
764876ff6feSmrg      --help=short        display options specific to this package
765876ff6feSmrg      --help=recursive    display the short help of all the included packages
766876ff6feSmrg  -V, --version           display version information and exit
767876ff6feSmrg  -q, --quiet, --silent   do not print \`checking...' messages
768876ff6feSmrg      --cache-file=FILE   cache test results in FILE [disabled]
769876ff6feSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
770876ff6feSmrg  -n, --no-create         do not create output files
771876ff6feSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
772876ff6feSmrg
773876ff6feSmrg_ACEOF
774876ff6feSmrg
775876ff6feSmrg  cat <<_ACEOF
776876ff6feSmrgInstallation directories:
777876ff6feSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
778876ff6feSmrg			  [$ac_default_prefix]
779876ff6feSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
780876ff6feSmrg			  [PREFIX]
781876ff6feSmrg
782876ff6feSmrgBy default, \`make install' will install all the files in
783876ff6feSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
784876ff6feSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
785876ff6feSmrgfor instance \`--prefix=\$HOME'.
786876ff6feSmrg
787876ff6feSmrgFor better control, use the options below.
788876ff6feSmrg
789876ff6feSmrgFine tuning of the installation directories:
790876ff6feSmrg  --bindir=DIR           user executables [EPREFIX/bin]
791876ff6feSmrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
792876ff6feSmrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
793876ff6feSmrg  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
794876ff6feSmrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
795876ff6feSmrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
796876ff6feSmrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
797876ff6feSmrg  --libdir=DIR           object code libraries [EPREFIX/lib]
798876ff6feSmrg  --includedir=DIR       C header files [PREFIX/include]
799876ff6feSmrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
800876ff6feSmrg  --infodir=DIR          info documentation [PREFIX/info]
801876ff6feSmrg  --mandir=DIR           man documentation [PREFIX/man]
802876ff6feSmrg_ACEOF
803876ff6feSmrg
804876ff6feSmrg  cat <<\_ACEOF
805876ff6feSmrg
806876ff6feSmrgProgram names:
807876ff6feSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
808876ff6feSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
809876ff6feSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
810876ff6feSmrg
811876ff6feSmrgSystem types:
812876ff6feSmrg  --build=BUILD     configure for building on BUILD [guessed]
813876ff6feSmrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
814876ff6feSmrg_ACEOF
815876ff6feSmrgfi
816876ff6feSmrg
817876ff6feSmrgif test -n "$ac_init_help"; then
818876ff6feSmrg  case $ac_init_help in
819876ff6feSmrg     short | recursive ) echo "Configuration of xtrap 1.0.2:";;
820876ff6feSmrg   esac
821876ff6feSmrg  cat <<\_ACEOF
822876ff6feSmrg
823876ff6feSmrgOptional Features:
824876ff6feSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
825876ff6feSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
826876ff6feSmrg  --enable-maintainer-mode  enable make rules and dependencies not useful
827876ff6feSmrg			  (and sometimes confusing) to the casual installer
828876ff6feSmrg  --disable-dependency-tracking  speeds up one-time build
829876ff6feSmrg  --enable-dependency-tracking   do not reject slow dependency extractors
830876ff6feSmrg
831876ff6feSmrgOptional Packages:
832876ff6feSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
833876ff6feSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
834876ff6feSmrg  --with-release-version=STRING
835876ff6feSmrg                          Use release version string in package name
836876ff6feSmrg
837876ff6feSmrgSome influential environment variables:
838876ff6feSmrg  CC          C compiler command
839876ff6feSmrg  CFLAGS      C compiler flags
840876ff6feSmrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
841876ff6feSmrg              nonstandard directory <lib dir>
842876ff6feSmrg  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
843876ff6feSmrg              headers in a nonstandard directory <include dir>
844876ff6feSmrg  PKG_CONFIG  path to pkg-config utility
845876ff6feSmrg  XTRAP_APP_CFLAGS
846876ff6feSmrg              C compiler flags for XTRAP_APP, overriding pkg-config
847876ff6feSmrg  XTRAP_APP_LIBS
848876ff6feSmrg              linker flags for XTRAP_APP, overriding pkg-config
849876ff6feSmrg
850876ff6feSmrgUse these variables to override the choices made by `configure' or to help
851876ff6feSmrgit to find libraries and programs with nonstandard names/locations.
852876ff6feSmrg
853876ff6feSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
854876ff6feSmrg_ACEOF
855876ff6feSmrgfi
856876ff6feSmrg
857876ff6feSmrgif test "$ac_init_help" = "recursive"; then
858876ff6feSmrg  # If there are subdirs, report their specific --help.
859876ff6feSmrg  ac_popdir=`pwd`
860876ff6feSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
861876ff6feSmrg    test -d $ac_dir || continue
862876ff6feSmrg    ac_builddir=.
863876ff6feSmrg
864876ff6feSmrgif test "$ac_dir" != .; then
865876ff6feSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
866876ff6feSmrg  # A "../" for each directory in $ac_dir_suffix.
867876ff6feSmrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
868876ff6feSmrgelse
869876ff6feSmrg  ac_dir_suffix= ac_top_builddir=
870876ff6feSmrgfi
871876ff6feSmrg
872876ff6feSmrgcase $srcdir in
873876ff6feSmrg  .)  # No --srcdir option.  We are building in place.
874876ff6feSmrg    ac_srcdir=.
875876ff6feSmrg    if test -z "$ac_top_builddir"; then
876876ff6feSmrg       ac_top_srcdir=.
877876ff6feSmrg    else
878876ff6feSmrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
879876ff6feSmrg    fi ;;
880876ff6feSmrg  [\\/]* | ?:[\\/]* )  # Absolute path.
881876ff6feSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
882876ff6feSmrg    ac_top_srcdir=$srcdir ;;
883876ff6feSmrg  *) # Relative path.
884876ff6feSmrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
885876ff6feSmrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
886876ff6feSmrgesac
887876ff6feSmrg
888876ff6feSmrg# Do not use `cd foo && pwd` to compute absolute paths, because
889876ff6feSmrg# the directories may not exist.
890876ff6feSmrgcase `pwd` in
891876ff6feSmrg.) ac_abs_builddir="$ac_dir";;
892876ff6feSmrg*)
893876ff6feSmrg  case "$ac_dir" in
894876ff6feSmrg  .) ac_abs_builddir=`pwd`;;
895876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
896876ff6feSmrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
897876ff6feSmrg  esac;;
898876ff6feSmrgesac
899876ff6feSmrgcase $ac_abs_builddir in
900876ff6feSmrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
901876ff6feSmrg*)
902876ff6feSmrg  case ${ac_top_builddir}. in
903876ff6feSmrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
904876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
905876ff6feSmrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
906876ff6feSmrg  esac;;
907876ff6feSmrgesac
908876ff6feSmrgcase $ac_abs_builddir in
909876ff6feSmrg.) ac_abs_srcdir=$ac_srcdir;;
910876ff6feSmrg*)
911876ff6feSmrg  case $ac_srcdir in
912876ff6feSmrg  .) ac_abs_srcdir=$ac_abs_builddir;;
913876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
914876ff6feSmrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
915876ff6feSmrg  esac;;
916876ff6feSmrgesac
917876ff6feSmrgcase $ac_abs_builddir in
918876ff6feSmrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
919876ff6feSmrg*)
920876ff6feSmrg  case $ac_top_srcdir in
921876ff6feSmrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
922876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
923876ff6feSmrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
924876ff6feSmrg  esac;;
925876ff6feSmrgesac
926876ff6feSmrg
927876ff6feSmrg    cd $ac_dir
928876ff6feSmrg    # Check for guested configure; otherwise get Cygnus style configure.
929876ff6feSmrg    if test -f $ac_srcdir/configure.gnu; then
930876ff6feSmrg      echo
931876ff6feSmrg      $SHELL $ac_srcdir/configure.gnu  --help=recursive
932876ff6feSmrg    elif test -f $ac_srcdir/configure; then
933876ff6feSmrg      echo
934876ff6feSmrg      $SHELL $ac_srcdir/configure  --help=recursive
935876ff6feSmrg    elif test -f $ac_srcdir/configure.ac ||
936876ff6feSmrg	   test -f $ac_srcdir/configure.in; then
937876ff6feSmrg      echo
938876ff6feSmrg      $ac_configure --help
939876ff6feSmrg    else
940876ff6feSmrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
941876ff6feSmrg    fi
942876ff6feSmrg    cd $ac_popdir
943876ff6feSmrg  done
944876ff6feSmrgfi
945876ff6feSmrg
946876ff6feSmrgtest -n "$ac_init_help" && exit 0
947876ff6feSmrgif $ac_init_version; then
948876ff6feSmrg  cat <<\_ACEOF
949876ff6feSmrgxtrap configure 1.0.2
950876ff6feSmrggenerated by GNU Autoconf 2.59
951876ff6feSmrg
952876ff6feSmrgCopyright (C) 2003 Free Software Foundation, Inc.
953876ff6feSmrgThis configure script is free software; the Free Software Foundation
954876ff6feSmrggives unlimited permission to copy, distribute and modify it.
955876ff6feSmrg_ACEOF
956876ff6feSmrg  exit 0
957876ff6feSmrgfi
958876ff6feSmrgexec 5>config.log
959876ff6feSmrgcat >&5 <<_ACEOF
960876ff6feSmrgThis file contains any messages produced by compilers while
961876ff6feSmrgrunning configure, to aid debugging if configure makes a mistake.
962876ff6feSmrg
963876ff6feSmrgIt was created by xtrap $as_me 1.0.2, which was
964876ff6feSmrggenerated by GNU Autoconf 2.59.  Invocation command line was
965876ff6feSmrg
966876ff6feSmrg  $ $0 $@
967876ff6feSmrg
968876ff6feSmrg_ACEOF
969876ff6feSmrg{
970876ff6feSmrgcat <<_ASUNAME
971876ff6feSmrg## --------- ##
972876ff6feSmrg## Platform. ##
973876ff6feSmrg## --------- ##
974876ff6feSmrg
975876ff6feSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
976876ff6feSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
977876ff6feSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
978876ff6feSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
979876ff6feSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
980876ff6feSmrg
981876ff6feSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
982876ff6feSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
983876ff6feSmrg
984876ff6feSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
985876ff6feSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
986876ff6feSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
987876ff6feSmrghostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
988876ff6feSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
989876ff6feSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
990876ff6feSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
991876ff6feSmrg
992876ff6feSmrg_ASUNAME
993876ff6feSmrg
994876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
995876ff6feSmrgfor as_dir in $PATH
996876ff6feSmrgdo
997876ff6feSmrg  IFS=$as_save_IFS
998876ff6feSmrg  test -z "$as_dir" && as_dir=.
999876ff6feSmrg  echo "PATH: $as_dir"
1000876ff6feSmrgdone
1001876ff6feSmrg
1002876ff6feSmrg} >&5
1003876ff6feSmrg
1004876ff6feSmrgcat >&5 <<_ACEOF
1005876ff6feSmrg
1006876ff6feSmrg
1007876ff6feSmrg## ----------- ##
1008876ff6feSmrg## Core tests. ##
1009876ff6feSmrg## ----------- ##
1010876ff6feSmrg
1011876ff6feSmrg_ACEOF
1012876ff6feSmrg
1013876ff6feSmrg
1014876ff6feSmrg# Keep a trace of the command line.
1015876ff6feSmrg# Strip out --no-create and --no-recursion so they do not pile up.
1016876ff6feSmrg# Strip out --silent because we don't want to record it for future runs.
1017876ff6feSmrg# Also quote any args containing shell meta-characters.
1018876ff6feSmrg# Make two passes to allow for proper duplicate-argument suppression.
1019876ff6feSmrgac_configure_args=
1020876ff6feSmrgac_configure_args0=
1021876ff6feSmrgac_configure_args1=
1022876ff6feSmrgac_sep=
1023876ff6feSmrgac_must_keep_next=false
1024876ff6feSmrgfor ac_pass in 1 2
1025876ff6feSmrgdo
1026876ff6feSmrg  for ac_arg
1027876ff6feSmrg  do
1028876ff6feSmrg    case $ac_arg in
1029876ff6feSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1030876ff6feSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1031876ff6feSmrg    | -silent | --silent | --silen | --sile | --sil)
1032876ff6feSmrg      continue ;;
1033876ff6feSmrg    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1034876ff6feSmrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1035876ff6feSmrg    esac
1036876ff6feSmrg    case $ac_pass in
1037876ff6feSmrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1038876ff6feSmrg    2)
1039876ff6feSmrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1040876ff6feSmrg      if test $ac_must_keep_next = true; then
1041876ff6feSmrg	ac_must_keep_next=false # Got value, back to normal.
1042876ff6feSmrg      else
1043876ff6feSmrg	case $ac_arg in
1044876ff6feSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1045876ff6feSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1046876ff6feSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1047876ff6feSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1048876ff6feSmrg	    case "$ac_configure_args0 " in
1049876ff6feSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1050876ff6feSmrg	    esac
1051876ff6feSmrg	    ;;
1052876ff6feSmrg	  -* ) ac_must_keep_next=true ;;
1053876ff6feSmrg	esac
1054876ff6feSmrg      fi
1055876ff6feSmrg      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1056876ff6feSmrg      # Get rid of the leading space.
1057876ff6feSmrg      ac_sep=" "
1058876ff6feSmrg      ;;
1059876ff6feSmrg    esac
1060876ff6feSmrg  done
1061876ff6feSmrgdone
1062876ff6feSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1063876ff6feSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1064876ff6feSmrg
1065876ff6feSmrg# When interrupted or exit'd, cleanup temporary files, and complete
1066876ff6feSmrg# config.log.  We remove comments because anyway the quotes in there
1067876ff6feSmrg# would cause problems or look ugly.
1068876ff6feSmrg# WARNING: Be sure not to use single quotes in there, as some shells,
1069876ff6feSmrg# such as our DU 5.0 friend, will then `close' the trap.
1070876ff6feSmrgtrap 'exit_status=$?
1071876ff6feSmrg  # Save into config.log some information that might help in debugging.
1072876ff6feSmrg  {
1073876ff6feSmrg    echo
1074876ff6feSmrg
1075876ff6feSmrg    cat <<\_ASBOX
1076876ff6feSmrg## ---------------- ##
1077876ff6feSmrg## Cache variables. ##
1078876ff6feSmrg## ---------------- ##
1079876ff6feSmrg_ASBOX
1080876ff6feSmrg    echo
1081876ff6feSmrg    # The following way of writing the cache mishandles newlines in values,
1082876ff6feSmrg{
1083876ff6feSmrg  (set) 2>&1 |
1084876ff6feSmrg    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1085876ff6feSmrg    *ac_space=\ *)
1086876ff6feSmrg      sed -n \
1087876ff6feSmrg	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1088876ff6feSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1089876ff6feSmrg      ;;
1090876ff6feSmrg    *)
1091876ff6feSmrg      sed -n \
1092876ff6feSmrg	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1093876ff6feSmrg      ;;
1094876ff6feSmrg    esac;
1095876ff6feSmrg}
1096876ff6feSmrg    echo
1097876ff6feSmrg
1098876ff6feSmrg    cat <<\_ASBOX
1099876ff6feSmrg## ----------------- ##
1100876ff6feSmrg## Output variables. ##
1101876ff6feSmrg## ----------------- ##
1102876ff6feSmrg_ASBOX
1103876ff6feSmrg    echo
1104876ff6feSmrg    for ac_var in $ac_subst_vars
1105876ff6feSmrg    do
1106876ff6feSmrg      eval ac_val=$`echo $ac_var`
1107876ff6feSmrg      echo "$ac_var='"'"'$ac_val'"'"'"
1108876ff6feSmrg    done | sort
1109876ff6feSmrg    echo
1110876ff6feSmrg
1111876ff6feSmrg    if test -n "$ac_subst_files"; then
1112876ff6feSmrg      cat <<\_ASBOX
1113876ff6feSmrg## ------------- ##
1114876ff6feSmrg## Output files. ##
1115876ff6feSmrg## ------------- ##
1116876ff6feSmrg_ASBOX
1117876ff6feSmrg      echo
1118876ff6feSmrg      for ac_var in $ac_subst_files
1119876ff6feSmrg      do
1120876ff6feSmrg	eval ac_val=$`echo $ac_var`
1121876ff6feSmrg	echo "$ac_var='"'"'$ac_val'"'"'"
1122876ff6feSmrg      done | sort
1123876ff6feSmrg      echo
1124876ff6feSmrg    fi
1125876ff6feSmrg
1126876ff6feSmrg    if test -s confdefs.h; then
1127876ff6feSmrg      cat <<\_ASBOX
1128876ff6feSmrg## ----------- ##
1129876ff6feSmrg## confdefs.h. ##
1130876ff6feSmrg## ----------- ##
1131876ff6feSmrg_ASBOX
1132876ff6feSmrg      echo
1133876ff6feSmrg      sed "/^$/d" confdefs.h | sort
1134876ff6feSmrg      echo
1135876ff6feSmrg    fi
1136876ff6feSmrg    test "$ac_signal" != 0 &&
1137876ff6feSmrg      echo "$as_me: caught signal $ac_signal"
1138876ff6feSmrg    echo "$as_me: exit $exit_status"
1139876ff6feSmrg  } >&5
1140876ff6feSmrg  rm -f core *.core &&
1141876ff6feSmrg  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1142876ff6feSmrg    exit $exit_status
1143876ff6feSmrg     ' 0
1144876ff6feSmrgfor ac_signal in 1 2 13 15; do
1145876ff6feSmrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1146876ff6feSmrgdone
1147876ff6feSmrgac_signal=0
1148876ff6feSmrg
1149876ff6feSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1150876ff6feSmrgrm -rf conftest* confdefs.h
1151876ff6feSmrg# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1152876ff6feSmrgecho >confdefs.h
1153876ff6feSmrg
1154876ff6feSmrg# Predefined preprocessor variables.
1155876ff6feSmrg
1156876ff6feSmrgcat >>confdefs.h <<_ACEOF
1157876ff6feSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
1158876ff6feSmrg_ACEOF
1159876ff6feSmrg
1160876ff6feSmrg
1161876ff6feSmrgcat >>confdefs.h <<_ACEOF
1162876ff6feSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1163876ff6feSmrg_ACEOF
1164876ff6feSmrg
1165876ff6feSmrg
1166876ff6feSmrgcat >>confdefs.h <<_ACEOF
1167876ff6feSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1168876ff6feSmrg_ACEOF
1169876ff6feSmrg
1170876ff6feSmrg
1171876ff6feSmrgcat >>confdefs.h <<_ACEOF
1172876ff6feSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
1173876ff6feSmrg_ACEOF
1174876ff6feSmrg
1175876ff6feSmrg
1176876ff6feSmrgcat >>confdefs.h <<_ACEOF
1177876ff6feSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1178876ff6feSmrg_ACEOF
1179876ff6feSmrg
1180876ff6feSmrg
1181876ff6feSmrg# Let the site file select an alternate cache file if it wants to.
1182876ff6feSmrg# Prefer explicitly selected file to automatically selected ones.
1183876ff6feSmrgif test -z "$CONFIG_SITE"; then
1184876ff6feSmrg  if test "x$prefix" != xNONE; then
1185876ff6feSmrg    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1186876ff6feSmrg  else
1187876ff6feSmrg    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1188876ff6feSmrg  fi
1189876ff6feSmrgfi
1190876ff6feSmrgfor ac_site_file in $CONFIG_SITE; do
1191876ff6feSmrg  if test -r "$ac_site_file"; then
1192876ff6feSmrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1193876ff6feSmrgecho "$as_me: loading site script $ac_site_file" >&6;}
1194876ff6feSmrg    sed 's/^/| /' "$ac_site_file" >&5
1195876ff6feSmrg    . "$ac_site_file"
1196876ff6feSmrg  fi
1197876ff6feSmrgdone
1198876ff6feSmrg
1199876ff6feSmrgif test -r "$cache_file"; then
1200876ff6feSmrg  # Some versions of bash will fail to source /dev/null (special
1201876ff6feSmrg  # files actually), so we avoid doing that.
1202876ff6feSmrg  if test -f "$cache_file"; then
1203876ff6feSmrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1204876ff6feSmrgecho "$as_me: loading cache $cache_file" >&6;}
1205876ff6feSmrg    case $cache_file in
1206876ff6feSmrg      [\\/]* | ?:[\\/]* ) . $cache_file;;
1207876ff6feSmrg      *)                      . ./$cache_file;;
1208876ff6feSmrg    esac
1209876ff6feSmrg  fi
1210876ff6feSmrgelse
1211876ff6feSmrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1212876ff6feSmrgecho "$as_me: creating cache $cache_file" >&6;}
1213876ff6feSmrg  >$cache_file
1214876ff6feSmrgfi
1215876ff6feSmrg
1216876ff6feSmrg# Check that the precious variables saved in the cache have kept the same
1217876ff6feSmrg# value.
1218876ff6feSmrgac_cache_corrupted=false
1219876ff6feSmrgfor ac_var in `(set) 2>&1 |
1220876ff6feSmrg	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1221876ff6feSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1222876ff6feSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
1223876ff6feSmrg  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1224876ff6feSmrg  eval ac_new_val="\$ac_env_${ac_var}_value"
1225876ff6feSmrg  case $ac_old_set,$ac_new_set in
1226876ff6feSmrg    set,)
1227876ff6feSmrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1228876ff6feSmrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1229876ff6feSmrg      ac_cache_corrupted=: ;;
1230876ff6feSmrg    ,set)
1231876ff6feSmrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1232876ff6feSmrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1233876ff6feSmrg      ac_cache_corrupted=: ;;
1234876ff6feSmrg    ,);;
1235876ff6feSmrg    *)
1236876ff6feSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1237876ff6feSmrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1238876ff6feSmrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1239876ff6feSmrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1240876ff6feSmrgecho "$as_me:   former value:  $ac_old_val" >&2;}
1241876ff6feSmrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1242876ff6feSmrgecho "$as_me:   current value: $ac_new_val" >&2;}
1243876ff6feSmrg	ac_cache_corrupted=:
1244876ff6feSmrg      fi;;
1245876ff6feSmrg  esac
1246876ff6feSmrg  # Pass precious variables to config.status.
1247876ff6feSmrg  if test "$ac_new_set" = set; then
1248876ff6feSmrg    case $ac_new_val in
1249876ff6feSmrg    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1250876ff6feSmrg      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1251876ff6feSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
1252876ff6feSmrg    esac
1253876ff6feSmrg    case " $ac_configure_args " in
1254876ff6feSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1255876ff6feSmrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1256876ff6feSmrg    esac
1257876ff6feSmrg  fi
1258876ff6feSmrgdone
1259876ff6feSmrgif $ac_cache_corrupted; then
1260876ff6feSmrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1261876ff6feSmrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
1262876ff6feSmrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1263876ff6feSmrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1264876ff6feSmrg   { (exit 1); exit 1; }; }
1265876ff6feSmrgfi
1266876ff6feSmrg
1267876ff6feSmrgac_ext=c
1268876ff6feSmrgac_cpp='$CPP $CPPFLAGS'
1269876ff6feSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1270876ff6feSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1271876ff6feSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1272876ff6feSmrg
1273876ff6feSmrg
1274876ff6feSmrg
1275876ff6feSmrg
1276876ff6feSmrg
1277876ff6feSmrg
1278876ff6feSmrg
1279876ff6feSmrg
1280876ff6feSmrg
1281876ff6feSmrg
1282876ff6feSmrg
1283876ff6feSmrg
1284876ff6feSmrg
1285876ff6feSmrg
1286876ff6feSmrg
1287876ff6feSmrg
1288876ff6feSmrg
1289876ff6feSmrg
1290876ff6feSmrg
1291876ff6feSmrg
1292876ff6feSmrg
1293876ff6feSmrg
1294876ff6feSmrg
1295876ff6feSmrg
1296876ff6feSmrg
1297876ff6feSmrg
1298876ff6feSmrg
1299876ff6feSmrgam__api_version="1.9"
1300876ff6feSmrgac_aux_dir=
1301876ff6feSmrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1302876ff6feSmrg  if test -f $ac_dir/install-sh; then
1303876ff6feSmrg    ac_aux_dir=$ac_dir
1304876ff6feSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1305876ff6feSmrg    break
1306876ff6feSmrg  elif test -f $ac_dir/install.sh; then
1307876ff6feSmrg    ac_aux_dir=$ac_dir
1308876ff6feSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1309876ff6feSmrg    break
1310876ff6feSmrg  elif test -f $ac_dir/shtool; then
1311876ff6feSmrg    ac_aux_dir=$ac_dir
1312876ff6feSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1313876ff6feSmrg    break
1314876ff6feSmrg  fi
1315876ff6feSmrgdone
1316876ff6feSmrgif test -z "$ac_aux_dir"; then
1317876ff6feSmrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1318876ff6feSmrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1319876ff6feSmrg   { (exit 1); exit 1; }; }
1320876ff6feSmrgfi
1321876ff6feSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess"
1322876ff6feSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub"
1323876ff6feSmrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1324876ff6feSmrg
1325876ff6feSmrg# Find a good install program.  We prefer a C program (faster),
1326876ff6feSmrg# so one script is as good as another.  But avoid the broken or
1327876ff6feSmrg# incompatible versions:
1328876ff6feSmrg# SysV /etc/install, /usr/sbin/install
1329876ff6feSmrg# SunOS /usr/etc/install
1330876ff6feSmrg# IRIX /sbin/install
1331876ff6feSmrg# AIX /bin/install
1332876ff6feSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1333876ff6feSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1334876ff6feSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1335876ff6feSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1336876ff6feSmrg# OS/2's system install, which has a completely different semantic
1337876ff6feSmrg# ./install, which can be erroneously created by make from ./install.sh.
1338876ff6feSmrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1339876ff6feSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1340876ff6feSmrgif test -z "$INSTALL"; then
1341876ff6feSmrgif test "${ac_cv_path_install+set}" = set; then
1342876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1343876ff6feSmrgelse
1344876ff6feSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1345876ff6feSmrgfor as_dir in $PATH
1346876ff6feSmrgdo
1347876ff6feSmrg  IFS=$as_save_IFS
1348876ff6feSmrg  test -z "$as_dir" && as_dir=.
1349876ff6feSmrg  # Account for people who put trailing slashes in PATH elements.
1350876ff6feSmrgcase $as_dir/ in
1351876ff6feSmrg  ./ | .// | /cC/* | \
1352876ff6feSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1353876ff6feSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1354876ff6feSmrg  /usr/ucb/* ) ;;
1355876ff6feSmrg  *)
1356876ff6feSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1357876ff6feSmrg    # Don't use installbsd from OSF since it installs stuff as root
1358876ff6feSmrg    # by default.
1359876ff6feSmrg    for ac_prog in ginstall scoinst install; do
1360876ff6feSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
1361876ff6feSmrg	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1362876ff6feSmrg	  if test $ac_prog = install &&
1363876ff6feSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1364876ff6feSmrg	    # AIX install.  It has an incompatible calling convention.
1365876ff6feSmrg	    :
1366876ff6feSmrg	  elif test $ac_prog = install &&
1367876ff6feSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1368876ff6feSmrg	    # program-specific install script used by HP pwplus--don't use.
1369876ff6feSmrg	    :
1370876ff6feSmrg	  else
1371876ff6feSmrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1372876ff6feSmrg	    break 3
1373876ff6feSmrg	  fi
1374876ff6feSmrg	fi
1375876ff6feSmrg      done
1376876ff6feSmrg    done
1377876ff6feSmrg    ;;
1378876ff6feSmrgesac
1379876ff6feSmrgdone
1380876ff6feSmrg
1381876ff6feSmrg
1382876ff6feSmrgfi
1383876ff6feSmrg  if test "${ac_cv_path_install+set}" = set; then
1384876ff6feSmrg    INSTALL=$ac_cv_path_install
1385876ff6feSmrg  else
1386876ff6feSmrg    # As a last resort, use the slow shell script.  We don't cache a
1387876ff6feSmrg    # path for INSTALL within a source directory, because that will
1388876ff6feSmrg    # break other packages using the cache if that directory is
1389876ff6feSmrg    # removed, or if the path is relative.
1390876ff6feSmrg    INSTALL=$ac_install_sh
1391876ff6feSmrg  fi
1392876ff6feSmrgfi
1393876ff6feSmrgecho "$as_me:$LINENO: result: $INSTALL" >&5
1394876ff6feSmrgecho "${ECHO_T}$INSTALL" >&6
1395876ff6feSmrg
1396876ff6feSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1397876ff6feSmrg# It thinks the first close brace ends the variable substitution.
1398876ff6feSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1399876ff6feSmrg
1400876ff6feSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1401876ff6feSmrg
1402876ff6feSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1403876ff6feSmrg
1404876ff6feSmrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5
1405876ff6feSmrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1406876ff6feSmrg# Just in case
1407876ff6feSmrgsleep 1
1408876ff6feSmrgecho timestamp > conftest.file
1409876ff6feSmrg# Do `set' in a subshell so we don't clobber the current shell's
1410876ff6feSmrg# arguments.  Must try -L first in case configure is actually a
1411876ff6feSmrg# symlink; some systems play weird games with the mod time of symlinks
1412876ff6feSmrg# (eg FreeBSD returns the mod time of the symlink's containing
1413876ff6feSmrg# directory).
1414876ff6feSmrgif (
1415876ff6feSmrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1416876ff6feSmrg   if test "$*" = "X"; then
1417876ff6feSmrg      # -L didn't work.
1418876ff6feSmrg      set X `ls -t $srcdir/configure conftest.file`
1419876ff6feSmrg   fi
1420876ff6feSmrg   rm -f conftest.file
1421876ff6feSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
1422876ff6feSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
1423876ff6feSmrg
1424876ff6feSmrg      # If neither matched, then we have a broken ls.  This can happen
1425876ff6feSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
1426876ff6feSmrg      # broken ls alias from the environment.  This has actually
1427876ff6feSmrg      # happened.  Such a system could not be considered "sane".
1428876ff6feSmrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1429876ff6feSmrgalias in your environment" >&5
1430876ff6feSmrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1431876ff6feSmrgalias in your environment" >&2;}
1432876ff6feSmrg   { (exit 1); exit 1; }; }
1433876ff6feSmrg   fi
1434876ff6feSmrg
1435876ff6feSmrg   test "$2" = conftest.file
1436876ff6feSmrg   )
1437876ff6feSmrgthen
1438876ff6feSmrg   # Ok.
1439876ff6feSmrg   :
1440876ff6feSmrgelse
1441876ff6feSmrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1442876ff6feSmrgCheck your system clock" >&5
1443876ff6feSmrgecho "$as_me: error: newly created file is older than distributed files!
1444876ff6feSmrgCheck your system clock" >&2;}
1445876ff6feSmrg   { (exit 1); exit 1; }; }
1446876ff6feSmrgfi
1447876ff6feSmrgecho "$as_me:$LINENO: result: yes" >&5
1448876ff6feSmrgecho "${ECHO_T}yes" >&6
1449876ff6feSmrgtest "$program_prefix" != NONE &&
1450876ff6feSmrg  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1451876ff6feSmrg# Use a double $ so make ignores it.
1452876ff6feSmrgtest "$program_suffix" != NONE &&
1453876ff6feSmrg  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1454876ff6feSmrg# Double any \ or $.  echo might interpret backslashes.
1455876ff6feSmrg# By default was `s,x,x', remove it if useless.
1456876ff6feSmrgcat <<\_ACEOF >conftest.sed
1457876ff6feSmrgs/[\\$]/&&/g;s/;s,x,x,$//
1458876ff6feSmrg_ACEOF
1459876ff6feSmrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1460876ff6feSmrgrm conftest.sed
1461876ff6feSmrg
1462876ff6feSmrg# expand $ac_aux_dir to an absolute path
1463876ff6feSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
1464876ff6feSmrg
1465876ff6feSmrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1466876ff6feSmrg# Use eval to expand $SHELL
1467876ff6feSmrgif eval "$MISSING --run true"; then
1468876ff6feSmrg  am_missing_run="$MISSING --run "
1469876ff6feSmrgelse
1470876ff6feSmrg  am_missing_run=
1471876ff6feSmrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1472876ff6feSmrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1473876ff6feSmrgfi
1474876ff6feSmrg
1475876ff6feSmrgif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1476876ff6feSmrg  # We used to keeping the `.' as first argument, in order to
1477876ff6feSmrg  # allow $(mkdir_p) to be used without argument.  As in
1478876ff6feSmrg  #   $(mkdir_p) $(somedir)
1479876ff6feSmrg  # where $(somedir) is conditionally defined.  However this is wrong
1480876ff6feSmrg  # for two reasons:
1481876ff6feSmrg  #  1. if the package is installed by a user who cannot write `.'
1482876ff6feSmrg  #     make install will fail,
1483876ff6feSmrg  #  2. the above comment should most certainly read
1484876ff6feSmrg  #     $(mkdir_p) $(DESTDIR)$(somedir)
1485876ff6feSmrg  #     so it does not work when $(somedir) is undefined and
1486876ff6feSmrg  #     $(DESTDIR) is not.
1487876ff6feSmrg  #  To support the latter case, we have to write
1488876ff6feSmrg  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1489876ff6feSmrg  #  so the `.' trick is pointless.
1490876ff6feSmrg  mkdir_p='mkdir -p --'
1491876ff6feSmrgelse
1492876ff6feSmrg  # On NextStep and OpenStep, the `mkdir' command does not
1493876ff6feSmrg  # recognize any option.  It will interpret all options as
1494876ff6feSmrg  # directories to create, and then abort because `.' already
1495876ff6feSmrg  # exists.
1496876ff6feSmrg  for d in ./-p ./--version;
1497876ff6feSmrg  do
1498876ff6feSmrg    test -d $d && rmdir $d
1499876ff6feSmrg  done
1500876ff6feSmrg  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1501876ff6feSmrg  if test -f "$ac_aux_dir/mkinstalldirs"; then
1502876ff6feSmrg    mkdir_p='$(mkinstalldirs)'
1503876ff6feSmrg  else
1504876ff6feSmrg    mkdir_p='$(install_sh) -d'
1505876ff6feSmrg  fi
1506876ff6feSmrgfi
1507876ff6feSmrg
1508876ff6feSmrgfor ac_prog in gawk mawk nawk awk
1509876ff6feSmrgdo
1510876ff6feSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
1511876ff6feSmrgset dummy $ac_prog; ac_word=$2
1512876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1513876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1514876ff6feSmrgif test "${ac_cv_prog_AWK+set}" = set; then
1515876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1516876ff6feSmrgelse
1517876ff6feSmrg  if test -n "$AWK"; then
1518876ff6feSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1519876ff6feSmrgelse
1520876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1521876ff6feSmrgfor as_dir in $PATH
1522876ff6feSmrgdo
1523876ff6feSmrg  IFS=$as_save_IFS
1524876ff6feSmrg  test -z "$as_dir" && as_dir=.
1525876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
1526876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1527876ff6feSmrg    ac_cv_prog_AWK="$ac_prog"
1528876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1529876ff6feSmrg    break 2
1530876ff6feSmrg  fi
1531876ff6feSmrgdone
1532876ff6feSmrgdone
1533876ff6feSmrg
1534876ff6feSmrgfi
1535876ff6feSmrgfi
1536876ff6feSmrgAWK=$ac_cv_prog_AWK
1537876ff6feSmrgif test -n "$AWK"; then
1538876ff6feSmrg  echo "$as_me:$LINENO: result: $AWK" >&5
1539876ff6feSmrgecho "${ECHO_T}$AWK" >&6
1540876ff6feSmrgelse
1541876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1542876ff6feSmrgecho "${ECHO_T}no" >&6
1543876ff6feSmrgfi
1544876ff6feSmrg
1545876ff6feSmrg  test -n "$AWK" && break
1546876ff6feSmrgdone
1547876ff6feSmrg
1548876ff6feSmrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1549876ff6feSmrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1550876ff6feSmrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1551876ff6feSmrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1552876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1553876ff6feSmrgelse
1554876ff6feSmrg  cat >conftest.make <<\_ACEOF
1555876ff6feSmrgall:
1556876ff6feSmrg	@echo 'ac_maketemp="$(MAKE)"'
1557876ff6feSmrg_ACEOF
1558876ff6feSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1559876ff6feSmrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1560876ff6feSmrgif test -n "$ac_maketemp"; then
1561876ff6feSmrg  eval ac_cv_prog_make_${ac_make}_set=yes
1562876ff6feSmrgelse
1563876ff6feSmrg  eval ac_cv_prog_make_${ac_make}_set=no
1564876ff6feSmrgfi
1565876ff6feSmrgrm -f conftest.make
1566876ff6feSmrgfi
1567876ff6feSmrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1568876ff6feSmrg  echo "$as_me:$LINENO: result: yes" >&5
1569876ff6feSmrgecho "${ECHO_T}yes" >&6
1570876ff6feSmrg  SET_MAKE=
1571876ff6feSmrgelse
1572876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1573876ff6feSmrgecho "${ECHO_T}no" >&6
1574876ff6feSmrg  SET_MAKE="MAKE=${MAKE-make}"
1575876ff6feSmrgfi
1576876ff6feSmrg
1577876ff6feSmrgrm -rf .tst 2>/dev/null
1578876ff6feSmrgmkdir .tst 2>/dev/null
1579876ff6feSmrgif test -d .tst; then
1580876ff6feSmrg  am__leading_dot=.
1581876ff6feSmrgelse
1582876ff6feSmrg  am__leading_dot=_
1583876ff6feSmrgfi
1584876ff6feSmrgrmdir .tst 2>/dev/null
1585876ff6feSmrg
1586876ff6feSmrg# test to see if srcdir already configured
1587876ff6feSmrgif test "`cd $srcdir && pwd`" != "`pwd`" &&
1588876ff6feSmrg   test -f $srcdir/config.status; then
1589876ff6feSmrg  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1590876ff6feSmrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1591876ff6feSmrg   { (exit 1); exit 1; }; }
1592876ff6feSmrgfi
1593876ff6feSmrg
1594876ff6feSmrg# test whether we have cygpath
1595876ff6feSmrgif test -z "$CYGPATH_W"; then
1596876ff6feSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
1597876ff6feSmrg    CYGPATH_W='cygpath -w'
1598876ff6feSmrg  else
1599876ff6feSmrg    CYGPATH_W=echo
1600876ff6feSmrg  fi
1601876ff6feSmrgfi
1602876ff6feSmrg
1603876ff6feSmrg
1604876ff6feSmrg# Define the identity of the package.
1605876ff6feSmrg PACKAGE='xtrap'
1606876ff6feSmrg VERSION='1.0.2'
1607876ff6feSmrg
1608876ff6feSmrg
1609876ff6feSmrgcat >>confdefs.h <<_ACEOF
1610876ff6feSmrg#define PACKAGE "$PACKAGE"
1611876ff6feSmrg_ACEOF
1612876ff6feSmrg
1613876ff6feSmrg
1614876ff6feSmrgcat >>confdefs.h <<_ACEOF
1615876ff6feSmrg#define VERSION "$VERSION"
1616876ff6feSmrg_ACEOF
1617876ff6feSmrg
1618876ff6feSmrg# Some tools Automake needs.
1619876ff6feSmrg
1620876ff6feSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1621876ff6feSmrg
1622876ff6feSmrg
1623876ff6feSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1624876ff6feSmrg
1625876ff6feSmrg
1626876ff6feSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1627876ff6feSmrg
1628876ff6feSmrg
1629876ff6feSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1630876ff6feSmrg
1631876ff6feSmrg
1632876ff6feSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1633876ff6feSmrg
1634876ff6feSmrginstall_sh=${install_sh-"$am_aux_dir/install-sh"}
1635876ff6feSmrg
1636876ff6feSmrg# Installed binaries are usually stripped using `strip' when the user
1637876ff6feSmrg# run `make install-strip'.  However `strip' might not be the right
1638876ff6feSmrg# tool to use in cross-compilation environments, therefore Automake
1639876ff6feSmrg# will honor the `STRIP' environment variable to overrule this program.
1640876ff6feSmrgif test "$cross_compiling" != no; then
1641876ff6feSmrg  if test -n "$ac_tool_prefix"; then
1642876ff6feSmrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1643876ff6feSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2
1644876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1645876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1646876ff6feSmrgif test "${ac_cv_prog_STRIP+set}" = set; then
1647876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1648876ff6feSmrgelse
1649876ff6feSmrg  if test -n "$STRIP"; then
1650876ff6feSmrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1651876ff6feSmrgelse
1652876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653876ff6feSmrgfor as_dir in $PATH
1654876ff6feSmrgdo
1655876ff6feSmrg  IFS=$as_save_IFS
1656876ff6feSmrg  test -z "$as_dir" && as_dir=.
1657876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
1658876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1659876ff6feSmrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1660876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661876ff6feSmrg    break 2
1662876ff6feSmrg  fi
1663876ff6feSmrgdone
1664876ff6feSmrgdone
1665876ff6feSmrg
1666876ff6feSmrgfi
1667876ff6feSmrgfi
1668876ff6feSmrgSTRIP=$ac_cv_prog_STRIP
1669876ff6feSmrgif test -n "$STRIP"; then
1670876ff6feSmrg  echo "$as_me:$LINENO: result: $STRIP" >&5
1671876ff6feSmrgecho "${ECHO_T}$STRIP" >&6
1672876ff6feSmrgelse
1673876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1674876ff6feSmrgecho "${ECHO_T}no" >&6
1675876ff6feSmrgfi
1676876ff6feSmrg
1677876ff6feSmrgfi
1678876ff6feSmrgif test -z "$ac_cv_prog_STRIP"; then
1679876ff6feSmrg  ac_ct_STRIP=$STRIP
1680876ff6feSmrg  # Extract the first word of "strip", so it can be a program name with args.
1681876ff6feSmrgset dummy strip; ac_word=$2
1682876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1683876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684876ff6feSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1685876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1686876ff6feSmrgelse
1687876ff6feSmrg  if test -n "$ac_ct_STRIP"; then
1688876ff6feSmrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1689876ff6feSmrgelse
1690876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691876ff6feSmrgfor as_dir in $PATH
1692876ff6feSmrgdo
1693876ff6feSmrg  IFS=$as_save_IFS
1694876ff6feSmrg  test -z "$as_dir" && as_dir=.
1695876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
1696876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697876ff6feSmrg    ac_cv_prog_ac_ct_STRIP="strip"
1698876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1699876ff6feSmrg    break 2
1700876ff6feSmrg  fi
1701876ff6feSmrgdone
1702876ff6feSmrgdone
1703876ff6feSmrg
1704876ff6feSmrg  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1705876ff6feSmrgfi
1706876ff6feSmrgfi
1707876ff6feSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1708876ff6feSmrgif test -n "$ac_ct_STRIP"; then
1709876ff6feSmrg  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1710876ff6feSmrgecho "${ECHO_T}$ac_ct_STRIP" >&6
1711876ff6feSmrgelse
1712876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1713876ff6feSmrgecho "${ECHO_T}no" >&6
1714876ff6feSmrgfi
1715876ff6feSmrg
1716876ff6feSmrg  STRIP=$ac_ct_STRIP
1717876ff6feSmrgelse
1718876ff6feSmrg  STRIP="$ac_cv_prog_STRIP"
1719876ff6feSmrgfi
1720876ff6feSmrg
1721876ff6feSmrgfi
1722876ff6feSmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1723876ff6feSmrg
1724876ff6feSmrg# We need awk for the "check" target.  The system "awk" is bad on
1725876ff6feSmrg# some platforms.
1726876ff6feSmrg# Always define AMTAR for backward compatibility.
1727876ff6feSmrg
1728876ff6feSmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
1729876ff6feSmrg
1730876ff6feSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1731876ff6feSmrg
1732876ff6feSmrg
1733876ff6feSmrg
1734876ff6feSmrg
1735876ff6feSmrg
1736876ff6feSmrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1737876ff6feSmrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1738876ff6feSmrg    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1739876ff6feSmrgif test "${enable_maintainer_mode+set}" = set; then
1740876ff6feSmrg  enableval="$enable_maintainer_mode"
1741876ff6feSmrg  USE_MAINTAINER_MODE=$enableval
1742876ff6feSmrgelse
1743876ff6feSmrg  USE_MAINTAINER_MODE=no
1744876ff6feSmrgfi;
1745876ff6feSmrg  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1746876ff6feSmrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1747876ff6feSmrg
1748876ff6feSmrg
1749876ff6feSmrgif test $USE_MAINTAINER_MODE = yes; then
1750876ff6feSmrg  MAINTAINER_MODE_TRUE=
1751876ff6feSmrg  MAINTAINER_MODE_FALSE='#'
1752876ff6feSmrgelse
1753876ff6feSmrg  MAINTAINER_MODE_TRUE='#'
1754876ff6feSmrg  MAINTAINER_MODE_FALSE=
1755876ff6feSmrgfi
1756876ff6feSmrg
1757876ff6feSmrg  MAINT=$MAINTAINER_MODE_TRUE
1758876ff6feSmrg
1759876ff6feSmrg
1760876ff6feSmrg
1761876ff6feSmrg          ac_config_headers="$ac_config_headers config.h"
1762876ff6feSmrg
1763876ff6feSmrg
1764876ff6feSmrgac_ext=c
1765876ff6feSmrgac_cpp='$CPP $CPPFLAGS'
1766876ff6feSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1767876ff6feSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1768876ff6feSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1769876ff6feSmrgif test -n "$ac_tool_prefix"; then
1770876ff6feSmrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1771876ff6feSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
1772876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1773876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1774876ff6feSmrgif test "${ac_cv_prog_CC+set}" = set; then
1775876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1776876ff6feSmrgelse
1777876ff6feSmrg  if test -n "$CC"; then
1778876ff6feSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
1779876ff6feSmrgelse
1780876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781876ff6feSmrgfor as_dir in $PATH
1782876ff6feSmrgdo
1783876ff6feSmrg  IFS=$as_save_IFS
1784876ff6feSmrg  test -z "$as_dir" && as_dir=.
1785876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
1786876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1787876ff6feSmrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1788876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789876ff6feSmrg    break 2
1790876ff6feSmrg  fi
1791876ff6feSmrgdone
1792876ff6feSmrgdone
1793876ff6feSmrg
1794876ff6feSmrgfi
1795876ff6feSmrgfi
1796876ff6feSmrgCC=$ac_cv_prog_CC
1797876ff6feSmrgif test -n "$CC"; then
1798876ff6feSmrg  echo "$as_me:$LINENO: result: $CC" >&5
1799876ff6feSmrgecho "${ECHO_T}$CC" >&6
1800876ff6feSmrgelse
1801876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1802876ff6feSmrgecho "${ECHO_T}no" >&6
1803876ff6feSmrgfi
1804876ff6feSmrg
1805876ff6feSmrgfi
1806876ff6feSmrgif test -z "$ac_cv_prog_CC"; then
1807876ff6feSmrg  ac_ct_CC=$CC
1808876ff6feSmrg  # Extract the first word of "gcc", so it can be a program name with args.
1809876ff6feSmrgset dummy gcc; ac_word=$2
1810876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1811876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1812876ff6feSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1813876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1814876ff6feSmrgelse
1815876ff6feSmrg  if test -n "$ac_ct_CC"; then
1816876ff6feSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1817876ff6feSmrgelse
1818876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819876ff6feSmrgfor as_dir in $PATH
1820876ff6feSmrgdo
1821876ff6feSmrg  IFS=$as_save_IFS
1822876ff6feSmrg  test -z "$as_dir" && as_dir=.
1823876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
1824876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1825876ff6feSmrg    ac_cv_prog_ac_ct_CC="gcc"
1826876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827876ff6feSmrg    break 2
1828876ff6feSmrg  fi
1829876ff6feSmrgdone
1830876ff6feSmrgdone
1831876ff6feSmrg
1832876ff6feSmrgfi
1833876ff6feSmrgfi
1834876ff6feSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
1835876ff6feSmrgif test -n "$ac_ct_CC"; then
1836876ff6feSmrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1837876ff6feSmrgecho "${ECHO_T}$ac_ct_CC" >&6
1838876ff6feSmrgelse
1839876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1840876ff6feSmrgecho "${ECHO_T}no" >&6
1841876ff6feSmrgfi
1842876ff6feSmrg
1843876ff6feSmrg  CC=$ac_ct_CC
1844876ff6feSmrgelse
1845876ff6feSmrg  CC="$ac_cv_prog_CC"
1846876ff6feSmrgfi
1847876ff6feSmrg
1848876ff6feSmrgif test -z "$CC"; then
1849876ff6feSmrg  if test -n "$ac_tool_prefix"; then
1850876ff6feSmrg  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1851876ff6feSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2
1852876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1853876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854876ff6feSmrgif test "${ac_cv_prog_CC+set}" = set; then
1855876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1856876ff6feSmrgelse
1857876ff6feSmrg  if test -n "$CC"; then
1858876ff6feSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
1859876ff6feSmrgelse
1860876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861876ff6feSmrgfor as_dir in $PATH
1862876ff6feSmrgdo
1863876ff6feSmrg  IFS=$as_save_IFS
1864876ff6feSmrg  test -z "$as_dir" && as_dir=.
1865876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
1866876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867876ff6feSmrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
1868876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869876ff6feSmrg    break 2
1870876ff6feSmrg  fi
1871876ff6feSmrgdone
1872876ff6feSmrgdone
1873876ff6feSmrg
1874876ff6feSmrgfi
1875876ff6feSmrgfi
1876876ff6feSmrgCC=$ac_cv_prog_CC
1877876ff6feSmrgif test -n "$CC"; then
1878876ff6feSmrg  echo "$as_me:$LINENO: result: $CC" >&5
1879876ff6feSmrgecho "${ECHO_T}$CC" >&6
1880876ff6feSmrgelse
1881876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1882876ff6feSmrgecho "${ECHO_T}no" >&6
1883876ff6feSmrgfi
1884876ff6feSmrg
1885876ff6feSmrgfi
1886876ff6feSmrgif test -z "$ac_cv_prog_CC"; then
1887876ff6feSmrg  ac_ct_CC=$CC
1888876ff6feSmrg  # Extract the first word of "cc", so it can be a program name with args.
1889876ff6feSmrgset dummy cc; ac_word=$2
1890876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1891876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1892876ff6feSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1893876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1894876ff6feSmrgelse
1895876ff6feSmrg  if test -n "$ac_ct_CC"; then
1896876ff6feSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1897876ff6feSmrgelse
1898876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899876ff6feSmrgfor as_dir in $PATH
1900876ff6feSmrgdo
1901876ff6feSmrg  IFS=$as_save_IFS
1902876ff6feSmrg  test -z "$as_dir" && as_dir=.
1903876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
1904876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905876ff6feSmrg    ac_cv_prog_ac_ct_CC="cc"
1906876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907876ff6feSmrg    break 2
1908876ff6feSmrg  fi
1909876ff6feSmrgdone
1910876ff6feSmrgdone
1911876ff6feSmrg
1912876ff6feSmrgfi
1913876ff6feSmrgfi
1914876ff6feSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
1915876ff6feSmrgif test -n "$ac_ct_CC"; then
1916876ff6feSmrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1917876ff6feSmrgecho "${ECHO_T}$ac_ct_CC" >&6
1918876ff6feSmrgelse
1919876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1920876ff6feSmrgecho "${ECHO_T}no" >&6
1921876ff6feSmrgfi
1922876ff6feSmrg
1923876ff6feSmrg  CC=$ac_ct_CC
1924876ff6feSmrgelse
1925876ff6feSmrg  CC="$ac_cv_prog_CC"
1926876ff6feSmrgfi
1927876ff6feSmrg
1928876ff6feSmrgfi
1929876ff6feSmrgif test -z "$CC"; then
1930876ff6feSmrg  # Extract the first word of "cc", so it can be a program name with args.
1931876ff6feSmrgset dummy cc; ac_word=$2
1932876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1933876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934876ff6feSmrgif test "${ac_cv_prog_CC+set}" = set; then
1935876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1936876ff6feSmrgelse
1937876ff6feSmrg  if test -n "$CC"; then
1938876ff6feSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
1939876ff6feSmrgelse
1940876ff6feSmrg  ac_prog_rejected=no
1941876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942876ff6feSmrgfor as_dir in $PATH
1943876ff6feSmrgdo
1944876ff6feSmrg  IFS=$as_save_IFS
1945876ff6feSmrg  test -z "$as_dir" && as_dir=.
1946876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
1947876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1948876ff6feSmrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1949876ff6feSmrg       ac_prog_rejected=yes
1950876ff6feSmrg       continue
1951876ff6feSmrg     fi
1952876ff6feSmrg    ac_cv_prog_CC="cc"
1953876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1954876ff6feSmrg    break 2
1955876ff6feSmrg  fi
1956876ff6feSmrgdone
1957876ff6feSmrgdone
1958876ff6feSmrg
1959876ff6feSmrgif test $ac_prog_rejected = yes; then
1960876ff6feSmrg  # We found a bogon in the path, so make sure we never use it.
1961876ff6feSmrg  set dummy $ac_cv_prog_CC
1962876ff6feSmrg  shift
1963876ff6feSmrg  if test $# != 0; then
1964876ff6feSmrg    # We chose a different compiler from the bogus one.
1965876ff6feSmrg    # However, it has the same basename, so the bogon will be chosen
1966876ff6feSmrg    # first if we set CC to just the basename; use the full file name.
1967876ff6feSmrg    shift
1968876ff6feSmrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1969876ff6feSmrg  fi
1970876ff6feSmrgfi
1971876ff6feSmrgfi
1972876ff6feSmrgfi
1973876ff6feSmrgCC=$ac_cv_prog_CC
1974876ff6feSmrgif test -n "$CC"; then
1975876ff6feSmrg  echo "$as_me:$LINENO: result: $CC" >&5
1976876ff6feSmrgecho "${ECHO_T}$CC" >&6
1977876ff6feSmrgelse
1978876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
1979876ff6feSmrgecho "${ECHO_T}no" >&6
1980876ff6feSmrgfi
1981876ff6feSmrg
1982876ff6feSmrgfi
1983876ff6feSmrgif test -z "$CC"; then
1984876ff6feSmrg  if test -n "$ac_tool_prefix"; then
1985876ff6feSmrg  for ac_prog in cl
1986876ff6feSmrg  do
1987876ff6feSmrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1988876ff6feSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
1989876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1990876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1991876ff6feSmrgif test "${ac_cv_prog_CC+set}" = set; then
1992876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1993876ff6feSmrgelse
1994876ff6feSmrg  if test -n "$CC"; then
1995876ff6feSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
1996876ff6feSmrgelse
1997876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998876ff6feSmrgfor as_dir in $PATH
1999876ff6feSmrgdo
2000876ff6feSmrg  IFS=$as_save_IFS
2001876ff6feSmrg  test -z "$as_dir" && as_dir=.
2002876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2003876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2004876ff6feSmrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2005876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006876ff6feSmrg    break 2
2007876ff6feSmrg  fi
2008876ff6feSmrgdone
2009876ff6feSmrgdone
2010876ff6feSmrg
2011876ff6feSmrgfi
2012876ff6feSmrgfi
2013876ff6feSmrgCC=$ac_cv_prog_CC
2014876ff6feSmrgif test -n "$CC"; then
2015876ff6feSmrg  echo "$as_me:$LINENO: result: $CC" >&5
2016876ff6feSmrgecho "${ECHO_T}$CC" >&6
2017876ff6feSmrgelse
2018876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
2019876ff6feSmrgecho "${ECHO_T}no" >&6
2020876ff6feSmrgfi
2021876ff6feSmrg
2022876ff6feSmrg    test -n "$CC" && break
2023876ff6feSmrg  done
2024876ff6feSmrgfi
2025876ff6feSmrgif test -z "$CC"; then
2026876ff6feSmrg  ac_ct_CC=$CC
2027876ff6feSmrg  for ac_prog in cl
2028876ff6feSmrgdo
2029876ff6feSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2030876ff6feSmrgset dummy $ac_prog; ac_word=$2
2031876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
2032876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033876ff6feSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2034876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2035876ff6feSmrgelse
2036876ff6feSmrg  if test -n "$ac_ct_CC"; then
2037876ff6feSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2038876ff6feSmrgelse
2039876ff6feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040876ff6feSmrgfor as_dir in $PATH
2041876ff6feSmrgdo
2042876ff6feSmrg  IFS=$as_save_IFS
2043876ff6feSmrg  test -z "$as_dir" && as_dir=.
2044876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2045876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046876ff6feSmrg    ac_cv_prog_ac_ct_CC="$ac_prog"
2047876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048876ff6feSmrg    break 2
2049876ff6feSmrg  fi
2050876ff6feSmrgdone
2051876ff6feSmrgdone
2052876ff6feSmrg
2053876ff6feSmrgfi
2054876ff6feSmrgfi
2055876ff6feSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2056876ff6feSmrgif test -n "$ac_ct_CC"; then
2057876ff6feSmrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2058876ff6feSmrgecho "${ECHO_T}$ac_ct_CC" >&6
2059876ff6feSmrgelse
2060876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
2061876ff6feSmrgecho "${ECHO_T}no" >&6
2062876ff6feSmrgfi
2063876ff6feSmrg
2064876ff6feSmrg  test -n "$ac_ct_CC" && break
2065876ff6feSmrgdone
2066876ff6feSmrg
2067876ff6feSmrg  CC=$ac_ct_CC
2068876ff6feSmrgfi
2069876ff6feSmrg
2070876ff6feSmrgfi
2071876ff6feSmrg
2072876ff6feSmrg
2073876ff6feSmrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2074876ff6feSmrgSee \`config.log' for more details." >&5
2075876ff6feSmrgecho "$as_me: error: no acceptable C compiler found in \$PATH
2076876ff6feSmrgSee \`config.log' for more details." >&2;}
2077876ff6feSmrg   { (exit 1); exit 1; }; }
2078876ff6feSmrg
2079876ff6feSmrg# Provide some information about the compiler.
2080876ff6feSmrgecho "$as_me:$LINENO:" \
2081876ff6feSmrg     "checking for C compiler version" >&5
2082876ff6feSmrgac_compiler=`set X $ac_compile; echo $2`
2083876ff6feSmrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2084876ff6feSmrg  (eval $ac_compiler --version </dev/null >&5) 2>&5
2085876ff6feSmrg  ac_status=$?
2086876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087876ff6feSmrg  (exit $ac_status); }
2088876ff6feSmrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2089876ff6feSmrg  (eval $ac_compiler -v </dev/null >&5) 2>&5
2090876ff6feSmrg  ac_status=$?
2091876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092876ff6feSmrg  (exit $ac_status); }
2093876ff6feSmrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2094876ff6feSmrg  (eval $ac_compiler -V </dev/null >&5) 2>&5
2095876ff6feSmrg  ac_status=$?
2096876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097876ff6feSmrg  (exit $ac_status); }
2098876ff6feSmrg
2099876ff6feSmrgcat >conftest.$ac_ext <<_ACEOF
2100876ff6feSmrg/* confdefs.h.  */
2101876ff6feSmrg_ACEOF
2102876ff6feSmrgcat confdefs.h >>conftest.$ac_ext
2103876ff6feSmrgcat >>conftest.$ac_ext <<_ACEOF
2104876ff6feSmrg/* end confdefs.h.  */
2105876ff6feSmrg
2106876ff6feSmrgint
2107876ff6feSmrgmain ()
2108876ff6feSmrg{
2109876ff6feSmrg
2110876ff6feSmrg  ;
2111876ff6feSmrg  return 0;
2112876ff6feSmrg}
2113876ff6feSmrg_ACEOF
2114876ff6feSmrgac_clean_files_save=$ac_clean_files
2115876ff6feSmrgac_clean_files="$ac_clean_files a.out a.exe b.out"
2116876ff6feSmrg# Try to create an executable without -o first, disregard a.out.
2117876ff6feSmrg# It will help us diagnose broken compilers, and finding out an intuition
2118876ff6feSmrg# of exeext.
2119876ff6feSmrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5
2120876ff6feSmrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2121876ff6feSmrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2122876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2123876ff6feSmrg  (eval $ac_link_default) 2>&5
2124876ff6feSmrg  ac_status=$?
2125876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126876ff6feSmrg  (exit $ac_status); }; then
2127876ff6feSmrg  # Find the output, starting from the most likely.  This scheme is
2128876ff6feSmrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2129876ff6feSmrg# resort.
2130876ff6feSmrg
2131876ff6feSmrg# Be careful to initialize this variable, since it used to be cached.
2132876ff6feSmrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2133876ff6feSmrgac_cv_exeext=
2134876ff6feSmrg# b.out is created by i960 compilers.
2135876ff6feSmrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2136876ff6feSmrgdo
2137876ff6feSmrg  test -f "$ac_file" || continue
2138876ff6feSmrg  case $ac_file in
2139876ff6feSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2140876ff6feSmrg	;;
2141876ff6feSmrg    conftest.$ac_ext )
2142876ff6feSmrg	# This is the source file.
2143876ff6feSmrg	;;
2144876ff6feSmrg    [ab].out )
2145876ff6feSmrg	# We found the default executable, but exeext='' is most
2146876ff6feSmrg	# certainly right.
2147876ff6feSmrg	break;;
2148876ff6feSmrg    *.* )
2149876ff6feSmrg	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2150876ff6feSmrg	# FIXME: I believe we export ac_cv_exeext for Libtool,
2151876ff6feSmrg	# but it would be cool to find out if it's true.  Does anybody
2152876ff6feSmrg	# maintain Libtool? --akim.
2153876ff6feSmrg	export ac_cv_exeext
2154876ff6feSmrg	break;;
2155876ff6feSmrg    * )
2156876ff6feSmrg	break;;
2157876ff6feSmrg  esac
2158876ff6feSmrgdone
2159876ff6feSmrgelse
2160876ff6feSmrg  echo "$as_me: failed program was:" >&5
2161876ff6feSmrgsed 's/^/| /' conftest.$ac_ext >&5
2162876ff6feSmrg
2163876ff6feSmrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2164876ff6feSmrgSee \`config.log' for more details." >&5
2165876ff6feSmrgecho "$as_me: error: C compiler cannot create executables
2166876ff6feSmrgSee \`config.log' for more details." >&2;}
2167876ff6feSmrg   { (exit 77); exit 77; }; }
2168876ff6feSmrgfi
2169876ff6feSmrg
2170876ff6feSmrgac_exeext=$ac_cv_exeext
2171876ff6feSmrgecho "$as_me:$LINENO: result: $ac_file" >&5
2172876ff6feSmrgecho "${ECHO_T}$ac_file" >&6
2173876ff6feSmrg
2174876ff6feSmrg# Check the compiler produces executables we can run.  If not, either
2175876ff6feSmrg# the compiler is broken, or we cross compile.
2176876ff6feSmrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5
2177876ff6feSmrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2178876ff6feSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2179876ff6feSmrg# If not cross compiling, check that we can run a simple program.
2180876ff6feSmrgif test "$cross_compiling" != yes; then
2181876ff6feSmrg  if { ac_try='./$ac_file'
2182876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183876ff6feSmrg  (eval $ac_try) 2>&5
2184876ff6feSmrg  ac_status=$?
2185876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186876ff6feSmrg  (exit $ac_status); }; }; then
2187876ff6feSmrg    cross_compiling=no
2188876ff6feSmrg  else
2189876ff6feSmrg    if test "$cross_compiling" = maybe; then
2190876ff6feSmrg	cross_compiling=yes
2191876ff6feSmrg    else
2192876ff6feSmrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2193876ff6feSmrgIf you meant to cross compile, use \`--host'.
2194876ff6feSmrgSee \`config.log' for more details." >&5
2195876ff6feSmrgecho "$as_me: error: cannot run C compiled programs.
2196876ff6feSmrgIf you meant to cross compile, use \`--host'.
2197876ff6feSmrgSee \`config.log' for more details." >&2;}
2198876ff6feSmrg   { (exit 1); exit 1; }; }
2199876ff6feSmrg    fi
2200876ff6feSmrg  fi
2201876ff6feSmrgfi
2202876ff6feSmrgecho "$as_me:$LINENO: result: yes" >&5
2203876ff6feSmrgecho "${ECHO_T}yes" >&6
2204876ff6feSmrg
2205876ff6feSmrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
2206876ff6feSmrgac_clean_files=$ac_clean_files_save
2207876ff6feSmrg# Check the compiler produces executables we can run.  If not, either
2208876ff6feSmrg# the compiler is broken, or we cross compile.
2209876ff6feSmrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5
2210876ff6feSmrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2211876ff6feSmrgecho "$as_me:$LINENO: result: $cross_compiling" >&5
2212876ff6feSmrgecho "${ECHO_T}$cross_compiling" >&6
2213876ff6feSmrg
2214876ff6feSmrgecho "$as_me:$LINENO: checking for suffix of executables" >&5
2215876ff6feSmrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2216876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2217876ff6feSmrg  (eval $ac_link) 2>&5
2218876ff6feSmrg  ac_status=$?
2219876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220876ff6feSmrg  (exit $ac_status); }; then
2221876ff6feSmrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2222876ff6feSmrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2223876ff6feSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with
2224876ff6feSmrg# `rm'.
2225876ff6feSmrgfor ac_file in conftest.exe conftest conftest.*; do
2226876ff6feSmrg  test -f "$ac_file" || continue
2227876ff6feSmrg  case $ac_file in
2228876ff6feSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2229876ff6feSmrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2230876ff6feSmrg	  export ac_cv_exeext
2231876ff6feSmrg	  break;;
2232876ff6feSmrg    * ) break;;
2233876ff6feSmrg  esac
2234876ff6feSmrgdone
2235876ff6feSmrgelse
2236876ff6feSmrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2237876ff6feSmrgSee \`config.log' for more details." >&5
2238876ff6feSmrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
2239876ff6feSmrgSee \`config.log' for more details." >&2;}
2240876ff6feSmrg   { (exit 1); exit 1; }; }
2241876ff6feSmrgfi
2242876ff6feSmrg
2243876ff6feSmrgrm -f conftest$ac_cv_exeext
2244876ff6feSmrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2245876ff6feSmrgecho "${ECHO_T}$ac_cv_exeext" >&6
2246876ff6feSmrg
2247876ff6feSmrgrm -f conftest.$ac_ext
2248876ff6feSmrgEXEEXT=$ac_cv_exeext
2249876ff6feSmrgac_exeext=$EXEEXT
2250876ff6feSmrgecho "$as_me:$LINENO: checking for suffix of object files" >&5
2251876ff6feSmrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2252876ff6feSmrgif test "${ac_cv_objext+set}" = set; then
2253876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2254876ff6feSmrgelse
2255876ff6feSmrg  cat >conftest.$ac_ext <<_ACEOF
2256876ff6feSmrg/* confdefs.h.  */
2257876ff6feSmrg_ACEOF
2258876ff6feSmrgcat confdefs.h >>conftest.$ac_ext
2259876ff6feSmrgcat >>conftest.$ac_ext <<_ACEOF
2260876ff6feSmrg/* end confdefs.h.  */
2261876ff6feSmrg
2262876ff6feSmrgint
2263876ff6feSmrgmain ()
2264876ff6feSmrg{
2265876ff6feSmrg
2266876ff6feSmrg  ;
2267876ff6feSmrg  return 0;
2268876ff6feSmrg}
2269876ff6feSmrg_ACEOF
2270876ff6feSmrgrm -f conftest.o conftest.obj
2271876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2272876ff6feSmrg  (eval $ac_compile) 2>&5
2273876ff6feSmrg  ac_status=$?
2274876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275876ff6feSmrg  (exit $ac_status); }; then
2276876ff6feSmrg  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2277876ff6feSmrg  case $ac_file in
2278876ff6feSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2279876ff6feSmrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2280876ff6feSmrg       break;;
2281876ff6feSmrg  esac
2282876ff6feSmrgdone
2283876ff6feSmrgelse
2284876ff6feSmrg  echo "$as_me: failed program was:" >&5
2285876ff6feSmrgsed 's/^/| /' conftest.$ac_ext >&5
2286876ff6feSmrg
2287876ff6feSmrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2288876ff6feSmrgSee \`config.log' for more details." >&5
2289876ff6feSmrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
2290876ff6feSmrgSee \`config.log' for more details." >&2;}
2291876ff6feSmrg   { (exit 1); exit 1; }; }
2292876ff6feSmrgfi
2293876ff6feSmrg
2294876ff6feSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
2295876ff6feSmrgfi
2296876ff6feSmrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5
2297876ff6feSmrgecho "${ECHO_T}$ac_cv_objext" >&6
2298876ff6feSmrgOBJEXT=$ac_cv_objext
2299876ff6feSmrgac_objext=$OBJEXT
2300876ff6feSmrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2301876ff6feSmrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2302876ff6feSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
2303876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2304876ff6feSmrgelse
2305876ff6feSmrg  cat >conftest.$ac_ext <<_ACEOF
2306876ff6feSmrg/* confdefs.h.  */
2307876ff6feSmrg_ACEOF
2308876ff6feSmrgcat confdefs.h >>conftest.$ac_ext
2309876ff6feSmrgcat >>conftest.$ac_ext <<_ACEOF
2310876ff6feSmrg/* end confdefs.h.  */
2311876ff6feSmrg
2312876ff6feSmrgint
2313876ff6feSmrgmain ()
2314876ff6feSmrg{
2315876ff6feSmrg#ifndef __GNUC__
2316876ff6feSmrg       choke me
2317876ff6feSmrg#endif
2318876ff6feSmrg
2319876ff6feSmrg  ;
2320876ff6feSmrg  return 0;
2321876ff6feSmrg}
2322876ff6feSmrg_ACEOF
2323876ff6feSmrgrm -f conftest.$ac_objext
2324876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325876ff6feSmrg  (eval $ac_compile) 2>conftest.er1
2326876ff6feSmrg  ac_status=$?
2327876ff6feSmrg  grep -v '^ *+' conftest.er1 >conftest.err
2328876ff6feSmrg  rm -f conftest.er1
2329876ff6feSmrg  cat conftest.err >&5
2330876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331876ff6feSmrg  (exit $ac_status); } &&
2332876ff6feSmrg	 { ac_try='test -z "$ac_c_werror_flag"
2333876ff6feSmrg			 || test ! -s conftest.err'
2334876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335876ff6feSmrg  (eval $ac_try) 2>&5
2336876ff6feSmrg  ac_status=$?
2337876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338876ff6feSmrg  (exit $ac_status); }; } &&
2339876ff6feSmrg	 { ac_try='test -s conftest.$ac_objext'
2340876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341876ff6feSmrg  (eval $ac_try) 2>&5
2342876ff6feSmrg  ac_status=$?
2343876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344876ff6feSmrg  (exit $ac_status); }; }; then
2345876ff6feSmrg  ac_compiler_gnu=yes
2346876ff6feSmrgelse
2347876ff6feSmrg  echo "$as_me: failed program was:" >&5
2348876ff6feSmrgsed 's/^/| /' conftest.$ac_ext >&5
2349876ff6feSmrg
2350876ff6feSmrgac_compiler_gnu=no
2351876ff6feSmrgfi
2352876ff6feSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2353876ff6feSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu
2354876ff6feSmrg
2355876ff6feSmrgfi
2356876ff6feSmrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2357876ff6feSmrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2358876ff6feSmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
2359876ff6feSmrgac_test_CFLAGS=${CFLAGS+set}
2360876ff6feSmrgac_save_CFLAGS=$CFLAGS
2361876ff6feSmrgCFLAGS="-g"
2362876ff6feSmrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2363876ff6feSmrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2364876ff6feSmrgif test "${ac_cv_prog_cc_g+set}" = set; then
2365876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2366876ff6feSmrgelse
2367876ff6feSmrg  cat >conftest.$ac_ext <<_ACEOF
2368876ff6feSmrg/* confdefs.h.  */
2369876ff6feSmrg_ACEOF
2370876ff6feSmrgcat confdefs.h >>conftest.$ac_ext
2371876ff6feSmrgcat >>conftest.$ac_ext <<_ACEOF
2372876ff6feSmrg/* end confdefs.h.  */
2373876ff6feSmrg
2374876ff6feSmrgint
2375876ff6feSmrgmain ()
2376876ff6feSmrg{
2377876ff6feSmrg
2378876ff6feSmrg  ;
2379876ff6feSmrg  return 0;
2380876ff6feSmrg}
2381876ff6feSmrg_ACEOF
2382876ff6feSmrgrm -f conftest.$ac_objext
2383876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2384876ff6feSmrg  (eval $ac_compile) 2>conftest.er1
2385876ff6feSmrg  ac_status=$?
2386876ff6feSmrg  grep -v '^ *+' conftest.er1 >conftest.err
2387876ff6feSmrg  rm -f conftest.er1
2388876ff6feSmrg  cat conftest.err >&5
2389876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390876ff6feSmrg  (exit $ac_status); } &&
2391876ff6feSmrg	 { ac_try='test -z "$ac_c_werror_flag"
2392876ff6feSmrg			 || test ! -s conftest.err'
2393876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394876ff6feSmrg  (eval $ac_try) 2>&5
2395876ff6feSmrg  ac_status=$?
2396876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397876ff6feSmrg  (exit $ac_status); }; } &&
2398876ff6feSmrg	 { ac_try='test -s conftest.$ac_objext'
2399876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400876ff6feSmrg  (eval $ac_try) 2>&5
2401876ff6feSmrg  ac_status=$?
2402876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403876ff6feSmrg  (exit $ac_status); }; }; then
2404876ff6feSmrg  ac_cv_prog_cc_g=yes
2405876ff6feSmrgelse
2406876ff6feSmrg  echo "$as_me: failed program was:" >&5
2407876ff6feSmrgsed 's/^/| /' conftest.$ac_ext >&5
2408876ff6feSmrg
2409876ff6feSmrgac_cv_prog_cc_g=no
2410876ff6feSmrgfi
2411876ff6feSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2412876ff6feSmrgfi
2413876ff6feSmrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2414876ff6feSmrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
2415876ff6feSmrgif test "$ac_test_CFLAGS" = set; then
2416876ff6feSmrg  CFLAGS=$ac_save_CFLAGS
2417876ff6feSmrgelif test $ac_cv_prog_cc_g = yes; then
2418876ff6feSmrg  if test "$GCC" = yes; then
2419876ff6feSmrg    CFLAGS="-g -O2"
2420876ff6feSmrg  else
2421876ff6feSmrg    CFLAGS="-g"
2422876ff6feSmrg  fi
2423876ff6feSmrgelse
2424876ff6feSmrg  if test "$GCC" = yes; then
2425876ff6feSmrg    CFLAGS="-O2"
2426876ff6feSmrg  else
2427876ff6feSmrg    CFLAGS=
2428876ff6feSmrg  fi
2429876ff6feSmrgfi
2430876ff6feSmrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2431876ff6feSmrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2432876ff6feSmrgif test "${ac_cv_prog_cc_stdc+set}" = set; then
2433876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2434876ff6feSmrgelse
2435876ff6feSmrg  ac_cv_prog_cc_stdc=no
2436876ff6feSmrgac_save_CC=$CC
2437876ff6feSmrgcat >conftest.$ac_ext <<_ACEOF
2438876ff6feSmrg/* confdefs.h.  */
2439876ff6feSmrg_ACEOF
2440876ff6feSmrgcat confdefs.h >>conftest.$ac_ext
2441876ff6feSmrgcat >>conftest.$ac_ext <<_ACEOF
2442876ff6feSmrg/* end confdefs.h.  */
2443876ff6feSmrg#include <stdarg.h>
2444876ff6feSmrg#include <stdio.h>
2445876ff6feSmrg#include <sys/types.h>
2446876ff6feSmrg#include <sys/stat.h>
2447876ff6feSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2448876ff6feSmrgstruct buf { int x; };
2449876ff6feSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
2450876ff6feSmrgstatic char *e (p, i)
2451876ff6feSmrg     char **p;
2452876ff6feSmrg     int i;
2453876ff6feSmrg{
2454876ff6feSmrg  return p[i];
2455876ff6feSmrg}
2456876ff6feSmrgstatic char *f (char * (*g) (char **, int), char **p, ...)
2457876ff6feSmrg{
2458876ff6feSmrg  char *s;
2459876ff6feSmrg  va_list v;
2460876ff6feSmrg  va_start (v,p);
2461876ff6feSmrg  s = g (p, va_arg (v,int));
2462876ff6feSmrg  va_end (v);
2463876ff6feSmrg  return s;
2464876ff6feSmrg}
2465876ff6feSmrg
2466876ff6feSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2467876ff6feSmrg   function prototypes and stuff, but not '\xHH' hex character constants.
2468876ff6feSmrg   These don't provoke an error unfortunately, instead are silently treated
2469876ff6feSmrg   as 'x'.  The following induces an error, until -std1 is added to get
2470876ff6feSmrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2471876ff6feSmrg   array size at least.  It's necessary to write '\x00'==0 to get something
2472876ff6feSmrg   that's true only with -std1.  */
2473876ff6feSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
2474876ff6feSmrg
2475876ff6feSmrgint test (int i, double x);
2476876ff6feSmrgstruct s1 {int (*f) (int a);};
2477876ff6feSmrgstruct s2 {int (*f) (double a);};
2478876ff6feSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2479876ff6feSmrgint argc;
2480876ff6feSmrgchar **argv;
2481876ff6feSmrgint
2482876ff6feSmrgmain ()
2483876ff6feSmrg{
2484876ff6feSmrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2485876ff6feSmrg  ;
2486876ff6feSmrg  return 0;
2487876ff6feSmrg}
2488876ff6feSmrg_ACEOF
2489876ff6feSmrg# Don't try gcc -ansi; that turns off useful extensions and
2490876ff6feSmrg# breaks some systems' header files.
2491876ff6feSmrg# AIX			-qlanglvl=ansi
2492876ff6feSmrg# Ultrix and OSF/1	-std1
2493876ff6feSmrg# HP-UX 10.20 and later	-Ae
2494876ff6feSmrg# HP-UX older versions	-Aa -D_HPUX_SOURCE
2495876ff6feSmrg# SVR4			-Xc -D__EXTENSIONS__
2496876ff6feSmrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2497876ff6feSmrgdo
2498876ff6feSmrg  CC="$ac_save_CC $ac_arg"
2499876ff6feSmrg  rm -f conftest.$ac_objext
2500876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501876ff6feSmrg  (eval $ac_compile) 2>conftest.er1
2502876ff6feSmrg  ac_status=$?
2503876ff6feSmrg  grep -v '^ *+' conftest.er1 >conftest.err
2504876ff6feSmrg  rm -f conftest.er1
2505876ff6feSmrg  cat conftest.err >&5
2506876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507876ff6feSmrg  (exit $ac_status); } &&
2508876ff6feSmrg	 { ac_try='test -z "$ac_c_werror_flag"
2509876ff6feSmrg			 || test ! -s conftest.err'
2510876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511876ff6feSmrg  (eval $ac_try) 2>&5
2512876ff6feSmrg  ac_status=$?
2513876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514876ff6feSmrg  (exit $ac_status); }; } &&
2515876ff6feSmrg	 { ac_try='test -s conftest.$ac_objext'
2516876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517876ff6feSmrg  (eval $ac_try) 2>&5
2518876ff6feSmrg  ac_status=$?
2519876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520876ff6feSmrg  (exit $ac_status); }; }; then
2521876ff6feSmrg  ac_cv_prog_cc_stdc=$ac_arg
2522876ff6feSmrgbreak
2523876ff6feSmrgelse
2524876ff6feSmrg  echo "$as_me: failed program was:" >&5
2525876ff6feSmrgsed 's/^/| /' conftest.$ac_ext >&5
2526876ff6feSmrg
2527876ff6feSmrgfi
2528876ff6feSmrgrm -f conftest.err conftest.$ac_objext
2529876ff6feSmrgdone
2530876ff6feSmrgrm -f conftest.$ac_ext conftest.$ac_objext
2531876ff6feSmrgCC=$ac_save_CC
2532876ff6feSmrg
2533876ff6feSmrgfi
2534876ff6feSmrg
2535876ff6feSmrgcase "x$ac_cv_prog_cc_stdc" in
2536876ff6feSmrg  x|xno)
2537876ff6feSmrg    echo "$as_me:$LINENO: result: none needed" >&5
2538876ff6feSmrgecho "${ECHO_T}none needed" >&6 ;;
2539876ff6feSmrg  *)
2540876ff6feSmrg    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2541876ff6feSmrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2542876ff6feSmrg    CC="$CC $ac_cv_prog_cc_stdc" ;;
2543876ff6feSmrgesac
2544876ff6feSmrg
2545876ff6feSmrg# Some people use a C++ compiler to compile C.  Since we use `exit',
2546876ff6feSmrg# in C++ we need to declare it.  In case someone uses the same compiler
2547876ff6feSmrg# for both compiling C and C++ we need to have the C++ compiler decide
2548876ff6feSmrg# the declaration of exit, since it's the most demanding environment.
2549876ff6feSmrgcat >conftest.$ac_ext <<_ACEOF
2550876ff6feSmrg#ifndef __cplusplus
2551876ff6feSmrg  choke me
2552876ff6feSmrg#endif
2553876ff6feSmrg_ACEOF
2554876ff6feSmrgrm -f conftest.$ac_objext
2555876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2556876ff6feSmrg  (eval $ac_compile) 2>conftest.er1
2557876ff6feSmrg  ac_status=$?
2558876ff6feSmrg  grep -v '^ *+' conftest.er1 >conftest.err
2559876ff6feSmrg  rm -f conftest.er1
2560876ff6feSmrg  cat conftest.err >&5
2561876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562876ff6feSmrg  (exit $ac_status); } &&
2563876ff6feSmrg	 { ac_try='test -z "$ac_c_werror_flag"
2564876ff6feSmrg			 || test ! -s conftest.err'
2565876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566876ff6feSmrg  (eval $ac_try) 2>&5
2567876ff6feSmrg  ac_status=$?
2568876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569876ff6feSmrg  (exit $ac_status); }; } &&
2570876ff6feSmrg	 { ac_try='test -s conftest.$ac_objext'
2571876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2572876ff6feSmrg  (eval $ac_try) 2>&5
2573876ff6feSmrg  ac_status=$?
2574876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575876ff6feSmrg  (exit $ac_status); }; }; then
2576876ff6feSmrg  for ac_declaration in \
2577876ff6feSmrg   '' \
2578876ff6feSmrg   'extern "C" void std::exit (int) throw (); using std::exit;' \
2579876ff6feSmrg   'extern "C" void std::exit (int); using std::exit;' \
2580876ff6feSmrg   'extern "C" void exit (int) throw ();' \
2581876ff6feSmrg   'extern "C" void exit (int);' \
2582876ff6feSmrg   'void exit (int);'
2583876ff6feSmrgdo
2584876ff6feSmrg  cat >conftest.$ac_ext <<_ACEOF
2585876ff6feSmrg/* confdefs.h.  */
2586876ff6feSmrg_ACEOF
2587876ff6feSmrgcat confdefs.h >>conftest.$ac_ext
2588876ff6feSmrgcat >>conftest.$ac_ext <<_ACEOF
2589876ff6feSmrg/* end confdefs.h.  */
2590876ff6feSmrg$ac_declaration
2591876ff6feSmrg#include <stdlib.h>
2592876ff6feSmrgint
2593876ff6feSmrgmain ()
2594876ff6feSmrg{
2595876ff6feSmrgexit (42);
2596876ff6feSmrg  ;
2597876ff6feSmrg  return 0;
2598876ff6feSmrg}
2599876ff6feSmrg_ACEOF
2600876ff6feSmrgrm -f conftest.$ac_objext
2601876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2602876ff6feSmrg  (eval $ac_compile) 2>conftest.er1
2603876ff6feSmrg  ac_status=$?
2604876ff6feSmrg  grep -v '^ *+' conftest.er1 >conftest.err
2605876ff6feSmrg  rm -f conftest.er1
2606876ff6feSmrg  cat conftest.err >&5
2607876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608876ff6feSmrg  (exit $ac_status); } &&
2609876ff6feSmrg	 { ac_try='test -z "$ac_c_werror_flag"
2610876ff6feSmrg			 || test ! -s conftest.err'
2611876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612876ff6feSmrg  (eval $ac_try) 2>&5
2613876ff6feSmrg  ac_status=$?
2614876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615876ff6feSmrg  (exit $ac_status); }; } &&
2616876ff6feSmrg	 { ac_try='test -s conftest.$ac_objext'
2617876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2618876ff6feSmrg  (eval $ac_try) 2>&5
2619876ff6feSmrg  ac_status=$?
2620876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621876ff6feSmrg  (exit $ac_status); }; }; then
2622876ff6feSmrg  :
2623876ff6feSmrgelse
2624876ff6feSmrg  echo "$as_me: failed program was:" >&5
2625876ff6feSmrgsed 's/^/| /' conftest.$ac_ext >&5
2626876ff6feSmrg
2627876ff6feSmrgcontinue
2628876ff6feSmrgfi
2629876ff6feSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2630876ff6feSmrg  cat >conftest.$ac_ext <<_ACEOF
2631876ff6feSmrg/* confdefs.h.  */
2632876ff6feSmrg_ACEOF
2633876ff6feSmrgcat confdefs.h >>conftest.$ac_ext
2634876ff6feSmrgcat >>conftest.$ac_ext <<_ACEOF
2635876ff6feSmrg/* end confdefs.h.  */
2636876ff6feSmrg$ac_declaration
2637876ff6feSmrgint
2638876ff6feSmrgmain ()
2639876ff6feSmrg{
2640876ff6feSmrgexit (42);
2641876ff6feSmrg  ;
2642876ff6feSmrg  return 0;
2643876ff6feSmrg}
2644876ff6feSmrg_ACEOF
2645876ff6feSmrgrm -f conftest.$ac_objext
2646876ff6feSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647876ff6feSmrg  (eval $ac_compile) 2>conftest.er1
2648876ff6feSmrg  ac_status=$?
2649876ff6feSmrg  grep -v '^ *+' conftest.er1 >conftest.err
2650876ff6feSmrg  rm -f conftest.er1
2651876ff6feSmrg  cat conftest.err >&5
2652876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653876ff6feSmrg  (exit $ac_status); } &&
2654876ff6feSmrg	 { ac_try='test -z "$ac_c_werror_flag"
2655876ff6feSmrg			 || test ! -s conftest.err'
2656876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657876ff6feSmrg  (eval $ac_try) 2>&5
2658876ff6feSmrg  ac_status=$?
2659876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660876ff6feSmrg  (exit $ac_status); }; } &&
2661876ff6feSmrg	 { ac_try='test -s conftest.$ac_objext'
2662876ff6feSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663876ff6feSmrg  (eval $ac_try) 2>&5
2664876ff6feSmrg  ac_status=$?
2665876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666876ff6feSmrg  (exit $ac_status); }; }; then
2667876ff6feSmrg  break
2668876ff6feSmrgelse
2669876ff6feSmrg  echo "$as_me: failed program was:" >&5
2670876ff6feSmrgsed 's/^/| /' conftest.$ac_ext >&5
2671876ff6feSmrg
2672876ff6feSmrgfi
2673876ff6feSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2674876ff6feSmrgdone
2675876ff6feSmrgrm -f conftest*
2676876ff6feSmrgif test -n "$ac_declaration"; then
2677876ff6feSmrg  echo '#ifdef __cplusplus' >>confdefs.h
2678876ff6feSmrg  echo $ac_declaration      >>confdefs.h
2679876ff6feSmrg  echo '#endif'             >>confdefs.h
2680876ff6feSmrgfi
2681876ff6feSmrg
2682876ff6feSmrgelse
2683876ff6feSmrg  echo "$as_me: failed program was:" >&5
2684876ff6feSmrgsed 's/^/| /' conftest.$ac_ext >&5
2685876ff6feSmrg
2686876ff6feSmrgfi
2687876ff6feSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2688876ff6feSmrgac_ext=c
2689876ff6feSmrgac_cpp='$CPP $CPPFLAGS'
2690876ff6feSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691876ff6feSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692876ff6feSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2693876ff6feSmrgDEPDIR="${am__leading_dot}deps"
2694876ff6feSmrg
2695876ff6feSmrg          ac_config_commands="$ac_config_commands depfiles"
2696876ff6feSmrg
2697876ff6feSmrg
2698876ff6feSmrgam_make=${MAKE-make}
2699876ff6feSmrgcat > confinc << 'END'
2700876ff6feSmrgam__doit:
2701876ff6feSmrg	@echo done
2702876ff6feSmrg.PHONY: am__doit
2703876ff6feSmrgEND
2704876ff6feSmrg# If we don't find an include directive, just comment out the code.
2705876ff6feSmrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2706876ff6feSmrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2707876ff6feSmrgam__include="#"
2708876ff6feSmrgam__quote=
2709876ff6feSmrg_am_result=none
2710876ff6feSmrg# First try GNU make style include.
2711876ff6feSmrgecho "include confinc" > confmf
2712876ff6feSmrg# We grep out `Entering directory' and `Leaving directory'
2713876ff6feSmrg# messages which can occur if `w' ends up in MAKEFLAGS.
2714876ff6feSmrg# In particular we don't look at `^make:' because GNU make might
2715876ff6feSmrg# be invoked under some other name (usually "gmake"), in which
2716876ff6feSmrg# case it prints its new name instead of `make'.
2717876ff6feSmrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2718876ff6feSmrg   am__include=include
2719876ff6feSmrg   am__quote=
2720876ff6feSmrg   _am_result=GNU
2721876ff6feSmrgfi
2722876ff6feSmrg# Now try BSD make style include.
2723876ff6feSmrgif test "$am__include" = "#"; then
2724876ff6feSmrg   echo '.include "confinc"' > confmf
2725876ff6feSmrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2726876ff6feSmrg      am__include=.include
2727876ff6feSmrg      am__quote="\""
2728876ff6feSmrg      _am_result=BSD
2729876ff6feSmrg   fi
2730876ff6feSmrgfi
2731876ff6feSmrg
2732876ff6feSmrg
2733876ff6feSmrgecho "$as_me:$LINENO: result: $_am_result" >&5
2734876ff6feSmrgecho "${ECHO_T}$_am_result" >&6
2735876ff6feSmrgrm -f confinc confmf
2736876ff6feSmrg
2737876ff6feSmrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2738876ff6feSmrgif test "${enable_dependency_tracking+set}" = set; then
2739876ff6feSmrg  enableval="$enable_dependency_tracking"
2740876ff6feSmrg
2741876ff6feSmrgfi;
2742876ff6feSmrgif test "x$enable_dependency_tracking" != xno; then
2743876ff6feSmrg  am_depcomp="$ac_aux_dir/depcomp"
2744876ff6feSmrg  AMDEPBACKSLASH='\'
2745876ff6feSmrgfi
2746876ff6feSmrg
2747876ff6feSmrg
2748876ff6feSmrgif test "x$enable_dependency_tracking" != xno; then
2749876ff6feSmrg  AMDEP_TRUE=
2750876ff6feSmrg  AMDEP_FALSE='#'
2751876ff6feSmrgelse
2752876ff6feSmrg  AMDEP_TRUE='#'
2753876ff6feSmrg  AMDEP_FALSE=
2754876ff6feSmrgfi
2755876ff6feSmrg
2756876ff6feSmrg
2757876ff6feSmrg
2758876ff6feSmrg
2759876ff6feSmrgdepcc="$CC"   am_compiler_list=
2760876ff6feSmrg
2761876ff6feSmrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5
2762876ff6feSmrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2763876ff6feSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2764876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2765876ff6feSmrgelse
2766876ff6feSmrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2767876ff6feSmrg  # We make a subdir and do the tests there.  Otherwise we can end up
2768876ff6feSmrg  # making bogus files that we don't know about and never remove.  For
2769876ff6feSmrg  # instance it was reported that on HP-UX the gcc test will end up
2770876ff6feSmrg  # making a dummy file named `D' -- because `-MD' means `put the output
2771876ff6feSmrg  # in D'.
2772876ff6feSmrg  mkdir conftest.dir
2773876ff6feSmrg  # Copy depcomp to subdir because otherwise we won't find it if we're
2774876ff6feSmrg  # using a relative directory.
2775876ff6feSmrg  cp "$am_depcomp" conftest.dir
2776876ff6feSmrg  cd conftest.dir
2777876ff6feSmrg  # We will build objects and dependencies in a subdirectory because
2778876ff6feSmrg  # it helps to detect inapplicable dependency modes.  For instance
2779876ff6feSmrg  # both Tru64's cc and ICC support -MD to output dependencies as a
2780876ff6feSmrg  # side effect of compilation, but ICC will put the dependencies in
2781876ff6feSmrg  # the current directory while Tru64 will put them in the object
2782876ff6feSmrg  # directory.
2783876ff6feSmrg  mkdir sub
2784876ff6feSmrg
2785876ff6feSmrg  am_cv_CC_dependencies_compiler_type=none
2786876ff6feSmrg  if test "$am_compiler_list" = ""; then
2787876ff6feSmrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2788876ff6feSmrg  fi
2789876ff6feSmrg  for depmode in $am_compiler_list; do
2790876ff6feSmrg    # Setup a source with many dependencies, because some compilers
2791876ff6feSmrg    # like to wrap large dependency lists on column 80 (with \), and
2792876ff6feSmrg    # we should not choose a depcomp mode which is confused by this.
2793876ff6feSmrg    #
2794876ff6feSmrg    # We need to recreate these files for each test, as the compiler may
2795876ff6feSmrg    # overwrite some of them when testing with obscure command lines.
2796876ff6feSmrg    # This happens at least with the AIX C compiler.
2797876ff6feSmrg    : > sub/conftest.c
2798876ff6feSmrg    for i in 1 2 3 4 5 6; do
2799876ff6feSmrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2800876ff6feSmrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2801876ff6feSmrg      # Solaris 8's {/usr,}/bin/sh.
2802876ff6feSmrg      touch sub/conftst$i.h
2803876ff6feSmrg    done
2804876ff6feSmrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2805876ff6feSmrg
2806876ff6feSmrg    case $depmode in
2807876ff6feSmrg    nosideeffect)
2808876ff6feSmrg      # after this tag, mechanisms are not by side-effect, so they'll
2809876ff6feSmrg      # only be used when explicitly requested
2810876ff6feSmrg      if test "x$enable_dependency_tracking" = xyes; then
2811876ff6feSmrg	continue
2812876ff6feSmrg      else
2813876ff6feSmrg	break
2814876ff6feSmrg      fi
2815876ff6feSmrg      ;;
2816876ff6feSmrg    none) break ;;
2817876ff6feSmrg    esac
2818876ff6feSmrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2819876ff6feSmrg    # mode.  It turns out that the SunPro C++ compiler does not properly
2820876ff6feSmrg    # handle `-M -o', and we need to detect this.
2821876ff6feSmrg    if depmode=$depmode \
2822876ff6feSmrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2823876ff6feSmrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2824876ff6feSmrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2825876ff6feSmrg         >/dev/null 2>conftest.err &&
2826876ff6feSmrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2827876ff6feSmrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2828876ff6feSmrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2829876ff6feSmrg      # icc doesn't choke on unknown options, it will just issue warnings
2830876ff6feSmrg      # or remarks (even with -Werror).  So we grep stderr for any message
2831876ff6feSmrg      # that says an option was ignored or not supported.
2832876ff6feSmrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
2833876ff6feSmrg      #   icc: Command line warning: ignoring option '-M'; no argument required
2834876ff6feSmrg      # The diagnosis changed in icc 8.0:
2835876ff6feSmrg      #   icc: Command line remark: option '-MP' not supported
2836876ff6feSmrg      if (grep 'ignoring option' conftest.err ||
2837876ff6feSmrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2838876ff6feSmrg        am_cv_CC_dependencies_compiler_type=$depmode
2839876ff6feSmrg        break
2840876ff6feSmrg      fi
2841876ff6feSmrg    fi
2842876ff6feSmrg  done
2843876ff6feSmrg
2844876ff6feSmrg  cd ..
2845876ff6feSmrg  rm -rf conftest.dir
2846876ff6feSmrgelse
2847876ff6feSmrg  am_cv_CC_dependencies_compiler_type=none
2848876ff6feSmrgfi
2849876ff6feSmrg
2850876ff6feSmrgfi
2851876ff6feSmrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2852876ff6feSmrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2853876ff6feSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2854876ff6feSmrg
2855876ff6feSmrg
2856876ff6feSmrg
2857876ff6feSmrgif
2858876ff6feSmrg  test "x$enable_dependency_tracking" != xno \
2859876ff6feSmrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2860876ff6feSmrg  am__fastdepCC_TRUE=
2861876ff6feSmrg  am__fastdepCC_FALSE='#'
2862876ff6feSmrgelse
2863876ff6feSmrg  am__fastdepCC_TRUE='#'
2864876ff6feSmrg  am__fastdepCC_FALSE=
2865876ff6feSmrgfi
2866876ff6feSmrg
2867876ff6feSmrg
2868876ff6feSmrg# Find a good install program.  We prefer a C program (faster),
2869876ff6feSmrg# so one script is as good as another.  But avoid the broken or
2870876ff6feSmrg# incompatible versions:
2871876ff6feSmrg# SysV /etc/install, /usr/sbin/install
2872876ff6feSmrg# SunOS /usr/etc/install
2873876ff6feSmrg# IRIX /sbin/install
2874876ff6feSmrg# AIX /bin/install
2875876ff6feSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
2876876ff6feSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2877876ff6feSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2878876ff6feSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2879876ff6feSmrg# OS/2's system install, which has a completely different semantic
2880876ff6feSmrg# ./install, which can be erroneously created by make from ./install.sh.
2881876ff6feSmrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2882876ff6feSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2883876ff6feSmrgif test -z "$INSTALL"; then
2884876ff6feSmrgif test "${ac_cv_path_install+set}" = set; then
2885876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2886876ff6feSmrgelse
2887876ff6feSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888876ff6feSmrgfor as_dir in $PATH
2889876ff6feSmrgdo
2890876ff6feSmrg  IFS=$as_save_IFS
2891876ff6feSmrg  test -z "$as_dir" && as_dir=.
2892876ff6feSmrg  # Account for people who put trailing slashes in PATH elements.
2893876ff6feSmrgcase $as_dir/ in
2894876ff6feSmrg  ./ | .// | /cC/* | \
2895876ff6feSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2896876ff6feSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2897876ff6feSmrg  /usr/ucb/* ) ;;
2898876ff6feSmrg  *)
2899876ff6feSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
2900876ff6feSmrg    # Don't use installbsd from OSF since it installs stuff as root
2901876ff6feSmrg    # by default.
2902876ff6feSmrg    for ac_prog in ginstall scoinst install; do
2903876ff6feSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
2904876ff6feSmrg	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2905876ff6feSmrg	  if test $ac_prog = install &&
2906876ff6feSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2907876ff6feSmrg	    # AIX install.  It has an incompatible calling convention.
2908876ff6feSmrg	    :
2909876ff6feSmrg	  elif test $ac_prog = install &&
2910876ff6feSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2911876ff6feSmrg	    # program-specific install script used by HP pwplus--don't use.
2912876ff6feSmrg	    :
2913876ff6feSmrg	  else
2914876ff6feSmrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2915876ff6feSmrg	    break 3
2916876ff6feSmrg	  fi
2917876ff6feSmrg	fi
2918876ff6feSmrg      done
2919876ff6feSmrg    done
2920876ff6feSmrg    ;;
2921876ff6feSmrgesac
2922876ff6feSmrgdone
2923876ff6feSmrg
2924876ff6feSmrg
2925876ff6feSmrgfi
2926876ff6feSmrg  if test "${ac_cv_path_install+set}" = set; then
2927876ff6feSmrg    INSTALL=$ac_cv_path_install
2928876ff6feSmrg  else
2929876ff6feSmrg    # As a last resort, use the slow shell script.  We don't cache a
2930876ff6feSmrg    # path for INSTALL within a source directory, because that will
2931876ff6feSmrg    # break other packages using the cache if that directory is
2932876ff6feSmrg    # removed, or if the path is relative.
2933876ff6feSmrg    INSTALL=$ac_install_sh
2934876ff6feSmrg  fi
2935876ff6feSmrgfi
2936876ff6feSmrgecho "$as_me:$LINENO: result: $INSTALL" >&5
2937876ff6feSmrgecho "${ECHO_T}$INSTALL" >&6
2938876ff6feSmrg
2939876ff6feSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2940876ff6feSmrg# It thinks the first close brace ends the variable substitution.
2941876ff6feSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2942876ff6feSmrg
2943876ff6feSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2944876ff6feSmrg
2945876ff6feSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2946876ff6feSmrg
2947876ff6feSmrg
2948876ff6feSmrg# Checks for pkg-config packages
2949876ff6feSmrg
2950876ff6feSmrg
2951876ff6feSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2952876ff6feSmrg	if test -n "$ac_tool_prefix"; then
2953876ff6feSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2954876ff6feSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2955876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
2956876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2957876ff6feSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2958876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2959876ff6feSmrgelse
2960876ff6feSmrg  case $PKG_CONFIG in
2961876ff6feSmrg  [\\/]* | ?:[\\/]*)
2962876ff6feSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2963876ff6feSmrg  ;;
2964876ff6feSmrg  *)
2965876ff6feSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966876ff6feSmrgfor as_dir in $PATH
2967876ff6feSmrgdo
2968876ff6feSmrg  IFS=$as_save_IFS
2969876ff6feSmrg  test -z "$as_dir" && as_dir=.
2970876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
2971876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2972876ff6feSmrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2973876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2974876ff6feSmrg    break 2
2975876ff6feSmrg  fi
2976876ff6feSmrgdone
2977876ff6feSmrgdone
2978876ff6feSmrg
2979876ff6feSmrg  ;;
2980876ff6feSmrgesac
2981876ff6feSmrgfi
2982876ff6feSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
2983876ff6feSmrg
2984876ff6feSmrgif test -n "$PKG_CONFIG"; then
2985876ff6feSmrg  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2986876ff6feSmrgecho "${ECHO_T}$PKG_CONFIG" >&6
2987876ff6feSmrgelse
2988876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
2989876ff6feSmrgecho "${ECHO_T}no" >&6
2990876ff6feSmrgfi
2991876ff6feSmrg
2992876ff6feSmrgfi
2993876ff6feSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
2994876ff6feSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
2995876ff6feSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
2996876ff6feSmrgset dummy pkg-config; ac_word=$2
2997876ff6feSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
2998876ff6feSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2999876ff6feSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3000876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3001876ff6feSmrgelse
3002876ff6feSmrg  case $ac_pt_PKG_CONFIG in
3003876ff6feSmrg  [\\/]* | ?:[\\/]*)
3004876ff6feSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3005876ff6feSmrg  ;;
3006876ff6feSmrg  *)
3007876ff6feSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008876ff6feSmrgfor as_dir in $PATH
3009876ff6feSmrgdo
3010876ff6feSmrg  IFS=$as_save_IFS
3011876ff6feSmrg  test -z "$as_dir" && as_dir=.
3012876ff6feSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
3013876ff6feSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3014876ff6feSmrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3015876ff6feSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3016876ff6feSmrg    break 2
3017876ff6feSmrg  fi
3018876ff6feSmrgdone
3019876ff6feSmrgdone
3020876ff6feSmrg
3021876ff6feSmrg  ;;
3022876ff6feSmrgesac
3023876ff6feSmrgfi
3024876ff6feSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3025876ff6feSmrg
3026876ff6feSmrgif test -n "$ac_pt_PKG_CONFIG"; then
3027876ff6feSmrg  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3028876ff6feSmrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
3029876ff6feSmrgelse
3030876ff6feSmrg  echo "$as_me:$LINENO: result: no" >&5
3031876ff6feSmrgecho "${ECHO_T}no" >&6
3032876ff6feSmrgfi
3033876ff6feSmrg
3034876ff6feSmrg  PKG_CONFIG=$ac_pt_PKG_CONFIG
3035876ff6feSmrgelse
3036876ff6feSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3037876ff6feSmrgfi
3038876ff6feSmrg
3039876ff6feSmrgfi
3040876ff6feSmrgif test -n "$PKG_CONFIG"; then
3041876ff6feSmrg	_pkg_min_version=0.9.0
3042876ff6feSmrg	echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3043876ff6feSmrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
3044876ff6feSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3045876ff6feSmrg		echo "$as_me:$LINENO: result: yes" >&5
3046876ff6feSmrgecho "${ECHO_T}yes" >&6
3047876ff6feSmrg	else
3048876ff6feSmrg		echo "$as_me:$LINENO: result: no" >&5
3049876ff6feSmrgecho "${ECHO_T}no" >&6
3050876ff6feSmrg		PKG_CONFIG=""
3051876ff6feSmrg	fi
3052876ff6feSmrg
3053876ff6feSmrgfi
3054876ff6feSmrg
3055876ff6feSmrgpkg_failed=no
3056876ff6feSmrgecho "$as_me:$LINENO: checking for XTRAP_APP" >&5
3057876ff6feSmrgecho $ECHO_N "checking for XTRAP_APP... $ECHO_C" >&6
3058876ff6feSmrg
3059876ff6feSmrgif test -n "$PKG_CONFIG"; then
3060876ff6feSmrg    if test -n "$XTRAP_APP_CFLAGS"; then
3061876ff6feSmrg        pkg_cv_XTRAP_APP_CFLAGS="$XTRAP_APP_CFLAGS"
3062876ff6feSmrg    else
3063876ff6feSmrg        if test -n "$PKG_CONFIG" && \
3064876ff6feSmrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xtrap\"") >&5
3065876ff6feSmrg  ($PKG_CONFIG --exists --print-errors "x11 xtrap") 2>&5
3066876ff6feSmrg  ac_status=$?
3067876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068876ff6feSmrg  (exit $ac_status); }; then
3069876ff6feSmrg  pkg_cv_XTRAP_APP_CFLAGS=`$PKG_CONFIG --cflags "x11 xtrap" 2>/dev/null`
3070876ff6feSmrgelse
3071876ff6feSmrg  pkg_failed=yes
3072876ff6feSmrgfi
3073876ff6feSmrg    fi
3074876ff6feSmrgelse
3075876ff6feSmrg	pkg_failed=untried
3076876ff6feSmrgfi
3077876ff6feSmrgif test -n "$PKG_CONFIG"; then
3078876ff6feSmrg    if test -n "$XTRAP_APP_LIBS"; then
3079876ff6feSmrg        pkg_cv_XTRAP_APP_LIBS="$XTRAP_APP_LIBS"
3080876ff6feSmrg    else
3081876ff6feSmrg        if test -n "$PKG_CONFIG" && \
3082876ff6feSmrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xtrap\"") >&5
3083876ff6feSmrg  ($PKG_CONFIG --exists --print-errors "x11 xtrap") 2>&5
3084876ff6feSmrg  ac_status=$?
3085876ff6feSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086876ff6feSmrg  (exit $ac_status); }; then
3087876ff6feSmrg  pkg_cv_XTRAP_APP_LIBS=`$PKG_CONFIG --libs "x11 xtrap" 2>/dev/null`
3088876ff6feSmrgelse
3089876ff6feSmrg  pkg_failed=yes
3090876ff6feSmrgfi
3091876ff6feSmrg    fi
3092876ff6feSmrgelse
3093876ff6feSmrg	pkg_failed=untried
3094876ff6feSmrgfi
3095876ff6feSmrg
3096876ff6feSmrg
3097876ff6feSmrg
3098876ff6feSmrgif test $pkg_failed = yes; then
3099876ff6feSmrg
3100876ff6feSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3101876ff6feSmrg        _pkg_short_errors_supported=yes
3102876ff6feSmrgelse
3103876ff6feSmrg        _pkg_short_errors_supported=no
3104876ff6feSmrgfi
3105876ff6feSmrg        if test $_pkg_short_errors_supported = yes; then
3106876ff6feSmrg	        XTRAP_APP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xtrap"`
3107876ff6feSmrg        else
3108876ff6feSmrg	        XTRAP_APP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xtrap"`
3109876ff6feSmrg        fi
3110876ff6feSmrg	# Put the nasty error message in config.log where it belongs
3111876ff6feSmrg	echo "$XTRAP_APP_PKG_ERRORS" >&5
3112876ff6feSmrg
3113876ff6feSmrg	{ { echo "$as_me:$LINENO: error: Package requirements (x11 xtrap) were not met:
3114876ff6feSmrg
3115876ff6feSmrg$XTRAP_APP_PKG_ERRORS
3116876ff6feSmrg
3117876ff6feSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
3118876ff6feSmrginstalled software in a non-standard prefix.
3119876ff6feSmrg
3120876ff6feSmrgAlternatively, you may set the environment variables XTRAP_APP_CFLAGS
3121876ff6feSmrgand XTRAP_APP_LIBS to avoid the need to call pkg-config.
3122876ff6feSmrgSee the pkg-config man page for more details.
3123876ff6feSmrg" >&5
3124876ff6feSmrgecho "$as_me: error: Package requirements (x11 xtrap) were not met:
3125876ff6feSmrg
3126876ff6feSmrg$XTRAP_APP_PKG_ERRORS
3127876ff6feSmrg
3128876ff6feSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
3129876ff6feSmrginstalled software in a non-standard prefix.
3130876ff6feSmrg
3131876ff6feSmrgAlternatively, you may set the environment variables XTRAP_APP_CFLAGS
3132876ff6feSmrgand XTRAP_APP_LIBS to avoid the need to call pkg-config.
3133876ff6feSmrgSee the pkg-config man page for more details.
3134876ff6feSmrg" >&2;}
3135876ff6feSmrg   { (exit 1); exit 1; }; }
3136876ff6feSmrgelif test $pkg_failed = untried; then
3137876ff6feSmrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3138876ff6feSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
3139876ff6feSmrgpath to pkg-config.
3140876ff6feSmrg
3141876ff6feSmrgAlternatively, you may set the environment variables XTRAP_APP_CFLAGS
3142876ff6feSmrgand XTRAP_APP_LIBS to avoid the need to call pkg-config.
3143876ff6feSmrgSee the pkg-config man page for more details.
3144876ff6feSmrg
3145876ff6feSmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3146876ff6feSmrgSee \`config.log' for more details." >&5
3147876ff6feSmrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3148876ff6feSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
3149876ff6feSmrgpath to pkg-config.
3150876ff6feSmrg
3151876ff6feSmrgAlternatively, you may set the environment variables XTRAP_APP_CFLAGS
3152876ff6feSmrgand XTRAP_APP_LIBS to avoid the need to call pkg-config.
3153876ff6feSmrgSee the pkg-config man page for more details.
3154876ff6feSmrg
3155876ff6feSmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3156876ff6feSmrgSee \`config.log' for more details." >&2;}
3157876ff6feSmrg   { (exit 1); exit 1; }; }
3158876ff6feSmrgelse
3159876ff6feSmrg	XTRAP_APP_CFLAGS=$pkg_cv_XTRAP_APP_CFLAGS
3160876ff6feSmrg	XTRAP_APP_LIBS=$pkg_cv_XTRAP_APP_LIBS
3161876ff6feSmrg        echo "$as_me:$LINENO: result: yes" >&5
3162876ff6feSmrgecho "${ECHO_T}yes" >&6
3163876ff6feSmrg	:
3164876ff6feSmrgfi
3165876ff6feSmrg
3166876ff6feSmrg
3167876ff6feSmrg
3168876ff6feSmrg# Make sure we can run config.sub.
3169876ff6feSmrg$ac_config_sub sun4 >/dev/null 2>&1 ||
3170876ff6feSmrg  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3171876ff6feSmrgecho "$as_me: error: cannot run $ac_config_sub" >&2;}
3172876ff6feSmrg   { (exit 1); exit 1; }; }
3173876ff6feSmrg
3174876ff6feSmrgecho "$as_me:$LINENO: checking build system type" >&5
3175876ff6feSmrgecho $ECHO_N "checking build system type... $ECHO_C" >&6
3176876ff6feSmrgif test "${ac_cv_build+set}" = set; then
3177876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3178876ff6feSmrgelse
3179876ff6feSmrg  ac_cv_build_alias=$build_alias
3180876ff6feSmrgtest -z "$ac_cv_build_alias" &&
3181876ff6feSmrg  ac_cv_build_alias=`$ac_config_guess`
3182876ff6feSmrgtest -z "$ac_cv_build_alias" &&
3183876ff6feSmrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3184876ff6feSmrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
3185876ff6feSmrg   { (exit 1); exit 1; }; }
3186876ff6feSmrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3187876ff6feSmrg  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3188876ff6feSmrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3189876ff6feSmrg   { (exit 1); exit 1; }; }
3190876ff6feSmrg
3191876ff6feSmrgfi
3192876ff6feSmrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5
3193876ff6feSmrgecho "${ECHO_T}$ac_cv_build" >&6
3194876ff6feSmrgbuild=$ac_cv_build
3195876ff6feSmrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3196876ff6feSmrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3197876ff6feSmrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3198876ff6feSmrg
3199876ff6feSmrg
3200876ff6feSmrgecho "$as_me:$LINENO: checking host system type" >&5
3201876ff6feSmrgecho $ECHO_N "checking host system type... $ECHO_C" >&6
3202876ff6feSmrgif test "${ac_cv_host+set}" = set; then
3203876ff6feSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3204876ff6feSmrgelse
3205876ff6feSmrg  ac_cv_host_alias=$host_alias
3206876ff6feSmrgtest -z "$ac_cv_host_alias" &&
3207876ff6feSmrg  ac_cv_host_alias=$ac_cv_build_alias
3208876ff6feSmrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3209876ff6feSmrg  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3210876ff6feSmrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3211876ff6feSmrg   { (exit 1); exit 1; }; }
3212876ff6feSmrg
3213876ff6feSmrgfi
3214876ff6feSmrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5
3215876ff6feSmrgecho "${ECHO_T}$ac_cv_host" >&6
3216876ff6feSmrghost=$ac_cv_host
3217876ff6feSmrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3218876ff6feSmrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3219876ff6feSmrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3220876ff6feSmrg
3221876ff6feSmrg
3222876ff6feSmrg
3223876ff6feSmrg
3224876ff6feSmrg
3225876ff6feSmrgif test x$APP_MAN_SUFFIX = x    ; then
3226876ff6feSmrg    case $host_os in
3227876ff6feSmrg	linux*)	APP_MAN_SUFFIX=1x ;;
3228876ff6feSmrg	*)	APP_MAN_SUFFIX=1  ;;
3229876ff6feSmrg    esac
3230876ff6feSmrgfi
3231876ff6feSmrgif test x$APP_MAN_DIR = x    ; then
3232876ff6feSmrg    case $host_os in
3233876ff6feSmrg	linux*)	APP_MAN_DIR='$(mandir)/man1' ;;
3234876ff6feSmrg	*)	APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
3235876ff6feSmrg    esac
3236876ff6feSmrgfi
3237876ff6feSmrg
3238876ff6feSmrgif test x$LIB_MAN_SUFFIX = x    ; then
3239876ff6feSmrg    case $host_os in
3240876ff6feSmrg	linux*)	LIB_MAN_SUFFIX=3x ;;
3241876ff6feSmrg	*)	LIB_MAN_SUFFIX=3  ;;
3242876ff6feSmrg    esac
3243876ff6feSmrgfi
3244876ff6feSmrgif test x$LIB_MAN_DIR = x    ; then
3245876ff6feSmrg    case $host_os in
3246876ff6feSmrg	linux*)	LIB_MAN_DIR='$(mandir)/man3' ;;
3247876ff6feSmrg	*)	LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
3248876ff6feSmrg    esac
3249876ff6feSmrgfi
3250876ff6feSmrg
3251876ff6feSmrgif test x$FILE_MAN_SUFFIX = x    ; then
3252876ff6feSmrg    case $host_os in
3253876ff6feSmrg	linux*)		FILE_MAN_SUFFIX=5x ;;
3254876ff6feSmrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
3255876ff6feSmrg	*)		FILE_MAN_SUFFIX=5  ;;
3256876ff6feSmrg    esac
3257876ff6feSmrgfi
3258876ff6feSmrgif test x$FILE_MAN_DIR = x    ; then
3259876ff6feSmrg    case $host_os in
3260876ff6feSmrg	linux*)	FILE_MAN_DIR='$(mandir)/man5' ;;
3261876ff6feSmrg	*)	FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
3262876ff6feSmrg    esac
3263876ff6feSmrgfi
3264876ff6feSmrg
3265876ff6feSmrg# In Imake's linux.cf, the misc man suffix & dir was only changed for
3266876ff6feSmrg# LinuxDebian, not other Linuxes, so we leave it unchanged here
3267876ff6feSmrgif test x$MISC_MAN_SUFFIX = x    ; then
3268876ff6feSmrg    case $host_os in
3269876ff6feSmrg#	linux*)		MISC_MAN_SUFFIX=7x ;;
3270876ff6feSmrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
3271876ff6feSmrg	*)		MISC_MAN_SUFFIX=7  ;;
3272876ff6feSmrg    esac
3273876ff6feSmrgfi
3274876ff6feSmrgif test x$MISC_MAN_DIR = x    ; then
3275876ff6feSmrg    case $host_os in
3276876ff6feSmrg#	linux*)	MISC_MAN_DIR='$(mandir)/man7' ;;
3277876ff6feSmrg	*)	MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
3278876ff6feSmrg    esac
3279876ff6feSmrgfi
3280876ff6feSmrg
3281876ff6feSmrg# In Imake's linux.cf, the driver man suffix & dir was only changed for
3282876ff6feSmrg# LinuxDebian, not other Linuxes, so we leave it unchanged here
3283876ff6feSmrgif test x$DRIVER_MAN_SUFFIX = x    ; then
3284876ff6feSmrg    case $host_os in
3285876ff6feSmrg#	linux*)		DRIVER_MAN_SUFFIX=4x ;;
3286876ff6feSmrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
3287876ff6feSmrg	*)		DRIVER_MAN_SUFFIX=4  ;;
3288876ff6feSmrg    esac
3289876ff6feSmrgfi
3290876ff6feSmrgif test x$DRIVER_MAN_DIR = x    ; then
3291876ff6feSmrg    case $host_os in
3292876ff6feSmrg#	linux*)	DRIVER_MAN_DIR='$(mandir)/man4' ;;
3293876ff6feSmrg	*)	DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
3294876ff6feSmrg    esac
3295876ff6feSmrgfi
3296876ff6feSmrg
3297876ff6feSmrgif test x$ADMIN_MAN_SUFFIX = x    ; then
3298876ff6feSmrg    case $host_os in
3299876ff6feSmrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
3300876ff6feSmrg	*)		ADMIN_MAN_SUFFIX=8  ;;
3301876ff6feSmrg    esac
3302876ff6feSmrgfi
3303876ff6feSmrgif test x$ADMIN_MAN_DIR = x    ; then
3304876ff6feSmrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3305876ff6feSmrgfi
3306876ff6feSmrg
3307876ff6feSmrg
3308876ff6feSmrg
3309876ff6feSmrg
3310876ff6feSmrg
3311876ff6feSmrg
3312876ff6feSmrg
3313876ff6feSmrg
3314876ff6feSmrg
3315876ff6feSmrg
3316876ff6feSmrg
3317876ff6feSmrg
3318876ff6feSmrg
3319876ff6feSmrg
3320876ff6feSmrg
3321876ff6feSmrg
3322876ff6feSmrg
3323876ff6feSmrg# Check whether --with-release-version or --without-release-version was given.
3324876ff6feSmrgif test "${with_release_version+set}" = set; then
3325876ff6feSmrg  withval="$with_release_version"
3326876ff6feSmrg  RELEASE_VERSION="$withval"
3327876ff6feSmrgelse
3328876ff6feSmrg  RELEASE_VERSION=""
3329876ff6feSmrgfi;
3330876ff6feSmrg	if test "x$RELEASE_VERSION" != "x"; then
3331876ff6feSmrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
3332876ff6feSmrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3333876ff6feSmrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3334876ff6feSmrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
3335876ff6feSmrg	fi
3336876ff6feSmrg
3337876ff6feSmrg
3338876ff6feSmrg          ac_config_files="$ac_config_files Makefile"
3339876ff6feSmrgcat >confcache <<\_ACEOF
3340876ff6feSmrg# This file is a shell script that caches the results of configure
3341876ff6feSmrg# tests run on this system so they can be shared between configure
3342876ff6feSmrg# scripts and configure runs, see configure's option --config-cache.
3343876ff6feSmrg# It is not useful on other systems.  If it contains results you don't
3344876ff6feSmrg# want to keep, you may remove or edit it.
3345876ff6feSmrg#
3346876ff6feSmrg# config.status only pays attention to the cache file if you give it
3347876ff6feSmrg# the --recheck option to rerun configure.
3348876ff6feSmrg#
3349876ff6feSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
3350876ff6feSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
3351876ff6feSmrg# following values.
3352876ff6feSmrg
3353876ff6feSmrg_ACEOF
3354876ff6feSmrg
3355876ff6feSmrg# The following way of writing the cache mishandles newlines in values,
3356876ff6feSmrg# but we know of no workaround that is simple, portable, and efficient.
3357876ff6feSmrg# So, don't put newlines in cache variables' values.
3358876ff6feSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
3359876ff6feSmrg# and sets the high bit in the cache file unless we assign to the vars.
3360876ff6feSmrg{
3361876ff6feSmrg  (set) 2>&1 |
3362876ff6feSmrg    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3363876ff6feSmrg    *ac_space=\ *)
3364876ff6feSmrg      # `set' does not quote correctly, so add quotes (double-quote
3365876ff6feSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
3366876ff6feSmrg      sed -n \
3367876ff6feSmrg	"s/'/'\\\\''/g;
3368876ff6feSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3369876ff6feSmrg      ;;
3370876ff6feSmrg    *)
3371876ff6feSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
3372876ff6feSmrg      sed -n \
3373876ff6feSmrg	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3374876ff6feSmrg      ;;
3375876ff6feSmrg    esac;
3376876ff6feSmrg} |
3377876ff6feSmrg  sed '
3378876ff6feSmrg     t clear
3379876ff6feSmrg     : clear
3380876ff6feSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3381876ff6feSmrg     t end
3382876ff6feSmrg     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3383876ff6feSmrg     : end' >>confcache
3384876ff6feSmrgif diff $cache_file confcache >/dev/null 2>&1; then :; else
3385876ff6feSmrg  if test -w $cache_file; then
3386876ff6feSmrg    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3387876ff6feSmrg    cat confcache >$cache_file
3388876ff6feSmrg  else
3389876ff6feSmrg    echo "not updating unwritable cache $cache_file"
3390876ff6feSmrg  fi
3391876ff6feSmrgfi
3392876ff6feSmrgrm -f confcache
3393876ff6feSmrg
3394876ff6feSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
3395876ff6feSmrg# Let make expand exec_prefix.
3396876ff6feSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3397876ff6feSmrg
3398876ff6feSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
3399876ff6feSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3400876ff6feSmrg# trailing colons and then remove the whole line if VPATH becomes empty
3401876ff6feSmrg# (actually we leave an empty line to preserve line numbers).
3402876ff6feSmrgif test "x$srcdir" = x.; then
3403876ff6feSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
3404876ff6feSmrgs/:*\$(srcdir):*/:/;
3405876ff6feSmrgs/:*\${srcdir}:*/:/;
3406876ff6feSmrgs/:*@srcdir@:*/:/;
3407876ff6feSmrgs/^\([^=]*=[	 ]*\):*/\1/;
3408876ff6feSmrgs/:*$//;
3409876ff6feSmrgs/^[^=]*=[	 ]*$//;
3410876ff6feSmrg}'
3411876ff6feSmrgfi
3412876ff6feSmrg
3413876ff6feSmrgDEFS=-DHAVE_CONFIG_H
3414876ff6feSmrg
3415876ff6feSmrgac_libobjs=
3416876ff6feSmrgac_ltlibobjs=
3417876ff6feSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3418876ff6feSmrg  # 1. Remove the extension, and $U if already installed.
3419876ff6feSmrg  ac_i=`echo "$ac_i" |
3420876ff6feSmrg	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3421876ff6feSmrg  # 2. Add them.
3422876ff6feSmrg  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3423876ff6feSmrg  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3424876ff6feSmrgdone
3425876ff6feSmrgLIBOBJS=$ac_libobjs
3426876ff6feSmrg
3427876ff6feSmrgLTLIBOBJS=$ac_ltlibobjs
3428876ff6feSmrg
3429876ff6feSmrg
3430876ff6feSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3431876ff6feSmrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3432876ff6feSmrgUsually this means the macro was only invoked conditionally." >&5
3433876ff6feSmrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3434876ff6feSmrgUsually this means the macro was only invoked conditionally." >&2;}
3435876ff6feSmrg   { (exit 1); exit 1; }; }
3436876ff6feSmrgfi
3437876ff6feSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3438876ff6feSmrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3439876ff6feSmrgUsually this means the macro was only invoked conditionally." >&5
3440876ff6feSmrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
3441876ff6feSmrgUsually this means the macro was only invoked conditionally." >&2;}
3442876ff6feSmrg   { (exit 1); exit 1; }; }
3443876ff6feSmrgfi
3444876ff6feSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3445876ff6feSmrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3446876ff6feSmrgUsually this means the macro was only invoked conditionally." >&5
3447876ff6feSmrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3448876ff6feSmrgUsually this means the macro was only invoked conditionally." >&2;}
3449876ff6feSmrg   { (exit 1); exit 1; }; }
3450876ff6feSmrgfi
3451876ff6feSmrg
3452876ff6feSmrg: ${CONFIG_STATUS=./config.status}
3453876ff6feSmrgac_clean_files_save=$ac_clean_files
3454876ff6feSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
3455876ff6feSmrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3456876ff6feSmrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
3457876ff6feSmrgcat >$CONFIG_STATUS <<_ACEOF
3458876ff6feSmrg#! $SHELL
3459876ff6feSmrg# Generated by $as_me.
3460876ff6feSmrg# Run this file to recreate the current configuration.
3461876ff6feSmrg# Compiler output produced by configure, useful for debugging
3462876ff6feSmrg# configure, is in config.log if it exists.
3463876ff6feSmrg
3464876ff6feSmrgdebug=false
3465876ff6feSmrgac_cs_recheck=false
3466876ff6feSmrgac_cs_silent=false
3467876ff6feSmrgSHELL=\${CONFIG_SHELL-$SHELL}
3468876ff6feSmrg_ACEOF
3469876ff6feSmrg
3470876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
3471876ff6feSmrg## --------------------- ##
3472876ff6feSmrg## M4sh Initialization.  ##
3473876ff6feSmrg## --------------------- ##
3474876ff6feSmrg
3475876ff6feSmrg# Be Bourne compatible
3476876ff6feSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3477876ff6feSmrg  emulate sh
3478876ff6feSmrg  NULLCMD=:
3479876ff6feSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3480876ff6feSmrg  # is contrary to our usage.  Disable this feature.
3481876ff6feSmrg  alias -g '${1+"$@"}'='"$@"'
3482876ff6feSmrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3483876ff6feSmrg  set -o posix
3484876ff6feSmrgfi
3485876ff6feSmrgDUALCASE=1; export DUALCASE # for MKS sh
3486876ff6feSmrg
3487876ff6feSmrg# Support unset when possible.
3488876ff6feSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3489876ff6feSmrg  as_unset=unset
3490876ff6feSmrgelse
3491876ff6feSmrg  as_unset=false
3492876ff6feSmrgfi
3493876ff6feSmrg
3494876ff6feSmrg
3495876ff6feSmrg# Work around bugs in pre-3.0 UWIN ksh.
3496876ff6feSmrg$as_unset ENV MAIL MAILPATH
3497876ff6feSmrgPS1='$ '
3498876ff6feSmrgPS2='> '
3499876ff6feSmrgPS4='+ '
3500876ff6feSmrg
3501876ff6feSmrg# NLS nuisances.
3502876ff6feSmrgfor as_var in \
3503876ff6feSmrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3504876ff6feSmrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3505876ff6feSmrg  LC_TELEPHONE LC_TIME
3506876ff6feSmrgdo
3507876ff6feSmrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3508876ff6feSmrg    eval $as_var=C; export $as_var
3509876ff6feSmrg  else
3510876ff6feSmrg    $as_unset $as_var
3511876ff6feSmrg  fi
3512876ff6feSmrgdone
3513876ff6feSmrg
3514876ff6feSmrg# Required to use basename.
3515876ff6feSmrgif expr a : '\(a\)' >/dev/null 2>&1; then
3516876ff6feSmrg  as_expr=expr
3517876ff6feSmrgelse
3518876ff6feSmrg  as_expr=false
3519876ff6feSmrgfi
3520876ff6feSmrg
3521876ff6feSmrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3522876ff6feSmrg  as_basename=basename
3523876ff6feSmrgelse
3524876ff6feSmrg  as_basename=false
3525876ff6feSmrgfi
3526876ff6feSmrg
3527876ff6feSmrg
3528876ff6feSmrg# Name of the executable.
3529876ff6feSmrgas_me=`$as_basename "$0" ||
3530876ff6feSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3531876ff6feSmrg	 X"$0" : 'X\(//\)$' \| \
3532876ff6feSmrg	 X"$0" : 'X\(/\)$' \| \
3533876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
3534876ff6feSmrgecho X/"$0" |
3535876ff6feSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3536876ff6feSmrg  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
3537876ff6feSmrg  	  /^X\/\(\/\).*/{ s//\1/; q; }
3538876ff6feSmrg  	  s/.*/./; q'`
3539876ff6feSmrg
3540876ff6feSmrg
3541876ff6feSmrg# PATH needs CR, and LINENO needs CR and PATH.
3542876ff6feSmrg# Avoid depending upon Character Ranges.
3543876ff6feSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3544876ff6feSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3545876ff6feSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3546876ff6feSmrgas_cr_digits='0123456789'
3547876ff6feSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
3548876ff6feSmrg
3549876ff6feSmrg# The user is always right.
3550876ff6feSmrgif test "${PATH_SEPARATOR+set}" != set; then
3551876ff6feSmrg  echo "#! /bin/sh" >conf$$.sh
3552876ff6feSmrg  echo  "exit 0"   >>conf$$.sh
3553876ff6feSmrg  chmod +x conf$$.sh
3554876ff6feSmrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3555876ff6feSmrg    PATH_SEPARATOR=';'
3556876ff6feSmrg  else
3557876ff6feSmrg    PATH_SEPARATOR=:
3558876ff6feSmrg  fi
3559876ff6feSmrg  rm -f conf$$.sh
3560876ff6feSmrgfi
3561876ff6feSmrg
3562876ff6feSmrg
3563876ff6feSmrg  as_lineno_1=$LINENO
3564876ff6feSmrg  as_lineno_2=$LINENO
3565876ff6feSmrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3566876ff6feSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3567876ff6feSmrg  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3568876ff6feSmrg  # Find who we are.  Look in the path if we contain no path at all
3569876ff6feSmrg  # relative or not.
3570876ff6feSmrg  case $0 in
3571876ff6feSmrg    *[\\/]* ) as_myself=$0 ;;
3572876ff6feSmrg    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573876ff6feSmrgfor as_dir in $PATH
3574876ff6feSmrgdo
3575876ff6feSmrg  IFS=$as_save_IFS
3576876ff6feSmrg  test -z "$as_dir" && as_dir=.
3577876ff6feSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3578876ff6feSmrgdone
3579876ff6feSmrg
3580876ff6feSmrg       ;;
3581876ff6feSmrg  esac
3582876ff6feSmrg  # We did not find ourselves, most probably we were run as `sh COMMAND'
3583876ff6feSmrg  # in which case we are not to be found in the path.
3584876ff6feSmrg  if test "x$as_myself" = x; then
3585876ff6feSmrg    as_myself=$0
3586876ff6feSmrg  fi
3587876ff6feSmrg  if test ! -f "$as_myself"; then
3588876ff6feSmrg    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3589876ff6feSmrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3590876ff6feSmrg   { (exit 1); exit 1; }; }
3591876ff6feSmrg  fi
3592876ff6feSmrg  case $CONFIG_SHELL in
3593876ff6feSmrg  '')
3594876ff6feSmrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595876ff6feSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3596876ff6feSmrgdo
3597876ff6feSmrg  IFS=$as_save_IFS
3598876ff6feSmrg  test -z "$as_dir" && as_dir=.
3599876ff6feSmrg  for as_base in sh bash ksh sh5; do
3600876ff6feSmrg	 case $as_dir in
3601876ff6feSmrg	 /*)
3602876ff6feSmrg	   if ("$as_dir/$as_base" -c '
3603876ff6feSmrg  as_lineno_1=$LINENO
3604876ff6feSmrg  as_lineno_2=$LINENO
3605876ff6feSmrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3606876ff6feSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3607876ff6feSmrg  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3608876ff6feSmrg	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3609876ff6feSmrg	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3610876ff6feSmrg	     CONFIG_SHELL=$as_dir/$as_base
3611876ff6feSmrg	     export CONFIG_SHELL
3612876ff6feSmrg	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3613876ff6feSmrg	   fi;;
3614876ff6feSmrg	 esac
3615876ff6feSmrg       done
3616876ff6feSmrgdone
3617876ff6feSmrg;;
3618876ff6feSmrg  esac
3619876ff6feSmrg
3620876ff6feSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3621876ff6feSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
3622876ff6feSmrg  # line-number line before each line; the second 'sed' does the real
3623876ff6feSmrg  # work.  The second script uses 'N' to pair each line-number line
3624876ff6feSmrg  # with the numbered line, and appends trailing '-' during
3625876ff6feSmrg  # substitution so that $LINENO is not a special case at line end.
3626876ff6feSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3627876ff6feSmrg  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3628876ff6feSmrg  sed '=' <$as_myself |
3629876ff6feSmrg    sed '
3630876ff6feSmrg      N
3631876ff6feSmrg      s,$,-,
3632876ff6feSmrg      : loop
3633876ff6feSmrg      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3634876ff6feSmrg      t loop
3635876ff6feSmrg      s,-$,,
3636876ff6feSmrg      s,^['$as_cr_digits']*\n,,
3637876ff6feSmrg    ' >$as_me.lineno &&
3638876ff6feSmrg  chmod +x $as_me.lineno ||
3639876ff6feSmrg    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3640876ff6feSmrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3641876ff6feSmrg   { (exit 1); exit 1; }; }
3642876ff6feSmrg
3643876ff6feSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
3644876ff6feSmrg  # (the dirname of $[0] is not the place where we might find the
3645876ff6feSmrg  # original and so on.  Autoconf is especially sensible to this).
3646876ff6feSmrg  . ./$as_me.lineno
3647876ff6feSmrg  # Exit status is that of the last command.
3648876ff6feSmrg  exit
3649876ff6feSmrg}
3650876ff6feSmrg
3651876ff6feSmrg
3652876ff6feSmrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3653876ff6feSmrg  *c*,-n*) ECHO_N= ECHO_C='
3654876ff6feSmrg' ECHO_T='	' ;;
3655876ff6feSmrg  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3656876ff6feSmrg  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3657876ff6feSmrgesac
3658876ff6feSmrg
3659876ff6feSmrgif expr a : '\(a\)' >/dev/null 2>&1; then
3660876ff6feSmrg  as_expr=expr
3661876ff6feSmrgelse
3662876ff6feSmrg  as_expr=false
3663876ff6feSmrgfi
3664876ff6feSmrg
3665876ff6feSmrgrm -f conf$$ conf$$.exe conf$$.file
3666876ff6feSmrgecho >conf$$.file
3667876ff6feSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then
3668876ff6feSmrg  # We could just check for DJGPP; but this test a) works b) is more generic
3669876ff6feSmrg  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3670876ff6feSmrg  if test -f conf$$.exe; then
3671876ff6feSmrg    # Don't use ln at all; we don't have any links
3672876ff6feSmrg    as_ln_s='cp -p'
3673876ff6feSmrg  else
3674876ff6feSmrg    as_ln_s='ln -s'
3675876ff6feSmrg  fi
3676876ff6feSmrgelif ln conf$$.file conf$$ 2>/dev/null; then
3677876ff6feSmrg  as_ln_s=ln
3678876ff6feSmrgelse
3679876ff6feSmrg  as_ln_s='cp -p'
3680876ff6feSmrgfi
3681876ff6feSmrgrm -f conf$$ conf$$.exe conf$$.file
3682876ff6feSmrg
3683876ff6feSmrgif mkdir -p . 2>/dev/null; then
3684876ff6feSmrg  as_mkdir_p=:
3685876ff6feSmrgelse
3686876ff6feSmrg  test -d ./-p && rmdir ./-p
3687876ff6feSmrg  as_mkdir_p=false
3688876ff6feSmrgfi
3689876ff6feSmrg
3690876ff6feSmrgas_executable_p="test -f"
3691876ff6feSmrg
3692876ff6feSmrg# Sed expression to map a string onto a valid CPP name.
3693876ff6feSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3694876ff6feSmrg
3695876ff6feSmrg# Sed expression to map a string onto a valid variable name.
3696876ff6feSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3697876ff6feSmrg
3698876ff6feSmrg
3699876ff6feSmrg# IFS
3700876ff6feSmrg# We need space, tab and new line, in precisely that order.
3701876ff6feSmrgas_nl='
3702876ff6feSmrg'
3703876ff6feSmrgIFS=" 	$as_nl"
3704876ff6feSmrg
3705876ff6feSmrg# CDPATH.
3706876ff6feSmrg$as_unset CDPATH
3707876ff6feSmrg
3708876ff6feSmrgexec 6>&1
3709876ff6feSmrg
3710876ff6feSmrg# Open the log real soon, to keep \$[0] and so on meaningful, and to
3711876ff6feSmrg# report actual input values of CONFIG_FILES etc. instead of their
3712876ff6feSmrg# values after options handling.  Logging --version etc. is OK.
3713876ff6feSmrgexec 5>>config.log
3714876ff6feSmrg{
3715876ff6feSmrg  echo
3716876ff6feSmrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3717876ff6feSmrg## Running $as_me. ##
3718876ff6feSmrg_ASBOX
3719876ff6feSmrg} >&5
3720876ff6feSmrgcat >&5 <<_CSEOF
3721876ff6feSmrg
3722876ff6feSmrgThis file was extended by xtrap $as_me 1.0.2, which was
3723876ff6feSmrggenerated by GNU Autoconf 2.59.  Invocation command line was
3724876ff6feSmrg
3725876ff6feSmrg  CONFIG_FILES    = $CONFIG_FILES
3726876ff6feSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
3727876ff6feSmrg  CONFIG_LINKS    = $CONFIG_LINKS
3728876ff6feSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
3729876ff6feSmrg  $ $0 $@
3730876ff6feSmrg
3731876ff6feSmrg_CSEOF
3732876ff6feSmrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3733876ff6feSmrgecho >&5
3734876ff6feSmrg_ACEOF
3735876ff6feSmrg
3736876ff6feSmrg# Files that config.status was made for.
3737876ff6feSmrgif test -n "$ac_config_files"; then
3738876ff6feSmrg  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3739876ff6feSmrgfi
3740876ff6feSmrg
3741876ff6feSmrgif test -n "$ac_config_headers"; then
3742876ff6feSmrg  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3743876ff6feSmrgfi
3744876ff6feSmrg
3745876ff6feSmrgif test -n "$ac_config_links"; then
3746876ff6feSmrg  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3747876ff6feSmrgfi
3748876ff6feSmrg
3749876ff6feSmrgif test -n "$ac_config_commands"; then
3750876ff6feSmrg  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3751876ff6feSmrgfi
3752876ff6feSmrg
3753876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
3754876ff6feSmrg
3755876ff6feSmrgac_cs_usage="\
3756876ff6feSmrg\`$as_me' instantiates files from templates according to the
3757876ff6feSmrgcurrent configuration.
3758876ff6feSmrg
3759876ff6feSmrgUsage: $0 [OPTIONS] [FILE]...
3760876ff6feSmrg
3761876ff6feSmrg  -h, --help       print this help, then exit
3762876ff6feSmrg  -V, --version    print version number, then exit
3763876ff6feSmrg  -q, --quiet      do not print progress messages
3764876ff6feSmrg  -d, --debug      don't remove temporary files
3765876ff6feSmrg      --recheck    update $as_me by reconfiguring in the same conditions
3766876ff6feSmrg  --file=FILE[:TEMPLATE]
3767876ff6feSmrg		   instantiate the configuration file FILE
3768876ff6feSmrg  --header=FILE[:TEMPLATE]
3769876ff6feSmrg		   instantiate the configuration header FILE
3770876ff6feSmrg
3771876ff6feSmrgConfiguration files:
3772876ff6feSmrg$config_files
3773876ff6feSmrg
3774876ff6feSmrgConfiguration headers:
3775876ff6feSmrg$config_headers
3776876ff6feSmrg
3777876ff6feSmrgConfiguration commands:
3778876ff6feSmrg$config_commands
3779876ff6feSmrg
3780876ff6feSmrgReport bugs to <bug-autoconf@gnu.org>."
3781876ff6feSmrg_ACEOF
3782876ff6feSmrg
3783876ff6feSmrgcat >>$CONFIG_STATUS <<_ACEOF
3784876ff6feSmrgac_cs_version="\\
3785876ff6feSmrgxtrap config.status 1.0.2
3786876ff6feSmrgconfigured by $0, generated by GNU Autoconf 2.59,
3787876ff6feSmrg  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3788876ff6feSmrg
3789876ff6feSmrgCopyright (C) 2003 Free Software Foundation, Inc.
3790876ff6feSmrgThis config.status script is free software; the Free Software Foundation
3791876ff6feSmrggives unlimited permission to copy, distribute and modify it."
3792876ff6feSmrgsrcdir=$srcdir
3793876ff6feSmrgINSTALL="$INSTALL"
3794876ff6feSmrg_ACEOF
3795876ff6feSmrg
3796876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
3797876ff6feSmrg# If no file are specified by the user, then we need to provide default
3798876ff6feSmrg# value.  By we need to know if files were specified by the user.
3799876ff6feSmrgac_need_defaults=:
3800876ff6feSmrgwhile test $# != 0
3801876ff6feSmrgdo
3802876ff6feSmrg  case $1 in
3803876ff6feSmrg  --*=*)
3804876ff6feSmrg    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3805876ff6feSmrg    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3806876ff6feSmrg    ac_shift=:
3807876ff6feSmrg    ;;
3808876ff6feSmrg  -*)
3809876ff6feSmrg    ac_option=$1
3810876ff6feSmrg    ac_optarg=$2
3811876ff6feSmrg    ac_shift=shift
3812876ff6feSmrg    ;;
3813876ff6feSmrg  *) # This is not an option, so the user has probably given explicit
3814876ff6feSmrg     # arguments.
3815876ff6feSmrg     ac_option=$1
3816876ff6feSmrg     ac_need_defaults=false;;
3817876ff6feSmrg  esac
3818876ff6feSmrg
3819876ff6feSmrg  case $ac_option in
3820876ff6feSmrg  # Handling of the options.
3821876ff6feSmrg_ACEOF
3822876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
3823876ff6feSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3824876ff6feSmrg    ac_cs_recheck=: ;;
3825876ff6feSmrg  --version | --vers* | -V )
3826876ff6feSmrg    echo "$ac_cs_version"; exit 0 ;;
3827876ff6feSmrg  --he | --h)
3828876ff6feSmrg    # Conflict between --help and --header
3829876ff6feSmrg    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3830876ff6feSmrgTry \`$0 --help' for more information." >&5
3831876ff6feSmrgecho "$as_me: error: ambiguous option: $1
3832876ff6feSmrgTry \`$0 --help' for more information." >&2;}
3833876ff6feSmrg   { (exit 1); exit 1; }; };;
3834876ff6feSmrg  --help | --hel | -h )
3835876ff6feSmrg    echo "$ac_cs_usage"; exit 0 ;;
3836876ff6feSmrg  --debug | --d* | -d )
3837876ff6feSmrg    debug=: ;;
3838876ff6feSmrg  --file | --fil | --fi | --f )
3839876ff6feSmrg    $ac_shift
3840876ff6feSmrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3841876ff6feSmrg    ac_need_defaults=false;;
3842876ff6feSmrg  --header | --heade | --head | --hea )
3843876ff6feSmrg    $ac_shift
3844876ff6feSmrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3845876ff6feSmrg    ac_need_defaults=false;;
3846876ff6feSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3847876ff6feSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3848876ff6feSmrg    ac_cs_silent=: ;;
3849876ff6feSmrg
3850876ff6feSmrg  # This is an error.
3851876ff6feSmrg  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3852876ff6feSmrgTry \`$0 --help' for more information." >&5
3853876ff6feSmrgecho "$as_me: error: unrecognized option: $1
3854876ff6feSmrgTry \`$0 --help' for more information." >&2;}
3855876ff6feSmrg   { (exit 1); exit 1; }; } ;;
3856876ff6feSmrg
3857876ff6feSmrg  *) ac_config_targets="$ac_config_targets $1" ;;
3858876ff6feSmrg
3859876ff6feSmrg  esac
3860876ff6feSmrg  shift
3861876ff6feSmrgdone
3862876ff6feSmrg
3863876ff6feSmrgac_configure_extra_args=
3864876ff6feSmrg
3865876ff6feSmrgif $ac_cs_silent; then
3866876ff6feSmrg  exec 6>/dev/null
3867876ff6feSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
3868876ff6feSmrgfi
3869876ff6feSmrg
3870876ff6feSmrg_ACEOF
3871876ff6feSmrgcat >>$CONFIG_STATUS <<_ACEOF
3872876ff6feSmrgif \$ac_cs_recheck; then
3873876ff6feSmrg  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3874876ff6feSmrg  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3875876ff6feSmrgfi
3876876ff6feSmrg
3877876ff6feSmrg_ACEOF
3878876ff6feSmrg
3879876ff6feSmrgcat >>$CONFIG_STATUS <<_ACEOF
3880876ff6feSmrg#
3881876ff6feSmrg# INIT-COMMANDS section.
3882876ff6feSmrg#
3883876ff6feSmrg
3884876ff6feSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3885876ff6feSmrg
3886876ff6feSmrg_ACEOF
3887876ff6feSmrg
3888876ff6feSmrg
3889876ff6feSmrg
3890876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
3891876ff6feSmrgfor ac_config_target in $ac_config_targets
3892876ff6feSmrgdo
3893876ff6feSmrg  case "$ac_config_target" in
3894876ff6feSmrg  # Handling of arguments.
3895876ff6feSmrg  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3896876ff6feSmrg  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3897876ff6feSmrg  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3898876ff6feSmrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3899876ff6feSmrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
3900876ff6feSmrg   { (exit 1); exit 1; }; };;
3901876ff6feSmrg  esac
3902876ff6feSmrgdone
3903876ff6feSmrg
3904876ff6feSmrg# If the user did not use the arguments to specify the items to instantiate,
3905876ff6feSmrg# then the envvar interface is used.  Set only those that are not.
3906876ff6feSmrg# We use the long form for the default assignment because of an extremely
3907876ff6feSmrg# bizarre bug on SunOS 4.1.3.
3908876ff6feSmrgif $ac_need_defaults; then
3909876ff6feSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3910876ff6feSmrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3911876ff6feSmrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3912876ff6feSmrgfi
3913876ff6feSmrg
3914876ff6feSmrg# Have a temporary directory for convenience.  Make it in the build tree
3915876ff6feSmrg# simply because there is no reason to put it here, and in addition,
3916876ff6feSmrg# creating and moving files from /tmp can sometimes cause problems.
3917876ff6feSmrg# Create a temporary directory, and hook for its removal unless debugging.
3918876ff6feSmrg$debug ||
3919876ff6feSmrg{
3920876ff6feSmrg  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3921876ff6feSmrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
3922876ff6feSmrg}
3923876ff6feSmrg
3924876ff6feSmrg# Create a (secure) tmp directory for tmp files.
3925876ff6feSmrg
3926876ff6feSmrg{
3927876ff6feSmrg  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3928876ff6feSmrg  test -n "$tmp" && test -d "$tmp"
3929876ff6feSmrg}  ||
3930876ff6feSmrg{
3931876ff6feSmrg  tmp=./confstat$$-$RANDOM
3932876ff6feSmrg  (umask 077 && mkdir $tmp)
3933876ff6feSmrg} ||
3934876ff6feSmrg{
3935876ff6feSmrg   echo "$me: cannot create a temporary directory in ." >&2
3936876ff6feSmrg   { (exit 1); exit 1; }
3937876ff6feSmrg}
3938876ff6feSmrg
3939876ff6feSmrg_ACEOF
3940876ff6feSmrg
3941876ff6feSmrgcat >>$CONFIG_STATUS <<_ACEOF
3942876ff6feSmrg
3943876ff6feSmrg#
3944876ff6feSmrg# CONFIG_FILES section.
3945876ff6feSmrg#
3946876ff6feSmrg
3947876ff6feSmrg# No need to generate the scripts if there are no CONFIG_FILES.
3948876ff6feSmrg# This happens for instance when ./config.status config.h
3949876ff6feSmrgif test -n "\$CONFIG_FILES"; then
3950876ff6feSmrg  # Protect against being on the right side of a sed subst in config.status.
3951876ff6feSmrg  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3952876ff6feSmrg   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3953876ff6feSmrgs,@SHELL@,$SHELL,;t t
3954876ff6feSmrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3955876ff6feSmrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3956876ff6feSmrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3957876ff6feSmrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3958876ff6feSmrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3959876ff6feSmrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3960876ff6feSmrgs,@exec_prefix@,$exec_prefix,;t t
3961876ff6feSmrgs,@prefix@,$prefix,;t t
3962876ff6feSmrgs,@program_transform_name@,$program_transform_name,;t t
3963876ff6feSmrgs,@bindir@,$bindir,;t t
3964876ff6feSmrgs,@sbindir@,$sbindir,;t t
3965876ff6feSmrgs,@libexecdir@,$libexecdir,;t t
3966876ff6feSmrgs,@datadir@,$datadir,;t t
3967876ff6feSmrgs,@sysconfdir@,$sysconfdir,;t t
3968876ff6feSmrgs,@sharedstatedir@,$sharedstatedir,;t t
3969876ff6feSmrgs,@localstatedir@,$localstatedir,;t t
3970876ff6feSmrgs,@libdir@,$libdir,;t t
3971876ff6feSmrgs,@includedir@,$includedir,;t t
3972876ff6feSmrgs,@oldincludedir@,$oldincludedir,;t t
3973876ff6feSmrgs,@infodir@,$infodir,;t t
3974876ff6feSmrgs,@mandir@,$mandir,;t t
3975876ff6feSmrgs,@build_alias@,$build_alias,;t t
3976876ff6feSmrgs,@host_alias@,$host_alias,;t t
3977876ff6feSmrgs,@target_alias@,$target_alias,;t t
3978876ff6feSmrgs,@DEFS@,$DEFS,;t t
3979876ff6feSmrgs,@ECHO_C@,$ECHO_C,;t t
3980876ff6feSmrgs,@ECHO_N@,$ECHO_N,;t t
3981876ff6feSmrgs,@ECHO_T@,$ECHO_T,;t t
3982876ff6feSmrgs,@LIBS@,$LIBS,;t t
3983876ff6feSmrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3984876ff6feSmrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3985876ff6feSmrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t
3986876ff6feSmrgs,@CYGPATH_W@,$CYGPATH_W,;t t
3987876ff6feSmrgs,@PACKAGE@,$PACKAGE,;t t
3988876ff6feSmrgs,@VERSION@,$VERSION,;t t
3989876ff6feSmrgs,@ACLOCAL@,$ACLOCAL,;t t
3990876ff6feSmrgs,@AUTOCONF@,$AUTOCONF,;t t
3991876ff6feSmrgs,@AUTOMAKE@,$AUTOMAKE,;t t
3992876ff6feSmrgs,@AUTOHEADER@,$AUTOHEADER,;t t
3993876ff6feSmrgs,@MAKEINFO@,$MAKEINFO,;t t
3994876ff6feSmrgs,@install_sh@,$install_sh,;t t
3995876ff6feSmrgs,@STRIP@,$STRIP,;t t
3996876ff6feSmrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3997876ff6feSmrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3998876ff6feSmrgs,@mkdir_p@,$mkdir_p,;t t
3999876ff6feSmrgs,@AWK@,$AWK,;t t
4000876ff6feSmrgs,@SET_MAKE@,$SET_MAKE,;t t
4001876ff6feSmrgs,@am__leading_dot@,$am__leading_dot,;t t
4002876ff6feSmrgs,@AMTAR@,$AMTAR,;t t
4003876ff6feSmrgs,@am__tar@,$am__tar,;t t
4004876ff6feSmrgs,@am__untar@,$am__untar,;t t
4005876ff6feSmrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4006876ff6feSmrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4007876ff6feSmrgs,@MAINT@,$MAINT,;t t
4008876ff6feSmrgs,@CC@,$CC,;t t
4009876ff6feSmrgs,@CFLAGS@,$CFLAGS,;t t
4010876ff6feSmrgs,@LDFLAGS@,$LDFLAGS,;t t
4011876ff6feSmrgs,@CPPFLAGS@,$CPPFLAGS,;t t
4012876ff6feSmrgs,@ac_ct_CC@,$ac_ct_CC,;t t
4013876ff6feSmrgs,@EXEEXT@,$EXEEXT,;t t
4014876ff6feSmrgs,@OBJEXT@,$OBJEXT,;t t
4015876ff6feSmrgs,@DEPDIR@,$DEPDIR,;t t
4016876ff6feSmrgs,@am__include@,$am__include,;t t
4017876ff6feSmrgs,@am__quote@,$am__quote,;t t
4018876ff6feSmrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4019876ff6feSmrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4020876ff6feSmrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4021876ff6feSmrgs,@CCDEPMODE@,$CCDEPMODE,;t t
4022876ff6feSmrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4023876ff6feSmrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4024876ff6feSmrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t
4025876ff6feSmrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
4026876ff6feSmrgs,@XTRAP_APP_CFLAGS@,$XTRAP_APP_CFLAGS,;t t
4027876ff6feSmrgs,@XTRAP_APP_LIBS@,$XTRAP_APP_LIBS,;t t
4028876ff6feSmrgs,@build@,$build,;t t
4029876ff6feSmrgs,@build_cpu@,$build_cpu,;t t
4030876ff6feSmrgs,@build_vendor@,$build_vendor,;t t
4031876ff6feSmrgs,@build_os@,$build_os,;t t
4032876ff6feSmrgs,@host@,$host,;t t
4033876ff6feSmrgs,@host_cpu@,$host_cpu,;t t
4034876ff6feSmrgs,@host_vendor@,$host_vendor,;t t
4035876ff6feSmrgs,@host_os@,$host_os,;t t
4036876ff6feSmrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
4037876ff6feSmrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
4038876ff6feSmrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
4039876ff6feSmrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
4040876ff6feSmrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
4041876ff6feSmrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
4042876ff6feSmrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
4043876ff6feSmrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
4044876ff6feSmrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
4045876ff6feSmrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
4046876ff6feSmrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
4047876ff6feSmrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
4048876ff6feSmrgs,@LIBOBJS@,$LIBOBJS,;t t
4049876ff6feSmrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t
4050876ff6feSmrgCEOF
4051876ff6feSmrg
4052876ff6feSmrg_ACEOF
4053876ff6feSmrg
4054876ff6feSmrg  cat >>$CONFIG_STATUS <<\_ACEOF
4055876ff6feSmrg  # Split the substitutions into bite-sized pieces for seds with
4056876ff6feSmrg  # small command number limits, like on Digital OSF/1 and HP-UX.
4057876ff6feSmrg  ac_max_sed_lines=48
4058876ff6feSmrg  ac_sed_frag=1 # Number of current file.
4059876ff6feSmrg  ac_beg=1 # First line for current file.
4060876ff6feSmrg  ac_end=$ac_max_sed_lines # Line after last line for current file.
4061876ff6feSmrg  ac_more_lines=:
4062876ff6feSmrg  ac_sed_cmds=
4063876ff6feSmrg  while $ac_more_lines; do
4064876ff6feSmrg    if test $ac_beg -gt 1; then
4065876ff6feSmrg      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4066876ff6feSmrg    else
4067876ff6feSmrg      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4068876ff6feSmrg    fi
4069876ff6feSmrg    if test ! -s $tmp/subs.frag; then
4070876ff6feSmrg      ac_more_lines=false
4071876ff6feSmrg    else
4072876ff6feSmrg      # The purpose of the label and of the branching condition is to
4073876ff6feSmrg      # speed up the sed processing (if there are no `@' at all, there
4074876ff6feSmrg      # is no need to browse any of the substitutions).
4075876ff6feSmrg      # These are the two extra sed commands mentioned above.
4076876ff6feSmrg      (echo ':t
4077876ff6feSmrg  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4078876ff6feSmrg      if test -z "$ac_sed_cmds"; then
4079876ff6feSmrg	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4080876ff6feSmrg      else
4081876ff6feSmrg	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4082876ff6feSmrg      fi
4083876ff6feSmrg      ac_sed_frag=`expr $ac_sed_frag + 1`
4084876ff6feSmrg      ac_beg=$ac_end
4085876ff6feSmrg      ac_end=`expr $ac_end + $ac_max_sed_lines`
4086876ff6feSmrg    fi
4087876ff6feSmrg  done
4088876ff6feSmrg  if test -z "$ac_sed_cmds"; then
4089876ff6feSmrg    ac_sed_cmds=cat
4090876ff6feSmrg  fi
4091876ff6feSmrgfi # test -n "$CONFIG_FILES"
4092876ff6feSmrg
4093876ff6feSmrg_ACEOF
4094876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
4095876ff6feSmrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4096876ff6feSmrg  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4097876ff6feSmrg  case $ac_file in
4098876ff6feSmrg  - | *:- | *:-:* ) # input from stdin
4099876ff6feSmrg	cat >$tmp/stdin
4100876ff6feSmrg	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4101876ff6feSmrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4102876ff6feSmrg  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4103876ff6feSmrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4104876ff6feSmrg  * )   ac_file_in=$ac_file.in ;;
4105876ff6feSmrg  esac
4106876ff6feSmrg
4107876ff6feSmrg  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4108876ff6feSmrg  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4109876ff6feSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4110876ff6feSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
4111876ff6feSmrg	 X"$ac_file" : 'X\(//\)$' \| \
4112876ff6feSmrg	 X"$ac_file" : 'X\(/\)' \| \
4113876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4114876ff6feSmrgecho X"$ac_file" |
4115876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4116876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4117876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4118876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4119876ff6feSmrg  	  s/.*/./; q'`
4120876ff6feSmrg  { if $as_mkdir_p; then
4121876ff6feSmrg    mkdir -p "$ac_dir"
4122876ff6feSmrg  else
4123876ff6feSmrg    as_dir="$ac_dir"
4124876ff6feSmrg    as_dirs=
4125876ff6feSmrg    while test ! -d "$as_dir"; do
4126876ff6feSmrg      as_dirs="$as_dir $as_dirs"
4127876ff6feSmrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4128876ff6feSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4129876ff6feSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4130876ff6feSmrg	 X"$as_dir" : 'X\(//\)$' \| \
4131876ff6feSmrg	 X"$as_dir" : 'X\(/\)' \| \
4132876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4133876ff6feSmrgecho X"$as_dir" |
4134876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4135876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4136876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4137876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4138876ff6feSmrg  	  s/.*/./; q'`
4139876ff6feSmrg    done
4140876ff6feSmrg    test ! -n "$as_dirs" || mkdir $as_dirs
4141876ff6feSmrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4142876ff6feSmrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4143876ff6feSmrg   { (exit 1); exit 1; }; }; }
4144876ff6feSmrg
4145876ff6feSmrg  ac_builddir=.
4146876ff6feSmrg
4147876ff6feSmrgif test "$ac_dir" != .; then
4148876ff6feSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4149876ff6feSmrg  # A "../" for each directory in $ac_dir_suffix.
4150876ff6feSmrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4151876ff6feSmrgelse
4152876ff6feSmrg  ac_dir_suffix= ac_top_builddir=
4153876ff6feSmrgfi
4154876ff6feSmrg
4155876ff6feSmrgcase $srcdir in
4156876ff6feSmrg  .)  # No --srcdir option.  We are building in place.
4157876ff6feSmrg    ac_srcdir=.
4158876ff6feSmrg    if test -z "$ac_top_builddir"; then
4159876ff6feSmrg       ac_top_srcdir=.
4160876ff6feSmrg    else
4161876ff6feSmrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4162876ff6feSmrg    fi ;;
4163876ff6feSmrg  [\\/]* | ?:[\\/]* )  # Absolute path.
4164876ff6feSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
4165876ff6feSmrg    ac_top_srcdir=$srcdir ;;
4166876ff6feSmrg  *) # Relative path.
4167876ff6feSmrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4168876ff6feSmrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4169876ff6feSmrgesac
4170876ff6feSmrg
4171876ff6feSmrg# Do not use `cd foo && pwd` to compute absolute paths, because
4172876ff6feSmrg# the directories may not exist.
4173876ff6feSmrgcase `pwd` in
4174876ff6feSmrg.) ac_abs_builddir="$ac_dir";;
4175876ff6feSmrg*)
4176876ff6feSmrg  case "$ac_dir" in
4177876ff6feSmrg  .) ac_abs_builddir=`pwd`;;
4178876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4179876ff6feSmrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4180876ff6feSmrg  esac;;
4181876ff6feSmrgesac
4182876ff6feSmrgcase $ac_abs_builddir in
4183876ff6feSmrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
4184876ff6feSmrg*)
4185876ff6feSmrg  case ${ac_top_builddir}. in
4186876ff6feSmrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
4187876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4188876ff6feSmrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4189876ff6feSmrg  esac;;
4190876ff6feSmrgesac
4191876ff6feSmrgcase $ac_abs_builddir in
4192876ff6feSmrg.) ac_abs_srcdir=$ac_srcdir;;
4193876ff6feSmrg*)
4194876ff6feSmrg  case $ac_srcdir in
4195876ff6feSmrg  .) ac_abs_srcdir=$ac_abs_builddir;;
4196876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4197876ff6feSmrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4198876ff6feSmrg  esac;;
4199876ff6feSmrgesac
4200876ff6feSmrgcase $ac_abs_builddir in
4201876ff6feSmrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
4202876ff6feSmrg*)
4203876ff6feSmrg  case $ac_top_srcdir in
4204876ff6feSmrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4205876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4206876ff6feSmrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4207876ff6feSmrg  esac;;
4208876ff6feSmrgesac
4209876ff6feSmrg
4210876ff6feSmrg
4211876ff6feSmrg  case $INSTALL in
4212876ff6feSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4213876ff6feSmrg  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4214876ff6feSmrg  esac
4215876ff6feSmrg
4216876ff6feSmrg  if test x"$ac_file" != x-; then
4217876ff6feSmrg    { echo "$as_me:$LINENO: creating $ac_file" >&5
4218876ff6feSmrgecho "$as_me: creating $ac_file" >&6;}
4219876ff6feSmrg    rm -f "$ac_file"
4220876ff6feSmrg  fi
4221876ff6feSmrg  # Let's still pretend it is `configure' which instantiates (i.e., don't
4222876ff6feSmrg  # use $as_me), people would be surprised to read:
4223876ff6feSmrg  #    /* config.h.  Generated by config.status.  */
4224876ff6feSmrg  if test x"$ac_file" = x-; then
4225876ff6feSmrg    configure_input=
4226876ff6feSmrg  else
4227876ff6feSmrg    configure_input="$ac_file.  "
4228876ff6feSmrg  fi
4229876ff6feSmrg  configure_input=$configure_input"Generated from `echo $ac_file_in |
4230876ff6feSmrg				     sed 's,.*/,,'` by configure."
4231876ff6feSmrg
4232876ff6feSmrg  # First look for the input files in the build tree, otherwise in the
4233876ff6feSmrg  # src tree.
4234876ff6feSmrg  ac_file_inputs=`IFS=:
4235876ff6feSmrg    for f in $ac_file_in; do
4236876ff6feSmrg      case $f in
4237876ff6feSmrg      -) echo $tmp/stdin ;;
4238876ff6feSmrg      [\\/$]*)
4239876ff6feSmrg	 # Absolute (can't be DOS-style, as IFS=:)
4240876ff6feSmrg	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4241876ff6feSmrgecho "$as_me: error: cannot find input file: $f" >&2;}
4242876ff6feSmrg   { (exit 1); exit 1; }; }
4243876ff6feSmrg	 echo "$f";;
4244876ff6feSmrg      *) # Relative
4245876ff6feSmrg	 if test -f "$f"; then
4246876ff6feSmrg	   # Build tree
4247876ff6feSmrg	   echo "$f"
4248876ff6feSmrg	 elif test -f "$srcdir/$f"; then
4249876ff6feSmrg	   # Source tree
4250876ff6feSmrg	   echo "$srcdir/$f"
4251876ff6feSmrg	 else
4252876ff6feSmrg	   # /dev/null tree
4253876ff6feSmrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4254876ff6feSmrgecho "$as_me: error: cannot find input file: $f" >&2;}
4255876ff6feSmrg   { (exit 1); exit 1; }; }
4256876ff6feSmrg	 fi;;
4257876ff6feSmrg      esac
4258876ff6feSmrg    done` || { (exit 1); exit 1; }
4259876ff6feSmrg_ACEOF
4260876ff6feSmrgcat >>$CONFIG_STATUS <<_ACEOF
4261876ff6feSmrg  sed "$ac_vpsub
4262876ff6feSmrg$extrasub
4263876ff6feSmrg_ACEOF
4264876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
4265876ff6feSmrg:t
4266876ff6feSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4267876ff6feSmrgs,@configure_input@,$configure_input,;t t
4268876ff6feSmrgs,@srcdir@,$ac_srcdir,;t t
4269876ff6feSmrgs,@abs_srcdir@,$ac_abs_srcdir,;t t
4270876ff6feSmrgs,@top_srcdir@,$ac_top_srcdir,;t t
4271876ff6feSmrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4272876ff6feSmrgs,@builddir@,$ac_builddir,;t t
4273876ff6feSmrgs,@abs_builddir@,$ac_abs_builddir,;t t
4274876ff6feSmrgs,@top_builddir@,$ac_top_builddir,;t t
4275876ff6feSmrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4276876ff6feSmrgs,@INSTALL@,$ac_INSTALL,;t t
4277876ff6feSmrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4278876ff6feSmrg  rm -f $tmp/stdin
4279876ff6feSmrg  if test x"$ac_file" != x-; then
4280876ff6feSmrg    mv $tmp/out $ac_file
4281876ff6feSmrg  else
4282876ff6feSmrg    cat $tmp/out
4283876ff6feSmrg    rm -f $tmp/out
4284876ff6feSmrg  fi
4285876ff6feSmrg
4286876ff6feSmrgdone
4287876ff6feSmrg_ACEOF
4288876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
4289876ff6feSmrg
4290876ff6feSmrg#
4291876ff6feSmrg# CONFIG_HEADER section.
4292876ff6feSmrg#
4293876ff6feSmrg
4294876ff6feSmrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4295876ff6feSmrg# NAME is the cpp macro being defined and VALUE is the value it is being given.
4296876ff6feSmrg#
4297876ff6feSmrg# ac_d sets the value in "#define NAME VALUE" lines.
4298876ff6feSmrgac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
4299876ff6feSmrgac_dB='[	 ].*$,\1#\2'
4300876ff6feSmrgac_dC=' '
4301876ff6feSmrgac_dD=',;t'
4302876ff6feSmrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4303876ff6feSmrgac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
4304876ff6feSmrgac_uB='$,\1#\2define\3'
4305876ff6feSmrgac_uC=' '
4306876ff6feSmrgac_uD=',;t'
4307876ff6feSmrg
4308876ff6feSmrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4309876ff6feSmrg  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4310876ff6feSmrg  case $ac_file in
4311876ff6feSmrg  - | *:- | *:-:* ) # input from stdin
4312876ff6feSmrg	cat >$tmp/stdin
4313876ff6feSmrg	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4314876ff6feSmrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4315876ff6feSmrg  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4316876ff6feSmrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4317876ff6feSmrg  * )   ac_file_in=$ac_file.in ;;
4318876ff6feSmrg  esac
4319876ff6feSmrg
4320876ff6feSmrg  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4321876ff6feSmrgecho "$as_me: creating $ac_file" >&6;}
4322876ff6feSmrg
4323876ff6feSmrg  # First look for the input files in the build tree, otherwise in the
4324876ff6feSmrg  # src tree.
4325876ff6feSmrg  ac_file_inputs=`IFS=:
4326876ff6feSmrg    for f in $ac_file_in; do
4327876ff6feSmrg      case $f in
4328876ff6feSmrg      -) echo $tmp/stdin ;;
4329876ff6feSmrg      [\\/$]*)
4330876ff6feSmrg	 # Absolute (can't be DOS-style, as IFS=:)
4331876ff6feSmrg	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4332876ff6feSmrgecho "$as_me: error: cannot find input file: $f" >&2;}
4333876ff6feSmrg   { (exit 1); exit 1; }; }
4334876ff6feSmrg	 # Do quote $f, to prevent DOS paths from being IFS'd.
4335876ff6feSmrg	 echo "$f";;
4336876ff6feSmrg      *) # Relative
4337876ff6feSmrg	 if test -f "$f"; then
4338876ff6feSmrg	   # Build tree
4339876ff6feSmrg	   echo "$f"
4340876ff6feSmrg	 elif test -f "$srcdir/$f"; then
4341876ff6feSmrg	   # Source tree
4342876ff6feSmrg	   echo "$srcdir/$f"
4343876ff6feSmrg	 else
4344876ff6feSmrg	   # /dev/null tree
4345876ff6feSmrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4346876ff6feSmrgecho "$as_me: error: cannot find input file: $f" >&2;}
4347876ff6feSmrg   { (exit 1); exit 1; }; }
4348876ff6feSmrg	 fi;;
4349876ff6feSmrg      esac
4350876ff6feSmrg    done` || { (exit 1); exit 1; }
4351876ff6feSmrg  # Remove the trailing spaces.
4352876ff6feSmrg  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
4353876ff6feSmrg
4354876ff6feSmrg_ACEOF
4355876ff6feSmrg
4356876ff6feSmrg# Transform confdefs.h into two sed scripts, `conftest.defines' and
4357876ff6feSmrg# `conftest.undefs', that substitutes the proper values into
4358876ff6feSmrg# config.h.in to produce config.h.  The first handles `#define'
4359876ff6feSmrg# templates, and the second `#undef' templates.
4360876ff6feSmrg# And first: Protect against being on the right side of a sed subst in
4361876ff6feSmrg# config.status.  Protect against being in an unquoted here document
4362876ff6feSmrg# in config.status.
4363876ff6feSmrgrm -f conftest.defines conftest.undefs
4364876ff6feSmrg# Using a here document instead of a string reduces the quoting nightmare.
4365876ff6feSmrg# Putting comments in sed scripts is not portable.
4366876ff6feSmrg#
4367876ff6feSmrg# `end' is used to avoid that the second main sed command (meant for
4368876ff6feSmrg# 0-ary CPP macros) applies to n-ary macro definitions.
4369876ff6feSmrg# See the Autoconf documentation for `clear'.
4370876ff6feSmrgcat >confdef2sed.sed <<\_ACEOF
4371876ff6feSmrgs/[\\&,]/\\&/g
4372876ff6feSmrgs,[\\$`],\\&,g
4373876ff6feSmrgt clear
4374876ff6feSmrg: clear
4375876ff6feSmrgs,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4376876ff6feSmrgt end
4377876ff6feSmrgs,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4378876ff6feSmrg: end
4379876ff6feSmrg_ACEOF
4380876ff6feSmrg# If some macros were called several times there might be several times
4381876ff6feSmrg# the same #defines, which is useless.  Nevertheless, we may not want to
4382876ff6feSmrg# sort them, since we want the *last* AC-DEFINE to be honored.
4383876ff6feSmrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4384876ff6feSmrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4385876ff6feSmrgrm -f confdef2sed.sed
4386876ff6feSmrg
4387876ff6feSmrg# This sed command replaces #undef with comments.  This is necessary, for
4388876ff6feSmrg# example, in the case of _POSIX_SOURCE, which is predefined and required
4389876ff6feSmrg# on some systems where configure will not decide to define it.
4390876ff6feSmrgcat >>conftest.undefs <<\_ACEOF
4391876ff6feSmrgs,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4392876ff6feSmrg_ACEOF
4393876ff6feSmrg
4394876ff6feSmrg# Break up conftest.defines because some shells have a limit on the size
4395876ff6feSmrg# of here documents, and old seds have small limits too (100 cmds).
4396876ff6feSmrgecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4397876ff6feSmrgecho '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4398876ff6feSmrgecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4399876ff6feSmrgecho '  :' >>$CONFIG_STATUS
4400876ff6feSmrgrm -f conftest.tail
4401876ff6feSmrgwhile grep . conftest.defines >/dev/null
4402876ff6feSmrgdo
4403876ff6feSmrg  # Write a limited-size here document to $tmp/defines.sed.
4404876ff6feSmrg  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4405876ff6feSmrg  # Speed up: don't consider the non `#define' lines.
4406876ff6feSmrg  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
4407876ff6feSmrg  # Work around the forget-to-reset-the-flag bug.
4408876ff6feSmrg  echo 't clr' >>$CONFIG_STATUS
4409876ff6feSmrg  echo ': clr' >>$CONFIG_STATUS
4410876ff6feSmrg  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4411876ff6feSmrg  echo 'CEOF
4412876ff6feSmrg  sed -f $tmp/defines.sed $tmp/in >$tmp/out
4413876ff6feSmrg  rm -f $tmp/in
4414876ff6feSmrg  mv $tmp/out $tmp/in
4415876ff6feSmrg' >>$CONFIG_STATUS
4416876ff6feSmrg  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4417876ff6feSmrg  rm -f conftest.defines
4418876ff6feSmrg  mv conftest.tail conftest.defines
4419876ff6feSmrgdone
4420876ff6feSmrgrm -f conftest.defines
4421876ff6feSmrgecho '  fi # grep' >>$CONFIG_STATUS
4422876ff6feSmrgecho >>$CONFIG_STATUS
4423876ff6feSmrg
4424876ff6feSmrg# Break up conftest.undefs because some shells have a limit on the size
4425876ff6feSmrg# of here documents, and old seds have small limits too (100 cmds).
4426876ff6feSmrgecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
4427876ff6feSmrgrm -f conftest.tail
4428876ff6feSmrgwhile grep . conftest.undefs >/dev/null
4429876ff6feSmrgdo
4430876ff6feSmrg  # Write a limited-size here document to $tmp/undefs.sed.
4431876ff6feSmrg  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4432876ff6feSmrg  # Speed up: don't consider the non `#undef'
4433876ff6feSmrg  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
4434876ff6feSmrg  # Work around the forget-to-reset-the-flag bug.
4435876ff6feSmrg  echo 't clr' >>$CONFIG_STATUS
4436876ff6feSmrg  echo ': clr' >>$CONFIG_STATUS
4437876ff6feSmrg  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4438876ff6feSmrg  echo 'CEOF
4439876ff6feSmrg  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4440876ff6feSmrg  rm -f $tmp/in
4441876ff6feSmrg  mv $tmp/out $tmp/in
4442876ff6feSmrg' >>$CONFIG_STATUS
4443876ff6feSmrg  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4444876ff6feSmrg  rm -f conftest.undefs
4445876ff6feSmrg  mv conftest.tail conftest.undefs
4446876ff6feSmrgdone
4447876ff6feSmrgrm -f conftest.undefs
4448876ff6feSmrg
4449876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
4450876ff6feSmrg  # Let's still pretend it is `configure' which instantiates (i.e., don't
4451876ff6feSmrg  # use $as_me), people would be surprised to read:
4452876ff6feSmrg  #    /* config.h.  Generated by config.status.  */
4453876ff6feSmrg  if test x"$ac_file" = x-; then
4454876ff6feSmrg    echo "/* Generated by configure.  */" >$tmp/config.h
4455876ff6feSmrg  else
4456876ff6feSmrg    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
4457876ff6feSmrg  fi
4458876ff6feSmrg  cat $tmp/in >>$tmp/config.h
4459876ff6feSmrg  rm -f $tmp/in
4460876ff6feSmrg  if test x"$ac_file" != x-; then
4461876ff6feSmrg    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4462876ff6feSmrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4463876ff6feSmrgecho "$as_me: $ac_file is unchanged" >&6;}
4464876ff6feSmrg    else
4465876ff6feSmrg      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4466876ff6feSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4467876ff6feSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
4468876ff6feSmrg	 X"$ac_file" : 'X\(//\)$' \| \
4469876ff6feSmrg	 X"$ac_file" : 'X\(/\)' \| \
4470876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4471876ff6feSmrgecho X"$ac_file" |
4472876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4473876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4474876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4475876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4476876ff6feSmrg  	  s/.*/./; q'`
4477876ff6feSmrg      { if $as_mkdir_p; then
4478876ff6feSmrg    mkdir -p "$ac_dir"
4479876ff6feSmrg  else
4480876ff6feSmrg    as_dir="$ac_dir"
4481876ff6feSmrg    as_dirs=
4482876ff6feSmrg    while test ! -d "$as_dir"; do
4483876ff6feSmrg      as_dirs="$as_dir $as_dirs"
4484876ff6feSmrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4485876ff6feSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4486876ff6feSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4487876ff6feSmrg	 X"$as_dir" : 'X\(//\)$' \| \
4488876ff6feSmrg	 X"$as_dir" : 'X\(/\)' \| \
4489876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4490876ff6feSmrgecho X"$as_dir" |
4491876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4492876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4493876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4494876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4495876ff6feSmrg  	  s/.*/./; q'`
4496876ff6feSmrg    done
4497876ff6feSmrg    test ! -n "$as_dirs" || mkdir $as_dirs
4498876ff6feSmrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4499876ff6feSmrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4500876ff6feSmrg   { (exit 1); exit 1; }; }; }
4501876ff6feSmrg
4502876ff6feSmrg      rm -f $ac_file
4503876ff6feSmrg      mv $tmp/config.h $ac_file
4504876ff6feSmrg    fi
4505876ff6feSmrg  else
4506876ff6feSmrg    cat $tmp/config.h
4507876ff6feSmrg    rm -f $tmp/config.h
4508876ff6feSmrg  fi
4509876ff6feSmrg# Compute $ac_file's index in $config_headers.
4510876ff6feSmrg_am_stamp_count=1
4511876ff6feSmrgfor _am_header in $config_headers :; do
4512876ff6feSmrg  case $_am_header in
4513876ff6feSmrg    $ac_file | $ac_file:* )
4514876ff6feSmrg      break ;;
4515876ff6feSmrg    * )
4516876ff6feSmrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4517876ff6feSmrg  esac
4518876ff6feSmrgdone
4519876ff6feSmrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4520876ff6feSmrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4521876ff6feSmrg	 X$ac_file : 'X\(//\)[^/]' \| \
4522876ff6feSmrg	 X$ac_file : 'X\(//\)$' \| \
4523876ff6feSmrg	 X$ac_file : 'X\(/\)' \| \
4524876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4525876ff6feSmrgecho X$ac_file |
4526876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4527876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4528876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4529876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4530876ff6feSmrg  	  s/.*/./; q'`/stamp-h$_am_stamp_count
4531876ff6feSmrgdone
4532876ff6feSmrg_ACEOF
4533876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
4534876ff6feSmrg
4535876ff6feSmrg#
4536876ff6feSmrg# CONFIG_COMMANDS section.
4537876ff6feSmrg#
4538876ff6feSmrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4539876ff6feSmrg  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4540876ff6feSmrg  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4541876ff6feSmrg  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4542876ff6feSmrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4543876ff6feSmrg	 X"$ac_dest" : 'X\(//\)[^/]' \| \
4544876ff6feSmrg	 X"$ac_dest" : 'X\(//\)$' \| \
4545876ff6feSmrg	 X"$ac_dest" : 'X\(/\)' \| \
4546876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4547876ff6feSmrgecho X"$ac_dest" |
4548876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4549876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4550876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4551876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4552876ff6feSmrg  	  s/.*/./; q'`
4553876ff6feSmrg  { if $as_mkdir_p; then
4554876ff6feSmrg    mkdir -p "$ac_dir"
4555876ff6feSmrg  else
4556876ff6feSmrg    as_dir="$ac_dir"
4557876ff6feSmrg    as_dirs=
4558876ff6feSmrg    while test ! -d "$as_dir"; do
4559876ff6feSmrg      as_dirs="$as_dir $as_dirs"
4560876ff6feSmrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4561876ff6feSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4562876ff6feSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4563876ff6feSmrg	 X"$as_dir" : 'X\(//\)$' \| \
4564876ff6feSmrg	 X"$as_dir" : 'X\(/\)' \| \
4565876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4566876ff6feSmrgecho X"$as_dir" |
4567876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4568876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4569876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4570876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4571876ff6feSmrg  	  s/.*/./; q'`
4572876ff6feSmrg    done
4573876ff6feSmrg    test ! -n "$as_dirs" || mkdir $as_dirs
4574876ff6feSmrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4575876ff6feSmrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4576876ff6feSmrg   { (exit 1); exit 1; }; }; }
4577876ff6feSmrg
4578876ff6feSmrg  ac_builddir=.
4579876ff6feSmrg
4580876ff6feSmrgif test "$ac_dir" != .; then
4581876ff6feSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4582876ff6feSmrg  # A "../" for each directory in $ac_dir_suffix.
4583876ff6feSmrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4584876ff6feSmrgelse
4585876ff6feSmrg  ac_dir_suffix= ac_top_builddir=
4586876ff6feSmrgfi
4587876ff6feSmrg
4588876ff6feSmrgcase $srcdir in
4589876ff6feSmrg  .)  # No --srcdir option.  We are building in place.
4590876ff6feSmrg    ac_srcdir=.
4591876ff6feSmrg    if test -z "$ac_top_builddir"; then
4592876ff6feSmrg       ac_top_srcdir=.
4593876ff6feSmrg    else
4594876ff6feSmrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4595876ff6feSmrg    fi ;;
4596876ff6feSmrg  [\\/]* | ?:[\\/]* )  # Absolute path.
4597876ff6feSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
4598876ff6feSmrg    ac_top_srcdir=$srcdir ;;
4599876ff6feSmrg  *) # Relative path.
4600876ff6feSmrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4601876ff6feSmrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4602876ff6feSmrgesac
4603876ff6feSmrg
4604876ff6feSmrg# Do not use `cd foo && pwd` to compute absolute paths, because
4605876ff6feSmrg# the directories may not exist.
4606876ff6feSmrgcase `pwd` in
4607876ff6feSmrg.) ac_abs_builddir="$ac_dir";;
4608876ff6feSmrg*)
4609876ff6feSmrg  case "$ac_dir" in
4610876ff6feSmrg  .) ac_abs_builddir=`pwd`;;
4611876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4612876ff6feSmrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4613876ff6feSmrg  esac;;
4614876ff6feSmrgesac
4615876ff6feSmrgcase $ac_abs_builddir in
4616876ff6feSmrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
4617876ff6feSmrg*)
4618876ff6feSmrg  case ${ac_top_builddir}. in
4619876ff6feSmrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
4620876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4621876ff6feSmrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4622876ff6feSmrg  esac;;
4623876ff6feSmrgesac
4624876ff6feSmrgcase $ac_abs_builddir in
4625876ff6feSmrg.) ac_abs_srcdir=$ac_srcdir;;
4626876ff6feSmrg*)
4627876ff6feSmrg  case $ac_srcdir in
4628876ff6feSmrg  .) ac_abs_srcdir=$ac_abs_builddir;;
4629876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4630876ff6feSmrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4631876ff6feSmrg  esac;;
4632876ff6feSmrgesac
4633876ff6feSmrgcase $ac_abs_builddir in
4634876ff6feSmrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
4635876ff6feSmrg*)
4636876ff6feSmrg  case $ac_top_srcdir in
4637876ff6feSmrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4638876ff6feSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4639876ff6feSmrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4640876ff6feSmrg  esac;;
4641876ff6feSmrgesac
4642876ff6feSmrg
4643876ff6feSmrg
4644876ff6feSmrg  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4645876ff6feSmrgecho "$as_me: executing $ac_dest commands" >&6;}
4646876ff6feSmrg  case $ac_dest in
4647876ff6feSmrg    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4648876ff6feSmrg  # Strip MF so we end up with the name of the file.
4649876ff6feSmrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
4650876ff6feSmrg  # Check whether this is an Automake generated Makefile or not.
4651876ff6feSmrg  # We used to match only the files named `Makefile.in', but
4652876ff6feSmrg  # some people rename them; so instead we look at the file content.
4653876ff6feSmrg  # Grep'ing the first line is not enough: some people post-process
4654876ff6feSmrg  # each Makefile.in and add a new line on top of each file to say so.
4655876ff6feSmrg  # So let's grep whole file.
4656876ff6feSmrg  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4657876ff6feSmrg    dirpart=`(dirname "$mf") 2>/dev/null ||
4658876ff6feSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4659876ff6feSmrg	 X"$mf" : 'X\(//\)[^/]' \| \
4660876ff6feSmrg	 X"$mf" : 'X\(//\)$' \| \
4661876ff6feSmrg	 X"$mf" : 'X\(/\)' \| \
4662876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4663876ff6feSmrgecho X"$mf" |
4664876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4665876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4666876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4667876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4668876ff6feSmrg  	  s/.*/./; q'`
4669876ff6feSmrg  else
4670876ff6feSmrg    continue
4671876ff6feSmrg  fi
4672876ff6feSmrg  # Extract the definition of DEPDIR, am__include, and am__quote
4673876ff6feSmrg  # from the Makefile without running `make'.
4674876ff6feSmrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4675876ff6feSmrg  test -z "$DEPDIR" && continue
4676876ff6feSmrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4677876ff6feSmrg  test -z "am__include" && continue
4678876ff6feSmrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4679876ff6feSmrg  # When using ansi2knr, U may be empty or an underscore; expand it
4680876ff6feSmrg  U=`sed -n 's/^U = //p' < "$mf"`
4681876ff6feSmrg  # Find all dependency output files, they are included files with
4682876ff6feSmrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4683876ff6feSmrg  # simplest approach to changing $(DEPDIR) to its actual value in the
4684876ff6feSmrg  # expansion.
4685876ff6feSmrg  for file in `sed -n "
4686876ff6feSmrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4687876ff6feSmrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4688876ff6feSmrg    # Make sure the directory exists.
4689876ff6feSmrg    test -f "$dirpart/$file" && continue
4690876ff6feSmrg    fdir=`(dirname "$file") 2>/dev/null ||
4691876ff6feSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4692876ff6feSmrg	 X"$file" : 'X\(//\)[^/]' \| \
4693876ff6feSmrg	 X"$file" : 'X\(//\)$' \| \
4694876ff6feSmrg	 X"$file" : 'X\(/\)' \| \
4695876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4696876ff6feSmrgecho X"$file" |
4697876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4698876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4699876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4700876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4701876ff6feSmrg  	  s/.*/./; q'`
4702876ff6feSmrg    { if $as_mkdir_p; then
4703876ff6feSmrg    mkdir -p $dirpart/$fdir
4704876ff6feSmrg  else
4705876ff6feSmrg    as_dir=$dirpart/$fdir
4706876ff6feSmrg    as_dirs=
4707876ff6feSmrg    while test ! -d "$as_dir"; do
4708876ff6feSmrg      as_dirs="$as_dir $as_dirs"
4709876ff6feSmrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4710876ff6feSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4711876ff6feSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4712876ff6feSmrg	 X"$as_dir" : 'X\(//\)$' \| \
4713876ff6feSmrg	 X"$as_dir" : 'X\(/\)' \| \
4714876ff6feSmrg	 .     : '\(.\)' 2>/dev/null ||
4715876ff6feSmrgecho X"$as_dir" |
4716876ff6feSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4717876ff6feSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4718876ff6feSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4719876ff6feSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
4720876ff6feSmrg  	  s/.*/./; q'`
4721876ff6feSmrg    done
4722876ff6feSmrg    test ! -n "$as_dirs" || mkdir $as_dirs
4723876ff6feSmrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4724876ff6feSmrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4725876ff6feSmrg   { (exit 1); exit 1; }; }; }
4726876ff6feSmrg
4727876ff6feSmrg    # echo "creating $dirpart/$file"
4728876ff6feSmrg    echo '# dummy' > "$dirpart/$file"
4729876ff6feSmrg  done
4730876ff6feSmrgdone
4731876ff6feSmrg ;;
4732876ff6feSmrg  esac
4733876ff6feSmrgdone
4734876ff6feSmrg_ACEOF
4735876ff6feSmrg
4736876ff6feSmrgcat >>$CONFIG_STATUS <<\_ACEOF
4737876ff6feSmrg
4738876ff6feSmrg{ (exit 0); exit 0; }
4739876ff6feSmrg_ACEOF
4740876ff6feSmrgchmod +x $CONFIG_STATUS
4741876ff6feSmrgac_clean_files=$ac_clean_files_save
4742876ff6feSmrg
4743876ff6feSmrg
4744876ff6feSmrg# configure is writing to config.log, and then calls config.status.
4745876ff6feSmrg# config.status does its own redirection, appending to config.log.
4746876ff6feSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
4747876ff6feSmrg# by configure, so config.status won't be able to write to it; its
4748876ff6feSmrg# output is simply discarded.  So we exec the FD to /dev/null,
4749876ff6feSmrg# effectively closing config.log, so it can be properly (re)opened and
4750876ff6feSmrg# appended to by config.status.  When coming back to configure, we
4751876ff6feSmrg# need to make the FD available again.
4752876ff6feSmrgif test "$no_create" != yes; then
4753876ff6feSmrg  ac_cs_success=:
4754876ff6feSmrg  ac_config_status_args=
4755876ff6feSmrg  test "$silent" = yes &&
4756876ff6feSmrg    ac_config_status_args="$ac_config_status_args --quiet"
4757876ff6feSmrg  exec 5>/dev/null
4758876ff6feSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4759876ff6feSmrg  exec 5>>config.log
4760876ff6feSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4761876ff6feSmrg  # would make configure fail if this is the last instruction.
4762876ff6feSmrg  $ac_cs_success || { (exit 1); exit 1; }
4763876ff6feSmrgfi
4764876ff6feSmrg
4765