configure revision 44d8e951
1ded1caa4Smrg#! /bin/sh
2ded1caa4Smrg# Guess values for system-dependent variables and create Makefiles.
344d8e951Smrg# Generated by GNU Autoconf 2.68 for font-bitstream-75dpi 1.0.3.
4ded1caa4Smrg#
5ded1caa4Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6ded1caa4Smrg#
744d8e951Smrg#
850539131Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
944d8e951Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
1044d8e951Smrg# Foundation, Inc.
1144d8e951Smrg#
1244d8e951Smrg#
13ded1caa4Smrg# This configure script is free software; the Free Software Foundation
14ded1caa4Smrg# gives unlimited permission to copy, distribute and modify it.
1544d8e951Smrg## -------------------- ##
1644d8e951Smrg## M4sh Initialization. ##
1744d8e951Smrg## -------------------- ##
18ded1caa4Smrg
1950539131Smrg# Be more Bourne compatible
2050539131SmrgDUALCASE=1; export DUALCASE # for MKS sh
2144d8e951Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22ded1caa4Smrg  emulate sh
23ded1caa4Smrg  NULLCMD=:
2450539131Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25ded1caa4Smrg  # is contrary to our usage.  Disable this feature.
26ded1caa4Smrg  alias -g '${1+"$@"}'='"$@"'
2750539131Smrg  setopt NO_GLOB_SUBST
2850539131Smrgelse
2944d8e951Smrg  case `(set -o) 2>/dev/null` in #(
3044d8e951Smrg  *posix*) :
3144d8e951Smrg    set -o posix ;; #(
3244d8e951Smrg  *) :
3344d8e951Smrg     ;;
3450539131Smrgesac
3550539131Smrgfi
3650539131Smrg
3750539131Smrg
3850539131Smrgas_nl='
3950539131Smrg'
4050539131Smrgexport as_nl
4150539131Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
4250539131Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4350539131Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4450539131Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4544d8e951Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
4644d8e951Smrg# but without wasting forks for bash or zsh.
4744d8e951Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
4844d8e951Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4944d8e951Smrg  as_echo='print -r --'
5044d8e951Smrg  as_echo_n='print -rn --'
5144d8e951Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5250539131Smrg  as_echo='printf %s\n'
5350539131Smrg  as_echo_n='printf %s'
5450539131Smrgelse
5550539131Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5650539131Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5750539131Smrg    as_echo_n='/usr/ucb/echo -n'
5850539131Smrg  else
5950539131Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6050539131Smrg    as_echo_n_body='eval
6150539131Smrg      arg=$1;
6244d8e951Smrg      case $arg in #(
6350539131Smrg      *"$as_nl"*)
6450539131Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
6550539131Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6650539131Smrg      esac;
6750539131Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6850539131Smrg    '
6950539131Smrg    export as_echo_n_body
7050539131Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
7150539131Smrg  fi
7250539131Smrg  export as_echo_body
7350539131Smrg  as_echo='sh -c $as_echo_body as_echo'
7450539131Smrgfi
7550539131Smrg
7650539131Smrg# The user is always right.
7750539131Smrgif test "${PATH_SEPARATOR+set}" != set; then
7850539131Smrg  PATH_SEPARATOR=:
7950539131Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8050539131Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8150539131Smrg      PATH_SEPARATOR=';'
8250539131Smrg  }
83ded1caa4Smrgfi
84ded1caa4Smrg
85ded1caa4Smrg
8650539131Smrg# IFS
8750539131Smrg# We need space, tab and new line, in precisely that order.  Quoting is
8850539131Smrg# there to prevent editors from complaining about space-tab.
8950539131Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9050539131Smrg# splitting by setting IFS to empty value.)
9150539131SmrgIFS=" ""	$as_nl"
9250539131Smrg
9350539131Smrg# Find who we are.  Look in the path if we contain no directory separator.
9444d8e951Smrgas_myself=
9544d8e951Smrgcase $0 in #((
9650539131Smrg  *[\\/]* ) as_myself=$0 ;;
9750539131Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9850539131Smrgfor as_dir in $PATH
9950539131Smrgdo
10050539131Smrg  IFS=$as_save_IFS
10150539131Smrg  test -z "$as_dir" && as_dir=.
10244d8e951Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10344d8e951Smrg  done
10450539131SmrgIFS=$as_save_IFS
10550539131Smrg
10650539131Smrg     ;;
10750539131Smrgesac
10850539131Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
10950539131Smrg# in which case we are not to be found in the path.
11050539131Smrgif test "x$as_myself" = x; then
11150539131Smrg  as_myself=$0
11250539131Smrgfi
11350539131Smrgif test ! -f "$as_myself"; then
11450539131Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11544d8e951Smrg  exit 1
11650539131Smrgfi
11750539131Smrg
11844d8e951Smrg# Unset variables that we do not need and which cause bugs (e.g. in
11944d8e951Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12044d8e951Smrg# suppresses any "Segmentation fault" message there.  '((' could
12144d8e951Smrg# trigger a bug in pdksh 5.2.14.
12244d8e951Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
12344d8e951Smrgdo eval test x\${$as_var+set} = xset \
12444d8e951Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12550539131Smrgdone
126ded1caa4SmrgPS1='$ '
127ded1caa4SmrgPS2='> '
128ded1caa4SmrgPS4='+ '
129ded1caa4Smrg
130ded1caa4Smrg# NLS nuisances.
13150539131SmrgLC_ALL=C
13250539131Smrgexport LC_ALL
13350539131SmrgLANGUAGE=C
13450539131Smrgexport LANGUAGE
135ded1caa4Smrg
13644d8e951Smrg# CDPATH.
13744d8e951Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13844d8e951Smrg
13944d8e951Smrgif test "x$CONFIG_SHELL" = x; then
14044d8e951Smrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
14144d8e951Smrg  emulate sh
14244d8e951Smrg  NULLCMD=:
14344d8e951Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
14444d8e951Smrg  # is contrary to our usage.  Disable this feature.
14544d8e951Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
14644d8e951Smrg  setopt NO_GLOB_SUBST
14744d8e951Smrgelse
14844d8e951Smrg  case \`(set -o) 2>/dev/null\` in #(
14944d8e951Smrg  *posix*) :
15044d8e951Smrg    set -o posix ;; #(
15144d8e951Smrg  *) :
15244d8e951Smrg     ;;
15344d8e951Smrgesac
15444d8e951Smrgfi
15544d8e951Smrg"
15644d8e951Smrg  as_required="as_fn_return () { (exit \$1); }
15744d8e951Smrgas_fn_success () { as_fn_return 0; }
15844d8e951Smrgas_fn_failure () { as_fn_return 1; }
15944d8e951Smrgas_fn_ret_success () { return 0; }
16044d8e951Smrgas_fn_ret_failure () { return 1; }
16144d8e951Smrg
16244d8e951Smrgexitcode=0
16344d8e951Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
16444d8e951Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
16544d8e951Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
16644d8e951Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
16744d8e951Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
16844d8e951Smrg
16944d8e951Smrgelse
17044d8e951Smrg  exitcode=1; echo positional parameters were not saved.
17144d8e951Smrgfi
17244d8e951Smrgtest x\$exitcode = x0 || exit 1"
17344d8e951Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
17444d8e951Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
17544d8e951Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
17644d8e951Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
17744d8e951Smrgtest \$(( 1 + 1 )) = 2 || exit 1"
17844d8e951Smrg  if (eval "$as_required") 2>/dev/null; then :
17944d8e951Smrg  as_have_required=yes
18044d8e951Smrgelse
18144d8e951Smrg  as_have_required=no
18244d8e951Smrgfi
18344d8e951Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
18444d8e951Smrg
18544d8e951Smrgelse
18644d8e951Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18744d8e951Smrgas_found=false
18844d8e951Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
18944d8e951Smrgdo
19044d8e951Smrg  IFS=$as_save_IFS
19144d8e951Smrg  test -z "$as_dir" && as_dir=.
19244d8e951Smrg  as_found=:
19344d8e951Smrg  case $as_dir in #(
19444d8e951Smrg	 /*)
19544d8e951Smrg	   for as_base in sh bash ksh sh5; do
19644d8e951Smrg	     # Try only shells that exist, to save several forks.
19744d8e951Smrg	     as_shell=$as_dir/$as_base
19844d8e951Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
19944d8e951Smrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
20044d8e951Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
20144d8e951Smrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
20244d8e951Smrg  break 2
20344d8e951Smrgfi
20444d8e951Smrgfi
20544d8e951Smrg	   done;;
20644d8e951Smrg       esac
20744d8e951Smrg  as_found=false
20844d8e951Smrgdone
20944d8e951Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
21044d8e951Smrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
21144d8e951Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
21244d8e951Smrgfi; }
21344d8e951SmrgIFS=$as_save_IFS
21444d8e951Smrg
21544d8e951Smrg
21644d8e951Smrg      if test "x$CONFIG_SHELL" != x; then :
21744d8e951Smrg  # We cannot yet assume a decent shell, so we have to provide a
21844d8e951Smrg	# neutralization value for shells without unset; and this also
21944d8e951Smrg	# works around shells that cannot unset nonexistent variables.
22044d8e951Smrg	# Preserve -v and -x to the replacement shell.
22144d8e951Smrg	BASH_ENV=/dev/null
22244d8e951Smrg	ENV=/dev/null
22344d8e951Smrg	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
22444d8e951Smrg	export CONFIG_SHELL
22544d8e951Smrg	case $- in # ((((
22644d8e951Smrg	  *v*x* | *x*v* ) as_opts=-vx ;;
22744d8e951Smrg	  *v* ) as_opts=-v ;;
22844d8e951Smrg	  *x* ) as_opts=-x ;;
22944d8e951Smrg	  * ) as_opts= ;;
23044d8e951Smrg	esac
23144d8e951Smrg	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
23244d8e951Smrgfi
23344d8e951Smrg
23444d8e951Smrg    if test x$as_have_required = xno; then :
23544d8e951Smrg  $as_echo "$0: This script requires a shell more modern than all"
23644d8e951Smrg  $as_echo "$0: the shells that I found on your system."
23744d8e951Smrg  if test x${ZSH_VERSION+set} = xset ; then
23844d8e951Smrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
23944d8e951Smrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
24044d8e951Smrg  else
24144d8e951Smrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
24244d8e951Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
24344d8e951Smrg$0: about your system, including any error possibly output
24444d8e951Smrg$0: before this message. Then install a modern shell, or
24544d8e951Smrg$0: manually run the script under such a shell if you do
24644d8e951Smrg$0: have one."
24744d8e951Smrg  fi
24844d8e951Smrg  exit 1
24944d8e951Smrgfi
25044d8e951Smrgfi
25144d8e951Smrgfi
25244d8e951SmrgSHELL=${CONFIG_SHELL-/bin/sh}
25344d8e951Smrgexport SHELL
25444d8e951Smrg# Unset more variables known to interfere with behavior of common tools.
25544d8e951SmrgCLICOLOR_FORCE= GREP_OPTIONS=
25644d8e951Smrgunset CLICOLOR_FORCE GREP_OPTIONS
25744d8e951Smrg
25844d8e951Smrg## --------------------- ##
25944d8e951Smrg## M4sh Shell Functions. ##
26044d8e951Smrg## --------------------- ##
26144d8e951Smrg# as_fn_unset VAR
26244d8e951Smrg# ---------------
26344d8e951Smrg# Portably unset VAR.
26444d8e951Smrgas_fn_unset ()
26544d8e951Smrg{
26644d8e951Smrg  { eval $1=; unset $1;}
26744d8e951Smrg}
26844d8e951Smrgas_unset=as_fn_unset
26944d8e951Smrg
27044d8e951Smrg# as_fn_set_status STATUS
27144d8e951Smrg# -----------------------
27244d8e951Smrg# Set $? to STATUS, without forking.
27344d8e951Smrgas_fn_set_status ()
27444d8e951Smrg{
27544d8e951Smrg  return $1
27644d8e951Smrg} # as_fn_set_status
27744d8e951Smrg
27844d8e951Smrg# as_fn_exit STATUS
27944d8e951Smrg# -----------------
28044d8e951Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
28144d8e951Smrgas_fn_exit ()
28244d8e951Smrg{
28344d8e951Smrg  set +e
28444d8e951Smrg  as_fn_set_status $1
28544d8e951Smrg  exit $1
28644d8e951Smrg} # as_fn_exit
28744d8e951Smrg
28844d8e951Smrg# as_fn_mkdir_p
28944d8e951Smrg# -------------
29044d8e951Smrg# Create "$as_dir" as a directory, including parents if necessary.
29144d8e951Smrgas_fn_mkdir_p ()
29244d8e951Smrg{
29344d8e951Smrg
29444d8e951Smrg  case $as_dir in #(
29544d8e951Smrg  -*) as_dir=./$as_dir;;
29644d8e951Smrg  esac
29744d8e951Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
29844d8e951Smrg    as_dirs=
29944d8e951Smrg    while :; do
30044d8e951Smrg      case $as_dir in #(
30144d8e951Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
30244d8e951Smrg      *) as_qdir=$as_dir;;
30344d8e951Smrg      esac
30444d8e951Smrg      as_dirs="'$as_qdir' $as_dirs"
30544d8e951Smrg      as_dir=`$as_dirname -- "$as_dir" ||
30644d8e951Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30744d8e951Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
30844d8e951Smrg	 X"$as_dir" : 'X\(//\)$' \| \
30944d8e951Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31044d8e951Smrg$as_echo X"$as_dir" |
31144d8e951Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31244d8e951Smrg	    s//\1/
31344d8e951Smrg	    q
31444d8e951Smrg	  }
31544d8e951Smrg	  /^X\(\/\/\)[^/].*/{
31644d8e951Smrg	    s//\1/
31744d8e951Smrg	    q
31844d8e951Smrg	  }
31944d8e951Smrg	  /^X\(\/\/\)$/{
32044d8e951Smrg	    s//\1/
32144d8e951Smrg	    q
32244d8e951Smrg	  }
32344d8e951Smrg	  /^X\(\/\).*/{
32444d8e951Smrg	    s//\1/
32544d8e951Smrg	    q
32644d8e951Smrg	  }
32744d8e951Smrg	  s/.*/./; q'`
32844d8e951Smrg      test -d "$as_dir" && break
32944d8e951Smrg    done
33044d8e951Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
33144d8e951Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
33244d8e951Smrg
33344d8e951Smrg
33444d8e951Smrg} # as_fn_mkdir_p
33544d8e951Smrg# as_fn_append VAR VALUE
33644d8e951Smrg# ----------------------
33744d8e951Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
33844d8e951Smrg# advantage of any shell optimizations that allow amortized linear growth over
33944d8e951Smrg# repeated appends, instead of the typical quadratic growth present in naive
34044d8e951Smrg# implementations.
34144d8e951Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34244d8e951Smrg  eval 'as_fn_append ()
34344d8e951Smrg  {
34444d8e951Smrg    eval $1+=\$2
34544d8e951Smrg  }'
34644d8e951Smrgelse
34744d8e951Smrg  as_fn_append ()
34844d8e951Smrg  {
34944d8e951Smrg    eval $1=\$$1\$2
35044d8e951Smrg  }
35144d8e951Smrgfi # as_fn_append
35244d8e951Smrg
35344d8e951Smrg# as_fn_arith ARG...
35444d8e951Smrg# ------------------
35544d8e951Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
35644d8e951Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
35744d8e951Smrg# must be portable across $(()) and expr.
35844d8e951Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
35944d8e951Smrg  eval 'as_fn_arith ()
36044d8e951Smrg  {
36144d8e951Smrg    as_val=$(( $* ))
36244d8e951Smrg  }'
36344d8e951Smrgelse
36444d8e951Smrg  as_fn_arith ()
36544d8e951Smrg  {
36644d8e951Smrg    as_val=`expr "$@" || test $? -eq 1`
36744d8e951Smrg  }
36844d8e951Smrgfi # as_fn_arith
36944d8e951Smrg
37044d8e951Smrg
37144d8e951Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
37244d8e951Smrg# ----------------------------------------
37344d8e951Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
37444d8e951Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
37544d8e951Smrg# script with STATUS, using 1 if that was 0.
37644d8e951Smrgas_fn_error ()
37744d8e951Smrg{
37844d8e951Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
37944d8e951Smrg  if test "$4"; then
38044d8e951Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
38144d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
38244d8e951Smrg  fi
38344d8e951Smrg  $as_echo "$as_me: error: $2" >&2
38444d8e951Smrg  as_fn_exit $as_status
38544d8e951Smrg} # as_fn_error
38644d8e951Smrg
38750539131Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
38850539131Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389ded1caa4Smrg  as_expr=expr
390ded1caa4Smrgelse
391ded1caa4Smrg  as_expr=false
392ded1caa4Smrgfi
393ded1caa4Smrg
39450539131Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395ded1caa4Smrg  as_basename=basename
396ded1caa4Smrgelse
397ded1caa4Smrg  as_basename=false
398ded1caa4Smrgfi
399ded1caa4Smrg
40044d8e951Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
40144d8e951Smrg  as_dirname=dirname
40244d8e951Smrgelse
40344d8e951Smrg  as_dirname=false
40444d8e951Smrgfi
405ded1caa4Smrg
40650539131Smrgas_me=`$as_basename -- "$0" ||
407ded1caa4Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408ded1caa4Smrg	 X"$0" : 'X\(//\)$' \| \
40950539131Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41050539131Smrg$as_echo X/"$0" |
41150539131Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
41250539131Smrg	    s//\1/
41350539131Smrg	    q
41450539131Smrg	  }
41550539131Smrg	  /^X\/\(\/\/\)$/{
41650539131Smrg	    s//\1/
41750539131Smrg	    q
41850539131Smrg	  }
41950539131Smrg	  /^X\/\(\/\).*/{
42050539131Smrg	    s//\1/
42150539131Smrg	    q
42250539131Smrg	  }
42350539131Smrg	  s/.*/./; q'`
424ded1caa4Smrg
42544d8e951Smrg# Avoid depending upon Character Ranges.
42644d8e951Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
42744d8e951Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42844d8e951Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
42944d8e951Smrgas_cr_digits='0123456789'
43044d8e951Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
431ded1caa4Smrg
432ded1caa4Smrg
43344d8e951Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
43444d8e951Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
43544d8e951Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
43644d8e951Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
43744d8e951Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
43844d8e951Smrg  sed -n '
43944d8e951Smrg    p
44044d8e951Smrg    /[$]LINENO/=
44144d8e951Smrg  ' <$as_myself |
44244d8e951Smrg    sed '
44344d8e951Smrg      s/[$]LINENO.*/&-/
44444d8e951Smrg      t lineno
44544d8e951Smrg      b
44644d8e951Smrg      :lineno
44744d8e951Smrg      N
44844d8e951Smrg      :loop
44944d8e951Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
45044d8e951Smrg      t loop
45144d8e951Smrg      s/-\n.*//
45244d8e951Smrg    ' >$as_me.lineno &&
45344d8e951Smrg  chmod +x "$as_me.lineno" ||
45444d8e951Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455ded1caa4Smrg
45644d8e951Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
45744d8e951Smrg  # (the dirname of $[0] is not the place where we might find the
45844d8e951Smrg  # original and so on.  Autoconf is especially sensitive to this).
45944d8e951Smrg  . "./$as_me.lineno"
46044d8e951Smrg  # Exit status is that of the last command.
46144d8e951Smrg  exit
46250539131Smrg}
463ded1caa4Smrg
46444d8e951SmrgECHO_C= ECHO_N= ECHO_T=
46544d8e951Smrgcase `echo -n x` in #(((((
46644d8e951Smrg-n*)
46744d8e951Smrg  case `echo 'xy\c'` in
46844d8e951Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
46944d8e951Smrg  xy)  ECHO_C='\c';;
47044d8e951Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
47144d8e951Smrg       ECHO_T='	';;
47244d8e951Smrg  esac;;
47344d8e951Smrg*)
47444d8e951Smrg  ECHO_N='-n';;
47544d8e951Smrgesac
476ded1caa4Smrg
47744d8e951Smrgrm -f conf$$ conf$$.exe conf$$.file
47844d8e951Smrgif test -d conf$$.dir; then
47944d8e951Smrg  rm -f conf$$.dir/conf$$.file
48044d8e951Smrgelse
48144d8e951Smrg  rm -f conf$$.dir
48244d8e951Smrg  mkdir conf$$.dir 2>/dev/null
48350539131Smrgfi
48444d8e951Smrgif (echo >conf$$.file) 2>/dev/null; then
48544d8e951Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
48644d8e951Smrg    as_ln_s='ln -s'
48744d8e951Smrg    # ... but there are two gotchas:
48844d8e951Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
48944d8e951Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49044d8e951Smrg    # In both cases, we have to default to `cp -p'.
49144d8e951Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49244d8e951Smrg      as_ln_s='cp -p'
49344d8e951Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
49444d8e951Smrg    as_ln_s=ln
49544d8e951Smrg  else
49644d8e951Smrg    as_ln_s='cp -p'
49744d8e951Smrg  fi
49850539131Smrgelse
49944d8e951Smrg  as_ln_s='cp -p'
50050539131Smrgfi
50144d8e951Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50244d8e951Smrgrmdir conf$$.dir 2>/dev/null
50350539131Smrg
50444d8e951Smrgif mkdir -p . 2>/dev/null; then
50544d8e951Smrg  as_mkdir_p='mkdir -p "$as_dir"'
50644d8e951Smrgelse
50744d8e951Smrg  test -d ./-p && rmdir ./-p
50844d8e951Smrg  as_mkdir_p=false
50950539131Smrgfi
51050539131Smrg
51144d8e951Smrgif test -x / >/dev/null 2>&1; then
51244d8e951Smrg  as_test_x='test -x'
51350539131Smrgelse
51444d8e951Smrg  if ls -dL / >/dev/null 2>&1; then
51544d8e951Smrg    as_ls_L_option=L
51644d8e951Smrg  else
51744d8e951Smrg    as_ls_L_option=
51844d8e951Smrg  fi
51944d8e951Smrg  as_test_x='
52044d8e951Smrg    eval sh -c '\''
52144d8e951Smrg      if test -d "$1"; then
52244d8e951Smrg	test -d "$1/.";
52344d8e951Smrg      else
52444d8e951Smrg	case $1 in #(
52544d8e951Smrg	-*)set "./$1";;
52644d8e951Smrg	esac;
52744d8e951Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
52844d8e951Smrg	???[sx]*):;;*)false;;esac;fi
52944d8e951Smrg    '\'' sh
53044d8e951Smrg  '
53150539131Smrgfi
53244d8e951Smrgas_executable_p=$as_test_x
53350539131Smrg
53444d8e951Smrg# Sed expression to map a string onto a valid CPP name.
53544d8e951Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53650539131Smrg
53744d8e951Smrg# Sed expression to map a string onto a valid variable name.
53844d8e951Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53950539131Smrg
54050539131Smrg
54144d8e951Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
54244d8e951Smrgexec 6>&1
543ded1caa4Smrg
544ded1caa4Smrg# Name of the host.
54544d8e951Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546ded1caa4Smrg# so uname gets run too.
547ded1caa4Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548ded1caa4Smrg
549ded1caa4Smrg#
550ded1caa4Smrg# Initializations.
551ded1caa4Smrg#
552ded1caa4Smrgac_default_prefix=/usr/local
55350539131Smrgac_clean_files=
554ded1caa4Smrgac_config_libobj_dir=.
55550539131SmrgLIBOBJS=
556ded1caa4Smrgcross_compiling=no
557ded1caa4Smrgsubdirs=
558ded1caa4SmrgMFLAGS=
559ded1caa4SmrgMAKEFLAGS=
560ded1caa4Smrg
561ded1caa4Smrg# Identity of this package.
562ded1caa4SmrgPACKAGE_NAME='font-bitstream-75dpi'
563ded1caa4SmrgPACKAGE_TARNAME='font-bitstream-75dpi'
56444d8e951SmrgPACKAGE_VERSION='1.0.3'
56544d8e951SmrgPACKAGE_STRING='font-bitstream-75dpi 1.0.3'
566ded1caa4SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
56744d8e951SmrgPACKAGE_URL=''
568ded1caa4Smrg
56950539131Smrg# Factoring default headers for most tests.
57050539131Smrgac_includes_default="\
57150539131Smrg#include <stdio.h>
57250539131Smrg#ifdef HAVE_SYS_TYPES_H
57350539131Smrg# include <sys/types.h>
57450539131Smrg#endif
57550539131Smrg#ifdef HAVE_SYS_STAT_H
57650539131Smrg# include <sys/stat.h>
57750539131Smrg#endif
57850539131Smrg#ifdef STDC_HEADERS
57950539131Smrg# include <stdlib.h>
58050539131Smrg# include <stddef.h>
58150539131Smrg#else
58250539131Smrg# ifdef HAVE_STDLIB_H
58350539131Smrg#  include <stdlib.h>
58450539131Smrg# endif
58550539131Smrg#endif
58650539131Smrg#ifdef HAVE_STRING_H
58750539131Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
58850539131Smrg#  include <memory.h>
58950539131Smrg# endif
59050539131Smrg# include <string.h>
59150539131Smrg#endif
59250539131Smrg#ifdef HAVE_STRINGS_H
59350539131Smrg# include <strings.h>
59450539131Smrg#endif
59550539131Smrg#ifdef HAVE_INTTYPES_H
59650539131Smrg# include <inttypes.h>
59750539131Smrg#endif
59850539131Smrg#ifdef HAVE_STDINT_H
59950539131Smrg# include <stdint.h>
60050539131Smrg#endif
60150539131Smrg#ifdef HAVE_UNISTD_H
60250539131Smrg# include <unistd.h>
60350539131Smrg#endif"
60450539131Smrg
60550539131Smrgac_subst_vars='am__EXEEXT_FALSE
60650539131Smrgam__EXEEXT_TRUE
60750539131SmrgLTLIBOBJS
60850539131SmrgLIBOBJS
60950539131SmrgCOMPRESS_SUFFIX
61050539131SmrgCOMPRESS
61150539131SmrgBDFTOPCF
61250539131SmrgMKFONTDIR
61350539131SmrgRUN_FCCACHE
61450539131SmrgFCCACHE
61550539131SmrgFONTDIR
61650539131SmrgFONTROOTDIR
61744d8e951SmrgAM_BACKSLASH
61844d8e951SmrgAM_DEFAULT_VERBOSITY
61944d8e951SmrgMAN_SUBSTS
62044d8e951SmrgXORG_MAN_PAGE
62150539131SmrgADMIN_MAN_DIR
62250539131SmrgDRIVER_MAN_DIR
62350539131SmrgMISC_MAN_DIR
62450539131SmrgFILE_MAN_DIR
62550539131SmrgLIB_MAN_DIR
62650539131SmrgAPP_MAN_DIR
62750539131SmrgADMIN_MAN_SUFFIX
62850539131SmrgDRIVER_MAN_SUFFIX
62950539131SmrgMISC_MAN_SUFFIX
63050539131SmrgFILE_MAN_SUFFIX
63150539131SmrgLIB_MAN_SUFFIX
63250539131SmrgAPP_MAN_SUFFIX
63344d8e951SmrgSED
63450539131Smrghost_os
63550539131Smrghost_vendor
63650539131Smrghost_cpu
63750539131Smrghost
63850539131Smrgbuild_os
63950539131Smrgbuild_vendor
64050539131Smrgbuild_cpu
64150539131Smrgbuild
64244d8e951SmrgINSTALL_CMD
64344d8e951SmrgPKG_CONFIG_LIBDIR
64444d8e951SmrgPKG_CONFIG_PATH
64544d8e951SmrgPKG_CONFIG
64650539131SmrgCHANGELOG_CMD
64750539131SmrgCWARNFLAGS
64850539131SmrgEGREP
64950539131SmrgGREP
65050539131SmrgCPP
65150539131Smrgam__fastdepCC_FALSE
65250539131Smrgam__fastdepCC_TRUE
65350539131SmrgCCDEPMODE
65450539131SmrgAMDEPBACKSLASH
65550539131SmrgAMDEP_FALSE
65650539131SmrgAMDEP_TRUE
65750539131Smrgam__quote
65850539131Smrgam__include
65950539131SmrgDEPDIR
66050539131SmrgOBJEXT
66150539131SmrgEXEEXT
66250539131Smrgac_ct_CC
66350539131SmrgCPPFLAGS
66450539131SmrgLDFLAGS
66550539131SmrgCFLAGS
66650539131SmrgCC
66750539131SmrgMAINT
66850539131SmrgMAINTAINER_MODE_FALSE
66950539131SmrgMAINTAINER_MODE_TRUE
67050539131Smrgam__untar
67150539131Smrgam__tar
67250539131SmrgAMTAR
67350539131Smrgam__leading_dot
67450539131SmrgSET_MAKE
67550539131SmrgAWK
67650539131Smrgmkdir_p
67750539131SmrgMKDIR_P
67850539131SmrgINSTALL_STRIP_PROGRAM
67950539131SmrgSTRIP
68050539131Smrginstall_sh
68150539131SmrgMAKEINFO
68250539131SmrgAUTOHEADER
68350539131SmrgAUTOMAKE
68450539131SmrgAUTOCONF
68550539131SmrgACLOCAL
68650539131SmrgVERSION
68750539131SmrgPACKAGE
68850539131SmrgCYGPATH_W
68950539131Smrgam__isrc
69050539131SmrgINSTALL_DATA
69150539131SmrgINSTALL_SCRIPT
69250539131SmrgINSTALL_PROGRAM
69350539131Smrgtarget_alias
69450539131Smrghost_alias
69550539131Smrgbuild_alias
69650539131SmrgLIBS
69750539131SmrgECHO_T
69850539131SmrgECHO_N
69950539131SmrgECHO_C
70050539131SmrgDEFS
70150539131Smrgmandir
70250539131Smrglocaledir
70350539131Smrglibdir
70450539131Smrgpsdir
70550539131Smrgpdfdir
70650539131Smrgdvidir
70750539131Smrghtmldir
70850539131Smrginfodir
70950539131Smrgdocdir
71050539131Smrgoldincludedir
71150539131Smrgincludedir
71250539131Smrglocalstatedir
71350539131Smrgsharedstatedir
71450539131Smrgsysconfdir
71550539131Smrgdatadir
71650539131Smrgdatarootdir
71750539131Smrglibexecdir
71850539131Smrgsbindir
71950539131Smrgbindir
72050539131Smrgprogram_transform_name
72150539131Smrgprefix
72250539131Smrgexec_prefix
72344d8e951SmrgPACKAGE_URL
72450539131SmrgPACKAGE_BUGREPORT
72550539131SmrgPACKAGE_STRING
72650539131SmrgPACKAGE_VERSION
72750539131SmrgPACKAGE_TARNAME
72850539131SmrgPACKAGE_NAME
72950539131SmrgPATH_SEPARATOR
73050539131SmrgSHELL'
731ded1caa4Smrgac_subst_files=''
73250539131Smrgac_user_opts='
73350539131Smrgenable_option_checking
73450539131Smrgenable_maintainer_mode
73550539131Smrgenable_dependency_tracking
73650539131Smrgenable_strict_compilation
73744d8e951Smrgenable_silent_rules
73850539131Smrgwith_fontrootdir
73950539131Smrgwith_fontdir
74050539131Smrgwith_compression
74150539131Smrg'
74250539131Smrg      ac_precious_vars='build_alias
74350539131Smrghost_alias
74450539131Smrgtarget_alias
74550539131SmrgCC
74650539131SmrgCFLAGS
74750539131SmrgLDFLAGS
74850539131SmrgLIBS
74950539131SmrgCPPFLAGS
75050539131SmrgCPP
75144d8e951SmrgPKG_CONFIG
75244d8e951SmrgPKG_CONFIG_PATH
75344d8e951SmrgPKG_CONFIG_LIBDIR'
75450539131Smrg
755ded1caa4Smrg
756ded1caa4Smrg# Initialize some variables set by options.
757ded1caa4Smrgac_init_help=
758ded1caa4Smrgac_init_version=false
75950539131Smrgac_unrecognized_opts=
76050539131Smrgac_unrecognized_sep=
761ded1caa4Smrg# The variables have the same names as the options, with
762ded1caa4Smrg# dashes changed to underlines.
763ded1caa4Smrgcache_file=/dev/null
764ded1caa4Smrgexec_prefix=NONE
765ded1caa4Smrgno_create=
766ded1caa4Smrgno_recursion=
767ded1caa4Smrgprefix=NONE
768ded1caa4Smrgprogram_prefix=NONE
769ded1caa4Smrgprogram_suffix=NONE
770ded1caa4Smrgprogram_transform_name=s,x,x,
771ded1caa4Smrgsilent=
772ded1caa4Smrgsite=
773ded1caa4Smrgsrcdir=
774ded1caa4Smrgverbose=
775ded1caa4Smrgx_includes=NONE
776ded1caa4Smrgx_libraries=NONE
777ded1caa4Smrg
778ded1caa4Smrg# Installation directory options.
779ded1caa4Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
780ded1caa4Smrg# and all the variables that are supposed to be based on exec_prefix
781ded1caa4Smrg# by default will actually change.
782ded1caa4Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
78350539131Smrg# (The list follows the same order as the GNU Coding Standards.)
784ded1caa4Smrgbindir='${exec_prefix}/bin'
785ded1caa4Smrgsbindir='${exec_prefix}/sbin'
786ded1caa4Smrglibexecdir='${exec_prefix}/libexec'
78750539131Smrgdatarootdir='${prefix}/share'
78850539131Smrgdatadir='${datarootdir}'
789ded1caa4Smrgsysconfdir='${prefix}/etc'
790ded1caa4Smrgsharedstatedir='${prefix}/com'
791ded1caa4Smrglocalstatedir='${prefix}/var'
792ded1caa4Smrgincludedir='${prefix}/include'
793ded1caa4Smrgoldincludedir='/usr/include'
79450539131Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
79550539131Smrginfodir='${datarootdir}/info'
79650539131Smrghtmldir='${docdir}'
79750539131Smrgdvidir='${docdir}'
79850539131Smrgpdfdir='${docdir}'
79950539131Smrgpsdir='${docdir}'
80050539131Smrglibdir='${exec_prefix}/lib'
80150539131Smrglocaledir='${datarootdir}/locale'
80250539131Smrgmandir='${datarootdir}/man'
803ded1caa4Smrg
804ded1caa4Smrgac_prev=
80550539131Smrgac_dashdash=
806ded1caa4Smrgfor ac_option
807ded1caa4Smrgdo
808ded1caa4Smrg  # If the previous option needs an argument, assign it.
809ded1caa4Smrg  if test -n "$ac_prev"; then
81050539131Smrg    eval $ac_prev=\$ac_option
811ded1caa4Smrg    ac_prev=
812ded1caa4Smrg    continue
813ded1caa4Smrg  fi
814ded1caa4Smrg
81550539131Smrg  case $ac_option in
81644d8e951Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
81744d8e951Smrg  *=)   ac_optarg= ;;
81844d8e951Smrg  *)    ac_optarg=yes ;;
81950539131Smrg  esac
820ded1caa4Smrg
821ded1caa4Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
822ded1caa4Smrg
82350539131Smrg  case $ac_dashdash$ac_option in
82450539131Smrg  --)
82550539131Smrg    ac_dashdash=yes ;;
826ded1caa4Smrg
827ded1caa4Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
828ded1caa4Smrg    ac_prev=bindir ;;
829ded1caa4Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
830ded1caa4Smrg    bindir=$ac_optarg ;;
831ded1caa4Smrg
832ded1caa4Smrg  -build | --build | --buil | --bui | --bu)
833ded1caa4Smrg    ac_prev=build_alias ;;
834ded1caa4Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835ded1caa4Smrg    build_alias=$ac_optarg ;;
836ded1caa4Smrg
837ded1caa4Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
838ded1caa4Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839ded1caa4Smrg    ac_prev=cache_file ;;
840ded1caa4Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841ded1caa4Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842ded1caa4Smrg    cache_file=$ac_optarg ;;
843ded1caa4Smrg
844ded1caa4Smrg  --config-cache | -C)
845ded1caa4Smrg    cache_file=config.cache ;;
846ded1caa4Smrg
84750539131Smrg  -datadir | --datadir | --datadi | --datad)
848ded1caa4Smrg    ac_prev=datadir ;;
84950539131Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
850ded1caa4Smrg    datadir=$ac_optarg ;;
851ded1caa4Smrg
85250539131Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
85350539131Smrg  | --dataroo | --dataro | --datar)
85450539131Smrg    ac_prev=datarootdir ;;
85550539131Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
85650539131Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
85750539131Smrg    datarootdir=$ac_optarg ;;
85850539131Smrg
859ded1caa4Smrg  -disable-* | --disable-*)
86050539131Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861ded1caa4Smrg    # Reject names that are not valid shell variable names.
86250539131Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
86344d8e951Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
86450539131Smrg    ac_useropt_orig=$ac_useropt
86550539131Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
86650539131Smrg    case $ac_user_opts in
86750539131Smrg      *"
86850539131Smrg"enable_$ac_useropt"
86950539131Smrg"*) ;;
87050539131Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
87150539131Smrg	 ac_unrecognized_sep=', ';;
87250539131Smrg    esac
87350539131Smrg    eval enable_$ac_useropt=no ;;
87450539131Smrg
87550539131Smrg  -docdir | --docdir | --docdi | --doc | --do)
87650539131Smrg    ac_prev=docdir ;;
87750539131Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
87850539131Smrg    docdir=$ac_optarg ;;
87950539131Smrg
88050539131Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
88150539131Smrg    ac_prev=dvidir ;;
88250539131Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
88350539131Smrg    dvidir=$ac_optarg ;;
884ded1caa4Smrg
885ded1caa4Smrg  -enable-* | --enable-*)
88650539131Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887ded1caa4Smrg    # Reject names that are not valid shell variable names.
88850539131Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
88944d8e951Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
89050539131Smrg    ac_useropt_orig=$ac_useropt
89150539131Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
89250539131Smrg    case $ac_user_opts in
89350539131Smrg      *"
89450539131Smrg"enable_$ac_useropt"
89550539131Smrg"*) ;;
89650539131Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
89750539131Smrg	 ac_unrecognized_sep=', ';;
898ded1caa4Smrg    esac
89950539131Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
900ded1caa4Smrg
901ded1caa4Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902ded1caa4Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903ded1caa4Smrg  | --exec | --exe | --ex)
904ded1caa4Smrg    ac_prev=exec_prefix ;;
905ded1caa4Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906ded1caa4Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907ded1caa4Smrg  | --exec=* | --exe=* | --ex=*)
908ded1caa4Smrg    exec_prefix=$ac_optarg ;;
909ded1caa4Smrg
910ded1caa4Smrg  -gas | --gas | --ga | --g)
911ded1caa4Smrg    # Obsolete; use --with-gas.
912ded1caa4Smrg    with_gas=yes ;;
913ded1caa4Smrg
914ded1caa4Smrg  -help | --help | --hel | --he | -h)
915ded1caa4Smrg    ac_init_help=long ;;
916ded1caa4Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917ded1caa4Smrg    ac_init_help=recursive ;;
918ded1caa4Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919ded1caa4Smrg    ac_init_help=short ;;
920ded1caa4Smrg
921ded1caa4Smrg  -host | --host | --hos | --ho)
922ded1caa4Smrg    ac_prev=host_alias ;;
923ded1caa4Smrg  -host=* | --host=* | --hos=* | --ho=*)
924ded1caa4Smrg    host_alias=$ac_optarg ;;
925ded1caa4Smrg
92650539131Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
92750539131Smrg    ac_prev=htmldir ;;
92850539131Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
92950539131Smrg  | --ht=*)
93050539131Smrg    htmldir=$ac_optarg ;;
93150539131Smrg
932ded1caa4Smrg  -includedir | --includedir | --includedi | --included | --include \
933ded1caa4Smrg  | --includ | --inclu | --incl | --inc)
934ded1caa4Smrg    ac_prev=includedir ;;
935ded1caa4Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936ded1caa4Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
937ded1caa4Smrg    includedir=$ac_optarg ;;
938ded1caa4Smrg
939ded1caa4Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
940ded1caa4Smrg    ac_prev=infodir ;;
941ded1caa4Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942ded1caa4Smrg    infodir=$ac_optarg ;;
943ded1caa4Smrg
944ded1caa4Smrg  -libdir | --libdir | --libdi | --libd)
945ded1caa4Smrg    ac_prev=libdir ;;
946ded1caa4Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
947ded1caa4Smrg    libdir=$ac_optarg ;;
948ded1caa4Smrg
949ded1caa4Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950ded1caa4Smrg  | --libexe | --libex | --libe)
951ded1caa4Smrg    ac_prev=libexecdir ;;
952ded1caa4Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953ded1caa4Smrg  | --libexe=* | --libex=* | --libe=*)
954ded1caa4Smrg    libexecdir=$ac_optarg ;;
955ded1caa4Smrg
95650539131Smrg  -localedir | --localedir | --localedi | --localed | --locale)
95750539131Smrg    ac_prev=localedir ;;
95850539131Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
95950539131Smrg    localedir=$ac_optarg ;;
96050539131Smrg
961ded1caa4Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
96250539131Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
963ded1caa4Smrg    ac_prev=localstatedir ;;
964ded1caa4Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
96550539131Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966ded1caa4Smrg    localstatedir=$ac_optarg ;;
967ded1caa4Smrg
968ded1caa4Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
969ded1caa4Smrg    ac_prev=mandir ;;
970ded1caa4Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971ded1caa4Smrg    mandir=$ac_optarg ;;
972ded1caa4Smrg
973ded1caa4Smrg  -nfp | --nfp | --nf)
974ded1caa4Smrg    # Obsolete; use --without-fp.
975ded1caa4Smrg    with_fp=no ;;
976ded1caa4Smrg
977ded1caa4Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
978ded1caa4Smrg  | --no-cr | --no-c | -n)
979ded1caa4Smrg    no_create=yes ;;
980ded1caa4Smrg
981ded1caa4Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982ded1caa4Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
983ded1caa4Smrg    no_recursion=yes ;;
984ded1caa4Smrg
985ded1caa4Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986ded1caa4Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987ded1caa4Smrg  | --oldin | --oldi | --old | --ol | --o)
988ded1caa4Smrg    ac_prev=oldincludedir ;;
989ded1caa4Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990ded1caa4Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991ded1caa4Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992ded1caa4Smrg    oldincludedir=$ac_optarg ;;
993ded1caa4Smrg
994ded1caa4Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
995ded1caa4Smrg    ac_prev=prefix ;;
996ded1caa4Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
997ded1caa4Smrg    prefix=$ac_optarg ;;
998ded1caa4Smrg
999ded1caa4Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1000ded1caa4Smrg  | --program-pre | --program-pr | --program-p)
1001ded1caa4Smrg    ac_prev=program_prefix ;;
1002ded1caa4Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1003ded1caa4Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004ded1caa4Smrg    program_prefix=$ac_optarg ;;
1005ded1caa4Smrg
1006ded1caa4Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1007ded1caa4Smrg  | --program-suf | --program-su | --program-s)
1008ded1caa4Smrg    ac_prev=program_suffix ;;
1009ded1caa4Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1010ded1caa4Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011ded1caa4Smrg    program_suffix=$ac_optarg ;;
1012ded1caa4Smrg
1013ded1caa4Smrg  -program-transform-name | --program-transform-name \
1014ded1caa4Smrg  | --program-transform-nam | --program-transform-na \
1015ded1caa4Smrg  | --program-transform-n | --program-transform- \
1016ded1caa4Smrg  | --program-transform | --program-transfor \
1017ded1caa4Smrg  | --program-transfo | --program-transf \
1018ded1caa4Smrg  | --program-trans | --program-tran \
1019ded1caa4Smrg  | --progr-tra | --program-tr | --program-t)
1020ded1caa4Smrg    ac_prev=program_transform_name ;;
1021ded1caa4Smrg  -program-transform-name=* | --program-transform-name=* \
1022ded1caa4Smrg  | --program-transform-nam=* | --program-transform-na=* \
1023ded1caa4Smrg  | --program-transform-n=* | --program-transform-=* \
1024ded1caa4Smrg  | --program-transform=* | --program-transfor=* \
1025ded1caa4Smrg  | --program-transfo=* | --program-transf=* \
1026ded1caa4Smrg  | --program-trans=* | --program-tran=* \
1027ded1caa4Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1028ded1caa4Smrg    program_transform_name=$ac_optarg ;;
1029ded1caa4Smrg
103050539131Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
103150539131Smrg    ac_prev=pdfdir ;;
103250539131Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
103350539131Smrg    pdfdir=$ac_optarg ;;
103450539131Smrg
103550539131Smrg  -psdir | --psdir | --psdi | --psd | --ps)
103650539131Smrg    ac_prev=psdir ;;
103750539131Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
103850539131Smrg    psdir=$ac_optarg ;;
103950539131Smrg
1040ded1caa4Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041ded1caa4Smrg  | -silent | --silent | --silen | --sile | --sil)
1042ded1caa4Smrg    silent=yes ;;
1043ded1caa4Smrg
1044ded1caa4Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045ded1caa4Smrg    ac_prev=sbindir ;;
1046ded1caa4Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047ded1caa4Smrg  | --sbi=* | --sb=*)
1048ded1caa4Smrg    sbindir=$ac_optarg ;;
1049ded1caa4Smrg
1050ded1caa4Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051ded1caa4Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052ded1caa4Smrg  | --sharedst | --shareds | --shared | --share | --shar \
1053ded1caa4Smrg  | --sha | --sh)
1054ded1caa4Smrg    ac_prev=sharedstatedir ;;
1055ded1caa4Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056ded1caa4Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057ded1caa4Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058ded1caa4Smrg  | --sha=* | --sh=*)
1059ded1caa4Smrg    sharedstatedir=$ac_optarg ;;
1060ded1caa4Smrg
1061ded1caa4Smrg  -site | --site | --sit)
1062ded1caa4Smrg    ac_prev=site ;;
1063ded1caa4Smrg  -site=* | --site=* | --sit=*)
1064ded1caa4Smrg    site=$ac_optarg ;;
1065ded1caa4Smrg
1066ded1caa4Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067ded1caa4Smrg    ac_prev=srcdir ;;
1068ded1caa4Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069ded1caa4Smrg    srcdir=$ac_optarg ;;
1070ded1caa4Smrg
1071ded1caa4Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072ded1caa4Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
1073ded1caa4Smrg    ac_prev=sysconfdir ;;
1074ded1caa4Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075ded1caa4Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076ded1caa4Smrg    sysconfdir=$ac_optarg ;;
1077ded1caa4Smrg
1078ded1caa4Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1079ded1caa4Smrg    ac_prev=target_alias ;;
1080ded1caa4Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081ded1caa4Smrg    target_alias=$ac_optarg ;;
1082ded1caa4Smrg
1083ded1caa4Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1084ded1caa4Smrg    verbose=yes ;;
1085ded1caa4Smrg
1086ded1caa4Smrg  -version | --version | --versio | --versi | --vers | -V)
1087ded1caa4Smrg    ac_init_version=: ;;
1088ded1caa4Smrg
1089ded1caa4Smrg  -with-* | --with-*)
109050539131Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091ded1caa4Smrg    # Reject names that are not valid shell variable names.
109250539131Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
109344d8e951Smrg      as_fn_error $? "invalid package name: $ac_useropt"
109450539131Smrg    ac_useropt_orig=$ac_useropt
109550539131Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
109650539131Smrg    case $ac_user_opts in
109750539131Smrg      *"
109850539131Smrg"with_$ac_useropt"
109950539131Smrg"*) ;;
110050539131Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
110150539131Smrg	 ac_unrecognized_sep=', ';;
1102ded1caa4Smrg    esac
110350539131Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1104ded1caa4Smrg
1105ded1caa4Smrg  -without-* | --without-*)
110650539131Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107ded1caa4Smrg    # Reject names that are not valid shell variable names.
110850539131Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
110944d8e951Smrg      as_fn_error $? "invalid package name: $ac_useropt"
111050539131Smrg    ac_useropt_orig=$ac_useropt
111150539131Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
111250539131Smrg    case $ac_user_opts in
111350539131Smrg      *"
111450539131Smrg"with_$ac_useropt"
111550539131Smrg"*) ;;
111650539131Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
111750539131Smrg	 ac_unrecognized_sep=', ';;
111850539131Smrg    esac
111950539131Smrg    eval with_$ac_useropt=no ;;
1120ded1caa4Smrg
1121ded1caa4Smrg  --x)
1122ded1caa4Smrg    # Obsolete; use --with-x.
1123ded1caa4Smrg    with_x=yes ;;
1124ded1caa4Smrg
1125ded1caa4Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126ded1caa4Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1127ded1caa4Smrg    ac_prev=x_includes ;;
1128ded1caa4Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129ded1caa4Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130ded1caa4Smrg    x_includes=$ac_optarg ;;
1131ded1caa4Smrg
1132ded1caa4Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133ded1caa4Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134ded1caa4Smrg    ac_prev=x_libraries ;;
1135ded1caa4Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136ded1caa4Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137ded1caa4Smrg    x_libraries=$ac_optarg ;;
1138ded1caa4Smrg
113944d8e951Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
114044d8e951SmrgTry \`$0 --help' for more information"
1141ded1caa4Smrg    ;;
1142ded1caa4Smrg
1143ded1caa4Smrg  *=*)
1144ded1caa4Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145ded1caa4Smrg    # Reject names that are not valid shell variable names.
114644d8e951Smrg    case $ac_envvar in #(
114744d8e951Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
114844d8e951Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
114944d8e951Smrg    esac
115050539131Smrg    eval $ac_envvar=\$ac_optarg
1151ded1caa4Smrg    export $ac_envvar ;;
1152ded1caa4Smrg
1153ded1caa4Smrg  *)
1154ded1caa4Smrg    # FIXME: should be removed in autoconf 3.0.
115550539131Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156ded1caa4Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
115750539131Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
115844d8e951Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1159ded1caa4Smrg    ;;
1160ded1caa4Smrg
1161ded1caa4Smrg  esac
1162ded1caa4Smrgdone
1163ded1caa4Smrg
1164ded1caa4Smrgif test -n "$ac_prev"; then
1165ded1caa4Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
116644d8e951Smrg  as_fn_error $? "missing argument to $ac_option"
1167ded1caa4Smrgfi
1168ded1caa4Smrg
116950539131Smrgif test -n "$ac_unrecognized_opts"; then
117050539131Smrg  case $enable_option_checking in
117150539131Smrg    no) ;;
117244d8e951Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
117350539131Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174ded1caa4Smrg  esac
117550539131Smrgfi
1176ded1caa4Smrg
117750539131Smrg# Check all directory arguments for consistency.
117850539131Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
117950539131Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
118050539131Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
118150539131Smrg		libdir localedir mandir
1182ded1caa4Smrgdo
118350539131Smrg  eval ac_val=\$$ac_var
118450539131Smrg  # Remove trailing slashes.
1185ded1caa4Smrg  case $ac_val in
118650539131Smrg    */ )
118750539131Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
118850539131Smrg      eval $ac_var=\$ac_val;;
118950539131Smrg  esac
119050539131Smrg  # Be sure to have absolute directory names.
119150539131Smrg  case $ac_val in
119250539131Smrg    [\\/$]* | ?:[\\/]* )  continue;;
119350539131Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1194ded1caa4Smrg  esac
119544d8e951Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1196ded1caa4Smrgdone
1197ded1caa4Smrg
1198ded1caa4Smrg# There might be people who depend on the old broken behavior: `$host'
1199ded1caa4Smrg# used to hold the argument of --host etc.
1200ded1caa4Smrg# FIXME: To remove some day.
1201ded1caa4Smrgbuild=$build_alias
1202ded1caa4Smrghost=$host_alias
1203ded1caa4Smrgtarget=$target_alias
1204ded1caa4Smrg
1205ded1caa4Smrg# FIXME: To remove some day.
1206ded1caa4Smrgif test "x$host_alias" != x; then
1207ded1caa4Smrg  if test "x$build_alias" = x; then
1208ded1caa4Smrg    cross_compiling=maybe
120944d8e951Smrg    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
121044d8e951Smrg    If a cross compiler is detected then cross compile mode will be used" >&2
1211ded1caa4Smrg  elif test "x$build_alias" != "x$host_alias"; then
1212ded1caa4Smrg    cross_compiling=yes
1213ded1caa4Smrg  fi
1214ded1caa4Smrgfi
1215ded1caa4Smrg
1216ded1caa4Smrgac_tool_prefix=
1217ded1caa4Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1218ded1caa4Smrg
1219ded1caa4Smrgtest "$silent" = yes && exec 6>/dev/null
1220ded1caa4Smrg
1221ded1caa4Smrg
122250539131Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
122350539131Smrgac_ls_di=`ls -di .` &&
122450539131Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
122544d8e951Smrg  as_fn_error $? "working directory cannot be determined"
122650539131Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
122744d8e951Smrg  as_fn_error $? "pwd does not report name of working directory"
122850539131Smrg
122950539131Smrg
1230ded1caa4Smrg# Find the source files, if location was not specified.
1231ded1caa4Smrgif test -z "$srcdir"; then
1232ded1caa4Smrg  ac_srcdir_defaulted=yes
123350539131Smrg  # Try the directory containing this script, then the parent directory.
123450539131Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
123550539131Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123650539131Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
123750539131Smrg	 X"$as_myself" : 'X\(//\)$' \| \
123850539131Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
123950539131Smrg$as_echo X"$as_myself" |
124050539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
124150539131Smrg	    s//\1/
124250539131Smrg	    q
124350539131Smrg	  }
124450539131Smrg	  /^X\(\/\/\)[^/].*/{
124550539131Smrg	    s//\1/
124650539131Smrg	    q
124750539131Smrg	  }
124850539131Smrg	  /^X\(\/\/\)$/{
124950539131Smrg	    s//\1/
125050539131Smrg	    q
125150539131Smrg	  }
125250539131Smrg	  /^X\(\/\).*/{
125350539131Smrg	    s//\1/
125450539131Smrg	    q
125550539131Smrg	  }
125650539131Smrg	  s/.*/./; q'`
1257ded1caa4Smrg  srcdir=$ac_confdir
125850539131Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1259ded1caa4Smrg    srcdir=..
1260ded1caa4Smrg  fi
1261ded1caa4Smrgelse
1262ded1caa4Smrg  ac_srcdir_defaulted=no
1263ded1caa4Smrgfi
126450539131Smrgif test ! -r "$srcdir/$ac_unique_file"; then
126550539131Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
126644d8e951Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1267ded1caa4Smrgfi
126850539131Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
126950539131Smrgac_abs_confdir=`(
127044d8e951Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
127150539131Smrg	pwd)`
127250539131Smrg# When building in place, set srcdir=.
127350539131Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
127450539131Smrg  srcdir=.
127550539131Smrgfi
127650539131Smrg# Remove unnecessary trailing slashes from srcdir.
127750539131Smrg# Double slashes in file names in object file debugging info
127850539131Smrg# mess up M-x gdb in Emacs.
127950539131Smrgcase $srcdir in
128050539131Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
128150539131Smrgesac
128250539131Smrgfor ac_var in $ac_precious_vars; do
128350539131Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
128450539131Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
128550539131Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
128650539131Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
128750539131Smrgdone
1288ded1caa4Smrg
1289ded1caa4Smrg#
1290ded1caa4Smrg# Report the --help message.
1291ded1caa4Smrg#
1292ded1caa4Smrgif test "$ac_init_help" = "long"; then
1293ded1caa4Smrg  # Omit some internal or obsolete options to make the list less imposing.
1294ded1caa4Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1295ded1caa4Smrg  cat <<_ACEOF
129644d8e951Smrg\`configure' configures font-bitstream-75dpi 1.0.3 to adapt to many kinds of systems.
1297ded1caa4Smrg
1298ded1caa4SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1299ded1caa4Smrg
1300ded1caa4SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1301ded1caa4SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1302ded1caa4Smrg
1303ded1caa4SmrgDefaults for the options are specified in brackets.
1304ded1caa4Smrg
1305ded1caa4SmrgConfiguration:
1306ded1caa4Smrg  -h, --help              display this help and exit
1307ded1caa4Smrg      --help=short        display options specific to this package
1308ded1caa4Smrg      --help=recursive    display the short help of all the included packages
1309ded1caa4Smrg  -V, --version           display version information and exit
131044d8e951Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
1311ded1caa4Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1312ded1caa4Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1313ded1caa4Smrg  -n, --no-create         do not create output files
1314ded1caa4Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1315ded1caa4Smrg
1316ded1caa4SmrgInstallation directories:
1317ded1caa4Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
131850539131Smrg                          [$ac_default_prefix]
1319ded1caa4Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
132050539131Smrg                          [PREFIX]
1321ded1caa4Smrg
1322ded1caa4SmrgBy default, \`make install' will install all the files in
1323ded1caa4Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1324ded1caa4Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325ded1caa4Smrgfor instance \`--prefix=\$HOME'.
1326ded1caa4Smrg
1327ded1caa4SmrgFor better control, use the options below.
1328ded1caa4Smrg
1329ded1caa4SmrgFine tuning of the installation directories:
133050539131Smrg  --bindir=DIR            user executables [EPREFIX/bin]
133150539131Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
133250539131Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
133350539131Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
133450539131Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
133550539131Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
133650539131Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
133750539131Smrg  --includedir=DIR        C header files [PREFIX/include]
133850539131Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
133950539131Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
134050539131Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
134150539131Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
134250539131Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
134350539131Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
134450539131Smrg  --docdir=DIR            documentation root
134550539131Smrg                          [DATAROOTDIR/doc/font-bitstream-75dpi]
134650539131Smrg  --htmldir=DIR           html documentation [DOCDIR]
134750539131Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
134850539131Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
134950539131Smrg  --psdir=DIR             ps documentation [DOCDIR]
1350ded1caa4Smrg_ACEOF
1351ded1caa4Smrg
1352ded1caa4Smrg  cat <<\_ACEOF
1353ded1caa4Smrg
1354ded1caa4SmrgProgram names:
1355ded1caa4Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1356ded1caa4Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1357ded1caa4Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
135850539131Smrg
135950539131SmrgSystem types:
136050539131Smrg  --build=BUILD     configure for building on BUILD [guessed]
136150539131Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1362ded1caa4Smrg_ACEOF
1363ded1caa4Smrgfi
1364ded1caa4Smrg
1365ded1caa4Smrgif test -n "$ac_init_help"; then
1366ded1caa4Smrg  case $ac_init_help in
136744d8e951Smrg     short | recursive ) echo "Configuration of font-bitstream-75dpi 1.0.3:";;
1368ded1caa4Smrg   esac
1369ded1caa4Smrg  cat <<\_ACEOF
1370ded1caa4Smrg
1371ded1caa4SmrgOptional Features:
137250539131Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1373ded1caa4Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1374ded1caa4Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
137550539131Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
137650539131Smrg			  (and sometimes confusing) to the casual installer
137750539131Smrg  --disable-dependency-tracking  speeds up one-time build
137850539131Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
137950539131Smrg  --enable-strict-compilation
138050539131Smrg                          Enable all warnings from compiler and make them
138150539131Smrg                          errors (default: disabled)
138244d8e951Smrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
138344d8e951Smrg  --disable-silent-rules         verbose build output (undo: `make V=0')
1384ded1caa4Smrg
1385ded1caa4SmrgOptional Packages:
1386ded1caa4Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1387ded1caa4Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
138850539131Smrg  --with-fontrootdir=DIR  Path to root directory for font files
138950539131Smrg  --with-fontdir=DIR      Path to 75dpi files [FONTROOTDIR/75dpi]
139050539131Smrg  --with-compression=<no|compress|gzip|bzip2>
139150539131Smrg                          compression method to use on pcf fonts
139250539131Smrg
139350539131SmrgSome influential environment variables:
139450539131Smrg  CC          C compiler command
139550539131Smrg  CFLAGS      C compiler flags
139650539131Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
139750539131Smrg              nonstandard directory <lib dir>
139850539131Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
139944d8e951Smrg  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
140050539131Smrg              you have headers in a nonstandard directory <include dir>
140150539131Smrg  CPP         C preprocessor
140250539131Smrg  PKG_CONFIG  path to pkg-config utility
140344d8e951Smrg  PKG_CONFIG_PATH
140444d8e951Smrg              directories to add to pkg-config's search path
140544d8e951Smrg  PKG_CONFIG_LIBDIR
140644d8e951Smrg              path overriding pkg-config's built-in search path
140750539131Smrg
140850539131SmrgUse these variables to override the choices made by `configure' or to help
140950539131Smrgit to find libraries and programs with nonstandard names/locations.
1410ded1caa4Smrg
1411ded1caa4SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1412ded1caa4Smrg_ACEOF
141350539131Smrgac_status=$?
1414ded1caa4Smrgfi
1415ded1caa4Smrg
1416ded1caa4Smrgif test "$ac_init_help" = "recursive"; then
1417ded1caa4Smrg  # If there are subdirs, report their specific --help.
1418ded1caa4Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
141950539131Smrg    test -d "$ac_dir" ||
142050539131Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
142150539131Smrg      continue
1422ded1caa4Smrg    ac_builddir=.
1423ded1caa4Smrg
142450539131Smrgcase "$ac_dir" in
142550539131Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
142650539131Smrg*)
142750539131Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
142850539131Smrg  # A ".." for each directory in $ac_dir_suffix.
142950539131Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
143050539131Smrg  case $ac_top_builddir_sub in
143150539131Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
143250539131Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
143350539131Smrg  esac ;;
143450539131Smrgesac
143550539131Smrgac_abs_top_builddir=$ac_pwd
143650539131Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
143750539131Smrg# for backward compatibility:
143850539131Smrgac_top_builddir=$ac_top_build_prefix
1439ded1caa4Smrg
1440ded1caa4Smrgcase $srcdir in
144150539131Smrg  .)  # We are building in place.
1442ded1caa4Smrg    ac_srcdir=.
144350539131Smrg    ac_top_srcdir=$ac_top_builddir_sub
144450539131Smrg    ac_abs_top_srcdir=$ac_pwd ;;
144550539131Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1446ded1caa4Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
144750539131Smrg    ac_top_srcdir=$srcdir
144850539131Smrg    ac_abs_top_srcdir=$srcdir ;;
144950539131Smrg  *) # Relative name.
145050539131Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
145150539131Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
145250539131Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453ded1caa4Smrgesac
145450539131Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
145550539131Smrg
145650539131Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
145750539131Smrg    # Check for guested configure.
145850539131Smrg    if test -f "$ac_srcdir/configure.gnu"; then
145950539131Smrg      echo &&
146050539131Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
146150539131Smrg    elif test -f "$ac_srcdir/configure"; then
146250539131Smrg      echo &&
146350539131Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1464ded1caa4Smrg    else
146550539131Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
146650539131Smrg    fi || ac_status=$?
146750539131Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1468ded1caa4Smrg  done
1469ded1caa4Smrgfi
1470ded1caa4Smrg
147150539131Smrgtest -n "$ac_init_help" && exit $ac_status
1472ded1caa4Smrgif $ac_init_version; then
1473ded1caa4Smrg  cat <<\_ACEOF
147444d8e951Smrgfont-bitstream-75dpi configure 1.0.3
147544d8e951Smrggenerated by GNU Autoconf 2.68
1476ded1caa4Smrg
147744d8e951SmrgCopyright (C) 2010 Free Software Foundation, Inc.
1478ded1caa4SmrgThis configure script is free software; the Free Software Foundation
1479ded1caa4Smrggives unlimited permission to copy, distribute and modify it.
1480ded1caa4Smrg_ACEOF
148150539131Smrg  exit
1482ded1caa4Smrgfi
1483ded1caa4Smrg
148444d8e951Smrg## ------------------------ ##
148544d8e951Smrg## Autoconf initialization. ##
148644d8e951Smrg## ------------------------ ##
1487ded1caa4Smrg
148844d8e951Smrg# ac_fn_c_try_compile LINENO
148944d8e951Smrg# --------------------------
149044d8e951Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
149144d8e951Smrgac_fn_c_try_compile ()
1492ded1caa4Smrg{
149344d8e951Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
149444d8e951Smrg  rm -f conftest.$ac_objext
149544d8e951Smrg  if { { ac_try="$ac_compile"
149644d8e951Smrgcase "(($ac_try" in
149744d8e951Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
149844d8e951Smrg  *) ac_try_echo=$ac_try;;
149944d8e951Smrgesac
150044d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
150144d8e951Smrg$as_echo "$ac_try_echo"; } >&5
150244d8e951Smrg  (eval "$ac_compile") 2>conftest.err
150344d8e951Smrg  ac_status=$?
150444d8e951Smrg  if test -s conftest.err; then
150544d8e951Smrg    grep -v '^ *+' conftest.err >conftest.er1
150644d8e951Smrg    cat conftest.er1 >&5
150744d8e951Smrg    mv -f conftest.er1 conftest.err
150844d8e951Smrg  fi
150944d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
151044d8e951Smrg  test $ac_status = 0; } && {
151144d8e951Smrg	 test -z "$ac_c_werror_flag" ||
151244d8e951Smrg	 test ! -s conftest.err
151344d8e951Smrg       } && test -s conftest.$ac_objext; then :
151444d8e951Smrg  ac_retval=0
151544d8e951Smrgelse
151644d8e951Smrg  $as_echo "$as_me: failed program was:" >&5
151744d8e951Smrgsed 's/^/| /' conftest.$ac_ext >&5
1518ded1caa4Smrg
151944d8e951Smrg	ac_retval=1
152044d8e951Smrgfi
152144d8e951Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
152244d8e951Smrg  as_fn_set_status $ac_retval
1523ded1caa4Smrg
152444d8e951Smrg} # ac_fn_c_try_compile
1525ded1caa4Smrg
152644d8e951Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
152744d8e951Smrg# ---------------------------------------------
152844d8e951Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
152944d8e951Smrg# accordingly.
153044d8e951Smrgac_fn_c_check_decl ()
153144d8e951Smrg{
153244d8e951Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
153344d8e951Smrg  as_decl_name=`echo $2|sed 's/ *(.*//'`
153444d8e951Smrg  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
153544d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
153644d8e951Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
153744d8e951Smrgif eval \${$3+:} false; then :
153844d8e951Smrg  $as_echo_n "(cached) " >&6
153944d8e951Smrgelse
154044d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
154144d8e951Smrg/* end confdefs.h.  */
154244d8e951Smrg$4
154344d8e951Smrgint
154444d8e951Smrgmain ()
154544d8e951Smrg{
154644d8e951Smrg#ifndef $as_decl_name
154744d8e951Smrg#ifdef __cplusplus
154844d8e951Smrg  (void) $as_decl_use;
154944d8e951Smrg#else
155044d8e951Smrg  (void) $as_decl_name;
155144d8e951Smrg#endif
155244d8e951Smrg#endif
155344d8e951Smrg
155444d8e951Smrg  ;
155544d8e951Smrg  return 0;
155644d8e951Smrg}
155744d8e951Smrg_ACEOF
155844d8e951Smrgif ac_fn_c_try_compile "$LINENO"; then :
155944d8e951Smrg  eval "$3=yes"
156044d8e951Smrgelse
156144d8e951Smrg  eval "$3=no"
156244d8e951Smrgfi
156344d8e951Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
156444d8e951Smrgfi
156544d8e951Smrgeval ac_res=\$$3
156644d8e951Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
156744d8e951Smrg$as_echo "$ac_res" >&6; }
156844d8e951Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
156944d8e951Smrg
157044d8e951Smrg} # ac_fn_c_check_decl
157144d8e951Smrg
157244d8e951Smrg# ac_fn_c_try_cpp LINENO
157344d8e951Smrg# ----------------------
157444d8e951Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
157544d8e951Smrgac_fn_c_try_cpp ()
157644d8e951Smrg{
157744d8e951Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
157844d8e951Smrg  if { { ac_try="$ac_cpp conftest.$ac_ext"
157944d8e951Smrgcase "(($ac_try" in
158044d8e951Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
158144d8e951Smrg  *) ac_try_echo=$ac_try;;
158244d8e951Smrgesac
158344d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
158444d8e951Smrg$as_echo "$ac_try_echo"; } >&5
158544d8e951Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
158644d8e951Smrg  ac_status=$?
158744d8e951Smrg  if test -s conftest.err; then
158844d8e951Smrg    grep -v '^ *+' conftest.err >conftest.er1
158944d8e951Smrg    cat conftest.er1 >&5
159044d8e951Smrg    mv -f conftest.er1 conftest.err
159144d8e951Smrg  fi
159244d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
159344d8e951Smrg  test $ac_status = 0; } > conftest.i && {
159444d8e951Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
159544d8e951Smrg	 test ! -s conftest.err
159644d8e951Smrg       }; then :
159744d8e951Smrg  ac_retval=0
159844d8e951Smrgelse
159944d8e951Smrg  $as_echo "$as_me: failed program was:" >&5
160044d8e951Smrgsed 's/^/| /' conftest.$ac_ext >&5
160144d8e951Smrg
160244d8e951Smrg    ac_retval=1
160344d8e951Smrgfi
160444d8e951Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
160544d8e951Smrg  as_fn_set_status $ac_retval
160644d8e951Smrg
160744d8e951Smrg} # ac_fn_c_try_cpp
160844d8e951Smrg
160944d8e951Smrg# ac_fn_c_try_run LINENO
161044d8e951Smrg# ----------------------
161144d8e951Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
161244d8e951Smrg# that executables *can* be run.
161344d8e951Smrgac_fn_c_try_run ()
161444d8e951Smrg{
161544d8e951Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
161644d8e951Smrg  if { { ac_try="$ac_link"
161744d8e951Smrgcase "(($ac_try" in
161844d8e951Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
161944d8e951Smrg  *) ac_try_echo=$ac_try;;
162044d8e951Smrgesac
162144d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
162244d8e951Smrg$as_echo "$ac_try_echo"; } >&5
162344d8e951Smrg  (eval "$ac_link") 2>&5
162444d8e951Smrg  ac_status=$?
162544d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
162644d8e951Smrg  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
162744d8e951Smrg  { { case "(($ac_try" in
162844d8e951Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
162944d8e951Smrg  *) ac_try_echo=$ac_try;;
163044d8e951Smrgesac
163144d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
163244d8e951Smrg$as_echo "$ac_try_echo"; } >&5
163344d8e951Smrg  (eval "$ac_try") 2>&5
163444d8e951Smrg  ac_status=$?
163544d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
163644d8e951Smrg  test $ac_status = 0; }; }; then :
163744d8e951Smrg  ac_retval=0
163844d8e951Smrgelse
163944d8e951Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
164044d8e951Smrg       $as_echo "$as_me: failed program was:" >&5
164144d8e951Smrgsed 's/^/| /' conftest.$ac_ext >&5
164244d8e951Smrg
164344d8e951Smrg       ac_retval=$ac_status
164444d8e951Smrgfi
164544d8e951Smrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
164644d8e951Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
164744d8e951Smrg  as_fn_set_status $ac_retval
164844d8e951Smrg
164944d8e951Smrg} # ac_fn_c_try_run
165044d8e951Smrg
165144d8e951Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
165244d8e951Smrg# -------------------------------------------------------
165344d8e951Smrg# Tests whether HEADER exists and can be compiled using the include files in
165444d8e951Smrg# INCLUDES, setting the cache variable VAR accordingly.
165544d8e951Smrgac_fn_c_check_header_compile ()
165644d8e951Smrg{
165744d8e951Smrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
165844d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
165944d8e951Smrg$as_echo_n "checking for $2... " >&6; }
166044d8e951Smrgif eval \${$3+:} false; then :
166144d8e951Smrg  $as_echo_n "(cached) " >&6
166244d8e951Smrgelse
166344d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
166444d8e951Smrg/* end confdefs.h.  */
166544d8e951Smrg$4
166644d8e951Smrg#include <$2>
166744d8e951Smrg_ACEOF
166844d8e951Smrgif ac_fn_c_try_compile "$LINENO"; then :
166944d8e951Smrg  eval "$3=yes"
167044d8e951Smrgelse
167144d8e951Smrg  eval "$3=no"
167244d8e951Smrgfi
167344d8e951Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
167444d8e951Smrgfi
167544d8e951Smrgeval ac_res=\$$3
167644d8e951Smrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
167744d8e951Smrg$as_echo "$ac_res" >&6; }
167844d8e951Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
167944d8e951Smrg
168044d8e951Smrg} # ac_fn_c_check_header_compile
168144d8e951Smrgcat >config.log <<_ACEOF
168244d8e951SmrgThis file contains any messages produced by compilers while
168344d8e951Smrgrunning configure, to aid debugging if configure makes a mistake.
168444d8e951Smrg
168544d8e951SmrgIt was created by font-bitstream-75dpi $as_me 1.0.3, which was
168644d8e951Smrggenerated by GNU Autoconf 2.68.  Invocation command line was
168744d8e951Smrg
168844d8e951Smrg  $ $0 $@
168944d8e951Smrg
169044d8e951Smrg_ACEOF
169144d8e951Smrgexec 5>>config.log
169244d8e951Smrg{
169344d8e951Smrgcat <<_ASUNAME
169444d8e951Smrg## --------- ##
169544d8e951Smrg## Platform. ##
169644d8e951Smrg## --------- ##
169744d8e951Smrg
169844d8e951Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
169944d8e951Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
170044d8e951Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
170144d8e951Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
170244d8e951Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
170344d8e951Smrg
170444d8e951Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
170544d8e951Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
170644d8e951Smrg
170744d8e951Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
170844d8e951Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
170944d8e951Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
171044d8e951Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
171144d8e951Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
171244d8e951Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
171344d8e951Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
171444d8e951Smrg
171544d8e951Smrg_ASUNAME
171644d8e951Smrg
171744d8e951Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718ded1caa4Smrgfor as_dir in $PATH
1719ded1caa4Smrgdo
1720ded1caa4Smrg  IFS=$as_save_IFS
1721ded1caa4Smrg  test -z "$as_dir" && as_dir=.
172244d8e951Smrg    $as_echo "PATH: $as_dir"
172344d8e951Smrg  done
172450539131SmrgIFS=$as_save_IFS
1725ded1caa4Smrg
1726ded1caa4Smrg} >&5
1727ded1caa4Smrg
1728ded1caa4Smrgcat >&5 <<_ACEOF
1729ded1caa4Smrg
1730ded1caa4Smrg
1731ded1caa4Smrg## ----------- ##
1732ded1caa4Smrg## Core tests. ##
1733ded1caa4Smrg## ----------- ##
1734ded1caa4Smrg
1735ded1caa4Smrg_ACEOF
1736ded1caa4Smrg
1737ded1caa4Smrg
1738ded1caa4Smrg# Keep a trace of the command line.
1739ded1caa4Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1740ded1caa4Smrg# Strip out --silent because we don't want to record it for future runs.
1741ded1caa4Smrg# Also quote any args containing shell meta-characters.
1742ded1caa4Smrg# Make two passes to allow for proper duplicate-argument suppression.
1743ded1caa4Smrgac_configure_args=
1744ded1caa4Smrgac_configure_args0=
1745ded1caa4Smrgac_configure_args1=
1746ded1caa4Smrgac_must_keep_next=false
1747ded1caa4Smrgfor ac_pass in 1 2
1748ded1caa4Smrgdo
1749ded1caa4Smrg  for ac_arg
1750ded1caa4Smrg  do
1751ded1caa4Smrg    case $ac_arg in
1752ded1caa4Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1753ded1caa4Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1754ded1caa4Smrg    | -silent | --silent | --silen | --sile | --sil)
1755ded1caa4Smrg      continue ;;
175650539131Smrg    *\'*)
175750539131Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1758ded1caa4Smrg    esac
1759ded1caa4Smrg    case $ac_pass in
176044d8e951Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1761ded1caa4Smrg    2)
176244d8e951Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1763ded1caa4Smrg      if test $ac_must_keep_next = true; then
1764ded1caa4Smrg	ac_must_keep_next=false # Got value, back to normal.
1765ded1caa4Smrg      else
1766ded1caa4Smrg	case $ac_arg in
1767ded1caa4Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1768ded1caa4Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1769ded1caa4Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1770ded1caa4Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1771ded1caa4Smrg	    case "$ac_configure_args0 " in
1772ded1caa4Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1773ded1caa4Smrg	    esac
1774ded1caa4Smrg	    ;;
1775ded1caa4Smrg	  -* ) ac_must_keep_next=true ;;
1776ded1caa4Smrg	esac
1777ded1caa4Smrg      fi
177844d8e951Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1779ded1caa4Smrg      ;;
1780ded1caa4Smrg    esac
1781ded1caa4Smrg  done
1782ded1caa4Smrgdone
178344d8e951Smrg{ ac_configure_args0=; unset ac_configure_args0;}
178444d8e951Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1785ded1caa4Smrg
1786ded1caa4Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1787ded1caa4Smrg# config.log.  We remove comments because anyway the quotes in there
1788ded1caa4Smrg# would cause problems or look ugly.
178950539131Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
179050539131Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1791ded1caa4Smrgtrap 'exit_status=$?
1792ded1caa4Smrg  # Save into config.log some information that might help in debugging.
1793ded1caa4Smrg  {
1794ded1caa4Smrg    echo
1795ded1caa4Smrg
179644d8e951Smrg    $as_echo "## ---------------- ##
1797ded1caa4Smrg## Cache variables. ##
179844d8e951Smrg## ---------------- ##"
1799ded1caa4Smrg    echo
1800ded1caa4Smrg    # The following way of writing the cache mishandles newlines in values,
180150539131Smrg(
180250539131Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
180350539131Smrg    eval ac_val=\$$ac_var
180450539131Smrg    case $ac_val in #(
180550539131Smrg    *${as_nl}*)
180650539131Smrg      case $ac_var in #(
180744d8e951Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
180850539131Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
180950539131Smrg      esac
181050539131Smrg      case $ac_var in #(
181150539131Smrg      _ | IFS | as_nl) ;; #(
181250539131Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
181344d8e951Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
181450539131Smrg      esac ;;
181550539131Smrg    esac
181650539131Smrg  done
1817ded1caa4Smrg  (set) 2>&1 |
181850539131Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
181950539131Smrg    *${as_nl}ac_space=\ *)
1820ded1caa4Smrg      sed -n \
182150539131Smrg	"s/'\''/'\''\\\\'\'''\''/g;
182250539131Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
182350539131Smrg      ;; #(
1824ded1caa4Smrg    *)
182550539131Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1826ded1caa4Smrg      ;;
182750539131Smrg    esac |
182850539131Smrg    sort
182950539131Smrg)
1830ded1caa4Smrg    echo
1831ded1caa4Smrg
183244d8e951Smrg    $as_echo "## ----------------- ##
1833ded1caa4Smrg## Output variables. ##
183444d8e951Smrg## ----------------- ##"
1835ded1caa4Smrg    echo
1836ded1caa4Smrg    for ac_var in $ac_subst_vars
1837ded1caa4Smrg    do
183850539131Smrg      eval ac_val=\$$ac_var
183950539131Smrg      case $ac_val in
184050539131Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
184150539131Smrg      esac
184250539131Smrg      $as_echo "$ac_var='\''$ac_val'\''"
1843ded1caa4Smrg    done | sort
1844ded1caa4Smrg    echo
1845ded1caa4Smrg
1846ded1caa4Smrg    if test -n "$ac_subst_files"; then
184744d8e951Smrg      $as_echo "## ------------------- ##
184850539131Smrg## File substitutions. ##
184944d8e951Smrg## ------------------- ##"
1850ded1caa4Smrg      echo
1851ded1caa4Smrg      for ac_var in $ac_subst_files
1852ded1caa4Smrg      do
185350539131Smrg	eval ac_val=\$$ac_var
185450539131Smrg	case $ac_val in
185550539131Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
185650539131Smrg	esac
185750539131Smrg	$as_echo "$ac_var='\''$ac_val'\''"
1858ded1caa4Smrg      done | sort
1859ded1caa4Smrg      echo
1860ded1caa4Smrg    fi
1861ded1caa4Smrg
1862ded1caa4Smrg    if test -s confdefs.h; then
186344d8e951Smrg      $as_echo "## ----------- ##
1864ded1caa4Smrg## confdefs.h. ##
186544d8e951Smrg## ----------- ##"
1866ded1caa4Smrg      echo
186750539131Smrg      cat confdefs.h
1868ded1caa4Smrg      echo
1869ded1caa4Smrg    fi
1870ded1caa4Smrg    test "$ac_signal" != 0 &&
187150539131Smrg      $as_echo "$as_me: caught signal $ac_signal"
187250539131Smrg    $as_echo "$as_me: exit $exit_status"
1873ded1caa4Smrg  } >&5
187450539131Smrg  rm -f core *.core core.conftest.* &&
187550539131Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1876ded1caa4Smrg    exit $exit_status
187750539131Smrg' 0
1878ded1caa4Smrgfor ac_signal in 1 2 13 15; do
187944d8e951Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1880ded1caa4Smrgdone
1881ded1caa4Smrgac_signal=0
1882ded1caa4Smrg
1883ded1caa4Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
188450539131Smrgrm -f -r conftest* confdefs.h
1885ded1caa4Smrg
188644d8e951Smrg$as_echo "/* confdefs.h */" > confdefs.h
188744d8e951Smrg
1888ded1caa4Smrg# Predefined preprocessor variables.
1889ded1caa4Smrg
1890ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1891ded1caa4Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
1892ded1caa4Smrg_ACEOF
1893ded1caa4Smrg
1894ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1895ded1caa4Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1896ded1caa4Smrg_ACEOF
1897ded1caa4Smrg
1898ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1899ded1caa4Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1900ded1caa4Smrg_ACEOF
1901ded1caa4Smrg
1902ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1903ded1caa4Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
1904ded1caa4Smrg_ACEOF
1905ded1caa4Smrg
1906ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1907ded1caa4Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1908ded1caa4Smrg_ACEOF
1909ded1caa4Smrg
191044d8e951Smrgcat >>confdefs.h <<_ACEOF
191144d8e951Smrg#define PACKAGE_URL "$PACKAGE_URL"
191244d8e951Smrg_ACEOF
191344d8e951Smrg
1914ded1caa4Smrg
1915ded1caa4Smrg# Let the site file select an alternate cache file if it wants to.
191650539131Smrg# Prefer an explicitly selected file to automatically selected ones.
191750539131Smrgac_site_file1=NONE
191850539131Smrgac_site_file2=NONE
191950539131Smrgif test -n "$CONFIG_SITE"; then
192044d8e951Smrg  # We do not want a PATH search for config.site.
192144d8e951Smrg  case $CONFIG_SITE in #((
192244d8e951Smrg    -*)  ac_site_file1=./$CONFIG_SITE;;
192344d8e951Smrg    */*) ac_site_file1=$CONFIG_SITE;;
192444d8e951Smrg    *)   ac_site_file1=./$CONFIG_SITE;;
192544d8e951Smrg  esac
192650539131Smrgelif test "x$prefix" != xNONE; then
192750539131Smrg  ac_site_file1=$prefix/share/config.site
192850539131Smrg  ac_site_file2=$prefix/etc/config.site
192950539131Smrgelse
193050539131Smrg  ac_site_file1=$ac_default_prefix/share/config.site
193150539131Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
1932ded1caa4Smrgfi
193350539131Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
193450539131Smrgdo
193550539131Smrg  test "x$ac_site_file" = xNONE && continue
193644d8e951Smrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
193744d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
193850539131Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1939ded1caa4Smrg    sed 's/^/| /' "$ac_site_file" >&5
194044d8e951Smrg    . "$ac_site_file" \
194144d8e951Smrg      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
194244d8e951Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
194344d8e951Smrgas_fn_error $? "failed to load site script $ac_site_file
194444d8e951SmrgSee \`config.log' for more details" "$LINENO" 5; }
1945ded1caa4Smrg  fi
1946ded1caa4Smrgdone
1947ded1caa4Smrg
1948ded1caa4Smrgif test -r "$cache_file"; then
194944d8e951Smrg  # Some versions of bash will fail to source /dev/null (special files
195044d8e951Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
195144d8e951Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
195244d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
195350539131Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1954ded1caa4Smrg    case $cache_file in
195550539131Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
195650539131Smrg      *)                      . "./$cache_file";;
1957ded1caa4Smrg    esac
1958ded1caa4Smrg  fi
1959ded1caa4Smrgelse
196044d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
196150539131Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1962ded1caa4Smrg  >$cache_file
1963ded1caa4Smrgfi
1964ded1caa4Smrg
1965ded1caa4Smrg# Check that the precious variables saved in the cache have kept the same
1966ded1caa4Smrg# value.
1967ded1caa4Smrgac_cache_corrupted=false
196850539131Smrgfor ac_var in $ac_precious_vars; do
1969ded1caa4Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1970ded1caa4Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
197150539131Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
197250539131Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1973ded1caa4Smrg  case $ac_old_set,$ac_new_set in
1974ded1caa4Smrg    set,)
197544d8e951Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
197650539131Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1977ded1caa4Smrg      ac_cache_corrupted=: ;;
1978ded1caa4Smrg    ,set)
197944d8e951Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
198050539131Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1981ded1caa4Smrg      ac_cache_corrupted=: ;;
1982ded1caa4Smrg    ,);;
1983ded1caa4Smrg    *)
1984ded1caa4Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
198550539131Smrg	# differences in whitespace do not lead to failure.
198650539131Smrg	ac_old_val_w=`echo x $ac_old_val`
198750539131Smrg	ac_new_val_w=`echo x $ac_new_val`
198850539131Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
198944d8e951Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
199050539131Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
199150539131Smrg	  ac_cache_corrupted=:
199250539131Smrg	else
199344d8e951Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
199450539131Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
199550539131Smrg	  eval $ac_var=\$ac_old_val
199650539131Smrg	fi
199744d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
199850539131Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
199944d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
200050539131Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2001ded1caa4Smrg      fi;;
2002ded1caa4Smrg  esac
2003ded1caa4Smrg  # Pass precious variables to config.status.
2004ded1caa4Smrg  if test "$ac_new_set" = set; then
2005ded1caa4Smrg    case $ac_new_val in
200650539131Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2007ded1caa4Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
2008ded1caa4Smrg    esac
2009ded1caa4Smrg    case " $ac_configure_args " in
2010ded1caa4Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
201144d8e951Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2012ded1caa4Smrg    esac
2013ded1caa4Smrg  fi
2014ded1caa4Smrgdone
2015ded1caa4Smrgif $ac_cache_corrupted; then
201644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
201750539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
201844d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
201950539131Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
202044d8e951Smrg  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2021ded1caa4Smrgfi
202244d8e951Smrg## -------------------- ##
202344d8e951Smrg## Main body of script. ##
202444d8e951Smrg## -------------------- ##
2025ded1caa4Smrg
202650539131Smrgac_ext=c
202750539131Smrgac_cpp='$CPP $CPPFLAGS'
202850539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
202950539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
203050539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
2031ded1caa4Smrg
2032ded1caa4Smrg
203350539131Smrgam__api_version='1.11'
2034ded1caa4Smrg
2035ded1caa4Smrgac_aux_dir=
203650539131Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
203750539131Smrg  if test -f "$ac_dir/install-sh"; then
2038ded1caa4Smrg    ac_aux_dir=$ac_dir
2039ded1caa4Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
2040ded1caa4Smrg    break
204150539131Smrg  elif test -f "$ac_dir/install.sh"; then
2042ded1caa4Smrg    ac_aux_dir=$ac_dir
2043ded1caa4Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
2044ded1caa4Smrg    break
204550539131Smrg  elif test -f "$ac_dir/shtool"; then
2046ded1caa4Smrg    ac_aux_dir=$ac_dir
2047ded1caa4Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
2048ded1caa4Smrg    break
2049ded1caa4Smrg  fi
2050ded1caa4Smrgdone
2051ded1caa4Smrgif test -z "$ac_aux_dir"; then
205244d8e951Smrg  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2053ded1caa4Smrgfi
205450539131Smrg
205550539131Smrg# These three variables are undocumented and unsupported,
205650539131Smrg# and are intended to be withdrawn in a future Autoconf release.
205750539131Smrg# They can cause serious problems if a builder's source tree is in a directory
205850539131Smrg# whose full name contains unusual characters.
205950539131Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
206050539131Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
206150539131Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
206250539131Smrg
2063ded1caa4Smrg
2064ded1caa4Smrg# Find a good install program.  We prefer a C program (faster),
2065ded1caa4Smrg# so one script is as good as another.  But avoid the broken or
2066ded1caa4Smrg# incompatible versions:
2067ded1caa4Smrg# SysV /etc/install, /usr/sbin/install
2068ded1caa4Smrg# SunOS /usr/etc/install
2069ded1caa4Smrg# IRIX /sbin/install
2070ded1caa4Smrg# AIX /bin/install
2071ded1caa4Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
2072ded1caa4Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2073ded1caa4Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2074ded1caa4Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2075ded1caa4Smrg# OS/2's system install, which has a completely different semantic
2076ded1caa4Smrg# ./install, which can be erroneously created by make from ./install.sh.
207750539131Smrg# Reject install programs that cannot install multiple files.
207844d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
207950539131Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
2080ded1caa4Smrgif test -z "$INSTALL"; then
208144d8e951Smrgif ${ac_cv_path_install+:} false; then :
208250539131Smrg  $as_echo_n "(cached) " >&6
2083ded1caa4Smrgelse
2084ded1caa4Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085ded1caa4Smrgfor as_dir in $PATH
2086ded1caa4Smrgdo
2087ded1caa4Smrg  IFS=$as_save_IFS
2088ded1caa4Smrg  test -z "$as_dir" && as_dir=.
208944d8e951Smrg    # Account for people who put trailing slashes in PATH elements.
209044d8e951Smrgcase $as_dir/ in #((
209144d8e951Smrg  ./ | .// | /[cC]/* | \
2092ded1caa4Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
209344d8e951Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2094ded1caa4Smrg  /usr/ucb/* ) ;;
2095ded1caa4Smrg  *)
2096ded1caa4Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
2097ded1caa4Smrg    # Don't use installbsd from OSF since it installs stuff as root
2098ded1caa4Smrg    # by default.
2099ded1caa4Smrg    for ac_prog in ginstall scoinst install; do
2100ded1caa4Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
210150539131Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2102ded1caa4Smrg	  if test $ac_prog = install &&
2103ded1caa4Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2104ded1caa4Smrg	    # AIX install.  It has an incompatible calling convention.
2105ded1caa4Smrg	    :
2106ded1caa4Smrg	  elif test $ac_prog = install &&
2107ded1caa4Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2108ded1caa4Smrg	    # program-specific install script used by HP pwplus--don't use.
2109ded1caa4Smrg	    :
2110ded1caa4Smrg	  else
211150539131Smrg	    rm -rf conftest.one conftest.two conftest.dir
211250539131Smrg	    echo one > conftest.one
211350539131Smrg	    echo two > conftest.two
211450539131Smrg	    mkdir conftest.dir
211550539131Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
211650539131Smrg	      test -s conftest.one && test -s conftest.two &&
211750539131Smrg	      test -s conftest.dir/conftest.one &&
211850539131Smrg	      test -s conftest.dir/conftest.two
211950539131Smrg	    then
212050539131Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
212150539131Smrg	      break 3
212250539131Smrg	    fi
2123ded1caa4Smrg	  fi
2124ded1caa4Smrg	fi
2125ded1caa4Smrg      done
2126ded1caa4Smrg    done
2127ded1caa4Smrg    ;;
2128ded1caa4Smrgesac
212950539131Smrg
213044d8e951Smrg  done
213150539131SmrgIFS=$as_save_IFS
2132ded1caa4Smrg
213350539131Smrgrm -rf conftest.one conftest.two conftest.dir
2134ded1caa4Smrg
2135ded1caa4Smrgfi
2136ded1caa4Smrg  if test "${ac_cv_path_install+set}" = set; then
2137ded1caa4Smrg    INSTALL=$ac_cv_path_install
2138ded1caa4Smrg  else
213950539131Smrg    # As a last resort, use the slow shell script.  Don't cache a
214050539131Smrg    # value for INSTALL within a source directory, because that will
2141ded1caa4Smrg    # break other packages using the cache if that directory is
214250539131Smrg    # removed, or if the value is a relative name.
2143ded1caa4Smrg    INSTALL=$ac_install_sh
2144ded1caa4Smrg  fi
2145ded1caa4Smrgfi
214644d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
214750539131Smrg$as_echo "$INSTALL" >&6; }
2148ded1caa4Smrg
2149ded1caa4Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2150ded1caa4Smrg# It thinks the first close brace ends the variable substitution.
2151ded1caa4Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2152ded1caa4Smrg
2153ded1caa4Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2154ded1caa4Smrg
2155ded1caa4Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2156ded1caa4Smrg
215744d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
215850539131Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
2159ded1caa4Smrg# Just in case
2160ded1caa4Smrgsleep 1
2161ded1caa4Smrgecho timestamp > conftest.file
216250539131Smrg# Reject unsafe characters in $srcdir or the absolute working directory
216350539131Smrg# name.  Accept space and tab only in the latter.
216450539131Smrgam_lf='
216550539131Smrg'
216650539131Smrgcase `pwd` in
216750539131Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
216844d8e951Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
216950539131Smrgesac
217050539131Smrgcase $srcdir in
217150539131Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
217244d8e951Smrg    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
217350539131Smrgesac
217450539131Smrg
2175ded1caa4Smrg# Do `set' in a subshell so we don't clobber the current shell's
2176ded1caa4Smrg# arguments.  Must try -L first in case configure is actually a
2177ded1caa4Smrg# symlink; some systems play weird games with the mod time of symlinks
2178ded1caa4Smrg# (eg FreeBSD returns the mod time of the symlink's containing
2179ded1caa4Smrg# directory).
2180ded1caa4Smrgif (
218150539131Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2182ded1caa4Smrg   if test "$*" = "X"; then
2183ded1caa4Smrg      # -L didn't work.
218450539131Smrg      set X `ls -t "$srcdir/configure" conftest.file`
2185ded1caa4Smrg   fi
2186ded1caa4Smrg   rm -f conftest.file
2187ded1caa4Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
2188ded1caa4Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
2189ded1caa4Smrg
2190ded1caa4Smrg      # If neither matched, then we have a broken ls.  This can happen
2191ded1caa4Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
2192ded1caa4Smrg      # broken ls alias from the environment.  This has actually
2193ded1caa4Smrg      # happened.  Such a system could not be considered "sane".
219444d8e951Smrg      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
219544d8e951Smrgalias in your environment" "$LINENO" 5
2196ded1caa4Smrg   fi
2197ded1caa4Smrg
2198ded1caa4Smrg   test "$2" = conftest.file
2199ded1caa4Smrg   )
2200ded1caa4Smrgthen
2201ded1caa4Smrg   # Ok.
2202ded1caa4Smrg   :
2203ded1caa4Smrgelse
220444d8e951Smrg   as_fn_error $? "newly created file is older than distributed files!
220544d8e951SmrgCheck your system clock" "$LINENO" 5
2206ded1caa4Smrgfi
220744d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
220850539131Smrg$as_echo "yes" >&6; }
2209ded1caa4Smrgtest "$program_prefix" != NONE &&
221050539131Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2211ded1caa4Smrg# Use a double $ so make ignores it.
2212ded1caa4Smrgtest "$program_suffix" != NONE &&
221350539131Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
221450539131Smrg# Double any \ or $.
2215ded1caa4Smrg# By default was `s,x,x', remove it if useless.
221650539131Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
221750539131Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2218ded1caa4Smrg
2219ded1caa4Smrg# expand $ac_aux_dir to an absolute path
2220ded1caa4Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
2221ded1caa4Smrg
222250539131Smrgif test x"${MISSING+set}" != xset; then
222350539131Smrg  case $am_aux_dir in
222450539131Smrg  *\ * | *\	*)
222550539131Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
222650539131Smrg  *)
222750539131Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
222850539131Smrg  esac
222950539131Smrgfi
2230ded1caa4Smrg# Use eval to expand $SHELL
2231ded1caa4Smrgif eval "$MISSING --run true"; then
2232ded1caa4Smrg  am_missing_run="$MISSING --run "
2233ded1caa4Smrgelse
2234ded1caa4Smrg  am_missing_run=
223544d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
223650539131Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
223750539131Smrgfi
223850539131Smrg
223950539131Smrgif test x"${install_sh}" != xset; then
224050539131Smrg  case $am_aux_dir in
224150539131Smrg  *\ * | *\	*)
224250539131Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
224350539131Smrg  *)
224450539131Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
224550539131Smrg  esac
224650539131Smrgfi
224750539131Smrg
224850539131Smrg# Installed binaries are usually stripped using `strip' when the user
224950539131Smrg# run `make install-strip'.  However `strip' might not be the right
225050539131Smrg# tool to use in cross-compilation environments, therefore Automake
225150539131Smrg# will honor the `STRIP' environment variable to overrule this program.
225250539131Smrgif test "$cross_compiling" != no; then
225350539131Smrg  if test -n "$ac_tool_prefix"; then
225450539131Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
225550539131Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
225644d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
225750539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
225844d8e951Smrgif ${ac_cv_prog_STRIP+:} false; then :
225950539131Smrg  $as_echo_n "(cached) " >&6
226050539131Smrgelse
226150539131Smrg  if test -n "$STRIP"; then
226250539131Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
226350539131Smrgelse
226450539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
226550539131Smrgfor as_dir in $PATH
226650539131Smrgdo
226750539131Smrg  IFS=$as_save_IFS
226850539131Smrg  test -z "$as_dir" && as_dir=.
226944d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
227050539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
227150539131Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
227244d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
227350539131Smrg    break 2
227450539131Smrg  fi
227550539131Smrgdone
227644d8e951Smrg  done
227750539131SmrgIFS=$as_save_IFS
227850539131Smrg
227950539131Smrgfi
228050539131Smrgfi
228150539131SmrgSTRIP=$ac_cv_prog_STRIP
228250539131Smrgif test -n "$STRIP"; then
228344d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
228450539131Smrg$as_echo "$STRIP" >&6; }
228550539131Smrgelse
228644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
228750539131Smrg$as_echo "no" >&6; }
228850539131Smrgfi
228950539131Smrg
229050539131Smrg
229150539131Smrgfi
229250539131Smrgif test -z "$ac_cv_prog_STRIP"; then
229350539131Smrg  ac_ct_STRIP=$STRIP
229450539131Smrg  # Extract the first word of "strip", so it can be a program name with args.
229550539131Smrgset dummy strip; ac_word=$2
229644d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
229750539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
229844d8e951Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then :
229950539131Smrg  $as_echo_n "(cached) " >&6
230050539131Smrgelse
230150539131Smrg  if test -n "$ac_ct_STRIP"; then
230250539131Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
230350539131Smrgelse
230450539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
230550539131Smrgfor as_dir in $PATH
230650539131Smrgdo
230750539131Smrg  IFS=$as_save_IFS
230850539131Smrg  test -z "$as_dir" && as_dir=.
230944d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
231050539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
231150539131Smrg    ac_cv_prog_ac_ct_STRIP="strip"
231244d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
231350539131Smrg    break 2
231450539131Smrg  fi
231550539131Smrgdone
231644d8e951Smrg  done
231750539131SmrgIFS=$as_save_IFS
231850539131Smrg
231950539131Smrgfi
232050539131Smrgfi
232150539131Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
232250539131Smrgif test -n "$ac_ct_STRIP"; then
232344d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
232450539131Smrg$as_echo "$ac_ct_STRIP" >&6; }
232550539131Smrgelse
232644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
232750539131Smrg$as_echo "no" >&6; }
232850539131Smrgfi
232950539131Smrg
233050539131Smrg  if test "x$ac_ct_STRIP" = x; then
233150539131Smrg    STRIP=":"
233250539131Smrg  else
233350539131Smrg    case $cross_compiling:$ac_tool_warned in
233450539131Smrgyes:)
233544d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
233650539131Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
233750539131Smrgac_tool_warned=yes ;;
233850539131Smrgesac
233950539131Smrg    STRIP=$ac_ct_STRIP
234050539131Smrg  fi
234150539131Smrgelse
234250539131Smrg  STRIP="$ac_cv_prog_STRIP"
234350539131Smrgfi
234450539131Smrg
234550539131Smrgfi
234650539131SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
234750539131Smrg
234844d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
234950539131Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
235050539131Smrgif test -z "$MKDIR_P"; then
235144d8e951Smrg  if ${ac_cv_path_mkdir+:} false; then :
235250539131Smrg  $as_echo_n "(cached) " >&6
235350539131Smrgelse
235450539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
235550539131Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
235650539131Smrgdo
235750539131Smrg  IFS=$as_save_IFS
235850539131Smrg  test -z "$as_dir" && as_dir=.
235944d8e951Smrg    for ac_prog in mkdir gmkdir; do
236050539131Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
236150539131Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
236250539131Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
236350539131Smrg	     'mkdir (GNU coreutils) '* | \
236450539131Smrg	     'mkdir (coreutils) '* | \
236550539131Smrg	     'mkdir (fileutils) '4.1*)
236650539131Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
236750539131Smrg	       break 3;;
236850539131Smrg	   esac
236950539131Smrg	 done
237050539131Smrg       done
237144d8e951Smrg  done
237250539131SmrgIFS=$as_save_IFS
237350539131Smrg
237450539131Smrgfi
237550539131Smrg
237644d8e951Smrg  test -d ./--version && rmdir ./--version
237750539131Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
237850539131Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
237950539131Smrg  else
238050539131Smrg    # As a last resort, use the slow shell script.  Don't cache a
238150539131Smrg    # value for MKDIR_P within a source directory, because that will
238250539131Smrg    # break other packages using the cache if that directory is
238350539131Smrg    # removed, or if the value is a relative name.
238450539131Smrg    MKDIR_P="$ac_install_sh -d"
238550539131Smrg  fi
2386ded1caa4Smrgfi
238744d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
238850539131Smrg$as_echo "$MKDIR_P" >&6; }
238950539131Smrg
239050539131Smrgmkdir_p="$MKDIR_P"
239150539131Smrgcase $mkdir_p in
239250539131Smrg  [\\/$]* | ?:[\\/]*) ;;
239350539131Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
239450539131Smrgesac
2395ded1caa4Smrg
2396ded1caa4Smrgfor ac_prog in gawk mawk nawk awk
2397ded1caa4Smrgdo
2398ded1caa4Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2399ded1caa4Smrgset dummy $ac_prog; ac_word=$2
240044d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
240150539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
240244d8e951Smrgif ${ac_cv_prog_AWK+:} false; then :
240350539131Smrg  $as_echo_n "(cached) " >&6
2404ded1caa4Smrgelse
2405ded1caa4Smrg  if test -n "$AWK"; then
2406ded1caa4Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2407ded1caa4Smrgelse
2408ded1caa4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409ded1caa4Smrgfor as_dir in $PATH
2410ded1caa4Smrgdo
2411ded1caa4Smrg  IFS=$as_save_IFS
2412ded1caa4Smrg  test -z "$as_dir" && as_dir=.
241344d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
241450539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415ded1caa4Smrg    ac_cv_prog_AWK="$ac_prog"
241644d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2417ded1caa4Smrg    break 2
2418ded1caa4Smrg  fi
2419ded1caa4Smrgdone
242044d8e951Smrg  done
242150539131SmrgIFS=$as_save_IFS
2422ded1caa4Smrg
2423ded1caa4Smrgfi
2424ded1caa4Smrgfi
2425ded1caa4SmrgAWK=$ac_cv_prog_AWK
2426ded1caa4Smrgif test -n "$AWK"; then
242744d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
242850539131Smrg$as_echo "$AWK" >&6; }
2429ded1caa4Smrgelse
243044d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
243150539131Smrg$as_echo "no" >&6; }
2432ded1caa4Smrgfi
2433ded1caa4Smrg
243450539131Smrg
2435ded1caa4Smrg  test -n "$AWK" && break
2436ded1caa4Smrgdone
2437ded1caa4Smrg
243844d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
243950539131Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
244050539131Smrgset x ${MAKE-make}
244150539131Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
244244d8e951Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
244350539131Smrg  $as_echo_n "(cached) " >&6
2444ded1caa4Smrgelse
2445ded1caa4Smrg  cat >conftest.make <<\_ACEOF
244650539131SmrgSHELL = /bin/sh
2447ded1caa4Smrgall:
244850539131Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2449ded1caa4Smrg_ACEOF
245044d8e951Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
245150539131Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
245250539131Smrg  *@@@%%%=?*=@@@%%%*)
245350539131Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
245450539131Smrg  *)
245550539131Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
245650539131Smrgesac
2457ded1caa4Smrgrm -f conftest.make
2458ded1caa4Smrgfi
245950539131Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
246044d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
246150539131Smrg$as_echo "yes" >&6; }
2462ded1caa4Smrg  SET_MAKE=
2463ded1caa4Smrgelse
246444d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
246550539131Smrg$as_echo "no" >&6; }
2466ded1caa4Smrg  SET_MAKE="MAKE=${MAKE-make}"
2467ded1caa4Smrgfi
2468ded1caa4Smrg
2469ded1caa4Smrgrm -rf .tst 2>/dev/null
2470ded1caa4Smrgmkdir .tst 2>/dev/null
2471ded1caa4Smrgif test -d .tst; then
2472ded1caa4Smrg  am__leading_dot=.
2473ded1caa4Smrgelse
2474ded1caa4Smrg  am__leading_dot=_
2475ded1caa4Smrgfi
2476ded1caa4Smrgrmdir .tst 2>/dev/null
2477ded1caa4Smrg
247850539131Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
247950539131Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
248050539131Smrg  # is not polluted with repeated "-I."
248150539131Smrg  am__isrc=' -I$(srcdir)'
248250539131Smrg  # test to see if srcdir already configured
248350539131Smrg  if test -f $srcdir/config.status; then
248444d8e951Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
248550539131Smrg  fi
2486ded1caa4Smrgfi
2487ded1caa4Smrg
2488ded1caa4Smrg# test whether we have cygpath
2489ded1caa4Smrgif test -z "$CYGPATH_W"; then
2490ded1caa4Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2491ded1caa4Smrg    CYGPATH_W='cygpath -w'
2492ded1caa4Smrg  else
2493ded1caa4Smrg    CYGPATH_W=echo
2494ded1caa4Smrg  fi
2495ded1caa4Smrgfi
2496ded1caa4Smrg
2497ded1caa4Smrg
2498ded1caa4Smrg# Define the identity of the package.
2499ded1caa4Smrg PACKAGE='font-bitstream-75dpi'
250044d8e951Smrg VERSION='1.0.3'
2501ded1caa4Smrg
2502ded1caa4Smrg
2503ded1caa4Smrgcat >>confdefs.h <<_ACEOF
2504ded1caa4Smrg#define PACKAGE "$PACKAGE"
2505ded1caa4Smrg_ACEOF
2506ded1caa4Smrg
2507ded1caa4Smrg
2508ded1caa4Smrgcat >>confdefs.h <<_ACEOF
2509ded1caa4Smrg#define VERSION "$VERSION"
2510ded1caa4Smrg_ACEOF
2511ded1caa4Smrg
2512ded1caa4Smrg# Some tools Automake needs.
2513ded1caa4Smrg
2514ded1caa4SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2515ded1caa4Smrg
2516ded1caa4Smrg
2517ded1caa4SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2518ded1caa4Smrg
2519ded1caa4Smrg
2520ded1caa4SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2521ded1caa4Smrg
2522ded1caa4Smrg
2523ded1caa4SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2524ded1caa4Smrg
2525ded1caa4Smrg
2526ded1caa4SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2527ded1caa4Smrg
252850539131Smrg# We need awk for the "check" target.  The system "awk" is bad on
252950539131Smrg# some platforms.
253050539131Smrg# Always define AMTAR for backward compatibility.
2531ded1caa4Smrg
2532ded1caa4SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2533ded1caa4Smrg
253450539131Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2535ded1caa4Smrg
253650539131Smrg
253750539131Smrg
253850539131Smrg
253950539131Smrg
254050539131Smrg
254144d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
254250539131Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
254350539131Smrg    # Check whether --enable-maintainer-mode was given.
254444d8e951Smrgif test "${enable_maintainer_mode+set}" = set; then :
254550539131Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2546ded1caa4Smrgelse
254750539131Smrg  USE_MAINTAINER_MODE=no
254850539131Smrgfi
254950539131Smrg
255044d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
255150539131Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
255250539131Smrg   if test $USE_MAINTAINER_MODE = yes; then
255350539131Smrg  MAINTAINER_MODE_TRUE=
255450539131Smrg  MAINTAINER_MODE_FALSE='#'
255550539131Smrgelse
255650539131Smrg  MAINTAINER_MODE_TRUE='#'
255750539131Smrg  MAINTAINER_MODE_FALSE=
255850539131Smrgfi
255950539131Smrg
256050539131Smrg  MAINT=$MAINTAINER_MODE_TRUE
256150539131Smrg
256250539131Smrg
256350539131Smrg
256450539131Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS
256550539131Smrg
256650539131Smrg
256750539131Smrg
256850539131Smrg
256950539131Smrg
257050539131Smrg
257150539131Smrg
257250539131Smrg
257350539131Smrg
257450539131Smrg
257550539131Smrg
257650539131SmrgDEPDIR="${am__leading_dot}deps"
257750539131Smrg
257850539131Smrgac_config_commands="$ac_config_commands depfiles"
257950539131Smrg
258050539131Smrg
258150539131Smrgam_make=${MAKE-make}
258250539131Smrgcat > confinc << 'END'
258350539131Smrgam__doit:
258450539131Smrg	@echo this is the am__doit target
258550539131Smrg.PHONY: am__doit
258650539131SmrgEND
258750539131Smrg# If we don't find an include directive, just comment out the code.
258844d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
258950539131Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
259050539131Smrgam__include="#"
259150539131Smrgam__quote=
259250539131Smrg_am_result=none
259350539131Smrg# First try GNU make style include.
259450539131Smrgecho "include confinc" > confmf
259550539131Smrg# Ignore all kinds of additional output from `make'.
259650539131Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
259750539131Smrg*the\ am__doit\ target*)
259850539131Smrg  am__include=include
259950539131Smrg  am__quote=
260050539131Smrg  _am_result=GNU
260150539131Smrg  ;;
260250539131Smrgesac
260350539131Smrg# Now try BSD make style include.
260450539131Smrgif test "$am__include" = "#"; then
260550539131Smrg   echo '.include "confinc"' > confmf
260650539131Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
260750539131Smrg   *the\ am__doit\ target*)
260850539131Smrg     am__include=.include
260950539131Smrg     am__quote="\""
261050539131Smrg     _am_result=BSD
261150539131Smrg     ;;
261250539131Smrg   esac
261350539131Smrgfi
261450539131Smrg
261550539131Smrg
261644d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
261750539131Smrg$as_echo "$_am_result" >&6; }
261850539131Smrgrm -f confinc confmf
261950539131Smrg
262050539131Smrg# Check whether --enable-dependency-tracking was given.
262144d8e951Smrgif test "${enable_dependency_tracking+set}" = set; then :
262250539131Smrg  enableval=$enable_dependency_tracking;
262350539131Smrgfi
262450539131Smrg
262550539131Smrgif test "x$enable_dependency_tracking" != xno; then
262650539131Smrg  am_depcomp="$ac_aux_dir/depcomp"
262750539131Smrg  AMDEPBACKSLASH='\'
262850539131Smrgfi
262950539131Smrg if test "x$enable_dependency_tracking" != xno; then
263050539131Smrg  AMDEP_TRUE=
263150539131Smrg  AMDEP_FALSE='#'
263250539131Smrgelse
263350539131Smrg  AMDEP_TRUE='#'
263450539131Smrg  AMDEP_FALSE=
263550539131Smrgfi
263650539131Smrg
263750539131Smrg
263850539131Smrgac_ext=c
263950539131Smrgac_cpp='$CPP $CPPFLAGS'
264050539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
264150539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
264250539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
264350539131Smrgif test -n "$ac_tool_prefix"; then
264450539131Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
264550539131Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
264644d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
264750539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
264844d8e951Smrgif ${ac_cv_prog_CC+:} false; then :
264950539131Smrg  $as_echo_n "(cached) " >&6
265050539131Smrgelse
265150539131Smrg  if test -n "$CC"; then
265250539131Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2653ded1caa4Smrgelse
2654ded1caa4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655ded1caa4Smrgfor as_dir in $PATH
2656ded1caa4Smrgdo
2657ded1caa4Smrg  IFS=$as_save_IFS
2658ded1caa4Smrg  test -z "$as_dir" && as_dir=.
265944d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
266050539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
266150539131Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
266244d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663ded1caa4Smrg    break 2
2664ded1caa4Smrg  fi
2665ded1caa4Smrgdone
266644d8e951Smrg  done
266750539131SmrgIFS=$as_save_IFS
2668ded1caa4Smrg
2669ded1caa4Smrgfi
2670ded1caa4Smrgfi
267150539131SmrgCC=$ac_cv_prog_CC
267250539131Smrgif test -n "$CC"; then
267344d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
267450539131Smrg$as_echo "$CC" >&6; }
2675ded1caa4Smrgelse
267644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
267750539131Smrg$as_echo "no" >&6; }
2678ded1caa4Smrgfi
2679ded1caa4Smrg
268050539131Smrg
2681ded1caa4Smrgfi
268250539131Smrgif test -z "$ac_cv_prog_CC"; then
268350539131Smrg  ac_ct_CC=$CC
268450539131Smrg  # Extract the first word of "gcc", so it can be a program name with args.
268550539131Smrgset dummy gcc; ac_word=$2
268644d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
268750539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
268844d8e951Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
268950539131Smrg  $as_echo_n "(cached) " >&6
2690ded1caa4Smrgelse
269150539131Smrg  if test -n "$ac_ct_CC"; then
269250539131Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2693ded1caa4Smrgelse
2694ded1caa4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695ded1caa4Smrgfor as_dir in $PATH
2696ded1caa4Smrgdo
2697ded1caa4Smrg  IFS=$as_save_IFS
2698ded1caa4Smrg  test -z "$as_dir" && as_dir=.
269944d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
270050539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
270150539131Smrg    ac_cv_prog_ac_ct_CC="gcc"
270244d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703ded1caa4Smrg    break 2
2704ded1caa4Smrg  fi
2705ded1caa4Smrgdone
270644d8e951Smrg  done
270750539131SmrgIFS=$as_save_IFS
2708ded1caa4Smrg
2709ded1caa4Smrgfi
2710ded1caa4Smrgfi
271150539131Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
271250539131Smrgif test -n "$ac_ct_CC"; then
271344d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
271450539131Smrg$as_echo "$ac_ct_CC" >&6; }
2715ded1caa4Smrgelse
271644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
271750539131Smrg$as_echo "no" >&6; }
2718ded1caa4Smrgfi
2719ded1caa4Smrg
272050539131Smrg  if test "x$ac_ct_CC" = x; then
272150539131Smrg    CC=""
272250539131Smrg  else
272350539131Smrg    case $cross_compiling:$ac_tool_warned in
272450539131Smrgyes:)
272544d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
272650539131Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
272750539131Smrgac_tool_warned=yes ;;
272850539131Smrgesac
272950539131Smrg    CC=$ac_ct_CC
273050539131Smrg  fi
2731ded1caa4Smrgelse
273250539131Smrg  CC="$ac_cv_prog_CC"
2733ded1caa4Smrgfi
2734ded1caa4Smrg
273550539131Smrgif test -z "$CC"; then
273650539131Smrg          if test -n "$ac_tool_prefix"; then
273750539131Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
273850539131Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
273944d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
274050539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
274144d8e951Smrgif ${ac_cv_prog_CC+:} false; then :
274250539131Smrg  $as_echo_n "(cached) " >&6
2743ded1caa4Smrgelse
274450539131Smrg  if test -n "$CC"; then
274550539131Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
274650539131Smrgelse
274750539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
274850539131Smrgfor as_dir in $PATH
274950539131Smrgdo
275050539131Smrg  IFS=$as_save_IFS
275150539131Smrg  test -z "$as_dir" && as_dir=.
275244d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
275350539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
275450539131Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
275544d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
275650539131Smrg    break 2
275750539131Smrg  fi
275850539131Smrgdone
275944d8e951Smrg  done
276050539131SmrgIFS=$as_save_IFS
276150539131Smrg
276250539131Smrgfi
276350539131Smrgfi
276450539131SmrgCC=$ac_cv_prog_CC
276550539131Smrgif test -n "$CC"; then
276644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
276750539131Smrg$as_echo "$CC" >&6; }
276850539131Smrgelse
276944d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
277050539131Smrg$as_echo "no" >&6; }
277150539131Smrgfi
277250539131Smrg
277350539131Smrg
277450539131Smrg  fi
277550539131Smrgfi
277650539131Smrgif test -z "$CC"; then
277750539131Smrg  # Extract the first word of "cc", so it can be a program name with args.
277850539131Smrgset dummy cc; ac_word=$2
277944d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
278050539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
278144d8e951Smrgif ${ac_cv_prog_CC+:} false; then :
278250539131Smrg  $as_echo_n "(cached) " >&6
278350539131Smrgelse
278450539131Smrg  if test -n "$CC"; then
278550539131Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
278650539131Smrgelse
278750539131Smrg  ac_prog_rejected=no
278850539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
278950539131Smrgfor as_dir in $PATH
279050539131Smrgdo
279150539131Smrg  IFS=$as_save_IFS
279250539131Smrg  test -z "$as_dir" && as_dir=.
279344d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
279450539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
279550539131Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
279650539131Smrg       ac_prog_rejected=yes
279750539131Smrg       continue
279850539131Smrg     fi
279950539131Smrg    ac_cv_prog_CC="cc"
280044d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
280150539131Smrg    break 2
280250539131Smrg  fi
280350539131Smrgdone
280444d8e951Smrg  done
280550539131SmrgIFS=$as_save_IFS
280650539131Smrg
280750539131Smrgif test $ac_prog_rejected = yes; then
280850539131Smrg  # We found a bogon in the path, so make sure we never use it.
280950539131Smrg  set dummy $ac_cv_prog_CC
281050539131Smrg  shift
281150539131Smrg  if test $# != 0; then
281250539131Smrg    # We chose a different compiler from the bogus one.
281350539131Smrg    # However, it has the same basename, so the bogon will be chosen
281450539131Smrg    # first if we set CC to just the basename; use the full file name.
281550539131Smrg    shift
281650539131Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
281750539131Smrg  fi
281850539131Smrgfi
281950539131Smrgfi
282050539131Smrgfi
282150539131SmrgCC=$ac_cv_prog_CC
282250539131Smrgif test -n "$CC"; then
282344d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
282450539131Smrg$as_echo "$CC" >&6; }
282550539131Smrgelse
282644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
282750539131Smrg$as_echo "no" >&6; }
282850539131Smrgfi
282950539131Smrg
283050539131Smrg
283150539131Smrgfi
283250539131Smrgif test -z "$CC"; then
283350539131Smrg  if test -n "$ac_tool_prefix"; then
283450539131Smrg  for ac_prog in cl.exe
283550539131Smrg  do
283650539131Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
283750539131Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
283844d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
283950539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
284044d8e951Smrgif ${ac_cv_prog_CC+:} false; then :
284150539131Smrg  $as_echo_n "(cached) " >&6
284250539131Smrgelse
284350539131Smrg  if test -n "$CC"; then
284450539131Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
284550539131Smrgelse
284650539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
284750539131Smrgfor as_dir in $PATH
284850539131Smrgdo
284950539131Smrg  IFS=$as_save_IFS
285050539131Smrg  test -z "$as_dir" && as_dir=.
285144d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
285250539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
285350539131Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
285444d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
285550539131Smrg    break 2
285650539131Smrg  fi
285750539131Smrgdone
285844d8e951Smrg  done
285950539131SmrgIFS=$as_save_IFS
286050539131Smrg
286150539131Smrgfi
286250539131Smrgfi
286350539131SmrgCC=$ac_cv_prog_CC
286450539131Smrgif test -n "$CC"; then
286544d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
286650539131Smrg$as_echo "$CC" >&6; }
286750539131Smrgelse
286844d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
286950539131Smrg$as_echo "no" >&6; }
287050539131Smrgfi
287150539131Smrg
287250539131Smrg
287350539131Smrg    test -n "$CC" && break
287450539131Smrg  done
287550539131Smrgfi
287650539131Smrgif test -z "$CC"; then
287750539131Smrg  ac_ct_CC=$CC
287850539131Smrg  for ac_prog in cl.exe
287950539131Smrgdo
288050539131Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
288150539131Smrgset dummy $ac_prog; ac_word=$2
288244d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
288350539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
288444d8e951Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
288550539131Smrg  $as_echo_n "(cached) " >&6
288650539131Smrgelse
288750539131Smrg  if test -n "$ac_ct_CC"; then
288850539131Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
288950539131Smrgelse
289050539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
289150539131Smrgfor as_dir in $PATH
289250539131Smrgdo
289350539131Smrg  IFS=$as_save_IFS
289450539131Smrg  test -z "$as_dir" && as_dir=.
289544d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
289650539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
289750539131Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
289844d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
289950539131Smrg    break 2
290050539131Smrg  fi
290150539131Smrgdone
290244d8e951Smrg  done
290350539131SmrgIFS=$as_save_IFS
290450539131Smrg
290550539131Smrgfi
290650539131Smrgfi
290750539131Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
290850539131Smrgif test -n "$ac_ct_CC"; then
290944d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
291050539131Smrg$as_echo "$ac_ct_CC" >&6; }
291150539131Smrgelse
291244d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
291350539131Smrg$as_echo "no" >&6; }
291450539131Smrgfi
291550539131Smrg
291650539131Smrg
291750539131Smrg  test -n "$ac_ct_CC" && break
291850539131Smrgdone
291950539131Smrg
292050539131Smrg  if test "x$ac_ct_CC" = x; then
292150539131Smrg    CC=""
292250539131Smrg  else
292350539131Smrg    case $cross_compiling:$ac_tool_warned in
292450539131Smrgyes:)
292544d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
292650539131Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
292750539131Smrgac_tool_warned=yes ;;
292850539131Smrgesac
292950539131Smrg    CC=$ac_ct_CC
293050539131Smrg  fi
293150539131Smrgfi
293250539131Smrg
293350539131Smrgfi
293450539131Smrg
293550539131Smrg
293644d8e951Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
293750539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
293844d8e951Smrgas_fn_error $? "no acceptable C compiler found in \$PATH
293944d8e951SmrgSee \`config.log' for more details" "$LINENO" 5; }
294050539131Smrg
294150539131Smrg# Provide some information about the compiler.
294244d8e951Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
294350539131Smrgset X $ac_compile
294450539131Smrgac_compiler=$2
294544d8e951Smrgfor ac_option in --version -v -V -qversion; do
294644d8e951Smrg  { { ac_try="$ac_compiler $ac_option >&5"
294750539131Smrgcase "(($ac_try" in
294850539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
294950539131Smrg  *) ac_try_echo=$ac_try;;
295050539131Smrgesac
295144d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
295244d8e951Smrg$as_echo "$ac_try_echo"; } >&5
295344d8e951Smrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
295450539131Smrg  ac_status=$?
295544d8e951Smrg  if test -s conftest.err; then
295644d8e951Smrg    sed '10a\
295744d8e951Smrg... rest of stderr output deleted ...
295844d8e951Smrg         10q' conftest.err >conftest.er1
295944d8e951Smrg    cat conftest.er1 >&5
296044d8e951Smrg  fi
296144d8e951Smrg  rm -f conftest.er1 conftest.err
296244d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
296344d8e951Smrg  test $ac_status = 0; }
296444d8e951Smrgdone
296550539131Smrg
296644d8e951Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
296750539131Smrg/* end confdefs.h.  */
296850539131Smrg
296950539131Smrgint
297050539131Smrgmain ()
297150539131Smrg{
297250539131Smrg
297350539131Smrg  ;
297450539131Smrg  return 0;
297550539131Smrg}
297650539131Smrg_ACEOF
297750539131Smrgac_clean_files_save=$ac_clean_files
297850539131Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
297950539131Smrg# Try to create an executable without -o first, disregard a.out.
298050539131Smrg# It will help us diagnose broken compilers, and finding out an intuition
298150539131Smrg# of exeext.
298244d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
298344d8e951Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
298450539131Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
298550539131Smrg
298650539131Smrg# The possible output files:
298750539131Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
298850539131Smrg
298950539131Smrgac_rmfiles=
299050539131Smrgfor ac_file in $ac_files
299150539131Smrgdo
299250539131Smrg  case $ac_file in
299350539131Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
299450539131Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
299550539131Smrg  esac
299650539131Smrgdone
299750539131Smrgrm -f $ac_rmfiles
299850539131Smrg
299944d8e951Smrgif { { ac_try="$ac_link_default"
300050539131Smrgcase "(($ac_try" in
300150539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
300250539131Smrg  *) ac_try_echo=$ac_try;;
300350539131Smrgesac
300444d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
300544d8e951Smrg$as_echo "$ac_try_echo"; } >&5
300650539131Smrg  (eval "$ac_link_default") 2>&5
300750539131Smrg  ac_status=$?
300844d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
300944d8e951Smrg  test $ac_status = 0; }; then :
301050539131Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
301150539131Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
301250539131Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
301350539131Smrg# so that the user can short-circuit this test for compilers unknown to
301450539131Smrg# Autoconf.
301550539131Smrgfor ac_file in $ac_files ''
301650539131Smrgdo
301750539131Smrg  test -f "$ac_file" || continue
301850539131Smrg  case $ac_file in
301950539131Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
302050539131Smrg	;;
302150539131Smrg    [ab].out )
302250539131Smrg	# We found the default executable, but exeext='' is most
302350539131Smrg	# certainly right.
302450539131Smrg	break;;
302550539131Smrg    *.* )
302644d8e951Smrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
302750539131Smrg	then :; else
302850539131Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
302950539131Smrg	fi
303050539131Smrg	# We set ac_cv_exeext here because the later test for it is not
303150539131Smrg	# safe: cross compilers may not add the suffix if given an `-o'
303250539131Smrg	# argument, so we may need to know it at that point already.
303350539131Smrg	# Even if this section looks crufty: it has the advantage of
303450539131Smrg	# actually working.
303550539131Smrg	break;;
303650539131Smrg    * )
303750539131Smrg	break;;
303850539131Smrg  esac
303950539131Smrgdone
304050539131Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
304150539131Smrg
304250539131Smrgelse
304350539131Smrg  ac_file=''
304450539131Smrgfi
304544d8e951Smrgif test -z "$ac_file"; then :
304644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
304744d8e951Smrg$as_echo "no" >&6; }
304844d8e951Smrg$as_echo "$as_me: failed program was:" >&5
304950539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
305050539131Smrg
305144d8e951Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
305250539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
305344d8e951Smrgas_fn_error 77 "C compiler cannot create executables
305444d8e951SmrgSee \`config.log' for more details" "$LINENO" 5; }
305544d8e951Smrgelse
305644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
305744d8e951Smrg$as_echo "yes" >&6; }
305850539131Smrgfi
305944d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
306044d8e951Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
306144d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
306244d8e951Smrg$as_echo "$ac_file" >&6; }
306350539131Smrgac_exeext=$ac_cv_exeext
306450539131Smrg
306550539131Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
306650539131Smrgac_clean_files=$ac_clean_files_save
306744d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
306850539131Smrg$as_echo_n "checking for suffix of executables... " >&6; }
306944d8e951Smrgif { { ac_try="$ac_link"
307050539131Smrgcase "(($ac_try" in
307150539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
307250539131Smrg  *) ac_try_echo=$ac_try;;
307350539131Smrgesac
307444d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
307544d8e951Smrg$as_echo "$ac_try_echo"; } >&5
307650539131Smrg  (eval "$ac_link") 2>&5
307750539131Smrg  ac_status=$?
307844d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
307944d8e951Smrg  test $ac_status = 0; }; then :
308050539131Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
308150539131Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
308250539131Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
308350539131Smrg# `rm'.
308450539131Smrgfor ac_file in conftest.exe conftest conftest.*; do
308550539131Smrg  test -f "$ac_file" || continue
308650539131Smrg  case $ac_file in
308750539131Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
308850539131Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
308950539131Smrg	  break;;
309050539131Smrg    * ) break;;
309150539131Smrg  esac
309250539131Smrgdone
309350539131Smrgelse
309444d8e951Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
309550539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
309644d8e951Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link
309744d8e951SmrgSee \`config.log' for more details" "$LINENO" 5; }
309850539131Smrgfi
309944d8e951Smrgrm -f conftest conftest$ac_cv_exeext
310044d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
310150539131Smrg$as_echo "$ac_cv_exeext" >&6; }
310250539131Smrg
310350539131Smrgrm -f conftest.$ac_ext
310450539131SmrgEXEEXT=$ac_cv_exeext
310550539131Smrgac_exeext=$EXEEXT
310644d8e951Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
310750539131Smrg/* end confdefs.h.  */
310844d8e951Smrg#include <stdio.h>
310950539131Smrgint
311050539131Smrgmain ()
311150539131Smrg{
311244d8e951SmrgFILE *f = fopen ("conftest.out", "w");
311344d8e951Smrg return ferror (f) || fclose (f) != 0;
311450539131Smrg
311550539131Smrg  ;
311650539131Smrg  return 0;
311750539131Smrg}
311850539131Smrg_ACEOF
311944d8e951Smrgac_clean_files="$ac_clean_files conftest.out"
312044d8e951Smrg# Check that the compiler produces executables we can run.  If not, either
312144d8e951Smrg# the compiler is broken, or we cross compile.
312244d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
312344d8e951Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
312444d8e951Smrgif test "$cross_compiling" != yes; then
312544d8e951Smrg  { { ac_try="$ac_link"
312650539131Smrgcase "(($ac_try" in
312750539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
312850539131Smrg  *) ac_try_echo=$ac_try;;
312950539131Smrgesac
313044d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
313144d8e951Smrg$as_echo "$ac_try_echo"; } >&5
313244d8e951Smrg  (eval "$ac_link") 2>&5
313350539131Smrg  ac_status=$?
313444d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
313544d8e951Smrg  test $ac_status = 0; }
313644d8e951Smrg  if { ac_try='./conftest$ac_cv_exeext'
313744d8e951Smrg  { { case "(($ac_try" in
313844d8e951Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
313944d8e951Smrg  *) ac_try_echo=$ac_try;;
314044d8e951Smrgesac
314144d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
314244d8e951Smrg$as_echo "$ac_try_echo"; } >&5
314344d8e951Smrg  (eval "$ac_try") 2>&5
314444d8e951Smrg  ac_status=$?
314544d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
314644d8e951Smrg  test $ac_status = 0; }; }; then
314744d8e951Smrg    cross_compiling=no
314844d8e951Smrg  else
314944d8e951Smrg    if test "$cross_compiling" = maybe; then
315044d8e951Smrg	cross_compiling=yes
315144d8e951Smrg    else
315244d8e951Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
315344d8e951Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
315444d8e951Smrgas_fn_error $? "cannot run C compiled programs.
315544d8e951SmrgIf you meant to cross compile, use \`--host'.
315644d8e951SmrgSee \`config.log' for more details" "$LINENO" 5; }
315744d8e951Smrg    fi
315844d8e951Smrg  fi
315950539131Smrgfi
316044d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
316144d8e951Smrg$as_echo "$cross_compiling" >&6; }
316244d8e951Smrg
316344d8e951Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
316444d8e951Smrgac_clean_files=$ac_clean_files_save
316544d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
316644d8e951Smrg$as_echo_n "checking for suffix of object files... " >&6; }
316744d8e951Smrgif ${ac_cv_objext+:} false; then :
316844d8e951Smrg  $as_echo_n "(cached) " >&6
316944d8e951Smrgelse
317044d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
317144d8e951Smrg/* end confdefs.h.  */
317244d8e951Smrg
317344d8e951Smrgint
317444d8e951Smrgmain ()
317544d8e951Smrg{
317644d8e951Smrg
317744d8e951Smrg  ;
317844d8e951Smrg  return 0;
317944d8e951Smrg}
318044d8e951Smrg_ACEOF
318144d8e951Smrgrm -f conftest.o conftest.obj
318244d8e951Smrgif { { ac_try="$ac_compile"
318344d8e951Smrgcase "(($ac_try" in
318444d8e951Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
318544d8e951Smrg  *) ac_try_echo=$ac_try;;
318644d8e951Smrgesac
318744d8e951Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
318844d8e951Smrg$as_echo "$ac_try_echo"; } >&5
318944d8e951Smrg  (eval "$ac_compile") 2>&5
319044d8e951Smrg  ac_status=$?
319144d8e951Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
319244d8e951Smrg  test $ac_status = 0; }; then :
319344d8e951Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
319444d8e951Smrg  test -f "$ac_file" || continue;
319544d8e951Smrg  case $ac_file in
319644d8e951Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
319744d8e951Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
319844d8e951Smrg       break;;
319944d8e951Smrg  esac
320044d8e951Smrgdone
320144d8e951Smrgelse
320244d8e951Smrg  $as_echo "$as_me: failed program was:" >&5
320344d8e951Smrgsed 's/^/| /' conftest.$ac_ext >&5
320450539131Smrg
320544d8e951Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
320644d8e951Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
320744d8e951Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile
320844d8e951SmrgSee \`config.log' for more details" "$LINENO" 5; }
320944d8e951Smrgfi
321050539131Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
321150539131Smrgfi
321244d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
321350539131Smrg$as_echo "$ac_cv_objext" >&6; }
321450539131SmrgOBJEXT=$ac_cv_objext
321550539131Smrgac_objext=$OBJEXT
321644d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
321750539131Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
321844d8e951Smrgif ${ac_cv_c_compiler_gnu+:} false; then :
321950539131Smrg  $as_echo_n "(cached) " >&6
322050539131Smrgelse
322144d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
322250539131Smrg/* end confdefs.h.  */
322350539131Smrg
322450539131Smrgint
322550539131Smrgmain ()
322650539131Smrg{
322750539131Smrg#ifndef __GNUC__
322850539131Smrg       choke me
322950539131Smrg#endif
323050539131Smrg
323150539131Smrg  ;
323250539131Smrg  return 0;
323350539131Smrg}
323450539131Smrg_ACEOF
323544d8e951Smrgif ac_fn_c_try_compile "$LINENO"; then :
323650539131Smrg  ac_compiler_gnu=yes
323750539131Smrgelse
323844d8e951Smrg  ac_compiler_gnu=no
323950539131Smrgfi
324050539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
324150539131Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
324250539131Smrg
324350539131Smrgfi
324444d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
324550539131Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
324650539131Smrgif test $ac_compiler_gnu = yes; then
324750539131Smrg  GCC=yes
324850539131Smrgelse
324950539131Smrg  GCC=
325050539131Smrgfi
325150539131Smrgac_test_CFLAGS=${CFLAGS+set}
325250539131Smrgac_save_CFLAGS=$CFLAGS
325344d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
325450539131Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
325544d8e951Smrgif ${ac_cv_prog_cc_g+:} false; then :
325650539131Smrg  $as_echo_n "(cached) " >&6
325750539131Smrgelse
325850539131Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
325950539131Smrg   ac_c_werror_flag=yes
326050539131Smrg   ac_cv_prog_cc_g=no
326150539131Smrg   CFLAGS="-g"
326244d8e951Smrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
326350539131Smrg/* end confdefs.h.  */
326450539131Smrg
326550539131Smrgint
326650539131Smrgmain ()
326750539131Smrg{
326850539131Smrg
326950539131Smrg  ;
327050539131Smrg  return 0;
327150539131Smrg}
327250539131Smrg_ACEOF
327344d8e951Smrgif ac_fn_c_try_compile "$LINENO"; then :
327450539131Smrg  ac_cv_prog_cc_g=yes
327550539131Smrgelse
327644d8e951Smrg  CFLAGS=""
327744d8e951Smrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
327850539131Smrg/* end confdefs.h.  */
327950539131Smrg
328050539131Smrgint
328150539131Smrgmain ()
328250539131Smrg{
328350539131Smrg
328450539131Smrg  ;
328550539131Smrg  return 0;
328650539131Smrg}
328750539131Smrg_ACEOF
328844d8e951Smrgif ac_fn_c_try_compile "$LINENO"; then :
328950539131Smrg
329044d8e951Smrgelse
329144d8e951Smrg  ac_c_werror_flag=$ac_save_c_werror_flag
329250539131Smrg	 CFLAGS="-g"
329344d8e951Smrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
329450539131Smrg/* end confdefs.h.  */
329550539131Smrg
329650539131Smrgint
329750539131Smrgmain ()
329850539131Smrg{
329950539131Smrg
330050539131Smrg  ;
330150539131Smrg  return 0;
330250539131Smrg}
330350539131Smrg_ACEOF
330444d8e951Smrgif ac_fn_c_try_compile "$LINENO"; then :
330550539131Smrg  ac_cv_prog_cc_g=yes
330650539131Smrgfi
330750539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
330850539131Smrgfi
330950539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
331050539131Smrgfi
331150539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
331250539131Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
331350539131Smrgfi
331444d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
331550539131Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
331650539131Smrgif test "$ac_test_CFLAGS" = set; then
331750539131Smrg  CFLAGS=$ac_save_CFLAGS
331850539131Smrgelif test $ac_cv_prog_cc_g = yes; then
331950539131Smrg  if test "$GCC" = yes; then
332050539131Smrg    CFLAGS="-g -O2"
332150539131Smrg  else
332250539131Smrg    CFLAGS="-g"
332350539131Smrg  fi
332450539131Smrgelse
332550539131Smrg  if test "$GCC" = yes; then
332650539131Smrg    CFLAGS="-O2"
332750539131Smrg  else
332850539131Smrg    CFLAGS=
332950539131Smrg  fi
333050539131Smrgfi
333144d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
333250539131Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
333344d8e951Smrgif ${ac_cv_prog_cc_c89+:} false; then :
333450539131Smrg  $as_echo_n "(cached) " >&6
333550539131Smrgelse
333650539131Smrg  ac_cv_prog_cc_c89=no
333750539131Smrgac_save_CC=$CC
333844d8e951Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
333950539131Smrg/* end confdefs.h.  */
334050539131Smrg#include <stdarg.h>
334150539131Smrg#include <stdio.h>
334250539131Smrg#include <sys/types.h>
334350539131Smrg#include <sys/stat.h>
334450539131Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
334550539131Smrgstruct buf { int x; };
334650539131SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
334750539131Smrgstatic char *e (p, i)
334850539131Smrg     char **p;
334950539131Smrg     int i;
335050539131Smrg{
335150539131Smrg  return p[i];
335250539131Smrg}
335350539131Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
335450539131Smrg{
335550539131Smrg  char *s;
335650539131Smrg  va_list v;
335750539131Smrg  va_start (v,p);
335850539131Smrg  s = g (p, va_arg (v,int));
335950539131Smrg  va_end (v);
336050539131Smrg  return s;
336150539131Smrg}
336250539131Smrg
336350539131Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
336450539131Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
336550539131Smrg   These don't provoke an error unfortunately, instead are silently treated
336650539131Smrg   as 'x'.  The following induces an error, until -std is added to get
336750539131Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
336850539131Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
336950539131Smrg   that's true only with -std.  */
337050539131Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
337150539131Smrg
337250539131Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
337350539131Smrg   inside strings and character constants.  */
337450539131Smrg#define FOO(x) 'x'
337550539131Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
337650539131Smrg
337750539131Smrgint test (int i, double x);
337850539131Smrgstruct s1 {int (*f) (int a);};
337950539131Smrgstruct s2 {int (*f) (double a);};
338050539131Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
338150539131Smrgint argc;
338250539131Smrgchar **argv;
338350539131Smrgint
338450539131Smrgmain ()
338550539131Smrg{
338650539131Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
338750539131Smrg  ;
338850539131Smrg  return 0;
338950539131Smrg}
339050539131Smrg_ACEOF
339150539131Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
339250539131Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
339350539131Smrgdo
339450539131Smrg  CC="$ac_save_CC $ac_arg"
339544d8e951Smrg  if ac_fn_c_try_compile "$LINENO"; then :
339650539131Smrg  ac_cv_prog_cc_c89=$ac_arg
339750539131Smrgfi
339850539131Smrgrm -f core conftest.err conftest.$ac_objext
339950539131Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
340050539131Smrgdone
340150539131Smrgrm -f conftest.$ac_ext
340250539131SmrgCC=$ac_save_CC
340350539131Smrg
340450539131Smrgfi
340550539131Smrg# AC_CACHE_VAL
340650539131Smrgcase "x$ac_cv_prog_cc_c89" in
340750539131Smrg  x)
340844d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
340950539131Smrg$as_echo "none needed" >&6; } ;;
341050539131Smrg  xno)
341144d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
341250539131Smrg$as_echo "unsupported" >&6; } ;;
341350539131Smrg  *)
341450539131Smrg    CC="$CC $ac_cv_prog_cc_c89"
341544d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
341650539131Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
341750539131Smrgesac
341844d8e951Smrgif test "x$ac_cv_prog_cc_c89" != xno; then :
341950539131Smrg
342044d8e951Smrgfi
342150539131Smrg
342250539131Smrgac_ext=c
342350539131Smrgac_cpp='$CPP $CPPFLAGS'
342450539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
342550539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
342650539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
342750539131Smrg
342850539131Smrgdepcc="$CC"   am_compiler_list=
342950539131Smrg
343044d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
343150539131Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
343244d8e951Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then :
343350539131Smrg  $as_echo_n "(cached) " >&6
343450539131Smrgelse
343550539131Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
343650539131Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
343750539131Smrg  # making bogus files that we don't know about and never remove.  For
343850539131Smrg  # instance it was reported that on HP-UX the gcc test will end up
343950539131Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
344050539131Smrg  # in D'.
344150539131Smrg  mkdir conftest.dir
344250539131Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
344350539131Smrg  # using a relative directory.
344450539131Smrg  cp "$am_depcomp" conftest.dir
344550539131Smrg  cd conftest.dir
344650539131Smrg  # We will build objects and dependencies in a subdirectory because
344750539131Smrg  # it helps to detect inapplicable dependency modes.  For instance
344850539131Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
344950539131Smrg  # side effect of compilation, but ICC will put the dependencies in
345050539131Smrg  # the current directory while Tru64 will put them in the object
345150539131Smrg  # directory.
345250539131Smrg  mkdir sub
345350539131Smrg
345450539131Smrg  am_cv_CC_dependencies_compiler_type=none
345550539131Smrg  if test "$am_compiler_list" = ""; then
345650539131Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
345750539131Smrg  fi
345850539131Smrg  am__universal=false
345950539131Smrg  case " $depcc " in #(
346050539131Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
346150539131Smrg     esac
346250539131Smrg
346350539131Smrg  for depmode in $am_compiler_list; do
346450539131Smrg    # Setup a source with many dependencies, because some compilers
346550539131Smrg    # like to wrap large dependency lists on column 80 (with \), and
346650539131Smrg    # we should not choose a depcomp mode which is confused by this.
346750539131Smrg    #
346850539131Smrg    # We need to recreate these files for each test, as the compiler may
346950539131Smrg    # overwrite some of them when testing with obscure command lines.
347050539131Smrg    # This happens at least with the AIX C compiler.
347150539131Smrg    : > sub/conftest.c
347250539131Smrg    for i in 1 2 3 4 5 6; do
347350539131Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
347450539131Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
347550539131Smrg      # Solaris 8's {/usr,}/bin/sh.
347650539131Smrg      touch sub/conftst$i.h
347750539131Smrg    done
347850539131Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
347950539131Smrg
348050539131Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
348150539131Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
348250539131Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
348350539131Smrg    # versions had trouble with output in subdirs
348450539131Smrg    am__obj=sub/conftest.${OBJEXT-o}
348550539131Smrg    am__minus_obj="-o $am__obj"
348650539131Smrg    case $depmode in
348750539131Smrg    gcc)
348850539131Smrg      # This depmode causes a compiler race in universal mode.
348950539131Smrg      test "$am__universal" = false || continue
349050539131Smrg      ;;
349150539131Smrg    nosideeffect)
349250539131Smrg      # after this tag, mechanisms are not by side-effect, so they'll
349350539131Smrg      # only be used when explicitly requested
349450539131Smrg      if test "x$enable_dependency_tracking" = xyes; then
349550539131Smrg	continue
349650539131Smrg      else
349750539131Smrg	break
349850539131Smrg      fi
349950539131Smrg      ;;
350050539131Smrg    msvisualcpp | msvcmsys)
350150539131Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
350250539131Smrg      # not run yet.  These depmodes are late enough in the game, and
350350539131Smrg      # so weak that their functioning should not be impacted.
350450539131Smrg      am__obj=conftest.${OBJEXT-o}
350550539131Smrg      am__minus_obj=
350650539131Smrg      ;;
350750539131Smrg    none) break ;;
350850539131Smrg    esac
350950539131Smrg    if depmode=$depmode \
351050539131Smrg       source=sub/conftest.c object=$am__obj \
351150539131Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
351250539131Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
351350539131Smrg         >/dev/null 2>conftest.err &&
351450539131Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
351550539131Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
351650539131Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
351750539131Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
351850539131Smrg      # icc doesn't choke on unknown options, it will just issue warnings
351950539131Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
352050539131Smrg      # that says an option was ignored or not supported.
352150539131Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
352250539131Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
352350539131Smrg      # The diagnosis changed in icc 8.0:
352450539131Smrg      #   icc: Command line remark: option '-MP' not supported
352550539131Smrg      if (grep 'ignoring option' conftest.err ||
352650539131Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
352750539131Smrg        am_cv_CC_dependencies_compiler_type=$depmode
352850539131Smrg        break
352950539131Smrg      fi
353050539131Smrg    fi
353150539131Smrg  done
353250539131Smrg
353350539131Smrg  cd ..
353450539131Smrg  rm -rf conftest.dir
353550539131Smrgelse
353650539131Smrg  am_cv_CC_dependencies_compiler_type=none
353750539131Smrgfi
353850539131Smrg
353950539131Smrgfi
354044d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
354150539131Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
354250539131SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
354350539131Smrg
354450539131Smrg if
354550539131Smrg  test "x$enable_dependency_tracking" != xno \
354650539131Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
354750539131Smrg  am__fastdepCC_TRUE=
354850539131Smrg  am__fastdepCC_FALSE='#'
354950539131Smrgelse
355050539131Smrg  am__fastdepCC_TRUE='#'
355150539131Smrg  am__fastdepCC_FALSE=
355250539131Smrgfi
355350539131Smrg
355450539131Smrg
355544d8e951Smrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
355644d8e951Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
355744d8e951Smrgif ${ac_cv_prog_cc_c99+:} false; then :
355850539131Smrg  $as_echo_n "(cached) " >&6
355950539131Smrgelse
356044d8e951Smrg  ac_cv_prog_cc_c99=no
356144d8e951Smrgac_save_CC=$CC
356244d8e951Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
356350539131Smrg/* end confdefs.h.  */
356444d8e951Smrg#include <stdarg.h>
356544d8e951Smrg#include <stdbool.h>
356644d8e951Smrg#include <stdlib.h>
356744d8e951Smrg#include <wchar.h>
356844d8e951Smrg#include <stdio.h>
356944d8e951Smrg
357044d8e951Smrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
357144d8e951Smrg#define debug(...) fprintf (stderr, __VA_ARGS__)
357244d8e951Smrg#define showlist(...) puts (#__VA_ARGS__)
357344d8e951Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
357444d8e951Smrgstatic void
357544d8e951Smrgtest_varargs_macros (void)
357644d8e951Smrg{
357744d8e951Smrg  int x = 1234;
357844d8e951Smrg  int y = 5678;
357944d8e951Smrg  debug ("Flag");
358044d8e951Smrg  debug ("X = %d\n", x);
358144d8e951Smrg  showlist (The first, second, and third items.);
358244d8e951Smrg  report (x>y, "x is %d but y is %d", x, y);
358344d8e951Smrg}
358444d8e951Smrg
358544d8e951Smrg// Check long long types.
358644d8e951Smrg#define BIG64 18446744073709551615ull
358744d8e951Smrg#define BIG32 4294967295ul
358844d8e951Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
358944d8e951Smrg#if !BIG_OK
359044d8e951Smrg  your preprocessor is broken;
359144d8e951Smrg#endif
359244d8e951Smrg#if BIG_OK
359350539131Smrg#else
359444d8e951Smrg  your preprocessor is broken;
359550539131Smrg#endif
359644d8e951Smrgstatic long long int bignum = -9223372036854775807LL;
359744d8e951Smrgstatic unsigned long long int ubignum = BIG64;
359850539131Smrg
359944d8e951Smrgstruct incomplete_array
360044d8e951Smrg{
360144d8e951Smrg  int datasize;
360244d8e951Smrg  double data[];
360344d8e951Smrg};
360450539131Smrg
360544d8e951Smrgstruct named_init {
360644d8e951Smrg  int number;
360744d8e951Smrg  const wchar_t *name;
360844d8e951Smrg  double average;
360944d8e951Smrg};
361050539131Smrg
361144d8e951Smrgtypedef const char *ccp;
361250539131Smrg
361344d8e951Smrgstatic inline int
361444d8e951Smrgtest_restrict (ccp restrict text)
361544d8e951Smrg{
361644d8e951Smrg  // See if C++-style comments work.
361744d8e951Smrg  // Iterate through items via the restricted pointer.
361844d8e951Smrg  // Also check for declarations in for loops.
361944d8e951Smrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
362044d8e951Smrg    continue;
362144d8e951Smrg  return 0;
362244d8e951Smrg}
362350539131Smrg
362444d8e951Smrg// Check varargs and va_copy.
362544d8e951Smrgstatic void
362644d8e951Smrgtest_varargs (const char *format, ...)
362744d8e951Smrg{
362844d8e951Smrg  va_list args;
362944d8e951Smrg  va_start (args, format);
363044d8e951Smrg  va_list args_copy;
363144d8e951Smrg  va_copy (args_copy, args);
363250539131Smrg
363344d8e951Smrg  const char *str;
363444d8e951Smrg  int number;
363544d8e951Smrg  float fnumber;
363650539131Smrg
363744d8e951Smrg  while (*format)
363844d8e951Smrg    {
363944d8e951Smrg      switch (*format++)
364044d8e951Smrg	{
364144d8e951Smrg	case 's': // string
364244d8e951Smrg	  str = va_arg (args_copy, const char *);
364344d8e951Smrg	  break;
364444d8e951Smrg	case 'd': // int
364544d8e951Smrg	  number = va_arg (args_copy, int);
364644d8e951Smrg	  break;
364744d8e951Smrg	case 'f': // float
364844d8e951Smrg	  fnumber = va_arg (args_copy, double);
364944d8e951Smrg	  break;
365044d8e951Smrg	default:
365144d8e951Smrg	  break;
365244d8e951Smrg	}
365344d8e951Smrg    }
365444d8e951Smrg  va_end (args_copy);
365544d8e951Smrg  va_end (args);
365644d8e951Smrg}
365744d8e951Smrg
365844d8e951Smrgint
365944d8e951Smrgmain ()
366044d8e951Smrg{
366144d8e951Smrg
366244d8e951Smrg  // Check bool.
366344d8e951Smrg  _Bool success = false;
366444d8e951Smrg
366544d8e951Smrg  // Check restrict.
366644d8e951Smrg  if (test_restrict ("String literal") == 0)
366744d8e951Smrg    success = true;
366844d8e951Smrg  char *restrict newvar = "Another string";
366944d8e951Smrg
367044d8e951Smrg  // Check varargs.
367144d8e951Smrg  test_varargs ("s, d' f .", "string", 65, 34.234);
367244d8e951Smrg  test_varargs_macros ();
367344d8e951Smrg
367444d8e951Smrg  // Check flexible array members.
367544d8e951Smrg  struct incomplete_array *ia =
367644d8e951Smrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
367744d8e951Smrg  ia->datasize = 10;
367844d8e951Smrg  for (int i = 0; i < ia->datasize; ++i)
367944d8e951Smrg    ia->data[i] = i * 1.234;
368044d8e951Smrg
368144d8e951Smrg  // Check named initializers.
368244d8e951Smrg  struct named_init ni = {
368344d8e951Smrg    .number = 34,
368444d8e951Smrg    .name = L"Test wide string",
368544d8e951Smrg    .average = 543.34343,
368644d8e951Smrg  };
368744d8e951Smrg
368844d8e951Smrg  ni.number = 58;
368944d8e951Smrg
369044d8e951Smrg  int dynamic_array[ni.number];
369144d8e951Smrg  dynamic_array[ni.number - 1] = 543;
369244d8e951Smrg
369344d8e951Smrg  // work around unused variable warnings
369444d8e951Smrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
369544d8e951Smrg	  || dynamic_array[ni.number - 1] != 543);
369644d8e951Smrg
369744d8e951Smrg  ;
369844d8e951Smrg  return 0;
369944d8e951Smrg}
370044d8e951Smrg_ACEOF
370144d8e951Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
370244d8e951Smrgdo
370344d8e951Smrg  CC="$ac_save_CC $ac_arg"
370444d8e951Smrg  if ac_fn_c_try_compile "$LINENO"; then :
370544d8e951Smrg  ac_cv_prog_cc_c99=$ac_arg
370644d8e951Smrgfi
370744d8e951Smrgrm -f core conftest.err conftest.$ac_objext
370844d8e951Smrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
370944d8e951Smrgdone
371044d8e951Smrgrm -f conftest.$ac_ext
371144d8e951SmrgCC=$ac_save_CC
371244d8e951Smrg
371344d8e951Smrgfi
371444d8e951Smrg# AC_CACHE_VAL
371544d8e951Smrgcase "x$ac_cv_prog_cc_c99" in
371644d8e951Smrg  x)
371744d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
371844d8e951Smrg$as_echo "none needed" >&6; } ;;
371944d8e951Smrg  xno)
372044d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
372144d8e951Smrg$as_echo "unsupported" >&6; } ;;
372244d8e951Smrg  *)
372344d8e951Smrg    CC="$CC $ac_cv_prog_cc_c99"
372444d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
372544d8e951Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
372644d8e951Smrgesac
372744d8e951Smrgif test "x$ac_cv_prog_cc_c99" != xno; then :
372844d8e951Smrg
372944d8e951Smrgfi
373044d8e951Smrg
373144d8e951Smrg
373244d8e951Smrg
373344d8e951Smrgac_ext=c
373444d8e951Smrgac_cpp='$CPP $CPPFLAGS'
373544d8e951Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
373644d8e951Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
373744d8e951Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
373844d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
373944d8e951Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
374044d8e951Smrg# On Suns, sometimes $CPP names a directory.
374144d8e951Smrgif test -n "$CPP" && test -d "$CPP"; then
374244d8e951Smrg  CPP=
374344d8e951Smrgfi
374444d8e951Smrgif test -z "$CPP"; then
374544d8e951Smrg  if ${ac_cv_prog_CPP+:} false; then :
374644d8e951Smrg  $as_echo_n "(cached) " >&6
374744d8e951Smrgelse
374844d8e951Smrg      # Double quotes because CPP needs to be expanded
374944d8e951Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
375044d8e951Smrg    do
375144d8e951Smrg      ac_preproc_ok=false
375244d8e951Smrgfor ac_c_preproc_warn_flag in '' yes
375344d8e951Smrgdo
375444d8e951Smrg  # Use a header file that comes with gcc, so configuring glibc
375544d8e951Smrg  # with a fresh cross-compiler works.
375644d8e951Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
375744d8e951Smrg  # <limits.h> exists even on freestanding compilers.
375844d8e951Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
375944d8e951Smrg  # not just through cpp. "Syntax error" is here to catch this case.
376044d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
376144d8e951Smrg/* end confdefs.h.  */
376244d8e951Smrg#ifdef __STDC__
376344d8e951Smrg# include <limits.h>
376444d8e951Smrg#else
376544d8e951Smrg# include <assert.h>
376644d8e951Smrg#endif
376744d8e951Smrg		     Syntax error
376844d8e951Smrg_ACEOF
376944d8e951Smrgif ac_fn_c_try_cpp "$LINENO"; then :
377044d8e951Smrg
377144d8e951Smrgelse
377244d8e951Smrg  # Broken: fails on valid input.
377344d8e951Smrgcontinue
377444d8e951Smrgfi
377544d8e951Smrgrm -f conftest.err conftest.i conftest.$ac_ext
377644d8e951Smrg
377744d8e951Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
377844d8e951Smrg  # can be detected and how.
377944d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
378044d8e951Smrg/* end confdefs.h.  */
378144d8e951Smrg#include <ac_nonexistent.h>
378244d8e951Smrg_ACEOF
378344d8e951Smrgif ac_fn_c_try_cpp "$LINENO"; then :
378444d8e951Smrg  # Broken: success on invalid input.
378544d8e951Smrgcontinue
378644d8e951Smrgelse
378744d8e951Smrg  # Passes both tests.
378844d8e951Smrgac_preproc_ok=:
378944d8e951Smrgbreak
379044d8e951Smrgfi
379144d8e951Smrgrm -f conftest.err conftest.i conftest.$ac_ext
379244d8e951Smrg
379344d8e951Smrgdone
379444d8e951Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
379544d8e951Smrgrm -f conftest.i conftest.err conftest.$ac_ext
379644d8e951Smrgif $ac_preproc_ok; then :
379744d8e951Smrg  break
379844d8e951Smrgfi
379944d8e951Smrg
380044d8e951Smrg    done
380150539131Smrg    ac_cv_prog_CPP=$CPP
380250539131Smrg
380350539131Smrgfi
380450539131Smrg  CPP=$ac_cv_prog_CPP
380550539131Smrgelse
380650539131Smrg  ac_cv_prog_CPP=$CPP
380750539131Smrgfi
380844d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
380950539131Smrg$as_echo "$CPP" >&6; }
381050539131Smrgac_preproc_ok=false
381150539131Smrgfor ac_c_preproc_warn_flag in '' yes
381250539131Smrgdo
381350539131Smrg  # Use a header file that comes with gcc, so configuring glibc
381450539131Smrg  # with a fresh cross-compiler works.
381550539131Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
381650539131Smrg  # <limits.h> exists even on freestanding compilers.
381750539131Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
381850539131Smrg  # not just through cpp. "Syntax error" is here to catch this case.
381944d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
382050539131Smrg/* end confdefs.h.  */
382150539131Smrg#ifdef __STDC__
382250539131Smrg# include <limits.h>
382350539131Smrg#else
382450539131Smrg# include <assert.h>
382550539131Smrg#endif
382650539131Smrg		     Syntax error
382750539131Smrg_ACEOF
382844d8e951Smrgif ac_fn_c_try_cpp "$LINENO"; then :
382950539131Smrg
383044d8e951Smrgelse
383150539131Smrg  # Broken: fails on valid input.
383250539131Smrgcontinue
383350539131Smrgfi
383444d8e951Smrgrm -f conftest.err conftest.i conftest.$ac_ext
383550539131Smrg
383650539131Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
383750539131Smrg  # can be detected and how.
383844d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
383950539131Smrg/* end confdefs.h.  */
384050539131Smrg#include <ac_nonexistent.h>
384150539131Smrg_ACEOF
384244d8e951Smrgif ac_fn_c_try_cpp "$LINENO"; then :
384350539131Smrg  # Broken: success on invalid input.
384450539131Smrgcontinue
384550539131Smrgelse
384650539131Smrg  # Passes both tests.
384750539131Smrgac_preproc_ok=:
384850539131Smrgbreak
384950539131Smrgfi
385044d8e951Smrgrm -f conftest.err conftest.i conftest.$ac_ext
385150539131Smrg
385250539131Smrgdone
385350539131Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
385444d8e951Smrgrm -f conftest.i conftest.err conftest.$ac_ext
385544d8e951Smrgif $ac_preproc_ok; then :
385644d8e951Smrg
385750539131Smrgelse
385844d8e951Smrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
385950539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
386044d8e951Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
386144d8e951SmrgSee \`config.log' for more details" "$LINENO" 5; }
386250539131Smrgfi
386350539131Smrg
386450539131Smrgac_ext=c
386550539131Smrgac_cpp='$CPP $CPPFLAGS'
386650539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
386750539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
386850539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
386950539131Smrg
387050539131Smrg
387144d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
387250539131Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
387344d8e951Smrgif ${ac_cv_path_GREP+:} false; then :
387450539131Smrg  $as_echo_n "(cached) " >&6
387550539131Smrgelse
387650539131Smrg  if test -z "$GREP"; then
387750539131Smrg  ac_path_GREP_found=false
387850539131Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
387950539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
388050539131Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
388150539131Smrgdo
388250539131Smrg  IFS=$as_save_IFS
388350539131Smrg  test -z "$as_dir" && as_dir=.
388444d8e951Smrg    for ac_prog in grep ggrep; do
388550539131Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
388650539131Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
388750539131Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
388850539131Smrg# Check for GNU ac_path_GREP and select it if it is found.
388950539131Smrg  # Check for GNU $ac_path_GREP
389050539131Smrgcase `"$ac_path_GREP" --version 2>&1` in
389150539131Smrg*GNU*)
389250539131Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
389350539131Smrg*)
389450539131Smrg  ac_count=0
389550539131Smrg  $as_echo_n 0123456789 >"conftest.in"
389650539131Smrg  while :
389750539131Smrg  do
389850539131Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
389950539131Smrg    mv "conftest.tmp" "conftest.in"
390050539131Smrg    cp "conftest.in" "conftest.nl"
390150539131Smrg    $as_echo 'GREP' >> "conftest.nl"
390250539131Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
390350539131Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
390444d8e951Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
390550539131Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
390650539131Smrg      # Best one so far, save it but keep looking for a better one
390750539131Smrg      ac_cv_path_GREP="$ac_path_GREP"
390850539131Smrg      ac_path_GREP_max=$ac_count
390950539131Smrg    fi
391050539131Smrg    # 10*(2^10) chars as input seems more than enough
391150539131Smrg    test $ac_count -gt 10 && break
391250539131Smrg  done
391350539131Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
391450539131Smrgesac
391550539131Smrg
391650539131Smrg      $ac_path_GREP_found && break 3
391750539131Smrg    done
391850539131Smrg  done
391944d8e951Smrg  done
392050539131SmrgIFS=$as_save_IFS
392150539131Smrg  if test -z "$ac_cv_path_GREP"; then
392244d8e951Smrg    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
392350539131Smrg  fi
392450539131Smrgelse
392550539131Smrg  ac_cv_path_GREP=$GREP
392650539131Smrgfi
392750539131Smrg
392850539131Smrgfi
392944d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
393050539131Smrg$as_echo "$ac_cv_path_GREP" >&6; }
393150539131Smrg GREP="$ac_cv_path_GREP"
393250539131Smrg
393350539131Smrg
393444d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
393550539131Smrg$as_echo_n "checking for egrep... " >&6; }
393644d8e951Smrgif ${ac_cv_path_EGREP+:} false; then :
393750539131Smrg  $as_echo_n "(cached) " >&6
3938ded1caa4Smrgelse
393950539131Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
394050539131Smrg   then ac_cv_path_EGREP="$GREP -E"
394150539131Smrg   else
394250539131Smrg     if test -z "$EGREP"; then
394350539131Smrg  ac_path_EGREP_found=false
394450539131Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
394550539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
394650539131Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
394750539131Smrgdo
394850539131Smrg  IFS=$as_save_IFS
394950539131Smrg  test -z "$as_dir" && as_dir=.
395044d8e951Smrg    for ac_prog in egrep; do
395150539131Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
395250539131Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
395350539131Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
395450539131Smrg# Check for GNU ac_path_EGREP and select it if it is found.
395550539131Smrg  # Check for GNU $ac_path_EGREP
395650539131Smrgcase `"$ac_path_EGREP" --version 2>&1` in
395750539131Smrg*GNU*)
395850539131Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
395950539131Smrg*)
396050539131Smrg  ac_count=0
396150539131Smrg  $as_echo_n 0123456789 >"conftest.in"
396250539131Smrg  while :
396350539131Smrg  do
396450539131Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
396550539131Smrg    mv "conftest.tmp" "conftest.in"
396650539131Smrg    cp "conftest.in" "conftest.nl"
396750539131Smrg    $as_echo 'EGREP' >> "conftest.nl"
396850539131Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
396950539131Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
397044d8e951Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
397150539131Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
397250539131Smrg      # Best one so far, save it but keep looking for a better one
397350539131Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
397450539131Smrg      ac_path_EGREP_max=$ac_count
397550539131Smrg    fi
397650539131Smrg    # 10*(2^10) chars as input seems more than enough
397750539131Smrg    test $ac_count -gt 10 && break
397850539131Smrg  done
397950539131Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
398050539131Smrgesac
398150539131Smrg
398250539131Smrg      $ac_path_EGREP_found && break 3
398350539131Smrg    done
398450539131Smrg  done
398544d8e951Smrg  done
398650539131SmrgIFS=$as_save_IFS
398750539131Smrg  if test -z "$ac_cv_path_EGREP"; then
398844d8e951Smrg    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
398950539131Smrg  fi
399050539131Smrgelse
399150539131Smrg  ac_cv_path_EGREP=$EGREP
399250539131Smrgfi
399350539131Smrg
399450539131Smrg   fi
399550539131Smrgfi
399644d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
399750539131Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
399850539131Smrg EGREP="$ac_cv_path_EGREP"
399950539131Smrg
400050539131Smrg
400144d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
400250539131Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
400344d8e951Smrgif ${ac_cv_header_stdc+:} false; then :
400450539131Smrg  $as_echo_n "(cached) " >&6
400550539131Smrgelse
400644d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
400750539131Smrg/* end confdefs.h.  */
400850539131Smrg#include <stdlib.h>
400950539131Smrg#include <stdarg.h>
401050539131Smrg#include <string.h>
401150539131Smrg#include <float.h>
401250539131Smrg
401350539131Smrgint
401450539131Smrgmain ()
401550539131Smrg{
401650539131Smrg
401750539131Smrg  ;
401850539131Smrg  return 0;
401950539131Smrg}
402050539131Smrg_ACEOF
402144d8e951Smrgif ac_fn_c_try_compile "$LINENO"; then :
402250539131Smrg  ac_cv_header_stdc=yes
402350539131Smrgelse
402444d8e951Smrg  ac_cv_header_stdc=no
402550539131Smrgfi
402650539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
402750539131Smrg
402850539131Smrgif test $ac_cv_header_stdc = yes; then
402950539131Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
403044d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
403150539131Smrg/* end confdefs.h.  */
403250539131Smrg#include <string.h>
403350539131Smrg
403450539131Smrg_ACEOF
403550539131Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
403644d8e951Smrg  $EGREP "memchr" >/dev/null 2>&1; then :
403744d8e951Smrg
403850539131Smrgelse
403950539131Smrg  ac_cv_header_stdc=no
404050539131Smrgfi
404150539131Smrgrm -f conftest*
404250539131Smrg
404350539131Smrgfi
404450539131Smrg
404550539131Smrgif test $ac_cv_header_stdc = yes; then
404650539131Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
404744d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
404850539131Smrg/* end confdefs.h.  */
404950539131Smrg#include <stdlib.h>
405050539131Smrg
405150539131Smrg_ACEOF
405250539131Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
405344d8e951Smrg  $EGREP "free" >/dev/null 2>&1; then :
405444d8e951Smrg
405550539131Smrgelse
405650539131Smrg  ac_cv_header_stdc=no
405750539131Smrgfi
405850539131Smrgrm -f conftest*
405950539131Smrg
406050539131Smrgfi
406150539131Smrg
406250539131Smrgif test $ac_cv_header_stdc = yes; then
406350539131Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
406444d8e951Smrg  if test "$cross_compiling" = yes; then :
406550539131Smrg  :
406650539131Smrgelse
406744d8e951Smrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
406850539131Smrg/* end confdefs.h.  */
406950539131Smrg#include <ctype.h>
407050539131Smrg#include <stdlib.h>
407150539131Smrg#if ((' ' & 0x0FF) == 0x020)
407250539131Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
407350539131Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
407450539131Smrg#else
407550539131Smrg# define ISLOWER(c) \
407650539131Smrg		   (('a' <= (c) && (c) <= 'i') \
407750539131Smrg		     || ('j' <= (c) && (c) <= 'r') \
407850539131Smrg		     || ('s' <= (c) && (c) <= 'z'))
407950539131Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
408050539131Smrg#endif
408150539131Smrg
408250539131Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
408350539131Smrgint
408450539131Smrgmain ()
408550539131Smrg{
408650539131Smrg  int i;
408750539131Smrg  for (i = 0; i < 256; i++)
408850539131Smrg    if (XOR (islower (i), ISLOWER (i))
408950539131Smrg	|| toupper (i) != TOUPPER (i))
409050539131Smrg      return 2;
409150539131Smrg  return 0;
409250539131Smrg}
409350539131Smrg_ACEOF
409444d8e951Smrgif ac_fn_c_try_run "$LINENO"; then :
409550539131Smrg
409644d8e951Smrgelse
409744d8e951Smrg  ac_cv_header_stdc=no
409850539131Smrgfi
409944d8e951Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
410044d8e951Smrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
410150539131Smrgfi
410250539131Smrg
410350539131Smrgfi
410450539131Smrgfi
410544d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
410650539131Smrg$as_echo "$ac_cv_header_stdc" >&6; }
410750539131Smrgif test $ac_cv_header_stdc = yes; then
410850539131Smrg
410944d8e951Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
411050539131Smrg
411150539131Smrgfi
411250539131Smrg
411350539131Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
411450539131Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
411550539131Smrg		  inttypes.h stdint.h unistd.h
411644d8e951Smrgdo :
411744d8e951Smrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
411844d8e951Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
411944d8e951Smrg"
412044d8e951Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
412150539131Smrg  cat >>confdefs.h <<_ACEOF
412250539131Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
412350539131Smrg_ACEOF
412450539131Smrg
412550539131Smrgfi
412650539131Smrg
412750539131Smrgdone
412850539131Smrg
412950539131Smrg
413050539131Smrg
413150539131Smrg
413250539131Smrg
413350539131Smrg
413450539131Smrg
413550539131Smrg
413644d8e951Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
413744d8e951Smrg	if test -n "$ac_tool_prefix"; then
413844d8e951Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
413944d8e951Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
414044d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
414144d8e951Smrg$as_echo_n "checking for $ac_word... " >&6; }
414244d8e951Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then :
414344d8e951Smrg  $as_echo_n "(cached) " >&6
414444d8e951Smrgelse
414544d8e951Smrg  case $PKG_CONFIG in
414644d8e951Smrg  [\\/]* | ?:[\\/]*)
414744d8e951Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
414844d8e951Smrg  ;;
414944d8e951Smrg  *)
415044d8e951Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
415144d8e951Smrgfor as_dir in $PATH
415250539131Smrgdo
415344d8e951Smrg  IFS=$as_save_IFS
415444d8e951Smrg  test -z "$as_dir" && as_dir=.
415544d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
415644d8e951Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
415744d8e951Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
415844d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
415944d8e951Smrg    break 2
416044d8e951Smrg  fi
416144d8e951Smrgdone
416244d8e951Smrg  done
416344d8e951SmrgIFS=$as_save_IFS
416444d8e951Smrg
416544d8e951Smrg  ;;
416650539131Smrgesac
416744d8e951Smrgfi
416844d8e951SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
416944d8e951Smrgif test -n "$PKG_CONFIG"; then
417044d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
417144d8e951Smrg$as_echo "$PKG_CONFIG" >&6; }
417250539131Smrgelse
417344d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
417444d8e951Smrg$as_echo "no" >&6; }
417550539131Smrgfi
417650539131Smrg
417750539131Smrg
417850539131Smrgfi
417944d8e951Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
418044d8e951Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
418144d8e951Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
418244d8e951Smrgset dummy pkg-config; ac_word=$2
418344d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
418444d8e951Smrg$as_echo_n "checking for $ac_word... " >&6; }
418544d8e951Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
418644d8e951Smrg  $as_echo_n "(cached) " >&6
418744d8e951Smrgelse
418844d8e951Smrg  case $ac_pt_PKG_CONFIG in
418944d8e951Smrg  [\\/]* | ?:[\\/]*)
419044d8e951Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
419144d8e951Smrg  ;;
419250539131Smrg  *)
419344d8e951Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
419444d8e951Smrgfor as_dir in $PATH
419544d8e951Smrgdo
419644d8e951Smrg  IFS=$as_save_IFS
419744d8e951Smrg  test -z "$as_dir" && as_dir=.
419844d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
419944d8e951Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
420044d8e951Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
420144d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
420244d8e951Smrg    break 2
420344d8e951Smrg  fi
420444d8e951Smrgdone
420544d8e951Smrg  done
420644d8e951SmrgIFS=$as_save_IFS
420750539131Smrg
420844d8e951Smrg  ;;
420944d8e951Smrgesac
421044d8e951Smrgfi
421144d8e951Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
421244d8e951Smrgif test -n "$ac_pt_PKG_CONFIG"; then
421344d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
421444d8e951Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
421544d8e951Smrgelse
421644d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
421744d8e951Smrg$as_echo "no" >&6; }
421844d8e951Smrgfi
421950539131Smrg
422044d8e951Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
422144d8e951Smrg    PKG_CONFIG=""
422244d8e951Smrg  else
422344d8e951Smrg    case $cross_compiling:$ac_tool_warned in
422444d8e951Smrgyes:)
422544d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
422644d8e951Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
422744d8e951Smrgac_tool_warned=yes ;;
422844d8e951Smrgesac
422944d8e951Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
423044d8e951Smrg  fi
423144d8e951Smrgelse
423244d8e951Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
423344d8e951Smrgfi
423450539131Smrg
423544d8e951Smrgfi
423644d8e951Smrgif test -n "$PKG_CONFIG"; then
423744d8e951Smrg	_pkg_min_version=0.9.0
423844d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
423944d8e951Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
424044d8e951Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
424144d8e951Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
424244d8e951Smrg$as_echo "yes" >&6; }
424344d8e951Smrg	else
424444d8e951Smrg		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
424544d8e951Smrg$as_echo "no" >&6; }
424644d8e951Smrg		PKG_CONFIG=""
424744d8e951Smrg	fi
424844d8e951Smrgfi
424950539131Smrg# Make sure we can run config.sub.
425050539131Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
425144d8e951Smrg  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
425250539131Smrg
425344d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
425450539131Smrg$as_echo_n "checking build system type... " >&6; }
425544d8e951Smrgif ${ac_cv_build+:} false; then :
425650539131Smrg  $as_echo_n "(cached) " >&6
425750539131Smrgelse
425850539131Smrg  ac_build_alias=$build_alias
425950539131Smrgtest "x$ac_build_alias" = x &&
426050539131Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
426150539131Smrgtest "x$ac_build_alias" = x &&
426244d8e951Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
426350539131Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
426444d8e951Smrg  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
426550539131Smrg
426650539131Smrgfi
426744d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
426850539131Smrg$as_echo "$ac_cv_build" >&6; }
426950539131Smrgcase $ac_cv_build in
427050539131Smrg*-*-*) ;;
427144d8e951Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
427250539131Smrgesac
427350539131Smrgbuild=$ac_cv_build
427450539131Smrgac_save_IFS=$IFS; IFS='-'
427550539131Smrgset x $ac_cv_build
427650539131Smrgshift
427750539131Smrgbuild_cpu=$1
427850539131Smrgbuild_vendor=$2
427950539131Smrgshift; shift
428050539131Smrg# Remember, the first character of IFS is used to create $*,
428150539131Smrg# except with old shells:
428250539131Smrgbuild_os=$*
428350539131SmrgIFS=$ac_save_IFS
428450539131Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
428550539131Smrg
428650539131Smrg
428744d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
428850539131Smrg$as_echo_n "checking host system type... " >&6; }
428944d8e951Smrgif ${ac_cv_host+:} false; then :
429050539131Smrg  $as_echo_n "(cached) " >&6
429150539131Smrgelse
429250539131Smrg  if test "x$host_alias" = x; then
429350539131Smrg  ac_cv_host=$ac_cv_build
429450539131Smrgelse
429550539131Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
429644d8e951Smrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
429750539131Smrgfi
429850539131Smrg
429950539131Smrgfi
430044d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
430150539131Smrg$as_echo "$ac_cv_host" >&6; }
430250539131Smrgcase $ac_cv_host in
430350539131Smrg*-*-*) ;;
430444d8e951Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
430550539131Smrgesac
430650539131Smrghost=$ac_cv_host
430750539131Smrgac_save_IFS=$IFS; IFS='-'
430850539131Smrgset x $ac_cv_host
430950539131Smrgshift
431050539131Smrghost_cpu=$1
431150539131Smrghost_vendor=$2
431250539131Smrgshift; shift
431350539131Smrg# Remember, the first character of IFS is used to create $*,
431450539131Smrg# except with old shells:
431550539131Smrghost_os=$*
431650539131SmrgIFS=$ac_save_IFS
431750539131Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
431850539131Smrg
431950539131Smrg
432044d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
432144d8e951Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; }
432244d8e951Smrgif ${ac_cv_path_SED+:} false; then :
432344d8e951Smrg  $as_echo_n "(cached) " >&6
432444d8e951Smrgelse
432544d8e951Smrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
432644d8e951Smrg     for ac_i in 1 2 3 4 5 6 7; do
432744d8e951Smrg       ac_script="$ac_script$as_nl$ac_script"
432844d8e951Smrg     done
432944d8e951Smrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
433044d8e951Smrg     { ac_script=; unset ac_script;}
433144d8e951Smrg     if test -z "$SED"; then
433244d8e951Smrg  ac_path_SED_found=false
433344d8e951Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
433444d8e951Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
433544d8e951Smrgfor as_dir in $PATH
433644d8e951Smrgdo
433744d8e951Smrg  IFS=$as_save_IFS
433844d8e951Smrg  test -z "$as_dir" && as_dir=.
433944d8e951Smrg    for ac_prog in sed gsed; do
434044d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
434144d8e951Smrg      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
434244d8e951Smrg      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
434344d8e951Smrg# Check for GNU ac_path_SED and select it if it is found.
434444d8e951Smrg  # Check for GNU $ac_path_SED
434544d8e951Smrgcase `"$ac_path_SED" --version 2>&1` in
434644d8e951Smrg*GNU*)
434744d8e951Smrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
434844d8e951Smrg*)
434944d8e951Smrg  ac_count=0
435044d8e951Smrg  $as_echo_n 0123456789 >"conftest.in"
435144d8e951Smrg  while :
435244d8e951Smrg  do
435344d8e951Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
435444d8e951Smrg    mv "conftest.tmp" "conftest.in"
435544d8e951Smrg    cp "conftest.in" "conftest.nl"
435644d8e951Smrg    $as_echo '' >> "conftest.nl"
435744d8e951Smrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
435844d8e951Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
435944d8e951Smrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
436044d8e951Smrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
436144d8e951Smrg      # Best one so far, save it but keep looking for a better one
436244d8e951Smrg      ac_cv_path_SED="$ac_path_SED"
436344d8e951Smrg      ac_path_SED_max=$ac_count
436444d8e951Smrg    fi
436544d8e951Smrg    # 10*(2^10) chars as input seems more than enough
436644d8e951Smrg    test $ac_count -gt 10 && break
436744d8e951Smrg  done
436844d8e951Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
436944d8e951Smrgesac
437044d8e951Smrg
437144d8e951Smrg      $ac_path_SED_found && break 3
437244d8e951Smrg    done
437344d8e951Smrg  done
437444d8e951Smrg  done
437544d8e951SmrgIFS=$as_save_IFS
437644d8e951Smrg  if test -z "$ac_cv_path_SED"; then
437744d8e951Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
437844d8e951Smrg  fi
437944d8e951Smrgelse
438044d8e951Smrg  ac_cv_path_SED=$SED
438144d8e951Smrgfi
438244d8e951Smrg
438344d8e951Smrgfi
438444d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
438544d8e951Smrg$as_echo "$ac_cv_path_SED" >&6; }
438644d8e951Smrg SED="$ac_cv_path_SED"
438744d8e951Smrg  rm -f conftest.sed
438844d8e951Smrg
438944d8e951Smrg
439050539131Smrg
439150539131Smrg
439250539131Smrg
439350539131Smrgif  test "x$GCC" = xyes ; then
439450539131Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
439550539131Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
439644d8e951Smrg-Wbad-function-cast -Wformat=2"
439750539131Smrg    case `$CC -dumpversion` in
439850539131Smrg    3.4.* | 4.*)
439950539131Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
440050539131Smrg	;;
440150539131Smrg    esac
440244d8e951Smrgelse
440344d8e951Smrg    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
440444d8e951Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
440544d8e951Smrg  SUNCC="yes"
440644d8e951Smrgelse
440744d8e951Smrg  SUNCC="no"
440844d8e951Smrgfi
440950539131Smrg
441044d8e951Smrg    if test "x$SUNCC" = "xyes"; then
441144d8e951Smrg	CWARNFLAGS="-v"
441244d8e951Smrg    fi
441344d8e951Smrgfi
441450539131Smrg
441550539131Smrg
441650539131Smrg
441744d8e951Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
441850539131Smrg
441950539131Smrg
442050539131Smrg
442150539131Smrg# Check whether --enable-strict-compilation was given.
442244d8e951Smrgif test "${enable_strict_compilation+set}" = set; then :
442350539131Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
442450539131Smrgelse
442550539131Smrg  STRICT_COMPILE=no
442650539131Smrgfi
442750539131Smrg
442850539131Smrgif test "x$STRICT_COMPILE" = "xyes"; then
442944d8e951Smrg	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
443044d8e951Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
443150539131Smrg  SUNCC="yes"
443250539131Smrgelse
443350539131Smrg  SUNCC="no"
443450539131Smrgfi
443550539131Smrg
443644d8e951Smrg	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
443744d8e951Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
443850539131Smrg  INTELCC="yes"
443950539131Smrgelse
444050539131Smrg  INTELCC="no"
444150539131Smrgfi
444250539131Smrg
444350539131Smrg	if test "x$GCC" = xyes ; then
444450539131Smrg		STRICT_CFLAGS="-pedantic -Werror"
444550539131Smrg	elif test "x$SUNCC" = "xyes"; then
444650539131Smrg		STRICT_CFLAGS="-errwarn"
444750539131Smrg    elif test "x$INTELCC" = "xyes"; then
444850539131Smrg		STRICT_CFLAGS="-Werror"
444950539131Smrg	fi
445050539131Smrgfi
445150539131SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
445250539131Smrg
445350539131Smrg
445450539131Smrg
445550539131Smrg
445650539131Smrgcat >>confdefs.h <<_ACEOF
445750539131Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
445850539131Smrg_ACEOF
445950539131Smrg
446050539131Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
446150539131Smrg	if test "x$PVM" = "x"; then
446250539131Smrg		PVM="0"
446350539131Smrg	fi
446450539131Smrg
446550539131Smrgcat >>confdefs.h <<_ACEOF
446650539131Smrg#define PACKAGE_VERSION_MINOR $PVM
446750539131Smrg_ACEOF
446850539131Smrg
446950539131Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
447050539131Smrg	if test "x$PVP" = "x"; then
447150539131Smrg		PVP="0"
447250539131Smrg	fi
447350539131Smrg
447450539131Smrgcat >>confdefs.h <<_ACEOF
447550539131Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
447650539131Smrg_ACEOF
447750539131Smrg
447850539131Smrg
447950539131Smrg
448044d8e951SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
448144d8e951Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
448244d8e951Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
448350539131Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
448450539131Smrg
448544d8e951Smrg
448644d8e951Smrg
448744d8e951Smrg
448844d8e951Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
448944d8e951SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
449044d8e951Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
449144d8e951Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
449244d8e951Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
449344d8e951Smrg
449450539131Smrg
449550539131Smrg
449650539131Smrg
449750539131Smrg
449850539131Smrg
449950539131Smrgif test x$APP_MAN_SUFFIX = x    ; then
450050539131Smrg    APP_MAN_SUFFIX=1
450150539131Smrgfi
450250539131Smrgif test x$APP_MAN_DIR = x    ; then
450350539131Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4504ded1caa4Smrgfi
4505ded1caa4Smrg
450650539131Smrgif test x$LIB_MAN_SUFFIX = x    ; then
450750539131Smrg    LIB_MAN_SUFFIX=3
450850539131Smrgfi
450950539131Smrgif test x$LIB_MAN_DIR = x    ; then
451050539131Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
451150539131Smrgfi
451250539131Smrg
451350539131Smrgif test x$FILE_MAN_SUFFIX = x    ; then
451450539131Smrg    case $host_os in
451550539131Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
451650539131Smrg	*)		FILE_MAN_SUFFIX=5  ;;
451750539131Smrg    esac
451850539131Smrgfi
451950539131Smrgif test x$FILE_MAN_DIR = x    ; then
452050539131Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
452150539131Smrgfi
452250539131Smrg
452350539131Smrgif test x$MISC_MAN_SUFFIX = x    ; then
452450539131Smrg    case $host_os in
452550539131Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
452650539131Smrg	*)		MISC_MAN_SUFFIX=7  ;;
452750539131Smrg    esac
452850539131Smrgfi
452950539131Smrgif test x$MISC_MAN_DIR = x    ; then
453050539131Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
453150539131Smrgfi
453250539131Smrg
453350539131Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
453450539131Smrg    case $host_os in
453550539131Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
453650539131Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
453750539131Smrg    esac
453850539131Smrgfi
453950539131Smrgif test x$DRIVER_MAN_DIR = x    ; then
454050539131Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
454150539131Smrgfi
454250539131Smrg
454350539131Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
454450539131Smrg    case $host_os in
454550539131Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
454650539131Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
454750539131Smrg    esac
454850539131Smrgfi
454950539131Smrgif test x$ADMIN_MAN_DIR = x    ; then
455050539131Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
455150539131Smrgfi
455250539131Smrg
455350539131Smrg
455450539131Smrg
455550539131Smrg
455650539131Smrg
455750539131Smrg
455850539131Smrg
455950539131Smrg
456050539131Smrg
456150539131Smrg
456250539131Smrg
456350539131Smrg
456450539131Smrg
456550539131Smrg
4566ded1caa4Smrg
456744d8e951SmrgXORG_MAN_PAGE="X Version 11"
4568ded1caa4Smrg
456944d8e951SmrgMAN_SUBSTS="\
457044d8e951Smrg	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
457144d8e951Smrg	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
457244d8e951Smrg	-e 's|__xservername__|Xorg|g' \
457344d8e951Smrg	-e 's|__xconfigfile__|xorg.conf|g' \
457444d8e951Smrg	-e 's|__projectroot__|\$(prefix)|g' \
457544d8e951Smrg	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
457644d8e951Smrg	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
457744d8e951Smrg	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
457844d8e951Smrg	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
457944d8e951Smrg	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
458044d8e951Smrg	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
458144d8e951Smrg	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4582ded1caa4Smrg
4583ded1caa4Smrg
4584ded1caa4Smrg
458544d8e951Smrg# Check whether --enable-silent-rules was given.
458644d8e951Smrgif test "${enable_silent_rules+set}" = set; then :
458744d8e951Smrg  enableval=$enable_silent_rules;
4588ded1caa4Smrgfi
458950539131Smrg
459044d8e951Smrgcase $enable_silent_rules in
459144d8e951Smrgyes) AM_DEFAULT_VERBOSITY=0;;
459244d8e951Smrgno)  AM_DEFAULT_VERBOSITY=1;;
459344d8e951Smrg*)   AM_DEFAULT_VERBOSITY=0;;
459444d8e951Smrgesac
459544d8e951SmrgAM_BACKSLASH='\'
459644d8e951Smrg
459744d8e951Smrg
459844d8e951Smrg
459944d8e951Smrg
460044d8e951Smrg
460144d8e951Smrg# Require X.Org's font util macros 1.2 or later
460250539131Smrg
460350539131Smrg
460450539131Smrg
4605ded1caa4Smrg
4606ded1caa4Smrg
460750539131Smrg
4608ded1caa4Smrg
460950539131Smrg
461050539131Smrg
461150539131Smrg
461250539131Smrg
461350539131Smrg
461450539131Smrg
461544d8e951Smrg
461644d8e951Smrg
461744d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
461850539131Smrg$as_echo_n "checking for root directory for font files... " >&6; }
461950539131Smrg
462050539131Smrg# Check whether --with-fontrootdir was given.
462144d8e951Smrgif test "${with_fontrootdir+set}" = set; then :
462250539131Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
462350539131Smrgfi
462450539131Smrg
462550539131Smrg	# if --with-fontrootdir not specified...
462650539131Smrg	if test "x${FONTROOTDIR}" = "x"; then
462750539131Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
462850539131Smrg	fi
462950539131Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
463050539131Smrg	if test "x${FONTROOTDIR}" = "x"; then
463150539131Smrg		FONTROOTDIR="${datadir}/fonts/X11"
463250539131Smrg	fi
463350539131Smrg
463444d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
463550539131Smrg$as_echo "${FONTROOTDIR}" >&6; }
463650539131Smrg
463750539131Smrg
463850539131Smrg
463950539131Smrg
464044d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 75dpi files" >&5
464150539131Smrg$as_echo_n "checking for directory for 75dpi files... " >&6; }
464250539131Smrg
464350539131Smrg# Check whether --with-fontdir was given.
464444d8e951Smrgif test "${with_fontdir+set}" = set; then :
464550539131Smrg  withval=$with_fontdir; FONTDIR="${withval}"
464650539131Smrgelse
464750539131Smrg  FONTDIR='${FONTROOTDIR}/75dpi'
464850539131Smrgfi
464950539131Smrg
465050539131Smrg
465144d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
465250539131Smrg$as_echo "${FONTDIR}" >&6; }
465350539131Smrg
4654ded1caa4Smrg
465550539131Smrg
465650539131Smrg
465750539131Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
465850539131Smrgset dummy fc-cache; ac_word=$2
465944d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
466050539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
466144d8e951Smrgif ${ac_cv_path_FCCACHE+:} false; then :
466250539131Smrg  $as_echo_n "(cached) " >&6
466350539131Smrgelse
466450539131Smrg  case $FCCACHE in
466550539131Smrg  [\\/]* | ?:[\\/]*)
466650539131Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
466750539131Smrg  ;;
466850539131Smrg  *)
466950539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
467050539131Smrgfor as_dir in $PATH
467150539131Smrgdo
467250539131Smrg  IFS=$as_save_IFS
467350539131Smrg  test -z "$as_dir" && as_dir=.
467444d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
467550539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
467650539131Smrg    ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext"
467744d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
467850539131Smrg    break 2
467950539131Smrg  fi
468050539131Smrgdone
468144d8e951Smrg  done
468250539131SmrgIFS=$as_save_IFS
468350539131Smrg
468450539131Smrg  ;;
468550539131Smrgesac
468650539131Smrgfi
468750539131SmrgFCCACHE=$ac_cv_path_FCCACHE
468850539131Smrgif test -n "$FCCACHE"; then
468944d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
469050539131Smrg$as_echo "$FCCACHE" >&6; }
4691ded1caa4Smrgelse
469244d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
469350539131Smrg$as_echo "no" >&6; }
4694ded1caa4Smrgfi
4695ded1caa4Smrg
469650539131Smrg
469750539131Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
469850539131Smrg	if test x"$FCCACHE" = x ; then
469950539131Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
470050539131Smrg	else
470150539131Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
470250539131Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
470350539131Smrg	fi
470450539131Smrg
470550539131Smrg
470650539131Smrg
470750539131Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
4708ded1caa4Smrgset dummy mkfontdir; ac_word=$2
470944d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
471050539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
471144d8e951Smrgif ${ac_cv_path_MKFONTDIR+:} false; then :
471250539131Smrg  $as_echo_n "(cached) " >&6
4713ded1caa4Smrgelse
4714ded1caa4Smrg  case $MKFONTDIR in
4715ded1caa4Smrg  [\\/]* | ?:[\\/]*)
4716ded1caa4Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
4717ded1caa4Smrg  ;;
4718ded1caa4Smrg  *)
4719ded1caa4Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720ded1caa4Smrgfor as_dir in $PATH
4721ded1caa4Smrgdo
4722ded1caa4Smrg  IFS=$as_save_IFS
4723ded1caa4Smrg  test -z "$as_dir" && as_dir=.
472444d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
472550539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4726ded1caa4Smrg    ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
472744d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728ded1caa4Smrg    break 2
4729ded1caa4Smrg  fi
4730ded1caa4Smrgdone
473144d8e951Smrg  done
473250539131SmrgIFS=$as_save_IFS
4733ded1caa4Smrg
4734ded1caa4Smrg  ;;
4735ded1caa4Smrgesac
4736ded1caa4Smrgfi
4737ded1caa4SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
4738ded1caa4Smrgif test -n "$MKFONTDIR"; then
473944d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
474050539131Smrg$as_echo "$MKFONTDIR" >&6; }
4741ded1caa4Smrgelse
474244d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
474350539131Smrg$as_echo "no" >&6; }
4744ded1caa4Smrgfi
4745ded1caa4Smrg
4746ded1caa4Smrg
474744d8e951Smrg	if test x"$MKFONTDIR" = x; then
474844d8e951Smrg		as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
474950539131Smrg	fi
4750ded1caa4Smrg
4751ded1caa4Smrg
4752ded1caa4Smrg
475350539131Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
475450539131Smrgset dummy bdftopcf; ac_word=$2
475544d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
475650539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
475744d8e951Smrgif ${ac_cv_path_BDFTOPCF+:} false; then :
475850539131Smrg  $as_echo_n "(cached) " >&6
475950539131Smrgelse
476050539131Smrg  case $BDFTOPCF in
476150539131Smrg  [\\/]* | ?:[\\/]*)
476250539131Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
476350539131Smrg  ;;
476450539131Smrg  *)
476550539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
476650539131Smrgfor as_dir in $PATH
476750539131Smrgdo
476850539131Smrg  IFS=$as_save_IFS
476950539131Smrg  test -z "$as_dir" && as_dir=.
477044d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
477150539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
477250539131Smrg    ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext"
477344d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
477450539131Smrg    break 2
477550539131Smrg  fi
477650539131Smrgdone
477744d8e951Smrg  done
477850539131SmrgIFS=$as_save_IFS
477950539131Smrg
478050539131Smrg  ;;
478150539131Smrgesac
478250539131Smrgfi
478350539131SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
478450539131Smrgif test -n "$BDFTOPCF"; then
478544d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5
478650539131Smrg$as_echo "$BDFTOPCF" >&6; }
4787ded1caa4Smrgelse
478844d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
478950539131Smrg$as_echo "no" >&6; }
479050539131Smrgfi
479150539131Smrg
4792ded1caa4Smrg
479344d8e951Smrg	if test x"$BDFTOPCF" = x; then
479444d8e951Smrg		as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5
479550539131Smrg	fi
4796ded1caa4Smrg
4797ded1caa4Smrg
479844d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5
479950539131Smrg$as_echo_n "checking font compression method... " >&6; }
4800ded1caa4Smrg
480150539131Smrg# Check whether --with-compression was given.
480244d8e951Smrgif test "${with_compression+set}" = set; then :
480350539131Smrg  withval=$with_compression; compression="$withval"
4804ded1caa4Smrgelse
480550539131Smrg  compression="yes"
480650539131Smrgfi
480750539131Smrg
480850539131Smrg	if test x"$compression" = "xyes" ; then
480950539131Smrg		compression="gzip"
481050539131Smrg	fi
481144d8e951Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5
481250539131Smrg$as_echo "${compression}" >&6; }
481350539131Smrg	case ${compression} in
481450539131Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
481550539131Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;;
481650539131Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
481750539131Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
481844d8e951Smrg	 *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;;
481950539131Smrg	esac
482050539131Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
482150539131Smrg
482250539131Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
482350539131Smrgset dummy ${compression}; ac_word=$2
482444d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
482550539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
482644d8e951Smrgif ${ac_cv_path_COMPRESS+:} false; then :
482750539131Smrg  $as_echo_n "(cached) " >&6
482850539131Smrgelse
482950539131Smrg  case $COMPRESS in
483050539131Smrg  [\\/]* | ?:[\\/]*)
483150539131Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
483250539131Smrg  ;;
483350539131Smrg  *)
483450539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
483550539131Smrgfor as_dir in $PATH
483650539131Smrgdo
483750539131Smrg  IFS=$as_save_IFS
483850539131Smrg  test -z "$as_dir" && as_dir=.
483944d8e951Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
484050539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
484150539131Smrg    ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
484244d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
484350539131Smrg    break 2
484450539131Smrg  fi
484550539131Smrgdone
484644d8e951Smrg  done
484750539131SmrgIFS=$as_save_IFS
484850539131Smrg
484950539131Smrg  ;;
485050539131Smrgesac
485150539131Smrgfi
485250539131SmrgCOMPRESS=$ac_cv_path_COMPRESS
485350539131Smrgif test -n "$COMPRESS"; then
485444d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
485550539131Smrg$as_echo "$COMPRESS" >&6; }
485650539131Smrgelse
485744d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
485850539131Smrg$as_echo "no" >&6; }
485950539131Smrgfi
486050539131Smrg
486150539131Smrg
486244d8e951Smrg	if test x"$COMPRESS" = x; then
486344d8e951Smrg		as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5
486450539131Smrg	fi
486550539131Smrg
4866ded1caa4Smrg	fi
4867ded1caa4Smrg
4868ded1caa4Smrg
486950539131Smrg
487050539131Smrg
487150539131Smrgac_config_files="$ac_config_files Makefile"
487250539131Smrg
4873ded1caa4Smrgcat >confcache <<\_ACEOF
4874ded1caa4Smrg# This file is a shell script that caches the results of configure
4875ded1caa4Smrg# tests run on this system so they can be shared between configure
4876ded1caa4Smrg# scripts and configure runs, see configure's option --config-cache.
4877ded1caa4Smrg# It is not useful on other systems.  If it contains results you don't
4878ded1caa4Smrg# want to keep, you may remove or edit it.
4879ded1caa4Smrg#
4880ded1caa4Smrg# config.status only pays attention to the cache file if you give it
4881ded1caa4Smrg# the --recheck option to rerun configure.
4882ded1caa4Smrg#
4883ded1caa4Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
4884ded1caa4Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
4885ded1caa4Smrg# following values.
4886ded1caa4Smrg
4887ded1caa4Smrg_ACEOF
4888ded1caa4Smrg
4889ded1caa4Smrg# The following way of writing the cache mishandles newlines in values,
4890ded1caa4Smrg# but we know of no workaround that is simple, portable, and efficient.
489150539131Smrg# So, we kill variables containing newlines.
4892ded1caa4Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
4893ded1caa4Smrg# and sets the high bit in the cache file unless we assign to the vars.
489450539131Smrg(
489550539131Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
489650539131Smrg    eval ac_val=\$$ac_var
489750539131Smrg    case $ac_val in #(
489850539131Smrg    *${as_nl}*)
489950539131Smrg      case $ac_var in #(
490044d8e951Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
490150539131Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
490250539131Smrg      esac
490350539131Smrg      case $ac_var in #(
490450539131Smrg      _ | IFS | as_nl) ;; #(
490550539131Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
490644d8e951Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
490750539131Smrg      esac ;;
490850539131Smrg    esac
490950539131Smrg  done
491050539131Smrg
4911ded1caa4Smrg  (set) 2>&1 |
491250539131Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
491350539131Smrg    *${as_nl}ac_space=\ *)
491444d8e951Smrg      # `set' does not quote correctly, so add quotes: double-quote
491544d8e951Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
4916ded1caa4Smrg      sed -n \
4917ded1caa4Smrg	"s/'/'\\\\''/g;
4918ded1caa4Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
491950539131Smrg      ;; #(
4920ded1caa4Smrg    *)
4921ded1caa4Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
492250539131Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4923ded1caa4Smrg      ;;
492450539131Smrg    esac |
492550539131Smrg    sort
492650539131Smrg) |
4927ded1caa4Smrg  sed '
492850539131Smrg     /^ac_cv_env_/b end
4929ded1caa4Smrg     t clear
493050539131Smrg     :clear
4931ded1caa4Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4932ded1caa4Smrg     t end
493350539131Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
493450539131Smrg     :end' >>confcache
493550539131Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
493650539131Smrg  if test -w "$cache_file"; then
493744d8e951Smrg    if test "x$cache_file" != "x/dev/null"; then
493844d8e951Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
493950539131Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
494044d8e951Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
494144d8e951Smrg	cat confcache >"$cache_file"
494244d8e951Smrg      else
494344d8e951Smrg        case $cache_file in #(
494444d8e951Smrg        */* | ?:*)
494544d8e951Smrg	  mv -f confcache "$cache_file"$$ &&
494644d8e951Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
494744d8e951Smrg        *)
494844d8e951Smrg	  mv -f confcache "$cache_file" ;;
494944d8e951Smrg	esac
495044d8e951Smrg      fi
495144d8e951Smrg    fi
4952ded1caa4Smrg  else
495344d8e951Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
495450539131Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4955ded1caa4Smrg  fi
4956ded1caa4Smrgfi
4957ded1caa4Smrgrm -f confcache
4958ded1caa4Smrg
4959ded1caa4Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
4960ded1caa4Smrg# Let make expand exec_prefix.
4961ded1caa4Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4962ded1caa4Smrg
4963ded1caa4Smrg# Transform confdefs.h into DEFS.
4964ded1caa4Smrg# Protect against shell expansion while executing Makefile rules.
4965ded1caa4Smrg# Protect against Makefile macro expansion.
4966ded1caa4Smrg#
4967ded1caa4Smrg# If the first sed substitution is executed (which looks for macros that
496850539131Smrg# take arguments), then branch to the quote section.  Otherwise,
4969ded1caa4Smrg# look for a macro that doesn't take arguments.
497050539131Smrgac_script='
497150539131Smrg:mline
497250539131Smrg/\\$/{
497350539131Smrg N
497450539131Smrg s,\\\n,,
497550539131Smrg b mline
497650539131Smrg}
4977ded1caa4Smrgt clear
497850539131Smrg:clear
497950539131Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
4980ded1caa4Smrgt quote
498150539131Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
4982ded1caa4Smrgt quote
498350539131Smrgb any
498450539131Smrg:quote
498550539131Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
498650539131Smrgs/\[/\\&/g
498750539131Smrgs/\]/\\&/g
498850539131Smrgs/\$/$$/g
498950539131SmrgH
499050539131Smrg:any
499150539131Smrg${
499250539131Smrg	g
499350539131Smrg	s/^\n//
499450539131Smrg	s/\n/ /g
499550539131Smrg	p
499650539131Smrg}
499750539131Smrg'
499850539131SmrgDEFS=`sed -n "$ac_script" confdefs.h`
4999ded1caa4Smrg
5000ded1caa4Smrg
5001ded1caa4Smrgac_libobjs=
5002ded1caa4Smrgac_ltlibobjs=
500344d8e951SmrgU=
5004ded1caa4Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5005ded1caa4Smrg  # 1. Remove the extension, and $U if already installed.
500650539131Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
500750539131Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
500850539131Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
500950539131Smrg  #    will be set to the directory where LIBOBJS objects are built.
501044d8e951Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
501144d8e951Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5012ded1caa4Smrgdone
5013ded1caa4SmrgLIBOBJS=$ac_libobjs
5014ded1caa4Smrg
5015ded1caa4SmrgLTLIBOBJS=$ac_ltlibobjs
5016ded1caa4Smrg
5017ded1caa4Smrg
501850539131Smrg if test -n "$EXEEXT"; then
501950539131Smrg  am__EXEEXT_TRUE=
502050539131Smrg  am__EXEEXT_FALSE='#'
502150539131Smrgelse
502250539131Smrg  am__EXEEXT_TRUE='#'
502350539131Smrg  am__EXEEXT_FALSE=
502450539131Smrgfi
502550539131Smrg
5026ded1caa4Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
502744d8e951Smrg  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
502844d8e951SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
502950539131Smrgfi
503050539131Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
503144d8e951Smrg  as_fn_error $? "conditional \"AMDEP\" was never defined.
503244d8e951SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
503350539131Smrgfi
503450539131Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
503544d8e951Smrg  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
503644d8e951SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
5037ded1caa4Smrgfi
5038ded1caa4Smrg
503944d8e951Smrg: "${CONFIG_STATUS=./config.status}"
504050539131Smrgac_write_fail=0
5041ded1caa4Smrgac_clean_files_save=$ac_clean_files
5042ded1caa4Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
504344d8e951Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
504450539131Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
504544d8e951Smrgas_write_fail=0
504644d8e951Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5047ded1caa4Smrg#! $SHELL
5048ded1caa4Smrg# Generated by $as_me.
5049ded1caa4Smrg# Run this file to recreate the current configuration.
5050ded1caa4Smrg# Compiler output produced by configure, useful for debugging
5051ded1caa4Smrg# configure, is in config.log if it exists.
5052ded1caa4Smrg
5053ded1caa4Smrgdebug=false
5054ded1caa4Smrgac_cs_recheck=false
5055ded1caa4Smrgac_cs_silent=false
5056ded1caa4Smrg
505744d8e951SmrgSHELL=\${CONFIG_SHELL-$SHELL}
505844d8e951Smrgexport SHELL
505944d8e951Smrg_ASEOF
506044d8e951Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
506144d8e951Smrg## -------------------- ##
506244d8e951Smrg## M4sh Initialization. ##
506344d8e951Smrg## -------------------- ##
5064ded1caa4Smrg
506550539131Smrg# Be more Bourne compatible
506650539131SmrgDUALCASE=1; export DUALCASE # for MKS sh
506744d8e951Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5068ded1caa4Smrg  emulate sh
5069ded1caa4Smrg  NULLCMD=:
507050539131Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5071ded1caa4Smrg  # is contrary to our usage.  Disable this feature.
5072ded1caa4Smrg  alias -g '${1+"$@"}'='"$@"'
507350539131Smrg  setopt NO_GLOB_SUBST
507450539131Smrgelse
507544d8e951Smrg  case `(set -o) 2>/dev/null` in #(
507644d8e951Smrg  *posix*) :
507744d8e951Smrg    set -o posix ;; #(
507844d8e951Smrg  *) :
507944d8e951Smrg     ;;
508050539131Smrgesac
508150539131Smrgfi
508250539131Smrg
508350539131Smrg
508450539131Smrgas_nl='
508550539131Smrg'
508650539131Smrgexport as_nl
508750539131Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
508850539131Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
508950539131Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
509050539131Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
509144d8e951Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
509244d8e951Smrg# but without wasting forks for bash or zsh.
509344d8e951Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
509444d8e951Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
509544d8e951Smrg  as_echo='print -r --'
509644d8e951Smrg  as_echo_n='print -rn --'
509744d8e951Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
509850539131Smrg  as_echo='printf %s\n'
509950539131Smrg  as_echo_n='printf %s'
510050539131Smrgelse
510150539131Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
510250539131Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
510350539131Smrg    as_echo_n='/usr/ucb/echo -n'
510450539131Smrg  else
510550539131Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
510650539131Smrg    as_echo_n_body='eval
510750539131Smrg      arg=$1;
510844d8e951Smrg      case $arg in #(
510950539131Smrg      *"$as_nl"*)
511050539131Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
511150539131Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
511250539131Smrg      esac;
511350539131Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
511450539131Smrg    '
511550539131Smrg    export as_echo_n_body
511650539131Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
511750539131Smrg  fi
511850539131Smrg  export as_echo_body
511950539131Smrg  as_echo='sh -c $as_echo_body as_echo'
512050539131Smrgfi
512150539131Smrg
512250539131Smrg# The user is always right.
512350539131Smrgif test "${PATH_SEPARATOR+set}" != set; then
512450539131Smrg  PATH_SEPARATOR=:
512550539131Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
512650539131Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
512750539131Smrg      PATH_SEPARATOR=';'
512850539131Smrg  }
5129ded1caa4Smrgfi
5130ded1caa4Smrg
5131ded1caa4Smrg
513250539131Smrg# IFS
513350539131Smrg# We need space, tab and new line, in precisely that order.  Quoting is
513450539131Smrg# there to prevent editors from complaining about space-tab.
513550539131Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
513650539131Smrg# splitting by setting IFS to empty value.)
513750539131SmrgIFS=" ""	$as_nl"
513850539131Smrg
513950539131Smrg# Find who we are.  Look in the path if we contain no directory separator.
514044d8e951Smrgas_myself=
514144d8e951Smrgcase $0 in #((
514250539131Smrg  *[\\/]* ) as_myself=$0 ;;
514350539131Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
514450539131Smrgfor as_dir in $PATH
514550539131Smrgdo
514650539131Smrg  IFS=$as_save_IFS
514750539131Smrg  test -z "$as_dir" && as_dir=.
514844d8e951Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
514944d8e951Smrg  done
515050539131SmrgIFS=$as_save_IFS
515150539131Smrg
515250539131Smrg     ;;
515350539131Smrgesac
515450539131Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
515550539131Smrg# in which case we are not to be found in the path.
515650539131Smrgif test "x$as_myself" = x; then
515750539131Smrg  as_myself=$0
515850539131Smrgfi
515950539131Smrgif test ! -f "$as_myself"; then
516050539131Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
516144d8e951Smrg  exit 1
516250539131Smrgfi
516350539131Smrg
516444d8e951Smrg# Unset variables that we do not need and which cause bugs (e.g. in
516544d8e951Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
516644d8e951Smrg# suppresses any "Segmentation fault" message there.  '((' could
516744d8e951Smrg# trigger a bug in pdksh 5.2.14.
516844d8e951Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
516944d8e951Smrgdo eval test x\${$as_var+set} = xset \
517044d8e951Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
517150539131Smrgdone
5172ded1caa4SmrgPS1='$ '
5173ded1caa4SmrgPS2='> '
5174ded1caa4SmrgPS4='+ '
5175ded1caa4Smrg
5176ded1caa4Smrg# NLS nuisances.
517750539131SmrgLC_ALL=C
517850539131Smrgexport LC_ALL
517950539131SmrgLANGUAGE=C
518050539131Smrgexport LANGUAGE
5181ded1caa4Smrg
518244d8e951Smrg# CDPATH.
518344d8e951Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
518444d8e951Smrg
518544d8e951Smrg
518644d8e951Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
518744d8e951Smrg# ----------------------------------------
518844d8e951Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
518944d8e951Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
519044d8e951Smrg# script with STATUS, using 1 if that was 0.
519144d8e951Smrgas_fn_error ()
519244d8e951Smrg{
519344d8e951Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
519444d8e951Smrg  if test "$4"; then
519544d8e951Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
519644d8e951Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
519744d8e951Smrg  fi
519844d8e951Smrg  $as_echo "$as_me: error: $2" >&2
519944d8e951Smrg  as_fn_exit $as_status
520044d8e951Smrg} # as_fn_error
520144d8e951Smrg
520244d8e951Smrg
520344d8e951Smrg# as_fn_set_status STATUS
520444d8e951Smrg# -----------------------
520544d8e951Smrg# Set $? to STATUS, without forking.
520644d8e951Smrgas_fn_set_status ()
520744d8e951Smrg{
520844d8e951Smrg  return $1
520944d8e951Smrg} # as_fn_set_status
521044d8e951Smrg
521144d8e951Smrg# as_fn_exit STATUS
521244d8e951Smrg# -----------------
521344d8e951Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
521444d8e951Smrgas_fn_exit ()
521544d8e951Smrg{
521644d8e951Smrg  set +e
521744d8e951Smrg  as_fn_set_status $1
521844d8e951Smrg  exit $1
521944d8e951Smrg} # as_fn_exit
522044d8e951Smrg
522144d8e951Smrg# as_fn_unset VAR
522244d8e951Smrg# ---------------
522344d8e951Smrg# Portably unset VAR.
522444d8e951Smrgas_fn_unset ()
522544d8e951Smrg{
522644d8e951Smrg  { eval $1=; unset $1;}
522744d8e951Smrg}
522844d8e951Smrgas_unset=as_fn_unset
522944d8e951Smrg# as_fn_append VAR VALUE
523044d8e951Smrg# ----------------------
523144d8e951Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
523244d8e951Smrg# advantage of any shell optimizations that allow amortized linear growth over
523344d8e951Smrg# repeated appends, instead of the typical quadratic growth present in naive
523444d8e951Smrg# implementations.
523544d8e951Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
523644d8e951Smrg  eval 'as_fn_append ()
523744d8e951Smrg  {
523844d8e951Smrg    eval $1+=\$2
523944d8e951Smrg  }'
524044d8e951Smrgelse
524144d8e951Smrg  as_fn_append ()
524244d8e951Smrg  {
524344d8e951Smrg    eval $1=\$$1\$2
524444d8e951Smrg  }
524544d8e951Smrgfi # as_fn_append
524644d8e951Smrg
524744d8e951Smrg# as_fn_arith ARG...
524844d8e951Smrg# ------------------
524944d8e951Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
525044d8e951Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
525144d8e951Smrg# must be portable across $(()) and expr.
525244d8e951Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
525344d8e951Smrg  eval 'as_fn_arith ()
525444d8e951Smrg  {
525544d8e951Smrg    as_val=$(( $* ))
525644d8e951Smrg  }'
525744d8e951Smrgelse
525844d8e951Smrg  as_fn_arith ()
525944d8e951Smrg  {
526044d8e951Smrg    as_val=`expr "$@" || test $? -eq 1`
526144d8e951Smrg  }
526244d8e951Smrgfi # as_fn_arith
526344d8e951Smrg
526444d8e951Smrg
526550539131Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
526650539131Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5267ded1caa4Smrg  as_expr=expr
5268ded1caa4Smrgelse
5269ded1caa4Smrg  as_expr=false
5270ded1caa4Smrgfi
5271ded1caa4Smrg
527250539131Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5273ded1caa4Smrg  as_basename=basename
5274ded1caa4Smrgelse
5275ded1caa4Smrg  as_basename=false
5276ded1caa4Smrgfi
5277ded1caa4Smrg
527844d8e951Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
527944d8e951Smrg  as_dirname=dirname
528044d8e951Smrgelse
528144d8e951Smrg  as_dirname=false
528244d8e951Smrgfi
5283ded1caa4Smrg
528450539131Smrgas_me=`$as_basename -- "$0" ||
5285ded1caa4Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5286ded1caa4Smrg	 X"$0" : 'X\(//\)$' \| \
528750539131Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
528850539131Smrg$as_echo X/"$0" |
528950539131Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
529050539131Smrg	    s//\1/
529150539131Smrg	    q
529250539131Smrg	  }
529350539131Smrg	  /^X\/\(\/\/\)$/{
529450539131Smrg	    s//\1/
529550539131Smrg	    q
529650539131Smrg	  }
529750539131Smrg	  /^X\/\(\/\).*/{
529850539131Smrg	    s//\1/
529950539131Smrg	    q
530050539131Smrg	  }
530150539131Smrg	  s/.*/./; q'`
5302ded1caa4Smrg
530344d8e951Smrg# Avoid depending upon Character Ranges.
530444d8e951Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
530544d8e951Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
530644d8e951Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
530744d8e951Smrgas_cr_digits='0123456789'
530844d8e951Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
5309ded1caa4Smrg
531050539131SmrgECHO_C= ECHO_N= ECHO_T=
531144d8e951Smrgcase `echo -n x` in #(((((
531250539131Smrg-n*)
531344d8e951Smrg  case `echo 'xy\c'` in
531450539131Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
531544d8e951Smrg  xy)  ECHO_C='\c';;
531644d8e951Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
531744d8e951Smrg       ECHO_T='	';;
531850539131Smrg  esac;;
531950539131Smrg*)
532050539131Smrg  ECHO_N='-n';;
532150539131Smrgesac
5322ded1caa4Smrg
5323ded1caa4Smrgrm -f conf$$ conf$$.exe conf$$.file
532450539131Smrgif test -d conf$$.dir; then
532550539131Smrg  rm -f conf$$.dir/conf$$.file
532650539131Smrgelse
532750539131Smrg  rm -f conf$$.dir
532850539131Smrg  mkdir conf$$.dir 2>/dev/null
532950539131Smrgfi
533050539131Smrgif (echo >conf$$.file) 2>/dev/null; then
533150539131Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5332ded1caa4Smrg    as_ln_s='ln -s'
533350539131Smrg    # ... but there are two gotchas:
533450539131Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533550539131Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
533650539131Smrg    # In both cases, we have to default to `cp -p'.
533750539131Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
533850539131Smrg      as_ln_s='cp -p'
533950539131Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
534050539131Smrg    as_ln_s=ln
534150539131Smrg  else
534250539131Smrg    as_ln_s='cp -p'
5343ded1caa4Smrg  fi
5344ded1caa4Smrgelse
5345ded1caa4Smrg  as_ln_s='cp -p'
5346ded1caa4Smrgfi
534750539131Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534850539131Smrgrmdir conf$$.dir 2>/dev/null
5349ded1caa4Smrg
535044d8e951Smrg
535144d8e951Smrg# as_fn_mkdir_p
535244d8e951Smrg# -------------
535344d8e951Smrg# Create "$as_dir" as a directory, including parents if necessary.
535444d8e951Smrgas_fn_mkdir_p ()
535544d8e951Smrg{
535644d8e951Smrg
535744d8e951Smrg  case $as_dir in #(
535844d8e951Smrg  -*) as_dir=./$as_dir;;
535944d8e951Smrg  esac
536044d8e951Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
536144d8e951Smrg    as_dirs=
536244d8e951Smrg    while :; do
536344d8e951Smrg      case $as_dir in #(
536444d8e951Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
536544d8e951Smrg      *) as_qdir=$as_dir;;
536644d8e951Smrg      esac
536744d8e951Smrg      as_dirs="'$as_qdir' $as_dirs"
536844d8e951Smrg      as_dir=`$as_dirname -- "$as_dir" ||
536944d8e951Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
537044d8e951Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
537144d8e951Smrg	 X"$as_dir" : 'X\(//\)$' \| \
537244d8e951Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
537344d8e951Smrg$as_echo X"$as_dir" |
537444d8e951Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
537544d8e951Smrg	    s//\1/
537644d8e951Smrg	    q
537744d8e951Smrg	  }
537844d8e951Smrg	  /^X\(\/\/\)[^/].*/{
537944d8e951Smrg	    s//\1/
538044d8e951Smrg	    q
538144d8e951Smrg	  }
538244d8e951Smrg	  /^X\(\/\/\)$/{
538344d8e951Smrg	    s//\1/
538444d8e951Smrg	    q
538544d8e951Smrg	  }
538644d8e951Smrg	  /^X\(\/\).*/{
538744d8e951Smrg	    s//\1/
538844d8e951Smrg	    q
538944d8e951Smrg	  }
539044d8e951Smrg	  s/.*/./; q'`
539144d8e951Smrg      test -d "$as_dir" && break
539244d8e951Smrg    done
539344d8e951Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
539444d8e951Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
539544d8e951Smrg
539644d8e951Smrg
539744d8e951Smrg} # as_fn_mkdir_p
5398ded1caa4Smrgif mkdir -p . 2>/dev/null; then
539944d8e951Smrg  as_mkdir_p='mkdir -p "$as_dir"'
5400ded1caa4Smrgelse
5401ded1caa4Smrg  test -d ./-p && rmdir ./-p
5402ded1caa4Smrg  as_mkdir_p=false
5403ded1caa4Smrgfi
5404ded1caa4Smrg
540550539131Smrgif test -x / >/dev/null 2>&1; then
540650539131Smrg  as_test_x='test -x'
540750539131Smrgelse
540850539131Smrg  if ls -dL / >/dev/null 2>&1; then
540950539131Smrg    as_ls_L_option=L
541050539131Smrg  else
541150539131Smrg    as_ls_L_option=
541250539131Smrg  fi
541350539131Smrg  as_test_x='
541450539131Smrg    eval sh -c '\''
541550539131Smrg      if test -d "$1"; then
541650539131Smrg	test -d "$1/.";
541750539131Smrg      else
541844d8e951Smrg	case $1 in #(
541950539131Smrg	-*)set "./$1";;
542050539131Smrg	esac;
542144d8e951Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
542250539131Smrg	???[sx]*):;;*)false;;esac;fi
542350539131Smrg    '\'' sh
542450539131Smrg  '
542550539131Smrgfi
542650539131Smrgas_executable_p=$as_test_x
5427ded1caa4Smrg
5428ded1caa4Smrg# Sed expression to map a string onto a valid CPP name.
5429ded1caa4Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5430ded1caa4Smrg
5431ded1caa4Smrg# Sed expression to map a string onto a valid variable name.
5432ded1caa4Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5433ded1caa4Smrg
5434ded1caa4Smrg
5435ded1caa4Smrgexec 6>&1
543644d8e951Smrg## ----------------------------------- ##
543744d8e951Smrg## Main body of $CONFIG_STATUS script. ##
543844d8e951Smrg## ----------------------------------- ##
543944d8e951Smrg_ASEOF
544044d8e951Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5441ded1caa4Smrg
544244d8e951Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
544344d8e951Smrg# Save the log message, to keep $0 and so on meaningful, and to
5444ded1caa4Smrg# report actual input values of CONFIG_FILES etc. instead of their
544550539131Smrg# values after options handling.
544650539131Smrgac_log="
544744d8e951SmrgThis file was extended by font-bitstream-75dpi $as_me 1.0.3, which was
544844d8e951Smrggenerated by GNU Autoconf 2.68.  Invocation command line was
5449ded1caa4Smrg
5450ded1caa4Smrg  CONFIG_FILES    = $CONFIG_FILES
5451ded1caa4Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
5452ded1caa4Smrg  CONFIG_LINKS    = $CONFIG_LINKS
5453ded1caa4Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
5454ded1caa4Smrg  $ $0 $@
5455ded1caa4Smrg
545650539131Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
545750539131Smrg"
545850539131Smrg
5459ded1caa4Smrg_ACEOF
5460ded1caa4Smrg
546150539131Smrgcase $ac_config_files in *"
546250539131Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
546350539131Smrgesac
5464ded1caa4Smrg
5465ded1caa4Smrg
5466ded1caa4Smrg
546750539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
546850539131Smrg# Files that config.status was made for.
546950539131Smrgconfig_files="$ac_config_files"
547050539131Smrgconfig_commands="$ac_config_commands"
5471ded1caa4Smrg
547250539131Smrg_ACEOF
5473ded1caa4Smrg
547450539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5475ded1caa4Smrgac_cs_usage="\
547644d8e951Smrg\`$as_me' instantiates files and other configuration actions
547744d8e951Smrgfrom templates according to the current configuration.  Unless the files
547844d8e951Smrgand actions are specified as TAGs, all are instantiated by default.
5479ded1caa4Smrg
548044d8e951SmrgUsage: $0 [OPTION]... [TAG]...
5481ded1caa4Smrg
5482ded1caa4Smrg  -h, --help       print this help, then exit
548350539131Smrg  -V, --version    print version number and configuration settings, then exit
548444d8e951Smrg      --config     print configuration, then exit
548550539131Smrg  -q, --quiet, --silent
548650539131Smrg                   do not print progress messages
5487ded1caa4Smrg  -d, --debug      don't remove temporary files
5488ded1caa4Smrg      --recheck    update $as_me by reconfiguring in the same conditions
548950539131Smrg      --file=FILE[:TEMPLATE]
549050539131Smrg                   instantiate the configuration file FILE
5491ded1caa4Smrg
5492ded1caa4SmrgConfiguration files:
5493ded1caa4Smrg$config_files
5494ded1caa4Smrg
549550539131SmrgConfiguration commands:
549650539131Smrg$config_commands
549750539131Smrg
549844d8e951SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5499ded1caa4Smrg
550050539131Smrg_ACEOF
550150539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
550244d8e951Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5503ded1caa4Smrgac_cs_version="\\
550444d8e951Smrgfont-bitstream-75dpi config.status 1.0.3
550544d8e951Smrgconfigured by $0, generated by GNU Autoconf 2.68,
550644d8e951Smrg  with options \\"\$ac_cs_config\\"
5507ded1caa4Smrg
550844d8e951SmrgCopyright (C) 2010 Free Software Foundation, Inc.
5509ded1caa4SmrgThis config.status script is free software; the Free Software Foundation
5510ded1caa4Smrggives unlimited permission to copy, distribute and modify it."
551150539131Smrg
551250539131Smrgac_pwd='$ac_pwd'
551350539131Smrgsrcdir='$srcdir'
551450539131SmrgINSTALL='$INSTALL'
551550539131SmrgMKDIR_P='$MKDIR_P'
551650539131SmrgAWK='$AWK'
551750539131Smrgtest -n "\$AWK" || AWK=awk
5518ded1caa4Smrg_ACEOF
5519ded1caa4Smrg
552050539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
552150539131Smrg# The default lists apply if the user does not specify any file.
5522ded1caa4Smrgac_need_defaults=:
5523ded1caa4Smrgwhile test $# != 0
5524ded1caa4Smrgdo
5525ded1caa4Smrg  case $1 in
552644d8e951Smrg  --*=?*)
552750539131Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
552850539131Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5529ded1caa4Smrg    ac_shift=:
5530ded1caa4Smrg    ;;
553144d8e951Smrg  --*=)
553244d8e951Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
553344d8e951Smrg    ac_optarg=
553444d8e951Smrg    ac_shift=:
553544d8e951Smrg    ;;
553650539131Smrg  *)
5537ded1caa4Smrg    ac_option=$1
5538ded1caa4Smrg    ac_optarg=$2
5539ded1caa4Smrg    ac_shift=shift
5540ded1caa4Smrg    ;;
5541ded1caa4Smrg  esac
5542ded1caa4Smrg
5543ded1caa4Smrg  case $ac_option in
5544ded1caa4Smrg  # Handling of the options.
5545ded1caa4Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5546ded1caa4Smrg    ac_cs_recheck=: ;;
554750539131Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
554850539131Smrg    $as_echo "$ac_cs_version"; exit ;;
554944d8e951Smrg  --config | --confi | --conf | --con | --co | --c )
555044d8e951Smrg    $as_echo "$ac_cs_config"; exit ;;
555150539131Smrg  --debug | --debu | --deb | --de | --d | -d )
5552ded1caa4Smrg    debug=: ;;
5553ded1caa4Smrg  --file | --fil | --fi | --f )
5554ded1caa4Smrg    $ac_shift
555550539131Smrg    case $ac_optarg in
555650539131Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
555744d8e951Smrg    '') as_fn_error $? "missing file argument" ;;
555850539131Smrg    esac
555944d8e951Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
5560ded1caa4Smrg    ac_need_defaults=false;;
556150539131Smrg  --he | --h |  --help | --hel | -h )
556250539131Smrg    $as_echo "$ac_cs_usage"; exit ;;
5563ded1caa4Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5564ded1caa4Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5565ded1caa4Smrg    ac_cs_silent=: ;;
5566ded1caa4Smrg
5567ded1caa4Smrg  # This is an error.
556844d8e951Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
556944d8e951SmrgTry \`$0 --help' for more information." ;;
5570ded1caa4Smrg
557144d8e951Smrg  *) as_fn_append ac_config_targets " $1"
557250539131Smrg     ac_need_defaults=false ;;
5573ded1caa4Smrg
5574ded1caa4Smrg  esac
5575ded1caa4Smrg  shift
5576ded1caa4Smrgdone
5577ded1caa4Smrg
5578ded1caa4Smrgac_configure_extra_args=
5579ded1caa4Smrg
5580ded1caa4Smrgif $ac_cs_silent; then
5581ded1caa4Smrg  exec 6>/dev/null
5582ded1caa4Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
5583ded1caa4Smrgfi
5584ded1caa4Smrg
5585ded1caa4Smrg_ACEOF
558650539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5587ded1caa4Smrgif \$ac_cs_recheck; then
558850539131Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
558950539131Smrg  shift
559050539131Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
559150539131Smrg  CONFIG_SHELL='$SHELL'
559250539131Smrg  export CONFIG_SHELL
559350539131Smrg  exec "\$@"
5594ded1caa4Smrgfi
5595ded1caa4Smrg
5596ded1caa4Smrg_ACEOF
559750539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
559850539131Smrgexec 5>>config.log
559950539131Smrg{
560050539131Smrg  echo
560150539131Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
560250539131Smrg## Running $as_me. ##
560350539131Smrg_ASBOX
560450539131Smrg  $as_echo "$ac_log"
560550539131Smrg} >&5
5606ded1caa4Smrg
560750539131Smrg_ACEOF
560850539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
560950539131Smrg#
561050539131Smrg# INIT-COMMANDS
561150539131Smrg#
561250539131SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5613ded1caa4Smrg
561450539131Smrg_ACEOF
5615ded1caa4Smrg
561650539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5617ded1caa4Smrg
561850539131Smrg# Handling of arguments.
5619ded1caa4Smrgfor ac_config_target in $ac_config_targets
5620ded1caa4Smrgdo
562150539131Smrg  case $ac_config_target in
562250539131Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
562350539131Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
562450539131Smrg
562544d8e951Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5626ded1caa4Smrg  esac
5627ded1caa4Smrgdone
5628ded1caa4Smrg
562950539131Smrg
5630ded1caa4Smrg# If the user did not use the arguments to specify the items to instantiate,
5631ded1caa4Smrg# then the envvar interface is used.  Set only those that are not.
5632ded1caa4Smrg# We use the long form for the default assignment because of an extremely
5633ded1caa4Smrg# bizarre bug on SunOS 4.1.3.
5634ded1caa4Smrgif $ac_need_defaults; then
5635ded1caa4Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
563650539131Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5637ded1caa4Smrgfi
5638ded1caa4Smrg
5639ded1caa4Smrg# Have a temporary directory for convenience.  Make it in the build tree
564050539131Smrg# simply because there is no reason against having it here, and in addition,
5641ded1caa4Smrg# creating and moving files from /tmp can sometimes cause problems.
564250539131Smrg# Hook for its removal unless debugging.
564350539131Smrg# Note that there is a small window in which the directory will not be cleaned:
564450539131Smrg# after its creation but before its name has been assigned to `$tmp'.
5645ded1caa4Smrg$debug ||
5646ded1caa4Smrg{
564744d8e951Smrg  tmp= ac_tmp=
564850539131Smrg  trap 'exit_status=$?
564944d8e951Smrg  : "${ac_tmp:=$tmp}"
565044d8e951Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
565150539131Smrg' 0
565244d8e951Smrg  trap 'as_fn_exit 1' 1 2 13 15
5653ded1caa4Smrg}
5654ded1caa4Smrg# Create a (secure) tmp directory for tmp files.
5655ded1caa4Smrg
5656ded1caa4Smrg{
565750539131Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
565844d8e951Smrg  test -d "$tmp"
5659ded1caa4Smrg}  ||
5660ded1caa4Smrg{
566150539131Smrg  tmp=./conf$$-$RANDOM
566250539131Smrg  (umask 077 && mkdir "$tmp")
566344d8e951Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
566444d8e951Smrgac_tmp=$tmp
5665ded1caa4Smrg
566650539131Smrg# Set up the scripts for CONFIG_FILES section.
566750539131Smrg# No need to generate them if there are no CONFIG_FILES.
566850539131Smrg# This happens for instance with `./config.status config.h'.
566950539131Smrgif test -n "$CONFIG_FILES"; then
567050539131Smrg
567150539131Smrg
567244d8e951Smrgac_cr=`echo X | tr X '\015'`
567344d8e951Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
567444d8e951Smrg# But we know of no other shell where ac_cr would be empty at this
567544d8e951Smrg# point, so we can use a bashism as a fallback.
567644d8e951Smrgif test "x$ac_cr" = x; then
567744d8e951Smrg  eval ac_cr=\$\'\\r\'
567844d8e951Smrgfi
567950539131Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
568050539131Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
568150539131Smrg  ac_cs_awk_cr='\\r'
568250539131Smrgelse
568350539131Smrg  ac_cs_awk_cr=$ac_cr
568450539131Smrgfi
568550539131Smrg
568644d8e951Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5687ded1caa4Smrg_ACEOF
5688ded1caa4Smrg
5689ded1caa4Smrg
569050539131Smrg{
569150539131Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
569250539131Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
569350539131Smrg  echo "_ACEOF"
569450539131Smrg} >conf$$subs.sh ||
569544d8e951Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
569644d8e951Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
569750539131Smrgac_delim='%!_!# '
569850539131Smrgfor ac_last_try in false false false false false :; do
569950539131Smrg  . ./conf$$subs.sh ||
570044d8e951Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5701ded1caa4Smrg
570250539131Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
570350539131Smrg  if test $ac_delim_n = $ac_delim_num; then
570450539131Smrg    break
570550539131Smrg  elif $ac_last_try; then
570644d8e951Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
570750539131Smrg  else
570850539131Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5709ded1caa4Smrg  fi
571050539131Smrgdone
571150539131Smrgrm -f conf$$subs.sh
5712ded1caa4Smrg
571350539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
571444d8e951Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5715ded1caa4Smrg_ACEOF
571650539131Smrgsed -n '
571750539131Smrgh
571850539131Smrgs/^/S["/; s/!.*/"]=/
571950539131Smrgp
572050539131Smrgg
572150539131Smrgs/^[^!]*!//
572250539131Smrg:repl
572350539131Smrgt repl
572450539131Smrgs/'"$ac_delim"'$//
572550539131Smrgt delim
572650539131Smrg:nl
572750539131Smrgh
572844d8e951Smrgs/\(.\{148\}\)..*/\1/
572950539131Smrgt more1
573050539131Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
573150539131Smrgp
573250539131Smrgn
573350539131Smrgb repl
573450539131Smrg:more1
573550539131Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
573650539131Smrgp
573750539131Smrgg
573850539131Smrgs/.\{148\}//
573950539131Smrgt nl
574050539131Smrg:delim
574150539131Smrgh
574244d8e951Smrgs/\(.\{148\}\)..*/\1/
574350539131Smrgt more2
574450539131Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
574550539131Smrgp
574650539131Smrgb
574750539131Smrg:more2
574850539131Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
574950539131Smrgp
575050539131Smrgg
575150539131Smrgs/.\{148\}//
575250539131Smrgt delim
575350539131Smrg' <conf$$subs.awk | sed '
575450539131Smrg/^[^""]/{
575550539131Smrg  N
575650539131Smrg  s/\n//
575750539131Smrg}
575850539131Smrg' >>$CONFIG_STATUS || ac_write_fail=1
575950539131Smrgrm -f conf$$subs.awk
576050539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
576150539131Smrg_ACAWK
576244d8e951Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
576350539131Smrg  for (key in S) S_is_set[key] = 1
576450539131Smrg  FS = ""
576550539131Smrg
576650539131Smrg}
576750539131Smrg{
576850539131Smrg  line = $ 0
576950539131Smrg  nfields = split(line, field, "@")
577050539131Smrg  substed = 0
577150539131Smrg  len = length(field[1])
577250539131Smrg  for (i = 2; i < nfields; i++) {
577350539131Smrg    key = field[i]
577450539131Smrg    keylen = length(key)
577550539131Smrg    if (S_is_set[key]) {
577650539131Smrg      value = S[key]
577750539131Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
577850539131Smrg      len += length(value) + length(field[++i])
577950539131Smrg      substed = 1
578050539131Smrg    } else
578150539131Smrg      len += 1 + keylen
578250539131Smrg  }
578350539131Smrg
578450539131Smrg  print line
578550539131Smrg}
578650539131Smrg
578750539131Smrg_ACAWK
578850539131Smrg_ACEOF
578950539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
579050539131Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
579150539131Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
579250539131Smrgelse
579350539131Smrg  cat
579444d8e951Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
579544d8e951Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
579650539131Smrg_ACEOF
579750539131Smrg
579844d8e951Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
579944d8e951Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
580050539131Smrg# trailing colons and then remove the whole line if VPATH becomes empty
580150539131Smrg# (actually we leave an empty line to preserve line numbers).
580250539131Smrgif test "x$srcdir" = x.; then
580344d8e951Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
580444d8e951Smrgh
580544d8e951Smrgs///
580644d8e951Smrgs/^/:/
580744d8e951Smrgs/[	 ]*$/:/
580844d8e951Smrgs/:\$(srcdir):/:/g
580944d8e951Smrgs/:\${srcdir}:/:/g
581044d8e951Smrgs/:@srcdir@:/:/g
581144d8e951Smrgs/^:*//
581250539131Smrgs/:*$//
581344d8e951Smrgx
581444d8e951Smrgs/\(=[	 ]*\).*/\1/
581544d8e951SmrgG
581644d8e951Smrgs/\n//
581750539131Smrgs/^[^=]*=[	 ]*$//
581850539131Smrg}'
581950539131Smrgfi
582050539131Smrg
582150539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
582250539131Smrgfi # test -n "$CONFIG_FILES"
582350539131Smrg
582450539131Smrg
582550539131Smrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
582650539131Smrgshift
582750539131Smrgfor ac_tag
582850539131Smrgdo
582950539131Smrg  case $ac_tag in
583050539131Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
583150539131Smrg  esac
583250539131Smrg  case $ac_mode$ac_tag in
583350539131Smrg  :[FHL]*:*);;
583444d8e951Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
583550539131Smrg  :[FH]-) ac_tag=-:-;;
583650539131Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
583750539131Smrg  esac
583850539131Smrg  ac_save_IFS=$IFS
583950539131Smrg  IFS=:
584050539131Smrg  set x $ac_tag
584150539131Smrg  IFS=$ac_save_IFS
584250539131Smrg  shift
584350539131Smrg  ac_file=$1
584450539131Smrg  shift
584550539131Smrg
584650539131Smrg  case $ac_mode in
584750539131Smrg  :L) ac_source=$1;;
584850539131Smrg  :[FH])
584950539131Smrg    ac_file_inputs=
585050539131Smrg    for ac_f
585150539131Smrg    do
585250539131Smrg      case $ac_f in
585344d8e951Smrg      -) ac_f="$ac_tmp/stdin";;
585450539131Smrg      *) # Look for the file first in the build tree, then in the source tree
585550539131Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
585650539131Smrg	 # because $ac_f cannot contain `:'.
585750539131Smrg	 test -f "$ac_f" ||
585850539131Smrg	   case $ac_f in
585950539131Smrg	   [\\/$]*) false;;
586050539131Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
586150539131Smrg	   esac ||
586244d8e951Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
586350539131Smrg      esac
586450539131Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
586544d8e951Smrg      as_fn_append ac_file_inputs " '$ac_f'"
586650539131Smrg    done
586750539131Smrg
586850539131Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
586950539131Smrg    # use $as_me), people would be surprised to read:
587050539131Smrg    #    /* config.h.  Generated by config.status.  */
587150539131Smrg    configure_input='Generated from '`
587250539131Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
587350539131Smrg	`' by configure.'
587450539131Smrg    if test x"$ac_file" != x-; then
587550539131Smrg      configure_input="$ac_file.  $configure_input"
587644d8e951Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
587750539131Smrg$as_echo "$as_me: creating $ac_file" >&6;}
587850539131Smrg    fi
587950539131Smrg    # Neutralize special characters interpreted by sed in replacement strings.
588050539131Smrg    case $configure_input in #(
588150539131Smrg    *\&* | *\|* | *\\* )
588250539131Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
588350539131Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
588450539131Smrg    *) ac_sed_conf_input=$configure_input;;
588550539131Smrg    esac
588650539131Smrg
588750539131Smrg    case $ac_tag in
588844d8e951Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
588944d8e951Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
589050539131Smrg    esac
589150539131Smrg    ;;
5892ded1caa4Smrg  esac
5893ded1caa4Smrg
589450539131Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
5895ded1caa4Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5896ded1caa4Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
5897ded1caa4Smrg	 X"$ac_file" : 'X\(//\)$' \| \
589850539131Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
589950539131Smrg$as_echo X"$ac_file" |
590050539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
590150539131Smrg	    s//\1/
590250539131Smrg	    q
590350539131Smrg	  }
590450539131Smrg	  /^X\(\/\/\)[^/].*/{
590550539131Smrg	    s//\1/
590650539131Smrg	    q
590750539131Smrg	  }
590850539131Smrg	  /^X\(\/\/\)$/{
590950539131Smrg	    s//\1/
591050539131Smrg	    q
591150539131Smrg	  }
591250539131Smrg	  /^X\(\/\).*/{
591350539131Smrg	    s//\1/
591450539131Smrg	    q
591550539131Smrg	  }
591650539131Smrg	  s/.*/./; q'`
591744d8e951Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
5918ded1caa4Smrg  ac_builddir=.
5919ded1caa4Smrg
592050539131Smrgcase "$ac_dir" in
592150539131Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
592250539131Smrg*)
592350539131Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
592450539131Smrg  # A ".." for each directory in $ac_dir_suffix.
592550539131Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
592650539131Smrg  case $ac_top_builddir_sub in
592750539131Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
592850539131Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
592950539131Smrg  esac ;;
593050539131Smrgesac
593150539131Smrgac_abs_top_builddir=$ac_pwd
593250539131Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
593350539131Smrg# for backward compatibility:
593450539131Smrgac_top_builddir=$ac_top_build_prefix
5935ded1caa4Smrg
5936ded1caa4Smrgcase $srcdir in
593750539131Smrg  .)  # We are building in place.
5938ded1caa4Smrg    ac_srcdir=.
593950539131Smrg    ac_top_srcdir=$ac_top_builddir_sub
594050539131Smrg    ac_abs_top_srcdir=$ac_pwd ;;
594150539131Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
5942ded1caa4Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
594350539131Smrg    ac_top_srcdir=$srcdir
594450539131Smrg    ac_abs_top_srcdir=$srcdir ;;
594550539131Smrg  *) # Relative name.
594650539131Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
594750539131Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
594850539131Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5949ded1caa4Smrgesac
595050539131Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5951ded1caa4Smrg
5952ded1caa4Smrg
595350539131Smrg  case $ac_mode in
595450539131Smrg  :F)
595550539131Smrg  #
595650539131Smrg  # CONFIG_FILE
595750539131Smrg  #
5958ded1caa4Smrg
5959ded1caa4Smrg  case $INSTALL in
5960ded1caa4Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
596150539131Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5962ded1caa4Smrg  esac
596350539131Smrg  ac_MKDIR_P=$MKDIR_P
596450539131Smrg  case $MKDIR_P in
596550539131Smrg  [\\/$]* | ?:[\\/]* ) ;;
596650539131Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
596750539131Smrg  esac
596850539131Smrg_ACEOF
5969ded1caa4Smrg
597050539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
597150539131Smrg# If the template does not know about datarootdir, expand it.
597250539131Smrg# FIXME: This hack should be removed a few years after 2.60.
597350539131Smrgac_datarootdir_hack=; ac_datarootdir_seen=
597450539131Smrgac_sed_dataroot='
597550539131Smrg/datarootdir/ {
597650539131Smrg  p
597750539131Smrg  q
597850539131Smrg}
597950539131Smrg/@datadir@/p
598050539131Smrg/@docdir@/p
598150539131Smrg/@infodir@/p
598250539131Smrg/@localedir@/p
598344d8e951Smrg/@mandir@/p'
598450539131Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
598550539131Smrg*datarootdir*) ac_datarootdir_seen=yes;;
598650539131Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
598744d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
598850539131Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
598950539131Smrg_ACEOF
599050539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
599150539131Smrg  ac_datarootdir_hack='
599250539131Smrg  s&@datadir@&$datadir&g
599350539131Smrg  s&@docdir@&$docdir&g
599450539131Smrg  s&@infodir@&$infodir&g
599550539131Smrg  s&@localedir@&$localedir&g
599650539131Smrg  s&@mandir@&$mandir&g
599744d8e951Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
599850539131Smrgesac
5999ded1caa4Smrg_ACEOF
600050539131Smrg
600150539131Smrg# Neutralize VPATH when `$srcdir' = `.'.
600250539131Smrg# Shell code in configure.ac might set extrasub.
600350539131Smrg# FIXME: do we really want to maintain this feature?
600450539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
600550539131Smrgac_sed_extra="$ac_vpsub
6006ded1caa4Smrg$extrasub
6007ded1caa4Smrg_ACEOF
600850539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6009ded1caa4Smrg:t
6010ded1caa4Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
601150539131Smrgs|@configure_input@|$ac_sed_conf_input|;t t
601250539131Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
601350539131Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
601450539131Smrgs&@srcdir@&$ac_srcdir&;t t
601550539131Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
601650539131Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
601750539131Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
601850539131Smrgs&@builddir@&$ac_builddir&;t t
601950539131Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
602050539131Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
602150539131Smrgs&@INSTALL@&$ac_INSTALL&;t t
602250539131Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
602350539131Smrg$ac_datarootdir_hack
602450539131Smrg"
602544d8e951Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
602644d8e951Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6027ded1caa4Smrg
602850539131Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
602944d8e951Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
603044d8e951Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
603144d8e951Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
603244d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
603344d8e951Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
603450539131Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
603544d8e951Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
603650539131Smrg
603744d8e951Smrg  rm -f "$ac_tmp/stdin"
603850539131Smrg  case $ac_file in
603944d8e951Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
604044d8e951Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
604150539131Smrg  esac \
604244d8e951Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
604350539131Smrg ;;
604450539131Smrg
604550539131Smrg
604644d8e951Smrg  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
604750539131Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
604850539131Smrg ;;
604950539131Smrg  esac
605050539131Smrg
605150539131Smrg
605250539131Smrg  case $ac_file$ac_mode in
605350539131Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
605450539131Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
605550539131Smrg  # are listed without --file.  Let's play safe and only enable the eval
605650539131Smrg  # if we detect the quoting.
605750539131Smrg  case $CONFIG_FILES in
605850539131Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
605950539131Smrg  *)   set x $CONFIG_FILES ;;
606050539131Smrg  esac
606150539131Smrg  shift
606250539131Smrg  for mf
606350539131Smrg  do
606450539131Smrg    # Strip MF so we end up with the name of the file.
606550539131Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
606650539131Smrg    # Check whether this is an Automake generated Makefile or not.
606750539131Smrg    # We used to match only the files named `Makefile.in', but
606850539131Smrg    # some people rename them; so instead we look at the file content.
606950539131Smrg    # Grep'ing the first line is not enough: some people post-process
607050539131Smrg    # each Makefile.in and add a new line on top of each file to say so.
607150539131Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
607250539131Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
607350539131Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
607450539131Smrg      dirpart=`$as_dirname -- "$mf" ||
607550539131Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
607650539131Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
607750539131Smrg	 X"$mf" : 'X\(//\)$' \| \
607850539131Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
607950539131Smrg$as_echo X"$mf" |
608050539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
608150539131Smrg	    s//\1/
608250539131Smrg	    q
608350539131Smrg	  }
608450539131Smrg	  /^X\(\/\/\)[^/].*/{
608550539131Smrg	    s//\1/
608650539131Smrg	    q
608750539131Smrg	  }
608850539131Smrg	  /^X\(\/\/\)$/{
608950539131Smrg	    s//\1/
609050539131Smrg	    q
609150539131Smrg	  }
609250539131Smrg	  /^X\(\/\).*/{
609350539131Smrg	    s//\1/
609450539131Smrg	    q
609550539131Smrg	  }
609650539131Smrg	  s/.*/./; q'`
609750539131Smrg    else
609850539131Smrg      continue
609950539131Smrg    fi
610050539131Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
610150539131Smrg    # from the Makefile without running `make'.
610250539131Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
610350539131Smrg    test -z "$DEPDIR" && continue
610450539131Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
610550539131Smrg    test -z "am__include" && continue
610650539131Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
610750539131Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
610850539131Smrg    U=`sed -n 's/^U = //p' < "$mf"`
610950539131Smrg    # Find all dependency output files, they are included files with
611050539131Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
611150539131Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
611250539131Smrg    # expansion.
611350539131Smrg    for file in `sed -n "
611450539131Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
611550539131Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
611650539131Smrg      # Make sure the directory exists.
611750539131Smrg      test -f "$dirpart/$file" && continue
611850539131Smrg      fdir=`$as_dirname -- "$file" ||
611950539131Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
612050539131Smrg	 X"$file" : 'X\(//\)[^/]' \| \
612150539131Smrg	 X"$file" : 'X\(//\)$' \| \
612250539131Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
612350539131Smrg$as_echo X"$file" |
612450539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
612550539131Smrg	    s//\1/
612650539131Smrg	    q
612750539131Smrg	  }
612850539131Smrg	  /^X\(\/\/\)[^/].*/{
612950539131Smrg	    s//\1/
613050539131Smrg	    q
613150539131Smrg	  }
613250539131Smrg	  /^X\(\/\/\)$/{
613350539131Smrg	    s//\1/
613450539131Smrg	    q
613550539131Smrg	  }
613650539131Smrg	  /^X\(\/\).*/{
613750539131Smrg	    s//\1/
613850539131Smrg	    q
613950539131Smrg	  }
614050539131Smrg	  s/.*/./; q'`
614144d8e951Smrg      as_dir=$dirpart/$fdir; as_fn_mkdir_p
614250539131Smrg      # echo "creating $dirpart/$file"
614350539131Smrg      echo '# dummy' > "$dirpart/$file"
614450539131Smrg    done
614550539131Smrg  done
614650539131Smrg}
614750539131Smrg ;;
614850539131Smrg
614950539131Smrg  esac
615050539131Smrgdone # for ac_tag
6151ded1caa4Smrg
6152ded1caa4Smrg
615344d8e951Smrgas_fn_exit 0
6154ded1caa4Smrg_ACEOF
6155ded1caa4Smrgac_clean_files=$ac_clean_files_save
6156ded1caa4Smrg
615750539131Smrgtest $ac_write_fail = 0 ||
615844d8e951Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
615950539131Smrg
6160ded1caa4Smrg
6161ded1caa4Smrg# configure is writing to config.log, and then calls config.status.
6162ded1caa4Smrg# config.status does its own redirection, appending to config.log.
6163ded1caa4Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
6164ded1caa4Smrg# by configure, so config.status won't be able to write to it; its
6165ded1caa4Smrg# output is simply discarded.  So we exec the FD to /dev/null,
6166ded1caa4Smrg# effectively closing config.log, so it can be properly (re)opened and
6167ded1caa4Smrg# appended to by config.status.  When coming back to configure, we
6168ded1caa4Smrg# need to make the FD available again.
6169ded1caa4Smrgif test "$no_create" != yes; then
6170ded1caa4Smrg  ac_cs_success=:
6171ded1caa4Smrg  ac_config_status_args=
6172ded1caa4Smrg  test "$silent" = yes &&
6173ded1caa4Smrg    ac_config_status_args="$ac_config_status_args --quiet"
6174ded1caa4Smrg  exec 5>/dev/null
6175ded1caa4Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6176ded1caa4Smrg  exec 5>>config.log
6177ded1caa4Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6178ded1caa4Smrg  # would make configure fail if this is the last instruction.
617944d8e951Smrg  $ac_cs_success || as_fn_exit 1
6180ded1caa4Smrgfi
618150539131Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
618244d8e951Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
618350539131Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
618450539131Smrgfi
6185ded1caa4Smrg
6186