configure revision a5a92c01
11fb077a1Smrg#! /bin/sh
21fb077a1Smrg# Guess values for system-dependent variables and create Makefiles.
3a5a92c01Smrg# Generated by GNU Autoconf 2.68 for ico 1.0.3.
41fb077a1Smrg#
51fb077a1Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
61fb077a1Smrg#
7a5a92c01Smrg#
81fb077a1Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9a5a92c01Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10a5a92c01Smrg# Foundation, Inc.
11a5a92c01Smrg#
12a5a92c01Smrg#
131fb077a1Smrg# This configure script is free software; the Free Software Foundation
141fb077a1Smrg# gives unlimited permission to copy, distribute and modify it.
15a5a92c01Smrg## -------------------- ##
16a5a92c01Smrg## M4sh Initialization. ##
17a5a92c01Smrg## -------------------- ##
181fb077a1Smrg
191fb077a1Smrg# Be more Bourne compatible
201fb077a1SmrgDUALCASE=1; export DUALCASE # for MKS sh
21a5a92c01Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
221fb077a1Smrg  emulate sh
231fb077a1Smrg  NULLCMD=:
24a5a92c01Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
251fb077a1Smrg  # is contrary to our usage.  Disable this feature.
261fb077a1Smrg  alias -g '${1+"$@"}'='"$@"'
271fb077a1Smrg  setopt NO_GLOB_SUBST
281fb077a1Smrgelse
29a5a92c01Smrg  case `(set -o) 2>/dev/null` in #(
30a5a92c01Smrg  *posix*) :
31a5a92c01Smrg    set -o posix ;; #(
32a5a92c01Smrg  *) :
33a5a92c01Smrg     ;;
341fb077a1Smrgesac
351fb077a1Smrgfi
361fb077a1Smrg
371fb077a1Smrg
38a5a92c01Smrgas_nl='
39a5a92c01Smrg'
40a5a92c01Smrgexport as_nl
41a5a92c01Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
42a5a92c01Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43a5a92c01Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44a5a92c01Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45a5a92c01Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
46a5a92c01Smrg# but without wasting forks for bash or zsh.
47a5a92c01Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
48a5a92c01Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49a5a92c01Smrg  as_echo='print -r --'
50a5a92c01Smrg  as_echo_n='print -rn --'
51a5a92c01Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52a5a92c01Smrg  as_echo='printf %s\n'
53a5a92c01Smrg  as_echo_n='printf %s'
54a5a92c01Smrgelse
55a5a92c01Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56a5a92c01Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57a5a92c01Smrg    as_echo_n='/usr/ucb/echo -n'
581fb077a1Smrg  else
59a5a92c01Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60a5a92c01Smrg    as_echo_n_body='eval
61a5a92c01Smrg      arg=$1;
62a5a92c01Smrg      case $arg in #(
63a5a92c01Smrg      *"$as_nl"*)
64a5a92c01Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
65a5a92c01Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66a5a92c01Smrg      esac;
67a5a92c01Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68a5a92c01Smrg    '
69a5a92c01Smrg    export as_echo_n_body
70a5a92c01Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
711fb077a1Smrg  fi
72a5a92c01Smrg  export as_echo_body
73a5a92c01Smrg  as_echo='sh -c $as_echo_body as_echo'
741fb077a1Smrgfi
751fb077a1Smrg
76a5a92c01Smrg# The user is always right.
77a5a92c01Smrgif test "${PATH_SEPARATOR+set}" != set; then
78a5a92c01Smrg  PATH_SEPARATOR=:
79a5a92c01Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80a5a92c01Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81a5a92c01Smrg      PATH_SEPARATOR=';'
82a5a92c01Smrg  }
831fb077a1Smrgfi
841fb077a1Smrg
851fb077a1Smrg
861fb077a1Smrg# IFS
871fb077a1Smrg# We need space, tab and new line, in precisely that order.  Quoting is
881fb077a1Smrg# there to prevent editors from complaining about space-tab.
891fb077a1Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
901fb077a1Smrg# splitting by setting IFS to empty value.)
911fb077a1SmrgIFS=" ""	$as_nl"
921fb077a1Smrg
931fb077a1Smrg# Find who we are.  Look in the path if we contain no directory separator.
94a5a92c01Smrgas_myself=
95a5a92c01Smrgcase $0 in #((
961fb077a1Smrg  *[\\/]* ) as_myself=$0 ;;
971fb077a1Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
981fb077a1Smrgfor as_dir in $PATH
991fb077a1Smrgdo
1001fb077a1Smrg  IFS=$as_save_IFS
1011fb077a1Smrg  test -z "$as_dir" && as_dir=.
102a5a92c01Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103a5a92c01Smrg  done
1041fb077a1SmrgIFS=$as_save_IFS
1051fb077a1Smrg
1061fb077a1Smrg     ;;
1071fb077a1Smrgesac
1081fb077a1Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1091fb077a1Smrg# in which case we are not to be found in the path.
1101fb077a1Smrgif test "x$as_myself" = x; then
1111fb077a1Smrg  as_myself=$0
1121fb077a1Smrgfi
1131fb077a1Smrgif test ! -f "$as_myself"; then
114a5a92c01Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115a5a92c01Smrg  exit 1
1161fb077a1Smrgfi
1171fb077a1Smrg
118a5a92c01Smrg# Unset variables that we do not need and which cause bugs (e.g. in
119a5a92c01Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120a5a92c01Smrg# suppresses any "Segmentation fault" message there.  '((' could
121a5a92c01Smrg# trigger a bug in pdksh 5.2.14.
122a5a92c01Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
123a5a92c01Smrgdo eval test x\${$as_var+set} = xset \
124a5a92c01Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1251fb077a1Smrgdone
1261fb077a1SmrgPS1='$ '
1271fb077a1SmrgPS2='> '
1281fb077a1SmrgPS4='+ '
1291fb077a1Smrg
1301fb077a1Smrg# NLS nuisances.
131a5a92c01SmrgLC_ALL=C
132a5a92c01Smrgexport LC_ALL
133a5a92c01SmrgLANGUAGE=C
134a5a92c01Smrgexport LANGUAGE
135a5a92c01Smrg
136a5a92c01Smrg# CDPATH.
137a5a92c01Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138a5a92c01Smrg
139a5a92c01Smrgif test "x$CONFIG_SHELL" = x; then
140a5a92c01Smrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141a5a92c01Smrg  emulate sh
142a5a92c01Smrg  NULLCMD=:
143a5a92c01Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144a5a92c01Smrg  # is contrary to our usage.  Disable this feature.
145a5a92c01Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146a5a92c01Smrg  setopt NO_GLOB_SUBST
147a5a92c01Smrgelse
148a5a92c01Smrg  case \`(set -o) 2>/dev/null\` in #(
149a5a92c01Smrg  *posix*) :
150a5a92c01Smrg    set -o posix ;; #(
151a5a92c01Smrg  *) :
152a5a92c01Smrg     ;;
153a5a92c01Smrgesac
154a5a92c01Smrgfi
155a5a92c01Smrg"
156a5a92c01Smrg  as_required="as_fn_return () { (exit \$1); }
157a5a92c01Smrgas_fn_success () { as_fn_return 0; }
158a5a92c01Smrgas_fn_failure () { as_fn_return 1; }
159a5a92c01Smrgas_fn_ret_success () { return 0; }
160a5a92c01Smrgas_fn_ret_failure () { return 1; }
161a5a92c01Smrg
162a5a92c01Smrgexitcode=0
163a5a92c01Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
164a5a92c01Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165a5a92c01Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166a5a92c01Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167a5a92c01Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168a5a92c01Smrg
169a5a92c01Smrgelse
170a5a92c01Smrg  exitcode=1; echo positional parameters were not saved.
171a5a92c01Smrgfi
172a5a92c01Smrgtest x\$exitcode = x0 || exit 1"
173a5a92c01Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174a5a92c01Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175a5a92c01Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176a5a92c01Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177a5a92c01Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
178a5a92c01Smrg  if (eval "$as_required") 2>/dev/null; then :
179a5a92c01Smrg  as_have_required=yes
180a5a92c01Smrgelse
181a5a92c01Smrg  as_have_required=no
182a5a92c01Smrgfi
183a5a92c01Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184a5a92c01Smrg
185a5a92c01Smrgelse
186a5a92c01Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187a5a92c01Smrgas_found=false
188a5a92c01Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1891fb077a1Smrgdo
190a5a92c01Smrg  IFS=$as_save_IFS
191a5a92c01Smrg  test -z "$as_dir" && as_dir=.
192a5a92c01Smrg  as_found=:
193a5a92c01Smrg  case $as_dir in #(
194a5a92c01Smrg	 /*)
195a5a92c01Smrg	   for as_base in sh bash ksh sh5; do
196a5a92c01Smrg	     # Try only shells that exist, to save several forks.
197a5a92c01Smrg	     as_shell=$as_dir/$as_base
198a5a92c01Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199a5a92c01Smrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200a5a92c01Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
201a5a92c01Smrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202a5a92c01Smrg  break 2
203a5a92c01Smrgfi
204a5a92c01Smrgfi
205a5a92c01Smrg	   done;;
206a5a92c01Smrg       esac
207a5a92c01Smrg  as_found=false
208a5a92c01Smrgdone
209a5a92c01Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210a5a92c01Smrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211a5a92c01Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
212a5a92c01Smrgfi; }
213a5a92c01SmrgIFS=$as_save_IFS
214a5a92c01Smrg
215a5a92c01Smrg
216a5a92c01Smrg      if test "x$CONFIG_SHELL" != x; then :
217a5a92c01Smrg  # We cannot yet assume a decent shell, so we have to provide a
218a5a92c01Smrg	# neutralization value for shells without unset; and this also
219a5a92c01Smrg	# works around shells that cannot unset nonexistent variables.
220a5a92c01Smrg	# Preserve -v and -x to the replacement shell.
221a5a92c01Smrg	BASH_ENV=/dev/null
222a5a92c01Smrg	ENV=/dev/null
223a5a92c01Smrg	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224a5a92c01Smrg	export CONFIG_SHELL
225a5a92c01Smrg	case $- in # ((((
226a5a92c01Smrg	  *v*x* | *x*v* ) as_opts=-vx ;;
227a5a92c01Smrg	  *v* ) as_opts=-v ;;
228a5a92c01Smrg	  *x* ) as_opts=-x ;;
229a5a92c01Smrg	  * ) as_opts= ;;
230a5a92c01Smrg	esac
231a5a92c01Smrg	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232a5a92c01Smrgfi
233a5a92c01Smrg
234a5a92c01Smrg    if test x$as_have_required = xno; then :
235a5a92c01Smrg  $as_echo "$0: This script requires a shell more modern than all"
236a5a92c01Smrg  $as_echo "$0: the shells that I found on your system."
237a5a92c01Smrg  if test x${ZSH_VERSION+set} = xset ; then
238a5a92c01Smrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239a5a92c01Smrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
2401fb077a1Smrg  else
241a5a92c01Smrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
242a5a92c01Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
243a5a92c01Smrg$0: about your system, including any error possibly output
244a5a92c01Smrg$0: before this message. Then install a modern shell, or
245a5a92c01Smrg$0: manually run the script under such a shell if you do
246a5a92c01Smrg$0: have one."
2471fb077a1Smrg  fi
248a5a92c01Smrg  exit 1
249a5a92c01Smrgfi
250a5a92c01Smrgfi
251a5a92c01Smrgfi
252a5a92c01SmrgSHELL=${CONFIG_SHELL-/bin/sh}
253a5a92c01Smrgexport SHELL
254a5a92c01Smrg# Unset more variables known to interfere with behavior of common tools.
255a5a92c01SmrgCLICOLOR_FORCE= GREP_OPTIONS=
256a5a92c01Smrgunset CLICOLOR_FORCE GREP_OPTIONS
257a5a92c01Smrg
258a5a92c01Smrg## --------------------- ##
259a5a92c01Smrg## M4sh Shell Functions. ##
260a5a92c01Smrg## --------------------- ##
261a5a92c01Smrg# as_fn_unset VAR
262a5a92c01Smrg# ---------------
263a5a92c01Smrg# Portably unset VAR.
264a5a92c01Smrgas_fn_unset ()
265a5a92c01Smrg{
266a5a92c01Smrg  { eval $1=; unset $1;}
267a5a92c01Smrg}
268a5a92c01Smrgas_unset=as_fn_unset
269a5a92c01Smrg
270a5a92c01Smrg# as_fn_set_status STATUS
271a5a92c01Smrg# -----------------------
272a5a92c01Smrg# Set $? to STATUS, without forking.
273a5a92c01Smrgas_fn_set_status ()
274a5a92c01Smrg{
275a5a92c01Smrg  return $1
276a5a92c01Smrg} # as_fn_set_status
277a5a92c01Smrg
278a5a92c01Smrg# as_fn_exit STATUS
279a5a92c01Smrg# -----------------
280a5a92c01Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281a5a92c01Smrgas_fn_exit ()
282a5a92c01Smrg{
283a5a92c01Smrg  set +e
284a5a92c01Smrg  as_fn_set_status $1
285a5a92c01Smrg  exit $1
286a5a92c01Smrg} # as_fn_exit
287a5a92c01Smrg
288a5a92c01Smrg# as_fn_mkdir_p
289a5a92c01Smrg# -------------
290a5a92c01Smrg# Create "$as_dir" as a directory, including parents if necessary.
291a5a92c01Smrgas_fn_mkdir_p ()
292a5a92c01Smrg{
293a5a92c01Smrg
294a5a92c01Smrg  case $as_dir in #(
295a5a92c01Smrg  -*) as_dir=./$as_dir;;
296a5a92c01Smrg  esac
297a5a92c01Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
298a5a92c01Smrg    as_dirs=
299a5a92c01Smrg    while :; do
300a5a92c01Smrg      case $as_dir in #(
301a5a92c01Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302a5a92c01Smrg      *) as_qdir=$as_dir;;
303a5a92c01Smrg      esac
304a5a92c01Smrg      as_dirs="'$as_qdir' $as_dirs"
305a5a92c01Smrg      as_dir=`$as_dirname -- "$as_dir" ||
306a5a92c01Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307a5a92c01Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
308a5a92c01Smrg	 X"$as_dir" : 'X\(//\)$' \| \
309a5a92c01Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310a5a92c01Smrg$as_echo X"$as_dir" |
311a5a92c01Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312a5a92c01Smrg	    s//\1/
313a5a92c01Smrg	    q
314a5a92c01Smrg	  }
315a5a92c01Smrg	  /^X\(\/\/\)[^/].*/{
316a5a92c01Smrg	    s//\1/
317a5a92c01Smrg	    q
318a5a92c01Smrg	  }
319a5a92c01Smrg	  /^X\(\/\/\)$/{
320a5a92c01Smrg	    s//\1/
321a5a92c01Smrg	    q
322a5a92c01Smrg	  }
323a5a92c01Smrg	  /^X\(\/\).*/{
324a5a92c01Smrg	    s//\1/
325a5a92c01Smrg	    q
326a5a92c01Smrg	  }
327a5a92c01Smrg	  s/.*/./; q'`
328a5a92c01Smrg      test -d "$as_dir" && break
329a5a92c01Smrg    done
330a5a92c01Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
331a5a92c01Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332a5a92c01Smrg
333a5a92c01Smrg
334a5a92c01Smrg} # as_fn_mkdir_p
335a5a92c01Smrg# as_fn_append VAR VALUE
336a5a92c01Smrg# ----------------------
337a5a92c01Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
338a5a92c01Smrg# advantage of any shell optimizations that allow amortized linear growth over
339a5a92c01Smrg# repeated appends, instead of the typical quadratic growth present in naive
340a5a92c01Smrg# implementations.
341a5a92c01Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342a5a92c01Smrg  eval 'as_fn_append ()
343a5a92c01Smrg  {
344a5a92c01Smrg    eval $1+=\$2
345a5a92c01Smrg  }'
346a5a92c01Smrgelse
347a5a92c01Smrg  as_fn_append ()
348a5a92c01Smrg  {
349a5a92c01Smrg    eval $1=\$$1\$2
350a5a92c01Smrg  }
351a5a92c01Smrgfi # as_fn_append
352a5a92c01Smrg
353a5a92c01Smrg# as_fn_arith ARG...
354a5a92c01Smrg# ------------------
355a5a92c01Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
356a5a92c01Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
357a5a92c01Smrg# must be portable across $(()) and expr.
358a5a92c01Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359a5a92c01Smrg  eval 'as_fn_arith ()
360a5a92c01Smrg  {
361a5a92c01Smrg    as_val=$(( $* ))
362a5a92c01Smrg  }'
363a5a92c01Smrgelse
364a5a92c01Smrg  as_fn_arith ()
365a5a92c01Smrg  {
366a5a92c01Smrg    as_val=`expr "$@" || test $? -eq 1`
367a5a92c01Smrg  }
368a5a92c01Smrgfi # as_fn_arith
369a5a92c01Smrg
370a5a92c01Smrg
371a5a92c01Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
372a5a92c01Smrg# ----------------------------------------
373a5a92c01Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374a5a92c01Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375a5a92c01Smrg# script with STATUS, using 1 if that was 0.
376a5a92c01Smrgas_fn_error ()
377a5a92c01Smrg{
378a5a92c01Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
379a5a92c01Smrg  if test "$4"; then
380a5a92c01Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382a5a92c01Smrg  fi
383a5a92c01Smrg  $as_echo "$as_me: error: $2" >&2
384a5a92c01Smrg  as_fn_exit $as_status
385a5a92c01Smrg} # as_fn_error
3861fb077a1Smrg
3871fb077a1Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
3881fb077a1Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3891fb077a1Smrg  as_expr=expr
3901fb077a1Smrgelse
3911fb077a1Smrg  as_expr=false
3921fb077a1Smrgfi
3931fb077a1Smrg
3941fb077a1Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3951fb077a1Smrg  as_basename=basename
3961fb077a1Smrgelse
3971fb077a1Smrg  as_basename=false
3981fb077a1Smrgfi
3991fb077a1Smrg
400a5a92c01Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401a5a92c01Smrg  as_dirname=dirname
402a5a92c01Smrgelse
403a5a92c01Smrg  as_dirname=false
404a5a92c01Smrgfi
4051fb077a1Smrg
4061fb077a1Smrgas_me=`$as_basename -- "$0" ||
4071fb077a1Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4081fb077a1Smrg	 X"$0" : 'X\(//\)$' \| \
4091fb077a1Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410a5a92c01Smrg$as_echo X/"$0" |
4111fb077a1Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
4121fb077a1Smrg	    s//\1/
4131fb077a1Smrg	    q
4141fb077a1Smrg	  }
4151fb077a1Smrg	  /^X\/\(\/\/\)$/{
4161fb077a1Smrg	    s//\1/
4171fb077a1Smrg	    q
4181fb077a1Smrg	  }
4191fb077a1Smrg	  /^X\/\(\/\).*/{
4201fb077a1Smrg	    s//\1/
4211fb077a1Smrg	    q
4221fb077a1Smrg	  }
4231fb077a1Smrg	  s/.*/./; q'`
4241fb077a1Smrg
425a5a92c01Smrg# Avoid depending upon Character Ranges.
426a5a92c01Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
427a5a92c01Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428a5a92c01Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
429a5a92c01Smrgas_cr_digits='0123456789'
430a5a92c01Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
4311fb077a1Smrg
4321fb077a1Smrg
433a5a92c01Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
434a5a92c01Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
435a5a92c01Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436a5a92c01Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437a5a92c01Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438a5a92c01Smrg  sed -n '
439a5a92c01Smrg    p
440a5a92c01Smrg    /[$]LINENO/=
441a5a92c01Smrg  ' <$as_myself |
442a5a92c01Smrg    sed '
443a5a92c01Smrg      s/[$]LINENO.*/&-/
444a5a92c01Smrg      t lineno
445a5a92c01Smrg      b
446a5a92c01Smrg      :lineno
447a5a92c01Smrg      N
448a5a92c01Smrg      :loop
449a5a92c01Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450a5a92c01Smrg      t loop
451a5a92c01Smrg      s/-\n.*//
452a5a92c01Smrg    ' >$as_me.lineno &&
453a5a92c01Smrg  chmod +x "$as_me.lineno" ||
454a5a92c01Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
4551fb077a1Smrg
456a5a92c01Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
457a5a92c01Smrg  # (the dirname of $[0] is not the place where we might find the
458a5a92c01Smrg  # original and so on.  Autoconf is especially sensitive to this).
459a5a92c01Smrg  . "./$as_me.lineno"
460a5a92c01Smrg  # Exit status is that of the last command.
461a5a92c01Smrg  exit
4621fb077a1Smrg}
4631fb077a1Smrg
464a5a92c01SmrgECHO_C= ECHO_N= ECHO_T=
465a5a92c01Smrgcase `echo -n x` in #(((((
466a5a92c01Smrg-n*)
467a5a92c01Smrg  case `echo 'xy\c'` in
468a5a92c01Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
469a5a92c01Smrg  xy)  ECHO_C='\c';;
470a5a92c01Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471a5a92c01Smrg       ECHO_T='	';;
472a5a92c01Smrg  esac;;
473a5a92c01Smrg*)
474a5a92c01Smrg  ECHO_N='-n';;
475a5a92c01Smrgesac
4761fb077a1Smrg
477a5a92c01Smrgrm -f conf$$ conf$$.exe conf$$.file
478a5a92c01Smrgif test -d conf$$.dir; then
479a5a92c01Smrg  rm -f conf$$.dir/conf$$.file
4801fb077a1Smrgelse
481a5a92c01Smrg  rm -f conf$$.dir
482a5a92c01Smrg  mkdir conf$$.dir 2>/dev/null
483a5a92c01Smrgfi
484a5a92c01Smrgif (echo >conf$$.file) 2>/dev/null; then
485a5a92c01Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
486a5a92c01Smrg    as_ln_s='ln -s'
487a5a92c01Smrg    # ... but there are two gotchas:
488a5a92c01Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489a5a92c01Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490a5a92c01Smrg    # In both cases, we have to default to `cp -p'.
491a5a92c01Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492a5a92c01Smrg      as_ln_s='cp -p'
493a5a92c01Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
494a5a92c01Smrg    as_ln_s=ln
495a5a92c01Smrg  else
496a5a92c01Smrg    as_ln_s='cp -p'
497a5a92c01Smrg  fi
4981fb077a1Smrgelse
499a5a92c01Smrg  as_ln_s='cp -p'
5001fb077a1Smrgfi
501a5a92c01Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502a5a92c01Smrgrmdir conf$$.dir 2>/dev/null
5031fb077a1Smrg
504a5a92c01Smrgif mkdir -p . 2>/dev/null; then
505a5a92c01Smrg  as_mkdir_p='mkdir -p "$as_dir"'
5061fb077a1Smrgelse
507a5a92c01Smrg  test -d ./-p && rmdir ./-p
508a5a92c01Smrg  as_mkdir_p=false
509a5a92c01Smrgfi
5101fb077a1Smrg
511a5a92c01Smrgif test -x / >/dev/null 2>&1; then
512a5a92c01Smrg  as_test_x='test -x'
5131fb077a1Smrgelse
514a5a92c01Smrg  if ls -dL / >/dev/null 2>&1; then
515a5a92c01Smrg    as_ls_L_option=L
516a5a92c01Smrg  else
517a5a92c01Smrg    as_ls_L_option=
518a5a92c01Smrg  fi
519a5a92c01Smrg  as_test_x='
520a5a92c01Smrg    eval sh -c '\''
521a5a92c01Smrg      if test -d "$1"; then
522a5a92c01Smrg	test -d "$1/.";
523a5a92c01Smrg      else
524a5a92c01Smrg	case $1 in #(
525a5a92c01Smrg	-*)set "./$1";;
526a5a92c01Smrg	esac;
527a5a92c01Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528a5a92c01Smrg	???[sx]*):;;*)false;;esac;fi
529a5a92c01Smrg    '\'' sh
530a5a92c01Smrg  '
5311fb077a1Smrgfi
532a5a92c01Smrgas_executable_p=$as_test_x
5331fb077a1Smrg
534a5a92c01Smrg# Sed expression to map a string onto a valid CPP name.
535a5a92c01Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5361fb077a1Smrg
537a5a92c01Smrg# Sed expression to map a string onto a valid variable name.
538a5a92c01Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5391fb077a1Smrg
5401fb077a1Smrg
541a5a92c01Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
542a5a92c01Smrgexec 6>&1
5431fb077a1Smrg
5441fb077a1Smrg# Name of the host.
545a5a92c01Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
5461fb077a1Smrg# so uname gets run too.
5471fb077a1Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5481fb077a1Smrg
5491fb077a1Smrg#
5501fb077a1Smrg# Initializations.
5511fb077a1Smrg#
5521fb077a1Smrgac_default_prefix=/usr/local
5531fb077a1Smrgac_clean_files=
5541fb077a1Smrgac_config_libobj_dir=.
5551fb077a1SmrgLIBOBJS=
5561fb077a1Smrgcross_compiling=no
5571fb077a1Smrgsubdirs=
5581fb077a1SmrgMFLAGS=
5591fb077a1SmrgMAKEFLAGS=
5601fb077a1Smrg
5611fb077a1Smrg# Identity of this package.
5621fb077a1SmrgPACKAGE_NAME='ico'
5631fb077a1SmrgPACKAGE_TARNAME='ico'
564a5a92c01SmrgPACKAGE_VERSION='1.0.3'
565a5a92c01SmrgPACKAGE_STRING='ico 1.0.3'
5661fb077a1SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
567a5a92c01SmrgPACKAGE_URL=''
5681fb077a1Smrg
569a5a92c01Smrg# Factoring default headers for most tests.
570a5a92c01Smrgac_includes_default="\
571a5a92c01Smrg#include <stdio.h>
572a5a92c01Smrg#ifdef HAVE_SYS_TYPES_H
573a5a92c01Smrg# include <sys/types.h>
574a5a92c01Smrg#endif
575a5a92c01Smrg#ifdef HAVE_SYS_STAT_H
576a5a92c01Smrg# include <sys/stat.h>
577a5a92c01Smrg#endif
578a5a92c01Smrg#ifdef STDC_HEADERS
579a5a92c01Smrg# include <stdlib.h>
580a5a92c01Smrg# include <stddef.h>
581a5a92c01Smrg#else
582a5a92c01Smrg# ifdef HAVE_STDLIB_H
583a5a92c01Smrg#  include <stdlib.h>
584a5a92c01Smrg# endif
585a5a92c01Smrg#endif
586a5a92c01Smrg#ifdef HAVE_STRING_H
587a5a92c01Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588a5a92c01Smrg#  include <memory.h>
589a5a92c01Smrg# endif
590a5a92c01Smrg# include <string.h>
591a5a92c01Smrg#endif
592a5a92c01Smrg#ifdef HAVE_STRINGS_H
593a5a92c01Smrg# include <strings.h>
594a5a92c01Smrg#endif
595a5a92c01Smrg#ifdef HAVE_INTTYPES_H
596a5a92c01Smrg# include <inttypes.h>
597a5a92c01Smrg#endif
598a5a92c01Smrg#ifdef HAVE_STDINT_H
599a5a92c01Smrg# include <stdint.h>
600a5a92c01Smrg#endif
601a5a92c01Smrg#ifdef HAVE_UNISTD_H
602a5a92c01Smrg# include <unistd.h>
603a5a92c01Smrg#endif"
604a5a92c01Smrg
605a5a92c01Smrgac_subst_vars='am__EXEEXT_FALSE
606a5a92c01Smrgam__EXEEXT_TRUE
607a5a92c01SmrgLTLIBOBJS
608a5a92c01SmrgLIBOBJS
6091fb077a1SmrgXTHREADLIB
610a5a92c01SmrgICO_LIBS
611a5a92c01SmrgICO_CFLAGS
612a5a92c01SmrgAM_BACKSLASH
613a5a92c01SmrgAM_DEFAULT_VERBOSITY
614a5a92c01SmrgMAN_SUBSTS
615a5a92c01SmrgXORG_MAN_PAGE
6161fb077a1SmrgADMIN_MAN_DIR
617a5a92c01SmrgDRIVER_MAN_DIR
618a5a92c01SmrgMISC_MAN_DIR
619a5a92c01SmrgFILE_MAN_DIR
620a5a92c01SmrgLIB_MAN_DIR
621a5a92c01SmrgAPP_MAN_DIR
622a5a92c01SmrgADMIN_MAN_SUFFIX
623a5a92c01SmrgDRIVER_MAN_SUFFIX
624a5a92c01SmrgMISC_MAN_SUFFIX
625a5a92c01SmrgFILE_MAN_SUFFIX
626a5a92c01SmrgLIB_MAN_SUFFIX
627a5a92c01SmrgAPP_MAN_SUFFIX
628a5a92c01SmrgSED
629a5a92c01Smrghost_os
630a5a92c01Smrghost_vendor
631a5a92c01Smrghost_cpu
632a5a92c01Smrghost
633a5a92c01Smrgbuild_os
634a5a92c01Smrgbuild_vendor
635a5a92c01Smrgbuild_cpu
636a5a92c01Smrgbuild
637a5a92c01SmrgINSTALL_CMD
638a5a92c01SmrgPKG_CONFIG
639a5a92c01SmrgCHANGELOG_CMD
640a5a92c01SmrgCWARNFLAGS
641a5a92c01SmrgEGREP
642a5a92c01SmrgGREP
643a5a92c01SmrgCPP
644a5a92c01Smrgam__fastdepCC_FALSE
645a5a92c01Smrgam__fastdepCC_TRUE
646a5a92c01SmrgCCDEPMODE
647a5a92c01SmrgAMDEPBACKSLASH
648a5a92c01SmrgAMDEP_FALSE
649a5a92c01SmrgAMDEP_TRUE
650a5a92c01Smrgam__quote
651a5a92c01Smrgam__include
652a5a92c01SmrgDEPDIR
653a5a92c01SmrgOBJEXT
654a5a92c01SmrgEXEEXT
655a5a92c01Smrgac_ct_CC
656a5a92c01SmrgCPPFLAGS
657a5a92c01SmrgLDFLAGS
658a5a92c01SmrgCFLAGS
659a5a92c01SmrgCC
660a5a92c01SmrgMAINT
661a5a92c01SmrgMAINTAINER_MODE_FALSE
662a5a92c01SmrgMAINTAINER_MODE_TRUE
663a5a92c01Smrgam__untar
664a5a92c01Smrgam__tar
665a5a92c01SmrgAMTAR
666a5a92c01Smrgam__leading_dot
667a5a92c01SmrgSET_MAKE
668a5a92c01SmrgAWK
669a5a92c01Smrgmkdir_p
670a5a92c01SmrgMKDIR_P
671a5a92c01SmrgINSTALL_STRIP_PROGRAM
672a5a92c01SmrgSTRIP
673a5a92c01Smrginstall_sh
674a5a92c01SmrgMAKEINFO
675a5a92c01SmrgAUTOHEADER
676a5a92c01SmrgAUTOMAKE
677a5a92c01SmrgAUTOCONF
678a5a92c01SmrgACLOCAL
679a5a92c01SmrgVERSION
680a5a92c01SmrgPACKAGE
681a5a92c01SmrgCYGPATH_W
682a5a92c01Smrgam__isrc
683a5a92c01SmrgINSTALL_DATA
684a5a92c01SmrgINSTALL_SCRIPT
685a5a92c01SmrgINSTALL_PROGRAM
686a5a92c01Smrgtarget_alias
687a5a92c01Smrghost_alias
688a5a92c01Smrgbuild_alias
689a5a92c01SmrgLIBS
690a5a92c01SmrgECHO_T
691a5a92c01SmrgECHO_N
692a5a92c01SmrgECHO_C
693a5a92c01SmrgDEFS
694a5a92c01Smrgmandir
695a5a92c01Smrglocaledir
696a5a92c01Smrglibdir
697a5a92c01Smrgpsdir
698a5a92c01Smrgpdfdir
699a5a92c01Smrgdvidir
700a5a92c01Smrghtmldir
701a5a92c01Smrginfodir
702a5a92c01Smrgdocdir
703a5a92c01Smrgoldincludedir
704a5a92c01Smrgincludedir
705a5a92c01Smrglocalstatedir
706a5a92c01Smrgsharedstatedir
707a5a92c01Smrgsysconfdir
708a5a92c01Smrgdatadir
709a5a92c01Smrgdatarootdir
710a5a92c01Smrglibexecdir
711a5a92c01Smrgsbindir
712a5a92c01Smrgbindir
713a5a92c01Smrgprogram_transform_name
714a5a92c01Smrgprefix
715a5a92c01Smrgexec_prefix
716a5a92c01SmrgPACKAGE_URL
717a5a92c01SmrgPACKAGE_BUGREPORT
718a5a92c01SmrgPACKAGE_STRING
719a5a92c01SmrgPACKAGE_VERSION
720a5a92c01SmrgPACKAGE_TARNAME
721a5a92c01SmrgPACKAGE_NAME
722a5a92c01SmrgPATH_SEPARATOR
723a5a92c01SmrgSHELL'
7241fb077a1Smrgac_subst_files=''
725a5a92c01Smrgac_user_opts='
726a5a92c01Smrgenable_option_checking
727a5a92c01Smrgenable_maintainer_mode
728a5a92c01Smrgenable_dependency_tracking
729a5a92c01Smrgenable_strict_compilation
730a5a92c01Smrgenable_silent_rules
731a5a92c01Smrg'
7321fb077a1Smrg      ac_precious_vars='build_alias
7331fb077a1Smrghost_alias
7341fb077a1Smrgtarget_alias
7351fb077a1SmrgCC
7361fb077a1SmrgCFLAGS
7371fb077a1SmrgLDFLAGS
7381fb077a1SmrgLIBS
7391fb077a1SmrgCPPFLAGS
740a5a92c01SmrgCPP
7411fb077a1SmrgPKG_CONFIG
7421fb077a1SmrgICO_CFLAGS
7431fb077a1SmrgICO_LIBS'
7441fb077a1Smrg
7451fb077a1Smrg
7461fb077a1Smrg# Initialize some variables set by options.
7471fb077a1Smrgac_init_help=
7481fb077a1Smrgac_init_version=false
749a5a92c01Smrgac_unrecognized_opts=
750a5a92c01Smrgac_unrecognized_sep=
7511fb077a1Smrg# The variables have the same names as the options, with
7521fb077a1Smrg# dashes changed to underlines.
7531fb077a1Smrgcache_file=/dev/null
7541fb077a1Smrgexec_prefix=NONE
7551fb077a1Smrgno_create=
7561fb077a1Smrgno_recursion=
7571fb077a1Smrgprefix=NONE
7581fb077a1Smrgprogram_prefix=NONE
7591fb077a1Smrgprogram_suffix=NONE
7601fb077a1Smrgprogram_transform_name=s,x,x,
7611fb077a1Smrgsilent=
7621fb077a1Smrgsite=
7631fb077a1Smrgsrcdir=
7641fb077a1Smrgverbose=
7651fb077a1Smrgx_includes=NONE
7661fb077a1Smrgx_libraries=NONE
7671fb077a1Smrg
7681fb077a1Smrg# Installation directory options.
7691fb077a1Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
7701fb077a1Smrg# and all the variables that are supposed to be based on exec_prefix
7711fb077a1Smrg# by default will actually change.
7721fb077a1Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
7731fb077a1Smrg# (The list follows the same order as the GNU Coding Standards.)
7741fb077a1Smrgbindir='${exec_prefix}/bin'
7751fb077a1Smrgsbindir='${exec_prefix}/sbin'
7761fb077a1Smrglibexecdir='${exec_prefix}/libexec'
7771fb077a1Smrgdatarootdir='${prefix}/share'
7781fb077a1Smrgdatadir='${datarootdir}'
7791fb077a1Smrgsysconfdir='${prefix}/etc'
7801fb077a1Smrgsharedstatedir='${prefix}/com'
7811fb077a1Smrglocalstatedir='${prefix}/var'
7821fb077a1Smrgincludedir='${prefix}/include'
7831fb077a1Smrgoldincludedir='/usr/include'
7841fb077a1Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7851fb077a1Smrginfodir='${datarootdir}/info'
7861fb077a1Smrghtmldir='${docdir}'
7871fb077a1Smrgdvidir='${docdir}'
7881fb077a1Smrgpdfdir='${docdir}'
7891fb077a1Smrgpsdir='${docdir}'
7901fb077a1Smrglibdir='${exec_prefix}/lib'
7911fb077a1Smrglocaledir='${datarootdir}/locale'
7921fb077a1Smrgmandir='${datarootdir}/man'
7931fb077a1Smrg
7941fb077a1Smrgac_prev=
7951fb077a1Smrgac_dashdash=
7961fb077a1Smrgfor ac_option
7971fb077a1Smrgdo
7981fb077a1Smrg  # If the previous option needs an argument, assign it.
7991fb077a1Smrg  if test -n "$ac_prev"; then
8001fb077a1Smrg    eval $ac_prev=\$ac_option
8011fb077a1Smrg    ac_prev=
8021fb077a1Smrg    continue
8031fb077a1Smrg  fi
8041fb077a1Smrg
8051fb077a1Smrg  case $ac_option in
806a5a92c01Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
807a5a92c01Smrg  *=)   ac_optarg= ;;
808a5a92c01Smrg  *)    ac_optarg=yes ;;
8091fb077a1Smrg  esac
8101fb077a1Smrg
8111fb077a1Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
8121fb077a1Smrg
8131fb077a1Smrg  case $ac_dashdash$ac_option in
8141fb077a1Smrg  --)
8151fb077a1Smrg    ac_dashdash=yes ;;
8161fb077a1Smrg
8171fb077a1Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
8181fb077a1Smrg    ac_prev=bindir ;;
8191fb077a1Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
8201fb077a1Smrg    bindir=$ac_optarg ;;
8211fb077a1Smrg
8221fb077a1Smrg  -build | --build | --buil | --bui | --bu)
8231fb077a1Smrg    ac_prev=build_alias ;;
8241fb077a1Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
8251fb077a1Smrg    build_alias=$ac_optarg ;;
8261fb077a1Smrg
8271fb077a1Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
8281fb077a1Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8291fb077a1Smrg    ac_prev=cache_file ;;
8301fb077a1Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8311fb077a1Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
8321fb077a1Smrg    cache_file=$ac_optarg ;;
8331fb077a1Smrg
8341fb077a1Smrg  --config-cache | -C)
8351fb077a1Smrg    cache_file=config.cache ;;
8361fb077a1Smrg
8371fb077a1Smrg  -datadir | --datadir | --datadi | --datad)
8381fb077a1Smrg    ac_prev=datadir ;;
8391fb077a1Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
8401fb077a1Smrg    datadir=$ac_optarg ;;
8411fb077a1Smrg
8421fb077a1Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8431fb077a1Smrg  | --dataroo | --dataro | --datar)
8441fb077a1Smrg    ac_prev=datarootdir ;;
8451fb077a1Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8461fb077a1Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8471fb077a1Smrg    datarootdir=$ac_optarg ;;
8481fb077a1Smrg
8491fb077a1Smrg  -disable-* | --disable-*)
850a5a92c01Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8511fb077a1Smrg    # Reject names that are not valid shell variable names.
852a5a92c01Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853a5a92c01Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
854a5a92c01Smrg    ac_useropt_orig=$ac_useropt
855a5a92c01Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856a5a92c01Smrg    case $ac_user_opts in
857a5a92c01Smrg      *"
858a5a92c01Smrg"enable_$ac_useropt"
859a5a92c01Smrg"*) ;;
860a5a92c01Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
861a5a92c01Smrg	 ac_unrecognized_sep=', ';;
862a5a92c01Smrg    esac
863a5a92c01Smrg    eval enable_$ac_useropt=no ;;
8641fb077a1Smrg
8651fb077a1Smrg  -docdir | --docdir | --docdi | --doc | --do)
8661fb077a1Smrg    ac_prev=docdir ;;
8671fb077a1Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8681fb077a1Smrg    docdir=$ac_optarg ;;
8691fb077a1Smrg
8701fb077a1Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8711fb077a1Smrg    ac_prev=dvidir ;;
8721fb077a1Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8731fb077a1Smrg    dvidir=$ac_optarg ;;
8741fb077a1Smrg
8751fb077a1Smrg  -enable-* | --enable-*)
876a5a92c01Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8771fb077a1Smrg    # Reject names that are not valid shell variable names.
878a5a92c01Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879a5a92c01Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
880a5a92c01Smrg    ac_useropt_orig=$ac_useropt
881a5a92c01Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882a5a92c01Smrg    case $ac_user_opts in
883a5a92c01Smrg      *"
884a5a92c01Smrg"enable_$ac_useropt"
885a5a92c01Smrg"*) ;;
886a5a92c01Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
887a5a92c01Smrg	 ac_unrecognized_sep=', ';;
888a5a92c01Smrg    esac
889a5a92c01Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
8901fb077a1Smrg
8911fb077a1Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
8921fb077a1Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
8931fb077a1Smrg  | --exec | --exe | --ex)
8941fb077a1Smrg    ac_prev=exec_prefix ;;
8951fb077a1Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
8961fb077a1Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
8971fb077a1Smrg  | --exec=* | --exe=* | --ex=*)
8981fb077a1Smrg    exec_prefix=$ac_optarg ;;
8991fb077a1Smrg
9001fb077a1Smrg  -gas | --gas | --ga | --g)
9011fb077a1Smrg    # Obsolete; use --with-gas.
9021fb077a1Smrg    with_gas=yes ;;
9031fb077a1Smrg
9041fb077a1Smrg  -help | --help | --hel | --he | -h)
9051fb077a1Smrg    ac_init_help=long ;;
9061fb077a1Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9071fb077a1Smrg    ac_init_help=recursive ;;
9081fb077a1Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9091fb077a1Smrg    ac_init_help=short ;;
9101fb077a1Smrg
9111fb077a1Smrg  -host | --host | --hos | --ho)
9121fb077a1Smrg    ac_prev=host_alias ;;
9131fb077a1Smrg  -host=* | --host=* | --hos=* | --ho=*)
9141fb077a1Smrg    host_alias=$ac_optarg ;;
9151fb077a1Smrg
9161fb077a1Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9171fb077a1Smrg    ac_prev=htmldir ;;
9181fb077a1Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9191fb077a1Smrg  | --ht=*)
9201fb077a1Smrg    htmldir=$ac_optarg ;;
9211fb077a1Smrg
9221fb077a1Smrg  -includedir | --includedir | --includedi | --included | --include \
9231fb077a1Smrg  | --includ | --inclu | --incl | --inc)
9241fb077a1Smrg    ac_prev=includedir ;;
9251fb077a1Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9261fb077a1Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
9271fb077a1Smrg    includedir=$ac_optarg ;;
9281fb077a1Smrg
9291fb077a1Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
9301fb077a1Smrg    ac_prev=infodir ;;
9311fb077a1Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9321fb077a1Smrg    infodir=$ac_optarg ;;
9331fb077a1Smrg
9341fb077a1Smrg  -libdir | --libdir | --libdi | --libd)
9351fb077a1Smrg    ac_prev=libdir ;;
9361fb077a1Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
9371fb077a1Smrg    libdir=$ac_optarg ;;
9381fb077a1Smrg
9391fb077a1Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9401fb077a1Smrg  | --libexe | --libex | --libe)
9411fb077a1Smrg    ac_prev=libexecdir ;;
9421fb077a1Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9431fb077a1Smrg  | --libexe=* | --libex=* | --libe=*)
9441fb077a1Smrg    libexecdir=$ac_optarg ;;
9451fb077a1Smrg
9461fb077a1Smrg  -localedir | --localedir | --localedi | --localed | --locale)
9471fb077a1Smrg    ac_prev=localedir ;;
9481fb077a1Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9491fb077a1Smrg    localedir=$ac_optarg ;;
9501fb077a1Smrg
9511fb077a1Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9521fb077a1Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
9531fb077a1Smrg    ac_prev=localstatedir ;;
9541fb077a1Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9551fb077a1Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9561fb077a1Smrg    localstatedir=$ac_optarg ;;
9571fb077a1Smrg
9581fb077a1Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9591fb077a1Smrg    ac_prev=mandir ;;
9601fb077a1Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9611fb077a1Smrg    mandir=$ac_optarg ;;
9621fb077a1Smrg
9631fb077a1Smrg  -nfp | --nfp | --nf)
9641fb077a1Smrg    # Obsolete; use --without-fp.
9651fb077a1Smrg    with_fp=no ;;
9661fb077a1Smrg
9671fb077a1Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9681fb077a1Smrg  | --no-cr | --no-c | -n)
9691fb077a1Smrg    no_create=yes ;;
9701fb077a1Smrg
9711fb077a1Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9721fb077a1Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9731fb077a1Smrg    no_recursion=yes ;;
9741fb077a1Smrg
9751fb077a1Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9761fb077a1Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9771fb077a1Smrg  | --oldin | --oldi | --old | --ol | --o)
9781fb077a1Smrg    ac_prev=oldincludedir ;;
9791fb077a1Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9801fb077a1Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9811fb077a1Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9821fb077a1Smrg    oldincludedir=$ac_optarg ;;
9831fb077a1Smrg
9841fb077a1Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9851fb077a1Smrg    ac_prev=prefix ;;
9861fb077a1Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9871fb077a1Smrg    prefix=$ac_optarg ;;
9881fb077a1Smrg
9891fb077a1Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
9901fb077a1Smrg  | --program-pre | --program-pr | --program-p)
9911fb077a1Smrg    ac_prev=program_prefix ;;
9921fb077a1Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
9931fb077a1Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9941fb077a1Smrg    program_prefix=$ac_optarg ;;
9951fb077a1Smrg
9961fb077a1Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
9971fb077a1Smrg  | --program-suf | --program-su | --program-s)
9981fb077a1Smrg    ac_prev=program_suffix ;;
9991fb077a1Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
10001fb077a1Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
10011fb077a1Smrg    program_suffix=$ac_optarg ;;
10021fb077a1Smrg
10031fb077a1Smrg  -program-transform-name | --program-transform-name \
10041fb077a1Smrg  | --program-transform-nam | --program-transform-na \
10051fb077a1Smrg  | --program-transform-n | --program-transform- \
10061fb077a1Smrg  | --program-transform | --program-transfor \
10071fb077a1Smrg  | --program-transfo | --program-transf \
10081fb077a1Smrg  | --program-trans | --program-tran \
10091fb077a1Smrg  | --progr-tra | --program-tr | --program-t)
10101fb077a1Smrg    ac_prev=program_transform_name ;;
10111fb077a1Smrg  -program-transform-name=* | --program-transform-name=* \
10121fb077a1Smrg  | --program-transform-nam=* | --program-transform-na=* \
10131fb077a1Smrg  | --program-transform-n=* | --program-transform-=* \
10141fb077a1Smrg  | --program-transform=* | --program-transfor=* \
10151fb077a1Smrg  | --program-transfo=* | --program-transf=* \
10161fb077a1Smrg  | --program-trans=* | --program-tran=* \
10171fb077a1Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
10181fb077a1Smrg    program_transform_name=$ac_optarg ;;
10191fb077a1Smrg
10201fb077a1Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10211fb077a1Smrg    ac_prev=pdfdir ;;
10221fb077a1Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10231fb077a1Smrg    pdfdir=$ac_optarg ;;
10241fb077a1Smrg
10251fb077a1Smrg  -psdir | --psdir | --psdi | --psd | --ps)
10261fb077a1Smrg    ac_prev=psdir ;;
10271fb077a1Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10281fb077a1Smrg    psdir=$ac_optarg ;;
10291fb077a1Smrg
10301fb077a1Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10311fb077a1Smrg  | -silent | --silent | --silen | --sile | --sil)
10321fb077a1Smrg    silent=yes ;;
10331fb077a1Smrg
10341fb077a1Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10351fb077a1Smrg    ac_prev=sbindir ;;
10361fb077a1Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10371fb077a1Smrg  | --sbi=* | --sb=*)
10381fb077a1Smrg    sbindir=$ac_optarg ;;
10391fb077a1Smrg
10401fb077a1Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
10411fb077a1Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
10421fb077a1Smrg  | --sharedst | --shareds | --shared | --share | --shar \
10431fb077a1Smrg  | --sha | --sh)
10441fb077a1Smrg    ac_prev=sharedstatedir ;;
10451fb077a1Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
10461fb077a1Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
10471fb077a1Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
10481fb077a1Smrg  | --sha=* | --sh=*)
10491fb077a1Smrg    sharedstatedir=$ac_optarg ;;
10501fb077a1Smrg
10511fb077a1Smrg  -site | --site | --sit)
10521fb077a1Smrg    ac_prev=site ;;
10531fb077a1Smrg  -site=* | --site=* | --sit=*)
10541fb077a1Smrg    site=$ac_optarg ;;
10551fb077a1Smrg
10561fb077a1Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10571fb077a1Smrg    ac_prev=srcdir ;;
10581fb077a1Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10591fb077a1Smrg    srcdir=$ac_optarg ;;
10601fb077a1Smrg
10611fb077a1Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10621fb077a1Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
10631fb077a1Smrg    ac_prev=sysconfdir ;;
10641fb077a1Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10651fb077a1Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10661fb077a1Smrg    sysconfdir=$ac_optarg ;;
10671fb077a1Smrg
10681fb077a1Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
10691fb077a1Smrg    ac_prev=target_alias ;;
10701fb077a1Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10711fb077a1Smrg    target_alias=$ac_optarg ;;
10721fb077a1Smrg
10731fb077a1Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
10741fb077a1Smrg    verbose=yes ;;
10751fb077a1Smrg
10761fb077a1Smrg  -version | --version | --versio | --versi | --vers | -V)
10771fb077a1Smrg    ac_init_version=: ;;
10781fb077a1Smrg
10791fb077a1Smrg  -with-* | --with-*)
1080a5a92c01Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10811fb077a1Smrg    # Reject names that are not valid shell variable names.
1082a5a92c01Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083a5a92c01Smrg      as_fn_error $? "invalid package name: $ac_useropt"
1084a5a92c01Smrg    ac_useropt_orig=$ac_useropt
1085a5a92c01Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086a5a92c01Smrg    case $ac_user_opts in
1087a5a92c01Smrg      *"
1088a5a92c01Smrg"with_$ac_useropt"
1089a5a92c01Smrg"*) ;;
1090a5a92c01Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1091a5a92c01Smrg	 ac_unrecognized_sep=', ';;
1092a5a92c01Smrg    esac
1093a5a92c01Smrg    eval with_$ac_useropt=\$ac_optarg ;;
10941fb077a1Smrg
10951fb077a1Smrg  -without-* | --without-*)
1096a5a92c01Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10971fb077a1Smrg    # Reject names that are not valid shell variable names.
1098a5a92c01Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099a5a92c01Smrg      as_fn_error $? "invalid package name: $ac_useropt"
1100a5a92c01Smrg    ac_useropt_orig=$ac_useropt
1101a5a92c01Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102a5a92c01Smrg    case $ac_user_opts in
1103a5a92c01Smrg      *"
1104a5a92c01Smrg"with_$ac_useropt"
1105a5a92c01Smrg"*) ;;
1106a5a92c01Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1107a5a92c01Smrg	 ac_unrecognized_sep=', ';;
1108a5a92c01Smrg    esac
1109a5a92c01Smrg    eval with_$ac_useropt=no ;;
11101fb077a1Smrg
11111fb077a1Smrg  --x)
11121fb077a1Smrg    # Obsolete; use --with-x.
11131fb077a1Smrg    with_x=yes ;;
11141fb077a1Smrg
11151fb077a1Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
11161fb077a1Smrg  | --x-incl | --x-inc | --x-in | --x-i)
11171fb077a1Smrg    ac_prev=x_includes ;;
11181fb077a1Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
11191fb077a1Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
11201fb077a1Smrg    x_includes=$ac_optarg ;;
11211fb077a1Smrg
11221fb077a1Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
11231fb077a1Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
11241fb077a1Smrg    ac_prev=x_libraries ;;
11251fb077a1Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
11261fb077a1Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11271fb077a1Smrg    x_libraries=$ac_optarg ;;
11281fb077a1Smrg
1129a5a92c01Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1130a5a92c01SmrgTry \`$0 --help' for more information"
11311fb077a1Smrg    ;;
11321fb077a1Smrg
11331fb077a1Smrg  *=*)
11341fb077a1Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11351fb077a1Smrg    # Reject names that are not valid shell variable names.
1136a5a92c01Smrg    case $ac_envvar in #(
1137a5a92c01Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1138a5a92c01Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1139a5a92c01Smrg    esac
11401fb077a1Smrg    eval $ac_envvar=\$ac_optarg
11411fb077a1Smrg    export $ac_envvar ;;
11421fb077a1Smrg
11431fb077a1Smrg  *)
11441fb077a1Smrg    # FIXME: should be removed in autoconf 3.0.
1145a5a92c01Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11461fb077a1Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147a5a92c01Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148a5a92c01Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11491fb077a1Smrg    ;;
11501fb077a1Smrg
11511fb077a1Smrg  esac
11521fb077a1Smrgdone
11531fb077a1Smrg
11541fb077a1Smrgif test -n "$ac_prev"; then
11551fb077a1Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1156a5a92c01Smrg  as_fn_error $? "missing argument to $ac_option"
1157a5a92c01Smrgfi
1158a5a92c01Smrg
1159a5a92c01Smrgif test -n "$ac_unrecognized_opts"; then
1160a5a92c01Smrg  case $enable_option_checking in
1161a5a92c01Smrg    no) ;;
1162a5a92c01Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1163a5a92c01Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1164a5a92c01Smrg  esac
11651fb077a1Smrgfi
11661fb077a1Smrg
1167a5a92c01Smrg# Check all directory arguments for consistency.
11681fb077a1Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
11691fb077a1Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
11701fb077a1Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11711fb077a1Smrg		libdir localedir mandir
11721fb077a1Smrgdo
11731fb077a1Smrg  eval ac_val=\$$ac_var
1174a5a92c01Smrg  # Remove trailing slashes.
1175a5a92c01Smrg  case $ac_val in
1176a5a92c01Smrg    */ )
1177a5a92c01Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1178a5a92c01Smrg      eval $ac_var=\$ac_val;;
1179a5a92c01Smrg  esac
1180a5a92c01Smrg  # Be sure to have absolute directory names.
11811fb077a1Smrg  case $ac_val in
11821fb077a1Smrg    [\\/$]* | ?:[\\/]* )  continue;;
11831fb077a1Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11841fb077a1Smrg  esac
1185a5a92c01Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11861fb077a1Smrgdone
11871fb077a1Smrg
11881fb077a1Smrg# There might be people who depend on the old broken behavior: `$host'
11891fb077a1Smrg# used to hold the argument of --host etc.
11901fb077a1Smrg# FIXME: To remove some day.
11911fb077a1Smrgbuild=$build_alias
11921fb077a1Smrghost=$host_alias
11931fb077a1Smrgtarget=$target_alias
11941fb077a1Smrg
11951fb077a1Smrg# FIXME: To remove some day.
11961fb077a1Smrgif test "x$host_alias" != x; then
11971fb077a1Smrg  if test "x$build_alias" = x; then
11981fb077a1Smrg    cross_compiling=maybe
1199a5a92c01Smrg    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1200a5a92c01Smrg    If a cross compiler is detected then cross compile mode will be used" >&2
12011fb077a1Smrg  elif test "x$build_alias" != "x$host_alias"; then
12021fb077a1Smrg    cross_compiling=yes
12031fb077a1Smrg  fi
12041fb077a1Smrgfi
12051fb077a1Smrg
12061fb077a1Smrgac_tool_prefix=
12071fb077a1Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
12081fb077a1Smrg
12091fb077a1Smrgtest "$silent" = yes && exec 6>/dev/null
12101fb077a1Smrg
12111fb077a1Smrg
12121fb077a1Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
12131fb077a1Smrgac_ls_di=`ls -di .` &&
12141fb077a1Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1215a5a92c01Smrg  as_fn_error $? "working directory cannot be determined"
12161fb077a1Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1217a5a92c01Smrg  as_fn_error $? "pwd does not report name of working directory"
12181fb077a1Smrg
12191fb077a1Smrg
12201fb077a1Smrg# Find the source files, if location was not specified.
12211fb077a1Smrgif test -z "$srcdir"; then
12221fb077a1Smrg  ac_srcdir_defaulted=yes
12231fb077a1Smrg  # Try the directory containing this script, then the parent directory.
1224a5a92c01Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1225a5a92c01Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1226a5a92c01Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1227a5a92c01Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1228a5a92c01Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1229a5a92c01Smrg$as_echo X"$as_myself" |
12301fb077a1Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12311fb077a1Smrg	    s//\1/
12321fb077a1Smrg	    q
12331fb077a1Smrg	  }
12341fb077a1Smrg	  /^X\(\/\/\)[^/].*/{
12351fb077a1Smrg	    s//\1/
12361fb077a1Smrg	    q
12371fb077a1Smrg	  }
12381fb077a1Smrg	  /^X\(\/\/\)$/{
12391fb077a1Smrg	    s//\1/
12401fb077a1Smrg	    q
12411fb077a1Smrg	  }
12421fb077a1Smrg	  /^X\(\/\).*/{
12431fb077a1Smrg	    s//\1/
12441fb077a1Smrg	    q
12451fb077a1Smrg	  }
12461fb077a1Smrg	  s/.*/./; q'`
12471fb077a1Smrg  srcdir=$ac_confdir
12481fb077a1Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
12491fb077a1Smrg    srcdir=..
12501fb077a1Smrg  fi
12511fb077a1Smrgelse
12521fb077a1Smrg  ac_srcdir_defaulted=no
12531fb077a1Smrgfi
12541fb077a1Smrgif test ! -r "$srcdir/$ac_unique_file"; then
12551fb077a1Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1256a5a92c01Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12571fb077a1Smrgfi
12581fb077a1Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12591fb077a1Smrgac_abs_confdir=`(
1260a5a92c01Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12611fb077a1Smrg	pwd)`
12621fb077a1Smrg# When building in place, set srcdir=.
12631fb077a1Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
12641fb077a1Smrg  srcdir=.
12651fb077a1Smrgfi
12661fb077a1Smrg# Remove unnecessary trailing slashes from srcdir.
12671fb077a1Smrg# Double slashes in file names in object file debugging info
12681fb077a1Smrg# mess up M-x gdb in Emacs.
12691fb077a1Smrgcase $srcdir in
12701fb077a1Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12711fb077a1Smrgesac
12721fb077a1Smrgfor ac_var in $ac_precious_vars; do
12731fb077a1Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12741fb077a1Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
12751fb077a1Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12761fb077a1Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12771fb077a1Smrgdone
12781fb077a1Smrg
12791fb077a1Smrg#
12801fb077a1Smrg# Report the --help message.
12811fb077a1Smrg#
12821fb077a1Smrgif test "$ac_init_help" = "long"; then
12831fb077a1Smrg  # Omit some internal or obsolete options to make the list less imposing.
12841fb077a1Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
12851fb077a1Smrg  cat <<_ACEOF
1286a5a92c01Smrg\`configure' configures ico 1.0.3 to adapt to many kinds of systems.
12871fb077a1Smrg
12881fb077a1SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
12891fb077a1Smrg
12901fb077a1SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
12911fb077a1SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
12921fb077a1Smrg
12931fb077a1SmrgDefaults for the options are specified in brackets.
12941fb077a1Smrg
12951fb077a1SmrgConfiguration:
12961fb077a1Smrg  -h, --help              display this help and exit
12971fb077a1Smrg      --help=short        display options specific to this package
12981fb077a1Smrg      --help=recursive    display the short help of all the included packages
12991fb077a1Smrg  -V, --version           display version information and exit
1300a5a92c01Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
13011fb077a1Smrg      --cache-file=FILE   cache test results in FILE [disabled]
13021fb077a1Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
13031fb077a1Smrg  -n, --no-create         do not create output files
13041fb077a1Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
13051fb077a1Smrg
13061fb077a1SmrgInstallation directories:
13071fb077a1Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1308a5a92c01Smrg                          [$ac_default_prefix]
13091fb077a1Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1310a5a92c01Smrg                          [PREFIX]
13111fb077a1Smrg
13121fb077a1SmrgBy default, \`make install' will install all the files in
13131fb077a1Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
13141fb077a1Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
13151fb077a1Smrgfor instance \`--prefix=\$HOME'.
13161fb077a1Smrg
13171fb077a1SmrgFor better control, use the options below.
13181fb077a1Smrg
13191fb077a1SmrgFine tuning of the installation directories:
1320a5a92c01Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1321a5a92c01Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1322a5a92c01Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1323a5a92c01Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1324a5a92c01Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1325a5a92c01Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1326a5a92c01Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1327a5a92c01Smrg  --includedir=DIR        C header files [PREFIX/include]
1328a5a92c01Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1329a5a92c01Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1330a5a92c01Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1331a5a92c01Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1332a5a92c01Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1333a5a92c01Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1334a5a92c01Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/ico]
1335a5a92c01Smrg  --htmldir=DIR           html documentation [DOCDIR]
1336a5a92c01Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1337a5a92c01Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1338a5a92c01Smrg  --psdir=DIR             ps documentation [DOCDIR]
13391fb077a1Smrg_ACEOF
13401fb077a1Smrg
13411fb077a1Smrg  cat <<\_ACEOF
13421fb077a1Smrg
13431fb077a1SmrgProgram names:
13441fb077a1Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
13451fb077a1Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
13461fb077a1Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13471fb077a1Smrg
13481fb077a1SmrgSystem types:
13491fb077a1Smrg  --build=BUILD     configure for building on BUILD [guessed]
13501fb077a1Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
13511fb077a1Smrg_ACEOF
13521fb077a1Smrgfi
13531fb077a1Smrg
13541fb077a1Smrgif test -n "$ac_init_help"; then
13551fb077a1Smrg  case $ac_init_help in
1356a5a92c01Smrg     short | recursive ) echo "Configuration of ico 1.0.3:";;
13571fb077a1Smrg   esac
13581fb077a1Smrg  cat <<\_ACEOF
13591fb077a1Smrg
13601fb077a1SmrgOptional Features:
1361a5a92c01Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
13621fb077a1Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
13631fb077a1Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
13641fb077a1Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
13651fb077a1Smrg			  (and sometimes confusing) to the casual installer
13661fb077a1Smrg  --disable-dependency-tracking  speeds up one-time build
13671fb077a1Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
1368a5a92c01Smrg  --enable-strict-compilation
1369a5a92c01Smrg                          Enable all warnings from compiler and make them
1370a5a92c01Smrg                          errors (default: disabled)
1371a5a92c01Smrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
1372a5a92c01Smrg  --disable-silent-rules         verbose build output (undo: `make V=0')
13731fb077a1Smrg
13741fb077a1SmrgSome influential environment variables:
13751fb077a1Smrg  CC          C compiler command
13761fb077a1Smrg  CFLAGS      C compiler flags
13771fb077a1Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
13781fb077a1Smrg              nonstandard directory <lib dir>
13791fb077a1Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
1380a5a92c01Smrg  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13811fb077a1Smrg              you have headers in a nonstandard directory <include dir>
1382a5a92c01Smrg  CPP         C preprocessor
13831fb077a1Smrg  PKG_CONFIG  path to pkg-config utility
13841fb077a1Smrg  ICO_CFLAGS  C compiler flags for ICO, overriding pkg-config
13851fb077a1Smrg  ICO_LIBS    linker flags for ICO, overriding pkg-config
13861fb077a1Smrg
13871fb077a1SmrgUse these variables to override the choices made by `configure' or to help
13881fb077a1Smrgit to find libraries and programs with nonstandard names/locations.
13891fb077a1Smrg
13901fb077a1SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
13911fb077a1Smrg_ACEOF
13921fb077a1Smrgac_status=$?
13931fb077a1Smrgfi
13941fb077a1Smrg
13951fb077a1Smrgif test "$ac_init_help" = "recursive"; then
13961fb077a1Smrg  # If there are subdirs, report their specific --help.
13971fb077a1Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1398a5a92c01Smrg    test -d "$ac_dir" ||
1399a5a92c01Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1400a5a92c01Smrg      continue
14011fb077a1Smrg    ac_builddir=.
14021fb077a1Smrg
14031fb077a1Smrgcase "$ac_dir" in
14041fb077a1Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14051fb077a1Smrg*)
1406a5a92c01Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14071fb077a1Smrg  # A ".." for each directory in $ac_dir_suffix.
1408a5a92c01Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14091fb077a1Smrg  case $ac_top_builddir_sub in
14101fb077a1Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14111fb077a1Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14121fb077a1Smrg  esac ;;
14131fb077a1Smrgesac
14141fb077a1Smrgac_abs_top_builddir=$ac_pwd
14151fb077a1Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
14161fb077a1Smrg# for backward compatibility:
14171fb077a1Smrgac_top_builddir=$ac_top_build_prefix
14181fb077a1Smrg
14191fb077a1Smrgcase $srcdir in
14201fb077a1Smrg  .)  # We are building in place.
14211fb077a1Smrg    ac_srcdir=.
14221fb077a1Smrg    ac_top_srcdir=$ac_top_builddir_sub
14231fb077a1Smrg    ac_abs_top_srcdir=$ac_pwd ;;
14241fb077a1Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
14251fb077a1Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
14261fb077a1Smrg    ac_top_srcdir=$srcdir
14271fb077a1Smrg    ac_abs_top_srcdir=$srcdir ;;
14281fb077a1Smrg  *) # Relative name.
14291fb077a1Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14301fb077a1Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
14311fb077a1Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14321fb077a1Smrgesac
14331fb077a1Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14341fb077a1Smrg
14351fb077a1Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
14361fb077a1Smrg    # Check for guested configure.
14371fb077a1Smrg    if test -f "$ac_srcdir/configure.gnu"; then
14381fb077a1Smrg      echo &&
14391fb077a1Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14401fb077a1Smrg    elif test -f "$ac_srcdir/configure"; then
14411fb077a1Smrg      echo &&
14421fb077a1Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
14431fb077a1Smrg    else
1444a5a92c01Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14451fb077a1Smrg    fi || ac_status=$?
14461fb077a1Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
14471fb077a1Smrg  done
14481fb077a1Smrgfi
14491fb077a1Smrg
14501fb077a1Smrgtest -n "$ac_init_help" && exit $ac_status
14511fb077a1Smrgif $ac_init_version; then
14521fb077a1Smrg  cat <<\_ACEOF
1453a5a92c01Smrgico configure 1.0.3
1454a5a92c01Smrggenerated by GNU Autoconf 2.68
14551fb077a1Smrg
1456a5a92c01SmrgCopyright (C) 2010 Free Software Foundation, Inc.
14571fb077a1SmrgThis configure script is free software; the Free Software Foundation
14581fb077a1Smrggives unlimited permission to copy, distribute and modify it.
14591fb077a1Smrg_ACEOF
14601fb077a1Smrg  exit
14611fb077a1Smrgfi
1462a5a92c01Smrg
1463a5a92c01Smrg## ------------------------ ##
1464a5a92c01Smrg## Autoconf initialization. ##
1465a5a92c01Smrg## ------------------------ ##
1466a5a92c01Smrg
1467a5a92c01Smrg# ac_fn_c_try_compile LINENO
1468a5a92c01Smrg# --------------------------
1469a5a92c01Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
1470a5a92c01Smrgac_fn_c_try_compile ()
1471a5a92c01Smrg{
1472a5a92c01Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1473a5a92c01Smrg  rm -f conftest.$ac_objext
1474a5a92c01Smrg  if { { ac_try="$ac_compile"
1475a5a92c01Smrgcase "(($ac_try" in
1476a5a92c01Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1477a5a92c01Smrg  *) ac_try_echo=$ac_try;;
1478a5a92c01Smrgesac
1479a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
1481a5a92c01Smrg  (eval "$ac_compile") 2>conftest.err
1482a5a92c01Smrg  ac_status=$?
1483a5a92c01Smrg  if test -s conftest.err; then
1484a5a92c01Smrg    grep -v '^ *+' conftest.err >conftest.er1
1485a5a92c01Smrg    cat conftest.er1 >&5
1486a5a92c01Smrg    mv -f conftest.er1 conftest.err
1487a5a92c01Smrg  fi
1488a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489a5a92c01Smrg  test $ac_status = 0; } && {
1490a5a92c01Smrg	 test -z "$ac_c_werror_flag" ||
1491a5a92c01Smrg	 test ! -s conftest.err
1492a5a92c01Smrg       } && test -s conftest.$ac_objext; then :
1493a5a92c01Smrg  ac_retval=0
1494a5a92c01Smrgelse
1495a5a92c01Smrg  $as_echo "$as_me: failed program was:" >&5
1496a5a92c01Smrgsed 's/^/| /' conftest.$ac_ext >&5
1497a5a92c01Smrg
1498a5a92c01Smrg	ac_retval=1
1499a5a92c01Smrgfi
1500a5a92c01Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1501a5a92c01Smrg  as_fn_set_status $ac_retval
1502a5a92c01Smrg
1503a5a92c01Smrg} # ac_fn_c_try_compile
1504a5a92c01Smrg
1505a5a92c01Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1506a5a92c01Smrg# ---------------------------------------------
1507a5a92c01Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1508a5a92c01Smrg# accordingly.
1509a5a92c01Smrgac_fn_c_check_decl ()
1510a5a92c01Smrg{
1511a5a92c01Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512a5a92c01Smrg  as_decl_name=`echo $2|sed 's/ *(.*//'`
1513a5a92c01Smrg  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1514a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1515a5a92c01Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1516a5a92c01Smrgif eval \${$3+:} false; then :
1517a5a92c01Smrg  $as_echo_n "(cached) " >&6
1518a5a92c01Smrgelse
1519a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1520a5a92c01Smrg/* end confdefs.h.  */
1521a5a92c01Smrg$4
1522a5a92c01Smrgint
1523a5a92c01Smrgmain ()
1524a5a92c01Smrg{
1525a5a92c01Smrg#ifndef $as_decl_name
1526a5a92c01Smrg#ifdef __cplusplus
1527a5a92c01Smrg  (void) $as_decl_use;
1528a5a92c01Smrg#else
1529a5a92c01Smrg  (void) $as_decl_name;
1530a5a92c01Smrg#endif
1531a5a92c01Smrg#endif
1532a5a92c01Smrg
1533a5a92c01Smrg  ;
1534a5a92c01Smrg  return 0;
1535a5a92c01Smrg}
1536a5a92c01Smrg_ACEOF
1537a5a92c01Smrgif ac_fn_c_try_compile "$LINENO"; then :
1538a5a92c01Smrg  eval "$3=yes"
1539a5a92c01Smrgelse
1540a5a92c01Smrg  eval "$3=no"
1541a5a92c01Smrgfi
1542a5a92c01Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1543a5a92c01Smrgfi
1544a5a92c01Smrgeval ac_res=\$$3
1545a5a92c01Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1546a5a92c01Smrg$as_echo "$ac_res" >&6; }
1547a5a92c01Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1548a5a92c01Smrg
1549a5a92c01Smrg} # ac_fn_c_check_decl
1550a5a92c01Smrg
1551a5a92c01Smrg# ac_fn_c_try_cpp LINENO
1552a5a92c01Smrg# ----------------------
1553a5a92c01Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1554a5a92c01Smrgac_fn_c_try_cpp ()
1555a5a92c01Smrg{
1556a5a92c01Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557a5a92c01Smrg  if { { ac_try="$ac_cpp conftest.$ac_ext"
1558a5a92c01Smrgcase "(($ac_try" in
1559a5a92c01Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560a5a92c01Smrg  *) ac_try_echo=$ac_try;;
1561a5a92c01Smrgesac
1562a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
1564a5a92c01Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1565a5a92c01Smrg  ac_status=$?
1566a5a92c01Smrg  if test -s conftest.err; then
1567a5a92c01Smrg    grep -v '^ *+' conftest.err >conftest.er1
1568a5a92c01Smrg    cat conftest.er1 >&5
1569a5a92c01Smrg    mv -f conftest.er1 conftest.err
1570a5a92c01Smrg  fi
1571a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572a5a92c01Smrg  test $ac_status = 0; } > conftest.i && {
1573a5a92c01Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1574a5a92c01Smrg	 test ! -s conftest.err
1575a5a92c01Smrg       }; then :
1576a5a92c01Smrg  ac_retval=0
1577a5a92c01Smrgelse
1578a5a92c01Smrg  $as_echo "$as_me: failed program was:" >&5
1579a5a92c01Smrgsed 's/^/| /' conftest.$ac_ext >&5
1580a5a92c01Smrg
1581a5a92c01Smrg    ac_retval=1
1582a5a92c01Smrgfi
1583a5a92c01Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584a5a92c01Smrg  as_fn_set_status $ac_retval
1585a5a92c01Smrg
1586a5a92c01Smrg} # ac_fn_c_try_cpp
1587a5a92c01Smrg
1588a5a92c01Smrg# ac_fn_c_try_run LINENO
1589a5a92c01Smrg# ----------------------
1590a5a92c01Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1591a5a92c01Smrg# that executables *can* be run.
1592a5a92c01Smrgac_fn_c_try_run ()
1593a5a92c01Smrg{
1594a5a92c01Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595a5a92c01Smrg  if { { ac_try="$ac_link"
1596a5a92c01Smrgcase "(($ac_try" in
1597a5a92c01Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598a5a92c01Smrg  *) ac_try_echo=$ac_try;;
1599a5a92c01Smrgesac
1600a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
1602a5a92c01Smrg  (eval "$ac_link") 2>&5
1603a5a92c01Smrg  ac_status=$?
1604a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605a5a92c01Smrg  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1606a5a92c01Smrg  { { case "(($ac_try" in
1607a5a92c01Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608a5a92c01Smrg  *) ac_try_echo=$ac_try;;
1609a5a92c01Smrgesac
1610a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
1612a5a92c01Smrg  (eval "$ac_try") 2>&5
1613a5a92c01Smrg  ac_status=$?
1614a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615a5a92c01Smrg  test $ac_status = 0; }; }; then :
1616a5a92c01Smrg  ac_retval=0
1617a5a92c01Smrgelse
1618a5a92c01Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
1619a5a92c01Smrg       $as_echo "$as_me: failed program was:" >&5
1620a5a92c01Smrgsed 's/^/| /' conftest.$ac_ext >&5
1621a5a92c01Smrg
1622a5a92c01Smrg       ac_retval=$ac_status
1623a5a92c01Smrgfi
1624a5a92c01Smrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625a5a92c01Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626a5a92c01Smrg  as_fn_set_status $ac_retval
1627a5a92c01Smrg
1628a5a92c01Smrg} # ac_fn_c_try_run
1629a5a92c01Smrg
1630a5a92c01Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1631a5a92c01Smrg# -------------------------------------------------------
1632a5a92c01Smrg# Tests whether HEADER exists and can be compiled using the include files in
1633a5a92c01Smrg# INCLUDES, setting the cache variable VAR accordingly.
1634a5a92c01Smrgac_fn_c_check_header_compile ()
1635a5a92c01Smrg{
1636a5a92c01Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1638a5a92c01Smrg$as_echo_n "checking for $2... " >&6; }
1639a5a92c01Smrgif eval \${$3+:} false; then :
1640a5a92c01Smrg  $as_echo_n "(cached) " >&6
1641a5a92c01Smrgelse
1642a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643a5a92c01Smrg/* end confdefs.h.  */
1644a5a92c01Smrg$4
1645a5a92c01Smrg#include <$2>
1646a5a92c01Smrg_ACEOF
1647a5a92c01Smrgif ac_fn_c_try_compile "$LINENO"; then :
1648a5a92c01Smrg  eval "$3=yes"
1649a5a92c01Smrgelse
1650a5a92c01Smrg  eval "$3=no"
1651a5a92c01Smrgfi
1652a5a92c01Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1653a5a92c01Smrgfi
1654a5a92c01Smrgeval ac_res=\$$3
1655a5a92c01Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1656a5a92c01Smrg$as_echo "$ac_res" >&6; }
1657a5a92c01Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658a5a92c01Smrg
1659a5a92c01Smrg} # ac_fn_c_check_header_compile
16601fb077a1Smrgcat >config.log <<_ACEOF
16611fb077a1SmrgThis file contains any messages produced by compilers while
16621fb077a1Smrgrunning configure, to aid debugging if configure makes a mistake.
16631fb077a1Smrg
1664a5a92c01SmrgIt was created by ico $as_me 1.0.3, which was
1665a5a92c01Smrggenerated by GNU Autoconf 2.68.  Invocation command line was
16661fb077a1Smrg
16671fb077a1Smrg  $ $0 $@
16681fb077a1Smrg
16691fb077a1Smrg_ACEOF
16701fb077a1Smrgexec 5>>config.log
16711fb077a1Smrg{
16721fb077a1Smrgcat <<_ASUNAME
16731fb077a1Smrg## --------- ##
16741fb077a1Smrg## Platform. ##
16751fb077a1Smrg## --------- ##
16761fb077a1Smrg
16771fb077a1Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
16781fb077a1Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
16791fb077a1Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
16801fb077a1Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
16811fb077a1Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
16821fb077a1Smrg
16831fb077a1Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
16841fb077a1Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
16851fb077a1Smrg
16861fb077a1Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
16871fb077a1Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
16881fb077a1Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
16891fb077a1Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
16901fb077a1Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
16911fb077a1Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
16921fb077a1Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
16931fb077a1Smrg
16941fb077a1Smrg_ASUNAME
16951fb077a1Smrg
16961fb077a1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16971fb077a1Smrgfor as_dir in $PATH
16981fb077a1Smrgdo
16991fb077a1Smrg  IFS=$as_save_IFS
17001fb077a1Smrg  test -z "$as_dir" && as_dir=.
1701a5a92c01Smrg    $as_echo "PATH: $as_dir"
1702a5a92c01Smrg  done
17031fb077a1SmrgIFS=$as_save_IFS
17041fb077a1Smrg
17051fb077a1Smrg} >&5
17061fb077a1Smrg
17071fb077a1Smrgcat >&5 <<_ACEOF
17081fb077a1Smrg
17091fb077a1Smrg
17101fb077a1Smrg## ----------- ##
17111fb077a1Smrg## Core tests. ##
17121fb077a1Smrg## ----------- ##
17131fb077a1Smrg
17141fb077a1Smrg_ACEOF
17151fb077a1Smrg
17161fb077a1Smrg
17171fb077a1Smrg# Keep a trace of the command line.
17181fb077a1Smrg# Strip out --no-create and --no-recursion so they do not pile up.
17191fb077a1Smrg# Strip out --silent because we don't want to record it for future runs.
17201fb077a1Smrg# Also quote any args containing shell meta-characters.
17211fb077a1Smrg# Make two passes to allow for proper duplicate-argument suppression.
17221fb077a1Smrgac_configure_args=
17231fb077a1Smrgac_configure_args0=
17241fb077a1Smrgac_configure_args1=
17251fb077a1Smrgac_must_keep_next=false
17261fb077a1Smrgfor ac_pass in 1 2
17271fb077a1Smrgdo
17281fb077a1Smrg  for ac_arg
17291fb077a1Smrg  do
17301fb077a1Smrg    case $ac_arg in
17311fb077a1Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
17321fb077a1Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17331fb077a1Smrg    | -silent | --silent | --silen | --sile | --sil)
17341fb077a1Smrg      continue ;;
17351fb077a1Smrg    *\'*)
1736a5a92c01Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17371fb077a1Smrg    esac
17381fb077a1Smrg    case $ac_pass in
1739a5a92c01Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
17401fb077a1Smrg    2)
1741a5a92c01Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
17421fb077a1Smrg      if test $ac_must_keep_next = true; then
17431fb077a1Smrg	ac_must_keep_next=false # Got value, back to normal.
17441fb077a1Smrg      else
17451fb077a1Smrg	case $ac_arg in
17461fb077a1Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
17471fb077a1Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
17481fb077a1Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
17491fb077a1Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
17501fb077a1Smrg	    case "$ac_configure_args0 " in
17511fb077a1Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
17521fb077a1Smrg	    esac
17531fb077a1Smrg	    ;;
17541fb077a1Smrg	  -* ) ac_must_keep_next=true ;;
17551fb077a1Smrg	esac
17561fb077a1Smrg      fi
1757a5a92c01Smrg      as_fn_append ac_configure_args " '$ac_arg'"
17581fb077a1Smrg      ;;
17591fb077a1Smrg    esac
17601fb077a1Smrg  done
17611fb077a1Smrgdone
1762a5a92c01Smrg{ ac_configure_args0=; unset ac_configure_args0;}
1763a5a92c01Smrg{ ac_configure_args1=; unset ac_configure_args1;}
17641fb077a1Smrg
17651fb077a1Smrg# When interrupted or exit'd, cleanup temporary files, and complete
17661fb077a1Smrg# config.log.  We remove comments because anyway the quotes in there
17671fb077a1Smrg# would cause problems or look ugly.
17681fb077a1Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
17691fb077a1Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
17701fb077a1Smrgtrap 'exit_status=$?
17711fb077a1Smrg  # Save into config.log some information that might help in debugging.
17721fb077a1Smrg  {
17731fb077a1Smrg    echo
17741fb077a1Smrg
1775a5a92c01Smrg    $as_echo "## ---------------- ##
17761fb077a1Smrg## Cache variables. ##
1777a5a92c01Smrg## ---------------- ##"
17781fb077a1Smrg    echo
17791fb077a1Smrg    # The following way of writing the cache mishandles newlines in values,
17801fb077a1Smrg(
17811fb077a1Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
17821fb077a1Smrg    eval ac_val=\$$ac_var
17831fb077a1Smrg    case $ac_val in #(
17841fb077a1Smrg    *${as_nl}*)
17851fb077a1Smrg      case $ac_var in #(
1786a5a92c01Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1787a5a92c01Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17881fb077a1Smrg      esac
17891fb077a1Smrg      case $ac_var in #(
17901fb077a1Smrg      _ | IFS | as_nl) ;; #(
1791a5a92c01Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1792a5a92c01Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
17931fb077a1Smrg      esac ;;
17941fb077a1Smrg    esac
17951fb077a1Smrg  done
17961fb077a1Smrg  (set) 2>&1 |
17971fb077a1Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
17981fb077a1Smrg    *${as_nl}ac_space=\ *)
17991fb077a1Smrg      sed -n \
18001fb077a1Smrg	"s/'\''/'\''\\\\'\'''\''/g;
18011fb077a1Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
18021fb077a1Smrg      ;; #(
18031fb077a1Smrg    *)
18041fb077a1Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18051fb077a1Smrg      ;;
18061fb077a1Smrg    esac |
18071fb077a1Smrg    sort
18081fb077a1Smrg)
18091fb077a1Smrg    echo
18101fb077a1Smrg
1811a5a92c01Smrg    $as_echo "## ----------------- ##
18121fb077a1Smrg## Output variables. ##
1813a5a92c01Smrg## ----------------- ##"
18141fb077a1Smrg    echo
18151fb077a1Smrg    for ac_var in $ac_subst_vars
18161fb077a1Smrg    do
18171fb077a1Smrg      eval ac_val=\$$ac_var
18181fb077a1Smrg      case $ac_val in
1819a5a92c01Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
18201fb077a1Smrg      esac
1821a5a92c01Smrg      $as_echo "$ac_var='\''$ac_val'\''"
18221fb077a1Smrg    done | sort
18231fb077a1Smrg    echo
18241fb077a1Smrg
18251fb077a1Smrg    if test -n "$ac_subst_files"; then
1826a5a92c01Smrg      $as_echo "## ------------------- ##
18271fb077a1Smrg## File substitutions. ##
1828a5a92c01Smrg## ------------------- ##"
18291fb077a1Smrg      echo
18301fb077a1Smrg      for ac_var in $ac_subst_files
18311fb077a1Smrg      do
18321fb077a1Smrg	eval ac_val=\$$ac_var
18331fb077a1Smrg	case $ac_val in
1834a5a92c01Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
18351fb077a1Smrg	esac
1836a5a92c01Smrg	$as_echo "$ac_var='\''$ac_val'\''"
18371fb077a1Smrg      done | sort
18381fb077a1Smrg      echo
18391fb077a1Smrg    fi
18401fb077a1Smrg
18411fb077a1Smrg    if test -s confdefs.h; then
1842a5a92c01Smrg      $as_echo "## ----------- ##
18431fb077a1Smrg## confdefs.h. ##
1844a5a92c01Smrg## ----------- ##"
18451fb077a1Smrg      echo
18461fb077a1Smrg      cat confdefs.h
18471fb077a1Smrg      echo
18481fb077a1Smrg    fi
18491fb077a1Smrg    test "$ac_signal" != 0 &&
1850a5a92c01Smrg      $as_echo "$as_me: caught signal $ac_signal"
1851a5a92c01Smrg    $as_echo "$as_me: exit $exit_status"
18521fb077a1Smrg  } >&5
18531fb077a1Smrg  rm -f core *.core core.conftest.* &&
18541fb077a1Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
18551fb077a1Smrg    exit $exit_status
18561fb077a1Smrg' 0
18571fb077a1Smrgfor ac_signal in 1 2 13 15; do
1858a5a92c01Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
18591fb077a1Smrgdone
18601fb077a1Smrgac_signal=0
18611fb077a1Smrg
18621fb077a1Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
18631fb077a1Smrgrm -f -r conftest* confdefs.h
18641fb077a1Smrg
1865a5a92c01Smrg$as_echo "/* confdefs.h */" > confdefs.h
1866a5a92c01Smrg
18671fb077a1Smrg# Predefined preprocessor variables.
18681fb077a1Smrg
18691fb077a1Smrgcat >>confdefs.h <<_ACEOF
18701fb077a1Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
18711fb077a1Smrg_ACEOF
18721fb077a1Smrg
18731fb077a1Smrgcat >>confdefs.h <<_ACEOF
18741fb077a1Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
18751fb077a1Smrg_ACEOF
18761fb077a1Smrg
18771fb077a1Smrgcat >>confdefs.h <<_ACEOF
18781fb077a1Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
18791fb077a1Smrg_ACEOF
18801fb077a1Smrg
18811fb077a1Smrgcat >>confdefs.h <<_ACEOF
18821fb077a1Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
18831fb077a1Smrg_ACEOF
18841fb077a1Smrg
18851fb077a1Smrgcat >>confdefs.h <<_ACEOF
18861fb077a1Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
18871fb077a1Smrg_ACEOF
18881fb077a1Smrg
1889a5a92c01Smrgcat >>confdefs.h <<_ACEOF
1890a5a92c01Smrg#define PACKAGE_URL "$PACKAGE_URL"
1891a5a92c01Smrg_ACEOF
1892a5a92c01Smrg
18931fb077a1Smrg
18941fb077a1Smrg# Let the site file select an alternate cache file if it wants to.
1895a5a92c01Smrg# Prefer an explicitly selected file to automatically selected ones.
1896a5a92c01Smrgac_site_file1=NONE
1897a5a92c01Smrgac_site_file2=NONE
18981fb077a1Smrgif test -n "$CONFIG_SITE"; then
1899a5a92c01Smrg  # We do not want a PATH search for config.site.
1900a5a92c01Smrg  case $CONFIG_SITE in #((
1901a5a92c01Smrg    -*)  ac_site_file1=./$CONFIG_SITE;;
1902a5a92c01Smrg    */*) ac_site_file1=$CONFIG_SITE;;
1903a5a92c01Smrg    *)   ac_site_file1=./$CONFIG_SITE;;
1904a5a92c01Smrg  esac
19051fb077a1Smrgelif test "x$prefix" != xNONE; then
1906a5a92c01Smrg  ac_site_file1=$prefix/share/config.site
1907a5a92c01Smrg  ac_site_file2=$prefix/etc/config.site
19081fb077a1Smrgelse
1909a5a92c01Smrg  ac_site_file1=$ac_default_prefix/share/config.site
1910a5a92c01Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
19111fb077a1Smrgfi
1912a5a92c01Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
19131fb077a1Smrgdo
1914a5a92c01Smrg  test "x$ac_site_file" = xNONE && continue
1915a5a92c01Smrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1916a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1917a5a92c01Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
19181fb077a1Smrg    sed 's/^/| /' "$ac_site_file" >&5
1919a5a92c01Smrg    . "$ac_site_file" \
1920a5a92c01Smrg      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1921a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1922a5a92c01Smrgas_fn_error $? "failed to load site script $ac_site_file
1923a5a92c01SmrgSee \`config.log' for more details" "$LINENO" 5; }
19241fb077a1Smrg  fi
19251fb077a1Smrgdone
19261fb077a1Smrg
19271fb077a1Smrgif test -r "$cache_file"; then
1928a5a92c01Smrg  # Some versions of bash will fail to source /dev/null (special files
1929a5a92c01Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1930a5a92c01Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1931a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1932a5a92c01Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
19331fb077a1Smrg    case $cache_file in
19341fb077a1Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
19351fb077a1Smrg      *)                      . "./$cache_file";;
19361fb077a1Smrg    esac
19371fb077a1Smrg  fi
19381fb077a1Smrgelse
1939a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1940a5a92c01Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
19411fb077a1Smrg  >$cache_file
19421fb077a1Smrgfi
19431fb077a1Smrg
19441fb077a1Smrg# Check that the precious variables saved in the cache have kept the same
19451fb077a1Smrg# value.
19461fb077a1Smrgac_cache_corrupted=false
19471fb077a1Smrgfor ac_var in $ac_precious_vars; do
19481fb077a1Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
19491fb077a1Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
19501fb077a1Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
19511fb077a1Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
19521fb077a1Smrg  case $ac_old_set,$ac_new_set in
19531fb077a1Smrg    set,)
1954a5a92c01Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1955a5a92c01Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19561fb077a1Smrg      ac_cache_corrupted=: ;;
19571fb077a1Smrg    ,set)
1958a5a92c01Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1959a5a92c01Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19601fb077a1Smrg      ac_cache_corrupted=: ;;
19611fb077a1Smrg    ,);;
19621fb077a1Smrg    *)
19631fb077a1Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1964a5a92c01Smrg	# differences in whitespace do not lead to failure.
1965a5a92c01Smrg	ac_old_val_w=`echo x $ac_old_val`
1966a5a92c01Smrg	ac_new_val_w=`echo x $ac_new_val`
1967a5a92c01Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1968a5a92c01Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1969a5a92c01Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1970a5a92c01Smrg	  ac_cache_corrupted=:
1971a5a92c01Smrg	else
1972a5a92c01Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1973a5a92c01Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1974a5a92c01Smrg	  eval $ac_var=\$ac_old_val
1975a5a92c01Smrg	fi
1976a5a92c01Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1977a5a92c01Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1978a5a92c01Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1979a5a92c01Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
19801fb077a1Smrg      fi;;
19811fb077a1Smrg  esac
19821fb077a1Smrg  # Pass precious variables to config.status.
19831fb077a1Smrg  if test "$ac_new_set" = set; then
19841fb077a1Smrg    case $ac_new_val in
1985a5a92c01Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
19861fb077a1Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
19871fb077a1Smrg    esac
19881fb077a1Smrg    case " $ac_configure_args " in
19891fb077a1Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1990a5a92c01Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
19911fb077a1Smrg    esac
19921fb077a1Smrg  fi
19931fb077a1Smrgdone
19941fb077a1Smrgif $ac_cache_corrupted; then
1995a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1996a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1997a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1998a5a92c01Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1999a5a92c01Smrg  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
20001fb077a1Smrgfi
2001a5a92c01Smrg## -------------------- ##
2002a5a92c01Smrg## Main body of script. ##
2003a5a92c01Smrg## -------------------- ##
20041fb077a1Smrg
20051fb077a1Smrgac_ext=c
20061fb077a1Smrgac_cpp='$CPP $CPPFLAGS'
20071fb077a1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20081fb077a1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20091fb077a1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
20101fb077a1Smrg
20111fb077a1Smrg
2012a5a92c01Smrgam__api_version='1.11'
20131fb077a1Smrg
20141fb077a1Smrgac_aux_dir=
20151fb077a1Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
20161fb077a1Smrg  if test -f "$ac_dir/install-sh"; then
20171fb077a1Smrg    ac_aux_dir=$ac_dir
20181fb077a1Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
20191fb077a1Smrg    break
20201fb077a1Smrg  elif test -f "$ac_dir/install.sh"; then
20211fb077a1Smrg    ac_aux_dir=$ac_dir
20221fb077a1Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
20231fb077a1Smrg    break
20241fb077a1Smrg  elif test -f "$ac_dir/shtool"; then
20251fb077a1Smrg    ac_aux_dir=$ac_dir
20261fb077a1Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
20271fb077a1Smrg    break
20281fb077a1Smrg  fi
20291fb077a1Smrgdone
20301fb077a1Smrgif test -z "$ac_aux_dir"; then
2031a5a92c01Smrg  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
20321fb077a1Smrgfi
20331fb077a1Smrg
20341fb077a1Smrg# These three variables are undocumented and unsupported,
20351fb077a1Smrg# and are intended to be withdrawn in a future Autoconf release.
20361fb077a1Smrg# They can cause serious problems if a builder's source tree is in a directory
20371fb077a1Smrg# whose full name contains unusual characters.
20381fb077a1Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
20391fb077a1Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
20401fb077a1Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
20411fb077a1Smrg
20421fb077a1Smrg
20431fb077a1Smrg# Find a good install program.  We prefer a C program (faster),
20441fb077a1Smrg# so one script is as good as another.  But avoid the broken or
20451fb077a1Smrg# incompatible versions:
20461fb077a1Smrg# SysV /etc/install, /usr/sbin/install
20471fb077a1Smrg# SunOS /usr/etc/install
20481fb077a1Smrg# IRIX /sbin/install
20491fb077a1Smrg# AIX /bin/install
20501fb077a1Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
20511fb077a1Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
20521fb077a1Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
20531fb077a1Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
20541fb077a1Smrg# OS/2's system install, which has a completely different semantic
20551fb077a1Smrg# ./install, which can be erroneously created by make from ./install.sh.
2056a5a92c01Smrg# Reject install programs that cannot install multiple files.
2057a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2058a5a92c01Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
20591fb077a1Smrgif test -z "$INSTALL"; then
2060a5a92c01Smrgif ${ac_cv_path_install+:} false; then :
2061a5a92c01Smrg  $as_echo_n "(cached) " >&6
20621fb077a1Smrgelse
20631fb077a1Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20641fb077a1Smrgfor as_dir in $PATH
20651fb077a1Smrgdo
20661fb077a1Smrg  IFS=$as_save_IFS
20671fb077a1Smrg  test -z "$as_dir" && as_dir=.
2068a5a92c01Smrg    # Account for people who put trailing slashes in PATH elements.
2069a5a92c01Smrgcase $as_dir/ in #((
2070a5a92c01Smrg  ./ | .// | /[cC]/* | \
20711fb077a1Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2072a5a92c01Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
20731fb077a1Smrg  /usr/ucb/* ) ;;
20741fb077a1Smrg  *)
20751fb077a1Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
20761fb077a1Smrg    # Don't use installbsd from OSF since it installs stuff as root
20771fb077a1Smrg    # by default.
20781fb077a1Smrg    for ac_prog in ginstall scoinst install; do
20791fb077a1Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
20801fb077a1Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
20811fb077a1Smrg	  if test $ac_prog = install &&
20821fb077a1Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20831fb077a1Smrg	    # AIX install.  It has an incompatible calling convention.
20841fb077a1Smrg	    :
20851fb077a1Smrg	  elif test $ac_prog = install &&
20861fb077a1Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
20871fb077a1Smrg	    # program-specific install script used by HP pwplus--don't use.
20881fb077a1Smrg	    :
20891fb077a1Smrg	  else
2090a5a92c01Smrg	    rm -rf conftest.one conftest.two conftest.dir
2091a5a92c01Smrg	    echo one > conftest.one
2092a5a92c01Smrg	    echo two > conftest.two
2093a5a92c01Smrg	    mkdir conftest.dir
2094a5a92c01Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2095a5a92c01Smrg	      test -s conftest.one && test -s conftest.two &&
2096a5a92c01Smrg	      test -s conftest.dir/conftest.one &&
2097a5a92c01Smrg	      test -s conftest.dir/conftest.two
2098a5a92c01Smrg	    then
2099a5a92c01Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2100a5a92c01Smrg	      break 3
2101a5a92c01Smrg	    fi
21021fb077a1Smrg	  fi
21031fb077a1Smrg	fi
21041fb077a1Smrg      done
21051fb077a1Smrg    done
21061fb077a1Smrg    ;;
21071fb077a1Smrgesac
2108a5a92c01Smrg
2109a5a92c01Smrg  done
21101fb077a1SmrgIFS=$as_save_IFS
21111fb077a1Smrg
2112a5a92c01Smrgrm -rf conftest.one conftest.two conftest.dir
21131fb077a1Smrg
21141fb077a1Smrgfi
21151fb077a1Smrg  if test "${ac_cv_path_install+set}" = set; then
21161fb077a1Smrg    INSTALL=$ac_cv_path_install
21171fb077a1Smrg  else
21181fb077a1Smrg    # As a last resort, use the slow shell script.  Don't cache a
21191fb077a1Smrg    # value for INSTALL within a source directory, because that will
21201fb077a1Smrg    # break other packages using the cache if that directory is
21211fb077a1Smrg    # removed, or if the value is a relative name.
21221fb077a1Smrg    INSTALL=$ac_install_sh
21231fb077a1Smrg  fi
21241fb077a1Smrgfi
2125a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2126a5a92c01Smrg$as_echo "$INSTALL" >&6; }
21271fb077a1Smrg
21281fb077a1Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
21291fb077a1Smrg# It thinks the first close brace ends the variable substitution.
21301fb077a1Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
21311fb077a1Smrg
21321fb077a1Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
21331fb077a1Smrg
21341fb077a1Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
21351fb077a1Smrg
2136a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2137a5a92c01Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
21381fb077a1Smrg# Just in case
21391fb077a1Smrgsleep 1
21401fb077a1Smrgecho timestamp > conftest.file
2141a5a92c01Smrg# Reject unsafe characters in $srcdir or the absolute working directory
2142a5a92c01Smrg# name.  Accept space and tab only in the latter.
2143a5a92c01Smrgam_lf='
2144a5a92c01Smrg'
2145a5a92c01Smrgcase `pwd` in
2146a5a92c01Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
2147a5a92c01Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2148a5a92c01Smrgesac
2149a5a92c01Smrgcase $srcdir in
2150a5a92c01Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2151a5a92c01Smrg    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2152a5a92c01Smrgesac
2153a5a92c01Smrg
21541fb077a1Smrg# Do `set' in a subshell so we don't clobber the current shell's
21551fb077a1Smrg# arguments.  Must try -L first in case configure is actually a
21561fb077a1Smrg# symlink; some systems play weird games with the mod time of symlinks
21571fb077a1Smrg# (eg FreeBSD returns the mod time of the symlink's containing
21581fb077a1Smrg# directory).
21591fb077a1Smrgif (
2160a5a92c01Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
21611fb077a1Smrg   if test "$*" = "X"; then
21621fb077a1Smrg      # -L didn't work.
2163a5a92c01Smrg      set X `ls -t "$srcdir/configure" conftest.file`
21641fb077a1Smrg   fi
21651fb077a1Smrg   rm -f conftest.file
21661fb077a1Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
21671fb077a1Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
21681fb077a1Smrg
21691fb077a1Smrg      # If neither matched, then we have a broken ls.  This can happen
21701fb077a1Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
21711fb077a1Smrg      # broken ls alias from the environment.  This has actually
21721fb077a1Smrg      # happened.  Such a system could not be considered "sane".
2173a5a92c01Smrg      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2174a5a92c01Smrgalias in your environment" "$LINENO" 5
21751fb077a1Smrg   fi
21761fb077a1Smrg
21771fb077a1Smrg   test "$2" = conftest.file
21781fb077a1Smrg   )
21791fb077a1Smrgthen
21801fb077a1Smrg   # Ok.
21811fb077a1Smrg   :
21821fb077a1Smrgelse
2183a5a92c01Smrg   as_fn_error $? "newly created file is older than distributed files!
2184a5a92c01SmrgCheck your system clock" "$LINENO" 5
21851fb077a1Smrgfi
2186a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2187a5a92c01Smrg$as_echo "yes" >&6; }
21881fb077a1Smrgtest "$program_prefix" != NONE &&
21891fb077a1Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
21901fb077a1Smrg# Use a double $ so make ignores it.
21911fb077a1Smrgtest "$program_suffix" != NONE &&
21921fb077a1Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2193a5a92c01Smrg# Double any \ or $.
21941fb077a1Smrg# By default was `s,x,x', remove it if useless.
2195a5a92c01Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2196a5a92c01Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
21971fb077a1Smrg
21981fb077a1Smrg# expand $ac_aux_dir to an absolute path
21991fb077a1Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
22001fb077a1Smrg
2201a5a92c01Smrgif test x"${MISSING+set}" != xset; then
2202a5a92c01Smrg  case $am_aux_dir in
2203a5a92c01Smrg  *\ * | *\	*)
2204a5a92c01Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2205a5a92c01Smrg  *)
2206a5a92c01Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2207a5a92c01Smrg  esac
2208a5a92c01Smrgfi
22091fb077a1Smrg# Use eval to expand $SHELL
22101fb077a1Smrgif eval "$MISSING --run true"; then
22111fb077a1Smrg  am_missing_run="$MISSING --run "
22121fb077a1Smrgelse
2213a5a92c01Smrg  am_missing_run=
2214a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2215a5a92c01Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2216a5a92c01Smrgfi
2217a5a92c01Smrg
2218a5a92c01Smrgif test x"${install_sh}" != xset; then
2219a5a92c01Smrg  case $am_aux_dir in
2220a5a92c01Smrg  *\ * | *\	*)
2221a5a92c01Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2222a5a92c01Smrg  *)
2223a5a92c01Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2224a5a92c01Smrg  esac
2225a5a92c01Smrgfi
2226a5a92c01Smrg
2227a5a92c01Smrg# Installed binaries are usually stripped using `strip' when the user
2228a5a92c01Smrg# run `make install-strip'.  However `strip' might not be the right
2229a5a92c01Smrg# tool to use in cross-compilation environments, therefore Automake
2230a5a92c01Smrg# will honor the `STRIP' environment variable to overrule this program.
2231a5a92c01Smrgif test "$cross_compiling" != no; then
2232a5a92c01Smrg  if test -n "$ac_tool_prefix"; then
2233a5a92c01Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2234a5a92c01Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
2235a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2236a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2237a5a92c01Smrgif ${ac_cv_prog_STRIP+:} false; then :
2238a5a92c01Smrg  $as_echo_n "(cached) " >&6
2239a5a92c01Smrgelse
2240a5a92c01Smrg  if test -n "$STRIP"; then
2241a5a92c01Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2242a5a92c01Smrgelse
2243a5a92c01Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244a5a92c01Smrgfor as_dir in $PATH
2245a5a92c01Smrgdo
2246a5a92c01Smrg  IFS=$as_save_IFS
2247a5a92c01Smrg  test -z "$as_dir" && as_dir=.
2248a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2249a5a92c01Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250a5a92c01Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2251a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2252a5a92c01Smrg    break 2
2253a5a92c01Smrg  fi
2254a5a92c01Smrgdone
2255a5a92c01Smrg  done
2256a5a92c01SmrgIFS=$as_save_IFS
2257a5a92c01Smrg
2258a5a92c01Smrgfi
2259a5a92c01Smrgfi
2260a5a92c01SmrgSTRIP=$ac_cv_prog_STRIP
2261a5a92c01Smrgif test -n "$STRIP"; then
2262a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2263a5a92c01Smrg$as_echo "$STRIP" >&6; }
2264a5a92c01Smrgelse
2265a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2266a5a92c01Smrg$as_echo "no" >&6; }
2267a5a92c01Smrgfi
2268a5a92c01Smrg
2269a5a92c01Smrg
2270a5a92c01Smrgfi
2271a5a92c01Smrgif test -z "$ac_cv_prog_STRIP"; then
2272a5a92c01Smrg  ac_ct_STRIP=$STRIP
2273a5a92c01Smrg  # Extract the first word of "strip", so it can be a program name with args.
2274a5a92c01Smrgset dummy strip; ac_word=$2
2275a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2276a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2277a5a92c01Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2278a5a92c01Smrg  $as_echo_n "(cached) " >&6
2279a5a92c01Smrgelse
2280a5a92c01Smrg  if test -n "$ac_ct_STRIP"; then
2281a5a92c01Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2282a5a92c01Smrgelse
2283a5a92c01Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284a5a92c01Smrgfor as_dir in $PATH
2285a5a92c01Smrgdo
2286a5a92c01Smrg  IFS=$as_save_IFS
2287a5a92c01Smrg  test -z "$as_dir" && as_dir=.
2288a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2289a5a92c01Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290a5a92c01Smrg    ac_cv_prog_ac_ct_STRIP="strip"
2291a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292a5a92c01Smrg    break 2
2293a5a92c01Smrg  fi
2294a5a92c01Smrgdone
2295a5a92c01Smrg  done
2296a5a92c01SmrgIFS=$as_save_IFS
2297a5a92c01Smrg
2298a5a92c01Smrgfi
2299a5a92c01Smrgfi
2300a5a92c01Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2301a5a92c01Smrgif test -n "$ac_ct_STRIP"; then
2302a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2303a5a92c01Smrg$as_echo "$ac_ct_STRIP" >&6; }
2304a5a92c01Smrgelse
2305a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2306a5a92c01Smrg$as_echo "no" >&6; }
2307a5a92c01Smrgfi
2308a5a92c01Smrg
2309a5a92c01Smrg  if test "x$ac_ct_STRIP" = x; then
2310a5a92c01Smrg    STRIP=":"
2311a5a92c01Smrg  else
2312a5a92c01Smrg    case $cross_compiling:$ac_tool_warned in
2313a5a92c01Smrgyes:)
2314a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2315a5a92c01Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2316a5a92c01Smrgac_tool_warned=yes ;;
2317a5a92c01Smrgesac
2318a5a92c01Smrg    STRIP=$ac_ct_STRIP
2319a5a92c01Smrg  fi
2320a5a92c01Smrgelse
2321a5a92c01Smrg  STRIP="$ac_cv_prog_STRIP"
2322a5a92c01Smrgfi
2323a5a92c01Smrg
23241fb077a1Smrgfi
2325a5a92c01SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
23261fb077a1Smrg
2327a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2328a5a92c01Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
23291fb077a1Smrgif test -z "$MKDIR_P"; then
2330a5a92c01Smrg  if ${ac_cv_path_mkdir+:} false; then :
2331a5a92c01Smrg  $as_echo_n "(cached) " >&6
23321fb077a1Smrgelse
23331fb077a1Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23341fb077a1Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
23351fb077a1Smrgdo
23361fb077a1Smrg  IFS=$as_save_IFS
23371fb077a1Smrg  test -z "$as_dir" && as_dir=.
2338a5a92c01Smrg    for ac_prog in mkdir gmkdir; do
23391fb077a1Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
23401fb077a1Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
23411fb077a1Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
23421fb077a1Smrg	     'mkdir (GNU coreutils) '* | \
23431fb077a1Smrg	     'mkdir (coreutils) '* | \
23441fb077a1Smrg	     'mkdir (fileutils) '4.1*)
23451fb077a1Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
23461fb077a1Smrg	       break 3;;
23471fb077a1Smrg	   esac
23481fb077a1Smrg	 done
23491fb077a1Smrg       done
2350a5a92c01Smrg  done
23511fb077a1SmrgIFS=$as_save_IFS
23521fb077a1Smrg
23531fb077a1Smrgfi
23541fb077a1Smrg
2355a5a92c01Smrg  test -d ./--version && rmdir ./--version
23561fb077a1Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
23571fb077a1Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
23581fb077a1Smrg  else
23591fb077a1Smrg    # As a last resort, use the slow shell script.  Don't cache a
23601fb077a1Smrg    # value for MKDIR_P within a source directory, because that will
23611fb077a1Smrg    # break other packages using the cache if that directory is
23621fb077a1Smrg    # removed, or if the value is a relative name.
23631fb077a1Smrg    MKDIR_P="$ac_install_sh -d"
23641fb077a1Smrg  fi
23651fb077a1Smrgfi
2366a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2367a5a92c01Smrg$as_echo "$MKDIR_P" >&6; }
23681fb077a1Smrg
23691fb077a1Smrgmkdir_p="$MKDIR_P"
23701fb077a1Smrgcase $mkdir_p in
23711fb077a1Smrg  [\\/$]* | ?:[\\/]*) ;;
23721fb077a1Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
23731fb077a1Smrgesac
23741fb077a1Smrg
23751fb077a1Smrgfor ac_prog in gawk mawk nawk awk
23761fb077a1Smrgdo
23771fb077a1Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
23781fb077a1Smrgset dummy $ac_prog; ac_word=$2
2379a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2381a5a92c01Smrgif ${ac_cv_prog_AWK+:} false; then :
2382a5a92c01Smrg  $as_echo_n "(cached) " >&6
23831fb077a1Smrgelse
23841fb077a1Smrg  if test -n "$AWK"; then
23851fb077a1Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
23861fb077a1Smrgelse
23871fb077a1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23881fb077a1Smrgfor as_dir in $PATH
23891fb077a1Smrgdo
23901fb077a1Smrg  IFS=$as_save_IFS
23911fb077a1Smrg  test -z "$as_dir" && as_dir=.
2392a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
23931fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23941fb077a1Smrg    ac_cv_prog_AWK="$ac_prog"
2395a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23961fb077a1Smrg    break 2
23971fb077a1Smrg  fi
23981fb077a1Smrgdone
2399a5a92c01Smrg  done
24001fb077a1SmrgIFS=$as_save_IFS
24011fb077a1Smrg
24021fb077a1Smrgfi
24031fb077a1Smrgfi
24041fb077a1SmrgAWK=$ac_cv_prog_AWK
24051fb077a1Smrgif test -n "$AWK"; then
2406a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2407a5a92c01Smrg$as_echo "$AWK" >&6; }
24081fb077a1Smrgelse
2409a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410a5a92c01Smrg$as_echo "no" >&6; }
24111fb077a1Smrgfi
24121fb077a1Smrg
24131fb077a1Smrg
24141fb077a1Smrg  test -n "$AWK" && break
24151fb077a1Smrgdone
24161fb077a1Smrg
2417a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2418a5a92c01Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2419a5a92c01Smrgset x ${MAKE-make}
2420a5a92c01Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2421a5a92c01Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2422a5a92c01Smrg  $as_echo_n "(cached) " >&6
24231fb077a1Smrgelse
24241fb077a1Smrg  cat >conftest.make <<\_ACEOF
24251fb077a1SmrgSHELL = /bin/sh
24261fb077a1Smrgall:
24271fb077a1Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
24281fb077a1Smrg_ACEOF
2429a5a92c01Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24301fb077a1Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
24311fb077a1Smrg  *@@@%%%=?*=@@@%%%*)
24321fb077a1Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
24331fb077a1Smrg  *)
24341fb077a1Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
24351fb077a1Smrgesac
24361fb077a1Smrgrm -f conftest.make
24371fb077a1Smrgfi
24381fb077a1Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2439a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2440a5a92c01Smrg$as_echo "yes" >&6; }
24411fb077a1Smrg  SET_MAKE=
24421fb077a1Smrgelse
2443a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2444a5a92c01Smrg$as_echo "no" >&6; }
24451fb077a1Smrg  SET_MAKE="MAKE=${MAKE-make}"
24461fb077a1Smrgfi
24471fb077a1Smrg
24481fb077a1Smrgrm -rf .tst 2>/dev/null
24491fb077a1Smrgmkdir .tst 2>/dev/null
24501fb077a1Smrgif test -d .tst; then
24511fb077a1Smrg  am__leading_dot=.
24521fb077a1Smrgelse
24531fb077a1Smrg  am__leading_dot=_
24541fb077a1Smrgfi
24551fb077a1Smrgrmdir .tst 2>/dev/null
24561fb077a1Smrg
24571fb077a1Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
24581fb077a1Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
24591fb077a1Smrg  # is not polluted with repeated "-I."
24601fb077a1Smrg  am__isrc=' -I$(srcdir)'
24611fb077a1Smrg  # test to see if srcdir already configured
24621fb077a1Smrg  if test -f $srcdir/config.status; then
2463a5a92c01Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
24641fb077a1Smrg  fi
24651fb077a1Smrgfi
24661fb077a1Smrg
24671fb077a1Smrg# test whether we have cygpath
24681fb077a1Smrgif test -z "$CYGPATH_W"; then
24691fb077a1Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
24701fb077a1Smrg    CYGPATH_W='cygpath -w'
24711fb077a1Smrg  else
24721fb077a1Smrg    CYGPATH_W=echo
24731fb077a1Smrg  fi
24741fb077a1Smrgfi
24751fb077a1Smrg
24761fb077a1Smrg
24771fb077a1Smrg# Define the identity of the package.
24781fb077a1Smrg PACKAGE='ico'
2479a5a92c01Smrg VERSION='1.0.3'
24801fb077a1Smrg
24811fb077a1Smrg
24821fb077a1Smrgcat >>confdefs.h <<_ACEOF
24831fb077a1Smrg#define PACKAGE "$PACKAGE"
24841fb077a1Smrg_ACEOF
24851fb077a1Smrg
24861fb077a1Smrg
24871fb077a1Smrgcat >>confdefs.h <<_ACEOF
24881fb077a1Smrg#define VERSION "$VERSION"
24891fb077a1Smrg_ACEOF
24901fb077a1Smrg
24911fb077a1Smrg# Some tools Automake needs.
24921fb077a1Smrg
24931fb077a1SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
24941fb077a1Smrg
24951fb077a1Smrg
24961fb077a1SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
24971fb077a1Smrg
24981fb077a1Smrg
24991fb077a1SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
25001fb077a1Smrg
25011fb077a1Smrg
25021fb077a1SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
25031fb077a1Smrg
25041fb077a1Smrg
25051fb077a1SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
25061fb077a1Smrg
25071fb077a1Smrg# We need awk for the "check" target.  The system "awk" is bad on
25081fb077a1Smrg# some platforms.
25091fb077a1Smrg# Always define AMTAR for backward compatibility.
25101fb077a1Smrg
25111fb077a1SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
25121fb077a1Smrg
25131fb077a1Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
25141fb077a1Smrg
25151fb077a1Smrg
25161fb077a1Smrg
25171fb077a1Smrg
25181fb077a1Smrg
2519a5a92c01Smrg
2520a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2521a5a92c01Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
25221fb077a1Smrg    # Check whether --enable-maintainer-mode was given.
2523a5a92c01Smrgif test "${enable_maintainer_mode+set}" = set; then :
25241fb077a1Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
25251fb077a1Smrgelse
25261fb077a1Smrg  USE_MAINTAINER_MODE=no
25271fb077a1Smrgfi
25281fb077a1Smrg
2529a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2530a5a92c01Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
25311fb077a1Smrg   if test $USE_MAINTAINER_MODE = yes; then
25321fb077a1Smrg  MAINTAINER_MODE_TRUE=
25331fb077a1Smrg  MAINTAINER_MODE_FALSE='#'
25341fb077a1Smrgelse
25351fb077a1Smrg  MAINTAINER_MODE_TRUE='#'
25361fb077a1Smrg  MAINTAINER_MODE_FALSE=
25371fb077a1Smrgfi
25381fb077a1Smrg
25391fb077a1Smrg  MAINT=$MAINTAINER_MODE_TRUE
25401fb077a1Smrg
25411fb077a1Smrg
25421fb077a1Smrg
2543a5a92c01Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2544a5a92c01Smrg
2545a5a92c01Smrg
2546a5a92c01Smrg
2547a5a92c01Smrg
2548a5a92c01Smrg
2549a5a92c01Smrg
2550a5a92c01Smrg
2551a5a92c01Smrg
2552a5a92c01Smrg
2553a5a92c01Smrg
2554a5a92c01Smrg
2555a5a92c01SmrgDEPDIR="${am__leading_dot}deps"
2556a5a92c01Smrg
2557a5a92c01Smrgac_config_commands="$ac_config_commands depfiles"
2558a5a92c01Smrg
2559a5a92c01Smrg
2560a5a92c01Smrgam_make=${MAKE-make}
2561a5a92c01Smrgcat > confinc << 'END'
2562a5a92c01Smrgam__doit:
2563a5a92c01Smrg	@echo this is the am__doit target
2564a5a92c01Smrg.PHONY: am__doit
2565a5a92c01SmrgEND
2566a5a92c01Smrg# If we don't find an include directive, just comment out the code.
2567a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2568a5a92c01Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
2569a5a92c01Smrgam__include="#"
2570a5a92c01Smrgam__quote=
2571a5a92c01Smrg_am_result=none
2572a5a92c01Smrg# First try GNU make style include.
2573a5a92c01Smrgecho "include confinc" > confmf
2574a5a92c01Smrg# Ignore all kinds of additional output from `make'.
2575a5a92c01Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
2576a5a92c01Smrg*the\ am__doit\ target*)
2577a5a92c01Smrg  am__include=include
2578a5a92c01Smrg  am__quote=
2579a5a92c01Smrg  _am_result=GNU
2580a5a92c01Smrg  ;;
2581a5a92c01Smrgesac
2582a5a92c01Smrg# Now try BSD make style include.
2583a5a92c01Smrgif test "$am__include" = "#"; then
2584a5a92c01Smrg   echo '.include "confinc"' > confmf
2585a5a92c01Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
2586a5a92c01Smrg   *the\ am__doit\ target*)
2587a5a92c01Smrg     am__include=.include
2588a5a92c01Smrg     am__quote="\""
2589a5a92c01Smrg     _am_result=BSD
2590a5a92c01Smrg     ;;
2591a5a92c01Smrg   esac
2592a5a92c01Smrgfi
2593a5a92c01Smrg
2594a5a92c01Smrg
2595a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2596a5a92c01Smrg$as_echo "$_am_result" >&6; }
2597a5a92c01Smrgrm -f confinc confmf
2598a5a92c01Smrg
2599a5a92c01Smrg# Check whether --enable-dependency-tracking was given.
2600a5a92c01Smrgif test "${enable_dependency_tracking+set}" = set; then :
2601a5a92c01Smrg  enableval=$enable_dependency_tracking;
2602a5a92c01Smrgfi
2603a5a92c01Smrg
2604a5a92c01Smrgif test "x$enable_dependency_tracking" != xno; then
2605a5a92c01Smrg  am_depcomp="$ac_aux_dir/depcomp"
2606a5a92c01Smrg  AMDEPBACKSLASH='\'
2607a5a92c01Smrgfi
2608a5a92c01Smrg if test "x$enable_dependency_tracking" != xno; then
2609a5a92c01Smrg  AMDEP_TRUE=
2610a5a92c01Smrg  AMDEP_FALSE='#'
2611a5a92c01Smrgelse
2612a5a92c01Smrg  AMDEP_TRUE='#'
2613a5a92c01Smrg  AMDEP_FALSE=
2614a5a92c01Smrgfi
26151fb077a1Smrg
26161fb077a1Smrg
26171fb077a1Smrgac_ext=c
26181fb077a1Smrgac_cpp='$CPP $CPPFLAGS'
26191fb077a1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26201fb077a1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26211fb077a1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
26221fb077a1Smrgif test -n "$ac_tool_prefix"; then
26231fb077a1Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
26241fb077a1Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
2625a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2627a5a92c01Smrgif ${ac_cv_prog_CC+:} false; then :
2628a5a92c01Smrg  $as_echo_n "(cached) " >&6
26291fb077a1Smrgelse
26301fb077a1Smrg  if test -n "$CC"; then
26311fb077a1Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
26321fb077a1Smrgelse
26331fb077a1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26341fb077a1Smrgfor as_dir in $PATH
26351fb077a1Smrgdo
26361fb077a1Smrg  IFS=$as_save_IFS
26371fb077a1Smrg  test -z "$as_dir" && as_dir=.
2638a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
26391fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26401fb077a1Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2641a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26421fb077a1Smrg    break 2
26431fb077a1Smrg  fi
26441fb077a1Smrgdone
2645a5a92c01Smrg  done
26461fb077a1SmrgIFS=$as_save_IFS
26471fb077a1Smrg
26481fb077a1Smrgfi
26491fb077a1Smrgfi
26501fb077a1SmrgCC=$ac_cv_prog_CC
26511fb077a1Smrgif test -n "$CC"; then
2652a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2653a5a92c01Smrg$as_echo "$CC" >&6; }
26541fb077a1Smrgelse
2655a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656a5a92c01Smrg$as_echo "no" >&6; }
26571fb077a1Smrgfi
26581fb077a1Smrg
26591fb077a1Smrg
26601fb077a1Smrgfi
26611fb077a1Smrgif test -z "$ac_cv_prog_CC"; then
26621fb077a1Smrg  ac_ct_CC=$CC
26631fb077a1Smrg  # Extract the first word of "gcc", so it can be a program name with args.
26641fb077a1Smrgset dummy gcc; ac_word=$2
2665a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2667a5a92c01Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2668a5a92c01Smrg  $as_echo_n "(cached) " >&6
26691fb077a1Smrgelse
26701fb077a1Smrg  if test -n "$ac_ct_CC"; then
26711fb077a1Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
26721fb077a1Smrgelse
26731fb077a1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26741fb077a1Smrgfor as_dir in $PATH
26751fb077a1Smrgdo
26761fb077a1Smrg  IFS=$as_save_IFS
26771fb077a1Smrg  test -z "$as_dir" && as_dir=.
2678a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
26791fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26801fb077a1Smrg    ac_cv_prog_ac_ct_CC="gcc"
2681a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26821fb077a1Smrg    break 2
26831fb077a1Smrg  fi
26841fb077a1Smrgdone
2685a5a92c01Smrg  done
26861fb077a1SmrgIFS=$as_save_IFS
26871fb077a1Smrg
26881fb077a1Smrgfi
26891fb077a1Smrgfi
26901fb077a1Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
26911fb077a1Smrgif test -n "$ac_ct_CC"; then
2692a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2693a5a92c01Smrg$as_echo "$ac_ct_CC" >&6; }
26941fb077a1Smrgelse
2695a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696a5a92c01Smrg$as_echo "no" >&6; }
26971fb077a1Smrgfi
26981fb077a1Smrg
26991fb077a1Smrg  if test "x$ac_ct_CC" = x; then
27001fb077a1Smrg    CC=""
27011fb077a1Smrg  else
27021fb077a1Smrg    case $cross_compiling:$ac_tool_warned in
27031fb077a1Smrgyes:)
2704a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2705a5a92c01Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27061fb077a1Smrgac_tool_warned=yes ;;
27071fb077a1Smrgesac
27081fb077a1Smrg    CC=$ac_ct_CC
27091fb077a1Smrg  fi
27101fb077a1Smrgelse
27111fb077a1Smrg  CC="$ac_cv_prog_CC"
27121fb077a1Smrgfi
27131fb077a1Smrg
27141fb077a1Smrgif test -z "$CC"; then
27151fb077a1Smrg          if test -n "$ac_tool_prefix"; then
27161fb077a1Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
27171fb077a1Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
2718a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2720a5a92c01Smrgif ${ac_cv_prog_CC+:} false; then :
2721a5a92c01Smrg  $as_echo_n "(cached) " >&6
27221fb077a1Smrgelse
27231fb077a1Smrg  if test -n "$CC"; then
27241fb077a1Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
27251fb077a1Smrgelse
27261fb077a1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27271fb077a1Smrgfor as_dir in $PATH
27281fb077a1Smrgdo
27291fb077a1Smrg  IFS=$as_save_IFS
27301fb077a1Smrg  test -z "$as_dir" && as_dir=.
2731a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
27321fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27331fb077a1Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
2734a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27351fb077a1Smrg    break 2
27361fb077a1Smrg  fi
27371fb077a1Smrgdone
2738a5a92c01Smrg  done
27391fb077a1SmrgIFS=$as_save_IFS
27401fb077a1Smrg
27411fb077a1Smrgfi
27421fb077a1Smrgfi
27431fb077a1SmrgCC=$ac_cv_prog_CC
27441fb077a1Smrgif test -n "$CC"; then
2745a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2746a5a92c01Smrg$as_echo "$CC" >&6; }
27471fb077a1Smrgelse
2748a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749a5a92c01Smrg$as_echo "no" >&6; }
27501fb077a1Smrgfi
27511fb077a1Smrg
27521fb077a1Smrg
27531fb077a1Smrg  fi
27541fb077a1Smrgfi
27551fb077a1Smrgif test -z "$CC"; then
27561fb077a1Smrg  # Extract the first word of "cc", so it can be a program name with args.
27571fb077a1Smrgset dummy cc; ac_word=$2
2758a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2760a5a92c01Smrgif ${ac_cv_prog_CC+:} false; then :
2761a5a92c01Smrg  $as_echo_n "(cached) " >&6
27621fb077a1Smrgelse
27631fb077a1Smrg  if test -n "$CC"; then
27641fb077a1Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
27651fb077a1Smrgelse
27661fb077a1Smrg  ac_prog_rejected=no
27671fb077a1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27681fb077a1Smrgfor as_dir in $PATH
27691fb077a1Smrgdo
27701fb077a1Smrg  IFS=$as_save_IFS
27711fb077a1Smrg  test -z "$as_dir" && as_dir=.
2772a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
27731fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27741fb077a1Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
27751fb077a1Smrg       ac_prog_rejected=yes
27761fb077a1Smrg       continue
27771fb077a1Smrg     fi
27781fb077a1Smrg    ac_cv_prog_CC="cc"
2779a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27801fb077a1Smrg    break 2
27811fb077a1Smrg  fi
27821fb077a1Smrgdone
2783a5a92c01Smrg  done
27841fb077a1SmrgIFS=$as_save_IFS
27851fb077a1Smrg
27861fb077a1Smrgif test $ac_prog_rejected = yes; then
27871fb077a1Smrg  # We found a bogon in the path, so make sure we never use it.
27881fb077a1Smrg  set dummy $ac_cv_prog_CC
27891fb077a1Smrg  shift
27901fb077a1Smrg  if test $# != 0; then
27911fb077a1Smrg    # We chose a different compiler from the bogus one.
27921fb077a1Smrg    # However, it has the same basename, so the bogon will be chosen
27931fb077a1Smrg    # first if we set CC to just the basename; use the full file name.
27941fb077a1Smrg    shift
27951fb077a1Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
27961fb077a1Smrg  fi
27971fb077a1Smrgfi
27981fb077a1Smrgfi
27991fb077a1Smrgfi
28001fb077a1SmrgCC=$ac_cv_prog_CC
28011fb077a1Smrgif test -n "$CC"; then
2802a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2803a5a92c01Smrg$as_echo "$CC" >&6; }
28041fb077a1Smrgelse
2805a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806a5a92c01Smrg$as_echo "no" >&6; }
28071fb077a1Smrgfi
28081fb077a1Smrg
28091fb077a1Smrg
28101fb077a1Smrgfi
28111fb077a1Smrgif test -z "$CC"; then
28121fb077a1Smrg  if test -n "$ac_tool_prefix"; then
28131fb077a1Smrg  for ac_prog in cl.exe
28141fb077a1Smrg  do
28151fb077a1Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
28161fb077a1Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
2817a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2819a5a92c01Smrgif ${ac_cv_prog_CC+:} false; then :
2820a5a92c01Smrg  $as_echo_n "(cached) " >&6
28211fb077a1Smrgelse
28221fb077a1Smrg  if test -n "$CC"; then
28231fb077a1Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
28241fb077a1Smrgelse
28251fb077a1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28261fb077a1Smrgfor as_dir in $PATH
28271fb077a1Smrgdo
28281fb077a1Smrg  IFS=$as_save_IFS
28291fb077a1Smrg  test -z "$as_dir" && as_dir=.
2830a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
28311fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28321fb077a1Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2833a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28341fb077a1Smrg    break 2
28351fb077a1Smrg  fi
28361fb077a1Smrgdone
2837a5a92c01Smrg  done
28381fb077a1SmrgIFS=$as_save_IFS
28391fb077a1Smrg
28401fb077a1Smrgfi
28411fb077a1Smrgfi
28421fb077a1SmrgCC=$ac_cv_prog_CC
28431fb077a1Smrgif test -n "$CC"; then
2844a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2845a5a92c01Smrg$as_echo "$CC" >&6; }
28461fb077a1Smrgelse
2847a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848a5a92c01Smrg$as_echo "no" >&6; }
28491fb077a1Smrgfi
28501fb077a1Smrg
28511fb077a1Smrg
28521fb077a1Smrg    test -n "$CC" && break
28531fb077a1Smrg  done
28541fb077a1Smrgfi
28551fb077a1Smrgif test -z "$CC"; then
28561fb077a1Smrg  ac_ct_CC=$CC
28571fb077a1Smrg  for ac_prog in cl.exe
28581fb077a1Smrgdo
28591fb077a1Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
28601fb077a1Smrgset dummy $ac_prog; ac_word=$2
2861a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
2863a5a92c01Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
2864a5a92c01Smrg  $as_echo_n "(cached) " >&6
28651fb077a1Smrgelse
28661fb077a1Smrg  if test -n "$ac_ct_CC"; then
28671fb077a1Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28681fb077a1Smrgelse
28691fb077a1Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28701fb077a1Smrgfor as_dir in $PATH
28711fb077a1Smrgdo
28721fb077a1Smrg  IFS=$as_save_IFS
28731fb077a1Smrg  test -z "$as_dir" && as_dir=.
2874a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
28751fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28761fb077a1Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
2877a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28781fb077a1Smrg    break 2
28791fb077a1Smrg  fi
28801fb077a1Smrgdone
2881a5a92c01Smrg  done
28821fb077a1SmrgIFS=$as_save_IFS
28831fb077a1Smrg
28841fb077a1Smrgfi
28851fb077a1Smrgfi
28861fb077a1Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
28871fb077a1Smrgif test -n "$ac_ct_CC"; then
2888a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2889a5a92c01Smrg$as_echo "$ac_ct_CC" >&6; }
28901fb077a1Smrgelse
2891a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892a5a92c01Smrg$as_echo "no" >&6; }
28931fb077a1Smrgfi
28941fb077a1Smrg
28951fb077a1Smrg
28961fb077a1Smrg  test -n "$ac_ct_CC" && break
28971fb077a1Smrgdone
28981fb077a1Smrg
28991fb077a1Smrg  if test "x$ac_ct_CC" = x; then
29001fb077a1Smrg    CC=""
29011fb077a1Smrg  else
29021fb077a1Smrg    case $cross_compiling:$ac_tool_warned in
29031fb077a1Smrgyes:)
2904a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2905a5a92c01Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
29061fb077a1Smrgac_tool_warned=yes ;;
29071fb077a1Smrgesac
29081fb077a1Smrg    CC=$ac_ct_CC
29091fb077a1Smrg  fi
29101fb077a1Smrgfi
29111fb077a1Smrg
29121fb077a1Smrgfi
29131fb077a1Smrg
29141fb077a1Smrg
2915a5a92c01Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917a5a92c01Smrgas_fn_error $? "no acceptable C compiler found in \$PATH
2918a5a92c01SmrgSee \`config.log' for more details" "$LINENO" 5; }
29191fb077a1Smrg
29201fb077a1Smrg# Provide some information about the compiler.
2921a5a92c01Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2922a5a92c01Smrgset X $ac_compile
2923a5a92c01Smrgac_compiler=$2
2924a5a92c01Smrgfor ac_option in --version -v -V -qversion; do
2925a5a92c01Smrg  { { ac_try="$ac_compiler $ac_option >&5"
29261fb077a1Smrgcase "(($ac_try" in
29271fb077a1Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29281fb077a1Smrg  *) ac_try_echo=$ac_try;;
29291fb077a1Smrgesac
2930a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
2932a5a92c01Smrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
29331fb077a1Smrg  ac_status=$?
2934a5a92c01Smrg  if test -s conftest.err; then
2935a5a92c01Smrg    sed '10a\
2936a5a92c01Smrg... rest of stderr output deleted ...
2937a5a92c01Smrg         10q' conftest.err >conftest.er1
2938a5a92c01Smrg    cat conftest.er1 >&5
2939a5a92c01Smrg  fi
2940a5a92c01Smrg  rm -f conftest.er1 conftest.err
2941a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2942a5a92c01Smrg  test $ac_status = 0; }
2943a5a92c01Smrgdone
29441fb077a1Smrg
2945a5a92c01Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
29461fb077a1Smrg/* end confdefs.h.  */
29471fb077a1Smrg
29481fb077a1Smrgint
29491fb077a1Smrgmain ()
29501fb077a1Smrg{
29511fb077a1Smrg
29521fb077a1Smrg  ;
29531fb077a1Smrg  return 0;
29541fb077a1Smrg}
29551fb077a1Smrg_ACEOF
29561fb077a1Smrgac_clean_files_save=$ac_clean_files
2957a5a92c01Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
29581fb077a1Smrg# Try to create an executable without -o first, disregard a.out.
29591fb077a1Smrg# It will help us diagnose broken compilers, and finding out an intuition
29601fb077a1Smrg# of exeext.
2961a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2962a5a92c01Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
2963a5a92c01Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2964a5a92c01Smrg
2965a5a92c01Smrg# The possible output files:
2966a5a92c01Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2967a5a92c01Smrg
29681fb077a1Smrgac_rmfiles=
29691fb077a1Smrgfor ac_file in $ac_files
29701fb077a1Smrgdo
29711fb077a1Smrg  case $ac_file in
2972a5a92c01Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
29731fb077a1Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
29741fb077a1Smrg  esac
29751fb077a1Smrgdone
29761fb077a1Smrgrm -f $ac_rmfiles
29771fb077a1Smrg
2978a5a92c01Smrgif { { ac_try="$ac_link_default"
29791fb077a1Smrgcase "(($ac_try" in
29801fb077a1Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29811fb077a1Smrg  *) ac_try_echo=$ac_try;;
29821fb077a1Smrgesac
2983a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
29851fb077a1Smrg  (eval "$ac_link_default") 2>&5
29861fb077a1Smrg  ac_status=$?
2987a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988a5a92c01Smrg  test $ac_status = 0; }; then :
29891fb077a1Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
29901fb077a1Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
29911fb077a1Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
29921fb077a1Smrg# so that the user can short-circuit this test for compilers unknown to
29931fb077a1Smrg# Autoconf.
29941fb077a1Smrgfor ac_file in $ac_files ''
29951fb077a1Smrgdo
29961fb077a1Smrg  test -f "$ac_file" || continue
29971fb077a1Smrg  case $ac_file in
2998a5a92c01Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
29991fb077a1Smrg	;;
30001fb077a1Smrg    [ab].out )
30011fb077a1Smrg	# We found the default executable, but exeext='' is most
30021fb077a1Smrg	# certainly right.
30031fb077a1Smrg	break;;
30041fb077a1Smrg    *.* )
3005a5a92c01Smrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
30061fb077a1Smrg	then :; else
30071fb077a1Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30081fb077a1Smrg	fi
30091fb077a1Smrg	# We set ac_cv_exeext here because the later test for it is not
30101fb077a1Smrg	# safe: cross compilers may not add the suffix if given an `-o'
30111fb077a1Smrg	# argument, so we may need to know it at that point already.
30121fb077a1Smrg	# Even if this section looks crufty: it has the advantage of
30131fb077a1Smrg	# actually working.
30141fb077a1Smrg	break;;
30151fb077a1Smrg    * )
30161fb077a1Smrg	break;;
30171fb077a1Smrg  esac
30181fb077a1Smrgdone
30191fb077a1Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
30201fb077a1Smrg
30211fb077a1Smrgelse
30221fb077a1Smrg  ac_file=''
30231fb077a1Smrgfi
3024a5a92c01Smrgif test -z "$ac_file"; then :
3025a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026a5a92c01Smrg$as_echo "no" >&6; }
3027a5a92c01Smrg$as_echo "$as_me: failed program was:" >&5
30281fb077a1Smrgsed 's/^/| /' conftest.$ac_ext >&5
30291fb077a1Smrg
3030a5a92c01Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032a5a92c01Smrgas_fn_error 77 "C compiler cannot create executables
3033a5a92c01SmrgSee \`config.log' for more details" "$LINENO" 5; }
3034a5a92c01Smrgelse
3035a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3036a5a92c01Smrg$as_echo "yes" >&6; }
30371fb077a1Smrgfi
3038a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3039a5a92c01Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
3040a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3041a5a92c01Smrg$as_echo "$ac_file" >&6; }
30421fb077a1Smrgac_exeext=$ac_cv_exeext
30431fb077a1Smrg
3044a5a92c01Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
30451fb077a1Smrgac_clean_files=$ac_clean_files_save
3046a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3047a5a92c01Smrg$as_echo_n "checking for suffix of executables... " >&6; }
3048a5a92c01Smrgif { { ac_try="$ac_link"
30491fb077a1Smrgcase "(($ac_try" in
30501fb077a1Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30511fb077a1Smrg  *) ac_try_echo=$ac_try;;
30521fb077a1Smrgesac
3053a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
30551fb077a1Smrg  (eval "$ac_link") 2>&5
30561fb077a1Smrg  ac_status=$?
3057a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058a5a92c01Smrg  test $ac_status = 0; }; then :
30591fb077a1Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
30601fb077a1Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
30611fb077a1Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
30621fb077a1Smrg# `rm'.
30631fb077a1Smrgfor ac_file in conftest.exe conftest conftest.*; do
30641fb077a1Smrg  test -f "$ac_file" || continue
30651fb077a1Smrg  case $ac_file in
3066a5a92c01Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
30671fb077a1Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30681fb077a1Smrg	  break;;
30691fb077a1Smrg    * ) break;;
30701fb077a1Smrg  esac
30711fb077a1Smrgdone
30721fb077a1Smrgelse
3073a5a92c01Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075a5a92c01Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link
3076a5a92c01SmrgSee \`config.log' for more details" "$LINENO" 5; }
30771fb077a1Smrgfi
3078a5a92c01Smrgrm -f conftest conftest$ac_cv_exeext
3079a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3080a5a92c01Smrg$as_echo "$ac_cv_exeext" >&6; }
30811fb077a1Smrg
30821fb077a1Smrgrm -f conftest.$ac_ext
30831fb077a1SmrgEXEEXT=$ac_cv_exeext
30841fb077a1Smrgac_exeext=$EXEEXT
3085a5a92c01Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086a5a92c01Smrg/* end confdefs.h.  */
3087a5a92c01Smrg#include <stdio.h>
3088a5a92c01Smrgint
3089a5a92c01Smrgmain ()
3090a5a92c01Smrg{
3091a5a92c01SmrgFILE *f = fopen ("conftest.out", "w");
3092a5a92c01Smrg return ferror (f) || fclose (f) != 0;
3093a5a92c01Smrg
3094a5a92c01Smrg  ;
3095a5a92c01Smrg  return 0;
3096a5a92c01Smrg}
30971fb077a1Smrg_ACEOF
3098a5a92c01Smrgac_clean_files="$ac_clean_files conftest.out"
3099a5a92c01Smrg# Check that the compiler produces executables we can run.  If not, either
3100a5a92c01Smrg# the compiler is broken, or we cross compile.
3101a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3102a5a92c01Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
3103a5a92c01Smrgif test "$cross_compiling" != yes; then
3104a5a92c01Smrg  { { ac_try="$ac_link"
3105a5a92c01Smrgcase "(($ac_try" in
3106a5a92c01Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107a5a92c01Smrg  *) ac_try_echo=$ac_try;;
3108a5a92c01Smrgesac
3109a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
3111a5a92c01Smrg  (eval "$ac_link") 2>&5
3112a5a92c01Smrg  ac_status=$?
3113a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114a5a92c01Smrg  test $ac_status = 0; }
3115a5a92c01Smrg  if { ac_try='./conftest$ac_cv_exeext'
3116a5a92c01Smrg  { { case "(($ac_try" in
3117a5a92c01Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118a5a92c01Smrg  *) ac_try_echo=$ac_try;;
3119a5a92c01Smrgesac
3120a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
3122a5a92c01Smrg  (eval "$ac_try") 2>&5
3123a5a92c01Smrg  ac_status=$?
3124a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125a5a92c01Smrg  test $ac_status = 0; }; }; then
3126a5a92c01Smrg    cross_compiling=no
3127a5a92c01Smrg  else
3128a5a92c01Smrg    if test "$cross_compiling" = maybe; then
3129a5a92c01Smrg	cross_compiling=yes
3130a5a92c01Smrg    else
3131a5a92c01Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133a5a92c01Smrgas_fn_error $? "cannot run C compiled programs.
3134a5a92c01SmrgIf you meant to cross compile, use \`--host'.
3135a5a92c01SmrgSee \`config.log' for more details" "$LINENO" 5; }
3136a5a92c01Smrg    fi
3137a5a92c01Smrg  fi
3138a5a92c01Smrgfi
3139a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3140a5a92c01Smrg$as_echo "$cross_compiling" >&6; }
3141a5a92c01Smrg
3142a5a92c01Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3143a5a92c01Smrgac_clean_files=$ac_clean_files_save
3144a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3145a5a92c01Smrg$as_echo_n "checking for suffix of object files... " >&6; }
3146a5a92c01Smrgif ${ac_cv_objext+:} false; then :
3147a5a92c01Smrg  $as_echo_n "(cached) " >&6
3148a5a92c01Smrgelse
3149a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31501fb077a1Smrg/* end confdefs.h.  */
31511fb077a1Smrg
31521fb077a1Smrgint
31531fb077a1Smrgmain ()
31541fb077a1Smrg{
31551fb077a1Smrg
31561fb077a1Smrg  ;
31571fb077a1Smrg  return 0;
31581fb077a1Smrg}
31591fb077a1Smrg_ACEOF
31601fb077a1Smrgrm -f conftest.o conftest.obj
3161a5a92c01Smrgif { { ac_try="$ac_compile"
31621fb077a1Smrgcase "(($ac_try" in
31631fb077a1Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31641fb077a1Smrg  *) ac_try_echo=$ac_try;;
31651fb077a1Smrgesac
3166a5a92c01Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167a5a92c01Smrg$as_echo "$ac_try_echo"; } >&5
31681fb077a1Smrg  (eval "$ac_compile") 2>&5
31691fb077a1Smrg  ac_status=$?
3170a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171a5a92c01Smrg  test $ac_status = 0; }; then :
31721fb077a1Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
31731fb077a1Smrg  test -f "$ac_file" || continue;
31741fb077a1Smrg  case $ac_file in
3175a5a92c01Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
31761fb077a1Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
31771fb077a1Smrg       break;;
31781fb077a1Smrg  esac
31791fb077a1Smrgdone
31801fb077a1Smrgelse
3181a5a92c01Smrg  $as_echo "$as_me: failed program was:" >&5
31821fb077a1Smrgsed 's/^/| /' conftest.$ac_ext >&5
31831fb077a1Smrg
3184a5a92c01Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186a5a92c01Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile
3187a5a92c01SmrgSee \`config.log' for more details" "$LINENO" 5; }
31881fb077a1Smrgfi
31891fb077a1Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
31901fb077a1Smrgfi
3191a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3192a5a92c01Smrg$as_echo "$ac_cv_objext" >&6; }
31931fb077a1SmrgOBJEXT=$ac_cv_objext
31941fb077a1Smrgac_objext=$OBJEXT
3195a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3196a5a92c01Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3197a5a92c01Smrgif ${ac_cv_c_compiler_gnu+:} false; then :
3198a5a92c01Smrg  $as_echo_n "(cached) " >&6
31991fb077a1Smrgelse
3200a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32011fb077a1Smrg/* end confdefs.h.  */
32021fb077a1Smrg
32031fb077a1Smrgint
32041fb077a1Smrgmain ()
32051fb077a1Smrg{
32061fb077a1Smrg#ifndef __GNUC__
32071fb077a1Smrg       choke me
32081fb077a1Smrg#endif
32091fb077a1Smrg
32101fb077a1Smrg  ;
32111fb077a1Smrg  return 0;
32121fb077a1Smrg}
32131fb077a1Smrg_ACEOF
3214a5a92c01Smrgif ac_fn_c_try_compile "$LINENO"; then :
32151fb077a1Smrg  ac_compiler_gnu=yes
32161fb077a1Smrgelse
3217a5a92c01Smrg  ac_compiler_gnu=no
32181fb077a1Smrgfi
32191fb077a1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32201fb077a1Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
32211fb077a1Smrg
32221fb077a1Smrgfi
3223a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3224a5a92c01Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3225a5a92c01Smrgif test $ac_compiler_gnu = yes; then
3226a5a92c01Smrg  GCC=yes
3227a5a92c01Smrgelse
3228a5a92c01Smrg  GCC=
3229a5a92c01Smrgfi
32301fb077a1Smrgac_test_CFLAGS=${CFLAGS+set}
32311fb077a1Smrgac_save_CFLAGS=$CFLAGS
3232a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3233a5a92c01Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
3234a5a92c01Smrgif ${ac_cv_prog_cc_g+:} false; then :
3235a5a92c01Smrg  $as_echo_n "(cached) " >&6
32361fb077a1Smrgelse
32371fb077a1Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
32381fb077a1Smrg   ac_c_werror_flag=yes
32391fb077a1Smrg   ac_cv_prog_cc_g=no
32401fb077a1Smrg   CFLAGS="-g"
3241a5a92c01Smrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32421fb077a1Smrg/* end confdefs.h.  */
32431fb077a1Smrg
32441fb077a1Smrgint
32451fb077a1Smrgmain ()
32461fb077a1Smrg{
32471fb077a1Smrg
32481fb077a1Smrg  ;
32491fb077a1Smrg  return 0;
32501fb077a1Smrg}
32511fb077a1Smrg_ACEOF
3252a5a92c01Smrgif ac_fn_c_try_compile "$LINENO"; then :
32531fb077a1Smrg  ac_cv_prog_cc_g=yes
32541fb077a1Smrgelse
3255a5a92c01Smrg  CFLAGS=""
3256a5a92c01Smrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32571fb077a1Smrg/* end confdefs.h.  */
32581fb077a1Smrg
32591fb077a1Smrgint
32601fb077a1Smrgmain ()
32611fb077a1Smrg{
32621fb077a1Smrg
32631fb077a1Smrg  ;
32641fb077a1Smrg  return 0;
32651fb077a1Smrg}
32661fb077a1Smrg_ACEOF
3267a5a92c01Smrgif ac_fn_c_try_compile "$LINENO"; then :
32681fb077a1Smrg
3269a5a92c01Smrgelse
3270a5a92c01Smrg  ac_c_werror_flag=$ac_save_c_werror_flag
32711fb077a1Smrg	 CFLAGS="-g"
3272a5a92c01Smrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32731fb077a1Smrg/* end confdefs.h.  */
32741fb077a1Smrg
32751fb077a1Smrgint
32761fb077a1Smrgmain ()
32771fb077a1Smrg{
32781fb077a1Smrg
32791fb077a1Smrg  ;
32801fb077a1Smrg  return 0;
32811fb077a1Smrg}
32821fb077a1Smrg_ACEOF
3283a5a92c01Smrgif ac_fn_c_try_compile "$LINENO"; then :
32841fb077a1Smrg  ac_cv_prog_cc_g=yes
32851fb077a1Smrgfi
32861fb077a1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32871fb077a1Smrgfi
32881fb077a1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32891fb077a1Smrgfi
32901fb077a1Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32911fb077a1Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
32921fb077a1Smrgfi
3293a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3294a5a92c01Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
32951fb077a1Smrgif test "$ac_test_CFLAGS" = set; then
32961fb077a1Smrg  CFLAGS=$ac_save_CFLAGS
32971fb077a1Smrgelif test $ac_cv_prog_cc_g = yes; then
32981fb077a1Smrg  if test "$GCC" = yes; then
32991fb077a1Smrg    CFLAGS="-g -O2"
33001fb077a1Smrg  else
33011fb077a1Smrg    CFLAGS="-g"
33021fb077a1Smrg  fi
33031fb077a1Smrgelse
33041fb077a1Smrg  if test "$GCC" = yes; then
33051fb077a1Smrg    CFLAGS="-O2"
33061fb077a1Smrg  else
33071fb077a1Smrg    CFLAGS=
33081fb077a1Smrg  fi
33091fb077a1Smrgfi
3310a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3311a5a92c01Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3312a5a92c01Smrgif ${ac_cv_prog_cc_c89+:} false; then :
3313a5a92c01Smrg  $as_echo_n "(cached) " >&6
33141fb077a1Smrgelse
33151fb077a1Smrg  ac_cv_prog_cc_c89=no
33161fb077a1Smrgac_save_CC=$CC
3317a5a92c01Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
33181fb077a1Smrg/* end confdefs.h.  */
33191fb077a1Smrg#include <stdarg.h>
33201fb077a1Smrg#include <stdio.h>
33211fb077a1Smrg#include <sys/types.h>
33221fb077a1Smrg#include <sys/stat.h>
33231fb077a1Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
33241fb077a1Smrgstruct buf { int x; };
33251fb077a1SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
33261fb077a1Smrgstatic char *e (p, i)
33271fb077a1Smrg     char **p;
33281fb077a1Smrg     int i;
33291fb077a1Smrg{
33301fb077a1Smrg  return p[i];
33311fb077a1Smrg}
33321fb077a1Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
33331fb077a1Smrg{
33341fb077a1Smrg  char *s;
33351fb077a1Smrg  va_list v;
33361fb077a1Smrg  va_start (v,p);
33371fb077a1Smrg  s = g (p, va_arg (v,int));
33381fb077a1Smrg  va_end (v);
33391fb077a1Smrg  return s;
33401fb077a1Smrg}
33411fb077a1Smrg
33421fb077a1Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
33431fb077a1Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
33441fb077a1Smrg   These don't provoke an error unfortunately, instead are silently treated
33451fb077a1Smrg   as 'x'.  The following induces an error, until -std is added to get
33461fb077a1Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
33471fb077a1Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
33481fb077a1Smrg   that's true only with -std.  */
33491fb077a1Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
33501fb077a1Smrg
33511fb077a1Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
33521fb077a1Smrg   inside strings and character constants.  */
33531fb077a1Smrg#define FOO(x) 'x'
33541fb077a1Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
33551fb077a1Smrg
33561fb077a1Smrgint test (int i, double x);
33571fb077a1Smrgstruct s1 {int (*f) (int a);};
33581fb077a1Smrgstruct s2 {int (*f) (double a);};
33591fb077a1Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
33601fb077a1Smrgint argc;
33611fb077a1Smrgchar **argv;
33621fb077a1Smrgint
33631fb077a1Smrgmain ()
33641fb077a1Smrg{
33651fb077a1Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
33661fb077a1Smrg  ;
33671fb077a1Smrg  return 0;
33681fb077a1Smrg}
33691fb077a1Smrg_ACEOF
33701fb077a1Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
33711fb077a1Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
33721fb077a1Smrgdo
33731fb077a1Smrg  CC="$ac_save_CC $ac_arg"
3374a5a92c01Smrg  if ac_fn_c_try_compile "$LINENO"; then :
33751fb077a1Smrg  ac_cv_prog_cc_c89=$ac_arg
3376a5a92c01Smrgfi
3377a5a92c01Smrgrm -f core conftest.err conftest.$ac_objext
3378a5a92c01Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
3379a5a92c01Smrgdone
3380a5a92c01Smrgrm -f conftest.$ac_ext
3381a5a92c01SmrgCC=$ac_save_CC
3382a5a92c01Smrg
3383a5a92c01Smrgfi
3384a5a92c01Smrg# AC_CACHE_VAL
3385a5a92c01Smrgcase "x$ac_cv_prog_cc_c89" in
3386a5a92c01Smrg  x)
3387a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3388a5a92c01Smrg$as_echo "none needed" >&6; } ;;
3389a5a92c01Smrg  xno)
3390a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3391a5a92c01Smrg$as_echo "unsupported" >&6; } ;;
3392a5a92c01Smrg  *)
3393a5a92c01Smrg    CC="$CC $ac_cv_prog_cc_c89"
3394a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3395a5a92c01Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3396a5a92c01Smrgesac
3397a5a92c01Smrgif test "x$ac_cv_prog_cc_c89" != xno; then :
3398a5a92c01Smrg
3399a5a92c01Smrgfi
3400a5a92c01Smrg
3401a5a92c01Smrgac_ext=c
3402a5a92c01Smrgac_cpp='$CPP $CPPFLAGS'
3403a5a92c01Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3404a5a92c01Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3405a5a92c01Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3406a5a92c01Smrg
3407a5a92c01Smrgdepcc="$CC"   am_compiler_list=
3408a5a92c01Smrg
3409a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3410a5a92c01Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
3411a5a92c01Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then :
3412a5a92c01Smrg  $as_echo_n "(cached) " >&6
34131fb077a1Smrgelse
3414a5a92c01Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3415a5a92c01Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
3416a5a92c01Smrg  # making bogus files that we don't know about and never remove.  For
3417a5a92c01Smrg  # instance it was reported that on HP-UX the gcc test will end up
3418a5a92c01Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
3419a5a92c01Smrg  # in D'.
3420a5a92c01Smrg  mkdir conftest.dir
3421a5a92c01Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
3422a5a92c01Smrg  # using a relative directory.
3423a5a92c01Smrg  cp "$am_depcomp" conftest.dir
3424a5a92c01Smrg  cd conftest.dir
3425a5a92c01Smrg  # We will build objects and dependencies in a subdirectory because
3426a5a92c01Smrg  # it helps to detect inapplicable dependency modes.  For instance
3427a5a92c01Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
3428a5a92c01Smrg  # side effect of compilation, but ICC will put the dependencies in
3429a5a92c01Smrg  # the current directory while Tru64 will put them in the object
3430a5a92c01Smrg  # directory.
3431a5a92c01Smrg  mkdir sub
3432a5a92c01Smrg
3433a5a92c01Smrg  am_cv_CC_dependencies_compiler_type=none
3434a5a92c01Smrg  if test "$am_compiler_list" = ""; then
3435a5a92c01Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3436a5a92c01Smrg  fi
3437a5a92c01Smrg  am__universal=false
3438a5a92c01Smrg  case " $depcc " in #(
3439a5a92c01Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3440a5a92c01Smrg     esac
3441a5a92c01Smrg
3442a5a92c01Smrg  for depmode in $am_compiler_list; do
3443a5a92c01Smrg    # Setup a source with many dependencies, because some compilers
3444a5a92c01Smrg    # like to wrap large dependency lists on column 80 (with \), and
3445a5a92c01Smrg    # we should not choose a depcomp mode which is confused by this.
3446a5a92c01Smrg    #
3447a5a92c01Smrg    # We need to recreate these files for each test, as the compiler may
3448a5a92c01Smrg    # overwrite some of them when testing with obscure command lines.
3449a5a92c01Smrg    # This happens at least with the AIX C compiler.
3450a5a92c01Smrg    : > sub/conftest.c
3451a5a92c01Smrg    for i in 1 2 3 4 5 6; do
3452a5a92c01Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3453a5a92c01Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3454a5a92c01Smrg      # Solaris 8's {/usr,}/bin/sh.
3455a5a92c01Smrg      touch sub/conftst$i.h
3456a5a92c01Smrg    done
3457a5a92c01Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3458a5a92c01Smrg
3459a5a92c01Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3460a5a92c01Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
3461a5a92c01Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
3462a5a92c01Smrg    # versions had trouble with output in subdirs
3463a5a92c01Smrg    am__obj=sub/conftest.${OBJEXT-o}
3464a5a92c01Smrg    am__minus_obj="-o $am__obj"
3465a5a92c01Smrg    case $depmode in
3466a5a92c01Smrg    gcc)
3467a5a92c01Smrg      # This depmode causes a compiler race in universal mode.
3468a5a92c01Smrg      test "$am__universal" = false || continue
3469a5a92c01Smrg      ;;
3470a5a92c01Smrg    nosideeffect)
3471a5a92c01Smrg      # after this tag, mechanisms are not by side-effect, so they'll
3472a5a92c01Smrg      # only be used when explicitly requested
3473a5a92c01Smrg      if test "x$enable_dependency_tracking" = xyes; then
3474a5a92c01Smrg	continue
3475a5a92c01Smrg      else
3476a5a92c01Smrg	break
3477a5a92c01Smrg      fi
3478a5a92c01Smrg      ;;
3479a5a92c01Smrg    msvisualcpp | msvcmsys)
3480a5a92c01Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
3481a5a92c01Smrg      # not run yet.  These depmodes are late enough in the game, and
3482a5a92c01Smrg      # so weak that their functioning should not be impacted.
3483a5a92c01Smrg      am__obj=conftest.${OBJEXT-o}
3484a5a92c01Smrg      am__minus_obj=
3485a5a92c01Smrg      ;;
3486a5a92c01Smrg    none) break ;;
3487a5a92c01Smrg    esac
3488a5a92c01Smrg    if depmode=$depmode \
3489a5a92c01Smrg       source=sub/conftest.c object=$am__obj \
3490a5a92c01Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3491a5a92c01Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3492a5a92c01Smrg         >/dev/null 2>conftest.err &&
3493a5a92c01Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3494a5a92c01Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3495a5a92c01Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3496a5a92c01Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3497a5a92c01Smrg      # icc doesn't choke on unknown options, it will just issue warnings
3498a5a92c01Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
3499a5a92c01Smrg      # that says an option was ignored or not supported.
3500a5a92c01Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
3501a5a92c01Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
3502a5a92c01Smrg      # The diagnosis changed in icc 8.0:
3503a5a92c01Smrg      #   icc: Command line remark: option '-MP' not supported
3504a5a92c01Smrg      if (grep 'ignoring option' conftest.err ||
3505a5a92c01Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3506a5a92c01Smrg        am_cv_CC_dependencies_compiler_type=$depmode
3507a5a92c01Smrg        break
3508a5a92c01Smrg      fi
3509a5a92c01Smrg    fi
3510a5a92c01Smrg  done
3511a5a92c01Smrg
3512a5a92c01Smrg  cd ..
3513a5a92c01Smrg  rm -rf conftest.dir
3514a5a92c01Smrgelse
3515a5a92c01Smrg  am_cv_CC_dependencies_compiler_type=none
3516a5a92c01Smrgfi
35171fb077a1Smrg
3518a5a92c01Smrgfi
3519a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3520a5a92c01Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3521a5a92c01SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
35221fb077a1Smrg
3523a5a92c01Smrg if
3524a5a92c01Smrg  test "x$enable_dependency_tracking" != xno \
3525a5a92c01Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3526a5a92c01Smrg  am__fastdepCC_TRUE=
3527a5a92c01Smrg  am__fastdepCC_FALSE='#'
3528a5a92c01Smrgelse
3529a5a92c01Smrg  am__fastdepCC_TRUE='#'
3530a5a92c01Smrg  am__fastdepCC_FALSE=
35311fb077a1Smrgfi
35321fb077a1Smrg
3533a5a92c01Smrg
3534a5a92c01Smrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3535a5a92c01Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3536a5a92c01Smrgif ${ac_cv_prog_cc_c99+:} false; then :
3537a5a92c01Smrg  $as_echo_n "(cached) " >&6
3538a5a92c01Smrgelse
3539a5a92c01Smrg  ac_cv_prog_cc_c99=no
3540a5a92c01Smrgac_save_CC=$CC
3541a5a92c01Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542a5a92c01Smrg/* end confdefs.h.  */
3543a5a92c01Smrg#include <stdarg.h>
3544a5a92c01Smrg#include <stdbool.h>
3545a5a92c01Smrg#include <stdlib.h>
3546a5a92c01Smrg#include <wchar.h>
3547a5a92c01Smrg#include <stdio.h>
3548a5a92c01Smrg
3549a5a92c01Smrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3550a5a92c01Smrg#define debug(...) fprintf (stderr, __VA_ARGS__)
3551a5a92c01Smrg#define showlist(...) puts (#__VA_ARGS__)
3552a5a92c01Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3553a5a92c01Smrgstatic void
3554a5a92c01Smrgtest_varargs_macros (void)
3555a5a92c01Smrg{
3556a5a92c01Smrg  int x = 1234;
3557a5a92c01Smrg  int y = 5678;
3558a5a92c01Smrg  debug ("Flag");
3559a5a92c01Smrg  debug ("X = %d\n", x);
3560a5a92c01Smrg  showlist (The first, second, and third items.);
3561a5a92c01Smrg  report (x>y, "x is %d but y is %d", x, y);
3562a5a92c01Smrg}
3563a5a92c01Smrg
3564a5a92c01Smrg// Check long long types.
3565a5a92c01Smrg#define BIG64 18446744073709551615ull
3566a5a92c01Smrg#define BIG32 4294967295ul
3567a5a92c01Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3568a5a92c01Smrg#if !BIG_OK
3569a5a92c01Smrg  your preprocessor is broken;
3570a5a92c01Smrg#endif
3571a5a92c01Smrg#if BIG_OK
3572a5a92c01Smrg#else
3573a5a92c01Smrg  your preprocessor is broken;
3574a5a92c01Smrg#endif
3575a5a92c01Smrgstatic long long int bignum = -9223372036854775807LL;
3576a5a92c01Smrgstatic unsigned long long int ubignum = BIG64;
3577a5a92c01Smrg
3578a5a92c01Smrgstruct incomplete_array
3579a5a92c01Smrg{
3580a5a92c01Smrg  int datasize;
3581a5a92c01Smrg  double data[];
3582a5a92c01Smrg};
3583a5a92c01Smrg
3584a5a92c01Smrgstruct named_init {
3585a5a92c01Smrg  int number;
3586a5a92c01Smrg  const wchar_t *name;
3587a5a92c01Smrg  double average;
3588a5a92c01Smrg};
3589a5a92c01Smrg
3590a5a92c01Smrgtypedef const char *ccp;
3591a5a92c01Smrg
3592a5a92c01Smrgstatic inline int
3593a5a92c01Smrgtest_restrict (ccp restrict text)
3594a5a92c01Smrg{
3595a5a92c01Smrg  // See if C++-style comments work.
3596a5a92c01Smrg  // Iterate through items via the restricted pointer.
3597a5a92c01Smrg  // Also check for declarations in for loops.
3598a5a92c01Smrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3599a5a92c01Smrg    continue;
3600a5a92c01Smrg  return 0;
3601a5a92c01Smrg}
3602a5a92c01Smrg
3603a5a92c01Smrg// Check varargs and va_copy.
3604a5a92c01Smrgstatic void
3605a5a92c01Smrgtest_varargs (const char *format, ...)
3606a5a92c01Smrg{
3607a5a92c01Smrg  va_list args;
3608a5a92c01Smrg  va_start (args, format);
3609a5a92c01Smrg  va_list args_copy;
3610a5a92c01Smrg  va_copy (args_copy, args);
3611a5a92c01Smrg
3612a5a92c01Smrg  const char *str;
3613a5a92c01Smrg  int number;
3614a5a92c01Smrg  float fnumber;
3615a5a92c01Smrg
3616a5a92c01Smrg  while (*format)
3617a5a92c01Smrg    {
3618a5a92c01Smrg      switch (*format++)
3619a5a92c01Smrg	{
3620a5a92c01Smrg	case 's': // string
3621a5a92c01Smrg	  str = va_arg (args_copy, const char *);
3622a5a92c01Smrg	  break;
3623a5a92c01Smrg	case 'd': // int
3624a5a92c01Smrg	  number = va_arg (args_copy, int);
3625a5a92c01Smrg	  break;
3626a5a92c01Smrg	case 'f': // float
3627a5a92c01Smrg	  fnumber = va_arg (args_copy, double);
3628a5a92c01Smrg	  break;
3629a5a92c01Smrg	default:
3630a5a92c01Smrg	  break;
3631a5a92c01Smrg	}
3632a5a92c01Smrg    }
3633a5a92c01Smrg  va_end (args_copy);
3634a5a92c01Smrg  va_end (args);
3635a5a92c01Smrg}
3636a5a92c01Smrg
3637a5a92c01Smrgint
3638a5a92c01Smrgmain ()
3639a5a92c01Smrg{
3640a5a92c01Smrg
3641a5a92c01Smrg  // Check bool.
3642a5a92c01Smrg  _Bool success = false;
3643a5a92c01Smrg
3644a5a92c01Smrg  // Check restrict.
3645a5a92c01Smrg  if (test_restrict ("String literal") == 0)
3646a5a92c01Smrg    success = true;
3647a5a92c01Smrg  char *restrict newvar = "Another string";
3648a5a92c01Smrg
3649a5a92c01Smrg  // Check varargs.
3650a5a92c01Smrg  test_varargs ("s, d' f .", "string", 65, 34.234);
3651a5a92c01Smrg  test_varargs_macros ();
3652a5a92c01Smrg
3653a5a92c01Smrg  // Check flexible array members.
3654a5a92c01Smrg  struct incomplete_array *ia =
3655a5a92c01Smrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3656a5a92c01Smrg  ia->datasize = 10;
3657a5a92c01Smrg  for (int i = 0; i < ia->datasize; ++i)
3658a5a92c01Smrg    ia->data[i] = i * 1.234;
3659a5a92c01Smrg
3660a5a92c01Smrg  // Check named initializers.
3661a5a92c01Smrg  struct named_init ni = {
3662a5a92c01Smrg    .number = 34,
3663a5a92c01Smrg    .name = L"Test wide string",
3664a5a92c01Smrg    .average = 543.34343,
3665a5a92c01Smrg  };
3666a5a92c01Smrg
3667a5a92c01Smrg  ni.number = 58;
3668a5a92c01Smrg
3669a5a92c01Smrg  int dynamic_array[ni.number];
3670a5a92c01Smrg  dynamic_array[ni.number - 1] = 543;
3671a5a92c01Smrg
3672a5a92c01Smrg  // work around unused variable warnings
3673a5a92c01Smrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3674a5a92c01Smrg	  || dynamic_array[ni.number - 1] != 543);
3675a5a92c01Smrg
3676a5a92c01Smrg  ;
3677a5a92c01Smrg  return 0;
3678a5a92c01Smrg}
3679a5a92c01Smrg_ACEOF
3680a5a92c01Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3681a5a92c01Smrgdo
3682a5a92c01Smrg  CC="$ac_save_CC $ac_arg"
3683a5a92c01Smrg  if ac_fn_c_try_compile "$LINENO"; then :
3684a5a92c01Smrg  ac_cv_prog_cc_c99=$ac_arg
3685a5a92c01Smrgfi
36861fb077a1Smrgrm -f core conftest.err conftest.$ac_objext
3687a5a92c01Smrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
36881fb077a1Smrgdone
36891fb077a1Smrgrm -f conftest.$ac_ext
36901fb077a1SmrgCC=$ac_save_CC
36911fb077a1Smrg
36921fb077a1Smrgfi
36931fb077a1Smrg# AC_CACHE_VAL
3694a5a92c01Smrgcase "x$ac_cv_prog_cc_c99" in
36951fb077a1Smrg  x)
3696a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3697a5a92c01Smrg$as_echo "none needed" >&6; } ;;
36981fb077a1Smrg  xno)
3699a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3700a5a92c01Smrg$as_echo "unsupported" >&6; } ;;
37011fb077a1Smrg  *)
3702a5a92c01Smrg    CC="$CC $ac_cv_prog_cc_c99"
3703a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3704a5a92c01Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
37051fb077a1Smrgesac
3706a5a92c01Smrgif test "x$ac_cv_prog_cc_c99" != xno; then :
3707a5a92c01Smrg
3708a5a92c01Smrgfi
3709a5a92c01Smrg
3710a5a92c01Smrg
3711a5a92c01Smrg
3712a5a92c01Smrgac_ext=c
3713a5a92c01Smrgac_cpp='$CPP $CPPFLAGS'
3714a5a92c01Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3715a5a92c01Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3716a5a92c01Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
3717a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3718a5a92c01Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
3719a5a92c01Smrg# On Suns, sometimes $CPP names a directory.
3720a5a92c01Smrgif test -n "$CPP" && test -d "$CPP"; then
3721a5a92c01Smrg  CPP=
3722a5a92c01Smrgfi
3723a5a92c01Smrgif test -z "$CPP"; then
3724a5a92c01Smrg  if ${ac_cv_prog_CPP+:} false; then :
3725a5a92c01Smrg  $as_echo_n "(cached) " >&6
3726a5a92c01Smrgelse
3727a5a92c01Smrg      # Double quotes because CPP needs to be expanded
3728a5a92c01Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3729a5a92c01Smrg    do
3730a5a92c01Smrg      ac_preproc_ok=false
3731a5a92c01Smrgfor ac_c_preproc_warn_flag in '' yes
3732a5a92c01Smrgdo
3733a5a92c01Smrg  # Use a header file that comes with gcc, so configuring glibc
3734a5a92c01Smrg  # with a fresh cross-compiler works.
3735a5a92c01Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3736a5a92c01Smrg  # <limits.h> exists even on freestanding compilers.
3737a5a92c01Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3738a5a92c01Smrg  # not just through cpp. "Syntax error" is here to catch this case.
3739a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740a5a92c01Smrg/* end confdefs.h.  */
3741a5a92c01Smrg#ifdef __STDC__
3742a5a92c01Smrg# include <limits.h>
3743a5a92c01Smrg#else
3744a5a92c01Smrg# include <assert.h>
3745a5a92c01Smrg#endif
3746a5a92c01Smrg		     Syntax error
3747a5a92c01Smrg_ACEOF
3748a5a92c01Smrgif ac_fn_c_try_cpp "$LINENO"; then :
3749a5a92c01Smrg
3750a5a92c01Smrgelse
3751a5a92c01Smrg  # Broken: fails on valid input.
3752a5a92c01Smrgcontinue
3753a5a92c01Smrgfi
3754a5a92c01Smrgrm -f conftest.err conftest.i conftest.$ac_ext
3755a5a92c01Smrg
3756a5a92c01Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
3757a5a92c01Smrg  # can be detected and how.
3758a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759a5a92c01Smrg/* end confdefs.h.  */
3760a5a92c01Smrg#include <ac_nonexistent.h>
3761a5a92c01Smrg_ACEOF
3762a5a92c01Smrgif ac_fn_c_try_cpp "$LINENO"; then :
3763a5a92c01Smrg  # Broken: success on invalid input.
3764a5a92c01Smrgcontinue
3765a5a92c01Smrgelse
3766a5a92c01Smrg  # Passes both tests.
3767a5a92c01Smrgac_preproc_ok=:
3768a5a92c01Smrgbreak
3769a5a92c01Smrgfi
3770a5a92c01Smrgrm -f conftest.err conftest.i conftest.$ac_ext
3771a5a92c01Smrg
3772a5a92c01Smrgdone
3773a5a92c01Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3774a5a92c01Smrgrm -f conftest.i conftest.err conftest.$ac_ext
3775a5a92c01Smrgif $ac_preproc_ok; then :
3776a5a92c01Smrg  break
3777a5a92c01Smrgfi
3778a5a92c01Smrg
3779a5a92c01Smrg    done
3780a5a92c01Smrg    ac_cv_prog_CPP=$CPP
3781a5a92c01Smrg
3782a5a92c01Smrgfi
3783a5a92c01Smrg  CPP=$ac_cv_prog_CPP
3784a5a92c01Smrgelse
3785a5a92c01Smrg  ac_cv_prog_CPP=$CPP
3786a5a92c01Smrgfi
3787a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3788a5a92c01Smrg$as_echo "$CPP" >&6; }
3789a5a92c01Smrgac_preproc_ok=false
3790a5a92c01Smrgfor ac_c_preproc_warn_flag in '' yes
3791a5a92c01Smrgdo
3792a5a92c01Smrg  # Use a header file that comes with gcc, so configuring glibc
3793a5a92c01Smrg  # with a fresh cross-compiler works.
3794a5a92c01Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3795a5a92c01Smrg  # <limits.h> exists even on freestanding compilers.
3796a5a92c01Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
3797a5a92c01Smrg  # not just through cpp. "Syntax error" is here to catch this case.
3798a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799a5a92c01Smrg/* end confdefs.h.  */
3800a5a92c01Smrg#ifdef __STDC__
3801a5a92c01Smrg# include <limits.h>
3802a5a92c01Smrg#else
3803a5a92c01Smrg# include <assert.h>
3804a5a92c01Smrg#endif
3805a5a92c01Smrg		     Syntax error
3806a5a92c01Smrg_ACEOF
3807a5a92c01Smrgif ac_fn_c_try_cpp "$LINENO"; then :
3808a5a92c01Smrg
3809a5a92c01Smrgelse
3810a5a92c01Smrg  # Broken: fails on valid input.
3811a5a92c01Smrgcontinue
3812a5a92c01Smrgfi
3813a5a92c01Smrgrm -f conftest.err conftest.i conftest.$ac_ext
3814a5a92c01Smrg
3815a5a92c01Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
3816a5a92c01Smrg  # can be detected and how.
3817a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818a5a92c01Smrg/* end confdefs.h.  */
3819a5a92c01Smrg#include <ac_nonexistent.h>
3820a5a92c01Smrg_ACEOF
3821a5a92c01Smrgif ac_fn_c_try_cpp "$LINENO"; then :
3822a5a92c01Smrg  # Broken: success on invalid input.
3823a5a92c01Smrgcontinue
3824a5a92c01Smrgelse
3825a5a92c01Smrg  # Passes both tests.
3826a5a92c01Smrgac_preproc_ok=:
3827a5a92c01Smrgbreak
3828a5a92c01Smrgfi
3829a5a92c01Smrgrm -f conftest.err conftest.i conftest.$ac_ext
3830a5a92c01Smrg
3831a5a92c01Smrgdone
3832a5a92c01Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3833a5a92c01Smrgrm -f conftest.i conftest.err conftest.$ac_ext
3834a5a92c01Smrgif $ac_preproc_ok; then :
38351fb077a1Smrg
3836a5a92c01Smrgelse
3837a5a92c01Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3839a5a92c01Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3840a5a92c01SmrgSee \`config.log' for more details" "$LINENO" 5; }
3841a5a92c01Smrgfi
38421fb077a1Smrg
38431fb077a1Smrgac_ext=c
38441fb077a1Smrgac_cpp='$CPP $CPPFLAGS'
38451fb077a1Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38461fb077a1Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38471fb077a1Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
38481fb077a1Smrg
38491fb077a1Smrg
3850a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3851a5a92c01Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3852a5a92c01Smrgif ${ac_cv_path_GREP+:} false; then :
3853a5a92c01Smrg  $as_echo_n "(cached) " >&6
3854a5a92c01Smrgelse
3855a5a92c01Smrg  if test -z "$GREP"; then
3856a5a92c01Smrg  ac_path_GREP_found=false
3857a5a92c01Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3858a5a92c01Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859a5a92c01Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3860a5a92c01Smrgdo
3861a5a92c01Smrg  IFS=$as_save_IFS
3862a5a92c01Smrg  test -z "$as_dir" && as_dir=.
3863a5a92c01Smrg    for ac_prog in grep ggrep; do
3864a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3865a5a92c01Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3866a5a92c01Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3867a5a92c01Smrg# Check for GNU ac_path_GREP and select it if it is found.
3868a5a92c01Smrg  # Check for GNU $ac_path_GREP
3869a5a92c01Smrgcase `"$ac_path_GREP" --version 2>&1` in
3870a5a92c01Smrg*GNU*)
3871a5a92c01Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3872a5a92c01Smrg*)
3873a5a92c01Smrg  ac_count=0
3874a5a92c01Smrg  $as_echo_n 0123456789 >"conftest.in"
3875a5a92c01Smrg  while :
3876a5a92c01Smrg  do
3877a5a92c01Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3878a5a92c01Smrg    mv "conftest.tmp" "conftest.in"
3879a5a92c01Smrg    cp "conftest.in" "conftest.nl"
3880a5a92c01Smrg    $as_echo 'GREP' >> "conftest.nl"
3881a5a92c01Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3882a5a92c01Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3883a5a92c01Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
3884a5a92c01Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3885a5a92c01Smrg      # Best one so far, save it but keep looking for a better one
3886a5a92c01Smrg      ac_cv_path_GREP="$ac_path_GREP"
3887a5a92c01Smrg      ac_path_GREP_max=$ac_count
3888a5a92c01Smrg    fi
3889a5a92c01Smrg    # 10*(2^10) chars as input seems more than enough
3890a5a92c01Smrg    test $ac_count -gt 10 && break
3891a5a92c01Smrg  done
3892a5a92c01Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3893a5a92c01Smrgesac
38941fb077a1Smrg
3895a5a92c01Smrg      $ac_path_GREP_found && break 3
3896a5a92c01Smrg    done
3897a5a92c01Smrg  done
3898a5a92c01Smrg  done
3899a5a92c01SmrgIFS=$as_save_IFS
3900a5a92c01Smrg  if test -z "$ac_cv_path_GREP"; then
3901a5a92c01Smrg    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3902a5a92c01Smrg  fi
3903a5a92c01Smrgelse
3904a5a92c01Smrg  ac_cv_path_GREP=$GREP
39051fb077a1Smrgfi
3906a5a92c01Smrg
39071fb077a1Smrgfi
3908a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3909a5a92c01Smrg$as_echo "$ac_cv_path_GREP" >&6; }
3910a5a92c01Smrg GREP="$ac_cv_path_GREP"
39111fb077a1Smrg
39121fb077a1Smrg
3913a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3914a5a92c01Smrg$as_echo_n "checking for egrep... " >&6; }
3915a5a92c01Smrgif ${ac_cv_path_EGREP+:} false; then :
3916a5a92c01Smrg  $as_echo_n "(cached) " >&6
3917a5a92c01Smrgelse
3918a5a92c01Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3919a5a92c01Smrg   then ac_cv_path_EGREP="$GREP -E"
3920a5a92c01Smrg   else
3921a5a92c01Smrg     if test -z "$EGREP"; then
3922a5a92c01Smrg  ac_path_EGREP_found=false
3923a5a92c01Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
3924a5a92c01Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925a5a92c01Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3926a5a92c01Smrgdo
3927a5a92c01Smrg  IFS=$as_save_IFS
3928a5a92c01Smrg  test -z "$as_dir" && as_dir=.
3929a5a92c01Smrg    for ac_prog in egrep; do
3930a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
3931a5a92c01Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3932a5a92c01Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3933a5a92c01Smrg# Check for GNU ac_path_EGREP and select it if it is found.
3934a5a92c01Smrg  # Check for GNU $ac_path_EGREP
3935a5a92c01Smrgcase `"$ac_path_EGREP" --version 2>&1` in
3936a5a92c01Smrg*GNU*)
3937a5a92c01Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3938a5a92c01Smrg*)
3939a5a92c01Smrg  ac_count=0
3940a5a92c01Smrg  $as_echo_n 0123456789 >"conftest.in"
3941a5a92c01Smrg  while :
3942a5a92c01Smrg  do
3943a5a92c01Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
3944a5a92c01Smrg    mv "conftest.tmp" "conftest.in"
3945a5a92c01Smrg    cp "conftest.in" "conftest.nl"
3946a5a92c01Smrg    $as_echo 'EGREP' >> "conftest.nl"
3947a5a92c01Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3948a5a92c01Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3949a5a92c01Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
3950a5a92c01Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3951a5a92c01Smrg      # Best one so far, save it but keep looking for a better one
3952a5a92c01Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
3953a5a92c01Smrg      ac_path_EGREP_max=$ac_count
3954a5a92c01Smrg    fi
3955a5a92c01Smrg    # 10*(2^10) chars as input seems more than enough
3956a5a92c01Smrg    test $ac_count -gt 10 && break
3957a5a92c01Smrg  done
3958a5a92c01Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3959a5a92c01Smrgesac
39601fb077a1Smrg
3961a5a92c01Smrg      $ac_path_EGREP_found && break 3
3962a5a92c01Smrg    done
3963a5a92c01Smrg  done
3964a5a92c01Smrg  done
3965a5a92c01SmrgIFS=$as_save_IFS
3966a5a92c01Smrg  if test -z "$ac_cv_path_EGREP"; then
3967a5a92c01Smrg    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3968a5a92c01Smrg  fi
3969a5a92c01Smrgelse
3970a5a92c01Smrg  ac_cv_path_EGREP=$EGREP
39711fb077a1Smrgfi
39721fb077a1Smrg
3973a5a92c01Smrg   fi
39741fb077a1Smrgfi
3975a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3976a5a92c01Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
3977a5a92c01Smrg EGREP="$ac_cv_path_EGREP"
39781fb077a1Smrg
39791fb077a1Smrg
3980a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3981a5a92c01Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
3982a5a92c01Smrgif ${ac_cv_header_stdc+:} false; then :
3983a5a92c01Smrg  $as_echo_n "(cached) " >&6
3984a5a92c01Smrgelse
3985a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986a5a92c01Smrg/* end confdefs.h.  */
3987a5a92c01Smrg#include <stdlib.h>
3988a5a92c01Smrg#include <stdarg.h>
3989a5a92c01Smrg#include <string.h>
3990a5a92c01Smrg#include <float.h>
39911fb077a1Smrg
3992a5a92c01Smrgint
3993a5a92c01Smrgmain ()
3994a5a92c01Smrg{
39951fb077a1Smrg
3996a5a92c01Smrg  ;
3997a5a92c01Smrg  return 0;
3998a5a92c01Smrg}
3999a5a92c01Smrg_ACEOF
4000a5a92c01Smrgif ac_fn_c_try_compile "$LINENO"; then :
4001a5a92c01Smrg  ac_cv_header_stdc=yes
40021fb077a1Smrgelse
4003a5a92c01Smrg  ac_cv_header_stdc=no
4004a5a92c01Smrgfi
4005a5a92c01Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061fb077a1Smrg
4007a5a92c01Smrgif test $ac_cv_header_stdc = yes; then
4008a5a92c01Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4009a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010a5a92c01Smrg/* end confdefs.h.  */
4011a5a92c01Smrg#include <string.h>
40121fb077a1Smrg
4013a5a92c01Smrg_ACEOF
4014a5a92c01Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4015a5a92c01Smrg  $EGREP "memchr" >/dev/null 2>&1; then :
40161fb077a1Smrg
40171fb077a1Smrgelse
4018a5a92c01Smrg  ac_cv_header_stdc=no
40191fb077a1Smrgfi
4020a5a92c01Smrgrm -f conftest*
40211fb077a1Smrg
40221fb077a1Smrgfi
40231fb077a1Smrg
4024a5a92c01Smrgif test $ac_cv_header_stdc = yes; then
4025a5a92c01Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4026a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027a5a92c01Smrg/* end confdefs.h.  */
4028a5a92c01Smrg#include <stdlib.h>
4029a5a92c01Smrg
4030a5a92c01Smrg_ACEOF
4031a5a92c01Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4032a5a92c01Smrg  $EGREP "free" >/dev/null 2>&1; then :
4033a5a92c01Smrg
40341fb077a1Smrgelse
4035a5a92c01Smrg  ac_cv_header_stdc=no
40361fb077a1Smrgfi
4037a5a92c01Smrgrm -f conftest*
40381fb077a1Smrg
4039a5a92c01Smrgfi
40401fb077a1Smrg
4041a5a92c01Smrgif test $ac_cv_header_stdc = yes; then
4042a5a92c01Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4043a5a92c01Smrg  if test "$cross_compiling" = yes; then :
4044a5a92c01Smrg  :
40451fb077a1Smrgelse
4046a5a92c01Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047a5a92c01Smrg/* end confdefs.h.  */
4048a5a92c01Smrg#include <ctype.h>
4049a5a92c01Smrg#include <stdlib.h>
4050a5a92c01Smrg#if ((' ' & 0x0FF) == 0x020)
4051a5a92c01Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4052a5a92c01Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4053a5a92c01Smrg#else
4054a5a92c01Smrg# define ISLOWER(c) \
4055a5a92c01Smrg		   (('a' <= (c) && (c) <= 'i') \
4056a5a92c01Smrg		     || ('j' <= (c) && (c) <= 'r') \
4057a5a92c01Smrg		     || ('s' <= (c) && (c) <= 'z'))
4058a5a92c01Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4059a5a92c01Smrg#endif
4060a5a92c01Smrg
4061a5a92c01Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4062a5a92c01Smrgint
4063a5a92c01Smrgmain ()
4064a5a92c01Smrg{
4065a5a92c01Smrg  int i;
4066a5a92c01Smrg  for (i = 0; i < 256; i++)
4067a5a92c01Smrg    if (XOR (islower (i), ISLOWER (i))
4068a5a92c01Smrg	|| toupper (i) != TOUPPER (i))
4069a5a92c01Smrg      return 2;
4070a5a92c01Smrg  return 0;
4071a5a92c01Smrg}
4072a5a92c01Smrg_ACEOF
4073a5a92c01Smrgif ac_fn_c_try_run "$LINENO"; then :
40741fb077a1Smrg
4075a5a92c01Smrgelse
4076a5a92c01Smrg  ac_cv_header_stdc=no
4077a5a92c01Smrgfi
4078a5a92c01Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4079a5a92c01Smrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
4080a5a92c01Smrgfi
40811fb077a1Smrg
40821fb077a1Smrgfi
40831fb077a1Smrgfi
4084a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4085a5a92c01Smrg$as_echo "$ac_cv_header_stdc" >&6; }
4086a5a92c01Smrgif test $ac_cv_header_stdc = yes; then
40871fb077a1Smrg
4088a5a92c01Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
40891fb077a1Smrg
4090a5a92c01Smrgfi
40911fb077a1Smrg
4092a5a92c01Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4093a5a92c01Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4094a5a92c01Smrg		  inttypes.h stdint.h unistd.h
4095a5a92c01Smrgdo :
4096a5a92c01Smrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4097a5a92c01Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4098a5a92c01Smrg"
4099a5a92c01Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4100a5a92c01Smrg  cat >>confdefs.h <<_ACEOF
4101a5a92c01Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4102a5a92c01Smrg_ACEOF
4103a5a92c01Smrg
4104a5a92c01Smrgfi
4105a5a92c01Smrg
4106a5a92c01Smrgdone
41071fb077a1Smrg
41081fb077a1Smrg
41091fb077a1Smrg
41101fb077a1Smrg
41111fb077a1Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41121fb077a1Smrg	if test -n "$ac_tool_prefix"; then
41131fb077a1Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41141fb077a1Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4115a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
4117a5a92c01Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then :
4118a5a92c01Smrg  $as_echo_n "(cached) " >&6
41191fb077a1Smrgelse
41201fb077a1Smrg  case $PKG_CONFIG in
41211fb077a1Smrg  [\\/]* | ?:[\\/]*)
41221fb077a1Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41231fb077a1Smrg  ;;
41241fb077a1Smrg  *)
41251fb077a1Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41261fb077a1Smrgfor as_dir in $PATH
41271fb077a1Smrgdo
41281fb077a1Smrg  IFS=$as_save_IFS
41291fb077a1Smrg  test -z "$as_dir" && as_dir=.
4130a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
41311fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41321fb077a1Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4133a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41341fb077a1Smrg    break 2
41351fb077a1Smrg  fi
41361fb077a1Smrgdone
4137a5a92c01Smrg  done
41381fb077a1SmrgIFS=$as_save_IFS
41391fb077a1Smrg
41401fb077a1Smrg  ;;
41411fb077a1Smrgesac
41421fb077a1Smrgfi
41431fb077a1SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
41441fb077a1Smrgif test -n "$PKG_CONFIG"; then
4145a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4146a5a92c01Smrg$as_echo "$PKG_CONFIG" >&6; }
41471fb077a1Smrgelse
4148a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149a5a92c01Smrg$as_echo "no" >&6; }
41501fb077a1Smrgfi
41511fb077a1Smrg
41521fb077a1Smrg
41531fb077a1Smrgfi
41541fb077a1Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
41551fb077a1Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
41561fb077a1Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
41571fb077a1Smrgset dummy pkg-config; ac_word=$2
4158a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159a5a92c01Smrg$as_echo_n "checking for $ac_word... " >&6; }
4160a5a92c01Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4161a5a92c01Smrg  $as_echo_n "(cached) " >&6
41621fb077a1Smrgelse
41631fb077a1Smrg  case $ac_pt_PKG_CONFIG in
41641fb077a1Smrg  [\\/]* | ?:[\\/]*)
41651fb077a1Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41661fb077a1Smrg  ;;
41671fb077a1Smrg  *)
41681fb077a1Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41691fb077a1Smrgfor as_dir in $PATH
41701fb077a1Smrgdo
41711fb077a1Smrg  IFS=$as_save_IFS
41721fb077a1Smrg  test -z "$as_dir" && as_dir=.
4173a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
41741fb077a1Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41751fb077a1Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4176a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41771fb077a1Smrg    break 2
41781fb077a1Smrg  fi
41791fb077a1Smrgdone
4180a5a92c01Smrg  done
41811fb077a1SmrgIFS=$as_save_IFS
41821fb077a1Smrg
41831fb077a1Smrg  ;;
41841fb077a1Smrgesac
41851fb077a1Smrgfi
41861fb077a1Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41871fb077a1Smrgif test -n "$ac_pt_PKG_CONFIG"; then
4188a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4189a5a92c01Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
41901fb077a1Smrgelse
4191a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192a5a92c01Smrg$as_echo "no" >&6; }
41931fb077a1Smrgfi
41941fb077a1Smrg
41951fb077a1Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
41961fb077a1Smrg    PKG_CONFIG=""
41971fb077a1Smrg  else
41981fb077a1Smrg    case $cross_compiling:$ac_tool_warned in
41991fb077a1Smrgyes:)
4200a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201a5a92c01Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
42021fb077a1Smrgac_tool_warned=yes ;;
42031fb077a1Smrgesac
42041fb077a1Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
42051fb077a1Smrg  fi
42061fb077a1Smrgelse
42071fb077a1Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42081fb077a1Smrgfi
42091fb077a1Smrg
42101fb077a1Smrgfi
42111fb077a1Smrgif test -n "$PKG_CONFIG"; then
42121fb077a1Smrg	_pkg_min_version=0.9.0
4213a5a92c01Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4214a5a92c01Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
42151fb077a1Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4216a5a92c01Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4217a5a92c01Smrg$as_echo "yes" >&6; }
42181fb077a1Smrg	else
4219a5a92c01Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220a5a92c01Smrg$as_echo "no" >&6; }
42211fb077a1Smrg		PKG_CONFIG=""
42221fb077a1Smrg	fi
42231fb077a1Smrg
42241fb077a1Smrgfi
42251fb077a1Smrg# Make sure we can run config.sub.
42261fb077a1Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4227a5a92c01Smrg  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
42281fb077a1Smrg
4229a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4230a5a92c01Smrg$as_echo_n "checking build system type... " >&6; }
4231a5a92c01Smrgif ${ac_cv_build+:} false; then :
4232a5a92c01Smrg  $as_echo_n "(cached) " >&6
42331fb077a1Smrgelse
42341fb077a1Smrg  ac_build_alias=$build_alias
42351fb077a1Smrgtest "x$ac_build_alias" = x &&
42361fb077a1Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
42371fb077a1Smrgtest "x$ac_build_alias" = x &&
4238a5a92c01Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
42391fb077a1Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4240a5a92c01Smrg  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
42411fb077a1Smrg
42421fb077a1Smrgfi
4243a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4244a5a92c01Smrg$as_echo "$ac_cv_build" >&6; }
42451fb077a1Smrgcase $ac_cv_build in
42461fb077a1Smrg*-*-*) ;;
4247a5a92c01Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
42481fb077a1Smrgesac
42491fb077a1Smrgbuild=$ac_cv_build
42501fb077a1Smrgac_save_IFS=$IFS; IFS='-'
42511fb077a1Smrgset x $ac_cv_build
42521fb077a1Smrgshift
42531fb077a1Smrgbuild_cpu=$1
42541fb077a1Smrgbuild_vendor=$2
42551fb077a1Smrgshift; shift
42561fb077a1Smrg# Remember, the first character of IFS is used to create $*,
42571fb077a1Smrg# except with old shells:
42581fb077a1Smrgbuild_os=$*
42591fb077a1SmrgIFS=$ac_save_IFS
42601fb077a1Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
42611fb077a1Smrg
42621fb077a1Smrg
4263a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4264a5a92c01Smrg$as_echo_n "checking host system type... " >&6; }
4265a5a92c01Smrgif ${ac_cv_host+:} false; then :
4266a5a92c01Smrg  $as_echo_n "(cached) " >&6
42671fb077a1Smrgelse
42681fb077a1Smrg  if test "x$host_alias" = x; then
42691fb077a1Smrg  ac_cv_host=$ac_cv_build
42701fb077a1Smrgelse
42711fb077a1Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4272a5a92c01Smrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
42731fb077a1Smrgfi
42741fb077a1Smrg
42751fb077a1Smrgfi
4276a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4277a5a92c01Smrg$as_echo "$ac_cv_host" >&6; }
42781fb077a1Smrgcase $ac_cv_host in
42791fb077a1Smrg*-*-*) ;;
4280a5a92c01Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
42811fb077a1Smrgesac
42821fb077a1Smrghost=$ac_cv_host
42831fb077a1Smrgac_save_IFS=$IFS; IFS='-'
42841fb077a1Smrgset x $ac_cv_host
42851fb077a1Smrgshift
42861fb077a1Smrghost_cpu=$1
42871fb077a1Smrghost_vendor=$2
42881fb077a1Smrgshift; shift
42891fb077a1Smrg# Remember, the first character of IFS is used to create $*,
42901fb077a1Smrg# except with old shells:
42911fb077a1Smrghost_os=$*
42921fb077a1SmrgIFS=$ac_save_IFS
42931fb077a1Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
42941fb077a1Smrg
42951fb077a1Smrg
4296a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4297a5a92c01Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4298a5a92c01Smrgif ${ac_cv_path_SED+:} false; then :
4299a5a92c01Smrg  $as_echo_n "(cached) " >&6
4300a5a92c01Smrgelse
4301a5a92c01Smrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4302a5a92c01Smrg     for ac_i in 1 2 3 4 5 6 7; do
4303a5a92c01Smrg       ac_script="$ac_script$as_nl$ac_script"
4304a5a92c01Smrg     done
4305a5a92c01Smrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4306a5a92c01Smrg     { ac_script=; unset ac_script;}
4307a5a92c01Smrg     if test -z "$SED"; then
4308a5a92c01Smrg  ac_path_SED_found=false
4309a5a92c01Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
4310a5a92c01Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311a5a92c01Smrgfor as_dir in $PATH
4312a5a92c01Smrgdo
4313a5a92c01Smrg  IFS=$as_save_IFS
4314a5a92c01Smrg  test -z "$as_dir" && as_dir=.
4315a5a92c01Smrg    for ac_prog in sed gsed; do
4316a5a92c01Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
4317a5a92c01Smrg      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4318a5a92c01Smrg      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4319a5a92c01Smrg# Check for GNU ac_path_SED and select it if it is found.
4320a5a92c01Smrg  # Check for GNU $ac_path_SED
4321a5a92c01Smrgcase `"$ac_path_SED" --version 2>&1` in
4322a5a92c01Smrg*GNU*)
4323a5a92c01Smrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4324a5a92c01Smrg*)
4325a5a92c01Smrg  ac_count=0
4326a5a92c01Smrg  $as_echo_n 0123456789 >"conftest.in"
4327a5a92c01Smrg  while :
4328a5a92c01Smrg  do
4329a5a92c01Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
4330a5a92c01Smrg    mv "conftest.tmp" "conftest.in"
4331a5a92c01Smrg    cp "conftest.in" "conftest.nl"
4332a5a92c01Smrg    $as_echo '' >> "conftest.nl"
4333a5a92c01Smrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4334a5a92c01Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4335a5a92c01Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
4336a5a92c01Smrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
4337a5a92c01Smrg      # Best one so far, save it but keep looking for a better one
4338a5a92c01Smrg      ac_cv_path_SED="$ac_path_SED"
4339a5a92c01Smrg      ac_path_SED_max=$ac_count
4340a5a92c01Smrg    fi
4341a5a92c01Smrg    # 10*(2^10) chars as input seems more than enough
4342a5a92c01Smrg    test $ac_count -gt 10 && break
4343a5a92c01Smrg  done
4344a5a92c01Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4345a5a92c01Smrgesac
4346a5a92c01Smrg
4347a5a92c01Smrg      $ac_path_SED_found && break 3
4348a5a92c01Smrg    done
4349a5a92c01Smrg  done
4350a5a92c01Smrg  done
4351a5a92c01SmrgIFS=$as_save_IFS
4352a5a92c01Smrg  if test -z "$ac_cv_path_SED"; then
4353a5a92c01Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4354a5a92c01Smrg  fi
4355a5a92c01Smrgelse
4356a5a92c01Smrg  ac_cv_path_SED=$SED
4357a5a92c01Smrgfi
4358a5a92c01Smrg
4359a5a92c01Smrgfi
4360a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4361a5a92c01Smrg$as_echo "$ac_cv_path_SED" >&6; }
4362a5a92c01Smrg SED="$ac_cv_path_SED"
4363a5a92c01Smrg  rm -f conftest.sed
4364a5a92c01Smrg
4365a5a92c01Smrg
4366a5a92c01Smrg
4367a5a92c01Smrg
4368a5a92c01Smrg
4369a5a92c01Smrgif  test "x$GCC" = xyes ; then
4370a5a92c01Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4371a5a92c01Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4372a5a92c01Smrg-Wbad-function-cast -Wformat=2"
4373a5a92c01Smrg    case `$CC -dumpversion` in
4374a5a92c01Smrg    3.4.* | 4.*)
4375a5a92c01Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4376a5a92c01Smrg	;;
4377a5a92c01Smrg    esac
4378a5a92c01Smrgelse
4379a5a92c01Smrg    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4380a5a92c01Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4381a5a92c01Smrg  SUNCC="yes"
4382a5a92c01Smrgelse
4383a5a92c01Smrg  SUNCC="no"
4384a5a92c01Smrgfi
4385a5a92c01Smrg
4386a5a92c01Smrg    if test "x$SUNCC" = "xyes"; then
4387a5a92c01Smrg	CWARNFLAGS="-v"
4388a5a92c01Smrg    fi
4389a5a92c01Smrgfi
4390a5a92c01Smrg
4391a5a92c01Smrg
4392a5a92c01Smrg
4393a5a92c01Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4394a5a92c01Smrg
4395a5a92c01Smrg
4396a5a92c01Smrg
4397a5a92c01Smrg# Check whether --enable-strict-compilation was given.
4398a5a92c01Smrgif test "${enable_strict_compilation+set}" = set; then :
4399a5a92c01Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4400a5a92c01Smrgelse
4401a5a92c01Smrg  STRICT_COMPILE=no
4402a5a92c01Smrgfi
4403a5a92c01Smrg
4404a5a92c01Smrgif test "x$STRICT_COMPILE" = "xyes"; then
4405a5a92c01Smrg	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4406a5a92c01Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4407a5a92c01Smrg  SUNCC="yes"
4408a5a92c01Smrgelse
4409a5a92c01Smrg  SUNCC="no"
4410a5a92c01Smrgfi
4411a5a92c01Smrg
4412a5a92c01Smrg	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4413a5a92c01Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4414a5a92c01Smrg  INTELCC="yes"
4415a5a92c01Smrgelse
4416a5a92c01Smrg  INTELCC="no"
4417a5a92c01Smrgfi
4418a5a92c01Smrg
4419a5a92c01Smrg	if test "x$GCC" = xyes ; then
4420a5a92c01Smrg		STRICT_CFLAGS="-pedantic -Werror"
4421a5a92c01Smrg	elif test "x$SUNCC" = "xyes"; then
4422a5a92c01Smrg		STRICT_CFLAGS="-errwarn"
4423a5a92c01Smrg    elif test "x$INTELCC" = "xyes"; then
4424a5a92c01Smrg		STRICT_CFLAGS="-Werror"
4425a5a92c01Smrg	fi
4426a5a92c01Smrgfi
4427a5a92c01SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4428a5a92c01Smrg
4429a5a92c01Smrg
4430a5a92c01Smrg
4431a5a92c01Smrg
4432a5a92c01Smrgcat >>confdefs.h <<_ACEOF
4433a5a92c01Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4434a5a92c01Smrg_ACEOF
4435a5a92c01Smrg
4436a5a92c01Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4437a5a92c01Smrg	if test "x$PVM" = "x"; then
4438a5a92c01Smrg		PVM="0"
4439a5a92c01Smrg	fi
4440a5a92c01Smrg
4441a5a92c01Smrgcat >>confdefs.h <<_ACEOF
4442a5a92c01Smrg#define PACKAGE_VERSION_MINOR $PVM
4443a5a92c01Smrg_ACEOF
4444a5a92c01Smrg
4445a5a92c01Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4446a5a92c01Smrg	if test "x$PVP" = "x"; then
4447a5a92c01Smrg		PVP="0"
4448a5a92c01Smrg	fi
4449a5a92c01Smrg
4450a5a92c01Smrgcat >>confdefs.h <<_ACEOF
4451a5a92c01Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
4452a5a92c01Smrg_ACEOF
4453a5a92c01Smrg
4454a5a92c01Smrg
4455a5a92c01Smrg
4456a5a92c01SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4457a5a92c01Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4458a5a92c01Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4459a5a92c01Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
4460a5a92c01Smrg
4461a5a92c01Smrg
4462a5a92c01Smrg
4463a5a92c01Smrg
4464a5a92c01Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4465a5a92c01SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4466a5a92c01Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4467a5a92c01Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4468a5a92c01Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4469a5a92c01Smrg
4470a5a92c01Smrg
4471a5a92c01Smrg
44721fb077a1Smrg
44731fb077a1Smrg
44741fb077a1Smrg
44751fb077a1Smrgif test x$APP_MAN_SUFFIX = x    ; then
44761fb077a1Smrg    APP_MAN_SUFFIX=1
44771fb077a1Smrgfi
44781fb077a1Smrgif test x$APP_MAN_DIR = x    ; then
44791fb077a1Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
44801fb077a1Smrgfi
44811fb077a1Smrg
44821fb077a1Smrgif test x$LIB_MAN_SUFFIX = x    ; then
44831fb077a1Smrg    LIB_MAN_SUFFIX=3
44841fb077a1Smrgfi
44851fb077a1Smrgif test x$LIB_MAN_DIR = x    ; then
44861fb077a1Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
44871fb077a1Smrgfi
44881fb077a1Smrg
44891fb077a1Smrgif test x$FILE_MAN_SUFFIX = x    ; then
44901fb077a1Smrg    case $host_os in
44911fb077a1Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
44921fb077a1Smrg	*)		FILE_MAN_SUFFIX=5  ;;
44931fb077a1Smrg    esac
44941fb077a1Smrgfi
44951fb077a1Smrgif test x$FILE_MAN_DIR = x    ; then
44961fb077a1Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
44971fb077a1Smrgfi
44981fb077a1Smrg
44991fb077a1Smrgif test x$MISC_MAN_SUFFIX = x    ; then
45001fb077a1Smrg    case $host_os in
45011fb077a1Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
45021fb077a1Smrg	*)		MISC_MAN_SUFFIX=7  ;;
45031fb077a1Smrg    esac
45041fb077a1Smrgfi
45051fb077a1Smrgif test x$MISC_MAN_DIR = x    ; then
45061fb077a1Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
45071fb077a1Smrgfi
45081fb077a1Smrg
45091fb077a1Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
45101fb077a1Smrg    case $host_os in
45111fb077a1Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
45121fb077a1Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
45131fb077a1Smrg    esac
45141fb077a1Smrgfi
45151fb077a1Smrgif test x$DRIVER_MAN_DIR = x    ; then
45161fb077a1Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
45171fb077a1Smrgfi
45181fb077a1Smrg
45191fb077a1Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
45201fb077a1Smrg    case $host_os in
45211fb077a1Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
45221fb077a1Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
45231fb077a1Smrg    esac
45241fb077a1Smrgfi
45251fb077a1Smrgif test x$ADMIN_MAN_DIR = x    ; then
45261fb077a1Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
45271fb077a1Smrgfi
45281fb077a1Smrg
45291fb077a1Smrg
45301fb077a1Smrg
45311fb077a1Smrg
45321fb077a1Smrg
45331fb077a1Smrg
45341fb077a1Smrg
45351fb077a1Smrg
45361fb077a1Smrg
45371fb077a1Smrg
45381fb077a1Smrg
45391fb077a1Smrg
45401fb077a1Smrg
45411fb077a1Smrg
45421fb077a1Smrg
4543a5a92c01SmrgXORG_MAN_PAGE="X Version 11"
4544a5a92c01Smrg
4545a5a92c01SmrgMAN_SUBSTS="\
4546a5a92c01Smrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4547a5a92c01Smrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4548a5a92c01Smrg	-e 's|__xservername__|Xorg|g' \
4549a5a92c01Smrg	-e 's|__xconfigfile__|xorg.conf|g' \
4550a5a92c01Smrg	-e 's|__projectroot__|\$(prefix)|g' \
4551a5a92c01Smrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
4552a5a92c01Smrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4553a5a92c01Smrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4554a5a92c01Smrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4555a5a92c01Smrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4556a5a92c01Smrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4557a5a92c01Smrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4558a5a92c01Smrg
4559a5a92c01Smrg
4560a5a92c01Smrg
4561a5a92c01Smrg# Check whether --enable-silent-rules was given.
4562a5a92c01Smrgif test "${enable_silent_rules+set}" = set; then :
4563a5a92c01Smrg  enableval=$enable_silent_rules;
4564a5a92c01Smrgfi
4565a5a92c01Smrg
4566a5a92c01Smrgcase $enable_silent_rules in
4567a5a92c01Smrgyes) AM_DEFAULT_VERBOSITY=0;;
4568a5a92c01Smrgno)  AM_DEFAULT_VERBOSITY=1;;
4569a5a92c01Smrg*)   AM_DEFAULT_VERBOSITY=0;;
4570a5a92c01Smrgesac
4571a5a92c01SmrgAM_BACKSLASH='\'
4572a5a92c01Smrg
4573a5a92c01Smrg
4574a5a92c01Smrg
4575a5a92c01Smrgac_config_headers="$ac_config_headers config.h"
4576a5a92c01Smrg
4577a5a92c01Smrg
4578a5a92c01Smrg# Checks for pkg-config packages
4579a5a92c01Smrg
4580a5a92c01Smrgpkg_failed=no
4581a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICO" >&5
4582a5a92c01Smrg$as_echo_n "checking for ICO... " >&6; }
4583a5a92c01Smrg
4584a5a92c01Smrgif test -n "$ICO_CFLAGS"; then
4585a5a92c01Smrg    pkg_cv_ICO_CFLAGS="$ICO_CFLAGS"
4586a5a92c01Smrg elif test -n "$PKG_CONFIG"; then
4587a5a92c01Smrg    if test -n "$PKG_CONFIG" && \
4588a5a92c01Smrg    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 0.99.1\""; } >&5
4589a5a92c01Smrg  ($PKG_CONFIG --exists --print-errors "x11 >= 0.99.1") 2>&5
4590a5a92c01Smrg  ac_status=$?
4591a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4592a5a92c01Smrg  test $ac_status = 0; }; then
4593a5a92c01Smrg  pkg_cv_ICO_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 0.99.1" 2>/dev/null`
4594a5a92c01Smrgelse
4595a5a92c01Smrg  pkg_failed=yes
4596a5a92c01Smrgfi
4597a5a92c01Smrg else
4598a5a92c01Smrg    pkg_failed=untried
4599a5a92c01Smrgfi
4600a5a92c01Smrgif test -n "$ICO_LIBS"; then
4601a5a92c01Smrg    pkg_cv_ICO_LIBS="$ICO_LIBS"
4602a5a92c01Smrg elif test -n "$PKG_CONFIG"; then
4603a5a92c01Smrg    if test -n "$PKG_CONFIG" && \
4604a5a92c01Smrg    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 0.99.1\""; } >&5
4605a5a92c01Smrg  ($PKG_CONFIG --exists --print-errors "x11 >= 0.99.1") 2>&5
4606a5a92c01Smrg  ac_status=$?
4607a5a92c01Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4608a5a92c01Smrg  test $ac_status = 0; }; then
4609a5a92c01Smrg  pkg_cv_ICO_LIBS=`$PKG_CONFIG --libs "x11 >= 0.99.1" 2>/dev/null`
4610a5a92c01Smrgelse
4611a5a92c01Smrg  pkg_failed=yes
4612a5a92c01Smrgfi
4613a5a92c01Smrg else
4614a5a92c01Smrg    pkg_failed=untried
4615a5a92c01Smrgfi
4616a5a92c01Smrg
4617a5a92c01Smrg
46181fb077a1Smrg
4619a5a92c01Smrgif test $pkg_failed = yes; then
46201fb077a1Smrg
4621a5a92c01Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4622a5a92c01Smrg        _pkg_short_errors_supported=yes
46231fb077a1Smrgelse
4624a5a92c01Smrg        _pkg_short_errors_supported=no
46251fb077a1Smrgfi
4626a5a92c01Smrg        if test $_pkg_short_errors_supported = yes; then
4627a5a92c01Smrg	        ICO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 >= 0.99.1" 2>&1`
4628a5a92c01Smrg        else
4629a5a92c01Smrg	        ICO_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 >= 0.99.1" 2>&1`
4630a5a92c01Smrg        fi
4631a5a92c01Smrg	# Put the nasty error message in config.log where it belongs
4632a5a92c01Smrg	echo "$ICO_PKG_ERRORS" >&5
46331fb077a1Smrg
4634a5a92c01Smrg	as_fn_error $? "Package requirements (x11 >= 0.99.1) were not met:
46351fb077a1Smrg
4636a5a92c01Smrg$ICO_PKG_ERRORS
46371fb077a1Smrg
4638a5a92c01SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
4639a5a92c01Smrginstalled software in a non-standard prefix.
46401fb077a1Smrg
4641a5a92c01SmrgAlternatively, you may set the environment variables ICO_CFLAGS
4642a5a92c01Smrgand ICO_LIBS to avoid the need to call pkg-config.
4643a5a92c01SmrgSee the pkg-config man page for more details.
4644a5a92c01Smrg" "$LINENO" 5
4645a5a92c01Smrgelif test $pkg_failed = untried; then
4646a5a92c01Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647a5a92c01Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648a5a92c01Smrgas_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4649a5a92c01Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
4650a5a92c01Smrgpath to pkg-config.
46511fb077a1Smrg
4652a5a92c01SmrgAlternatively, you may set the environment variables ICO_CFLAGS
4653a5a92c01Smrgand ICO_LIBS to avoid the need to call pkg-config.
4654a5a92c01SmrgSee the pkg-config man page for more details.
46551fb077a1Smrg
4656a5a92c01SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>.
4657a5a92c01SmrgSee \`config.log' for more details" "$LINENO" 5; }
4658a5a92c01Smrgelse
4659a5a92c01Smrg	ICO_CFLAGS=$pkg_cv_ICO_CFLAGS
4660a5a92c01Smrg	ICO_LIBS=$pkg_cv_ICO_LIBS
4661a5a92c01Smrg        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4662a5a92c01Smrg$as_echo "yes" >&6; }
4663a5a92c01Smrg	:
4664a5a92c01Smrgfi
4665a5a92c01Smrg
4666a5a92c01SmrgXTHREADLIB=`$PKG_CONFIG --variable=xthreadlib x11`
46671fb077a1Smrg
46681fb077a1Smrg
46691fb077a1Smrg
46701fb077a1Smrgac_config_files="$ac_config_files Makefile"
46711fb077a1Smrg
46721fb077a1Smrgcat >confcache <<\_ACEOF
46731fb077a1Smrg# This file is a shell script that caches the results of configure
46741fb077a1Smrg# tests run on this system so they can be shared between configure
46751fb077a1Smrg# scripts and configure runs, see configure's option --config-cache.
46761fb077a1Smrg# It is not useful on other systems.  If it contains results you don't
46771fb077a1Smrg# want to keep, you may remove or edit it.
46781fb077a1Smrg#
46791fb077a1Smrg# config.status only pays attention to the cache file if you give it
46801fb077a1Smrg# the --recheck option to rerun configure.
46811fb077a1Smrg#
46821fb077a1Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
46831fb077a1Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
46841fb077a1Smrg# following values.
46851fb077a1Smrg
46861fb077a1Smrg_ACEOF
46871fb077a1Smrg
46881fb077a1Smrg# The following way of writing the cache mishandles newlines in values,
46891fb077a1Smrg# but we know of no workaround that is simple, portable, and efficient.
46901fb077a1Smrg# So, we kill variables containing newlines.
46911fb077a1Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
46921fb077a1Smrg# and sets the high bit in the cache file unless we assign to the vars.
46931fb077a1Smrg(
46941fb077a1Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46951fb077a1Smrg    eval ac_val=\$$ac_var
46961fb077a1Smrg    case $ac_val in #(
46971fb077a1Smrg    *${as_nl}*)
46981fb077a1Smrg      case $ac_var in #(
4699a5a92c01Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4700a5a92c01Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
47011fb077a1Smrg      esac
47021fb077a1Smrg      case $ac_var in #(
47031fb077a1Smrg      _ | IFS | as_nl) ;; #(
4704a5a92c01Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4705a5a92c01Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
47061fb077a1Smrg      esac ;;
47071fb077a1Smrg    esac
47081fb077a1Smrg  done
47091fb077a1Smrg
47101fb077a1Smrg  (set) 2>&1 |
47111fb077a1Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
47121fb077a1Smrg    *${as_nl}ac_space=\ *)
4713a5a92c01Smrg      # `set' does not quote correctly, so add quotes: double-quote
4714a5a92c01Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
47151fb077a1Smrg      sed -n \
47161fb077a1Smrg	"s/'/'\\\\''/g;
47171fb077a1Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
47181fb077a1Smrg      ;; #(
47191fb077a1Smrg    *)
47201fb077a1Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
47211fb077a1Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
47221fb077a1Smrg      ;;
47231fb077a1Smrg    esac |
47241fb077a1Smrg    sort
47251fb077a1Smrg) |
47261fb077a1Smrg  sed '
47271fb077a1Smrg     /^ac_cv_env_/b end
47281fb077a1Smrg     t clear
47291fb077a1Smrg     :clear
47301fb077a1Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
47311fb077a1Smrg     t end
47321fb077a1Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
47331fb077a1Smrg     :end' >>confcache
47341fb077a1Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
47351fb077a1Smrg  if test -w "$cache_file"; then
4736a5a92c01Smrg    if test "x$cache_file" != "x/dev/null"; then
4737a5a92c01Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4738a5a92c01Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
4739a5a92c01Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
4740a5a92c01Smrg	cat confcache >"$cache_file"
4741a5a92c01Smrg      else
4742a5a92c01Smrg        case $cache_file in #(
4743a5a92c01Smrg        */* | ?:*)
4744a5a92c01Smrg	  mv -f confcache "$cache_file"$$ &&
4745a5a92c01Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4746a5a92c01Smrg        *)
4747a5a92c01Smrg	  mv -f confcache "$cache_file" ;;
4748a5a92c01Smrg	esac
4749a5a92c01Smrg      fi
4750a5a92c01Smrg    fi
47511fb077a1Smrg  else
4752a5a92c01Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4753a5a92c01Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
47541fb077a1Smrg  fi
47551fb077a1Smrgfi
47561fb077a1Smrgrm -f confcache
47571fb077a1Smrg
47581fb077a1Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
47591fb077a1Smrg# Let make expand exec_prefix.
47601fb077a1Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
47611fb077a1Smrg
47621fb077a1SmrgDEFS=-DHAVE_CONFIG_H
47631fb077a1Smrg
47641fb077a1Smrgac_libobjs=
47651fb077a1Smrgac_ltlibobjs=
4766a5a92c01SmrgU=
47671fb077a1Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
47681fb077a1Smrg  # 1. Remove the extension, and $U if already installed.
47691fb077a1Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4770a5a92c01Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
47711fb077a1Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
47721fb077a1Smrg  #    will be set to the directory where LIBOBJS objects are built.
4773a5a92c01Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4774a5a92c01Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
47751fb077a1Smrgdone
47761fb077a1SmrgLIBOBJS=$ac_libobjs
47771fb077a1Smrg
47781fb077a1SmrgLTLIBOBJS=$ac_ltlibobjs
47791fb077a1Smrg
47801fb077a1Smrg
4781a5a92c01Smrg if test -n "$EXEEXT"; then
4782a5a92c01Smrg  am__EXEEXT_TRUE=
4783a5a92c01Smrg  am__EXEEXT_FALSE='#'
4784a5a92c01Smrgelse
4785a5a92c01Smrg  am__EXEEXT_TRUE='#'
4786a5a92c01Smrg  am__EXEEXT_FALSE=
4787a5a92c01Smrgfi
4788a5a92c01Smrg
47891fb077a1Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4790a5a92c01Smrg  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4791a5a92c01SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
47921fb077a1Smrgfi
47931fb077a1Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4794a5a92c01Smrg  as_fn_error $? "conditional \"AMDEP\" was never defined.
4795a5a92c01SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
47961fb077a1Smrgfi
47971fb077a1Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4798a5a92c01Smrg  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4799a5a92c01SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
48001fb077a1Smrgfi
48011fb077a1Smrg
4802a5a92c01Smrg: "${CONFIG_STATUS=./config.status}"
4803a5a92c01Smrgac_write_fail=0
48041fb077a1Smrgac_clean_files_save=$ac_clean_files
48051fb077a1Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
4806a5a92c01Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4807a5a92c01Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4808a5a92c01Smrgas_write_fail=0
4809a5a92c01Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
48101fb077a1Smrg#! $SHELL
48111fb077a1Smrg# Generated by $as_me.
48121fb077a1Smrg# Run this file to recreate the current configuration.
48131fb077a1Smrg# Compiler output produced by configure, useful for debugging
48141fb077a1Smrg# configure, is in config.log if it exists.
48151fb077a1Smrg
48161fb077a1Smrgdebug=false
48171fb077a1Smrgac_cs_recheck=false
48181fb077a1Smrgac_cs_silent=false
48191fb077a1Smrg
4820a5a92c01SmrgSHELL=\${CONFIG_SHELL-$SHELL}
4821a5a92c01Smrgexport SHELL
4822a5a92c01Smrg_ASEOF
4823a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4824a5a92c01Smrg## -------------------- ##
4825a5a92c01Smrg## M4sh Initialization. ##
4826a5a92c01Smrg## -------------------- ##
48271fb077a1Smrg
48281fb077a1Smrg# Be more Bourne compatible
48291fb077a1SmrgDUALCASE=1; export DUALCASE # for MKS sh
4830a5a92c01Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
48311fb077a1Smrg  emulate sh
48321fb077a1Smrg  NULLCMD=:
4833a5a92c01Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
48341fb077a1Smrg  # is contrary to our usage.  Disable this feature.
48351fb077a1Smrg  alias -g '${1+"$@"}'='"$@"'
48361fb077a1Smrg  setopt NO_GLOB_SUBST
48371fb077a1Smrgelse
4838a5a92c01Smrg  case `(set -o) 2>/dev/null` in #(
4839a5a92c01Smrg  *posix*) :
4840a5a92c01Smrg    set -o posix ;; #(
4841a5a92c01Smrg  *) :
4842a5a92c01Smrg     ;;
48431fb077a1Smrgesac
48441fb077a1Smrgfi
48451fb077a1Smrg
48461fb077a1Smrg
4847a5a92c01Smrgas_nl='
4848a5a92c01Smrg'
4849a5a92c01Smrgexport as_nl
4850a5a92c01Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
4851a5a92c01Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4852a5a92c01Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4853a5a92c01Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4854a5a92c01Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
4855a5a92c01Smrg# but without wasting forks for bash or zsh.
4856a5a92c01Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
4857a5a92c01Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4858a5a92c01Smrg  as_echo='print -r --'
4859a5a92c01Smrg  as_echo_n='print -rn --'
4860a5a92c01Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4861a5a92c01Smrg  as_echo='printf %s\n'
4862a5a92c01Smrg  as_echo_n='printf %s'
4863a5a92c01Smrgelse
4864a5a92c01Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4865a5a92c01Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4866a5a92c01Smrg    as_echo_n='/usr/ucb/echo -n'
48671fb077a1Smrg  else
4868a5a92c01Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4869a5a92c01Smrg    as_echo_n_body='eval
4870a5a92c01Smrg      arg=$1;
4871a5a92c01Smrg      case $arg in #(
4872a5a92c01Smrg      *"$as_nl"*)
4873a5a92c01Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
4874a5a92c01Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4875a5a92c01Smrg      esac;
4876a5a92c01Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4877a5a92c01Smrg    '
4878a5a92c01Smrg    export as_echo_n_body
4879a5a92c01Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
48801fb077a1Smrg  fi
4881a5a92c01Smrg  export as_echo_body
4882a5a92c01Smrg  as_echo='sh -c $as_echo_body as_echo'
48831fb077a1Smrgfi
48841fb077a1Smrg
4885a5a92c01Smrg# The user is always right.
4886a5a92c01Smrgif test "${PATH_SEPARATOR+set}" != set; then
4887a5a92c01Smrg  PATH_SEPARATOR=:
4888a5a92c01Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4889a5a92c01Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4890a5a92c01Smrg      PATH_SEPARATOR=';'
4891a5a92c01Smrg  }
48921fb077a1Smrgfi
48931fb077a1Smrg
48941fb077a1Smrg
48951fb077a1Smrg# IFS
48961fb077a1Smrg# We need space, tab and new line, in precisely that order.  Quoting is
48971fb077a1Smrg# there to prevent editors from complaining about space-tab.
48981fb077a1Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
48991fb077a1Smrg# splitting by setting IFS to empty value.)
49001fb077a1SmrgIFS=" ""	$as_nl"
49011fb077a1Smrg
49021fb077a1Smrg# Find who we are.  Look in the path if we contain no directory separator.
4903a5a92c01Smrgas_myself=
4904a5a92c01Smrgcase $0 in #((
49051fb077a1Smrg  *[\\/]* ) as_myself=$0 ;;
49061fb077a1Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49071fb077a1Smrgfor as_dir in $PATH
49081fb077a1Smrgdo
49091fb077a1Smrg  IFS=$as_save_IFS
49101fb077a1Smrg  test -z "$as_dir" && as_dir=.
4911a5a92c01Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4912a5a92c01Smrg  done
49131fb077a1SmrgIFS=$as_save_IFS
49141fb077a1Smrg
49151fb077a1Smrg     ;;
49161fb077a1Smrgesac
49171fb077a1Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
49181fb077a1Smrg# in which case we are not to be found in the path.
49191fb077a1Smrgif test "x$as_myself" = x; then
49201fb077a1Smrg  as_myself=$0
49211fb077a1Smrgfi
49221fb077a1Smrgif test ! -f "$as_myself"; then
4923a5a92c01Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4924a5a92c01Smrg  exit 1
49251fb077a1Smrgfi
49261fb077a1Smrg
4927a5a92c01Smrg# Unset variables that we do not need and which cause bugs (e.g. in
4928a5a92c01Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4929a5a92c01Smrg# suppresses any "Segmentation fault" message there.  '((' could
4930a5a92c01Smrg# trigger a bug in pdksh 5.2.14.
4931a5a92c01Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
4932a5a92c01Smrgdo eval test x\${$as_var+set} = xset \
4933a5a92c01Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
49341fb077a1Smrgdone
49351fb077a1SmrgPS1='$ '
49361fb077a1SmrgPS2='> '
49371fb077a1SmrgPS4='+ '
49381fb077a1Smrg
49391fb077a1Smrg# NLS nuisances.
4940a5a92c01SmrgLC_ALL=C
4941a5a92c01Smrgexport LC_ALL
4942a5a92c01SmrgLANGUAGE=C
4943a5a92c01Smrgexport LANGUAGE
4944a5a92c01Smrg
4945a5a92c01Smrg# CDPATH.
4946a5a92c01Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4947a5a92c01Smrg
4948a5a92c01Smrg
4949a5a92c01Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
4950a5a92c01Smrg# ----------------------------------------
4951a5a92c01Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4952a5a92c01Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4953a5a92c01Smrg# script with STATUS, using 1 if that was 0.
4954a5a92c01Smrgas_fn_error ()
4955a5a92c01Smrg{
4956a5a92c01Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
4957a5a92c01Smrg  if test "$4"; then
4958a5a92c01Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4959a5a92c01Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
49601fb077a1Smrg  fi
4961a5a92c01Smrg  $as_echo "$as_me: error: $2" >&2
4962a5a92c01Smrg  as_fn_exit $as_status
4963a5a92c01Smrg} # as_fn_error
4964a5a92c01Smrg
4965a5a92c01Smrg
4966a5a92c01Smrg# as_fn_set_status STATUS
4967a5a92c01Smrg# -----------------------
4968a5a92c01Smrg# Set $? to STATUS, without forking.
4969a5a92c01Smrgas_fn_set_status ()
4970a5a92c01Smrg{
4971a5a92c01Smrg  return $1
4972a5a92c01Smrg} # as_fn_set_status
4973a5a92c01Smrg
4974a5a92c01Smrg# as_fn_exit STATUS
4975a5a92c01Smrg# -----------------
4976a5a92c01Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4977a5a92c01Smrgas_fn_exit ()
4978a5a92c01Smrg{
4979a5a92c01Smrg  set +e
4980a5a92c01Smrg  as_fn_set_status $1
4981a5a92c01Smrg  exit $1
4982a5a92c01Smrg} # as_fn_exit
4983a5a92c01Smrg
4984a5a92c01Smrg# as_fn_unset VAR
4985a5a92c01Smrg# ---------------
4986a5a92c01Smrg# Portably unset VAR.
4987a5a92c01Smrgas_fn_unset ()
4988a5a92c01Smrg{
4989a5a92c01Smrg  { eval $1=; unset $1;}
4990a5a92c01Smrg}
4991a5a92c01Smrgas_unset=as_fn_unset
4992a5a92c01Smrg# as_fn_append VAR VALUE
4993a5a92c01Smrg# ----------------------
4994a5a92c01Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
4995a5a92c01Smrg# advantage of any shell optimizations that allow amortized linear growth over
4996a5a92c01Smrg# repeated appends, instead of the typical quadratic growth present in naive
4997a5a92c01Smrg# implementations.
4998a5a92c01Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4999a5a92c01Smrg  eval 'as_fn_append ()
5000a5a92c01Smrg  {
5001a5a92c01Smrg    eval $1+=\$2
5002a5a92c01Smrg  }'
5003a5a92c01Smrgelse
5004a5a92c01Smrg  as_fn_append ()
5005a5a92c01Smrg  {
5006a5a92c01Smrg    eval $1=\$$1\$2
5007a5a92c01Smrg  }
5008a5a92c01Smrgfi # as_fn_append
5009a5a92c01Smrg
5010a5a92c01Smrg# as_fn_arith ARG...
5011a5a92c01Smrg# ------------------
5012a5a92c01Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
5013a5a92c01Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
5014a5a92c01Smrg# must be portable across $(()) and expr.
5015a5a92c01Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5016a5a92c01Smrg  eval 'as_fn_arith ()
5017a5a92c01Smrg  {
5018a5a92c01Smrg    as_val=$(( $* ))
5019a5a92c01Smrg  }'
5020a5a92c01Smrgelse
5021a5a92c01Smrg  as_fn_arith ()
5022a5a92c01Smrg  {
5023a5a92c01Smrg    as_val=`expr "$@" || test $? -eq 1`
5024a5a92c01Smrg  }
5025a5a92c01Smrgfi # as_fn_arith
5026a5a92c01Smrg
50271fb077a1Smrg
50281fb077a1Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
50291fb077a1Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
50301fb077a1Smrg  as_expr=expr
50311fb077a1Smrgelse
50321fb077a1Smrg  as_expr=false
50331fb077a1Smrgfi
50341fb077a1Smrg
50351fb077a1Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50361fb077a1Smrg  as_basename=basename
50371fb077a1Smrgelse
50381fb077a1Smrg  as_basename=false
50391fb077a1Smrgfi
50401fb077a1Smrg
5041a5a92c01Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5042a5a92c01Smrg  as_dirname=dirname
5043a5a92c01Smrgelse
5044a5a92c01Smrg  as_dirname=false
5045a5a92c01Smrgfi
50461fb077a1Smrg
50471fb077a1Smrgas_me=`$as_basename -- "$0" ||
50481fb077a1Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50491fb077a1Smrg	 X"$0" : 'X\(//\)$' \| \
50501fb077a1Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5051a5a92c01Smrg$as_echo X/"$0" |
50521fb077a1Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
50531fb077a1Smrg	    s//\1/
50541fb077a1Smrg	    q
50551fb077a1Smrg	  }
50561fb077a1Smrg	  /^X\/\(\/\/\)$/{
50571fb077a1Smrg	    s//\1/
50581fb077a1Smrg	    q
50591fb077a1Smrg	  }
50601fb077a1Smrg	  /^X\/\(\/\).*/{
50611fb077a1Smrg	    s//\1/
50621fb077a1Smrg	    q
50631fb077a1Smrg	  }
50641fb077a1Smrg	  s/.*/./; q'`
50651fb077a1Smrg
5066a5a92c01Smrg# Avoid depending upon Character Ranges.
5067a5a92c01Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
5068a5a92c01Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5069a5a92c01Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
5070a5a92c01Smrgas_cr_digits='0123456789'
5071a5a92c01Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
50721fb077a1Smrg
50731fb077a1SmrgECHO_C= ECHO_N= ECHO_T=
5074a5a92c01Smrgcase `echo -n x` in #(((((
50751fb077a1Smrg-n*)
5076a5a92c01Smrg  case `echo 'xy\c'` in
50771fb077a1Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5078a5a92c01Smrg  xy)  ECHO_C='\c';;
5079a5a92c01Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5080a5a92c01Smrg       ECHO_T='	';;
50811fb077a1Smrg  esac;;
50821fb077a1Smrg*)
50831fb077a1Smrg  ECHO_N='-n';;
50841fb077a1Smrgesac
50851fb077a1Smrg
50861fb077a1Smrgrm -f conf$$ conf$$.exe conf$$.file
50871fb077a1Smrgif test -d conf$$.dir; then
50881fb077a1Smrg  rm -f conf$$.dir/conf$$.file
50891fb077a1Smrgelse
50901fb077a1Smrg  rm -f conf$$.dir
5091a5a92c01Smrg  mkdir conf$$.dir 2>/dev/null
5092a5a92c01Smrgfi
5093a5a92c01Smrgif (echo >conf$$.file) 2>/dev/null; then
5094a5a92c01Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5095a5a92c01Smrg    as_ln_s='ln -s'
5096a5a92c01Smrg    # ... but there are two gotchas:
5097a5a92c01Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5098a5a92c01Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5099a5a92c01Smrg    # In both cases, we have to default to `cp -p'.
5100a5a92c01Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5101a5a92c01Smrg      as_ln_s='cp -p'
5102a5a92c01Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5103a5a92c01Smrg    as_ln_s=ln
5104a5a92c01Smrg  else
51051fb077a1Smrg    as_ln_s='cp -p'
5106a5a92c01Smrg  fi
51071fb077a1Smrgelse
51081fb077a1Smrg  as_ln_s='cp -p'
51091fb077a1Smrgfi
51101fb077a1Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51111fb077a1Smrgrmdir conf$$.dir 2>/dev/null
51121fb077a1Smrg
5113a5a92c01Smrg
5114a5a92c01Smrg# as_fn_mkdir_p
5115a5a92c01Smrg# -------------
5116a5a92c01Smrg# Create "$as_dir" as a directory, including parents if necessary.
5117a5a92c01Smrgas_fn_mkdir_p ()
5118a5a92c01Smrg{
5119a5a92c01Smrg
5120a5a92c01Smrg  case $as_dir in #(
5121a5a92c01Smrg  -*) as_dir=./$as_dir;;
5122a5a92c01Smrg  esac
5123a5a92c01Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
5124a5a92c01Smrg    as_dirs=
5125a5a92c01Smrg    while :; do
5126a5a92c01Smrg      case $as_dir in #(
5127a5a92c01Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5128a5a92c01Smrg      *) as_qdir=$as_dir;;
5129a5a92c01Smrg      esac
5130a5a92c01Smrg      as_dirs="'$as_qdir' $as_dirs"
5131a5a92c01Smrg      as_dir=`$as_dirname -- "$as_dir" ||
5132a5a92c01Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5133a5a92c01Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
5134a5a92c01Smrg	 X"$as_dir" : 'X\(//\)$' \| \
5135a5a92c01Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5136a5a92c01Smrg$as_echo X"$as_dir" |
5137a5a92c01Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5138a5a92c01Smrg	    s//\1/
5139a5a92c01Smrg	    q
5140a5a92c01Smrg	  }
5141a5a92c01Smrg	  /^X\(\/\/\)[^/].*/{
5142a5a92c01Smrg	    s//\1/
5143a5a92c01Smrg	    q
5144a5a92c01Smrg	  }
5145a5a92c01Smrg	  /^X\(\/\/\)$/{
5146a5a92c01Smrg	    s//\1/
5147a5a92c01Smrg	    q
5148a5a92c01Smrg	  }
5149a5a92c01Smrg	  /^X\(\/\).*/{
5150a5a92c01Smrg	    s//\1/
5151a5a92c01Smrg	    q
5152a5a92c01Smrg	  }
5153a5a92c01Smrg	  s/.*/./; q'`
5154a5a92c01Smrg      test -d "$as_dir" && break
5155a5a92c01Smrg    done
5156a5a92c01Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
5157a5a92c01Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5158a5a92c01Smrg
5159a5a92c01Smrg
5160a5a92c01Smrg} # as_fn_mkdir_p
51611fb077a1Smrgif mkdir -p . 2>/dev/null; then
5162a5a92c01Smrg  as_mkdir_p='mkdir -p "$as_dir"'
51631fb077a1Smrgelse
51641fb077a1Smrg  test -d ./-p && rmdir ./-p
51651fb077a1Smrg  as_mkdir_p=false
51661fb077a1Smrgfi
51671fb077a1Smrg
51681fb077a1Smrgif test -x / >/dev/null 2>&1; then
51691fb077a1Smrg  as_test_x='test -x'
51701fb077a1Smrgelse
51711fb077a1Smrg  if ls -dL / >/dev/null 2>&1; then
51721fb077a1Smrg    as_ls_L_option=L
51731fb077a1Smrg  else
51741fb077a1Smrg    as_ls_L_option=
51751fb077a1Smrg  fi
51761fb077a1Smrg  as_test_x='
51771fb077a1Smrg    eval sh -c '\''
51781fb077a1Smrg      if test -d "$1"; then
5179a5a92c01Smrg	test -d "$1/.";
51801fb077a1Smrg      else
5181a5a92c01Smrg	case $1 in #(
5182a5a92c01Smrg	-*)set "./$1";;
51831fb077a1Smrg	esac;
5184a5a92c01Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
51851fb077a1Smrg	???[sx]*):;;*)false;;esac;fi
51861fb077a1Smrg    '\'' sh
51871fb077a1Smrg  '
51881fb077a1Smrgfi
51891fb077a1Smrgas_executable_p=$as_test_x
51901fb077a1Smrg
51911fb077a1Smrg# Sed expression to map a string onto a valid CPP name.
51921fb077a1Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51931fb077a1Smrg
51941fb077a1Smrg# Sed expression to map a string onto a valid variable name.
51951fb077a1Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51961fb077a1Smrg
51971fb077a1Smrg
51981fb077a1Smrgexec 6>&1
5199a5a92c01Smrg## ----------------------------------- ##
5200a5a92c01Smrg## Main body of $CONFIG_STATUS script. ##
5201a5a92c01Smrg## ----------------------------------- ##
5202a5a92c01Smrg_ASEOF
5203a5a92c01Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
52041fb077a1Smrg
5205a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5206a5a92c01Smrg# Save the log message, to keep $0 and so on meaningful, and to
52071fb077a1Smrg# report actual input values of CONFIG_FILES etc. instead of their
52081fb077a1Smrg# values after options handling.
52091fb077a1Smrgac_log="
5210a5a92c01SmrgThis file was extended by ico $as_me 1.0.3, which was
5211a5a92c01Smrggenerated by GNU Autoconf 2.68.  Invocation command line was
52121fb077a1Smrg
52131fb077a1Smrg  CONFIG_FILES    = $CONFIG_FILES
52141fb077a1Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
52151fb077a1Smrg  CONFIG_LINKS    = $CONFIG_LINKS
52161fb077a1Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
52171fb077a1Smrg  $ $0 $@
52181fb077a1Smrg
52191fb077a1Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
52201fb077a1Smrg"
52211fb077a1Smrg
52221fb077a1Smrg_ACEOF
52231fb077a1Smrg
5224a5a92c01Smrgcase $ac_config_files in *"
5225a5a92c01Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
5226a5a92c01Smrgesac
5227a5a92c01Smrg
5228a5a92c01Smrgcase $ac_config_headers in *"
5229a5a92c01Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5230a5a92c01Smrgesac
5231a5a92c01Smrg
5232a5a92c01Smrg
5233a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52341fb077a1Smrg# Files that config.status was made for.
52351fb077a1Smrgconfig_files="$ac_config_files"
52361fb077a1Smrgconfig_headers="$ac_config_headers"
52371fb077a1Smrgconfig_commands="$ac_config_commands"
52381fb077a1Smrg
52391fb077a1Smrg_ACEOF
52401fb077a1Smrg
5241a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52421fb077a1Smrgac_cs_usage="\
5243a5a92c01Smrg\`$as_me' instantiates files and other configuration actions
5244a5a92c01Smrgfrom templates according to the current configuration.  Unless the files
5245a5a92c01Smrgand actions are specified as TAGs, all are instantiated by default.
52461fb077a1Smrg
5247a5a92c01SmrgUsage: $0 [OPTION]... [TAG]...
52481fb077a1Smrg
52491fb077a1Smrg  -h, --help       print this help, then exit
52501fb077a1Smrg  -V, --version    print version number and configuration settings, then exit
5251a5a92c01Smrg      --config     print configuration, then exit
5252a5a92c01Smrg  -q, --quiet, --silent
5253a5a92c01Smrg                   do not print progress messages
52541fb077a1Smrg  -d, --debug      don't remove temporary files
52551fb077a1Smrg      --recheck    update $as_me by reconfiguring in the same conditions
5256a5a92c01Smrg      --file=FILE[:TEMPLATE]
5257a5a92c01Smrg                   instantiate the configuration file FILE
5258a5a92c01Smrg      --header=FILE[:TEMPLATE]
5259a5a92c01Smrg                   instantiate the configuration header FILE
52601fb077a1Smrg
52611fb077a1SmrgConfiguration files:
52621fb077a1Smrg$config_files
52631fb077a1Smrg
52641fb077a1SmrgConfiguration headers:
52651fb077a1Smrg$config_headers
52661fb077a1Smrg
52671fb077a1SmrgConfiguration commands:
52681fb077a1Smrg$config_commands
52691fb077a1Smrg
5270a5a92c01SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
52711fb077a1Smrg
52721fb077a1Smrg_ACEOF
5273a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5274a5a92c01Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
52751fb077a1Smrgac_cs_version="\\
5276a5a92c01Smrgico config.status 1.0.3
5277a5a92c01Smrgconfigured by $0, generated by GNU Autoconf 2.68,
5278a5a92c01Smrg  with options \\"\$ac_cs_config\\"
52791fb077a1Smrg
5280a5a92c01SmrgCopyright (C) 2010 Free Software Foundation, Inc.
52811fb077a1SmrgThis config.status script is free software; the Free Software Foundation
52821fb077a1Smrggives unlimited permission to copy, distribute and modify it."
52831fb077a1Smrg
52841fb077a1Smrgac_pwd='$ac_pwd'
52851fb077a1Smrgsrcdir='$srcdir'
52861fb077a1SmrgINSTALL='$INSTALL'
52871fb077a1SmrgMKDIR_P='$MKDIR_P'
5288a5a92c01SmrgAWK='$AWK'
5289a5a92c01Smrgtest -n "\$AWK" || AWK=awk
52901fb077a1Smrg_ACEOF
52911fb077a1Smrg
5292a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5293a5a92c01Smrg# The default lists apply if the user does not specify any file.
52941fb077a1Smrgac_need_defaults=:
52951fb077a1Smrgwhile test $# != 0
52961fb077a1Smrgdo
52971fb077a1Smrg  case $1 in
5298a5a92c01Smrg  --*=?*)
52991fb077a1Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
53001fb077a1Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53011fb077a1Smrg    ac_shift=:
53021fb077a1Smrg    ;;
5303a5a92c01Smrg  --*=)
5304a5a92c01Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5305a5a92c01Smrg    ac_optarg=
5306a5a92c01Smrg    ac_shift=:
5307a5a92c01Smrg    ;;
53081fb077a1Smrg  *)
53091fb077a1Smrg    ac_option=$1
53101fb077a1Smrg    ac_optarg=$2
53111fb077a1Smrg    ac_shift=shift
53121fb077a1Smrg    ;;
53131fb077a1Smrg  esac
53141fb077a1Smrg
53151fb077a1Smrg  case $ac_option in
53161fb077a1Smrg  # Handling of the options.
53171fb077a1Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53181fb077a1Smrg    ac_cs_recheck=: ;;
53191fb077a1Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5320a5a92c01Smrg    $as_echo "$ac_cs_version"; exit ;;
5321a5a92c01Smrg  --config | --confi | --conf | --con | --co | --c )
5322a5a92c01Smrg    $as_echo "$ac_cs_config"; exit ;;
53231fb077a1Smrg  --debug | --debu | --deb | --de | --d | -d )
53241fb077a1Smrg    debug=: ;;
53251fb077a1Smrg  --file | --fil | --fi | --f )
53261fb077a1Smrg    $ac_shift
5327a5a92c01Smrg    case $ac_optarg in
5328a5a92c01Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5329a5a92c01Smrg    '') as_fn_error $? "missing file argument" ;;
5330a5a92c01Smrg    esac
5331a5a92c01Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
53321fb077a1Smrg    ac_need_defaults=false;;
53331fb077a1Smrg  --header | --heade | --head | --hea )
53341fb077a1Smrg    $ac_shift
5335a5a92c01Smrg    case $ac_optarg in
5336a5a92c01Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5337a5a92c01Smrg    esac
5338a5a92c01Smrg    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
53391fb077a1Smrg    ac_need_defaults=false;;
53401fb077a1Smrg  --he | --h)
53411fb077a1Smrg    # Conflict between --help and --header
5342a5a92c01Smrg    as_fn_error $? "ambiguous option: \`$1'
5343a5a92c01SmrgTry \`$0 --help' for more information.";;
53441fb077a1Smrg  --help | --hel | -h )
5345a5a92c01Smrg    $as_echo "$ac_cs_usage"; exit ;;
53461fb077a1Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53471fb077a1Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
53481fb077a1Smrg    ac_cs_silent=: ;;
53491fb077a1Smrg
53501fb077a1Smrg  # This is an error.
5351a5a92c01Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
5352a5a92c01SmrgTry \`$0 --help' for more information." ;;
53531fb077a1Smrg
5354a5a92c01Smrg  *) as_fn_append ac_config_targets " $1"
53551fb077a1Smrg     ac_need_defaults=false ;;
53561fb077a1Smrg
53571fb077a1Smrg  esac
53581fb077a1Smrg  shift
53591fb077a1Smrgdone
53601fb077a1Smrg
53611fb077a1Smrgac_configure_extra_args=
53621fb077a1Smrg
53631fb077a1Smrgif $ac_cs_silent; then
53641fb077a1Smrg  exec 6>/dev/null
53651fb077a1Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
53661fb077a1Smrgfi
53671fb077a1Smrg
53681fb077a1Smrg_ACEOF
5369a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
53701fb077a1Smrgif \$ac_cs_recheck; then
5371a5a92c01Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5372a5a92c01Smrg  shift
5373a5a92c01Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5374a5a92c01Smrg  CONFIG_SHELL='$SHELL'
53751fb077a1Smrg  export CONFIG_SHELL
5376a5a92c01Smrg  exec "\$@"
53771fb077a1Smrgfi
53781fb077a1Smrg
53791fb077a1Smrg_ACEOF
5380a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
53811fb077a1Smrgexec 5>>config.log
53821fb077a1Smrg{
53831fb077a1Smrg  echo
53841fb077a1Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53851fb077a1Smrg## Running $as_me. ##
53861fb077a1Smrg_ASBOX
5387a5a92c01Smrg  $as_echo "$ac_log"
53881fb077a1Smrg} >&5
53891fb077a1Smrg
53901fb077a1Smrg_ACEOF
5391a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
53921fb077a1Smrg#
53931fb077a1Smrg# INIT-COMMANDS
53941fb077a1Smrg#
53951fb077a1SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
53961fb077a1Smrg
53971fb077a1Smrg_ACEOF
53981fb077a1Smrg
5399a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
54001fb077a1Smrg
54011fb077a1Smrg# Handling of arguments.
54021fb077a1Smrgfor ac_config_target in $ac_config_targets
54031fb077a1Smrgdo
54041fb077a1Smrg  case $ac_config_target in
54051fb077a1Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5406a5a92c01Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
54071fb077a1Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
54081fb077a1Smrg
5409a5a92c01Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
54101fb077a1Smrg  esac
54111fb077a1Smrgdone
54121fb077a1Smrg
54131fb077a1Smrg
54141fb077a1Smrg# If the user did not use the arguments to specify the items to instantiate,
54151fb077a1Smrg# then the envvar interface is used.  Set only those that are not.
54161fb077a1Smrg# We use the long form for the default assignment because of an extremely
54171fb077a1Smrg# bizarre bug on SunOS 4.1.3.
54181fb077a1Smrgif $ac_need_defaults; then
54191fb077a1Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54201fb077a1Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54211fb077a1Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54221fb077a1Smrgfi
54231fb077a1Smrg
54241fb077a1Smrg# Have a temporary directory for convenience.  Make it in the build tree
54251fb077a1Smrg# simply because there is no reason against having it here, and in addition,
54261fb077a1Smrg# creating and moving files from /tmp can sometimes cause problems.
54271fb077a1Smrg# Hook for its removal unless debugging.
54281fb077a1Smrg# Note that there is a small window in which the directory will not be cleaned:
54291fb077a1Smrg# after its creation but before its name has been assigned to `$tmp'.
54301fb077a1Smrg$debug ||
54311fb077a1Smrg{
5432a5a92c01Smrg  tmp= ac_tmp=
54331fb077a1Smrg  trap 'exit_status=$?
5434a5a92c01Smrg  : "${ac_tmp:=$tmp}"
5435a5a92c01Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
54361fb077a1Smrg' 0
5437a5a92c01Smrg  trap 'as_fn_exit 1' 1 2 13 15
54381fb077a1Smrg}
54391fb077a1Smrg# Create a (secure) tmp directory for tmp files.
54401fb077a1Smrg
54411fb077a1Smrg{
54421fb077a1Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5443a5a92c01Smrg  test -d "$tmp"
54441fb077a1Smrg}  ||
54451fb077a1Smrg{
54461fb077a1Smrg  tmp=./conf$$-$RANDOM
54471fb077a1Smrg  (umask 077 && mkdir "$tmp")
5448a5a92c01Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5449a5a92c01Smrgac_tmp=$tmp
54501fb077a1Smrg
5451a5a92c01Smrg# Set up the scripts for CONFIG_FILES section.
5452a5a92c01Smrg# No need to generate them if there are no CONFIG_FILES.
5453a5a92c01Smrg# This happens for instance with `./config.status config.h'.
54541fb077a1Smrgif test -n "$CONFIG_FILES"; then
54551fb077a1Smrg
54561fb077a1Smrg
5457a5a92c01Smrgac_cr=`echo X | tr X '\015'`
5458a5a92c01Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
5459a5a92c01Smrg# But we know of no other shell where ac_cr would be empty at this
5460a5a92c01Smrg# point, so we can use a bashism as a fallback.
5461a5a92c01Smrgif test "x$ac_cr" = x; then
5462a5a92c01Smrg  eval ac_cr=\$\'\\r\'
5463a5a92c01Smrgfi
5464a5a92c01Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5465a5a92c01Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5466a5a92c01Smrg  ac_cs_awk_cr='\\r'
5467a5a92c01Smrgelse
5468a5a92c01Smrg  ac_cs_awk_cr=$ac_cr
54691fb077a1Smrgfi
54701fb077a1Smrg
5471a5a92c01Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
54721fb077a1Smrg_ACEOF
54731fb077a1Smrg
54741fb077a1Smrg
5475a5a92c01Smrg{
5476a5a92c01Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
5477a5a92c01Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5478a5a92c01Smrg  echo "_ACEOF"
5479a5a92c01Smrg} >conf$$subs.sh ||
5480a5a92c01Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5481a5a92c01Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
54821fb077a1Smrgac_delim='%!_!# '
54831fb077a1Smrgfor ac_last_try in false false false false false :; do
5484a5a92c01Smrg  . ./conf$$subs.sh ||
5485a5a92c01Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
54861fb077a1Smrg
5487a5a92c01Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5488a5a92c01Smrg  if test $ac_delim_n = $ac_delim_num; then
54891fb077a1Smrg    break
54901fb077a1Smrg  elif $ac_last_try; then
5491a5a92c01Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
54921fb077a1Smrg  else
54931fb077a1Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54941fb077a1Smrg  fi
54951fb077a1Smrgdone
5496a5a92c01Smrgrm -f conf$$subs.sh
54971fb077a1Smrg
5498a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5499a5a92c01Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5500a5a92c01Smrg_ACEOF
5501a5a92c01Smrgsed -n '
5502a5a92c01Smrgh
5503a5a92c01Smrgs/^/S["/; s/!.*/"]=/
5504a5a92c01Smrgp
5505a5a92c01Smrgg
5506a5a92c01Smrgs/^[^!]*!//
5507a5a92c01Smrg:repl
5508a5a92c01Smrgt repl
5509a5a92c01Smrgs/'"$ac_delim"'$//
5510a5a92c01Smrgt delim
5511a5a92c01Smrg:nl
5512a5a92c01Smrgh
5513a5a92c01Smrgs/\(.\{148\}\)..*/\1/
5514a5a92c01Smrgt more1
5515a5a92c01Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5516a5a92c01Smrgp
5517a5a92c01Smrgn
5518a5a92c01Smrgb repl
5519a5a92c01Smrg:more1
5520a5a92c01Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5521a5a92c01Smrgp
5522a5a92c01Smrgg
5523a5a92c01Smrgs/.\{148\}//
5524a5a92c01Smrgt nl
5525a5a92c01Smrg:delim
5526a5a92c01Smrgh
5527a5a92c01Smrgs/\(.\{148\}\)..*/\1/
5528a5a92c01Smrgt more2
5529a5a92c01Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
5530a5a92c01Smrgp
5531a5a92c01Smrgb
5532a5a92c01Smrg:more2
5533a5a92c01Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
5534a5a92c01Smrgp
5535a5a92c01Smrgg
5536a5a92c01Smrgs/.\{148\}//
5537a5a92c01Smrgt delim
5538a5a92c01Smrg' <conf$$subs.awk | sed '
5539a5a92c01Smrg/^[^""]/{
5540a5a92c01Smrg  N
5541a5a92c01Smrg  s/\n//
5542a5a92c01Smrg}
5543a5a92c01Smrg' >>$CONFIG_STATUS || ac_write_fail=1
5544a5a92c01Smrgrm -f conf$$subs.awk
5545a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5546a5a92c01Smrg_ACAWK
5547a5a92c01Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5548a5a92c01Smrg  for (key in S) S_is_set[key] = 1
5549a5a92c01Smrg  FS = ""
5550a5a92c01Smrg
5551a5a92c01Smrg}
5552a5a92c01Smrg{
5553a5a92c01Smrg  line = $ 0
5554a5a92c01Smrg  nfields = split(line, field, "@")
5555a5a92c01Smrg  substed = 0
5556a5a92c01Smrg  len = length(field[1])
5557a5a92c01Smrg  for (i = 2; i < nfields; i++) {
5558a5a92c01Smrg    key = field[i]
5559a5a92c01Smrg    keylen = length(key)
5560a5a92c01Smrg    if (S_is_set[key]) {
5561a5a92c01Smrg      value = S[key]
5562a5a92c01Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5563a5a92c01Smrg      len += length(value) + length(field[++i])
5564a5a92c01Smrg      substed = 1
5565a5a92c01Smrg    } else
5566a5a92c01Smrg      len += 1 + keylen
5567a5a92c01Smrg  }
5568a5a92c01Smrg
5569a5a92c01Smrg  print line
5570a5a92c01Smrg}
55711fb077a1Smrg
5572a5a92c01Smrg_ACAWK
55731fb077a1Smrg_ACEOF
5574a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5575a5a92c01Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5576a5a92c01Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5577a5a92c01Smrgelse
5578a5a92c01Smrg  cat
5579a5a92c01Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5580a5a92c01Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
55811fb077a1Smrg_ACEOF
55821fb077a1Smrg
5583a5a92c01Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5584a5a92c01Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
55851fb077a1Smrg# trailing colons and then remove the whole line if VPATH becomes empty
55861fb077a1Smrg# (actually we leave an empty line to preserve line numbers).
55871fb077a1Smrgif test "x$srcdir" = x.; then
5588a5a92c01Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5589a5a92c01Smrgh
5590a5a92c01Smrgs///
5591a5a92c01Smrgs/^/:/
5592a5a92c01Smrgs/[	 ]*$/:/
5593a5a92c01Smrgs/:\$(srcdir):/:/g
5594a5a92c01Smrgs/:\${srcdir}:/:/g
5595a5a92c01Smrgs/:@srcdir@:/:/g
5596a5a92c01Smrgs/^:*//
55971fb077a1Smrgs/:*$//
5598a5a92c01Smrgx
5599a5a92c01Smrgs/\(=[	 ]*\).*/\1/
5600a5a92c01SmrgG
5601a5a92c01Smrgs/\n//
56021fb077a1Smrgs/^[^=]*=[	 ]*$//
56031fb077a1Smrg}'
56041fb077a1Smrgfi
56051fb077a1Smrg
5606a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
56071fb077a1Smrgfi # test -n "$CONFIG_FILES"
56081fb077a1Smrg
5609a5a92c01Smrg# Set up the scripts for CONFIG_HEADERS section.
5610a5a92c01Smrg# No need to generate them if there are no CONFIG_HEADERS.
5611a5a92c01Smrg# This happens for instance with `./config.status Makefile'.
5612a5a92c01Smrgif test -n "$CONFIG_HEADERS"; then
5613a5a92c01Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5614a5a92c01SmrgBEGIN {
5615a5a92c01Smrg_ACEOF
5616a5a92c01Smrg
5617a5a92c01Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as
5618a5a92c01Smrg# here-document in config.status, that substitutes the proper values into
5619a5a92c01Smrg# config.h.in to produce config.h.
5620a5a92c01Smrg
5621a5a92c01Smrg# Create a delimiter string that does not exist in confdefs.h, to ease
5622a5a92c01Smrg# handling of long lines.
5623a5a92c01Smrgac_delim='%!_!# '
5624a5a92c01Smrgfor ac_last_try in false false :; do
5625a5a92c01Smrg  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5626a5a92c01Smrg  if test -z "$ac_tt"; then
5627a5a92c01Smrg    break
5628a5a92c01Smrg  elif $ac_last_try; then
5629a5a92c01Smrg    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5630a5a92c01Smrg  else
5631a5a92c01Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5632a5a92c01Smrg  fi
5633a5a92c01Smrgdone
5634a5a92c01Smrg
5635a5a92c01Smrg# For the awk script, D is an array of macro values keyed by name,
5636a5a92c01Smrg# likewise P contains macro parameters if any.  Preserve backslash
5637a5a92c01Smrg# newline sequences.
5638a5a92c01Smrg
5639a5a92c01Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5640a5a92c01Smrgsed -n '
5641a5a92c01Smrgs/.\{148\}/&'"$ac_delim"'/g
5642a5a92c01Smrgt rset
5643a5a92c01Smrg:rset
5644a5a92c01Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5645a5a92c01Smrgt def
5646a5a92c01Smrgd
5647a5a92c01Smrg:def
5648a5a92c01Smrgs/\\$//
5649a5a92c01Smrgt bsnl
5650a5a92c01Smrgs/["\\]/\\&/g
5651a5a92c01Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5652a5a92c01SmrgD["\1"]=" \3"/p
5653a5a92c01Smrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5654a5a92c01Smrgd
5655a5a92c01Smrg:bsnl
5656a5a92c01Smrgs/["\\]/\\&/g
5657a5a92c01Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5658a5a92c01SmrgD["\1"]=" \3\\\\\\n"\\/p
5659a5a92c01Smrgt cont
5660a5a92c01Smrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5661a5a92c01Smrgt cont
5662a5a92c01Smrgd
5663a5a92c01Smrg:cont
5664a5a92c01Smrgn
5665a5a92c01Smrgs/.\{148\}/&'"$ac_delim"'/g
5666a5a92c01Smrgt clear
5667a5a92c01Smrg:clear
5668a5a92c01Smrgs/\\$//
5669a5a92c01Smrgt bsnlc
5670a5a92c01Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p
5671a5a92c01Smrgd
5672a5a92c01Smrg:bsnlc
5673a5a92c01Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5674a5a92c01Smrgb cont
5675a5a92c01Smrg' <confdefs.h | sed '
5676a5a92c01Smrgs/'"$ac_delim"'/"\\\
5677a5a92c01Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1
5678a5a92c01Smrg
5679a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5680a5a92c01Smrg  for (key in D) D_is_set[key] = 1
5681a5a92c01Smrg  FS = ""
5682a5a92c01Smrg}
5683a5a92c01Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5684a5a92c01Smrg  line = \$ 0
5685a5a92c01Smrg  split(line, arg, " ")
5686a5a92c01Smrg  if (arg[1] == "#") {
5687a5a92c01Smrg    defundef = arg[2]
5688a5a92c01Smrg    mac1 = arg[3]
5689a5a92c01Smrg  } else {
5690a5a92c01Smrg    defundef = substr(arg[1], 2)
5691a5a92c01Smrg    mac1 = arg[2]
5692a5a92c01Smrg  }
5693a5a92c01Smrg  split(mac1, mac2, "(") #)
5694a5a92c01Smrg  macro = mac2[1]
5695a5a92c01Smrg  prefix = substr(line, 1, index(line, defundef) - 1)
5696a5a92c01Smrg  if (D_is_set[macro]) {
5697a5a92c01Smrg    # Preserve the white space surrounding the "#".
5698a5a92c01Smrg    print prefix "define", macro P[macro] D[macro]
5699a5a92c01Smrg    next
5700a5a92c01Smrg  } else {
5701a5a92c01Smrg    # Replace #undef with comments.  This is necessary, for example,
5702a5a92c01Smrg    # in the case of _POSIX_SOURCE, which is predefined and required
5703a5a92c01Smrg    # on some systems where configure will not decide to define it.
5704a5a92c01Smrg    if (defundef == "undef") {
5705a5a92c01Smrg      print "/*", prefix defundef, macro, "*/"
5706a5a92c01Smrg      next
5707a5a92c01Smrg    }
5708a5a92c01Smrg  }
5709a5a92c01Smrg}
5710a5a92c01Smrg{ print }
5711a5a92c01Smrg_ACAWK
5712a5a92c01Smrg_ACEOF
5713a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5714a5a92c01Smrg  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5715a5a92c01Smrgfi # test -n "$CONFIG_HEADERS"
5716a5a92c01Smrg
57171fb077a1Smrg
5718a5a92c01Smrgeval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5719a5a92c01Smrgshift
5720a5a92c01Smrgfor ac_tag
57211fb077a1Smrgdo
57221fb077a1Smrg  case $ac_tag in
57231fb077a1Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
57241fb077a1Smrg  esac
57251fb077a1Smrg  case $ac_mode$ac_tag in
57261fb077a1Smrg  :[FHL]*:*);;
5727a5a92c01Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
57281fb077a1Smrg  :[FH]-) ac_tag=-:-;;
57291fb077a1Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
57301fb077a1Smrg  esac
57311fb077a1Smrg  ac_save_IFS=$IFS
57321fb077a1Smrg  IFS=:
57331fb077a1Smrg  set x $ac_tag
57341fb077a1Smrg  IFS=$ac_save_IFS
57351fb077a1Smrg  shift
57361fb077a1Smrg  ac_file=$1
57371fb077a1Smrg  shift
57381fb077a1Smrg
57391fb077a1Smrg  case $ac_mode in
57401fb077a1Smrg  :L) ac_source=$1;;
57411fb077a1Smrg  :[FH])
57421fb077a1Smrg    ac_file_inputs=
57431fb077a1Smrg    for ac_f
57441fb077a1Smrg    do
57451fb077a1Smrg      case $ac_f in
5746a5a92c01Smrg      -) ac_f="$ac_tmp/stdin";;
57471fb077a1Smrg      *) # Look for the file first in the build tree, then in the source tree
57481fb077a1Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
57491fb077a1Smrg	 # because $ac_f cannot contain `:'.
57501fb077a1Smrg	 test -f "$ac_f" ||
57511fb077a1Smrg	   case $ac_f in
57521fb077a1Smrg	   [\\/$]*) false;;
57531fb077a1Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57541fb077a1Smrg	   esac ||
5755a5a92c01Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
57561fb077a1Smrg      esac
5757a5a92c01Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5758a5a92c01Smrg      as_fn_append ac_file_inputs " '$ac_f'"
57591fb077a1Smrg    done
57601fb077a1Smrg
57611fb077a1Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
57621fb077a1Smrg    # use $as_me), people would be surprised to read:
57631fb077a1Smrg    #    /* config.h.  Generated by config.status.  */
5764a5a92c01Smrg    configure_input='Generated from '`
5765a5a92c01Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5766a5a92c01Smrg	`' by configure.'
57671fb077a1Smrg    if test x"$ac_file" != x-; then
57681fb077a1Smrg      configure_input="$ac_file.  $configure_input"
5769a5a92c01Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5770a5a92c01Smrg$as_echo "$as_me: creating $ac_file" >&6;}
57711fb077a1Smrg    fi
5772a5a92c01Smrg    # Neutralize special characters interpreted by sed in replacement strings.
5773a5a92c01Smrg    case $configure_input in #(
5774a5a92c01Smrg    *\&* | *\|* | *\\* )
5775a5a92c01Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
5776a5a92c01Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5777a5a92c01Smrg    *) ac_sed_conf_input=$configure_input;;
5778a5a92c01Smrg    esac
57791fb077a1Smrg
57801fb077a1Smrg    case $ac_tag in
5781a5a92c01Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5782a5a92c01Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
57831fb077a1Smrg    esac
57841fb077a1Smrg    ;;
57851fb077a1Smrg  esac
57861fb077a1Smrg
57871fb077a1Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
57881fb077a1Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57891fb077a1Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
57901fb077a1Smrg	 X"$ac_file" : 'X\(//\)$' \| \
57911fb077a1Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5792a5a92c01Smrg$as_echo X"$ac_file" |
57931fb077a1Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57941fb077a1Smrg	    s//\1/
57951fb077a1Smrg	    q
57961fb077a1Smrg	  }
57971fb077a1Smrg	  /^X\(\/\/\)[^/].*/{
57981fb077a1Smrg	    s//\1/
57991fb077a1Smrg	    q
58001fb077a1Smrg	  }
58011fb077a1Smrg	  /^X\(\/\/\)$/{
58021fb077a1Smrg	    s//\1/
58031fb077a1Smrg	    q
58041fb077a1Smrg	  }
58051fb077a1Smrg	  /^X\(\/\).*/{
58061fb077a1Smrg	    s//\1/
58071fb077a1Smrg	    q
58081fb077a1Smrg	  }
58091fb077a1Smrg	  s/.*/./; q'`
5810a5a92c01Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
58111fb077a1Smrg  ac_builddir=.
58121fb077a1Smrg
58131fb077a1Smrgcase "$ac_dir" in
58141fb077a1Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
58151fb077a1Smrg*)
5816a5a92c01Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
58171fb077a1Smrg  # A ".." for each directory in $ac_dir_suffix.
5818a5a92c01Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
58191fb077a1Smrg  case $ac_top_builddir_sub in
58201fb077a1Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
58211fb077a1Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
58221fb077a1Smrg  esac ;;
58231fb077a1Smrgesac
58241fb077a1Smrgac_abs_top_builddir=$ac_pwd
58251fb077a1Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
58261fb077a1Smrg# for backward compatibility:
58271fb077a1Smrgac_top_builddir=$ac_top_build_prefix
58281fb077a1Smrg
58291fb077a1Smrgcase $srcdir in
58301fb077a1Smrg  .)  # We are building in place.
58311fb077a1Smrg    ac_srcdir=.
58321fb077a1Smrg    ac_top_srcdir=$ac_top_builddir_sub
58331fb077a1Smrg    ac_abs_top_srcdir=$ac_pwd ;;
58341fb077a1Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
58351fb077a1Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
58361fb077a1Smrg    ac_top_srcdir=$srcdir
58371fb077a1Smrg    ac_abs_top_srcdir=$srcdir ;;
58381fb077a1Smrg  *) # Relative name.
58391fb077a1Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
58401fb077a1Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
58411fb077a1Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
58421fb077a1Smrgesac
58431fb077a1Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
58441fb077a1Smrg
58451fb077a1Smrg
58461fb077a1Smrg  case $ac_mode in
58471fb077a1Smrg  :F)
58481fb077a1Smrg  #
58491fb077a1Smrg  # CONFIG_FILE
58501fb077a1Smrg  #
58511fb077a1Smrg
58521fb077a1Smrg  case $INSTALL in
58531fb077a1Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
58541fb077a1Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
58551fb077a1Smrg  esac
58561fb077a1Smrg  ac_MKDIR_P=$MKDIR_P
58571fb077a1Smrg  case $MKDIR_P in
58581fb077a1Smrg  [\\/$]* | ?:[\\/]* ) ;;
58591fb077a1Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
58601fb077a1Smrg  esac
58611fb077a1Smrg_ACEOF
58621fb077a1Smrg
5863a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
58641fb077a1Smrg# If the template does not know about datarootdir, expand it.
58651fb077a1Smrg# FIXME: This hack should be removed a few years after 2.60.
58661fb077a1Smrgac_datarootdir_hack=; ac_datarootdir_seen=
5867a5a92c01Smrgac_sed_dataroot='
5868a5a92c01Smrg/datarootdir/ {
58691fb077a1Smrg  p
58701fb077a1Smrg  q
58711fb077a1Smrg}
58721fb077a1Smrg/@datadir@/p
58731fb077a1Smrg/@docdir@/p
58741fb077a1Smrg/@infodir@/p
58751fb077a1Smrg/@localedir@/p
5876a5a92c01Smrg/@mandir@/p'
5877a5a92c01Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
58781fb077a1Smrg*datarootdir*) ac_datarootdir_seen=yes;;
58791fb077a1Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5880a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5881a5a92c01Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
58821fb077a1Smrg_ACEOF
5883a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
58841fb077a1Smrg  ac_datarootdir_hack='
58851fb077a1Smrg  s&@datadir@&$datadir&g
58861fb077a1Smrg  s&@docdir@&$docdir&g
58871fb077a1Smrg  s&@infodir@&$infodir&g
58881fb077a1Smrg  s&@localedir@&$localedir&g
58891fb077a1Smrg  s&@mandir@&$mandir&g
5890a5a92c01Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
58911fb077a1Smrgesac
58921fb077a1Smrg_ACEOF
58931fb077a1Smrg
58941fb077a1Smrg# Neutralize VPATH when `$srcdir' = `.'.
58951fb077a1Smrg# Shell code in configure.ac might set extrasub.
58961fb077a1Smrg# FIXME: do we really want to maintain this feature?
5897a5a92c01Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5898a5a92c01Smrgac_sed_extra="$ac_vpsub
58991fb077a1Smrg$extrasub
59001fb077a1Smrg_ACEOF
5901a5a92c01Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59021fb077a1Smrg:t
59031fb077a1Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5904a5a92c01Smrgs|@configure_input@|$ac_sed_conf_input|;t t
59051fb077a1Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
5906a5a92c01Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
59071fb077a1Smrgs&@srcdir@&$ac_srcdir&;t t
59081fb077a1Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
59091fb077a1Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
59101fb077a1Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
59111fb077a1Smrgs&@builddir@&$ac_builddir&;t t
59121fb077a1Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
59131fb077a1Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
59141fb077a1Smrgs&@INSTALL@&$ac_INSTALL&;t t
59151fb077a1Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
59161fb077a1Smrg$ac_datarootdir_hack
5917a5a92c01Smrg"
5918a5a92c01Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5919a5a92c01Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
59201fb077a1Smrg
59211fb077a1Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5922a5a92c01Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5923a5a92c01Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5924a5a92c01Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5925a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5926a5a92c01Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
5927a5a92c01Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5928a5a92c01Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
5929a5a92c01Smrg
5930a5a92c01Smrg  rm -f "$ac_tmp/stdin"
59311fb077a1Smrg  case $ac_file in
5932a5a92c01Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5933a5a92c01Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5934a5a92c01Smrg  esac \
5935a5a92c01Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
59361fb077a1Smrg ;;
59371fb077a1Smrg  :H)
59381fb077a1Smrg  #
59391fb077a1Smrg  # CONFIG_HEADER
59401fb077a1Smrg  #
59411fb077a1Smrg  if test x"$ac_file" != x-; then
5942a5a92c01Smrg    {
5943a5a92c01Smrg      $as_echo "/* $configure_input  */" \
5944a5a92c01Smrg      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5945a5a92c01Smrg    } >"$ac_tmp/config.h" \
5946a5a92c01Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5947a5a92c01Smrg    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5948a5a92c01Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5949a5a92c01Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;}
59501fb077a1Smrg    else
5951a5a92c01Smrg      rm -f "$ac_file"
5952a5a92c01Smrg      mv "$ac_tmp/config.h" "$ac_file" \
5953a5a92c01Smrg	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
59541fb077a1Smrg    fi
59551fb077a1Smrg  else
5956a5a92c01Smrg    $as_echo "/* $configure_input  */" \
5957a5a92c01Smrg      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5958a5a92c01Smrg      || as_fn_error $? "could not create -" "$LINENO" 5
59591fb077a1Smrg  fi
5960a5a92c01Smrg# Compute "$ac_file"'s index in $config_headers.
5961a5a92c01Smrg_am_arg="$ac_file"
59621fb077a1Smrg_am_stamp_count=1
59631fb077a1Smrgfor _am_header in $config_headers :; do
59641fb077a1Smrg  case $_am_header in
5965a5a92c01Smrg    $_am_arg | $_am_arg:* )
59661fb077a1Smrg      break ;;
59671fb077a1Smrg    * )
59681fb077a1Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
59691fb077a1Smrg  esac
59701fb077a1Smrgdone
5971a5a92c01Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5972a5a92c01Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5973a5a92c01Smrg	 X"$_am_arg" : 'X\(//\)[^/]' \| \
5974a5a92c01Smrg	 X"$_am_arg" : 'X\(//\)$' \| \
5975a5a92c01Smrg	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5976a5a92c01Smrg$as_echo X"$_am_arg" |
59771fb077a1Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59781fb077a1Smrg	    s//\1/
59791fb077a1Smrg	    q
59801fb077a1Smrg	  }
59811fb077a1Smrg	  /^X\(\/\/\)[^/].*/{
59821fb077a1Smrg	    s//\1/
59831fb077a1Smrg	    q
59841fb077a1Smrg	  }
59851fb077a1Smrg	  /^X\(\/\/\)$/{
59861fb077a1Smrg	    s//\1/
59871fb077a1Smrg	    q
59881fb077a1Smrg	  }
59891fb077a1Smrg	  /^X\(\/\).*/{
59901fb077a1Smrg	    s//\1/
59911fb077a1Smrg	    q
59921fb077a1Smrg	  }
59931fb077a1Smrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
59941fb077a1Smrg ;;
59951fb077a1Smrg
5996a5a92c01Smrg  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5997a5a92c01Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
59981fb077a1Smrg ;;
59991fb077a1Smrg  esac
60001fb077a1Smrg
60011fb077a1Smrg
60021fb077a1Smrg  case $ac_file$ac_mode in
6003a5a92c01Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6004a5a92c01Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6005a5a92c01Smrg  # are listed without --file.  Let's play safe and only enable the eval
6006a5a92c01Smrg  # if we detect the quoting.
6007a5a92c01Smrg  case $CONFIG_FILES in
6008a5a92c01Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
6009a5a92c01Smrg  *)   set x $CONFIG_FILES ;;
6010a5a92c01Smrg  esac
6011a5a92c01Smrg  shift
6012a5a92c01Smrg  for mf
6013a5a92c01Smrg  do
6014a5a92c01Smrg    # Strip MF so we end up with the name of the file.
6015a5a92c01Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
6016a5a92c01Smrg    # Check whether this is an Automake generated Makefile or not.
6017a5a92c01Smrg    # We used to match only the files named `Makefile.in', but
6018a5a92c01Smrg    # some people rename them; so instead we look at the file content.
6019a5a92c01Smrg    # Grep'ing the first line is not enough: some people post-process
6020a5a92c01Smrg    # each Makefile.in and add a new line on top of each file to say so.
6021a5a92c01Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
6022a5a92c01Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
6023a5a92c01Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6024a5a92c01Smrg      dirpart=`$as_dirname -- "$mf" ||
60251fb077a1Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60261fb077a1Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
60271fb077a1Smrg	 X"$mf" : 'X\(//\)$' \| \
60281fb077a1Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6029a5a92c01Smrg$as_echo X"$mf" |
60301fb077a1Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60311fb077a1Smrg	    s//\1/
60321fb077a1Smrg	    q
60331fb077a1Smrg	  }
60341fb077a1Smrg	  /^X\(\/\/\)[^/].*/{
60351fb077a1Smrg	    s//\1/
60361fb077a1Smrg	    q
60371fb077a1Smrg	  }
60381fb077a1Smrg	  /^X\(\/\/\)$/{
60391fb077a1Smrg	    s//\1/
60401fb077a1Smrg	    q
60411fb077a1Smrg	  }
60421fb077a1Smrg	  /^X\(\/\).*/{
60431fb077a1Smrg	    s//\1/
60441fb077a1Smrg	    q
60451fb077a1Smrg	  }
60461fb077a1Smrg	  s/.*/./; q'`
6047a5a92c01Smrg    else
6048a5a92c01Smrg      continue
6049a5a92c01Smrg    fi
6050a5a92c01Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
6051a5a92c01Smrg    # from the Makefile without running `make'.
6052a5a92c01Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6053a5a92c01Smrg    test -z "$DEPDIR" && continue
6054a5a92c01Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6055a5a92c01Smrg    test -z "am__include" && continue
6056a5a92c01Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6057a5a92c01Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
6058a5a92c01Smrg    U=`sed -n 's/^U = //p' < "$mf"`
6059a5a92c01Smrg    # Find all dependency output files, they are included files with
6060a5a92c01Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6061a5a92c01Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
6062a5a92c01Smrg    # expansion.
6063a5a92c01Smrg    for file in `sed -n "
6064a5a92c01Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6065a5a92c01Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6066a5a92c01Smrg      # Make sure the directory exists.
6067a5a92c01Smrg      test -f "$dirpart/$file" && continue
6068a5a92c01Smrg      fdir=`$as_dirname -- "$file" ||
60691fb077a1Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60701fb077a1Smrg	 X"$file" : 'X\(//\)[^/]' \| \
60711fb077a1Smrg	 X"$file" : 'X\(//\)$' \| \
60721fb077a1Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6073a5a92c01Smrg$as_echo X"$file" |
60741fb077a1Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60751fb077a1Smrg	    s//\1/
60761fb077a1Smrg	    q
60771fb077a1Smrg	  }
60781fb077a1Smrg	  /^X\(\/\/\)[^/].*/{
60791fb077a1Smrg	    s//\1/
60801fb077a1Smrg	    q
60811fb077a1Smrg	  }
60821fb077a1Smrg	  /^X\(\/\/\)$/{
60831fb077a1Smrg	    s//\1/
60841fb077a1Smrg	    q
60851fb077a1Smrg	  }
60861fb077a1Smrg	  /^X\(\/\).*/{
60871fb077a1Smrg	    s//\1/
60881fb077a1Smrg	    q
60891fb077a1Smrg	  }
60901fb077a1Smrg	  s/.*/./; q'`
6091a5a92c01Smrg      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6092a5a92c01Smrg      # echo "creating $dirpart/$file"
6093a5a92c01Smrg      echo '# dummy' > "$dirpart/$file"
60941fb077a1Smrg    done
60951fb077a1Smrg  done
6096a5a92c01Smrg}
60971fb077a1Smrg ;;
60981fb077a1Smrg
60991fb077a1Smrg  esac
61001fb077a1Smrgdone # for ac_tag
61011fb077a1Smrg
61021fb077a1Smrg
6103a5a92c01Smrgas_fn_exit 0
61041fb077a1Smrg_ACEOF
61051fb077a1Smrgac_clean_files=$ac_clean_files_save
61061fb077a1Smrg
6107a5a92c01Smrgtest $ac_write_fail = 0 ||
6108a5a92c01Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6109a5a92c01Smrg
61101fb077a1Smrg
61111fb077a1Smrg# configure is writing to config.log, and then calls config.status.
61121fb077a1Smrg# config.status does its own redirection, appending to config.log.
61131fb077a1Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
61141fb077a1Smrg# by configure, so config.status won't be able to write to it; its
61151fb077a1Smrg# output is simply discarded.  So we exec the FD to /dev/null,
61161fb077a1Smrg# effectively closing config.log, so it can be properly (re)opened and
61171fb077a1Smrg# appended to by config.status.  When coming back to configure, we
61181fb077a1Smrg# need to make the FD available again.
61191fb077a1Smrgif test "$no_create" != yes; then
61201fb077a1Smrg  ac_cs_success=:
61211fb077a1Smrg  ac_config_status_args=
61221fb077a1Smrg  test "$silent" = yes &&
61231fb077a1Smrg    ac_config_status_args="$ac_config_status_args --quiet"
61241fb077a1Smrg  exec 5>/dev/null
61251fb077a1Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
61261fb077a1Smrg  exec 5>>config.log
61271fb077a1Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
61281fb077a1Smrg  # would make configure fail if this is the last instruction.
6129a5a92c01Smrg  $ac_cs_success || as_fn_exit 1
6130a5a92c01Smrgfi
6131a5a92c01Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6132a5a92c01Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6133a5a92c01Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
61341fb077a1Smrgfi
61351fb077a1Smrg
6136