configure revision 89d09728
166fe65f6Smrg#! /bin/sh
266fe65f6Smrg# Guess values for system-dependent variables and create Makefiles.
389d09728Smrg# Generated by GNU Autoconf 2.64 for font-util 1.0.2.
466fe65f6Smrg#
566fe65f6Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
666fe65f6Smrg#
789d09728Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
889d09728Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
989d09728Smrg# Foundation, Inc.
1089d09728Smrg#
1166fe65f6Smrg# This configure script is free software; the Free Software Foundation
1266fe65f6Smrg# gives unlimited permission to copy, distribute and modify it.
1389d09728Smrg## -------------------- ##
1489d09728Smrg## M4sh Initialization. ##
1589d09728Smrg## -------------------- ##
1666fe65f6Smrg
1789d09728Smrg# Be more Bourne compatible
1889d09728SmrgDUALCASE=1; export DUALCASE # for MKS sh
1989d09728Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2066fe65f6Smrg  emulate sh
2166fe65f6Smrg  NULLCMD=:
2289d09728Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2366fe65f6Smrg  # is contrary to our usage.  Disable this feature.
2466fe65f6Smrg  alias -g '${1+"$@"}'='"$@"'
2589d09728Smrg  setopt NO_GLOB_SUBST
2689d09728Smrgelse
2789d09728Smrg  case `(set -o) 2>/dev/null` in #(
2889d09728Smrg  *posix*) :
2989d09728Smrg    set -o posix ;; #(
3089d09728Smrg  *) :
3189d09728Smrg     ;;
3289d09728Smrgesac
3366fe65f6Smrgfi
3466fe65f6Smrg
3589d09728Smrg
3689d09728Smrgas_nl='
3789d09728Smrg'
3889d09728Smrgexport as_nl
3989d09728Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
4089d09728Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4189d09728Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4289d09728Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4389d09728Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
4489d09728Smrg# but without wasting forks for bash or zsh.
4589d09728Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
4689d09728Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4789d09728Smrg  as_echo='print -r --'
4889d09728Smrg  as_echo_n='print -rn --'
4989d09728Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5089d09728Smrg  as_echo='printf %s\n'
5189d09728Smrg  as_echo_n='printf %s'
5266fe65f6Smrgelse
5389d09728Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5489d09728Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5589d09728Smrg    as_echo_n='/usr/ucb/echo -n'
5689d09728Smrg  else
5789d09728Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5889d09728Smrg    as_echo_n_body='eval
5989d09728Smrg      arg=$1;
6089d09728Smrg      case $arg in #(
6189d09728Smrg      *"$as_nl"*)
6289d09728Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
6389d09728Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6489d09728Smrg      esac;
6589d09728Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6689d09728Smrg    '
6789d09728Smrg    export as_echo_n_body
6889d09728Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
6989d09728Smrg  fi
7089d09728Smrg  export as_echo_body
7189d09728Smrg  as_echo='sh -c $as_echo_body as_echo'
7289d09728Smrgfi
7389d09728Smrg
7489d09728Smrg# The user is always right.
7589d09728Smrgif test "${PATH_SEPARATOR+set}" != set; then
7689d09728Smrg  PATH_SEPARATOR=:
7789d09728Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7889d09728Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7989d09728Smrg      PATH_SEPARATOR=';'
8089d09728Smrg  }
8166fe65f6Smrgfi
8266fe65f6Smrg
8366fe65f6Smrg
8489d09728Smrg# IFS
8589d09728Smrg# We need space, tab and new line, in precisely that order.  Quoting is
8689d09728Smrg# there to prevent editors from complaining about space-tab.
8789d09728Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8889d09728Smrg# splitting by setting IFS to empty value.)
8989d09728SmrgIFS=" ""	$as_nl"
9089d09728Smrg
9189d09728Smrg# Find who we are.  Look in the path if we contain no directory separator.
9289d09728Smrgcase $0 in #((
9389d09728Smrg  *[\\/]* ) as_myself=$0 ;;
9489d09728Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9589d09728Smrgfor as_dir in $PATH
9689d09728Smrgdo
9789d09728Smrg  IFS=$as_save_IFS
9889d09728Smrg  test -z "$as_dir" && as_dir=.
9989d09728Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10089d09728Smrg  done
10189d09728SmrgIFS=$as_save_IFS
10289d09728Smrg
10389d09728Smrg     ;;
10489d09728Smrgesac
10589d09728Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
10689d09728Smrg# in which case we are not to be found in the path.
10789d09728Smrgif test "x$as_myself" = x; then
10889d09728Smrg  as_myself=$0
10989d09728Smrgfi
11089d09728Smrgif test ! -f "$as_myself"; then
11189d09728Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11289d09728Smrg  exit 1
11389d09728Smrgfi
11489d09728Smrg
11589d09728Smrg# Unset variables that we do not need and which cause bugs (e.g. in
11689d09728Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11789d09728Smrg# suppresses any "Segmentation fault" message there.  '((' could
11889d09728Smrg# trigger a bug in pdksh 5.2.14.
11989d09728Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
12089d09728Smrgdo eval test x\${$as_var+set} = xset \
12189d09728Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12289d09728Smrgdone
12366fe65f6SmrgPS1='$ '
12466fe65f6SmrgPS2='> '
12566fe65f6SmrgPS4='+ '
12666fe65f6Smrg
12766fe65f6Smrg# NLS nuisances.
12889d09728SmrgLC_ALL=C
12989d09728Smrgexport LC_ALL
13089d09728SmrgLANGUAGE=C
13189d09728Smrgexport LANGUAGE
13289d09728Smrg
13389d09728Smrg# CDPATH.
13489d09728Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13589d09728Smrg
13689d09728Smrgif test "x$CONFIG_SHELL" = x; then
13789d09728Smrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
13889d09728Smrg  emulate sh
13989d09728Smrg  NULLCMD=:
14089d09728Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
14189d09728Smrg  # is contrary to our usage.  Disable this feature.
14289d09728Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
14389d09728Smrg  setopt NO_GLOB_SUBST
14489d09728Smrgelse
14589d09728Smrg  case \`(set -o) 2>/dev/null\` in #(
14689d09728Smrg  *posix*) :
14789d09728Smrg    set -o posix ;; #(
14889d09728Smrg  *) :
14989d09728Smrg     ;;
15089d09728Smrgesac
15189d09728Smrgfi
15289d09728Smrg"
15389d09728Smrg  as_required="as_fn_return () { (exit \$1); }
15489d09728Smrgas_fn_success () { as_fn_return 0; }
15589d09728Smrgas_fn_failure () { as_fn_return 1; }
15689d09728Smrgas_fn_ret_success () { return 0; }
15789d09728Smrgas_fn_ret_failure () { return 1; }
15889d09728Smrg
15989d09728Smrgexitcode=0
16089d09728Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
16189d09728Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
16289d09728Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
16389d09728Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
16489d09728Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
16589d09728Smrg
16689d09728Smrgelse
16789d09728Smrg  exitcode=1; echo positional parameters were not saved.
16889d09728Smrgfi
16989d09728Smrgtest x\$exitcode = x0 || exit 1"
17089d09728Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
17189d09728Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
17289d09728Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
17389d09728Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
17489d09728Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
17589d09728Smrg  if (eval "$as_required") 2>/dev/null; then :
17689d09728Smrg  as_have_required=yes
17789d09728Smrgelse
17889d09728Smrg  as_have_required=no
17989d09728Smrgfi
18089d09728Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
18189d09728Smrg
18289d09728Smrgelse
18389d09728Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18489d09728Smrgas_found=false
18589d09728Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
18666fe65f6Smrgdo
18789d09728Smrg  IFS=$as_save_IFS
18889d09728Smrg  test -z "$as_dir" && as_dir=.
18989d09728Smrg  as_found=:
19089d09728Smrg  case $as_dir in #(
19189d09728Smrg	 /*)
19289d09728Smrg	   for as_base in sh bash ksh sh5; do
19389d09728Smrg	     # Try only shells that exist, to save several forks.
19489d09728Smrg	     as_shell=$as_dir/$as_base
19589d09728Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
19689d09728Smrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
19789d09728Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
19889d09728Smrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
19989d09728Smrg  break 2
20089d09728Smrgfi
20189d09728Smrgfi
20289d09728Smrg	   done;;
20389d09728Smrg       esac
20489d09728Smrg  as_found=false
20589d09728Smrgdone
20689d09728Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
20789d09728Smrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
20889d09728Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
20989d09728Smrgfi; }
21089d09728SmrgIFS=$as_save_IFS
21189d09728Smrg
21289d09728Smrg
21389d09728Smrg      if test "x$CONFIG_SHELL" != x; then :
21489d09728Smrg  # We cannot yet assume a decent shell, so we have to provide a
21589d09728Smrg	# neutralization value for shells without unset; and this also
21689d09728Smrg	# works around shells that cannot unset nonexistent variables.
21789d09728Smrg	BASH_ENV=/dev/null
21889d09728Smrg	ENV=/dev/null
21989d09728Smrg	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
22089d09728Smrg	export CONFIG_SHELL
22189d09728Smrg	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
22289d09728Smrgfi
22389d09728Smrg
22489d09728Smrg    if test x$as_have_required = xno; then :
22589d09728Smrg  $as_echo "$0: This script requires a shell more modern than all"
22689d09728Smrg  $as_echo "$0: the shells that I found on your system."
22789d09728Smrg  if test x${ZSH_VERSION+set} = xset ; then
22889d09728Smrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
22989d09728Smrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
23066fe65f6Smrg  else
23189d09728Smrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
23289d09728Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
23389d09728Smrg$0: about your system, including any error possibly output
23489d09728Smrg$0: before this message. Then install a modern shell, or
23589d09728Smrg$0: manually run the script under such a shell if you do
23689d09728Smrg$0: have one."
23766fe65f6Smrg  fi
23889d09728Smrg  exit 1
23989d09728Smrgfi
24089d09728Smrgfi
24189d09728Smrgfi
24289d09728SmrgSHELL=${CONFIG_SHELL-/bin/sh}
24389d09728Smrgexport SHELL
24489d09728Smrg# Unset more variables known to interfere with behavior of common tools.
24589d09728SmrgCLICOLOR_FORCE= GREP_OPTIONS=
24689d09728Smrgunset CLICOLOR_FORCE GREP_OPTIONS
24789d09728Smrg
24889d09728Smrg## --------------------- ##
24989d09728Smrg## M4sh Shell Functions. ##
25089d09728Smrg## --------------------- ##
25189d09728Smrg# as_fn_unset VAR
25289d09728Smrg# ---------------
25389d09728Smrg# Portably unset VAR.
25489d09728Smrgas_fn_unset ()
25589d09728Smrg{
25689d09728Smrg  { eval $1=; unset $1;}
25789d09728Smrg}
25889d09728Smrgas_unset=as_fn_unset
25989d09728Smrg
26089d09728Smrg# as_fn_set_status STATUS
26189d09728Smrg# -----------------------
26289d09728Smrg# Set $? to STATUS, without forking.
26389d09728Smrgas_fn_set_status ()
26489d09728Smrg{
26589d09728Smrg  return $1
26689d09728Smrg} # as_fn_set_status
26789d09728Smrg
26889d09728Smrg# as_fn_exit STATUS
26989d09728Smrg# -----------------
27089d09728Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27189d09728Smrgas_fn_exit ()
27289d09728Smrg{
27389d09728Smrg  set +e
27489d09728Smrg  as_fn_set_status $1
27589d09728Smrg  exit $1
27689d09728Smrg} # as_fn_exit
27789d09728Smrg
27889d09728Smrg# as_fn_mkdir_p
27989d09728Smrg# -------------
28089d09728Smrg# Create "$as_dir" as a directory, including parents if necessary.
28189d09728Smrgas_fn_mkdir_p ()
28289d09728Smrg{
28389d09728Smrg
28489d09728Smrg  case $as_dir in #(
28589d09728Smrg  -*) as_dir=./$as_dir;;
28689d09728Smrg  esac
28789d09728Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
28889d09728Smrg    as_dirs=
28989d09728Smrg    while :; do
29089d09728Smrg      case $as_dir in #(
29189d09728Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
29289d09728Smrg      *) as_qdir=$as_dir;;
29389d09728Smrg      esac
29489d09728Smrg      as_dirs="'$as_qdir' $as_dirs"
29589d09728Smrg      as_dir=`$as_dirname -- "$as_dir" ||
29689d09728Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29789d09728Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
29889d09728Smrg	 X"$as_dir" : 'X\(//\)$' \| \
29989d09728Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30089d09728Smrg$as_echo X"$as_dir" |
30189d09728Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30289d09728Smrg	    s//\1/
30389d09728Smrg	    q
30489d09728Smrg	  }
30589d09728Smrg	  /^X\(\/\/\)[^/].*/{
30689d09728Smrg	    s//\1/
30789d09728Smrg	    q
30889d09728Smrg	  }
30989d09728Smrg	  /^X\(\/\/\)$/{
31089d09728Smrg	    s//\1/
31189d09728Smrg	    q
31289d09728Smrg	  }
31389d09728Smrg	  /^X\(\/\).*/{
31489d09728Smrg	    s//\1/
31589d09728Smrg	    q
31689d09728Smrg	  }
31789d09728Smrg	  s/.*/./; q'`
31889d09728Smrg      test -d "$as_dir" && break
31989d09728Smrg    done
32089d09728Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
32189d09728Smrg  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
32289d09728Smrg
32389d09728Smrg
32489d09728Smrg} # as_fn_mkdir_p
32589d09728Smrg# as_fn_append VAR VALUE
32689d09728Smrg# ----------------------
32789d09728Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
32889d09728Smrg# advantage of any shell optimizations that allow amortized linear growth over
32989d09728Smrg# repeated appends, instead of the typical quadratic growth present in naive
33089d09728Smrg# implementations.
33189d09728Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
33289d09728Smrg  eval 'as_fn_append ()
33389d09728Smrg  {
33489d09728Smrg    eval $1+=\$2
33589d09728Smrg  }'
33689d09728Smrgelse
33789d09728Smrg  as_fn_append ()
33889d09728Smrg  {
33989d09728Smrg    eval $1=\$$1\$2
34089d09728Smrg  }
34189d09728Smrgfi # as_fn_append
34289d09728Smrg
34389d09728Smrg# as_fn_arith ARG...
34489d09728Smrg# ------------------
34589d09728Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
34689d09728Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
34789d09728Smrg# must be portable across $(()) and expr.
34889d09728Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34989d09728Smrg  eval 'as_fn_arith ()
35089d09728Smrg  {
35189d09728Smrg    as_val=$(( $* ))
35289d09728Smrg  }'
35389d09728Smrgelse
35489d09728Smrg  as_fn_arith ()
35589d09728Smrg  {
35689d09728Smrg    as_val=`expr "$@" || test $? -eq 1`
35789d09728Smrg  }
35889d09728Smrgfi # as_fn_arith
35989d09728Smrg
36089d09728Smrg
36189d09728Smrg# as_fn_error ERROR [LINENO LOG_FD]
36289d09728Smrg# ---------------------------------
36389d09728Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
36489d09728Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
36589d09728Smrg# script with status $?, using 1 if that was 0.
36689d09728Smrgas_fn_error ()
36789d09728Smrg{
36889d09728Smrg  as_status=$?; test $as_status -eq 0 && as_status=1
36989d09728Smrg  if test "$3"; then
37089d09728Smrg    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
37189d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
37289d09728Smrg  fi
37389d09728Smrg  $as_echo "$as_me: error: $1" >&2
37489d09728Smrg  as_fn_exit $as_status
37589d09728Smrg} # as_fn_error
37666fe65f6Smrg
37789d09728Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
37889d09728Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
37966fe65f6Smrg  as_expr=expr
38066fe65f6Smrgelse
38166fe65f6Smrg  as_expr=false
38266fe65f6Smrgfi
38366fe65f6Smrg
38489d09728Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
38566fe65f6Smrg  as_basename=basename
38666fe65f6Smrgelse
38766fe65f6Smrg  as_basename=false
38866fe65f6Smrgfi
38966fe65f6Smrg
39089d09728Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
39189d09728Smrg  as_dirname=dirname
39289d09728Smrgelse
39389d09728Smrg  as_dirname=false
39489d09728Smrgfi
39566fe65f6Smrg
39689d09728Smrgas_me=`$as_basename -- "$0" ||
39766fe65f6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39866fe65f6Smrg	 X"$0" : 'X\(//\)$' \| \
39989d09728Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
40089d09728Smrg$as_echo X/"$0" |
40189d09728Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
40289d09728Smrg	    s//\1/
40389d09728Smrg	    q
40489d09728Smrg	  }
40589d09728Smrg	  /^X\/\(\/\/\)$/{
40689d09728Smrg	    s//\1/
40789d09728Smrg	    q
40889d09728Smrg	  }
40989d09728Smrg	  /^X\/\(\/\).*/{
41089d09728Smrg	    s//\1/
41189d09728Smrg	    q
41289d09728Smrg	  }
41389d09728Smrg	  s/.*/./; q'`
41466fe65f6Smrg
41566fe65f6Smrg# Avoid depending upon Character Ranges.
41666fe65f6Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
41766fe65f6Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41866fe65f6Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
41966fe65f6Smrgas_cr_digits='0123456789'
42066fe65f6Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
42166fe65f6Smrg
42266fe65f6Smrg
42389d09728Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
42489d09728Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
42589d09728Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
42689d09728Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
42789d09728Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
42889d09728Smrg  sed -n '
42989d09728Smrg    p
43089d09728Smrg    /[$]LINENO/=
43189d09728Smrg  ' <$as_myself |
43266fe65f6Smrg    sed '
43389d09728Smrg      s/[$]LINENO.*/&-/
43489d09728Smrg      t lineno
43589d09728Smrg      b
43689d09728Smrg      :lineno
43766fe65f6Smrg      N
43889d09728Smrg      :loop
43989d09728Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
44066fe65f6Smrg      t loop
44189d09728Smrg      s/-\n.*//
44266fe65f6Smrg    ' >$as_me.lineno &&
44389d09728Smrg  chmod +x "$as_me.lineno" ||
44489d09728Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
44566fe65f6Smrg
44666fe65f6Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
44766fe65f6Smrg  # (the dirname of $[0] is not the place where we might find the
44889d09728Smrg  # original and so on.  Autoconf is especially sensitive to this).
44989d09728Smrg  . "./$as_me.lineno"
45066fe65f6Smrg  # Exit status is that of the last command.
45166fe65f6Smrg  exit
45266fe65f6Smrg}
45366fe65f6Smrg
45489d09728SmrgECHO_C= ECHO_N= ECHO_T=
45589d09728Smrgcase `echo -n x` in #(((((
45689d09728Smrg-n*)
45789d09728Smrg  case `echo 'xy\c'` in
45889d09728Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
45989d09728Smrg  xy)  ECHO_C='\c';;
46089d09728Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
46189d09728Smrg       ECHO_T='	';;
46289d09728Smrg  esac;;
46389d09728Smrg*)
46489d09728Smrg  ECHO_N='-n';;
46566fe65f6Smrgesac
46666fe65f6Smrg
46789d09728Smrgrm -f conf$$ conf$$.exe conf$$.file
46889d09728Smrgif test -d conf$$.dir; then
46989d09728Smrg  rm -f conf$$.dir/conf$$.file
47066fe65f6Smrgelse
47189d09728Smrg  rm -f conf$$.dir
47289d09728Smrg  mkdir conf$$.dir 2>/dev/null
47366fe65f6Smrgfi
47489d09728Smrgif (echo >conf$$.file) 2>/dev/null; then
47589d09728Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
47666fe65f6Smrg    as_ln_s='ln -s'
47789d09728Smrg    # ... but there are two gotchas:
47889d09728Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
47989d09728Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
48089d09728Smrg    # In both cases, we have to default to `cp -p'.
48189d09728Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
48289d09728Smrg      as_ln_s='cp -p'
48389d09728Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
48489d09728Smrg    as_ln_s=ln
48589d09728Smrg  else
48689d09728Smrg    as_ln_s='cp -p'
48766fe65f6Smrg  fi
48866fe65f6Smrgelse
48966fe65f6Smrg  as_ln_s='cp -p'
49066fe65f6Smrgfi
49189d09728Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49289d09728Smrgrmdir conf$$.dir 2>/dev/null
49366fe65f6Smrg
49466fe65f6Smrgif mkdir -p . 2>/dev/null; then
49589d09728Smrg  as_mkdir_p='mkdir -p "$as_dir"'
49666fe65f6Smrgelse
49766fe65f6Smrg  test -d ./-p && rmdir ./-p
49866fe65f6Smrg  as_mkdir_p=false
49966fe65f6Smrgfi
50066fe65f6Smrg
50189d09728Smrgif test -x / >/dev/null 2>&1; then
50289d09728Smrg  as_test_x='test -x'
50389d09728Smrgelse
50489d09728Smrg  if ls -dL / >/dev/null 2>&1; then
50589d09728Smrg    as_ls_L_option=L
50689d09728Smrg  else
50789d09728Smrg    as_ls_L_option=
50889d09728Smrg  fi
50989d09728Smrg  as_test_x='
51089d09728Smrg    eval sh -c '\''
51189d09728Smrg      if test -d "$1"; then
51289d09728Smrg	test -d "$1/.";
51389d09728Smrg      else
51489d09728Smrg	case $1 in #(
51589d09728Smrg	-*)set "./$1";;
51689d09728Smrg	esac;
51789d09728Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
51889d09728Smrg	???[sx]*):;;*)false;;esac;fi
51989d09728Smrg    '\'' sh
52089d09728Smrg  '
52189d09728Smrgfi
52289d09728Smrgas_executable_p=$as_test_x
52366fe65f6Smrg
52466fe65f6Smrg# Sed expression to map a string onto a valid CPP name.
52566fe65f6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52666fe65f6Smrg
52766fe65f6Smrg# Sed expression to map a string onto a valid variable name.
52866fe65f6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52966fe65f6Smrg
53066fe65f6Smrg
53189d09728Smrgexec 7<&0 </dev/null 6>&1
53266fe65f6Smrg
53366fe65f6Smrg# Name of the host.
53466fe65f6Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
53566fe65f6Smrg# so uname gets run too.
53666fe65f6Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
53766fe65f6Smrg
53866fe65f6Smrg#
53966fe65f6Smrg# Initializations.
54066fe65f6Smrg#
54166fe65f6Smrgac_default_prefix=/usr/local
54289d09728Smrgac_clean_files=
54366fe65f6Smrgac_config_libobj_dir=.
54489d09728SmrgLIBOBJS=
54566fe65f6Smrgcross_compiling=no
54666fe65f6Smrgsubdirs=
54766fe65f6SmrgMFLAGS=
54866fe65f6SmrgMAKEFLAGS=
54966fe65f6Smrg
55066fe65f6Smrg# Identity of this package.
55166fe65f6SmrgPACKAGE_NAME='font-util'
55266fe65f6SmrgPACKAGE_TARNAME='font-util'
55389d09728SmrgPACKAGE_VERSION='1.0.2'
55489d09728SmrgPACKAGE_STRING='font-util 1.0.2'
55566fe65f6SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
55689d09728SmrgPACKAGE_URL=''
55766fe65f6Smrg
55889d09728Smrg# Factoring default headers for most tests.
55989d09728Smrgac_includes_default="\
56089d09728Smrg#include <stdio.h>
56189d09728Smrg#ifdef HAVE_SYS_TYPES_H
56289d09728Smrg# include <sys/types.h>
56389d09728Smrg#endif
56489d09728Smrg#ifdef HAVE_SYS_STAT_H
56589d09728Smrg# include <sys/stat.h>
56689d09728Smrg#endif
56789d09728Smrg#ifdef STDC_HEADERS
56889d09728Smrg# include <stdlib.h>
56989d09728Smrg# include <stddef.h>
57089d09728Smrg#else
57189d09728Smrg# ifdef HAVE_STDLIB_H
57289d09728Smrg#  include <stdlib.h>
57389d09728Smrg# endif
57489d09728Smrg#endif
57589d09728Smrg#ifdef HAVE_STRING_H
57689d09728Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
57789d09728Smrg#  include <memory.h>
57889d09728Smrg# endif
57989d09728Smrg# include <string.h>
58089d09728Smrg#endif
58189d09728Smrg#ifdef HAVE_STRINGS_H
58289d09728Smrg# include <strings.h>
58389d09728Smrg#endif
58489d09728Smrg#ifdef HAVE_INTTYPES_H
58589d09728Smrg# include <inttypes.h>
58689d09728Smrg#endif
58789d09728Smrg#ifdef HAVE_STDINT_H
58889d09728Smrg# include <stdint.h>
58989d09728Smrg#endif
59089d09728Smrg#ifdef HAVE_UNISTD_H
59189d09728Smrg# include <unistd.h>
59289d09728Smrg#endif"
59389d09728Smrg
59489d09728Smrgac_subst_vars='LTLIBOBJS
59589d09728SmrgLIBOBJS
59689d09728Smrgdistcleancheck_listfiles
59789d09728SmrgCHANGELOG_CMD
59889d09728SmrgADMIN_MAN_DIR
59989d09728SmrgDRIVER_MAN_DIR
60089d09728SmrgMISC_MAN_DIR
60189d09728SmrgFILE_MAN_DIR
60289d09728SmrgLIB_MAN_DIR
60389d09728SmrgAPP_MAN_DIR
60489d09728SmrgADMIN_MAN_SUFFIX
60589d09728SmrgDRIVER_MAN_SUFFIX
60689d09728SmrgMISC_MAN_SUFFIX
60789d09728SmrgFILE_MAN_SUFFIX
60889d09728SmrgLIB_MAN_SUFFIX
60989d09728SmrgAPP_MAN_SUFFIX
61089d09728Smrghost_os
61189d09728Smrghost_vendor
61289d09728Smrghost_cpu
61389d09728Smrghost
61489d09728Smrgbuild_os
61589d09728Smrgbuild_vendor
61689d09728Smrgbuild_cpu
61789d09728Smrgbuild
61889d09728SmrgMAPDIR
61989d09728SmrgCWARNFLAGS
62089d09728SmrgEGREP
62189d09728SmrgGREP
62289d09728SmrgCPP
62389d09728Smrgam__fastdepCC_FALSE
62489d09728Smrgam__fastdepCC_TRUE
62589d09728SmrgCCDEPMODE
62689d09728SmrgAMDEPBACKSLASH
62789d09728SmrgAMDEP_FALSE
62889d09728SmrgAMDEP_TRUE
62989d09728Smrgam__quote
63089d09728Smrgam__include
63189d09728SmrgDEPDIR
63289d09728SmrgOBJEXT
63389d09728SmrgEXEEXT
63489d09728Smrgac_ct_CC
63589d09728SmrgCPPFLAGS
63689d09728SmrgLDFLAGS
63789d09728SmrgCFLAGS
63889d09728SmrgCC
63989d09728SmrgMAINT
64089d09728SmrgMAINTAINER_MODE_FALSE
64189d09728SmrgMAINTAINER_MODE_TRUE
64289d09728Smrgam__untar
64389d09728Smrgam__tar
64489d09728SmrgAMTAR
64589d09728Smrgam__leading_dot
64689d09728SmrgSET_MAKE
64789d09728SmrgAWK
64889d09728Smrgmkdir_p
64989d09728SmrgMKDIR_P
65089d09728SmrgINSTALL_STRIP_PROGRAM
65189d09728SmrgSTRIP
65289d09728Smrginstall_sh
65389d09728SmrgMAKEINFO
65489d09728SmrgAUTOHEADER
65589d09728SmrgAUTOMAKE
65689d09728SmrgAUTOCONF
65789d09728SmrgACLOCAL
65889d09728SmrgVERSION
65989d09728SmrgPACKAGE
66089d09728SmrgCYGPATH_W
66189d09728Smrgam__isrc
66289d09728SmrgINSTALL_DATA
66389d09728SmrgINSTALL_SCRIPT
66489d09728SmrgINSTALL_PROGRAM
66589d09728Smrgtarget_alias
66689d09728Smrghost_alias
66789d09728Smrgbuild_alias
66889d09728SmrgLIBS
66989d09728SmrgECHO_T
67089d09728SmrgECHO_N
67189d09728SmrgECHO_C
67289d09728SmrgDEFS
67389d09728Smrgmandir
67489d09728Smrglocaledir
67589d09728Smrglibdir
67689d09728Smrgpsdir
67789d09728Smrgpdfdir
67889d09728Smrgdvidir
67989d09728Smrghtmldir
68089d09728Smrginfodir
68189d09728Smrgdocdir
68289d09728Smrgoldincludedir
68389d09728Smrgincludedir
68489d09728Smrglocalstatedir
68589d09728Smrgsharedstatedir
68689d09728Smrgsysconfdir
68789d09728Smrgdatadir
68889d09728Smrgdatarootdir
68989d09728Smrglibexecdir
69089d09728Smrgsbindir
69189d09728Smrgbindir
69289d09728Smrgprogram_transform_name
69389d09728Smrgprefix
69489d09728Smrgexec_prefix
69589d09728SmrgPACKAGE_URL
69689d09728SmrgPACKAGE_BUGREPORT
69789d09728SmrgPACKAGE_STRING
69889d09728SmrgPACKAGE_VERSION
69989d09728SmrgPACKAGE_TARNAME
70089d09728SmrgPACKAGE_NAME
70189d09728SmrgPATH_SEPARATOR
70289d09728SmrgSHELL'
70366fe65f6Smrgac_subst_files=''
70489d09728Smrgac_user_opts='
70589d09728Smrgenable_option_checking
70689d09728Smrgenable_maintainer_mode
70789d09728Smrgenable_dependency_tracking
70889d09728Smrgwith_mapdir
70989d09728Smrgwith_release_version
71089d09728Smrg'
71189d09728Smrg      ac_precious_vars='build_alias
71289d09728Smrghost_alias
71389d09728Smrgtarget_alias
71489d09728SmrgCC
71589d09728SmrgCFLAGS
71689d09728SmrgLDFLAGS
71789d09728SmrgLIBS
71889d09728SmrgCPPFLAGS
71989d09728SmrgCPP'
72089d09728Smrg
72166fe65f6Smrg
72266fe65f6Smrg# Initialize some variables set by options.
72366fe65f6Smrgac_init_help=
72466fe65f6Smrgac_init_version=false
72589d09728Smrgac_unrecognized_opts=
72689d09728Smrgac_unrecognized_sep=
72766fe65f6Smrg# The variables have the same names as the options, with
72866fe65f6Smrg# dashes changed to underlines.
72966fe65f6Smrgcache_file=/dev/null
73066fe65f6Smrgexec_prefix=NONE
73166fe65f6Smrgno_create=
73266fe65f6Smrgno_recursion=
73366fe65f6Smrgprefix=NONE
73466fe65f6Smrgprogram_prefix=NONE
73566fe65f6Smrgprogram_suffix=NONE
73666fe65f6Smrgprogram_transform_name=s,x,x,
73766fe65f6Smrgsilent=
73866fe65f6Smrgsite=
73966fe65f6Smrgsrcdir=
74066fe65f6Smrgverbose=
74166fe65f6Smrgx_includes=NONE
74266fe65f6Smrgx_libraries=NONE
74366fe65f6Smrg
74466fe65f6Smrg# Installation directory options.
74566fe65f6Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
74666fe65f6Smrg# and all the variables that are supposed to be based on exec_prefix
74766fe65f6Smrg# by default will actually change.
74866fe65f6Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
74989d09728Smrg# (The list follows the same order as the GNU Coding Standards.)
75066fe65f6Smrgbindir='${exec_prefix}/bin'
75166fe65f6Smrgsbindir='${exec_prefix}/sbin'
75266fe65f6Smrglibexecdir='${exec_prefix}/libexec'
75389d09728Smrgdatarootdir='${prefix}/share'
75489d09728Smrgdatadir='${datarootdir}'
75566fe65f6Smrgsysconfdir='${prefix}/etc'
75666fe65f6Smrgsharedstatedir='${prefix}/com'
75766fe65f6Smrglocalstatedir='${prefix}/var'
75866fe65f6Smrgincludedir='${prefix}/include'
75966fe65f6Smrgoldincludedir='/usr/include'
76089d09728Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
76189d09728Smrginfodir='${datarootdir}/info'
76289d09728Smrghtmldir='${docdir}'
76389d09728Smrgdvidir='${docdir}'
76489d09728Smrgpdfdir='${docdir}'
76589d09728Smrgpsdir='${docdir}'
76689d09728Smrglibdir='${exec_prefix}/lib'
76789d09728Smrglocaledir='${datarootdir}/locale'
76889d09728Smrgmandir='${datarootdir}/man'
76966fe65f6Smrg
77066fe65f6Smrgac_prev=
77189d09728Smrgac_dashdash=
77266fe65f6Smrgfor ac_option
77366fe65f6Smrgdo
77466fe65f6Smrg  # If the previous option needs an argument, assign it.
77566fe65f6Smrg  if test -n "$ac_prev"; then
77689d09728Smrg    eval $ac_prev=\$ac_option
77766fe65f6Smrg    ac_prev=
77866fe65f6Smrg    continue
77966fe65f6Smrg  fi
78066fe65f6Smrg
78189d09728Smrg  case $ac_option in
78289d09728Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
78389d09728Smrg  *)	ac_optarg=yes ;;
78489d09728Smrg  esac
78566fe65f6Smrg
78666fe65f6Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
78766fe65f6Smrg
78889d09728Smrg  case $ac_dashdash$ac_option in
78989d09728Smrg  --)
79089d09728Smrg    ac_dashdash=yes ;;
79166fe65f6Smrg
79266fe65f6Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
79366fe65f6Smrg    ac_prev=bindir ;;
79466fe65f6Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
79566fe65f6Smrg    bindir=$ac_optarg ;;
79666fe65f6Smrg
79766fe65f6Smrg  -build | --build | --buil | --bui | --bu)
79866fe65f6Smrg    ac_prev=build_alias ;;
79966fe65f6Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
80066fe65f6Smrg    build_alias=$ac_optarg ;;
80166fe65f6Smrg
80266fe65f6Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
80366fe65f6Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
80466fe65f6Smrg    ac_prev=cache_file ;;
80566fe65f6Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
80666fe65f6Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
80766fe65f6Smrg    cache_file=$ac_optarg ;;
80866fe65f6Smrg
80966fe65f6Smrg  --config-cache | -C)
81066fe65f6Smrg    cache_file=config.cache ;;
81166fe65f6Smrg
81289d09728Smrg  -datadir | --datadir | --datadi | --datad)
81366fe65f6Smrg    ac_prev=datadir ;;
81489d09728Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
81566fe65f6Smrg    datadir=$ac_optarg ;;
81666fe65f6Smrg
81789d09728Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
81889d09728Smrg  | --dataroo | --dataro | --datar)
81989d09728Smrg    ac_prev=datarootdir ;;
82089d09728Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
82189d09728Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
82289d09728Smrg    datarootdir=$ac_optarg ;;
82389d09728Smrg
82466fe65f6Smrg  -disable-* | --disable-*)
82589d09728Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
82666fe65f6Smrg    # Reject names that are not valid shell variable names.
82789d09728Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
82889d09728Smrg      as_fn_error "invalid feature name: $ac_useropt"
82989d09728Smrg    ac_useropt_orig=$ac_useropt
83089d09728Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
83189d09728Smrg    case $ac_user_opts in
83289d09728Smrg      *"
83389d09728Smrg"enable_$ac_useropt"
83489d09728Smrg"*) ;;
83589d09728Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
83689d09728Smrg	 ac_unrecognized_sep=', ';;
83789d09728Smrg    esac
83889d09728Smrg    eval enable_$ac_useropt=no ;;
83989d09728Smrg
84089d09728Smrg  -docdir | --docdir | --docdi | --doc | --do)
84189d09728Smrg    ac_prev=docdir ;;
84289d09728Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
84389d09728Smrg    docdir=$ac_optarg ;;
84489d09728Smrg
84589d09728Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
84689d09728Smrg    ac_prev=dvidir ;;
84789d09728Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
84889d09728Smrg    dvidir=$ac_optarg ;;
84966fe65f6Smrg
85066fe65f6Smrg  -enable-* | --enable-*)
85189d09728Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
85266fe65f6Smrg    # Reject names that are not valid shell variable names.
85389d09728Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
85489d09728Smrg      as_fn_error "invalid feature name: $ac_useropt"
85589d09728Smrg    ac_useropt_orig=$ac_useropt
85689d09728Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
85789d09728Smrg    case $ac_user_opts in
85889d09728Smrg      *"
85989d09728Smrg"enable_$ac_useropt"
86089d09728Smrg"*) ;;
86189d09728Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
86289d09728Smrg	 ac_unrecognized_sep=', ';;
86366fe65f6Smrg    esac
86489d09728Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
86566fe65f6Smrg
86666fe65f6Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
86766fe65f6Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
86866fe65f6Smrg  | --exec | --exe | --ex)
86966fe65f6Smrg    ac_prev=exec_prefix ;;
87066fe65f6Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
87166fe65f6Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
87266fe65f6Smrg  | --exec=* | --exe=* | --ex=*)
87366fe65f6Smrg    exec_prefix=$ac_optarg ;;
87466fe65f6Smrg
87566fe65f6Smrg  -gas | --gas | --ga | --g)
87666fe65f6Smrg    # Obsolete; use --with-gas.
87766fe65f6Smrg    with_gas=yes ;;
87866fe65f6Smrg
87966fe65f6Smrg  -help | --help | --hel | --he | -h)
88066fe65f6Smrg    ac_init_help=long ;;
88166fe65f6Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
88266fe65f6Smrg    ac_init_help=recursive ;;
88366fe65f6Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
88466fe65f6Smrg    ac_init_help=short ;;
88566fe65f6Smrg
88666fe65f6Smrg  -host | --host | --hos | --ho)
88766fe65f6Smrg    ac_prev=host_alias ;;
88866fe65f6Smrg  -host=* | --host=* | --hos=* | --ho=*)
88966fe65f6Smrg    host_alias=$ac_optarg ;;
89066fe65f6Smrg
89189d09728Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
89289d09728Smrg    ac_prev=htmldir ;;
89389d09728Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
89489d09728Smrg  | --ht=*)
89589d09728Smrg    htmldir=$ac_optarg ;;
89689d09728Smrg
89766fe65f6Smrg  -includedir | --includedir | --includedi | --included | --include \
89866fe65f6Smrg  | --includ | --inclu | --incl | --inc)
89966fe65f6Smrg    ac_prev=includedir ;;
90066fe65f6Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
90166fe65f6Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
90266fe65f6Smrg    includedir=$ac_optarg ;;
90366fe65f6Smrg
90466fe65f6Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
90566fe65f6Smrg    ac_prev=infodir ;;
90666fe65f6Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
90766fe65f6Smrg    infodir=$ac_optarg ;;
90866fe65f6Smrg
90966fe65f6Smrg  -libdir | --libdir | --libdi | --libd)
91066fe65f6Smrg    ac_prev=libdir ;;
91166fe65f6Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
91266fe65f6Smrg    libdir=$ac_optarg ;;
91366fe65f6Smrg
91466fe65f6Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
91566fe65f6Smrg  | --libexe | --libex | --libe)
91666fe65f6Smrg    ac_prev=libexecdir ;;
91766fe65f6Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
91866fe65f6Smrg  | --libexe=* | --libex=* | --libe=*)
91966fe65f6Smrg    libexecdir=$ac_optarg ;;
92066fe65f6Smrg
92189d09728Smrg  -localedir | --localedir | --localedi | --localed | --locale)
92289d09728Smrg    ac_prev=localedir ;;
92389d09728Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
92489d09728Smrg    localedir=$ac_optarg ;;
92589d09728Smrg
92666fe65f6Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
92789d09728Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
92866fe65f6Smrg    ac_prev=localstatedir ;;
92966fe65f6Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
93089d09728Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
93166fe65f6Smrg    localstatedir=$ac_optarg ;;
93266fe65f6Smrg
93366fe65f6Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
93466fe65f6Smrg    ac_prev=mandir ;;
93566fe65f6Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
93666fe65f6Smrg    mandir=$ac_optarg ;;
93766fe65f6Smrg
93866fe65f6Smrg  -nfp | --nfp | --nf)
93966fe65f6Smrg    # Obsolete; use --without-fp.
94066fe65f6Smrg    with_fp=no ;;
94166fe65f6Smrg
94266fe65f6Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
94366fe65f6Smrg  | --no-cr | --no-c | -n)
94466fe65f6Smrg    no_create=yes ;;
94566fe65f6Smrg
94666fe65f6Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
94766fe65f6Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
94866fe65f6Smrg    no_recursion=yes ;;
94966fe65f6Smrg
95066fe65f6Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
95166fe65f6Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
95266fe65f6Smrg  | --oldin | --oldi | --old | --ol | --o)
95366fe65f6Smrg    ac_prev=oldincludedir ;;
95466fe65f6Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
95566fe65f6Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
95666fe65f6Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
95766fe65f6Smrg    oldincludedir=$ac_optarg ;;
95866fe65f6Smrg
95966fe65f6Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
96066fe65f6Smrg    ac_prev=prefix ;;
96166fe65f6Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
96266fe65f6Smrg    prefix=$ac_optarg ;;
96366fe65f6Smrg
96466fe65f6Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
96566fe65f6Smrg  | --program-pre | --program-pr | --program-p)
96666fe65f6Smrg    ac_prev=program_prefix ;;
96766fe65f6Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
96866fe65f6Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
96966fe65f6Smrg    program_prefix=$ac_optarg ;;
97066fe65f6Smrg
97166fe65f6Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
97266fe65f6Smrg  | --program-suf | --program-su | --program-s)
97366fe65f6Smrg    ac_prev=program_suffix ;;
97466fe65f6Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
97566fe65f6Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
97666fe65f6Smrg    program_suffix=$ac_optarg ;;
97766fe65f6Smrg
97866fe65f6Smrg  -program-transform-name | --program-transform-name \
97966fe65f6Smrg  | --program-transform-nam | --program-transform-na \
98066fe65f6Smrg  | --program-transform-n | --program-transform- \
98166fe65f6Smrg  | --program-transform | --program-transfor \
98266fe65f6Smrg  | --program-transfo | --program-transf \
98366fe65f6Smrg  | --program-trans | --program-tran \
98466fe65f6Smrg  | --progr-tra | --program-tr | --program-t)
98566fe65f6Smrg    ac_prev=program_transform_name ;;
98666fe65f6Smrg  -program-transform-name=* | --program-transform-name=* \
98766fe65f6Smrg  | --program-transform-nam=* | --program-transform-na=* \
98866fe65f6Smrg  | --program-transform-n=* | --program-transform-=* \
98966fe65f6Smrg  | --program-transform=* | --program-transfor=* \
99066fe65f6Smrg  | --program-transfo=* | --program-transf=* \
99166fe65f6Smrg  | --program-trans=* | --program-tran=* \
99266fe65f6Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
99366fe65f6Smrg    program_transform_name=$ac_optarg ;;
99466fe65f6Smrg
99589d09728Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
99689d09728Smrg    ac_prev=pdfdir ;;
99789d09728Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
99889d09728Smrg    pdfdir=$ac_optarg ;;
99989d09728Smrg
100089d09728Smrg  -psdir | --psdir | --psdi | --psd | --ps)
100189d09728Smrg    ac_prev=psdir ;;
100289d09728Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
100389d09728Smrg    psdir=$ac_optarg ;;
100489d09728Smrg
100566fe65f6Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
100666fe65f6Smrg  | -silent | --silent | --silen | --sile | --sil)
100766fe65f6Smrg    silent=yes ;;
100866fe65f6Smrg
100966fe65f6Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
101066fe65f6Smrg    ac_prev=sbindir ;;
101166fe65f6Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
101266fe65f6Smrg  | --sbi=* | --sb=*)
101366fe65f6Smrg    sbindir=$ac_optarg ;;
101466fe65f6Smrg
101566fe65f6Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
101666fe65f6Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
101766fe65f6Smrg  | --sharedst | --shareds | --shared | --share | --shar \
101866fe65f6Smrg  | --sha | --sh)
101966fe65f6Smrg    ac_prev=sharedstatedir ;;
102066fe65f6Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
102166fe65f6Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
102266fe65f6Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
102366fe65f6Smrg  | --sha=* | --sh=*)
102466fe65f6Smrg    sharedstatedir=$ac_optarg ;;
102566fe65f6Smrg
102666fe65f6Smrg  -site | --site | --sit)
102766fe65f6Smrg    ac_prev=site ;;
102866fe65f6Smrg  -site=* | --site=* | --sit=*)
102966fe65f6Smrg    site=$ac_optarg ;;
103066fe65f6Smrg
103166fe65f6Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
103266fe65f6Smrg    ac_prev=srcdir ;;
103366fe65f6Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
103466fe65f6Smrg    srcdir=$ac_optarg ;;
103566fe65f6Smrg
103666fe65f6Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
103766fe65f6Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
103866fe65f6Smrg    ac_prev=sysconfdir ;;
103966fe65f6Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
104066fe65f6Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
104166fe65f6Smrg    sysconfdir=$ac_optarg ;;
104266fe65f6Smrg
104366fe65f6Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
104466fe65f6Smrg    ac_prev=target_alias ;;
104566fe65f6Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
104666fe65f6Smrg    target_alias=$ac_optarg ;;
104766fe65f6Smrg
104866fe65f6Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
104966fe65f6Smrg    verbose=yes ;;
105066fe65f6Smrg
105166fe65f6Smrg  -version | --version | --versio | --versi | --vers | -V)
105266fe65f6Smrg    ac_init_version=: ;;
105366fe65f6Smrg
105466fe65f6Smrg  -with-* | --with-*)
105589d09728Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
105666fe65f6Smrg    # Reject names that are not valid shell variable names.
105789d09728Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
105889d09728Smrg      as_fn_error "invalid package name: $ac_useropt"
105989d09728Smrg    ac_useropt_orig=$ac_useropt
106089d09728Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
106189d09728Smrg    case $ac_user_opts in
106289d09728Smrg      *"
106389d09728Smrg"with_$ac_useropt"
106489d09728Smrg"*) ;;
106589d09728Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
106689d09728Smrg	 ac_unrecognized_sep=', ';;
106766fe65f6Smrg    esac
106889d09728Smrg    eval with_$ac_useropt=\$ac_optarg ;;
106966fe65f6Smrg
107066fe65f6Smrg  -without-* | --without-*)
107189d09728Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
107266fe65f6Smrg    # Reject names that are not valid shell variable names.
107389d09728Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
107489d09728Smrg      as_fn_error "invalid package name: $ac_useropt"
107589d09728Smrg    ac_useropt_orig=$ac_useropt
107689d09728Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
107789d09728Smrg    case $ac_user_opts in
107889d09728Smrg      *"
107989d09728Smrg"with_$ac_useropt"
108089d09728Smrg"*) ;;
108189d09728Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
108289d09728Smrg	 ac_unrecognized_sep=', ';;
108389d09728Smrg    esac
108489d09728Smrg    eval with_$ac_useropt=no ;;
108566fe65f6Smrg
108666fe65f6Smrg  --x)
108766fe65f6Smrg    # Obsolete; use --with-x.
108866fe65f6Smrg    with_x=yes ;;
108966fe65f6Smrg
109066fe65f6Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
109166fe65f6Smrg  | --x-incl | --x-inc | --x-in | --x-i)
109266fe65f6Smrg    ac_prev=x_includes ;;
109366fe65f6Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
109466fe65f6Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
109566fe65f6Smrg    x_includes=$ac_optarg ;;
109666fe65f6Smrg
109766fe65f6Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
109866fe65f6Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
109966fe65f6Smrg    ac_prev=x_libraries ;;
110066fe65f6Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
110166fe65f6Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
110266fe65f6Smrg    x_libraries=$ac_optarg ;;
110366fe65f6Smrg
110489d09728Smrg  -*) as_fn_error "unrecognized option: \`$ac_option'
110589d09728SmrgTry \`$0 --help' for more information."
110666fe65f6Smrg    ;;
110766fe65f6Smrg
110866fe65f6Smrg  *=*)
110966fe65f6Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
111066fe65f6Smrg    # Reject names that are not valid shell variable names.
111189d09728Smrg    case $ac_envvar in #(
111289d09728Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
111389d09728Smrg      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
111489d09728Smrg    esac
111589d09728Smrg    eval $ac_envvar=\$ac_optarg
111666fe65f6Smrg    export $ac_envvar ;;
111766fe65f6Smrg
111866fe65f6Smrg  *)
111966fe65f6Smrg    # FIXME: should be removed in autoconf 3.0.
112089d09728Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
112166fe65f6Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
112289d09728Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
112366fe65f6Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
112466fe65f6Smrg    ;;
112566fe65f6Smrg
112666fe65f6Smrg  esac
112766fe65f6Smrgdone
112866fe65f6Smrg
112966fe65f6Smrgif test -n "$ac_prev"; then
113066fe65f6Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
113189d09728Smrg  as_fn_error "missing argument to $ac_option"
113266fe65f6Smrgfi
113366fe65f6Smrg
113489d09728Smrgif test -n "$ac_unrecognized_opts"; then
113589d09728Smrg  case $enable_option_checking in
113689d09728Smrg    no) ;;
113789d09728Smrg    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
113889d09728Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
113966fe65f6Smrg  esac
114089d09728Smrgfi
114166fe65f6Smrg
114289d09728Smrg# Check all directory arguments for consistency.
114389d09728Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
114489d09728Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
114589d09728Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
114689d09728Smrg		libdir localedir mandir
114766fe65f6Smrgdo
114889d09728Smrg  eval ac_val=\$$ac_var
114989d09728Smrg  # Remove trailing slashes.
115066fe65f6Smrg  case $ac_val in
115189d09728Smrg    */ )
115289d09728Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
115389d09728Smrg      eval $ac_var=\$ac_val;;
115466fe65f6Smrg  esac
115589d09728Smrg  # Be sure to have absolute directory names.
115689d09728Smrg  case $ac_val in
115789d09728Smrg    [\\/$]* | ?:[\\/]* )  continue;;
115889d09728Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
115989d09728Smrg  esac
116089d09728Smrg  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
116166fe65f6Smrgdone
116266fe65f6Smrg
116366fe65f6Smrg# There might be people who depend on the old broken behavior: `$host'
116466fe65f6Smrg# used to hold the argument of --host etc.
116566fe65f6Smrg# FIXME: To remove some day.
116666fe65f6Smrgbuild=$build_alias
116766fe65f6Smrghost=$host_alias
116866fe65f6Smrgtarget=$target_alias
116966fe65f6Smrg
117066fe65f6Smrg# FIXME: To remove some day.
117166fe65f6Smrgif test "x$host_alias" != x; then
117266fe65f6Smrg  if test "x$build_alias" = x; then
117366fe65f6Smrg    cross_compiling=maybe
117489d09728Smrg    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
117566fe65f6Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
117666fe65f6Smrg  elif test "x$build_alias" != "x$host_alias"; then
117766fe65f6Smrg    cross_compiling=yes
117866fe65f6Smrg  fi
117966fe65f6Smrgfi
118066fe65f6Smrg
118166fe65f6Smrgac_tool_prefix=
118266fe65f6Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
118366fe65f6Smrg
118466fe65f6Smrgtest "$silent" = yes && exec 6>/dev/null
118566fe65f6Smrg
118666fe65f6Smrg
118789d09728Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
118889d09728Smrgac_ls_di=`ls -di .` &&
118989d09728Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
119089d09728Smrg  as_fn_error "working directory cannot be determined"
119189d09728Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
119289d09728Smrg  as_fn_error "pwd does not report name of working directory"
119389d09728Smrg
119489d09728Smrg
119566fe65f6Smrg# Find the source files, if location was not specified.
119666fe65f6Smrgif test -z "$srcdir"; then
119766fe65f6Smrg  ac_srcdir_defaulted=yes
119889d09728Smrg  # Try the directory containing this script, then the parent directory.
119989d09728Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
120089d09728Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120189d09728Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
120289d09728Smrg	 X"$as_myself" : 'X\(//\)$' \| \
120389d09728Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
120489d09728Smrg$as_echo X"$as_myself" |
120589d09728Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
120689d09728Smrg	    s//\1/
120789d09728Smrg	    q
120889d09728Smrg	  }
120989d09728Smrg	  /^X\(\/\/\)[^/].*/{
121089d09728Smrg	    s//\1/
121189d09728Smrg	    q
121289d09728Smrg	  }
121389d09728Smrg	  /^X\(\/\/\)$/{
121489d09728Smrg	    s//\1/
121589d09728Smrg	    q
121689d09728Smrg	  }
121789d09728Smrg	  /^X\(\/\).*/{
121889d09728Smrg	    s//\1/
121989d09728Smrg	    q
122089d09728Smrg	  }
122189d09728Smrg	  s/.*/./; q'`
122266fe65f6Smrg  srcdir=$ac_confdir
122389d09728Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
122466fe65f6Smrg    srcdir=..
122566fe65f6Smrg  fi
122666fe65f6Smrgelse
122766fe65f6Smrg  ac_srcdir_defaulted=no
122866fe65f6Smrgfi
122989d09728Smrgif test ! -r "$srcdir/$ac_unique_file"; then
123089d09728Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
123189d09728Smrg  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
123289d09728Smrgfi
123389d09728Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
123489d09728Smrgac_abs_confdir=`(
123589d09728Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
123689d09728Smrg	pwd)`
123789d09728Smrg# When building in place, set srcdir=.
123889d09728Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
123989d09728Smrg  srcdir=.
124089d09728Smrgfi
124189d09728Smrg# Remove unnecessary trailing slashes from srcdir.
124289d09728Smrg# Double slashes in file names in object file debugging info
124389d09728Smrg# mess up M-x gdb in Emacs.
124489d09728Smrgcase $srcdir in
124589d09728Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
124689d09728Smrgesac
124789d09728Smrgfor ac_var in $ac_precious_vars; do
124889d09728Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
124989d09728Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
125089d09728Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
125189d09728Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
125289d09728Smrgdone
125366fe65f6Smrg
125466fe65f6Smrg#
125566fe65f6Smrg# Report the --help message.
125666fe65f6Smrg#
125766fe65f6Smrgif test "$ac_init_help" = "long"; then
125866fe65f6Smrg  # Omit some internal or obsolete options to make the list less imposing.
125966fe65f6Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
126066fe65f6Smrg  cat <<_ACEOF
126189d09728Smrg\`configure' configures font-util 1.0.2 to adapt to many kinds of systems.
126266fe65f6Smrg
126366fe65f6SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
126466fe65f6Smrg
126566fe65f6SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
126666fe65f6SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
126766fe65f6Smrg
126866fe65f6SmrgDefaults for the options are specified in brackets.
126966fe65f6Smrg
127066fe65f6SmrgConfiguration:
127166fe65f6Smrg  -h, --help              display this help and exit
127266fe65f6Smrg      --help=short        display options specific to this package
127366fe65f6Smrg      --help=recursive    display the short help of all the included packages
127466fe65f6Smrg  -V, --version           display version information and exit
127566fe65f6Smrg  -q, --quiet, --silent   do not print \`checking...' messages
127666fe65f6Smrg      --cache-file=FILE   cache test results in FILE [disabled]
127766fe65f6Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
127866fe65f6Smrg  -n, --no-create         do not create output files
127966fe65f6Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
128066fe65f6Smrg
128166fe65f6SmrgInstallation directories:
128266fe65f6Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
128389d09728Smrg                          [$ac_default_prefix]
128466fe65f6Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
128589d09728Smrg                          [PREFIX]
128666fe65f6Smrg
128766fe65f6SmrgBy default, \`make install' will install all the files in
128866fe65f6Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
128966fe65f6Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
129066fe65f6Smrgfor instance \`--prefix=\$HOME'.
129166fe65f6Smrg
129266fe65f6SmrgFor better control, use the options below.
129366fe65f6Smrg
129466fe65f6SmrgFine tuning of the installation directories:
129589d09728Smrg  --bindir=DIR            user executables [EPREFIX/bin]
129689d09728Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
129789d09728Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
129889d09728Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
129989d09728Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
130089d09728Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
130189d09728Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
130289d09728Smrg  --includedir=DIR        C header files [PREFIX/include]
130389d09728Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
130489d09728Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
130589d09728Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
130689d09728Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
130789d09728Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
130889d09728Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
130989d09728Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/font-util]
131089d09728Smrg  --htmldir=DIR           html documentation [DOCDIR]
131189d09728Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
131289d09728Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
131389d09728Smrg  --psdir=DIR             ps documentation [DOCDIR]
131466fe65f6Smrg_ACEOF
131566fe65f6Smrg
131666fe65f6Smrg  cat <<\_ACEOF
131766fe65f6Smrg
131866fe65f6SmrgProgram names:
131966fe65f6Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
132066fe65f6Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
132166fe65f6Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
132266fe65f6Smrg
132366fe65f6SmrgSystem types:
132466fe65f6Smrg  --build=BUILD     configure for building on BUILD [guessed]
132566fe65f6Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
132666fe65f6Smrg_ACEOF
132766fe65f6Smrgfi
132866fe65f6Smrg
132966fe65f6Smrgif test -n "$ac_init_help"; then
133066fe65f6Smrg  case $ac_init_help in
133189d09728Smrg     short | recursive ) echo "Configuration of font-util 1.0.2:";;
133266fe65f6Smrg   esac
133366fe65f6Smrg  cat <<\_ACEOF
133466fe65f6Smrg
133566fe65f6SmrgOptional Features:
133689d09728Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
133766fe65f6Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
133866fe65f6Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
133966fe65f6Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
134066fe65f6Smrg			  (and sometimes confusing) to the casual installer
134166fe65f6Smrg  --disable-dependency-tracking  speeds up one-time build
134266fe65f6Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
134366fe65f6Smrg
134466fe65f6SmrgOptional Packages:
134566fe65f6Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
134666fe65f6Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
134789d09728Smrg  --with-mapdir=<pathname>
134889d09728Smrg                          Path to install font maps
134966fe65f6Smrg  --with-release-version=STRING
135066fe65f6Smrg                          Use release version string in package name
135166fe65f6Smrg
135266fe65f6SmrgSome influential environment variables:
135366fe65f6Smrg  CC          C compiler command
135466fe65f6Smrg  CFLAGS      C compiler flags
135566fe65f6Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
135666fe65f6Smrg              nonstandard directory <lib dir>
135789d09728Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
135889d09728Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
135989d09728Smrg              you have headers in a nonstandard directory <include dir>
136089d09728Smrg  CPP         C preprocessor
136166fe65f6Smrg
136266fe65f6SmrgUse these variables to override the choices made by `configure' or to help
136366fe65f6Smrgit to find libraries and programs with nonstandard names/locations.
136466fe65f6Smrg
136566fe65f6SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
136666fe65f6Smrg_ACEOF
136789d09728Smrgac_status=$?
136866fe65f6Smrgfi
136966fe65f6Smrg
137066fe65f6Smrgif test "$ac_init_help" = "recursive"; then
137166fe65f6Smrg  # If there are subdirs, report their specific --help.
137266fe65f6Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
137389d09728Smrg    test -d "$ac_dir" ||
137489d09728Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
137589d09728Smrg      continue
137666fe65f6Smrg    ac_builddir=.
137766fe65f6Smrg
137889d09728Smrgcase "$ac_dir" in
137989d09728Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
138089d09728Smrg*)
138189d09728Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
138289d09728Smrg  # A ".." for each directory in $ac_dir_suffix.
138389d09728Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
138489d09728Smrg  case $ac_top_builddir_sub in
138589d09728Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
138689d09728Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
138789d09728Smrg  esac ;;
138889d09728Smrgesac
138989d09728Smrgac_abs_top_builddir=$ac_pwd
139089d09728Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
139189d09728Smrg# for backward compatibility:
139289d09728Smrgac_top_builddir=$ac_top_build_prefix
139366fe65f6Smrg
139466fe65f6Smrgcase $srcdir in
139589d09728Smrg  .)  # We are building in place.
139666fe65f6Smrg    ac_srcdir=.
139789d09728Smrg    ac_top_srcdir=$ac_top_builddir_sub
139889d09728Smrg    ac_abs_top_srcdir=$ac_pwd ;;
139989d09728Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
140066fe65f6Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
140189d09728Smrg    ac_top_srcdir=$srcdir
140289d09728Smrg    ac_abs_top_srcdir=$srcdir ;;
140389d09728Smrg  *) # Relative name.
140489d09728Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
140589d09728Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
140689d09728Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
140766fe65f6Smrgesac
140889d09728Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
140989d09728Smrg
141089d09728Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
141189d09728Smrg    # Check for guested configure.
141289d09728Smrg    if test -f "$ac_srcdir/configure.gnu"; then
141389d09728Smrg      echo &&
141489d09728Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
141589d09728Smrg    elif test -f "$ac_srcdir/configure"; then
141689d09728Smrg      echo &&
141789d09728Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
141866fe65f6Smrg    else
141989d09728Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
142089d09728Smrg    fi || ac_status=$?
142189d09728Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
142266fe65f6Smrg  done
142366fe65f6Smrgfi
142466fe65f6Smrg
142589d09728Smrgtest -n "$ac_init_help" && exit $ac_status
142666fe65f6Smrgif $ac_init_version; then
142766fe65f6Smrg  cat <<\_ACEOF
142889d09728Smrgfont-util configure 1.0.2
142989d09728Smrggenerated by GNU Autoconf 2.64
143066fe65f6Smrg
143189d09728SmrgCopyright (C) 2009 Free Software Foundation, Inc.
143266fe65f6SmrgThis configure script is free software; the Free Software Foundation
143366fe65f6Smrggives unlimited permission to copy, distribute and modify it.
143466fe65f6Smrg_ACEOF
143589d09728Smrg  exit
143666fe65f6Smrgfi
143766fe65f6Smrg
143889d09728Smrg## ------------------------ ##
143989d09728Smrg## Autoconf initialization. ##
144089d09728Smrg## ------------------------ ##
144166fe65f6Smrg
144289d09728Smrg# ac_fn_c_try_compile LINENO
144389d09728Smrg# --------------------------
144489d09728Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
144589d09728Smrgac_fn_c_try_compile ()
144666fe65f6Smrg{
144789d09728Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
144889d09728Smrg  rm -f conftest.$ac_objext
144989d09728Smrg  if { { ac_try="$ac_compile"
145089d09728Smrgcase "(($ac_try" in
145189d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
145289d09728Smrg  *) ac_try_echo=$ac_try;;
145389d09728Smrgesac
145489d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
145589d09728Smrg$as_echo "$ac_try_echo"; } >&5
145689d09728Smrg  (eval "$ac_compile") 2>conftest.err
145789d09728Smrg  ac_status=$?
145889d09728Smrg  if test -s conftest.err; then
145989d09728Smrg    grep -v '^ *+' conftest.err >conftest.er1
146089d09728Smrg    cat conftest.er1 >&5
146189d09728Smrg    mv -f conftest.er1 conftest.err
146289d09728Smrg  fi
146389d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
146489d09728Smrg  test $ac_status = 0; } && {
146589d09728Smrg	 test -z "$ac_c_werror_flag" ||
146689d09728Smrg	 test ! -s conftest.err
146789d09728Smrg       } && test -s conftest.$ac_objext; then :
146889d09728Smrg  ac_retval=0
146989d09728Smrgelse
147089d09728Smrg  $as_echo "$as_me: failed program was:" >&5
147189d09728Smrgsed 's/^/| /' conftest.$ac_ext >&5
147266fe65f6Smrg
147389d09728Smrg	ac_retval=1
147489d09728Smrgfi
147589d09728Smrg  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
147689d09728Smrg  return $ac_retval
147766fe65f6Smrg
147889d09728Smrg} # ac_fn_c_try_compile
147966fe65f6Smrg
148089d09728Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR
148189d09728Smrg# ------------------------------------
148289d09728Smrg# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
148389d09728Smrgac_fn_c_check_decl ()
148489d09728Smrg{
148589d09728Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148689d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
148789d09728Smrg$as_echo_n "checking whether $2 is declared... " >&6; }
148889d09728Smrgif { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
148989d09728Smrg  $as_echo_n "(cached) " >&6
149089d09728Smrgelse
149189d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
149289d09728Smrg/* end confdefs.h.  */
149389d09728Smrg$4
149489d09728Smrgint
149589d09728Smrgmain ()
149689d09728Smrg{
149789d09728Smrg#ifndef $2
149889d09728Smrg  (void) $2;
149989d09728Smrg#endif
150066fe65f6Smrg
150189d09728Smrg  ;
150289d09728Smrg  return 0;
150389d09728Smrg}
150489d09728Smrg_ACEOF
150589d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
150689d09728Smrg  eval "$3=yes"
150789d09728Smrgelse
150889d09728Smrg  eval "$3=no"
150989d09728Smrgfi
151089d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
151189d09728Smrgfi
151289d09728Smrgeval ac_res=\$$3
151389d09728Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
151489d09728Smrg$as_echo "$ac_res" >&6; }
151589d09728Smrg  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
151666fe65f6Smrg
151789d09728Smrg} # ac_fn_c_check_decl
151866fe65f6Smrg
151989d09728Smrg# ac_fn_c_try_cpp LINENO
152089d09728Smrg# ----------------------
152189d09728Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
152289d09728Smrgac_fn_c_try_cpp ()
152389d09728Smrg{
152489d09728Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
152589d09728Smrg  if { { ac_try="$ac_cpp conftest.$ac_ext"
152689d09728Smrgcase "(($ac_try" in
152789d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
152889d09728Smrg  *) ac_try_echo=$ac_try;;
152989d09728Smrgesac
153089d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
153189d09728Smrg$as_echo "$ac_try_echo"; } >&5
153289d09728Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
153389d09728Smrg  ac_status=$?
153489d09728Smrg  if test -s conftest.err; then
153589d09728Smrg    grep -v '^ *+' conftest.err >conftest.er1
153689d09728Smrg    cat conftest.er1 >&5
153789d09728Smrg    mv -f conftest.er1 conftest.err
153889d09728Smrg  fi
153989d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
154089d09728Smrg  test $ac_status = 0; } >/dev/null && {
154189d09728Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
154289d09728Smrg	 test ! -s conftest.err
154389d09728Smrg       }; then :
154489d09728Smrg  ac_retval=0
154589d09728Smrgelse
154689d09728Smrg  $as_echo "$as_me: failed program was:" >&5
154789d09728Smrgsed 's/^/| /' conftest.$ac_ext >&5
154889d09728Smrg
154989d09728Smrg    ac_retval=1
155089d09728Smrgfi
155189d09728Smrg  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
155289d09728Smrg  return $ac_retval
155389d09728Smrg
155489d09728Smrg} # ac_fn_c_try_cpp
155589d09728Smrg
155689d09728Smrg# ac_fn_c_try_run LINENO
155789d09728Smrg# ----------------------
155889d09728Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
155989d09728Smrg# that executables *can* be run.
156089d09728Smrgac_fn_c_try_run ()
156189d09728Smrg{
156289d09728Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
156389d09728Smrg  if { { ac_try="$ac_link"
156489d09728Smrgcase "(($ac_try" in
156589d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
156689d09728Smrg  *) ac_try_echo=$ac_try;;
156789d09728Smrgesac
156889d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
156989d09728Smrg$as_echo "$ac_try_echo"; } >&5
157089d09728Smrg  (eval "$ac_link") 2>&5
157189d09728Smrg  ac_status=$?
157289d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
157389d09728Smrg  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
157489d09728Smrg  { { case "(($ac_try" in
157589d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
157689d09728Smrg  *) ac_try_echo=$ac_try;;
157789d09728Smrgesac
157889d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
157989d09728Smrg$as_echo "$ac_try_echo"; } >&5
158089d09728Smrg  (eval "$ac_try") 2>&5
158189d09728Smrg  ac_status=$?
158289d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
158389d09728Smrg  test $ac_status = 0; }; }; then :
158489d09728Smrg  ac_retval=0
158589d09728Smrgelse
158689d09728Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
158789d09728Smrg       $as_echo "$as_me: failed program was:" >&5
158889d09728Smrgsed 's/^/| /' conftest.$ac_ext >&5
158989d09728Smrg
159089d09728Smrg       ac_retval=$ac_status
159189d09728Smrgfi
159289d09728Smrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
159389d09728Smrg  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
159489d09728Smrg  return $ac_retval
159589d09728Smrg
159689d09728Smrg} # ac_fn_c_try_run
159789d09728Smrg
159889d09728Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
159989d09728Smrg# -------------------------------------------------------
160089d09728Smrg# Tests whether HEADER exists and can be compiled using the include files in
160189d09728Smrg# INCLUDES, setting the cache variable VAR accordingly.
160289d09728Smrgac_fn_c_check_header_compile ()
160389d09728Smrg{
160489d09728Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
160589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
160689d09728Smrg$as_echo_n "checking for $2... " >&6; }
160789d09728Smrgif { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
160889d09728Smrg  $as_echo_n "(cached) " >&6
160989d09728Smrgelse
161089d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
161189d09728Smrg/* end confdefs.h.  */
161289d09728Smrg$4
161389d09728Smrg#include <$2>
161489d09728Smrg_ACEOF
161589d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
161689d09728Smrg  eval "$3=yes"
161789d09728Smrgelse
161889d09728Smrg  eval "$3=no"
161989d09728Smrgfi
162089d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
162189d09728Smrgfi
162289d09728Smrgeval ac_res=\$$3
162389d09728Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
162489d09728Smrg$as_echo "$ac_res" >&6; }
162589d09728Smrg  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
162689d09728Smrg
162789d09728Smrg} # ac_fn_c_check_header_compile
162889d09728Smrgcat >config.log <<_ACEOF
162989d09728SmrgThis file contains any messages produced by compilers while
163089d09728Smrgrunning configure, to aid debugging if configure makes a mistake.
163189d09728Smrg
163289d09728SmrgIt was created by font-util $as_me 1.0.2, which was
163389d09728Smrggenerated by GNU Autoconf 2.64.  Invocation command line was
163489d09728Smrg
163589d09728Smrg  $ $0 $@
163689d09728Smrg
163789d09728Smrg_ACEOF
163889d09728Smrgexec 5>>config.log
163989d09728Smrg{
164089d09728Smrgcat <<_ASUNAME
164189d09728Smrg## --------- ##
164289d09728Smrg## Platform. ##
164389d09728Smrg## --------- ##
164489d09728Smrg
164589d09728Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
164689d09728Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
164789d09728Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
164889d09728Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
164989d09728Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
165089d09728Smrg
165189d09728Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
165289d09728Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
165389d09728Smrg
165489d09728Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
165589d09728Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
165689d09728Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
165789d09728Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
165889d09728Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
165989d09728Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
166089d09728Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
166189d09728Smrg
166289d09728Smrg_ASUNAME
166389d09728Smrg
166489d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
166589d09728Smrgfor as_dir in $PATH
166689d09728Smrgdo
166789d09728Smrg  IFS=$as_save_IFS
166889d09728Smrg  test -z "$as_dir" && as_dir=.
166989d09728Smrg    $as_echo "PATH: $as_dir"
167089d09728Smrg  done
167189d09728SmrgIFS=$as_save_IFS
167289d09728Smrg
167389d09728Smrg} >&5
167489d09728Smrg
167589d09728Smrgcat >&5 <<_ACEOF
167666fe65f6Smrg
167766fe65f6Smrg
167866fe65f6Smrg## ----------- ##
167966fe65f6Smrg## Core tests. ##
168066fe65f6Smrg## ----------- ##
168166fe65f6Smrg
168266fe65f6Smrg_ACEOF
168366fe65f6Smrg
168466fe65f6Smrg
168566fe65f6Smrg# Keep a trace of the command line.
168666fe65f6Smrg# Strip out --no-create and --no-recursion so they do not pile up.
168766fe65f6Smrg# Strip out --silent because we don't want to record it for future runs.
168866fe65f6Smrg# Also quote any args containing shell meta-characters.
168966fe65f6Smrg# Make two passes to allow for proper duplicate-argument suppression.
169066fe65f6Smrgac_configure_args=
169166fe65f6Smrgac_configure_args0=
169266fe65f6Smrgac_configure_args1=
169366fe65f6Smrgac_must_keep_next=false
169466fe65f6Smrgfor ac_pass in 1 2
169566fe65f6Smrgdo
169666fe65f6Smrg  for ac_arg
169766fe65f6Smrg  do
169866fe65f6Smrg    case $ac_arg in
169966fe65f6Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
170066fe65f6Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
170166fe65f6Smrg    | -silent | --silent | --silen | --sile | --sil)
170266fe65f6Smrg      continue ;;
170389d09728Smrg    *\'*)
170489d09728Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
170566fe65f6Smrg    esac
170666fe65f6Smrg    case $ac_pass in
170789d09728Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
170866fe65f6Smrg    2)
170989d09728Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
171066fe65f6Smrg      if test $ac_must_keep_next = true; then
171166fe65f6Smrg	ac_must_keep_next=false # Got value, back to normal.
171266fe65f6Smrg      else
171366fe65f6Smrg	case $ac_arg in
171466fe65f6Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
171566fe65f6Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
171666fe65f6Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
171766fe65f6Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
171866fe65f6Smrg	    case "$ac_configure_args0 " in
171966fe65f6Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
172066fe65f6Smrg	    esac
172166fe65f6Smrg	    ;;
172266fe65f6Smrg	  -* ) ac_must_keep_next=true ;;
172366fe65f6Smrg	esac
172466fe65f6Smrg      fi
172589d09728Smrg      as_fn_append ac_configure_args " '$ac_arg'"
172666fe65f6Smrg      ;;
172766fe65f6Smrg    esac
172866fe65f6Smrg  done
172966fe65f6Smrgdone
173089d09728Smrg{ ac_configure_args0=; unset ac_configure_args0;}
173189d09728Smrg{ ac_configure_args1=; unset ac_configure_args1;}
173266fe65f6Smrg
173366fe65f6Smrg# When interrupted or exit'd, cleanup temporary files, and complete
173466fe65f6Smrg# config.log.  We remove comments because anyway the quotes in there
173566fe65f6Smrg# would cause problems or look ugly.
173689d09728Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
173789d09728Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
173866fe65f6Smrgtrap 'exit_status=$?
173966fe65f6Smrg  # Save into config.log some information that might help in debugging.
174066fe65f6Smrg  {
174166fe65f6Smrg    echo
174266fe65f6Smrg
174366fe65f6Smrg    cat <<\_ASBOX
174466fe65f6Smrg## ---------------- ##
174566fe65f6Smrg## Cache variables. ##
174666fe65f6Smrg## ---------------- ##
174766fe65f6Smrg_ASBOX
174866fe65f6Smrg    echo
174966fe65f6Smrg    # The following way of writing the cache mishandles newlines in values,
175089d09728Smrg(
175189d09728Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
175289d09728Smrg    eval ac_val=\$$ac_var
175389d09728Smrg    case $ac_val in #(
175489d09728Smrg    *${as_nl}*)
175589d09728Smrg      case $ac_var in #(
175689d09728Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
175789d09728Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
175889d09728Smrg      esac
175989d09728Smrg      case $ac_var in #(
176089d09728Smrg      _ | IFS | as_nl) ;; #(
176189d09728Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
176289d09728Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
176389d09728Smrg      esac ;;
176489d09728Smrg    esac
176589d09728Smrg  done
176666fe65f6Smrg  (set) 2>&1 |
176789d09728Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
176889d09728Smrg    *${as_nl}ac_space=\ *)
176966fe65f6Smrg      sed -n \
177089d09728Smrg	"s/'\''/'\''\\\\'\'''\''/g;
177189d09728Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
177289d09728Smrg      ;; #(
177366fe65f6Smrg    *)
177489d09728Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
177566fe65f6Smrg      ;;
177689d09728Smrg    esac |
177789d09728Smrg    sort
177889d09728Smrg)
177966fe65f6Smrg    echo
178066fe65f6Smrg
178166fe65f6Smrg    cat <<\_ASBOX
178266fe65f6Smrg## ----------------- ##
178366fe65f6Smrg## Output variables. ##
178466fe65f6Smrg## ----------------- ##
178566fe65f6Smrg_ASBOX
178666fe65f6Smrg    echo
178766fe65f6Smrg    for ac_var in $ac_subst_vars
178866fe65f6Smrg    do
178989d09728Smrg      eval ac_val=\$$ac_var
179089d09728Smrg      case $ac_val in
179189d09728Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
179289d09728Smrg      esac
179389d09728Smrg      $as_echo "$ac_var='\''$ac_val'\''"
179466fe65f6Smrg    done | sort
179566fe65f6Smrg    echo
179666fe65f6Smrg
179766fe65f6Smrg    if test -n "$ac_subst_files"; then
179866fe65f6Smrg      cat <<\_ASBOX
179989d09728Smrg## ------------------- ##
180089d09728Smrg## File substitutions. ##
180189d09728Smrg## ------------------- ##
180266fe65f6Smrg_ASBOX
180366fe65f6Smrg      echo
180466fe65f6Smrg      for ac_var in $ac_subst_files
180566fe65f6Smrg      do
180689d09728Smrg	eval ac_val=\$$ac_var
180789d09728Smrg	case $ac_val in
180889d09728Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
180989d09728Smrg	esac
181089d09728Smrg	$as_echo "$ac_var='\''$ac_val'\''"
181166fe65f6Smrg      done | sort
181266fe65f6Smrg      echo
181366fe65f6Smrg    fi
181466fe65f6Smrg
181566fe65f6Smrg    if test -s confdefs.h; then
181666fe65f6Smrg      cat <<\_ASBOX
181766fe65f6Smrg## ----------- ##
181866fe65f6Smrg## confdefs.h. ##
181966fe65f6Smrg## ----------- ##
182066fe65f6Smrg_ASBOX
182166fe65f6Smrg      echo
182289d09728Smrg      cat confdefs.h
182366fe65f6Smrg      echo
182466fe65f6Smrg    fi
182566fe65f6Smrg    test "$ac_signal" != 0 &&
182689d09728Smrg      $as_echo "$as_me: caught signal $ac_signal"
182789d09728Smrg    $as_echo "$as_me: exit $exit_status"
182866fe65f6Smrg  } >&5
182989d09728Smrg  rm -f core *.core core.conftest.* &&
183089d09728Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
183166fe65f6Smrg    exit $exit_status
183289d09728Smrg' 0
183366fe65f6Smrgfor ac_signal in 1 2 13 15; do
183489d09728Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
183566fe65f6Smrgdone
183666fe65f6Smrgac_signal=0
183766fe65f6Smrg
183866fe65f6Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
183989d09728Smrgrm -f -r conftest* confdefs.h
184089d09728Smrg
184189d09728Smrg$as_echo "/* confdefs.h */" > confdefs.h
184266fe65f6Smrg
184366fe65f6Smrg# Predefined preprocessor variables.
184466fe65f6Smrg
184566fe65f6Smrgcat >>confdefs.h <<_ACEOF
184666fe65f6Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
184766fe65f6Smrg_ACEOF
184866fe65f6Smrg
184966fe65f6Smrgcat >>confdefs.h <<_ACEOF
185066fe65f6Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
185166fe65f6Smrg_ACEOF
185266fe65f6Smrg
185366fe65f6Smrgcat >>confdefs.h <<_ACEOF
185466fe65f6Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
185566fe65f6Smrg_ACEOF
185666fe65f6Smrg
185766fe65f6Smrgcat >>confdefs.h <<_ACEOF
185866fe65f6Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
185966fe65f6Smrg_ACEOF
186066fe65f6Smrg
186166fe65f6Smrgcat >>confdefs.h <<_ACEOF
186266fe65f6Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
186366fe65f6Smrg_ACEOF
186466fe65f6Smrg
186589d09728Smrgcat >>confdefs.h <<_ACEOF
186689d09728Smrg#define PACKAGE_URL "$PACKAGE_URL"
186789d09728Smrg_ACEOF
186889d09728Smrg
186966fe65f6Smrg
187066fe65f6Smrg# Let the site file select an alternate cache file if it wants to.
187189d09728Smrg# Prefer an explicitly selected file to automatically selected ones.
187289d09728Smrgac_site_file1=NONE
187389d09728Smrgac_site_file2=NONE
187489d09728Smrgif test -n "$CONFIG_SITE"; then
187589d09728Smrg  ac_site_file1=$CONFIG_SITE
187689d09728Smrgelif test "x$prefix" != xNONE; then
187789d09728Smrg  ac_site_file1=$prefix/share/config.site
187889d09728Smrg  ac_site_file2=$prefix/etc/config.site
187989d09728Smrgelse
188089d09728Smrg  ac_site_file1=$ac_default_prefix/share/config.site
188189d09728Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
188266fe65f6Smrgfi
188389d09728Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
188489d09728Smrgdo
188589d09728Smrg  test "x$ac_site_file" = xNONE && continue
188666fe65f6Smrg  if test -r "$ac_site_file"; then
188789d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
188889d09728Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
188966fe65f6Smrg    sed 's/^/| /' "$ac_site_file" >&5
189066fe65f6Smrg    . "$ac_site_file"
189166fe65f6Smrg  fi
189266fe65f6Smrgdone
189366fe65f6Smrg
189466fe65f6Smrgif test -r "$cache_file"; then
189566fe65f6Smrg  # Some versions of bash will fail to source /dev/null (special
189666fe65f6Smrg  # files actually), so we avoid doing that.
189766fe65f6Smrg  if test -f "$cache_file"; then
189889d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
189989d09728Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
190066fe65f6Smrg    case $cache_file in
190189d09728Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
190289d09728Smrg      *)                      . "./$cache_file";;
190366fe65f6Smrg    esac
190466fe65f6Smrg  fi
190566fe65f6Smrgelse
190689d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
190789d09728Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
190866fe65f6Smrg  >$cache_file
190966fe65f6Smrgfi
191066fe65f6Smrg
191166fe65f6Smrg# Check that the precious variables saved in the cache have kept the same
191266fe65f6Smrg# value.
191366fe65f6Smrgac_cache_corrupted=false
191489d09728Smrgfor ac_var in $ac_precious_vars; do
191566fe65f6Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
191666fe65f6Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
191789d09728Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
191889d09728Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
191966fe65f6Smrg  case $ac_old_set,$ac_new_set in
192066fe65f6Smrg    set,)
192189d09728Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
192289d09728Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
192366fe65f6Smrg      ac_cache_corrupted=: ;;
192466fe65f6Smrg    ,set)
192589d09728Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
192689d09728Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
192766fe65f6Smrg      ac_cache_corrupted=: ;;
192866fe65f6Smrg    ,);;
192966fe65f6Smrg    *)
193066fe65f6Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
193189d09728Smrg	# differences in whitespace do not lead to failure.
193289d09728Smrg	ac_old_val_w=`echo x $ac_old_val`
193389d09728Smrg	ac_new_val_w=`echo x $ac_new_val`
193489d09728Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
193589d09728Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
193689d09728Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
193789d09728Smrg	  ac_cache_corrupted=:
193889d09728Smrg	else
193989d09728Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
194089d09728Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
194189d09728Smrg	  eval $ac_var=\$ac_old_val
194289d09728Smrg	fi
194389d09728Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
194489d09728Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
194589d09728Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
194689d09728Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
194766fe65f6Smrg      fi;;
194866fe65f6Smrg  esac
194966fe65f6Smrg  # Pass precious variables to config.status.
195066fe65f6Smrg  if test "$ac_new_set" = set; then
195166fe65f6Smrg    case $ac_new_val in
195289d09728Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
195366fe65f6Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
195466fe65f6Smrg    esac
195566fe65f6Smrg    case " $ac_configure_args " in
195666fe65f6Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
195789d09728Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
195866fe65f6Smrg    esac
195966fe65f6Smrg  fi
196066fe65f6Smrgdone
196166fe65f6Smrgif $ac_cache_corrupted; then
196289d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
196389d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
196489d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
196589d09728Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
196689d09728Smrg  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
196766fe65f6Smrgfi
196889d09728Smrg## -------------------- ##
196989d09728Smrg## Main body of script. ##
197089d09728Smrg## -------------------- ##
197166fe65f6Smrg
197266fe65f6Smrgac_ext=c
197366fe65f6Smrgac_cpp='$CPP $CPPFLAGS'
197466fe65f6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
197566fe65f6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
197666fe65f6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
197766fe65f6Smrg
197866fe65f6Smrg
197989d09728Smrgam__api_version='1.10'
198066fe65f6Smrg
198166fe65f6Smrgac_aux_dir=
198289d09728Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
198389d09728Smrg  for ac_t in install-sh install.sh shtool; do
198489d09728Smrg    if test -f "$ac_dir/$ac_t"; then
198589d09728Smrg      ac_aux_dir=$ac_dir
198689d09728Smrg      ac_install_sh="$ac_aux_dir/$ac_t -c"
198789d09728Smrg      break 2
198889d09728Smrg    fi
198989d09728Smrg  done
199066fe65f6Smrgdone
199166fe65f6Smrgif test -z "$ac_aux_dir"; then
199289d09728Smrg  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
199366fe65f6Smrgfi
199489d09728Smrg
199589d09728Smrg# These three variables are undocumented and unsupported,
199689d09728Smrg# and are intended to be withdrawn in a future Autoconf release.
199789d09728Smrg# They can cause serious problems if a builder's source tree is in a directory
199889d09728Smrg# whose full name contains unusual characters.
199989d09728Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
200089d09728Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
200189d09728Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
200289d09728Smrg
200366fe65f6Smrg
200466fe65f6Smrg# Find a good install program.  We prefer a C program (faster),
200566fe65f6Smrg# so one script is as good as another.  But avoid the broken or
200666fe65f6Smrg# incompatible versions:
200766fe65f6Smrg# SysV /etc/install, /usr/sbin/install
200866fe65f6Smrg# SunOS /usr/etc/install
200966fe65f6Smrg# IRIX /sbin/install
201066fe65f6Smrg# AIX /bin/install
201166fe65f6Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
201266fe65f6Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
201366fe65f6Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
201466fe65f6Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
201566fe65f6Smrg# OS/2's system install, which has a completely different semantic
201666fe65f6Smrg# ./install, which can be erroneously created by make from ./install.sh.
201789d09728Smrg# Reject install programs that cannot install multiple files.
201889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
201989d09728Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
202066fe65f6Smrgif test -z "$INSTALL"; then
202189d09728Smrgif test "${ac_cv_path_install+set}" = set; then :
202289d09728Smrg  $as_echo_n "(cached) " >&6
202366fe65f6Smrgelse
202466fe65f6Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
202566fe65f6Smrgfor as_dir in $PATH
202666fe65f6Smrgdo
202766fe65f6Smrg  IFS=$as_save_IFS
202866fe65f6Smrg  test -z "$as_dir" && as_dir=.
202989d09728Smrg    # Account for people who put trailing slashes in PATH elements.
203089d09728Smrgcase $as_dir/ in #((
203189d09728Smrg  ./ | .// | /[cC]/* | \
203266fe65f6Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
203389d09728Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
203466fe65f6Smrg  /usr/ucb/* ) ;;
203566fe65f6Smrg  *)
203666fe65f6Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
203766fe65f6Smrg    # Don't use installbsd from OSF since it installs stuff as root
203866fe65f6Smrg    # by default.
203966fe65f6Smrg    for ac_prog in ginstall scoinst install; do
204066fe65f6Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
204189d09728Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
204266fe65f6Smrg	  if test $ac_prog = install &&
204366fe65f6Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
204466fe65f6Smrg	    # AIX install.  It has an incompatible calling convention.
204566fe65f6Smrg	    :
204666fe65f6Smrg	  elif test $ac_prog = install &&
204766fe65f6Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
204866fe65f6Smrg	    # program-specific install script used by HP pwplus--don't use.
204966fe65f6Smrg	    :
205066fe65f6Smrg	  else
205189d09728Smrg	    rm -rf conftest.one conftest.two conftest.dir
205289d09728Smrg	    echo one > conftest.one
205389d09728Smrg	    echo two > conftest.two
205489d09728Smrg	    mkdir conftest.dir
205589d09728Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
205689d09728Smrg	      test -s conftest.one && test -s conftest.two &&
205789d09728Smrg	      test -s conftest.dir/conftest.one &&
205889d09728Smrg	      test -s conftest.dir/conftest.two
205989d09728Smrg	    then
206089d09728Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
206189d09728Smrg	      break 3
206289d09728Smrg	    fi
206366fe65f6Smrg	  fi
206466fe65f6Smrg	fi
206566fe65f6Smrg      done
206666fe65f6Smrg    done
206766fe65f6Smrg    ;;
206866fe65f6Smrgesac
206966fe65f6Smrg
207089d09728Smrg  done
207189d09728SmrgIFS=$as_save_IFS
207289d09728Smrg
207389d09728Smrgrm -rf conftest.one conftest.two conftest.dir
207466fe65f6Smrg
207566fe65f6Smrgfi
207666fe65f6Smrg  if test "${ac_cv_path_install+set}" = set; then
207766fe65f6Smrg    INSTALL=$ac_cv_path_install
207866fe65f6Smrg  else
207989d09728Smrg    # As a last resort, use the slow shell script.  Don't cache a
208089d09728Smrg    # value for INSTALL within a source directory, because that will
208166fe65f6Smrg    # break other packages using the cache if that directory is
208289d09728Smrg    # removed, or if the value is a relative name.
208366fe65f6Smrg    INSTALL=$ac_install_sh
208466fe65f6Smrg  fi
208566fe65f6Smrgfi
208689d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
208789d09728Smrg$as_echo "$INSTALL" >&6; }
208866fe65f6Smrg
208966fe65f6Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
209066fe65f6Smrg# It thinks the first close brace ends the variable substitution.
209166fe65f6Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
209266fe65f6Smrg
209366fe65f6Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
209466fe65f6Smrg
209566fe65f6Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
209666fe65f6Smrg
209789d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
209889d09728Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
209966fe65f6Smrg# Just in case
210066fe65f6Smrgsleep 1
210166fe65f6Smrgecho timestamp > conftest.file
210266fe65f6Smrg# Do `set' in a subshell so we don't clobber the current shell's
210366fe65f6Smrg# arguments.  Must try -L first in case configure is actually a
210466fe65f6Smrg# symlink; some systems play weird games with the mod time of symlinks
210566fe65f6Smrg# (eg FreeBSD returns the mod time of the symlink's containing
210666fe65f6Smrg# directory).
210766fe65f6Smrgif (
210866fe65f6Smrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
210966fe65f6Smrg   if test "$*" = "X"; then
211066fe65f6Smrg      # -L didn't work.
211166fe65f6Smrg      set X `ls -t $srcdir/configure conftest.file`
211266fe65f6Smrg   fi
211366fe65f6Smrg   rm -f conftest.file
211466fe65f6Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
211566fe65f6Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
211666fe65f6Smrg
211766fe65f6Smrg      # If neither matched, then we have a broken ls.  This can happen
211866fe65f6Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
211966fe65f6Smrg      # broken ls alias from the environment.  This has actually
212066fe65f6Smrg      # happened.  Such a system could not be considered "sane".
212189d09728Smrg      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
212289d09728Smrgalias in your environment" "$LINENO" 5
212366fe65f6Smrg   fi
212466fe65f6Smrg
212566fe65f6Smrg   test "$2" = conftest.file
212666fe65f6Smrg   )
212766fe65f6Smrgthen
212866fe65f6Smrg   # Ok.
212966fe65f6Smrg   :
213066fe65f6Smrgelse
213189d09728Smrg   as_fn_error "newly created file is older than distributed files!
213289d09728SmrgCheck your system clock" "$LINENO" 5
213366fe65f6Smrgfi
213489d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
213589d09728Smrg$as_echo "yes" >&6; }
213666fe65f6Smrgtest "$program_prefix" != NONE &&
213789d09728Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
213866fe65f6Smrg# Use a double $ so make ignores it.
213966fe65f6Smrgtest "$program_suffix" != NONE &&
214089d09728Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
214189d09728Smrg# Double any \ or $.
214266fe65f6Smrg# By default was `s,x,x', remove it if useless.
214389d09728Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
214489d09728Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
214566fe65f6Smrg
214666fe65f6Smrg# expand $ac_aux_dir to an absolute path
214766fe65f6Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
214866fe65f6Smrg
214966fe65f6Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
215066fe65f6Smrg# Use eval to expand $SHELL
215166fe65f6Smrgif eval "$MISSING --run true"; then
215266fe65f6Smrg  am_missing_run="$MISSING --run "
215366fe65f6Smrgelse
215466fe65f6Smrg  am_missing_run=
215589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
215689d09728Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
215789d09728Smrgfi
215889d09728Smrg
215989d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
216089d09728Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
216189d09728Smrgif test -z "$MKDIR_P"; then
216289d09728Smrg  if test "${ac_cv_path_mkdir+set}" = set; then :
216389d09728Smrg  $as_echo_n "(cached) " >&6
216489d09728Smrgelse
216589d09728Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216689d09728Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
216789d09728Smrgdo
216889d09728Smrg  IFS=$as_save_IFS
216989d09728Smrg  test -z "$as_dir" && as_dir=.
217089d09728Smrg    for ac_prog in mkdir gmkdir; do
217189d09728Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
217289d09728Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
217389d09728Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
217489d09728Smrg	     'mkdir (GNU coreutils) '* | \
217589d09728Smrg	     'mkdir (coreutils) '* | \
217689d09728Smrg	     'mkdir (fileutils) '4.1*)
217789d09728Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
217889d09728Smrg	       break 3;;
217989d09728Smrg	   esac
218089d09728Smrg	 done
218189d09728Smrg       done
218266fe65f6Smrg  done
218389d09728SmrgIFS=$as_save_IFS
218489d09728Smrg
218589d09728Smrgfi
218689d09728Smrg
218789d09728Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
218889d09728Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
218966fe65f6Smrg  else
219089d09728Smrg    # As a last resort, use the slow shell script.  Don't cache a
219189d09728Smrg    # value for MKDIR_P within a source directory, because that will
219289d09728Smrg    # break other packages using the cache if that directory is
219389d09728Smrg    # removed, or if the value is a relative name.
219489d09728Smrg    test -d ./--version && rmdir ./--version
219589d09728Smrg    MKDIR_P="$ac_install_sh -d"
219666fe65f6Smrg  fi
219766fe65f6Smrgfi
219889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
219989d09728Smrg$as_echo "$MKDIR_P" >&6; }
220089d09728Smrg
220189d09728Smrgmkdir_p="$MKDIR_P"
220289d09728Smrgcase $mkdir_p in
220389d09728Smrg  [\\/$]* | ?:[\\/]*) ;;
220489d09728Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
220589d09728Smrgesac
220666fe65f6Smrg
220766fe65f6Smrgfor ac_prog in gawk mawk nawk awk
220866fe65f6Smrgdo
220966fe65f6Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
221066fe65f6Smrgset dummy $ac_prog; ac_word=$2
221189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
221289d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
221389d09728Smrgif test "${ac_cv_prog_AWK+set}" = set; then :
221489d09728Smrg  $as_echo_n "(cached) " >&6
221566fe65f6Smrgelse
221666fe65f6Smrg  if test -n "$AWK"; then
221766fe65f6Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
221866fe65f6Smrgelse
221966fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222066fe65f6Smrgfor as_dir in $PATH
222166fe65f6Smrgdo
222266fe65f6Smrg  IFS=$as_save_IFS
222366fe65f6Smrg  test -z "$as_dir" && as_dir=.
222489d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
222589d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
222666fe65f6Smrg    ac_cv_prog_AWK="$ac_prog"
222789d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
222866fe65f6Smrg    break 2
222966fe65f6Smrg  fi
223066fe65f6Smrgdone
223189d09728Smrg  done
223289d09728SmrgIFS=$as_save_IFS
223366fe65f6Smrg
223466fe65f6Smrgfi
223566fe65f6Smrgfi
223666fe65f6SmrgAWK=$ac_cv_prog_AWK
223766fe65f6Smrgif test -n "$AWK"; then
223889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
223989d09728Smrg$as_echo "$AWK" >&6; }
224066fe65f6Smrgelse
224189d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
224289d09728Smrg$as_echo "no" >&6; }
224366fe65f6Smrgfi
224466fe65f6Smrg
224589d09728Smrg
224666fe65f6Smrg  test -n "$AWK" && break
224766fe65f6Smrgdone
224866fe65f6Smrg
224989d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
225089d09728Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
225189d09728Smrgset x ${MAKE-make}
225289d09728Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
225389d09728Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
225489d09728Smrg  $as_echo_n "(cached) " >&6
225566fe65f6Smrgelse
225666fe65f6Smrg  cat >conftest.make <<\_ACEOF
225789d09728SmrgSHELL = /bin/sh
225866fe65f6Smrgall:
225989d09728Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
226066fe65f6Smrg_ACEOF
226166fe65f6Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
226289d09728Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
226389d09728Smrg  *@@@%%%=?*=@@@%%%*)
226489d09728Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
226589d09728Smrg  *)
226689d09728Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
226789d09728Smrgesac
226866fe65f6Smrgrm -f conftest.make
226966fe65f6Smrgfi
227089d09728Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
227189d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
227289d09728Smrg$as_echo "yes" >&6; }
227366fe65f6Smrg  SET_MAKE=
227466fe65f6Smrgelse
227589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
227689d09728Smrg$as_echo "no" >&6; }
227766fe65f6Smrg  SET_MAKE="MAKE=${MAKE-make}"
227866fe65f6Smrgfi
227966fe65f6Smrg
228066fe65f6Smrgrm -rf .tst 2>/dev/null
228166fe65f6Smrgmkdir .tst 2>/dev/null
228266fe65f6Smrgif test -d .tst; then
228366fe65f6Smrg  am__leading_dot=.
228466fe65f6Smrgelse
228566fe65f6Smrg  am__leading_dot=_
228666fe65f6Smrgfi
228766fe65f6Smrgrmdir .tst 2>/dev/null
228866fe65f6Smrg
228989d09728Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
229089d09728Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
229189d09728Smrg  # is not polluted with repeated "-I."
229289d09728Smrg  am__isrc=' -I$(srcdir)'
229389d09728Smrg  # test to see if srcdir already configured
229489d09728Smrg  if test -f $srcdir/config.status; then
229589d09728Smrg    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
229689d09728Smrg  fi
229766fe65f6Smrgfi
229866fe65f6Smrg
229966fe65f6Smrg# test whether we have cygpath
230066fe65f6Smrgif test -z "$CYGPATH_W"; then
230166fe65f6Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
230266fe65f6Smrg    CYGPATH_W='cygpath -w'
230366fe65f6Smrg  else
230466fe65f6Smrg    CYGPATH_W=echo
230566fe65f6Smrg  fi
230666fe65f6Smrgfi
230766fe65f6Smrg
230866fe65f6Smrg
230966fe65f6Smrg# Define the identity of the package.
231066fe65f6Smrg PACKAGE='font-util'
231189d09728Smrg VERSION='1.0.2'
231266fe65f6Smrg
231366fe65f6Smrg
231466fe65f6Smrgcat >>confdefs.h <<_ACEOF
231566fe65f6Smrg#define PACKAGE "$PACKAGE"
231666fe65f6Smrg_ACEOF
231766fe65f6Smrg
231866fe65f6Smrg
231966fe65f6Smrgcat >>confdefs.h <<_ACEOF
232066fe65f6Smrg#define VERSION "$VERSION"
232166fe65f6Smrg_ACEOF
232266fe65f6Smrg
232366fe65f6Smrg# Some tools Automake needs.
232466fe65f6Smrg
232566fe65f6SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
232666fe65f6Smrg
232766fe65f6Smrg
232866fe65f6SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
232966fe65f6Smrg
233066fe65f6Smrg
233166fe65f6SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
233266fe65f6Smrg
233366fe65f6Smrg
233466fe65f6SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
233566fe65f6Smrg
233666fe65f6Smrg
233766fe65f6SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
233866fe65f6Smrg
233989d09728Smrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
234066fe65f6Smrg
234166fe65f6Smrg# Installed binaries are usually stripped using `strip' when the user
234266fe65f6Smrg# run `make install-strip'.  However `strip' might not be the right
234366fe65f6Smrg# tool to use in cross-compilation environments, therefore Automake
234466fe65f6Smrg# will honor the `STRIP' environment variable to overrule this program.
234566fe65f6Smrgif test "$cross_compiling" != no; then
234666fe65f6Smrg  if test -n "$ac_tool_prefix"; then
234766fe65f6Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
234866fe65f6Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
234989d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
235089d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
235189d09728Smrgif test "${ac_cv_prog_STRIP+set}" = set; then :
235289d09728Smrg  $as_echo_n "(cached) " >&6
235366fe65f6Smrgelse
235466fe65f6Smrg  if test -n "$STRIP"; then
235566fe65f6Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
235666fe65f6Smrgelse
235766fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
235866fe65f6Smrgfor as_dir in $PATH
235966fe65f6Smrgdo
236066fe65f6Smrg  IFS=$as_save_IFS
236166fe65f6Smrg  test -z "$as_dir" && as_dir=.
236289d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
236389d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
236466fe65f6Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
236589d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
236666fe65f6Smrg    break 2
236766fe65f6Smrg  fi
236866fe65f6Smrgdone
236989d09728Smrg  done
237089d09728SmrgIFS=$as_save_IFS
237166fe65f6Smrg
237266fe65f6Smrgfi
237366fe65f6Smrgfi
237466fe65f6SmrgSTRIP=$ac_cv_prog_STRIP
237566fe65f6Smrgif test -n "$STRIP"; then
237689d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
237789d09728Smrg$as_echo "$STRIP" >&6; }
237866fe65f6Smrgelse
237989d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
238089d09728Smrg$as_echo "no" >&6; }
238166fe65f6Smrgfi
238266fe65f6Smrg
238389d09728Smrg
238466fe65f6Smrgfi
238566fe65f6Smrgif test -z "$ac_cv_prog_STRIP"; then
238666fe65f6Smrg  ac_ct_STRIP=$STRIP
238766fe65f6Smrg  # Extract the first word of "strip", so it can be a program name with args.
238866fe65f6Smrgset dummy strip; ac_word=$2
238989d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
239089d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
239189d09728Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
239289d09728Smrg  $as_echo_n "(cached) " >&6
239366fe65f6Smrgelse
239466fe65f6Smrg  if test -n "$ac_ct_STRIP"; then
239566fe65f6Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
239666fe65f6Smrgelse
239766fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
239866fe65f6Smrgfor as_dir in $PATH
239966fe65f6Smrgdo
240066fe65f6Smrg  IFS=$as_save_IFS
240166fe65f6Smrg  test -z "$as_dir" && as_dir=.
240289d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
240389d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
240466fe65f6Smrg    ac_cv_prog_ac_ct_STRIP="strip"
240589d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
240666fe65f6Smrg    break 2
240766fe65f6Smrg  fi
240866fe65f6Smrgdone
240989d09728Smrg  done
241089d09728SmrgIFS=$as_save_IFS
241166fe65f6Smrg
241266fe65f6Smrgfi
241366fe65f6Smrgfi
241466fe65f6Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
241566fe65f6Smrgif test -n "$ac_ct_STRIP"; then
241689d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
241789d09728Smrg$as_echo "$ac_ct_STRIP" >&6; }
241866fe65f6Smrgelse
241989d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
242089d09728Smrg$as_echo "no" >&6; }
242166fe65f6Smrgfi
242266fe65f6Smrg
242389d09728Smrg  if test "x$ac_ct_STRIP" = x; then
242489d09728Smrg    STRIP=":"
242589d09728Smrg  else
242689d09728Smrg    case $cross_compiling:$ac_tool_warned in
242789d09728Smrgyes:)
242889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
242989d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
243089d09728Smrgac_tool_warned=yes ;;
243189d09728Smrgesac
243289d09728Smrg    STRIP=$ac_ct_STRIP
243389d09728Smrg  fi
243466fe65f6Smrgelse
243566fe65f6Smrg  STRIP="$ac_cv_prog_STRIP"
243666fe65f6Smrgfi
243766fe65f6Smrg
243866fe65f6Smrgfi
243989d09728SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
244066fe65f6Smrg
244166fe65f6Smrg# We need awk for the "check" target.  The system "awk" is bad on
244266fe65f6Smrg# some platforms.
244366fe65f6Smrg# Always define AMTAR for backward compatibility.
244466fe65f6Smrg
244566fe65f6SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
244666fe65f6Smrg
244766fe65f6Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
244866fe65f6Smrg
244966fe65f6Smrg
245066fe65f6Smrg
245166fe65f6Smrg
245266fe65f6Smrg
245389d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
245489d09728Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
245589d09728Smrg    # Check whether --enable-maintainer-mode was given.
245689d09728Smrgif test "${enable_maintainer_mode+set}" = set; then :
245789d09728Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
245866fe65f6Smrgelse
245966fe65f6Smrg  USE_MAINTAINER_MODE=no
246089d09728Smrgfi
246166fe65f6Smrg
246289d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
246389d09728Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
246489d09728Smrg   if test $USE_MAINTAINER_MODE = yes; then
246566fe65f6Smrg  MAINTAINER_MODE_TRUE=
246666fe65f6Smrg  MAINTAINER_MODE_FALSE='#'
246766fe65f6Smrgelse
246866fe65f6Smrg  MAINTAINER_MODE_TRUE='#'
246966fe65f6Smrg  MAINTAINER_MODE_FALSE=
247066fe65f6Smrgfi
247166fe65f6Smrg
247266fe65f6Smrg  MAINT=$MAINTAINER_MODE_TRUE
247366fe65f6Smrg
247466fe65f6Smrg
247566fe65f6Smrg
247689d09728Smrg# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
247789d09728Smrg
247889d09728Smrg
247989d09728Smrg	XORG_MACROS_needed_version=1.2
248089d09728Smrg	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
248189d09728Smrg	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
248289d09728Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
248389d09728Smrg$as_echo_n "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... " >&6; }
248489d09728Smrg	XORG_MACROS_version=1.2.1
248589d09728Smrg	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
248689d09728Smrg	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
248789d09728Smrg	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
248889d09728Smrg		as_fn_error "configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" "$LINENO" 5
248989d09728Smrg	fi
249089d09728Smrg	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
249189d09728Smrg		as_fn_error "configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" "$LINENO" 5
249289d09728Smrg	fi
249389d09728Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, $XORG_MACROS_version" >&5
249489d09728Smrg$as_echo "yes, $XORG_MACROS_version" >&6; }
249589d09728Smrg
249689d09728Smrgac_config_headers="$ac_config_headers config.h"
249789d09728Smrg
249889d09728SmrgDEPDIR="${am__leading_dot}deps"
249989d09728Smrg
250089d09728Smrgac_config_commands="$ac_config_commands depfiles"
250189d09728Smrg
250289d09728Smrg
250389d09728Smrgam_make=${MAKE-make}
250489d09728Smrgcat > confinc << 'END'
250589d09728Smrgam__doit:
250689d09728Smrg	@echo done
250789d09728Smrg.PHONY: am__doit
250889d09728SmrgEND
250989d09728Smrg# If we don't find an include directive, just comment out the code.
251089d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
251189d09728Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
251289d09728Smrgam__include="#"
251389d09728Smrgam__quote=
251489d09728Smrg_am_result=none
251589d09728Smrg# First try GNU make style include.
251689d09728Smrgecho "include confinc" > confmf
251789d09728Smrg# We grep out `Entering directory' and `Leaving directory'
251889d09728Smrg# messages which can occur if `w' ends up in MAKEFLAGS.
251989d09728Smrg# In particular we don't look at `^make:' because GNU make might
252089d09728Smrg# be invoked under some other name (usually "gmake"), in which
252189d09728Smrg# case it prints its new name instead of `make'.
252289d09728Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
252389d09728Smrg   am__include=include
252489d09728Smrg   am__quote=
252589d09728Smrg   _am_result=GNU
252689d09728Smrgfi
252789d09728Smrg# Now try BSD make style include.
252889d09728Smrgif test "$am__include" = "#"; then
252989d09728Smrg   echo '.include "confinc"' > confmf
253089d09728Smrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
253189d09728Smrg      am__include=.include
253289d09728Smrg      am__quote="\""
253389d09728Smrg      _am_result=BSD
253489d09728Smrg   fi
253589d09728Smrgfi
253689d09728Smrg
253789d09728Smrg
253889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
253989d09728Smrg$as_echo "$_am_result" >&6; }
254089d09728Smrgrm -f confinc confmf
254189d09728Smrg
254289d09728Smrg# Check whether --enable-dependency-tracking was given.
254389d09728Smrgif test "${enable_dependency_tracking+set}" = set; then :
254489d09728Smrg  enableval=$enable_dependency_tracking;
254589d09728Smrgfi
254689d09728Smrg
254789d09728Smrgif test "x$enable_dependency_tracking" != xno; then
254889d09728Smrg  am_depcomp="$ac_aux_dir/depcomp"
254989d09728Smrg  AMDEPBACKSLASH='\'
255089d09728Smrgfi
255189d09728Smrg if test "x$enable_dependency_tracking" != xno; then
255289d09728Smrg  AMDEP_TRUE=
255389d09728Smrg  AMDEP_FALSE='#'
255489d09728Smrgelse
255589d09728Smrg  AMDEP_TRUE='#'
255689d09728Smrg  AMDEP_FALSE=
255789d09728Smrgfi
255866fe65f6Smrg
255966fe65f6Smrg
256066fe65f6Smrgac_ext=c
256166fe65f6Smrgac_cpp='$CPP $CPPFLAGS'
256266fe65f6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
256366fe65f6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
256466fe65f6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
256566fe65f6Smrgif test -n "$ac_tool_prefix"; then
256666fe65f6Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
256766fe65f6Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
256889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
256989d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
257089d09728Smrgif test "${ac_cv_prog_CC+set}" = set; then :
257189d09728Smrg  $as_echo_n "(cached) " >&6
257266fe65f6Smrgelse
257366fe65f6Smrg  if test -n "$CC"; then
257466fe65f6Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
257566fe65f6Smrgelse
257666fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
257766fe65f6Smrgfor as_dir in $PATH
257866fe65f6Smrgdo
257966fe65f6Smrg  IFS=$as_save_IFS
258066fe65f6Smrg  test -z "$as_dir" && as_dir=.
258189d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
258289d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
258366fe65f6Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
258489d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
258566fe65f6Smrg    break 2
258666fe65f6Smrg  fi
258766fe65f6Smrgdone
258889d09728Smrg  done
258989d09728SmrgIFS=$as_save_IFS
259066fe65f6Smrg
259166fe65f6Smrgfi
259266fe65f6Smrgfi
259366fe65f6SmrgCC=$ac_cv_prog_CC
259466fe65f6Smrgif test -n "$CC"; then
259589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
259689d09728Smrg$as_echo "$CC" >&6; }
259766fe65f6Smrgelse
259889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
259989d09728Smrg$as_echo "no" >&6; }
260066fe65f6Smrgfi
260166fe65f6Smrg
260289d09728Smrg
260366fe65f6Smrgfi
260466fe65f6Smrgif test -z "$ac_cv_prog_CC"; then
260566fe65f6Smrg  ac_ct_CC=$CC
260666fe65f6Smrg  # Extract the first word of "gcc", so it can be a program name with args.
260766fe65f6Smrgset dummy gcc; ac_word=$2
260889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
260989d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
261089d09728Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
261189d09728Smrg  $as_echo_n "(cached) " >&6
261266fe65f6Smrgelse
261366fe65f6Smrg  if test -n "$ac_ct_CC"; then
261466fe65f6Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
261566fe65f6Smrgelse
261666fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
261766fe65f6Smrgfor as_dir in $PATH
261866fe65f6Smrgdo
261966fe65f6Smrg  IFS=$as_save_IFS
262066fe65f6Smrg  test -z "$as_dir" && as_dir=.
262189d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
262289d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
262366fe65f6Smrg    ac_cv_prog_ac_ct_CC="gcc"
262489d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
262566fe65f6Smrg    break 2
262666fe65f6Smrg  fi
262766fe65f6Smrgdone
262889d09728Smrg  done
262989d09728SmrgIFS=$as_save_IFS
263066fe65f6Smrg
263166fe65f6Smrgfi
263266fe65f6Smrgfi
263366fe65f6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
263466fe65f6Smrgif test -n "$ac_ct_CC"; then
263589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
263689d09728Smrg$as_echo "$ac_ct_CC" >&6; }
263766fe65f6Smrgelse
263889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
263989d09728Smrg$as_echo "no" >&6; }
264066fe65f6Smrgfi
264166fe65f6Smrg
264289d09728Smrg  if test "x$ac_ct_CC" = x; then
264389d09728Smrg    CC=""
264489d09728Smrg  else
264589d09728Smrg    case $cross_compiling:$ac_tool_warned in
264689d09728Smrgyes:)
264789d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
264889d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
264989d09728Smrgac_tool_warned=yes ;;
265089d09728Smrgesac
265189d09728Smrg    CC=$ac_ct_CC
265289d09728Smrg  fi
265366fe65f6Smrgelse
265466fe65f6Smrg  CC="$ac_cv_prog_CC"
265566fe65f6Smrgfi
265666fe65f6Smrg
265766fe65f6Smrgif test -z "$CC"; then
265889d09728Smrg          if test -n "$ac_tool_prefix"; then
265989d09728Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
266066fe65f6Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
266189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
266289d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
266389d09728Smrgif test "${ac_cv_prog_CC+set}" = set; then :
266489d09728Smrg  $as_echo_n "(cached) " >&6
266566fe65f6Smrgelse
266666fe65f6Smrg  if test -n "$CC"; then
266766fe65f6Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
266866fe65f6Smrgelse
266966fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
267066fe65f6Smrgfor as_dir in $PATH
267166fe65f6Smrgdo
267266fe65f6Smrg  IFS=$as_save_IFS
267366fe65f6Smrg  test -z "$as_dir" && as_dir=.
267489d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
267589d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
267666fe65f6Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
267789d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
267866fe65f6Smrg    break 2
267966fe65f6Smrg  fi
268066fe65f6Smrgdone
268189d09728Smrg  done
268289d09728SmrgIFS=$as_save_IFS
268366fe65f6Smrg
268466fe65f6Smrgfi
268566fe65f6Smrgfi
268666fe65f6SmrgCC=$ac_cv_prog_CC
268766fe65f6Smrgif test -n "$CC"; then
268889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
268989d09728Smrg$as_echo "$CC" >&6; }
269066fe65f6Smrgelse
269189d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
269289d09728Smrg$as_echo "no" >&6; }
269366fe65f6Smrgfi
269466fe65f6Smrg
269589d09728Smrg
269689d09728Smrg  fi
269766fe65f6Smrgfi
269889d09728Smrgif test -z "$CC"; then
269966fe65f6Smrg  # Extract the first word of "cc", so it can be a program name with args.
270066fe65f6Smrgset dummy cc; ac_word=$2
270189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
270289d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
270389d09728Smrgif test "${ac_cv_prog_CC+set}" = set; then :
270489d09728Smrg  $as_echo_n "(cached) " >&6
270566fe65f6Smrgelse
270689d09728Smrg  if test -n "$CC"; then
270789d09728Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
270866fe65f6Smrgelse
270989d09728Smrg  ac_prog_rejected=no
271066fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
271166fe65f6Smrgfor as_dir in $PATH
271266fe65f6Smrgdo
271366fe65f6Smrg  IFS=$as_save_IFS
271466fe65f6Smrg  test -z "$as_dir" && as_dir=.
271589d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
271689d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
271789d09728Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
271889d09728Smrg       ac_prog_rejected=yes
271989d09728Smrg       continue
272089d09728Smrg     fi
272189d09728Smrg    ac_cv_prog_CC="cc"
272289d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
272366fe65f6Smrg    break 2
272466fe65f6Smrg  fi
272566fe65f6Smrgdone
272689d09728Smrg  done
272789d09728SmrgIFS=$as_save_IFS
272866fe65f6Smrg
272966fe65f6Smrgif test $ac_prog_rejected = yes; then
273066fe65f6Smrg  # We found a bogon in the path, so make sure we never use it.
273166fe65f6Smrg  set dummy $ac_cv_prog_CC
273266fe65f6Smrg  shift
273366fe65f6Smrg  if test $# != 0; then
273466fe65f6Smrg    # We chose a different compiler from the bogus one.
273566fe65f6Smrg    # However, it has the same basename, so the bogon will be chosen
273666fe65f6Smrg    # first if we set CC to just the basename; use the full file name.
273766fe65f6Smrg    shift
273866fe65f6Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
273966fe65f6Smrg  fi
274066fe65f6Smrgfi
274166fe65f6Smrgfi
274266fe65f6Smrgfi
274366fe65f6SmrgCC=$ac_cv_prog_CC
274466fe65f6Smrgif test -n "$CC"; then
274589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
274689d09728Smrg$as_echo "$CC" >&6; }
274766fe65f6Smrgelse
274889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
274989d09728Smrg$as_echo "no" >&6; }
275066fe65f6Smrgfi
275166fe65f6Smrg
275289d09728Smrg
275366fe65f6Smrgfi
275466fe65f6Smrgif test -z "$CC"; then
275566fe65f6Smrg  if test -n "$ac_tool_prefix"; then
275689d09728Smrg  for ac_prog in cl.exe
275766fe65f6Smrg  do
275866fe65f6Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
275966fe65f6Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
276089d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
276189d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
276289d09728Smrgif test "${ac_cv_prog_CC+set}" = set; then :
276389d09728Smrg  $as_echo_n "(cached) " >&6
276466fe65f6Smrgelse
276566fe65f6Smrg  if test -n "$CC"; then
276666fe65f6Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
276766fe65f6Smrgelse
276866fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
276966fe65f6Smrgfor as_dir in $PATH
277066fe65f6Smrgdo
277166fe65f6Smrg  IFS=$as_save_IFS
277266fe65f6Smrg  test -z "$as_dir" && as_dir=.
277389d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
277489d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
277566fe65f6Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
277689d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
277766fe65f6Smrg    break 2
277866fe65f6Smrg  fi
277966fe65f6Smrgdone
278089d09728Smrg  done
278189d09728SmrgIFS=$as_save_IFS
278266fe65f6Smrg
278366fe65f6Smrgfi
278466fe65f6Smrgfi
278566fe65f6SmrgCC=$ac_cv_prog_CC
278666fe65f6Smrgif test -n "$CC"; then
278789d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
278889d09728Smrg$as_echo "$CC" >&6; }
278966fe65f6Smrgelse
279089d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
279189d09728Smrg$as_echo "no" >&6; }
279266fe65f6Smrgfi
279366fe65f6Smrg
279489d09728Smrg
279566fe65f6Smrg    test -n "$CC" && break
279666fe65f6Smrg  done
279766fe65f6Smrgfi
279866fe65f6Smrgif test -z "$CC"; then
279966fe65f6Smrg  ac_ct_CC=$CC
280089d09728Smrg  for ac_prog in cl.exe
280166fe65f6Smrgdo
280266fe65f6Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
280366fe65f6Smrgset dummy $ac_prog; ac_word=$2
280489d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
280589d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
280689d09728Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
280789d09728Smrg  $as_echo_n "(cached) " >&6
280866fe65f6Smrgelse
280966fe65f6Smrg  if test -n "$ac_ct_CC"; then
281066fe65f6Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
281166fe65f6Smrgelse
281266fe65f6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
281366fe65f6Smrgfor as_dir in $PATH
281466fe65f6Smrgdo
281566fe65f6Smrg  IFS=$as_save_IFS
281666fe65f6Smrg  test -z "$as_dir" && as_dir=.
281789d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
281889d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
281966fe65f6Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
282089d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
282166fe65f6Smrg    break 2
282266fe65f6Smrg  fi
282366fe65f6Smrgdone
282489d09728Smrg  done
282589d09728SmrgIFS=$as_save_IFS
282666fe65f6Smrg
282766fe65f6Smrgfi
282866fe65f6Smrgfi
282966fe65f6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
283066fe65f6Smrgif test -n "$ac_ct_CC"; then
283189d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
283289d09728Smrg$as_echo "$ac_ct_CC" >&6; }
283366fe65f6Smrgelse
283489d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
283589d09728Smrg$as_echo "no" >&6; }
283666fe65f6Smrgfi
283766fe65f6Smrg
283889d09728Smrg
283966fe65f6Smrg  test -n "$ac_ct_CC" && break
284066fe65f6Smrgdone
284166fe65f6Smrg
284289d09728Smrg  if test "x$ac_ct_CC" = x; then
284389d09728Smrg    CC=""
284489d09728Smrg  else
284589d09728Smrg    case $cross_compiling:$ac_tool_warned in
284689d09728Smrgyes:)
284789d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
284889d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
284989d09728Smrgac_tool_warned=yes ;;
285089d09728Smrgesac
285189d09728Smrg    CC=$ac_ct_CC
285289d09728Smrg  fi
285366fe65f6Smrgfi
285466fe65f6Smrg
285566fe65f6Smrgfi
285666fe65f6Smrg
285766fe65f6Smrg
285889d09728Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
285989d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
286089d09728Smrgas_fn_error "no acceptable C compiler found in \$PATH
286189d09728SmrgSee \`config.log' for more details." "$LINENO" 5; }
286266fe65f6Smrg
286366fe65f6Smrg# Provide some information about the compiler.
286489d09728Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
286589d09728Smrgset X $ac_compile
286689d09728Smrgac_compiler=$2
286789d09728Smrgfor ac_option in --version -v -V -qversion; do
286889d09728Smrg  { { ac_try="$ac_compiler $ac_option >&5"
286989d09728Smrgcase "(($ac_try" in
287089d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
287189d09728Smrg  *) ac_try_echo=$ac_try;;
287289d09728Smrgesac
287389d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
287489d09728Smrg$as_echo "$ac_try_echo"; } >&5
287589d09728Smrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
287666fe65f6Smrg  ac_status=$?
287789d09728Smrg  if test -s conftest.err; then
287889d09728Smrg    sed '10a\
287989d09728Smrg... rest of stderr output deleted ...
288089d09728Smrg         10q' conftest.err >conftest.er1
288189d09728Smrg    cat conftest.er1 >&5
288289d09728Smrg    rm -f conftest.er1 conftest.err
288389d09728Smrg  fi
288489d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
288589d09728Smrg  test $ac_status = 0; }
288689d09728Smrgdone
288766fe65f6Smrg
288889d09728Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
288966fe65f6Smrg/* end confdefs.h.  */
289089d09728Smrg#include <stdio.h>
289166fe65f6Smrgint
289266fe65f6Smrgmain ()
289366fe65f6Smrg{
289489d09728SmrgFILE *f = fopen ("conftest.out", "w");
289589d09728Smrg return ferror (f) || fclose (f) != 0;
289666fe65f6Smrg
289766fe65f6Smrg  ;
289866fe65f6Smrg  return 0;
289966fe65f6Smrg}
290066fe65f6Smrg_ACEOF
290166fe65f6Smrgac_clean_files_save=$ac_clean_files
290289d09728Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
290366fe65f6Smrg# Try to create an executable without -o first, disregard a.out.
290466fe65f6Smrg# It will help us diagnose broken compilers, and finding out an intuition
290566fe65f6Smrg# of exeext.
290689d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
290789d09728Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
290889d09728Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
290989d09728Smrg
291089d09728Smrg# The possible output files:
291189d09728Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
291289d09728Smrg
291389d09728Smrgac_rmfiles=
291489d09728Smrgfor ac_file in $ac_files
291589d09728Smrgdo
291689d09728Smrg  case $ac_file in
291789d09728Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
291889d09728Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
291989d09728Smrg  esac
292089d09728Smrgdone
292189d09728Smrgrm -f $ac_rmfiles
292289d09728Smrg
292389d09728Smrgif { { ac_try="$ac_link_default"
292489d09728Smrgcase "(($ac_try" in
292589d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
292689d09728Smrg  *) ac_try_echo=$ac_try;;
292789d09728Smrgesac
292889d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
292989d09728Smrg$as_echo "$ac_try_echo"; } >&5
293089d09728Smrg  (eval "$ac_link_default") 2>&5
293166fe65f6Smrg  ac_status=$?
293289d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
293389d09728Smrg  test $ac_status = 0; }; then :
293489d09728Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
293589d09728Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
293689d09728Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
293789d09728Smrg# so that the user can short-circuit this test for compilers unknown to
293889d09728Smrg# Autoconf.
293989d09728Smrgfor ac_file in $ac_files ''
294066fe65f6Smrgdo
294166fe65f6Smrg  test -f "$ac_file" || continue
294266fe65f6Smrg  case $ac_file in
294389d09728Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
294466fe65f6Smrg	;;
294566fe65f6Smrg    [ab].out )
294666fe65f6Smrg	# We found the default executable, but exeext='' is most
294766fe65f6Smrg	# certainly right.
294866fe65f6Smrg	break;;
294966fe65f6Smrg    *.* )
295089d09728Smrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
295189d09728Smrg	then :; else
295289d09728Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
295389d09728Smrg	fi
295489d09728Smrg	# We set ac_cv_exeext here because the later test for it is not
295589d09728Smrg	# safe: cross compilers may not add the suffix if given an `-o'
295689d09728Smrg	# argument, so we may need to know it at that point already.
295789d09728Smrg	# Even if this section looks crufty: it has the advantage of
295889d09728Smrg	# actually working.
295966fe65f6Smrg	break;;
296066fe65f6Smrg    * )
296166fe65f6Smrg	break;;
296266fe65f6Smrg  esac
296366fe65f6Smrgdone
296489d09728Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
296589d09728Smrg
296666fe65f6Smrgelse
296789d09728Smrg  ac_file=''
296889d09728Smrgfi
296989d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
297089d09728Smrg$as_echo "$ac_file" >&6; }
297189d09728Smrgif test -z "$ac_file"; then :
297289d09728Smrg  $as_echo "$as_me: failed program was:" >&5
297366fe65f6Smrgsed 's/^/| /' conftest.$ac_ext >&5
297466fe65f6Smrg
297589d09728Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
297689d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
297789d09728Smrg{ as_fn_set_status 77
297889d09728Smrgas_fn_error "C compiler cannot create executables
297989d09728SmrgSee \`config.log' for more details." "$LINENO" 5; }; }
298066fe65f6Smrgfi
298166fe65f6Smrgac_exeext=$ac_cv_exeext
298266fe65f6Smrg
298389d09728Smrg# Check that the compiler produces executables we can run.  If not, either
298466fe65f6Smrg# the compiler is broken, or we cross compile.
298589d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
298689d09728Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
298766fe65f6Smrg# If not cross compiling, check that we can run a simple program.
298866fe65f6Smrgif test "$cross_compiling" != yes; then
298966fe65f6Smrg  if { ac_try='./$ac_file'
299089d09728Smrg  { { case "(($ac_try" in
299189d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
299289d09728Smrg  *) ac_try_echo=$ac_try;;
299389d09728Smrgesac
299489d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
299589d09728Smrg$as_echo "$ac_try_echo"; } >&5
299689d09728Smrg  (eval "$ac_try") 2>&5
299766fe65f6Smrg  ac_status=$?
299889d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
299989d09728Smrg  test $ac_status = 0; }; }; then
300066fe65f6Smrg    cross_compiling=no
300166fe65f6Smrg  else
300266fe65f6Smrg    if test "$cross_compiling" = maybe; then
300366fe65f6Smrg	cross_compiling=yes
300466fe65f6Smrg    else
300589d09728Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
300689d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
300789d09728Smrgas_fn_error "cannot run C compiled programs.
300866fe65f6SmrgIf you meant to cross compile, use \`--host'.
300989d09728SmrgSee \`config.log' for more details." "$LINENO" 5; }
301066fe65f6Smrg    fi
301166fe65f6Smrg  fi
301266fe65f6Smrgfi
301389d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
301489d09728Smrg$as_echo "yes" >&6; }
301566fe65f6Smrg
301689d09728Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
301766fe65f6Smrgac_clean_files=$ac_clean_files_save
301889d09728Smrg# Check that the compiler produces executables we can run.  If not, either
301966fe65f6Smrg# the compiler is broken, or we cross compile.
302089d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
302189d09728Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
302289d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
302389d09728Smrg$as_echo "$cross_compiling" >&6; }
302489d09728Smrg
302589d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
302689d09728Smrg$as_echo_n "checking for suffix of executables... " >&6; }
302789d09728Smrgif { { ac_try="$ac_link"
302889d09728Smrgcase "(($ac_try" in
302989d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
303089d09728Smrg  *) ac_try_echo=$ac_try;;
303189d09728Smrgesac
303289d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
303389d09728Smrg$as_echo "$ac_try_echo"; } >&5
303489d09728Smrg  (eval "$ac_link") 2>&5
303566fe65f6Smrg  ac_status=$?
303689d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
303789d09728Smrg  test $ac_status = 0; }; then :
303866fe65f6Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
303966fe65f6Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
304066fe65f6Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
304166fe65f6Smrg# `rm'.
304266fe65f6Smrgfor ac_file in conftest.exe conftest conftest.*; do
304366fe65f6Smrg  test -f "$ac_file" || continue
304466fe65f6Smrg  case $ac_file in
304589d09728Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
304666fe65f6Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
304766fe65f6Smrg	  break;;
304866fe65f6Smrg    * ) break;;
304966fe65f6Smrg  esac
305066fe65f6Smrgdone
305166fe65f6Smrgelse
305289d09728Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
305389d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
305489d09728Smrgas_fn_error "cannot compute suffix of executables: cannot compile and link
305589d09728SmrgSee \`config.log' for more details." "$LINENO" 5; }
305666fe65f6Smrgfi
305766fe65f6Smrgrm -f conftest$ac_cv_exeext
305889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
305989d09728Smrg$as_echo "$ac_cv_exeext" >&6; }
306066fe65f6Smrg
306166fe65f6Smrgrm -f conftest.$ac_ext
306266fe65f6SmrgEXEEXT=$ac_cv_exeext
306366fe65f6Smrgac_exeext=$EXEEXT
306489d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
306589d09728Smrg$as_echo_n "checking for suffix of object files... " >&6; }
306689d09728Smrgif test "${ac_cv_objext+set}" = set; then :
306789d09728Smrg  $as_echo_n "(cached) " >&6
306866fe65f6Smrgelse
306989d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
307066fe65f6Smrg/* end confdefs.h.  */
307166fe65f6Smrg
307266fe65f6Smrgint
307366fe65f6Smrgmain ()
307466fe65f6Smrg{
307566fe65f6Smrg
307666fe65f6Smrg  ;
307766fe65f6Smrg  return 0;
307866fe65f6Smrg}
307966fe65f6Smrg_ACEOF
308066fe65f6Smrgrm -f conftest.o conftest.obj
308189d09728Smrgif { { ac_try="$ac_compile"
308289d09728Smrgcase "(($ac_try" in
308389d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
308489d09728Smrg  *) ac_try_echo=$ac_try;;
308589d09728Smrgesac
308689d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
308789d09728Smrg$as_echo "$ac_try_echo"; } >&5
308889d09728Smrg  (eval "$ac_compile") 2>&5
308966fe65f6Smrg  ac_status=$?
309089d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
309189d09728Smrg  test $ac_status = 0; }; then :
309289d09728Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
309389d09728Smrg  test -f "$ac_file" || continue;
309466fe65f6Smrg  case $ac_file in
309589d09728Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
309666fe65f6Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
309766fe65f6Smrg       break;;
309866fe65f6Smrg  esac
309966fe65f6Smrgdone
310066fe65f6Smrgelse
310189d09728Smrg  $as_echo "$as_me: failed program was:" >&5
310266fe65f6Smrgsed 's/^/| /' conftest.$ac_ext >&5
310366fe65f6Smrg
310489d09728Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
310589d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
310689d09728Smrgas_fn_error "cannot compute suffix of object files: cannot compile
310789d09728SmrgSee \`config.log' for more details." "$LINENO" 5; }
310866fe65f6Smrgfi
310966fe65f6Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
311066fe65f6Smrgfi
311189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
311289d09728Smrg$as_echo "$ac_cv_objext" >&6; }
311366fe65f6SmrgOBJEXT=$ac_cv_objext
311466fe65f6Smrgac_objext=$OBJEXT
311589d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
311689d09728Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
311789d09728Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then :
311889d09728Smrg  $as_echo_n "(cached) " >&6
311966fe65f6Smrgelse
312089d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
312166fe65f6Smrg/* end confdefs.h.  */
312266fe65f6Smrg
312366fe65f6Smrgint
312466fe65f6Smrgmain ()
312566fe65f6Smrg{
312666fe65f6Smrg#ifndef __GNUC__
312766fe65f6Smrg       choke me
312866fe65f6Smrg#endif
312966fe65f6Smrg
313066fe65f6Smrg  ;
313166fe65f6Smrg  return 0;
313266fe65f6Smrg}
313366fe65f6Smrg_ACEOF
313489d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
313566fe65f6Smrg  ac_compiler_gnu=yes
313666fe65f6Smrgelse
313789d09728Smrg  ac_compiler_gnu=no
313866fe65f6Smrgfi
313989d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
314066fe65f6Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
314166fe65f6Smrg
314266fe65f6Smrgfi
314389d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
314489d09728Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
314589d09728Smrgif test $ac_compiler_gnu = yes; then
314689d09728Smrg  GCC=yes
314789d09728Smrgelse
314889d09728Smrg  GCC=
314989d09728Smrgfi
315066fe65f6Smrgac_test_CFLAGS=${CFLAGS+set}
315166fe65f6Smrgac_save_CFLAGS=$CFLAGS
315289d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
315389d09728Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
315489d09728Smrgif test "${ac_cv_prog_cc_g+set}" = set; then :
315589d09728Smrg  $as_echo_n "(cached) " >&6
315689d09728Smrgelse
315789d09728Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
315889d09728Smrg   ac_c_werror_flag=yes
315989d09728Smrg   ac_cv_prog_cc_g=no
316089d09728Smrg   CFLAGS="-g"
316189d09728Smrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
316266fe65f6Smrg/* end confdefs.h.  */
316366fe65f6Smrg
316466fe65f6Smrgint
316566fe65f6Smrgmain ()
316666fe65f6Smrg{
316766fe65f6Smrg
316866fe65f6Smrg  ;
316966fe65f6Smrg  return 0;
317066fe65f6Smrg}
317166fe65f6Smrg_ACEOF
317289d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
317366fe65f6Smrg  ac_cv_prog_cc_g=yes
317466fe65f6Smrgelse
317589d09728Smrg  CFLAGS=""
317689d09728Smrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
317789d09728Smrg/* end confdefs.h.  */
317889d09728Smrg
317989d09728Smrgint
318089d09728Smrgmain ()
318189d09728Smrg{
318289d09728Smrg
318389d09728Smrg  ;
318489d09728Smrg  return 0;
318589d09728Smrg}
318689d09728Smrg_ACEOF
318789d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
318866fe65f6Smrg
318989d09728Smrgelse
319089d09728Smrg  ac_c_werror_flag=$ac_save_c_werror_flag
319189d09728Smrg	 CFLAGS="-g"
319289d09728Smrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
319389d09728Smrg/* end confdefs.h.  */
319489d09728Smrg
319589d09728Smrgint
319689d09728Smrgmain ()
319789d09728Smrg{
319889d09728Smrg
319989d09728Smrg  ;
320089d09728Smrg  return 0;
320189d09728Smrg}
320289d09728Smrg_ACEOF
320389d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
320489d09728Smrg  ac_cv_prog_cc_g=yes
320566fe65f6Smrgfi
320689d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
320766fe65f6Smrgfi
320889d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
320989d09728Smrgfi
321089d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
321189d09728Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
321289d09728Smrgfi
321389d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
321489d09728Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
321566fe65f6Smrgif test "$ac_test_CFLAGS" = set; then
321666fe65f6Smrg  CFLAGS=$ac_save_CFLAGS
321766fe65f6Smrgelif test $ac_cv_prog_cc_g = yes; then
321866fe65f6Smrg  if test "$GCC" = yes; then
321966fe65f6Smrg    CFLAGS="-g -O2"
322066fe65f6Smrg  else
322166fe65f6Smrg    CFLAGS="-g"
322266fe65f6Smrg  fi
322366fe65f6Smrgelse
322466fe65f6Smrg  if test "$GCC" = yes; then
322566fe65f6Smrg    CFLAGS="-O2"
322666fe65f6Smrg  else
322766fe65f6Smrg    CFLAGS=
322866fe65f6Smrg  fi
322966fe65f6Smrgfi
323089d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
323189d09728Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
323289d09728Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then :
323389d09728Smrg  $as_echo_n "(cached) " >&6
323466fe65f6Smrgelse
323589d09728Smrg  ac_cv_prog_cc_c89=no
323666fe65f6Smrgac_save_CC=$CC
323789d09728Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
323866fe65f6Smrg/* end confdefs.h.  */
323966fe65f6Smrg#include <stdarg.h>
324066fe65f6Smrg#include <stdio.h>
324166fe65f6Smrg#include <sys/types.h>
324266fe65f6Smrg#include <sys/stat.h>
324366fe65f6Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
324466fe65f6Smrgstruct buf { int x; };
324566fe65f6SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
324666fe65f6Smrgstatic char *e (p, i)
324766fe65f6Smrg     char **p;
324866fe65f6Smrg     int i;
324966fe65f6Smrg{
325066fe65f6Smrg  return p[i];
325166fe65f6Smrg}
325266fe65f6Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
325366fe65f6Smrg{
325466fe65f6Smrg  char *s;
325566fe65f6Smrg  va_list v;
325666fe65f6Smrg  va_start (v,p);
325766fe65f6Smrg  s = g (p, va_arg (v,int));
325866fe65f6Smrg  va_end (v);
325966fe65f6Smrg  return s;
326066fe65f6Smrg}
326166fe65f6Smrg
326266fe65f6Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
326366fe65f6Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
326466fe65f6Smrg   These don't provoke an error unfortunately, instead are silently treated
326589d09728Smrg   as 'x'.  The following induces an error, until -std is added to get
326666fe65f6Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
326766fe65f6Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
326889d09728Smrg   that's true only with -std.  */
326966fe65f6Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
327066fe65f6Smrg
327189d09728Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
327289d09728Smrg   inside strings and character constants.  */
327389d09728Smrg#define FOO(x) 'x'
327489d09728Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
327589d09728Smrg
327666fe65f6Smrgint test (int i, double x);
327766fe65f6Smrgstruct s1 {int (*f) (int a);};
327866fe65f6Smrgstruct s2 {int (*f) (double a);};
327966fe65f6Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
328066fe65f6Smrgint argc;
328166fe65f6Smrgchar **argv;
328266fe65f6Smrgint
328366fe65f6Smrgmain ()
328466fe65f6Smrg{
328566fe65f6Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
328666fe65f6Smrg  ;
328766fe65f6Smrg  return 0;
328866fe65f6Smrg}
328966fe65f6Smrg_ACEOF
329089d09728Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
329189d09728Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
329266fe65f6Smrgdo
329366fe65f6Smrg  CC="$ac_save_CC $ac_arg"
329489d09728Smrg  if ac_fn_c_try_compile "$LINENO"; then :
329589d09728Smrg  ac_cv_prog_cc_c89=$ac_arg
329666fe65f6Smrgfi
329789d09728Smrgrm -f core conftest.err conftest.$ac_objext
329889d09728Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
329966fe65f6Smrgdone
330089d09728Smrgrm -f conftest.$ac_ext
330166fe65f6SmrgCC=$ac_save_CC
330266fe65f6Smrg
330366fe65f6Smrgfi
330489d09728Smrg# AC_CACHE_VAL
330589d09728Smrgcase "x$ac_cv_prog_cc_c89" in
330689d09728Smrg  x)
330789d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
330889d09728Smrg$as_echo "none needed" >&6; } ;;
330989d09728Smrg  xno)
331089d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
331189d09728Smrg$as_echo "unsupported" >&6; } ;;
331266fe65f6Smrg  *)
331389d09728Smrg    CC="$CC $ac_cv_prog_cc_c89"
331489d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
331589d09728Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
331666fe65f6Smrgesac
331789d09728Smrgif test "x$ac_cv_prog_cc_c89" != xno; then :
331866fe65f6Smrg
331966fe65f6Smrgfi
332066fe65f6Smrg
332166fe65f6Smrgac_ext=c
332266fe65f6Smrgac_cpp='$CPP $CPPFLAGS'
332366fe65f6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
332466fe65f6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
332566fe65f6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
332666fe65f6Smrg
332766fe65f6Smrgdepcc="$CC"   am_compiler_list=
332866fe65f6Smrg
332989d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
333089d09728Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
333189d09728Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
333289d09728Smrg  $as_echo_n "(cached) " >&6
333366fe65f6Smrgelse
333466fe65f6Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
333566fe65f6Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
333666fe65f6Smrg  # making bogus files that we don't know about and never remove.  For
333766fe65f6Smrg  # instance it was reported that on HP-UX the gcc test will end up
333866fe65f6Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
333966fe65f6Smrg  # in D'.
334066fe65f6Smrg  mkdir conftest.dir
334166fe65f6Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
334266fe65f6Smrg  # using a relative directory.
334366fe65f6Smrg  cp "$am_depcomp" conftest.dir
334466fe65f6Smrg  cd conftest.dir
334566fe65f6Smrg  # We will build objects and dependencies in a subdirectory because
334666fe65f6Smrg  # it helps to detect inapplicable dependency modes.  For instance
334766fe65f6Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
334866fe65f6Smrg  # side effect of compilation, but ICC will put the dependencies in
334966fe65f6Smrg  # the current directory while Tru64 will put them in the object
335066fe65f6Smrg  # directory.
335166fe65f6Smrg  mkdir sub
335266fe65f6Smrg
335366fe65f6Smrg  am_cv_CC_dependencies_compiler_type=none
335466fe65f6Smrg  if test "$am_compiler_list" = ""; then
335566fe65f6Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
335666fe65f6Smrg  fi
335766fe65f6Smrg  for depmode in $am_compiler_list; do
335866fe65f6Smrg    # Setup a source with many dependencies, because some compilers
335966fe65f6Smrg    # like to wrap large dependency lists on column 80 (with \), and
336066fe65f6Smrg    # we should not choose a depcomp mode which is confused by this.
336166fe65f6Smrg    #
336266fe65f6Smrg    # We need to recreate these files for each test, as the compiler may
336366fe65f6Smrg    # overwrite some of them when testing with obscure command lines.
336466fe65f6Smrg    # This happens at least with the AIX C compiler.
336566fe65f6Smrg    : > sub/conftest.c
336666fe65f6Smrg    for i in 1 2 3 4 5 6; do
336766fe65f6Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
336866fe65f6Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
336966fe65f6Smrg      # Solaris 8's {/usr,}/bin/sh.
337066fe65f6Smrg      touch sub/conftst$i.h
337166fe65f6Smrg    done
337266fe65f6Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
337366fe65f6Smrg
337466fe65f6Smrg    case $depmode in
337566fe65f6Smrg    nosideeffect)
337666fe65f6Smrg      # after this tag, mechanisms are not by side-effect, so they'll
337766fe65f6Smrg      # only be used when explicitly requested
337866fe65f6Smrg      if test "x$enable_dependency_tracking" = xyes; then
337966fe65f6Smrg	continue
338066fe65f6Smrg      else
338166fe65f6Smrg	break
338266fe65f6Smrg      fi
338366fe65f6Smrg      ;;
338466fe65f6Smrg    none) break ;;
338566fe65f6Smrg    esac
338666fe65f6Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
338766fe65f6Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
338866fe65f6Smrg    # handle `-M -o', and we need to detect this.
338966fe65f6Smrg    if depmode=$depmode \
339066fe65f6Smrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
339166fe65f6Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
339266fe65f6Smrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
339366fe65f6Smrg         >/dev/null 2>conftest.err &&
339489d09728Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
339566fe65f6Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
339666fe65f6Smrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
339766fe65f6Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
339866fe65f6Smrg      # icc doesn't choke on unknown options, it will just issue warnings
339966fe65f6Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
340066fe65f6Smrg      # that says an option was ignored or not supported.
340166fe65f6Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
340266fe65f6Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
340366fe65f6Smrg      # The diagnosis changed in icc 8.0:
340466fe65f6Smrg      #   icc: Command line remark: option '-MP' not supported
340566fe65f6Smrg      if (grep 'ignoring option' conftest.err ||
340666fe65f6Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
340766fe65f6Smrg        am_cv_CC_dependencies_compiler_type=$depmode
340866fe65f6Smrg        break
340966fe65f6Smrg      fi
341066fe65f6Smrg    fi
341166fe65f6Smrg  done
341266fe65f6Smrg
341366fe65f6Smrg  cd ..
341466fe65f6Smrg  rm -rf conftest.dir
341566fe65f6Smrgelse
341666fe65f6Smrg  am_cv_CC_dependencies_compiler_type=none
341766fe65f6Smrgfi
341866fe65f6Smrg
341966fe65f6Smrgfi
342089d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
342189d09728Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
342266fe65f6SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
342366fe65f6Smrg
342489d09728Smrg if
342566fe65f6Smrg  test "x$enable_dependency_tracking" != xno \
342666fe65f6Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
342766fe65f6Smrg  am__fastdepCC_TRUE=
342866fe65f6Smrg  am__fastdepCC_FALSE='#'
342966fe65f6Smrgelse
343066fe65f6Smrg  am__fastdepCC_TRUE='#'
343166fe65f6Smrg  am__fastdepCC_FALSE=
343266fe65f6Smrgfi
343366fe65f6Smrg
343466fe65f6Smrg
343589d09728Smrg
343689d09728Smrgac_ext=c
343789d09728Smrgac_cpp='$CPP $CPPFLAGS'
343889d09728Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
343989d09728Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
344089d09728Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
344189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
344289d09728Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
344389d09728Smrg# On Suns, sometimes $CPP names a directory.
344489d09728Smrgif test -n "$CPP" && test -d "$CPP"; then
344589d09728Smrg  CPP=
344689d09728Smrgfi
344789d09728Smrgif test -z "$CPP"; then
344889d09728Smrg  if test "${ac_cv_prog_CPP+set}" = set; then :
344989d09728Smrg  $as_echo_n "(cached) " >&6
345066fe65f6Smrgelse
345189d09728Smrg      # Double quotes because CPP needs to be expanded
345289d09728Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
345389d09728Smrg    do
345489d09728Smrg      ac_preproc_ok=false
345589d09728Smrgfor ac_c_preproc_warn_flag in '' yes
345666fe65f6Smrgdo
345789d09728Smrg  # Use a header file that comes with gcc, so configuring glibc
345889d09728Smrg  # with a fresh cross-compiler works.
345989d09728Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
346089d09728Smrg  # <limits.h> exists even on freestanding compilers.
346189d09728Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
346289d09728Smrg  # not just through cpp. "Syntax error" is here to catch this case.
346389d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
346489d09728Smrg/* end confdefs.h.  */
346589d09728Smrg#ifdef __STDC__
346689d09728Smrg# include <limits.h>
346789d09728Smrg#else
346889d09728Smrg# include <assert.h>
346989d09728Smrg#endif
347089d09728Smrg		     Syntax error
347189d09728Smrg_ACEOF
347289d09728Smrgif ac_fn_c_try_cpp "$LINENO"; then :
347389d09728Smrg
347489d09728Smrgelse
347589d09728Smrg  # Broken: fails on valid input.
347689d09728Smrgcontinue
347789d09728Smrgfi
347889d09728Smrgrm -f conftest.err conftest.$ac_ext
347989d09728Smrg
348089d09728Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
348189d09728Smrg  # can be detected and how.
348289d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
348389d09728Smrg/* end confdefs.h.  */
348489d09728Smrg#include <ac_nonexistent.h>
348589d09728Smrg_ACEOF
348689d09728Smrgif ac_fn_c_try_cpp "$LINENO"; then :
348789d09728Smrg  # Broken: success on invalid input.
348889d09728Smrgcontinue
348989d09728Smrgelse
349089d09728Smrg  # Passes both tests.
349189d09728Smrgac_preproc_ok=:
349289d09728Smrgbreak
349389d09728Smrgfi
349489d09728Smrgrm -f conftest.err conftest.$ac_ext
349589d09728Smrg
349689d09728Smrgdone
349789d09728Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
349889d09728Smrgrm -f conftest.err conftest.$ac_ext
349989d09728Smrgif $ac_preproc_ok; then :
350089d09728Smrg  break
350189d09728Smrgfi
350289d09728Smrg
350389d09728Smrg    done
350489d09728Smrg    ac_cv_prog_CPP=$CPP
350589d09728Smrg
350689d09728Smrgfi
350789d09728Smrg  CPP=$ac_cv_prog_CPP
350889d09728Smrgelse
350989d09728Smrg  ac_cv_prog_CPP=$CPP
351089d09728Smrgfi
351189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
351289d09728Smrg$as_echo "$CPP" >&6; }
351389d09728Smrgac_preproc_ok=false
351489d09728Smrgfor ac_c_preproc_warn_flag in '' yes
351589d09728Smrgdo
351689d09728Smrg  # Use a header file that comes with gcc, so configuring glibc
351789d09728Smrg  # with a fresh cross-compiler works.
351889d09728Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
351989d09728Smrg  # <limits.h> exists even on freestanding compilers.
352089d09728Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
352189d09728Smrg  # not just through cpp. "Syntax error" is here to catch this case.
352289d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
352389d09728Smrg/* end confdefs.h.  */
352489d09728Smrg#ifdef __STDC__
352589d09728Smrg# include <limits.h>
352689d09728Smrg#else
352789d09728Smrg# include <assert.h>
352889d09728Smrg#endif
352989d09728Smrg		     Syntax error
353089d09728Smrg_ACEOF
353189d09728Smrgif ac_fn_c_try_cpp "$LINENO"; then :
353289d09728Smrg
353389d09728Smrgelse
353489d09728Smrg  # Broken: fails on valid input.
353589d09728Smrgcontinue
353689d09728Smrgfi
353789d09728Smrgrm -f conftest.err conftest.$ac_ext
353889d09728Smrg
353989d09728Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
354089d09728Smrg  # can be detected and how.
354189d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
354289d09728Smrg/* end confdefs.h.  */
354389d09728Smrg#include <ac_nonexistent.h>
354489d09728Smrg_ACEOF
354589d09728Smrgif ac_fn_c_try_cpp "$LINENO"; then :
354689d09728Smrg  # Broken: success on invalid input.
354789d09728Smrgcontinue
354889d09728Smrgelse
354989d09728Smrg  # Passes both tests.
355089d09728Smrgac_preproc_ok=:
355189d09728Smrgbreak
355289d09728Smrgfi
355389d09728Smrgrm -f conftest.err conftest.$ac_ext
355489d09728Smrg
355589d09728Smrgdone
355689d09728Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
355789d09728Smrgrm -f conftest.err conftest.$ac_ext
355889d09728Smrgif $ac_preproc_ok; then :
355989d09728Smrg
356089d09728Smrgelse
356189d09728Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
356289d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
356389d09728Smrgas_fn_error "C preprocessor \"$CPP\" fails sanity check
356489d09728SmrgSee \`config.log' for more details." "$LINENO" 5; }
356589d09728Smrgfi
356689d09728Smrg
356789d09728Smrgac_ext=c
356889d09728Smrgac_cpp='$CPP $CPPFLAGS'
356989d09728Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
357089d09728Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
357189d09728Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
357289d09728Smrg
357389d09728Smrg
357489d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
357589d09728Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
357689d09728Smrgif test "${ac_cv_path_GREP+set}" = set; then :
357789d09728Smrg  $as_echo_n "(cached) " >&6
357889d09728Smrgelse
357989d09728Smrg  if test -z "$GREP"; then
358089d09728Smrg  ac_path_GREP_found=false
358189d09728Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
358289d09728Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
358389d09728Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
358489d09728Smrgdo
358589d09728Smrg  IFS=$as_save_IFS
358689d09728Smrg  test -z "$as_dir" && as_dir=.
358789d09728Smrg    for ac_prog in grep ggrep; do
358889d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
358989d09728Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
359089d09728Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
359189d09728Smrg# Check for GNU ac_path_GREP and select it if it is found.
359289d09728Smrg  # Check for GNU $ac_path_GREP
359389d09728Smrgcase `"$ac_path_GREP" --version 2>&1` in
359489d09728Smrg*GNU*)
359589d09728Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
359689d09728Smrg*)
359789d09728Smrg  ac_count=0
359889d09728Smrg  $as_echo_n 0123456789 >"conftest.in"
359989d09728Smrg  while :
360089d09728Smrg  do
360189d09728Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
360289d09728Smrg    mv "conftest.tmp" "conftest.in"
360389d09728Smrg    cp "conftest.in" "conftest.nl"
360489d09728Smrg    $as_echo 'GREP' >> "conftest.nl"
360589d09728Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
360689d09728Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
360789d09728Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
360889d09728Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
360989d09728Smrg      # Best one so far, save it but keep looking for a better one
361089d09728Smrg      ac_cv_path_GREP="$ac_path_GREP"
361189d09728Smrg      ac_path_GREP_max=$ac_count
361289d09728Smrg    fi
361389d09728Smrg    # 10*(2^10) chars as input seems more than enough
361489d09728Smrg    test $ac_count -gt 10 && break
361589d09728Smrg  done
361689d09728Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
361789d09728Smrgesac
361889d09728Smrg
361989d09728Smrg      $ac_path_GREP_found && break 3
362089d09728Smrg    done
362189d09728Smrg  done
362289d09728Smrg  done
362389d09728SmrgIFS=$as_save_IFS
362489d09728Smrg  if test -z "$ac_cv_path_GREP"; then
362589d09728Smrg    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
362689d09728Smrg  fi
362789d09728Smrgelse
362889d09728Smrg  ac_cv_path_GREP=$GREP
362989d09728Smrgfi
363089d09728Smrg
363189d09728Smrgfi
363289d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
363389d09728Smrg$as_echo "$ac_cv_path_GREP" >&6; }
363489d09728Smrg GREP="$ac_cv_path_GREP"
363589d09728Smrg
363689d09728Smrg
363789d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
363889d09728Smrg$as_echo_n "checking for egrep... " >&6; }
363989d09728Smrgif test "${ac_cv_path_EGREP+set}" = set; then :
364089d09728Smrg  $as_echo_n "(cached) " >&6
364189d09728Smrgelse
364289d09728Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
364389d09728Smrg   then ac_cv_path_EGREP="$GREP -E"
364489d09728Smrg   else
364589d09728Smrg     if test -z "$EGREP"; then
364689d09728Smrg  ac_path_EGREP_found=false
364789d09728Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
364889d09728Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
364989d09728Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
365089d09728Smrgdo
365189d09728Smrg  IFS=$as_save_IFS
365289d09728Smrg  test -z "$as_dir" && as_dir=.
365389d09728Smrg    for ac_prog in egrep; do
365489d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
365589d09728Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
365689d09728Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
365789d09728Smrg# Check for GNU ac_path_EGREP and select it if it is found.
365889d09728Smrg  # Check for GNU $ac_path_EGREP
365989d09728Smrgcase `"$ac_path_EGREP" --version 2>&1` in
366089d09728Smrg*GNU*)
366189d09728Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
366289d09728Smrg*)
366389d09728Smrg  ac_count=0
366489d09728Smrg  $as_echo_n 0123456789 >"conftest.in"
366589d09728Smrg  while :
366689d09728Smrg  do
366789d09728Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
366889d09728Smrg    mv "conftest.tmp" "conftest.in"
366989d09728Smrg    cp "conftest.in" "conftest.nl"
367089d09728Smrg    $as_echo 'EGREP' >> "conftest.nl"
367189d09728Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
367289d09728Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
367389d09728Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
367489d09728Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
367589d09728Smrg      # Best one so far, save it but keep looking for a better one
367689d09728Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
367789d09728Smrg      ac_path_EGREP_max=$ac_count
367889d09728Smrg    fi
367989d09728Smrg    # 10*(2^10) chars as input seems more than enough
368089d09728Smrg    test $ac_count -gt 10 && break
368189d09728Smrg  done
368289d09728Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
368389d09728Smrgesac
368489d09728Smrg
368589d09728Smrg      $ac_path_EGREP_found && break 3
368689d09728Smrg    done
368789d09728Smrg  done
368889d09728Smrg  done
368989d09728SmrgIFS=$as_save_IFS
369089d09728Smrg  if test -z "$ac_cv_path_EGREP"; then
369189d09728Smrg    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
369289d09728Smrg  fi
369389d09728Smrgelse
369489d09728Smrg  ac_cv_path_EGREP=$EGREP
369589d09728Smrgfi
369689d09728Smrg
369789d09728Smrg   fi
369889d09728Smrgfi
369989d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
370089d09728Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
370189d09728Smrg EGREP="$ac_cv_path_EGREP"
370289d09728Smrg
370389d09728Smrg
370489d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
370589d09728Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
370689d09728Smrgif test "${ac_cv_header_stdc+set}" = set; then :
370789d09728Smrg  $as_echo_n "(cached) " >&6
370889d09728Smrgelse
370989d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
371089d09728Smrg/* end confdefs.h.  */
371189d09728Smrg#include <stdlib.h>
371289d09728Smrg#include <stdarg.h>
371389d09728Smrg#include <string.h>
371489d09728Smrg#include <float.h>
371589d09728Smrg
371689d09728Smrgint
371789d09728Smrgmain ()
371889d09728Smrg{
371989d09728Smrg
372089d09728Smrg  ;
372189d09728Smrg  return 0;
372289d09728Smrg}
372389d09728Smrg_ACEOF
372489d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
372589d09728Smrg  ac_cv_header_stdc=yes
372689d09728Smrgelse
372789d09728Smrg  ac_cv_header_stdc=no
372889d09728Smrgfi
372989d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
373089d09728Smrg
373189d09728Smrgif test $ac_cv_header_stdc = yes; then
373289d09728Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
373389d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
373489d09728Smrg/* end confdefs.h.  */
373589d09728Smrg#include <string.h>
373689d09728Smrg
373789d09728Smrg_ACEOF
373889d09728Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
373989d09728Smrg  $EGREP "memchr" >/dev/null 2>&1; then :
374089d09728Smrg
374189d09728Smrgelse
374289d09728Smrg  ac_cv_header_stdc=no
374389d09728Smrgfi
374489d09728Smrgrm -f conftest*
374589d09728Smrg
374689d09728Smrgfi
374789d09728Smrg
374889d09728Smrgif test $ac_cv_header_stdc = yes; then
374989d09728Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
375089d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
375189d09728Smrg/* end confdefs.h.  */
375289d09728Smrg#include <stdlib.h>
375389d09728Smrg
375489d09728Smrg_ACEOF
375589d09728Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
375689d09728Smrg  $EGREP "free" >/dev/null 2>&1; then :
375789d09728Smrg
375889d09728Smrgelse
375989d09728Smrg  ac_cv_header_stdc=no
376089d09728Smrgfi
376189d09728Smrgrm -f conftest*
376289d09728Smrg
376389d09728Smrgfi
376489d09728Smrg
376589d09728Smrgif test $ac_cv_header_stdc = yes; then
376689d09728Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
376789d09728Smrg  if test "$cross_compiling" = yes; then :
376889d09728Smrg  :
376989d09728Smrgelse
377089d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
377189d09728Smrg/* end confdefs.h.  */
377289d09728Smrg#include <ctype.h>
377389d09728Smrg#include <stdlib.h>
377489d09728Smrg#if ((' ' & 0x0FF) == 0x020)
377589d09728Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
377689d09728Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
377789d09728Smrg#else
377889d09728Smrg# define ISLOWER(c) \
377989d09728Smrg		   (('a' <= (c) && (c) <= 'i') \
378089d09728Smrg		     || ('j' <= (c) && (c) <= 'r') \
378189d09728Smrg		     || ('s' <= (c) && (c) <= 'z'))
378289d09728Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
378389d09728Smrg#endif
378489d09728Smrg
378589d09728Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
378689d09728Smrgint
378789d09728Smrgmain ()
378889d09728Smrg{
378989d09728Smrg  int i;
379089d09728Smrg  for (i = 0; i < 256; i++)
379189d09728Smrg    if (XOR (islower (i), ISLOWER (i))
379289d09728Smrg	|| toupper (i) != TOUPPER (i))
379389d09728Smrg      return 2;
379489d09728Smrg  return 0;
379589d09728Smrg}
379689d09728Smrg_ACEOF
379789d09728Smrgif ac_fn_c_try_run "$LINENO"; then :
379889d09728Smrg
379989d09728Smrgelse
380089d09728Smrg  ac_cv_header_stdc=no
380189d09728Smrgfi
380289d09728Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
380389d09728Smrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
380489d09728Smrgfi
380589d09728Smrg
380689d09728Smrgfi
380789d09728Smrgfi
380889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
380989d09728Smrg$as_echo "$ac_cv_header_stdc" >&6; }
381089d09728Smrgif test $ac_cv_header_stdc = yes; then
381189d09728Smrg
381289d09728Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
381389d09728Smrg
381489d09728Smrgfi
381589d09728Smrg
381689d09728Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
381789d09728Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
381889d09728Smrg		  inttypes.h stdint.h unistd.h
381989d09728Smrgdo :
382089d09728Smrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
382189d09728Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
382289d09728Smrg"
382389d09728Smrgeval as_val=\$$as_ac_Header
382489d09728Smrg   if test "x$as_val" = x""yes; then :
382589d09728Smrg  cat >>confdefs.h <<_ACEOF
382689d09728Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
382789d09728Smrg_ACEOF
382889d09728Smrg
382989d09728Smrgfi
383089d09728Smrg
383189d09728Smrgdone
383289d09728Smrg
383389d09728Smrg
383489d09728Smrg
383589d09728Smrg
383689d09728Smrgif  test "x$GCC" = xyes ; then
383789d09728Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
383889d09728Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
383989d09728Smrg-Wbad-function-cast"
384089d09728Smrg    case `gcc -dumpversion` in
384189d09728Smrg    3.4.* | 4.*)
384289d09728Smrg	CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement"
384389d09728Smrg	;;
384489d09728Smrg    esac
384589d09728Smrgelse
384689d09728Smrg    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
384789d09728Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
384889d09728Smrg  SUNCC="yes"
384989d09728Smrgelse
385089d09728Smrg  SUNCC="no"
385189d09728Smrgfi
385289d09728Smrg
385389d09728Smrg    if test "x$SUNCC" = "xyes"; then
385489d09728Smrg	CWARNFLAGS="-v"
385589d09728Smrg    fi
385689d09728Smrgfi
385789d09728Smrg
385889d09728Smrg
385989d09728Smrg
386089d09728Smrgac_ext=c
386189d09728Smrgac_cpp='$CPP $CPPFLAGS'
386289d09728Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
386389d09728Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
386489d09728Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
386589d09728Smrgif test -n "$ac_tool_prefix"; then
386689d09728Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
386789d09728Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
386889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
386989d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
387089d09728Smrgif test "${ac_cv_prog_CC+set}" = set; then :
387189d09728Smrg  $as_echo_n "(cached) " >&6
387289d09728Smrgelse
387389d09728Smrg  if test -n "$CC"; then
387489d09728Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
387589d09728Smrgelse
387689d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
387789d09728Smrgfor as_dir in $PATH
387889d09728Smrgdo
387989d09728Smrg  IFS=$as_save_IFS
388089d09728Smrg  test -z "$as_dir" && as_dir=.
388189d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
388289d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
388389d09728Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
388489d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
388589d09728Smrg    break 2
388689d09728Smrg  fi
388789d09728Smrgdone
388889d09728Smrg  done
388989d09728SmrgIFS=$as_save_IFS
389089d09728Smrg
389189d09728Smrgfi
389289d09728Smrgfi
389389d09728SmrgCC=$ac_cv_prog_CC
389489d09728Smrgif test -n "$CC"; then
389589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
389689d09728Smrg$as_echo "$CC" >&6; }
389789d09728Smrgelse
389889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
389989d09728Smrg$as_echo "no" >&6; }
390089d09728Smrgfi
390189d09728Smrg
390289d09728Smrg
390389d09728Smrgfi
390489d09728Smrgif test -z "$ac_cv_prog_CC"; then
390589d09728Smrg  ac_ct_CC=$CC
390689d09728Smrg  # Extract the first word of "gcc", so it can be a program name with args.
390789d09728Smrgset dummy gcc; ac_word=$2
390889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
390989d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
391089d09728Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
391189d09728Smrg  $as_echo_n "(cached) " >&6
391289d09728Smrgelse
391389d09728Smrg  if test -n "$ac_ct_CC"; then
391489d09728Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
391589d09728Smrgelse
391689d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
391789d09728Smrgfor as_dir in $PATH
391889d09728Smrgdo
391989d09728Smrg  IFS=$as_save_IFS
392089d09728Smrg  test -z "$as_dir" && as_dir=.
392189d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
392289d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
392389d09728Smrg    ac_cv_prog_ac_ct_CC="gcc"
392489d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
392589d09728Smrg    break 2
392689d09728Smrg  fi
392789d09728Smrgdone
392889d09728Smrg  done
392989d09728SmrgIFS=$as_save_IFS
393089d09728Smrg
393189d09728Smrgfi
393289d09728Smrgfi
393389d09728Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
393489d09728Smrgif test -n "$ac_ct_CC"; then
393589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
393689d09728Smrg$as_echo "$ac_ct_CC" >&6; }
393789d09728Smrgelse
393889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
393989d09728Smrg$as_echo "no" >&6; }
394089d09728Smrgfi
394189d09728Smrg
394289d09728Smrg  if test "x$ac_ct_CC" = x; then
394389d09728Smrg    CC=""
394489d09728Smrg  else
394589d09728Smrg    case $cross_compiling:$ac_tool_warned in
394689d09728Smrgyes:)
394789d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
394889d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
394989d09728Smrgac_tool_warned=yes ;;
395089d09728Smrgesac
395189d09728Smrg    CC=$ac_ct_CC
395289d09728Smrg  fi
395389d09728Smrgelse
395489d09728Smrg  CC="$ac_cv_prog_CC"
395589d09728Smrgfi
395689d09728Smrg
395789d09728Smrgif test -z "$CC"; then
395889d09728Smrg          if test -n "$ac_tool_prefix"; then
395989d09728Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
396089d09728Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
396189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
396289d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
396389d09728Smrgif test "${ac_cv_prog_CC+set}" = set; then :
396489d09728Smrg  $as_echo_n "(cached) " >&6
396589d09728Smrgelse
396689d09728Smrg  if test -n "$CC"; then
396789d09728Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
396889d09728Smrgelse
396989d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
397089d09728Smrgfor as_dir in $PATH
397189d09728Smrgdo
397289d09728Smrg  IFS=$as_save_IFS
397389d09728Smrg  test -z "$as_dir" && as_dir=.
397489d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
397589d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
397689d09728Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
397789d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
397889d09728Smrg    break 2
397989d09728Smrg  fi
398089d09728Smrgdone
398189d09728Smrg  done
398289d09728SmrgIFS=$as_save_IFS
398389d09728Smrg
398489d09728Smrgfi
398589d09728Smrgfi
398689d09728SmrgCC=$ac_cv_prog_CC
398789d09728Smrgif test -n "$CC"; then
398889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
398989d09728Smrg$as_echo "$CC" >&6; }
399089d09728Smrgelse
399189d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
399289d09728Smrg$as_echo "no" >&6; }
399389d09728Smrgfi
399489d09728Smrg
399589d09728Smrg
399689d09728Smrg  fi
399789d09728Smrgfi
399889d09728Smrgif test -z "$CC"; then
399989d09728Smrg  # Extract the first word of "cc", so it can be a program name with args.
400089d09728Smrgset dummy cc; ac_word=$2
400189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
400289d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
400389d09728Smrgif test "${ac_cv_prog_CC+set}" = set; then :
400489d09728Smrg  $as_echo_n "(cached) " >&6
400589d09728Smrgelse
400689d09728Smrg  if test -n "$CC"; then
400789d09728Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
400889d09728Smrgelse
400989d09728Smrg  ac_prog_rejected=no
401089d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
401189d09728Smrgfor as_dir in $PATH
401289d09728Smrgdo
401389d09728Smrg  IFS=$as_save_IFS
401489d09728Smrg  test -z "$as_dir" && as_dir=.
401589d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
401689d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
401789d09728Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
401889d09728Smrg       ac_prog_rejected=yes
401989d09728Smrg       continue
402089d09728Smrg     fi
402189d09728Smrg    ac_cv_prog_CC="cc"
402289d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
402389d09728Smrg    break 2
402489d09728Smrg  fi
402589d09728Smrgdone
402689d09728Smrg  done
402789d09728SmrgIFS=$as_save_IFS
402889d09728Smrg
402989d09728Smrgif test $ac_prog_rejected = yes; then
403089d09728Smrg  # We found a bogon in the path, so make sure we never use it.
403189d09728Smrg  set dummy $ac_cv_prog_CC
403289d09728Smrg  shift
403389d09728Smrg  if test $# != 0; then
403489d09728Smrg    # We chose a different compiler from the bogus one.
403589d09728Smrg    # However, it has the same basename, so the bogon will be chosen
403689d09728Smrg    # first if we set CC to just the basename; use the full file name.
403789d09728Smrg    shift
403889d09728Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
403989d09728Smrg  fi
404089d09728Smrgfi
404189d09728Smrgfi
404289d09728Smrgfi
404389d09728SmrgCC=$ac_cv_prog_CC
404489d09728Smrgif test -n "$CC"; then
404589d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
404689d09728Smrg$as_echo "$CC" >&6; }
404789d09728Smrgelse
404889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
404989d09728Smrg$as_echo "no" >&6; }
405089d09728Smrgfi
405189d09728Smrg
405289d09728Smrg
405389d09728Smrgfi
405489d09728Smrgif test -z "$CC"; then
405589d09728Smrg  if test -n "$ac_tool_prefix"; then
405689d09728Smrg  for ac_prog in cl.exe
405789d09728Smrg  do
405889d09728Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
405989d09728Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
406089d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
406189d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
406289d09728Smrgif test "${ac_cv_prog_CC+set}" = set; then :
406389d09728Smrg  $as_echo_n "(cached) " >&6
406489d09728Smrgelse
406589d09728Smrg  if test -n "$CC"; then
406689d09728Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
406789d09728Smrgelse
406889d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
406989d09728Smrgfor as_dir in $PATH
407089d09728Smrgdo
407189d09728Smrg  IFS=$as_save_IFS
407289d09728Smrg  test -z "$as_dir" && as_dir=.
407389d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
407489d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
407589d09728Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
407689d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
407789d09728Smrg    break 2
407889d09728Smrg  fi
407989d09728Smrgdone
408089d09728Smrg  done
408189d09728SmrgIFS=$as_save_IFS
408289d09728Smrg
408389d09728Smrgfi
408489d09728Smrgfi
408589d09728SmrgCC=$ac_cv_prog_CC
408689d09728Smrgif test -n "$CC"; then
408789d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
408889d09728Smrg$as_echo "$CC" >&6; }
408989d09728Smrgelse
409089d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
409189d09728Smrg$as_echo "no" >&6; }
409289d09728Smrgfi
409389d09728Smrg
409489d09728Smrg
409589d09728Smrg    test -n "$CC" && break
409689d09728Smrg  done
409789d09728Smrgfi
409889d09728Smrgif test -z "$CC"; then
409989d09728Smrg  ac_ct_CC=$CC
410089d09728Smrg  for ac_prog in cl.exe
410189d09728Smrgdo
410289d09728Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
410389d09728Smrgset dummy $ac_prog; ac_word=$2
410489d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
410589d09728Smrg$as_echo_n "checking for $ac_word... " >&6; }
410689d09728Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
410789d09728Smrg  $as_echo_n "(cached) " >&6
410889d09728Smrgelse
410989d09728Smrg  if test -n "$ac_ct_CC"; then
411089d09728Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
411189d09728Smrgelse
411289d09728Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
411389d09728Smrgfor as_dir in $PATH
411489d09728Smrgdo
411589d09728Smrg  IFS=$as_save_IFS
411689d09728Smrg  test -z "$as_dir" && as_dir=.
411789d09728Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
411889d09728Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
411989d09728Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
412089d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
412189d09728Smrg    break 2
412289d09728Smrg  fi
412389d09728Smrgdone
412489d09728Smrg  done
412589d09728SmrgIFS=$as_save_IFS
412689d09728Smrg
412789d09728Smrgfi
412889d09728Smrgfi
412989d09728Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
413089d09728Smrgif test -n "$ac_ct_CC"; then
413189d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
413289d09728Smrg$as_echo "$ac_ct_CC" >&6; }
413389d09728Smrgelse
413489d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
413589d09728Smrg$as_echo "no" >&6; }
413689d09728Smrgfi
413789d09728Smrg
413889d09728Smrg
413989d09728Smrg  test -n "$ac_ct_CC" && break
414089d09728Smrgdone
414189d09728Smrg
414289d09728Smrg  if test "x$ac_ct_CC" = x; then
414389d09728Smrg    CC=""
414489d09728Smrg  else
414589d09728Smrg    case $cross_compiling:$ac_tool_warned in
414689d09728Smrgyes:)
414789d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
414889d09728Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
414989d09728Smrgac_tool_warned=yes ;;
415089d09728Smrgesac
415189d09728Smrg    CC=$ac_ct_CC
415289d09728Smrg  fi
415389d09728Smrgfi
415489d09728Smrg
415589d09728Smrgfi
415689d09728Smrg
415789d09728Smrg
415889d09728Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
415989d09728Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
416089d09728Smrgas_fn_error "no acceptable C compiler found in \$PATH
416189d09728SmrgSee \`config.log' for more details." "$LINENO" 5; }
416289d09728Smrg
416389d09728Smrg# Provide some information about the compiler.
416489d09728Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
416589d09728Smrgset X $ac_compile
416689d09728Smrgac_compiler=$2
416789d09728Smrgfor ac_option in --version -v -V -qversion; do
416889d09728Smrg  { { ac_try="$ac_compiler $ac_option >&5"
416989d09728Smrgcase "(($ac_try" in
417089d09728Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
417189d09728Smrg  *) ac_try_echo=$ac_try;;
417289d09728Smrgesac
417389d09728Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
417489d09728Smrg$as_echo "$ac_try_echo"; } >&5
417589d09728Smrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
417689d09728Smrg  ac_status=$?
417789d09728Smrg  if test -s conftest.err; then
417889d09728Smrg    sed '10a\
417989d09728Smrg... rest of stderr output deleted ...
418089d09728Smrg         10q' conftest.err >conftest.er1
418189d09728Smrg    cat conftest.er1 >&5
418289d09728Smrg    rm -f conftest.er1 conftest.err
418389d09728Smrg  fi
418489d09728Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
418589d09728Smrg  test $ac_status = 0; }
418689d09728Smrgdone
418789d09728Smrg
418889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
418989d09728Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
419089d09728Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then :
419189d09728Smrg  $as_echo_n "(cached) " >&6
419289d09728Smrgelse
419389d09728Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
419489d09728Smrg/* end confdefs.h.  */
419589d09728Smrg
419689d09728Smrgint
419789d09728Smrgmain ()
419889d09728Smrg{
419989d09728Smrg#ifndef __GNUC__
420089d09728Smrg       choke me
420189d09728Smrg#endif
420289d09728Smrg
420389d09728Smrg  ;
420489d09728Smrg  return 0;
420589d09728Smrg}
420689d09728Smrg_ACEOF
420789d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
420889d09728Smrg  ac_compiler_gnu=yes
420989d09728Smrgelse
421089d09728Smrg  ac_compiler_gnu=no
421189d09728Smrgfi
421289d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
421389d09728Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
421489d09728Smrg
421589d09728Smrgfi
421689d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
421789d09728Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
421889d09728Smrgif test $ac_compiler_gnu = yes; then
421989d09728Smrg  GCC=yes
422089d09728Smrgelse
422189d09728Smrg  GCC=
422289d09728Smrgfi
422389d09728Smrgac_test_CFLAGS=${CFLAGS+set}
422489d09728Smrgac_save_CFLAGS=$CFLAGS
422589d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
422689d09728Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
422789d09728Smrgif test "${ac_cv_prog_cc_g+set}" = set; then :
422889d09728Smrg  $as_echo_n "(cached) " >&6
422989d09728Smrgelse
423089d09728Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
423189d09728Smrg   ac_c_werror_flag=yes
423289d09728Smrg   ac_cv_prog_cc_g=no
423389d09728Smrg   CFLAGS="-g"
423489d09728Smrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
423589d09728Smrg/* end confdefs.h.  */
423689d09728Smrg
423789d09728Smrgint
423889d09728Smrgmain ()
423989d09728Smrg{
424089d09728Smrg
424189d09728Smrg  ;
424289d09728Smrg  return 0;
424389d09728Smrg}
424489d09728Smrg_ACEOF
424589d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
424689d09728Smrg  ac_cv_prog_cc_g=yes
424789d09728Smrgelse
424889d09728Smrg  CFLAGS=""
424989d09728Smrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
425089d09728Smrg/* end confdefs.h.  */
425189d09728Smrg
425289d09728Smrgint
425389d09728Smrgmain ()
425489d09728Smrg{
425589d09728Smrg
425689d09728Smrg  ;
425789d09728Smrg  return 0;
425889d09728Smrg}
425989d09728Smrg_ACEOF
426089d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
426189d09728Smrg
426289d09728Smrgelse
426389d09728Smrg  ac_c_werror_flag=$ac_save_c_werror_flag
426489d09728Smrg	 CFLAGS="-g"
426589d09728Smrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
426689d09728Smrg/* end confdefs.h.  */
426789d09728Smrg
426889d09728Smrgint
426989d09728Smrgmain ()
427089d09728Smrg{
427189d09728Smrg
427289d09728Smrg  ;
427389d09728Smrg  return 0;
427489d09728Smrg}
427589d09728Smrg_ACEOF
427689d09728Smrgif ac_fn_c_try_compile "$LINENO"; then :
427789d09728Smrg  ac_cv_prog_cc_g=yes
427889d09728Smrgfi
427989d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
428089d09728Smrgfi
428189d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
428289d09728Smrgfi
428389d09728Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
428489d09728Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
428589d09728Smrgfi
428689d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
428789d09728Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
428889d09728Smrgif test "$ac_test_CFLAGS" = set; then
428989d09728Smrg  CFLAGS=$ac_save_CFLAGS
429089d09728Smrgelif test $ac_cv_prog_cc_g = yes; then
429189d09728Smrg  if test "$GCC" = yes; then
429289d09728Smrg    CFLAGS="-g -O2"
429389d09728Smrg  else
429489d09728Smrg    CFLAGS="-g"
429589d09728Smrg  fi
429689d09728Smrgelse
429789d09728Smrg  if test "$GCC" = yes; then
429889d09728Smrg    CFLAGS="-O2"
429989d09728Smrg  else
430089d09728Smrg    CFLAGS=
430189d09728Smrg  fi
430289d09728Smrgfi
430389d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
430489d09728Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
430589d09728Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then :
430689d09728Smrg  $as_echo_n "(cached) " >&6
430789d09728Smrgelse
430889d09728Smrg  ac_cv_prog_cc_c89=no
430989d09728Smrgac_save_CC=$CC
431089d09728Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
431189d09728Smrg/* end confdefs.h.  */
431289d09728Smrg#include <stdarg.h>
431389d09728Smrg#include <stdio.h>
431489d09728Smrg#include <sys/types.h>
431589d09728Smrg#include <sys/stat.h>
431689d09728Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
431789d09728Smrgstruct buf { int x; };
431889d09728SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
431989d09728Smrgstatic char *e (p, i)
432089d09728Smrg     char **p;
432189d09728Smrg     int i;
432289d09728Smrg{
432389d09728Smrg  return p[i];
432489d09728Smrg}
432589d09728Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
432689d09728Smrg{
432789d09728Smrg  char *s;
432889d09728Smrg  va_list v;
432989d09728Smrg  va_start (v,p);
433089d09728Smrg  s = g (p, va_arg (v,int));
433189d09728Smrg  va_end (v);
433289d09728Smrg  return s;
433389d09728Smrg}
433489d09728Smrg
433589d09728Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
433689d09728Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
433789d09728Smrg   These don't provoke an error unfortunately, instead are silently treated
433889d09728Smrg   as 'x'.  The following induces an error, until -std is added to get
433989d09728Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
434089d09728Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
434189d09728Smrg   that's true only with -std.  */
434289d09728Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
434389d09728Smrg
434489d09728Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
434589d09728Smrg   inside strings and character constants.  */
434689d09728Smrg#define FOO(x) 'x'
434789d09728Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
434889d09728Smrg
434989d09728Smrgint test (int i, double x);
435089d09728Smrgstruct s1 {int (*f) (int a);};
435189d09728Smrgstruct s2 {int (*f) (double a);};
435289d09728Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
435389d09728Smrgint argc;
435489d09728Smrgchar **argv;
435589d09728Smrgint
435689d09728Smrgmain ()
435789d09728Smrg{
435889d09728Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
435989d09728Smrg  ;
436089d09728Smrg  return 0;
436189d09728Smrg}
436289d09728Smrg_ACEOF
436389d09728Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
436489d09728Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
436589d09728Smrgdo
436689d09728Smrg  CC="$ac_save_CC $ac_arg"
436789d09728Smrg  if ac_fn_c_try_compile "$LINENO"; then :
436889d09728Smrg  ac_cv_prog_cc_c89=$ac_arg
436989d09728Smrgfi
437089d09728Smrgrm -f core conftest.err conftest.$ac_objext
437189d09728Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
437289d09728Smrgdone
437389d09728Smrgrm -f conftest.$ac_ext
437489d09728SmrgCC=$ac_save_CC
437589d09728Smrg
437689d09728Smrgfi
437789d09728Smrg# AC_CACHE_VAL
437889d09728Smrgcase "x$ac_cv_prog_cc_c89" in
437989d09728Smrg  x)
438089d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
438189d09728Smrg$as_echo "none needed" >&6; } ;;
438289d09728Smrg  xno)
438389d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
438489d09728Smrg$as_echo "unsupported" >&6; } ;;
438589d09728Smrg  *)
438689d09728Smrg    CC="$CC $ac_cv_prog_cc_c89"
438789d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
438889d09728Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
438989d09728Smrgesac
439089d09728Smrgif test "x$ac_cv_prog_cc_c89" != xno; then :
439189d09728Smrg
439289d09728Smrgfi
439389d09728Smrg
439489d09728Smrgac_ext=c
439589d09728Smrgac_cpp='$CPP $CPPFLAGS'
439689d09728Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
439789d09728Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
439889d09728Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
439989d09728Smrg
440089d09728Smrgdepcc="$CC"   am_compiler_list=
440189d09728Smrg
440289d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
440389d09728Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
440489d09728Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
440589d09728Smrg  $as_echo_n "(cached) " >&6
440689d09728Smrgelse
440789d09728Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
440889d09728Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
440989d09728Smrg  # making bogus files that we don't know about and never remove.  For
441089d09728Smrg  # instance it was reported that on HP-UX the gcc test will end up
441189d09728Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
441289d09728Smrg  # in D'.
441389d09728Smrg  mkdir conftest.dir
441489d09728Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
441589d09728Smrg  # using a relative directory.
441689d09728Smrg  cp "$am_depcomp" conftest.dir
441789d09728Smrg  cd conftest.dir
441889d09728Smrg  # We will build objects and dependencies in a subdirectory because
441989d09728Smrg  # it helps to detect inapplicable dependency modes.  For instance
442089d09728Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
442189d09728Smrg  # side effect of compilation, but ICC will put the dependencies in
442289d09728Smrg  # the current directory while Tru64 will put them in the object
442389d09728Smrg  # directory.
442489d09728Smrg  mkdir sub
442589d09728Smrg
442689d09728Smrg  am_cv_CC_dependencies_compiler_type=none
442789d09728Smrg  if test "$am_compiler_list" = ""; then
442889d09728Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
442989d09728Smrg  fi
443089d09728Smrg  for depmode in $am_compiler_list; do
443189d09728Smrg    # Setup a source with many dependencies, because some compilers
443289d09728Smrg    # like to wrap large dependency lists on column 80 (with \), and
443389d09728Smrg    # we should not choose a depcomp mode which is confused by this.
443489d09728Smrg    #
443589d09728Smrg    # We need to recreate these files for each test, as the compiler may
443689d09728Smrg    # overwrite some of them when testing with obscure command lines.
443789d09728Smrg    # This happens at least with the AIX C compiler.
443889d09728Smrg    : > sub/conftest.c
443989d09728Smrg    for i in 1 2 3 4 5 6; do
444089d09728Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
444189d09728Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
444289d09728Smrg      # Solaris 8's {/usr,}/bin/sh.
444389d09728Smrg      touch sub/conftst$i.h
444466fe65f6Smrg    done
444589d09728Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
444666fe65f6Smrg
444789d09728Smrg    case $depmode in
444889d09728Smrg    nosideeffect)
444989d09728Smrg      # after this tag, mechanisms are not by side-effect, so they'll
445089d09728Smrg      # only be used when explicitly requested
445189d09728Smrg      if test "x$enable_dependency_tracking" = xyes; then
445289d09728Smrg	continue
445389d09728Smrg      else
445489d09728Smrg	break
445589d09728Smrg      fi
445689d09728Smrg      ;;
445789d09728Smrg    none) break ;;
445889d09728Smrg    esac
445989d09728Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
446089d09728Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
446189d09728Smrg    # handle `-M -o', and we need to detect this.
446289d09728Smrg    if depmode=$depmode \
446389d09728Smrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
446489d09728Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
446589d09728Smrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
446689d09728Smrg         >/dev/null 2>conftest.err &&
446789d09728Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
446889d09728Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
446989d09728Smrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
447089d09728Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
447189d09728Smrg      # icc doesn't choke on unknown options, it will just issue warnings
447289d09728Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
447389d09728Smrg      # that says an option was ignored or not supported.
447489d09728Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
447589d09728Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
447689d09728Smrg      # The diagnosis changed in icc 8.0:
447789d09728Smrg      #   icc: Command line remark: option '-MP' not supported
447889d09728Smrg      if (grep 'ignoring option' conftest.err ||
447989d09728Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
448089d09728Smrg        am_cv_CC_dependencies_compiler_type=$depmode
448189d09728Smrg        break
448289d09728Smrg      fi
448389d09728Smrg    fi
448489d09728Smrg  done
448566fe65f6Smrg
448689d09728Smrg  cd ..
448789d09728Smrg  rm -rf conftest.dir
448889d09728Smrgelse
448989d09728Smrg  am_cv_CC_dependencies_compiler_type=none
449066fe65f6Smrgfi
449166fe65f6Smrg
449289d09728Smrgfi
449389d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
449489d09728Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
449589d09728SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
449666fe65f6Smrg
449789d09728Smrg if
449889d09728Smrg  test "x$enable_dependency_tracking" != xno \
449989d09728Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
450089d09728Smrg  am__fastdepCC_TRUE=
450189d09728Smrg  am__fastdepCC_FALSE='#'
450289d09728Smrgelse
450389d09728Smrg  am__fastdepCC_TRUE='#'
450489d09728Smrg  am__fastdepCC_FALSE=
450589d09728Smrgfi
450666fe65f6Smrg
450766fe65f6Smrg
450866fe65f6Smrg
450966fe65f6Smrg
451089d09728Smrgmapdir=${libdir}/X11/fonts/util
451166fe65f6Smrg
451289d09728Smrg# Check whether --with-mapdir was given.
451389d09728Smrgif test "${with_mapdir+set}" = set; then :
451489d09728Smrg  withval=$with_mapdir; mapdir="$withval"
451589d09728Smrgfi
451666fe65f6Smrg
451789d09728SmrgMAPDIR="$mapdir"
451866fe65f6Smrg
451966fe65f6Smrg
452066fe65f6Smrg# Make sure we can run config.sub.
452189d09728Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
452289d09728Smrg  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
452366fe65f6Smrg
452489d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
452589d09728Smrg$as_echo_n "checking build system type... " >&6; }
452689d09728Smrgif test "${ac_cv_build+set}" = set; then :
452789d09728Smrg  $as_echo_n "(cached) " >&6
452866fe65f6Smrgelse
452989d09728Smrg  ac_build_alias=$build_alias
453089d09728Smrgtest "x$ac_build_alias" = x &&
453189d09728Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
453289d09728Smrgtest "x$ac_build_alias" = x &&
453389d09728Smrg  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
453489d09728Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
453589d09728Smrg  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
453689d09728Smrg
453789d09728Smrgfi
453889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
453989d09728Smrg$as_echo "$ac_cv_build" >&6; }
454089d09728Smrgcase $ac_cv_build in
454189d09728Smrg*-*-*) ;;
454289d09728Smrg*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
454389d09728Smrgesac
454489d09728Smrgbuild=$ac_cv_build
454589d09728Smrgac_save_IFS=$IFS; IFS='-'
454689d09728Smrgset x $ac_cv_build
454789d09728Smrgshift
454889d09728Smrgbuild_cpu=$1
454989d09728Smrgbuild_vendor=$2
455089d09728Smrgshift; shift
455189d09728Smrg# Remember, the first character of IFS is used to create $*,
455289d09728Smrg# except with old shells:
455389d09728Smrgbuild_os=$*
455489d09728SmrgIFS=$ac_save_IFS
455589d09728Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
455689d09728Smrg
455789d09728Smrg
455889d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
455989d09728Smrg$as_echo_n "checking host system type... " >&6; }
456089d09728Smrgif test "${ac_cv_host+set}" = set; then :
456189d09728Smrg  $as_echo_n "(cached) " >&6
456289d09728Smrgelse
456389d09728Smrg  if test "x$host_alias" = x; then
456489d09728Smrg  ac_cv_host=$ac_cv_build
456589d09728Smrgelse
456689d09728Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
456789d09728Smrg    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
456889d09728Smrgfi
456966fe65f6Smrg
457066fe65f6Smrgfi
457189d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
457289d09728Smrg$as_echo "$ac_cv_host" >&6; }
457389d09728Smrgcase $ac_cv_host in
457489d09728Smrg*-*-*) ;;
457589d09728Smrg*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
457689d09728Smrgesac
457766fe65f6Smrghost=$ac_cv_host
457889d09728Smrgac_save_IFS=$IFS; IFS='-'
457989d09728Smrgset x $ac_cv_host
458089d09728Smrgshift
458189d09728Smrghost_cpu=$1
458289d09728Smrghost_vendor=$2
458389d09728Smrgshift; shift
458489d09728Smrg# Remember, the first character of IFS is used to create $*,
458589d09728Smrg# except with old shells:
458689d09728Smrghost_os=$*
458789d09728SmrgIFS=$ac_save_IFS
458889d09728Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
458966fe65f6Smrg
459066fe65f6Smrg
459166fe65f6Smrg
459266fe65f6Smrg
459366fe65f6Smrg
459466fe65f6Smrgif test x$APP_MAN_SUFFIX = x    ; then
459589d09728Smrg    APP_MAN_SUFFIX=1
459666fe65f6Smrgfi
459766fe65f6Smrgif test x$APP_MAN_DIR = x    ; then
459889d09728Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
459966fe65f6Smrgfi
460066fe65f6Smrg
460166fe65f6Smrgif test x$LIB_MAN_SUFFIX = x    ; then
460289d09728Smrg    LIB_MAN_SUFFIX=3
460366fe65f6Smrgfi
460466fe65f6Smrgif test x$LIB_MAN_DIR = x    ; then
460589d09728Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
460666fe65f6Smrgfi
460766fe65f6Smrg
460866fe65f6Smrgif test x$FILE_MAN_SUFFIX = x    ; then
460966fe65f6Smrg    case $host_os in
461066fe65f6Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
461166fe65f6Smrg	*)		FILE_MAN_SUFFIX=5  ;;
461266fe65f6Smrg    esac
461366fe65f6Smrgfi
461466fe65f6Smrgif test x$FILE_MAN_DIR = x    ; then
461589d09728Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
461666fe65f6Smrgfi
461766fe65f6Smrg
461866fe65f6Smrgif test x$MISC_MAN_SUFFIX = x    ; then
461966fe65f6Smrg    case $host_os in
462066fe65f6Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
462166fe65f6Smrg	*)		MISC_MAN_SUFFIX=7  ;;
462266fe65f6Smrg    esac
462366fe65f6Smrgfi
462466fe65f6Smrgif test x$MISC_MAN_DIR = x    ; then
462589d09728Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
462666fe65f6Smrgfi
462766fe65f6Smrg
462866fe65f6Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
462966fe65f6Smrg    case $host_os in
463066fe65f6Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
463166fe65f6Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
463266fe65f6Smrg    esac
463366fe65f6Smrgfi
463466fe65f6Smrgif test x$DRIVER_MAN_DIR = x    ; then
463589d09728Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
463666fe65f6Smrgfi
463766fe65f6Smrg
463866fe65f6Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
463966fe65f6Smrg    case $host_os in
464066fe65f6Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
464166fe65f6Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
464266fe65f6Smrg    esac
464366fe65f6Smrgfi
464466fe65f6Smrgif test x$ADMIN_MAN_DIR = x    ; then
464566fe65f6Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
464666fe65f6Smrgfi
464766fe65f6Smrg
464866fe65f6Smrg
464966fe65f6Smrg
465066fe65f6Smrg
465166fe65f6Smrg
465266fe65f6Smrg
465366fe65f6Smrg
465466fe65f6Smrg
465566fe65f6Smrg
465666fe65f6Smrg
465766fe65f6Smrg
465866fe65f6Smrg
465966fe65f6Smrg
466066fe65f6Smrg
466166fe65f6Smrg
466266fe65f6Smrg
466366fe65f6Smrg
466489d09728Smrg# Check whether --with-release-version was given.
466589d09728Smrgif test "${with_release_version+set}" = set; then :
466689d09728Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
466766fe65f6Smrgelse
466866fe65f6Smrg  RELEASE_VERSION=""
466989d09728Smrgfi
467089d09728Smrg
467166fe65f6Smrg	if test "x$RELEASE_VERSION" != "x"; then
467266fe65f6Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
467366fe65f6Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
467489d09728Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5
467589d09728Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
467689d09728Smrg	fi
467789d09728Smrg
467889d09728Smrgcat >>confdefs.h <<_ACEOF
467989d09728Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
468089d09728Smrg_ACEOF
468189d09728Smrg
468289d09728Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
468389d09728Smrg	if test "x$PVM" = "x"; then
468489d09728Smrg		PVM="0"
468589d09728Smrg	fi
468689d09728Smrg
468789d09728Smrgcat >>confdefs.h <<_ACEOF
468889d09728Smrg#define PACKAGE_VERSION_MINOR $PVM
468989d09728Smrg_ACEOF
469089d09728Smrg
469189d09728Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
469289d09728Smrg	if test "x$PVP" = "x"; then
469389d09728Smrg		PVP="0"
469466fe65f6Smrg	fi
469566fe65f6Smrg
469689d09728Smrgcat >>confdefs.h <<_ACEOF
469789d09728Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
469889d09728Smrg_ACEOF
469989d09728Smrg
470089d09728Smrg
470189d09728Smrg
470289d09728SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
470389d09728Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
470489d09728Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
470589d09728Smrg
470689d09728Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
470789d09728Smrg
470889d09728Smrg
470989d09728Smrg
471089d09728Smrgac_config_files="$ac_config_files Makefile fontutil.pc"
471166fe65f6Smrg
471266fe65f6Smrgcat >confcache <<\_ACEOF
471366fe65f6Smrg# This file is a shell script that caches the results of configure
471466fe65f6Smrg# tests run on this system so they can be shared between configure
471566fe65f6Smrg# scripts and configure runs, see configure's option --config-cache.
471666fe65f6Smrg# It is not useful on other systems.  If it contains results you don't
471766fe65f6Smrg# want to keep, you may remove or edit it.
471866fe65f6Smrg#
471966fe65f6Smrg# config.status only pays attention to the cache file if you give it
472066fe65f6Smrg# the --recheck option to rerun configure.
472166fe65f6Smrg#
472266fe65f6Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
472366fe65f6Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
472466fe65f6Smrg# following values.
472566fe65f6Smrg
472666fe65f6Smrg_ACEOF
472766fe65f6Smrg
472866fe65f6Smrg# The following way of writing the cache mishandles newlines in values,
472966fe65f6Smrg# but we know of no workaround that is simple, portable, and efficient.
473089d09728Smrg# So, we kill variables containing newlines.
473166fe65f6Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
473266fe65f6Smrg# and sets the high bit in the cache file unless we assign to the vars.
473389d09728Smrg(
473489d09728Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
473589d09728Smrg    eval ac_val=\$$ac_var
473689d09728Smrg    case $ac_val in #(
473789d09728Smrg    *${as_nl}*)
473889d09728Smrg      case $ac_var in #(
473989d09728Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
474089d09728Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
474189d09728Smrg      esac
474289d09728Smrg      case $ac_var in #(
474389d09728Smrg      _ | IFS | as_nl) ;; #(
474489d09728Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
474589d09728Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
474689d09728Smrg      esac ;;
474789d09728Smrg    esac
474889d09728Smrg  done
474989d09728Smrg
475066fe65f6Smrg  (set) 2>&1 |
475189d09728Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
475289d09728Smrg    *${as_nl}ac_space=\ *)
475389d09728Smrg      # `set' does not quote correctly, so add quotes: double-quote
475489d09728Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
475566fe65f6Smrg      sed -n \
475666fe65f6Smrg	"s/'/'\\\\''/g;
475766fe65f6Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
475889d09728Smrg      ;; #(
475966fe65f6Smrg    *)
476066fe65f6Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
476189d09728Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
476266fe65f6Smrg      ;;
476389d09728Smrg    esac |
476489d09728Smrg    sort
476589d09728Smrg) |
476666fe65f6Smrg  sed '
476789d09728Smrg     /^ac_cv_env_/b end
476866fe65f6Smrg     t clear
476989d09728Smrg     :clear
477066fe65f6Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
477166fe65f6Smrg     t end
477289d09728Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
477389d09728Smrg     :end' >>confcache
477489d09728Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
477589d09728Smrg  if test -w "$cache_file"; then
477689d09728Smrg    test "x$cache_file" != "x/dev/null" &&
477789d09728Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
477889d09728Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
477966fe65f6Smrg    cat confcache >$cache_file
478066fe65f6Smrg  else
478189d09728Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
478289d09728Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
478366fe65f6Smrg  fi
478466fe65f6Smrgfi
478566fe65f6Smrgrm -f confcache
478666fe65f6Smrg
478766fe65f6Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
478866fe65f6Smrg# Let make expand exec_prefix.
478966fe65f6Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
479066fe65f6Smrg
479166fe65f6SmrgDEFS=-DHAVE_CONFIG_H
479266fe65f6Smrg
479366fe65f6Smrgac_libobjs=
479466fe65f6Smrgac_ltlibobjs=
479566fe65f6Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
479666fe65f6Smrg  # 1. Remove the extension, and $U if already installed.
479789d09728Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
479889d09728Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
479989d09728Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
480089d09728Smrg  #    will be set to the directory where LIBOBJS objects are built.
480189d09728Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
480289d09728Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
480366fe65f6Smrgdone
480466fe65f6SmrgLIBOBJS=$ac_libobjs
480566fe65f6Smrg
480666fe65f6SmrgLTLIBOBJS=$ac_ltlibobjs
480766fe65f6Smrg
480866fe65f6Smrg
480966fe65f6Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
481089d09728Smrg  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
481189d09728SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
481266fe65f6Smrgfi
481366fe65f6Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
481489d09728Smrg  as_fn_error "conditional \"AMDEP\" was never defined.
481589d09728SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
481689d09728Smrgfi
481789d09728Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
481889d09728Smrg  as_fn_error "conditional \"am__fastdepCC\" was never defined.
481989d09728SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
482066fe65f6Smrgfi
482166fe65f6Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
482289d09728Smrg  as_fn_error "conditional \"am__fastdepCC\" was never defined.
482389d09728SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
482466fe65f6Smrgfi
482566fe65f6Smrg
482666fe65f6Smrg: ${CONFIG_STATUS=./config.status}
482789d09728Smrgac_write_fail=0
482866fe65f6Smrgac_clean_files_save=$ac_clean_files
482966fe65f6Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
483089d09728Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
483189d09728Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
483289d09728Smrgas_write_fail=0
483389d09728Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
483466fe65f6Smrg#! $SHELL
483566fe65f6Smrg# Generated by $as_me.
483666fe65f6Smrg# Run this file to recreate the current configuration.
483766fe65f6Smrg# Compiler output produced by configure, useful for debugging
483866fe65f6Smrg# configure, is in config.log if it exists.
483966fe65f6Smrg
484066fe65f6Smrgdebug=false
484166fe65f6Smrgac_cs_recheck=false
484266fe65f6Smrgac_cs_silent=false
484366fe65f6Smrg
484489d09728SmrgSHELL=\${CONFIG_SHELL-$SHELL}
484589d09728Smrgexport SHELL
484689d09728Smrg_ASEOF
484789d09728Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
484889d09728Smrg## -------------------- ##
484989d09728Smrg## M4sh Initialization. ##
485089d09728Smrg## -------------------- ##
485189d09728Smrg
485289d09728Smrg# Be more Bourne compatible
485389d09728SmrgDUALCASE=1; export DUALCASE # for MKS sh
485489d09728Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
485566fe65f6Smrg  emulate sh
485666fe65f6Smrg  NULLCMD=:
485789d09728Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
485866fe65f6Smrg  # is contrary to our usage.  Disable this feature.
485966fe65f6Smrg  alias -g '${1+"$@"}'='"$@"'
486089d09728Smrg  setopt NO_GLOB_SUBST
486189d09728Smrgelse
486289d09728Smrg  case `(set -o) 2>/dev/null` in #(
486389d09728Smrg  *posix*) :
486489d09728Smrg    set -o posix ;; #(
486589d09728Smrg  *) :
486689d09728Smrg     ;;
486789d09728Smrgesac
486866fe65f6Smrgfi
486966fe65f6Smrg
487089d09728Smrg
487189d09728Smrgas_nl='
487289d09728Smrg'
487389d09728Smrgexport as_nl
487489d09728Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
487589d09728Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
487689d09728Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
487789d09728Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
487889d09728Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
487989d09728Smrg# but without wasting forks for bash or zsh.
488089d09728Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
488189d09728Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
488289d09728Smrg  as_echo='print -r --'
488389d09728Smrg  as_echo_n='print -rn --'
488489d09728Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
488589d09728Smrg  as_echo='printf %s\n'
488689d09728Smrg  as_echo_n='printf %s'
488766fe65f6Smrgelse
488889d09728Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
488989d09728Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
489089d09728Smrg    as_echo_n='/usr/ucb/echo -n'
489189d09728Smrg  else
489289d09728Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
489389d09728Smrg    as_echo_n_body='eval
489489d09728Smrg      arg=$1;
489589d09728Smrg      case $arg in #(
489689d09728Smrg      *"$as_nl"*)
489789d09728Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
489889d09728Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
489989d09728Smrg      esac;
490089d09728Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
490189d09728Smrg    '
490289d09728Smrg    export as_echo_n_body
490389d09728Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
490489d09728Smrg  fi
490589d09728Smrg  export as_echo_body
490689d09728Smrg  as_echo='sh -c $as_echo_body as_echo'
490789d09728Smrgfi
490889d09728Smrg
490989d09728Smrg# The user is always right.
491089d09728Smrgif test "${PATH_SEPARATOR+set}" != set; then
491189d09728Smrg  PATH_SEPARATOR=:
491289d09728Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
491389d09728Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
491489d09728Smrg      PATH_SEPARATOR=';'
491589d09728Smrg  }
491666fe65f6Smrgfi
491766fe65f6Smrg
491866fe65f6Smrg
491989d09728Smrg# IFS
492089d09728Smrg# We need space, tab and new line, in precisely that order.  Quoting is
492189d09728Smrg# there to prevent editors from complaining about space-tab.
492289d09728Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
492389d09728Smrg# splitting by setting IFS to empty value.)
492489d09728SmrgIFS=" ""	$as_nl"
492589d09728Smrg
492689d09728Smrg# Find who we are.  Look in the path if we contain no directory separator.
492789d09728Smrgcase $0 in #((
492889d09728Smrg  *[\\/]* ) as_myself=$0 ;;
492989d09728Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
493089d09728Smrgfor as_dir in $PATH
493189d09728Smrgdo
493289d09728Smrg  IFS=$as_save_IFS
493389d09728Smrg  test -z "$as_dir" && as_dir=.
493489d09728Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
493589d09728Smrg  done
493689d09728SmrgIFS=$as_save_IFS
493789d09728Smrg
493889d09728Smrg     ;;
493989d09728Smrgesac
494089d09728Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
494189d09728Smrg# in which case we are not to be found in the path.
494289d09728Smrgif test "x$as_myself" = x; then
494389d09728Smrg  as_myself=$0
494489d09728Smrgfi
494589d09728Smrgif test ! -f "$as_myself"; then
494689d09728Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
494789d09728Smrg  exit 1
494889d09728Smrgfi
494989d09728Smrg
495089d09728Smrg# Unset variables that we do not need and which cause bugs (e.g. in
495189d09728Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
495289d09728Smrg# suppresses any "Segmentation fault" message there.  '((' could
495389d09728Smrg# trigger a bug in pdksh 5.2.14.
495489d09728Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
495589d09728Smrgdo eval test x\${$as_var+set} = xset \
495689d09728Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
495789d09728Smrgdone
495866fe65f6SmrgPS1='$ '
495966fe65f6SmrgPS2='> '
496066fe65f6SmrgPS4='+ '
496166fe65f6Smrg
496266fe65f6Smrg# NLS nuisances.
496389d09728SmrgLC_ALL=C
496489d09728Smrgexport LC_ALL
496589d09728SmrgLANGUAGE=C
496689d09728Smrgexport LANGUAGE
496789d09728Smrg
496889d09728Smrg# CDPATH.
496989d09728Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
497089d09728Smrg
497189d09728Smrg
497289d09728Smrg# as_fn_error ERROR [LINENO LOG_FD]
497389d09728Smrg# ---------------------------------
497489d09728Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
497589d09728Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
497689d09728Smrg# script with status $?, using 1 if that was 0.
497789d09728Smrgas_fn_error ()
497889d09728Smrg{
497989d09728Smrg  as_status=$?; test $as_status -eq 0 && as_status=1
498089d09728Smrg  if test "$3"; then
498189d09728Smrg    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
498289d09728Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
498366fe65f6Smrg  fi
498489d09728Smrg  $as_echo "$as_me: error: $1" >&2
498589d09728Smrg  as_fn_exit $as_status
498689d09728Smrg} # as_fn_error
498789d09728Smrg
498866fe65f6Smrg
498989d09728Smrg# as_fn_set_status STATUS
499089d09728Smrg# -----------------------
499189d09728Smrg# Set $? to STATUS, without forking.
499289d09728Smrgas_fn_set_status ()
499389d09728Smrg{
499489d09728Smrg  return $1
499589d09728Smrg} # as_fn_set_status
499689d09728Smrg
499789d09728Smrg# as_fn_exit STATUS
499889d09728Smrg# -----------------
499989d09728Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
500089d09728Smrgas_fn_exit ()
500189d09728Smrg{
500289d09728Smrg  set +e
500389d09728Smrg  as_fn_set_status $1
500489d09728Smrg  exit $1
500589d09728Smrg} # as_fn_exit
500689d09728Smrg
500789d09728Smrg# as_fn_unset VAR
500889d09728Smrg# ---------------
500989d09728Smrg# Portably unset VAR.
501089d09728Smrgas_fn_unset ()
501189d09728Smrg{
501289d09728Smrg  { eval $1=; unset $1;}
501389d09728Smrg}
501489d09728Smrgas_unset=as_fn_unset
501589d09728Smrg# as_fn_append VAR VALUE
501689d09728Smrg# ----------------------
501789d09728Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
501889d09728Smrg# advantage of any shell optimizations that allow amortized linear growth over
501989d09728Smrg# repeated appends, instead of the typical quadratic growth present in naive
502089d09728Smrg# implementations.
502189d09728Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
502289d09728Smrg  eval 'as_fn_append ()
502389d09728Smrg  {
502489d09728Smrg    eval $1+=\$2
502589d09728Smrg  }'
502689d09728Smrgelse
502789d09728Smrg  as_fn_append ()
502889d09728Smrg  {
502989d09728Smrg    eval $1=\$$1\$2
503089d09728Smrg  }
503189d09728Smrgfi # as_fn_append
503289d09728Smrg
503389d09728Smrg# as_fn_arith ARG...
503489d09728Smrg# ------------------
503589d09728Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
503689d09728Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
503789d09728Smrg# must be portable across $(()) and expr.
503889d09728Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
503989d09728Smrg  eval 'as_fn_arith ()
504089d09728Smrg  {
504189d09728Smrg    as_val=$(( $* ))
504289d09728Smrg  }'
504389d09728Smrgelse
504489d09728Smrg  as_fn_arith ()
504589d09728Smrg  {
504689d09728Smrg    as_val=`expr "$@" || test $? -eq 1`
504789d09728Smrg  }
504889d09728Smrgfi # as_fn_arith
504989d09728Smrg
505089d09728Smrg
505189d09728Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
505289d09728Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
505366fe65f6Smrg  as_expr=expr
505466fe65f6Smrgelse
505566fe65f6Smrg  as_expr=false
505666fe65f6Smrgfi
505766fe65f6Smrg
505889d09728Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
505966fe65f6Smrg  as_basename=basename
506066fe65f6Smrgelse
506166fe65f6Smrg  as_basename=false
506266fe65f6Smrgfi
506366fe65f6Smrg
506489d09728Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
506589d09728Smrg  as_dirname=dirname
506689d09728Smrgelse
506789d09728Smrg  as_dirname=false
506889d09728Smrgfi
506966fe65f6Smrg
507089d09728Smrgas_me=`$as_basename -- "$0" ||
507166fe65f6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
507266fe65f6Smrg	 X"$0" : 'X\(//\)$' \| \
507389d09728Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
507489d09728Smrg$as_echo X/"$0" |
507589d09728Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
507689d09728Smrg	    s//\1/
507789d09728Smrg	    q
507889d09728Smrg	  }
507989d09728Smrg	  /^X\/\(\/\/\)$/{
508089d09728Smrg	    s//\1/
508189d09728Smrg	    q
508289d09728Smrg	  }
508389d09728Smrg	  /^X\/\(\/\).*/{
508489d09728Smrg	    s//\1/
508589d09728Smrg	    q
508689d09728Smrg	  }
508789d09728Smrg	  s/.*/./; q'`
508866fe65f6Smrg
508966fe65f6Smrg# Avoid depending upon Character Ranges.
509066fe65f6Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
509166fe65f6Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
509266fe65f6Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
509366fe65f6Smrgas_cr_digits='0123456789'
509466fe65f6Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
509566fe65f6Smrg
509689d09728SmrgECHO_C= ECHO_N= ECHO_T=
509789d09728Smrgcase `echo -n x` in #(((((
509889d09728Smrg-n*)
509989d09728Smrg  case `echo 'xy\c'` in
510089d09728Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
510189d09728Smrg  xy)  ECHO_C='\c';;
510289d09728Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510389d09728Smrg       ECHO_T='	';;
510489d09728Smrg  esac;;
510589d09728Smrg*)
510689d09728Smrg  ECHO_N='-n';;
510766fe65f6Smrgesac
510866fe65f6Smrg
510989d09728Smrgrm -f conf$$ conf$$.exe conf$$.file
511089d09728Smrgif test -d conf$$.dir; then
511189d09728Smrg  rm -f conf$$.dir/conf$$.file
511266fe65f6Smrgelse
511389d09728Smrg  rm -f conf$$.dir
511489d09728Smrg  mkdir conf$$.dir 2>/dev/null
511566fe65f6Smrgfi
511689d09728Smrgif (echo >conf$$.file) 2>/dev/null; then
511789d09728Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
511866fe65f6Smrg    as_ln_s='ln -s'
511989d09728Smrg    # ... but there are two gotchas:
512089d09728Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
512189d09728Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
512289d09728Smrg    # In both cases, we have to default to `cp -p'.
512389d09728Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
512489d09728Smrg      as_ln_s='cp -p'
512589d09728Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
512689d09728Smrg    as_ln_s=ln
512789d09728Smrg  else
512889d09728Smrg    as_ln_s='cp -p'
512966fe65f6Smrg  fi
513066fe65f6Smrgelse
513166fe65f6Smrg  as_ln_s='cp -p'
513266fe65f6Smrgfi
513389d09728Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513489d09728Smrgrmdir conf$$.dir 2>/dev/null
513589d09728Smrg
513689d09728Smrg
513789d09728Smrg# as_fn_mkdir_p
513889d09728Smrg# -------------
513989d09728Smrg# Create "$as_dir" as a directory, including parents if necessary.
514089d09728Smrgas_fn_mkdir_p ()
514189d09728Smrg{
514289d09728Smrg
514389d09728Smrg  case $as_dir in #(
514489d09728Smrg  -*) as_dir=./$as_dir;;
514589d09728Smrg  esac
514689d09728Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
514789d09728Smrg    as_dirs=
514889d09728Smrg    while :; do
514989d09728Smrg      case $as_dir in #(
515089d09728Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
515189d09728Smrg      *) as_qdir=$as_dir;;
515289d09728Smrg      esac
515389d09728Smrg      as_dirs="'$as_qdir' $as_dirs"
515489d09728Smrg      as_dir=`$as_dirname -- "$as_dir" ||
515589d09728Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
515689d09728Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
515789d09728Smrg	 X"$as_dir" : 'X\(//\)$' \| \
515889d09728Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
515989d09728Smrg$as_echo X"$as_dir" |
516089d09728Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
516189d09728Smrg	    s//\1/
516289d09728Smrg	    q
516389d09728Smrg	  }
516489d09728Smrg	  /^X\(\/\/\)[^/].*/{
516589d09728Smrg	    s//\1/
516689d09728Smrg	    q
516789d09728Smrg	  }
516889d09728Smrg	  /^X\(\/\/\)$/{
516989d09728Smrg	    s//\1/
517089d09728Smrg	    q
517189d09728Smrg	  }
517289d09728Smrg	  /^X\(\/\).*/{
517389d09728Smrg	    s//\1/
517489d09728Smrg	    q
517589d09728Smrg	  }
517689d09728Smrg	  s/.*/./; q'`
517789d09728Smrg      test -d "$as_dir" && break
517889d09728Smrg    done
517989d09728Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
518089d09728Smrg  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
518166fe65f6Smrg
518289d09728Smrg
518389d09728Smrg} # as_fn_mkdir_p
518466fe65f6Smrgif mkdir -p . 2>/dev/null; then
518589d09728Smrg  as_mkdir_p='mkdir -p "$as_dir"'
518666fe65f6Smrgelse
518766fe65f6Smrg  test -d ./-p && rmdir ./-p
518866fe65f6Smrg  as_mkdir_p=false
518966fe65f6Smrgfi
519066fe65f6Smrg
519189d09728Smrgif test -x / >/dev/null 2>&1; then
519289d09728Smrg  as_test_x='test -x'
519389d09728Smrgelse
519489d09728Smrg  if ls -dL / >/dev/null 2>&1; then
519589d09728Smrg    as_ls_L_option=L
519689d09728Smrg  else
519789d09728Smrg    as_ls_L_option=
519889d09728Smrg  fi
519989d09728Smrg  as_test_x='
520089d09728Smrg    eval sh -c '\''
520189d09728Smrg      if test -d "$1"; then
520289d09728Smrg	test -d "$1/.";
520389d09728Smrg      else
520489d09728Smrg	case $1 in #(
520589d09728Smrg	-*)set "./$1";;
520689d09728Smrg	esac;
520789d09728Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520889d09728Smrg	???[sx]*):;;*)false;;esac;fi
520989d09728Smrg    '\'' sh
521089d09728Smrg  '
521189d09728Smrgfi
521289d09728Smrgas_executable_p=$as_test_x
521366fe65f6Smrg
521466fe65f6Smrg# Sed expression to map a string onto a valid CPP name.
521566fe65f6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521666fe65f6Smrg
521766fe65f6Smrg# Sed expression to map a string onto a valid variable name.
521866fe65f6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
521966fe65f6Smrg
522066fe65f6Smrg
522166fe65f6Smrgexec 6>&1
522289d09728Smrg## ----------------------------------- ##
522389d09728Smrg## Main body of $CONFIG_STATUS script. ##
522489d09728Smrg## ----------------------------------- ##
522589d09728Smrg_ASEOF
522689d09728Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
522789d09728Smrg
522889d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
522989d09728Smrg# Save the log message, to keep $0 and so on meaningful, and to
523066fe65f6Smrg# report actual input values of CONFIG_FILES etc. instead of their
523189d09728Smrg# values after options handling.
523289d09728Smrgac_log="
523389d09728SmrgThis file was extended by font-util $as_me 1.0.2, which was
523489d09728Smrggenerated by GNU Autoconf 2.64.  Invocation command line was
523566fe65f6Smrg
523666fe65f6Smrg  CONFIG_FILES    = $CONFIG_FILES
523766fe65f6Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
523866fe65f6Smrg  CONFIG_LINKS    = $CONFIG_LINKS
523966fe65f6Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
524066fe65f6Smrg  $ $0 $@
524166fe65f6Smrg
524289d09728Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
524389d09728Smrg"
524489d09728Smrg
524566fe65f6Smrg_ACEOF
524666fe65f6Smrg
524789d09728Smrgcase $ac_config_files in *"
524889d09728Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
524989d09728Smrgesac
525066fe65f6Smrg
525189d09728Smrgcase $ac_config_headers in *"
525289d09728Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
525389d09728Smrgesac
525466fe65f6Smrg
525566fe65f6Smrg
525689d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
525789d09728Smrg# Files that config.status was made for.
525889d09728Smrgconfig_files="$ac_config_files"
525989d09728Smrgconfig_headers="$ac_config_headers"
526089d09728Smrgconfig_commands="$ac_config_commands"
526166fe65f6Smrg
526289d09728Smrg_ACEOF
526366fe65f6Smrg
526489d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
526566fe65f6Smrgac_cs_usage="\
526689d09728Smrg\`$as_me' instantiates files and other configuration actions
526789d09728Smrgfrom templates according to the current configuration.  Unless the files
526889d09728Smrgand actions are specified as TAGs, all are instantiated by default.
526966fe65f6Smrg
527089d09728SmrgUsage: $0 [OPTION]... [TAG]...
527166fe65f6Smrg
527266fe65f6Smrg  -h, --help       print this help, then exit
527389d09728Smrg  -V, --version    print version number and configuration settings, then exit
527489d09728Smrg  -q, --quiet, --silent
527589d09728Smrg                   do not print progress messages
527666fe65f6Smrg  -d, --debug      don't remove temporary files
527766fe65f6Smrg      --recheck    update $as_me by reconfiguring in the same conditions
527889d09728Smrg      --file=FILE[:TEMPLATE]
527989d09728Smrg                   instantiate the configuration file FILE
528089d09728Smrg      --header=FILE[:TEMPLATE]
528189d09728Smrg                   instantiate the configuration header FILE
528266fe65f6Smrg
528366fe65f6SmrgConfiguration files:
528466fe65f6Smrg$config_files
528566fe65f6Smrg
528666fe65f6SmrgConfiguration headers:
528766fe65f6Smrg$config_headers
528866fe65f6Smrg
528966fe65f6SmrgConfiguration commands:
529066fe65f6Smrg$config_commands
529166fe65f6Smrg
529289d09728SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
529366fe65f6Smrg
529489d09728Smrg_ACEOF
529589d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
529666fe65f6Smrgac_cs_version="\\
529789d09728Smrgfont-util config.status 1.0.2
529889d09728Smrgconfigured by $0, generated by GNU Autoconf 2.64,
529989d09728Smrg  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
530066fe65f6Smrg
530189d09728SmrgCopyright (C) 2009 Free Software Foundation, Inc.
530266fe65f6SmrgThis config.status script is free software; the Free Software Foundation
530366fe65f6Smrggives unlimited permission to copy, distribute and modify it."
530489d09728Smrg
530589d09728Smrgac_pwd='$ac_pwd'
530689d09728Smrgsrcdir='$srcdir'
530789d09728SmrgINSTALL='$INSTALL'
530889d09728SmrgMKDIR_P='$MKDIR_P'
530989d09728SmrgAWK='$AWK'
531089d09728Smrgtest -n "\$AWK" || AWK=awk
531166fe65f6Smrg_ACEOF
531266fe65f6Smrg
531389d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
531489d09728Smrg# The default lists apply if the user does not specify any file.
531566fe65f6Smrgac_need_defaults=:
531666fe65f6Smrgwhile test $# != 0
531766fe65f6Smrgdo
531866fe65f6Smrg  case $1 in
531966fe65f6Smrg  --*=*)
532089d09728Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
532189d09728Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
532266fe65f6Smrg    ac_shift=:
532366fe65f6Smrg    ;;
532489d09728Smrg  *)
532566fe65f6Smrg    ac_option=$1
532666fe65f6Smrg    ac_optarg=$2
532766fe65f6Smrg    ac_shift=shift
532866fe65f6Smrg    ;;
532966fe65f6Smrg  esac
533066fe65f6Smrg
533166fe65f6Smrg  case $ac_option in
533266fe65f6Smrg  # Handling of the options.
533366fe65f6Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
533466fe65f6Smrg    ac_cs_recheck=: ;;
533589d09728Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
533689d09728Smrg    $as_echo "$ac_cs_version"; exit ;;
533789d09728Smrg  --debug | --debu | --deb | --de | --d | -d )
533866fe65f6Smrg    debug=: ;;
533966fe65f6Smrg  --file | --fil | --fi | --f )
534066fe65f6Smrg    $ac_shift
534189d09728Smrg    case $ac_optarg in
534289d09728Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
534389d09728Smrg    esac
534489d09728Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
534566fe65f6Smrg    ac_need_defaults=false;;
534666fe65f6Smrg  --header | --heade | --head | --hea )
534766fe65f6Smrg    $ac_shift
534889d09728Smrg    case $ac_optarg in
534989d09728Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
535089d09728Smrg    esac
535189d09728Smrg    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
535266fe65f6Smrg    ac_need_defaults=false;;
535389d09728Smrg  --he | --h)
535489d09728Smrg    # Conflict between --help and --header
535589d09728Smrg    as_fn_error "ambiguous option: \`$1'
535689d09728SmrgTry \`$0 --help' for more information.";;
535789d09728Smrg  --help | --hel | -h )
535889d09728Smrg    $as_echo "$ac_cs_usage"; exit ;;
535966fe65f6Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
536066fe65f6Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
536166fe65f6Smrg    ac_cs_silent=: ;;
536266fe65f6Smrg
536366fe65f6Smrg  # This is an error.
536489d09728Smrg  -*) as_fn_error "unrecognized option: \`$1'
536589d09728SmrgTry \`$0 --help' for more information." ;;
536666fe65f6Smrg
536789d09728Smrg  *) as_fn_append ac_config_targets " $1"
536889d09728Smrg     ac_need_defaults=false ;;
536966fe65f6Smrg
537066fe65f6Smrg  esac
537166fe65f6Smrg  shift
537266fe65f6Smrgdone
537366fe65f6Smrg
537466fe65f6Smrgac_configure_extra_args=
537566fe65f6Smrg
537666fe65f6Smrgif $ac_cs_silent; then
537766fe65f6Smrg  exec 6>/dev/null
537866fe65f6Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
537966fe65f6Smrgfi
538066fe65f6Smrg
538166fe65f6Smrg_ACEOF
538289d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
538366fe65f6Smrgif \$ac_cs_recheck; then
538489d09728Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
538589d09728Smrg  shift
538689d09728Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
538789d09728Smrg  CONFIG_SHELL='$SHELL'
538889d09728Smrg  export CONFIG_SHELL
538989d09728Smrg  exec "\$@"
539066fe65f6Smrgfi
539166fe65f6Smrg
539266fe65f6Smrg_ACEOF
539389d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
539489d09728Smrgexec 5>>config.log
539589d09728Smrg{
539689d09728Smrg  echo
539789d09728Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
539889d09728Smrg## Running $as_me. ##
539989d09728Smrg_ASBOX
540089d09728Smrg  $as_echo "$ac_log"
540189d09728Smrg} >&5
540266fe65f6Smrg
540389d09728Smrg_ACEOF
540489d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
540566fe65f6Smrg#
540689d09728Smrg# INIT-COMMANDS
540766fe65f6Smrg#
540866fe65f6SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
540966fe65f6Smrg
541066fe65f6Smrg_ACEOF
541166fe65f6Smrg
541289d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
541366fe65f6Smrg
541489d09728Smrg# Handling of arguments.
541566fe65f6Smrgfor ac_config_target in $ac_config_targets
541666fe65f6Smrgdo
541789d09728Smrg  case $ac_config_target in
541889d09728Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
541989d09728Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
542089d09728Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
542189d09728Smrg    "fontutil.pc") CONFIG_FILES="$CONFIG_FILES fontutil.pc" ;;
542289d09728Smrg
542389d09728Smrg  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
542466fe65f6Smrg  esac
542566fe65f6Smrgdone
542666fe65f6Smrg
542789d09728Smrg
542866fe65f6Smrg# If the user did not use the arguments to specify the items to instantiate,
542966fe65f6Smrg# then the envvar interface is used.  Set only those that are not.
543066fe65f6Smrg# We use the long form for the default assignment because of an extremely
543166fe65f6Smrg# bizarre bug on SunOS 4.1.3.
543266fe65f6Smrgif $ac_need_defaults; then
543366fe65f6Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
543466fe65f6Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
543566fe65f6Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
543666fe65f6Smrgfi
543766fe65f6Smrg
543866fe65f6Smrg# Have a temporary directory for convenience.  Make it in the build tree
543989d09728Smrg# simply because there is no reason against having it here, and in addition,
544066fe65f6Smrg# creating and moving files from /tmp can sometimes cause problems.
544189d09728Smrg# Hook for its removal unless debugging.
544289d09728Smrg# Note that there is a small window in which the directory will not be cleaned:
544389d09728Smrg# after its creation but before its name has been assigned to `$tmp'.
544466fe65f6Smrg$debug ||
544566fe65f6Smrg{
544689d09728Smrg  tmp=
544789d09728Smrg  trap 'exit_status=$?
544889d09728Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
544989d09728Smrg' 0
545089d09728Smrg  trap 'as_fn_exit 1' 1 2 13 15
545166fe65f6Smrg}
545266fe65f6Smrg# Create a (secure) tmp directory for tmp files.
545366fe65f6Smrg
545466fe65f6Smrg{
545589d09728Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
545666fe65f6Smrg  test -n "$tmp" && test -d "$tmp"
545766fe65f6Smrg}  ||
545866fe65f6Smrg{
545989d09728Smrg  tmp=./conf$$-$RANDOM
546089d09728Smrg  (umask 077 && mkdir "$tmp")
546189d09728Smrg} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
546289d09728Smrg
546389d09728Smrg# Set up the scripts for CONFIG_FILES section.
546489d09728Smrg# No need to generate them if there are no CONFIG_FILES.
546589d09728Smrg# This happens for instance with `./config.status config.h'.
546689d09728Smrgif test -n "$CONFIG_FILES"; then
546789d09728Smrg
546889d09728Smrg
546989d09728Smrgac_cr=`echo X | tr X '\015'`
547089d09728Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
547189d09728Smrg# But we know of no other shell where ac_cr would be empty at this
547289d09728Smrg# point, so we can use a bashism as a fallback.
547389d09728Smrgif test "x$ac_cr" = x; then
547489d09728Smrg  eval ac_cr=\$\'\\r\'
547589d09728Smrgfi
547689d09728Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
547789d09728Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
547889d09728Smrg  ac_cs_awk_cr='\r'
547989d09728Smrgelse
548089d09728Smrg  ac_cs_awk_cr=$ac_cr
548189d09728Smrgfi
548289d09728Smrg
548389d09728Smrgecho 'BEGIN {' >"$tmp/subs1.awk" &&
548489d09728Smrg_ACEOF
548589d09728Smrg
548689d09728Smrg
548766fe65f6Smrg{
548889d09728Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
548989d09728Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
549089d09728Smrg  echo "_ACEOF"
549189d09728Smrg} >conf$$subs.sh ||
549289d09728Smrg  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
549389d09728Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
549489d09728Smrgac_delim='%!_!# '
549589d09728Smrgfor ac_last_try in false false false false false :; do
549689d09728Smrg  . ./conf$$subs.sh ||
549789d09728Smrg    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
549889d09728Smrg
549989d09728Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
550089d09728Smrg  if test $ac_delim_n = $ac_delim_num; then
550189d09728Smrg    break
550289d09728Smrg  elif $ac_last_try; then
550389d09728Smrg    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
550489d09728Smrg  else
550589d09728Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
550689d09728Smrg  fi
550789d09728Smrgdone
550889d09728Smrgrm -f conf$$subs.sh
550966fe65f6Smrg
551089d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
551189d09728Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
551266fe65f6Smrg_ACEOF
551389d09728Smrgsed -n '
551489d09728Smrgh
551589d09728Smrgs/^/S["/; s/!.*/"]=/
551689d09728Smrgp
551789d09728Smrgg
551889d09728Smrgs/^[^!]*!//
551989d09728Smrg:repl
552089d09728Smrgt repl
552189d09728Smrgs/'"$ac_delim"'$//
552289d09728Smrgt delim
552389d09728Smrg:nl
552489d09728Smrgh
552589d09728Smrgs/\(.\{148\}\).*/\1/
552689d09728Smrgt more1
552789d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
552889d09728Smrgp
552989d09728Smrgn
553089d09728Smrgb repl
553189d09728Smrg:more1
553289d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
553389d09728Smrgp
553489d09728Smrgg
553589d09728Smrgs/.\{148\}//
553689d09728Smrgt nl
553789d09728Smrg:delim
553889d09728Smrgh
553989d09728Smrgs/\(.\{148\}\).*/\1/
554089d09728Smrgt more2
554189d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
554289d09728Smrgp
554389d09728Smrgb
554489d09728Smrg:more2
554589d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
554689d09728Smrgp
554789d09728Smrgg
554889d09728Smrgs/.\{148\}//
554989d09728Smrgt delim
555089d09728Smrg' <conf$$subs.awk | sed '
555189d09728Smrg/^[^""]/{
555289d09728Smrg  N
555389d09728Smrg  s/\n//
555489d09728Smrg}
555589d09728Smrg' >>$CONFIG_STATUS || ac_write_fail=1
555689d09728Smrgrm -f conf$$subs.awk
555789d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
555889d09728Smrg_ACAWK
555989d09728Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK &&
556089d09728Smrg  for (key in S) S_is_set[key] = 1
556189d09728Smrg  FS = ""
556266fe65f6Smrg
556389d09728Smrg}
556489d09728Smrg{
556589d09728Smrg  line = $ 0
556689d09728Smrg  nfields = split(line, field, "@")
556789d09728Smrg  substed = 0
556889d09728Smrg  len = length(field[1])
556989d09728Smrg  for (i = 2; i < nfields; i++) {
557089d09728Smrg    key = field[i]
557189d09728Smrg    keylen = length(key)
557289d09728Smrg    if (S_is_set[key]) {
557389d09728Smrg      value = S[key]
557489d09728Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
557589d09728Smrg      len += length(value) + length(field[++i])
557689d09728Smrg      substed = 1
557789d09728Smrg    } else
557889d09728Smrg      len += 1 + keylen
557989d09728Smrg  }
558089d09728Smrg
558189d09728Smrg  print line
558289d09728Smrg}
558366fe65f6Smrg
558489d09728Smrg_ACAWK
558589d09728Smrg_ACEOF
558689d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
558789d09728Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
558889d09728Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
558989d09728Smrgelse
559089d09728Smrg  cat
559189d09728Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
559289d09728Smrg  || as_fn_error "could not setup config files machinery" "$LINENO" 5
559389d09728Smrg_ACEOF
559489d09728Smrg
559589d09728Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
559689d09728Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
559789d09728Smrg# trailing colons and then remove the whole line if VPATH becomes empty
559889d09728Smrg# (actually we leave an empty line to preserve line numbers).
559989d09728Smrgif test "x$srcdir" = x.; then
560089d09728Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
560189d09728Smrgs/:*\$(srcdir):*/:/
560289d09728Smrgs/:*\${srcdir}:*/:/
560389d09728Smrgs/:*@srcdir@:*/:/
560489d09728Smrgs/^\([^=]*=[	 ]*\):*/\1/
560589d09728Smrgs/:*$//
560689d09728Smrgs/^[^=]*=[	 ]*$//
560789d09728Smrg}'
560889d09728Smrgfi
560966fe65f6Smrg
561089d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
561189d09728Smrgfi # test -n "$CONFIG_FILES"
561266fe65f6Smrg
561389d09728Smrg# Set up the scripts for CONFIG_HEADERS section.
561489d09728Smrg# No need to generate them if there are no CONFIG_HEADERS.
561589d09728Smrg# This happens for instance with `./config.status Makefile'.
561689d09728Smrgif test -n "$CONFIG_HEADERS"; then
561789d09728Smrgcat >"$tmp/defines.awk" <<\_ACAWK ||
561889d09728SmrgBEGIN {
561966fe65f6Smrg_ACEOF
562066fe65f6Smrg
562189d09728Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as
562289d09728Smrg# here-document in config.status, that substitutes the proper values into
562389d09728Smrg# config.h.in to produce config.h.
562489d09728Smrg
562589d09728Smrg# Create a delimiter string that does not exist in confdefs.h, to ease
562689d09728Smrg# handling of long lines.
562789d09728Smrgac_delim='%!_!# '
562889d09728Smrgfor ac_last_try in false false :; do
562989d09728Smrg  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
563089d09728Smrg  if test -z "$ac_t"; then
563189d09728Smrg    break
563289d09728Smrg  elif $ac_last_try; then
563389d09728Smrg    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
563489d09728Smrg  else
563589d09728Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
563666fe65f6Smrg  fi
563789d09728Smrgdone
563866fe65f6Smrg
563989d09728Smrg# For the awk script, D is an array of macro values keyed by name,
564089d09728Smrg# likewise P contains macro parameters if any.  Preserve backslash
564189d09728Smrg# newline sequences.
564289d09728Smrg
564389d09728Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
564489d09728Smrgsed -n '
564589d09728Smrgs/.\{148\}/&'"$ac_delim"'/g
564689d09728Smrgt rset
564789d09728Smrg:rset
564889d09728Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
564989d09728Smrgt def
565089d09728Smrgd
565189d09728Smrg:def
565289d09728Smrgs/\\$//
565389d09728Smrgt bsnl
565489d09728Smrgs/["\\]/\\&/g
565589d09728Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
565689d09728SmrgD["\1"]=" \3"/p
565789d09728Smrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
565889d09728Smrgd
565989d09728Smrg:bsnl
566089d09728Smrgs/["\\]/\\&/g
566189d09728Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
566289d09728SmrgD["\1"]=" \3\\\\\\n"\\/p
566389d09728Smrgt cont
566489d09728Smrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
566589d09728Smrgt cont
566689d09728Smrgd
566789d09728Smrg:cont
566889d09728Smrgn
566989d09728Smrgs/.\{148\}/&'"$ac_delim"'/g
567089d09728Smrgt clear
567189d09728Smrg:clear
567289d09728Smrgs/\\$//
567389d09728Smrgt bsnlc
567489d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p
567589d09728Smrgd
567689d09728Smrg:bsnlc
567789d09728Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
567889d09728Smrgb cont
567989d09728Smrg' <confdefs.h | sed '
568089d09728Smrgs/'"$ac_delim"'/"\\\
568189d09728Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1
568289d09728Smrg
568389d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
568489d09728Smrg  for (key in D) D_is_set[key] = 1
568589d09728Smrg  FS = ""
568689d09728Smrg}
568789d09728Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
568889d09728Smrg  line = \$ 0
568989d09728Smrg  split(line, arg, " ")
569089d09728Smrg  if (arg[1] == "#") {
569189d09728Smrg    defundef = arg[2]
569289d09728Smrg    mac1 = arg[3]
569389d09728Smrg  } else {
569489d09728Smrg    defundef = substr(arg[1], 2)
569589d09728Smrg    mac1 = arg[2]
569689d09728Smrg  }
569789d09728Smrg  split(mac1, mac2, "(") #)
569889d09728Smrg  macro = mac2[1]
569989d09728Smrg  prefix = substr(line, 1, index(line, defundef) - 1)
570089d09728Smrg  if (D_is_set[macro]) {
570189d09728Smrg    # Preserve the white space surrounding the "#".
570289d09728Smrg    print prefix "define", macro P[macro] D[macro]
570389d09728Smrg    next
570489d09728Smrg  } else {
570589d09728Smrg    # Replace #undef with comments.  This is necessary, for example,
570689d09728Smrg    # in the case of _POSIX_SOURCE, which is predefined and required
570789d09728Smrg    # on some systems where configure will not decide to define it.
570889d09728Smrg    if (defundef == "undef") {
570989d09728Smrg      print "/*", prefix defundef, macro, "*/"
571089d09728Smrg      next
571189d09728Smrg    }
571289d09728Smrg  }
571389d09728Smrg}
571489d09728Smrg{ print }
571589d09728Smrg_ACAWK
571666fe65f6Smrg_ACEOF
571789d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
571889d09728Smrg  as_fn_error "could not setup config headers machinery" "$LINENO" 5
571989d09728Smrgfi # test -n "$CONFIG_HEADERS"
572089d09728Smrg
572189d09728Smrg
572289d09728Smrgeval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
572389d09728Smrgshift
572489d09728Smrgfor ac_tag
572589d09728Smrgdo
572689d09728Smrg  case $ac_tag in
572789d09728Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
572889d09728Smrg  esac
572989d09728Smrg  case $ac_mode$ac_tag in
573089d09728Smrg  :[FHL]*:*);;
573189d09728Smrg  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
573289d09728Smrg  :[FH]-) ac_tag=-:-;;
573389d09728Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
573489d09728Smrg  esac
573589d09728Smrg  ac_save_IFS=$IFS
573689d09728Smrg  IFS=:
573789d09728Smrg  set x $ac_tag
573889d09728Smrg  IFS=$ac_save_IFS
573989d09728Smrg  shift
574089d09728Smrg  ac_file=$1
574189d09728Smrg  shift
574289d09728Smrg
574389d09728Smrg  case $ac_mode in
574489d09728Smrg  :L) ac_source=$1;;
574589d09728Smrg  :[FH])
574689d09728Smrg    ac_file_inputs=
574789d09728Smrg    for ac_f
574889d09728Smrg    do
574989d09728Smrg      case $ac_f in
575089d09728Smrg      -) ac_f="$tmp/stdin";;
575189d09728Smrg      *) # Look for the file first in the build tree, then in the source tree
575289d09728Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
575389d09728Smrg	 # because $ac_f cannot contain `:'.
575489d09728Smrg	 test -f "$ac_f" ||
575589d09728Smrg	   case $ac_f in
575689d09728Smrg	   [\\/$]*) false;;
575789d09728Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
575889d09728Smrg	   esac ||
575989d09728Smrg	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
576089d09728Smrg      esac
576189d09728Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
576289d09728Smrg      as_fn_append ac_file_inputs " '$ac_f'"
576389d09728Smrg    done
576489d09728Smrg
576589d09728Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
576689d09728Smrg    # use $as_me), people would be surprised to read:
576789d09728Smrg    #    /* config.h.  Generated by config.status.  */
576889d09728Smrg    configure_input='Generated from '`
576989d09728Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
577089d09728Smrg	`' by configure.'
577189d09728Smrg    if test x"$ac_file" != x-; then
577289d09728Smrg      configure_input="$ac_file.  $configure_input"
577389d09728Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
577489d09728Smrg$as_echo "$as_me: creating $ac_file" >&6;}
577589d09728Smrg    fi
577689d09728Smrg    # Neutralize special characters interpreted by sed in replacement strings.
577789d09728Smrg    case $configure_input in #(
577889d09728Smrg    *\&* | *\|* | *\\* )
577989d09728Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
578089d09728Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
578189d09728Smrg    *) ac_sed_conf_input=$configure_input;;
578289d09728Smrg    esac
578389d09728Smrg
578489d09728Smrg    case $ac_tag in
578589d09728Smrg    *:-:* | *:-) cat >"$tmp/stdin" \
578689d09728Smrg      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
578789d09728Smrg    esac
578889d09728Smrg    ;;
578966fe65f6Smrg  esac
579066fe65f6Smrg
579189d09728Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
579266fe65f6Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
579366fe65f6Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
579466fe65f6Smrg	 X"$ac_file" : 'X\(//\)$' \| \
579589d09728Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
579689d09728Smrg$as_echo X"$ac_file" |
579789d09728Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
579889d09728Smrg	    s//\1/
579989d09728Smrg	    q
580089d09728Smrg	  }
580189d09728Smrg	  /^X\(\/\/\)[^/].*/{
580289d09728Smrg	    s//\1/
580389d09728Smrg	    q
580489d09728Smrg	  }
580589d09728Smrg	  /^X\(\/\/\)$/{
580689d09728Smrg	    s//\1/
580789d09728Smrg	    q
580889d09728Smrg	  }
580989d09728Smrg	  /^X\(\/\).*/{
581089d09728Smrg	    s//\1/
581189d09728Smrg	    q
581289d09728Smrg	  }
581389d09728Smrg	  s/.*/./; q'`
581489d09728Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
581566fe65f6Smrg  ac_builddir=.
581666fe65f6Smrg
581789d09728Smrgcase "$ac_dir" in
581889d09728Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
581989d09728Smrg*)
582089d09728Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
582189d09728Smrg  # A ".." for each directory in $ac_dir_suffix.
582289d09728Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
582389d09728Smrg  case $ac_top_builddir_sub in
582489d09728Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
582589d09728Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
582689d09728Smrg  esac ;;
582789d09728Smrgesac
582889d09728Smrgac_abs_top_builddir=$ac_pwd
582989d09728Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
583089d09728Smrg# for backward compatibility:
583189d09728Smrgac_top_builddir=$ac_top_build_prefix
583266fe65f6Smrg
583366fe65f6Smrgcase $srcdir in
583489d09728Smrg  .)  # We are building in place.
583566fe65f6Smrg    ac_srcdir=.
583689d09728Smrg    ac_top_srcdir=$ac_top_builddir_sub
583789d09728Smrg    ac_abs_top_srcdir=$ac_pwd ;;
583889d09728Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
583966fe65f6Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
584089d09728Smrg    ac_top_srcdir=$srcdir
584189d09728Smrg    ac_abs_top_srcdir=$srcdir ;;
584289d09728Smrg  *) # Relative name.
584389d09728Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
584489d09728Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
584589d09728Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
584666fe65f6Smrgesac
584789d09728Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
584866fe65f6Smrg
584966fe65f6Smrg
585089d09728Smrg  case $ac_mode in
585189d09728Smrg  :F)
585289d09728Smrg  #
585389d09728Smrg  # CONFIG_FILE
585489d09728Smrg  #
585566fe65f6Smrg
585666fe65f6Smrg  case $INSTALL in
585766fe65f6Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
585889d09728Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
585989d09728Smrg  esac
586089d09728Smrg  ac_MKDIR_P=$MKDIR_P
586189d09728Smrg  case $MKDIR_P in
586289d09728Smrg  [\\/$]* | ?:[\\/]* ) ;;
586389d09728Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
586466fe65f6Smrg  esac
586589d09728Smrg_ACEOF
586666fe65f6Smrg
586789d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
586889d09728Smrg# If the template does not know about datarootdir, expand it.
586989d09728Smrg# FIXME: This hack should be removed a few years after 2.60.
587089d09728Smrgac_datarootdir_hack=; ac_datarootdir_seen=
587189d09728Smrgac_sed_dataroot='
587289d09728Smrg/datarootdir/ {
587389d09728Smrg  p
587489d09728Smrg  q
587589d09728Smrg}
587689d09728Smrg/@datadir@/p
587789d09728Smrg/@docdir@/p
587889d09728Smrg/@infodir@/p
587989d09728Smrg/@localedir@/p
588089d09728Smrg/@mandir@/p'
588189d09728Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
588289d09728Smrg*datarootdir*) ac_datarootdir_seen=yes;;
588389d09728Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
588489d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
588589d09728Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
588689d09728Smrg_ACEOF
588789d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
588889d09728Smrg  ac_datarootdir_hack='
588989d09728Smrg  s&@datadir@&$datadir&g
589089d09728Smrg  s&@docdir@&$docdir&g
589189d09728Smrg  s&@infodir@&$infodir&g
589289d09728Smrg  s&@localedir@&$localedir&g
589389d09728Smrg  s&@mandir@&$mandir&g
589489d09728Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
589589d09728Smrgesac
589666fe65f6Smrg_ACEOF
589789d09728Smrg
589889d09728Smrg# Neutralize VPATH when `$srcdir' = `.'.
589989d09728Smrg# Shell code in configure.ac might set extrasub.
590089d09728Smrg# FIXME: do we really want to maintain this feature?
590189d09728Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
590289d09728Smrgac_sed_extra="$ac_vpsub
590366fe65f6Smrg$extrasub
590466fe65f6Smrg_ACEOF
590589d09728Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
590666fe65f6Smrg:t
590766fe65f6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
590889d09728Smrgs|@configure_input@|$ac_sed_conf_input|;t t
590989d09728Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
591089d09728Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
591189d09728Smrgs&@srcdir@&$ac_srcdir&;t t
591289d09728Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
591389d09728Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
591489d09728Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
591589d09728Smrgs&@builddir@&$ac_builddir&;t t
591689d09728Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
591789d09728Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
591889d09728Smrgs&@INSTALL@&$ac_INSTALL&;t t
591989d09728Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
592089d09728Smrg$ac_datarootdir_hack
592189d09728Smrg"
592289d09728Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
592389d09728Smrg  || as_fn_error "could not create $ac_file" "$LINENO" 5
592489d09728Smrg
592589d09728Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
592689d09728Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
592789d09728Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
592889d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
592989d09728Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
593089d09728Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
593189d09728Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
593289d09728Smrg
593389d09728Smrg  rm -f "$tmp/stdin"
593466fe65f6Smrg  case $ac_file in
593589d09728Smrg  -) cat "$tmp/out" && rm -f "$tmp/out";;
593689d09728Smrg  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
593789d09728Smrg  esac \
593889d09728Smrg  || as_fn_error "could not create $ac_file" "$LINENO" 5
593989d09728Smrg ;;
594089d09728Smrg  :H)
594189d09728Smrg  #
594289d09728Smrg  # CONFIG_HEADER
594389d09728Smrg  #
594466fe65f6Smrg  if test x"$ac_file" != x-; then
594589d09728Smrg    {
594689d09728Smrg      $as_echo "/* $configure_input  */" \
594789d09728Smrg      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
594889d09728Smrg    } >"$tmp/config.h" \
594989d09728Smrg      || as_fn_error "could not create $ac_file" "$LINENO" 5
595089d09728Smrg    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
595189d09728Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
595289d09728Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;}
595366fe65f6Smrg    else
595489d09728Smrg      rm -f "$ac_file"
595589d09728Smrg      mv "$tmp/config.h" "$ac_file" \
595689d09728Smrg	|| as_fn_error "could not create $ac_file" "$LINENO" 5
595766fe65f6Smrg    fi
595866fe65f6Smrg  else
595989d09728Smrg    $as_echo "/* $configure_input  */" \
596089d09728Smrg      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
596189d09728Smrg      || as_fn_error "could not create -" "$LINENO" 5
596266fe65f6Smrg  fi
596389d09728Smrg# Compute "$ac_file"'s index in $config_headers.
596489d09728Smrg_am_arg="$ac_file"
596566fe65f6Smrg_am_stamp_count=1
596666fe65f6Smrgfor _am_header in $config_headers :; do
596766fe65f6Smrg  case $_am_header in
596889d09728Smrg    $_am_arg | $_am_arg:* )
596966fe65f6Smrg      break ;;
597066fe65f6Smrg    * )
597166fe65f6Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
597266fe65f6Smrg  esac
597366fe65f6Smrgdone
597489d09728Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
597589d09728Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
597689d09728Smrg	 X"$_am_arg" : 'X\(//\)[^/]' \| \
597789d09728Smrg	 X"$_am_arg" : 'X\(//\)$' \| \
597889d09728Smrg	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
597989d09728Smrg$as_echo X"$_am_arg" |
598089d09728Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
598189d09728Smrg	    s//\1/
598289d09728Smrg	    q
598389d09728Smrg	  }
598489d09728Smrg	  /^X\(\/\/\)[^/].*/{
598589d09728Smrg	    s//\1/
598689d09728Smrg	    q
598789d09728Smrg	  }
598889d09728Smrg	  /^X\(\/\/\)$/{
598989d09728Smrg	    s//\1/
599089d09728Smrg	    q
599189d09728Smrg	  }
599289d09728Smrg	  /^X\(\/\).*/{
599389d09728Smrg	    s//\1/
599489d09728Smrg	    q
599589d09728Smrg	  }
599689d09728Smrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
599789d09728Smrg ;;
599866fe65f6Smrg
599989d09728Smrg  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
600089d09728Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
600189d09728Smrg ;;
600289d09728Smrg  esac
600366fe65f6Smrg
600466fe65f6Smrg
600589d09728Smrg  case $ac_file$ac_mode in
600689d09728Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
600789d09728Smrg# are listed without --file.  Let's play safe and only enable the eval
600889d09728Smrg# if we detect the quoting.
600989d09728Smrgcase $CONFIG_FILES in
601089d09728Smrg*\'*) eval set x "$CONFIG_FILES" ;;
601189d09728Smrg*)   set x $CONFIG_FILES ;;
601266fe65f6Smrgesac
601389d09728Smrgshift
601489d09728Smrgfor mf
601589d09728Smrgdo
601666fe65f6Smrg  # Strip MF so we end up with the name of the file.
601766fe65f6Smrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
601866fe65f6Smrg  # Check whether this is an Automake generated Makefile or not.
601966fe65f6Smrg  # We used to match only the files named `Makefile.in', but
602066fe65f6Smrg  # some people rename them; so instead we look at the file content.
602166fe65f6Smrg  # Grep'ing the first line is not enough: some people post-process
602266fe65f6Smrg  # each Makefile.in and add a new line on top of each file to say so.
602389d09728Smrg  # Grep'ing the whole file is not good either: AIX grep has a line
602489d09728Smrg  # limit of 2048, but all sed's we know have understand at least 4000.
602589d09728Smrg  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
602689d09728Smrg    dirpart=`$as_dirname -- "$mf" ||
602766fe65f6Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
602866fe65f6Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
602966fe65f6Smrg	 X"$mf" : 'X\(//\)$' \| \
603089d09728Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
603189d09728Smrg$as_echo X"$mf" |
603289d09728Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
603389d09728Smrg	    s//\1/
603489d09728Smrg	    q
603589d09728Smrg	  }
603689d09728Smrg	  /^X\(\/\/\)[^/].*/{
603789d09728Smrg	    s//\1/
603889d09728Smrg	    q
603989d09728Smrg	  }
604089d09728Smrg	  /^X\(\/\/\)$/{
604189d09728Smrg	    s//\1/
604289d09728Smrg	    q
604389d09728Smrg	  }
604489d09728Smrg	  /^X\(\/\).*/{
604589d09728Smrg	    s//\1/
604689d09728Smrg	    q
604789d09728Smrg	  }
604889d09728Smrg	  s/.*/./; q'`
604966fe65f6Smrg  else
605066fe65f6Smrg    continue
605166fe65f6Smrg  fi
605266fe65f6Smrg  # Extract the definition of DEPDIR, am__include, and am__quote
605366fe65f6Smrg  # from the Makefile without running `make'.
605466fe65f6Smrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
605566fe65f6Smrg  test -z "$DEPDIR" && continue
605666fe65f6Smrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
605766fe65f6Smrg  test -z "am__include" && continue
605866fe65f6Smrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
605966fe65f6Smrg  # When using ansi2knr, U may be empty or an underscore; expand it
606066fe65f6Smrg  U=`sed -n 's/^U = //p' < "$mf"`
606166fe65f6Smrg  # Find all dependency output files, they are included files with
606266fe65f6Smrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
606366fe65f6Smrg  # simplest approach to changing $(DEPDIR) to its actual value in the
606466fe65f6Smrg  # expansion.
606566fe65f6Smrg  for file in `sed -n "
606666fe65f6Smrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
606766fe65f6Smrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
606866fe65f6Smrg    # Make sure the directory exists.
606966fe65f6Smrg    test -f "$dirpart/$file" && continue
607089d09728Smrg    fdir=`$as_dirname -- "$file" ||
607166fe65f6Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
607266fe65f6Smrg	 X"$file" : 'X\(//\)[^/]' \| \
607366fe65f6Smrg	 X"$file" : 'X\(//\)$' \| \
607489d09728Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
607589d09728Smrg$as_echo X"$file" |
607689d09728Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
607789d09728Smrg	    s//\1/
607889d09728Smrg	    q
607989d09728Smrg	  }
608089d09728Smrg	  /^X\(\/\/\)[^/].*/{
608189d09728Smrg	    s//\1/
608289d09728Smrg	    q
608389d09728Smrg	  }
608489d09728Smrg	  /^X\(\/\/\)$/{
608589d09728Smrg	    s//\1/
608689d09728Smrg	    q
608789d09728Smrg	  }
608889d09728Smrg	  /^X\(\/\).*/{
608989d09728Smrg	    s//\1/
609089d09728Smrg	    q
609189d09728Smrg	  }
609289d09728Smrg	  s/.*/./; q'`
609389d09728Smrg    as_dir=$dirpart/$fdir; as_fn_mkdir_p
609466fe65f6Smrg    # echo "creating $dirpart/$file"
609566fe65f6Smrg    echo '# dummy' > "$dirpart/$file"
609666fe65f6Smrg  done
609766fe65f6Smrgdone
609866fe65f6Smrg ;;
609989d09728Smrg
610066fe65f6Smrg  esac
610189d09728Smrgdone # for ac_tag
610266fe65f6Smrg
610366fe65f6Smrg
610489d09728Smrgas_fn_exit 0
610566fe65f6Smrg_ACEOF
610666fe65f6Smrgac_clean_files=$ac_clean_files_save
610766fe65f6Smrg
610889d09728Smrgtest $ac_write_fail = 0 ||
610989d09728Smrg  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
611089d09728Smrg
611166fe65f6Smrg
611266fe65f6Smrg# configure is writing to config.log, and then calls config.status.
611366fe65f6Smrg# config.status does its own redirection, appending to config.log.
611466fe65f6Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
611566fe65f6Smrg# by configure, so config.status won't be able to write to it; its
611666fe65f6Smrg# output is simply discarded.  So we exec the FD to /dev/null,
611766fe65f6Smrg# effectively closing config.log, so it can be properly (re)opened and
611866fe65f6Smrg# appended to by config.status.  When coming back to configure, we
611966fe65f6Smrg# need to make the FD available again.
612066fe65f6Smrgif test "$no_create" != yes; then
612166fe65f6Smrg  ac_cs_success=:
612266fe65f6Smrg  ac_config_status_args=
612366fe65f6Smrg  test "$silent" = yes &&
612466fe65f6Smrg    ac_config_status_args="$ac_config_status_args --quiet"
612566fe65f6Smrg  exec 5>/dev/null
612666fe65f6Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
612766fe65f6Smrg  exec 5>>config.log
612866fe65f6Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
612966fe65f6Smrg  # would make configure fail if this is the last instruction.
613089d09728Smrg  $ac_cs_success || as_fn_exit $?
613189d09728Smrgfi
613289d09728Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
613389d09728Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
613489d09728Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
613566fe65f6Smrgfi
613666fe65f6Smrg
6137