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