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