configure revision 100ae103
1100ae103Smrg#! /bin/sh
2100ae103Smrg# Guess values for system-dependent variables and create Makefiles.
3100ae103Smrg# Generated by GNU Autoconf 2.59 for xmessage 1.0.2.
4100ae103Smrg#
5100ae103Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6100ae103Smrg#
7100ae103Smrg# Copyright (C) 2003 Free Software Foundation, Inc.
8100ae103Smrg# This configure script is free software; the Free Software Foundation
9100ae103Smrg# gives unlimited permission to copy, distribute and modify it.
10100ae103Smrg## --------------------- ##
11100ae103Smrg## M4sh Initialization.  ##
12100ae103Smrg## --------------------- ##
13100ae103Smrg
14100ae103Smrg# Be Bourne compatible
15100ae103Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16100ae103Smrg  emulate sh
17100ae103Smrg  NULLCMD=:
18100ae103Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19100ae103Smrg  # is contrary to our usage.  Disable this feature.
20100ae103Smrg  alias -g '${1+"$@"}'='"$@"'
21100ae103Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22100ae103Smrg  set -o posix
23100ae103Smrgfi
24100ae103SmrgDUALCASE=1; export DUALCASE # for MKS sh
25100ae103Smrg
26100ae103Smrg# Support unset when possible.
27100ae103Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28100ae103Smrg  as_unset=unset
29100ae103Smrgelse
30100ae103Smrg  as_unset=false
31100ae103Smrgfi
32100ae103Smrg
33100ae103Smrg
34100ae103Smrg# Work around bugs in pre-3.0 UWIN ksh.
35100ae103Smrg$as_unset ENV MAIL MAILPATH
36100ae103SmrgPS1='$ '
37100ae103SmrgPS2='> '
38100ae103SmrgPS4='+ '
39100ae103Smrg
40100ae103Smrg# NLS nuisances.
41100ae103Smrgfor as_var in \
42100ae103Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43100ae103Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44100ae103Smrg  LC_TELEPHONE LC_TIME
45100ae103Smrgdo
46100ae103Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47100ae103Smrg    eval $as_var=C; export $as_var
48100ae103Smrg  else
49100ae103Smrg    $as_unset $as_var
50100ae103Smrg  fi
51100ae103Smrgdone
52100ae103Smrg
53100ae103Smrg# Required to use basename.
54100ae103Smrgif expr a : '\(a\)' >/dev/null 2>&1; then
55100ae103Smrg  as_expr=expr
56100ae103Smrgelse
57100ae103Smrg  as_expr=false
58100ae103Smrgfi
59100ae103Smrg
60100ae103Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61100ae103Smrg  as_basename=basename
62100ae103Smrgelse
63100ae103Smrg  as_basename=false
64100ae103Smrgfi
65100ae103Smrg
66100ae103Smrg
67100ae103Smrg# Name of the executable.
68100ae103Smrgas_me=`$as_basename "$0" ||
69100ae103Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70100ae103Smrg	 X"$0" : 'X\(//\)$' \| \
71100ae103Smrg	 X"$0" : 'X\(/\)$' \| \
72100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
73100ae103Smrgecho X/"$0" |
74100ae103Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75100ae103Smrg  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
76100ae103Smrg  	  /^X\/\(\/\).*/{ s//\1/; q; }
77100ae103Smrg  	  s/.*/./; q'`
78100ae103Smrg
79100ae103Smrg
80100ae103Smrg# PATH needs CR, and LINENO needs CR and PATH.
81100ae103Smrg# Avoid depending upon Character Ranges.
82100ae103Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
83100ae103Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84100ae103Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
85100ae103Smrgas_cr_digits='0123456789'
86100ae103Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
87100ae103Smrg
88100ae103Smrg# The user is always right.
89100ae103Smrgif test "${PATH_SEPARATOR+set}" != set; then
90100ae103Smrg  echo "#! /bin/sh" >conf$$.sh
91100ae103Smrg  echo  "exit 0"   >>conf$$.sh
92100ae103Smrg  chmod +x conf$$.sh
93100ae103Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94100ae103Smrg    PATH_SEPARATOR=';'
95100ae103Smrg  else
96100ae103Smrg    PATH_SEPARATOR=:
97100ae103Smrg  fi
98100ae103Smrg  rm -f conf$$.sh
99100ae103Smrgfi
100100ae103Smrg
101100ae103Smrg
102100ae103Smrg  as_lineno_1=$LINENO
103100ae103Smrg  as_lineno_2=$LINENO
104100ae103Smrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105100ae103Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
106100ae103Smrg  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107100ae103Smrg  # Find who we are.  Look in the path if we contain no path at all
108100ae103Smrg  # relative or not.
109100ae103Smrg  case $0 in
110100ae103Smrg    *[\\/]* ) as_myself=$0 ;;
111100ae103Smrg    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112100ae103Smrgfor as_dir in $PATH
113100ae103Smrgdo
114100ae103Smrg  IFS=$as_save_IFS
115100ae103Smrg  test -z "$as_dir" && as_dir=.
116100ae103Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117100ae103Smrgdone
118100ae103Smrg
119100ae103Smrg       ;;
120100ae103Smrg  esac
121100ae103Smrg  # We did not find ourselves, most probably we were run as `sh COMMAND'
122100ae103Smrg  # in which case we are not to be found in the path.
123100ae103Smrg  if test "x$as_myself" = x; then
124100ae103Smrg    as_myself=$0
125100ae103Smrg  fi
126100ae103Smrg  if test ! -f "$as_myself"; then
127100ae103Smrg    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128100ae103Smrg   { (exit 1); exit 1; }; }
129100ae103Smrg  fi
130100ae103Smrg  case $CONFIG_SHELL in
131100ae103Smrg  '')
132100ae103Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133100ae103Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134100ae103Smrgdo
135100ae103Smrg  IFS=$as_save_IFS
136100ae103Smrg  test -z "$as_dir" && as_dir=.
137100ae103Smrg  for as_base in sh bash ksh sh5; do
138100ae103Smrg	 case $as_dir in
139100ae103Smrg	 /*)
140100ae103Smrg	   if ("$as_dir/$as_base" -c '
141100ae103Smrg  as_lineno_1=$LINENO
142100ae103Smrg  as_lineno_2=$LINENO
143100ae103Smrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144100ae103Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
145100ae103Smrg  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146100ae103Smrg	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147100ae103Smrg	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148100ae103Smrg	     CONFIG_SHELL=$as_dir/$as_base
149100ae103Smrg	     export CONFIG_SHELL
150100ae103Smrg	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151100ae103Smrg	   fi;;
152100ae103Smrg	 esac
153100ae103Smrg       done
154100ae103Smrgdone
155100ae103Smrg;;
156100ae103Smrg  esac
157100ae103Smrg
158100ae103Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159100ae103Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
160100ae103Smrg  # line-number line before each line; the second 'sed' does the real
161100ae103Smrg  # work.  The second script uses 'N' to pair each line-number line
162100ae103Smrg  # with the numbered line, and appends trailing '-' during
163100ae103Smrg  # substitution so that $LINENO is not a special case at line end.
164100ae103Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165100ae103Smrg  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166100ae103Smrg  sed '=' <$as_myself |
167100ae103Smrg    sed '
168100ae103Smrg      N
169100ae103Smrg      s,$,-,
170100ae103Smrg      : loop
171100ae103Smrg      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172100ae103Smrg      t loop
173100ae103Smrg      s,-$,,
174100ae103Smrg      s,^['$as_cr_digits']*\n,,
175100ae103Smrg    ' >$as_me.lineno &&
176100ae103Smrg  chmod +x $as_me.lineno ||
177100ae103Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178100ae103Smrg   { (exit 1); exit 1; }; }
179100ae103Smrg
180100ae103Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
181100ae103Smrg  # (the dirname of $[0] is not the place where we might find the
182100ae103Smrg  # original and so on.  Autoconf is especially sensible to this).
183100ae103Smrg  . ./$as_me.lineno
184100ae103Smrg  # Exit status is that of the last command.
185100ae103Smrg  exit
186100ae103Smrg}
187100ae103Smrg
188100ae103Smrg
189100ae103Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190100ae103Smrg  *c*,-n*) ECHO_N= ECHO_C='
191100ae103Smrg' ECHO_T='	' ;;
192100ae103Smrg  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193100ae103Smrg  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194100ae103Smrgesac
195100ae103Smrg
196100ae103Smrgif expr a : '\(a\)' >/dev/null 2>&1; then
197100ae103Smrg  as_expr=expr
198100ae103Smrgelse
199100ae103Smrg  as_expr=false
200100ae103Smrgfi
201100ae103Smrg
202100ae103Smrgrm -f conf$$ conf$$.exe conf$$.file
203100ae103Smrgecho >conf$$.file
204100ae103Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
205100ae103Smrg  # We could just check for DJGPP; but this test a) works b) is more generic
206100ae103Smrg  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207100ae103Smrg  if test -f conf$$.exe; then
208100ae103Smrg    # Don't use ln at all; we don't have any links
209100ae103Smrg    as_ln_s='cp -p'
210100ae103Smrg  else
211100ae103Smrg    as_ln_s='ln -s'
212100ae103Smrg  fi
213100ae103Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
214100ae103Smrg  as_ln_s=ln
215100ae103Smrgelse
216100ae103Smrg  as_ln_s='cp -p'
217100ae103Smrgfi
218100ae103Smrgrm -f conf$$ conf$$.exe conf$$.file
219100ae103Smrg
220100ae103Smrgif mkdir -p . 2>/dev/null; then
221100ae103Smrg  as_mkdir_p=:
222100ae103Smrgelse
223100ae103Smrg  test -d ./-p && rmdir ./-p
224100ae103Smrg  as_mkdir_p=false
225100ae103Smrgfi
226100ae103Smrg
227100ae103Smrgas_executable_p="test -f"
228100ae103Smrg
229100ae103Smrg# Sed expression to map a string onto a valid CPP name.
230100ae103Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231100ae103Smrg
232100ae103Smrg# Sed expression to map a string onto a valid variable name.
233100ae103Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234100ae103Smrg
235100ae103Smrg
236100ae103Smrg# IFS
237100ae103Smrg# We need space, tab and new line, in precisely that order.
238100ae103Smrgas_nl='
239100ae103Smrg'
240100ae103SmrgIFS=" 	$as_nl"
241100ae103Smrg
242100ae103Smrg# CDPATH.
243100ae103Smrg$as_unset CDPATH
244100ae103Smrg
245100ae103Smrg
246100ae103Smrg# Name of the host.
247100ae103Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248100ae103Smrg# so uname gets run too.
249100ae103Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250100ae103Smrg
251100ae103Smrgexec 6>&1
252100ae103Smrg
253100ae103Smrg#
254100ae103Smrg# Initializations.
255100ae103Smrg#
256100ae103Smrgac_default_prefix=/usr/local
257100ae103Smrgac_config_libobj_dir=.
258100ae103Smrgcross_compiling=no
259100ae103Smrgsubdirs=
260100ae103SmrgMFLAGS=
261100ae103SmrgMAKEFLAGS=
262100ae103SmrgSHELL=${CONFIG_SHELL-/bin/sh}
263100ae103Smrg
264100ae103Smrg# Maximum number of lines to put in a shell here document.
265100ae103Smrg# This variable seems obsolete.  It should probably be removed, and
266100ae103Smrg# only ac_max_sed_lines should be used.
267100ae103Smrg: ${ac_max_here_lines=38}
268100ae103Smrg
269100ae103Smrg# Identity of this package.
270100ae103SmrgPACKAGE_NAME='xmessage'
271100ae103SmrgPACKAGE_TARNAME='xmessage'
272100ae103SmrgPACKAGE_VERSION='1.0.2'
273100ae103SmrgPACKAGE_STRING='xmessage 1.0.2'
274100ae103SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275100ae103Smrg
276100ae103Smrgac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG ac_pt_PKG_CONFIG TMP_XAW_CFLAGS TMP_XAW_LIBS XAW_USE_XPRINT_TRUE XAW_USE_XPRINT_FALSE XMESSAGE_CFLAGS XMESSAGE_LIBS APPDEFS_CFLAGS APPDEFS_LIBS appdefaultdir 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'
277100ae103Smrgac_subst_files=''
278100ae103Smrg
279100ae103Smrg# Initialize some variables set by options.
280100ae103Smrgac_init_help=
281100ae103Smrgac_init_version=false
282100ae103Smrg# The variables have the same names as the options, with
283100ae103Smrg# dashes changed to underlines.
284100ae103Smrgcache_file=/dev/null
285100ae103Smrgexec_prefix=NONE
286100ae103Smrgno_create=
287100ae103Smrgno_recursion=
288100ae103Smrgprefix=NONE
289100ae103Smrgprogram_prefix=NONE
290100ae103Smrgprogram_suffix=NONE
291100ae103Smrgprogram_transform_name=s,x,x,
292100ae103Smrgsilent=
293100ae103Smrgsite=
294100ae103Smrgsrcdir=
295100ae103Smrgverbose=
296100ae103Smrgx_includes=NONE
297100ae103Smrgx_libraries=NONE
298100ae103Smrg
299100ae103Smrg# Installation directory options.
300100ae103Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
301100ae103Smrg# and all the variables that are supposed to be based on exec_prefix
302100ae103Smrg# by default will actually change.
303100ae103Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
304100ae103Smrgbindir='${exec_prefix}/bin'
305100ae103Smrgsbindir='${exec_prefix}/sbin'
306100ae103Smrglibexecdir='${exec_prefix}/libexec'
307100ae103Smrgdatadir='${prefix}/share'
308100ae103Smrgsysconfdir='${prefix}/etc'
309100ae103Smrgsharedstatedir='${prefix}/com'
310100ae103Smrglocalstatedir='${prefix}/var'
311100ae103Smrglibdir='${exec_prefix}/lib'
312100ae103Smrgincludedir='${prefix}/include'
313100ae103Smrgoldincludedir='/usr/include'
314100ae103Smrginfodir='${prefix}/info'
315100ae103Smrgmandir='${prefix}/man'
316100ae103Smrg
317100ae103Smrgac_prev=
318100ae103Smrgfor ac_option
319100ae103Smrgdo
320100ae103Smrg  # If the previous option needs an argument, assign it.
321100ae103Smrg  if test -n "$ac_prev"; then
322100ae103Smrg    eval "$ac_prev=\$ac_option"
323100ae103Smrg    ac_prev=
324100ae103Smrg    continue
325100ae103Smrg  fi
326100ae103Smrg
327100ae103Smrg  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328100ae103Smrg
329100ae103Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
330100ae103Smrg
331100ae103Smrg  case $ac_option in
332100ae103Smrg
333100ae103Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334100ae103Smrg    ac_prev=bindir ;;
335100ae103Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336100ae103Smrg    bindir=$ac_optarg ;;
337100ae103Smrg
338100ae103Smrg  -build | --build | --buil | --bui | --bu)
339100ae103Smrg    ac_prev=build_alias ;;
340100ae103Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341100ae103Smrg    build_alias=$ac_optarg ;;
342100ae103Smrg
343100ae103Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
344100ae103Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345100ae103Smrg    ac_prev=cache_file ;;
346100ae103Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347100ae103Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348100ae103Smrg    cache_file=$ac_optarg ;;
349100ae103Smrg
350100ae103Smrg  --config-cache | -C)
351100ae103Smrg    cache_file=config.cache ;;
352100ae103Smrg
353100ae103Smrg  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354100ae103Smrg    ac_prev=datadir ;;
355100ae103Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356100ae103Smrg  | --da=*)
357100ae103Smrg    datadir=$ac_optarg ;;
358100ae103Smrg
359100ae103Smrg  -disable-* | --disable-*)
360100ae103Smrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361100ae103Smrg    # Reject names that are not valid shell variable names.
362100ae103Smrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363100ae103Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364100ae103Smrg   { (exit 1); exit 1; }; }
365100ae103Smrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366100ae103Smrg    eval "enable_$ac_feature=no" ;;
367100ae103Smrg
368100ae103Smrg  -enable-* | --enable-*)
369100ae103Smrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370100ae103Smrg    # Reject names that are not valid shell variable names.
371100ae103Smrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372100ae103Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373100ae103Smrg   { (exit 1); exit 1; }; }
374100ae103Smrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375100ae103Smrg    case $ac_option in
376100ae103Smrg      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377100ae103Smrg      *) ac_optarg=yes ;;
378100ae103Smrg    esac
379100ae103Smrg    eval "enable_$ac_feature='$ac_optarg'" ;;
380100ae103Smrg
381100ae103Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382100ae103Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383100ae103Smrg  | --exec | --exe | --ex)
384100ae103Smrg    ac_prev=exec_prefix ;;
385100ae103Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386100ae103Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387100ae103Smrg  | --exec=* | --exe=* | --ex=*)
388100ae103Smrg    exec_prefix=$ac_optarg ;;
389100ae103Smrg
390100ae103Smrg  -gas | --gas | --ga | --g)
391100ae103Smrg    # Obsolete; use --with-gas.
392100ae103Smrg    with_gas=yes ;;
393100ae103Smrg
394100ae103Smrg  -help | --help | --hel | --he | -h)
395100ae103Smrg    ac_init_help=long ;;
396100ae103Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397100ae103Smrg    ac_init_help=recursive ;;
398100ae103Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399100ae103Smrg    ac_init_help=short ;;
400100ae103Smrg
401100ae103Smrg  -host | --host | --hos | --ho)
402100ae103Smrg    ac_prev=host_alias ;;
403100ae103Smrg  -host=* | --host=* | --hos=* | --ho=*)
404100ae103Smrg    host_alias=$ac_optarg ;;
405100ae103Smrg
406100ae103Smrg  -includedir | --includedir | --includedi | --included | --include \
407100ae103Smrg  | --includ | --inclu | --incl | --inc)
408100ae103Smrg    ac_prev=includedir ;;
409100ae103Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410100ae103Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
411100ae103Smrg    includedir=$ac_optarg ;;
412100ae103Smrg
413100ae103Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
414100ae103Smrg    ac_prev=infodir ;;
415100ae103Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416100ae103Smrg    infodir=$ac_optarg ;;
417100ae103Smrg
418100ae103Smrg  -libdir | --libdir | --libdi | --libd)
419100ae103Smrg    ac_prev=libdir ;;
420100ae103Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
421100ae103Smrg    libdir=$ac_optarg ;;
422100ae103Smrg
423100ae103Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424100ae103Smrg  | --libexe | --libex | --libe)
425100ae103Smrg    ac_prev=libexecdir ;;
426100ae103Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427100ae103Smrg  | --libexe=* | --libex=* | --libe=*)
428100ae103Smrg    libexecdir=$ac_optarg ;;
429100ae103Smrg
430100ae103Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
431100ae103Smrg  | --localstate | --localstat | --localsta | --localst \
432100ae103Smrg  | --locals | --local | --loca | --loc | --lo)
433100ae103Smrg    ac_prev=localstatedir ;;
434100ae103Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435100ae103Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436100ae103Smrg  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437100ae103Smrg    localstatedir=$ac_optarg ;;
438100ae103Smrg
439100ae103Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440100ae103Smrg    ac_prev=mandir ;;
441100ae103Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442100ae103Smrg    mandir=$ac_optarg ;;
443100ae103Smrg
444100ae103Smrg  -nfp | --nfp | --nf)
445100ae103Smrg    # Obsolete; use --without-fp.
446100ae103Smrg    with_fp=no ;;
447100ae103Smrg
448100ae103Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449100ae103Smrg  | --no-cr | --no-c | -n)
450100ae103Smrg    no_create=yes ;;
451100ae103Smrg
452100ae103Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453100ae103Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454100ae103Smrg    no_recursion=yes ;;
455100ae103Smrg
456100ae103Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457100ae103Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458100ae103Smrg  | --oldin | --oldi | --old | --ol | --o)
459100ae103Smrg    ac_prev=oldincludedir ;;
460100ae103Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461100ae103Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462100ae103Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463100ae103Smrg    oldincludedir=$ac_optarg ;;
464100ae103Smrg
465100ae103Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466100ae103Smrg    ac_prev=prefix ;;
467100ae103Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468100ae103Smrg    prefix=$ac_optarg ;;
469100ae103Smrg
470100ae103Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
471100ae103Smrg  | --program-pre | --program-pr | --program-p)
472100ae103Smrg    ac_prev=program_prefix ;;
473100ae103Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
474100ae103Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475100ae103Smrg    program_prefix=$ac_optarg ;;
476100ae103Smrg
477100ae103Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
478100ae103Smrg  | --program-suf | --program-su | --program-s)
479100ae103Smrg    ac_prev=program_suffix ;;
480100ae103Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
481100ae103Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482100ae103Smrg    program_suffix=$ac_optarg ;;
483100ae103Smrg
484100ae103Smrg  -program-transform-name | --program-transform-name \
485100ae103Smrg  | --program-transform-nam | --program-transform-na \
486100ae103Smrg  | --program-transform-n | --program-transform- \
487100ae103Smrg  | --program-transform | --program-transfor \
488100ae103Smrg  | --program-transfo | --program-transf \
489100ae103Smrg  | --program-trans | --program-tran \
490100ae103Smrg  | --progr-tra | --program-tr | --program-t)
491100ae103Smrg    ac_prev=program_transform_name ;;
492100ae103Smrg  -program-transform-name=* | --program-transform-name=* \
493100ae103Smrg  | --program-transform-nam=* | --program-transform-na=* \
494100ae103Smrg  | --program-transform-n=* | --program-transform-=* \
495100ae103Smrg  | --program-transform=* | --program-transfor=* \
496100ae103Smrg  | --program-transfo=* | --program-transf=* \
497100ae103Smrg  | --program-trans=* | --program-tran=* \
498100ae103Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
499100ae103Smrg    program_transform_name=$ac_optarg ;;
500100ae103Smrg
501100ae103Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502100ae103Smrg  | -silent | --silent | --silen | --sile | --sil)
503100ae103Smrg    silent=yes ;;
504100ae103Smrg
505100ae103Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506100ae103Smrg    ac_prev=sbindir ;;
507100ae103Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508100ae103Smrg  | --sbi=* | --sb=*)
509100ae103Smrg    sbindir=$ac_optarg ;;
510100ae103Smrg
511100ae103Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
512100ae103Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513100ae103Smrg  | --sharedst | --shareds | --shared | --share | --shar \
514100ae103Smrg  | --sha | --sh)
515100ae103Smrg    ac_prev=sharedstatedir ;;
516100ae103Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517100ae103Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518100ae103Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519100ae103Smrg  | --sha=* | --sh=*)
520100ae103Smrg    sharedstatedir=$ac_optarg ;;
521100ae103Smrg
522100ae103Smrg  -site | --site | --sit)
523100ae103Smrg    ac_prev=site ;;
524100ae103Smrg  -site=* | --site=* | --sit=*)
525100ae103Smrg    site=$ac_optarg ;;
526100ae103Smrg
527100ae103Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528100ae103Smrg    ac_prev=srcdir ;;
529100ae103Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530100ae103Smrg    srcdir=$ac_optarg ;;
531100ae103Smrg
532100ae103Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533100ae103Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
534100ae103Smrg    ac_prev=sysconfdir ;;
535100ae103Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536100ae103Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537100ae103Smrg    sysconfdir=$ac_optarg ;;
538100ae103Smrg
539100ae103Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
540100ae103Smrg    ac_prev=target_alias ;;
541100ae103Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542100ae103Smrg    target_alias=$ac_optarg ;;
543100ae103Smrg
544100ae103Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
545100ae103Smrg    verbose=yes ;;
546100ae103Smrg
547100ae103Smrg  -version | --version | --versio | --versi | --vers | -V)
548100ae103Smrg    ac_init_version=: ;;
549100ae103Smrg
550100ae103Smrg  -with-* | --with-*)
551100ae103Smrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552100ae103Smrg    # Reject names that are not valid shell variable names.
553100ae103Smrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554100ae103Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
555100ae103Smrg   { (exit 1); exit 1; }; }
556100ae103Smrg    ac_package=`echo $ac_package| sed 's/-/_/g'`
557100ae103Smrg    case $ac_option in
558100ae103Smrg      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559100ae103Smrg      *) ac_optarg=yes ;;
560100ae103Smrg    esac
561100ae103Smrg    eval "with_$ac_package='$ac_optarg'" ;;
562100ae103Smrg
563100ae103Smrg  -without-* | --without-*)
564100ae103Smrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565100ae103Smrg    # Reject names that are not valid shell variable names.
566100ae103Smrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567100ae103Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
568100ae103Smrg   { (exit 1); exit 1; }; }
569100ae103Smrg    ac_package=`echo $ac_package | sed 's/-/_/g'`
570100ae103Smrg    eval "with_$ac_package=no" ;;
571100ae103Smrg
572100ae103Smrg  --x)
573100ae103Smrg    # Obsolete; use --with-x.
574100ae103Smrg    with_x=yes ;;
575100ae103Smrg
576100ae103Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577100ae103Smrg  | --x-incl | --x-inc | --x-in | --x-i)
578100ae103Smrg    ac_prev=x_includes ;;
579100ae103Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580100ae103Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581100ae103Smrg    x_includes=$ac_optarg ;;
582100ae103Smrg
583100ae103Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
584100ae103Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585100ae103Smrg    ac_prev=x_libraries ;;
586100ae103Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587100ae103Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588100ae103Smrg    x_libraries=$ac_optarg ;;
589100ae103Smrg
590100ae103Smrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
591100ae103SmrgTry \`$0 --help' for more information." >&2
592100ae103Smrg   { (exit 1); exit 1; }; }
593100ae103Smrg    ;;
594100ae103Smrg
595100ae103Smrg  *=*)
596100ae103Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597100ae103Smrg    # Reject names that are not valid shell variable names.
598100ae103Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599100ae103Smrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600100ae103Smrg   { (exit 1); exit 1; }; }
601100ae103Smrg    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602100ae103Smrg    eval "$ac_envvar='$ac_optarg'"
603100ae103Smrg    export $ac_envvar ;;
604100ae103Smrg
605100ae103Smrg  *)
606100ae103Smrg    # FIXME: should be removed in autoconf 3.0.
607100ae103Smrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608100ae103Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609100ae103Smrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610100ae103Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611100ae103Smrg    ;;
612100ae103Smrg
613100ae103Smrg  esac
614100ae103Smrgdone
615100ae103Smrg
616100ae103Smrgif test -n "$ac_prev"; then
617100ae103Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618100ae103Smrg  { echo "$as_me: error: missing argument to $ac_option" >&2
619100ae103Smrg   { (exit 1); exit 1; }; }
620100ae103Smrgfi
621100ae103Smrg
622100ae103Smrg# Be sure to have absolute paths.
623100ae103Smrgfor ac_var in exec_prefix prefix
624100ae103Smrgdo
625100ae103Smrg  eval ac_val=$`echo $ac_var`
626100ae103Smrg  case $ac_val in
627100ae103Smrg    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628100ae103Smrg    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629100ae103Smrg   { (exit 1); exit 1; }; };;
630100ae103Smrg  esac
631100ae103Smrgdone
632100ae103Smrg
633100ae103Smrg# Be sure to have absolute paths.
634100ae103Smrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635100ae103Smrg	      localstatedir libdir includedir oldincludedir infodir mandir
636100ae103Smrgdo
637100ae103Smrg  eval ac_val=$`echo $ac_var`
638100ae103Smrg  case $ac_val in
639100ae103Smrg    [\\/$]* | ?:[\\/]* ) ;;
640100ae103Smrg    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641100ae103Smrg   { (exit 1); exit 1; }; };;
642100ae103Smrg  esac
643100ae103Smrgdone
644100ae103Smrg
645100ae103Smrg# There might be people who depend on the old broken behavior: `$host'
646100ae103Smrg# used to hold the argument of --host etc.
647100ae103Smrg# FIXME: To remove some day.
648100ae103Smrgbuild=$build_alias
649100ae103Smrghost=$host_alias
650100ae103Smrgtarget=$target_alias
651100ae103Smrg
652100ae103Smrg# FIXME: To remove some day.
653100ae103Smrgif test "x$host_alias" != x; then
654100ae103Smrg  if test "x$build_alias" = x; then
655100ae103Smrg    cross_compiling=maybe
656100ae103Smrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657100ae103Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
658100ae103Smrg  elif test "x$build_alias" != "x$host_alias"; then
659100ae103Smrg    cross_compiling=yes
660100ae103Smrg  fi
661100ae103Smrgfi
662100ae103Smrg
663100ae103Smrgac_tool_prefix=
664100ae103Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
665100ae103Smrg
666100ae103Smrgtest "$silent" = yes && exec 6>/dev/null
667100ae103Smrg
668100ae103Smrg
669100ae103Smrg# Find the source files, if location was not specified.
670100ae103Smrgif test -z "$srcdir"; then
671100ae103Smrg  ac_srcdir_defaulted=yes
672100ae103Smrg  # Try the directory containing this script, then its parent.
673100ae103Smrg  ac_confdir=`(dirname "$0") 2>/dev/null ||
674100ae103Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675100ae103Smrg	 X"$0" : 'X\(//\)[^/]' \| \
676100ae103Smrg	 X"$0" : 'X\(//\)$' \| \
677100ae103Smrg	 X"$0" : 'X\(/\)' \| \
678100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
679100ae103Smrgecho X"$0" |
680100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
683100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
684100ae103Smrg  	  s/.*/./; q'`
685100ae103Smrg  srcdir=$ac_confdir
686100ae103Smrg  if test ! -r $srcdir/$ac_unique_file; then
687100ae103Smrg    srcdir=..
688100ae103Smrg  fi
689100ae103Smrgelse
690100ae103Smrg  ac_srcdir_defaulted=no
691100ae103Smrgfi
692100ae103Smrgif test ! -r $srcdir/$ac_unique_file; then
693100ae103Smrg  if test "$ac_srcdir_defaulted" = yes; then
694100ae103Smrg    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695100ae103Smrg   { (exit 1); exit 1; }; }
696100ae103Smrg  else
697100ae103Smrg    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698100ae103Smrg   { (exit 1); exit 1; }; }
699100ae103Smrg  fi
700100ae103Smrgfi
701100ae103Smrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702100ae103Smrg  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703100ae103Smrg   { (exit 1); exit 1; }; }
704100ae103Smrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705100ae103Smrgac_env_build_alias_set=${build_alias+set}
706100ae103Smrgac_env_build_alias_value=$build_alias
707100ae103Smrgac_cv_env_build_alias_set=${build_alias+set}
708100ae103Smrgac_cv_env_build_alias_value=$build_alias
709100ae103Smrgac_env_host_alias_set=${host_alias+set}
710100ae103Smrgac_env_host_alias_value=$host_alias
711100ae103Smrgac_cv_env_host_alias_set=${host_alias+set}
712100ae103Smrgac_cv_env_host_alias_value=$host_alias
713100ae103Smrgac_env_target_alias_set=${target_alias+set}
714100ae103Smrgac_env_target_alias_value=$target_alias
715100ae103Smrgac_cv_env_target_alias_set=${target_alias+set}
716100ae103Smrgac_cv_env_target_alias_value=$target_alias
717100ae103Smrgac_env_CC_set=${CC+set}
718100ae103Smrgac_env_CC_value=$CC
719100ae103Smrgac_cv_env_CC_set=${CC+set}
720100ae103Smrgac_cv_env_CC_value=$CC
721100ae103Smrgac_env_CFLAGS_set=${CFLAGS+set}
722100ae103Smrgac_env_CFLAGS_value=$CFLAGS
723100ae103Smrgac_cv_env_CFLAGS_set=${CFLAGS+set}
724100ae103Smrgac_cv_env_CFLAGS_value=$CFLAGS
725100ae103Smrgac_env_LDFLAGS_set=${LDFLAGS+set}
726100ae103Smrgac_env_LDFLAGS_value=$LDFLAGS
727100ae103Smrgac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728100ae103Smrgac_cv_env_LDFLAGS_value=$LDFLAGS
729100ae103Smrgac_env_CPPFLAGS_set=${CPPFLAGS+set}
730100ae103Smrgac_env_CPPFLAGS_value=$CPPFLAGS
731100ae103Smrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732100ae103Smrgac_cv_env_CPPFLAGS_value=$CPPFLAGS
733100ae103Smrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
734100ae103Smrgac_env_PKG_CONFIG_value=$PKG_CONFIG
735100ae103Smrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
736100ae103Smrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
737100ae103Smrgac_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set}
738100ae103Smrgac_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS
739100ae103Smrgac_cv_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set}
740100ae103Smrgac_cv_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS
741100ae103Smrgac_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set}
742100ae103Smrgac_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS
743100ae103Smrgac_cv_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set}
744100ae103Smrgac_cv_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS
745100ae103Smrgac_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set}
746100ae103Smrgac_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS
747100ae103Smrgac_cv_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set}
748100ae103Smrgac_cv_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS
749100ae103Smrgac_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set}
750100ae103Smrgac_env_APPDEFS_LIBS_value=$APPDEFS_LIBS
751100ae103Smrgac_cv_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set}
752100ae103Smrgac_cv_env_APPDEFS_LIBS_value=$APPDEFS_LIBS
753100ae103Smrg
754100ae103Smrg#
755100ae103Smrg# Report the --help message.
756100ae103Smrg#
757100ae103Smrgif test "$ac_init_help" = "long"; then
758100ae103Smrg  # Omit some internal or obsolete options to make the list less imposing.
759100ae103Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
760100ae103Smrg  cat <<_ACEOF
761100ae103Smrg\`configure' configures xmessage 1.0.2 to adapt to many kinds of systems.
762100ae103Smrg
763100ae103SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
764100ae103Smrg
765100ae103SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
766100ae103SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
767100ae103Smrg
768100ae103SmrgDefaults for the options are specified in brackets.
769100ae103Smrg
770100ae103SmrgConfiguration:
771100ae103Smrg  -h, --help              display this help and exit
772100ae103Smrg      --help=short        display options specific to this package
773100ae103Smrg      --help=recursive    display the short help of all the included packages
774100ae103Smrg  -V, --version           display version information and exit
775100ae103Smrg  -q, --quiet, --silent   do not print \`checking...' messages
776100ae103Smrg      --cache-file=FILE   cache test results in FILE [disabled]
777100ae103Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
778100ae103Smrg  -n, --no-create         do not create output files
779100ae103Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
780100ae103Smrg
781100ae103Smrg_ACEOF
782100ae103Smrg
783100ae103Smrg  cat <<_ACEOF
784100ae103SmrgInstallation directories:
785100ae103Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
786100ae103Smrg			  [$ac_default_prefix]
787100ae103Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
788100ae103Smrg			  [PREFIX]
789100ae103Smrg
790100ae103SmrgBy default, \`make install' will install all the files in
791100ae103Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
792100ae103Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
793100ae103Smrgfor instance \`--prefix=\$HOME'.
794100ae103Smrg
795100ae103SmrgFor better control, use the options below.
796100ae103Smrg
797100ae103SmrgFine tuning of the installation directories:
798100ae103Smrg  --bindir=DIR           user executables [EPREFIX/bin]
799100ae103Smrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
800100ae103Smrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
801100ae103Smrg  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
802100ae103Smrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
803100ae103Smrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
804100ae103Smrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
805100ae103Smrg  --libdir=DIR           object code libraries [EPREFIX/lib]
806100ae103Smrg  --includedir=DIR       C header files [PREFIX/include]
807100ae103Smrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
808100ae103Smrg  --infodir=DIR          info documentation [PREFIX/info]
809100ae103Smrg  --mandir=DIR           man documentation [PREFIX/man]
810100ae103Smrg_ACEOF
811100ae103Smrg
812100ae103Smrg  cat <<\_ACEOF
813100ae103Smrg
814100ae103SmrgProgram names:
815100ae103Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
816100ae103Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
817100ae103Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
818100ae103Smrg
819100ae103SmrgSystem types:
820100ae103Smrg  --build=BUILD     configure for building on BUILD [guessed]
821100ae103Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
822100ae103Smrg_ACEOF
823100ae103Smrgfi
824100ae103Smrg
825100ae103Smrgif test -n "$ac_init_help"; then
826100ae103Smrg  case $ac_init_help in
827100ae103Smrg     short | recursive ) echo "Configuration of xmessage 1.0.2:";;
828100ae103Smrg   esac
829100ae103Smrg  cat <<\_ACEOF
830100ae103Smrg
831100ae103SmrgOptional Features:
832100ae103Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
833100ae103Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
834100ae103Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
835100ae103Smrg			  (and sometimes confusing) to the casual installer
836100ae103Smrg  --disable-dependency-tracking  speeds up one-time build
837100ae103Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
838100ae103Smrg  --enable-xprint         Enable XPrint support
839100ae103Smrg
840100ae103SmrgOptional Packages:
841100ae103Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
842100ae103Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
843100ae103Smrg  --with-release-version=STRING
844100ae103Smrg                          Use release version string in package name
845100ae103Smrg
846100ae103SmrgSome influential environment variables:
847100ae103Smrg  CC          C compiler command
848100ae103Smrg  CFLAGS      C compiler flags
849100ae103Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
850100ae103Smrg              nonstandard directory <lib dir>
851100ae103Smrg  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
852100ae103Smrg              headers in a nonstandard directory <include dir>
853100ae103Smrg  PKG_CONFIG  path to pkg-config utility
854100ae103Smrg  TMP_XAW_CFLAGS
855100ae103Smrg              C compiler flags for TMP_XAW, overriding pkg-config
856100ae103Smrg  TMP_XAW_LIBS
857100ae103Smrg              linker flags for TMP_XAW, overriding pkg-config
858100ae103Smrg  APPDEFS_CFLAGS
859100ae103Smrg              C compiler flags for APPDEFS, overriding pkg-config
860100ae103Smrg  APPDEFS_LIBS
861100ae103Smrg              linker flags for APPDEFS, overriding pkg-config
862100ae103Smrg
863100ae103SmrgUse these variables to override the choices made by `configure' or to help
864100ae103Smrgit to find libraries and programs with nonstandard names/locations.
865100ae103Smrg
866100ae103SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
867100ae103Smrg_ACEOF
868100ae103Smrgfi
869100ae103Smrg
870100ae103Smrgif test "$ac_init_help" = "recursive"; then
871100ae103Smrg  # If there are subdirs, report their specific --help.
872100ae103Smrg  ac_popdir=`pwd`
873100ae103Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
874100ae103Smrg    test -d $ac_dir || continue
875100ae103Smrg    ac_builddir=.
876100ae103Smrg
877100ae103Smrgif test "$ac_dir" != .; then
878100ae103Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
879100ae103Smrg  # A "../" for each directory in $ac_dir_suffix.
880100ae103Smrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
881100ae103Smrgelse
882100ae103Smrg  ac_dir_suffix= ac_top_builddir=
883100ae103Smrgfi
884100ae103Smrg
885100ae103Smrgcase $srcdir in
886100ae103Smrg  .)  # No --srcdir option.  We are building in place.
887100ae103Smrg    ac_srcdir=.
888100ae103Smrg    if test -z "$ac_top_builddir"; then
889100ae103Smrg       ac_top_srcdir=.
890100ae103Smrg    else
891100ae103Smrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
892100ae103Smrg    fi ;;
893100ae103Smrg  [\\/]* | ?:[\\/]* )  # Absolute path.
894100ae103Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
895100ae103Smrg    ac_top_srcdir=$srcdir ;;
896100ae103Smrg  *) # Relative path.
897100ae103Smrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
898100ae103Smrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
899100ae103Smrgesac
900100ae103Smrg
901100ae103Smrg# Do not use `cd foo && pwd` to compute absolute paths, because
902100ae103Smrg# the directories may not exist.
903100ae103Smrgcase `pwd` in
904100ae103Smrg.) ac_abs_builddir="$ac_dir";;
905100ae103Smrg*)
906100ae103Smrg  case "$ac_dir" in
907100ae103Smrg  .) ac_abs_builddir=`pwd`;;
908100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
909100ae103Smrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
910100ae103Smrg  esac;;
911100ae103Smrgesac
912100ae103Smrgcase $ac_abs_builddir in
913100ae103Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
914100ae103Smrg*)
915100ae103Smrg  case ${ac_top_builddir}. in
916100ae103Smrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
917100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
918100ae103Smrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
919100ae103Smrg  esac;;
920100ae103Smrgesac
921100ae103Smrgcase $ac_abs_builddir in
922100ae103Smrg.) ac_abs_srcdir=$ac_srcdir;;
923100ae103Smrg*)
924100ae103Smrg  case $ac_srcdir in
925100ae103Smrg  .) ac_abs_srcdir=$ac_abs_builddir;;
926100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
927100ae103Smrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
928100ae103Smrg  esac;;
929100ae103Smrgesac
930100ae103Smrgcase $ac_abs_builddir in
931100ae103Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
932100ae103Smrg*)
933100ae103Smrg  case $ac_top_srcdir in
934100ae103Smrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
935100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
936100ae103Smrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
937100ae103Smrg  esac;;
938100ae103Smrgesac
939100ae103Smrg
940100ae103Smrg    cd $ac_dir
941100ae103Smrg    # Check for guested configure; otherwise get Cygnus style configure.
942100ae103Smrg    if test -f $ac_srcdir/configure.gnu; then
943100ae103Smrg      echo
944100ae103Smrg      $SHELL $ac_srcdir/configure.gnu  --help=recursive
945100ae103Smrg    elif test -f $ac_srcdir/configure; then
946100ae103Smrg      echo
947100ae103Smrg      $SHELL $ac_srcdir/configure  --help=recursive
948100ae103Smrg    elif test -f $ac_srcdir/configure.ac ||
949100ae103Smrg	   test -f $ac_srcdir/configure.in; then
950100ae103Smrg      echo
951100ae103Smrg      $ac_configure --help
952100ae103Smrg    else
953100ae103Smrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
954100ae103Smrg    fi
955100ae103Smrg    cd $ac_popdir
956100ae103Smrg  done
957100ae103Smrgfi
958100ae103Smrg
959100ae103Smrgtest -n "$ac_init_help" && exit 0
960100ae103Smrgif $ac_init_version; then
961100ae103Smrg  cat <<\_ACEOF
962100ae103Smrgxmessage configure 1.0.2
963100ae103Smrggenerated by GNU Autoconf 2.59
964100ae103Smrg
965100ae103SmrgCopyright (C) 2003 Free Software Foundation, Inc.
966100ae103SmrgThis configure script is free software; the Free Software Foundation
967100ae103Smrggives unlimited permission to copy, distribute and modify it.
968100ae103Smrg_ACEOF
969100ae103Smrg  exit 0
970100ae103Smrgfi
971100ae103Smrgexec 5>config.log
972100ae103Smrgcat >&5 <<_ACEOF
973100ae103SmrgThis file contains any messages produced by compilers while
974100ae103Smrgrunning configure, to aid debugging if configure makes a mistake.
975100ae103Smrg
976100ae103SmrgIt was created by xmessage $as_me 1.0.2, which was
977100ae103Smrggenerated by GNU Autoconf 2.59.  Invocation command line was
978100ae103Smrg
979100ae103Smrg  $ $0 $@
980100ae103Smrg
981100ae103Smrg_ACEOF
982100ae103Smrg{
983100ae103Smrgcat <<_ASUNAME
984100ae103Smrg## --------- ##
985100ae103Smrg## Platform. ##
986100ae103Smrg## --------- ##
987100ae103Smrg
988100ae103Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
989100ae103Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
990100ae103Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
991100ae103Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
992100ae103Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
993100ae103Smrg
994100ae103Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
995100ae103Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
996100ae103Smrg
997100ae103Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
998100ae103Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
999100ae103Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1000100ae103Smrghostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1001100ae103Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1002100ae103Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1003100ae103Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1004100ae103Smrg
1005100ae103Smrg_ASUNAME
1006100ae103Smrg
1007100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1008100ae103Smrgfor as_dir in $PATH
1009100ae103Smrgdo
1010100ae103Smrg  IFS=$as_save_IFS
1011100ae103Smrg  test -z "$as_dir" && as_dir=.
1012100ae103Smrg  echo "PATH: $as_dir"
1013100ae103Smrgdone
1014100ae103Smrg
1015100ae103Smrg} >&5
1016100ae103Smrg
1017100ae103Smrgcat >&5 <<_ACEOF
1018100ae103Smrg
1019100ae103Smrg
1020100ae103Smrg## ----------- ##
1021100ae103Smrg## Core tests. ##
1022100ae103Smrg## ----------- ##
1023100ae103Smrg
1024100ae103Smrg_ACEOF
1025100ae103Smrg
1026100ae103Smrg
1027100ae103Smrg# Keep a trace of the command line.
1028100ae103Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1029100ae103Smrg# Strip out --silent because we don't want to record it for future runs.
1030100ae103Smrg# Also quote any args containing shell meta-characters.
1031100ae103Smrg# Make two passes to allow for proper duplicate-argument suppression.
1032100ae103Smrgac_configure_args=
1033100ae103Smrgac_configure_args0=
1034100ae103Smrgac_configure_args1=
1035100ae103Smrgac_sep=
1036100ae103Smrgac_must_keep_next=false
1037100ae103Smrgfor ac_pass in 1 2
1038100ae103Smrgdo
1039100ae103Smrg  for ac_arg
1040100ae103Smrg  do
1041100ae103Smrg    case $ac_arg in
1042100ae103Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1043100ae103Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1044100ae103Smrg    | -silent | --silent | --silen | --sile | --sil)
1045100ae103Smrg      continue ;;
1046100ae103Smrg    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1047100ae103Smrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1048100ae103Smrg    esac
1049100ae103Smrg    case $ac_pass in
1050100ae103Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1051100ae103Smrg    2)
1052100ae103Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1053100ae103Smrg      if test $ac_must_keep_next = true; then
1054100ae103Smrg	ac_must_keep_next=false # Got value, back to normal.
1055100ae103Smrg      else
1056100ae103Smrg	case $ac_arg in
1057100ae103Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1058100ae103Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1059100ae103Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1060100ae103Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1061100ae103Smrg	    case "$ac_configure_args0 " in
1062100ae103Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1063100ae103Smrg	    esac
1064100ae103Smrg	    ;;
1065100ae103Smrg	  -* ) ac_must_keep_next=true ;;
1066100ae103Smrg	esac
1067100ae103Smrg      fi
1068100ae103Smrg      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1069100ae103Smrg      # Get rid of the leading space.
1070100ae103Smrg      ac_sep=" "
1071100ae103Smrg      ;;
1072100ae103Smrg    esac
1073100ae103Smrg  done
1074100ae103Smrgdone
1075100ae103Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1076100ae103Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1077100ae103Smrg
1078100ae103Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1079100ae103Smrg# config.log.  We remove comments because anyway the quotes in there
1080100ae103Smrg# would cause problems or look ugly.
1081100ae103Smrg# WARNING: Be sure not to use single quotes in there, as some shells,
1082100ae103Smrg# such as our DU 5.0 friend, will then `close' the trap.
1083100ae103Smrgtrap 'exit_status=$?
1084100ae103Smrg  # Save into config.log some information that might help in debugging.
1085100ae103Smrg  {
1086100ae103Smrg    echo
1087100ae103Smrg
1088100ae103Smrg    cat <<\_ASBOX
1089100ae103Smrg## ---------------- ##
1090100ae103Smrg## Cache variables. ##
1091100ae103Smrg## ---------------- ##
1092100ae103Smrg_ASBOX
1093100ae103Smrg    echo
1094100ae103Smrg    # The following way of writing the cache mishandles newlines in values,
1095100ae103Smrg{
1096100ae103Smrg  (set) 2>&1 |
1097100ae103Smrg    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1098100ae103Smrg    *ac_space=\ *)
1099100ae103Smrg      sed -n \
1100100ae103Smrg	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1101100ae103Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1102100ae103Smrg      ;;
1103100ae103Smrg    *)
1104100ae103Smrg      sed -n \
1105100ae103Smrg	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106100ae103Smrg      ;;
1107100ae103Smrg    esac;
1108100ae103Smrg}
1109100ae103Smrg    echo
1110100ae103Smrg
1111100ae103Smrg    cat <<\_ASBOX
1112100ae103Smrg## ----------------- ##
1113100ae103Smrg## Output variables. ##
1114100ae103Smrg## ----------------- ##
1115100ae103Smrg_ASBOX
1116100ae103Smrg    echo
1117100ae103Smrg    for ac_var in $ac_subst_vars
1118100ae103Smrg    do
1119100ae103Smrg      eval ac_val=$`echo $ac_var`
1120100ae103Smrg      echo "$ac_var='"'"'$ac_val'"'"'"
1121100ae103Smrg    done | sort
1122100ae103Smrg    echo
1123100ae103Smrg
1124100ae103Smrg    if test -n "$ac_subst_files"; then
1125100ae103Smrg      cat <<\_ASBOX
1126100ae103Smrg## ------------- ##
1127100ae103Smrg## Output files. ##
1128100ae103Smrg## ------------- ##
1129100ae103Smrg_ASBOX
1130100ae103Smrg      echo
1131100ae103Smrg      for ac_var in $ac_subst_files
1132100ae103Smrg      do
1133100ae103Smrg	eval ac_val=$`echo $ac_var`
1134100ae103Smrg	echo "$ac_var='"'"'$ac_val'"'"'"
1135100ae103Smrg      done | sort
1136100ae103Smrg      echo
1137100ae103Smrg    fi
1138100ae103Smrg
1139100ae103Smrg    if test -s confdefs.h; then
1140100ae103Smrg      cat <<\_ASBOX
1141100ae103Smrg## ----------- ##
1142100ae103Smrg## confdefs.h. ##
1143100ae103Smrg## ----------- ##
1144100ae103Smrg_ASBOX
1145100ae103Smrg      echo
1146100ae103Smrg      sed "/^$/d" confdefs.h | sort
1147100ae103Smrg      echo
1148100ae103Smrg    fi
1149100ae103Smrg    test "$ac_signal" != 0 &&
1150100ae103Smrg      echo "$as_me: caught signal $ac_signal"
1151100ae103Smrg    echo "$as_me: exit $exit_status"
1152100ae103Smrg  } >&5
1153100ae103Smrg  rm -f core *.core &&
1154100ae103Smrg  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1155100ae103Smrg    exit $exit_status
1156100ae103Smrg     ' 0
1157100ae103Smrgfor ac_signal in 1 2 13 15; do
1158100ae103Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1159100ae103Smrgdone
1160100ae103Smrgac_signal=0
1161100ae103Smrg
1162100ae103Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1163100ae103Smrgrm -rf conftest* confdefs.h
1164100ae103Smrg# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1165100ae103Smrgecho >confdefs.h
1166100ae103Smrg
1167100ae103Smrg# Predefined preprocessor variables.
1168100ae103Smrg
1169100ae103Smrgcat >>confdefs.h <<_ACEOF
1170100ae103Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
1171100ae103Smrg_ACEOF
1172100ae103Smrg
1173100ae103Smrg
1174100ae103Smrgcat >>confdefs.h <<_ACEOF
1175100ae103Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1176100ae103Smrg_ACEOF
1177100ae103Smrg
1178100ae103Smrg
1179100ae103Smrgcat >>confdefs.h <<_ACEOF
1180100ae103Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1181100ae103Smrg_ACEOF
1182100ae103Smrg
1183100ae103Smrg
1184100ae103Smrgcat >>confdefs.h <<_ACEOF
1185100ae103Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
1186100ae103Smrg_ACEOF
1187100ae103Smrg
1188100ae103Smrg
1189100ae103Smrgcat >>confdefs.h <<_ACEOF
1190100ae103Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1191100ae103Smrg_ACEOF
1192100ae103Smrg
1193100ae103Smrg
1194100ae103Smrg# Let the site file select an alternate cache file if it wants to.
1195100ae103Smrg# Prefer explicitly selected file to automatically selected ones.
1196100ae103Smrgif test -z "$CONFIG_SITE"; then
1197100ae103Smrg  if test "x$prefix" != xNONE; then
1198100ae103Smrg    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1199100ae103Smrg  else
1200100ae103Smrg    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1201100ae103Smrg  fi
1202100ae103Smrgfi
1203100ae103Smrgfor ac_site_file in $CONFIG_SITE; do
1204100ae103Smrg  if test -r "$ac_site_file"; then
1205100ae103Smrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1206100ae103Smrgecho "$as_me: loading site script $ac_site_file" >&6;}
1207100ae103Smrg    sed 's/^/| /' "$ac_site_file" >&5
1208100ae103Smrg    . "$ac_site_file"
1209100ae103Smrg  fi
1210100ae103Smrgdone
1211100ae103Smrg
1212100ae103Smrgif test -r "$cache_file"; then
1213100ae103Smrg  # Some versions of bash will fail to source /dev/null (special
1214100ae103Smrg  # files actually), so we avoid doing that.
1215100ae103Smrg  if test -f "$cache_file"; then
1216100ae103Smrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1217100ae103Smrgecho "$as_me: loading cache $cache_file" >&6;}
1218100ae103Smrg    case $cache_file in
1219100ae103Smrg      [\\/]* | ?:[\\/]* ) . $cache_file;;
1220100ae103Smrg      *)                      . ./$cache_file;;
1221100ae103Smrg    esac
1222100ae103Smrg  fi
1223100ae103Smrgelse
1224100ae103Smrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1225100ae103Smrgecho "$as_me: creating cache $cache_file" >&6;}
1226100ae103Smrg  >$cache_file
1227100ae103Smrgfi
1228100ae103Smrg
1229100ae103Smrg# Check that the precious variables saved in the cache have kept the same
1230100ae103Smrg# value.
1231100ae103Smrgac_cache_corrupted=false
1232100ae103Smrgfor ac_var in `(set) 2>&1 |
1233100ae103Smrg	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1234100ae103Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1235100ae103Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
1236100ae103Smrg  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1237100ae103Smrg  eval ac_new_val="\$ac_env_${ac_var}_value"
1238100ae103Smrg  case $ac_old_set,$ac_new_set in
1239100ae103Smrg    set,)
1240100ae103Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1241100ae103Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1242100ae103Smrg      ac_cache_corrupted=: ;;
1243100ae103Smrg    ,set)
1244100ae103Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1245100ae103Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1246100ae103Smrg      ac_cache_corrupted=: ;;
1247100ae103Smrg    ,);;
1248100ae103Smrg    *)
1249100ae103Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1250100ae103Smrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1251100ae103Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1252100ae103Smrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1253100ae103Smrgecho "$as_me:   former value:  $ac_old_val" >&2;}
1254100ae103Smrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1255100ae103Smrgecho "$as_me:   current value: $ac_new_val" >&2;}
1256100ae103Smrg	ac_cache_corrupted=:
1257100ae103Smrg      fi;;
1258100ae103Smrg  esac
1259100ae103Smrg  # Pass precious variables to config.status.
1260100ae103Smrg  if test "$ac_new_set" = set; then
1261100ae103Smrg    case $ac_new_val in
1262100ae103Smrg    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263100ae103Smrg      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1264100ae103Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1265100ae103Smrg    esac
1266100ae103Smrg    case " $ac_configure_args " in
1267100ae103Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1268100ae103Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1269100ae103Smrg    esac
1270100ae103Smrg  fi
1271100ae103Smrgdone
1272100ae103Smrgif $ac_cache_corrupted; then
1273100ae103Smrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1274100ae103Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
1275100ae103Smrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1276100ae103Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1277100ae103Smrg   { (exit 1); exit 1; }; }
1278100ae103Smrgfi
1279100ae103Smrg
1280100ae103Smrgac_ext=c
1281100ae103Smrgac_cpp='$CPP $CPPFLAGS'
1282100ae103Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1283100ae103Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1284100ae103Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1285100ae103Smrg
1286100ae103Smrg
1287100ae103Smrg
1288100ae103Smrg
1289100ae103Smrg
1290100ae103Smrg
1291100ae103Smrg
1292100ae103Smrg
1293100ae103Smrg
1294100ae103Smrg
1295100ae103Smrg
1296100ae103Smrg
1297100ae103Smrg
1298100ae103Smrg
1299100ae103Smrg
1300100ae103Smrg
1301100ae103Smrg
1302100ae103Smrg
1303100ae103Smrg
1304100ae103Smrg
1305100ae103Smrg
1306100ae103Smrg
1307100ae103Smrg
1308100ae103Smrg
1309100ae103Smrg
1310100ae103Smrg
1311100ae103Smrg
1312100ae103Smrgam__api_version="1.9"
1313100ae103Smrgac_aux_dir=
1314100ae103Smrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1315100ae103Smrg  if test -f $ac_dir/install-sh; then
1316100ae103Smrg    ac_aux_dir=$ac_dir
1317100ae103Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1318100ae103Smrg    break
1319100ae103Smrg  elif test -f $ac_dir/install.sh; then
1320100ae103Smrg    ac_aux_dir=$ac_dir
1321100ae103Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1322100ae103Smrg    break
1323100ae103Smrg  elif test -f $ac_dir/shtool; then
1324100ae103Smrg    ac_aux_dir=$ac_dir
1325100ae103Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1326100ae103Smrg    break
1327100ae103Smrg  fi
1328100ae103Smrgdone
1329100ae103Smrgif test -z "$ac_aux_dir"; then
1330100ae103Smrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1331100ae103Smrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1332100ae103Smrg   { (exit 1); exit 1; }; }
1333100ae103Smrgfi
1334100ae103Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"
1335100ae103Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"
1336100ae103Smrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1337100ae103Smrg
1338100ae103Smrg# Find a good install program.  We prefer a C program (faster),
1339100ae103Smrg# so one script is as good as another.  But avoid the broken or
1340100ae103Smrg# incompatible versions:
1341100ae103Smrg# SysV /etc/install, /usr/sbin/install
1342100ae103Smrg# SunOS /usr/etc/install
1343100ae103Smrg# IRIX /sbin/install
1344100ae103Smrg# AIX /bin/install
1345100ae103Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1346100ae103Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1347100ae103Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1348100ae103Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1349100ae103Smrg# OS/2's system install, which has a completely different semantic
1350100ae103Smrg# ./install, which can be erroneously created by make from ./install.sh.
1351100ae103Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1352100ae103Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1353100ae103Smrgif test -z "$INSTALL"; then
1354100ae103Smrgif test "${ac_cv_path_install+set}" = set; then
1355100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1356100ae103Smrgelse
1357100ae103Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1358100ae103Smrgfor as_dir in $PATH
1359100ae103Smrgdo
1360100ae103Smrg  IFS=$as_save_IFS
1361100ae103Smrg  test -z "$as_dir" && as_dir=.
1362100ae103Smrg  # Account for people who put trailing slashes in PATH elements.
1363100ae103Smrgcase $as_dir/ in
1364100ae103Smrg  ./ | .// | /cC/* | \
1365100ae103Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1366100ae103Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1367100ae103Smrg  /usr/ucb/* ) ;;
1368100ae103Smrg  *)
1369100ae103Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1370100ae103Smrg    # Don't use installbsd from OSF since it installs stuff as root
1371100ae103Smrg    # by default.
1372100ae103Smrg    for ac_prog in ginstall scoinst install; do
1373100ae103Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
1374100ae103Smrg	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1375100ae103Smrg	  if test $ac_prog = install &&
1376100ae103Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1377100ae103Smrg	    # AIX install.  It has an incompatible calling convention.
1378100ae103Smrg	    :
1379100ae103Smrg	  elif test $ac_prog = install &&
1380100ae103Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1381100ae103Smrg	    # program-specific install script used by HP pwplus--don't use.
1382100ae103Smrg	    :
1383100ae103Smrg	  else
1384100ae103Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1385100ae103Smrg	    break 3
1386100ae103Smrg	  fi
1387100ae103Smrg	fi
1388100ae103Smrg      done
1389100ae103Smrg    done
1390100ae103Smrg    ;;
1391100ae103Smrgesac
1392100ae103Smrgdone
1393100ae103Smrg
1394100ae103Smrg
1395100ae103Smrgfi
1396100ae103Smrg  if test "${ac_cv_path_install+set}" = set; then
1397100ae103Smrg    INSTALL=$ac_cv_path_install
1398100ae103Smrg  else
1399100ae103Smrg    # As a last resort, use the slow shell script.  We don't cache a
1400100ae103Smrg    # path for INSTALL within a source directory, because that will
1401100ae103Smrg    # break other packages using the cache if that directory is
1402100ae103Smrg    # removed, or if the path is relative.
1403100ae103Smrg    INSTALL=$ac_install_sh
1404100ae103Smrg  fi
1405100ae103Smrgfi
1406100ae103Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5
1407100ae103Smrgecho "${ECHO_T}$INSTALL" >&6
1408100ae103Smrg
1409100ae103Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1410100ae103Smrg# It thinks the first close brace ends the variable substitution.
1411100ae103Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1412100ae103Smrg
1413100ae103Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1414100ae103Smrg
1415100ae103Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1416100ae103Smrg
1417100ae103Smrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5
1418100ae103Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1419100ae103Smrg# Just in case
1420100ae103Smrgsleep 1
1421100ae103Smrgecho timestamp > conftest.file
1422100ae103Smrg# Do `set' in a subshell so we don't clobber the current shell's
1423100ae103Smrg# arguments.  Must try -L first in case configure is actually a
1424100ae103Smrg# symlink; some systems play weird games with the mod time of symlinks
1425100ae103Smrg# (eg FreeBSD returns the mod time of the symlink's containing
1426100ae103Smrg# directory).
1427100ae103Smrgif (
1428100ae103Smrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1429100ae103Smrg   if test "$*" = "X"; then
1430100ae103Smrg      # -L didn't work.
1431100ae103Smrg      set X `ls -t $srcdir/configure conftest.file`
1432100ae103Smrg   fi
1433100ae103Smrg   rm -f conftest.file
1434100ae103Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
1435100ae103Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
1436100ae103Smrg
1437100ae103Smrg      # If neither matched, then we have a broken ls.  This can happen
1438100ae103Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
1439100ae103Smrg      # broken ls alias from the environment.  This has actually
1440100ae103Smrg      # happened.  Such a system could not be considered "sane".
1441100ae103Smrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1442100ae103Smrgalias in your environment" >&5
1443100ae103Smrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1444100ae103Smrgalias in your environment" >&2;}
1445100ae103Smrg   { (exit 1); exit 1; }; }
1446100ae103Smrg   fi
1447100ae103Smrg
1448100ae103Smrg   test "$2" = conftest.file
1449100ae103Smrg   )
1450100ae103Smrgthen
1451100ae103Smrg   # Ok.
1452100ae103Smrg   :
1453100ae103Smrgelse
1454100ae103Smrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1455100ae103SmrgCheck your system clock" >&5
1456100ae103Smrgecho "$as_me: error: newly created file is older than distributed files!
1457100ae103SmrgCheck your system clock" >&2;}
1458100ae103Smrg   { (exit 1); exit 1; }; }
1459100ae103Smrgfi
1460100ae103Smrgecho "$as_me:$LINENO: result: yes" >&5
1461100ae103Smrgecho "${ECHO_T}yes" >&6
1462100ae103Smrgtest "$program_prefix" != NONE &&
1463100ae103Smrg  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1464100ae103Smrg# Use a double $ so make ignores it.
1465100ae103Smrgtest "$program_suffix" != NONE &&
1466100ae103Smrg  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1467100ae103Smrg# Double any \ or $.  echo might interpret backslashes.
1468100ae103Smrg# By default was `s,x,x', remove it if useless.
1469100ae103Smrgcat <<\_ACEOF >conftest.sed
1470100ae103Smrgs/[\\$]/&&/g;s/;s,x,x,$//
1471100ae103Smrg_ACEOF
1472100ae103Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1473100ae103Smrgrm conftest.sed
1474100ae103Smrg
1475100ae103Smrg# expand $ac_aux_dir to an absolute path
1476100ae103Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
1477100ae103Smrg
1478100ae103Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1479100ae103Smrg# Use eval to expand $SHELL
1480100ae103Smrgif eval "$MISSING --run true"; then
1481100ae103Smrg  am_missing_run="$MISSING --run "
1482100ae103Smrgelse
1483100ae103Smrg  am_missing_run=
1484100ae103Smrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1485100ae103Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1486100ae103Smrgfi
1487100ae103Smrg
1488100ae103Smrgif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1489100ae103Smrg  # We used to keeping the `.' as first argument, in order to
1490100ae103Smrg  # allow $(mkdir_p) to be used without argument.  As in
1491100ae103Smrg  #   $(mkdir_p) $(somedir)
1492100ae103Smrg  # where $(somedir) is conditionally defined.  However this is wrong
1493100ae103Smrg  # for two reasons:
1494100ae103Smrg  #  1. if the package is installed by a user who cannot write `.'
1495100ae103Smrg  #     make install will fail,
1496100ae103Smrg  #  2. the above comment should most certainly read
1497100ae103Smrg  #     $(mkdir_p) $(DESTDIR)$(somedir)
1498100ae103Smrg  #     so it does not work when $(somedir) is undefined and
1499100ae103Smrg  #     $(DESTDIR) is not.
1500100ae103Smrg  #  To support the latter case, we have to write
1501100ae103Smrg  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1502100ae103Smrg  #  so the `.' trick is pointless.
1503100ae103Smrg  mkdir_p='mkdir -p --'
1504100ae103Smrgelse
1505100ae103Smrg  # On NextStep and OpenStep, the `mkdir' command does not
1506100ae103Smrg  # recognize any option.  It will interpret all options as
1507100ae103Smrg  # directories to create, and then abort because `.' already
1508100ae103Smrg  # exists.
1509100ae103Smrg  for d in ./-p ./--version;
1510100ae103Smrg  do
1511100ae103Smrg    test -d $d && rmdir $d
1512100ae103Smrg  done
1513100ae103Smrg  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1514100ae103Smrg  if test -f "$ac_aux_dir/mkinstalldirs"; then
1515100ae103Smrg    mkdir_p='$(mkinstalldirs)'
1516100ae103Smrg  else
1517100ae103Smrg    mkdir_p='$(SHELL) $(install_sh) -d'
1518100ae103Smrg  fi
1519100ae103Smrgfi
1520100ae103Smrg
1521100ae103Smrgfor ac_prog in gawk mawk nawk awk
1522100ae103Smrgdo
1523100ae103Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
1524100ae103Smrgset dummy $ac_prog; ac_word=$2
1525100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1526100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1527100ae103Smrgif test "${ac_cv_prog_AWK+set}" = set; then
1528100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1529100ae103Smrgelse
1530100ae103Smrg  if test -n "$AWK"; then
1531100ae103Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1532100ae103Smrgelse
1533100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534100ae103Smrgfor as_dir in $PATH
1535100ae103Smrgdo
1536100ae103Smrg  IFS=$as_save_IFS
1537100ae103Smrg  test -z "$as_dir" && as_dir=.
1538100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1539100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1540100ae103Smrg    ac_cv_prog_AWK="$ac_prog"
1541100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1542100ae103Smrg    break 2
1543100ae103Smrg  fi
1544100ae103Smrgdone
1545100ae103Smrgdone
1546100ae103Smrg
1547100ae103Smrgfi
1548100ae103Smrgfi
1549100ae103SmrgAWK=$ac_cv_prog_AWK
1550100ae103Smrgif test -n "$AWK"; then
1551100ae103Smrg  echo "$as_me:$LINENO: result: $AWK" >&5
1552100ae103Smrgecho "${ECHO_T}$AWK" >&6
1553100ae103Smrgelse
1554100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1555100ae103Smrgecho "${ECHO_T}no" >&6
1556100ae103Smrgfi
1557100ae103Smrg
1558100ae103Smrg  test -n "$AWK" && break
1559100ae103Smrgdone
1560100ae103Smrg
1561100ae103Smrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1562100ae103Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1563100ae103Smrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1564100ae103Smrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1565100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1566100ae103Smrgelse
1567100ae103Smrg  cat >conftest.make <<\_ACEOF
1568100ae103Smrgall:
1569100ae103Smrg	@echo 'ac_maketemp="$(MAKE)"'
1570100ae103Smrg_ACEOF
1571100ae103Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1572100ae103Smrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1573100ae103Smrgif test -n "$ac_maketemp"; then
1574100ae103Smrg  eval ac_cv_prog_make_${ac_make}_set=yes
1575100ae103Smrgelse
1576100ae103Smrg  eval ac_cv_prog_make_${ac_make}_set=no
1577100ae103Smrgfi
1578100ae103Smrgrm -f conftest.make
1579100ae103Smrgfi
1580100ae103Smrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1581100ae103Smrg  echo "$as_me:$LINENO: result: yes" >&5
1582100ae103Smrgecho "${ECHO_T}yes" >&6
1583100ae103Smrg  SET_MAKE=
1584100ae103Smrgelse
1585100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1586100ae103Smrgecho "${ECHO_T}no" >&6
1587100ae103Smrg  SET_MAKE="MAKE=${MAKE-make}"
1588100ae103Smrgfi
1589100ae103Smrg
1590100ae103Smrgrm -rf .tst 2>/dev/null
1591100ae103Smrgmkdir .tst 2>/dev/null
1592100ae103Smrgif test -d .tst; then
1593100ae103Smrg  am__leading_dot=.
1594100ae103Smrgelse
1595100ae103Smrg  am__leading_dot=_
1596100ae103Smrgfi
1597100ae103Smrgrmdir .tst 2>/dev/null
1598100ae103Smrg
1599100ae103Smrg# test to see if srcdir already configured
1600100ae103Smrgif test "`cd $srcdir && pwd`" != "`pwd`" &&
1601100ae103Smrg   test -f $srcdir/config.status; then
1602100ae103Smrg  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1603100ae103Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1604100ae103Smrg   { (exit 1); exit 1; }; }
1605100ae103Smrgfi
1606100ae103Smrg
1607100ae103Smrg# test whether we have cygpath
1608100ae103Smrgif test -z "$CYGPATH_W"; then
1609100ae103Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
1610100ae103Smrg    CYGPATH_W='cygpath -w'
1611100ae103Smrg  else
1612100ae103Smrg    CYGPATH_W=echo
1613100ae103Smrg  fi
1614100ae103Smrgfi
1615100ae103Smrg
1616100ae103Smrg
1617100ae103Smrg# Define the identity of the package.
1618100ae103Smrg PACKAGE='xmessage'
1619100ae103Smrg VERSION='1.0.2'
1620100ae103Smrg
1621100ae103Smrg
1622100ae103Smrgcat >>confdefs.h <<_ACEOF
1623100ae103Smrg#define PACKAGE "$PACKAGE"
1624100ae103Smrg_ACEOF
1625100ae103Smrg
1626100ae103Smrg
1627100ae103Smrgcat >>confdefs.h <<_ACEOF
1628100ae103Smrg#define VERSION "$VERSION"
1629100ae103Smrg_ACEOF
1630100ae103Smrg
1631100ae103Smrg# Some tools Automake needs.
1632100ae103Smrg
1633100ae103SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1634100ae103Smrg
1635100ae103Smrg
1636100ae103SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1637100ae103Smrg
1638100ae103Smrg
1639100ae103SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1640100ae103Smrg
1641100ae103Smrg
1642100ae103SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1643100ae103Smrg
1644100ae103Smrg
1645100ae103SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1646100ae103Smrg
1647100ae103Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"}
1648100ae103Smrg
1649100ae103Smrg# Installed binaries are usually stripped using `strip' when the user
1650100ae103Smrg# run `make install-strip'.  However `strip' might not be the right
1651100ae103Smrg# tool to use in cross-compilation environments, therefore Automake
1652100ae103Smrg# will honor the `STRIP' environment variable to overrule this program.
1653100ae103Smrgif test "$cross_compiling" != no; then
1654100ae103Smrg  if test -n "$ac_tool_prefix"; then
1655100ae103Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1656100ae103Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
1657100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1658100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1659100ae103Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
1660100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1661100ae103Smrgelse
1662100ae103Smrg  if test -n "$STRIP"; then
1663100ae103Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1664100ae103Smrgelse
1665100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666100ae103Smrgfor as_dir in $PATH
1667100ae103Smrgdo
1668100ae103Smrg  IFS=$as_save_IFS
1669100ae103Smrg  test -z "$as_dir" && as_dir=.
1670100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1671100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1672100ae103Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1673100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674100ae103Smrg    break 2
1675100ae103Smrg  fi
1676100ae103Smrgdone
1677100ae103Smrgdone
1678100ae103Smrg
1679100ae103Smrgfi
1680100ae103Smrgfi
1681100ae103SmrgSTRIP=$ac_cv_prog_STRIP
1682100ae103Smrgif test -n "$STRIP"; then
1683100ae103Smrg  echo "$as_me:$LINENO: result: $STRIP" >&5
1684100ae103Smrgecho "${ECHO_T}$STRIP" >&6
1685100ae103Smrgelse
1686100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1687100ae103Smrgecho "${ECHO_T}no" >&6
1688100ae103Smrgfi
1689100ae103Smrg
1690100ae103Smrgfi
1691100ae103Smrgif test -z "$ac_cv_prog_STRIP"; then
1692100ae103Smrg  ac_ct_STRIP=$STRIP
1693100ae103Smrg  # Extract the first word of "strip", so it can be a program name with args.
1694100ae103Smrgset dummy strip; ac_word=$2
1695100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1696100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1697100ae103Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1698100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1699100ae103Smrgelse
1700100ae103Smrg  if test -n "$ac_ct_STRIP"; then
1701100ae103Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1702100ae103Smrgelse
1703100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704100ae103Smrgfor as_dir in $PATH
1705100ae103Smrgdo
1706100ae103Smrg  IFS=$as_save_IFS
1707100ae103Smrg  test -z "$as_dir" && as_dir=.
1708100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1709100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1710100ae103Smrg    ac_cv_prog_ac_ct_STRIP="strip"
1711100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1712100ae103Smrg    break 2
1713100ae103Smrg  fi
1714100ae103Smrgdone
1715100ae103Smrgdone
1716100ae103Smrg
1717100ae103Smrg  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1718100ae103Smrgfi
1719100ae103Smrgfi
1720100ae103Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1721100ae103Smrgif test -n "$ac_ct_STRIP"; then
1722100ae103Smrg  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1723100ae103Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6
1724100ae103Smrgelse
1725100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1726100ae103Smrgecho "${ECHO_T}no" >&6
1727100ae103Smrgfi
1728100ae103Smrg
1729100ae103Smrg  STRIP=$ac_ct_STRIP
1730100ae103Smrgelse
1731100ae103Smrg  STRIP="$ac_cv_prog_STRIP"
1732100ae103Smrgfi
1733100ae103Smrg
1734100ae103Smrgfi
1735100ae103SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1736100ae103Smrg
1737100ae103Smrg# We need awk for the "check" target.  The system "awk" is bad on
1738100ae103Smrg# some platforms.
1739100ae103Smrg# Always define AMTAR for backward compatibility.
1740100ae103Smrg
1741100ae103SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
1742100ae103Smrg
1743100ae103Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1744100ae103Smrg
1745100ae103Smrg
1746100ae103Smrg
1747100ae103Smrg
1748100ae103Smrg
1749100ae103Smrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1750100ae103Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1751100ae103Smrg    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1752100ae103Smrgif test "${enable_maintainer_mode+set}" = set; then
1753100ae103Smrg  enableval="$enable_maintainer_mode"
1754100ae103Smrg  USE_MAINTAINER_MODE=$enableval
1755100ae103Smrgelse
1756100ae103Smrg  USE_MAINTAINER_MODE=no
1757100ae103Smrgfi;
1758100ae103Smrg  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1759100ae103Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1760100ae103Smrg
1761100ae103Smrg
1762100ae103Smrgif test $USE_MAINTAINER_MODE = yes; then
1763100ae103Smrg  MAINTAINER_MODE_TRUE=
1764100ae103Smrg  MAINTAINER_MODE_FALSE='#'
1765100ae103Smrgelse
1766100ae103Smrg  MAINTAINER_MODE_TRUE='#'
1767100ae103Smrg  MAINTAINER_MODE_FALSE=
1768100ae103Smrgfi
1769100ae103Smrg
1770100ae103Smrg  MAINT=$MAINTAINER_MODE_TRUE
1771100ae103Smrg
1772100ae103Smrg
1773100ae103Smrg
1774100ae103Smrg          ac_config_headers="$ac_config_headers config.h"
1775100ae103Smrg
1776100ae103Smrg
1777100ae103Smrgac_ext=c
1778100ae103Smrgac_cpp='$CPP $CPPFLAGS'
1779100ae103Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1780100ae103Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1781100ae103Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1782100ae103Smrgif test -n "$ac_tool_prefix"; then
1783100ae103Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1784100ae103Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
1785100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1786100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787100ae103Smrgif test "${ac_cv_prog_CC+set}" = set; then
1788100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1789100ae103Smrgelse
1790100ae103Smrg  if test -n "$CC"; then
1791100ae103Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
1792100ae103Smrgelse
1793100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794100ae103Smrgfor as_dir in $PATH
1795100ae103Smrgdo
1796100ae103Smrg  IFS=$as_save_IFS
1797100ae103Smrg  test -z "$as_dir" && as_dir=.
1798100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1799100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800100ae103Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1801100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802100ae103Smrg    break 2
1803100ae103Smrg  fi
1804100ae103Smrgdone
1805100ae103Smrgdone
1806100ae103Smrg
1807100ae103Smrgfi
1808100ae103Smrgfi
1809100ae103SmrgCC=$ac_cv_prog_CC
1810100ae103Smrgif test -n "$CC"; then
1811100ae103Smrg  echo "$as_me:$LINENO: result: $CC" >&5
1812100ae103Smrgecho "${ECHO_T}$CC" >&6
1813100ae103Smrgelse
1814100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1815100ae103Smrgecho "${ECHO_T}no" >&6
1816100ae103Smrgfi
1817100ae103Smrg
1818100ae103Smrgfi
1819100ae103Smrgif test -z "$ac_cv_prog_CC"; then
1820100ae103Smrg  ac_ct_CC=$CC
1821100ae103Smrg  # Extract the first word of "gcc", so it can be a program name with args.
1822100ae103Smrgset dummy gcc; ac_word=$2
1823100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1824100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825100ae103Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1826100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1827100ae103Smrgelse
1828100ae103Smrg  if test -n "$ac_ct_CC"; then
1829100ae103Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830100ae103Smrgelse
1831100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832100ae103Smrgfor as_dir in $PATH
1833100ae103Smrgdo
1834100ae103Smrg  IFS=$as_save_IFS
1835100ae103Smrg  test -z "$as_dir" && as_dir=.
1836100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1837100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838100ae103Smrg    ac_cv_prog_ac_ct_CC="gcc"
1839100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840100ae103Smrg    break 2
1841100ae103Smrg  fi
1842100ae103Smrgdone
1843100ae103Smrgdone
1844100ae103Smrg
1845100ae103Smrgfi
1846100ae103Smrgfi
1847100ae103Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
1848100ae103Smrgif test -n "$ac_ct_CC"; then
1849100ae103Smrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1850100ae103Smrgecho "${ECHO_T}$ac_ct_CC" >&6
1851100ae103Smrgelse
1852100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1853100ae103Smrgecho "${ECHO_T}no" >&6
1854100ae103Smrgfi
1855100ae103Smrg
1856100ae103Smrg  CC=$ac_ct_CC
1857100ae103Smrgelse
1858100ae103Smrg  CC="$ac_cv_prog_CC"
1859100ae103Smrgfi
1860100ae103Smrg
1861100ae103Smrgif test -z "$CC"; then
1862100ae103Smrg  if test -n "$ac_tool_prefix"; then
1863100ae103Smrg  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1864100ae103Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
1865100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1866100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867100ae103Smrgif test "${ac_cv_prog_CC+set}" = set; then
1868100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1869100ae103Smrgelse
1870100ae103Smrg  if test -n "$CC"; then
1871100ae103Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
1872100ae103Smrgelse
1873100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1874100ae103Smrgfor as_dir in $PATH
1875100ae103Smrgdo
1876100ae103Smrg  IFS=$as_save_IFS
1877100ae103Smrg  test -z "$as_dir" && as_dir=.
1878100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1879100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880100ae103Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
1881100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1882100ae103Smrg    break 2
1883100ae103Smrg  fi
1884100ae103Smrgdone
1885100ae103Smrgdone
1886100ae103Smrg
1887100ae103Smrgfi
1888100ae103Smrgfi
1889100ae103SmrgCC=$ac_cv_prog_CC
1890100ae103Smrgif test -n "$CC"; then
1891100ae103Smrg  echo "$as_me:$LINENO: result: $CC" >&5
1892100ae103Smrgecho "${ECHO_T}$CC" >&6
1893100ae103Smrgelse
1894100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1895100ae103Smrgecho "${ECHO_T}no" >&6
1896100ae103Smrgfi
1897100ae103Smrg
1898100ae103Smrgfi
1899100ae103Smrgif test -z "$ac_cv_prog_CC"; then
1900100ae103Smrg  ac_ct_CC=$CC
1901100ae103Smrg  # Extract the first word of "cc", so it can be a program name with args.
1902100ae103Smrgset dummy cc; ac_word=$2
1903100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1904100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905100ae103Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1906100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1907100ae103Smrgelse
1908100ae103Smrg  if test -n "$ac_ct_CC"; then
1909100ae103Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1910100ae103Smrgelse
1911100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912100ae103Smrgfor as_dir in $PATH
1913100ae103Smrgdo
1914100ae103Smrg  IFS=$as_save_IFS
1915100ae103Smrg  test -z "$as_dir" && as_dir=.
1916100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1917100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1918100ae103Smrg    ac_cv_prog_ac_ct_CC="cc"
1919100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920100ae103Smrg    break 2
1921100ae103Smrg  fi
1922100ae103Smrgdone
1923100ae103Smrgdone
1924100ae103Smrg
1925100ae103Smrgfi
1926100ae103Smrgfi
1927100ae103Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
1928100ae103Smrgif test -n "$ac_ct_CC"; then
1929100ae103Smrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1930100ae103Smrgecho "${ECHO_T}$ac_ct_CC" >&6
1931100ae103Smrgelse
1932100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1933100ae103Smrgecho "${ECHO_T}no" >&6
1934100ae103Smrgfi
1935100ae103Smrg
1936100ae103Smrg  CC=$ac_ct_CC
1937100ae103Smrgelse
1938100ae103Smrg  CC="$ac_cv_prog_CC"
1939100ae103Smrgfi
1940100ae103Smrg
1941100ae103Smrgfi
1942100ae103Smrgif test -z "$CC"; then
1943100ae103Smrg  # Extract the first word of "cc", so it can be a program name with args.
1944100ae103Smrgset dummy cc; ac_word=$2
1945100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
1946100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947100ae103Smrgif test "${ac_cv_prog_CC+set}" = set; then
1948100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
1949100ae103Smrgelse
1950100ae103Smrg  if test -n "$CC"; then
1951100ae103Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
1952100ae103Smrgelse
1953100ae103Smrg  ac_prog_rejected=no
1954100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955100ae103Smrgfor as_dir in $PATH
1956100ae103Smrgdo
1957100ae103Smrg  IFS=$as_save_IFS
1958100ae103Smrg  test -z "$as_dir" && as_dir=.
1959100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
1960100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961100ae103Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1962100ae103Smrg       ac_prog_rejected=yes
1963100ae103Smrg       continue
1964100ae103Smrg     fi
1965100ae103Smrg    ac_cv_prog_CC="cc"
1966100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1967100ae103Smrg    break 2
1968100ae103Smrg  fi
1969100ae103Smrgdone
1970100ae103Smrgdone
1971100ae103Smrg
1972100ae103Smrgif test $ac_prog_rejected = yes; then
1973100ae103Smrg  # We found a bogon in the path, so make sure we never use it.
1974100ae103Smrg  set dummy $ac_cv_prog_CC
1975100ae103Smrg  shift
1976100ae103Smrg  if test $# != 0; then
1977100ae103Smrg    # We chose a different compiler from the bogus one.
1978100ae103Smrg    # However, it has the same basename, so the bogon will be chosen
1979100ae103Smrg    # first if we set CC to just the basename; use the full file name.
1980100ae103Smrg    shift
1981100ae103Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1982100ae103Smrg  fi
1983100ae103Smrgfi
1984100ae103Smrgfi
1985100ae103Smrgfi
1986100ae103SmrgCC=$ac_cv_prog_CC
1987100ae103Smrgif test -n "$CC"; then
1988100ae103Smrg  echo "$as_me:$LINENO: result: $CC" >&5
1989100ae103Smrgecho "${ECHO_T}$CC" >&6
1990100ae103Smrgelse
1991100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
1992100ae103Smrgecho "${ECHO_T}no" >&6
1993100ae103Smrgfi
1994100ae103Smrg
1995100ae103Smrgfi
1996100ae103Smrgif test -z "$CC"; then
1997100ae103Smrg  if test -n "$ac_tool_prefix"; then
1998100ae103Smrg  for ac_prog in cl
1999100ae103Smrg  do
2000100ae103Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2001100ae103Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
2002100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
2003100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2004100ae103Smrgif test "${ac_cv_prog_CC+set}" = set; then
2005100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2006100ae103Smrgelse
2007100ae103Smrg  if test -n "$CC"; then
2008100ae103Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2009100ae103Smrgelse
2010100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011100ae103Smrgfor as_dir in $PATH
2012100ae103Smrgdo
2013100ae103Smrg  IFS=$as_save_IFS
2014100ae103Smrg  test -z "$as_dir" && as_dir=.
2015100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2016100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2017100ae103Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2018100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019100ae103Smrg    break 2
2020100ae103Smrg  fi
2021100ae103Smrgdone
2022100ae103Smrgdone
2023100ae103Smrg
2024100ae103Smrgfi
2025100ae103Smrgfi
2026100ae103SmrgCC=$ac_cv_prog_CC
2027100ae103Smrgif test -n "$CC"; then
2028100ae103Smrg  echo "$as_me:$LINENO: result: $CC" >&5
2029100ae103Smrgecho "${ECHO_T}$CC" >&6
2030100ae103Smrgelse
2031100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
2032100ae103Smrgecho "${ECHO_T}no" >&6
2033100ae103Smrgfi
2034100ae103Smrg
2035100ae103Smrg    test -n "$CC" && break
2036100ae103Smrg  done
2037100ae103Smrgfi
2038100ae103Smrgif test -z "$CC"; then
2039100ae103Smrg  ac_ct_CC=$CC
2040100ae103Smrg  for ac_prog in cl
2041100ae103Smrgdo
2042100ae103Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2043100ae103Smrgset dummy $ac_prog; ac_word=$2
2044100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
2045100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046100ae103Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2047100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2048100ae103Smrgelse
2049100ae103Smrg  if test -n "$ac_ct_CC"; then
2050100ae103Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2051100ae103Smrgelse
2052100ae103Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053100ae103Smrgfor as_dir in $PATH
2054100ae103Smrgdo
2055100ae103Smrg  IFS=$as_save_IFS
2056100ae103Smrg  test -z "$as_dir" && as_dir=.
2057100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2058100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059100ae103Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
2060100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061100ae103Smrg    break 2
2062100ae103Smrg  fi
2063100ae103Smrgdone
2064100ae103Smrgdone
2065100ae103Smrg
2066100ae103Smrgfi
2067100ae103Smrgfi
2068100ae103Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
2069100ae103Smrgif test -n "$ac_ct_CC"; then
2070100ae103Smrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2071100ae103Smrgecho "${ECHO_T}$ac_ct_CC" >&6
2072100ae103Smrgelse
2073100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
2074100ae103Smrgecho "${ECHO_T}no" >&6
2075100ae103Smrgfi
2076100ae103Smrg
2077100ae103Smrg  test -n "$ac_ct_CC" && break
2078100ae103Smrgdone
2079100ae103Smrg
2080100ae103Smrg  CC=$ac_ct_CC
2081100ae103Smrgfi
2082100ae103Smrg
2083100ae103Smrgfi
2084100ae103Smrg
2085100ae103Smrg
2086100ae103Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2087100ae103SmrgSee \`config.log' for more details." >&5
2088100ae103Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH
2089100ae103SmrgSee \`config.log' for more details." >&2;}
2090100ae103Smrg   { (exit 1); exit 1; }; }
2091100ae103Smrg
2092100ae103Smrg# Provide some information about the compiler.
2093100ae103Smrgecho "$as_me:$LINENO:" \
2094100ae103Smrg     "checking for C compiler version" >&5
2095100ae103Smrgac_compiler=`set X $ac_compile; echo $2`
2096100ae103Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2097100ae103Smrg  (eval $ac_compiler --version </dev/null >&5) 2>&5
2098100ae103Smrg  ac_status=$?
2099100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100100ae103Smrg  (exit $ac_status); }
2101100ae103Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2102100ae103Smrg  (eval $ac_compiler -v </dev/null >&5) 2>&5
2103100ae103Smrg  ac_status=$?
2104100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105100ae103Smrg  (exit $ac_status); }
2106100ae103Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2107100ae103Smrg  (eval $ac_compiler -V </dev/null >&5) 2>&5
2108100ae103Smrg  ac_status=$?
2109100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110100ae103Smrg  (exit $ac_status); }
2111100ae103Smrg
2112100ae103Smrgcat >conftest.$ac_ext <<_ACEOF
2113100ae103Smrg/* confdefs.h.  */
2114100ae103Smrg_ACEOF
2115100ae103Smrgcat confdefs.h >>conftest.$ac_ext
2116100ae103Smrgcat >>conftest.$ac_ext <<_ACEOF
2117100ae103Smrg/* end confdefs.h.  */
2118100ae103Smrg
2119100ae103Smrgint
2120100ae103Smrgmain ()
2121100ae103Smrg{
2122100ae103Smrg
2123100ae103Smrg  ;
2124100ae103Smrg  return 0;
2125100ae103Smrg}
2126100ae103Smrg_ACEOF
2127100ae103Smrgac_clean_files_save=$ac_clean_files
2128100ae103Smrgac_clean_files="$ac_clean_files a.out a.exe b.out"
2129100ae103Smrg# Try to create an executable without -o first, disregard a.out.
2130100ae103Smrg# It will help us diagnose broken compilers, and finding out an intuition
2131100ae103Smrg# of exeext.
2132100ae103Smrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5
2133100ae103Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2134100ae103Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2135100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2136100ae103Smrg  (eval $ac_link_default) 2>&5
2137100ae103Smrg  ac_status=$?
2138100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139100ae103Smrg  (exit $ac_status); }; then
2140100ae103Smrg  # Find the output, starting from the most likely.  This scheme is
2141100ae103Smrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2142100ae103Smrg# resort.
2143100ae103Smrg
2144100ae103Smrg# Be careful to initialize this variable, since it used to be cached.
2145100ae103Smrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2146100ae103Smrgac_cv_exeext=
2147100ae103Smrg# b.out is created by i960 compilers.
2148100ae103Smrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2149100ae103Smrgdo
2150100ae103Smrg  test -f "$ac_file" || continue
2151100ae103Smrg  case $ac_file in
2152100ae103Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2153100ae103Smrg	;;
2154100ae103Smrg    conftest.$ac_ext )
2155100ae103Smrg	# This is the source file.
2156100ae103Smrg	;;
2157100ae103Smrg    [ab].out )
2158100ae103Smrg	# We found the default executable, but exeext='' is most
2159100ae103Smrg	# certainly right.
2160100ae103Smrg	break;;
2161100ae103Smrg    *.* )
2162100ae103Smrg	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2163100ae103Smrg	# FIXME: I believe we export ac_cv_exeext for Libtool,
2164100ae103Smrg	# but it would be cool to find out if it's true.  Does anybody
2165100ae103Smrg	# maintain Libtool? --akim.
2166100ae103Smrg	export ac_cv_exeext
2167100ae103Smrg	break;;
2168100ae103Smrg    * )
2169100ae103Smrg	break;;
2170100ae103Smrg  esac
2171100ae103Smrgdone
2172100ae103Smrgelse
2173100ae103Smrg  echo "$as_me: failed program was:" >&5
2174100ae103Smrgsed 's/^/| /' conftest.$ac_ext >&5
2175100ae103Smrg
2176100ae103Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2177100ae103SmrgSee \`config.log' for more details." >&5
2178100ae103Smrgecho "$as_me: error: C compiler cannot create executables
2179100ae103SmrgSee \`config.log' for more details." >&2;}
2180100ae103Smrg   { (exit 77); exit 77; }; }
2181100ae103Smrgfi
2182100ae103Smrg
2183100ae103Smrgac_exeext=$ac_cv_exeext
2184100ae103Smrgecho "$as_me:$LINENO: result: $ac_file" >&5
2185100ae103Smrgecho "${ECHO_T}$ac_file" >&6
2186100ae103Smrg
2187100ae103Smrg# Check the compiler produces executables we can run.  If not, either
2188100ae103Smrg# the compiler is broken, or we cross compile.
2189100ae103Smrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5
2190100ae103Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2191100ae103Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2192100ae103Smrg# If not cross compiling, check that we can run a simple program.
2193100ae103Smrgif test "$cross_compiling" != yes; then
2194100ae103Smrg  if { ac_try='./$ac_file'
2195100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196100ae103Smrg  (eval $ac_try) 2>&5
2197100ae103Smrg  ac_status=$?
2198100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199100ae103Smrg  (exit $ac_status); }; }; then
2200100ae103Smrg    cross_compiling=no
2201100ae103Smrg  else
2202100ae103Smrg    if test "$cross_compiling" = maybe; then
2203100ae103Smrg	cross_compiling=yes
2204100ae103Smrg    else
2205100ae103Smrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2206100ae103SmrgIf you meant to cross compile, use \`--host'.
2207100ae103SmrgSee \`config.log' for more details." >&5
2208100ae103Smrgecho "$as_me: error: cannot run C compiled programs.
2209100ae103SmrgIf you meant to cross compile, use \`--host'.
2210100ae103SmrgSee \`config.log' for more details." >&2;}
2211100ae103Smrg   { (exit 1); exit 1; }; }
2212100ae103Smrg    fi
2213100ae103Smrg  fi
2214100ae103Smrgfi
2215100ae103Smrgecho "$as_me:$LINENO: result: yes" >&5
2216100ae103Smrgecho "${ECHO_T}yes" >&6
2217100ae103Smrg
2218100ae103Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
2219100ae103Smrgac_clean_files=$ac_clean_files_save
2220100ae103Smrg# Check the compiler produces executables we can run.  If not, either
2221100ae103Smrg# the compiler is broken, or we cross compile.
2222100ae103Smrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5
2223100ae103Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2224100ae103Smrgecho "$as_me:$LINENO: result: $cross_compiling" >&5
2225100ae103Smrgecho "${ECHO_T}$cross_compiling" >&6
2226100ae103Smrg
2227100ae103Smrgecho "$as_me:$LINENO: checking for suffix of executables" >&5
2228100ae103Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2229100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2230100ae103Smrg  (eval $ac_link) 2>&5
2231100ae103Smrg  ac_status=$?
2232100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233100ae103Smrg  (exit $ac_status); }; then
2234100ae103Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2235100ae103Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2236100ae103Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
2237100ae103Smrg# `rm'.
2238100ae103Smrgfor ac_file in conftest.exe conftest conftest.*; do
2239100ae103Smrg  test -f "$ac_file" || continue
2240100ae103Smrg  case $ac_file in
2241100ae103Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2242100ae103Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2243100ae103Smrg	  export ac_cv_exeext
2244100ae103Smrg	  break;;
2245100ae103Smrg    * ) break;;
2246100ae103Smrg  esac
2247100ae103Smrgdone
2248100ae103Smrgelse
2249100ae103Smrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2250100ae103SmrgSee \`config.log' for more details." >&5
2251100ae103Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
2252100ae103SmrgSee \`config.log' for more details." >&2;}
2253100ae103Smrg   { (exit 1); exit 1; }; }
2254100ae103Smrgfi
2255100ae103Smrg
2256100ae103Smrgrm -f conftest$ac_cv_exeext
2257100ae103Smrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2258100ae103Smrgecho "${ECHO_T}$ac_cv_exeext" >&6
2259100ae103Smrg
2260100ae103Smrgrm -f conftest.$ac_ext
2261100ae103SmrgEXEEXT=$ac_cv_exeext
2262100ae103Smrgac_exeext=$EXEEXT
2263100ae103Smrgecho "$as_me:$LINENO: checking for suffix of object files" >&5
2264100ae103Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2265100ae103Smrgif test "${ac_cv_objext+set}" = set; then
2266100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2267100ae103Smrgelse
2268100ae103Smrg  cat >conftest.$ac_ext <<_ACEOF
2269100ae103Smrg/* confdefs.h.  */
2270100ae103Smrg_ACEOF
2271100ae103Smrgcat confdefs.h >>conftest.$ac_ext
2272100ae103Smrgcat >>conftest.$ac_ext <<_ACEOF
2273100ae103Smrg/* end confdefs.h.  */
2274100ae103Smrg
2275100ae103Smrgint
2276100ae103Smrgmain ()
2277100ae103Smrg{
2278100ae103Smrg
2279100ae103Smrg  ;
2280100ae103Smrg  return 0;
2281100ae103Smrg}
2282100ae103Smrg_ACEOF
2283100ae103Smrgrm -f conftest.o conftest.obj
2284100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2285100ae103Smrg  (eval $ac_compile) 2>&5
2286100ae103Smrg  ac_status=$?
2287100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288100ae103Smrg  (exit $ac_status); }; then
2289100ae103Smrg  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2290100ae103Smrg  case $ac_file in
2291100ae103Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2292100ae103Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2293100ae103Smrg       break;;
2294100ae103Smrg  esac
2295100ae103Smrgdone
2296100ae103Smrgelse
2297100ae103Smrg  echo "$as_me: failed program was:" >&5
2298100ae103Smrgsed 's/^/| /' conftest.$ac_ext >&5
2299100ae103Smrg
2300100ae103Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2301100ae103SmrgSee \`config.log' for more details." >&5
2302100ae103Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
2303100ae103SmrgSee \`config.log' for more details." >&2;}
2304100ae103Smrg   { (exit 1); exit 1; }; }
2305100ae103Smrgfi
2306100ae103Smrg
2307100ae103Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
2308100ae103Smrgfi
2309100ae103Smrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5
2310100ae103Smrgecho "${ECHO_T}$ac_cv_objext" >&6
2311100ae103SmrgOBJEXT=$ac_cv_objext
2312100ae103Smrgac_objext=$OBJEXT
2313100ae103Smrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2314100ae103Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2315100ae103Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
2316100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2317100ae103Smrgelse
2318100ae103Smrg  cat >conftest.$ac_ext <<_ACEOF
2319100ae103Smrg/* confdefs.h.  */
2320100ae103Smrg_ACEOF
2321100ae103Smrgcat confdefs.h >>conftest.$ac_ext
2322100ae103Smrgcat >>conftest.$ac_ext <<_ACEOF
2323100ae103Smrg/* end confdefs.h.  */
2324100ae103Smrg
2325100ae103Smrgint
2326100ae103Smrgmain ()
2327100ae103Smrg{
2328100ae103Smrg#ifndef __GNUC__
2329100ae103Smrg       choke me
2330100ae103Smrg#endif
2331100ae103Smrg
2332100ae103Smrg  ;
2333100ae103Smrg  return 0;
2334100ae103Smrg}
2335100ae103Smrg_ACEOF
2336100ae103Smrgrm -f conftest.$ac_objext
2337100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2338100ae103Smrg  (eval $ac_compile) 2>conftest.er1
2339100ae103Smrg  ac_status=$?
2340100ae103Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2341100ae103Smrg  rm -f conftest.er1
2342100ae103Smrg  cat conftest.err >&5
2343100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344100ae103Smrg  (exit $ac_status); } &&
2345100ae103Smrg	 { ac_try='test -z "$ac_c_werror_flag"
2346100ae103Smrg			 || test ! -s conftest.err'
2347100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348100ae103Smrg  (eval $ac_try) 2>&5
2349100ae103Smrg  ac_status=$?
2350100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351100ae103Smrg  (exit $ac_status); }; } &&
2352100ae103Smrg	 { ac_try='test -s conftest.$ac_objext'
2353100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354100ae103Smrg  (eval $ac_try) 2>&5
2355100ae103Smrg  ac_status=$?
2356100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357100ae103Smrg  (exit $ac_status); }; }; then
2358100ae103Smrg  ac_compiler_gnu=yes
2359100ae103Smrgelse
2360100ae103Smrg  echo "$as_me: failed program was:" >&5
2361100ae103Smrgsed 's/^/| /' conftest.$ac_ext >&5
2362100ae103Smrg
2363100ae103Smrgac_compiler_gnu=no
2364100ae103Smrgfi
2365100ae103Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2366100ae103Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
2367100ae103Smrg
2368100ae103Smrgfi
2369100ae103Smrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2370100ae103Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2371100ae103SmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
2372100ae103Smrgac_test_CFLAGS=${CFLAGS+set}
2373100ae103Smrgac_save_CFLAGS=$CFLAGS
2374100ae103SmrgCFLAGS="-g"
2375100ae103Smrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2376100ae103Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2377100ae103Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
2378100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2379100ae103Smrgelse
2380100ae103Smrg  cat >conftest.$ac_ext <<_ACEOF
2381100ae103Smrg/* confdefs.h.  */
2382100ae103Smrg_ACEOF
2383100ae103Smrgcat confdefs.h >>conftest.$ac_ext
2384100ae103Smrgcat >>conftest.$ac_ext <<_ACEOF
2385100ae103Smrg/* end confdefs.h.  */
2386100ae103Smrg
2387100ae103Smrgint
2388100ae103Smrgmain ()
2389100ae103Smrg{
2390100ae103Smrg
2391100ae103Smrg  ;
2392100ae103Smrg  return 0;
2393100ae103Smrg}
2394100ae103Smrg_ACEOF
2395100ae103Smrgrm -f conftest.$ac_objext
2396100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2397100ae103Smrg  (eval $ac_compile) 2>conftest.er1
2398100ae103Smrg  ac_status=$?
2399100ae103Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2400100ae103Smrg  rm -f conftest.er1
2401100ae103Smrg  cat conftest.err >&5
2402100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403100ae103Smrg  (exit $ac_status); } &&
2404100ae103Smrg	 { ac_try='test -z "$ac_c_werror_flag"
2405100ae103Smrg			 || test ! -s conftest.err'
2406100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407100ae103Smrg  (eval $ac_try) 2>&5
2408100ae103Smrg  ac_status=$?
2409100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410100ae103Smrg  (exit $ac_status); }; } &&
2411100ae103Smrg	 { ac_try='test -s conftest.$ac_objext'
2412100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413100ae103Smrg  (eval $ac_try) 2>&5
2414100ae103Smrg  ac_status=$?
2415100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416100ae103Smrg  (exit $ac_status); }; }; then
2417100ae103Smrg  ac_cv_prog_cc_g=yes
2418100ae103Smrgelse
2419100ae103Smrg  echo "$as_me: failed program was:" >&5
2420100ae103Smrgsed 's/^/| /' conftest.$ac_ext >&5
2421100ae103Smrg
2422100ae103Smrgac_cv_prog_cc_g=no
2423100ae103Smrgfi
2424100ae103Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2425100ae103Smrgfi
2426100ae103Smrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2427100ae103Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
2428100ae103Smrgif test "$ac_test_CFLAGS" = set; then
2429100ae103Smrg  CFLAGS=$ac_save_CFLAGS
2430100ae103Smrgelif test $ac_cv_prog_cc_g = yes; then
2431100ae103Smrg  if test "$GCC" = yes; then
2432100ae103Smrg    CFLAGS="-g -O2"
2433100ae103Smrg  else
2434100ae103Smrg    CFLAGS="-g"
2435100ae103Smrg  fi
2436100ae103Smrgelse
2437100ae103Smrg  if test "$GCC" = yes; then
2438100ae103Smrg    CFLAGS="-O2"
2439100ae103Smrg  else
2440100ae103Smrg    CFLAGS=
2441100ae103Smrg  fi
2442100ae103Smrgfi
2443100ae103Smrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2444100ae103Smrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2445100ae103Smrgif test "${ac_cv_prog_cc_stdc+set}" = set; then
2446100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2447100ae103Smrgelse
2448100ae103Smrg  ac_cv_prog_cc_stdc=no
2449100ae103Smrgac_save_CC=$CC
2450100ae103Smrgcat >conftest.$ac_ext <<_ACEOF
2451100ae103Smrg/* confdefs.h.  */
2452100ae103Smrg_ACEOF
2453100ae103Smrgcat confdefs.h >>conftest.$ac_ext
2454100ae103Smrgcat >>conftest.$ac_ext <<_ACEOF
2455100ae103Smrg/* end confdefs.h.  */
2456100ae103Smrg#include <stdarg.h>
2457100ae103Smrg#include <stdio.h>
2458100ae103Smrg#include <sys/types.h>
2459100ae103Smrg#include <sys/stat.h>
2460100ae103Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2461100ae103Smrgstruct buf { int x; };
2462100ae103SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
2463100ae103Smrgstatic char *e (p, i)
2464100ae103Smrg     char **p;
2465100ae103Smrg     int i;
2466100ae103Smrg{
2467100ae103Smrg  return p[i];
2468100ae103Smrg}
2469100ae103Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
2470100ae103Smrg{
2471100ae103Smrg  char *s;
2472100ae103Smrg  va_list v;
2473100ae103Smrg  va_start (v,p);
2474100ae103Smrg  s = g (p, va_arg (v,int));
2475100ae103Smrg  va_end (v);
2476100ae103Smrg  return s;
2477100ae103Smrg}
2478100ae103Smrg
2479100ae103Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2480100ae103Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
2481100ae103Smrg   These don't provoke an error unfortunately, instead are silently treated
2482100ae103Smrg   as 'x'.  The following induces an error, until -std1 is added to get
2483100ae103Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2484100ae103Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
2485100ae103Smrg   that's true only with -std1.  */
2486100ae103Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
2487100ae103Smrg
2488100ae103Smrgint test (int i, double x);
2489100ae103Smrgstruct s1 {int (*f) (int a);};
2490100ae103Smrgstruct s2 {int (*f) (double a);};
2491100ae103Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2492100ae103Smrgint argc;
2493100ae103Smrgchar **argv;
2494100ae103Smrgint
2495100ae103Smrgmain ()
2496100ae103Smrg{
2497100ae103Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2498100ae103Smrg  ;
2499100ae103Smrg  return 0;
2500100ae103Smrg}
2501100ae103Smrg_ACEOF
2502100ae103Smrg# Don't try gcc -ansi; that turns off useful extensions and
2503100ae103Smrg# breaks some systems' header files.
2504100ae103Smrg# AIX			-qlanglvl=ansi
2505100ae103Smrg# Ultrix and OSF/1	-std1
2506100ae103Smrg# HP-UX 10.20 and later	-Ae
2507100ae103Smrg# HP-UX older versions	-Aa -D_HPUX_SOURCE
2508100ae103Smrg# SVR4			-Xc -D__EXTENSIONS__
2509100ae103Smrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2510100ae103Smrgdo
2511100ae103Smrg  CC="$ac_save_CC $ac_arg"
2512100ae103Smrg  rm -f conftest.$ac_objext
2513100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2514100ae103Smrg  (eval $ac_compile) 2>conftest.er1
2515100ae103Smrg  ac_status=$?
2516100ae103Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2517100ae103Smrg  rm -f conftest.er1
2518100ae103Smrg  cat conftest.err >&5
2519100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520100ae103Smrg  (exit $ac_status); } &&
2521100ae103Smrg	 { ac_try='test -z "$ac_c_werror_flag"
2522100ae103Smrg			 || test ! -s conftest.err'
2523100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524100ae103Smrg  (eval $ac_try) 2>&5
2525100ae103Smrg  ac_status=$?
2526100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527100ae103Smrg  (exit $ac_status); }; } &&
2528100ae103Smrg	 { ac_try='test -s conftest.$ac_objext'
2529100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530100ae103Smrg  (eval $ac_try) 2>&5
2531100ae103Smrg  ac_status=$?
2532100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533100ae103Smrg  (exit $ac_status); }; }; then
2534100ae103Smrg  ac_cv_prog_cc_stdc=$ac_arg
2535100ae103Smrgbreak
2536100ae103Smrgelse
2537100ae103Smrg  echo "$as_me: failed program was:" >&5
2538100ae103Smrgsed 's/^/| /' conftest.$ac_ext >&5
2539100ae103Smrg
2540100ae103Smrgfi
2541100ae103Smrgrm -f conftest.err conftest.$ac_objext
2542100ae103Smrgdone
2543100ae103Smrgrm -f conftest.$ac_ext conftest.$ac_objext
2544100ae103SmrgCC=$ac_save_CC
2545100ae103Smrg
2546100ae103Smrgfi
2547100ae103Smrg
2548100ae103Smrgcase "x$ac_cv_prog_cc_stdc" in
2549100ae103Smrg  x|xno)
2550100ae103Smrg    echo "$as_me:$LINENO: result: none needed" >&5
2551100ae103Smrgecho "${ECHO_T}none needed" >&6 ;;
2552100ae103Smrg  *)
2553100ae103Smrg    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2554100ae103Smrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2555100ae103Smrg    CC="$CC $ac_cv_prog_cc_stdc" ;;
2556100ae103Smrgesac
2557100ae103Smrg
2558100ae103Smrg# Some people use a C++ compiler to compile C.  Since we use `exit',
2559100ae103Smrg# in C++ we need to declare it.  In case someone uses the same compiler
2560100ae103Smrg# for both compiling C and C++ we need to have the C++ compiler decide
2561100ae103Smrg# the declaration of exit, since it's the most demanding environment.
2562100ae103Smrgcat >conftest.$ac_ext <<_ACEOF
2563100ae103Smrg#ifndef __cplusplus
2564100ae103Smrg  choke me
2565100ae103Smrg#endif
2566100ae103Smrg_ACEOF
2567100ae103Smrgrm -f conftest.$ac_objext
2568100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2569100ae103Smrg  (eval $ac_compile) 2>conftest.er1
2570100ae103Smrg  ac_status=$?
2571100ae103Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2572100ae103Smrg  rm -f conftest.er1
2573100ae103Smrg  cat conftest.err >&5
2574100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575100ae103Smrg  (exit $ac_status); } &&
2576100ae103Smrg	 { ac_try='test -z "$ac_c_werror_flag"
2577100ae103Smrg			 || test ! -s conftest.err'
2578100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579100ae103Smrg  (eval $ac_try) 2>&5
2580100ae103Smrg  ac_status=$?
2581100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582100ae103Smrg  (exit $ac_status); }; } &&
2583100ae103Smrg	 { ac_try='test -s conftest.$ac_objext'
2584100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585100ae103Smrg  (eval $ac_try) 2>&5
2586100ae103Smrg  ac_status=$?
2587100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588100ae103Smrg  (exit $ac_status); }; }; then
2589100ae103Smrg  for ac_declaration in \
2590100ae103Smrg   '' \
2591100ae103Smrg   'extern "C" void std::exit (int) throw (); using std::exit;' \
2592100ae103Smrg   'extern "C" void std::exit (int); using std::exit;' \
2593100ae103Smrg   'extern "C" void exit (int) throw ();' \
2594100ae103Smrg   'extern "C" void exit (int);' \
2595100ae103Smrg   'void exit (int);'
2596100ae103Smrgdo
2597100ae103Smrg  cat >conftest.$ac_ext <<_ACEOF
2598100ae103Smrg/* confdefs.h.  */
2599100ae103Smrg_ACEOF
2600100ae103Smrgcat confdefs.h >>conftest.$ac_ext
2601100ae103Smrgcat >>conftest.$ac_ext <<_ACEOF
2602100ae103Smrg/* end confdefs.h.  */
2603100ae103Smrg$ac_declaration
2604100ae103Smrg#include <stdlib.h>
2605100ae103Smrgint
2606100ae103Smrgmain ()
2607100ae103Smrg{
2608100ae103Smrgexit (42);
2609100ae103Smrg  ;
2610100ae103Smrg  return 0;
2611100ae103Smrg}
2612100ae103Smrg_ACEOF
2613100ae103Smrgrm -f conftest.$ac_objext
2614100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2615100ae103Smrg  (eval $ac_compile) 2>conftest.er1
2616100ae103Smrg  ac_status=$?
2617100ae103Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2618100ae103Smrg  rm -f conftest.er1
2619100ae103Smrg  cat conftest.err >&5
2620100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621100ae103Smrg  (exit $ac_status); } &&
2622100ae103Smrg	 { ac_try='test -z "$ac_c_werror_flag"
2623100ae103Smrg			 || test ! -s conftest.err'
2624100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625100ae103Smrg  (eval $ac_try) 2>&5
2626100ae103Smrg  ac_status=$?
2627100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628100ae103Smrg  (exit $ac_status); }; } &&
2629100ae103Smrg	 { ac_try='test -s conftest.$ac_objext'
2630100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631100ae103Smrg  (eval $ac_try) 2>&5
2632100ae103Smrg  ac_status=$?
2633100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634100ae103Smrg  (exit $ac_status); }; }; then
2635100ae103Smrg  :
2636100ae103Smrgelse
2637100ae103Smrg  echo "$as_me: failed program was:" >&5
2638100ae103Smrgsed 's/^/| /' conftest.$ac_ext >&5
2639100ae103Smrg
2640100ae103Smrgcontinue
2641100ae103Smrgfi
2642100ae103Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2643100ae103Smrg  cat >conftest.$ac_ext <<_ACEOF
2644100ae103Smrg/* confdefs.h.  */
2645100ae103Smrg_ACEOF
2646100ae103Smrgcat confdefs.h >>conftest.$ac_ext
2647100ae103Smrgcat >>conftest.$ac_ext <<_ACEOF
2648100ae103Smrg/* end confdefs.h.  */
2649100ae103Smrg$ac_declaration
2650100ae103Smrgint
2651100ae103Smrgmain ()
2652100ae103Smrg{
2653100ae103Smrgexit (42);
2654100ae103Smrg  ;
2655100ae103Smrg  return 0;
2656100ae103Smrg}
2657100ae103Smrg_ACEOF
2658100ae103Smrgrm -f conftest.$ac_objext
2659100ae103Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2660100ae103Smrg  (eval $ac_compile) 2>conftest.er1
2661100ae103Smrg  ac_status=$?
2662100ae103Smrg  grep -v '^ *+' conftest.er1 >conftest.err
2663100ae103Smrg  rm -f conftest.er1
2664100ae103Smrg  cat conftest.err >&5
2665100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666100ae103Smrg  (exit $ac_status); } &&
2667100ae103Smrg	 { ac_try='test -z "$ac_c_werror_flag"
2668100ae103Smrg			 || test ! -s conftest.err'
2669100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670100ae103Smrg  (eval $ac_try) 2>&5
2671100ae103Smrg  ac_status=$?
2672100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673100ae103Smrg  (exit $ac_status); }; } &&
2674100ae103Smrg	 { ac_try='test -s conftest.$ac_objext'
2675100ae103Smrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676100ae103Smrg  (eval $ac_try) 2>&5
2677100ae103Smrg  ac_status=$?
2678100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679100ae103Smrg  (exit $ac_status); }; }; then
2680100ae103Smrg  break
2681100ae103Smrgelse
2682100ae103Smrg  echo "$as_me: failed program was:" >&5
2683100ae103Smrgsed 's/^/| /' conftest.$ac_ext >&5
2684100ae103Smrg
2685100ae103Smrgfi
2686100ae103Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2687100ae103Smrgdone
2688100ae103Smrgrm -f conftest*
2689100ae103Smrgif test -n "$ac_declaration"; then
2690100ae103Smrg  echo '#ifdef __cplusplus' >>confdefs.h
2691100ae103Smrg  echo $ac_declaration      >>confdefs.h
2692100ae103Smrg  echo '#endif'             >>confdefs.h
2693100ae103Smrgfi
2694100ae103Smrg
2695100ae103Smrgelse
2696100ae103Smrg  echo "$as_me: failed program was:" >&5
2697100ae103Smrgsed 's/^/| /' conftest.$ac_ext >&5
2698100ae103Smrg
2699100ae103Smrgfi
2700100ae103Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2701100ae103Smrgac_ext=c
2702100ae103Smrgac_cpp='$CPP $CPPFLAGS'
2703100ae103Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2704100ae103Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2705100ae103Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2706100ae103SmrgDEPDIR="${am__leading_dot}deps"
2707100ae103Smrg
2708100ae103Smrg          ac_config_commands="$ac_config_commands depfiles"
2709100ae103Smrg
2710100ae103Smrg
2711100ae103Smrgam_make=${MAKE-make}
2712100ae103Smrgcat > confinc << 'END'
2713100ae103Smrgam__doit:
2714100ae103Smrg	@echo done
2715100ae103Smrg.PHONY: am__doit
2716100ae103SmrgEND
2717100ae103Smrg# If we don't find an include directive, just comment out the code.
2718100ae103Smrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2719100ae103Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2720100ae103Smrgam__include="#"
2721100ae103Smrgam__quote=
2722100ae103Smrg_am_result=none
2723100ae103Smrg# First try GNU make style include.
2724100ae103Smrgecho "include confinc" > confmf
2725100ae103Smrg# We grep out `Entering directory' and `Leaving directory'
2726100ae103Smrg# messages which can occur if `w' ends up in MAKEFLAGS.
2727100ae103Smrg# In particular we don't look at `^make:' because GNU make might
2728100ae103Smrg# be invoked under some other name (usually "gmake"), in which
2729100ae103Smrg# case it prints its new name instead of `make'.
2730100ae103Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2731100ae103Smrg   am__include=include
2732100ae103Smrg   am__quote=
2733100ae103Smrg   _am_result=GNU
2734100ae103Smrgfi
2735100ae103Smrg# Now try BSD make style include.
2736100ae103Smrgif test "$am__include" = "#"; then
2737100ae103Smrg   echo '.include "confinc"' > confmf
2738100ae103Smrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2739100ae103Smrg      am__include=.include
2740100ae103Smrg      am__quote="\""
2741100ae103Smrg      _am_result=BSD
2742100ae103Smrg   fi
2743100ae103Smrgfi
2744100ae103Smrg
2745100ae103Smrg
2746100ae103Smrgecho "$as_me:$LINENO: result: $_am_result" >&5
2747100ae103Smrgecho "${ECHO_T}$_am_result" >&6
2748100ae103Smrgrm -f confinc confmf
2749100ae103Smrg
2750100ae103Smrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2751100ae103Smrgif test "${enable_dependency_tracking+set}" = set; then
2752100ae103Smrg  enableval="$enable_dependency_tracking"
2753100ae103Smrg
2754100ae103Smrgfi;
2755100ae103Smrgif test "x$enable_dependency_tracking" != xno; then
2756100ae103Smrg  am_depcomp="$ac_aux_dir/depcomp"
2757100ae103Smrg  AMDEPBACKSLASH='\'
2758100ae103Smrgfi
2759100ae103Smrg
2760100ae103Smrg
2761100ae103Smrgif test "x$enable_dependency_tracking" != xno; then
2762100ae103Smrg  AMDEP_TRUE=
2763100ae103Smrg  AMDEP_FALSE='#'
2764100ae103Smrgelse
2765100ae103Smrg  AMDEP_TRUE='#'
2766100ae103Smrg  AMDEP_FALSE=
2767100ae103Smrgfi
2768100ae103Smrg
2769100ae103Smrg
2770100ae103Smrg
2771100ae103Smrg
2772100ae103Smrgdepcc="$CC"   am_compiler_list=
2773100ae103Smrg
2774100ae103Smrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5
2775100ae103Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2776100ae103Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2777100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2778100ae103Smrgelse
2779100ae103Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2780100ae103Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
2781100ae103Smrg  # making bogus files that we don't know about and never remove.  For
2782100ae103Smrg  # instance it was reported that on HP-UX the gcc test will end up
2783100ae103Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
2784100ae103Smrg  # in D'.
2785100ae103Smrg  mkdir conftest.dir
2786100ae103Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
2787100ae103Smrg  # using a relative directory.
2788100ae103Smrg  cp "$am_depcomp" conftest.dir
2789100ae103Smrg  cd conftest.dir
2790100ae103Smrg  # We will build objects and dependencies in a subdirectory because
2791100ae103Smrg  # it helps to detect inapplicable dependency modes.  For instance
2792100ae103Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
2793100ae103Smrg  # side effect of compilation, but ICC will put the dependencies in
2794100ae103Smrg  # the current directory while Tru64 will put them in the object
2795100ae103Smrg  # directory.
2796100ae103Smrg  mkdir sub
2797100ae103Smrg
2798100ae103Smrg  am_cv_CC_dependencies_compiler_type=none
2799100ae103Smrg  if test "$am_compiler_list" = ""; then
2800100ae103Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2801100ae103Smrg  fi
2802100ae103Smrg  for depmode in $am_compiler_list; do
2803100ae103Smrg    # Setup a source with many dependencies, because some compilers
2804100ae103Smrg    # like to wrap large dependency lists on column 80 (with \), and
2805100ae103Smrg    # we should not choose a depcomp mode which is confused by this.
2806100ae103Smrg    #
2807100ae103Smrg    # We need to recreate these files for each test, as the compiler may
2808100ae103Smrg    # overwrite some of them when testing with obscure command lines.
2809100ae103Smrg    # This happens at least with the AIX C compiler.
2810100ae103Smrg    : > sub/conftest.c
2811100ae103Smrg    for i in 1 2 3 4 5 6; do
2812100ae103Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2813100ae103Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2814100ae103Smrg      # Solaris 8's {/usr,}/bin/sh.
2815100ae103Smrg      touch sub/conftst$i.h
2816100ae103Smrg    done
2817100ae103Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2818100ae103Smrg
2819100ae103Smrg    case $depmode in
2820100ae103Smrg    nosideeffect)
2821100ae103Smrg      # after this tag, mechanisms are not by side-effect, so they'll
2822100ae103Smrg      # only be used when explicitly requested
2823100ae103Smrg      if test "x$enable_dependency_tracking" = xyes; then
2824100ae103Smrg	continue
2825100ae103Smrg      else
2826100ae103Smrg	break
2827100ae103Smrg      fi
2828100ae103Smrg      ;;
2829100ae103Smrg    none) break ;;
2830100ae103Smrg    esac
2831100ae103Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2832100ae103Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
2833100ae103Smrg    # handle `-M -o', and we need to detect this.
2834100ae103Smrg    if depmode=$depmode \
2835100ae103Smrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2836100ae103Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2837100ae103Smrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2838100ae103Smrg         >/dev/null 2>conftest.err &&
2839100ae103Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2840100ae103Smrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2841100ae103Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2842100ae103Smrg      # icc doesn't choke on unknown options, it will just issue warnings
2843100ae103Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
2844100ae103Smrg      # that says an option was ignored or not supported.
2845100ae103Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
2846100ae103Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
2847100ae103Smrg      # The diagnosis changed in icc 8.0:
2848100ae103Smrg      #   icc: Command line remark: option '-MP' not supported
2849100ae103Smrg      if (grep 'ignoring option' conftest.err ||
2850100ae103Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2851100ae103Smrg        am_cv_CC_dependencies_compiler_type=$depmode
2852100ae103Smrg        break
2853100ae103Smrg      fi
2854100ae103Smrg    fi
2855100ae103Smrg  done
2856100ae103Smrg
2857100ae103Smrg  cd ..
2858100ae103Smrg  rm -rf conftest.dir
2859100ae103Smrgelse
2860100ae103Smrg  am_cv_CC_dependencies_compiler_type=none
2861100ae103Smrgfi
2862100ae103Smrg
2863100ae103Smrgfi
2864100ae103Smrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2865100ae103Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2866100ae103SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2867100ae103Smrg
2868100ae103Smrg
2869100ae103Smrg
2870100ae103Smrgif
2871100ae103Smrg  test "x$enable_dependency_tracking" != xno \
2872100ae103Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2873100ae103Smrg  am__fastdepCC_TRUE=
2874100ae103Smrg  am__fastdepCC_FALSE='#'
2875100ae103Smrgelse
2876100ae103Smrg  am__fastdepCC_TRUE='#'
2877100ae103Smrg  am__fastdepCC_FALSE=
2878100ae103Smrgfi
2879100ae103Smrg
2880100ae103Smrg
2881100ae103Smrg# Find a good install program.  We prefer a C program (faster),
2882100ae103Smrg# so one script is as good as another.  But avoid the broken or
2883100ae103Smrg# incompatible versions:
2884100ae103Smrg# SysV /etc/install, /usr/sbin/install
2885100ae103Smrg# SunOS /usr/etc/install
2886100ae103Smrg# IRIX /sbin/install
2887100ae103Smrg# AIX /bin/install
2888100ae103Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
2889100ae103Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2890100ae103Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2891100ae103Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2892100ae103Smrg# OS/2's system install, which has a completely different semantic
2893100ae103Smrg# ./install, which can be erroneously created by make from ./install.sh.
2894100ae103Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2895100ae103Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2896100ae103Smrgif test -z "$INSTALL"; then
2897100ae103Smrgif test "${ac_cv_path_install+set}" = set; then
2898100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2899100ae103Smrgelse
2900100ae103Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901100ae103Smrgfor as_dir in $PATH
2902100ae103Smrgdo
2903100ae103Smrg  IFS=$as_save_IFS
2904100ae103Smrg  test -z "$as_dir" && as_dir=.
2905100ae103Smrg  # Account for people who put trailing slashes in PATH elements.
2906100ae103Smrgcase $as_dir/ in
2907100ae103Smrg  ./ | .// | /cC/* | \
2908100ae103Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2909100ae103Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2910100ae103Smrg  /usr/ucb/* ) ;;
2911100ae103Smrg  *)
2912100ae103Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
2913100ae103Smrg    # Don't use installbsd from OSF since it installs stuff as root
2914100ae103Smrg    # by default.
2915100ae103Smrg    for ac_prog in ginstall scoinst install; do
2916100ae103Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
2917100ae103Smrg	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2918100ae103Smrg	  if test $ac_prog = install &&
2919100ae103Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2920100ae103Smrg	    # AIX install.  It has an incompatible calling convention.
2921100ae103Smrg	    :
2922100ae103Smrg	  elif test $ac_prog = install &&
2923100ae103Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2924100ae103Smrg	    # program-specific install script used by HP pwplus--don't use.
2925100ae103Smrg	    :
2926100ae103Smrg	  else
2927100ae103Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2928100ae103Smrg	    break 3
2929100ae103Smrg	  fi
2930100ae103Smrg	fi
2931100ae103Smrg      done
2932100ae103Smrg    done
2933100ae103Smrg    ;;
2934100ae103Smrgesac
2935100ae103Smrgdone
2936100ae103Smrg
2937100ae103Smrg
2938100ae103Smrgfi
2939100ae103Smrg  if test "${ac_cv_path_install+set}" = set; then
2940100ae103Smrg    INSTALL=$ac_cv_path_install
2941100ae103Smrg  else
2942100ae103Smrg    # As a last resort, use the slow shell script.  We don't cache a
2943100ae103Smrg    # path for INSTALL within a source directory, because that will
2944100ae103Smrg    # break other packages using the cache if that directory is
2945100ae103Smrg    # removed, or if the path is relative.
2946100ae103Smrg    INSTALL=$ac_install_sh
2947100ae103Smrg  fi
2948100ae103Smrgfi
2949100ae103Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5
2950100ae103Smrgecho "${ECHO_T}$INSTALL" >&6
2951100ae103Smrg
2952100ae103Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2953100ae103Smrg# It thinks the first close brace ends the variable substitution.
2954100ae103Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2955100ae103Smrg
2956100ae103Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2957100ae103Smrg
2958100ae103Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2959100ae103Smrg
2960100ae103Smrg
2961100ae103Smrg# Checks for pkg-config packages
2962100ae103Smrg
2963100ae103Smrg
2964100ae103Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2965100ae103Smrg	if test -n "$ac_tool_prefix"; then
2966100ae103Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2967100ae103Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2968100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
2969100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2970100ae103Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2971100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
2972100ae103Smrgelse
2973100ae103Smrg  case $PKG_CONFIG in
2974100ae103Smrg  [\\/]* | ?:[\\/]*)
2975100ae103Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2976100ae103Smrg  ;;
2977100ae103Smrg  *)
2978100ae103Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979100ae103Smrgfor as_dir in $PATH
2980100ae103Smrgdo
2981100ae103Smrg  IFS=$as_save_IFS
2982100ae103Smrg  test -z "$as_dir" && as_dir=.
2983100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
2984100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985100ae103Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2986100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2987100ae103Smrg    break 2
2988100ae103Smrg  fi
2989100ae103Smrgdone
2990100ae103Smrgdone
2991100ae103Smrg
2992100ae103Smrg  ;;
2993100ae103Smrgesac
2994100ae103Smrgfi
2995100ae103SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
2996100ae103Smrg
2997100ae103Smrgif test -n "$PKG_CONFIG"; then
2998100ae103Smrg  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2999100ae103Smrgecho "${ECHO_T}$PKG_CONFIG" >&6
3000100ae103Smrgelse
3001100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
3002100ae103Smrgecho "${ECHO_T}no" >&6
3003100ae103Smrgfi
3004100ae103Smrg
3005100ae103Smrgfi
3006100ae103Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
3007100ae103Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
3008100ae103Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
3009100ae103Smrgset dummy pkg-config; ac_word=$2
3010100ae103Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5
3011100ae103Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012100ae103Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3013100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3014100ae103Smrgelse
3015100ae103Smrg  case $ac_pt_PKG_CONFIG in
3016100ae103Smrg  [\\/]* | ?:[\\/]*)
3017100ae103Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3018100ae103Smrg  ;;
3019100ae103Smrg  *)
3020100ae103Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021100ae103Smrgfor as_dir in $PATH
3022100ae103Smrgdo
3023100ae103Smrg  IFS=$as_save_IFS
3024100ae103Smrg  test -z "$as_dir" && as_dir=.
3025100ae103Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
3026100ae103Smrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027100ae103Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3028100ae103Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3029100ae103Smrg    break 2
3030100ae103Smrg  fi
3031100ae103Smrgdone
3032100ae103Smrgdone
3033100ae103Smrg
3034100ae103Smrg  ;;
3035100ae103Smrgesac
3036100ae103Smrgfi
3037100ae103Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3038100ae103Smrg
3039100ae103Smrgif test -n "$ac_pt_PKG_CONFIG"; then
3040100ae103Smrg  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3041100ae103Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
3042100ae103Smrgelse
3043100ae103Smrg  echo "$as_me:$LINENO: result: no" >&5
3044100ae103Smrgecho "${ECHO_T}no" >&6
3045100ae103Smrgfi
3046100ae103Smrg
3047100ae103Smrg  PKG_CONFIG=$ac_pt_PKG_CONFIG
3048100ae103Smrgelse
3049100ae103Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3050100ae103Smrgfi
3051100ae103Smrg
3052100ae103Smrgfi
3053100ae103Smrgif test -n "$PKG_CONFIG"; then
3054100ae103Smrg	_pkg_min_version=0.9.0
3055100ae103Smrg	echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3056100ae103Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
3057100ae103Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3058100ae103Smrg		echo "$as_me:$LINENO: result: yes" >&5
3059100ae103Smrgecho "${ECHO_T}yes" >&6
3060100ae103Smrg	else
3061100ae103Smrg		echo "$as_me:$LINENO: result: no" >&5
3062100ae103Smrgecho "${ECHO_T}no" >&6
3063100ae103Smrg		PKG_CONFIG=""
3064100ae103Smrg	fi
3065100ae103Smrg
3066100ae103Smrgfi
3067100ae103Smrg
3068100ae103Smrg	# Check whether --enable-xprint or --disable-xprint was given.
3069100ae103Smrgif test "${enable_xprint+set}" = set; then
3070100ae103Smrg  enableval="$enable_xprint"
3071100ae103Smrg  use_xprint=$enableval
3072100ae103Smrgelse
3073100ae103Smrg  use_xprint=auto
3074100ae103Smrgfi;
3075100ae103Smrg	if test "x$use_xprint" = "xyes"; then
3076100ae103Smrg		TMP_CHECK1=xaw8
3077100ae103Smrg		TMP_CHECK2=
3078100ae103Smrg		xaw_use_xprint=yes
3079100ae103Smrg	elif test "x$use_xprint" = "xno"; then
3080100ae103Smrg		TMP_CHECK1=xaw7
3081100ae103Smrg		TMP_CHECK2=
3082100ae103Smrg		xaw_use_xprint=no
3083100ae103Smrg	else
3084100ae103Smrg		TMP_CHECK1=xaw8
3085100ae103Smrg		TMP_CHECK2=xaw7
3086100ae103Smrg		xaw_use_xprint=yes
3087100ae103Smrg	fi
3088100ae103Smrg
3089100ae103Smrg
3090100ae103Smrgpkg_failed=no
3091100ae103Smrgecho "$as_me:$LINENO: checking for TMP_XAW" >&5
3092100ae103Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6
3093100ae103Smrg
3094100ae103Smrgif test -n "$PKG_CONFIG"; then
3095100ae103Smrg    if test -n "$TMP_XAW_CFLAGS"; then
3096100ae103Smrg        pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
3097100ae103Smrg    else
3098100ae103Smrg        if test -n "$PKG_CONFIG" && \
3099100ae103Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
3100100ae103Smrg  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
3101100ae103Smrg  ac_status=$?
3102100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103100ae103Smrg  (exit $ac_status); }; then
3104100ae103Smrg  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null`
3105100ae103Smrgelse
3106100ae103Smrg  pkg_failed=yes
3107100ae103Smrgfi
3108100ae103Smrg    fi
3109100ae103Smrgelse
3110100ae103Smrg	pkg_failed=untried
3111100ae103Smrgfi
3112100ae103Smrgif test -n "$PKG_CONFIG"; then
3113100ae103Smrg    if test -n "$TMP_XAW_LIBS"; then
3114100ae103Smrg        pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
3115100ae103Smrg    else
3116100ae103Smrg        if test -n "$PKG_CONFIG" && \
3117100ae103Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
3118100ae103Smrg  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
3119100ae103Smrg  ac_status=$?
3120100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121100ae103Smrg  (exit $ac_status); }; then
3122100ae103Smrg  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null`
3123100ae103Smrgelse
3124100ae103Smrg  pkg_failed=yes
3125100ae103Smrgfi
3126100ae103Smrg    fi
3127100ae103Smrgelse
3128100ae103Smrg	pkg_failed=untried
3129100ae103Smrgfi
3130100ae103Smrg
3131100ae103Smrg
3132100ae103Smrg
3133100ae103Smrgif test $pkg_failed = yes; then
3134100ae103Smrg
3135100ae103Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3136100ae103Smrg        _pkg_short_errors_supported=yes
3137100ae103Smrgelse
3138100ae103Smrg        _pkg_short_errors_supported=no
3139100ae103Smrgfi
3140100ae103Smrg        if test $_pkg_short_errors_supported = yes; then
3141100ae103Smrg	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"`
3142100ae103Smrg        else
3143100ae103Smrg	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"`
3144100ae103Smrg        fi
3145100ae103Smrg	# Put the nasty error message in config.log where it belongs
3146100ae103Smrg	echo "$TMP_XAW_PKG_ERRORS" >&5
3147100ae103Smrg
3148100ae103Smrg	echo "$as_me:$LINENO: result: no" >&5
3149100ae103Smrgecho "${ECHO_T}no" >&6
3150100ae103Smrg                success=no
3151100ae103Smrgelif test $pkg_failed = untried; then
3152100ae103Smrg	success=no
3153100ae103Smrgelse
3154100ae103Smrg	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
3155100ae103Smrg	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
3156100ae103Smrg        echo "$as_me:$LINENO: result: yes" >&5
3157100ae103Smrgecho "${ECHO_T}yes" >&6
3158100ae103Smrg	success=yes
3159100ae103Smrgfi
3160100ae103Smrg	if [ ! -z $TMP_CHECK2 ] ; then
3161100ae103Smrg		if test $success = no ; then
3162100ae103Smrg
3163100ae103Smrgpkg_failed=no
3164100ae103Smrgecho "$as_me:$LINENO: checking for TMP_XAW" >&5
3165100ae103Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6
3166100ae103Smrg
3167100ae103Smrgif test -n "$PKG_CONFIG"; then
3168100ae103Smrg    if test -n "$TMP_XAW_CFLAGS"; then
3169100ae103Smrg        pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
3170100ae103Smrg    else
3171100ae103Smrg        if test -n "$PKG_CONFIG" && \
3172100ae103Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
3173100ae103Smrg  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
3174100ae103Smrg  ac_status=$?
3175100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176100ae103Smrg  (exit $ac_status); }; then
3177100ae103Smrg  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null`
3178100ae103Smrgelse
3179100ae103Smrg  pkg_failed=yes
3180100ae103Smrgfi
3181100ae103Smrg    fi
3182100ae103Smrgelse
3183100ae103Smrg	pkg_failed=untried
3184100ae103Smrgfi
3185100ae103Smrgif test -n "$PKG_CONFIG"; then
3186100ae103Smrg    if test -n "$TMP_XAW_LIBS"; then
3187100ae103Smrg        pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
3188100ae103Smrg    else
3189100ae103Smrg        if test -n "$PKG_CONFIG" && \
3190100ae103Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
3191100ae103Smrg  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
3192100ae103Smrg  ac_status=$?
3193100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194100ae103Smrg  (exit $ac_status); }; then
3195100ae103Smrg  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null`
3196100ae103Smrgelse
3197100ae103Smrg  pkg_failed=yes
3198100ae103Smrgfi
3199100ae103Smrg    fi
3200100ae103Smrgelse
3201100ae103Smrg	pkg_failed=untried
3202100ae103Smrgfi
3203100ae103Smrg
3204100ae103Smrg
3205100ae103Smrg
3206100ae103Smrgif test $pkg_failed = yes; then
3207100ae103Smrg
3208100ae103Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3209100ae103Smrg        _pkg_short_errors_supported=yes
3210100ae103Smrgelse
3211100ae103Smrg        _pkg_short_errors_supported=no
3212100ae103Smrgfi
3213100ae103Smrg        if test $_pkg_short_errors_supported = yes; then
3214100ae103Smrg	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"`
3215100ae103Smrg        else
3216100ae103Smrg	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"`
3217100ae103Smrg        fi
3218100ae103Smrg	# Put the nasty error message in config.log where it belongs
3219100ae103Smrg	echo "$TMP_XAW_PKG_ERRORS" >&5
3220100ae103Smrg
3221100ae103Smrg	echo "$as_me:$LINENO: result: no" >&5
3222100ae103Smrgecho "${ECHO_T}no" >&6
3223100ae103Smrg                success=no
3224100ae103Smrgelif test $pkg_failed = untried; then
3225100ae103Smrg	success=no
3226100ae103Smrgelse
3227100ae103Smrg	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
3228100ae103Smrg	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
3229100ae103Smrg        echo "$as_me:$LINENO: result: yes" >&5
3230100ae103Smrgecho "${ECHO_T}yes" >&6
3231100ae103Smrg	success=yes
3232100ae103Smrgfi
3233100ae103Smrg			xaw_use_xprint=no
3234100ae103Smrg		fi
3235100ae103Smrg	fi
3236100ae103Smrg
3237100ae103Smrg	if test "x$success" = "xyes"; then
3238100ae103Smrg		XMESSAGE_CFLAGS=$TMP_XAW_CFLAGS
3239100ae103Smrg		XMESSAGE_LIBS=$TMP_XAW_LIBS
3240100ae103Smrg
3241100ae103Smrg
3242100ae103Smrg
3243100ae103Smrgif test "x$xaw_use_xprint" = "xyes"; then
3244100ae103Smrg  XAW_USE_XPRINT_TRUE=
3245100ae103Smrg  XAW_USE_XPRINT_FALSE='#'
3246100ae103Smrgelse
3247100ae103Smrg  XAW_USE_XPRINT_TRUE='#'
3248100ae103Smrg  XAW_USE_XPRINT_FALSE=
3249100ae103Smrgfi
3250100ae103Smrg
3251100ae103Smrg	else
3252100ae103Smrg		{ { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5
3253100ae103Smrgecho "$as_me: error: No suitable version of Xaw found" >&2;}
3254100ae103Smrg   { (exit 1); exit 1; }; }
3255100ae103Smrg	fi
3256100ae103Smrg
3257100ae103Smrg
3258100ae103Smrg
3259100ae103Smrg
3260100ae103Smrg
3261100ae103Smrgpkg_failed=no
3262100ae103Smrgecho "$as_me:$LINENO: checking for APPDEFS" >&5
3263100ae103Smrgecho $ECHO_N "checking for APPDEFS... $ECHO_C" >&6
3264100ae103Smrg
3265100ae103Smrgif test -n "$PKG_CONFIG"; then
3266100ae103Smrg    if test -n "$APPDEFS_CFLAGS"; then
3267100ae103Smrg        pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
3268100ae103Smrg    else
3269100ae103Smrg        if test -n "$PKG_CONFIG" && \
3270100ae103Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
3271100ae103Smrg  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
3272100ae103Smrg  ac_status=$?
3273100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274100ae103Smrg  (exit $ac_status); }; then
3275100ae103Smrg  pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
3276100ae103Smrgelse
3277100ae103Smrg  pkg_failed=yes
3278100ae103Smrgfi
3279100ae103Smrg    fi
3280100ae103Smrgelse
3281100ae103Smrg	pkg_failed=untried
3282100ae103Smrgfi
3283100ae103Smrgif test -n "$PKG_CONFIG"; then
3284100ae103Smrg    if test -n "$APPDEFS_LIBS"; then
3285100ae103Smrg        pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
3286100ae103Smrg    else
3287100ae103Smrg        if test -n "$PKG_CONFIG" && \
3288100ae103Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
3289100ae103Smrg  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
3290100ae103Smrg  ac_status=$?
3291100ae103Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292100ae103Smrg  (exit $ac_status); }; then
3293100ae103Smrg  pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
3294100ae103Smrgelse
3295100ae103Smrg  pkg_failed=yes
3296100ae103Smrgfi
3297100ae103Smrg    fi
3298100ae103Smrgelse
3299100ae103Smrg	pkg_failed=untried
3300100ae103Smrgfi
3301100ae103Smrg
3302100ae103Smrg
3303100ae103Smrg
3304100ae103Smrgif test $pkg_failed = yes; then
3305100ae103Smrg
3306100ae103Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3307100ae103Smrg        _pkg_short_errors_supported=yes
3308100ae103Smrgelse
3309100ae103Smrg        _pkg_short_errors_supported=no
3310100ae103Smrgfi
3311100ae103Smrg        if test $_pkg_short_errors_supported = yes; then
3312100ae103Smrg	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xt"`
3313100ae103Smrg        else
3314100ae103Smrg	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
3315100ae103Smrg        fi
3316100ae103Smrg	# Put the nasty error message in config.log where it belongs
3317100ae103Smrg	echo "$APPDEFS_PKG_ERRORS" >&5
3318100ae103Smrg
3319100ae103Smrg	{ { echo "$as_me:$LINENO: error: Package requirements (xt) were not met:
3320100ae103Smrg
3321100ae103Smrg$APPDEFS_PKG_ERRORS
3322100ae103Smrg
3323100ae103SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
3324100ae103Smrginstalled software in a non-standard prefix.
3325100ae103Smrg
3326100ae103SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS
3327100ae103Smrgand APPDEFS_LIBS to avoid the need to call pkg-config.
3328100ae103SmrgSee the pkg-config man page for more details.
3329100ae103Smrg" >&5
3330100ae103Smrgecho "$as_me: error: Package requirements (xt) were not met:
3331100ae103Smrg
3332100ae103Smrg$APPDEFS_PKG_ERRORS
3333100ae103Smrg
3334100ae103SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
3335100ae103Smrginstalled software in a non-standard prefix.
3336100ae103Smrg
3337100ae103SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS
3338100ae103Smrgand APPDEFS_LIBS to avoid the need to call pkg-config.
3339100ae103SmrgSee the pkg-config man page for more details.
3340100ae103Smrg" >&2;}
3341100ae103Smrg   { (exit 1); exit 1; }; }
3342100ae103Smrgelif test $pkg_failed = untried; then
3343100ae103Smrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3344100ae103Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
3345100ae103Smrgpath to pkg-config.
3346100ae103Smrg
3347100ae103SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS
3348100ae103Smrgand APPDEFS_LIBS to avoid the need to call pkg-config.
3349100ae103SmrgSee the pkg-config man page for more details.
3350100ae103Smrg
3351100ae103SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3352100ae103SmrgSee \`config.log' for more details." >&5
3353100ae103Smrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3354100ae103Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
3355100ae103Smrgpath to pkg-config.
3356100ae103Smrg
3357100ae103SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS
3358100ae103Smrgand APPDEFS_LIBS to avoid the need to call pkg-config.
3359100ae103SmrgSee the pkg-config man page for more details.
3360100ae103Smrg
3361100ae103SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3362100ae103SmrgSee \`config.log' for more details." >&2;}
3363100ae103Smrg   { (exit 1); exit 1; }; }
3364100ae103Smrgelse
3365100ae103Smrg	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
3366100ae103Smrg	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
3367100ae103Smrg        echo "$as_me:$LINENO: result: yes" >&5
3368100ae103Smrgecho "${ECHO_T}yes" >&6
3369100ae103Smrg	:
3370100ae103Smrgfi
3371100ae103Smrgappdefaultdir=$(pkg-config --variable=appdefaultdir xt)
3372100ae103Smrg
3373100ae103Smrg
3374100ae103Smrg# Make sure we can run config.sub.
3375100ae103Smrg$ac_config_sub sun4 >/dev/null 2>&1 ||
3376100ae103Smrg  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3377100ae103Smrgecho "$as_me: error: cannot run $ac_config_sub" >&2;}
3378100ae103Smrg   { (exit 1); exit 1; }; }
3379100ae103Smrg
3380100ae103Smrgecho "$as_me:$LINENO: checking build system type" >&5
3381100ae103Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6
3382100ae103Smrgif test "${ac_cv_build+set}" = set; then
3383100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3384100ae103Smrgelse
3385100ae103Smrg  ac_cv_build_alias=$build_alias
3386100ae103Smrgtest -z "$ac_cv_build_alias" &&
3387100ae103Smrg  ac_cv_build_alias=`$ac_config_guess`
3388100ae103Smrgtest -z "$ac_cv_build_alias" &&
3389100ae103Smrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3390100ae103Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
3391100ae103Smrg   { (exit 1); exit 1; }; }
3392100ae103Smrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3393100ae103Smrg  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3394100ae103Smrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3395100ae103Smrg   { (exit 1); exit 1; }; }
3396100ae103Smrg
3397100ae103Smrgfi
3398100ae103Smrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5
3399100ae103Smrgecho "${ECHO_T}$ac_cv_build" >&6
3400100ae103Smrgbuild=$ac_cv_build
3401100ae103Smrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3402100ae103Smrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3403100ae103Smrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3404100ae103Smrg
3405100ae103Smrg
3406100ae103Smrgecho "$as_me:$LINENO: checking host system type" >&5
3407100ae103Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6
3408100ae103Smrgif test "${ac_cv_host+set}" = set; then
3409100ae103Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
3410100ae103Smrgelse
3411100ae103Smrg  ac_cv_host_alias=$host_alias
3412100ae103Smrgtest -z "$ac_cv_host_alias" &&
3413100ae103Smrg  ac_cv_host_alias=$ac_cv_build_alias
3414100ae103Smrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3415100ae103Smrg  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3416100ae103Smrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3417100ae103Smrg   { (exit 1); exit 1; }; }
3418100ae103Smrg
3419100ae103Smrgfi
3420100ae103Smrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5
3421100ae103Smrgecho "${ECHO_T}$ac_cv_host" >&6
3422100ae103Smrghost=$ac_cv_host
3423100ae103Smrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3424100ae103Smrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3425100ae103Smrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3426100ae103Smrg
3427100ae103Smrg
3428100ae103Smrg
3429100ae103Smrg
3430100ae103Smrg
3431100ae103Smrgif test x$APP_MAN_SUFFIX = x    ; then
3432100ae103Smrg    APP_MAN_SUFFIX=1
3433100ae103Smrgfi
3434100ae103Smrgif test x$APP_MAN_DIR = x    ; then
3435100ae103Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3436100ae103Smrgfi
3437100ae103Smrg
3438100ae103Smrgif test x$LIB_MAN_SUFFIX = x    ; then
3439100ae103Smrg    LIB_MAN_SUFFIX=3
3440100ae103Smrgfi
3441100ae103Smrgif test x$LIB_MAN_DIR = x    ; then
3442100ae103Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3443100ae103Smrgfi
3444100ae103Smrg
3445100ae103Smrgif test x$FILE_MAN_SUFFIX = x    ; then
3446100ae103Smrg    case $host_os in
3447100ae103Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
3448100ae103Smrg	*)		FILE_MAN_SUFFIX=5  ;;
3449100ae103Smrg    esac
3450100ae103Smrgfi
3451100ae103Smrgif test x$FILE_MAN_DIR = x    ; then
3452100ae103Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3453100ae103Smrgfi
3454100ae103Smrg
3455100ae103Smrgif test x$MISC_MAN_SUFFIX = x    ; then
3456100ae103Smrg    case $host_os in
3457100ae103Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
3458100ae103Smrg	*)		MISC_MAN_SUFFIX=7  ;;
3459100ae103Smrg    esac
3460100ae103Smrgfi
3461100ae103Smrgif test x$MISC_MAN_DIR = x    ; then
3462100ae103Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3463100ae103Smrgfi
3464100ae103Smrg
3465100ae103Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
3466100ae103Smrg    case $host_os in
3467100ae103Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
3468100ae103Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
3469100ae103Smrg    esac
3470100ae103Smrgfi
3471100ae103Smrgif test x$DRIVER_MAN_DIR = x    ; then
3472100ae103Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3473100ae103Smrgfi
3474100ae103Smrg
3475100ae103Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
3476100ae103Smrg    case $host_os in
3477100ae103Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
3478100ae103Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
3479100ae103Smrg    esac
3480100ae103Smrgfi
3481100ae103Smrgif test x$ADMIN_MAN_DIR = x    ; then
3482100ae103Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3483100ae103Smrgfi
3484100ae103Smrg
3485100ae103Smrg
3486100ae103Smrg
3487100ae103Smrg
3488100ae103Smrg
3489100ae103Smrg
3490100ae103Smrg
3491100ae103Smrg
3492100ae103Smrg
3493100ae103Smrg
3494100ae103Smrg
3495100ae103Smrg
3496100ae103Smrg
3497100ae103Smrg
3498100ae103Smrg
3499100ae103Smrg
3500100ae103Smrg
3501100ae103Smrg# Check whether --with-release-version or --without-release-version was given.
3502100ae103Smrgif test "${with_release_version+set}" = set; then
3503100ae103Smrg  withval="$with_release_version"
3504100ae103Smrg  RELEASE_VERSION="$withval"
3505100ae103Smrgelse
3506100ae103Smrg  RELEASE_VERSION=""
3507100ae103Smrgfi;
3508100ae103Smrg	if test "x$RELEASE_VERSION" != "x"; then
3509100ae103Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
3510100ae103Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3511100ae103Smrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3512100ae103Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
3513100ae103Smrg	fi
3514100ae103Smrg
3515100ae103Smrgcat >>confdefs.h <<_ACEOF
3516100ae103Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3517100ae103Smrg_ACEOF
3518100ae103Smrg
3519100ae103Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
3520100ae103Smrg	if test "x$PVM" = "x"; then
3521100ae103Smrg		PVM="0"
3522100ae103Smrg	fi
3523100ae103Smrg
3524100ae103Smrgcat >>confdefs.h <<_ACEOF
3525100ae103Smrg#define PACKAGE_VERSION_MINOR $PVM
3526100ae103Smrg_ACEOF
3527100ae103Smrg
3528100ae103Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
3529100ae103Smrg	if test "x$PVP" = "x"; then
3530100ae103Smrg		PVP="0"
3531100ae103Smrg	fi
3532100ae103Smrg
3533100ae103Smrgcat >>confdefs.h <<_ACEOF
3534100ae103Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
3535100ae103Smrg_ACEOF
3536100ae103Smrg
3537100ae103Smrg
3538100ae103Smrg
3539100ae103Smrg          ac_config_files="$ac_config_files Makefile"
3540100ae103Smrgcat >confcache <<\_ACEOF
3541100ae103Smrg# This file is a shell script that caches the results of configure
3542100ae103Smrg# tests run on this system so they can be shared between configure
3543100ae103Smrg# scripts and configure runs, see configure's option --config-cache.
3544100ae103Smrg# It is not useful on other systems.  If it contains results you don't
3545100ae103Smrg# want to keep, you may remove or edit it.
3546100ae103Smrg#
3547100ae103Smrg# config.status only pays attention to the cache file if you give it
3548100ae103Smrg# the --recheck option to rerun configure.
3549100ae103Smrg#
3550100ae103Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
3551100ae103Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
3552100ae103Smrg# following values.
3553100ae103Smrg
3554100ae103Smrg_ACEOF
3555100ae103Smrg
3556100ae103Smrg# The following way of writing the cache mishandles newlines in values,
3557100ae103Smrg# but we know of no workaround that is simple, portable, and efficient.
3558100ae103Smrg# So, don't put newlines in cache variables' values.
3559100ae103Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
3560100ae103Smrg# and sets the high bit in the cache file unless we assign to the vars.
3561100ae103Smrg{
3562100ae103Smrg  (set) 2>&1 |
3563100ae103Smrg    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3564100ae103Smrg    *ac_space=\ *)
3565100ae103Smrg      # `set' does not quote correctly, so add quotes (double-quote
3566100ae103Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
3567100ae103Smrg      sed -n \
3568100ae103Smrg	"s/'/'\\\\''/g;
3569100ae103Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3570100ae103Smrg      ;;
3571100ae103Smrg    *)
3572100ae103Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
3573100ae103Smrg      sed -n \
3574100ae103Smrg	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3575100ae103Smrg      ;;
3576100ae103Smrg    esac;
3577100ae103Smrg} |
3578100ae103Smrg  sed '
3579100ae103Smrg     t clear
3580100ae103Smrg     : clear
3581100ae103Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3582100ae103Smrg     t end
3583100ae103Smrg     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3584100ae103Smrg     : end' >>confcache
3585100ae103Smrgif diff $cache_file confcache >/dev/null 2>&1; then :; else
3586100ae103Smrg  if test -w $cache_file; then
3587100ae103Smrg    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3588100ae103Smrg    cat confcache >$cache_file
3589100ae103Smrg  else
3590100ae103Smrg    echo "not updating unwritable cache $cache_file"
3591100ae103Smrg  fi
3592100ae103Smrgfi
3593100ae103Smrgrm -f confcache
3594100ae103Smrg
3595100ae103Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
3596100ae103Smrg# Let make expand exec_prefix.
3597100ae103Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3598100ae103Smrg
3599100ae103Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
3600100ae103Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3601100ae103Smrg# trailing colons and then remove the whole line if VPATH becomes empty
3602100ae103Smrg# (actually we leave an empty line to preserve line numbers).
3603100ae103Smrgif test "x$srcdir" = x.; then
3604100ae103Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
3605100ae103Smrgs/:*\$(srcdir):*/:/;
3606100ae103Smrgs/:*\${srcdir}:*/:/;
3607100ae103Smrgs/:*@srcdir@:*/:/;
3608100ae103Smrgs/^\([^=]*=[	 ]*\):*/\1/;
3609100ae103Smrgs/:*$//;
3610100ae103Smrgs/^[^=]*=[	 ]*$//;
3611100ae103Smrg}'
3612100ae103Smrgfi
3613100ae103Smrg
3614100ae103SmrgDEFS=-DHAVE_CONFIG_H
3615100ae103Smrg
3616100ae103Smrgac_libobjs=
3617100ae103Smrgac_ltlibobjs=
3618100ae103Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3619100ae103Smrg  # 1. Remove the extension, and $U if already installed.
3620100ae103Smrg  ac_i=`echo "$ac_i" |
3621100ae103Smrg	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3622100ae103Smrg  # 2. Add them.
3623100ae103Smrg  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3624100ae103Smrg  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3625100ae103Smrgdone
3626100ae103SmrgLIBOBJS=$ac_libobjs
3627100ae103Smrg
3628100ae103SmrgLTLIBOBJS=$ac_ltlibobjs
3629100ae103Smrg
3630100ae103Smrg
3631100ae103Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3632100ae103Smrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3633100ae103SmrgUsually this means the macro was only invoked conditionally." >&5
3634100ae103Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3635100ae103SmrgUsually this means the macro was only invoked conditionally." >&2;}
3636100ae103Smrg   { (exit 1); exit 1; }; }
3637100ae103Smrgfi
3638100ae103Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3639100ae103Smrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3640100ae103SmrgUsually this means the macro was only invoked conditionally." >&5
3641100ae103Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
3642100ae103SmrgUsually this means the macro was only invoked conditionally." >&2;}
3643100ae103Smrg   { (exit 1); exit 1; }; }
3644100ae103Smrgfi
3645100ae103Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3646100ae103Smrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3647100ae103SmrgUsually this means the macro was only invoked conditionally." >&5
3648100ae103Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3649100ae103SmrgUsually this means the macro was only invoked conditionally." >&2;}
3650100ae103Smrg   { (exit 1); exit 1; }; }
3651100ae103Smrgfi
3652100ae103Smrgif test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then
3653100ae103Smrg  { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined.
3654100ae103SmrgUsually this means the macro was only invoked conditionally." >&5
3655100ae103Smrgecho "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined.
3656100ae103SmrgUsually this means the macro was only invoked conditionally." >&2;}
3657100ae103Smrg   { (exit 1); exit 1; }; }
3658100ae103Smrgfi
3659100ae103Smrg
3660100ae103Smrg: ${CONFIG_STATUS=./config.status}
3661100ae103Smrgac_clean_files_save=$ac_clean_files
3662100ae103Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
3663100ae103Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3664100ae103Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
3665100ae103Smrgcat >$CONFIG_STATUS <<_ACEOF
3666100ae103Smrg#! $SHELL
3667100ae103Smrg# Generated by $as_me.
3668100ae103Smrg# Run this file to recreate the current configuration.
3669100ae103Smrg# Compiler output produced by configure, useful for debugging
3670100ae103Smrg# configure, is in config.log if it exists.
3671100ae103Smrg
3672100ae103Smrgdebug=false
3673100ae103Smrgac_cs_recheck=false
3674100ae103Smrgac_cs_silent=false
3675100ae103SmrgSHELL=\${CONFIG_SHELL-$SHELL}
3676100ae103Smrg_ACEOF
3677100ae103Smrg
3678100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
3679100ae103Smrg## --------------------- ##
3680100ae103Smrg## M4sh Initialization.  ##
3681100ae103Smrg## --------------------- ##
3682100ae103Smrg
3683100ae103Smrg# Be Bourne compatible
3684100ae103Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3685100ae103Smrg  emulate sh
3686100ae103Smrg  NULLCMD=:
3687100ae103Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3688100ae103Smrg  # is contrary to our usage.  Disable this feature.
3689100ae103Smrg  alias -g '${1+"$@"}'='"$@"'
3690100ae103Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3691100ae103Smrg  set -o posix
3692100ae103Smrgfi
3693100ae103SmrgDUALCASE=1; export DUALCASE # for MKS sh
3694100ae103Smrg
3695100ae103Smrg# Support unset when possible.
3696100ae103Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3697100ae103Smrg  as_unset=unset
3698100ae103Smrgelse
3699100ae103Smrg  as_unset=false
3700100ae103Smrgfi
3701100ae103Smrg
3702100ae103Smrg
3703100ae103Smrg# Work around bugs in pre-3.0 UWIN ksh.
3704100ae103Smrg$as_unset ENV MAIL MAILPATH
3705100ae103SmrgPS1='$ '
3706100ae103SmrgPS2='> '
3707100ae103SmrgPS4='+ '
3708100ae103Smrg
3709100ae103Smrg# NLS nuisances.
3710100ae103Smrgfor as_var in \
3711100ae103Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3712100ae103Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3713100ae103Smrg  LC_TELEPHONE LC_TIME
3714100ae103Smrgdo
3715100ae103Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3716100ae103Smrg    eval $as_var=C; export $as_var
3717100ae103Smrg  else
3718100ae103Smrg    $as_unset $as_var
3719100ae103Smrg  fi
3720100ae103Smrgdone
3721100ae103Smrg
3722100ae103Smrg# Required to use basename.
3723100ae103Smrgif expr a : '\(a\)' >/dev/null 2>&1; then
3724100ae103Smrg  as_expr=expr
3725100ae103Smrgelse
3726100ae103Smrg  as_expr=false
3727100ae103Smrgfi
3728100ae103Smrg
3729100ae103Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3730100ae103Smrg  as_basename=basename
3731100ae103Smrgelse
3732100ae103Smrg  as_basename=false
3733100ae103Smrgfi
3734100ae103Smrg
3735100ae103Smrg
3736100ae103Smrg# Name of the executable.
3737100ae103Smrgas_me=`$as_basename "$0" ||
3738100ae103Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3739100ae103Smrg	 X"$0" : 'X\(//\)$' \| \
3740100ae103Smrg	 X"$0" : 'X\(/\)$' \| \
3741100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
3742100ae103Smrgecho X/"$0" |
3743100ae103Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3744100ae103Smrg  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
3745100ae103Smrg  	  /^X\/\(\/\).*/{ s//\1/; q; }
3746100ae103Smrg  	  s/.*/./; q'`
3747100ae103Smrg
3748100ae103Smrg
3749100ae103Smrg# PATH needs CR, and LINENO needs CR and PATH.
3750100ae103Smrg# Avoid depending upon Character Ranges.
3751100ae103Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3752100ae103Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3753100ae103Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3754100ae103Smrgas_cr_digits='0123456789'
3755100ae103Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
3756100ae103Smrg
3757100ae103Smrg# The user is always right.
3758100ae103Smrgif test "${PATH_SEPARATOR+set}" != set; then
3759100ae103Smrg  echo "#! /bin/sh" >conf$$.sh
3760100ae103Smrg  echo  "exit 0"   >>conf$$.sh
3761100ae103Smrg  chmod +x conf$$.sh
3762100ae103Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3763100ae103Smrg    PATH_SEPARATOR=';'
3764100ae103Smrg  else
3765100ae103Smrg    PATH_SEPARATOR=:
3766100ae103Smrg  fi
3767100ae103Smrg  rm -f conf$$.sh
3768100ae103Smrgfi
3769100ae103Smrg
3770100ae103Smrg
3771100ae103Smrg  as_lineno_1=$LINENO
3772100ae103Smrg  as_lineno_2=$LINENO
3773100ae103Smrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3774100ae103Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3775100ae103Smrg  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3776100ae103Smrg  # Find who we are.  Look in the path if we contain no path at all
3777100ae103Smrg  # relative or not.
3778100ae103Smrg  case $0 in
3779100ae103Smrg    *[\\/]* ) as_myself=$0 ;;
3780100ae103Smrg    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781100ae103Smrgfor as_dir in $PATH
3782100ae103Smrgdo
3783100ae103Smrg  IFS=$as_save_IFS
3784100ae103Smrg  test -z "$as_dir" && as_dir=.
3785100ae103Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3786100ae103Smrgdone
3787100ae103Smrg
3788100ae103Smrg       ;;
3789100ae103Smrg  esac
3790100ae103Smrg  # We did not find ourselves, most probably we were run as `sh COMMAND'
3791100ae103Smrg  # in which case we are not to be found in the path.
3792100ae103Smrg  if test "x$as_myself" = x; then
3793100ae103Smrg    as_myself=$0
3794100ae103Smrg  fi
3795100ae103Smrg  if test ! -f "$as_myself"; then
3796100ae103Smrg    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3797100ae103Smrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3798100ae103Smrg   { (exit 1); exit 1; }; }
3799100ae103Smrg  fi
3800100ae103Smrg  case $CONFIG_SHELL in
3801100ae103Smrg  '')
3802100ae103Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803100ae103Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3804100ae103Smrgdo
3805100ae103Smrg  IFS=$as_save_IFS
3806100ae103Smrg  test -z "$as_dir" && as_dir=.
3807100ae103Smrg  for as_base in sh bash ksh sh5; do
3808100ae103Smrg	 case $as_dir in
3809100ae103Smrg	 /*)
3810100ae103Smrg	   if ("$as_dir/$as_base" -c '
3811100ae103Smrg  as_lineno_1=$LINENO
3812100ae103Smrg  as_lineno_2=$LINENO
3813100ae103Smrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3814100ae103Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3815100ae103Smrg  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3816100ae103Smrg	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3817100ae103Smrg	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3818100ae103Smrg	     CONFIG_SHELL=$as_dir/$as_base
3819100ae103Smrg	     export CONFIG_SHELL
3820100ae103Smrg	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3821100ae103Smrg	   fi;;
3822100ae103Smrg	 esac
3823100ae103Smrg       done
3824100ae103Smrgdone
3825100ae103Smrg;;
3826100ae103Smrg  esac
3827100ae103Smrg
3828100ae103Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3829100ae103Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
3830100ae103Smrg  # line-number line before each line; the second 'sed' does the real
3831100ae103Smrg  # work.  The second script uses 'N' to pair each line-number line
3832100ae103Smrg  # with the numbered line, and appends trailing '-' during
3833100ae103Smrg  # substitution so that $LINENO is not a special case at line end.
3834100ae103Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3835100ae103Smrg  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3836100ae103Smrg  sed '=' <$as_myself |
3837100ae103Smrg    sed '
3838100ae103Smrg      N
3839100ae103Smrg      s,$,-,
3840100ae103Smrg      : loop
3841100ae103Smrg      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3842100ae103Smrg      t loop
3843100ae103Smrg      s,-$,,
3844100ae103Smrg      s,^['$as_cr_digits']*\n,,
3845100ae103Smrg    ' >$as_me.lineno &&
3846100ae103Smrg  chmod +x $as_me.lineno ||
3847100ae103Smrg    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3848100ae103Smrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3849100ae103Smrg   { (exit 1); exit 1; }; }
3850100ae103Smrg
3851100ae103Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
3852100ae103Smrg  # (the dirname of $[0] is not the place where we might find the
3853100ae103Smrg  # original and so on.  Autoconf is especially sensible to this).
3854100ae103Smrg  . ./$as_me.lineno
3855100ae103Smrg  # Exit status is that of the last command.
3856100ae103Smrg  exit
3857100ae103Smrg}
3858100ae103Smrg
3859100ae103Smrg
3860100ae103Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3861100ae103Smrg  *c*,-n*) ECHO_N= ECHO_C='
3862100ae103Smrg' ECHO_T='	' ;;
3863100ae103Smrg  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3864100ae103Smrg  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3865100ae103Smrgesac
3866100ae103Smrg
3867100ae103Smrgif expr a : '\(a\)' >/dev/null 2>&1; then
3868100ae103Smrg  as_expr=expr
3869100ae103Smrgelse
3870100ae103Smrg  as_expr=false
3871100ae103Smrgfi
3872100ae103Smrg
3873100ae103Smrgrm -f conf$$ conf$$.exe conf$$.file
3874100ae103Smrgecho >conf$$.file
3875100ae103Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
3876100ae103Smrg  # We could just check for DJGPP; but this test a) works b) is more generic
3877100ae103Smrg  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3878100ae103Smrg  if test -f conf$$.exe; then
3879100ae103Smrg    # Don't use ln at all; we don't have any links
3880100ae103Smrg    as_ln_s='cp -p'
3881100ae103Smrg  else
3882100ae103Smrg    as_ln_s='ln -s'
3883100ae103Smrg  fi
3884100ae103Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
3885100ae103Smrg  as_ln_s=ln
3886100ae103Smrgelse
3887100ae103Smrg  as_ln_s='cp -p'
3888100ae103Smrgfi
3889100ae103Smrgrm -f conf$$ conf$$.exe conf$$.file
3890100ae103Smrg
3891100ae103Smrgif mkdir -p . 2>/dev/null; then
3892100ae103Smrg  as_mkdir_p=:
3893100ae103Smrgelse
3894100ae103Smrg  test -d ./-p && rmdir ./-p
3895100ae103Smrg  as_mkdir_p=false
3896100ae103Smrgfi
3897100ae103Smrg
3898100ae103Smrgas_executable_p="test -f"
3899100ae103Smrg
3900100ae103Smrg# Sed expression to map a string onto a valid CPP name.
3901100ae103Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3902100ae103Smrg
3903100ae103Smrg# Sed expression to map a string onto a valid variable name.
3904100ae103Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3905100ae103Smrg
3906100ae103Smrg
3907100ae103Smrg# IFS
3908100ae103Smrg# We need space, tab and new line, in precisely that order.
3909100ae103Smrgas_nl='
3910100ae103Smrg'
3911100ae103SmrgIFS=" 	$as_nl"
3912100ae103Smrg
3913100ae103Smrg# CDPATH.
3914100ae103Smrg$as_unset CDPATH
3915100ae103Smrg
3916100ae103Smrgexec 6>&1
3917100ae103Smrg
3918100ae103Smrg# Open the log real soon, to keep \$[0] and so on meaningful, and to
3919100ae103Smrg# report actual input values of CONFIG_FILES etc. instead of their
3920100ae103Smrg# values after options handling.  Logging --version etc. is OK.
3921100ae103Smrgexec 5>>config.log
3922100ae103Smrg{
3923100ae103Smrg  echo
3924100ae103Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3925100ae103Smrg## Running $as_me. ##
3926100ae103Smrg_ASBOX
3927100ae103Smrg} >&5
3928100ae103Smrgcat >&5 <<_CSEOF
3929100ae103Smrg
3930100ae103SmrgThis file was extended by xmessage $as_me 1.0.2, which was
3931100ae103Smrggenerated by GNU Autoconf 2.59.  Invocation command line was
3932100ae103Smrg
3933100ae103Smrg  CONFIG_FILES    = $CONFIG_FILES
3934100ae103Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
3935100ae103Smrg  CONFIG_LINKS    = $CONFIG_LINKS
3936100ae103Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
3937100ae103Smrg  $ $0 $@
3938100ae103Smrg
3939100ae103Smrg_CSEOF
3940100ae103Smrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3941100ae103Smrgecho >&5
3942100ae103Smrg_ACEOF
3943100ae103Smrg
3944100ae103Smrg# Files that config.status was made for.
3945100ae103Smrgif test -n "$ac_config_files"; then
3946100ae103Smrg  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3947100ae103Smrgfi
3948100ae103Smrg
3949100ae103Smrgif test -n "$ac_config_headers"; then
3950100ae103Smrg  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3951100ae103Smrgfi
3952100ae103Smrg
3953100ae103Smrgif test -n "$ac_config_links"; then
3954100ae103Smrg  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3955100ae103Smrgfi
3956100ae103Smrg
3957100ae103Smrgif test -n "$ac_config_commands"; then
3958100ae103Smrg  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3959100ae103Smrgfi
3960100ae103Smrg
3961100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
3962100ae103Smrg
3963100ae103Smrgac_cs_usage="\
3964100ae103Smrg\`$as_me' instantiates files from templates according to the
3965100ae103Smrgcurrent configuration.
3966100ae103Smrg
3967100ae103SmrgUsage: $0 [OPTIONS] [FILE]...
3968100ae103Smrg
3969100ae103Smrg  -h, --help       print this help, then exit
3970100ae103Smrg  -V, --version    print version number, then exit
3971100ae103Smrg  -q, --quiet      do not print progress messages
3972100ae103Smrg  -d, --debug      don't remove temporary files
3973100ae103Smrg      --recheck    update $as_me by reconfiguring in the same conditions
3974100ae103Smrg  --file=FILE[:TEMPLATE]
3975100ae103Smrg		   instantiate the configuration file FILE
3976100ae103Smrg  --header=FILE[:TEMPLATE]
3977100ae103Smrg		   instantiate the configuration header FILE
3978100ae103Smrg
3979100ae103SmrgConfiguration files:
3980100ae103Smrg$config_files
3981100ae103Smrg
3982100ae103SmrgConfiguration headers:
3983100ae103Smrg$config_headers
3984100ae103Smrg
3985100ae103SmrgConfiguration commands:
3986100ae103Smrg$config_commands
3987100ae103Smrg
3988100ae103SmrgReport bugs to <bug-autoconf@gnu.org>."
3989100ae103Smrg_ACEOF
3990100ae103Smrg
3991100ae103Smrgcat >>$CONFIG_STATUS <<_ACEOF
3992100ae103Smrgac_cs_version="\\
3993100ae103Smrgxmessage config.status 1.0.2
3994100ae103Smrgconfigured by $0, generated by GNU Autoconf 2.59,
3995100ae103Smrg  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3996100ae103Smrg
3997100ae103SmrgCopyright (C) 2003 Free Software Foundation, Inc.
3998100ae103SmrgThis config.status script is free software; the Free Software Foundation
3999100ae103Smrggives unlimited permission to copy, distribute and modify it."
4000100ae103Smrgsrcdir=$srcdir
4001100ae103SmrgINSTALL="$INSTALL"
4002100ae103Smrg_ACEOF
4003100ae103Smrg
4004100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4005100ae103Smrg# If no file are specified by the user, then we need to provide default
4006100ae103Smrg# value.  By we need to know if files were specified by the user.
4007100ae103Smrgac_need_defaults=:
4008100ae103Smrgwhile test $# != 0
4009100ae103Smrgdo
4010100ae103Smrg  case $1 in
4011100ae103Smrg  --*=*)
4012100ae103Smrg    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4013100ae103Smrg    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4014100ae103Smrg    ac_shift=:
4015100ae103Smrg    ;;
4016100ae103Smrg  -*)
4017100ae103Smrg    ac_option=$1
4018100ae103Smrg    ac_optarg=$2
4019100ae103Smrg    ac_shift=shift
4020100ae103Smrg    ;;
4021100ae103Smrg  *) # This is not an option, so the user has probably given explicit
4022100ae103Smrg     # arguments.
4023100ae103Smrg     ac_option=$1
4024100ae103Smrg     ac_need_defaults=false;;
4025100ae103Smrg  esac
4026100ae103Smrg
4027100ae103Smrg  case $ac_option in
4028100ae103Smrg  # Handling of the options.
4029100ae103Smrg_ACEOF
4030100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4031100ae103Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4032100ae103Smrg    ac_cs_recheck=: ;;
4033100ae103Smrg  --version | --vers* | -V )
4034100ae103Smrg    echo "$ac_cs_version"; exit 0 ;;
4035100ae103Smrg  --he | --h)
4036100ae103Smrg    # Conflict between --help and --header
4037100ae103Smrg    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4038100ae103SmrgTry \`$0 --help' for more information." >&5
4039100ae103Smrgecho "$as_me: error: ambiguous option: $1
4040100ae103SmrgTry \`$0 --help' for more information." >&2;}
4041100ae103Smrg   { (exit 1); exit 1; }; };;
4042100ae103Smrg  --help | --hel | -h )
4043100ae103Smrg    echo "$ac_cs_usage"; exit 0 ;;
4044100ae103Smrg  --debug | --d* | -d )
4045100ae103Smrg    debug=: ;;
4046100ae103Smrg  --file | --fil | --fi | --f )
4047100ae103Smrg    $ac_shift
4048100ae103Smrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4049100ae103Smrg    ac_need_defaults=false;;
4050100ae103Smrg  --header | --heade | --head | --hea )
4051100ae103Smrg    $ac_shift
4052100ae103Smrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4053100ae103Smrg    ac_need_defaults=false;;
4054100ae103Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4055100ae103Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4056100ae103Smrg    ac_cs_silent=: ;;
4057100ae103Smrg
4058100ae103Smrg  # This is an error.
4059100ae103Smrg  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4060100ae103SmrgTry \`$0 --help' for more information." >&5
4061100ae103Smrgecho "$as_me: error: unrecognized option: $1
4062100ae103SmrgTry \`$0 --help' for more information." >&2;}
4063100ae103Smrg   { (exit 1); exit 1; }; } ;;
4064100ae103Smrg
4065100ae103Smrg  *) ac_config_targets="$ac_config_targets $1" ;;
4066100ae103Smrg
4067100ae103Smrg  esac
4068100ae103Smrg  shift
4069100ae103Smrgdone
4070100ae103Smrg
4071100ae103Smrgac_configure_extra_args=
4072100ae103Smrg
4073100ae103Smrgif $ac_cs_silent; then
4074100ae103Smrg  exec 6>/dev/null
4075100ae103Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
4076100ae103Smrgfi
4077100ae103Smrg
4078100ae103Smrg_ACEOF
4079100ae103Smrgcat >>$CONFIG_STATUS <<_ACEOF
4080100ae103Smrgif \$ac_cs_recheck; then
4081100ae103Smrg  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4082100ae103Smrg  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4083100ae103Smrgfi
4084100ae103Smrg
4085100ae103Smrg_ACEOF
4086100ae103Smrg
4087100ae103Smrgcat >>$CONFIG_STATUS <<_ACEOF
4088100ae103Smrg#
4089100ae103Smrg# INIT-COMMANDS section.
4090100ae103Smrg#
4091100ae103Smrg
4092100ae103SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4093100ae103Smrg
4094100ae103Smrg_ACEOF
4095100ae103Smrg
4096100ae103Smrg
4097100ae103Smrg
4098100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4099100ae103Smrgfor ac_config_target in $ac_config_targets
4100100ae103Smrgdo
4101100ae103Smrg  case "$ac_config_target" in
4102100ae103Smrg  # Handling of arguments.
4103100ae103Smrg  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4104100ae103Smrg  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4105100ae103Smrg  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4106100ae103Smrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4107100ae103Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
4108100ae103Smrg   { (exit 1); exit 1; }; };;
4109100ae103Smrg  esac
4110100ae103Smrgdone
4111100ae103Smrg
4112100ae103Smrg# If the user did not use the arguments to specify the items to instantiate,
4113100ae103Smrg# then the envvar interface is used.  Set only those that are not.
4114100ae103Smrg# We use the long form for the default assignment because of an extremely
4115100ae103Smrg# bizarre bug on SunOS 4.1.3.
4116100ae103Smrgif $ac_need_defaults; then
4117100ae103Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4118100ae103Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4119100ae103Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4120100ae103Smrgfi
4121100ae103Smrg
4122100ae103Smrg# Have a temporary directory for convenience.  Make it in the build tree
4123100ae103Smrg# simply because there is no reason to put it here, and in addition,
4124100ae103Smrg# creating and moving files from /tmp can sometimes cause problems.
4125100ae103Smrg# Create a temporary directory, and hook for its removal unless debugging.
4126100ae103Smrg$debug ||
4127100ae103Smrg{
4128100ae103Smrg  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4129100ae103Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
4130100ae103Smrg}
4131100ae103Smrg
4132100ae103Smrg# Create a (secure) tmp directory for tmp files.
4133100ae103Smrg
4134100ae103Smrg{
4135100ae103Smrg  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4136100ae103Smrg  test -n "$tmp" && test -d "$tmp"
4137100ae103Smrg}  ||
4138100ae103Smrg{
4139100ae103Smrg  tmp=./confstat$$-$RANDOM
4140100ae103Smrg  (umask 077 && mkdir $tmp)
4141100ae103Smrg} ||
4142100ae103Smrg{
4143100ae103Smrg   echo "$me: cannot create a temporary directory in ." >&2
4144100ae103Smrg   { (exit 1); exit 1; }
4145100ae103Smrg}
4146100ae103Smrg
4147100ae103Smrg_ACEOF
4148100ae103Smrg
4149100ae103Smrgcat >>$CONFIG_STATUS <<_ACEOF
4150100ae103Smrg
4151100ae103Smrg#
4152100ae103Smrg# CONFIG_FILES section.
4153100ae103Smrg#
4154100ae103Smrg
4155100ae103Smrg# No need to generate the scripts if there are no CONFIG_FILES.
4156100ae103Smrg# This happens for instance when ./config.status config.h
4157100ae103Smrgif test -n "\$CONFIG_FILES"; then
4158100ae103Smrg  # Protect against being on the right side of a sed subst in config.status.
4159100ae103Smrg  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4160100ae103Smrg   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4161100ae103Smrgs,@SHELL@,$SHELL,;t t
4162100ae103Smrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4163100ae103Smrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4164100ae103Smrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4165100ae103Smrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4166100ae103Smrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4167100ae103Smrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4168100ae103Smrgs,@exec_prefix@,$exec_prefix,;t t
4169100ae103Smrgs,@prefix@,$prefix,;t t
4170100ae103Smrgs,@program_transform_name@,$program_transform_name,;t t
4171100ae103Smrgs,@bindir@,$bindir,;t t
4172100ae103Smrgs,@sbindir@,$sbindir,;t t
4173100ae103Smrgs,@libexecdir@,$libexecdir,;t t
4174100ae103Smrgs,@datadir@,$datadir,;t t
4175100ae103Smrgs,@sysconfdir@,$sysconfdir,;t t
4176100ae103Smrgs,@sharedstatedir@,$sharedstatedir,;t t
4177100ae103Smrgs,@localstatedir@,$localstatedir,;t t
4178100ae103Smrgs,@libdir@,$libdir,;t t
4179100ae103Smrgs,@includedir@,$includedir,;t t
4180100ae103Smrgs,@oldincludedir@,$oldincludedir,;t t
4181100ae103Smrgs,@infodir@,$infodir,;t t
4182100ae103Smrgs,@mandir@,$mandir,;t t
4183100ae103Smrgs,@build_alias@,$build_alias,;t t
4184100ae103Smrgs,@host_alias@,$host_alias,;t t
4185100ae103Smrgs,@target_alias@,$target_alias,;t t
4186100ae103Smrgs,@DEFS@,$DEFS,;t t
4187100ae103Smrgs,@ECHO_C@,$ECHO_C,;t t
4188100ae103Smrgs,@ECHO_N@,$ECHO_N,;t t
4189100ae103Smrgs,@ECHO_T@,$ECHO_T,;t t
4190100ae103Smrgs,@LIBS@,$LIBS,;t t
4191100ae103Smrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4192100ae103Smrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4193100ae103Smrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t
4194100ae103Smrgs,@CYGPATH_W@,$CYGPATH_W,;t t
4195100ae103Smrgs,@PACKAGE@,$PACKAGE,;t t
4196100ae103Smrgs,@VERSION@,$VERSION,;t t
4197100ae103Smrgs,@ACLOCAL@,$ACLOCAL,;t t
4198100ae103Smrgs,@AUTOCONF@,$AUTOCONF,;t t
4199100ae103Smrgs,@AUTOMAKE@,$AUTOMAKE,;t t
4200100ae103Smrgs,@AUTOHEADER@,$AUTOHEADER,;t t
4201100ae103Smrgs,@MAKEINFO@,$MAKEINFO,;t t
4202100ae103Smrgs,@install_sh@,$install_sh,;t t
4203100ae103Smrgs,@STRIP@,$STRIP,;t t
4204100ae103Smrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4205100ae103Smrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4206100ae103Smrgs,@mkdir_p@,$mkdir_p,;t t
4207100ae103Smrgs,@AWK@,$AWK,;t t
4208100ae103Smrgs,@SET_MAKE@,$SET_MAKE,;t t
4209100ae103Smrgs,@am__leading_dot@,$am__leading_dot,;t t
4210100ae103Smrgs,@AMTAR@,$AMTAR,;t t
4211100ae103Smrgs,@am__tar@,$am__tar,;t t
4212100ae103Smrgs,@am__untar@,$am__untar,;t t
4213100ae103Smrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4214100ae103Smrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4215100ae103Smrgs,@MAINT@,$MAINT,;t t
4216100ae103Smrgs,@CC@,$CC,;t t
4217100ae103Smrgs,@CFLAGS@,$CFLAGS,;t t
4218100ae103Smrgs,@LDFLAGS@,$LDFLAGS,;t t
4219100ae103Smrgs,@CPPFLAGS@,$CPPFLAGS,;t t
4220100ae103Smrgs,@ac_ct_CC@,$ac_ct_CC,;t t
4221100ae103Smrgs,@EXEEXT@,$EXEEXT,;t t
4222100ae103Smrgs,@OBJEXT@,$OBJEXT,;t t
4223100ae103Smrgs,@DEPDIR@,$DEPDIR,;t t
4224100ae103Smrgs,@am__include@,$am__include,;t t
4225100ae103Smrgs,@am__quote@,$am__quote,;t t
4226100ae103Smrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4227100ae103Smrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4228100ae103Smrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4229100ae103Smrgs,@CCDEPMODE@,$CCDEPMODE,;t t
4230100ae103Smrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4231100ae103Smrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4232100ae103Smrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t
4233100ae103Smrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
4234100ae103Smrgs,@TMP_XAW_CFLAGS@,$TMP_XAW_CFLAGS,;t t
4235100ae103Smrgs,@TMP_XAW_LIBS@,$TMP_XAW_LIBS,;t t
4236100ae103Smrgs,@XAW_USE_XPRINT_TRUE@,$XAW_USE_XPRINT_TRUE,;t t
4237100ae103Smrgs,@XAW_USE_XPRINT_FALSE@,$XAW_USE_XPRINT_FALSE,;t t
4238100ae103Smrgs,@XMESSAGE_CFLAGS@,$XMESSAGE_CFLAGS,;t t
4239100ae103Smrgs,@XMESSAGE_LIBS@,$XMESSAGE_LIBS,;t t
4240100ae103Smrgs,@APPDEFS_CFLAGS@,$APPDEFS_CFLAGS,;t t
4241100ae103Smrgs,@APPDEFS_LIBS@,$APPDEFS_LIBS,;t t
4242100ae103Smrgs,@appdefaultdir@,$appdefaultdir,;t t
4243100ae103Smrgs,@build@,$build,;t t
4244100ae103Smrgs,@build_cpu@,$build_cpu,;t t
4245100ae103Smrgs,@build_vendor@,$build_vendor,;t t
4246100ae103Smrgs,@build_os@,$build_os,;t t
4247100ae103Smrgs,@host@,$host,;t t
4248100ae103Smrgs,@host_cpu@,$host_cpu,;t t
4249100ae103Smrgs,@host_vendor@,$host_vendor,;t t
4250100ae103Smrgs,@host_os@,$host_os,;t t
4251100ae103Smrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
4252100ae103Smrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
4253100ae103Smrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
4254100ae103Smrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
4255100ae103Smrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
4256100ae103Smrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
4257100ae103Smrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
4258100ae103Smrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
4259100ae103Smrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
4260100ae103Smrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
4261100ae103Smrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
4262100ae103Smrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
4263100ae103Smrgs,@LIBOBJS@,$LIBOBJS,;t t
4264100ae103Smrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t
4265100ae103SmrgCEOF
4266100ae103Smrg
4267100ae103Smrg_ACEOF
4268100ae103Smrg
4269100ae103Smrg  cat >>$CONFIG_STATUS <<\_ACEOF
4270100ae103Smrg  # Split the substitutions into bite-sized pieces for seds with
4271100ae103Smrg  # small command number limits, like on Digital OSF/1 and HP-UX.
4272100ae103Smrg  ac_max_sed_lines=48
4273100ae103Smrg  ac_sed_frag=1 # Number of current file.
4274100ae103Smrg  ac_beg=1 # First line for current file.
4275100ae103Smrg  ac_end=$ac_max_sed_lines # Line after last line for current file.
4276100ae103Smrg  ac_more_lines=:
4277100ae103Smrg  ac_sed_cmds=
4278100ae103Smrg  while $ac_more_lines; do
4279100ae103Smrg    if test $ac_beg -gt 1; then
4280100ae103Smrg      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4281100ae103Smrg    else
4282100ae103Smrg      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4283100ae103Smrg    fi
4284100ae103Smrg    if test ! -s $tmp/subs.frag; then
4285100ae103Smrg      ac_more_lines=false
4286100ae103Smrg    else
4287100ae103Smrg      # The purpose of the label and of the branching condition is to
4288100ae103Smrg      # speed up the sed processing (if there are no `@' at all, there
4289100ae103Smrg      # is no need to browse any of the substitutions).
4290100ae103Smrg      # These are the two extra sed commands mentioned above.
4291100ae103Smrg      (echo ':t
4292100ae103Smrg  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4293100ae103Smrg      if test -z "$ac_sed_cmds"; then
4294100ae103Smrg	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4295100ae103Smrg      else
4296100ae103Smrg	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4297100ae103Smrg      fi
4298100ae103Smrg      ac_sed_frag=`expr $ac_sed_frag + 1`
4299100ae103Smrg      ac_beg=$ac_end
4300100ae103Smrg      ac_end=`expr $ac_end + $ac_max_sed_lines`
4301100ae103Smrg    fi
4302100ae103Smrg  done
4303100ae103Smrg  if test -z "$ac_sed_cmds"; then
4304100ae103Smrg    ac_sed_cmds=cat
4305100ae103Smrg  fi
4306100ae103Smrgfi # test -n "$CONFIG_FILES"
4307100ae103Smrg
4308100ae103Smrg_ACEOF
4309100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4310100ae103Smrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4311100ae103Smrg  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4312100ae103Smrg  case $ac_file in
4313100ae103Smrg  - | *:- | *:-:* ) # input from stdin
4314100ae103Smrg	cat >$tmp/stdin
4315100ae103Smrg	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4316100ae103Smrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4317100ae103Smrg  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4318100ae103Smrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4319100ae103Smrg  * )   ac_file_in=$ac_file.in ;;
4320100ae103Smrg  esac
4321100ae103Smrg
4322100ae103Smrg  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4323100ae103Smrg  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4324100ae103Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4325100ae103Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
4326100ae103Smrg	 X"$ac_file" : 'X\(//\)$' \| \
4327100ae103Smrg	 X"$ac_file" : 'X\(/\)' \| \
4328100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4329100ae103Smrgecho X"$ac_file" |
4330100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4331100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4332100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4333100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4334100ae103Smrg  	  s/.*/./; q'`
4335100ae103Smrg  { if $as_mkdir_p; then
4336100ae103Smrg    mkdir -p "$ac_dir"
4337100ae103Smrg  else
4338100ae103Smrg    as_dir="$ac_dir"
4339100ae103Smrg    as_dirs=
4340100ae103Smrg    while test ! -d "$as_dir"; do
4341100ae103Smrg      as_dirs="$as_dir $as_dirs"
4342100ae103Smrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4343100ae103Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4344100ae103Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4345100ae103Smrg	 X"$as_dir" : 'X\(//\)$' \| \
4346100ae103Smrg	 X"$as_dir" : 'X\(/\)' \| \
4347100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4348100ae103Smrgecho X"$as_dir" |
4349100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4350100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4351100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4352100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4353100ae103Smrg  	  s/.*/./; q'`
4354100ae103Smrg    done
4355100ae103Smrg    test ! -n "$as_dirs" || mkdir $as_dirs
4356100ae103Smrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4357100ae103Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4358100ae103Smrg   { (exit 1); exit 1; }; }; }
4359100ae103Smrg
4360100ae103Smrg  ac_builddir=.
4361100ae103Smrg
4362100ae103Smrgif test "$ac_dir" != .; then
4363100ae103Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4364100ae103Smrg  # A "../" for each directory in $ac_dir_suffix.
4365100ae103Smrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4366100ae103Smrgelse
4367100ae103Smrg  ac_dir_suffix= ac_top_builddir=
4368100ae103Smrgfi
4369100ae103Smrg
4370100ae103Smrgcase $srcdir in
4371100ae103Smrg  .)  # No --srcdir option.  We are building in place.
4372100ae103Smrg    ac_srcdir=.
4373100ae103Smrg    if test -z "$ac_top_builddir"; then
4374100ae103Smrg       ac_top_srcdir=.
4375100ae103Smrg    else
4376100ae103Smrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4377100ae103Smrg    fi ;;
4378100ae103Smrg  [\\/]* | ?:[\\/]* )  # Absolute path.
4379100ae103Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
4380100ae103Smrg    ac_top_srcdir=$srcdir ;;
4381100ae103Smrg  *) # Relative path.
4382100ae103Smrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4383100ae103Smrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4384100ae103Smrgesac
4385100ae103Smrg
4386100ae103Smrg# Do not use `cd foo && pwd` to compute absolute paths, because
4387100ae103Smrg# the directories may not exist.
4388100ae103Smrgcase `pwd` in
4389100ae103Smrg.) ac_abs_builddir="$ac_dir";;
4390100ae103Smrg*)
4391100ae103Smrg  case "$ac_dir" in
4392100ae103Smrg  .) ac_abs_builddir=`pwd`;;
4393100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4394100ae103Smrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4395100ae103Smrg  esac;;
4396100ae103Smrgesac
4397100ae103Smrgcase $ac_abs_builddir in
4398100ae103Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
4399100ae103Smrg*)
4400100ae103Smrg  case ${ac_top_builddir}. in
4401100ae103Smrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
4402100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4403100ae103Smrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4404100ae103Smrg  esac;;
4405100ae103Smrgesac
4406100ae103Smrgcase $ac_abs_builddir in
4407100ae103Smrg.) ac_abs_srcdir=$ac_srcdir;;
4408100ae103Smrg*)
4409100ae103Smrg  case $ac_srcdir in
4410100ae103Smrg  .) ac_abs_srcdir=$ac_abs_builddir;;
4411100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4412100ae103Smrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4413100ae103Smrg  esac;;
4414100ae103Smrgesac
4415100ae103Smrgcase $ac_abs_builddir in
4416100ae103Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
4417100ae103Smrg*)
4418100ae103Smrg  case $ac_top_srcdir in
4419100ae103Smrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4420100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4421100ae103Smrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4422100ae103Smrg  esac;;
4423100ae103Smrgesac
4424100ae103Smrg
4425100ae103Smrg
4426100ae103Smrg  case $INSTALL in
4427100ae103Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4428100ae103Smrg  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4429100ae103Smrg  esac
4430100ae103Smrg
4431100ae103Smrg  if test x"$ac_file" != x-; then
4432100ae103Smrg    { echo "$as_me:$LINENO: creating $ac_file" >&5
4433100ae103Smrgecho "$as_me: creating $ac_file" >&6;}
4434100ae103Smrg    rm -f "$ac_file"
4435100ae103Smrg  fi
4436100ae103Smrg  # Let's still pretend it is `configure' which instantiates (i.e., don't
4437100ae103Smrg  # use $as_me), people would be surprised to read:
4438100ae103Smrg  #    /* config.h.  Generated by config.status.  */
4439100ae103Smrg  if test x"$ac_file" = x-; then
4440100ae103Smrg    configure_input=
4441100ae103Smrg  else
4442100ae103Smrg    configure_input="$ac_file.  "
4443100ae103Smrg  fi
4444100ae103Smrg  configure_input=$configure_input"Generated from `echo $ac_file_in |
4445100ae103Smrg				     sed 's,.*/,,'` by configure."
4446100ae103Smrg
4447100ae103Smrg  # First look for the input files in the build tree, otherwise in the
4448100ae103Smrg  # src tree.
4449100ae103Smrg  ac_file_inputs=`IFS=:
4450100ae103Smrg    for f in $ac_file_in; do
4451100ae103Smrg      case $f in
4452100ae103Smrg      -) echo $tmp/stdin ;;
4453100ae103Smrg      [\\/$]*)
4454100ae103Smrg	 # Absolute (can't be DOS-style, as IFS=:)
4455100ae103Smrg	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4456100ae103Smrgecho "$as_me: error: cannot find input file: $f" >&2;}
4457100ae103Smrg   { (exit 1); exit 1; }; }
4458100ae103Smrg	 echo "$f";;
4459100ae103Smrg      *) # Relative
4460100ae103Smrg	 if test -f "$f"; then
4461100ae103Smrg	   # Build tree
4462100ae103Smrg	   echo "$f"
4463100ae103Smrg	 elif test -f "$srcdir/$f"; then
4464100ae103Smrg	   # Source tree
4465100ae103Smrg	   echo "$srcdir/$f"
4466100ae103Smrg	 else
4467100ae103Smrg	   # /dev/null tree
4468100ae103Smrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4469100ae103Smrgecho "$as_me: error: cannot find input file: $f" >&2;}
4470100ae103Smrg   { (exit 1); exit 1; }; }
4471100ae103Smrg	 fi;;
4472100ae103Smrg      esac
4473100ae103Smrg    done` || { (exit 1); exit 1; }
4474100ae103Smrg_ACEOF
4475100ae103Smrgcat >>$CONFIG_STATUS <<_ACEOF
4476100ae103Smrg  sed "$ac_vpsub
4477100ae103Smrg$extrasub
4478100ae103Smrg_ACEOF
4479100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4480100ae103Smrg:t
4481100ae103Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4482100ae103Smrgs,@configure_input@,$configure_input,;t t
4483100ae103Smrgs,@srcdir@,$ac_srcdir,;t t
4484100ae103Smrgs,@abs_srcdir@,$ac_abs_srcdir,;t t
4485100ae103Smrgs,@top_srcdir@,$ac_top_srcdir,;t t
4486100ae103Smrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4487100ae103Smrgs,@builddir@,$ac_builddir,;t t
4488100ae103Smrgs,@abs_builddir@,$ac_abs_builddir,;t t
4489100ae103Smrgs,@top_builddir@,$ac_top_builddir,;t t
4490100ae103Smrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4491100ae103Smrgs,@INSTALL@,$ac_INSTALL,;t t
4492100ae103Smrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4493100ae103Smrg  rm -f $tmp/stdin
4494100ae103Smrg  if test x"$ac_file" != x-; then
4495100ae103Smrg    mv $tmp/out $ac_file
4496100ae103Smrg  else
4497100ae103Smrg    cat $tmp/out
4498100ae103Smrg    rm -f $tmp/out
4499100ae103Smrg  fi
4500100ae103Smrg
4501100ae103Smrgdone
4502100ae103Smrg_ACEOF
4503100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4504100ae103Smrg
4505100ae103Smrg#
4506100ae103Smrg# CONFIG_HEADER section.
4507100ae103Smrg#
4508100ae103Smrg
4509100ae103Smrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4510100ae103Smrg# NAME is the cpp macro being defined and VALUE is the value it is being given.
4511100ae103Smrg#
4512100ae103Smrg# ac_d sets the value in "#define NAME VALUE" lines.
4513100ae103Smrgac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
4514100ae103Smrgac_dB='[	 ].*$,\1#\2'
4515100ae103Smrgac_dC=' '
4516100ae103Smrgac_dD=',;t'
4517100ae103Smrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4518100ae103Smrgac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
4519100ae103Smrgac_uB='$,\1#\2define\3'
4520100ae103Smrgac_uC=' '
4521100ae103Smrgac_uD=',;t'
4522100ae103Smrg
4523100ae103Smrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4524100ae103Smrg  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4525100ae103Smrg  case $ac_file in
4526100ae103Smrg  - | *:- | *:-:* ) # input from stdin
4527100ae103Smrg	cat >$tmp/stdin
4528100ae103Smrg	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4529100ae103Smrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4530100ae103Smrg  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4531100ae103Smrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4532100ae103Smrg  * )   ac_file_in=$ac_file.in ;;
4533100ae103Smrg  esac
4534100ae103Smrg
4535100ae103Smrg  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4536100ae103Smrgecho "$as_me: creating $ac_file" >&6;}
4537100ae103Smrg
4538100ae103Smrg  # First look for the input files in the build tree, otherwise in the
4539100ae103Smrg  # src tree.
4540100ae103Smrg  ac_file_inputs=`IFS=:
4541100ae103Smrg    for f in $ac_file_in; do
4542100ae103Smrg      case $f in
4543100ae103Smrg      -) echo $tmp/stdin ;;
4544100ae103Smrg      [\\/$]*)
4545100ae103Smrg	 # Absolute (can't be DOS-style, as IFS=:)
4546100ae103Smrg	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4547100ae103Smrgecho "$as_me: error: cannot find input file: $f" >&2;}
4548100ae103Smrg   { (exit 1); exit 1; }; }
4549100ae103Smrg	 # Do quote $f, to prevent DOS paths from being IFS'd.
4550100ae103Smrg	 echo "$f";;
4551100ae103Smrg      *) # Relative
4552100ae103Smrg	 if test -f "$f"; then
4553100ae103Smrg	   # Build tree
4554100ae103Smrg	   echo "$f"
4555100ae103Smrg	 elif test -f "$srcdir/$f"; then
4556100ae103Smrg	   # Source tree
4557100ae103Smrg	   echo "$srcdir/$f"
4558100ae103Smrg	 else
4559100ae103Smrg	   # /dev/null tree
4560100ae103Smrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4561100ae103Smrgecho "$as_me: error: cannot find input file: $f" >&2;}
4562100ae103Smrg   { (exit 1); exit 1; }; }
4563100ae103Smrg	 fi;;
4564100ae103Smrg      esac
4565100ae103Smrg    done` || { (exit 1); exit 1; }
4566100ae103Smrg  # Remove the trailing spaces.
4567100ae103Smrg  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
4568100ae103Smrg
4569100ae103Smrg_ACEOF
4570100ae103Smrg
4571100ae103Smrg# Transform confdefs.h into two sed scripts, `conftest.defines' and
4572100ae103Smrg# `conftest.undefs', that substitutes the proper values into
4573100ae103Smrg# config.h.in to produce config.h.  The first handles `#define'
4574100ae103Smrg# templates, and the second `#undef' templates.
4575100ae103Smrg# And first: Protect against being on the right side of a sed subst in
4576100ae103Smrg# config.status.  Protect against being in an unquoted here document
4577100ae103Smrg# in config.status.
4578100ae103Smrgrm -f conftest.defines conftest.undefs
4579100ae103Smrg# Using a here document instead of a string reduces the quoting nightmare.
4580100ae103Smrg# Putting comments in sed scripts is not portable.
4581100ae103Smrg#
4582100ae103Smrg# `end' is used to avoid that the second main sed command (meant for
4583100ae103Smrg# 0-ary CPP macros) applies to n-ary macro definitions.
4584100ae103Smrg# See the Autoconf documentation for `clear'.
4585100ae103Smrgcat >confdef2sed.sed <<\_ACEOF
4586100ae103Smrgs/[\\&,]/\\&/g
4587100ae103Smrgs,[\\$`],\\&,g
4588100ae103Smrgt clear
4589100ae103Smrg: clear
4590100ae103Smrgs,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4591100ae103Smrgt end
4592100ae103Smrgs,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4593100ae103Smrg: end
4594100ae103Smrg_ACEOF
4595100ae103Smrg# If some macros were called several times there might be several times
4596100ae103Smrg# the same #defines, which is useless.  Nevertheless, we may not want to
4597100ae103Smrg# sort them, since we want the *last* AC-DEFINE to be honored.
4598100ae103Smrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4599100ae103Smrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4600100ae103Smrgrm -f confdef2sed.sed
4601100ae103Smrg
4602100ae103Smrg# This sed command replaces #undef with comments.  This is necessary, for
4603100ae103Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required
4604100ae103Smrg# on some systems where configure will not decide to define it.
4605100ae103Smrgcat >>conftest.undefs <<\_ACEOF
4606100ae103Smrgs,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4607100ae103Smrg_ACEOF
4608100ae103Smrg
4609100ae103Smrg# Break up conftest.defines because some shells have a limit on the size
4610100ae103Smrg# of here documents, and old seds have small limits too (100 cmds).
4611100ae103Smrgecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4612100ae103Smrgecho '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4613100ae103Smrgecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4614100ae103Smrgecho '  :' >>$CONFIG_STATUS
4615100ae103Smrgrm -f conftest.tail
4616100ae103Smrgwhile grep . conftest.defines >/dev/null
4617100ae103Smrgdo
4618100ae103Smrg  # Write a limited-size here document to $tmp/defines.sed.
4619100ae103Smrg  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4620100ae103Smrg  # Speed up: don't consider the non `#define' lines.
4621100ae103Smrg  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
4622100ae103Smrg  # Work around the forget-to-reset-the-flag bug.
4623100ae103Smrg  echo 't clr' >>$CONFIG_STATUS
4624100ae103Smrg  echo ': clr' >>$CONFIG_STATUS
4625100ae103Smrg  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4626100ae103Smrg  echo 'CEOF
4627100ae103Smrg  sed -f $tmp/defines.sed $tmp/in >$tmp/out
4628100ae103Smrg  rm -f $tmp/in
4629100ae103Smrg  mv $tmp/out $tmp/in
4630100ae103Smrg' >>$CONFIG_STATUS
4631100ae103Smrg  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4632100ae103Smrg  rm -f conftest.defines
4633100ae103Smrg  mv conftest.tail conftest.defines
4634100ae103Smrgdone
4635100ae103Smrgrm -f conftest.defines
4636100ae103Smrgecho '  fi # grep' >>$CONFIG_STATUS
4637100ae103Smrgecho >>$CONFIG_STATUS
4638100ae103Smrg
4639100ae103Smrg# Break up conftest.undefs because some shells have a limit on the size
4640100ae103Smrg# of here documents, and old seds have small limits too (100 cmds).
4641100ae103Smrgecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
4642100ae103Smrgrm -f conftest.tail
4643100ae103Smrgwhile grep . conftest.undefs >/dev/null
4644100ae103Smrgdo
4645100ae103Smrg  # Write a limited-size here document to $tmp/undefs.sed.
4646100ae103Smrg  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4647100ae103Smrg  # Speed up: don't consider the non `#undef'
4648100ae103Smrg  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
4649100ae103Smrg  # Work around the forget-to-reset-the-flag bug.
4650100ae103Smrg  echo 't clr' >>$CONFIG_STATUS
4651100ae103Smrg  echo ': clr' >>$CONFIG_STATUS
4652100ae103Smrg  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4653100ae103Smrg  echo 'CEOF
4654100ae103Smrg  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4655100ae103Smrg  rm -f $tmp/in
4656100ae103Smrg  mv $tmp/out $tmp/in
4657100ae103Smrg' >>$CONFIG_STATUS
4658100ae103Smrg  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4659100ae103Smrg  rm -f conftest.undefs
4660100ae103Smrg  mv conftest.tail conftest.undefs
4661100ae103Smrgdone
4662100ae103Smrgrm -f conftest.undefs
4663100ae103Smrg
4664100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4665100ae103Smrg  # Let's still pretend it is `configure' which instantiates (i.e., don't
4666100ae103Smrg  # use $as_me), people would be surprised to read:
4667100ae103Smrg  #    /* config.h.  Generated by config.status.  */
4668100ae103Smrg  if test x"$ac_file" = x-; then
4669100ae103Smrg    echo "/* Generated by configure.  */" >$tmp/config.h
4670100ae103Smrg  else
4671100ae103Smrg    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
4672100ae103Smrg  fi
4673100ae103Smrg  cat $tmp/in >>$tmp/config.h
4674100ae103Smrg  rm -f $tmp/in
4675100ae103Smrg  if test x"$ac_file" != x-; then
4676100ae103Smrg    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4677100ae103Smrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4678100ae103Smrgecho "$as_me: $ac_file is unchanged" >&6;}
4679100ae103Smrg    else
4680100ae103Smrg      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4681100ae103Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4682100ae103Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
4683100ae103Smrg	 X"$ac_file" : 'X\(//\)$' \| \
4684100ae103Smrg	 X"$ac_file" : 'X\(/\)' \| \
4685100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4686100ae103Smrgecho X"$ac_file" |
4687100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4688100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4689100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4690100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4691100ae103Smrg  	  s/.*/./; q'`
4692100ae103Smrg      { if $as_mkdir_p; then
4693100ae103Smrg    mkdir -p "$ac_dir"
4694100ae103Smrg  else
4695100ae103Smrg    as_dir="$ac_dir"
4696100ae103Smrg    as_dirs=
4697100ae103Smrg    while test ! -d "$as_dir"; do
4698100ae103Smrg      as_dirs="$as_dir $as_dirs"
4699100ae103Smrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4700100ae103Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4701100ae103Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4702100ae103Smrg	 X"$as_dir" : 'X\(//\)$' \| \
4703100ae103Smrg	 X"$as_dir" : 'X\(/\)' \| \
4704100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4705100ae103Smrgecho X"$as_dir" |
4706100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4707100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4708100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4709100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4710100ae103Smrg  	  s/.*/./; q'`
4711100ae103Smrg    done
4712100ae103Smrg    test ! -n "$as_dirs" || mkdir $as_dirs
4713100ae103Smrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4714100ae103Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4715100ae103Smrg   { (exit 1); exit 1; }; }; }
4716100ae103Smrg
4717100ae103Smrg      rm -f $ac_file
4718100ae103Smrg      mv $tmp/config.h $ac_file
4719100ae103Smrg    fi
4720100ae103Smrg  else
4721100ae103Smrg    cat $tmp/config.h
4722100ae103Smrg    rm -f $tmp/config.h
4723100ae103Smrg  fi
4724100ae103Smrg# Compute $ac_file's index in $config_headers.
4725100ae103Smrg_am_stamp_count=1
4726100ae103Smrgfor _am_header in $config_headers :; do
4727100ae103Smrg  case $_am_header in
4728100ae103Smrg    $ac_file | $ac_file:* )
4729100ae103Smrg      break ;;
4730100ae103Smrg    * )
4731100ae103Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4732100ae103Smrg  esac
4733100ae103Smrgdone
4734100ae103Smrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4735100ae103Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4736100ae103Smrg	 X$ac_file : 'X\(//\)[^/]' \| \
4737100ae103Smrg	 X$ac_file : 'X\(//\)$' \| \
4738100ae103Smrg	 X$ac_file : 'X\(/\)' \| \
4739100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4740100ae103Smrgecho X$ac_file |
4741100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4742100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4743100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4744100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4745100ae103Smrg  	  s/.*/./; q'`/stamp-h$_am_stamp_count
4746100ae103Smrgdone
4747100ae103Smrg_ACEOF
4748100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4749100ae103Smrg
4750100ae103Smrg#
4751100ae103Smrg# CONFIG_COMMANDS section.
4752100ae103Smrg#
4753100ae103Smrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4754100ae103Smrg  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4755100ae103Smrg  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4756100ae103Smrg  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4757100ae103Smrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4758100ae103Smrg	 X"$ac_dest" : 'X\(//\)[^/]' \| \
4759100ae103Smrg	 X"$ac_dest" : 'X\(//\)$' \| \
4760100ae103Smrg	 X"$ac_dest" : 'X\(/\)' \| \
4761100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4762100ae103Smrgecho X"$ac_dest" |
4763100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4764100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4765100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4766100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4767100ae103Smrg  	  s/.*/./; q'`
4768100ae103Smrg  { if $as_mkdir_p; then
4769100ae103Smrg    mkdir -p "$ac_dir"
4770100ae103Smrg  else
4771100ae103Smrg    as_dir="$ac_dir"
4772100ae103Smrg    as_dirs=
4773100ae103Smrg    while test ! -d "$as_dir"; do
4774100ae103Smrg      as_dirs="$as_dir $as_dirs"
4775100ae103Smrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4776100ae103Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4777100ae103Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4778100ae103Smrg	 X"$as_dir" : 'X\(//\)$' \| \
4779100ae103Smrg	 X"$as_dir" : 'X\(/\)' \| \
4780100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4781100ae103Smrgecho X"$as_dir" |
4782100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4783100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4784100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4785100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4786100ae103Smrg  	  s/.*/./; q'`
4787100ae103Smrg    done
4788100ae103Smrg    test ! -n "$as_dirs" || mkdir $as_dirs
4789100ae103Smrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4790100ae103Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4791100ae103Smrg   { (exit 1); exit 1; }; }; }
4792100ae103Smrg
4793100ae103Smrg  ac_builddir=.
4794100ae103Smrg
4795100ae103Smrgif test "$ac_dir" != .; then
4796100ae103Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4797100ae103Smrg  # A "../" for each directory in $ac_dir_suffix.
4798100ae103Smrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4799100ae103Smrgelse
4800100ae103Smrg  ac_dir_suffix= ac_top_builddir=
4801100ae103Smrgfi
4802100ae103Smrg
4803100ae103Smrgcase $srcdir in
4804100ae103Smrg  .)  # No --srcdir option.  We are building in place.
4805100ae103Smrg    ac_srcdir=.
4806100ae103Smrg    if test -z "$ac_top_builddir"; then
4807100ae103Smrg       ac_top_srcdir=.
4808100ae103Smrg    else
4809100ae103Smrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4810100ae103Smrg    fi ;;
4811100ae103Smrg  [\\/]* | ?:[\\/]* )  # Absolute path.
4812100ae103Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
4813100ae103Smrg    ac_top_srcdir=$srcdir ;;
4814100ae103Smrg  *) # Relative path.
4815100ae103Smrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4816100ae103Smrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4817100ae103Smrgesac
4818100ae103Smrg
4819100ae103Smrg# Do not use `cd foo && pwd` to compute absolute paths, because
4820100ae103Smrg# the directories may not exist.
4821100ae103Smrgcase `pwd` in
4822100ae103Smrg.) ac_abs_builddir="$ac_dir";;
4823100ae103Smrg*)
4824100ae103Smrg  case "$ac_dir" in
4825100ae103Smrg  .) ac_abs_builddir=`pwd`;;
4826100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4827100ae103Smrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4828100ae103Smrg  esac;;
4829100ae103Smrgesac
4830100ae103Smrgcase $ac_abs_builddir in
4831100ae103Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
4832100ae103Smrg*)
4833100ae103Smrg  case ${ac_top_builddir}. in
4834100ae103Smrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
4835100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4836100ae103Smrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4837100ae103Smrg  esac;;
4838100ae103Smrgesac
4839100ae103Smrgcase $ac_abs_builddir in
4840100ae103Smrg.) ac_abs_srcdir=$ac_srcdir;;
4841100ae103Smrg*)
4842100ae103Smrg  case $ac_srcdir in
4843100ae103Smrg  .) ac_abs_srcdir=$ac_abs_builddir;;
4844100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4845100ae103Smrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4846100ae103Smrg  esac;;
4847100ae103Smrgesac
4848100ae103Smrgcase $ac_abs_builddir in
4849100ae103Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
4850100ae103Smrg*)
4851100ae103Smrg  case $ac_top_srcdir in
4852100ae103Smrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4853100ae103Smrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4854100ae103Smrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4855100ae103Smrg  esac;;
4856100ae103Smrgesac
4857100ae103Smrg
4858100ae103Smrg
4859100ae103Smrg  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4860100ae103Smrgecho "$as_me: executing $ac_dest commands" >&6;}
4861100ae103Smrg  case $ac_dest in
4862100ae103Smrg    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4863100ae103Smrg  # Strip MF so we end up with the name of the file.
4864100ae103Smrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
4865100ae103Smrg  # Check whether this is an Automake generated Makefile or not.
4866100ae103Smrg  # We used to match only the files named `Makefile.in', but
4867100ae103Smrg  # some people rename them; so instead we look at the file content.
4868100ae103Smrg  # Grep'ing the first line is not enough: some people post-process
4869100ae103Smrg  # each Makefile.in and add a new line on top of each file to say so.
4870100ae103Smrg  # So let's grep whole file.
4871100ae103Smrg  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4872100ae103Smrg    dirpart=`(dirname "$mf") 2>/dev/null ||
4873100ae103Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4874100ae103Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
4875100ae103Smrg	 X"$mf" : 'X\(//\)$' \| \
4876100ae103Smrg	 X"$mf" : 'X\(/\)' \| \
4877100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4878100ae103Smrgecho X"$mf" |
4879100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4880100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4881100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4882100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4883100ae103Smrg  	  s/.*/./; q'`
4884100ae103Smrg  else
4885100ae103Smrg    continue
4886100ae103Smrg  fi
4887100ae103Smrg  # Extract the definition of DEPDIR, am__include, and am__quote
4888100ae103Smrg  # from the Makefile without running `make'.
4889100ae103Smrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4890100ae103Smrg  test -z "$DEPDIR" && continue
4891100ae103Smrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4892100ae103Smrg  test -z "am__include" && continue
4893100ae103Smrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4894100ae103Smrg  # When using ansi2knr, U may be empty or an underscore; expand it
4895100ae103Smrg  U=`sed -n 's/^U = //p' < "$mf"`
4896100ae103Smrg  # Find all dependency output files, they are included files with
4897100ae103Smrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4898100ae103Smrg  # simplest approach to changing $(DEPDIR) to its actual value in the
4899100ae103Smrg  # expansion.
4900100ae103Smrg  for file in `sed -n "
4901100ae103Smrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4902100ae103Smrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4903100ae103Smrg    # Make sure the directory exists.
4904100ae103Smrg    test -f "$dirpart/$file" && continue
4905100ae103Smrg    fdir=`(dirname "$file") 2>/dev/null ||
4906100ae103Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4907100ae103Smrg	 X"$file" : 'X\(//\)[^/]' \| \
4908100ae103Smrg	 X"$file" : 'X\(//\)$' \| \
4909100ae103Smrg	 X"$file" : 'X\(/\)' \| \
4910100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4911100ae103Smrgecho X"$file" |
4912100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4913100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4914100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4915100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4916100ae103Smrg  	  s/.*/./; q'`
4917100ae103Smrg    { if $as_mkdir_p; then
4918100ae103Smrg    mkdir -p $dirpart/$fdir
4919100ae103Smrg  else
4920100ae103Smrg    as_dir=$dirpart/$fdir
4921100ae103Smrg    as_dirs=
4922100ae103Smrg    while test ! -d "$as_dir"; do
4923100ae103Smrg      as_dirs="$as_dir $as_dirs"
4924100ae103Smrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4925100ae103Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4926100ae103Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
4927100ae103Smrg	 X"$as_dir" : 'X\(//\)$' \| \
4928100ae103Smrg	 X"$as_dir" : 'X\(/\)' \| \
4929100ae103Smrg	 .     : '\(.\)' 2>/dev/null ||
4930100ae103Smrgecho X"$as_dir" |
4931100ae103Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4932100ae103Smrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4933100ae103Smrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
4934100ae103Smrg  	  /^X\(\/\).*/{ s//\1/; q; }
4935100ae103Smrg  	  s/.*/./; q'`
4936100ae103Smrg    done
4937100ae103Smrg    test ! -n "$as_dirs" || mkdir $as_dirs
4938100ae103Smrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4939100ae103Smrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4940100ae103Smrg   { (exit 1); exit 1; }; }; }
4941100ae103Smrg
4942100ae103Smrg    # echo "creating $dirpart/$file"
4943100ae103Smrg    echo '# dummy' > "$dirpart/$file"
4944100ae103Smrg  done
4945100ae103Smrgdone
4946100ae103Smrg ;;
4947100ae103Smrg  esac
4948100ae103Smrgdone
4949100ae103Smrg_ACEOF
4950100ae103Smrg
4951100ae103Smrgcat >>$CONFIG_STATUS <<\_ACEOF
4952100ae103Smrg
4953100ae103Smrg{ (exit 0); exit 0; }
4954100ae103Smrg_ACEOF
4955100ae103Smrgchmod +x $CONFIG_STATUS
4956100ae103Smrgac_clean_files=$ac_clean_files_save
4957100ae103Smrg
4958100ae103Smrg
4959100ae103Smrg# configure is writing to config.log, and then calls config.status.
4960100ae103Smrg# config.status does its own redirection, appending to config.log.
4961100ae103Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
4962100ae103Smrg# by configure, so config.status won't be able to write to it; its
4963100ae103Smrg# output is simply discarded.  So we exec the FD to /dev/null,
4964100ae103Smrg# effectively closing config.log, so it can be properly (re)opened and
4965100ae103Smrg# appended to by config.status.  When coming back to configure, we
4966100ae103Smrg# need to make the FD available again.
4967100ae103Smrgif test "$no_create" != yes; then
4968100ae103Smrg  ac_cs_success=:
4969100ae103Smrg  ac_config_status_args=
4970100ae103Smrg  test "$silent" = yes &&
4971100ae103Smrg    ac_config_status_args="$ac_config_status_args --quiet"
4972100ae103Smrg  exec 5>/dev/null
4973100ae103Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4974100ae103Smrg  exec 5>>config.log
4975100ae103Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4976100ae103Smrg  # would make configure fail if this is the last instruction.
4977100ae103Smrg  $ac_cs_success || { (exit 1); exit 1; }
4978100ae103Smrgfi
4979100ae103Smrg
4980