configure revision 90b6713c
19fe995a9Smrg#! /bin/sh
29fe995a9Smrg# Guess values for system-dependent variables and create Makefiles.
390b6713cSmrg# Generated by GNU Autoconf 2.68 for iceauth 1.0.5.
49fe995a9Smrg#
59fe995a9Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
69fe995a9Smrg#
7b62cc08cSmrg#
89fe995a9Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9b62cc08cSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10b62cc08cSmrg# Foundation, Inc.
11b62cc08cSmrg#
12b62cc08cSmrg#
139fe995a9Smrg# This configure script is free software; the Free Software Foundation
149fe995a9Smrg# gives unlimited permission to copy, distribute and modify it.
15b62cc08cSmrg## -------------------- ##
16b62cc08cSmrg## M4sh Initialization. ##
17b62cc08cSmrg## -------------------- ##
189fe995a9Smrg
199fe995a9Smrg# Be more Bourne compatible
209fe995a9SmrgDUALCASE=1; export DUALCASE # for MKS sh
21b62cc08cSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
229fe995a9Smrg  emulate sh
239fe995a9Smrg  NULLCMD=:
24b62cc08cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
259fe995a9Smrg  # is contrary to our usage.  Disable this feature.
269fe995a9Smrg  alias -g '${1+"$@"}'='"$@"'
279fe995a9Smrg  setopt NO_GLOB_SUBST
289fe995a9Smrgelse
29b62cc08cSmrg  case `(set -o) 2>/dev/null` in #(
30b62cc08cSmrg  *posix*) :
31b62cc08cSmrg    set -o posix ;; #(
32b62cc08cSmrg  *) :
33b62cc08cSmrg     ;;
349fe995a9Smrgesac
359fe995a9Smrgfi
369fe995a9Smrg
379fe995a9Smrg
38b62cc08cSmrgas_nl='
39b62cc08cSmrg'
40b62cc08cSmrgexport as_nl
41b62cc08cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
42b62cc08cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43b62cc08cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44b62cc08cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45b62cc08cSmrg# Prefer a ksh shell builtin over an external printf program on Solaris,
46b62cc08cSmrg# but without wasting forks for bash or zsh.
47b62cc08cSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \
48b62cc08cSmrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49b62cc08cSmrg  as_echo='print -r --'
50b62cc08cSmrg  as_echo_n='print -rn --'
51b62cc08cSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52b62cc08cSmrg  as_echo='printf %s\n'
53b62cc08cSmrg  as_echo_n='printf %s'
54b62cc08cSmrgelse
55b62cc08cSmrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56b62cc08cSmrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57b62cc08cSmrg    as_echo_n='/usr/ucb/echo -n'
589fe995a9Smrg  else
59b62cc08cSmrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60b62cc08cSmrg    as_echo_n_body='eval
61b62cc08cSmrg      arg=$1;
62b62cc08cSmrg      case $arg in #(
63b62cc08cSmrg      *"$as_nl"*)
64b62cc08cSmrg	expr "X$arg" : "X\\(.*\\)$as_nl";
65b62cc08cSmrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66b62cc08cSmrg      esac;
67b62cc08cSmrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68b62cc08cSmrg    '
69b62cc08cSmrg    export as_echo_n_body
70b62cc08cSmrg    as_echo_n='sh -c $as_echo_n_body as_echo'
719fe995a9Smrg  fi
72b62cc08cSmrg  export as_echo_body
73b62cc08cSmrg  as_echo='sh -c $as_echo_body as_echo'
749fe995a9Smrgfi
759fe995a9Smrg
76b62cc08cSmrg# The user is always right.
77b62cc08cSmrgif test "${PATH_SEPARATOR+set}" != set; then
78b62cc08cSmrg  PATH_SEPARATOR=:
79b62cc08cSmrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80b62cc08cSmrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81b62cc08cSmrg      PATH_SEPARATOR=';'
82b62cc08cSmrg  }
839fe995a9Smrgfi
849fe995a9Smrg
859fe995a9Smrg
869fe995a9Smrg# IFS
879fe995a9Smrg# We need space, tab and new line, in precisely that order.  Quoting is
889fe995a9Smrg# there to prevent editors from complaining about space-tab.
899fe995a9Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
909fe995a9Smrg# splitting by setting IFS to empty value.)
919fe995a9SmrgIFS=" ""	$as_nl"
929fe995a9Smrg
939fe995a9Smrg# Find who we are.  Look in the path if we contain no directory separator.
94b62cc08cSmrgas_myself=
95b62cc08cSmrgcase $0 in #((
969fe995a9Smrg  *[\\/]* ) as_myself=$0 ;;
979fe995a9Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989fe995a9Smrgfor as_dir in $PATH
999fe995a9Smrgdo
1009fe995a9Smrg  IFS=$as_save_IFS
1019fe995a9Smrg  test -z "$as_dir" && as_dir=.
102b62cc08cSmrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103b62cc08cSmrg  done
1049fe995a9SmrgIFS=$as_save_IFS
1059fe995a9Smrg
1069fe995a9Smrg     ;;
1079fe995a9Smrgesac
1089fe995a9Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1099fe995a9Smrg# in which case we are not to be found in the path.
1109fe995a9Smrgif test "x$as_myself" = x; then
1119fe995a9Smrg  as_myself=$0
1129fe995a9Smrgfi
1139fe995a9Smrgif test ! -f "$as_myself"; then
114b62cc08cSmrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115b62cc08cSmrg  exit 1
1169fe995a9Smrgfi
1179fe995a9Smrg
118b62cc08cSmrg# Unset variables that we do not need and which cause bugs (e.g. in
119b62cc08cSmrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120b62cc08cSmrg# suppresses any "Segmentation fault" message there.  '((' could
121b62cc08cSmrg# trigger a bug in pdksh 5.2.14.
122b62cc08cSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH
123b62cc08cSmrgdo eval test x\${$as_var+set} = xset \
124b62cc08cSmrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1259fe995a9Smrgdone
1269fe995a9SmrgPS1='$ '
1279fe995a9SmrgPS2='> '
1289fe995a9SmrgPS4='+ '
1299fe995a9Smrg
1309fe995a9Smrg# NLS nuisances.
131b62cc08cSmrgLC_ALL=C
132b62cc08cSmrgexport LC_ALL
133b62cc08cSmrgLANGUAGE=C
134b62cc08cSmrgexport LANGUAGE
1359fe995a9Smrg
1369fe995a9Smrg# CDPATH.
137b62cc08cSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1389fe995a9Smrg
1399fe995a9Smrgif test "x$CONFIG_SHELL" = x; then
140b62cc08cSmrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141b62cc08cSmrg  emulate sh
142b62cc08cSmrg  NULLCMD=:
143b62cc08cSmrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144b62cc08cSmrg  # is contrary to our usage.  Disable this feature.
145b62cc08cSmrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146b62cc08cSmrg  setopt NO_GLOB_SUBST
1479fe995a9Smrgelse
148b62cc08cSmrg  case \`(set -o) 2>/dev/null\` in #(
149b62cc08cSmrg  *posix*) :
150b62cc08cSmrg    set -o posix ;; #(
151b62cc08cSmrg  *) :
152b62cc08cSmrg     ;;
153b62cc08cSmrgesac
1549fe995a9Smrgfi
155b62cc08cSmrg"
156b62cc08cSmrg  as_required="as_fn_return () { (exit \$1); }
157b62cc08cSmrgas_fn_success () { as_fn_return 0; }
158b62cc08cSmrgas_fn_failure () { as_fn_return 1; }
159b62cc08cSmrgas_fn_ret_success () { return 0; }
160b62cc08cSmrgas_fn_ret_failure () { return 1; }
1619fe995a9Smrg
1629fe995a9Smrgexitcode=0
163b62cc08cSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
164b62cc08cSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165b62cc08cSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166b62cc08cSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167b62cc08cSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
1689fe995a9Smrg
1699fe995a9Smrgelse
170b62cc08cSmrg  exitcode=1; echo positional parameters were not saved.
171b62cc08cSmrgfi
172b62cc08cSmrgtest x\$exitcode = x0 || exit 1"
173b62cc08cSmrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174b62cc08cSmrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175b62cc08cSmrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176b62cc08cSmrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177b62cc08cSmrgtest \$(( 1 + 1 )) = 2 || exit 1"
178b62cc08cSmrg  if (eval "$as_required") 2>/dev/null; then :
179b62cc08cSmrg  as_have_required=yes
1809fe995a9Smrgelse
181b62cc08cSmrg  as_have_required=no
1829fe995a9Smrgfi
183b62cc08cSmrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1849fe995a9Smrg
1859fe995a9Smrgelse
186b62cc08cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187b62cc08cSmrgas_found=false
1889fe995a9Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1899fe995a9Smrgdo
1909fe995a9Smrg  IFS=$as_save_IFS
1919fe995a9Smrg  test -z "$as_dir" && as_dir=.
192b62cc08cSmrg  as_found=:
193b62cc08cSmrg  case $as_dir in #(
1949fe995a9Smrg	 /*)
1959fe995a9Smrg	   for as_base in sh bash ksh sh5; do
196b62cc08cSmrg	     # Try only shells that exist, to save several forks.
197b62cc08cSmrg	     as_shell=$as_dir/$as_base
198b62cc08cSmrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199b62cc08cSmrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200b62cc08cSmrg  CONFIG_SHELL=$as_shell as_have_required=yes
201b62cc08cSmrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202b62cc08cSmrg  break 2
203b62cc08cSmrgfi
204b62cc08cSmrgfi
2059fe995a9Smrg	   done;;
2069fe995a9Smrg       esac
207b62cc08cSmrg  as_found=false
2089fe995a9Smrgdone
209b62cc08cSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210b62cc08cSmrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211b62cc08cSmrg  CONFIG_SHELL=$SHELL as_have_required=yes
212b62cc08cSmrgfi; }
2139fe995a9SmrgIFS=$as_save_IFS
2149fe995a9Smrg
2159fe995a9Smrg
216b62cc08cSmrg      if test "x$CONFIG_SHELL" != x; then :
217b62cc08cSmrg  # We cannot yet assume a decent shell, so we have to provide a
218b62cc08cSmrg	# neutralization value for shells without unset; and this also
219b62cc08cSmrg	# works around shells that cannot unset nonexistent variables.
220b62cc08cSmrg	# Preserve -v and -x to the replacement shell.
221b62cc08cSmrg	BASH_ENV=/dev/null
222b62cc08cSmrg	ENV=/dev/null
223b62cc08cSmrg	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224b62cc08cSmrg	export CONFIG_SHELL
225b62cc08cSmrg	case $- in # ((((
226b62cc08cSmrg	  *v*x* | *x*v* ) as_opts=-vx ;;
227b62cc08cSmrg	  *v* ) as_opts=-v ;;
228b62cc08cSmrg	  *x* ) as_opts=-x ;;
229b62cc08cSmrg	  * ) as_opts= ;;
230b62cc08cSmrg	esac
231b62cc08cSmrg	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
2329fe995a9Smrgfi
2339fe995a9Smrg
234b62cc08cSmrg    if test x$as_have_required = xno; then :
235b62cc08cSmrg  $as_echo "$0: This script requires a shell more modern than all"
236b62cc08cSmrg  $as_echo "$0: the shells that I found on your system."
237b62cc08cSmrg  if test x${ZSH_VERSION+set} = xset ; then
238b62cc08cSmrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239b62cc08cSmrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240b62cc08cSmrg  else
241b62cc08cSmrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
242b62cc08cSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
243b62cc08cSmrg$0: about your system, including any error possibly output
244b62cc08cSmrg$0: before this message. Then install a modern shell, or
245b62cc08cSmrg$0: manually run the script under such a shell if you do
246b62cc08cSmrg$0: have one."
247b62cc08cSmrg  fi
248b62cc08cSmrg  exit 1
2499fe995a9Smrgfi
250b62cc08cSmrgfi
251b62cc08cSmrgfi
252b62cc08cSmrgSHELL=${CONFIG_SHELL-/bin/sh}
253b62cc08cSmrgexport SHELL
254b62cc08cSmrg# Unset more variables known to interfere with behavior of common tools.
255b62cc08cSmrgCLICOLOR_FORCE= GREP_OPTIONS=
256b62cc08cSmrgunset CLICOLOR_FORCE GREP_OPTIONS
2579fe995a9Smrg
258b62cc08cSmrg## --------------------- ##
259b62cc08cSmrg## M4sh Shell Functions. ##
260b62cc08cSmrg## --------------------- ##
261b62cc08cSmrg# as_fn_unset VAR
262b62cc08cSmrg# ---------------
263b62cc08cSmrg# Portably unset VAR.
264b62cc08cSmrgas_fn_unset ()
265b62cc08cSmrg{
266b62cc08cSmrg  { eval $1=; unset $1;}
2679fe995a9Smrg}
268b62cc08cSmrgas_unset=as_fn_unset
2699fe995a9Smrg
270b62cc08cSmrg# as_fn_set_status STATUS
271b62cc08cSmrg# -----------------------
272b62cc08cSmrg# Set $? to STATUS, without forking.
273b62cc08cSmrgas_fn_set_status ()
274b62cc08cSmrg{
275b62cc08cSmrg  return $1
276b62cc08cSmrg} # as_fn_set_status
2779fe995a9Smrg
278b62cc08cSmrg# as_fn_exit STATUS
279b62cc08cSmrg# -----------------
280b62cc08cSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281b62cc08cSmrgas_fn_exit ()
282b62cc08cSmrg{
283b62cc08cSmrg  set +e
284b62cc08cSmrg  as_fn_set_status $1
285b62cc08cSmrg  exit $1
286b62cc08cSmrg} # as_fn_exit
287b62cc08cSmrg
288b62cc08cSmrg# as_fn_mkdir_p
289b62cc08cSmrg# -------------
290b62cc08cSmrg# Create "$as_dir" as a directory, including parents if necessary.
291b62cc08cSmrgas_fn_mkdir_p ()
292b62cc08cSmrg{
2939fe995a9Smrg
294b62cc08cSmrg  case $as_dir in #(
295b62cc08cSmrg  -*) as_dir=./$as_dir;;
296b62cc08cSmrg  esac
297b62cc08cSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
298b62cc08cSmrg    as_dirs=
299b62cc08cSmrg    while :; do
300b62cc08cSmrg      case $as_dir in #(
301b62cc08cSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302b62cc08cSmrg      *) as_qdir=$as_dir;;
303b62cc08cSmrg      esac
304b62cc08cSmrg      as_dirs="'$as_qdir' $as_dirs"
305b62cc08cSmrg      as_dir=`$as_dirname -- "$as_dir" ||
306b62cc08cSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307b62cc08cSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
308b62cc08cSmrg	 X"$as_dir" : 'X\(//\)$' \| \
309b62cc08cSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310b62cc08cSmrg$as_echo X"$as_dir" |
311b62cc08cSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312b62cc08cSmrg	    s//\1/
313b62cc08cSmrg	    q
314b62cc08cSmrg	  }
315b62cc08cSmrg	  /^X\(\/\/\)[^/].*/{
316b62cc08cSmrg	    s//\1/
317b62cc08cSmrg	    q
318b62cc08cSmrg	  }
319b62cc08cSmrg	  /^X\(\/\/\)$/{
320b62cc08cSmrg	    s//\1/
321b62cc08cSmrg	    q
322b62cc08cSmrg	  }
323b62cc08cSmrg	  /^X\(\/\).*/{
324b62cc08cSmrg	    s//\1/
325b62cc08cSmrg	    q
326b62cc08cSmrg	  }
327b62cc08cSmrg	  s/.*/./; q'`
328b62cc08cSmrg      test -d "$as_dir" && break
329b62cc08cSmrg    done
330b62cc08cSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
331b62cc08cSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332b62cc08cSmrg
333b62cc08cSmrg
334b62cc08cSmrg} # as_fn_mkdir_p
335b62cc08cSmrg# as_fn_append VAR VALUE
336b62cc08cSmrg# ----------------------
337b62cc08cSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
338b62cc08cSmrg# advantage of any shell optimizations that allow amortized linear growth over
339b62cc08cSmrg# repeated appends, instead of the typical quadratic growth present in naive
340b62cc08cSmrg# implementations.
341b62cc08cSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342b62cc08cSmrg  eval 'as_fn_append ()
343b62cc08cSmrg  {
344b62cc08cSmrg    eval $1+=\$2
345b62cc08cSmrg  }'
3469fe995a9Smrgelse
347b62cc08cSmrg  as_fn_append ()
348b62cc08cSmrg  {
349b62cc08cSmrg    eval $1=\$$1\$2
350b62cc08cSmrg  }
351b62cc08cSmrgfi # as_fn_append
352b62cc08cSmrg
353b62cc08cSmrg# as_fn_arith ARG...
354b62cc08cSmrg# ------------------
355b62cc08cSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
356b62cc08cSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
357b62cc08cSmrg# must be portable across $(()) and expr.
358b62cc08cSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359b62cc08cSmrg  eval 'as_fn_arith ()
360b62cc08cSmrg  {
361b62cc08cSmrg    as_val=$(( $* ))
362b62cc08cSmrg  }'
3639fe995a9Smrgelse
364b62cc08cSmrg  as_fn_arith ()
365b62cc08cSmrg  {
366b62cc08cSmrg    as_val=`expr "$@" || test $? -eq 1`
367b62cc08cSmrg  }
368b62cc08cSmrgfi # as_fn_arith
3699fe995a9Smrg
3709fe995a9Smrg
371b62cc08cSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
372b62cc08cSmrg# ----------------------------------------
373b62cc08cSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374b62cc08cSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375b62cc08cSmrg# script with STATUS, using 1 if that was 0.
376b62cc08cSmrgas_fn_error ()
377b62cc08cSmrg{
378b62cc08cSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
379b62cc08cSmrg  if test "$4"; then
380b62cc08cSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382b62cc08cSmrg  fi
383b62cc08cSmrg  $as_echo "$as_me: error: $2" >&2
384b62cc08cSmrg  as_fn_exit $as_status
385b62cc08cSmrg} # as_fn_error
3869fe995a9Smrg
387b62cc08cSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
388b62cc08cSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389b62cc08cSmrg  as_expr=expr
3909fe995a9Smrgelse
391b62cc08cSmrg  as_expr=false
3929fe995a9Smrgfi
3939fe995a9Smrg
394b62cc08cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395b62cc08cSmrg  as_basename=basename
3969fe995a9Smrgelse
397b62cc08cSmrg  as_basename=false
3989fe995a9Smrgfi
3999fe995a9Smrg
400b62cc08cSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401b62cc08cSmrg  as_dirname=dirname
4029fe995a9Smrgelse
403b62cc08cSmrg  as_dirname=false
4049fe995a9Smrgfi
4059fe995a9Smrg
406b62cc08cSmrgas_me=`$as_basename -- "$0" ||
407b62cc08cSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408b62cc08cSmrg	 X"$0" : 'X\(//\)$' \| \
409b62cc08cSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410b62cc08cSmrg$as_echo X/"$0" |
411b62cc08cSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
412b62cc08cSmrg	    s//\1/
413b62cc08cSmrg	    q
414b62cc08cSmrg	  }
415b62cc08cSmrg	  /^X\/\(\/\/\)$/{
416b62cc08cSmrg	    s//\1/
417b62cc08cSmrg	    q
418b62cc08cSmrg	  }
419b62cc08cSmrg	  /^X\/\(\/\).*/{
420b62cc08cSmrg	    s//\1/
421b62cc08cSmrg	    q
422b62cc08cSmrg	  }
423b62cc08cSmrg	  s/.*/./; q'`
4249fe995a9Smrg
425b62cc08cSmrg# Avoid depending upon Character Ranges.
426b62cc08cSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
427b62cc08cSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428b62cc08cSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
429b62cc08cSmrgas_cr_digits='0123456789'
430b62cc08cSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
4319fe995a9Smrg
4329fe995a9Smrg
433b62cc08cSmrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
434b62cc08cSmrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
435b62cc08cSmrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436b62cc08cSmrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437b62cc08cSmrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
4389fe995a9Smrg  sed -n '
4399fe995a9Smrg    p
4409fe995a9Smrg    /[$]LINENO/=
4419fe995a9Smrg  ' <$as_myself |
4429fe995a9Smrg    sed '
4439fe995a9Smrg      s/[$]LINENO.*/&-/
4449fe995a9Smrg      t lineno
4459fe995a9Smrg      b
4469fe995a9Smrg      :lineno
4479fe995a9Smrg      N
4489fe995a9Smrg      :loop
4499fe995a9Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4509fe995a9Smrg      t loop
4519fe995a9Smrg      s/-\n.*//
4529fe995a9Smrg    ' >$as_me.lineno &&
4539fe995a9Smrg  chmod +x "$as_me.lineno" ||
454b62cc08cSmrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
4559fe995a9Smrg
4569fe995a9Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
4579fe995a9Smrg  # (the dirname of $[0] is not the place where we might find the
4589fe995a9Smrg  # original and so on.  Autoconf is especially sensitive to this).
4599fe995a9Smrg  . "./$as_me.lineno"
4609fe995a9Smrg  # Exit status is that of the last command.
4619fe995a9Smrg  exit
4629fe995a9Smrg}
4639fe995a9Smrg
4649fe995a9SmrgECHO_C= ECHO_N= ECHO_T=
465b62cc08cSmrgcase `echo -n x` in #(((((
4669fe995a9Smrg-n*)
467b62cc08cSmrg  case `echo 'xy\c'` in
4689fe995a9Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
469b62cc08cSmrg  xy)  ECHO_C='\c';;
470b62cc08cSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471b62cc08cSmrg       ECHO_T='	';;
4729fe995a9Smrg  esac;;
4739fe995a9Smrg*)
4749fe995a9Smrg  ECHO_N='-n';;
4759fe995a9Smrgesac
4769fe995a9Smrg
4779fe995a9Smrgrm -f conf$$ conf$$.exe conf$$.file
4789fe995a9Smrgif test -d conf$$.dir; then
4799fe995a9Smrg  rm -f conf$$.dir/conf$$.file
4809fe995a9Smrgelse
4819fe995a9Smrg  rm -f conf$$.dir
482b62cc08cSmrg  mkdir conf$$.dir 2>/dev/null
483b62cc08cSmrgfi
484b62cc08cSmrgif (echo >conf$$.file) 2>/dev/null; then
485b62cc08cSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
486b62cc08cSmrg    as_ln_s='ln -s'
487b62cc08cSmrg    # ... but there are two gotchas:
488b62cc08cSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489b62cc08cSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490b62cc08cSmrg    # In both cases, we have to default to `cp -p'.
491b62cc08cSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492b62cc08cSmrg      as_ln_s='cp -p'
493b62cc08cSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
494b62cc08cSmrg    as_ln_s=ln
495b62cc08cSmrg  else
4969fe995a9Smrg    as_ln_s='cp -p'
497b62cc08cSmrg  fi
4989fe995a9Smrgelse
4999fe995a9Smrg  as_ln_s='cp -p'
5009fe995a9Smrgfi
5019fe995a9Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5029fe995a9Smrgrmdir conf$$.dir 2>/dev/null
5039fe995a9Smrg
5049fe995a9Smrgif mkdir -p . 2>/dev/null; then
505b62cc08cSmrg  as_mkdir_p='mkdir -p "$as_dir"'
5069fe995a9Smrgelse
5079fe995a9Smrg  test -d ./-p && rmdir ./-p
5089fe995a9Smrg  as_mkdir_p=false
5099fe995a9Smrgfi
5109fe995a9Smrg
5119fe995a9Smrgif test -x / >/dev/null 2>&1; then
5129fe995a9Smrg  as_test_x='test -x'
5139fe995a9Smrgelse
5149fe995a9Smrg  if ls -dL / >/dev/null 2>&1; then
5159fe995a9Smrg    as_ls_L_option=L
5169fe995a9Smrg  else
5179fe995a9Smrg    as_ls_L_option=
5189fe995a9Smrg  fi
5199fe995a9Smrg  as_test_x='
5209fe995a9Smrg    eval sh -c '\''
5219fe995a9Smrg      if test -d "$1"; then
522b62cc08cSmrg	test -d "$1/.";
5239fe995a9Smrg      else
524b62cc08cSmrg	case $1 in #(
525b62cc08cSmrg	-*)set "./$1";;
5269fe995a9Smrg	esac;
527b62cc08cSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5289fe995a9Smrg	???[sx]*):;;*)false;;esac;fi
5299fe995a9Smrg    '\'' sh
5309fe995a9Smrg  '
5319fe995a9Smrgfi
5329fe995a9Smrgas_executable_p=$as_test_x
5339fe995a9Smrg
5349fe995a9Smrg# Sed expression to map a string onto a valid CPP name.
5359fe995a9Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5369fe995a9Smrg
5379fe995a9Smrg# Sed expression to map a string onto a valid variable name.
5389fe995a9Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5399fe995a9Smrg
5409fe995a9Smrg
541b62cc08cSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null
542b62cc08cSmrgexec 6>&1
5439fe995a9Smrg
5449fe995a9Smrg# Name of the host.
545b62cc08cSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
5469fe995a9Smrg# so uname gets run too.
5479fe995a9Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5489fe995a9Smrg
5499fe995a9Smrg#
5509fe995a9Smrg# Initializations.
5519fe995a9Smrg#
5529fe995a9Smrgac_default_prefix=/usr/local
5539fe995a9Smrgac_clean_files=
5549fe995a9Smrgac_config_libobj_dir=.
5559fe995a9SmrgLIBOBJS=
5569fe995a9Smrgcross_compiling=no
5579fe995a9Smrgsubdirs=
5589fe995a9SmrgMFLAGS=
5599fe995a9SmrgMAKEFLAGS=
5609fe995a9Smrg
5619fe995a9Smrg# Identity of this package.
5629fe995a9SmrgPACKAGE_NAME='iceauth'
5639fe995a9SmrgPACKAGE_TARNAME='iceauth'
56490b6713cSmrgPACKAGE_VERSION='1.0.5'
56590b6713cSmrgPACKAGE_STRING='iceauth 1.0.5'
5669fe995a9SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
567b62cc08cSmrgPACKAGE_URL=''
5689fe995a9Smrg
569b62cc08cSmrg# Factoring default headers for most tests.
570b62cc08cSmrgac_includes_default="\
571b62cc08cSmrg#include <stdio.h>
572b62cc08cSmrg#ifdef HAVE_SYS_TYPES_H
573b62cc08cSmrg# include <sys/types.h>
574b62cc08cSmrg#endif
575b62cc08cSmrg#ifdef HAVE_SYS_STAT_H
576b62cc08cSmrg# include <sys/stat.h>
577b62cc08cSmrg#endif
578b62cc08cSmrg#ifdef STDC_HEADERS
579b62cc08cSmrg# include <stdlib.h>
580b62cc08cSmrg# include <stddef.h>
581b62cc08cSmrg#else
582b62cc08cSmrg# ifdef HAVE_STDLIB_H
583b62cc08cSmrg#  include <stdlib.h>
584b62cc08cSmrg# endif
585b62cc08cSmrg#endif
586b62cc08cSmrg#ifdef HAVE_STRING_H
587b62cc08cSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588b62cc08cSmrg#  include <memory.h>
589b62cc08cSmrg# endif
590b62cc08cSmrg# include <string.h>
591b62cc08cSmrg#endif
592b62cc08cSmrg#ifdef HAVE_STRINGS_H
593b62cc08cSmrg# include <strings.h>
594b62cc08cSmrg#endif
595b62cc08cSmrg#ifdef HAVE_INTTYPES_H
596b62cc08cSmrg# include <inttypes.h>
597b62cc08cSmrg#endif
598b62cc08cSmrg#ifdef HAVE_STDINT_H
599b62cc08cSmrg# include <stdint.h>
600b62cc08cSmrg#endif
601b62cc08cSmrg#ifdef HAVE_UNISTD_H
602b62cc08cSmrg# include <unistd.h>
603b62cc08cSmrg#endif"
604b62cc08cSmrg
605b62cc08cSmrgac_subst_vars='am__EXEEXT_FALSE
606b62cc08cSmrgam__EXEEXT_TRUE
607b62cc08cSmrgLTLIBOBJS
6089fe995a9SmrgLIBOBJS
609b62cc08cSmrgLINT_FALSE
610b62cc08cSmrgLINT_TRUE
611b62cc08cSmrgLINT_FLAGS
612b62cc08cSmrgLINT
613b62cc08cSmrgICEAUTH_LIBS
614b62cc08cSmrgICEAUTH_CFLAGS
615b62cc08cSmrgAM_BACKSLASH
616b62cc08cSmrgAM_DEFAULT_VERBOSITY
617b62cc08cSmrgMAN_SUBSTS
618b62cc08cSmrgXORG_MAN_PAGE
619b62cc08cSmrgADMIN_MAN_DIR
620b62cc08cSmrgDRIVER_MAN_DIR
621b62cc08cSmrgMISC_MAN_DIR
622b62cc08cSmrgFILE_MAN_DIR
623b62cc08cSmrgLIB_MAN_DIR
624b62cc08cSmrgAPP_MAN_DIR
625b62cc08cSmrgADMIN_MAN_SUFFIX
626b62cc08cSmrgDRIVER_MAN_SUFFIX
627b62cc08cSmrgMISC_MAN_SUFFIX
628b62cc08cSmrgFILE_MAN_SUFFIX
629b62cc08cSmrgLIB_MAN_SUFFIX
630b62cc08cSmrgAPP_MAN_SUFFIX
631b62cc08cSmrgSED
632b62cc08cSmrghost_os
633b62cc08cSmrghost_vendor
634b62cc08cSmrghost_cpu
635b62cc08cSmrghost
636b62cc08cSmrgbuild_os
637b62cc08cSmrgbuild_vendor
638b62cc08cSmrgbuild_cpu
639b62cc08cSmrgbuild
640b62cc08cSmrgINSTALL_CMD
64190b6713cSmrgPKG_CONFIG_LIBDIR
64290b6713cSmrgPKG_CONFIG_PATH
643b62cc08cSmrgPKG_CONFIG
644b62cc08cSmrgCHANGELOG_CMD
645b62cc08cSmrgCWARNFLAGS
646b62cc08cSmrgEGREP
647b62cc08cSmrgGREP
648b62cc08cSmrgCPP
649b62cc08cSmrgam__fastdepCC_FALSE
650b62cc08cSmrgam__fastdepCC_TRUE
651b62cc08cSmrgCCDEPMODE
652b62cc08cSmrgAMDEPBACKSLASH
653b62cc08cSmrgAMDEP_FALSE
654b62cc08cSmrgAMDEP_TRUE
655b62cc08cSmrgam__quote
656b62cc08cSmrgam__include
657b62cc08cSmrgDEPDIR
658b62cc08cSmrgOBJEXT
659b62cc08cSmrgEXEEXT
660b62cc08cSmrgac_ct_CC
661b62cc08cSmrgCPPFLAGS
662b62cc08cSmrgLDFLAGS
663b62cc08cSmrgCFLAGS
664b62cc08cSmrgCC
665b62cc08cSmrgMAINT
666b62cc08cSmrgMAINTAINER_MODE_FALSE
667b62cc08cSmrgMAINTAINER_MODE_TRUE
668b62cc08cSmrgam__untar
669b62cc08cSmrgam__tar
670b62cc08cSmrgAMTAR
671b62cc08cSmrgam__leading_dot
672b62cc08cSmrgSET_MAKE
673b62cc08cSmrgAWK
674b62cc08cSmrgmkdir_p
675b62cc08cSmrgMKDIR_P
676b62cc08cSmrgINSTALL_STRIP_PROGRAM
677b62cc08cSmrgSTRIP
678b62cc08cSmrginstall_sh
679b62cc08cSmrgMAKEINFO
680b62cc08cSmrgAUTOHEADER
681b62cc08cSmrgAUTOMAKE
682b62cc08cSmrgAUTOCONF
683b62cc08cSmrgACLOCAL
684b62cc08cSmrgVERSION
685b62cc08cSmrgPACKAGE
686b62cc08cSmrgCYGPATH_W
687b62cc08cSmrgam__isrc
688b62cc08cSmrgINSTALL_DATA
689b62cc08cSmrgINSTALL_SCRIPT
690b62cc08cSmrgINSTALL_PROGRAM
691b62cc08cSmrgtarget_alias
692b62cc08cSmrghost_alias
693b62cc08cSmrgbuild_alias
694b62cc08cSmrgLIBS
695b62cc08cSmrgECHO_T
696b62cc08cSmrgECHO_N
697b62cc08cSmrgECHO_C
698b62cc08cSmrgDEFS
699b62cc08cSmrgmandir
700b62cc08cSmrglocaledir
701b62cc08cSmrglibdir
702b62cc08cSmrgpsdir
703b62cc08cSmrgpdfdir
704b62cc08cSmrgdvidir
705b62cc08cSmrghtmldir
706b62cc08cSmrginfodir
707b62cc08cSmrgdocdir
708b62cc08cSmrgoldincludedir
709b62cc08cSmrgincludedir
710b62cc08cSmrglocalstatedir
711b62cc08cSmrgsharedstatedir
712b62cc08cSmrgsysconfdir
713b62cc08cSmrgdatadir
714b62cc08cSmrgdatarootdir
715b62cc08cSmrglibexecdir
716b62cc08cSmrgsbindir
717b62cc08cSmrgbindir
718b62cc08cSmrgprogram_transform_name
719b62cc08cSmrgprefix
720b62cc08cSmrgexec_prefix
721b62cc08cSmrgPACKAGE_URL
722b62cc08cSmrgPACKAGE_BUGREPORT
723b62cc08cSmrgPACKAGE_STRING
724b62cc08cSmrgPACKAGE_VERSION
725b62cc08cSmrgPACKAGE_TARNAME
726b62cc08cSmrgPACKAGE_NAME
727b62cc08cSmrgPATH_SEPARATOR
728b62cc08cSmrgSHELL'
7299fe995a9Smrgac_subst_files=''
730b62cc08cSmrgac_user_opts='
731b62cc08cSmrgenable_option_checking
732b62cc08cSmrgenable_maintainer_mode
733b62cc08cSmrgenable_dependency_tracking
734b62cc08cSmrgenable_strict_compilation
735b62cc08cSmrgenable_silent_rules
736b62cc08cSmrgwith_lint
737b62cc08cSmrg'
7389fe995a9Smrg      ac_precious_vars='build_alias
7399fe995a9Smrghost_alias
7409fe995a9Smrgtarget_alias
7419fe995a9SmrgCC
7429fe995a9SmrgCFLAGS
7439fe995a9SmrgLDFLAGS
7449fe995a9SmrgLIBS
7459fe995a9SmrgCPPFLAGS
746b62cc08cSmrgCPP
7479fe995a9SmrgPKG_CONFIG
74890b6713cSmrgPKG_CONFIG_PATH
74990b6713cSmrgPKG_CONFIG_LIBDIR
7509fe995a9SmrgICEAUTH_CFLAGS
751b62cc08cSmrgICEAUTH_LIBS
752b62cc08cSmrgLINT
753b62cc08cSmrgLINT_FLAGS'
7549fe995a9Smrg
7559fe995a9Smrg
7569fe995a9Smrg# Initialize some variables set by options.
7579fe995a9Smrgac_init_help=
7589fe995a9Smrgac_init_version=false
759b62cc08cSmrgac_unrecognized_opts=
760b62cc08cSmrgac_unrecognized_sep=
7619fe995a9Smrg# The variables have the same names as the options, with
7629fe995a9Smrg# dashes changed to underlines.
7639fe995a9Smrgcache_file=/dev/null
7649fe995a9Smrgexec_prefix=NONE
7659fe995a9Smrgno_create=
7669fe995a9Smrgno_recursion=
7679fe995a9Smrgprefix=NONE
7689fe995a9Smrgprogram_prefix=NONE
7699fe995a9Smrgprogram_suffix=NONE
7709fe995a9Smrgprogram_transform_name=s,x,x,
7719fe995a9Smrgsilent=
7729fe995a9Smrgsite=
7739fe995a9Smrgsrcdir=
7749fe995a9Smrgverbose=
7759fe995a9Smrgx_includes=NONE
7769fe995a9Smrgx_libraries=NONE
7779fe995a9Smrg
7789fe995a9Smrg# Installation directory options.
7799fe995a9Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
7809fe995a9Smrg# and all the variables that are supposed to be based on exec_prefix
7819fe995a9Smrg# by default will actually change.
7829fe995a9Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
7839fe995a9Smrg# (The list follows the same order as the GNU Coding Standards.)
7849fe995a9Smrgbindir='${exec_prefix}/bin'
7859fe995a9Smrgsbindir='${exec_prefix}/sbin'
7869fe995a9Smrglibexecdir='${exec_prefix}/libexec'
7879fe995a9Smrgdatarootdir='${prefix}/share'
7889fe995a9Smrgdatadir='${datarootdir}'
7899fe995a9Smrgsysconfdir='${prefix}/etc'
7909fe995a9Smrgsharedstatedir='${prefix}/com'
7919fe995a9Smrglocalstatedir='${prefix}/var'
7929fe995a9Smrgincludedir='${prefix}/include'
7939fe995a9Smrgoldincludedir='/usr/include'
7949fe995a9Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7959fe995a9Smrginfodir='${datarootdir}/info'
7969fe995a9Smrghtmldir='${docdir}'
7979fe995a9Smrgdvidir='${docdir}'
7989fe995a9Smrgpdfdir='${docdir}'
7999fe995a9Smrgpsdir='${docdir}'
8009fe995a9Smrglibdir='${exec_prefix}/lib'
8019fe995a9Smrglocaledir='${datarootdir}/locale'
8029fe995a9Smrgmandir='${datarootdir}/man'
8039fe995a9Smrg
8049fe995a9Smrgac_prev=
8059fe995a9Smrgac_dashdash=
8069fe995a9Smrgfor ac_option
8079fe995a9Smrgdo
8089fe995a9Smrg  # If the previous option needs an argument, assign it.
8099fe995a9Smrg  if test -n "$ac_prev"; then
8109fe995a9Smrg    eval $ac_prev=\$ac_option
8119fe995a9Smrg    ac_prev=
8129fe995a9Smrg    continue
8139fe995a9Smrg  fi
8149fe995a9Smrg
8159fe995a9Smrg  case $ac_option in
816b62cc08cSmrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817b62cc08cSmrg  *=)   ac_optarg= ;;
818b62cc08cSmrg  *)    ac_optarg=yes ;;
8199fe995a9Smrg  esac
8209fe995a9Smrg
8219fe995a9Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
8229fe995a9Smrg
8239fe995a9Smrg  case $ac_dashdash$ac_option in
8249fe995a9Smrg  --)
8259fe995a9Smrg    ac_dashdash=yes ;;
8269fe995a9Smrg
8279fe995a9Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
8289fe995a9Smrg    ac_prev=bindir ;;
8299fe995a9Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
8309fe995a9Smrg    bindir=$ac_optarg ;;
8319fe995a9Smrg
8329fe995a9Smrg  -build | --build | --buil | --bui | --bu)
8339fe995a9Smrg    ac_prev=build_alias ;;
8349fe995a9Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
8359fe995a9Smrg    build_alias=$ac_optarg ;;
8369fe995a9Smrg
8379fe995a9Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
8389fe995a9Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8399fe995a9Smrg    ac_prev=cache_file ;;
8409fe995a9Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8419fe995a9Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
8429fe995a9Smrg    cache_file=$ac_optarg ;;
8439fe995a9Smrg
8449fe995a9Smrg  --config-cache | -C)
8459fe995a9Smrg    cache_file=config.cache ;;
8469fe995a9Smrg
8479fe995a9Smrg  -datadir | --datadir | --datadi | --datad)
8489fe995a9Smrg    ac_prev=datadir ;;
8499fe995a9Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
8509fe995a9Smrg    datadir=$ac_optarg ;;
8519fe995a9Smrg
8529fe995a9Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8539fe995a9Smrg  | --dataroo | --dataro | --datar)
8549fe995a9Smrg    ac_prev=datarootdir ;;
8559fe995a9Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8569fe995a9Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8579fe995a9Smrg    datarootdir=$ac_optarg ;;
8589fe995a9Smrg
8599fe995a9Smrg  -disable-* | --disable-*)
860b62cc08cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8619fe995a9Smrg    # Reject names that are not valid shell variable names.
862b62cc08cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863b62cc08cSmrg      as_fn_error $? "invalid feature name: $ac_useropt"
864b62cc08cSmrg    ac_useropt_orig=$ac_useropt
865b62cc08cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866b62cc08cSmrg    case $ac_user_opts in
867b62cc08cSmrg      *"
868b62cc08cSmrg"enable_$ac_useropt"
869b62cc08cSmrg"*) ;;
870b62cc08cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871b62cc08cSmrg	 ac_unrecognized_sep=', ';;
872b62cc08cSmrg    esac
873b62cc08cSmrg    eval enable_$ac_useropt=no ;;
8749fe995a9Smrg
8759fe995a9Smrg  -docdir | --docdir | --docdi | --doc | --do)
8769fe995a9Smrg    ac_prev=docdir ;;
8779fe995a9Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8789fe995a9Smrg    docdir=$ac_optarg ;;
8799fe995a9Smrg
8809fe995a9Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8819fe995a9Smrg    ac_prev=dvidir ;;
8829fe995a9Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8839fe995a9Smrg    dvidir=$ac_optarg ;;
8849fe995a9Smrg
8859fe995a9Smrg  -enable-* | --enable-*)
886b62cc08cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8879fe995a9Smrg    # Reject names that are not valid shell variable names.
888b62cc08cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889b62cc08cSmrg      as_fn_error $? "invalid feature name: $ac_useropt"
890b62cc08cSmrg    ac_useropt_orig=$ac_useropt
891b62cc08cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892b62cc08cSmrg    case $ac_user_opts in
893b62cc08cSmrg      *"
894b62cc08cSmrg"enable_$ac_useropt"
895b62cc08cSmrg"*) ;;
896b62cc08cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897b62cc08cSmrg	 ac_unrecognized_sep=', ';;
898b62cc08cSmrg    esac
899b62cc08cSmrg    eval enable_$ac_useropt=\$ac_optarg ;;
9009fe995a9Smrg
9019fe995a9Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
9029fe995a9Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
9039fe995a9Smrg  | --exec | --exe | --ex)
9049fe995a9Smrg    ac_prev=exec_prefix ;;
9059fe995a9Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
9069fe995a9Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
9079fe995a9Smrg  | --exec=* | --exe=* | --ex=*)
9089fe995a9Smrg    exec_prefix=$ac_optarg ;;
9099fe995a9Smrg
9109fe995a9Smrg  -gas | --gas | --ga | --g)
9119fe995a9Smrg    # Obsolete; use --with-gas.
9129fe995a9Smrg    with_gas=yes ;;
9139fe995a9Smrg
9149fe995a9Smrg  -help | --help | --hel | --he | -h)
9159fe995a9Smrg    ac_init_help=long ;;
9169fe995a9Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9179fe995a9Smrg    ac_init_help=recursive ;;
9189fe995a9Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9199fe995a9Smrg    ac_init_help=short ;;
9209fe995a9Smrg
9219fe995a9Smrg  -host | --host | --hos | --ho)
9229fe995a9Smrg    ac_prev=host_alias ;;
9239fe995a9Smrg  -host=* | --host=* | --hos=* | --ho=*)
9249fe995a9Smrg    host_alias=$ac_optarg ;;
9259fe995a9Smrg
9269fe995a9Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9279fe995a9Smrg    ac_prev=htmldir ;;
9289fe995a9Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9299fe995a9Smrg  | --ht=*)
9309fe995a9Smrg    htmldir=$ac_optarg ;;
9319fe995a9Smrg
9329fe995a9Smrg  -includedir | --includedir | --includedi | --included | --include \
9339fe995a9Smrg  | --includ | --inclu | --incl | --inc)
9349fe995a9Smrg    ac_prev=includedir ;;
9359fe995a9Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9369fe995a9Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
9379fe995a9Smrg    includedir=$ac_optarg ;;
9389fe995a9Smrg
9399fe995a9Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
9409fe995a9Smrg    ac_prev=infodir ;;
9419fe995a9Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9429fe995a9Smrg    infodir=$ac_optarg ;;
9439fe995a9Smrg
9449fe995a9Smrg  -libdir | --libdir | --libdi | --libd)
9459fe995a9Smrg    ac_prev=libdir ;;
9469fe995a9Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
9479fe995a9Smrg    libdir=$ac_optarg ;;
9489fe995a9Smrg
9499fe995a9Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9509fe995a9Smrg  | --libexe | --libex | --libe)
9519fe995a9Smrg    ac_prev=libexecdir ;;
9529fe995a9Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9539fe995a9Smrg  | --libexe=* | --libex=* | --libe=*)
9549fe995a9Smrg    libexecdir=$ac_optarg ;;
9559fe995a9Smrg
9569fe995a9Smrg  -localedir | --localedir | --localedi | --localed | --locale)
9579fe995a9Smrg    ac_prev=localedir ;;
9589fe995a9Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9599fe995a9Smrg    localedir=$ac_optarg ;;
9609fe995a9Smrg
9619fe995a9Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9629fe995a9Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
9639fe995a9Smrg    ac_prev=localstatedir ;;
9649fe995a9Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9659fe995a9Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9669fe995a9Smrg    localstatedir=$ac_optarg ;;
9679fe995a9Smrg
9689fe995a9Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9699fe995a9Smrg    ac_prev=mandir ;;
9709fe995a9Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9719fe995a9Smrg    mandir=$ac_optarg ;;
9729fe995a9Smrg
9739fe995a9Smrg  -nfp | --nfp | --nf)
9749fe995a9Smrg    # Obsolete; use --without-fp.
9759fe995a9Smrg    with_fp=no ;;
9769fe995a9Smrg
9779fe995a9Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9789fe995a9Smrg  | --no-cr | --no-c | -n)
9799fe995a9Smrg    no_create=yes ;;
9809fe995a9Smrg
9819fe995a9Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9829fe995a9Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9839fe995a9Smrg    no_recursion=yes ;;
9849fe995a9Smrg
9859fe995a9Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9869fe995a9Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9879fe995a9Smrg  | --oldin | --oldi | --old | --ol | --o)
9889fe995a9Smrg    ac_prev=oldincludedir ;;
9899fe995a9Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9909fe995a9Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9919fe995a9Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9929fe995a9Smrg    oldincludedir=$ac_optarg ;;
9939fe995a9Smrg
9949fe995a9Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9959fe995a9Smrg    ac_prev=prefix ;;
9969fe995a9Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9979fe995a9Smrg    prefix=$ac_optarg ;;
9989fe995a9Smrg
9999fe995a9Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
10009fe995a9Smrg  | --program-pre | --program-pr | --program-p)
10019fe995a9Smrg    ac_prev=program_prefix ;;
10029fe995a9Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
10039fe995a9Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
10049fe995a9Smrg    program_prefix=$ac_optarg ;;
10059fe995a9Smrg
10069fe995a9Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
10079fe995a9Smrg  | --program-suf | --program-su | --program-s)
10089fe995a9Smrg    ac_prev=program_suffix ;;
10099fe995a9Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
10109fe995a9Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
10119fe995a9Smrg    program_suffix=$ac_optarg ;;
10129fe995a9Smrg
10139fe995a9Smrg  -program-transform-name | --program-transform-name \
10149fe995a9Smrg  | --program-transform-nam | --program-transform-na \
10159fe995a9Smrg  | --program-transform-n | --program-transform- \
10169fe995a9Smrg  | --program-transform | --program-transfor \
10179fe995a9Smrg  | --program-transfo | --program-transf \
10189fe995a9Smrg  | --program-trans | --program-tran \
10199fe995a9Smrg  | --progr-tra | --program-tr | --program-t)
10209fe995a9Smrg    ac_prev=program_transform_name ;;
10219fe995a9Smrg  -program-transform-name=* | --program-transform-name=* \
10229fe995a9Smrg  | --program-transform-nam=* | --program-transform-na=* \
10239fe995a9Smrg  | --program-transform-n=* | --program-transform-=* \
10249fe995a9Smrg  | --program-transform=* | --program-transfor=* \
10259fe995a9Smrg  | --program-transfo=* | --program-transf=* \
10269fe995a9Smrg  | --program-trans=* | --program-tran=* \
10279fe995a9Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
10289fe995a9Smrg    program_transform_name=$ac_optarg ;;
10299fe995a9Smrg
10309fe995a9Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10319fe995a9Smrg    ac_prev=pdfdir ;;
10329fe995a9Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10339fe995a9Smrg    pdfdir=$ac_optarg ;;
10349fe995a9Smrg
10359fe995a9Smrg  -psdir | --psdir | --psdi | --psd | --ps)
10369fe995a9Smrg    ac_prev=psdir ;;
10379fe995a9Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10389fe995a9Smrg    psdir=$ac_optarg ;;
10399fe995a9Smrg
10409fe995a9Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10419fe995a9Smrg  | -silent | --silent | --silen | --sile | --sil)
10429fe995a9Smrg    silent=yes ;;
10439fe995a9Smrg
10449fe995a9Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10459fe995a9Smrg    ac_prev=sbindir ;;
10469fe995a9Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10479fe995a9Smrg  | --sbi=* | --sb=*)
10489fe995a9Smrg    sbindir=$ac_optarg ;;
10499fe995a9Smrg
10509fe995a9Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
10519fe995a9Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
10529fe995a9Smrg  | --sharedst | --shareds | --shared | --share | --shar \
10539fe995a9Smrg  | --sha | --sh)
10549fe995a9Smrg    ac_prev=sharedstatedir ;;
10559fe995a9Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
10569fe995a9Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
10579fe995a9Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
10589fe995a9Smrg  | --sha=* | --sh=*)
10599fe995a9Smrg    sharedstatedir=$ac_optarg ;;
10609fe995a9Smrg
10619fe995a9Smrg  -site | --site | --sit)
10629fe995a9Smrg    ac_prev=site ;;
10639fe995a9Smrg  -site=* | --site=* | --sit=*)
10649fe995a9Smrg    site=$ac_optarg ;;
10659fe995a9Smrg
10669fe995a9Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10679fe995a9Smrg    ac_prev=srcdir ;;
10689fe995a9Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10699fe995a9Smrg    srcdir=$ac_optarg ;;
10709fe995a9Smrg
10719fe995a9Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10729fe995a9Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
10739fe995a9Smrg    ac_prev=sysconfdir ;;
10749fe995a9Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10759fe995a9Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10769fe995a9Smrg    sysconfdir=$ac_optarg ;;
10779fe995a9Smrg
10789fe995a9Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
10799fe995a9Smrg    ac_prev=target_alias ;;
10809fe995a9Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10819fe995a9Smrg    target_alias=$ac_optarg ;;
10829fe995a9Smrg
10839fe995a9Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
10849fe995a9Smrg    verbose=yes ;;
10859fe995a9Smrg
10869fe995a9Smrg  -version | --version | --versio | --versi | --vers | -V)
10879fe995a9Smrg    ac_init_version=: ;;
10889fe995a9Smrg
10899fe995a9Smrg  -with-* | --with-*)
1090b62cc08cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10919fe995a9Smrg    # Reject names that are not valid shell variable names.
1092b62cc08cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093b62cc08cSmrg      as_fn_error $? "invalid package name: $ac_useropt"
1094b62cc08cSmrg    ac_useropt_orig=$ac_useropt
1095b62cc08cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096b62cc08cSmrg    case $ac_user_opts in
1097b62cc08cSmrg      *"
1098b62cc08cSmrg"with_$ac_useropt"
1099b62cc08cSmrg"*) ;;
1100b62cc08cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101b62cc08cSmrg	 ac_unrecognized_sep=', ';;
1102b62cc08cSmrg    esac
1103b62cc08cSmrg    eval with_$ac_useropt=\$ac_optarg ;;
11049fe995a9Smrg
11059fe995a9Smrg  -without-* | --without-*)
1106b62cc08cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11079fe995a9Smrg    # Reject names that are not valid shell variable names.
1108b62cc08cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109b62cc08cSmrg      as_fn_error $? "invalid package name: $ac_useropt"
1110b62cc08cSmrg    ac_useropt_orig=$ac_useropt
1111b62cc08cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112b62cc08cSmrg    case $ac_user_opts in
1113b62cc08cSmrg      *"
1114b62cc08cSmrg"with_$ac_useropt"
1115b62cc08cSmrg"*) ;;
1116b62cc08cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117b62cc08cSmrg	 ac_unrecognized_sep=', ';;
1118b62cc08cSmrg    esac
1119b62cc08cSmrg    eval with_$ac_useropt=no ;;
11209fe995a9Smrg
11219fe995a9Smrg  --x)
11229fe995a9Smrg    # Obsolete; use --with-x.
11239fe995a9Smrg    with_x=yes ;;
11249fe995a9Smrg
11259fe995a9Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
11269fe995a9Smrg  | --x-incl | --x-inc | --x-in | --x-i)
11279fe995a9Smrg    ac_prev=x_includes ;;
11289fe995a9Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
11299fe995a9Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
11309fe995a9Smrg    x_includes=$ac_optarg ;;
11319fe995a9Smrg
11329fe995a9Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
11339fe995a9Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
11349fe995a9Smrg    ac_prev=x_libraries ;;
11359fe995a9Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
11369fe995a9Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11379fe995a9Smrg    x_libraries=$ac_optarg ;;
11389fe995a9Smrg
1139b62cc08cSmrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1140b62cc08cSmrgTry \`$0 --help' for more information"
11419fe995a9Smrg    ;;
11429fe995a9Smrg
11439fe995a9Smrg  *=*)
11449fe995a9Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11459fe995a9Smrg    # Reject names that are not valid shell variable names.
1146b62cc08cSmrg    case $ac_envvar in #(
1147b62cc08cSmrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1148b62cc08cSmrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1149b62cc08cSmrg    esac
11509fe995a9Smrg    eval $ac_envvar=\$ac_optarg
11519fe995a9Smrg    export $ac_envvar ;;
11529fe995a9Smrg
11539fe995a9Smrg  *)
11549fe995a9Smrg    # FIXME: should be removed in autoconf 3.0.
1155b62cc08cSmrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11569fe995a9Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157b62cc08cSmrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158b62cc08cSmrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11599fe995a9Smrg    ;;
11609fe995a9Smrg
11619fe995a9Smrg  esac
11629fe995a9Smrgdone
11639fe995a9Smrg
11649fe995a9Smrgif test -n "$ac_prev"; then
11659fe995a9Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166b62cc08cSmrg  as_fn_error $? "missing argument to $ac_option"
1167b62cc08cSmrgfi
1168b62cc08cSmrg
1169b62cc08cSmrgif test -n "$ac_unrecognized_opts"; then
1170b62cc08cSmrg  case $enable_option_checking in
1171b62cc08cSmrg    no) ;;
1172b62cc08cSmrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1173b62cc08cSmrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174b62cc08cSmrg  esac
11759fe995a9Smrgfi
11769fe995a9Smrg
1177b62cc08cSmrg# Check all directory arguments for consistency.
11789fe995a9Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
11799fe995a9Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
11809fe995a9Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11819fe995a9Smrg		libdir localedir mandir
11829fe995a9Smrgdo
11839fe995a9Smrg  eval ac_val=\$$ac_var
1184b62cc08cSmrg  # Remove trailing slashes.
1185b62cc08cSmrg  case $ac_val in
1186b62cc08cSmrg    */ )
1187b62cc08cSmrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188b62cc08cSmrg      eval $ac_var=\$ac_val;;
1189b62cc08cSmrg  esac
1190b62cc08cSmrg  # Be sure to have absolute directory names.
11919fe995a9Smrg  case $ac_val in
11929fe995a9Smrg    [\\/$]* | ?:[\\/]* )  continue;;
11939fe995a9Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11949fe995a9Smrg  esac
1195b62cc08cSmrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11969fe995a9Smrgdone
11979fe995a9Smrg
11989fe995a9Smrg# There might be people who depend on the old broken behavior: `$host'
11999fe995a9Smrg# used to hold the argument of --host etc.
12009fe995a9Smrg# FIXME: To remove some day.
12019fe995a9Smrgbuild=$build_alias
12029fe995a9Smrghost=$host_alias
12039fe995a9Smrgtarget=$target_alias
12049fe995a9Smrg
12059fe995a9Smrg# FIXME: To remove some day.
12069fe995a9Smrgif test "x$host_alias" != x; then
12079fe995a9Smrg  if test "x$build_alias" = x; then
12089fe995a9Smrg    cross_compiling=maybe
1209b62cc08cSmrg    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1210b62cc08cSmrg    If a cross compiler is detected then cross compile mode will be used" >&2
12119fe995a9Smrg  elif test "x$build_alias" != "x$host_alias"; then
12129fe995a9Smrg    cross_compiling=yes
12139fe995a9Smrg  fi
12149fe995a9Smrgfi
12159fe995a9Smrg
12169fe995a9Smrgac_tool_prefix=
12179fe995a9Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
12189fe995a9Smrg
12199fe995a9Smrgtest "$silent" = yes && exec 6>/dev/null
12209fe995a9Smrg
12219fe995a9Smrg
12229fe995a9Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
12239fe995a9Smrgac_ls_di=`ls -di .` &&
12249fe995a9Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225b62cc08cSmrg  as_fn_error $? "working directory cannot be determined"
12269fe995a9Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227b62cc08cSmrg  as_fn_error $? "pwd does not report name of working directory"
12289fe995a9Smrg
12299fe995a9Smrg
12309fe995a9Smrg# Find the source files, if location was not specified.
12319fe995a9Smrgif test -z "$srcdir"; then
12329fe995a9Smrg  ac_srcdir_defaulted=yes
12339fe995a9Smrg  # Try the directory containing this script, then the parent directory.
1234b62cc08cSmrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1235b62cc08cSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236b62cc08cSmrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1237b62cc08cSmrg	 X"$as_myself" : 'X\(//\)$' \| \
1238b62cc08cSmrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239b62cc08cSmrg$as_echo X"$as_myself" |
12409fe995a9Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12419fe995a9Smrg	    s//\1/
12429fe995a9Smrg	    q
12439fe995a9Smrg	  }
12449fe995a9Smrg	  /^X\(\/\/\)[^/].*/{
12459fe995a9Smrg	    s//\1/
12469fe995a9Smrg	    q
12479fe995a9Smrg	  }
12489fe995a9Smrg	  /^X\(\/\/\)$/{
12499fe995a9Smrg	    s//\1/
12509fe995a9Smrg	    q
12519fe995a9Smrg	  }
12529fe995a9Smrg	  /^X\(\/\).*/{
12539fe995a9Smrg	    s//\1/
12549fe995a9Smrg	    q
12559fe995a9Smrg	  }
12569fe995a9Smrg	  s/.*/./; q'`
12579fe995a9Smrg  srcdir=$ac_confdir
12589fe995a9Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
12599fe995a9Smrg    srcdir=..
12609fe995a9Smrg  fi
12619fe995a9Smrgelse
12629fe995a9Smrg  ac_srcdir_defaulted=no
12639fe995a9Smrgfi
12649fe995a9Smrgif test ! -r "$srcdir/$ac_unique_file"; then
12659fe995a9Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266b62cc08cSmrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12679fe995a9Smrgfi
12689fe995a9Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12699fe995a9Smrgac_abs_confdir=`(
1270b62cc08cSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12719fe995a9Smrg	pwd)`
12729fe995a9Smrg# When building in place, set srcdir=.
12739fe995a9Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
12749fe995a9Smrg  srcdir=.
12759fe995a9Smrgfi
12769fe995a9Smrg# Remove unnecessary trailing slashes from srcdir.
12779fe995a9Smrg# Double slashes in file names in object file debugging info
12789fe995a9Smrg# mess up M-x gdb in Emacs.
12799fe995a9Smrgcase $srcdir in
12809fe995a9Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12819fe995a9Smrgesac
12829fe995a9Smrgfor ac_var in $ac_precious_vars; do
12839fe995a9Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12849fe995a9Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
12859fe995a9Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12869fe995a9Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12879fe995a9Smrgdone
12889fe995a9Smrg
12899fe995a9Smrg#
12909fe995a9Smrg# Report the --help message.
12919fe995a9Smrg#
12929fe995a9Smrgif test "$ac_init_help" = "long"; then
12939fe995a9Smrg  # Omit some internal or obsolete options to make the list less imposing.
12949fe995a9Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
12959fe995a9Smrg  cat <<_ACEOF
129690b6713cSmrg\`configure' configures iceauth 1.0.5 to adapt to many kinds of systems.
12979fe995a9Smrg
12989fe995a9SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
12999fe995a9Smrg
13009fe995a9SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
13019fe995a9SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
13029fe995a9Smrg
13039fe995a9SmrgDefaults for the options are specified in brackets.
13049fe995a9Smrg
13059fe995a9SmrgConfiguration:
13069fe995a9Smrg  -h, --help              display this help and exit
13079fe995a9Smrg      --help=short        display options specific to this package
13089fe995a9Smrg      --help=recursive    display the short help of all the included packages
13099fe995a9Smrg  -V, --version           display version information and exit
1310b62cc08cSmrg  -q, --quiet, --silent   do not print \`checking ...' messages
13119fe995a9Smrg      --cache-file=FILE   cache test results in FILE [disabled]
13129fe995a9Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
13139fe995a9Smrg  -n, --no-create         do not create output files
13149fe995a9Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
13159fe995a9Smrg
13169fe995a9SmrgInstallation directories:
13179fe995a9Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1318b62cc08cSmrg                          [$ac_default_prefix]
13199fe995a9Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1320b62cc08cSmrg                          [PREFIX]
13219fe995a9Smrg
13229fe995a9SmrgBy default, \`make install' will install all the files in
13239fe995a9Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
13249fe995a9Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
13259fe995a9Smrgfor instance \`--prefix=\$HOME'.
13269fe995a9Smrg
13279fe995a9SmrgFor better control, use the options below.
13289fe995a9Smrg
13299fe995a9SmrgFine tuning of the installation directories:
1330b62cc08cSmrg  --bindir=DIR            user executables [EPREFIX/bin]
1331b62cc08cSmrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1332b62cc08cSmrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1333b62cc08cSmrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1334b62cc08cSmrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1335b62cc08cSmrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1336b62cc08cSmrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1337b62cc08cSmrg  --includedir=DIR        C header files [PREFIX/include]
1338b62cc08cSmrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1339b62cc08cSmrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1340b62cc08cSmrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1341b62cc08cSmrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1342b62cc08cSmrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1343b62cc08cSmrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1344b62cc08cSmrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/iceauth]
1345b62cc08cSmrg  --htmldir=DIR           html documentation [DOCDIR]
1346b62cc08cSmrg  --dvidir=DIR            dvi documentation [DOCDIR]
1347b62cc08cSmrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1348b62cc08cSmrg  --psdir=DIR             ps documentation [DOCDIR]
13499fe995a9Smrg_ACEOF
13509fe995a9Smrg
13519fe995a9Smrg  cat <<\_ACEOF
13529fe995a9Smrg
13539fe995a9SmrgProgram names:
13549fe995a9Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
13559fe995a9Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
13569fe995a9Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13579fe995a9Smrg
13589fe995a9SmrgSystem types:
13599fe995a9Smrg  --build=BUILD     configure for building on BUILD [guessed]
13609fe995a9Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
13619fe995a9Smrg_ACEOF
13629fe995a9Smrgfi
13639fe995a9Smrg
13649fe995a9Smrgif test -n "$ac_init_help"; then
13659fe995a9Smrg  case $ac_init_help in
136690b6713cSmrg     short | recursive ) echo "Configuration of iceauth 1.0.5:";;
13679fe995a9Smrg   esac
13689fe995a9Smrg  cat <<\_ACEOF
13699fe995a9Smrg
13709fe995a9SmrgOptional Features:
1371b62cc08cSmrg  --disable-option-checking  ignore unrecognized --enable/--with options
13729fe995a9Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
13739fe995a9Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
13749fe995a9Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
13759fe995a9Smrg			  (and sometimes confusing) to the casual installer
13769fe995a9Smrg  --disable-dependency-tracking  speeds up one-time build
13779fe995a9Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
1378b62cc08cSmrg  --enable-strict-compilation
1379b62cc08cSmrg                          Enable all warnings from compiler and make them
1380b62cc08cSmrg                          errors (default: disabled)
1381b62cc08cSmrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
1382b62cc08cSmrg  --disable-silent-rules         verbose build output (undo: `make V=0')
13839fe995a9Smrg
13849fe995a9SmrgOptional Packages:
13859fe995a9Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
13869fe995a9Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
13879fe995a9Smrg  --with-lint             Use a lint-style source code checker (default:
13889fe995a9Smrg                          disabled)
13899fe995a9Smrg
13909fe995a9SmrgSome influential environment variables:
13919fe995a9Smrg  CC          C compiler command
13929fe995a9Smrg  CFLAGS      C compiler flags
13939fe995a9Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
13949fe995a9Smrg              nonstandard directory <lib dir>
13959fe995a9Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
1396b62cc08cSmrg  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13979fe995a9Smrg              you have headers in a nonstandard directory <include dir>
1398b62cc08cSmrg  CPP         C preprocessor
13999fe995a9Smrg  PKG_CONFIG  path to pkg-config utility
140090b6713cSmrg  PKG_CONFIG_PATH
140190b6713cSmrg              directories to add to pkg-config's search path
140290b6713cSmrg  PKG_CONFIG_LIBDIR
140390b6713cSmrg              path overriding pkg-config's built-in search path
14049fe995a9Smrg  ICEAUTH_CFLAGS
14059fe995a9Smrg              C compiler flags for ICEAUTH, overriding pkg-config
14069fe995a9Smrg  ICEAUTH_LIBS
14079fe995a9Smrg              linker flags for ICEAUTH, overriding pkg-config
1408b62cc08cSmrg  LINT        Path to a lint-style command
1409b62cc08cSmrg  LINT_FLAGS  Flags for the lint-style command
14109fe995a9Smrg
14119fe995a9SmrgUse these variables to override the choices made by `configure' or to help
14129fe995a9Smrgit to find libraries and programs with nonstandard names/locations.
14139fe995a9Smrg
14149fe995a9SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
14159fe995a9Smrg_ACEOF
14169fe995a9Smrgac_status=$?
14179fe995a9Smrgfi
14189fe995a9Smrg
14199fe995a9Smrgif test "$ac_init_help" = "recursive"; then
14209fe995a9Smrg  # If there are subdirs, report their specific --help.
14219fe995a9Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422b62cc08cSmrg    test -d "$ac_dir" ||
1423b62cc08cSmrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1424b62cc08cSmrg      continue
14259fe995a9Smrg    ac_builddir=.
14269fe995a9Smrg
14279fe995a9Smrgcase "$ac_dir" in
14289fe995a9Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14299fe995a9Smrg*)
1430b62cc08cSmrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14319fe995a9Smrg  # A ".." for each directory in $ac_dir_suffix.
1432b62cc08cSmrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14339fe995a9Smrg  case $ac_top_builddir_sub in
14349fe995a9Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14359fe995a9Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14369fe995a9Smrg  esac ;;
14379fe995a9Smrgesac
14389fe995a9Smrgac_abs_top_builddir=$ac_pwd
14399fe995a9Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
14409fe995a9Smrg# for backward compatibility:
14419fe995a9Smrgac_top_builddir=$ac_top_build_prefix
14429fe995a9Smrg
14439fe995a9Smrgcase $srcdir in
14449fe995a9Smrg  .)  # We are building in place.
14459fe995a9Smrg    ac_srcdir=.
14469fe995a9Smrg    ac_top_srcdir=$ac_top_builddir_sub
14479fe995a9Smrg    ac_abs_top_srcdir=$ac_pwd ;;
14489fe995a9Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
14499fe995a9Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
14509fe995a9Smrg    ac_top_srcdir=$srcdir
14519fe995a9Smrg    ac_abs_top_srcdir=$srcdir ;;
14529fe995a9Smrg  *) # Relative name.
14539fe995a9Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14549fe995a9Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
14559fe995a9Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14569fe995a9Smrgesac
14579fe995a9Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14589fe995a9Smrg
14599fe995a9Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
14609fe995a9Smrg    # Check for guested configure.
14619fe995a9Smrg    if test -f "$ac_srcdir/configure.gnu"; then
14629fe995a9Smrg      echo &&
14639fe995a9Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14649fe995a9Smrg    elif test -f "$ac_srcdir/configure"; then
14659fe995a9Smrg      echo &&
14669fe995a9Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
14679fe995a9Smrg    else
1468b62cc08cSmrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14699fe995a9Smrg    fi || ac_status=$?
14709fe995a9Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
14719fe995a9Smrg  done
14729fe995a9Smrgfi
14739fe995a9Smrg
14749fe995a9Smrgtest -n "$ac_init_help" && exit $ac_status
14759fe995a9Smrgif $ac_init_version; then
14769fe995a9Smrg  cat <<\_ACEOF
147790b6713cSmrgiceauth configure 1.0.5
1478b62cc08cSmrggenerated by GNU Autoconf 2.68
14799fe995a9Smrg
1480b62cc08cSmrgCopyright (C) 2010 Free Software Foundation, Inc.
14819fe995a9SmrgThis configure script is free software; the Free Software Foundation
14829fe995a9Smrggives unlimited permission to copy, distribute and modify it.
14839fe995a9Smrg_ACEOF
14849fe995a9Smrg  exit
14859fe995a9Smrgfi
1486b62cc08cSmrg
1487b62cc08cSmrg## ------------------------ ##
1488b62cc08cSmrg## Autoconf initialization. ##
1489b62cc08cSmrg## ------------------------ ##
1490b62cc08cSmrg
1491b62cc08cSmrg# ac_fn_c_try_compile LINENO
1492b62cc08cSmrg# --------------------------
1493b62cc08cSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
1494b62cc08cSmrgac_fn_c_try_compile ()
1495b62cc08cSmrg{
1496b62cc08cSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497b62cc08cSmrg  rm -f conftest.$ac_objext
1498b62cc08cSmrg  if { { ac_try="$ac_compile"
1499b62cc08cSmrgcase "(($ac_try" in
1500b62cc08cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501b62cc08cSmrg  *) ac_try_echo=$ac_try;;
1502b62cc08cSmrgesac
1503b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
1505b62cc08cSmrg  (eval "$ac_compile") 2>conftest.err
1506b62cc08cSmrg  ac_status=$?
1507b62cc08cSmrg  if test -s conftest.err; then
1508b62cc08cSmrg    grep -v '^ *+' conftest.err >conftest.er1
1509b62cc08cSmrg    cat conftest.er1 >&5
1510b62cc08cSmrg    mv -f conftest.er1 conftest.err
1511b62cc08cSmrg  fi
1512b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513b62cc08cSmrg  test $ac_status = 0; } && {
1514b62cc08cSmrg	 test -z "$ac_c_werror_flag" ||
1515b62cc08cSmrg	 test ! -s conftest.err
1516b62cc08cSmrg       } && test -s conftest.$ac_objext; then :
1517b62cc08cSmrg  ac_retval=0
1518b62cc08cSmrgelse
1519b62cc08cSmrg  $as_echo "$as_me: failed program was:" >&5
1520b62cc08cSmrgsed 's/^/| /' conftest.$ac_ext >&5
1521b62cc08cSmrg
1522b62cc08cSmrg	ac_retval=1
1523b62cc08cSmrgfi
1524b62cc08cSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525b62cc08cSmrg  as_fn_set_status $ac_retval
1526b62cc08cSmrg
1527b62cc08cSmrg} # ac_fn_c_try_compile
1528b62cc08cSmrg
1529b62cc08cSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1530b62cc08cSmrg# ---------------------------------------------
1531b62cc08cSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1532b62cc08cSmrg# accordingly.
1533b62cc08cSmrgac_fn_c_check_decl ()
1534b62cc08cSmrg{
1535b62cc08cSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536b62cc08cSmrg  as_decl_name=`echo $2|sed 's/ *(.*//'`
1537b62cc08cSmrg  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1538b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1539b62cc08cSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1540b62cc08cSmrgif eval \${$3+:} false; then :
1541b62cc08cSmrg  $as_echo_n "(cached) " >&6
1542b62cc08cSmrgelse
1543b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1544b62cc08cSmrg/* end confdefs.h.  */
1545b62cc08cSmrg$4
1546b62cc08cSmrgint
1547b62cc08cSmrgmain ()
1548b62cc08cSmrg{
1549b62cc08cSmrg#ifndef $as_decl_name
1550b62cc08cSmrg#ifdef __cplusplus
1551b62cc08cSmrg  (void) $as_decl_use;
1552b62cc08cSmrg#else
1553b62cc08cSmrg  (void) $as_decl_name;
1554b62cc08cSmrg#endif
1555b62cc08cSmrg#endif
1556b62cc08cSmrg
1557b62cc08cSmrg  ;
1558b62cc08cSmrg  return 0;
1559b62cc08cSmrg}
1560b62cc08cSmrg_ACEOF
1561b62cc08cSmrgif ac_fn_c_try_compile "$LINENO"; then :
1562b62cc08cSmrg  eval "$3=yes"
1563b62cc08cSmrgelse
1564b62cc08cSmrg  eval "$3=no"
1565b62cc08cSmrgfi
1566b62cc08cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1567b62cc08cSmrgfi
1568b62cc08cSmrgeval ac_res=\$$3
1569b62cc08cSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1570b62cc08cSmrg$as_echo "$ac_res" >&6; }
1571b62cc08cSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572b62cc08cSmrg
1573b62cc08cSmrg} # ac_fn_c_check_decl
1574b62cc08cSmrg
1575b62cc08cSmrg# ac_fn_c_try_cpp LINENO
1576b62cc08cSmrg# ----------------------
1577b62cc08cSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1578b62cc08cSmrgac_fn_c_try_cpp ()
1579b62cc08cSmrg{
1580b62cc08cSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581b62cc08cSmrg  if { { ac_try="$ac_cpp conftest.$ac_ext"
1582b62cc08cSmrgcase "(($ac_try" in
1583b62cc08cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584b62cc08cSmrg  *) ac_try_echo=$ac_try;;
1585b62cc08cSmrgesac
1586b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
1588b62cc08cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1589b62cc08cSmrg  ac_status=$?
1590b62cc08cSmrg  if test -s conftest.err; then
1591b62cc08cSmrg    grep -v '^ *+' conftest.err >conftest.er1
1592b62cc08cSmrg    cat conftest.er1 >&5
1593b62cc08cSmrg    mv -f conftest.er1 conftest.err
1594b62cc08cSmrg  fi
1595b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596b62cc08cSmrg  test $ac_status = 0; } > conftest.i && {
1597b62cc08cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1598b62cc08cSmrg	 test ! -s conftest.err
1599b62cc08cSmrg       }; then :
1600b62cc08cSmrg  ac_retval=0
1601b62cc08cSmrgelse
1602b62cc08cSmrg  $as_echo "$as_me: failed program was:" >&5
1603b62cc08cSmrgsed 's/^/| /' conftest.$ac_ext >&5
1604b62cc08cSmrg
1605b62cc08cSmrg    ac_retval=1
1606b62cc08cSmrgfi
1607b62cc08cSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608b62cc08cSmrg  as_fn_set_status $ac_retval
1609b62cc08cSmrg
1610b62cc08cSmrg} # ac_fn_c_try_cpp
1611b62cc08cSmrg
1612b62cc08cSmrg# ac_fn_c_try_run LINENO
1613b62cc08cSmrg# ----------------------
1614b62cc08cSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1615b62cc08cSmrg# that executables *can* be run.
1616b62cc08cSmrgac_fn_c_try_run ()
1617b62cc08cSmrg{
1618b62cc08cSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619b62cc08cSmrg  if { { ac_try="$ac_link"
1620b62cc08cSmrgcase "(($ac_try" in
1621b62cc08cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622b62cc08cSmrg  *) ac_try_echo=$ac_try;;
1623b62cc08cSmrgesac
1624b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
1626b62cc08cSmrg  (eval "$ac_link") 2>&5
1627b62cc08cSmrg  ac_status=$?
1628b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629b62cc08cSmrg  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1630b62cc08cSmrg  { { case "(($ac_try" in
1631b62cc08cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632b62cc08cSmrg  *) ac_try_echo=$ac_try;;
1633b62cc08cSmrgesac
1634b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
1636b62cc08cSmrg  (eval "$ac_try") 2>&5
1637b62cc08cSmrg  ac_status=$?
1638b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639b62cc08cSmrg  test $ac_status = 0; }; }; then :
1640b62cc08cSmrg  ac_retval=0
1641b62cc08cSmrgelse
1642b62cc08cSmrg  $as_echo "$as_me: program exited with status $ac_status" >&5
1643b62cc08cSmrg       $as_echo "$as_me: failed program was:" >&5
1644b62cc08cSmrgsed 's/^/| /' conftest.$ac_ext >&5
1645b62cc08cSmrg
1646b62cc08cSmrg       ac_retval=$ac_status
1647b62cc08cSmrgfi
1648b62cc08cSmrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649b62cc08cSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650b62cc08cSmrg  as_fn_set_status $ac_retval
1651b62cc08cSmrg
1652b62cc08cSmrg} # ac_fn_c_try_run
1653b62cc08cSmrg
1654b62cc08cSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655b62cc08cSmrg# -------------------------------------------------------
1656b62cc08cSmrg# Tests whether HEADER exists and can be compiled using the include files in
1657b62cc08cSmrg# INCLUDES, setting the cache variable VAR accordingly.
1658b62cc08cSmrgac_fn_c_check_header_compile ()
1659b62cc08cSmrg{
1660b62cc08cSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662b62cc08cSmrg$as_echo_n "checking for $2... " >&6; }
1663b62cc08cSmrgif eval \${$3+:} false; then :
1664b62cc08cSmrg  $as_echo_n "(cached) " >&6
1665b62cc08cSmrgelse
1666b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667b62cc08cSmrg/* end confdefs.h.  */
1668b62cc08cSmrg$4
1669b62cc08cSmrg#include <$2>
1670b62cc08cSmrg_ACEOF
1671b62cc08cSmrgif ac_fn_c_try_compile "$LINENO"; then :
1672b62cc08cSmrg  eval "$3=yes"
1673b62cc08cSmrgelse
1674b62cc08cSmrg  eval "$3=no"
1675b62cc08cSmrgfi
1676b62cc08cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677b62cc08cSmrgfi
1678b62cc08cSmrgeval ac_res=\$$3
1679b62cc08cSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680b62cc08cSmrg$as_echo "$ac_res" >&6; }
1681b62cc08cSmrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682b62cc08cSmrg
1683b62cc08cSmrg} # ac_fn_c_check_header_compile
16849fe995a9Smrgcat >config.log <<_ACEOF
16859fe995a9SmrgThis file contains any messages produced by compilers while
16869fe995a9Smrgrunning configure, to aid debugging if configure makes a mistake.
16879fe995a9Smrg
168890b6713cSmrgIt was created by iceauth $as_me 1.0.5, which was
1689b62cc08cSmrggenerated by GNU Autoconf 2.68.  Invocation command line was
16909fe995a9Smrg
16919fe995a9Smrg  $ $0 $@
16929fe995a9Smrg
16939fe995a9Smrg_ACEOF
16949fe995a9Smrgexec 5>>config.log
16959fe995a9Smrg{
16969fe995a9Smrgcat <<_ASUNAME
16979fe995a9Smrg## --------- ##
16989fe995a9Smrg## Platform. ##
16999fe995a9Smrg## --------- ##
17009fe995a9Smrg
17019fe995a9Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
17029fe995a9Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
17039fe995a9Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
17049fe995a9Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
17059fe995a9Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
17069fe995a9Smrg
17079fe995a9Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
17089fe995a9Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
17099fe995a9Smrg
17109fe995a9Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
17119fe995a9Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
17129fe995a9Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
17139fe995a9Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
17149fe995a9Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
17159fe995a9Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
17169fe995a9Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
17179fe995a9Smrg
17189fe995a9Smrg_ASUNAME
17199fe995a9Smrg
17209fe995a9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17219fe995a9Smrgfor as_dir in $PATH
17229fe995a9Smrgdo
17239fe995a9Smrg  IFS=$as_save_IFS
17249fe995a9Smrg  test -z "$as_dir" && as_dir=.
1725b62cc08cSmrg    $as_echo "PATH: $as_dir"
1726b62cc08cSmrg  done
17279fe995a9SmrgIFS=$as_save_IFS
17289fe995a9Smrg
17299fe995a9Smrg} >&5
17309fe995a9Smrg
17319fe995a9Smrgcat >&5 <<_ACEOF
17329fe995a9Smrg
17339fe995a9Smrg
17349fe995a9Smrg## ----------- ##
17359fe995a9Smrg## Core tests. ##
17369fe995a9Smrg## ----------- ##
17379fe995a9Smrg
17389fe995a9Smrg_ACEOF
17399fe995a9Smrg
17409fe995a9Smrg
17419fe995a9Smrg# Keep a trace of the command line.
17429fe995a9Smrg# Strip out --no-create and --no-recursion so they do not pile up.
17439fe995a9Smrg# Strip out --silent because we don't want to record it for future runs.
17449fe995a9Smrg# Also quote any args containing shell meta-characters.
17459fe995a9Smrg# Make two passes to allow for proper duplicate-argument suppression.
17469fe995a9Smrgac_configure_args=
17479fe995a9Smrgac_configure_args0=
17489fe995a9Smrgac_configure_args1=
17499fe995a9Smrgac_must_keep_next=false
17509fe995a9Smrgfor ac_pass in 1 2
17519fe995a9Smrgdo
17529fe995a9Smrg  for ac_arg
17539fe995a9Smrg  do
17549fe995a9Smrg    case $ac_arg in
17559fe995a9Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
17569fe995a9Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17579fe995a9Smrg    | -silent | --silent | --silen | --sile | --sil)
17589fe995a9Smrg      continue ;;
17599fe995a9Smrg    *\'*)
1760b62cc08cSmrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17619fe995a9Smrg    esac
17629fe995a9Smrg    case $ac_pass in
1763b62cc08cSmrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
17649fe995a9Smrg    2)
1765b62cc08cSmrg      as_fn_append ac_configure_args1 " '$ac_arg'"
17669fe995a9Smrg      if test $ac_must_keep_next = true; then
17679fe995a9Smrg	ac_must_keep_next=false # Got value, back to normal.
17689fe995a9Smrg      else
17699fe995a9Smrg	case $ac_arg in
17709fe995a9Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
17719fe995a9Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
17729fe995a9Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
17739fe995a9Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
17749fe995a9Smrg	    case "$ac_configure_args0 " in
17759fe995a9Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
17769fe995a9Smrg	    esac
17779fe995a9Smrg	    ;;
17789fe995a9Smrg	  -* ) ac_must_keep_next=true ;;
17799fe995a9Smrg	esac
17809fe995a9Smrg      fi
1781b62cc08cSmrg      as_fn_append ac_configure_args " '$ac_arg'"
17829fe995a9Smrg      ;;
17839fe995a9Smrg    esac
17849fe995a9Smrg  done
17859fe995a9Smrgdone
1786b62cc08cSmrg{ ac_configure_args0=; unset ac_configure_args0;}
1787b62cc08cSmrg{ ac_configure_args1=; unset ac_configure_args1;}
17889fe995a9Smrg
17899fe995a9Smrg# When interrupted or exit'd, cleanup temporary files, and complete
17909fe995a9Smrg# config.log.  We remove comments because anyway the quotes in there
17919fe995a9Smrg# would cause problems or look ugly.
17929fe995a9Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
17939fe995a9Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
17949fe995a9Smrgtrap 'exit_status=$?
17959fe995a9Smrg  # Save into config.log some information that might help in debugging.
17969fe995a9Smrg  {
17979fe995a9Smrg    echo
17989fe995a9Smrg
1799b62cc08cSmrg    $as_echo "## ---------------- ##
18009fe995a9Smrg## Cache variables. ##
1801b62cc08cSmrg## ---------------- ##"
18029fe995a9Smrg    echo
18039fe995a9Smrg    # The following way of writing the cache mishandles newlines in values,
18049fe995a9Smrg(
18059fe995a9Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
18069fe995a9Smrg    eval ac_val=\$$ac_var
18079fe995a9Smrg    case $ac_val in #(
18089fe995a9Smrg    *${as_nl}*)
18099fe995a9Smrg      case $ac_var in #(
1810b62cc08cSmrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1811b62cc08cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18129fe995a9Smrg      esac
18139fe995a9Smrg      case $ac_var in #(
18149fe995a9Smrg      _ | IFS | as_nl) ;; #(
1815b62cc08cSmrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1816b62cc08cSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
18179fe995a9Smrg      esac ;;
18189fe995a9Smrg    esac
18199fe995a9Smrg  done
18209fe995a9Smrg  (set) 2>&1 |
18219fe995a9Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
18229fe995a9Smrg    *${as_nl}ac_space=\ *)
18239fe995a9Smrg      sed -n \
18249fe995a9Smrg	"s/'\''/'\''\\\\'\'''\''/g;
18259fe995a9Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
18269fe995a9Smrg      ;; #(
18279fe995a9Smrg    *)
18289fe995a9Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18299fe995a9Smrg      ;;
18309fe995a9Smrg    esac |
18319fe995a9Smrg    sort
18329fe995a9Smrg)
18339fe995a9Smrg    echo
18349fe995a9Smrg
1835b62cc08cSmrg    $as_echo "## ----------------- ##
18369fe995a9Smrg## Output variables. ##
1837b62cc08cSmrg## ----------------- ##"
18389fe995a9Smrg    echo
18399fe995a9Smrg    for ac_var in $ac_subst_vars
18409fe995a9Smrg    do
18419fe995a9Smrg      eval ac_val=\$$ac_var
18429fe995a9Smrg      case $ac_val in
1843b62cc08cSmrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
18449fe995a9Smrg      esac
1845b62cc08cSmrg      $as_echo "$ac_var='\''$ac_val'\''"
18469fe995a9Smrg    done | sort
18479fe995a9Smrg    echo
18489fe995a9Smrg
18499fe995a9Smrg    if test -n "$ac_subst_files"; then
1850b62cc08cSmrg      $as_echo "## ------------------- ##
18519fe995a9Smrg## File substitutions. ##
1852b62cc08cSmrg## ------------------- ##"
18539fe995a9Smrg      echo
18549fe995a9Smrg      for ac_var in $ac_subst_files
18559fe995a9Smrg      do
18569fe995a9Smrg	eval ac_val=\$$ac_var
18579fe995a9Smrg	case $ac_val in
1858b62cc08cSmrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
18599fe995a9Smrg	esac
1860b62cc08cSmrg	$as_echo "$ac_var='\''$ac_val'\''"
18619fe995a9Smrg      done | sort
18629fe995a9Smrg      echo
18639fe995a9Smrg    fi
18649fe995a9Smrg
18659fe995a9Smrg    if test -s confdefs.h; then
1866b62cc08cSmrg      $as_echo "## ----------- ##
18679fe995a9Smrg## confdefs.h. ##
1868b62cc08cSmrg## ----------- ##"
18699fe995a9Smrg      echo
18709fe995a9Smrg      cat confdefs.h
18719fe995a9Smrg      echo
18729fe995a9Smrg    fi
18739fe995a9Smrg    test "$ac_signal" != 0 &&
1874b62cc08cSmrg      $as_echo "$as_me: caught signal $ac_signal"
1875b62cc08cSmrg    $as_echo "$as_me: exit $exit_status"
18769fe995a9Smrg  } >&5
18779fe995a9Smrg  rm -f core *.core core.conftest.* &&
18789fe995a9Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
18799fe995a9Smrg    exit $exit_status
18809fe995a9Smrg' 0
18819fe995a9Smrgfor ac_signal in 1 2 13 15; do
1882b62cc08cSmrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
18839fe995a9Smrgdone
18849fe995a9Smrgac_signal=0
18859fe995a9Smrg
18869fe995a9Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
18879fe995a9Smrgrm -f -r conftest* confdefs.h
18889fe995a9Smrg
1889b62cc08cSmrg$as_echo "/* confdefs.h */" > confdefs.h
1890b62cc08cSmrg
18919fe995a9Smrg# Predefined preprocessor variables.
18929fe995a9Smrg
18939fe995a9Smrgcat >>confdefs.h <<_ACEOF
18949fe995a9Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
18959fe995a9Smrg_ACEOF
18969fe995a9Smrg
18979fe995a9Smrgcat >>confdefs.h <<_ACEOF
18989fe995a9Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
18999fe995a9Smrg_ACEOF
19009fe995a9Smrg
19019fe995a9Smrgcat >>confdefs.h <<_ACEOF
19029fe995a9Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
19039fe995a9Smrg_ACEOF
19049fe995a9Smrg
19059fe995a9Smrgcat >>confdefs.h <<_ACEOF
19069fe995a9Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
19079fe995a9Smrg_ACEOF
19089fe995a9Smrg
19099fe995a9Smrgcat >>confdefs.h <<_ACEOF
19109fe995a9Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
19119fe995a9Smrg_ACEOF
19129fe995a9Smrg
1913b62cc08cSmrgcat >>confdefs.h <<_ACEOF
1914b62cc08cSmrg#define PACKAGE_URL "$PACKAGE_URL"
1915b62cc08cSmrg_ACEOF
1916b62cc08cSmrg
19179fe995a9Smrg
19189fe995a9Smrg# Let the site file select an alternate cache file if it wants to.
1919b62cc08cSmrg# Prefer an explicitly selected file to automatically selected ones.
1920b62cc08cSmrgac_site_file1=NONE
1921b62cc08cSmrgac_site_file2=NONE
19229fe995a9Smrgif test -n "$CONFIG_SITE"; then
1923b62cc08cSmrg  # We do not want a PATH search for config.site.
1924b62cc08cSmrg  case $CONFIG_SITE in #((
1925b62cc08cSmrg    -*)  ac_site_file1=./$CONFIG_SITE;;
1926b62cc08cSmrg    */*) ac_site_file1=$CONFIG_SITE;;
1927b62cc08cSmrg    *)   ac_site_file1=./$CONFIG_SITE;;
1928b62cc08cSmrg  esac
19299fe995a9Smrgelif test "x$prefix" != xNONE; then
1930b62cc08cSmrg  ac_site_file1=$prefix/share/config.site
1931b62cc08cSmrg  ac_site_file2=$prefix/etc/config.site
19329fe995a9Smrgelse
1933b62cc08cSmrg  ac_site_file1=$ac_default_prefix/share/config.site
1934b62cc08cSmrg  ac_site_file2=$ac_default_prefix/etc/config.site
19359fe995a9Smrgfi
1936b62cc08cSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
19379fe995a9Smrgdo
1938b62cc08cSmrg  test "x$ac_site_file" = xNONE && continue
1939b62cc08cSmrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1940b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1941b62cc08cSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
19429fe995a9Smrg    sed 's/^/| /' "$ac_site_file" >&5
1943b62cc08cSmrg    . "$ac_site_file" \
1944b62cc08cSmrg      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1945b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1946b62cc08cSmrgas_fn_error $? "failed to load site script $ac_site_file
1947b62cc08cSmrgSee \`config.log' for more details" "$LINENO" 5; }
19489fe995a9Smrg  fi
19499fe995a9Smrgdone
19509fe995a9Smrg
19519fe995a9Smrgif test -r "$cache_file"; then
1952b62cc08cSmrg  # Some versions of bash will fail to source /dev/null (special files
1953b62cc08cSmrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1954b62cc08cSmrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1955b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1956b62cc08cSmrg$as_echo "$as_me: loading cache $cache_file" >&6;}
19579fe995a9Smrg    case $cache_file in
19589fe995a9Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
19599fe995a9Smrg      *)                      . "./$cache_file";;
19609fe995a9Smrg    esac
19619fe995a9Smrg  fi
19629fe995a9Smrgelse
1963b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1964b62cc08cSmrg$as_echo "$as_me: creating cache $cache_file" >&6;}
19659fe995a9Smrg  >$cache_file
19669fe995a9Smrgfi
19679fe995a9Smrg
19689fe995a9Smrg# Check that the precious variables saved in the cache have kept the same
19699fe995a9Smrg# value.
19709fe995a9Smrgac_cache_corrupted=false
19719fe995a9Smrgfor ac_var in $ac_precious_vars; do
19729fe995a9Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
19739fe995a9Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
19749fe995a9Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
19759fe995a9Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
19769fe995a9Smrg  case $ac_old_set,$ac_new_set in
19779fe995a9Smrg    set,)
1978b62cc08cSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1979b62cc08cSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19809fe995a9Smrg      ac_cache_corrupted=: ;;
19819fe995a9Smrg    ,set)
1982b62cc08cSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1983b62cc08cSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19849fe995a9Smrg      ac_cache_corrupted=: ;;
19859fe995a9Smrg    ,);;
19869fe995a9Smrg    *)
19879fe995a9Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1988b62cc08cSmrg	# differences in whitespace do not lead to failure.
1989b62cc08cSmrg	ac_old_val_w=`echo x $ac_old_val`
1990b62cc08cSmrg	ac_new_val_w=`echo x $ac_new_val`
1991b62cc08cSmrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1992b62cc08cSmrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1993b62cc08cSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1994b62cc08cSmrg	  ac_cache_corrupted=:
1995b62cc08cSmrg	else
1996b62cc08cSmrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1997b62cc08cSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1998b62cc08cSmrg	  eval $ac_var=\$ac_old_val
1999b62cc08cSmrg	fi
2000b62cc08cSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2001b62cc08cSmrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2002b62cc08cSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2003b62cc08cSmrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
20049fe995a9Smrg      fi;;
20059fe995a9Smrg  esac
20069fe995a9Smrg  # Pass precious variables to config.status.
20079fe995a9Smrg  if test "$ac_new_set" = set; then
20089fe995a9Smrg    case $ac_new_val in
2009b62cc08cSmrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2010b62cc08cSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
2011b62cc08cSmrg    esac
2012b62cc08cSmrg    case " $ac_configure_args " in
2013b62cc08cSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2014b62cc08cSmrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2015b62cc08cSmrg    esac
2016b62cc08cSmrg  fi
2017b62cc08cSmrgdone
2018b62cc08cSmrgif $ac_cache_corrupted; then
2019b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2020b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2021b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2022b62cc08cSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2023b62cc08cSmrg  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2024b62cc08cSmrgfi
2025b62cc08cSmrg## -------------------- ##
2026b62cc08cSmrg## Main body of script. ##
2027b62cc08cSmrg## -------------------- ##
20289fe995a9Smrg
20299fe995a9Smrgac_ext=c
20309fe995a9Smrgac_cpp='$CPP $CPPFLAGS'
20319fe995a9Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20329fe995a9Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20339fe995a9Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
20349fe995a9Smrg
20359fe995a9Smrg
2036b62cc08cSmrgam__api_version='1.11'
20379fe995a9Smrg
20389fe995a9Smrgac_aux_dir=
20399fe995a9Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
20409fe995a9Smrg  if test -f "$ac_dir/install-sh"; then
20419fe995a9Smrg    ac_aux_dir=$ac_dir
20429fe995a9Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
20439fe995a9Smrg    break
20449fe995a9Smrg  elif test -f "$ac_dir/install.sh"; then
20459fe995a9Smrg    ac_aux_dir=$ac_dir
20469fe995a9Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
20479fe995a9Smrg    break
20489fe995a9Smrg  elif test -f "$ac_dir/shtool"; then
20499fe995a9Smrg    ac_aux_dir=$ac_dir
20509fe995a9Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
20519fe995a9Smrg    break
20529fe995a9Smrg  fi
20539fe995a9Smrgdone
20549fe995a9Smrgif test -z "$ac_aux_dir"; then
2055b62cc08cSmrg  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
20569fe995a9Smrgfi
20579fe995a9Smrg
20589fe995a9Smrg# These three variables are undocumented and unsupported,
20599fe995a9Smrg# and are intended to be withdrawn in a future Autoconf release.
20609fe995a9Smrg# They can cause serious problems if a builder's source tree is in a directory
20619fe995a9Smrg# whose full name contains unusual characters.
20629fe995a9Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
20639fe995a9Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
20649fe995a9Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
20659fe995a9Smrg
20669fe995a9Smrg
20679fe995a9Smrg# Find a good install program.  We prefer a C program (faster),
20689fe995a9Smrg# so one script is as good as another.  But avoid the broken or
20699fe995a9Smrg# incompatible versions:
20709fe995a9Smrg# SysV /etc/install, /usr/sbin/install
20719fe995a9Smrg# SunOS /usr/etc/install
20729fe995a9Smrg# IRIX /sbin/install
20739fe995a9Smrg# AIX /bin/install
20749fe995a9Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
20759fe995a9Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
20769fe995a9Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
20779fe995a9Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20789fe995a9Smrg# OS/2's system install, which has a completely different semantic
20799fe995a9Smrg# ./install, which can be erroneously created by make from ./install.sh.
2080b62cc08cSmrg# Reject install programs that cannot install multiple files.
2081b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2082b62cc08cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
20839fe995a9Smrgif test -z "$INSTALL"; then
2084b62cc08cSmrgif ${ac_cv_path_install+:} false; then :
2085b62cc08cSmrg  $as_echo_n "(cached) " >&6
20869fe995a9Smrgelse
20879fe995a9Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20889fe995a9Smrgfor as_dir in $PATH
20899fe995a9Smrgdo
20909fe995a9Smrg  IFS=$as_save_IFS
20919fe995a9Smrg  test -z "$as_dir" && as_dir=.
2092b62cc08cSmrg    # Account for people who put trailing slashes in PATH elements.
2093b62cc08cSmrgcase $as_dir/ in #((
2094b62cc08cSmrg  ./ | .// | /[cC]/* | \
20959fe995a9Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2096b62cc08cSmrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
20979fe995a9Smrg  /usr/ucb/* ) ;;
20989fe995a9Smrg  *)
20999fe995a9Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
21009fe995a9Smrg    # Don't use installbsd from OSF since it installs stuff as root
21019fe995a9Smrg    # by default.
21029fe995a9Smrg    for ac_prog in ginstall scoinst install; do
21039fe995a9Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
21049fe995a9Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
21059fe995a9Smrg	  if test $ac_prog = install &&
21069fe995a9Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21079fe995a9Smrg	    # AIX install.  It has an incompatible calling convention.
21089fe995a9Smrg	    :
21099fe995a9Smrg	  elif test $ac_prog = install &&
21109fe995a9Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21119fe995a9Smrg	    # program-specific install script used by HP pwplus--don't use.
21129fe995a9Smrg	    :
21139fe995a9Smrg	  else
2114b62cc08cSmrg	    rm -rf conftest.one conftest.two conftest.dir
2115b62cc08cSmrg	    echo one > conftest.one
2116b62cc08cSmrg	    echo two > conftest.two
2117b62cc08cSmrg	    mkdir conftest.dir
2118b62cc08cSmrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2119b62cc08cSmrg	      test -s conftest.one && test -s conftest.two &&
2120b62cc08cSmrg	      test -s conftest.dir/conftest.one &&
2121b62cc08cSmrg	      test -s conftest.dir/conftest.two
2122b62cc08cSmrg	    then
2123b62cc08cSmrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2124b62cc08cSmrg	      break 3
2125b62cc08cSmrg	    fi
21269fe995a9Smrg	  fi
21279fe995a9Smrg	fi
21289fe995a9Smrg      done
21299fe995a9Smrg    done
21309fe995a9Smrg    ;;
21319fe995a9Smrgesac
2132b62cc08cSmrg
2133b62cc08cSmrg  done
21349fe995a9SmrgIFS=$as_save_IFS
21359fe995a9Smrg
2136b62cc08cSmrgrm -rf conftest.one conftest.two conftest.dir
21379fe995a9Smrg
21389fe995a9Smrgfi
21399fe995a9Smrg  if test "${ac_cv_path_install+set}" = set; then
21409fe995a9Smrg    INSTALL=$ac_cv_path_install
21419fe995a9Smrg  else
21429fe995a9Smrg    # As a last resort, use the slow shell script.  Don't cache a
21439fe995a9Smrg    # value for INSTALL within a source directory, because that will
21449fe995a9Smrg    # break other packages using the cache if that directory is
21459fe995a9Smrg    # removed, or if the value is a relative name.
21469fe995a9Smrg    INSTALL=$ac_install_sh
21479fe995a9Smrg  fi
21489fe995a9Smrgfi
2149b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2150b62cc08cSmrg$as_echo "$INSTALL" >&6; }
21519fe995a9Smrg
21529fe995a9Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
21539fe995a9Smrg# It thinks the first close brace ends the variable substitution.
21549fe995a9Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
21559fe995a9Smrg
21569fe995a9Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
21579fe995a9Smrg
21589fe995a9Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
21599fe995a9Smrg
2160b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2161b62cc08cSmrg$as_echo_n "checking whether build environment is sane... " >&6; }
21629fe995a9Smrg# Just in case
21639fe995a9Smrgsleep 1
21649fe995a9Smrgecho timestamp > conftest.file
2165b62cc08cSmrg# Reject unsafe characters in $srcdir or the absolute working directory
2166b62cc08cSmrg# name.  Accept space and tab only in the latter.
2167b62cc08cSmrgam_lf='
2168b62cc08cSmrg'
2169b62cc08cSmrgcase `pwd` in
2170b62cc08cSmrg  *[\\\"\#\$\&\'\`$am_lf]*)
2171b62cc08cSmrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2172b62cc08cSmrgesac
2173b62cc08cSmrgcase $srcdir in
2174b62cc08cSmrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2175b62cc08cSmrg    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2176b62cc08cSmrgesac
2177b62cc08cSmrg
21789fe995a9Smrg# Do `set' in a subshell so we don't clobber the current shell's
21799fe995a9Smrg# arguments.  Must try -L first in case configure is actually a
21809fe995a9Smrg# symlink; some systems play weird games with the mod time of symlinks
21819fe995a9Smrg# (eg FreeBSD returns the mod time of the symlink's containing
21829fe995a9Smrg# directory).
21839fe995a9Smrgif (
2184b62cc08cSmrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
21859fe995a9Smrg   if test "$*" = "X"; then
21869fe995a9Smrg      # -L didn't work.
2187b62cc08cSmrg      set X `ls -t "$srcdir/configure" conftest.file`
21889fe995a9Smrg   fi
21899fe995a9Smrg   rm -f conftest.file
21909fe995a9Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
21919fe995a9Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
21929fe995a9Smrg
21939fe995a9Smrg      # If neither matched, then we have a broken ls.  This can happen
21949fe995a9Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
21959fe995a9Smrg      # broken ls alias from the environment.  This has actually
21969fe995a9Smrg      # happened.  Such a system could not be considered "sane".
2197b62cc08cSmrg      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2198b62cc08cSmrgalias in your environment" "$LINENO" 5
21999fe995a9Smrg   fi
22009fe995a9Smrg
22019fe995a9Smrg   test "$2" = conftest.file
22029fe995a9Smrg   )
22039fe995a9Smrgthen
22049fe995a9Smrg   # Ok.
22059fe995a9Smrg   :
22069fe995a9Smrgelse
2207b62cc08cSmrg   as_fn_error $? "newly created file is older than distributed files!
2208b62cc08cSmrgCheck your system clock" "$LINENO" 5
22099fe995a9Smrgfi
2210b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2211b62cc08cSmrg$as_echo "yes" >&6; }
22129fe995a9Smrgtest "$program_prefix" != NONE &&
22139fe995a9Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
22149fe995a9Smrg# Use a double $ so make ignores it.
22159fe995a9Smrgtest "$program_suffix" != NONE &&
22169fe995a9Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2217b62cc08cSmrg# Double any \ or $.
22189fe995a9Smrg# By default was `s,x,x', remove it if useless.
2219b62cc08cSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2220b62cc08cSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
22219fe995a9Smrg
22229fe995a9Smrg# expand $ac_aux_dir to an absolute path
22239fe995a9Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
22249fe995a9Smrg
2225b62cc08cSmrgif test x"${MISSING+set}" != xset; then
2226b62cc08cSmrg  case $am_aux_dir in
2227b62cc08cSmrg  *\ * | *\	*)
2228b62cc08cSmrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2229b62cc08cSmrg  *)
2230b62cc08cSmrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2231b62cc08cSmrg  esac
2232b62cc08cSmrgfi
22339fe995a9Smrg# Use eval to expand $SHELL
22349fe995a9Smrgif eval "$MISSING --run true"; then
22359fe995a9Smrg  am_missing_run="$MISSING --run "
22369fe995a9Smrgelse
22379fe995a9Smrg  am_missing_run=
2238b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2239b62cc08cSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2240b62cc08cSmrgfi
2241b62cc08cSmrg
2242b62cc08cSmrgif test x"${install_sh}" != xset; then
2243b62cc08cSmrg  case $am_aux_dir in
2244b62cc08cSmrg  *\ * | *\	*)
2245b62cc08cSmrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2246b62cc08cSmrg  *)
2247b62cc08cSmrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2248b62cc08cSmrg  esac
2249b62cc08cSmrgfi
2250b62cc08cSmrg
2251b62cc08cSmrg# Installed binaries are usually stripped using `strip' when the user
2252b62cc08cSmrg# run `make install-strip'.  However `strip' might not be the right
2253b62cc08cSmrg# tool to use in cross-compilation environments, therefore Automake
2254b62cc08cSmrg# will honor the `STRIP' environment variable to overrule this program.
2255b62cc08cSmrgif test "$cross_compiling" != no; then
2256b62cc08cSmrg  if test -n "$ac_tool_prefix"; then
2257b62cc08cSmrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2258b62cc08cSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2
2259b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2260b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2261b62cc08cSmrgif ${ac_cv_prog_STRIP+:} false; then :
2262b62cc08cSmrg  $as_echo_n "(cached) " >&6
2263b62cc08cSmrgelse
2264b62cc08cSmrg  if test -n "$STRIP"; then
2265b62cc08cSmrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2266b62cc08cSmrgelse
2267b62cc08cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268b62cc08cSmrgfor as_dir in $PATH
2269b62cc08cSmrgdo
2270b62cc08cSmrg  IFS=$as_save_IFS
2271b62cc08cSmrg  test -z "$as_dir" && as_dir=.
2272b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2273b62cc08cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2274b62cc08cSmrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2275b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2276b62cc08cSmrg    break 2
2277b62cc08cSmrg  fi
2278b62cc08cSmrgdone
2279b62cc08cSmrg  done
2280b62cc08cSmrgIFS=$as_save_IFS
2281b62cc08cSmrg
2282b62cc08cSmrgfi
2283b62cc08cSmrgfi
2284b62cc08cSmrgSTRIP=$ac_cv_prog_STRIP
2285b62cc08cSmrgif test -n "$STRIP"; then
2286b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2287b62cc08cSmrg$as_echo "$STRIP" >&6; }
2288b62cc08cSmrgelse
2289b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2290b62cc08cSmrg$as_echo "no" >&6; }
2291b62cc08cSmrgfi
2292b62cc08cSmrg
2293b62cc08cSmrg
2294b62cc08cSmrgfi
2295b62cc08cSmrgif test -z "$ac_cv_prog_STRIP"; then
2296b62cc08cSmrg  ac_ct_STRIP=$STRIP
2297b62cc08cSmrg  # Extract the first word of "strip", so it can be a program name with args.
2298b62cc08cSmrgset dummy strip; ac_word=$2
2299b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2301b62cc08cSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2302b62cc08cSmrg  $as_echo_n "(cached) " >&6
2303b62cc08cSmrgelse
2304b62cc08cSmrg  if test -n "$ac_ct_STRIP"; then
2305b62cc08cSmrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2306b62cc08cSmrgelse
2307b62cc08cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308b62cc08cSmrgfor as_dir in $PATH
2309b62cc08cSmrgdo
2310b62cc08cSmrg  IFS=$as_save_IFS
2311b62cc08cSmrg  test -z "$as_dir" && as_dir=.
2312b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
2313b62cc08cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314b62cc08cSmrg    ac_cv_prog_ac_ct_STRIP="strip"
2315b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316b62cc08cSmrg    break 2
2317b62cc08cSmrg  fi
2318b62cc08cSmrgdone
2319b62cc08cSmrg  done
2320b62cc08cSmrgIFS=$as_save_IFS
2321b62cc08cSmrg
2322b62cc08cSmrgfi
2323b62cc08cSmrgfi
2324b62cc08cSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2325b62cc08cSmrgif test -n "$ac_ct_STRIP"; then
2326b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2327b62cc08cSmrg$as_echo "$ac_ct_STRIP" >&6; }
2328b62cc08cSmrgelse
2329b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330b62cc08cSmrg$as_echo "no" >&6; }
2331b62cc08cSmrgfi
2332b62cc08cSmrg
2333b62cc08cSmrg  if test "x$ac_ct_STRIP" = x; then
2334b62cc08cSmrg    STRIP=":"
2335b62cc08cSmrg  else
2336b62cc08cSmrg    case $cross_compiling:$ac_tool_warned in
2337b62cc08cSmrgyes:)
2338b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2339b62cc08cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2340b62cc08cSmrgac_tool_warned=yes ;;
2341b62cc08cSmrgesac
2342b62cc08cSmrg    STRIP=$ac_ct_STRIP
2343b62cc08cSmrg  fi
2344b62cc08cSmrgelse
2345b62cc08cSmrg  STRIP="$ac_cv_prog_STRIP"
23469fe995a9Smrgfi
23479fe995a9Smrg
2348b62cc08cSmrgfi
2349b62cc08cSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2350b62cc08cSmrg
2351b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2352b62cc08cSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
23539fe995a9Smrgif test -z "$MKDIR_P"; then
2354b62cc08cSmrg  if ${ac_cv_path_mkdir+:} false; then :
2355b62cc08cSmrg  $as_echo_n "(cached) " >&6
23569fe995a9Smrgelse
23579fe995a9Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23589fe995a9Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
23599fe995a9Smrgdo
23609fe995a9Smrg  IFS=$as_save_IFS
23619fe995a9Smrg  test -z "$as_dir" && as_dir=.
2362b62cc08cSmrg    for ac_prog in mkdir gmkdir; do
23639fe995a9Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
23649fe995a9Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
23659fe995a9Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
23669fe995a9Smrg	     'mkdir (GNU coreutils) '* | \
23679fe995a9Smrg	     'mkdir (coreutils) '* | \
23689fe995a9Smrg	     'mkdir (fileutils) '4.1*)
23699fe995a9Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
23709fe995a9Smrg	       break 3;;
23719fe995a9Smrg	   esac
23729fe995a9Smrg	 done
23739fe995a9Smrg       done
2374b62cc08cSmrg  done
23759fe995a9SmrgIFS=$as_save_IFS
23769fe995a9Smrg
23779fe995a9Smrgfi
23789fe995a9Smrg
2379b62cc08cSmrg  test -d ./--version && rmdir ./--version
23809fe995a9Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
23819fe995a9Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
23829fe995a9Smrg  else
23839fe995a9Smrg    # As a last resort, use the slow shell script.  Don't cache a
23849fe995a9Smrg    # value for MKDIR_P within a source directory, because that will
23859fe995a9Smrg    # break other packages using the cache if that directory is
23869fe995a9Smrg    # removed, or if the value is a relative name.
23879fe995a9Smrg    MKDIR_P="$ac_install_sh -d"
23889fe995a9Smrg  fi
23899fe995a9Smrgfi
2390b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2391b62cc08cSmrg$as_echo "$MKDIR_P" >&6; }
23929fe995a9Smrg
23939fe995a9Smrgmkdir_p="$MKDIR_P"
23949fe995a9Smrgcase $mkdir_p in
23959fe995a9Smrg  [\\/$]* | ?:[\\/]*) ;;
23969fe995a9Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
23979fe995a9Smrgesac
23989fe995a9Smrg
23999fe995a9Smrgfor ac_prog in gawk mawk nawk awk
24009fe995a9Smrgdo
24019fe995a9Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
24029fe995a9Smrgset dummy $ac_prog; ac_word=$2
2403b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2405b62cc08cSmrgif ${ac_cv_prog_AWK+:} false; then :
2406b62cc08cSmrg  $as_echo_n "(cached) " >&6
24079fe995a9Smrgelse
24089fe995a9Smrg  if test -n "$AWK"; then
24099fe995a9Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
24109fe995a9Smrgelse
24119fe995a9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24129fe995a9Smrgfor as_dir in $PATH
24139fe995a9Smrgdo
24149fe995a9Smrg  IFS=$as_save_IFS
24159fe995a9Smrg  test -z "$as_dir" && as_dir=.
2416b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
24179fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24189fe995a9Smrg    ac_cv_prog_AWK="$ac_prog"
2419b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24209fe995a9Smrg    break 2
24219fe995a9Smrg  fi
24229fe995a9Smrgdone
2423b62cc08cSmrg  done
24249fe995a9SmrgIFS=$as_save_IFS
24259fe995a9Smrg
24269fe995a9Smrgfi
24279fe995a9Smrgfi
24289fe995a9SmrgAWK=$ac_cv_prog_AWK
24299fe995a9Smrgif test -n "$AWK"; then
2430b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2431b62cc08cSmrg$as_echo "$AWK" >&6; }
24329fe995a9Smrgelse
2433b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434b62cc08cSmrg$as_echo "no" >&6; }
24359fe995a9Smrgfi
24369fe995a9Smrg
24379fe995a9Smrg
24389fe995a9Smrg  test -n "$AWK" && break
24399fe995a9Smrgdone
24409fe995a9Smrg
2441b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2442b62cc08cSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2443b62cc08cSmrgset x ${MAKE-make}
2444b62cc08cSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2445b62cc08cSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2446b62cc08cSmrg  $as_echo_n "(cached) " >&6
24479fe995a9Smrgelse
24489fe995a9Smrg  cat >conftest.make <<\_ACEOF
24499fe995a9SmrgSHELL = /bin/sh
24509fe995a9Smrgall:
24519fe995a9Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
24529fe995a9Smrg_ACEOF
2453b62cc08cSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24549fe995a9Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
24559fe995a9Smrg  *@@@%%%=?*=@@@%%%*)
24569fe995a9Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
24579fe995a9Smrg  *)
24589fe995a9Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
24599fe995a9Smrgesac
24609fe995a9Smrgrm -f conftest.make
24619fe995a9Smrgfi
24629fe995a9Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2463b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2464b62cc08cSmrg$as_echo "yes" >&6; }
24659fe995a9Smrg  SET_MAKE=
24669fe995a9Smrgelse
2467b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468b62cc08cSmrg$as_echo "no" >&6; }
24699fe995a9Smrg  SET_MAKE="MAKE=${MAKE-make}"
24709fe995a9Smrgfi
24719fe995a9Smrg
24729fe995a9Smrgrm -rf .tst 2>/dev/null
24739fe995a9Smrgmkdir .tst 2>/dev/null
24749fe995a9Smrgif test -d .tst; then
24759fe995a9Smrg  am__leading_dot=.
24769fe995a9Smrgelse
24779fe995a9Smrg  am__leading_dot=_
24789fe995a9Smrgfi
24799fe995a9Smrgrmdir .tst 2>/dev/null
24809fe995a9Smrg
24819fe995a9Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
24829fe995a9Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
24839fe995a9Smrg  # is not polluted with repeated "-I."
24849fe995a9Smrg  am__isrc=' -I$(srcdir)'
24859fe995a9Smrg  # test to see if srcdir already configured
24869fe995a9Smrg  if test -f $srcdir/config.status; then
2487b62cc08cSmrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
24889fe995a9Smrg  fi
24899fe995a9Smrgfi
24909fe995a9Smrg
24919fe995a9Smrg# test whether we have cygpath
24929fe995a9Smrgif test -z "$CYGPATH_W"; then
24939fe995a9Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
24949fe995a9Smrg    CYGPATH_W='cygpath -w'
24959fe995a9Smrg  else
24969fe995a9Smrg    CYGPATH_W=echo
24979fe995a9Smrg  fi
24989fe995a9Smrgfi
24999fe995a9Smrg
25009fe995a9Smrg
25019fe995a9Smrg# Define the identity of the package.
25029fe995a9Smrg PACKAGE='iceauth'
250390b6713cSmrg VERSION='1.0.5'
25049fe995a9Smrg
25059fe995a9Smrg
25069fe995a9Smrgcat >>confdefs.h <<_ACEOF
25079fe995a9Smrg#define PACKAGE "$PACKAGE"
25089fe995a9Smrg_ACEOF
25099fe995a9Smrg
25109fe995a9Smrg
25119fe995a9Smrgcat >>confdefs.h <<_ACEOF
25129fe995a9Smrg#define VERSION "$VERSION"
25139fe995a9Smrg_ACEOF
25149fe995a9Smrg
25159fe995a9Smrg# Some tools Automake needs.
25169fe995a9Smrg
25179fe995a9SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
25189fe995a9Smrg
25199fe995a9Smrg
25209fe995a9SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
25219fe995a9Smrg
25229fe995a9Smrg
25239fe995a9SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
25249fe995a9Smrg
25259fe995a9Smrg
25269fe995a9SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
25279fe995a9Smrg
25289fe995a9Smrg
25299fe995a9SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
25309fe995a9Smrg
25319fe995a9Smrg# We need awk for the "check" target.  The system "awk" is bad on
25329fe995a9Smrg# some platforms.
25339fe995a9Smrg# Always define AMTAR for backward compatibility.
25349fe995a9Smrg
25359fe995a9SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
25369fe995a9Smrg
25379fe995a9Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
25389fe995a9Smrg
25399fe995a9Smrg
25409fe995a9Smrg
25419fe995a9Smrg
25429fe995a9Smrg
2543b62cc08cSmrg
2544b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2545b62cc08cSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
25469fe995a9Smrg    # Check whether --enable-maintainer-mode was given.
2547b62cc08cSmrgif test "${enable_maintainer_mode+set}" = set; then :
25489fe995a9Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
25499fe995a9Smrgelse
25509fe995a9Smrg  USE_MAINTAINER_MODE=no
25519fe995a9Smrgfi
25529fe995a9Smrg
2553b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2554b62cc08cSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
25559fe995a9Smrg   if test $USE_MAINTAINER_MODE = yes; then
25569fe995a9Smrg  MAINTAINER_MODE_TRUE=
25579fe995a9Smrg  MAINTAINER_MODE_FALSE='#'
25589fe995a9Smrgelse
25599fe995a9Smrg  MAINTAINER_MODE_TRUE='#'
25609fe995a9Smrg  MAINTAINER_MODE_FALSE=
25619fe995a9Smrgfi
25629fe995a9Smrg
25639fe995a9Smrg  MAINT=$MAINTAINER_MODE_TRUE
25649fe995a9Smrg
25659fe995a9Smrg
25669fe995a9Smrg
25679fe995a9Smrgac_config_headers="$ac_config_headers config.h"
25689fe995a9Smrg
25699fe995a9Smrg
2570b62cc08cSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2571b62cc08cSmrg
2572b62cc08cSmrg
2573b62cc08cSmrg
2574b62cc08cSmrg
2575b62cc08cSmrg
2576b62cc08cSmrg
2577b62cc08cSmrg
2578b62cc08cSmrg
25799fe995a9Smrg
25809fe995a9Smrg
25819fe995a9Smrg
25829fe995a9Smrg
258390b6713cSmrg
258490b6713cSmrgDEPDIR="${am__leading_dot}deps"
258590b6713cSmrg
258690b6713cSmrgac_config_commands="$ac_config_commands depfiles"
258790b6713cSmrg
258890b6713cSmrg
258990b6713cSmrgam_make=${MAKE-make}
259090b6713cSmrgcat > confinc << 'END'
259190b6713cSmrgam__doit:
259290b6713cSmrg	@echo this is the am__doit target
259390b6713cSmrg.PHONY: am__doit
259490b6713cSmrgEND
259590b6713cSmrg# If we don't find an include directive, just comment out the code.
259690b6713cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
259790b6713cSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
259890b6713cSmrgam__include="#"
259990b6713cSmrgam__quote=
260090b6713cSmrg_am_result=none
260190b6713cSmrg# First try GNU make style include.
260290b6713cSmrgecho "include confinc" > confmf
260390b6713cSmrg# Ignore all kinds of additional output from `make'.
260490b6713cSmrgcase `$am_make -s -f confmf 2> /dev/null` in #(
260590b6713cSmrg*the\ am__doit\ target*)
260690b6713cSmrg  am__include=include
260790b6713cSmrg  am__quote=
260890b6713cSmrg  _am_result=GNU
260990b6713cSmrg  ;;
261090b6713cSmrgesac
261190b6713cSmrg# Now try BSD make style include.
261290b6713cSmrgif test "$am__include" = "#"; then
261390b6713cSmrg   echo '.include "confinc"' > confmf
261490b6713cSmrg   case `$am_make -s -f confmf 2> /dev/null` in #(
261590b6713cSmrg   *the\ am__doit\ target*)
261690b6713cSmrg     am__include=.include
261790b6713cSmrg     am__quote="\""
261890b6713cSmrg     _am_result=BSD
261990b6713cSmrg     ;;
262090b6713cSmrg   esac
262190b6713cSmrgfi
262290b6713cSmrg
262390b6713cSmrg
262490b6713cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
262590b6713cSmrg$as_echo "$_am_result" >&6; }
262690b6713cSmrgrm -f confinc confmf
262790b6713cSmrg
262890b6713cSmrg# Check whether --enable-dependency-tracking was given.
262990b6713cSmrgif test "${enable_dependency_tracking+set}" = set; then :
263090b6713cSmrg  enableval=$enable_dependency_tracking;
263190b6713cSmrgfi
263290b6713cSmrg
263390b6713cSmrgif test "x$enable_dependency_tracking" != xno; then
263490b6713cSmrg  am_depcomp="$ac_aux_dir/depcomp"
263590b6713cSmrg  AMDEPBACKSLASH='\'
263690b6713cSmrgfi
263790b6713cSmrg if test "x$enable_dependency_tracking" != xno; then
263890b6713cSmrg  AMDEP_TRUE=
263990b6713cSmrg  AMDEP_FALSE='#'
264090b6713cSmrgelse
264190b6713cSmrg  AMDEP_TRUE='#'
264290b6713cSmrg  AMDEP_FALSE=
264390b6713cSmrgfi
264490b6713cSmrg
264590b6713cSmrg
26469fe995a9Smrgac_ext=c
26479fe995a9Smrgac_cpp='$CPP $CPPFLAGS'
26489fe995a9Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26499fe995a9Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509fe995a9Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
26519fe995a9Smrgif test -n "$ac_tool_prefix"; then
26529fe995a9Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
26539fe995a9Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
2654b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2656b62cc08cSmrgif ${ac_cv_prog_CC+:} false; then :
2657b62cc08cSmrg  $as_echo_n "(cached) " >&6
26589fe995a9Smrgelse
26599fe995a9Smrg  if test -n "$CC"; then
26609fe995a9Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
26619fe995a9Smrgelse
26629fe995a9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26639fe995a9Smrgfor as_dir in $PATH
26649fe995a9Smrgdo
26659fe995a9Smrg  IFS=$as_save_IFS
26669fe995a9Smrg  test -z "$as_dir" && as_dir=.
2667b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
26689fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26699fe995a9Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2670b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26719fe995a9Smrg    break 2
26729fe995a9Smrg  fi
26739fe995a9Smrgdone
2674b62cc08cSmrg  done
26759fe995a9SmrgIFS=$as_save_IFS
26769fe995a9Smrg
26779fe995a9Smrgfi
26789fe995a9Smrgfi
26799fe995a9SmrgCC=$ac_cv_prog_CC
26809fe995a9Smrgif test -n "$CC"; then
2681b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2682b62cc08cSmrg$as_echo "$CC" >&6; }
26839fe995a9Smrgelse
2684b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685b62cc08cSmrg$as_echo "no" >&6; }
26869fe995a9Smrgfi
26879fe995a9Smrg
26889fe995a9Smrg
26899fe995a9Smrgfi
26909fe995a9Smrgif test -z "$ac_cv_prog_CC"; then
26919fe995a9Smrg  ac_ct_CC=$CC
26929fe995a9Smrg  # Extract the first word of "gcc", so it can be a program name with args.
26939fe995a9Smrgset dummy gcc; ac_word=$2
2694b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2696b62cc08cSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2697b62cc08cSmrg  $as_echo_n "(cached) " >&6
26989fe995a9Smrgelse
26999fe995a9Smrg  if test -n "$ac_ct_CC"; then
27009fe995a9Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
27019fe995a9Smrgelse
27029fe995a9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27039fe995a9Smrgfor as_dir in $PATH
27049fe995a9Smrgdo
27059fe995a9Smrg  IFS=$as_save_IFS
27069fe995a9Smrg  test -z "$as_dir" && as_dir=.
2707b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
27089fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27099fe995a9Smrg    ac_cv_prog_ac_ct_CC="gcc"
2710b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27119fe995a9Smrg    break 2
27129fe995a9Smrg  fi
27139fe995a9Smrgdone
2714b62cc08cSmrg  done
27159fe995a9SmrgIFS=$as_save_IFS
27169fe995a9Smrg
27179fe995a9Smrgfi
27189fe995a9Smrgfi
27199fe995a9Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
27209fe995a9Smrgif test -n "$ac_ct_CC"; then
2721b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2722b62cc08cSmrg$as_echo "$ac_ct_CC" >&6; }
27239fe995a9Smrgelse
2724b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725b62cc08cSmrg$as_echo "no" >&6; }
27269fe995a9Smrgfi
27279fe995a9Smrg
27289fe995a9Smrg  if test "x$ac_ct_CC" = x; then
27299fe995a9Smrg    CC=""
27309fe995a9Smrg  else
27319fe995a9Smrg    case $cross_compiling:$ac_tool_warned in
27329fe995a9Smrgyes:)
2733b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2734b62cc08cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27359fe995a9Smrgac_tool_warned=yes ;;
27369fe995a9Smrgesac
27379fe995a9Smrg    CC=$ac_ct_CC
27389fe995a9Smrg  fi
27399fe995a9Smrgelse
27409fe995a9Smrg  CC="$ac_cv_prog_CC"
27419fe995a9Smrgfi
27429fe995a9Smrg
27439fe995a9Smrgif test -z "$CC"; then
27449fe995a9Smrg          if test -n "$ac_tool_prefix"; then
27459fe995a9Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
27469fe995a9Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
2747b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2748b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2749b62cc08cSmrgif ${ac_cv_prog_CC+:} false; then :
2750b62cc08cSmrg  $as_echo_n "(cached) " >&6
27519fe995a9Smrgelse
27529fe995a9Smrg  if test -n "$CC"; then
27539fe995a9Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
27549fe995a9Smrgelse
27559fe995a9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27569fe995a9Smrgfor as_dir in $PATH
27579fe995a9Smrgdo
27589fe995a9Smrg  IFS=$as_save_IFS
27599fe995a9Smrg  test -z "$as_dir" && as_dir=.
2760b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
27619fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27629fe995a9Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
2763b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27649fe995a9Smrg    break 2
27659fe995a9Smrg  fi
27669fe995a9Smrgdone
2767b62cc08cSmrg  done
27689fe995a9SmrgIFS=$as_save_IFS
27699fe995a9Smrg
27709fe995a9Smrgfi
27719fe995a9Smrgfi
27729fe995a9SmrgCC=$ac_cv_prog_CC
27739fe995a9Smrgif test -n "$CC"; then
2774b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2775b62cc08cSmrg$as_echo "$CC" >&6; }
27769fe995a9Smrgelse
2777b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2778b62cc08cSmrg$as_echo "no" >&6; }
27799fe995a9Smrgfi
27809fe995a9Smrg
27819fe995a9Smrg
27829fe995a9Smrg  fi
27839fe995a9Smrgfi
27849fe995a9Smrgif test -z "$CC"; then
27859fe995a9Smrg  # Extract the first word of "cc", so it can be a program name with args.
27869fe995a9Smrgset dummy cc; ac_word=$2
2787b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2789b62cc08cSmrgif ${ac_cv_prog_CC+:} false; then :
2790b62cc08cSmrg  $as_echo_n "(cached) " >&6
27919fe995a9Smrgelse
27929fe995a9Smrg  if test -n "$CC"; then
27939fe995a9Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
27949fe995a9Smrgelse
27959fe995a9Smrg  ac_prog_rejected=no
27969fe995a9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27979fe995a9Smrgfor as_dir in $PATH
27989fe995a9Smrgdo
27999fe995a9Smrg  IFS=$as_save_IFS
28009fe995a9Smrg  test -z "$as_dir" && as_dir=.
2801b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
28029fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28039fe995a9Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
28049fe995a9Smrg       ac_prog_rejected=yes
28059fe995a9Smrg       continue
28069fe995a9Smrg     fi
28079fe995a9Smrg    ac_cv_prog_CC="cc"
2808b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28099fe995a9Smrg    break 2
28109fe995a9Smrg  fi
28119fe995a9Smrgdone
2812b62cc08cSmrg  done
28139fe995a9SmrgIFS=$as_save_IFS
28149fe995a9Smrg
28159fe995a9Smrgif test $ac_prog_rejected = yes; then
28169fe995a9Smrg  # We found a bogon in the path, so make sure we never use it.
28179fe995a9Smrg  set dummy $ac_cv_prog_CC
28189fe995a9Smrg  shift
28199fe995a9Smrg  if test $# != 0; then
28209fe995a9Smrg    # We chose a different compiler from the bogus one.
28219fe995a9Smrg    # However, it has the same basename, so the bogon will be chosen
28229fe995a9Smrg    # first if we set CC to just the basename; use the full file name.
28239fe995a9Smrg    shift
28249fe995a9Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
28259fe995a9Smrg  fi
28269fe995a9Smrgfi
28279fe995a9Smrgfi
28289fe995a9Smrgfi
28299fe995a9SmrgCC=$ac_cv_prog_CC
28309fe995a9Smrgif test -n "$CC"; then
2831b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2832b62cc08cSmrg$as_echo "$CC" >&6; }
28339fe995a9Smrgelse
2834b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835b62cc08cSmrg$as_echo "no" >&6; }
28369fe995a9Smrgfi
28379fe995a9Smrg
28389fe995a9Smrg
28399fe995a9Smrgfi
28409fe995a9Smrgif test -z "$CC"; then
28419fe995a9Smrg  if test -n "$ac_tool_prefix"; then
28429fe995a9Smrg  for ac_prog in cl.exe
28439fe995a9Smrg  do
28449fe995a9Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
28459fe995a9Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
2846b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2848b62cc08cSmrgif ${ac_cv_prog_CC+:} false; then :
2849b62cc08cSmrg  $as_echo_n "(cached) " >&6
28509fe995a9Smrgelse
28519fe995a9Smrg  if test -n "$CC"; then
28529fe995a9Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
28539fe995a9Smrgelse
28549fe995a9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28559fe995a9Smrgfor as_dir in $PATH
28569fe995a9Smrgdo
28579fe995a9Smrg  IFS=$as_save_IFS
28589fe995a9Smrg  test -z "$as_dir" && as_dir=.
2859b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
28609fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28619fe995a9Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2862b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28639fe995a9Smrg    break 2
28649fe995a9Smrg  fi
28659fe995a9Smrgdone
2866b62cc08cSmrg  done
28679fe995a9SmrgIFS=$as_save_IFS
28689fe995a9Smrg
28699fe995a9Smrgfi
28709fe995a9Smrgfi
28719fe995a9SmrgCC=$ac_cv_prog_CC
28729fe995a9Smrgif test -n "$CC"; then
2873b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2874b62cc08cSmrg$as_echo "$CC" >&6; }
28759fe995a9Smrgelse
2876b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877b62cc08cSmrg$as_echo "no" >&6; }
28789fe995a9Smrgfi
28799fe995a9Smrg
28809fe995a9Smrg
28819fe995a9Smrg    test -n "$CC" && break
28829fe995a9Smrg  done
28839fe995a9Smrgfi
28849fe995a9Smrgif test -z "$CC"; then
28859fe995a9Smrg  ac_ct_CC=$CC
28869fe995a9Smrg  for ac_prog in cl.exe
28879fe995a9Smrgdo
28889fe995a9Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
28899fe995a9Smrgset dummy $ac_prog; ac_word=$2
2890b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2892b62cc08cSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2893b62cc08cSmrg  $as_echo_n "(cached) " >&6
28949fe995a9Smrgelse
28959fe995a9Smrg  if test -n "$ac_ct_CC"; then
28969fe995a9Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28979fe995a9Smrgelse
28989fe995a9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28999fe995a9Smrgfor as_dir in $PATH
29009fe995a9Smrgdo
29019fe995a9Smrg  IFS=$as_save_IFS
29029fe995a9Smrg  test -z "$as_dir" && as_dir=.
2903b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
29049fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29059fe995a9Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
2906b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29079fe995a9Smrg    break 2
29089fe995a9Smrg  fi
29099fe995a9Smrgdone
2910b62cc08cSmrg  done
29119fe995a9SmrgIFS=$as_save_IFS
29129fe995a9Smrg
29139fe995a9Smrgfi
29149fe995a9Smrgfi
29159fe995a9Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
29169fe995a9Smrgif test -n "$ac_ct_CC"; then
2917b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2918b62cc08cSmrg$as_echo "$ac_ct_CC" >&6; }
29199fe995a9Smrgelse
2920b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921b62cc08cSmrg$as_echo "no" >&6; }
29229fe995a9Smrgfi
29239fe995a9Smrg
29249fe995a9Smrg
29259fe995a9Smrg  test -n "$ac_ct_CC" && break
29269fe995a9Smrgdone
29279fe995a9Smrg
29289fe995a9Smrg  if test "x$ac_ct_CC" = x; then
29299fe995a9Smrg    CC=""
29309fe995a9Smrg  else
29319fe995a9Smrg    case $cross_compiling:$ac_tool_warned in
29329fe995a9Smrgyes:)
2933b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2934b62cc08cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
29359fe995a9Smrgac_tool_warned=yes ;;
29369fe995a9Smrgesac
29379fe995a9Smrg    CC=$ac_ct_CC
29389fe995a9Smrg  fi
29399fe995a9Smrgfi
29409fe995a9Smrg
29419fe995a9Smrgfi
29429fe995a9Smrg
29439fe995a9Smrg
2944b62cc08cSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2945b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2946b62cc08cSmrgas_fn_error $? "no acceptable C compiler found in \$PATH
2947b62cc08cSmrgSee \`config.log' for more details" "$LINENO" 5; }
29489fe995a9Smrg
29499fe995a9Smrg# Provide some information about the compiler.
2950b62cc08cSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2951b62cc08cSmrgset X $ac_compile
2952b62cc08cSmrgac_compiler=$2
2953b62cc08cSmrgfor ac_option in --version -v -V -qversion; do
2954b62cc08cSmrg  { { ac_try="$ac_compiler $ac_option >&5"
29559fe995a9Smrgcase "(($ac_try" in
29569fe995a9Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29579fe995a9Smrg  *) ac_try_echo=$ac_try;;
29589fe995a9Smrgesac
2959b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2960b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
2961b62cc08cSmrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
29629fe995a9Smrg  ac_status=$?
2963b62cc08cSmrg  if test -s conftest.err; then
2964b62cc08cSmrg    sed '10a\
2965b62cc08cSmrg... rest of stderr output deleted ...
2966b62cc08cSmrg         10q' conftest.err >conftest.er1
2967b62cc08cSmrg    cat conftest.er1 >&5
2968b62cc08cSmrg  fi
2969b62cc08cSmrg  rm -f conftest.er1 conftest.err
2970b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971b62cc08cSmrg  test $ac_status = 0; }
2972b62cc08cSmrgdone
29739fe995a9Smrg
2974b62cc08cSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
29759fe995a9Smrg/* end confdefs.h.  */
29769fe995a9Smrg
29779fe995a9Smrgint
29789fe995a9Smrgmain ()
29799fe995a9Smrg{
29809fe995a9Smrg
29819fe995a9Smrg  ;
29829fe995a9Smrg  return 0;
29839fe995a9Smrg}
29849fe995a9Smrg_ACEOF
29859fe995a9Smrgac_clean_files_save=$ac_clean_files
2986b62cc08cSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
29879fe995a9Smrg# Try to create an executable without -o first, disregard a.out.
29889fe995a9Smrg# It will help us diagnose broken compilers, and finding out an intuition
29899fe995a9Smrg# of exeext.
2990b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2991b62cc08cSmrg$as_echo_n "checking whether the C compiler works... " >&6; }
2992b62cc08cSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2993b62cc08cSmrg
2994b62cc08cSmrg# The possible output files:
2995b62cc08cSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2996b62cc08cSmrg
29979fe995a9Smrgac_rmfiles=
29989fe995a9Smrgfor ac_file in $ac_files
29999fe995a9Smrgdo
30009fe995a9Smrg  case $ac_file in
3001b62cc08cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
30029fe995a9Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
30039fe995a9Smrg  esac
30049fe995a9Smrgdone
30059fe995a9Smrgrm -f $ac_rmfiles
30069fe995a9Smrg
3007b62cc08cSmrgif { { ac_try="$ac_link_default"
30089fe995a9Smrgcase "(($ac_try" in
30099fe995a9Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30109fe995a9Smrg  *) ac_try_echo=$ac_try;;
30119fe995a9Smrgesac
3012b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3013b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
30149fe995a9Smrg  (eval "$ac_link_default") 2>&5
30159fe995a9Smrg  ac_status=$?
3016b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3017b62cc08cSmrg  test $ac_status = 0; }; then :
30189fe995a9Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
30199fe995a9Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
30209fe995a9Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
30219fe995a9Smrg# so that the user can short-circuit this test for compilers unknown to
30229fe995a9Smrg# Autoconf.
30239fe995a9Smrgfor ac_file in $ac_files ''
30249fe995a9Smrgdo
30259fe995a9Smrg  test -f "$ac_file" || continue
30269fe995a9Smrg  case $ac_file in
3027b62cc08cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
30289fe995a9Smrg	;;
30299fe995a9Smrg    [ab].out )
30309fe995a9Smrg	# We found the default executable, but exeext='' is most
30319fe995a9Smrg	# certainly right.
30329fe995a9Smrg	break;;
30339fe995a9Smrg    *.* )
3034b62cc08cSmrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
30359fe995a9Smrg	then :; else
30369fe995a9Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30379fe995a9Smrg	fi
30389fe995a9Smrg	# We set ac_cv_exeext here because the later test for it is not
30399fe995a9Smrg	# safe: cross compilers may not add the suffix if given an `-o'
30409fe995a9Smrg	# argument, so we may need to know it at that point already.
30419fe995a9Smrg	# Even if this section looks crufty: it has the advantage of
30429fe995a9Smrg	# actually working.
30439fe995a9Smrg	break;;
30449fe995a9Smrg    * )
30459fe995a9Smrg	break;;
30469fe995a9Smrg  esac
30479fe995a9Smrgdone
3048b62cc08cSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
3049b62cc08cSmrg
3050b62cc08cSmrgelse
3051b62cc08cSmrg  ac_file=''
3052b62cc08cSmrgfi
3053b62cc08cSmrgif test -z "$ac_file"; then :
3054b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055b62cc08cSmrg$as_echo "no" >&6; }
3056b62cc08cSmrg$as_echo "$as_me: failed program was:" >&5
3057b62cc08cSmrgsed 's/^/| /' conftest.$ac_ext >&5
3058b62cc08cSmrg
3059b62cc08cSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3060b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3061b62cc08cSmrgas_fn_error 77 "C compiler cannot create executables
3062b62cc08cSmrgSee \`config.log' for more details" "$LINENO" 5; }
3063b62cc08cSmrgelse
3064b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3065b62cc08cSmrg$as_echo "yes" >&6; }
30669fe995a9Smrgfi
3067b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3068b62cc08cSmrg$as_echo_n "checking for C compiler default output file name... " >&6; }
3069b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3070b62cc08cSmrg$as_echo "$ac_file" >&6; }
3071b62cc08cSmrgac_exeext=$ac_cv_exeext
30729fe995a9Smrg
3073b62cc08cSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
30749fe995a9Smrgac_clean_files=$ac_clean_files_save
3075b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3076b62cc08cSmrg$as_echo_n "checking for suffix of executables... " >&6; }
3077b62cc08cSmrgif { { ac_try="$ac_link"
30789fe995a9Smrgcase "(($ac_try" in
30799fe995a9Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30809fe995a9Smrg  *) ac_try_echo=$ac_try;;
30819fe995a9Smrgesac
3082b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
30849fe995a9Smrg  (eval "$ac_link") 2>&5
30859fe995a9Smrg  ac_status=$?
3086b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087b62cc08cSmrg  test $ac_status = 0; }; then :
30889fe995a9Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
30899fe995a9Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
30909fe995a9Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
30919fe995a9Smrg# `rm'.
30929fe995a9Smrgfor ac_file in conftest.exe conftest conftest.*; do
30939fe995a9Smrg  test -f "$ac_file" || continue
30949fe995a9Smrg  case $ac_file in
3095b62cc08cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
30969fe995a9Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30979fe995a9Smrg	  break;;
30989fe995a9Smrg    * ) break;;
30999fe995a9Smrg  esac
31009fe995a9Smrgdone
31019fe995a9Smrgelse
3102b62cc08cSmrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104b62cc08cSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link
3105b62cc08cSmrgSee \`config.log' for more details" "$LINENO" 5; }
31069fe995a9Smrgfi
3107b62cc08cSmrgrm -f conftest conftest$ac_cv_exeext
3108b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3109b62cc08cSmrg$as_echo "$ac_cv_exeext" >&6; }
31109fe995a9Smrg
31119fe995a9Smrgrm -f conftest.$ac_ext
31129fe995a9SmrgEXEEXT=$ac_cv_exeext
31139fe995a9Smrgac_exeext=$EXEEXT
3114b62cc08cSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115b62cc08cSmrg/* end confdefs.h.  */
3116b62cc08cSmrg#include <stdio.h>
3117b62cc08cSmrgint
3118b62cc08cSmrgmain ()
3119b62cc08cSmrg{
3120b62cc08cSmrgFILE *f = fopen ("conftest.out", "w");
3121b62cc08cSmrg return ferror (f) || fclose (f) != 0;
3122b62cc08cSmrg
3123b62cc08cSmrg  ;
3124b62cc08cSmrg  return 0;
3125b62cc08cSmrg}
31269fe995a9Smrg_ACEOF
3127b62cc08cSmrgac_clean_files="$ac_clean_files conftest.out"
3128b62cc08cSmrg# Check that the compiler produces executables we can run.  If not, either
3129b62cc08cSmrg# the compiler is broken, or we cross compile.
3130b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3131b62cc08cSmrg$as_echo_n "checking whether we are cross compiling... " >&6; }
3132b62cc08cSmrgif test "$cross_compiling" != yes; then
3133b62cc08cSmrg  { { ac_try="$ac_link"
3134b62cc08cSmrgcase "(($ac_try" in
3135b62cc08cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136b62cc08cSmrg  *) ac_try_echo=$ac_try;;
3137b62cc08cSmrgesac
3138b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3139b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
3140b62cc08cSmrg  (eval "$ac_link") 2>&5
3141b62cc08cSmrg  ac_status=$?
3142b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143b62cc08cSmrg  test $ac_status = 0; }
3144b62cc08cSmrg  if { ac_try='./conftest$ac_cv_exeext'
3145b62cc08cSmrg  { { case "(($ac_try" in
3146b62cc08cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147b62cc08cSmrg  *) ac_try_echo=$ac_try;;
3148b62cc08cSmrgesac
3149b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
3151b62cc08cSmrg  (eval "$ac_try") 2>&5
3152b62cc08cSmrg  ac_status=$?
3153b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154b62cc08cSmrg  test $ac_status = 0; }; }; then
3155b62cc08cSmrg    cross_compiling=no
3156b62cc08cSmrg  else
3157b62cc08cSmrg    if test "$cross_compiling" = maybe; then
3158b62cc08cSmrg	cross_compiling=yes
3159b62cc08cSmrg    else
3160b62cc08cSmrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162b62cc08cSmrgas_fn_error $? "cannot run C compiled programs.
3163b62cc08cSmrgIf you meant to cross compile, use \`--host'.
3164b62cc08cSmrgSee \`config.log' for more details" "$LINENO" 5; }
3165b62cc08cSmrg    fi
3166b62cc08cSmrg  fi
3167b62cc08cSmrgfi
3168b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3169b62cc08cSmrg$as_echo "$cross_compiling" >&6; }
3170b62cc08cSmrg
3171b62cc08cSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3172b62cc08cSmrgac_clean_files=$ac_clean_files_save
3173b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3174b62cc08cSmrg$as_echo_n "checking for suffix of object files... " >&6; }
3175b62cc08cSmrgif ${ac_cv_objext+:} false; then :
3176b62cc08cSmrg  $as_echo_n "(cached) " >&6
3177b62cc08cSmrgelse
3178b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31799fe995a9Smrg/* end confdefs.h.  */
31809fe995a9Smrg
31819fe995a9Smrgint
31829fe995a9Smrgmain ()
31839fe995a9Smrg{
31849fe995a9Smrg
31859fe995a9Smrg  ;
31869fe995a9Smrg  return 0;
31879fe995a9Smrg}
31889fe995a9Smrg_ACEOF
31899fe995a9Smrgrm -f conftest.o conftest.obj
3190b62cc08cSmrgif { { ac_try="$ac_compile"
31919fe995a9Smrgcase "(($ac_try" in
31929fe995a9Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31939fe995a9Smrg  *) ac_try_echo=$ac_try;;
31949fe995a9Smrgesac
3195b62cc08cSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196b62cc08cSmrg$as_echo "$ac_try_echo"; } >&5
31979fe995a9Smrg  (eval "$ac_compile") 2>&5
31989fe995a9Smrg  ac_status=$?
3199b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200b62cc08cSmrg  test $ac_status = 0; }; then :
32019fe995a9Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
32029fe995a9Smrg  test -f "$ac_file" || continue;
32039fe995a9Smrg  case $ac_file in
3204b62cc08cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
32059fe995a9Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
32069fe995a9Smrg       break;;
32079fe995a9Smrg  esac
32089fe995a9Smrgdone
32099fe995a9Smrgelse
3210b62cc08cSmrg  $as_echo "$as_me: failed program was:" >&5
32119fe995a9Smrgsed 's/^/| /' conftest.$ac_ext >&5
32129fe995a9Smrg
3213b62cc08cSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215b62cc08cSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile
3216b62cc08cSmrgSee \`config.log' for more details" "$LINENO" 5; }
32179fe995a9Smrgfi
32189fe995a9Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
32199fe995a9Smrgfi
3220b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3221b62cc08cSmrg$as_echo "$ac_cv_objext" >&6; }
32229fe995a9SmrgOBJEXT=$ac_cv_objext
32239fe995a9Smrgac_objext=$OBJEXT
3224b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3225b62cc08cSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3226b62cc08cSmrgif ${ac_cv_c_compiler_gnu+:} false; then :
3227b62cc08cSmrg  $as_echo_n "(cached) " >&6
32289fe995a9Smrgelse
3229b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32309fe995a9Smrg/* end confdefs.h.  */
32319fe995a9Smrg
32329fe995a9Smrgint
32339fe995a9Smrgmain ()
32349fe995a9Smrg{
32359fe995a9Smrg#ifndef __GNUC__
32369fe995a9Smrg       choke me
32379fe995a9Smrg#endif
32389fe995a9Smrg
32399fe995a9Smrg  ;
32409fe995a9Smrg  return 0;
32419fe995a9Smrg}
32429fe995a9Smrg_ACEOF
3243b62cc08cSmrgif ac_fn_c_try_compile "$LINENO"; then :
32449fe995a9Smrg  ac_compiler_gnu=yes
32459fe995a9Smrgelse
3246b62cc08cSmrg  ac_compiler_gnu=no
32479fe995a9Smrgfi
32489fe995a9Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32499fe995a9Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
32509fe995a9Smrg
32519fe995a9Smrgfi
3252b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3253b62cc08cSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3254b62cc08cSmrgif test $ac_compiler_gnu = yes; then
3255b62cc08cSmrg  GCC=yes
3256b62cc08cSmrgelse
3257b62cc08cSmrg  GCC=
3258b62cc08cSmrgfi
32599fe995a9Smrgac_test_CFLAGS=${CFLAGS+set}
32609fe995a9Smrgac_save_CFLAGS=$CFLAGS
3261b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3262b62cc08cSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
3263b62cc08cSmrgif ${ac_cv_prog_cc_g+:} false; then :
3264b62cc08cSmrg  $as_echo_n "(cached) " >&6
32659fe995a9Smrgelse
32669fe995a9Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
32679fe995a9Smrg   ac_c_werror_flag=yes
32689fe995a9Smrg   ac_cv_prog_cc_g=no
32699fe995a9Smrg   CFLAGS="-g"
3270b62cc08cSmrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32719fe995a9Smrg/* end confdefs.h.  */
32729fe995a9Smrg
32739fe995a9Smrgint
32749fe995a9Smrgmain ()
32759fe995a9Smrg{
32769fe995a9Smrg
32779fe995a9Smrg  ;
32789fe995a9Smrg  return 0;
32799fe995a9Smrg}
32809fe995a9Smrg_ACEOF
3281b62cc08cSmrgif ac_fn_c_try_compile "$LINENO"; then :
32829fe995a9Smrg  ac_cv_prog_cc_g=yes
32839fe995a9Smrgelse
3284b62cc08cSmrg  CFLAGS=""
3285b62cc08cSmrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32869fe995a9Smrg/* end confdefs.h.  */
32879fe995a9Smrg
32889fe995a9Smrgint
32899fe995a9Smrgmain ()
32909fe995a9Smrg{
32919fe995a9Smrg
32929fe995a9Smrg  ;
32939fe995a9Smrg  return 0;
32949fe995a9Smrg}
32959fe995a9Smrg_ACEOF
3296b62cc08cSmrgif ac_fn_c_try_compile "$LINENO"; then :
32979fe995a9Smrg
3298b62cc08cSmrgelse
3299b62cc08cSmrg  ac_c_werror_flag=$ac_save_c_werror_flag
33009fe995a9Smrg	 CFLAGS="-g"
3301b62cc08cSmrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029fe995a9Smrg/* end confdefs.h.  */
33039fe995a9Smrg
33049fe995a9Smrgint
33059fe995a9Smrgmain ()
33069fe995a9Smrg{
33079fe995a9Smrg
33089fe995a9Smrg  ;
33099fe995a9Smrg  return 0;
33109fe995a9Smrg}
33119fe995a9Smrg_ACEOF
3312b62cc08cSmrgif ac_fn_c_try_compile "$LINENO"; then :
33139fe995a9Smrg  ac_cv_prog_cc_g=yes
33149fe995a9Smrgfi
33159fe995a9Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33169fe995a9Smrgfi
33179fe995a9Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33189fe995a9Smrgfi
33199fe995a9Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33209fe995a9Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
33219fe995a9Smrgfi
3322b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3323b62cc08cSmrg$as_echo "$ac_cv_prog_cc_g" >&6; }
33249fe995a9Smrgif test "$ac_test_CFLAGS" = set; then
33259fe995a9Smrg  CFLAGS=$ac_save_CFLAGS
33269fe995a9Smrgelif test $ac_cv_prog_cc_g = yes; then
33279fe995a9Smrg  if test "$GCC" = yes; then
33289fe995a9Smrg    CFLAGS="-g -O2"
33299fe995a9Smrg  else
33309fe995a9Smrg    CFLAGS="-g"
33319fe995a9Smrg  fi
33329fe995a9Smrgelse
33339fe995a9Smrg  if test "$GCC" = yes; then
33349fe995a9Smrg    CFLAGS="-O2"
33359fe995a9Smrg  else
33369fe995a9Smrg    CFLAGS=
33379fe995a9Smrg  fi
33389fe995a9Smrgfi
3339b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3340b62cc08cSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3341b62cc08cSmrgif ${ac_cv_prog_cc_c89+:} false; then :
3342b62cc08cSmrg  $as_echo_n "(cached) " >&6
33439fe995a9Smrgelse
33449fe995a9Smrg  ac_cv_prog_cc_c89=no
33459fe995a9Smrgac_save_CC=$CC
3346b62cc08cSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
33479fe995a9Smrg/* end confdefs.h.  */
33489fe995a9Smrg#include <stdarg.h>
33499fe995a9Smrg#include <stdio.h>
33509fe995a9Smrg#include <sys/types.h>
33519fe995a9Smrg#include <sys/stat.h>
33529fe995a9Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
33539fe995a9Smrgstruct buf { int x; };
33549fe995a9SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
33559fe995a9Smrgstatic char *e (p, i)
33569fe995a9Smrg     char **p;
33579fe995a9Smrg     int i;
33589fe995a9Smrg{
33599fe995a9Smrg  return p[i];
33609fe995a9Smrg}
33619fe995a9Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
33629fe995a9Smrg{
33639fe995a9Smrg  char *s;
33649fe995a9Smrg  va_list v;
33659fe995a9Smrg  va_start (v,p);
33669fe995a9Smrg  s = g (p, va_arg (v,int));
33679fe995a9Smrg  va_end (v);
33689fe995a9Smrg  return s;
33699fe995a9Smrg}
33709fe995a9Smrg
33719fe995a9Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
33729fe995a9Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
33739fe995a9Smrg   These don't provoke an error unfortunately, instead are silently treated
33749fe995a9Smrg   as 'x'.  The following induces an error, until -std is added to get
33759fe995a9Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
33769fe995a9Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
33779fe995a9Smrg   that's true only with -std.  */
33789fe995a9Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
33799fe995a9Smrg
33809fe995a9Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
33819fe995a9Smrg   inside strings and character constants.  */
33829fe995a9Smrg#define FOO(x) 'x'
33839fe995a9Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
33849fe995a9Smrg
33859fe995a9Smrgint test (int i, double x);
33869fe995a9Smrgstruct s1 {int (*f) (int a);};
33879fe995a9Smrgstruct s2 {int (*f) (double a);};
33889fe995a9Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
33899fe995a9Smrgint argc;
33909fe995a9Smrgchar **argv;
33919fe995a9Smrgint
33929fe995a9Smrgmain ()
33939fe995a9Smrg{
33949fe995a9Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
33959fe995a9Smrg  ;
33969fe995a9Smrg  return 0;
33979fe995a9Smrg}
33989fe995a9Smrg_ACEOF
33999fe995a9Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
34009fe995a9Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
34019fe995a9Smrgdo
34029fe995a9Smrg  CC="$ac_save_CC $ac_arg"
3403b62cc08cSmrg  if ac_fn_c_try_compile "$LINENO"; then :
34049fe995a9Smrg  ac_cv_prog_cc_c89=$ac_arg
34059fe995a9Smrgfi
34069fe995a9Smrgrm -f core conftest.err conftest.$ac_objext
34079fe995a9Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
34089fe995a9Smrgdone
34099fe995a9Smrgrm -f conftest.$ac_ext
34109fe995a9SmrgCC=$ac_save_CC
34119fe995a9Smrg
34129fe995a9Smrgfi
34139fe995a9Smrg# AC_CACHE_VAL
34149fe995a9Smrgcase "x$ac_cv_prog_cc_c89" in
34159fe995a9Smrg  x)
3416b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3417b62cc08cSmrg$as_echo "none needed" >&6; } ;;
34189fe995a9Smrg  xno)
3419b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3420b62cc08cSmrg$as_echo "unsupported" >&6; } ;;
34219fe995a9Smrg  *)
34229fe995a9Smrg    CC="$CC $ac_cv_prog_cc_c89"
3423b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3424b62cc08cSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
34259fe995a9Smrgesac
3426b62cc08cSmrgif test "x$ac_cv_prog_cc_c89" != xno; then :
34279fe995a9Smrg
3428b62cc08cSmrgfi
34299fe995a9Smrg
34309fe995a9Smrgac_ext=c
34319fe995a9Smrgac_cpp='$CPP $CPPFLAGS'
34329fe995a9Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34339fe995a9Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349fe995a9Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
34359fe995a9Smrg
34369fe995a9Smrgdepcc="$CC"   am_compiler_list=
34379fe995a9Smrg
3438b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3439b62cc08cSmrg$as_echo_n "checking dependency style of $depcc... " >&6; }
3440b62cc08cSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then :
3441b62cc08cSmrg  $as_echo_n "(cached) " >&6
34429fe995a9Smrgelse
34439fe995a9Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
34449fe995a9Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
34459fe995a9Smrg  # making bogus files that we don't know about and never remove.  For
34469fe995a9Smrg  # instance it was reported that on HP-UX the gcc test will end up
34479fe995a9Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
34489fe995a9Smrg  # in D'.
34499fe995a9Smrg  mkdir conftest.dir
34509fe995a9Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
34519fe995a9Smrg  # using a relative directory.
34529fe995a9Smrg  cp "$am_depcomp" conftest.dir
34539fe995a9Smrg  cd conftest.dir
34549fe995a9Smrg  # We will build objects and dependencies in a subdirectory because
34559fe995a9Smrg  # it helps to detect inapplicable dependency modes.  For instance
34569fe995a9Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
34579fe995a9Smrg  # side effect of compilation, but ICC will put the dependencies in
34589fe995a9Smrg  # the current directory while Tru64 will put them in the object
34599fe995a9Smrg  # directory.
34609fe995a9Smrg  mkdir sub
34619fe995a9Smrg
34629fe995a9Smrg  am_cv_CC_dependencies_compiler_type=none
34639fe995a9Smrg  if test "$am_compiler_list" = ""; then
34649fe995a9Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
34659fe995a9Smrg  fi
3466b62cc08cSmrg  am__universal=false
3467b62cc08cSmrg  case " $depcc " in #(
3468b62cc08cSmrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3469b62cc08cSmrg     esac
3470b62cc08cSmrg
34719fe995a9Smrg  for depmode in $am_compiler_list; do
34729fe995a9Smrg    # Setup a source with many dependencies, because some compilers
34739fe995a9Smrg    # like to wrap large dependency lists on column 80 (with \), and
34749fe995a9Smrg    # we should not choose a depcomp mode which is confused by this.
34759fe995a9Smrg    #
34769fe995a9Smrg    # We need to recreate these files for each test, as the compiler may
34779fe995a9Smrg    # overwrite some of them when testing with obscure command lines.
34789fe995a9Smrg    # This happens at least with the AIX C compiler.
34799fe995a9Smrg    : > sub/conftest.c
34809fe995a9Smrg    for i in 1 2 3 4 5 6; do
34819fe995a9Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
34829fe995a9Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
34839fe995a9Smrg      # Solaris 8's {/usr,}/bin/sh.
34849fe995a9Smrg      touch sub/conftst$i.h
34859fe995a9Smrg    done
34869fe995a9Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
34879fe995a9Smrg
3488b62cc08cSmrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3489b62cc08cSmrg    # mode.  It turns out that the SunPro C++ compiler does not properly
3490b62cc08cSmrg    # handle `-M -o', and we need to detect this.  Also, some Intel
3491b62cc08cSmrg    # versions had trouble with output in subdirs
3492b62cc08cSmrg    am__obj=sub/conftest.${OBJEXT-o}
3493b62cc08cSmrg    am__minus_obj="-o $am__obj"
34949fe995a9Smrg    case $depmode in
3495b62cc08cSmrg    gcc)
3496b62cc08cSmrg      # This depmode causes a compiler race in universal mode.
3497b62cc08cSmrg      test "$am__universal" = false || continue
3498b62cc08cSmrg      ;;
34999fe995a9Smrg    nosideeffect)
35009fe995a9Smrg      # after this tag, mechanisms are not by side-effect, so they'll
35019fe995a9Smrg      # only be used when explicitly requested
35029fe995a9Smrg      if test "x$enable_dependency_tracking" = xyes; then
35039fe995a9Smrg	continue
35049fe995a9Smrg      else
35059fe995a9Smrg	break
35069fe995a9Smrg      fi
35079fe995a9Smrg      ;;
3508b62cc08cSmrg    msvisualcpp | msvcmsys)
3509b62cc08cSmrg      # This compiler won't grok `-c -o', but also, the minuso test has
3510b62cc08cSmrg      # not run yet.  These depmodes are late enough in the game, and
3511b62cc08cSmrg      # so weak that their functioning should not be impacted.
3512b62cc08cSmrg      am__obj=conftest.${OBJEXT-o}
3513b62cc08cSmrg      am__minus_obj=
3514b62cc08cSmrg      ;;
35159fe995a9Smrg    none) break ;;
35169fe995a9Smrg    esac
35179fe995a9Smrg    if depmode=$depmode \
3518b62cc08cSmrg       source=sub/conftest.c object=$am__obj \
35199fe995a9Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3520b62cc08cSmrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
35219fe995a9Smrg         >/dev/null 2>conftest.err &&
35229fe995a9Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
35239fe995a9Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3524b62cc08cSmrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
35259fe995a9Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
35269fe995a9Smrg      # icc doesn't choke on unknown options, it will just issue warnings
35279fe995a9Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
35289fe995a9Smrg      # that says an option was ignored or not supported.
35299fe995a9Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
35309fe995a9Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
35319fe995a9Smrg      # The diagnosis changed in icc 8.0:
35329fe995a9Smrg      #   icc: Command line remark: option '-MP' not supported
35339fe995a9Smrg      if (grep 'ignoring option' conftest.err ||
35349fe995a9Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
35359fe995a9Smrg        am_cv_CC_dependencies_compiler_type=$depmode
35369fe995a9Smrg        break
35379fe995a9Smrg      fi
35389fe995a9Smrg    fi
35399fe995a9Smrg  done
35409fe995a9Smrg
3541b62cc08cSmrg  cd ..
3542b62cc08cSmrg  rm -rf conftest.dir
3543b62cc08cSmrgelse
3544b62cc08cSmrg  am_cv_CC_dependencies_compiler_type=none
3545b62cc08cSmrgfi
3546b62cc08cSmrg
3547b62cc08cSmrgfi
3548b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3549b62cc08cSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3550b62cc08cSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3551b62cc08cSmrg
3552b62cc08cSmrg if
3553b62cc08cSmrg  test "x$enable_dependency_tracking" != xno \
3554b62cc08cSmrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3555b62cc08cSmrg  am__fastdepCC_TRUE=
3556b62cc08cSmrg  am__fastdepCC_FALSE='#'
3557b62cc08cSmrgelse
3558b62cc08cSmrg  am__fastdepCC_TRUE='#'
3559b62cc08cSmrg  am__fastdepCC_FALSE=
3560b62cc08cSmrgfi
3561b62cc08cSmrg
3562b62cc08cSmrg
3563b62cc08cSmrg
3564b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
3565b62cc08cSmrg$as_echo_n "checking return type of signal handlers... " >&6; }
3566b62cc08cSmrgif ${ac_cv_type_signal+:} false; then :
3567b62cc08cSmrg  $as_echo_n "(cached) " >&6
3568b62cc08cSmrgelse
3569b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570b62cc08cSmrg/* end confdefs.h.  */
3571b62cc08cSmrg#include <sys/types.h>
3572b62cc08cSmrg#include <signal.h>
3573b62cc08cSmrg
3574b62cc08cSmrgint
3575b62cc08cSmrgmain ()
3576b62cc08cSmrg{
3577b62cc08cSmrgreturn *(signal (0, 0)) (0) == 1;
3578b62cc08cSmrg  ;
3579b62cc08cSmrg  return 0;
3580b62cc08cSmrg}
3581b62cc08cSmrg_ACEOF
3582b62cc08cSmrgif ac_fn_c_try_compile "$LINENO"; then :
3583b62cc08cSmrg  ac_cv_type_signal=int
3584b62cc08cSmrgelse
3585b62cc08cSmrg  ac_cv_type_signal=void
3586b62cc08cSmrgfi
3587b62cc08cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588b62cc08cSmrgfi
3589b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
3590b62cc08cSmrg$as_echo "$ac_cv_type_signal" >&6; }
3591b62cc08cSmrg
3592b62cc08cSmrgcat >>confdefs.h <<_ACEOF
3593b62cc08cSmrg#define RETSIGTYPE $ac_cv_type_signal
3594b62cc08cSmrg_ACEOF
3595b62cc08cSmrg
3596b62cc08cSmrg
3597b62cc08cSmrg
3598b62cc08cSmrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3599b62cc08cSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3600b62cc08cSmrgif ${ac_cv_prog_cc_c99+:} false; then :
3601b62cc08cSmrg  $as_echo_n "(cached) " >&6
3602b62cc08cSmrgelse
3603b62cc08cSmrg  ac_cv_prog_cc_c99=no
3604b62cc08cSmrgac_save_CC=$CC
3605b62cc08cSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606b62cc08cSmrg/* end confdefs.h.  */
3607b62cc08cSmrg#include <stdarg.h>
3608b62cc08cSmrg#include <stdbool.h>
3609b62cc08cSmrg#include <stdlib.h>
3610b62cc08cSmrg#include <wchar.h>
3611b62cc08cSmrg#include <stdio.h>
3612b62cc08cSmrg
3613b62cc08cSmrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3614b62cc08cSmrg#define debug(...) fprintf (stderr, __VA_ARGS__)
3615b62cc08cSmrg#define showlist(...) puts (#__VA_ARGS__)
3616b62cc08cSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3617b62cc08cSmrgstatic void
3618b62cc08cSmrgtest_varargs_macros (void)
3619b62cc08cSmrg{
3620b62cc08cSmrg  int x = 1234;
3621b62cc08cSmrg  int y = 5678;
3622b62cc08cSmrg  debug ("Flag");
3623b62cc08cSmrg  debug ("X = %d\n", x);
3624b62cc08cSmrg  showlist (The first, second, and third items.);
3625b62cc08cSmrg  report (x>y, "x is %d but y is %d", x, y);
3626b62cc08cSmrg}
3627b62cc08cSmrg
3628b62cc08cSmrg// Check long long types.
3629b62cc08cSmrg#define BIG64 18446744073709551615ull
3630b62cc08cSmrg#define BIG32 4294967295ul
3631b62cc08cSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3632b62cc08cSmrg#if !BIG_OK
3633b62cc08cSmrg  your preprocessor is broken;
3634b62cc08cSmrg#endif
3635b62cc08cSmrg#if BIG_OK
3636b62cc08cSmrg#else
3637b62cc08cSmrg  your preprocessor is broken;
3638b62cc08cSmrg#endif
3639b62cc08cSmrgstatic long long int bignum = -9223372036854775807LL;
3640b62cc08cSmrgstatic unsigned long long int ubignum = BIG64;
3641b62cc08cSmrg
3642b62cc08cSmrgstruct incomplete_array
3643b62cc08cSmrg{
3644b62cc08cSmrg  int datasize;
3645b62cc08cSmrg  double data[];
3646b62cc08cSmrg};
3647b62cc08cSmrg
3648b62cc08cSmrgstruct named_init {
3649b62cc08cSmrg  int number;
3650b62cc08cSmrg  const wchar_t *name;
3651b62cc08cSmrg  double average;
3652b62cc08cSmrg};
3653b62cc08cSmrg
3654b62cc08cSmrgtypedef const char *ccp;
3655b62cc08cSmrg
3656b62cc08cSmrgstatic inline int
3657b62cc08cSmrgtest_restrict (ccp restrict text)
3658b62cc08cSmrg{
3659b62cc08cSmrg  // See if C++-style comments work.
3660b62cc08cSmrg  // Iterate through items via the restricted pointer.
3661b62cc08cSmrg  // Also check for declarations in for loops.
3662b62cc08cSmrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3663b62cc08cSmrg    continue;
3664b62cc08cSmrg  return 0;
3665b62cc08cSmrg}
3666b62cc08cSmrg
3667b62cc08cSmrg// Check varargs and va_copy.
3668b62cc08cSmrgstatic void
3669b62cc08cSmrgtest_varargs (const char *format, ...)
3670b62cc08cSmrg{
3671b62cc08cSmrg  va_list args;
3672b62cc08cSmrg  va_start (args, format);
3673b62cc08cSmrg  va_list args_copy;
3674b62cc08cSmrg  va_copy (args_copy, args);
3675b62cc08cSmrg
3676b62cc08cSmrg  const char *str;
3677b62cc08cSmrg  int number;
3678b62cc08cSmrg  float fnumber;
3679b62cc08cSmrg
3680b62cc08cSmrg  while (*format)
3681b62cc08cSmrg    {
3682b62cc08cSmrg      switch (*format++)
3683b62cc08cSmrg	{
3684b62cc08cSmrg	case 's': // string
3685b62cc08cSmrg	  str = va_arg (args_copy, const char *);
3686b62cc08cSmrg	  break;
3687b62cc08cSmrg	case 'd': // int
3688b62cc08cSmrg	  number = va_arg (args_copy, int);
3689b62cc08cSmrg	  break;
3690b62cc08cSmrg	case 'f': // float
3691b62cc08cSmrg	  fnumber = va_arg (args_copy, double);
3692b62cc08cSmrg	  break;
3693b62cc08cSmrg	default:
3694b62cc08cSmrg	  break;
3695b62cc08cSmrg	}
3696b62cc08cSmrg    }
3697b62cc08cSmrg  va_end (args_copy);
3698b62cc08cSmrg  va_end (args);
3699b62cc08cSmrg}
3700b62cc08cSmrg
3701b62cc08cSmrgint
3702b62cc08cSmrgmain ()
3703b62cc08cSmrg{
3704b62cc08cSmrg
3705b62cc08cSmrg  // Check bool.
3706b62cc08cSmrg  _Bool success = false;
3707b62cc08cSmrg
3708b62cc08cSmrg  // Check restrict.
3709b62cc08cSmrg  if (test_restrict ("String literal") == 0)
3710b62cc08cSmrg    success = true;
3711b62cc08cSmrg  char *restrict newvar = "Another string";
3712b62cc08cSmrg
3713b62cc08cSmrg  // Check varargs.
3714b62cc08cSmrg  test_varargs ("s, d' f .", "string", 65, 34.234);
3715b62cc08cSmrg  test_varargs_macros ();
3716b62cc08cSmrg
3717b62cc08cSmrg  // Check flexible array members.
3718b62cc08cSmrg  struct incomplete_array *ia =
3719b62cc08cSmrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3720b62cc08cSmrg  ia->datasize = 10;
3721b62cc08cSmrg  for (int i = 0; i < ia->datasize; ++i)
3722b62cc08cSmrg    ia->data[i] = i * 1.234;
3723b62cc08cSmrg
3724b62cc08cSmrg  // Check named initializers.
3725b62cc08cSmrg  struct named_init ni = {
3726b62cc08cSmrg    .number = 34,
3727b62cc08cSmrg    .name = L"Test wide string",
3728b62cc08cSmrg    .average = 543.34343,
3729b62cc08cSmrg  };
3730b62cc08cSmrg
3731b62cc08cSmrg  ni.number = 58;
3732b62cc08cSmrg
3733b62cc08cSmrg  int dynamic_array[ni.number];
3734b62cc08cSmrg  dynamic_array[ni.number - 1] = 543;
3735b62cc08cSmrg
3736b62cc08cSmrg  // work around unused variable warnings
3737b62cc08cSmrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3738b62cc08cSmrg	  || dynamic_array[ni.number - 1] != 543);
3739b62cc08cSmrg
3740b62cc08cSmrg  ;
3741b62cc08cSmrg  return 0;
3742b62cc08cSmrg}
3743b62cc08cSmrg_ACEOF
3744b62cc08cSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3745b62cc08cSmrgdo
3746b62cc08cSmrg  CC="$ac_save_CC $ac_arg"
3747b62cc08cSmrg  if ac_fn_c_try_compile "$LINENO"; then :
3748b62cc08cSmrg  ac_cv_prog_cc_c99=$ac_arg
3749b62cc08cSmrgfi
3750b62cc08cSmrgrm -f core conftest.err conftest.$ac_objext
3751b62cc08cSmrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
3752b62cc08cSmrgdone
3753b62cc08cSmrgrm -f conftest.$ac_ext
3754b62cc08cSmrgCC=$ac_save_CC
3755b62cc08cSmrg
3756b62cc08cSmrgfi
3757b62cc08cSmrg# AC_CACHE_VAL
3758b62cc08cSmrgcase "x$ac_cv_prog_cc_c99" in
3759b62cc08cSmrg  x)
3760b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3761b62cc08cSmrg$as_echo "none needed" >&6; } ;;
3762b62cc08cSmrg  xno)
3763b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3764b62cc08cSmrg$as_echo "unsupported" >&6; } ;;
3765b62cc08cSmrg  *)
3766b62cc08cSmrg    CC="$CC $ac_cv_prog_cc_c99"
3767b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3768b62cc08cSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3769b62cc08cSmrgesac
3770b62cc08cSmrgif test "x$ac_cv_prog_cc_c99" != xno; then :
3771b62cc08cSmrg
3772b62cc08cSmrgfi
3773b62cc08cSmrg
3774b62cc08cSmrg
3775b62cc08cSmrgac_ext=c
3776b62cc08cSmrgac_cpp='$CPP $CPPFLAGS'
3777b62cc08cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3778b62cc08cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3779b62cc08cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3780b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3781b62cc08cSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
3782b62cc08cSmrg# On Suns, sometimes $CPP names a directory.
3783b62cc08cSmrgif test -n "$CPP" && test -d "$CPP"; then
3784b62cc08cSmrg  CPP=
3785b62cc08cSmrgfi
3786b62cc08cSmrgif test -z "$CPP"; then
3787b62cc08cSmrg  if ${ac_cv_prog_CPP+:} false; then :
3788b62cc08cSmrg  $as_echo_n "(cached) " >&6
3789b62cc08cSmrgelse
3790b62cc08cSmrg      # Double quotes because CPP needs to be expanded
3791b62cc08cSmrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3792b62cc08cSmrg    do
3793b62cc08cSmrg      ac_preproc_ok=false
3794b62cc08cSmrgfor ac_c_preproc_warn_flag in '' yes
3795b62cc08cSmrgdo
3796b62cc08cSmrg  # Use a header file that comes with gcc, so configuring glibc
3797b62cc08cSmrg  # with a fresh cross-compiler works.
3798b62cc08cSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3799b62cc08cSmrg  # <limits.h> exists even on freestanding compilers.
3800b62cc08cSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3801b62cc08cSmrg  # not just through cpp. "Syntax error" is here to catch this case.
3802b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803b62cc08cSmrg/* end confdefs.h.  */
3804b62cc08cSmrg#ifdef __STDC__
3805b62cc08cSmrg# include <limits.h>
3806b62cc08cSmrg#else
3807b62cc08cSmrg# include <assert.h>
3808b62cc08cSmrg#endif
3809b62cc08cSmrg		     Syntax error
3810b62cc08cSmrg_ACEOF
3811b62cc08cSmrgif ac_fn_c_try_cpp "$LINENO"; then :
3812b62cc08cSmrg
3813b62cc08cSmrgelse
3814b62cc08cSmrg  # Broken: fails on valid input.
3815b62cc08cSmrgcontinue
3816b62cc08cSmrgfi
3817b62cc08cSmrgrm -f conftest.err conftest.i conftest.$ac_ext
3818b62cc08cSmrg
3819b62cc08cSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
3820b62cc08cSmrg  # can be detected and how.
3821b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822b62cc08cSmrg/* end confdefs.h.  */
3823b62cc08cSmrg#include <ac_nonexistent.h>
3824b62cc08cSmrg_ACEOF
3825b62cc08cSmrgif ac_fn_c_try_cpp "$LINENO"; then :
3826b62cc08cSmrg  # Broken: success on invalid input.
3827b62cc08cSmrgcontinue
3828b62cc08cSmrgelse
3829b62cc08cSmrg  # Passes both tests.
3830b62cc08cSmrgac_preproc_ok=:
3831b62cc08cSmrgbreak
3832b62cc08cSmrgfi
3833b62cc08cSmrgrm -f conftest.err conftest.i conftest.$ac_ext
3834b62cc08cSmrg
3835b62cc08cSmrgdone
3836b62cc08cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3837b62cc08cSmrgrm -f conftest.i conftest.err conftest.$ac_ext
3838b62cc08cSmrgif $ac_preproc_ok; then :
3839b62cc08cSmrg  break
3840b62cc08cSmrgfi
3841b62cc08cSmrg
3842b62cc08cSmrg    done
3843b62cc08cSmrg    ac_cv_prog_CPP=$CPP
3844b62cc08cSmrg
3845b62cc08cSmrgfi
3846b62cc08cSmrg  CPP=$ac_cv_prog_CPP
38479fe995a9Smrgelse
3848b62cc08cSmrg  ac_cv_prog_CPP=$CPP
38499fe995a9Smrgfi
3850b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3851b62cc08cSmrg$as_echo "$CPP" >&6; }
3852b62cc08cSmrgac_preproc_ok=false
3853b62cc08cSmrgfor ac_c_preproc_warn_flag in '' yes
3854b62cc08cSmrgdo
3855b62cc08cSmrg  # Use a header file that comes with gcc, so configuring glibc
3856b62cc08cSmrg  # with a fresh cross-compiler works.
3857b62cc08cSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3858b62cc08cSmrg  # <limits.h> exists even on freestanding compilers.
3859b62cc08cSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3860b62cc08cSmrg  # not just through cpp. "Syntax error" is here to catch this case.
3861b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862b62cc08cSmrg/* end confdefs.h.  */
3863b62cc08cSmrg#ifdef __STDC__
3864b62cc08cSmrg# include <limits.h>
3865b62cc08cSmrg#else
3866b62cc08cSmrg# include <assert.h>
3867b62cc08cSmrg#endif
3868b62cc08cSmrg		     Syntax error
3869b62cc08cSmrg_ACEOF
3870b62cc08cSmrgif ac_fn_c_try_cpp "$LINENO"; then :
38719fe995a9Smrg
3872b62cc08cSmrgelse
3873b62cc08cSmrg  # Broken: fails on valid input.
3874b62cc08cSmrgcontinue
38759fe995a9Smrgfi
3876b62cc08cSmrgrm -f conftest.err conftest.i conftest.$ac_ext
38779fe995a9Smrg
3878b62cc08cSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
3879b62cc08cSmrg  # can be detected and how.
3880b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881b62cc08cSmrg/* end confdefs.h.  */
3882b62cc08cSmrg#include <ac_nonexistent.h>
3883b62cc08cSmrg_ACEOF
3884b62cc08cSmrgif ac_fn_c_try_cpp "$LINENO"; then :
3885b62cc08cSmrg  # Broken: success on invalid input.
3886b62cc08cSmrgcontinue
38879fe995a9Smrgelse
3888b62cc08cSmrg  # Passes both tests.
3889b62cc08cSmrgac_preproc_ok=:
3890b62cc08cSmrgbreak
38919fe995a9Smrgfi
3892b62cc08cSmrgrm -f conftest.err conftest.i conftest.$ac_ext
38939fe995a9Smrg
3894b62cc08cSmrgdone
3895b62cc08cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3896b62cc08cSmrgrm -f conftest.i conftest.err conftest.$ac_ext
3897b62cc08cSmrgif $ac_preproc_ok; then :
38989fe995a9Smrg
38999fe995a9Smrgelse
3900b62cc08cSmrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3901b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902b62cc08cSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3903b62cc08cSmrgSee \`config.log' for more details" "$LINENO" 5; }
3904b62cc08cSmrgfi
3905b62cc08cSmrg
3906b62cc08cSmrgac_ext=c
3907b62cc08cSmrgac_cpp='$CPP $CPPFLAGS'
3908b62cc08cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909b62cc08cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910b62cc08cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3911b62cc08cSmrg
3912b62cc08cSmrg
3913b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3914b62cc08cSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3915b62cc08cSmrgif ${ac_cv_path_GREP+:} false; then :
3916b62cc08cSmrg  $as_echo_n "(cached) " >&6
3917b62cc08cSmrgelse
3918b62cc08cSmrg  if test -z "$GREP"; then
3919b62cc08cSmrg  ac_path_GREP_found=false
3920b62cc08cSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
39219fe995a9Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922b62cc08cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
39239fe995a9Smrgdo
39249fe995a9Smrg  IFS=$as_save_IFS
39259fe995a9Smrg  test -z "$as_dir" && as_dir=.
3926b62cc08cSmrg    for ac_prog in grep ggrep; do
3927b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3928b62cc08cSmrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3929b62cc08cSmrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3930b62cc08cSmrg# Check for GNU ac_path_GREP and select it if it is found.
3931b62cc08cSmrg  # Check for GNU $ac_path_GREP
3932b62cc08cSmrgcase `"$ac_path_GREP" --version 2>&1` in
3933b62cc08cSmrg*GNU*)
3934b62cc08cSmrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3935b62cc08cSmrg*)
3936b62cc08cSmrg  ac_count=0
3937b62cc08cSmrg  $as_echo_n 0123456789 >"conftest.in"
3938b62cc08cSmrg  while :
3939b62cc08cSmrg  do
3940b62cc08cSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3941b62cc08cSmrg    mv "conftest.tmp" "conftest.in"
3942b62cc08cSmrg    cp "conftest.in" "conftest.nl"
3943b62cc08cSmrg    $as_echo 'GREP' >> "conftest.nl"
3944b62cc08cSmrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3945b62cc08cSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3946b62cc08cSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
3947b62cc08cSmrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3948b62cc08cSmrg      # Best one so far, save it but keep looking for a better one
3949b62cc08cSmrg      ac_cv_path_GREP="$ac_path_GREP"
3950b62cc08cSmrg      ac_path_GREP_max=$ac_count
3951b62cc08cSmrg    fi
3952b62cc08cSmrg    # 10*(2^10) chars as input seems more than enough
3953b62cc08cSmrg    test $ac_count -gt 10 && break
3954b62cc08cSmrg  done
3955b62cc08cSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
39569fe995a9Smrgesac
39579fe995a9Smrg
3958b62cc08cSmrg      $ac_path_GREP_found && break 3
3959b62cc08cSmrg    done
3960b62cc08cSmrg  done
3961b62cc08cSmrg  done
3962b62cc08cSmrgIFS=$as_save_IFS
3963b62cc08cSmrg  if test -z "$ac_cv_path_GREP"; then
3964b62cc08cSmrg    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3965b62cc08cSmrg  fi
3966b62cc08cSmrgelse
3967b62cc08cSmrg  ac_cv_path_GREP=$GREP
3968b62cc08cSmrgfi
39699fe995a9Smrg
39709fe995a9Smrgfi
3971b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3972b62cc08cSmrg$as_echo "$ac_cv_path_GREP" >&6; }
3973b62cc08cSmrg GREP="$ac_cv_path_GREP"
3974b62cc08cSmrg
3975b62cc08cSmrg
3976b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3977b62cc08cSmrg$as_echo_n "checking for egrep... " >&6; }
3978b62cc08cSmrgif ${ac_cv_path_EGREP+:} false; then :
3979b62cc08cSmrg  $as_echo_n "(cached) " >&6
3980b62cc08cSmrgelse
3981b62cc08cSmrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3982b62cc08cSmrg   then ac_cv_path_EGREP="$GREP -E"
3983b62cc08cSmrg   else
3984b62cc08cSmrg     if test -z "$EGREP"; then
3985b62cc08cSmrg  ac_path_EGREP_found=false
3986b62cc08cSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
3987b62cc08cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988b62cc08cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3989b62cc08cSmrgdo
3990b62cc08cSmrg  IFS=$as_save_IFS
3991b62cc08cSmrg  test -z "$as_dir" && as_dir=.
3992b62cc08cSmrg    for ac_prog in egrep; do
3993b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3994b62cc08cSmrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3995b62cc08cSmrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3996b62cc08cSmrg# Check for GNU ac_path_EGREP and select it if it is found.
3997b62cc08cSmrg  # Check for GNU $ac_path_EGREP
3998b62cc08cSmrgcase `"$ac_path_EGREP" --version 2>&1` in
3999b62cc08cSmrg*GNU*)
4000b62cc08cSmrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4001b62cc08cSmrg*)
4002b62cc08cSmrg  ac_count=0
4003b62cc08cSmrg  $as_echo_n 0123456789 >"conftest.in"
4004b62cc08cSmrg  while :
4005b62cc08cSmrg  do
4006b62cc08cSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
4007b62cc08cSmrg    mv "conftest.tmp" "conftest.in"
4008b62cc08cSmrg    cp "conftest.in" "conftest.nl"
4009b62cc08cSmrg    $as_echo 'EGREP' >> "conftest.nl"
4010b62cc08cSmrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4011b62cc08cSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4012b62cc08cSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
4013b62cc08cSmrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4014b62cc08cSmrg      # Best one so far, save it but keep looking for a better one
4015b62cc08cSmrg      ac_cv_path_EGREP="$ac_path_EGREP"
4016b62cc08cSmrg      ac_path_EGREP_max=$ac_count
4017b62cc08cSmrg    fi
4018b62cc08cSmrg    # 10*(2^10) chars as input seems more than enough
4019b62cc08cSmrg    test $ac_count -gt 10 && break
4020b62cc08cSmrg  done
4021b62cc08cSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4022b62cc08cSmrgesac
4023b62cc08cSmrg
4024b62cc08cSmrg      $ac_path_EGREP_found && break 3
4025b62cc08cSmrg    done
4026b62cc08cSmrg  done
4027b62cc08cSmrg  done
4028b62cc08cSmrgIFS=$as_save_IFS
4029b62cc08cSmrg  if test -z "$ac_cv_path_EGREP"; then
4030b62cc08cSmrg    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
40319fe995a9Smrg  fi
4032b62cc08cSmrgelse
4033b62cc08cSmrg  ac_cv_path_EGREP=$EGREP
40349fe995a9Smrgfi
40359fe995a9Smrg
4036b62cc08cSmrg   fi
4037b62cc08cSmrgfi
4038b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4039b62cc08cSmrg$as_echo "$ac_cv_path_EGREP" >&6; }
4040b62cc08cSmrg EGREP="$ac_cv_path_EGREP"
40419fe995a9Smrg
40429fe995a9Smrg
4043b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4044b62cc08cSmrg$as_echo_n "checking for ANSI C header files... " >&6; }
4045b62cc08cSmrgif ${ac_cv_header_stdc+:} false; then :
4046b62cc08cSmrg  $as_echo_n "(cached) " >&6
4047b62cc08cSmrgelse
4048b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049b62cc08cSmrg/* end confdefs.h.  */
4050b62cc08cSmrg#include <stdlib.h>
4051b62cc08cSmrg#include <stdarg.h>
4052b62cc08cSmrg#include <string.h>
4053b62cc08cSmrg#include <float.h>
4054b62cc08cSmrg
4055b62cc08cSmrgint
4056b62cc08cSmrgmain ()
4057b62cc08cSmrg{
4058b62cc08cSmrg
4059b62cc08cSmrg  ;
4060b62cc08cSmrg  return 0;
4061b62cc08cSmrg}
4062b62cc08cSmrg_ACEOF
4063b62cc08cSmrgif ac_fn_c_try_compile "$LINENO"; then :
4064b62cc08cSmrg  ac_cv_header_stdc=yes
4065b62cc08cSmrgelse
4066b62cc08cSmrg  ac_cv_header_stdc=no
4067b62cc08cSmrgfi
4068b62cc08cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40699fe995a9Smrg
4070b62cc08cSmrgif test $ac_cv_header_stdc = yes; then
4071b62cc08cSmrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4072b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073b62cc08cSmrg/* end confdefs.h.  */
4074b62cc08cSmrg#include <string.h>
40759fe995a9Smrg
4076b62cc08cSmrg_ACEOF
4077b62cc08cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4078b62cc08cSmrg  $EGREP "memchr" >/dev/null 2>&1; then :
40799fe995a9Smrg
40809fe995a9Smrgelse
4081b62cc08cSmrg  ac_cv_header_stdc=no
4082b62cc08cSmrgfi
4083b62cc08cSmrgrm -f conftest*
4084b62cc08cSmrg
4085b62cc08cSmrgfi
4086b62cc08cSmrg
4087b62cc08cSmrgif test $ac_cv_header_stdc = yes; then
4088b62cc08cSmrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4089b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090b62cc08cSmrg/* end confdefs.h.  */
4091b62cc08cSmrg#include <stdlib.h>
4092b62cc08cSmrg
40939fe995a9Smrg_ACEOF
4094b62cc08cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4095b62cc08cSmrg  $EGREP "free" >/dev/null 2>&1; then :
4096b62cc08cSmrg
4097b62cc08cSmrgelse
4098b62cc08cSmrg  ac_cv_header_stdc=no
4099b62cc08cSmrgfi
4100b62cc08cSmrgrm -f conftest*
4101b62cc08cSmrg
4102b62cc08cSmrgfi
4103b62cc08cSmrg
4104b62cc08cSmrgif test $ac_cv_header_stdc = yes; then
4105b62cc08cSmrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4106b62cc08cSmrg  if test "$cross_compiling" = yes; then :
4107b62cc08cSmrg  :
4108b62cc08cSmrgelse
4109b62cc08cSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41109fe995a9Smrg/* end confdefs.h.  */
4111b62cc08cSmrg#include <ctype.h>
4112b62cc08cSmrg#include <stdlib.h>
4113b62cc08cSmrg#if ((' ' & 0x0FF) == 0x020)
4114b62cc08cSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4115b62cc08cSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4116b62cc08cSmrg#else
4117b62cc08cSmrg# define ISLOWER(c) \
4118b62cc08cSmrg		   (('a' <= (c) && (c) <= 'i') \
4119b62cc08cSmrg		     || ('j' <= (c) && (c) <= 'r') \
4120b62cc08cSmrg		     || ('s' <= (c) && (c) <= 'z'))
4121b62cc08cSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4122b62cc08cSmrg#endif
41239fe995a9Smrg
4124b62cc08cSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
41259fe995a9Smrgint
41269fe995a9Smrgmain ()
41279fe995a9Smrg{
4128b62cc08cSmrg  int i;
4129b62cc08cSmrg  for (i = 0; i < 256; i++)
4130b62cc08cSmrg    if (XOR (islower (i), ISLOWER (i))
4131b62cc08cSmrg	|| toupper (i) != TOUPPER (i))
4132b62cc08cSmrg      return 2;
41339fe995a9Smrg  return 0;
41349fe995a9Smrg}
41359fe995a9Smrg_ACEOF
4136b62cc08cSmrgif ac_fn_c_try_run "$LINENO"; then :
4137b62cc08cSmrg
41389fe995a9Smrgelse
4139b62cc08cSmrg  ac_cv_header_stdc=no
4140b62cc08cSmrgfi
4141b62cc08cSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4142b62cc08cSmrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
4143b62cc08cSmrgfi
41449fe995a9Smrg
41459fe995a9Smrgfi
4146b62cc08cSmrgfi
4147b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4148b62cc08cSmrg$as_echo "$ac_cv_header_stdc" >&6; }
4149b62cc08cSmrgif test $ac_cv_header_stdc = yes; then
4150b62cc08cSmrg
4151b62cc08cSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
41529fe995a9Smrg
41539fe995a9Smrgfi
41549fe995a9Smrg
4155b62cc08cSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4156b62cc08cSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4157b62cc08cSmrg		  inttypes.h stdint.h unistd.h
4158b62cc08cSmrgdo :
4159b62cc08cSmrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4160b62cc08cSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4161b62cc08cSmrg"
4162b62cc08cSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4163b62cc08cSmrg  cat >>confdefs.h <<_ACEOF
4164b62cc08cSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
41659fe995a9Smrg_ACEOF
41669fe995a9Smrg
4167b62cc08cSmrgfi
4168b62cc08cSmrg
4169b62cc08cSmrgdone
41709fe995a9Smrg
41719fe995a9Smrg
41729fe995a9Smrg
41739fe995a9Smrg
417490b6713cSmrg
417590b6713cSmrg
417690b6713cSmrg
417790b6713cSmrg
41789fe995a9Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41799fe995a9Smrg	if test -n "$ac_tool_prefix"; then
41809fe995a9Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41819fe995a9Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4182b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
4184b62cc08cSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then :
4185b62cc08cSmrg  $as_echo_n "(cached) " >&6
41869fe995a9Smrgelse
41879fe995a9Smrg  case $PKG_CONFIG in
41889fe995a9Smrg  [\\/]* | ?:[\\/]*)
41899fe995a9Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41909fe995a9Smrg  ;;
41919fe995a9Smrg  *)
41929fe995a9Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41939fe995a9Smrgfor as_dir in $PATH
41949fe995a9Smrgdo
41959fe995a9Smrg  IFS=$as_save_IFS
41969fe995a9Smrg  test -z "$as_dir" && as_dir=.
4197b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
41989fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41999fe995a9Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4200b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
42019fe995a9Smrg    break 2
42029fe995a9Smrg  fi
42039fe995a9Smrgdone
4204b62cc08cSmrg  done
42059fe995a9SmrgIFS=$as_save_IFS
42069fe995a9Smrg
42079fe995a9Smrg  ;;
42089fe995a9Smrgesac
42099fe995a9Smrgfi
42109fe995a9SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
42119fe995a9Smrgif test -n "$PKG_CONFIG"; then
4212b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4213b62cc08cSmrg$as_echo "$PKG_CONFIG" >&6; }
42149fe995a9Smrgelse
4215b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216b62cc08cSmrg$as_echo "no" >&6; }
42179fe995a9Smrgfi
42189fe995a9Smrg
42199fe995a9Smrg
42209fe995a9Smrgfi
42219fe995a9Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
42229fe995a9Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
42239fe995a9Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
42249fe995a9Smrgset dummy pkg-config; ac_word=$2
4225b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
4227b62cc08cSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4228b62cc08cSmrg  $as_echo_n "(cached) " >&6
42299fe995a9Smrgelse
42309fe995a9Smrg  case $ac_pt_PKG_CONFIG in
42319fe995a9Smrg  [\\/]* | ?:[\\/]*)
42329fe995a9Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42339fe995a9Smrg  ;;
42349fe995a9Smrg  *)
42359fe995a9Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42369fe995a9Smrgfor as_dir in $PATH
42379fe995a9Smrgdo
42389fe995a9Smrg  IFS=$as_save_IFS
42399fe995a9Smrg  test -z "$as_dir" && as_dir=.
4240b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
42419fe995a9Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42429fe995a9Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4243b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
42449fe995a9Smrg    break 2
42459fe995a9Smrg  fi
42469fe995a9Smrgdone
4247b62cc08cSmrg  done
42489fe995a9SmrgIFS=$as_save_IFS
42499fe995a9Smrg
42509fe995a9Smrg  ;;
42519fe995a9Smrgesac
42529fe995a9Smrgfi
42539fe995a9Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42549fe995a9Smrgif test -n "$ac_pt_PKG_CONFIG"; then
4255b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4256b62cc08cSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
42579fe995a9Smrgelse
4258b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259b62cc08cSmrg$as_echo "no" >&6; }
42609fe995a9Smrgfi
42619fe995a9Smrg
42629fe995a9Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
42639fe995a9Smrg    PKG_CONFIG=""
42649fe995a9Smrg  else
42659fe995a9Smrg    case $cross_compiling:$ac_tool_warned in
42669fe995a9Smrgyes:)
4267b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4268b62cc08cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
42699fe995a9Smrgac_tool_warned=yes ;;
42709fe995a9Smrgesac
42719fe995a9Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
42729fe995a9Smrg  fi
42739fe995a9Smrgelse
42749fe995a9Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42759fe995a9Smrgfi
42769fe995a9Smrg
42779fe995a9Smrgfi
42789fe995a9Smrgif test -n "$PKG_CONFIG"; then
42799fe995a9Smrg	_pkg_min_version=0.9.0
4280b62cc08cSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4281b62cc08cSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
42829fe995a9Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4283b62cc08cSmrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4284b62cc08cSmrg$as_echo "yes" >&6; }
42859fe995a9Smrg	else
4286b62cc08cSmrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287b62cc08cSmrg$as_echo "no" >&6; }
4288b62cc08cSmrg		PKG_CONFIG=""
4289b62cc08cSmrg	fi
4290b62cc08cSmrgfi
42919fe995a9Smrg# Make sure we can run config.sub.
42929fe995a9Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4293b62cc08cSmrg  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
42949fe995a9Smrg
4295b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4296b62cc08cSmrg$as_echo_n "checking build system type... " >&6; }
4297b62cc08cSmrgif ${ac_cv_build+:} false; then :
4298b62cc08cSmrg  $as_echo_n "(cached) " >&6
42999fe995a9Smrgelse
43009fe995a9Smrg  ac_build_alias=$build_alias
43019fe995a9Smrgtest "x$ac_build_alias" = x &&
43029fe995a9Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
43039fe995a9Smrgtest "x$ac_build_alias" = x &&
4304b62cc08cSmrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
43059fe995a9Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4306b62cc08cSmrg  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
43079fe995a9Smrg
43089fe995a9Smrgfi
4309b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4310b62cc08cSmrg$as_echo "$ac_cv_build" >&6; }
43119fe995a9Smrgcase $ac_cv_build in
43129fe995a9Smrg*-*-*) ;;
4313b62cc08cSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
43149fe995a9Smrgesac
43159fe995a9Smrgbuild=$ac_cv_build
43169fe995a9Smrgac_save_IFS=$IFS; IFS='-'
43179fe995a9Smrgset x $ac_cv_build
43189fe995a9Smrgshift
43199fe995a9Smrgbuild_cpu=$1
43209fe995a9Smrgbuild_vendor=$2
43219fe995a9Smrgshift; shift
43229fe995a9Smrg# Remember, the first character of IFS is used to create $*,
43239fe995a9Smrg# except with old shells:
43249fe995a9Smrgbuild_os=$*
43259fe995a9SmrgIFS=$ac_save_IFS
43269fe995a9Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
43279fe995a9Smrg
43289fe995a9Smrg
4329b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4330b62cc08cSmrg$as_echo_n "checking host system type... " >&6; }
4331b62cc08cSmrgif ${ac_cv_host+:} false; then :
4332b62cc08cSmrg  $as_echo_n "(cached) " >&6
43339fe995a9Smrgelse
43349fe995a9Smrg  if test "x$host_alias" = x; then
43359fe995a9Smrg  ac_cv_host=$ac_cv_build
43369fe995a9Smrgelse
43379fe995a9Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4338b62cc08cSmrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
43399fe995a9Smrgfi
43409fe995a9Smrg
43419fe995a9Smrgfi
4342b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4343b62cc08cSmrg$as_echo "$ac_cv_host" >&6; }
43449fe995a9Smrgcase $ac_cv_host in
43459fe995a9Smrg*-*-*) ;;
4346b62cc08cSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
43479fe995a9Smrgesac
43489fe995a9Smrghost=$ac_cv_host
43499fe995a9Smrgac_save_IFS=$IFS; IFS='-'
43509fe995a9Smrgset x $ac_cv_host
43519fe995a9Smrgshift
43529fe995a9Smrghost_cpu=$1
43539fe995a9Smrghost_vendor=$2
43549fe995a9Smrgshift; shift
43559fe995a9Smrg# Remember, the first character of IFS is used to create $*,
43569fe995a9Smrg# except with old shells:
43579fe995a9Smrghost_os=$*
43589fe995a9SmrgIFS=$ac_save_IFS
43599fe995a9Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
43609fe995a9Smrg
43619fe995a9Smrg
4362b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4363b62cc08cSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4364b62cc08cSmrgif ${ac_cv_path_SED+:} false; then :
4365b62cc08cSmrg  $as_echo_n "(cached) " >&6
4366b62cc08cSmrgelse
4367b62cc08cSmrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4368b62cc08cSmrg     for ac_i in 1 2 3 4 5 6 7; do
4369b62cc08cSmrg       ac_script="$ac_script$as_nl$ac_script"
4370b62cc08cSmrg     done
4371b62cc08cSmrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4372b62cc08cSmrg     { ac_script=; unset ac_script;}
4373b62cc08cSmrg     if test -z "$SED"; then
4374b62cc08cSmrg  ac_path_SED_found=false
4375b62cc08cSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
4376b62cc08cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377b62cc08cSmrgfor as_dir in $PATH
4378b62cc08cSmrgdo
4379b62cc08cSmrg  IFS=$as_save_IFS
4380b62cc08cSmrg  test -z "$as_dir" && as_dir=.
4381b62cc08cSmrg    for ac_prog in sed gsed; do
4382b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
4383b62cc08cSmrg      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4384b62cc08cSmrg      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4385b62cc08cSmrg# Check for GNU ac_path_SED and select it if it is found.
4386b62cc08cSmrg  # Check for GNU $ac_path_SED
4387b62cc08cSmrgcase `"$ac_path_SED" --version 2>&1` in
4388b62cc08cSmrg*GNU*)
4389b62cc08cSmrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4390b62cc08cSmrg*)
4391b62cc08cSmrg  ac_count=0
4392b62cc08cSmrg  $as_echo_n 0123456789 >"conftest.in"
4393b62cc08cSmrg  while :
4394b62cc08cSmrg  do
4395b62cc08cSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
4396b62cc08cSmrg    mv "conftest.tmp" "conftest.in"
4397b62cc08cSmrg    cp "conftest.in" "conftest.nl"
4398b62cc08cSmrg    $as_echo '' >> "conftest.nl"
4399b62cc08cSmrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4400b62cc08cSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4401b62cc08cSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
4402b62cc08cSmrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
4403b62cc08cSmrg      # Best one so far, save it but keep looking for a better one
4404b62cc08cSmrg      ac_cv_path_SED="$ac_path_SED"
4405b62cc08cSmrg      ac_path_SED_max=$ac_count
4406b62cc08cSmrg    fi
4407b62cc08cSmrg    # 10*(2^10) chars as input seems more than enough
4408b62cc08cSmrg    test $ac_count -gt 10 && break
4409b62cc08cSmrg  done
4410b62cc08cSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4411b62cc08cSmrgesac
4412b62cc08cSmrg
4413b62cc08cSmrg      $ac_path_SED_found && break 3
4414b62cc08cSmrg    done
4415b62cc08cSmrg  done
4416b62cc08cSmrg  done
4417b62cc08cSmrgIFS=$as_save_IFS
4418b62cc08cSmrg  if test -z "$ac_cv_path_SED"; then
4419b62cc08cSmrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4420b62cc08cSmrg  fi
4421b62cc08cSmrgelse
4422b62cc08cSmrg  ac_cv_path_SED=$SED
4423b62cc08cSmrgfi
4424b62cc08cSmrg
4425b62cc08cSmrgfi
4426b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4427b62cc08cSmrg$as_echo "$ac_cv_path_SED" >&6; }
4428b62cc08cSmrg SED="$ac_cv_path_SED"
4429b62cc08cSmrg  rm -f conftest.sed
4430b62cc08cSmrg
4431b62cc08cSmrg
4432b62cc08cSmrg
4433b62cc08cSmrg
4434b62cc08cSmrg
4435b62cc08cSmrgif  test "x$GCC" = xyes ; then
4436b62cc08cSmrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4437b62cc08cSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4438b62cc08cSmrg-Wbad-function-cast -Wformat=2"
4439b62cc08cSmrg    case `$CC -dumpversion` in
4440b62cc08cSmrg    3.4.* | 4.*)
4441b62cc08cSmrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4442b62cc08cSmrg	;;
4443b62cc08cSmrg    esac
4444b62cc08cSmrgelse
4445b62cc08cSmrg    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4446b62cc08cSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4447b62cc08cSmrg  SUNCC="yes"
4448b62cc08cSmrgelse
4449b62cc08cSmrg  SUNCC="no"
4450b62cc08cSmrgfi
4451b62cc08cSmrg
4452b62cc08cSmrg    if test "x$SUNCC" = "xyes"; then
4453b62cc08cSmrg	CWARNFLAGS="-v"
4454b62cc08cSmrg    fi
4455b62cc08cSmrgfi
4456b62cc08cSmrg
4457b62cc08cSmrg
4458b62cc08cSmrg
4459b62cc08cSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4460b62cc08cSmrg
4461b62cc08cSmrg
4462b62cc08cSmrg
4463b62cc08cSmrg# Check whether --enable-strict-compilation was given.
4464b62cc08cSmrgif test "${enable_strict_compilation+set}" = set; then :
4465b62cc08cSmrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4466b62cc08cSmrgelse
4467b62cc08cSmrg  STRICT_COMPILE=no
4468b62cc08cSmrgfi
4469b62cc08cSmrg
4470b62cc08cSmrgif test "x$STRICT_COMPILE" = "xyes"; then
4471b62cc08cSmrg	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4472b62cc08cSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4473b62cc08cSmrg  SUNCC="yes"
4474b62cc08cSmrgelse
4475b62cc08cSmrg  SUNCC="no"
4476b62cc08cSmrgfi
4477b62cc08cSmrg
4478b62cc08cSmrg	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4479b62cc08cSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4480b62cc08cSmrg  INTELCC="yes"
4481b62cc08cSmrgelse
4482b62cc08cSmrg  INTELCC="no"
4483b62cc08cSmrgfi
4484b62cc08cSmrg
4485b62cc08cSmrg	if test "x$GCC" = xyes ; then
4486b62cc08cSmrg		STRICT_CFLAGS="-pedantic -Werror"
4487b62cc08cSmrg	elif test "x$SUNCC" = "xyes"; then
4488b62cc08cSmrg		STRICT_CFLAGS="-errwarn"
4489b62cc08cSmrg    elif test "x$INTELCC" = "xyes"; then
4490b62cc08cSmrg		STRICT_CFLAGS="-Werror"
4491b62cc08cSmrg	fi
4492b62cc08cSmrgfi
4493b62cc08cSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4494b62cc08cSmrg
4495b62cc08cSmrg
4496b62cc08cSmrg
4497b62cc08cSmrg
4498b62cc08cSmrgcat >>confdefs.h <<_ACEOF
4499b62cc08cSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4500b62cc08cSmrg_ACEOF
4501b62cc08cSmrg
4502b62cc08cSmrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4503b62cc08cSmrg	if test "x$PVM" = "x"; then
4504b62cc08cSmrg		PVM="0"
4505b62cc08cSmrg	fi
4506b62cc08cSmrg
4507b62cc08cSmrgcat >>confdefs.h <<_ACEOF
4508b62cc08cSmrg#define PACKAGE_VERSION_MINOR $PVM
4509b62cc08cSmrg_ACEOF
4510b62cc08cSmrg
4511b62cc08cSmrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4512b62cc08cSmrg	if test "x$PVP" = "x"; then
4513b62cc08cSmrg		PVP="0"
4514b62cc08cSmrg	fi
4515b62cc08cSmrg
4516b62cc08cSmrgcat >>confdefs.h <<_ACEOF
4517b62cc08cSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
4518b62cc08cSmrg_ACEOF
4519b62cc08cSmrg
4520b62cc08cSmrg
4521b62cc08cSmrg
4522b62cc08cSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4523b62cc08cSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4524b62cc08cSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4525b62cc08cSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
4526b62cc08cSmrg
4527b62cc08cSmrg
4528b62cc08cSmrg
4529b62cc08cSmrg
4530b62cc08cSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4531b62cc08cSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4532b62cc08cSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4533b62cc08cSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4534b62cc08cSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4535b62cc08cSmrg
4536b62cc08cSmrg
4537b62cc08cSmrg
45389fe995a9Smrg
45399fe995a9Smrg
45409fe995a9Smrg
45419fe995a9Smrgif test x$APP_MAN_SUFFIX = x    ; then
45429fe995a9Smrg    APP_MAN_SUFFIX=1
45439fe995a9Smrgfi
45449fe995a9Smrgif test x$APP_MAN_DIR = x    ; then
45459fe995a9Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
45469fe995a9Smrgfi
45479fe995a9Smrg
45489fe995a9Smrgif test x$LIB_MAN_SUFFIX = x    ; then
45499fe995a9Smrg    LIB_MAN_SUFFIX=3
45509fe995a9Smrgfi
45519fe995a9Smrgif test x$LIB_MAN_DIR = x    ; then
45529fe995a9Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
45539fe995a9Smrgfi
45549fe995a9Smrg
45559fe995a9Smrgif test x$FILE_MAN_SUFFIX = x    ; then
45569fe995a9Smrg    case $host_os in
45579fe995a9Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
45589fe995a9Smrg	*)		FILE_MAN_SUFFIX=5  ;;
45599fe995a9Smrg    esac
45609fe995a9Smrgfi
45619fe995a9Smrgif test x$FILE_MAN_DIR = x    ; then
45629fe995a9Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
45639fe995a9Smrgfi
45649fe995a9Smrg
45659fe995a9Smrgif test x$MISC_MAN_SUFFIX = x    ; then
45669fe995a9Smrg    case $host_os in
45679fe995a9Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
45689fe995a9Smrg	*)		MISC_MAN_SUFFIX=7  ;;
45699fe995a9Smrg    esac
45709fe995a9Smrgfi
45719fe995a9Smrgif test x$MISC_MAN_DIR = x    ; then
45729fe995a9Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
45739fe995a9Smrgfi
45749fe995a9Smrg
45759fe995a9Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
45769fe995a9Smrg    case $host_os in
45779fe995a9Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
45789fe995a9Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
45799fe995a9Smrg    esac
45809fe995a9Smrgfi
45819fe995a9Smrgif test x$DRIVER_MAN_DIR = x    ; then
45829fe995a9Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
45839fe995a9Smrgfi
45849fe995a9Smrg
45859fe995a9Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
45869fe995a9Smrg    case $host_os in
45879fe995a9Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
45889fe995a9Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
45899fe995a9Smrg    esac
45909fe995a9Smrgfi
45919fe995a9Smrgif test x$ADMIN_MAN_DIR = x    ; then
45929fe995a9Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
45939fe995a9Smrgfi
45949fe995a9Smrg
45959fe995a9Smrg
45969fe995a9Smrg
45979fe995a9Smrg
45989fe995a9Smrg
45999fe995a9Smrg
46009fe995a9Smrg
46019fe995a9Smrg
46029fe995a9Smrg
46039fe995a9Smrg
46049fe995a9Smrg
46059fe995a9Smrg
46069fe995a9Smrg
46079fe995a9Smrg
46089fe995a9Smrg
4609b62cc08cSmrgXORG_MAN_PAGE="X Version 11"
4610b62cc08cSmrg
4611b62cc08cSmrgMAN_SUBSTS="\
4612b62cc08cSmrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4613b62cc08cSmrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4614b62cc08cSmrg	-e 's|__xservername__|Xorg|g' \
4615b62cc08cSmrg	-e 's|__xconfigfile__|xorg.conf|g' \
4616b62cc08cSmrg	-e 's|__projectroot__|\$(prefix)|g' \
4617b62cc08cSmrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
4618b62cc08cSmrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4619b62cc08cSmrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4620b62cc08cSmrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4621b62cc08cSmrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4622b62cc08cSmrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4623b62cc08cSmrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4624b62cc08cSmrg
4625b62cc08cSmrg
4626b62cc08cSmrg
4627b62cc08cSmrg# Check whether --enable-silent-rules was given.
4628b62cc08cSmrgif test "${enable_silent_rules+set}" = set; then :
4629b62cc08cSmrg  enableval=$enable_silent_rules;
4630b62cc08cSmrgfi
4631b62cc08cSmrg
4632b62cc08cSmrgcase $enable_silent_rules in
4633b62cc08cSmrgyes) AM_DEFAULT_VERBOSITY=0;;
4634b62cc08cSmrgno)  AM_DEFAULT_VERBOSITY=1;;
4635b62cc08cSmrg*)   AM_DEFAULT_VERBOSITY=0;;
4636b62cc08cSmrgesac
4637b62cc08cSmrgAM_BACKSLASH='\'
4638b62cc08cSmrg
4639b62cc08cSmrg
46409fe995a9Smrg
4641b62cc08cSmrg# Checks for pkg-config packages
46429fe995a9Smrg
4643b62cc08cSmrgpkg_failed=no
4644b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICEAUTH" >&5
4645b62cc08cSmrg$as_echo_n "checking for ICEAUTH... " >&6; }
4646b62cc08cSmrg
4647b62cc08cSmrgif test -n "$ICEAUTH_CFLAGS"; then
4648b62cc08cSmrg    pkg_cv_ICEAUTH_CFLAGS="$ICEAUTH_CFLAGS"
4649b62cc08cSmrg elif test -n "$PKG_CONFIG"; then
4650b62cc08cSmrg    if test -n "$PKG_CONFIG" && \
4651b62cc08cSmrg    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto ice\""; } >&5
4652b62cc08cSmrg  ($PKG_CONFIG --exists --print-errors "xproto ice") 2>&5
4653b62cc08cSmrg  ac_status=$?
4654b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4655b62cc08cSmrg  test $ac_status = 0; }; then
4656b62cc08cSmrg  pkg_cv_ICEAUTH_CFLAGS=`$PKG_CONFIG --cflags "xproto ice" 2>/dev/null`
4657b62cc08cSmrgelse
4658b62cc08cSmrg  pkg_failed=yes
4659b62cc08cSmrgfi
4660b62cc08cSmrg else
4661b62cc08cSmrg    pkg_failed=untried
4662b62cc08cSmrgfi
4663b62cc08cSmrgif test -n "$ICEAUTH_LIBS"; then
4664b62cc08cSmrg    pkg_cv_ICEAUTH_LIBS="$ICEAUTH_LIBS"
4665b62cc08cSmrg elif test -n "$PKG_CONFIG"; then
4666b62cc08cSmrg    if test -n "$PKG_CONFIG" && \
4667b62cc08cSmrg    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto ice\""; } >&5
4668b62cc08cSmrg  ($PKG_CONFIG --exists --print-errors "xproto ice") 2>&5
4669b62cc08cSmrg  ac_status=$?
4670b62cc08cSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4671b62cc08cSmrg  test $ac_status = 0; }; then
4672b62cc08cSmrg  pkg_cv_ICEAUTH_LIBS=`$PKG_CONFIG --libs "xproto ice" 2>/dev/null`
46739fe995a9Smrgelse
4674b62cc08cSmrg  pkg_failed=yes
4675b62cc08cSmrgfi
4676b62cc08cSmrg else
4677b62cc08cSmrg    pkg_failed=untried
46789fe995a9Smrgfi
46799fe995a9Smrg
46809fe995a9Smrg
46819fe995a9Smrg
4682b62cc08cSmrgif test $pkg_failed = yes; then
468390b6713cSmrg   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
468490b6713cSmrg$as_echo "no" >&6; }
46859fe995a9Smrg
4686b62cc08cSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4687b62cc08cSmrg        _pkg_short_errors_supported=yes
4688b62cc08cSmrgelse
4689b62cc08cSmrg        _pkg_short_errors_supported=no
4690b62cc08cSmrgfi
4691b62cc08cSmrg        if test $_pkg_short_errors_supported = yes; then
4692b62cc08cSmrg	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto ice" 2>&1`
4693b62cc08cSmrg        else
4694b62cc08cSmrg	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto ice" 2>&1`
4695b62cc08cSmrg        fi
4696b62cc08cSmrg	# Put the nasty error message in config.log where it belongs
4697b62cc08cSmrg	echo "$ICEAUTH_PKG_ERRORS" >&5
46989fe995a9Smrg
4699b62cc08cSmrg	as_fn_error $? "Package requirements (xproto ice) were not met:
4700b62cc08cSmrg
4701b62cc08cSmrg$ICEAUTH_PKG_ERRORS
4702b62cc08cSmrg
4703b62cc08cSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
4704b62cc08cSmrginstalled software in a non-standard prefix.
4705b62cc08cSmrg
4706b62cc08cSmrgAlternatively, you may set the environment variables ICEAUTH_CFLAGS
4707b62cc08cSmrgand ICEAUTH_LIBS to avoid the need to call pkg-config.
470890b6713cSmrgSee the pkg-config man page for more details." "$LINENO" 5
4709b62cc08cSmrgelif test $pkg_failed = untried; then
471090b6713cSmrg     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
471190b6713cSmrg$as_echo "no" >&6; }
4712b62cc08cSmrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4713b62cc08cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4714b62cc08cSmrgas_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4715b62cc08cSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
4716b62cc08cSmrgpath to pkg-config.
4717b62cc08cSmrg
4718b62cc08cSmrgAlternatively, you may set the environment variables ICEAUTH_CFLAGS
4719b62cc08cSmrgand ICEAUTH_LIBS to avoid the need to call pkg-config.
4720b62cc08cSmrgSee the pkg-config man page for more details.
4721b62cc08cSmrg
4722b62cc08cSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
4723b62cc08cSmrgSee \`config.log' for more details" "$LINENO" 5; }
4724b62cc08cSmrgelse
4725b62cc08cSmrg	ICEAUTH_CFLAGS=$pkg_cv_ICEAUTH_CFLAGS
4726b62cc08cSmrg	ICEAUTH_LIBS=$pkg_cv_ICEAUTH_LIBS
4727b62cc08cSmrg        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4728b62cc08cSmrg$as_echo "yes" >&6; }
472990b6713cSmrg
4730b62cc08cSmrgfi
4731b62cc08cSmrg
4732b62cc08cSmrg
4733b62cc08cSmrg
4734b62cc08cSmrg
4735b62cc08cSmrg
4736b62cc08cSmrg
4737b62cc08cSmrg# Check whether --with-lint was given.
4738b62cc08cSmrgif test "${with_lint+set}" = set; then :
4739b62cc08cSmrg  withval=$with_lint; use_lint=$withval
4740b62cc08cSmrgelse
4741b62cc08cSmrg  use_lint=no
4742b62cc08cSmrgfi
4743b62cc08cSmrg
4744b62cc08cSmrg
4745b62cc08cSmrg# Obtain platform specific info like program name and options
4746b62cc08cSmrg# The lint program on FreeBSD and NetBSD is different from the one on Solaris
4747b62cc08cSmrgcase $host_os in
4748b62cc08cSmrg  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
4749b62cc08cSmrg	lint_name=splint
4750b62cc08cSmrg	lint_options="-badflag"
4751b62cc08cSmrg	;;
4752b62cc08cSmrg  *freebsd* | *netbsd*)
4753b62cc08cSmrg	lint_name=lint
4754b62cc08cSmrg	lint_options="-u -b"
4755b62cc08cSmrg	;;
4756b62cc08cSmrg  *solaris*)
4757b62cc08cSmrg	lint_name=lint
4758b62cc08cSmrg	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
4759b62cc08cSmrg	;;
4760b62cc08cSmrgesac
4761b62cc08cSmrg
4762b62cc08cSmrg# Test for the presence of the program (either guessed by the code or spelled out by the user)
4763b62cc08cSmrgif test "x$use_lint" = x"yes" ; then
4764b62cc08cSmrg   # Extract the first word of "$lint_name", so it can be a program name with args.
4765b62cc08cSmrgset dummy $lint_name; ac_word=$2
4766b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767b62cc08cSmrg$as_echo_n "checking for $ac_word... " >&6; }
4768b62cc08cSmrgif ${ac_cv_path_LINT+:} false; then :
4769b62cc08cSmrg  $as_echo_n "(cached) " >&6
4770b62cc08cSmrgelse
4771b62cc08cSmrg  case $LINT in
4772b62cc08cSmrg  [\\/]* | ?:[\\/]*)
4773b62cc08cSmrg  ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
4774b62cc08cSmrg  ;;
4775b62cc08cSmrg  *)
4776b62cc08cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777b62cc08cSmrgfor as_dir in $PATH
4778b62cc08cSmrgdo
4779b62cc08cSmrg  IFS=$as_save_IFS
4780b62cc08cSmrg  test -z "$as_dir" && as_dir=.
4781b62cc08cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
4782b62cc08cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4783b62cc08cSmrg    ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
4784b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785b62cc08cSmrg    break 2
4786b62cc08cSmrg  fi
4787b62cc08cSmrgdone
4788b62cc08cSmrg  done
4789b62cc08cSmrgIFS=$as_save_IFS
4790b62cc08cSmrg
4791b62cc08cSmrg  ;;
4792b62cc08cSmrgesac
4793b62cc08cSmrgfi
4794b62cc08cSmrgLINT=$ac_cv_path_LINT
4795b62cc08cSmrgif test -n "$LINT"; then
4796b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4797b62cc08cSmrg$as_echo "$LINT" >&6; }
4798b62cc08cSmrgelse
4799b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800b62cc08cSmrg$as_echo "no" >&6; }
4801b62cc08cSmrgfi
4802b62cc08cSmrg
4803b62cc08cSmrg
4804b62cc08cSmrg   if test "x$LINT" = "x"; then
4805b62cc08cSmrg        as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
4806b62cc08cSmrg   fi
4807b62cc08cSmrgelif test "x$use_lint" = x"no" ; then
4808b62cc08cSmrg   if test "x$LINT" != "x"; then
4809b62cc08cSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
4810b62cc08cSmrg$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
4811b62cc08cSmrg   fi
4812b62cc08cSmrgelse
4813b62cc08cSmrg   as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
4814b62cc08cSmrgfi
4815b62cc08cSmrg
4816b62cc08cSmrg# User supplied flags override default flags
4817b62cc08cSmrgif test "x$LINT_FLAGS" != "x"; then
4818b62cc08cSmrg   lint_options=$LINT_FLAGS
4819b62cc08cSmrgfi
4820b62cc08cSmrg
4821b62cc08cSmrgLINT_FLAGS=$lint_options
4822b62cc08cSmrg
4823b62cc08cSmrg if test "x$LINT" != x; then
4824b62cc08cSmrg  LINT_TRUE=
4825b62cc08cSmrg  LINT_FALSE='#'
4826b62cc08cSmrgelse
4827b62cc08cSmrg  LINT_TRUE='#'
4828b62cc08cSmrg  LINT_FALSE=
4829b62cc08cSmrgfi
48309fe995a9Smrg
48319fe995a9Smrg
48329fe995a9Smrg
48339fe995a9Smrg
483490b6713cSmrgac_config_files="$ac_config_files Makefile man/Makefile"
48359fe995a9Smrg
48369fe995a9Smrgcat >confcache <<\_ACEOF
48379fe995a9Smrg# This file is a shell script that caches the results of configure
48389fe995a9Smrg# tests run on this system so they can be shared between configure
48399fe995a9Smrg# scripts and configure runs, see configure's option --config-cache.
48409fe995a9Smrg# It is not useful on other systems.  If it contains results you don't
48419fe995a9Smrg# want to keep, you may remove or edit it.
48429fe995a9Smrg#
48439fe995a9Smrg# config.status only pays attention to the cache file if you give it
48449fe995a9Smrg# the --recheck option to rerun configure.
48459fe995a9Smrg#
48469fe995a9Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
48479fe995a9Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
48489fe995a9Smrg# following values.
48499fe995a9Smrg
48509fe995a9Smrg_ACEOF
48519fe995a9Smrg
48529fe995a9Smrg# The following way of writing the cache mishandles newlines in values,
48539fe995a9Smrg# but we know of no workaround that is simple, portable, and efficient.
48549fe995a9Smrg# So, we kill variables containing newlines.
48559fe995a9Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
48569fe995a9Smrg# and sets the high bit in the cache file unless we assign to the vars.
48579fe995a9Smrg(
48589fe995a9Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
48599fe995a9Smrg    eval ac_val=\$$ac_var
48609fe995a9Smrg    case $ac_val in #(
48619fe995a9Smrg    *${as_nl}*)
48629fe995a9Smrg      case $ac_var in #(
4863b62cc08cSmrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4864b62cc08cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
48659fe995a9Smrg      esac
48669fe995a9Smrg      case $ac_var in #(
48679fe995a9Smrg      _ | IFS | as_nl) ;; #(
4868b62cc08cSmrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4869b62cc08cSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
48709fe995a9Smrg      esac ;;
48719fe995a9Smrg    esac
48729fe995a9Smrg  done
48739fe995a9Smrg
48749fe995a9Smrg  (set) 2>&1 |
48759fe995a9Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
48769fe995a9Smrg    *${as_nl}ac_space=\ *)
4877b62cc08cSmrg      # `set' does not quote correctly, so add quotes: double-quote
4878b62cc08cSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
48799fe995a9Smrg      sed -n \
48809fe995a9Smrg	"s/'/'\\\\''/g;
48819fe995a9Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48829fe995a9Smrg      ;; #(
48839fe995a9Smrg    *)
48849fe995a9Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
48859fe995a9Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
48869fe995a9Smrg      ;;
48879fe995a9Smrg    esac |
48889fe995a9Smrg    sort
48899fe995a9Smrg) |
48909fe995a9Smrg  sed '
48919fe995a9Smrg     /^ac_cv_env_/b end
48929fe995a9Smrg     t clear
48939fe995a9Smrg     :clear
48949fe995a9Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48959fe995a9Smrg     t end
48969fe995a9Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48979fe995a9Smrg     :end' >>confcache
48989fe995a9Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
48999fe995a9Smrg  if test -w "$cache_file"; then
4900b62cc08cSmrg    if test "x$cache_file" != "x/dev/null"; then
4901b62cc08cSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4902b62cc08cSmrg$as_echo "$as_me: updating cache $cache_file" >&6;}
4903b62cc08cSmrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
4904b62cc08cSmrg	cat confcache >"$cache_file"
4905b62cc08cSmrg      else
4906b62cc08cSmrg        case $cache_file in #(
4907b62cc08cSmrg        */* | ?:*)
4908b62cc08cSmrg	  mv -f confcache "$cache_file"$$ &&
4909b62cc08cSmrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4910b62cc08cSmrg        *)
4911b62cc08cSmrg	  mv -f confcache "$cache_file" ;;
4912b62cc08cSmrg	esac
4913b62cc08cSmrg      fi
4914b62cc08cSmrg    fi
49159fe995a9Smrg  else
4916b62cc08cSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4917b62cc08cSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49189fe995a9Smrg  fi
49199fe995a9Smrgfi
49209fe995a9Smrgrm -f confcache
49219fe995a9Smrg
49229fe995a9Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
49239fe995a9Smrg# Let make expand exec_prefix.
49249fe995a9Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49259fe995a9Smrg
49269fe995a9SmrgDEFS=-DHAVE_CONFIG_H
49279fe995a9Smrg
49289fe995a9Smrgac_libobjs=
49299fe995a9Smrgac_ltlibobjs=
4930b62cc08cSmrgU=
49319fe995a9Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49329fe995a9Smrg  # 1. Remove the extension, and $U if already installed.
49339fe995a9Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4934b62cc08cSmrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
49359fe995a9Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
49369fe995a9Smrg  #    will be set to the directory where LIBOBJS objects are built.
4937b62cc08cSmrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4938b62cc08cSmrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
49399fe995a9Smrgdone
49409fe995a9SmrgLIBOBJS=$ac_libobjs
49419fe995a9Smrg
49429fe995a9SmrgLTLIBOBJS=$ac_ltlibobjs
49439fe995a9Smrg
49449fe995a9Smrg
4945b62cc08cSmrg if test -n "$EXEEXT"; then
4946b62cc08cSmrg  am__EXEEXT_TRUE=
4947b62cc08cSmrg  am__EXEEXT_FALSE='#'
4948b62cc08cSmrgelse
4949b62cc08cSmrg  am__EXEEXT_TRUE='#'
4950b62cc08cSmrg  am__EXEEXT_FALSE=
4951b62cc08cSmrgfi
4952b62cc08cSmrg
49539fe995a9Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4954b62cc08cSmrg  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4955b62cc08cSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
49569fe995a9Smrgfi
49579fe995a9Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4958b62cc08cSmrg  as_fn_error $? "conditional \"AMDEP\" was never defined.
4959b62cc08cSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
49609fe995a9Smrgfi
49619fe995a9Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4962b62cc08cSmrg  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4963b62cc08cSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
49649fe995a9Smrgfi
49659fe995a9Smrgif test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
4966b62cc08cSmrg  as_fn_error $? "conditional \"LINT\" was never defined.
4967b62cc08cSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
49689fe995a9Smrgfi
49699fe995a9Smrg
4970b62cc08cSmrg: "${CONFIG_STATUS=./config.status}"
4971b62cc08cSmrgac_write_fail=0
49729fe995a9Smrgac_clean_files_save=$ac_clean_files
49739fe995a9Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
4974b62cc08cSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4975b62cc08cSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4976b62cc08cSmrgas_write_fail=0
4977b62cc08cSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
49789fe995a9Smrg#! $SHELL
49799fe995a9Smrg# Generated by $as_me.
49809fe995a9Smrg# Run this file to recreate the current configuration.
49819fe995a9Smrg# Compiler output produced by configure, useful for debugging
49829fe995a9Smrg# configure, is in config.log if it exists.
49839fe995a9Smrg
49849fe995a9Smrgdebug=false
49859fe995a9Smrgac_cs_recheck=false
49869fe995a9Smrgac_cs_silent=false
49879fe995a9Smrg
4988b62cc08cSmrgSHELL=\${CONFIG_SHELL-$SHELL}
4989b62cc08cSmrgexport SHELL
4990b62cc08cSmrg_ASEOF
4991b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4992b62cc08cSmrg## -------------------- ##
4993b62cc08cSmrg## M4sh Initialization. ##
4994b62cc08cSmrg## -------------------- ##
49959fe995a9Smrg
49969fe995a9Smrg# Be more Bourne compatible
49979fe995a9SmrgDUALCASE=1; export DUALCASE # for MKS sh
4998b62cc08cSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
49999fe995a9Smrg  emulate sh
50009fe995a9Smrg  NULLCMD=:
5001b62cc08cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
50029fe995a9Smrg  # is contrary to our usage.  Disable this feature.
50039fe995a9Smrg  alias -g '${1+"$@"}'='"$@"'
50049fe995a9Smrg  setopt NO_GLOB_SUBST
50059fe995a9Smrgelse
5006b62cc08cSmrg  case `(set -o) 2>/dev/null` in #(
5007b62cc08cSmrg  *posix*) :
5008b62cc08cSmrg    set -o posix ;; #(
5009b62cc08cSmrg  *) :
5010b62cc08cSmrg     ;;
50119fe995a9Smrgesac
50129fe995a9Smrgfi
50139fe995a9Smrg
50149fe995a9Smrg
5015b62cc08cSmrgas_nl='
5016b62cc08cSmrg'
5017b62cc08cSmrgexport as_nl
5018b62cc08cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
5019b62cc08cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5020b62cc08cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5021b62cc08cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5022b62cc08cSmrg# Prefer a ksh shell builtin over an external printf program on Solaris,
5023b62cc08cSmrg# but without wasting forks for bash or zsh.
5024b62cc08cSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \
5025b62cc08cSmrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5026b62cc08cSmrg  as_echo='print -r --'
5027b62cc08cSmrg  as_echo_n='print -rn --'
5028b62cc08cSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5029b62cc08cSmrg  as_echo='printf %s\n'
5030b62cc08cSmrg  as_echo_n='printf %s'
5031b62cc08cSmrgelse
5032b62cc08cSmrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5033b62cc08cSmrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5034b62cc08cSmrg    as_echo_n='/usr/ucb/echo -n'
50359fe995a9Smrg  else
5036b62cc08cSmrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5037b62cc08cSmrg    as_echo_n_body='eval
5038b62cc08cSmrg      arg=$1;
5039b62cc08cSmrg      case $arg in #(
5040b62cc08cSmrg      *"$as_nl"*)
5041b62cc08cSmrg	expr "X$arg" : "X\\(.*\\)$as_nl";
5042b62cc08cSmrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5043b62cc08cSmrg      esac;
5044b62cc08cSmrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5045b62cc08cSmrg    '
5046b62cc08cSmrg    export as_echo_n_body
5047b62cc08cSmrg    as_echo_n='sh -c $as_echo_n_body as_echo'
50489fe995a9Smrg  fi
5049b62cc08cSmrg  export as_echo_body
5050b62cc08cSmrg  as_echo='sh -c $as_echo_body as_echo'
50519fe995a9Smrgfi
50529fe995a9Smrg
5053b62cc08cSmrg# The user is always right.
5054b62cc08cSmrgif test "${PATH_SEPARATOR+set}" != set; then
5055b62cc08cSmrg  PATH_SEPARATOR=:
5056b62cc08cSmrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5057b62cc08cSmrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5058b62cc08cSmrg      PATH_SEPARATOR=';'
5059b62cc08cSmrg  }
50609fe995a9Smrgfi
50619fe995a9Smrg
50629fe995a9Smrg
50639fe995a9Smrg# IFS
50649fe995a9Smrg# We need space, tab and new line, in precisely that order.  Quoting is
50659fe995a9Smrg# there to prevent editors from complaining about space-tab.
50669fe995a9Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
50679fe995a9Smrg# splitting by setting IFS to empty value.)
50689fe995a9SmrgIFS=" ""	$as_nl"
50699fe995a9Smrg
50709fe995a9Smrg# Find who we are.  Look in the path if we contain no directory separator.
5071b62cc08cSmrgas_myself=
5072b62cc08cSmrgcase $0 in #((
50739fe995a9Smrg  *[\\/]* ) as_myself=$0 ;;
50749fe995a9Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50759fe995a9Smrgfor as_dir in $PATH
50769fe995a9Smrgdo
50779fe995a9Smrg  IFS=$as_save_IFS
50789fe995a9Smrg  test -z "$as_dir" && as_dir=.
5079b62cc08cSmrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5080b62cc08cSmrg  done
50819fe995a9SmrgIFS=$as_save_IFS
50829fe995a9Smrg
50839fe995a9Smrg     ;;
50849fe995a9Smrgesac
50859fe995a9Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
50869fe995a9Smrg# in which case we are not to be found in the path.
50879fe995a9Smrgif test "x$as_myself" = x; then
50889fe995a9Smrg  as_myself=$0
50899fe995a9Smrgfi
50909fe995a9Smrgif test ! -f "$as_myself"; then
5091b62cc08cSmrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5092b62cc08cSmrg  exit 1
50939fe995a9Smrgfi
50949fe995a9Smrg
5095b62cc08cSmrg# Unset variables that we do not need and which cause bugs (e.g. in
5096b62cc08cSmrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5097b62cc08cSmrg# suppresses any "Segmentation fault" message there.  '((' could
5098b62cc08cSmrg# trigger a bug in pdksh 5.2.14.
5099b62cc08cSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH
5100b62cc08cSmrgdo eval test x\${$as_var+set} = xset \
5101b62cc08cSmrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
51029fe995a9Smrgdone
51039fe995a9SmrgPS1='$ '
51049fe995a9SmrgPS2='> '
51059fe995a9SmrgPS4='+ '
51069fe995a9Smrg
51079fe995a9Smrg# NLS nuisances.
5108b62cc08cSmrgLC_ALL=C
5109b62cc08cSmrgexport LC_ALL
5110b62cc08cSmrgLANGUAGE=C
5111b62cc08cSmrgexport LANGUAGE
5112b62cc08cSmrg
5113b62cc08cSmrg# CDPATH.
5114b62cc08cSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5115b62cc08cSmrg
5116b62cc08cSmrg
5117b62cc08cSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
5118b62cc08cSmrg# ----------------------------------------
5119b62cc08cSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5120b62cc08cSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5121b62cc08cSmrg# script with STATUS, using 1 if that was 0.
5122b62cc08cSmrgas_fn_error ()
5123b62cc08cSmrg{
5124b62cc08cSmrg  as_status=$1; test $as_status -eq 0 && as_status=1
5125b62cc08cSmrg  if test "$4"; then
5126b62cc08cSmrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5127b62cc08cSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
51289fe995a9Smrg  fi
5129b62cc08cSmrg  $as_echo "$as_me: error: $2" >&2
5130b62cc08cSmrg  as_fn_exit $as_status
5131b62cc08cSmrg} # as_fn_error
5132b62cc08cSmrg
5133b62cc08cSmrg
5134b62cc08cSmrg# as_fn_set_status STATUS
5135b62cc08cSmrg# -----------------------
5136b62cc08cSmrg# Set $? to STATUS, without forking.
5137b62cc08cSmrgas_fn_set_status ()
5138b62cc08cSmrg{
5139b62cc08cSmrg  return $1
5140b62cc08cSmrg} # as_fn_set_status
5141b62cc08cSmrg
5142b62cc08cSmrg# as_fn_exit STATUS
5143b62cc08cSmrg# -----------------
5144b62cc08cSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5145b62cc08cSmrgas_fn_exit ()
5146b62cc08cSmrg{
5147b62cc08cSmrg  set +e
5148b62cc08cSmrg  as_fn_set_status $1
5149b62cc08cSmrg  exit $1
5150b62cc08cSmrg} # as_fn_exit
5151b62cc08cSmrg
5152b62cc08cSmrg# as_fn_unset VAR
5153b62cc08cSmrg# ---------------
5154b62cc08cSmrg# Portably unset VAR.
5155b62cc08cSmrgas_fn_unset ()
5156b62cc08cSmrg{
5157b62cc08cSmrg  { eval $1=; unset $1;}
5158b62cc08cSmrg}
5159b62cc08cSmrgas_unset=as_fn_unset
5160b62cc08cSmrg# as_fn_append VAR VALUE
5161b62cc08cSmrg# ----------------------
5162b62cc08cSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
5163b62cc08cSmrg# advantage of any shell optimizations that allow amortized linear growth over
5164b62cc08cSmrg# repeated appends, instead of the typical quadratic growth present in naive
5165b62cc08cSmrg# implementations.
5166b62cc08cSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5167b62cc08cSmrg  eval 'as_fn_append ()
5168b62cc08cSmrg  {
5169b62cc08cSmrg    eval $1+=\$2
5170b62cc08cSmrg  }'
5171b62cc08cSmrgelse
5172b62cc08cSmrg  as_fn_append ()
5173b62cc08cSmrg  {
5174b62cc08cSmrg    eval $1=\$$1\$2
5175b62cc08cSmrg  }
5176b62cc08cSmrgfi # as_fn_append
5177b62cc08cSmrg
5178b62cc08cSmrg# as_fn_arith ARG...
5179b62cc08cSmrg# ------------------
5180b62cc08cSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
5181b62cc08cSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
5182b62cc08cSmrg# must be portable across $(()) and expr.
5183b62cc08cSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5184b62cc08cSmrg  eval 'as_fn_arith ()
5185b62cc08cSmrg  {
5186b62cc08cSmrg    as_val=$(( $* ))
5187b62cc08cSmrg  }'
5188b62cc08cSmrgelse
5189b62cc08cSmrg  as_fn_arith ()
5190b62cc08cSmrg  {
5191b62cc08cSmrg    as_val=`expr "$@" || test $? -eq 1`
5192b62cc08cSmrg  }
5193b62cc08cSmrgfi # as_fn_arith
5194b62cc08cSmrg
51959fe995a9Smrg
51969fe995a9Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
51979fe995a9Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
51989fe995a9Smrg  as_expr=expr
51999fe995a9Smrgelse
52009fe995a9Smrg  as_expr=false
52019fe995a9Smrgfi
52029fe995a9Smrg
52039fe995a9Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52049fe995a9Smrg  as_basename=basename
52059fe995a9Smrgelse
52069fe995a9Smrg  as_basename=false
52079fe995a9Smrgfi
52089fe995a9Smrg
5209b62cc08cSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5210b62cc08cSmrg  as_dirname=dirname
5211b62cc08cSmrgelse
5212b62cc08cSmrg  as_dirname=false
5213b62cc08cSmrgfi
52149fe995a9Smrg
52159fe995a9Smrgas_me=`$as_basename -- "$0" ||
52169fe995a9Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52179fe995a9Smrg	 X"$0" : 'X\(//\)$' \| \
52189fe995a9Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5219b62cc08cSmrg$as_echo X/"$0" |
52209fe995a9Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
52219fe995a9Smrg	    s//\1/
52229fe995a9Smrg	    q
52239fe995a9Smrg	  }
52249fe995a9Smrg	  /^X\/\(\/\/\)$/{
52259fe995a9Smrg	    s//\1/
52269fe995a9Smrg	    q
52279fe995a9Smrg	  }
52289fe995a9Smrg	  /^X\/\(\/\).*/{
52299fe995a9Smrg	    s//\1/
52309fe995a9Smrg	    q
52319fe995a9Smrg	  }
52329fe995a9Smrg	  s/.*/./; q'`
52339fe995a9Smrg
5234b62cc08cSmrg# Avoid depending upon Character Ranges.
5235b62cc08cSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
5236b62cc08cSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5237b62cc08cSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
5238b62cc08cSmrgas_cr_digits='0123456789'
5239b62cc08cSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
52409fe995a9Smrg
52419fe995a9SmrgECHO_C= ECHO_N= ECHO_T=
5242b62cc08cSmrgcase `echo -n x` in #(((((
52439fe995a9Smrg-n*)
5244b62cc08cSmrg  case `echo 'xy\c'` in
52459fe995a9Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5246b62cc08cSmrg  xy)  ECHO_C='\c';;
5247b62cc08cSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5248b62cc08cSmrg       ECHO_T='	';;
52499fe995a9Smrg  esac;;
52509fe995a9Smrg*)
52519fe995a9Smrg  ECHO_N='-n';;
52529fe995a9Smrgesac
52539fe995a9Smrg
52549fe995a9Smrgrm -f conf$$ conf$$.exe conf$$.file
52559fe995a9Smrgif test -d conf$$.dir; then
52569fe995a9Smrg  rm -f conf$$.dir/conf$$.file
52579fe995a9Smrgelse
52589fe995a9Smrg  rm -f conf$$.dir
5259b62cc08cSmrg  mkdir conf$$.dir 2>/dev/null
5260b62cc08cSmrgfi
5261b62cc08cSmrgif (echo >conf$$.file) 2>/dev/null; then
5262b62cc08cSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5263b62cc08cSmrg    as_ln_s='ln -s'
5264b62cc08cSmrg    # ... but there are two gotchas:
5265b62cc08cSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5266b62cc08cSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5267b62cc08cSmrg    # In both cases, we have to default to `cp -p'.
5268b62cc08cSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5269b62cc08cSmrg      as_ln_s='cp -p'
5270b62cc08cSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5271b62cc08cSmrg    as_ln_s=ln
5272b62cc08cSmrg  else
52739fe995a9Smrg    as_ln_s='cp -p'
5274b62cc08cSmrg  fi
52759fe995a9Smrgelse
52769fe995a9Smrg  as_ln_s='cp -p'
52779fe995a9Smrgfi
52789fe995a9Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52799fe995a9Smrgrmdir conf$$.dir 2>/dev/null
52809fe995a9Smrg
5281b62cc08cSmrg
5282b62cc08cSmrg# as_fn_mkdir_p
5283b62cc08cSmrg# -------------
5284b62cc08cSmrg# Create "$as_dir" as a directory, including parents if necessary.
5285b62cc08cSmrgas_fn_mkdir_p ()
5286b62cc08cSmrg{
5287b62cc08cSmrg
5288b62cc08cSmrg  case $as_dir in #(
5289b62cc08cSmrg  -*) as_dir=./$as_dir;;
5290b62cc08cSmrg  esac
5291b62cc08cSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
5292b62cc08cSmrg    as_dirs=
5293b62cc08cSmrg    while :; do
5294b62cc08cSmrg      case $as_dir in #(
5295b62cc08cSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5296b62cc08cSmrg      *) as_qdir=$as_dir;;
5297b62cc08cSmrg      esac
5298b62cc08cSmrg      as_dirs="'$as_qdir' $as_dirs"
5299b62cc08cSmrg      as_dir=`$as_dirname -- "$as_dir" ||
5300b62cc08cSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5301b62cc08cSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
5302b62cc08cSmrg	 X"$as_dir" : 'X\(//\)$' \| \
5303b62cc08cSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5304b62cc08cSmrg$as_echo X"$as_dir" |
5305b62cc08cSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5306b62cc08cSmrg	    s//\1/
5307b62cc08cSmrg	    q
5308b62cc08cSmrg	  }
5309b62cc08cSmrg	  /^X\(\/\/\)[^/].*/{
5310b62cc08cSmrg	    s//\1/
5311b62cc08cSmrg	    q
5312b62cc08cSmrg	  }
5313b62cc08cSmrg	  /^X\(\/\/\)$/{
5314b62cc08cSmrg	    s//\1/
5315b62cc08cSmrg	    q
5316b62cc08cSmrg	  }
5317b62cc08cSmrg	  /^X\(\/\).*/{
5318b62cc08cSmrg	    s//\1/
5319b62cc08cSmrg	    q
5320b62cc08cSmrg	  }
5321b62cc08cSmrg	  s/.*/./; q'`
5322b62cc08cSmrg      test -d "$as_dir" && break
5323b62cc08cSmrg    done
5324b62cc08cSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
5325b62cc08cSmrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5326b62cc08cSmrg
5327b62cc08cSmrg
5328b62cc08cSmrg} # as_fn_mkdir_p
53299fe995a9Smrgif mkdir -p . 2>/dev/null; then
5330b62cc08cSmrg  as_mkdir_p='mkdir -p "$as_dir"'
53319fe995a9Smrgelse
53329fe995a9Smrg  test -d ./-p && rmdir ./-p
53339fe995a9Smrg  as_mkdir_p=false
53349fe995a9Smrgfi
53359fe995a9Smrg
53369fe995a9Smrgif test -x / >/dev/null 2>&1; then
53379fe995a9Smrg  as_test_x='test -x'
53389fe995a9Smrgelse
53399fe995a9Smrg  if ls -dL / >/dev/null 2>&1; then
53409fe995a9Smrg    as_ls_L_option=L
53419fe995a9Smrg  else
53429fe995a9Smrg    as_ls_L_option=
53439fe995a9Smrg  fi
53449fe995a9Smrg  as_test_x='
53459fe995a9Smrg    eval sh -c '\''
53469fe995a9Smrg      if test -d "$1"; then
5347b62cc08cSmrg	test -d "$1/.";
53489fe995a9Smrg      else
5349b62cc08cSmrg	case $1 in #(
5350b62cc08cSmrg	-*)set "./$1";;
53519fe995a9Smrg	esac;
5352b62cc08cSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
53539fe995a9Smrg	???[sx]*):;;*)false;;esac;fi
53549fe995a9Smrg    '\'' sh
53559fe995a9Smrg  '
53569fe995a9Smrgfi
53579fe995a9Smrgas_executable_p=$as_test_x
53589fe995a9Smrg
53599fe995a9Smrg# Sed expression to map a string onto a valid CPP name.
53609fe995a9Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53619fe995a9Smrg
53629fe995a9Smrg# Sed expression to map a string onto a valid variable name.
53639fe995a9Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53649fe995a9Smrg
53659fe995a9Smrg
53669fe995a9Smrgexec 6>&1
5367b62cc08cSmrg## ----------------------------------- ##
5368b62cc08cSmrg## Main body of $CONFIG_STATUS script. ##
5369b62cc08cSmrg## ----------------------------------- ##
5370b62cc08cSmrg_ASEOF
5371b62cc08cSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
53729fe995a9Smrg
5373b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5374b62cc08cSmrg# Save the log message, to keep $0 and so on meaningful, and to
53759fe995a9Smrg# report actual input values of CONFIG_FILES etc. instead of their
53769fe995a9Smrg# values after options handling.
53779fe995a9Smrgac_log="
537890b6713cSmrgThis file was extended by iceauth $as_me 1.0.5, which was
5379b62cc08cSmrggenerated by GNU Autoconf 2.68.  Invocation command line was
53809fe995a9Smrg
53819fe995a9Smrg  CONFIG_FILES    = $CONFIG_FILES
53829fe995a9Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
53839fe995a9Smrg  CONFIG_LINKS    = $CONFIG_LINKS
53849fe995a9Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
53859fe995a9Smrg  $ $0 $@
53869fe995a9Smrg
53879fe995a9Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
53889fe995a9Smrg"
53899fe995a9Smrg
53909fe995a9Smrg_ACEOF
53919fe995a9Smrg
5392b62cc08cSmrgcase $ac_config_files in *"
5393b62cc08cSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
5394b62cc08cSmrgesac
5395b62cc08cSmrg
5396b62cc08cSmrgcase $ac_config_headers in *"
5397b62cc08cSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5398b62cc08cSmrgesac
5399b62cc08cSmrg
5400b62cc08cSmrg
5401b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
54029fe995a9Smrg# Files that config.status was made for.
54039fe995a9Smrgconfig_files="$ac_config_files"
54049fe995a9Smrgconfig_headers="$ac_config_headers"
54059fe995a9Smrgconfig_commands="$ac_config_commands"
54069fe995a9Smrg
54079fe995a9Smrg_ACEOF
54089fe995a9Smrg
5409b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54109fe995a9Smrgac_cs_usage="\
5411b62cc08cSmrg\`$as_me' instantiates files and other configuration actions
5412b62cc08cSmrgfrom templates according to the current configuration.  Unless the files
5413b62cc08cSmrgand actions are specified as TAGs, all are instantiated by default.
54149fe995a9Smrg
5415b62cc08cSmrgUsage: $0 [OPTION]... [TAG]...
54169fe995a9Smrg
54179fe995a9Smrg  -h, --help       print this help, then exit
54189fe995a9Smrg  -V, --version    print version number and configuration settings, then exit
5419b62cc08cSmrg      --config     print configuration, then exit
5420b62cc08cSmrg  -q, --quiet, --silent
5421b62cc08cSmrg                   do not print progress messages
54229fe995a9Smrg  -d, --debug      don't remove temporary files
54239fe995a9Smrg      --recheck    update $as_me by reconfiguring in the same conditions
5424b62cc08cSmrg      --file=FILE[:TEMPLATE]
5425b62cc08cSmrg                   instantiate the configuration file FILE
5426b62cc08cSmrg      --header=FILE[:TEMPLATE]
5427b62cc08cSmrg                   instantiate the configuration header FILE
54289fe995a9Smrg
54299fe995a9SmrgConfiguration files:
54309fe995a9Smrg$config_files
54319fe995a9Smrg
54329fe995a9SmrgConfiguration headers:
54339fe995a9Smrg$config_headers
54349fe995a9Smrg
54359fe995a9SmrgConfiguration commands:
54369fe995a9Smrg$config_commands
54379fe995a9Smrg
5438b62cc08cSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
54399fe995a9Smrg
54409fe995a9Smrg_ACEOF
5441b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5442b62cc08cSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
54439fe995a9Smrgac_cs_version="\\
544490b6713cSmrgiceauth config.status 1.0.5
5445b62cc08cSmrgconfigured by $0, generated by GNU Autoconf 2.68,
5446b62cc08cSmrg  with options \\"\$ac_cs_config\\"
54479fe995a9Smrg
5448b62cc08cSmrgCopyright (C) 2010 Free Software Foundation, Inc.
54499fe995a9SmrgThis config.status script is free software; the Free Software Foundation
54509fe995a9Smrggives unlimited permission to copy, distribute and modify it."
54519fe995a9Smrg
54529fe995a9Smrgac_pwd='$ac_pwd'
54539fe995a9Smrgsrcdir='$srcdir'
54549fe995a9SmrgINSTALL='$INSTALL'
54559fe995a9SmrgMKDIR_P='$MKDIR_P'
5456b62cc08cSmrgAWK='$AWK'
5457b62cc08cSmrgtest -n "\$AWK" || AWK=awk
54589fe995a9Smrg_ACEOF
54599fe995a9Smrg
5460b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5461b62cc08cSmrg# The default lists apply if the user does not specify any file.
54629fe995a9Smrgac_need_defaults=:
54639fe995a9Smrgwhile test $# != 0
54649fe995a9Smrgdo
54659fe995a9Smrg  case $1 in
5466b62cc08cSmrg  --*=?*)
54679fe995a9Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
54689fe995a9Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
54699fe995a9Smrg    ac_shift=:
54709fe995a9Smrg    ;;
5471b62cc08cSmrg  --*=)
5472b62cc08cSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5473b62cc08cSmrg    ac_optarg=
5474b62cc08cSmrg    ac_shift=:
5475b62cc08cSmrg    ;;
54769fe995a9Smrg  *)
54779fe995a9Smrg    ac_option=$1
54789fe995a9Smrg    ac_optarg=$2
54799fe995a9Smrg    ac_shift=shift
54809fe995a9Smrg    ;;
54819fe995a9Smrg  esac
54829fe995a9Smrg
54839fe995a9Smrg  case $ac_option in
54849fe995a9Smrg  # Handling of the options.
54859fe995a9Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54869fe995a9Smrg    ac_cs_recheck=: ;;
54879fe995a9Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5488b62cc08cSmrg    $as_echo "$ac_cs_version"; exit ;;
5489b62cc08cSmrg  --config | --confi | --conf | --con | --co | --c )
5490b62cc08cSmrg    $as_echo "$ac_cs_config"; exit ;;
54919fe995a9Smrg  --debug | --debu | --deb | --de | --d | -d )
54929fe995a9Smrg    debug=: ;;
54939fe995a9Smrg  --file | --fil | --fi | --f )
54949fe995a9Smrg    $ac_shift
5495b62cc08cSmrg    case $ac_optarg in
5496b62cc08cSmrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5497b62cc08cSmrg    '') as_fn_error $? "missing file argument" ;;
5498b62cc08cSmrg    esac
5499b62cc08cSmrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
55009fe995a9Smrg    ac_need_defaults=false;;
55019fe995a9Smrg  --header | --heade | --head | --hea )
55029fe995a9Smrg    $ac_shift
5503b62cc08cSmrg    case $ac_optarg in
5504b62cc08cSmrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5505b62cc08cSmrg    esac
5506b62cc08cSmrg    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
55079fe995a9Smrg    ac_need_defaults=false;;
55089fe995a9Smrg  --he | --h)
55099fe995a9Smrg    # Conflict between --help and --header
5510b62cc08cSmrg    as_fn_error $? "ambiguous option: \`$1'
5511b62cc08cSmrgTry \`$0 --help' for more information.";;
55129fe995a9Smrg  --help | --hel | -h )
5513b62cc08cSmrg    $as_echo "$ac_cs_usage"; exit ;;
55149fe995a9Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
55159fe995a9Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
55169fe995a9Smrg    ac_cs_silent=: ;;
55179fe995a9Smrg
55189fe995a9Smrg  # This is an error.
5519b62cc08cSmrg  -*) as_fn_error $? "unrecognized option: \`$1'
5520b62cc08cSmrgTry \`$0 --help' for more information." ;;
55219fe995a9Smrg
5522b62cc08cSmrg  *) as_fn_append ac_config_targets " $1"
55239fe995a9Smrg     ac_need_defaults=false ;;
55249fe995a9Smrg
55259fe995a9Smrg  esac
55269fe995a9Smrg  shift
55279fe995a9Smrgdone
55289fe995a9Smrg
55299fe995a9Smrgac_configure_extra_args=
55309fe995a9Smrg
55319fe995a9Smrgif $ac_cs_silent; then
55329fe995a9Smrg  exec 6>/dev/null
55339fe995a9Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
55349fe995a9Smrgfi
55359fe995a9Smrg
55369fe995a9Smrg_ACEOF
5537b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
55389fe995a9Smrgif \$ac_cs_recheck; then
5539b62cc08cSmrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5540b62cc08cSmrg  shift
5541b62cc08cSmrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5542b62cc08cSmrg  CONFIG_SHELL='$SHELL'
55439fe995a9Smrg  export CONFIG_SHELL
5544b62cc08cSmrg  exec "\$@"
55459fe995a9Smrgfi
55469fe995a9Smrg
55479fe995a9Smrg_ACEOF
5548b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
55499fe995a9Smrgexec 5>>config.log
55509fe995a9Smrg{
55519fe995a9Smrg  echo
55529fe995a9Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
55539fe995a9Smrg## Running $as_me. ##
55549fe995a9Smrg_ASBOX
5555b62cc08cSmrg  $as_echo "$ac_log"
55569fe995a9Smrg} >&5
55579fe995a9Smrg
55589fe995a9Smrg_ACEOF
5559b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
55609fe995a9Smrg#
55619fe995a9Smrg# INIT-COMMANDS
55629fe995a9Smrg#
55639fe995a9SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
55649fe995a9Smrg
55659fe995a9Smrg_ACEOF
55669fe995a9Smrg
5567b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
55689fe995a9Smrg
55699fe995a9Smrg# Handling of arguments.
55709fe995a9Smrgfor ac_config_target in $ac_config_targets
55719fe995a9Smrgdo
55729fe995a9Smrg  case $ac_config_target in
55739fe995a9Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
55749fe995a9Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
55759fe995a9Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
557690b6713cSmrg    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
55779fe995a9Smrg
5578b62cc08cSmrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
55799fe995a9Smrg  esac
55809fe995a9Smrgdone
55819fe995a9Smrg
55829fe995a9Smrg
55839fe995a9Smrg# If the user did not use the arguments to specify the items to instantiate,
55849fe995a9Smrg# then the envvar interface is used.  Set only those that are not.
55859fe995a9Smrg# We use the long form for the default assignment because of an extremely
55869fe995a9Smrg# bizarre bug on SunOS 4.1.3.
55879fe995a9Smrgif $ac_need_defaults; then
55889fe995a9Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
55899fe995a9Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
55909fe995a9Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
55919fe995a9Smrgfi
55929fe995a9Smrg
55939fe995a9Smrg# Have a temporary directory for convenience.  Make it in the build tree
55949fe995a9Smrg# simply because there is no reason against having it here, and in addition,
55959fe995a9Smrg# creating and moving files from /tmp can sometimes cause problems.
55969fe995a9Smrg# Hook for its removal unless debugging.
55979fe995a9Smrg# Note that there is a small window in which the directory will not be cleaned:
55989fe995a9Smrg# after its creation but before its name has been assigned to `$tmp'.
55999fe995a9Smrg$debug ||
56009fe995a9Smrg{
5601b62cc08cSmrg  tmp= ac_tmp=
56029fe995a9Smrg  trap 'exit_status=$?
5603b62cc08cSmrg  : "${ac_tmp:=$tmp}"
5604b62cc08cSmrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
56059fe995a9Smrg' 0
5606b62cc08cSmrg  trap 'as_fn_exit 1' 1 2 13 15
56079fe995a9Smrg}
56089fe995a9Smrg# Create a (secure) tmp directory for tmp files.
56099fe995a9Smrg
56109fe995a9Smrg{
56119fe995a9Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5612b62cc08cSmrg  test -d "$tmp"
56139fe995a9Smrg}  ||
56149fe995a9Smrg{
56159fe995a9Smrg  tmp=./conf$$-$RANDOM
56169fe995a9Smrg  (umask 077 && mkdir "$tmp")
5617b62cc08cSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5618b62cc08cSmrgac_tmp=$tmp
56199fe995a9Smrg
5620b62cc08cSmrg# Set up the scripts for CONFIG_FILES section.
5621b62cc08cSmrg# No need to generate them if there are no CONFIG_FILES.
5622b62cc08cSmrg# This happens for instance with `./config.status config.h'.
56239fe995a9Smrgif test -n "$CONFIG_FILES"; then
56249fe995a9Smrg
56259fe995a9Smrg
5626b62cc08cSmrgac_cr=`echo X | tr X '\015'`
5627b62cc08cSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
5628b62cc08cSmrg# But we know of no other shell where ac_cr would be empty at this
5629b62cc08cSmrg# point, so we can use a bashism as a fallback.
5630b62cc08cSmrgif test "x$ac_cr" = x; then
5631b62cc08cSmrg  eval ac_cr=\$\'\\r\'
5632b62cc08cSmrgfi
5633b62cc08cSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5634b62cc08cSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5635b62cc08cSmrg  ac_cs_awk_cr='\\r'
5636b62cc08cSmrgelse
5637b62cc08cSmrg  ac_cs_awk_cr=$ac_cr
56389fe995a9Smrgfi
56399fe995a9Smrg
5640b62cc08cSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
56419fe995a9Smrg_ACEOF
56429fe995a9Smrg
56439fe995a9Smrg
5644b62cc08cSmrg{
5645b62cc08cSmrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
5646b62cc08cSmrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5647b62cc08cSmrg  echo "_ACEOF"
5648b62cc08cSmrg} >conf$$subs.sh ||
5649b62cc08cSmrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5650b62cc08cSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
56519fe995a9Smrgac_delim='%!_!# '
56529fe995a9Smrgfor ac_last_try in false false false false false :; do
5653b62cc08cSmrg  . ./conf$$subs.sh ||
5654b62cc08cSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
56559fe995a9Smrg
5656b62cc08cSmrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5657b62cc08cSmrg  if test $ac_delim_n = $ac_delim_num; then
56589fe995a9Smrg    break
56599fe995a9Smrg  elif $ac_last_try; then
5660b62cc08cSmrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
56619fe995a9Smrg  else
56629fe995a9Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56639fe995a9Smrg  fi
56649fe995a9Smrgdone
5665b62cc08cSmrgrm -f conf$$subs.sh
56669fe995a9Smrg
5667b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5668b62cc08cSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5669b62cc08cSmrg_ACEOF
5670b62cc08cSmrgsed -n '
5671b62cc08cSmrgh
5672b62cc08cSmrgs/^/S["/; s/!.*/"]=/
5673b62cc08cSmrgp
5674b62cc08cSmrgg
5675b62cc08cSmrgs/^[^!]*!//
5676b62cc08cSmrg:repl
5677b62cc08cSmrgt repl
5678b62cc08cSmrgs/'"$ac_delim"'$//
5679b62cc08cSmrgt delim
5680b62cc08cSmrg:nl
5681b62cc08cSmrgh
5682b62cc08cSmrgs/\(.\{148\}\)..*/\1/
5683b62cc08cSmrgt more1
5684b62cc08cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5685b62cc08cSmrgp
5686b62cc08cSmrgn
5687b62cc08cSmrgb repl
5688b62cc08cSmrg:more1
5689b62cc08cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5690b62cc08cSmrgp
5691b62cc08cSmrgg
5692b62cc08cSmrgs/.\{148\}//
5693b62cc08cSmrgt nl
5694b62cc08cSmrg:delim
5695b62cc08cSmrgh
5696b62cc08cSmrgs/\(.\{148\}\)..*/\1/
5697b62cc08cSmrgt more2
5698b62cc08cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/
5699b62cc08cSmrgp
5700b62cc08cSmrgb
5701b62cc08cSmrg:more2
5702b62cc08cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5703b62cc08cSmrgp
5704b62cc08cSmrgg
5705b62cc08cSmrgs/.\{148\}//
5706b62cc08cSmrgt delim
5707b62cc08cSmrg' <conf$$subs.awk | sed '
5708b62cc08cSmrg/^[^""]/{
5709b62cc08cSmrg  N
5710b62cc08cSmrg  s/\n//
5711b62cc08cSmrg}
5712b62cc08cSmrg' >>$CONFIG_STATUS || ac_write_fail=1
5713b62cc08cSmrgrm -f conf$$subs.awk
5714b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5715b62cc08cSmrg_ACAWK
5716b62cc08cSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5717b62cc08cSmrg  for (key in S) S_is_set[key] = 1
5718b62cc08cSmrg  FS = ""
5719b62cc08cSmrg
5720b62cc08cSmrg}
5721b62cc08cSmrg{
5722b62cc08cSmrg  line = $ 0
5723b62cc08cSmrg  nfields = split(line, field, "@")
5724b62cc08cSmrg  substed = 0
5725b62cc08cSmrg  len = length(field[1])
5726b62cc08cSmrg  for (i = 2; i < nfields; i++) {
5727b62cc08cSmrg    key = field[i]
5728b62cc08cSmrg    keylen = length(key)
5729b62cc08cSmrg    if (S_is_set[key]) {
5730b62cc08cSmrg      value = S[key]
5731b62cc08cSmrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5732b62cc08cSmrg      len += length(value) + length(field[++i])
5733b62cc08cSmrg      substed = 1
5734b62cc08cSmrg    } else
5735b62cc08cSmrg      len += 1 + keylen
5736b62cc08cSmrg  }
5737b62cc08cSmrg
5738b62cc08cSmrg  print line
5739b62cc08cSmrg}
57409fe995a9Smrg
5741b62cc08cSmrg_ACAWK
57429fe995a9Smrg_ACEOF
5743b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5744b62cc08cSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5745b62cc08cSmrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5746b62cc08cSmrgelse
5747b62cc08cSmrg  cat
5748b62cc08cSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5749b62cc08cSmrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
57509fe995a9Smrg_ACEOF
57519fe995a9Smrg
5752b62cc08cSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5753b62cc08cSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
57549fe995a9Smrg# trailing colons and then remove the whole line if VPATH becomes empty
57559fe995a9Smrg# (actually we leave an empty line to preserve line numbers).
57569fe995a9Smrgif test "x$srcdir" = x.; then
5757b62cc08cSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5758b62cc08cSmrgh
5759b62cc08cSmrgs///
5760b62cc08cSmrgs/^/:/
5761b62cc08cSmrgs/[	 ]*$/:/
5762b62cc08cSmrgs/:\$(srcdir):/:/g
5763b62cc08cSmrgs/:\${srcdir}:/:/g
5764b62cc08cSmrgs/:@srcdir@:/:/g
5765b62cc08cSmrgs/^:*//
57669fe995a9Smrgs/:*$//
5767b62cc08cSmrgx
5768b62cc08cSmrgs/\(=[	 ]*\).*/\1/
5769b62cc08cSmrgG
5770b62cc08cSmrgs/\n//
57719fe995a9Smrgs/^[^=]*=[	 ]*$//
57729fe995a9Smrg}'
57739fe995a9Smrgfi
57749fe995a9Smrg
5775b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
57769fe995a9Smrgfi # test -n "$CONFIG_FILES"
57779fe995a9Smrg
5778b62cc08cSmrg# Set up the scripts for CONFIG_HEADERS section.
5779b62cc08cSmrg# No need to generate them if there are no CONFIG_HEADERS.
5780b62cc08cSmrg# This happens for instance with `./config.status Makefile'.
5781b62cc08cSmrgif test -n "$CONFIG_HEADERS"; then
5782b62cc08cSmrgcat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5783b62cc08cSmrgBEGIN {
5784b62cc08cSmrg_ACEOF
5785b62cc08cSmrg
5786b62cc08cSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as
5787b62cc08cSmrg# here-document in config.status, that substitutes the proper values into
5788b62cc08cSmrg# config.h.in to produce config.h.
5789b62cc08cSmrg
5790b62cc08cSmrg# Create a delimiter string that does not exist in confdefs.h, to ease
5791b62cc08cSmrg# handling of long lines.
5792b62cc08cSmrgac_delim='%!_!# '
5793b62cc08cSmrgfor ac_last_try in false false :; do
5794b62cc08cSmrg  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5795b62cc08cSmrg  if test -z "$ac_tt"; then
5796b62cc08cSmrg    break
5797b62cc08cSmrg  elif $ac_last_try; then
5798b62cc08cSmrg    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5799b62cc08cSmrg  else
5800b62cc08cSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5801b62cc08cSmrg  fi
5802b62cc08cSmrgdone
5803b62cc08cSmrg
5804b62cc08cSmrg# For the awk script, D is an array of macro values keyed by name,
5805b62cc08cSmrg# likewise P contains macro parameters if any.  Preserve backslash
5806b62cc08cSmrg# newline sequences.
5807b62cc08cSmrg
5808b62cc08cSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5809b62cc08cSmrgsed -n '
5810b62cc08cSmrgs/.\{148\}/&'"$ac_delim"'/g
5811b62cc08cSmrgt rset
5812b62cc08cSmrg:rset
5813b62cc08cSmrgs/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5814b62cc08cSmrgt def
5815b62cc08cSmrgd
5816b62cc08cSmrg:def
5817b62cc08cSmrgs/\\$//
5818b62cc08cSmrgt bsnl
5819b62cc08cSmrgs/["\\]/\\&/g
5820b62cc08cSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5821b62cc08cSmrgD["\1"]=" \3"/p
5822b62cc08cSmrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5823b62cc08cSmrgd
5824b62cc08cSmrg:bsnl
5825b62cc08cSmrgs/["\\]/\\&/g
5826b62cc08cSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5827b62cc08cSmrgD["\1"]=" \3\\\\\\n"\\/p
5828b62cc08cSmrgt cont
5829b62cc08cSmrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5830b62cc08cSmrgt cont
5831b62cc08cSmrgd
5832b62cc08cSmrg:cont
5833b62cc08cSmrgn
5834b62cc08cSmrgs/.\{148\}/&'"$ac_delim"'/g
5835b62cc08cSmrgt clear
5836b62cc08cSmrg:clear
5837b62cc08cSmrgs/\\$//
5838b62cc08cSmrgt bsnlc
5839b62cc08cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p
5840b62cc08cSmrgd
5841b62cc08cSmrg:bsnlc
5842b62cc08cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5843b62cc08cSmrgb cont
5844b62cc08cSmrg' <confdefs.h | sed '
5845b62cc08cSmrgs/'"$ac_delim"'/"\\\
5846b62cc08cSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1
5847b62cc08cSmrg
5848b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5849b62cc08cSmrg  for (key in D) D_is_set[key] = 1
5850b62cc08cSmrg  FS = ""
5851b62cc08cSmrg}
5852b62cc08cSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5853b62cc08cSmrg  line = \$ 0
5854b62cc08cSmrg  split(line, arg, " ")
5855b62cc08cSmrg  if (arg[1] == "#") {
5856b62cc08cSmrg    defundef = arg[2]
5857b62cc08cSmrg    mac1 = arg[3]
5858b62cc08cSmrg  } else {
5859b62cc08cSmrg    defundef = substr(arg[1], 2)
5860b62cc08cSmrg    mac1 = arg[2]
5861b62cc08cSmrg  }
5862b62cc08cSmrg  split(mac1, mac2, "(") #)
5863b62cc08cSmrg  macro = mac2[1]
5864b62cc08cSmrg  prefix = substr(line, 1, index(line, defundef) - 1)
5865b62cc08cSmrg  if (D_is_set[macro]) {
5866b62cc08cSmrg    # Preserve the white space surrounding the "#".
5867b62cc08cSmrg    print prefix "define", macro P[macro] D[macro]
5868b62cc08cSmrg    next
5869b62cc08cSmrg  } else {
5870b62cc08cSmrg    # Replace #undef with comments.  This is necessary, for example,
5871b62cc08cSmrg    # in the case of _POSIX_SOURCE, which is predefined and required
5872b62cc08cSmrg    # on some systems where configure will not decide to define it.
5873b62cc08cSmrg    if (defundef == "undef") {
5874b62cc08cSmrg      print "/*", prefix defundef, macro, "*/"
5875b62cc08cSmrg      next
5876b62cc08cSmrg    }
5877b62cc08cSmrg  }
5878b62cc08cSmrg}
5879b62cc08cSmrg{ print }
5880b62cc08cSmrg_ACAWK
5881b62cc08cSmrg_ACEOF
5882b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5883b62cc08cSmrg  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5884b62cc08cSmrgfi # test -n "$CONFIG_HEADERS"
5885b62cc08cSmrg
58869fe995a9Smrg
5887b62cc08cSmrgeval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5888b62cc08cSmrgshift
5889b62cc08cSmrgfor ac_tag
58909fe995a9Smrgdo
58919fe995a9Smrg  case $ac_tag in
58929fe995a9Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
58939fe995a9Smrg  esac
58949fe995a9Smrg  case $ac_mode$ac_tag in
58959fe995a9Smrg  :[FHL]*:*);;
5896b62cc08cSmrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
58979fe995a9Smrg  :[FH]-) ac_tag=-:-;;
58989fe995a9Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
58999fe995a9Smrg  esac
59009fe995a9Smrg  ac_save_IFS=$IFS
59019fe995a9Smrg  IFS=:
59029fe995a9Smrg  set x $ac_tag
59039fe995a9Smrg  IFS=$ac_save_IFS
59049fe995a9Smrg  shift
59059fe995a9Smrg  ac_file=$1
59069fe995a9Smrg  shift
59079fe995a9Smrg
59089fe995a9Smrg  case $ac_mode in
59099fe995a9Smrg  :L) ac_source=$1;;
59109fe995a9Smrg  :[FH])
59119fe995a9Smrg    ac_file_inputs=
59129fe995a9Smrg    for ac_f
59139fe995a9Smrg    do
59149fe995a9Smrg      case $ac_f in
5915b62cc08cSmrg      -) ac_f="$ac_tmp/stdin";;
59169fe995a9Smrg      *) # Look for the file first in the build tree, then in the source tree
59179fe995a9Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
59189fe995a9Smrg	 # because $ac_f cannot contain `:'.
59199fe995a9Smrg	 test -f "$ac_f" ||
59209fe995a9Smrg	   case $ac_f in
59219fe995a9Smrg	   [\\/$]*) false;;
59229fe995a9Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
59239fe995a9Smrg	   esac ||
5924b62cc08cSmrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
59259fe995a9Smrg      esac
5926b62cc08cSmrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5927b62cc08cSmrg      as_fn_append ac_file_inputs " '$ac_f'"
59289fe995a9Smrg    done
59299fe995a9Smrg
59309fe995a9Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
59319fe995a9Smrg    # use $as_me), people would be surprised to read:
59329fe995a9Smrg    #    /* config.h.  Generated by config.status.  */
5933b62cc08cSmrg    configure_input='Generated from '`
5934b62cc08cSmrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5935b62cc08cSmrg	`' by configure.'
59369fe995a9Smrg    if test x"$ac_file" != x-; then
59379fe995a9Smrg      configure_input="$ac_file.  $configure_input"
5938b62cc08cSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5939b62cc08cSmrg$as_echo "$as_me: creating $ac_file" >&6;}
59409fe995a9Smrg    fi
5941b62cc08cSmrg    # Neutralize special characters interpreted by sed in replacement strings.
5942b62cc08cSmrg    case $configure_input in #(
5943b62cc08cSmrg    *\&* | *\|* | *\\* )
5944b62cc08cSmrg       ac_sed_conf_input=`$as_echo "$configure_input" |
5945b62cc08cSmrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5946b62cc08cSmrg    *) ac_sed_conf_input=$configure_input;;
5947b62cc08cSmrg    esac
59489fe995a9Smrg
59499fe995a9Smrg    case $ac_tag in
5950b62cc08cSmrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5951b62cc08cSmrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
59529fe995a9Smrg    esac
59539fe995a9Smrg    ;;
59549fe995a9Smrg  esac
59559fe995a9Smrg
59569fe995a9Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
59579fe995a9Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59589fe995a9Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
59599fe995a9Smrg	 X"$ac_file" : 'X\(//\)$' \| \
59609fe995a9Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5961b62cc08cSmrg$as_echo X"$ac_file" |
59629fe995a9Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59639fe995a9Smrg	    s//\1/
59649fe995a9Smrg	    q
59659fe995a9Smrg	  }
59669fe995a9Smrg	  /^X\(\/\/\)[^/].*/{
59679fe995a9Smrg	    s//\1/
59689fe995a9Smrg	    q
59699fe995a9Smrg	  }
59709fe995a9Smrg	  /^X\(\/\/\)$/{
59719fe995a9Smrg	    s//\1/
59729fe995a9Smrg	    q
59739fe995a9Smrg	  }
59749fe995a9Smrg	  /^X\(\/\).*/{
59759fe995a9Smrg	    s//\1/
59769fe995a9Smrg	    q
59779fe995a9Smrg	  }
59789fe995a9Smrg	  s/.*/./; q'`
5979b62cc08cSmrg  as_dir="$ac_dir"; as_fn_mkdir_p
59809fe995a9Smrg  ac_builddir=.
59819fe995a9Smrg
59829fe995a9Smrgcase "$ac_dir" in
59839fe995a9Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
59849fe995a9Smrg*)
5985b62cc08cSmrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
59869fe995a9Smrg  # A ".." for each directory in $ac_dir_suffix.
5987b62cc08cSmrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
59889fe995a9Smrg  case $ac_top_builddir_sub in
59899fe995a9Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
59909fe995a9Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
59919fe995a9Smrg  esac ;;
59929fe995a9Smrgesac
59939fe995a9Smrgac_abs_top_builddir=$ac_pwd
59949fe995a9Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
59959fe995a9Smrg# for backward compatibility:
59969fe995a9Smrgac_top_builddir=$ac_top_build_prefix
59979fe995a9Smrg
59989fe995a9Smrgcase $srcdir in
59999fe995a9Smrg  .)  # We are building in place.
60009fe995a9Smrg    ac_srcdir=.
60019fe995a9Smrg    ac_top_srcdir=$ac_top_builddir_sub
60029fe995a9Smrg    ac_abs_top_srcdir=$ac_pwd ;;
60039fe995a9Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
60049fe995a9Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
60059fe995a9Smrg    ac_top_srcdir=$srcdir
60069fe995a9Smrg    ac_abs_top_srcdir=$srcdir ;;
60079fe995a9Smrg  *) # Relative name.
60089fe995a9Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60099fe995a9Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
60109fe995a9Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60119fe995a9Smrgesac
60129fe995a9Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60139fe995a9Smrg
60149fe995a9Smrg
60159fe995a9Smrg  case $ac_mode in
60169fe995a9Smrg  :F)
60179fe995a9Smrg  #
60189fe995a9Smrg  # CONFIG_FILE
60199fe995a9Smrg  #
60209fe995a9Smrg
60219fe995a9Smrg  case $INSTALL in
60229fe995a9Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60239fe995a9Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60249fe995a9Smrg  esac
60259fe995a9Smrg  ac_MKDIR_P=$MKDIR_P
60269fe995a9Smrg  case $MKDIR_P in
60279fe995a9Smrg  [\\/$]* | ?:[\\/]* ) ;;
60289fe995a9Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60299fe995a9Smrg  esac
60309fe995a9Smrg_ACEOF
60319fe995a9Smrg
6032b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60339fe995a9Smrg# If the template does not know about datarootdir, expand it.
60349fe995a9Smrg# FIXME: This hack should be removed a few years after 2.60.
60359fe995a9Smrgac_datarootdir_hack=; ac_datarootdir_seen=
6036b62cc08cSmrgac_sed_dataroot='
6037b62cc08cSmrg/datarootdir/ {
60389fe995a9Smrg  p
60399fe995a9Smrg  q
60409fe995a9Smrg}
60419fe995a9Smrg/@datadir@/p
60429fe995a9Smrg/@docdir@/p
60439fe995a9Smrg/@infodir@/p
60449fe995a9Smrg/@localedir@/p
6045b62cc08cSmrg/@mandir@/p'
6046b62cc08cSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60479fe995a9Smrg*datarootdir*) ac_datarootdir_seen=yes;;
60489fe995a9Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6049b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6050b62cc08cSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60519fe995a9Smrg_ACEOF
6052b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60539fe995a9Smrg  ac_datarootdir_hack='
60549fe995a9Smrg  s&@datadir@&$datadir&g
60559fe995a9Smrg  s&@docdir@&$docdir&g
60569fe995a9Smrg  s&@infodir@&$infodir&g
60579fe995a9Smrg  s&@localedir@&$localedir&g
60589fe995a9Smrg  s&@mandir@&$mandir&g
6059b62cc08cSmrg  s&\\\${datarootdir}&$datarootdir&g' ;;
60609fe995a9Smrgesac
60619fe995a9Smrg_ACEOF
60629fe995a9Smrg
60639fe995a9Smrg# Neutralize VPATH when `$srcdir' = `.'.
60649fe995a9Smrg# Shell code in configure.ac might set extrasub.
60659fe995a9Smrg# FIXME: do we really want to maintain this feature?
6066b62cc08cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6067b62cc08cSmrgac_sed_extra="$ac_vpsub
60689fe995a9Smrg$extrasub
60699fe995a9Smrg_ACEOF
6070b62cc08cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60719fe995a9Smrg:t
60729fe995a9Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6073b62cc08cSmrgs|@configure_input@|$ac_sed_conf_input|;t t
60749fe995a9Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
6075b62cc08cSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
60769fe995a9Smrgs&@srcdir@&$ac_srcdir&;t t
60779fe995a9Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
60789fe995a9Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
60799fe995a9Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60809fe995a9Smrgs&@builddir@&$ac_builddir&;t t
60819fe995a9Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
60829fe995a9Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60839fe995a9Smrgs&@INSTALL@&$ac_INSTALL&;t t
60849fe995a9Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
60859fe995a9Smrg$ac_datarootdir_hack
6086b62cc08cSmrg"
6087b62cc08cSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6088b62cc08cSmrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
60899fe995a9Smrg
60909fe995a9Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6091b62cc08cSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6092b62cc08cSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6093b62cc08cSmrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6094b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6095b62cc08cSmrgwhich seems to be undefined.  Please make sure it is defined" >&5
6096b62cc08cSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6097b62cc08cSmrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
6098b62cc08cSmrg
6099b62cc08cSmrg  rm -f "$ac_tmp/stdin"
61009fe995a9Smrg  case $ac_file in
6101b62cc08cSmrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6102b62cc08cSmrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6103b62cc08cSmrg  esac \
6104b62cc08cSmrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61059fe995a9Smrg ;;
61069fe995a9Smrg  :H)
61079fe995a9Smrg  #
61089fe995a9Smrg  # CONFIG_HEADER
61099fe995a9Smrg  #
61109fe995a9Smrg  if test x"$ac_file" != x-; then
6111b62cc08cSmrg    {
6112b62cc08cSmrg      $as_echo "/* $configure_input  */" \
6113b62cc08cSmrg      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6114b62cc08cSmrg    } >"$ac_tmp/config.h" \
6115b62cc08cSmrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6116b62cc08cSmrg    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6117b62cc08cSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6118b62cc08cSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;}
61199fe995a9Smrg    else
6120b62cc08cSmrg      rm -f "$ac_file"
6121b62cc08cSmrg      mv "$ac_tmp/config.h" "$ac_file" \
6122b62cc08cSmrg	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
61239fe995a9Smrg    fi
61249fe995a9Smrg  else
6125b62cc08cSmrg    $as_echo "/* $configure_input  */" \
6126b62cc08cSmrg      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6127b62cc08cSmrg      || as_fn_error $? "could not create -" "$LINENO" 5
61289fe995a9Smrg  fi
6129b62cc08cSmrg# Compute "$ac_file"'s index in $config_headers.
6130b62cc08cSmrg_am_arg="$ac_file"
61319fe995a9Smrg_am_stamp_count=1
61329fe995a9Smrgfor _am_header in $config_headers :; do
61339fe995a9Smrg  case $_am_header in
6134b62cc08cSmrg    $_am_arg | $_am_arg:* )
61359fe995a9Smrg      break ;;
61369fe995a9Smrg    * )
61379fe995a9Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61389fe995a9Smrg  esac
61399fe995a9Smrgdone
6140b62cc08cSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6141b62cc08cSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6142b62cc08cSmrg	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6143b62cc08cSmrg	 X"$_am_arg" : 'X\(//\)$' \| \
6144b62cc08cSmrg	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6145b62cc08cSmrg$as_echo X"$_am_arg" |
61469fe995a9Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61479fe995a9Smrg	    s//\1/
61489fe995a9Smrg	    q
61499fe995a9Smrg	  }
61509fe995a9Smrg	  /^X\(\/\/\)[^/].*/{
61519fe995a9Smrg	    s//\1/
61529fe995a9Smrg	    q
61539fe995a9Smrg	  }
61549fe995a9Smrg	  /^X\(\/\/\)$/{
61559fe995a9Smrg	    s//\1/
61569fe995a9Smrg	    q
61579fe995a9Smrg	  }
61589fe995a9Smrg	  /^X\(\/\).*/{
61599fe995a9Smrg	    s//\1/
61609fe995a9Smrg	    q
61619fe995a9Smrg	  }
61629fe995a9Smrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
61639fe995a9Smrg ;;
61649fe995a9Smrg
6165b62cc08cSmrg  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6166b62cc08cSmrg$as_echo "$as_me: executing $ac_file commands" >&6;}
61679fe995a9Smrg ;;
61689fe995a9Smrg  esac
61699fe995a9Smrg
61709fe995a9Smrg
61719fe995a9Smrg  case $ac_file$ac_mode in
6172b62cc08cSmrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6173b62cc08cSmrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6174b62cc08cSmrg  # are listed without --file.  Let's play safe and only enable the eval
6175b62cc08cSmrg  # if we detect the quoting.
6176b62cc08cSmrg  case $CONFIG_FILES in
6177b62cc08cSmrg  *\'*) eval set x "$CONFIG_FILES" ;;
6178b62cc08cSmrg  *)   set x $CONFIG_FILES ;;
6179b62cc08cSmrg  esac
6180b62cc08cSmrg  shift
6181b62cc08cSmrg  for mf
6182b62cc08cSmrg  do
6183b62cc08cSmrg    # Strip MF so we end up with the name of the file.
6184b62cc08cSmrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
6185b62cc08cSmrg    # Check whether this is an Automake generated Makefile or not.
6186b62cc08cSmrg    # We used to match only the files named `Makefile.in', but
6187b62cc08cSmrg    # some people rename them; so instead we look at the file content.
6188b62cc08cSmrg    # Grep'ing the first line is not enough: some people post-process
6189b62cc08cSmrg    # each Makefile.in and add a new line on top of each file to say so.
6190b62cc08cSmrg    # Grep'ing the whole file is not good either: AIX grep has a line
6191b62cc08cSmrg    # limit of 2048, but all sed's we know have understand at least 4000.
6192b62cc08cSmrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6193b62cc08cSmrg      dirpart=`$as_dirname -- "$mf" ||
61949fe995a9Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61959fe995a9Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
61969fe995a9Smrg	 X"$mf" : 'X\(//\)$' \| \
61979fe995a9Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6198b62cc08cSmrg$as_echo X"$mf" |
61999fe995a9Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62009fe995a9Smrg	    s//\1/
62019fe995a9Smrg	    q
62029fe995a9Smrg	  }
62039fe995a9Smrg	  /^X\(\/\/\)[^/].*/{
62049fe995a9Smrg	    s//\1/
62059fe995a9Smrg	    q
62069fe995a9Smrg	  }
62079fe995a9Smrg	  /^X\(\/\/\)$/{
62089fe995a9Smrg	    s//\1/
62099fe995a9Smrg	    q
62109fe995a9Smrg	  }
62119fe995a9Smrg	  /^X\(\/\).*/{
62129fe995a9Smrg	    s//\1/
62139fe995a9Smrg	    q
62149fe995a9Smrg	  }
62159fe995a9Smrg	  s/.*/./; q'`
6216b62cc08cSmrg    else
6217b62cc08cSmrg      continue
6218b62cc08cSmrg    fi
6219b62cc08cSmrg    # Extract the definition of DEPDIR, am__include, and am__quote
6220b62cc08cSmrg    # from the Makefile without running `make'.
6221b62cc08cSmrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6222b62cc08cSmrg    test -z "$DEPDIR" && continue
6223b62cc08cSmrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6224b62cc08cSmrg    test -z "am__include" && continue
6225b62cc08cSmrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6226b62cc08cSmrg    # When using ansi2knr, U may be empty or an underscore; expand it
6227b62cc08cSmrg    U=`sed -n 's/^U = //p' < "$mf"`
6228b62cc08cSmrg    # Find all dependency output files, they are included files with
6229b62cc08cSmrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6230b62cc08cSmrg    # simplest approach to changing $(DEPDIR) to its actual value in the
6231b62cc08cSmrg    # expansion.
6232b62cc08cSmrg    for file in `sed -n "
6233b62cc08cSmrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6234b62cc08cSmrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6235b62cc08cSmrg      # Make sure the directory exists.
6236b62cc08cSmrg      test -f "$dirpart/$file" && continue
6237b62cc08cSmrg      fdir=`$as_dirname -- "$file" ||
62389fe995a9Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62399fe995a9Smrg	 X"$file" : 'X\(//\)[^/]' \| \
62409fe995a9Smrg	 X"$file" : 'X\(//\)$' \| \
62419fe995a9Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6242b62cc08cSmrg$as_echo X"$file" |
62439fe995a9Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62449fe995a9Smrg	    s//\1/
62459fe995a9Smrg	    q
62469fe995a9Smrg	  }
62479fe995a9Smrg	  /^X\(\/\/\)[^/].*/{
62489fe995a9Smrg	    s//\1/
62499fe995a9Smrg	    q
62509fe995a9Smrg	  }
62519fe995a9Smrg	  /^X\(\/\/\)$/{
62529fe995a9Smrg	    s//\1/
62539fe995a9Smrg	    q
62549fe995a9Smrg	  }
62559fe995a9Smrg	  /^X\(\/\).*/{
62569fe995a9Smrg	    s//\1/
62579fe995a9Smrg	    q
62589fe995a9Smrg	  }
62599fe995a9Smrg	  s/.*/./; q'`
6260b62cc08cSmrg      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6261b62cc08cSmrg      # echo "creating $dirpart/$file"
6262b62cc08cSmrg      echo '# dummy' > "$dirpart/$file"
62639fe995a9Smrg    done
62649fe995a9Smrg  done
6265b62cc08cSmrg}
62669fe995a9Smrg ;;
62679fe995a9Smrg
62689fe995a9Smrg  esac
62699fe995a9Smrgdone # for ac_tag
62709fe995a9Smrg
62719fe995a9Smrg
6272b62cc08cSmrgas_fn_exit 0
62739fe995a9Smrg_ACEOF
62749fe995a9Smrgac_clean_files=$ac_clean_files_save
62759fe995a9Smrg
6276b62cc08cSmrgtest $ac_write_fail = 0 ||
6277b62cc08cSmrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6278b62cc08cSmrg
62799fe995a9Smrg
62809fe995a9Smrg# configure is writing to config.log, and then calls config.status.
62819fe995a9Smrg# config.status does its own redirection, appending to config.log.
62829fe995a9Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
62839fe995a9Smrg# by configure, so config.status won't be able to write to it; its
62849fe995a9Smrg# output is simply discarded.  So we exec the FD to /dev/null,
62859fe995a9Smrg# effectively closing config.log, so it can be properly (re)opened and
62869fe995a9Smrg# appended to by config.status.  When coming back to configure, we
62879fe995a9Smrg# need to make the FD available again.
62889fe995a9Smrgif test "$no_create" != yes; then
62899fe995a9Smrg  ac_cs_success=:
62909fe995a9Smrg  ac_config_status_args=
62919fe995a9Smrg  test "$silent" = yes &&
62929fe995a9Smrg    ac_config_status_args="$ac_config_status_args --quiet"
62939fe995a9Smrg  exec 5>/dev/null
62949fe995a9Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62959fe995a9Smrg  exec 5>>config.log
62969fe995a9Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62979fe995a9Smrg  # would make configure fail if this is the last instruction.
6298b62cc08cSmrg  $ac_cs_success || as_fn_exit 1
6299b62cc08cSmrgfi
6300b62cc08cSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6301b62cc08cSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6302b62cc08cSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
63039fe995a9Smrgfi
63049fe995a9Smrg
6305