configure revision 50539131
1ded1caa4Smrg#! /bin/sh
2ded1caa4Smrg# Guess values for system-dependent variables and create Makefiles.
350539131Smrg# Generated by GNU Autoconf 2.63 for font-bitstream-75dpi 1.0.1.
4ded1caa4Smrg#
5ded1caa4Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6ded1caa4Smrg#
750539131Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
850539131Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9ded1caa4Smrg# This configure script is free software; the Free Software Foundation
10ded1caa4Smrg# gives unlimited permission to copy, distribute and modify it.
11ded1caa4Smrg## --------------------- ##
12ded1caa4Smrg## M4sh Initialization.  ##
13ded1caa4Smrg## --------------------- ##
14ded1caa4Smrg
1550539131Smrg# Be more Bourne compatible
1650539131SmrgDUALCASE=1; export DUALCASE # for MKS sh
17ded1caa4Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18ded1caa4Smrg  emulate sh
19ded1caa4Smrg  NULLCMD=:
2050539131Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21ded1caa4Smrg  # is contrary to our usage.  Disable this feature.
22ded1caa4Smrg  alias -g '${1+"$@"}'='"$@"'
2350539131Smrg  setopt NO_GLOB_SUBST
2450539131Smrgelse
2550539131Smrg  case `(set -o) 2>/dev/null` in
2650539131Smrg  *posix*) set -o posix ;;
2750539131Smrgesac
2850539131Smrg
2950539131Smrgfi
3050539131Smrg
3150539131Smrg
3250539131Smrg
3350539131Smrg
3450539131Smrg# PATH needs CR
3550539131Smrg# Avoid depending upon Character Ranges.
3650539131Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3750539131Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3850539131Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3950539131Smrgas_cr_digits='0123456789'
4050539131Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
4150539131Smrg
4250539131Smrgas_nl='
4350539131Smrg'
4450539131Smrgexport as_nl
4550539131Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
4650539131Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4750539131Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4850539131Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4950539131Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5050539131Smrg  as_echo='printf %s\n'
5150539131Smrg  as_echo_n='printf %s'
5250539131Smrgelse
5350539131Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5450539131Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5550539131Smrg    as_echo_n='/usr/ucb/echo -n'
5650539131Smrg  else
5750539131Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5850539131Smrg    as_echo_n_body='eval
5950539131Smrg      arg=$1;
6050539131Smrg      case $arg in
6150539131Smrg      *"$as_nl"*)
6250539131Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
6350539131Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6450539131Smrg      esac;
6550539131Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6650539131Smrg    '
6750539131Smrg    export as_echo_n_body
6850539131Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
6950539131Smrg  fi
7050539131Smrg  export as_echo_body
7150539131Smrg  as_echo='sh -c $as_echo_body as_echo'
7250539131Smrgfi
7350539131Smrg
7450539131Smrg# The user is always right.
7550539131Smrgif test "${PATH_SEPARATOR+set}" != set; then
7650539131Smrg  PATH_SEPARATOR=:
7750539131Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7850539131Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7950539131Smrg      PATH_SEPARATOR=';'
8050539131Smrg  }
81ded1caa4Smrgfi
82ded1caa4Smrg
83ded1caa4Smrg# Support unset when possible.
84ded1caa4Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85ded1caa4Smrg  as_unset=unset
86ded1caa4Smrgelse
87ded1caa4Smrg  as_unset=false
88ded1caa4Smrgfi
89ded1caa4Smrg
90ded1caa4Smrg
9150539131Smrg# IFS
9250539131Smrg# We need space, tab and new line, in precisely that order.  Quoting is
9350539131Smrg# there to prevent editors from complaining about space-tab.
9450539131Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9550539131Smrg# splitting by setting IFS to empty value.)
9650539131SmrgIFS=" ""	$as_nl"
9750539131Smrg
9850539131Smrg# Find who we are.  Look in the path if we contain no directory separator.
9950539131Smrgcase $0 in
10050539131Smrg  *[\\/]* ) as_myself=$0 ;;
10150539131Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10250539131Smrgfor as_dir in $PATH
10350539131Smrgdo
10450539131Smrg  IFS=$as_save_IFS
10550539131Smrg  test -z "$as_dir" && as_dir=.
10650539131Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10750539131Smrgdone
10850539131SmrgIFS=$as_save_IFS
10950539131Smrg
11050539131Smrg     ;;
11150539131Smrgesac
11250539131Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
11350539131Smrg# in which case we are not to be found in the path.
11450539131Smrgif test "x$as_myself" = x; then
11550539131Smrg  as_myself=$0
11650539131Smrgfi
11750539131Smrgif test ! -f "$as_myself"; then
11850539131Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11950539131Smrg  { (exit 1); exit 1; }
12050539131Smrgfi
12150539131Smrg
122ded1caa4Smrg# Work around bugs in pre-3.0 UWIN ksh.
12350539131Smrgfor as_var in ENV MAIL MAILPATH
12450539131Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12550539131Smrgdone
126ded1caa4SmrgPS1='$ '
127ded1caa4SmrgPS2='> '
128ded1caa4SmrgPS4='+ '
129ded1caa4Smrg
130ded1caa4Smrg# NLS nuisances.
13150539131SmrgLC_ALL=C
13250539131Smrgexport LC_ALL
13350539131SmrgLANGUAGE=C
13450539131Smrgexport LANGUAGE
135ded1caa4Smrg
136ded1caa4Smrg# Required to use basename.
13750539131Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
13850539131Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139ded1caa4Smrg  as_expr=expr
140ded1caa4Smrgelse
141ded1caa4Smrg  as_expr=false
142ded1caa4Smrgfi
143ded1caa4Smrg
14450539131Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145ded1caa4Smrg  as_basename=basename
146ded1caa4Smrgelse
147ded1caa4Smrg  as_basename=false
148ded1caa4Smrgfi
149ded1caa4Smrg
150ded1caa4Smrg
151ded1caa4Smrg# Name of the executable.
15250539131Smrgas_me=`$as_basename -- "$0" ||
153ded1caa4Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154ded1caa4Smrg	 X"$0" : 'X\(//\)$' \| \
15550539131Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15650539131Smrg$as_echo X/"$0" |
15750539131Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
15850539131Smrg	    s//\1/
15950539131Smrg	    q
16050539131Smrg	  }
16150539131Smrg	  /^X\/\(\/\/\)$/{
16250539131Smrg	    s//\1/
16350539131Smrg	    q
16450539131Smrg	  }
16550539131Smrg	  /^X\/\(\/\).*/{
16650539131Smrg	    s//\1/
16750539131Smrg	    q
16850539131Smrg	  }
16950539131Smrg	  s/.*/./; q'`
170ded1caa4Smrg
17150539131Smrg# CDPATH.
17250539131Smrg$as_unset CDPATH
173ded1caa4Smrg
174ded1caa4Smrg
17550539131Smrgif test "x$CONFIG_SHELL" = x; then
17650539131Smrg  if (eval ":") 2>/dev/null; then
17750539131Smrg  as_have_required=yes
17850539131Smrgelse
17950539131Smrg  as_have_required=no
180ded1caa4Smrgfi
181ded1caa4Smrg
18250539131Smrg  if test $as_have_required = yes &&	 (eval ":
18350539131Smrg(as_func_return () {
18450539131Smrg  (exit \$1)
18550539131Smrg}
18650539131Smrgas_func_success () {
18750539131Smrg  as_func_return 0
18850539131Smrg}
18950539131Smrgas_func_failure () {
19050539131Smrg  as_func_return 1
19150539131Smrg}
19250539131Smrgas_func_ret_success () {
19350539131Smrg  return 0
19450539131Smrg}
19550539131Smrgas_func_ret_failure () {
19650539131Smrg  return 1
19750539131Smrg}
198ded1caa4Smrg
19950539131Smrgexitcode=0
20050539131Smrgif as_func_success; then
20150539131Smrg  :
20250539131Smrgelse
20350539131Smrg  exitcode=1
20450539131Smrg  echo as_func_success failed.
20550539131Smrgfi
206ded1caa4Smrg
20750539131Smrgif as_func_failure; then
20850539131Smrg  exitcode=1
20950539131Smrg  echo as_func_failure succeeded.
21050539131Smrgfi
21150539131Smrg
21250539131Smrgif as_func_ret_success; then
21350539131Smrg  :
21450539131Smrgelse
21550539131Smrg  exitcode=1
21650539131Smrg  echo as_func_ret_success failed.
21750539131Smrgfi
21850539131Smrg
21950539131Smrgif as_func_ret_failure; then
22050539131Smrg  exitcode=1
22150539131Smrg  echo as_func_ret_failure succeeded.
22250539131Smrgfi
22350539131Smrg
22450539131Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
22550539131Smrg  :
22650539131Smrgelse
22750539131Smrg  exitcode=1
22850539131Smrg  echo positional parameters were not saved.
22950539131Smrgfi
23050539131Smrg
23150539131Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
23250539131Smrg
23350539131Smrg(
23450539131Smrg  as_lineno_1=\$LINENO
23550539131Smrg  as_lineno_2=\$LINENO
23650539131Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
23750539131Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
23850539131Smrg") 2> /dev/null; then
23950539131Smrg  :
24050539131Smrgelse
24150539131Smrg  as_candidate_shells=
242ded1caa4Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243ded1caa4Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244ded1caa4Smrgdo
245ded1caa4Smrg  IFS=$as_save_IFS
246ded1caa4Smrg  test -z "$as_dir" && as_dir=.
24750539131Smrg  case $as_dir in
248ded1caa4Smrg	 /*)
24950539131Smrg	   for as_base in sh bash ksh sh5; do
25050539131Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
25150539131Smrg	   done;;
25250539131Smrg       esac
25350539131Smrgdone
25450539131SmrgIFS=$as_save_IFS
25550539131Smrg
25650539131Smrg
25750539131Smrg      for as_shell in $as_candidate_shells $SHELL; do
25850539131Smrg	 # Try only shells that exist, to save several forks.
25950539131Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
26050539131Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
26150539131Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26250539131Smrg  emulate sh
26350539131Smrg  NULLCMD=:
26450539131Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26550539131Smrg  # is contrary to our usage.  Disable this feature.
26650539131Smrg  alias -g '${1+"$@"}'='"$@"'
26750539131Smrg  setopt NO_GLOB_SUBST
26850539131Smrgelse
26950539131Smrg  case `(set -o) 2>/dev/null` in
27050539131Smrg  *posix*) set -o posix ;;
27150539131Smrgesac
27250539131Smrg
27350539131Smrgfi
27450539131Smrg
27550539131Smrg
27650539131Smrg:
27750539131Smrg_ASEOF
27850539131Smrg}; then
27950539131Smrg  CONFIG_SHELL=$as_shell
28050539131Smrg	       as_have_required=yes
28150539131Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
28250539131Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28350539131Smrg  emulate sh
28450539131Smrg  NULLCMD=:
28550539131Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28650539131Smrg  # is contrary to our usage.  Disable this feature.
28750539131Smrg  alias -g '${1+"$@"}'='"$@"'
28850539131Smrg  setopt NO_GLOB_SUBST
28950539131Smrgelse
29050539131Smrg  case `(set -o) 2>/dev/null` in
29150539131Smrg  *posix*) set -o posix ;;
29250539131Smrgesac
29350539131Smrg
29450539131Smrgfi
29550539131Smrg
29650539131Smrg
29750539131Smrg:
29850539131Smrg(as_func_return () {
29950539131Smrg  (exit $1)
30050539131Smrg}
30150539131Smrgas_func_success () {
30250539131Smrg  as_func_return 0
30350539131Smrg}
30450539131Smrgas_func_failure () {
30550539131Smrg  as_func_return 1
30650539131Smrg}
30750539131Smrgas_func_ret_success () {
30850539131Smrg  return 0
30950539131Smrg}
31050539131Smrgas_func_ret_failure () {
31150539131Smrg  return 1
31250539131Smrg}
31350539131Smrg
31450539131Smrgexitcode=0
31550539131Smrgif as_func_success; then
31650539131Smrg  :
31750539131Smrgelse
31850539131Smrg  exitcode=1
31950539131Smrg  echo as_func_success failed.
32050539131Smrgfi
32150539131Smrg
32250539131Smrgif as_func_failure; then
32350539131Smrg  exitcode=1
32450539131Smrg  echo as_func_failure succeeded.
32550539131Smrgfi
32650539131Smrg
32750539131Smrgif as_func_ret_success; then
32850539131Smrg  :
32950539131Smrgelse
33050539131Smrg  exitcode=1
33150539131Smrg  echo as_func_ret_success failed.
33250539131Smrgfi
33350539131Smrg
33450539131Smrgif as_func_ret_failure; then
33550539131Smrg  exitcode=1
33650539131Smrg  echo as_func_ret_failure succeeded.
33750539131Smrgfi
33850539131Smrg
33950539131Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
34050539131Smrg  :
34150539131Smrgelse
34250539131Smrg  exitcode=1
34350539131Smrg  echo positional parameters were not saved.
34450539131Smrgfi
34550539131Smrg
34650539131Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
34750539131Smrg
34850539131Smrg(
349ded1caa4Smrg  as_lineno_1=$LINENO
350ded1caa4Smrg  as_lineno_2=$LINENO
351ded1caa4Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
35250539131Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
35350539131Smrg
35450539131Smrg_ASEOF
35550539131Smrg}; then
35650539131Smrg  break
35750539131Smrgfi
35850539131Smrg
35950539131Smrgfi
36050539131Smrg
36150539131Smrg      done
36250539131Smrg
36350539131Smrg      if test "x$CONFIG_SHELL" != x; then
36450539131Smrg  for as_var in BASH_ENV ENV
36550539131Smrg	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
36650539131Smrg	done
36750539131Smrg	export CONFIG_SHELL
36850539131Smrg	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
36950539131Smrgfi
37050539131Smrg
37150539131Smrg
37250539131Smrg    if test $as_have_required = no; then
37350539131Smrg  echo This script requires a shell more modern than all the
37450539131Smrg      echo shells that I found on your system.  Please install a
37550539131Smrg      echo modern shell, or manually run the script under such a
37650539131Smrg      echo shell if you do have one.
37750539131Smrg      { (exit 1); exit 1; }
37850539131Smrgfi
37950539131Smrg
38050539131Smrg
38150539131Smrgfi
38250539131Smrg
38350539131Smrgfi
38450539131Smrg
38550539131Smrg
38650539131Smrg
38750539131Smrg(eval "as_func_return () {
38850539131Smrg  (exit \$1)
38950539131Smrg}
39050539131Smrgas_func_success () {
39150539131Smrg  as_func_return 0
39250539131Smrg}
39350539131Smrgas_func_failure () {
39450539131Smrg  as_func_return 1
39550539131Smrg}
39650539131Smrgas_func_ret_success () {
39750539131Smrg  return 0
39850539131Smrg}
39950539131Smrgas_func_ret_failure () {
40050539131Smrg  return 1
40150539131Smrg}
40250539131Smrg
40350539131Smrgexitcode=0
40450539131Smrgif as_func_success; then
40550539131Smrg  :
40650539131Smrgelse
40750539131Smrg  exitcode=1
40850539131Smrg  echo as_func_success failed.
40950539131Smrgfi
41050539131Smrg
41150539131Smrgif as_func_failure; then
41250539131Smrg  exitcode=1
41350539131Smrg  echo as_func_failure succeeded.
41450539131Smrgfi
41550539131Smrg
41650539131Smrgif as_func_ret_success; then
41750539131Smrg  :
41850539131Smrgelse
41950539131Smrg  exitcode=1
42050539131Smrg  echo as_func_ret_success failed.
42150539131Smrgfi
42250539131Smrg
42350539131Smrgif as_func_ret_failure; then
42450539131Smrg  exitcode=1
42550539131Smrg  echo as_func_ret_failure succeeded.
42650539131Smrgfi
42750539131Smrg
42850539131Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
42950539131Smrg  :
43050539131Smrgelse
43150539131Smrg  exitcode=1
43250539131Smrg  echo positional parameters were not saved.
43350539131Smrgfi
43450539131Smrg
43550539131Smrgtest \$exitcode = 0") || {
43650539131Smrg  echo No shell found that supports shell functions.
43750539131Smrg  echo Please tell bug-autoconf@gnu.org about your system,
43850539131Smrg  echo including any error possibly output before this message.
43950539131Smrg  echo This can help us improve future autoconf versions.
44050539131Smrg  echo Configuration will now proceed without shell functions.
44150539131Smrg}
44250539131Smrg
44350539131Smrg
44450539131Smrg
44550539131Smrg  as_lineno_1=$LINENO
44650539131Smrg  as_lineno_2=$LINENO
44750539131Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
44850539131Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449ded1caa4Smrg
450ded1caa4Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451ded1caa4Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
45250539131Smrg  # line-number line after each line using $LINENO; the second 'sed'
45350539131Smrg  # does the real work.  The second script uses 'N' to pair each
45450539131Smrg  # line-number line with the line containing $LINENO, and appends
45550539131Smrg  # trailing '-' during substitution so that $LINENO is not a special
45650539131Smrg  # case at line end.
457ded1caa4Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45850539131Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
45950539131Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
46050539131Smrg  sed -n '
46150539131Smrg    p
46250539131Smrg    /[$]LINENO/=
46350539131Smrg  ' <$as_myself |
464ded1caa4Smrg    sed '
46550539131Smrg      s/[$]LINENO.*/&-/
46650539131Smrg      t lineno
46750539131Smrg      b
46850539131Smrg      :lineno
469ded1caa4Smrg      N
47050539131Smrg      :loop
47150539131Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472ded1caa4Smrg      t loop
47350539131Smrg      s/-\n.*//
474ded1caa4Smrg    ' >$as_me.lineno &&
47550539131Smrg  chmod +x "$as_me.lineno" ||
47650539131Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477ded1caa4Smrg   { (exit 1); exit 1; }; }
478ded1caa4Smrg
479ded1caa4Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
480ded1caa4Smrg  # (the dirname of $[0] is not the place where we might find the
48150539131Smrg  # original and so on.  Autoconf is especially sensitive to this).
48250539131Smrg  . "./$as_me.lineno"
483ded1caa4Smrg  # Exit status is that of the last command.
484ded1caa4Smrg  exit
485ded1caa4Smrg}
486ded1caa4Smrg
487ded1caa4Smrg
48850539131Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
48950539131Smrg  as_dirname=dirname
49050539131Smrgelse
49150539131Smrg  as_dirname=false
49250539131Smrgfi
493ded1caa4Smrg
49450539131SmrgECHO_C= ECHO_N= ECHO_T=
49550539131Smrgcase `echo -n x` in
49650539131Smrg-n*)
49750539131Smrg  case `echo 'x\c'` in
49850539131Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
49950539131Smrg  *)   ECHO_C='\c';;
50050539131Smrg  esac;;
50150539131Smrg*)
50250539131Smrg  ECHO_N='-n';;
50350539131Smrgesac
50450539131Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
50550539131Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506ded1caa4Smrg  as_expr=expr
507ded1caa4Smrgelse
508ded1caa4Smrg  as_expr=false
509ded1caa4Smrgfi
510ded1caa4Smrg
511ded1caa4Smrgrm -f conf$$ conf$$.exe conf$$.file
51250539131Smrgif test -d conf$$.dir; then
51350539131Smrg  rm -f conf$$.dir/conf$$.file
51450539131Smrgelse
51550539131Smrg  rm -f conf$$.dir
51650539131Smrg  mkdir conf$$.dir 2>/dev/null
51750539131Smrgfi
51850539131Smrgif (echo >conf$$.file) 2>/dev/null; then
51950539131Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
520ded1caa4Smrg    as_ln_s='ln -s'
52150539131Smrg    # ... but there are two gotchas:
52250539131Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52350539131Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52450539131Smrg    # In both cases, we have to default to `cp -p'.
52550539131Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52650539131Smrg      as_ln_s='cp -p'
52750539131Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
52850539131Smrg    as_ln_s=ln
52950539131Smrg  else
53050539131Smrg    as_ln_s='cp -p'
531ded1caa4Smrg  fi
532ded1caa4Smrgelse
533ded1caa4Smrg  as_ln_s='cp -p'
534ded1caa4Smrgfi
53550539131Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53650539131Smrgrmdir conf$$.dir 2>/dev/null
537ded1caa4Smrg
538ded1caa4Smrgif mkdir -p . 2>/dev/null; then
539ded1caa4Smrg  as_mkdir_p=:
540ded1caa4Smrgelse
541ded1caa4Smrg  test -d ./-p && rmdir ./-p
542ded1caa4Smrg  as_mkdir_p=false
543ded1caa4Smrgfi
544ded1caa4Smrg
54550539131Smrgif test -x / >/dev/null 2>&1; then
54650539131Smrg  as_test_x='test -x'
54750539131Smrgelse
54850539131Smrg  if ls -dL / >/dev/null 2>&1; then
54950539131Smrg    as_ls_L_option=L
55050539131Smrg  else
55150539131Smrg    as_ls_L_option=
55250539131Smrg  fi
55350539131Smrg  as_test_x='
55450539131Smrg    eval sh -c '\''
55550539131Smrg      if test -d "$1"; then
55650539131Smrg	test -d "$1/.";
55750539131Smrg      else
55850539131Smrg	case $1 in
55950539131Smrg	-*)set "./$1";;
56050539131Smrg	esac;
56150539131Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56250539131Smrg	???[sx]*):;;*)false;;esac;fi
56350539131Smrg    '\'' sh
56450539131Smrg  '
56550539131Smrgfi
56650539131Smrgas_executable_p=$as_test_x
567ded1caa4Smrg
568ded1caa4Smrg# Sed expression to map a string onto a valid CPP name.
569ded1caa4Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570ded1caa4Smrg
571ded1caa4Smrg# Sed expression to map a string onto a valid variable name.
572ded1caa4Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573ded1caa4Smrg
574ded1caa4Smrg
575ded1caa4Smrg
57650539131Smrgexec 7<&0 </dev/null 6>&1
577ded1caa4Smrg
578ded1caa4Smrg# Name of the host.
579ded1caa4Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580ded1caa4Smrg# so uname gets run too.
581ded1caa4Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582ded1caa4Smrg
583ded1caa4Smrg#
584ded1caa4Smrg# Initializations.
585ded1caa4Smrg#
586ded1caa4Smrgac_default_prefix=/usr/local
58750539131Smrgac_clean_files=
588ded1caa4Smrgac_config_libobj_dir=.
58950539131SmrgLIBOBJS=
590ded1caa4Smrgcross_compiling=no
591ded1caa4Smrgsubdirs=
592ded1caa4SmrgMFLAGS=
593ded1caa4SmrgMAKEFLAGS=
594ded1caa4SmrgSHELL=${CONFIG_SHELL-/bin/sh}
595ded1caa4Smrg
596ded1caa4Smrg# Identity of this package.
597ded1caa4SmrgPACKAGE_NAME='font-bitstream-75dpi'
598ded1caa4SmrgPACKAGE_TARNAME='font-bitstream-75dpi'
59950539131SmrgPACKAGE_VERSION='1.0.1'
60050539131SmrgPACKAGE_STRING='font-bitstream-75dpi 1.0.1'
601ded1caa4SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
602ded1caa4Smrg
60350539131Smrg# Factoring default headers for most tests.
60450539131Smrgac_includes_default="\
60550539131Smrg#include <stdio.h>
60650539131Smrg#ifdef HAVE_SYS_TYPES_H
60750539131Smrg# include <sys/types.h>
60850539131Smrg#endif
60950539131Smrg#ifdef HAVE_SYS_STAT_H
61050539131Smrg# include <sys/stat.h>
61150539131Smrg#endif
61250539131Smrg#ifdef STDC_HEADERS
61350539131Smrg# include <stdlib.h>
61450539131Smrg# include <stddef.h>
61550539131Smrg#else
61650539131Smrg# ifdef HAVE_STDLIB_H
61750539131Smrg#  include <stdlib.h>
61850539131Smrg# endif
61950539131Smrg#endif
62050539131Smrg#ifdef HAVE_STRING_H
62150539131Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
62250539131Smrg#  include <memory.h>
62350539131Smrg# endif
62450539131Smrg# include <string.h>
62550539131Smrg#endif
62650539131Smrg#ifdef HAVE_STRINGS_H
62750539131Smrg# include <strings.h>
62850539131Smrg#endif
62950539131Smrg#ifdef HAVE_INTTYPES_H
63050539131Smrg# include <inttypes.h>
63150539131Smrg#endif
63250539131Smrg#ifdef HAVE_STDINT_H
63350539131Smrg# include <stdint.h>
63450539131Smrg#endif
63550539131Smrg#ifdef HAVE_UNISTD_H
63650539131Smrg# include <unistd.h>
63750539131Smrg#endif"
63850539131Smrg
63950539131Smrgac_subst_vars='am__EXEEXT_FALSE
64050539131Smrgam__EXEEXT_TRUE
64150539131SmrgLTLIBOBJS
64250539131SmrgLIBOBJS
64350539131SmrgCOMPRESS_SUFFIX
64450539131SmrgCOMPRESS
64550539131SmrgBDFTOPCF
64650539131SmrgMKFONTDIR
64750539131SmrgRUN_FCCACHE
64850539131SmrgFCCACHE
64950539131SmrgFONTDIR
65050539131SmrgFONTROOTDIR
65150539131SmrgPKG_CONFIG
65250539131SmrgADMIN_MAN_DIR
65350539131SmrgDRIVER_MAN_DIR
65450539131SmrgMISC_MAN_DIR
65550539131SmrgFILE_MAN_DIR
65650539131SmrgLIB_MAN_DIR
65750539131SmrgAPP_MAN_DIR
65850539131SmrgADMIN_MAN_SUFFIX
65950539131SmrgDRIVER_MAN_SUFFIX
66050539131SmrgMISC_MAN_SUFFIX
66150539131SmrgFILE_MAN_SUFFIX
66250539131SmrgLIB_MAN_SUFFIX
66350539131SmrgAPP_MAN_SUFFIX
66450539131Smrghost_os
66550539131Smrghost_vendor
66650539131Smrghost_cpu
66750539131Smrghost
66850539131Smrgbuild_os
66950539131Smrgbuild_vendor
67050539131Smrgbuild_cpu
67150539131Smrgbuild
67250539131Smrgdistcleancheck_listfiles
67350539131SmrgCHANGELOG_CMD
67450539131SmrgAM_BACKSLASH
67550539131SmrgAM_DEFAULT_VERBOSITY
67650539131SmrgCWARNFLAGS
67750539131SmrgEGREP
67850539131SmrgGREP
67950539131SmrgCPP
68050539131Smrgam__fastdepCC_FALSE
68150539131Smrgam__fastdepCC_TRUE
68250539131SmrgCCDEPMODE
68350539131SmrgAMDEPBACKSLASH
68450539131SmrgAMDEP_FALSE
68550539131SmrgAMDEP_TRUE
68650539131Smrgam__quote
68750539131Smrgam__include
68850539131SmrgDEPDIR
68950539131SmrgOBJEXT
69050539131SmrgEXEEXT
69150539131Smrgac_ct_CC
69250539131SmrgCPPFLAGS
69350539131SmrgLDFLAGS
69450539131SmrgCFLAGS
69550539131SmrgCC
69650539131SmrgMAINT
69750539131SmrgMAINTAINER_MODE_FALSE
69850539131SmrgMAINTAINER_MODE_TRUE
69950539131Smrgam__untar
70050539131Smrgam__tar
70150539131SmrgAMTAR
70250539131Smrgam__leading_dot
70350539131SmrgSET_MAKE
70450539131SmrgAWK
70550539131Smrgmkdir_p
70650539131SmrgMKDIR_P
70750539131SmrgINSTALL_STRIP_PROGRAM
70850539131SmrgSTRIP
70950539131Smrginstall_sh
71050539131SmrgMAKEINFO
71150539131SmrgAUTOHEADER
71250539131SmrgAUTOMAKE
71350539131SmrgAUTOCONF
71450539131SmrgACLOCAL
71550539131SmrgVERSION
71650539131SmrgPACKAGE
71750539131SmrgCYGPATH_W
71850539131Smrgam__isrc
71950539131SmrgINSTALL_DATA
72050539131SmrgINSTALL_SCRIPT
72150539131SmrgINSTALL_PROGRAM
72250539131Smrgtarget_alias
72350539131Smrghost_alias
72450539131Smrgbuild_alias
72550539131SmrgLIBS
72650539131SmrgECHO_T
72750539131SmrgECHO_N
72850539131SmrgECHO_C
72950539131SmrgDEFS
73050539131Smrgmandir
73150539131Smrglocaledir
73250539131Smrglibdir
73350539131Smrgpsdir
73450539131Smrgpdfdir
73550539131Smrgdvidir
73650539131Smrghtmldir
73750539131Smrginfodir
73850539131Smrgdocdir
73950539131Smrgoldincludedir
74050539131Smrgincludedir
74150539131Smrglocalstatedir
74250539131Smrgsharedstatedir
74350539131Smrgsysconfdir
74450539131Smrgdatadir
74550539131Smrgdatarootdir
74650539131Smrglibexecdir
74750539131Smrgsbindir
74850539131Smrgbindir
74950539131Smrgprogram_transform_name
75050539131Smrgprefix
75150539131Smrgexec_prefix
75250539131SmrgPACKAGE_BUGREPORT
75350539131SmrgPACKAGE_STRING
75450539131SmrgPACKAGE_VERSION
75550539131SmrgPACKAGE_TARNAME
75650539131SmrgPACKAGE_NAME
75750539131SmrgPATH_SEPARATOR
75850539131SmrgSHELL'
759ded1caa4Smrgac_subst_files=''
76050539131Smrgac_user_opts='
76150539131Smrgenable_option_checking
76250539131Smrgenable_maintainer_mode
76350539131Smrgenable_dependency_tracking
76450539131Smrgenable_silent_rules
76550539131Smrgenable_strict_compilation
76650539131Smrgwith_release_version
76750539131Smrgwith_fontrootdir
76850539131Smrgwith_fontdir
76950539131Smrgwith_compression
77050539131Smrg'
77150539131Smrg      ac_precious_vars='build_alias
77250539131Smrghost_alias
77350539131Smrgtarget_alias
77450539131SmrgCC
77550539131SmrgCFLAGS
77650539131SmrgLDFLAGS
77750539131SmrgLIBS
77850539131SmrgCPPFLAGS
77950539131SmrgCPP
78050539131SmrgPKG_CONFIG'
78150539131Smrg
782ded1caa4Smrg
783ded1caa4Smrg# Initialize some variables set by options.
784ded1caa4Smrgac_init_help=
785ded1caa4Smrgac_init_version=false
78650539131Smrgac_unrecognized_opts=
78750539131Smrgac_unrecognized_sep=
788ded1caa4Smrg# The variables have the same names as the options, with
789ded1caa4Smrg# dashes changed to underlines.
790ded1caa4Smrgcache_file=/dev/null
791ded1caa4Smrgexec_prefix=NONE
792ded1caa4Smrgno_create=
793ded1caa4Smrgno_recursion=
794ded1caa4Smrgprefix=NONE
795ded1caa4Smrgprogram_prefix=NONE
796ded1caa4Smrgprogram_suffix=NONE
797ded1caa4Smrgprogram_transform_name=s,x,x,
798ded1caa4Smrgsilent=
799ded1caa4Smrgsite=
800ded1caa4Smrgsrcdir=
801ded1caa4Smrgverbose=
802ded1caa4Smrgx_includes=NONE
803ded1caa4Smrgx_libraries=NONE
804ded1caa4Smrg
805ded1caa4Smrg# Installation directory options.
806ded1caa4Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
807ded1caa4Smrg# and all the variables that are supposed to be based on exec_prefix
808ded1caa4Smrg# by default will actually change.
809ded1caa4Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
81050539131Smrg# (The list follows the same order as the GNU Coding Standards.)
811ded1caa4Smrgbindir='${exec_prefix}/bin'
812ded1caa4Smrgsbindir='${exec_prefix}/sbin'
813ded1caa4Smrglibexecdir='${exec_prefix}/libexec'
81450539131Smrgdatarootdir='${prefix}/share'
81550539131Smrgdatadir='${datarootdir}'
816ded1caa4Smrgsysconfdir='${prefix}/etc'
817ded1caa4Smrgsharedstatedir='${prefix}/com'
818ded1caa4Smrglocalstatedir='${prefix}/var'
819ded1caa4Smrgincludedir='${prefix}/include'
820ded1caa4Smrgoldincludedir='/usr/include'
82150539131Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
82250539131Smrginfodir='${datarootdir}/info'
82350539131Smrghtmldir='${docdir}'
82450539131Smrgdvidir='${docdir}'
82550539131Smrgpdfdir='${docdir}'
82650539131Smrgpsdir='${docdir}'
82750539131Smrglibdir='${exec_prefix}/lib'
82850539131Smrglocaledir='${datarootdir}/locale'
82950539131Smrgmandir='${datarootdir}/man'
830ded1caa4Smrg
831ded1caa4Smrgac_prev=
83250539131Smrgac_dashdash=
833ded1caa4Smrgfor ac_option
834ded1caa4Smrgdo
835ded1caa4Smrg  # If the previous option needs an argument, assign it.
836ded1caa4Smrg  if test -n "$ac_prev"; then
83750539131Smrg    eval $ac_prev=\$ac_option
838ded1caa4Smrg    ac_prev=
839ded1caa4Smrg    continue
840ded1caa4Smrg  fi
841ded1caa4Smrg
84250539131Smrg  case $ac_option in
84350539131Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
84450539131Smrg  *)	ac_optarg=yes ;;
84550539131Smrg  esac
846ded1caa4Smrg
847ded1caa4Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
848ded1caa4Smrg
84950539131Smrg  case $ac_dashdash$ac_option in
85050539131Smrg  --)
85150539131Smrg    ac_dashdash=yes ;;
852ded1caa4Smrg
853ded1caa4Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
854ded1caa4Smrg    ac_prev=bindir ;;
855ded1caa4Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
856ded1caa4Smrg    bindir=$ac_optarg ;;
857ded1caa4Smrg
858ded1caa4Smrg  -build | --build | --buil | --bui | --bu)
859ded1caa4Smrg    ac_prev=build_alias ;;
860ded1caa4Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
861ded1caa4Smrg    build_alias=$ac_optarg ;;
862ded1caa4Smrg
863ded1caa4Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
864ded1caa4Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865ded1caa4Smrg    ac_prev=cache_file ;;
866ded1caa4Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867ded1caa4Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868ded1caa4Smrg    cache_file=$ac_optarg ;;
869ded1caa4Smrg
870ded1caa4Smrg  --config-cache | -C)
871ded1caa4Smrg    cache_file=config.cache ;;
872ded1caa4Smrg
87350539131Smrg  -datadir | --datadir | --datadi | --datad)
874ded1caa4Smrg    ac_prev=datadir ;;
87550539131Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
876ded1caa4Smrg    datadir=$ac_optarg ;;
877ded1caa4Smrg
87850539131Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
87950539131Smrg  | --dataroo | --dataro | --datar)
88050539131Smrg    ac_prev=datarootdir ;;
88150539131Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
88250539131Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
88350539131Smrg    datarootdir=$ac_optarg ;;
88450539131Smrg
885ded1caa4Smrg  -disable-* | --disable-*)
88650539131Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887ded1caa4Smrg    # Reject names that are not valid shell variable names.
88850539131Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
88950539131Smrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
890ded1caa4Smrg   { (exit 1); exit 1; }; }
89150539131Smrg    ac_useropt_orig=$ac_useropt
89250539131Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
89350539131Smrg    case $ac_user_opts in
89450539131Smrg      *"
89550539131Smrg"enable_$ac_useropt"
89650539131Smrg"*) ;;
89750539131Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
89850539131Smrg	 ac_unrecognized_sep=', ';;
89950539131Smrg    esac
90050539131Smrg    eval enable_$ac_useropt=no ;;
90150539131Smrg
90250539131Smrg  -docdir | --docdir | --docdi | --doc | --do)
90350539131Smrg    ac_prev=docdir ;;
90450539131Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
90550539131Smrg    docdir=$ac_optarg ;;
90650539131Smrg
90750539131Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
90850539131Smrg    ac_prev=dvidir ;;
90950539131Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
91050539131Smrg    dvidir=$ac_optarg ;;
911ded1caa4Smrg
912ded1caa4Smrg  -enable-* | --enable-*)
91350539131Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914ded1caa4Smrg    # Reject names that are not valid shell variable names.
91550539131Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
91650539131Smrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
917ded1caa4Smrg   { (exit 1); exit 1; }; }
91850539131Smrg    ac_useropt_orig=$ac_useropt
91950539131Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
92050539131Smrg    case $ac_user_opts in
92150539131Smrg      *"
92250539131Smrg"enable_$ac_useropt"
92350539131Smrg"*) ;;
92450539131Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
92550539131Smrg	 ac_unrecognized_sep=', ';;
926ded1caa4Smrg    esac
92750539131Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
928ded1caa4Smrg
929ded1caa4Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930ded1caa4Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931ded1caa4Smrg  | --exec | --exe | --ex)
932ded1caa4Smrg    ac_prev=exec_prefix ;;
933ded1caa4Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934ded1caa4Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935ded1caa4Smrg  | --exec=* | --exe=* | --ex=*)
936ded1caa4Smrg    exec_prefix=$ac_optarg ;;
937ded1caa4Smrg
938ded1caa4Smrg  -gas | --gas | --ga | --g)
939ded1caa4Smrg    # Obsolete; use --with-gas.
940ded1caa4Smrg    with_gas=yes ;;
941ded1caa4Smrg
942ded1caa4Smrg  -help | --help | --hel | --he | -h)
943ded1caa4Smrg    ac_init_help=long ;;
944ded1caa4Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945ded1caa4Smrg    ac_init_help=recursive ;;
946ded1caa4Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947ded1caa4Smrg    ac_init_help=short ;;
948ded1caa4Smrg
949ded1caa4Smrg  -host | --host | --hos | --ho)
950ded1caa4Smrg    ac_prev=host_alias ;;
951ded1caa4Smrg  -host=* | --host=* | --hos=* | --ho=*)
952ded1caa4Smrg    host_alias=$ac_optarg ;;
953ded1caa4Smrg
95450539131Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
95550539131Smrg    ac_prev=htmldir ;;
95650539131Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
95750539131Smrg  | --ht=*)
95850539131Smrg    htmldir=$ac_optarg ;;
95950539131Smrg
960ded1caa4Smrg  -includedir | --includedir | --includedi | --included | --include \
961ded1caa4Smrg  | --includ | --inclu | --incl | --inc)
962ded1caa4Smrg    ac_prev=includedir ;;
963ded1caa4Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964ded1caa4Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
965ded1caa4Smrg    includedir=$ac_optarg ;;
966ded1caa4Smrg
967ded1caa4Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
968ded1caa4Smrg    ac_prev=infodir ;;
969ded1caa4Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970ded1caa4Smrg    infodir=$ac_optarg ;;
971ded1caa4Smrg
972ded1caa4Smrg  -libdir | --libdir | --libdi | --libd)
973ded1caa4Smrg    ac_prev=libdir ;;
974ded1caa4Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
975ded1caa4Smrg    libdir=$ac_optarg ;;
976ded1caa4Smrg
977ded1caa4Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978ded1caa4Smrg  | --libexe | --libex | --libe)
979ded1caa4Smrg    ac_prev=libexecdir ;;
980ded1caa4Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981ded1caa4Smrg  | --libexe=* | --libex=* | --libe=*)
982ded1caa4Smrg    libexecdir=$ac_optarg ;;
983ded1caa4Smrg
98450539131Smrg  -localedir | --localedir | --localedi | --localed | --locale)
98550539131Smrg    ac_prev=localedir ;;
98650539131Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
98750539131Smrg    localedir=$ac_optarg ;;
98850539131Smrg
989ded1caa4Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
99050539131Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
991ded1caa4Smrg    ac_prev=localstatedir ;;
992ded1caa4Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
99350539131Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994ded1caa4Smrg    localstatedir=$ac_optarg ;;
995ded1caa4Smrg
996ded1caa4Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997ded1caa4Smrg    ac_prev=mandir ;;
998ded1caa4Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999ded1caa4Smrg    mandir=$ac_optarg ;;
1000ded1caa4Smrg
1001ded1caa4Smrg  -nfp | --nfp | --nf)
1002ded1caa4Smrg    # Obsolete; use --without-fp.
1003ded1caa4Smrg    with_fp=no ;;
1004ded1caa4Smrg
1005ded1caa4Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006ded1caa4Smrg  | --no-cr | --no-c | -n)
1007ded1caa4Smrg    no_create=yes ;;
1008ded1caa4Smrg
1009ded1caa4Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010ded1caa4Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011ded1caa4Smrg    no_recursion=yes ;;
1012ded1caa4Smrg
1013ded1caa4Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014ded1caa4Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015ded1caa4Smrg  | --oldin | --oldi | --old | --ol | --o)
1016ded1caa4Smrg    ac_prev=oldincludedir ;;
1017ded1caa4Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018ded1caa4Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019ded1caa4Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020ded1caa4Smrg    oldincludedir=$ac_optarg ;;
1021ded1caa4Smrg
1022ded1caa4Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023ded1caa4Smrg    ac_prev=prefix ;;
1024ded1caa4Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025ded1caa4Smrg    prefix=$ac_optarg ;;
1026ded1caa4Smrg
1027ded1caa4Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028ded1caa4Smrg  | --program-pre | --program-pr | --program-p)
1029ded1caa4Smrg    ac_prev=program_prefix ;;
1030ded1caa4Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031ded1caa4Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032ded1caa4Smrg    program_prefix=$ac_optarg ;;
1033ded1caa4Smrg
1034ded1caa4Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035ded1caa4Smrg  | --program-suf | --program-su | --program-s)
1036ded1caa4Smrg    ac_prev=program_suffix ;;
1037ded1caa4Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038ded1caa4Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039ded1caa4Smrg    program_suffix=$ac_optarg ;;
1040ded1caa4Smrg
1041ded1caa4Smrg  -program-transform-name | --program-transform-name \
1042ded1caa4Smrg  | --program-transform-nam | --program-transform-na \
1043ded1caa4Smrg  | --program-transform-n | --program-transform- \
1044ded1caa4Smrg  | --program-transform | --program-transfor \
1045ded1caa4Smrg  | --program-transfo | --program-transf \
1046ded1caa4Smrg  | --program-trans | --program-tran \
1047ded1caa4Smrg  | --progr-tra | --program-tr | --program-t)
1048ded1caa4Smrg    ac_prev=program_transform_name ;;
1049ded1caa4Smrg  -program-transform-name=* | --program-transform-name=* \
1050ded1caa4Smrg  | --program-transform-nam=* | --program-transform-na=* \
1051ded1caa4Smrg  | --program-transform-n=* | --program-transform-=* \
1052ded1caa4Smrg  | --program-transform=* | --program-transfor=* \
1053ded1caa4Smrg  | --program-transfo=* | --program-transf=* \
1054ded1caa4Smrg  | --program-trans=* | --program-tran=* \
1055ded1caa4Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1056ded1caa4Smrg    program_transform_name=$ac_optarg ;;
1057ded1caa4Smrg
105850539131Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
105950539131Smrg    ac_prev=pdfdir ;;
106050539131Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
106150539131Smrg    pdfdir=$ac_optarg ;;
106250539131Smrg
106350539131Smrg  -psdir | --psdir | --psdi | --psd | --ps)
106450539131Smrg    ac_prev=psdir ;;
106550539131Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
106650539131Smrg    psdir=$ac_optarg ;;
106750539131Smrg
1068ded1caa4Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069ded1caa4Smrg  | -silent | --silent | --silen | --sile | --sil)
1070ded1caa4Smrg    silent=yes ;;
1071ded1caa4Smrg
1072ded1caa4Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073ded1caa4Smrg    ac_prev=sbindir ;;
1074ded1caa4Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075ded1caa4Smrg  | --sbi=* | --sb=*)
1076ded1caa4Smrg    sbindir=$ac_optarg ;;
1077ded1caa4Smrg
1078ded1caa4Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079ded1caa4Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080ded1caa4Smrg  | --sharedst | --shareds | --shared | --share | --shar \
1081ded1caa4Smrg  | --sha | --sh)
1082ded1caa4Smrg    ac_prev=sharedstatedir ;;
1083ded1caa4Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084ded1caa4Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085ded1caa4Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086ded1caa4Smrg  | --sha=* | --sh=*)
1087ded1caa4Smrg    sharedstatedir=$ac_optarg ;;
1088ded1caa4Smrg
1089ded1caa4Smrg  -site | --site | --sit)
1090ded1caa4Smrg    ac_prev=site ;;
1091ded1caa4Smrg  -site=* | --site=* | --sit=*)
1092ded1caa4Smrg    site=$ac_optarg ;;
1093ded1caa4Smrg
1094ded1caa4Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095ded1caa4Smrg    ac_prev=srcdir ;;
1096ded1caa4Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097ded1caa4Smrg    srcdir=$ac_optarg ;;
1098ded1caa4Smrg
1099ded1caa4Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100ded1caa4Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
1101ded1caa4Smrg    ac_prev=sysconfdir ;;
1102ded1caa4Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103ded1caa4Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104ded1caa4Smrg    sysconfdir=$ac_optarg ;;
1105ded1caa4Smrg
1106ded1caa4Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1107ded1caa4Smrg    ac_prev=target_alias ;;
1108ded1caa4Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109ded1caa4Smrg    target_alias=$ac_optarg ;;
1110ded1caa4Smrg
1111ded1caa4Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112ded1caa4Smrg    verbose=yes ;;
1113ded1caa4Smrg
1114ded1caa4Smrg  -version | --version | --versio | --versi | --vers | -V)
1115ded1caa4Smrg    ac_init_version=: ;;
1116ded1caa4Smrg
1117ded1caa4Smrg  -with-* | --with-*)
111850539131Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119ded1caa4Smrg    # Reject names that are not valid shell variable names.
112050539131Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
112150539131Smrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1122ded1caa4Smrg   { (exit 1); exit 1; }; }
112350539131Smrg    ac_useropt_orig=$ac_useropt
112450539131Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
112550539131Smrg    case $ac_user_opts in
112650539131Smrg      *"
112750539131Smrg"with_$ac_useropt"
112850539131Smrg"*) ;;
112950539131Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
113050539131Smrg	 ac_unrecognized_sep=', ';;
1131ded1caa4Smrg    esac
113250539131Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1133ded1caa4Smrg
1134ded1caa4Smrg  -without-* | --without-*)
113550539131Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136ded1caa4Smrg    # Reject names that are not valid shell variable names.
113750539131Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
113850539131Smrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1139ded1caa4Smrg   { (exit 1); exit 1; }; }
114050539131Smrg    ac_useropt_orig=$ac_useropt
114150539131Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
114250539131Smrg    case $ac_user_opts in
114350539131Smrg      *"
114450539131Smrg"with_$ac_useropt"
114550539131Smrg"*) ;;
114650539131Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
114750539131Smrg	 ac_unrecognized_sep=', ';;
114850539131Smrg    esac
114950539131Smrg    eval with_$ac_useropt=no ;;
1150ded1caa4Smrg
1151ded1caa4Smrg  --x)
1152ded1caa4Smrg    # Obsolete; use --with-x.
1153ded1caa4Smrg    with_x=yes ;;
1154ded1caa4Smrg
1155ded1caa4Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156ded1caa4Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1157ded1caa4Smrg    ac_prev=x_includes ;;
1158ded1caa4Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159ded1caa4Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160ded1caa4Smrg    x_includes=$ac_optarg ;;
1161ded1caa4Smrg
1162ded1caa4Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163ded1caa4Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164ded1caa4Smrg    ac_prev=x_libraries ;;
1165ded1caa4Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166ded1caa4Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167ded1caa4Smrg    x_libraries=$ac_optarg ;;
1168ded1caa4Smrg
116950539131Smrg  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1170ded1caa4SmrgTry \`$0 --help' for more information." >&2
1171ded1caa4Smrg   { (exit 1); exit 1; }; }
1172ded1caa4Smrg    ;;
1173ded1caa4Smrg
1174ded1caa4Smrg  *=*)
1175ded1caa4Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1176ded1caa4Smrg    # Reject names that are not valid shell variable names.
1177ded1caa4Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
117850539131Smrg      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1179ded1caa4Smrg   { (exit 1); exit 1; }; }
118050539131Smrg    eval $ac_envvar=\$ac_optarg
1181ded1caa4Smrg    export $ac_envvar ;;
1182ded1caa4Smrg
1183ded1caa4Smrg  *)
1184ded1caa4Smrg    # FIXME: should be removed in autoconf 3.0.
118550539131Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186ded1caa4Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
118750539131Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188ded1caa4Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1189ded1caa4Smrg    ;;
1190ded1caa4Smrg
1191ded1caa4Smrg  esac
1192ded1caa4Smrgdone
1193ded1caa4Smrg
1194ded1caa4Smrgif test -n "$ac_prev"; then
1195ded1caa4Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
119650539131Smrg  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1197ded1caa4Smrg   { (exit 1); exit 1; }; }
1198ded1caa4Smrgfi
1199ded1caa4Smrg
120050539131Smrgif test -n "$ac_unrecognized_opts"; then
120150539131Smrg  case $enable_option_checking in
120250539131Smrg    no) ;;
120350539131Smrg    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
120450539131Smrg   { (exit 1); exit 1; }; } ;;
120550539131Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206ded1caa4Smrg  esac
120750539131Smrgfi
1208ded1caa4Smrg
120950539131Smrg# Check all directory arguments for consistency.
121050539131Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
121150539131Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
121250539131Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
121350539131Smrg		libdir localedir mandir
1214ded1caa4Smrgdo
121550539131Smrg  eval ac_val=\$$ac_var
121650539131Smrg  # Remove trailing slashes.
1217ded1caa4Smrg  case $ac_val in
121850539131Smrg    */ )
121950539131Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
122050539131Smrg      eval $ac_var=\$ac_val;;
122150539131Smrg  esac
122250539131Smrg  # Be sure to have absolute directory names.
122350539131Smrg  case $ac_val in
122450539131Smrg    [\\/$]* | ?:[\\/]* )  continue;;
122550539131Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1226ded1caa4Smrg  esac
122750539131Smrg  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
122850539131Smrg   { (exit 1); exit 1; }; }
1229ded1caa4Smrgdone
1230ded1caa4Smrg
1231ded1caa4Smrg# There might be people who depend on the old broken behavior: `$host'
1232ded1caa4Smrg# used to hold the argument of --host etc.
1233ded1caa4Smrg# FIXME: To remove some day.
1234ded1caa4Smrgbuild=$build_alias
1235ded1caa4Smrghost=$host_alias
1236ded1caa4Smrgtarget=$target_alias
1237ded1caa4Smrg
1238ded1caa4Smrg# FIXME: To remove some day.
1239ded1caa4Smrgif test "x$host_alias" != x; then
1240ded1caa4Smrg  if test "x$build_alias" = x; then
1241ded1caa4Smrg    cross_compiling=maybe
124250539131Smrg    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1243ded1caa4Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
1244ded1caa4Smrg  elif test "x$build_alias" != "x$host_alias"; then
1245ded1caa4Smrg    cross_compiling=yes
1246ded1caa4Smrg  fi
1247ded1caa4Smrgfi
1248ded1caa4Smrg
1249ded1caa4Smrgac_tool_prefix=
1250ded1caa4Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1251ded1caa4Smrg
1252ded1caa4Smrgtest "$silent" = yes && exec 6>/dev/null
1253ded1caa4Smrg
1254ded1caa4Smrg
125550539131Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
125650539131Smrgac_ls_di=`ls -di .` &&
125750539131Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
125850539131Smrg  { $as_echo "$as_me: error: working directory cannot be determined" >&2
125950539131Smrg   { (exit 1); exit 1; }; }
126050539131Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
126150539131Smrg  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
126250539131Smrg   { (exit 1); exit 1; }; }
126350539131Smrg
126450539131Smrg
1265ded1caa4Smrg# Find the source files, if location was not specified.
1266ded1caa4Smrgif test -z "$srcdir"; then
1267ded1caa4Smrg  ac_srcdir_defaulted=yes
126850539131Smrg  # Try the directory containing this script, then the parent directory.
126950539131Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
127050539131Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
127150539131Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
127250539131Smrg	 X"$as_myself" : 'X\(//\)$' \| \
127350539131Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
127450539131Smrg$as_echo X"$as_myself" |
127550539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
127650539131Smrg	    s//\1/
127750539131Smrg	    q
127850539131Smrg	  }
127950539131Smrg	  /^X\(\/\/\)[^/].*/{
128050539131Smrg	    s//\1/
128150539131Smrg	    q
128250539131Smrg	  }
128350539131Smrg	  /^X\(\/\/\)$/{
128450539131Smrg	    s//\1/
128550539131Smrg	    q
128650539131Smrg	  }
128750539131Smrg	  /^X\(\/\).*/{
128850539131Smrg	    s//\1/
128950539131Smrg	    q
129050539131Smrg	  }
129150539131Smrg	  s/.*/./; q'`
1292ded1caa4Smrg  srcdir=$ac_confdir
129350539131Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1294ded1caa4Smrg    srcdir=..
1295ded1caa4Smrg  fi
1296ded1caa4Smrgelse
1297ded1caa4Smrg  ac_srcdir_defaulted=no
1298ded1caa4Smrgfi
129950539131Smrgif test ! -r "$srcdir/$ac_unique_file"; then
130050539131Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
130150539131Smrg  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1302ded1caa4Smrg   { (exit 1); exit 1; }; }
1303ded1caa4Smrgfi
130450539131Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
130550539131Smrgac_abs_confdir=`(
130650539131Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1307ded1caa4Smrg   { (exit 1); exit 1; }; }
130850539131Smrg	pwd)`
130950539131Smrg# When building in place, set srcdir=.
131050539131Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
131150539131Smrg  srcdir=.
131250539131Smrgfi
131350539131Smrg# Remove unnecessary trailing slashes from srcdir.
131450539131Smrg# Double slashes in file names in object file debugging info
131550539131Smrg# mess up M-x gdb in Emacs.
131650539131Smrgcase $srcdir in
131750539131Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
131850539131Smrgesac
131950539131Smrgfor ac_var in $ac_precious_vars; do
132050539131Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
132150539131Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
132250539131Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
132350539131Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
132450539131Smrgdone
1325ded1caa4Smrg
1326ded1caa4Smrg#
1327ded1caa4Smrg# Report the --help message.
1328ded1caa4Smrg#
1329ded1caa4Smrgif test "$ac_init_help" = "long"; then
1330ded1caa4Smrg  # Omit some internal or obsolete options to make the list less imposing.
1331ded1caa4Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1332ded1caa4Smrg  cat <<_ACEOF
133350539131Smrg\`configure' configures font-bitstream-75dpi 1.0.1 to adapt to many kinds of systems.
1334ded1caa4Smrg
1335ded1caa4SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1336ded1caa4Smrg
1337ded1caa4SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1338ded1caa4SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1339ded1caa4Smrg
1340ded1caa4SmrgDefaults for the options are specified in brackets.
1341ded1caa4Smrg
1342ded1caa4SmrgConfiguration:
1343ded1caa4Smrg  -h, --help              display this help and exit
1344ded1caa4Smrg      --help=short        display options specific to this package
1345ded1caa4Smrg      --help=recursive    display the short help of all the included packages
1346ded1caa4Smrg  -V, --version           display version information and exit
1347ded1caa4Smrg  -q, --quiet, --silent   do not print \`checking...' messages
1348ded1caa4Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1349ded1caa4Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1350ded1caa4Smrg  -n, --no-create         do not create output files
1351ded1caa4Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1352ded1caa4Smrg
1353ded1caa4SmrgInstallation directories:
1354ded1caa4Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
135550539131Smrg                          [$ac_default_prefix]
1356ded1caa4Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
135750539131Smrg                          [PREFIX]
1358ded1caa4Smrg
1359ded1caa4SmrgBy default, \`make install' will install all the files in
1360ded1caa4Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1361ded1caa4Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362ded1caa4Smrgfor instance \`--prefix=\$HOME'.
1363ded1caa4Smrg
1364ded1caa4SmrgFor better control, use the options below.
1365ded1caa4Smrg
1366ded1caa4SmrgFine tuning of the installation directories:
136750539131Smrg  --bindir=DIR            user executables [EPREFIX/bin]
136850539131Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
136950539131Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
137050539131Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
137150539131Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
137250539131Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
137350539131Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
137450539131Smrg  --includedir=DIR        C header files [PREFIX/include]
137550539131Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
137650539131Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
137750539131Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
137850539131Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
137950539131Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
138050539131Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
138150539131Smrg  --docdir=DIR            documentation root
138250539131Smrg                          [DATAROOTDIR/doc/font-bitstream-75dpi]
138350539131Smrg  --htmldir=DIR           html documentation [DOCDIR]
138450539131Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
138550539131Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
138650539131Smrg  --psdir=DIR             ps documentation [DOCDIR]
1387ded1caa4Smrg_ACEOF
1388ded1caa4Smrg
1389ded1caa4Smrg  cat <<\_ACEOF
1390ded1caa4Smrg
1391ded1caa4SmrgProgram names:
1392ded1caa4Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1393ded1caa4Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1394ded1caa4Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
139550539131Smrg
139650539131SmrgSystem types:
139750539131Smrg  --build=BUILD     configure for building on BUILD [guessed]
139850539131Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1399ded1caa4Smrg_ACEOF
1400ded1caa4Smrgfi
1401ded1caa4Smrg
1402ded1caa4Smrgif test -n "$ac_init_help"; then
1403ded1caa4Smrg  case $ac_init_help in
140450539131Smrg     short | recursive ) echo "Configuration of font-bitstream-75dpi 1.0.1:";;
1405ded1caa4Smrg   esac
1406ded1caa4Smrg  cat <<\_ACEOF
1407ded1caa4Smrg
1408ded1caa4SmrgOptional Features:
140950539131Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1410ded1caa4Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1411ded1caa4Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
141250539131Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
141350539131Smrg			  (and sometimes confusing) to the casual installer
141450539131Smrg  --disable-dependency-tracking  speeds up one-time build
141550539131Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
141650539131Smrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
141750539131Smrg  --disable-silent-rules         verbose build output (undo: `make V=0')
141850539131Smrg  --enable-strict-compilation
141950539131Smrg                          Enable all warnings from compiler and make them
142050539131Smrg                          errors (default: disabled)
1421ded1caa4Smrg
1422ded1caa4SmrgOptional Packages:
1423ded1caa4Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1424ded1caa4Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1425ded1caa4Smrg  --with-release-version=STRING
1426ded1caa4Smrg                          Use release version string in package name
142750539131Smrg  --with-fontrootdir=DIR  Path to root directory for font files
142850539131Smrg  --with-fontdir=DIR      Path to 75dpi files [FONTROOTDIR/75dpi]
142950539131Smrg  --with-compression=<no|compress|gzip|bzip2>
143050539131Smrg                          compression method to use on pcf fonts
143150539131Smrg
143250539131SmrgSome influential environment variables:
143350539131Smrg  CC          C compiler command
143450539131Smrg  CFLAGS      C compiler flags
143550539131Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
143650539131Smrg              nonstandard directory <lib dir>
143750539131Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
143850539131Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
143950539131Smrg              you have headers in a nonstandard directory <include dir>
144050539131Smrg  CPP         C preprocessor
144150539131Smrg  PKG_CONFIG  path to pkg-config utility
144250539131Smrg
144350539131SmrgUse these variables to override the choices made by `configure' or to help
144450539131Smrgit to find libraries and programs with nonstandard names/locations.
1445ded1caa4Smrg
1446ded1caa4SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1447ded1caa4Smrg_ACEOF
144850539131Smrgac_status=$?
1449ded1caa4Smrgfi
1450ded1caa4Smrg
1451ded1caa4Smrgif test "$ac_init_help" = "recursive"; then
1452ded1caa4Smrg  # If there are subdirs, report their specific --help.
1453ded1caa4Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
145450539131Smrg    test -d "$ac_dir" ||
145550539131Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
145650539131Smrg      continue
1457ded1caa4Smrg    ac_builddir=.
1458ded1caa4Smrg
145950539131Smrgcase "$ac_dir" in
146050539131Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
146150539131Smrg*)
146250539131Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
146350539131Smrg  # A ".." for each directory in $ac_dir_suffix.
146450539131Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
146550539131Smrg  case $ac_top_builddir_sub in
146650539131Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
146750539131Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
146850539131Smrg  esac ;;
146950539131Smrgesac
147050539131Smrgac_abs_top_builddir=$ac_pwd
147150539131Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
147250539131Smrg# for backward compatibility:
147350539131Smrgac_top_builddir=$ac_top_build_prefix
1474ded1caa4Smrg
1475ded1caa4Smrgcase $srcdir in
147650539131Smrg  .)  # We are building in place.
1477ded1caa4Smrg    ac_srcdir=.
147850539131Smrg    ac_top_srcdir=$ac_top_builddir_sub
147950539131Smrg    ac_abs_top_srcdir=$ac_pwd ;;
148050539131Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1481ded1caa4Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
148250539131Smrg    ac_top_srcdir=$srcdir
148350539131Smrg    ac_abs_top_srcdir=$srcdir ;;
148450539131Smrg  *) # Relative name.
148550539131Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
148650539131Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
148750539131Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1488ded1caa4Smrgesac
148950539131Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
149050539131Smrg
149150539131Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
149250539131Smrg    # Check for guested configure.
149350539131Smrg    if test -f "$ac_srcdir/configure.gnu"; then
149450539131Smrg      echo &&
149550539131Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
149650539131Smrg    elif test -f "$ac_srcdir/configure"; then
149750539131Smrg      echo &&
149850539131Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1499ded1caa4Smrg    else
150050539131Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
150150539131Smrg    fi || ac_status=$?
150250539131Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1503ded1caa4Smrg  done
1504ded1caa4Smrgfi
1505ded1caa4Smrg
150650539131Smrgtest -n "$ac_init_help" && exit $ac_status
1507ded1caa4Smrgif $ac_init_version; then
1508ded1caa4Smrg  cat <<\_ACEOF
150950539131Smrgfont-bitstream-75dpi configure 1.0.1
151050539131Smrggenerated by GNU Autoconf 2.63
1511ded1caa4Smrg
151250539131SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
151350539131Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1514ded1caa4SmrgThis configure script is free software; the Free Software Foundation
1515ded1caa4Smrggives unlimited permission to copy, distribute and modify it.
1516ded1caa4Smrg_ACEOF
151750539131Smrg  exit
1518ded1caa4Smrgfi
151950539131Smrgcat >config.log <<_ACEOF
1520ded1caa4SmrgThis file contains any messages produced by compilers while
1521ded1caa4Smrgrunning configure, to aid debugging if configure makes a mistake.
1522ded1caa4Smrg
152350539131SmrgIt was created by font-bitstream-75dpi $as_me 1.0.1, which was
152450539131Smrggenerated by GNU Autoconf 2.63.  Invocation command line was
1525ded1caa4Smrg
1526ded1caa4Smrg  $ $0 $@
1527ded1caa4Smrg
1528ded1caa4Smrg_ACEOF
152950539131Smrgexec 5>>config.log
1530ded1caa4Smrg{
1531ded1caa4Smrgcat <<_ASUNAME
1532ded1caa4Smrg## --------- ##
1533ded1caa4Smrg## Platform. ##
1534ded1caa4Smrg## --------- ##
1535ded1caa4Smrg
1536ded1caa4Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1537ded1caa4Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1538ded1caa4Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1539ded1caa4Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1540ded1caa4Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1541ded1caa4Smrg
1542ded1caa4Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1543ded1caa4Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1544ded1caa4Smrg
1545ded1caa4Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1546ded1caa4Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1547ded1caa4Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
154850539131Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1549ded1caa4Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1550ded1caa4Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1551ded1caa4Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1552ded1caa4Smrg
1553ded1caa4Smrg_ASUNAME
1554ded1caa4Smrg
1555ded1caa4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1556ded1caa4Smrgfor as_dir in $PATH
1557ded1caa4Smrgdo
1558ded1caa4Smrg  IFS=$as_save_IFS
1559ded1caa4Smrg  test -z "$as_dir" && as_dir=.
156050539131Smrg  $as_echo "PATH: $as_dir"
1561ded1caa4Smrgdone
156250539131SmrgIFS=$as_save_IFS
1563ded1caa4Smrg
1564ded1caa4Smrg} >&5
1565ded1caa4Smrg
1566ded1caa4Smrgcat >&5 <<_ACEOF
1567ded1caa4Smrg
1568ded1caa4Smrg
1569ded1caa4Smrg## ----------- ##
1570ded1caa4Smrg## Core tests. ##
1571ded1caa4Smrg## ----------- ##
1572ded1caa4Smrg
1573ded1caa4Smrg_ACEOF
1574ded1caa4Smrg
1575ded1caa4Smrg
1576ded1caa4Smrg# Keep a trace of the command line.
1577ded1caa4Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1578ded1caa4Smrg# Strip out --silent because we don't want to record it for future runs.
1579ded1caa4Smrg# Also quote any args containing shell meta-characters.
1580ded1caa4Smrg# Make two passes to allow for proper duplicate-argument suppression.
1581ded1caa4Smrgac_configure_args=
1582ded1caa4Smrgac_configure_args0=
1583ded1caa4Smrgac_configure_args1=
1584ded1caa4Smrgac_must_keep_next=false
1585ded1caa4Smrgfor ac_pass in 1 2
1586ded1caa4Smrgdo
1587ded1caa4Smrg  for ac_arg
1588ded1caa4Smrg  do
1589ded1caa4Smrg    case $ac_arg in
1590ded1caa4Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1591ded1caa4Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1592ded1caa4Smrg    | -silent | --silent | --silen | --sile | --sil)
1593ded1caa4Smrg      continue ;;
159450539131Smrg    *\'*)
159550539131Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1596ded1caa4Smrg    esac
1597ded1caa4Smrg    case $ac_pass in
1598ded1caa4Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1599ded1caa4Smrg    2)
1600ded1caa4Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1601ded1caa4Smrg      if test $ac_must_keep_next = true; then
1602ded1caa4Smrg	ac_must_keep_next=false # Got value, back to normal.
1603ded1caa4Smrg      else
1604ded1caa4Smrg	case $ac_arg in
1605ded1caa4Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1606ded1caa4Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1607ded1caa4Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1608ded1caa4Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1609ded1caa4Smrg	    case "$ac_configure_args0 " in
1610ded1caa4Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1611ded1caa4Smrg	    esac
1612ded1caa4Smrg	    ;;
1613ded1caa4Smrg	  -* ) ac_must_keep_next=true ;;
1614ded1caa4Smrg	esac
1615ded1caa4Smrg      fi
161650539131Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
1617ded1caa4Smrg      ;;
1618ded1caa4Smrg    esac
1619ded1caa4Smrg  done
1620ded1caa4Smrgdone
1621ded1caa4Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1622ded1caa4Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1623ded1caa4Smrg
1624ded1caa4Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1625ded1caa4Smrg# config.log.  We remove comments because anyway the quotes in there
1626ded1caa4Smrg# would cause problems or look ugly.
162750539131Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
162850539131Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1629ded1caa4Smrgtrap 'exit_status=$?
1630ded1caa4Smrg  # Save into config.log some information that might help in debugging.
1631ded1caa4Smrg  {
1632ded1caa4Smrg    echo
1633ded1caa4Smrg
1634ded1caa4Smrg    cat <<\_ASBOX
1635ded1caa4Smrg## ---------------- ##
1636ded1caa4Smrg## Cache variables. ##
1637ded1caa4Smrg## ---------------- ##
1638ded1caa4Smrg_ASBOX
1639ded1caa4Smrg    echo
1640ded1caa4Smrg    # The following way of writing the cache mishandles newlines in values,
164150539131Smrg(
164250539131Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
164350539131Smrg    eval ac_val=\$$ac_var
164450539131Smrg    case $ac_val in #(
164550539131Smrg    *${as_nl}*)
164650539131Smrg      case $ac_var in #(
164750539131Smrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
164850539131Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
164950539131Smrg      esac
165050539131Smrg      case $ac_var in #(
165150539131Smrg      _ | IFS | as_nl) ;; #(
165250539131Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
165350539131Smrg      *) $as_unset $ac_var ;;
165450539131Smrg      esac ;;
165550539131Smrg    esac
165650539131Smrg  done
1657ded1caa4Smrg  (set) 2>&1 |
165850539131Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
165950539131Smrg    *${as_nl}ac_space=\ *)
1660ded1caa4Smrg      sed -n \
166150539131Smrg	"s/'\''/'\''\\\\'\'''\''/g;
166250539131Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
166350539131Smrg      ;; #(
1664ded1caa4Smrg    *)
166550539131Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1666ded1caa4Smrg      ;;
166750539131Smrg    esac |
166850539131Smrg    sort
166950539131Smrg)
1670ded1caa4Smrg    echo
1671ded1caa4Smrg
1672ded1caa4Smrg    cat <<\_ASBOX
1673ded1caa4Smrg## ----------------- ##
1674ded1caa4Smrg## Output variables. ##
1675ded1caa4Smrg## ----------------- ##
1676ded1caa4Smrg_ASBOX
1677ded1caa4Smrg    echo
1678ded1caa4Smrg    for ac_var in $ac_subst_vars
1679ded1caa4Smrg    do
168050539131Smrg      eval ac_val=\$$ac_var
168150539131Smrg      case $ac_val in
168250539131Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
168350539131Smrg      esac
168450539131Smrg      $as_echo "$ac_var='\''$ac_val'\''"
1685ded1caa4Smrg    done | sort
1686ded1caa4Smrg    echo
1687ded1caa4Smrg
1688ded1caa4Smrg    if test -n "$ac_subst_files"; then
1689ded1caa4Smrg      cat <<\_ASBOX
169050539131Smrg## ------------------- ##
169150539131Smrg## File substitutions. ##
169250539131Smrg## ------------------- ##
1693ded1caa4Smrg_ASBOX
1694ded1caa4Smrg      echo
1695ded1caa4Smrg      for ac_var in $ac_subst_files
1696ded1caa4Smrg      do
169750539131Smrg	eval ac_val=\$$ac_var
169850539131Smrg	case $ac_val in
169950539131Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
170050539131Smrg	esac
170150539131Smrg	$as_echo "$ac_var='\''$ac_val'\''"
1702ded1caa4Smrg      done | sort
1703ded1caa4Smrg      echo
1704ded1caa4Smrg    fi
1705ded1caa4Smrg
1706ded1caa4Smrg    if test -s confdefs.h; then
1707ded1caa4Smrg      cat <<\_ASBOX
1708ded1caa4Smrg## ----------- ##
1709ded1caa4Smrg## confdefs.h. ##
1710ded1caa4Smrg## ----------- ##
1711ded1caa4Smrg_ASBOX
1712ded1caa4Smrg      echo
171350539131Smrg      cat confdefs.h
1714ded1caa4Smrg      echo
1715ded1caa4Smrg    fi
1716ded1caa4Smrg    test "$ac_signal" != 0 &&
171750539131Smrg      $as_echo "$as_me: caught signal $ac_signal"
171850539131Smrg    $as_echo "$as_me: exit $exit_status"
1719ded1caa4Smrg  } >&5
172050539131Smrg  rm -f core *.core core.conftest.* &&
172150539131Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1722ded1caa4Smrg    exit $exit_status
172350539131Smrg' 0
1724ded1caa4Smrgfor ac_signal in 1 2 13 15; do
1725ded1caa4Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1726ded1caa4Smrgdone
1727ded1caa4Smrgac_signal=0
1728ded1caa4Smrg
1729ded1caa4Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
173050539131Smrgrm -f -r conftest* confdefs.h
1731ded1caa4Smrg
1732ded1caa4Smrg# Predefined preprocessor variables.
1733ded1caa4Smrg
1734ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1735ded1caa4Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
1736ded1caa4Smrg_ACEOF
1737ded1caa4Smrg
1738ded1caa4Smrg
1739ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1740ded1caa4Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1741ded1caa4Smrg_ACEOF
1742ded1caa4Smrg
1743ded1caa4Smrg
1744ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1745ded1caa4Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1746ded1caa4Smrg_ACEOF
1747ded1caa4Smrg
1748ded1caa4Smrg
1749ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1750ded1caa4Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
1751ded1caa4Smrg_ACEOF
1752ded1caa4Smrg
1753ded1caa4Smrg
1754ded1caa4Smrgcat >>confdefs.h <<_ACEOF
1755ded1caa4Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1756ded1caa4Smrg_ACEOF
1757ded1caa4Smrg
1758ded1caa4Smrg
1759ded1caa4Smrg# Let the site file select an alternate cache file if it wants to.
176050539131Smrg# Prefer an explicitly selected file to automatically selected ones.
176150539131Smrgac_site_file1=NONE
176250539131Smrgac_site_file2=NONE
176350539131Smrgif test -n "$CONFIG_SITE"; then
176450539131Smrg  ac_site_file1=$CONFIG_SITE
176550539131Smrgelif test "x$prefix" != xNONE; then
176650539131Smrg  ac_site_file1=$prefix/share/config.site
176750539131Smrg  ac_site_file2=$prefix/etc/config.site
176850539131Smrgelse
176950539131Smrg  ac_site_file1=$ac_default_prefix/share/config.site
177050539131Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
1771ded1caa4Smrgfi
177250539131Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
177350539131Smrgdo
177450539131Smrg  test "x$ac_site_file" = xNONE && continue
1775ded1caa4Smrg  if test -r "$ac_site_file"; then
177650539131Smrg    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
177750539131Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1778ded1caa4Smrg    sed 's/^/| /' "$ac_site_file" >&5
1779ded1caa4Smrg    . "$ac_site_file"
1780ded1caa4Smrg  fi
1781ded1caa4Smrgdone
1782ded1caa4Smrg
1783ded1caa4Smrgif test -r "$cache_file"; then
1784ded1caa4Smrg  # Some versions of bash will fail to source /dev/null (special
1785ded1caa4Smrg  # files actually), so we avoid doing that.
1786ded1caa4Smrg  if test -f "$cache_file"; then
178750539131Smrg    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
178850539131Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1789ded1caa4Smrg    case $cache_file in
179050539131Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
179150539131Smrg      *)                      . "./$cache_file";;
1792ded1caa4Smrg    esac
1793ded1caa4Smrg  fi
1794ded1caa4Smrgelse
179550539131Smrg  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
179650539131Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1797ded1caa4Smrg  >$cache_file
1798ded1caa4Smrgfi
1799ded1caa4Smrg
1800ded1caa4Smrg# Check that the precious variables saved in the cache have kept the same
1801ded1caa4Smrg# value.
1802ded1caa4Smrgac_cache_corrupted=false
180350539131Smrgfor ac_var in $ac_precious_vars; do
1804ded1caa4Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1805ded1caa4Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
180650539131Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
180750539131Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1808ded1caa4Smrg  case $ac_old_set,$ac_new_set in
1809ded1caa4Smrg    set,)
181050539131Smrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
181150539131Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1812ded1caa4Smrg      ac_cache_corrupted=: ;;
1813ded1caa4Smrg    ,set)
181450539131Smrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
181550539131Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1816ded1caa4Smrg      ac_cache_corrupted=: ;;
1817ded1caa4Smrg    ,);;
1818ded1caa4Smrg    *)
1819ded1caa4Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
182050539131Smrg	# differences in whitespace do not lead to failure.
182150539131Smrg	ac_old_val_w=`echo x $ac_old_val`
182250539131Smrg	ac_new_val_w=`echo x $ac_new_val`
182350539131Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
182450539131Smrg	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
182550539131Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
182650539131Smrg	  ac_cache_corrupted=:
182750539131Smrg	else
182850539131Smrg	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
182950539131Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
183050539131Smrg	  eval $ac_var=\$ac_old_val
183150539131Smrg	fi
183250539131Smrg	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
183350539131Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
183450539131Smrg	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
183550539131Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1836ded1caa4Smrg      fi;;
1837ded1caa4Smrg  esac
1838ded1caa4Smrg  # Pass precious variables to config.status.
1839ded1caa4Smrg  if test "$ac_new_set" = set; then
1840ded1caa4Smrg    case $ac_new_val in
184150539131Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1842ded1caa4Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1843ded1caa4Smrg    esac
1844ded1caa4Smrg    case " $ac_configure_args " in
1845ded1caa4Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1846ded1caa4Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1847ded1caa4Smrg    esac
1848ded1caa4Smrg  fi
1849ded1caa4Smrgdone
1850ded1caa4Smrgif $ac_cache_corrupted; then
185150539131Smrg  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
185250539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
185350539131Smrg  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
185450539131Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
185550539131Smrg  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
185650539131Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1857ded1caa4Smrg   { (exit 1); exit 1; }; }
1858ded1caa4Smrgfi
1859ded1caa4Smrg
1860ded1caa4Smrg
1861ded1caa4Smrg
1862ded1caa4Smrg
1863ded1caa4Smrg
1864ded1caa4Smrg
1865ded1caa4Smrg
1866ded1caa4Smrg
1867ded1caa4Smrg
1868ded1caa4Smrg
1869ded1caa4Smrg
1870ded1caa4Smrg
1871ded1caa4Smrg
1872ded1caa4Smrg
1873ded1caa4Smrg
1874ded1caa4Smrg
1875ded1caa4Smrg
1876ded1caa4Smrg
1877ded1caa4Smrg
1878ded1caa4Smrg
1879ded1caa4Smrg
1880ded1caa4Smrg
1881ded1caa4Smrg
1882ded1caa4Smrg
1883ded1caa4Smrg
188450539131Smrgac_ext=c
188550539131Smrgac_cpp='$CPP $CPPFLAGS'
188650539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
188750539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
188850539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1889ded1caa4Smrg
1890ded1caa4Smrg
189150539131Smrgam__api_version='1.11'
1892ded1caa4Smrg
1893ded1caa4Smrgac_aux_dir=
189450539131Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
189550539131Smrg  if test -f "$ac_dir/install-sh"; then
1896ded1caa4Smrg    ac_aux_dir=$ac_dir
1897ded1caa4Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1898ded1caa4Smrg    break
189950539131Smrg  elif test -f "$ac_dir/install.sh"; then
1900ded1caa4Smrg    ac_aux_dir=$ac_dir
1901ded1caa4Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1902ded1caa4Smrg    break
190350539131Smrg  elif test -f "$ac_dir/shtool"; then
1904ded1caa4Smrg    ac_aux_dir=$ac_dir
1905ded1caa4Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1906ded1caa4Smrg    break
1907ded1caa4Smrg  fi
1908ded1caa4Smrgdone
1909ded1caa4Smrgif test -z "$ac_aux_dir"; then
191050539131Smrg  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
191150539131Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1912ded1caa4Smrg   { (exit 1); exit 1; }; }
1913ded1caa4Smrgfi
191450539131Smrg
191550539131Smrg# These three variables are undocumented and unsupported,
191650539131Smrg# and are intended to be withdrawn in a future Autoconf release.
191750539131Smrg# They can cause serious problems if a builder's source tree is in a directory
191850539131Smrg# whose full name contains unusual characters.
191950539131Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
192050539131Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
192150539131Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
192250539131Smrg
1923ded1caa4Smrg
1924ded1caa4Smrg# Find a good install program.  We prefer a C program (faster),
1925ded1caa4Smrg# so one script is as good as another.  But avoid the broken or
1926ded1caa4Smrg# incompatible versions:
1927ded1caa4Smrg# SysV /etc/install, /usr/sbin/install
1928ded1caa4Smrg# SunOS /usr/etc/install
1929ded1caa4Smrg# IRIX /sbin/install
1930ded1caa4Smrg# AIX /bin/install
1931ded1caa4Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1932ded1caa4Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1933ded1caa4Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1934ded1caa4Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1935ded1caa4Smrg# OS/2's system install, which has a completely different semantic
1936ded1caa4Smrg# ./install, which can be erroneously created by make from ./install.sh.
193750539131Smrg# Reject install programs that cannot install multiple files.
193850539131Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
193950539131Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
1940ded1caa4Smrgif test -z "$INSTALL"; then
1941ded1caa4Smrgif test "${ac_cv_path_install+set}" = set; then
194250539131Smrg  $as_echo_n "(cached) " >&6
1943ded1caa4Smrgelse
1944ded1caa4Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945ded1caa4Smrgfor as_dir in $PATH
1946ded1caa4Smrgdo
1947ded1caa4Smrg  IFS=$as_save_IFS
1948ded1caa4Smrg  test -z "$as_dir" && as_dir=.
1949ded1caa4Smrg  # Account for people who put trailing slashes in PATH elements.
1950ded1caa4Smrgcase $as_dir/ in
1951ded1caa4Smrg  ./ | .// | /cC/* | \
1952ded1caa4Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1953ded1caa4Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1954ded1caa4Smrg  /usr/ucb/* ) ;;
1955ded1caa4Smrg  *)
1956ded1caa4Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1957ded1caa4Smrg    # Don't use installbsd from OSF since it installs stuff as root
1958ded1caa4Smrg    # by default.
1959ded1caa4Smrg    for ac_prog in ginstall scoinst install; do
1960ded1caa4Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
196150539131Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1962ded1caa4Smrg	  if test $ac_prog = install &&
1963ded1caa4Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1964ded1caa4Smrg	    # AIX install.  It has an incompatible calling convention.
1965ded1caa4Smrg	    :
1966ded1caa4Smrg	  elif test $ac_prog = install &&
1967ded1caa4Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1968ded1caa4Smrg	    # program-specific install script used by HP pwplus--don't use.
1969ded1caa4Smrg	    :
1970ded1caa4Smrg	  else
197150539131Smrg	    rm -rf conftest.one conftest.two conftest.dir
197250539131Smrg	    echo one > conftest.one
197350539131Smrg	    echo two > conftest.two
197450539131Smrg	    mkdir conftest.dir
197550539131Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
197650539131Smrg	      test -s conftest.one && test -s conftest.two &&
197750539131Smrg	      test -s conftest.dir/conftest.one &&
197850539131Smrg	      test -s conftest.dir/conftest.two
197950539131Smrg	    then
198050539131Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
198150539131Smrg	      break 3
198250539131Smrg	    fi
1983ded1caa4Smrg	  fi
1984ded1caa4Smrg	fi
1985ded1caa4Smrg      done
1986ded1caa4Smrg    done
1987ded1caa4Smrg    ;;
1988ded1caa4Smrgesac
198950539131Smrg
1990ded1caa4Smrgdone
199150539131SmrgIFS=$as_save_IFS
1992ded1caa4Smrg
199350539131Smrgrm -rf conftest.one conftest.two conftest.dir
1994ded1caa4Smrg
1995ded1caa4Smrgfi
1996ded1caa4Smrg  if test "${ac_cv_path_install+set}" = set; then
1997ded1caa4Smrg    INSTALL=$ac_cv_path_install
1998ded1caa4Smrg  else
199950539131Smrg    # As a last resort, use the slow shell script.  Don't cache a
200050539131Smrg    # value for INSTALL within a source directory, because that will
2001ded1caa4Smrg    # break other packages using the cache if that directory is
200250539131Smrg    # removed, or if the value is a relative name.
2003ded1caa4Smrg    INSTALL=$ac_install_sh
2004ded1caa4Smrg  fi
2005ded1caa4Smrgfi
200650539131Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
200750539131Smrg$as_echo "$INSTALL" >&6; }
2008ded1caa4Smrg
2009ded1caa4Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2010ded1caa4Smrg# It thinks the first close brace ends the variable substitution.
2011ded1caa4Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2012ded1caa4Smrg
2013ded1caa4Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2014ded1caa4Smrg
2015ded1caa4Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2016ded1caa4Smrg
201750539131Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
201850539131Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
2019ded1caa4Smrg# Just in case
2020ded1caa4Smrgsleep 1
2021ded1caa4Smrgecho timestamp > conftest.file
202250539131Smrg# Reject unsafe characters in $srcdir or the absolute working directory
202350539131Smrg# name.  Accept space and tab only in the latter.
202450539131Smrgam_lf='
202550539131Smrg'
202650539131Smrgcase `pwd` in
202750539131Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
202850539131Smrg    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
202950539131Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
203050539131Smrg   { (exit 1); exit 1; }; };;
203150539131Smrgesac
203250539131Smrgcase $srcdir in
203350539131Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
203450539131Smrg    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
203550539131Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
203650539131Smrg   { (exit 1); exit 1; }; };;
203750539131Smrgesac
203850539131Smrg
2039ded1caa4Smrg# Do `set' in a subshell so we don't clobber the current shell's
2040ded1caa4Smrg# arguments.  Must try -L first in case configure is actually a
2041ded1caa4Smrg# symlink; some systems play weird games with the mod time of symlinks
2042ded1caa4Smrg# (eg FreeBSD returns the mod time of the symlink's containing
2043ded1caa4Smrg# directory).
2044ded1caa4Smrgif (
204550539131Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2046ded1caa4Smrg   if test "$*" = "X"; then
2047ded1caa4Smrg      # -L didn't work.
204850539131Smrg      set X `ls -t "$srcdir/configure" conftest.file`
2049ded1caa4Smrg   fi
2050ded1caa4Smrg   rm -f conftest.file
2051ded1caa4Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
2052ded1caa4Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
2053ded1caa4Smrg
2054ded1caa4Smrg      # If neither matched, then we have a broken ls.  This can happen
2055ded1caa4Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
2056ded1caa4Smrg      # broken ls alias from the environment.  This has actually
2057ded1caa4Smrg      # happened.  Such a system could not be considered "sane".
205850539131Smrg      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2059ded1caa4Smrgalias in your environment" >&5
206050539131Smrg$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2061ded1caa4Smrgalias in your environment" >&2;}
2062ded1caa4Smrg   { (exit 1); exit 1; }; }
2063ded1caa4Smrg   fi
2064ded1caa4Smrg
2065ded1caa4Smrg   test "$2" = conftest.file
2066ded1caa4Smrg   )
2067ded1caa4Smrgthen
2068ded1caa4Smrg   # Ok.
2069ded1caa4Smrg   :
2070ded1caa4Smrgelse
207150539131Smrg   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2072ded1caa4SmrgCheck your system clock" >&5
207350539131Smrg$as_echo "$as_me: error: newly created file is older than distributed files!
2074ded1caa4SmrgCheck your system clock" >&2;}
2075ded1caa4Smrg   { (exit 1); exit 1; }; }
2076ded1caa4Smrgfi
207750539131Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
207850539131Smrg$as_echo "yes" >&6; }
2079ded1caa4Smrgtest "$program_prefix" != NONE &&
208050539131Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2081ded1caa4Smrg# Use a double $ so make ignores it.
2082ded1caa4Smrgtest "$program_suffix" != NONE &&
208350539131Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
208450539131Smrg# Double any \ or $.
2085ded1caa4Smrg# By default was `s,x,x', remove it if useless.
208650539131Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
208750539131Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2088ded1caa4Smrg
2089ded1caa4Smrg# expand $ac_aux_dir to an absolute path
2090ded1caa4Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
2091ded1caa4Smrg
209250539131Smrgif test x"${MISSING+set}" != xset; then
209350539131Smrg  case $am_aux_dir in
209450539131Smrg  *\ * | *\	*)
209550539131Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
209650539131Smrg  *)
209750539131Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
209850539131Smrg  esac
209950539131Smrgfi
2100ded1caa4Smrg# Use eval to expand $SHELL
2101ded1caa4Smrgif eval "$MISSING --run true"; then
2102ded1caa4Smrg  am_missing_run="$MISSING --run "
2103ded1caa4Smrgelse
2104ded1caa4Smrg  am_missing_run=
210550539131Smrg  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
210650539131Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
210750539131Smrgfi
210850539131Smrg
210950539131Smrgif test x"${install_sh}" != xset; then
211050539131Smrg  case $am_aux_dir in
211150539131Smrg  *\ * | *\	*)
211250539131Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
211350539131Smrg  *)
211450539131Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
211550539131Smrg  esac
211650539131Smrgfi
211750539131Smrg
211850539131Smrg# Installed binaries are usually stripped using `strip' when the user
211950539131Smrg# run `make install-strip'.  However `strip' might not be the right
212050539131Smrg# tool to use in cross-compilation environments, therefore Automake
212150539131Smrg# will honor the `STRIP' environment variable to overrule this program.
212250539131Smrgif test "$cross_compiling" != no; then
212350539131Smrg  if test -n "$ac_tool_prefix"; then
212450539131Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
212550539131Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
212650539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
212750539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
212850539131Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
212950539131Smrg  $as_echo_n "(cached) " >&6
213050539131Smrgelse
213150539131Smrg  if test -n "$STRIP"; then
213250539131Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
213350539131Smrgelse
213450539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
213550539131Smrgfor as_dir in $PATH
213650539131Smrgdo
213750539131Smrg  IFS=$as_save_IFS
213850539131Smrg  test -z "$as_dir" && as_dir=.
213950539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
214050539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
214150539131Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
214250539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
214350539131Smrg    break 2
214450539131Smrg  fi
214550539131Smrgdone
214650539131Smrgdone
214750539131SmrgIFS=$as_save_IFS
214850539131Smrg
214950539131Smrgfi
215050539131Smrgfi
215150539131SmrgSTRIP=$ac_cv_prog_STRIP
215250539131Smrgif test -n "$STRIP"; then
215350539131Smrg  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
215450539131Smrg$as_echo "$STRIP" >&6; }
215550539131Smrgelse
215650539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
215750539131Smrg$as_echo "no" >&6; }
215850539131Smrgfi
215950539131Smrg
216050539131Smrg
216150539131Smrgfi
216250539131Smrgif test -z "$ac_cv_prog_STRIP"; then
216350539131Smrg  ac_ct_STRIP=$STRIP
216450539131Smrg  # Extract the first word of "strip", so it can be a program name with args.
216550539131Smrgset dummy strip; ac_word=$2
216650539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
216750539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
216850539131Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
216950539131Smrg  $as_echo_n "(cached) " >&6
217050539131Smrgelse
217150539131Smrg  if test -n "$ac_ct_STRIP"; then
217250539131Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
217350539131Smrgelse
217450539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217550539131Smrgfor as_dir in $PATH
217650539131Smrgdo
217750539131Smrg  IFS=$as_save_IFS
217850539131Smrg  test -z "$as_dir" && as_dir=.
217950539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
218050539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
218150539131Smrg    ac_cv_prog_ac_ct_STRIP="strip"
218250539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
218350539131Smrg    break 2
218450539131Smrg  fi
218550539131Smrgdone
218650539131Smrgdone
218750539131SmrgIFS=$as_save_IFS
218850539131Smrg
218950539131Smrgfi
219050539131Smrgfi
219150539131Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
219250539131Smrgif test -n "$ac_ct_STRIP"; then
219350539131Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
219450539131Smrg$as_echo "$ac_ct_STRIP" >&6; }
219550539131Smrgelse
219650539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
219750539131Smrg$as_echo "no" >&6; }
219850539131Smrgfi
219950539131Smrg
220050539131Smrg  if test "x$ac_ct_STRIP" = x; then
220150539131Smrg    STRIP=":"
220250539131Smrg  else
220350539131Smrg    case $cross_compiling:$ac_tool_warned in
220450539131Smrgyes:)
220550539131Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
220650539131Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
220750539131Smrgac_tool_warned=yes ;;
220850539131Smrgesac
220950539131Smrg    STRIP=$ac_ct_STRIP
221050539131Smrg  fi
221150539131Smrgelse
221250539131Smrg  STRIP="$ac_cv_prog_STRIP"
221350539131Smrgfi
221450539131Smrg
221550539131Smrgfi
221650539131SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
221750539131Smrg
221850539131Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
221950539131Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
222050539131Smrgif test -z "$MKDIR_P"; then
222150539131Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
222250539131Smrg  $as_echo_n "(cached) " >&6
222350539131Smrgelse
222450539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222550539131Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
222650539131Smrgdo
222750539131Smrg  IFS=$as_save_IFS
222850539131Smrg  test -z "$as_dir" && as_dir=.
222950539131Smrg  for ac_prog in mkdir gmkdir; do
223050539131Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
223150539131Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
223250539131Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
223350539131Smrg	     'mkdir (GNU coreutils) '* | \
223450539131Smrg	     'mkdir (coreutils) '* | \
223550539131Smrg	     'mkdir (fileutils) '4.1*)
223650539131Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
223750539131Smrg	       break 3;;
223850539131Smrg	   esac
223950539131Smrg	 done
224050539131Smrg       done
224150539131Smrgdone
224250539131SmrgIFS=$as_save_IFS
224350539131Smrg
224450539131Smrgfi
224550539131Smrg
224650539131Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
224750539131Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
224850539131Smrg  else
224950539131Smrg    # As a last resort, use the slow shell script.  Don't cache a
225050539131Smrg    # value for MKDIR_P within a source directory, because that will
225150539131Smrg    # break other packages using the cache if that directory is
225250539131Smrg    # removed, or if the value is a relative name.
225350539131Smrg    test -d ./--version && rmdir ./--version
225450539131Smrg    MKDIR_P="$ac_install_sh -d"
225550539131Smrg  fi
2256ded1caa4Smrgfi
225750539131Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
225850539131Smrg$as_echo "$MKDIR_P" >&6; }
225950539131Smrg
226050539131Smrgmkdir_p="$MKDIR_P"
226150539131Smrgcase $mkdir_p in
226250539131Smrg  [\\/$]* | ?:[\\/]*) ;;
226350539131Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
226450539131Smrgesac
2265ded1caa4Smrg
2266ded1caa4Smrgfor ac_prog in gawk mawk nawk awk
2267ded1caa4Smrgdo
2268ded1caa4Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2269ded1caa4Smrgset dummy $ac_prog; ac_word=$2
227050539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
227150539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
2272ded1caa4Smrgif test "${ac_cv_prog_AWK+set}" = set; then
227350539131Smrg  $as_echo_n "(cached) " >&6
2274ded1caa4Smrgelse
2275ded1caa4Smrg  if test -n "$AWK"; then
2276ded1caa4Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2277ded1caa4Smrgelse
2278ded1caa4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279ded1caa4Smrgfor as_dir in $PATH
2280ded1caa4Smrgdo
2281ded1caa4Smrg  IFS=$as_save_IFS
2282ded1caa4Smrg  test -z "$as_dir" && as_dir=.
2283ded1caa4Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
228450539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2285ded1caa4Smrg    ac_cv_prog_AWK="$ac_prog"
228650539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287ded1caa4Smrg    break 2
2288ded1caa4Smrg  fi
2289ded1caa4Smrgdone
2290ded1caa4Smrgdone
229150539131SmrgIFS=$as_save_IFS
2292ded1caa4Smrg
2293ded1caa4Smrgfi
2294ded1caa4Smrgfi
2295ded1caa4SmrgAWK=$ac_cv_prog_AWK
2296ded1caa4Smrgif test -n "$AWK"; then
229750539131Smrg  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
229850539131Smrg$as_echo "$AWK" >&6; }
2299ded1caa4Smrgelse
230050539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
230150539131Smrg$as_echo "no" >&6; }
2302ded1caa4Smrgfi
2303ded1caa4Smrg
230450539131Smrg
2305ded1caa4Smrg  test -n "$AWK" && break
2306ded1caa4Smrgdone
2307ded1caa4Smrg
230850539131Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
230950539131Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
231050539131Smrgset x ${MAKE-make}
231150539131Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
231250539131Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
231350539131Smrg  $as_echo_n "(cached) " >&6
2314ded1caa4Smrgelse
2315ded1caa4Smrg  cat >conftest.make <<\_ACEOF
231650539131SmrgSHELL = /bin/sh
2317ded1caa4Smrgall:
231850539131Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2319ded1caa4Smrg_ACEOF
2320ded1caa4Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
232150539131Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
232250539131Smrg  *@@@%%%=?*=@@@%%%*)
232350539131Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
232450539131Smrg  *)
232550539131Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
232650539131Smrgesac
2327ded1caa4Smrgrm -f conftest.make
2328ded1caa4Smrgfi
232950539131Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
233050539131Smrg  { $as_echo "$as_me:$LINENO: result: yes" >&5
233150539131Smrg$as_echo "yes" >&6; }
2332ded1caa4Smrg  SET_MAKE=
2333ded1caa4Smrgelse
233450539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
233550539131Smrg$as_echo "no" >&6; }
2336ded1caa4Smrg  SET_MAKE="MAKE=${MAKE-make}"
2337ded1caa4Smrgfi
2338ded1caa4Smrg
2339ded1caa4Smrgrm -rf .tst 2>/dev/null
2340ded1caa4Smrgmkdir .tst 2>/dev/null
2341ded1caa4Smrgif test -d .tst; then
2342ded1caa4Smrg  am__leading_dot=.
2343ded1caa4Smrgelse
2344ded1caa4Smrg  am__leading_dot=_
2345ded1caa4Smrgfi
2346ded1caa4Smrgrmdir .tst 2>/dev/null
2347ded1caa4Smrg
234850539131Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
234950539131Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
235050539131Smrg  # is not polluted with repeated "-I."
235150539131Smrg  am__isrc=' -I$(srcdir)'
235250539131Smrg  # test to see if srcdir already configured
235350539131Smrg  if test -f $srcdir/config.status; then
235450539131Smrg    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
235550539131Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2356ded1caa4Smrg   { (exit 1); exit 1; }; }
235750539131Smrg  fi
2358ded1caa4Smrgfi
2359ded1caa4Smrg
2360ded1caa4Smrg# test whether we have cygpath
2361ded1caa4Smrgif test -z "$CYGPATH_W"; then
2362ded1caa4Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2363ded1caa4Smrg    CYGPATH_W='cygpath -w'
2364ded1caa4Smrg  else
2365ded1caa4Smrg    CYGPATH_W=echo
2366ded1caa4Smrg  fi
2367ded1caa4Smrgfi
2368ded1caa4Smrg
2369ded1caa4Smrg
2370ded1caa4Smrg# Define the identity of the package.
2371ded1caa4Smrg PACKAGE='font-bitstream-75dpi'
237250539131Smrg VERSION='1.0.1'
2373ded1caa4Smrg
2374ded1caa4Smrg
2375ded1caa4Smrgcat >>confdefs.h <<_ACEOF
2376ded1caa4Smrg#define PACKAGE "$PACKAGE"
2377ded1caa4Smrg_ACEOF
2378ded1caa4Smrg
2379ded1caa4Smrg
2380ded1caa4Smrgcat >>confdefs.h <<_ACEOF
2381ded1caa4Smrg#define VERSION "$VERSION"
2382ded1caa4Smrg_ACEOF
2383ded1caa4Smrg
2384ded1caa4Smrg# Some tools Automake needs.
2385ded1caa4Smrg
2386ded1caa4SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2387ded1caa4Smrg
2388ded1caa4Smrg
2389ded1caa4SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2390ded1caa4Smrg
2391ded1caa4Smrg
2392ded1caa4SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2393ded1caa4Smrg
2394ded1caa4Smrg
2395ded1caa4SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2396ded1caa4Smrg
2397ded1caa4Smrg
2398ded1caa4SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2399ded1caa4Smrg
240050539131Smrg# We need awk for the "check" target.  The system "awk" is bad on
240150539131Smrg# some platforms.
240250539131Smrg# Always define AMTAR for backward compatibility.
2403ded1caa4Smrg
2404ded1caa4SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2405ded1caa4Smrg
240650539131Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2407ded1caa4Smrg
240850539131Smrg
240950539131Smrg
241050539131Smrg
241150539131Smrg
241250539131Smrg
241350539131Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
241450539131Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
241550539131Smrg    # Check whether --enable-maintainer-mode was given.
241650539131Smrgif test "${enable_maintainer_mode+set}" = set; then
241750539131Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2418ded1caa4Smrgelse
241950539131Smrg  USE_MAINTAINER_MODE=no
242050539131Smrgfi
242150539131Smrg
242250539131Smrg  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
242350539131Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
242450539131Smrg   if test $USE_MAINTAINER_MODE = yes; then
242550539131Smrg  MAINTAINER_MODE_TRUE=
242650539131Smrg  MAINTAINER_MODE_FALSE='#'
242750539131Smrgelse
242850539131Smrg  MAINTAINER_MODE_TRUE='#'
242950539131Smrg  MAINTAINER_MODE_FALSE=
243050539131Smrgfi
243150539131Smrg
243250539131Smrg  MAINT=$MAINTAINER_MODE_TRUE
243350539131Smrg
243450539131Smrg
243550539131Smrg
243650539131Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS
243750539131Smrg
243850539131Smrg
243950539131Smrg
244050539131Smrg
244150539131Smrg
244250539131Smrg
244350539131Smrg
244450539131Smrg
244550539131Smrg
244650539131Smrg
244750539131Smrg
244850539131SmrgDEPDIR="${am__leading_dot}deps"
244950539131Smrg
245050539131Smrgac_config_commands="$ac_config_commands depfiles"
245150539131Smrg
245250539131Smrg
245350539131Smrgam_make=${MAKE-make}
245450539131Smrgcat > confinc << 'END'
245550539131Smrgam__doit:
245650539131Smrg	@echo this is the am__doit target
245750539131Smrg.PHONY: am__doit
245850539131SmrgEND
245950539131Smrg# If we don't find an include directive, just comment out the code.
246050539131Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
246150539131Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
246250539131Smrgam__include="#"
246350539131Smrgam__quote=
246450539131Smrg_am_result=none
246550539131Smrg# First try GNU make style include.
246650539131Smrgecho "include confinc" > confmf
246750539131Smrg# Ignore all kinds of additional output from `make'.
246850539131Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
246950539131Smrg*the\ am__doit\ target*)
247050539131Smrg  am__include=include
247150539131Smrg  am__quote=
247250539131Smrg  _am_result=GNU
247350539131Smrg  ;;
247450539131Smrgesac
247550539131Smrg# Now try BSD make style include.
247650539131Smrgif test "$am__include" = "#"; then
247750539131Smrg   echo '.include "confinc"' > confmf
247850539131Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
247950539131Smrg   *the\ am__doit\ target*)
248050539131Smrg     am__include=.include
248150539131Smrg     am__quote="\""
248250539131Smrg     _am_result=BSD
248350539131Smrg     ;;
248450539131Smrg   esac
248550539131Smrgfi
248650539131Smrg
248750539131Smrg
248850539131Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
248950539131Smrg$as_echo "$_am_result" >&6; }
249050539131Smrgrm -f confinc confmf
249150539131Smrg
249250539131Smrg# Check whether --enable-dependency-tracking was given.
249350539131Smrgif test "${enable_dependency_tracking+set}" = set; then
249450539131Smrg  enableval=$enable_dependency_tracking;
249550539131Smrgfi
249650539131Smrg
249750539131Smrgif test "x$enable_dependency_tracking" != xno; then
249850539131Smrg  am_depcomp="$ac_aux_dir/depcomp"
249950539131Smrg  AMDEPBACKSLASH='\'
250050539131Smrgfi
250150539131Smrg if test "x$enable_dependency_tracking" != xno; then
250250539131Smrg  AMDEP_TRUE=
250350539131Smrg  AMDEP_FALSE='#'
250450539131Smrgelse
250550539131Smrg  AMDEP_TRUE='#'
250650539131Smrg  AMDEP_FALSE=
250750539131Smrgfi
250850539131Smrg
250950539131Smrg
251050539131Smrgac_ext=c
251150539131Smrgac_cpp='$CPP $CPPFLAGS'
251250539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
251350539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
251450539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
251550539131Smrgif test -n "$ac_tool_prefix"; then
251650539131Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
251750539131Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
251850539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
251950539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
252050539131Smrgif test "${ac_cv_prog_CC+set}" = set; then
252150539131Smrg  $as_echo_n "(cached) " >&6
252250539131Smrgelse
252350539131Smrg  if test -n "$CC"; then
252450539131Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2525ded1caa4Smrgelse
2526ded1caa4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527ded1caa4Smrgfor as_dir in $PATH
2528ded1caa4Smrgdo
2529ded1caa4Smrg  IFS=$as_save_IFS
2530ded1caa4Smrg  test -z "$as_dir" && as_dir=.
2531ded1caa4Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
253250539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
253350539131Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
253450539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535ded1caa4Smrg    break 2
2536ded1caa4Smrg  fi
2537ded1caa4Smrgdone
2538ded1caa4Smrgdone
253950539131SmrgIFS=$as_save_IFS
2540ded1caa4Smrg
2541ded1caa4Smrgfi
2542ded1caa4Smrgfi
254350539131SmrgCC=$ac_cv_prog_CC
254450539131Smrgif test -n "$CC"; then
254550539131Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
254650539131Smrg$as_echo "$CC" >&6; }
2547ded1caa4Smrgelse
254850539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
254950539131Smrg$as_echo "no" >&6; }
2550ded1caa4Smrgfi
2551ded1caa4Smrg
255250539131Smrg
2553ded1caa4Smrgfi
255450539131Smrgif test -z "$ac_cv_prog_CC"; then
255550539131Smrg  ac_ct_CC=$CC
255650539131Smrg  # Extract the first word of "gcc", so it can be a program name with args.
255750539131Smrgset dummy gcc; ac_word=$2
255850539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
255950539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
256050539131Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
256150539131Smrg  $as_echo_n "(cached) " >&6
2562ded1caa4Smrgelse
256350539131Smrg  if test -n "$ac_ct_CC"; then
256450539131Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2565ded1caa4Smrgelse
2566ded1caa4Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567ded1caa4Smrgfor as_dir in $PATH
2568ded1caa4Smrgdo
2569ded1caa4Smrg  IFS=$as_save_IFS
2570ded1caa4Smrg  test -z "$as_dir" && as_dir=.
2571ded1caa4Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
257250539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
257350539131Smrg    ac_cv_prog_ac_ct_CC="gcc"
257450539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575ded1caa4Smrg    break 2
2576ded1caa4Smrg  fi
2577ded1caa4Smrgdone
2578ded1caa4Smrgdone
257950539131SmrgIFS=$as_save_IFS
2580ded1caa4Smrg
2581ded1caa4Smrgfi
2582ded1caa4Smrgfi
258350539131Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
258450539131Smrgif test -n "$ac_ct_CC"; then
258550539131Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
258650539131Smrg$as_echo "$ac_ct_CC" >&6; }
2587ded1caa4Smrgelse
258850539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
258950539131Smrg$as_echo "no" >&6; }
2590ded1caa4Smrgfi
2591ded1caa4Smrg
259250539131Smrg  if test "x$ac_ct_CC" = x; then
259350539131Smrg    CC=""
259450539131Smrg  else
259550539131Smrg    case $cross_compiling:$ac_tool_warned in
259650539131Smrgyes:)
259750539131Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
259850539131Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
259950539131Smrgac_tool_warned=yes ;;
260050539131Smrgesac
260150539131Smrg    CC=$ac_ct_CC
260250539131Smrg  fi
2603ded1caa4Smrgelse
260450539131Smrg  CC="$ac_cv_prog_CC"
2605ded1caa4Smrgfi
2606ded1caa4Smrg
260750539131Smrgif test -z "$CC"; then
260850539131Smrg          if test -n "$ac_tool_prefix"; then
260950539131Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
261050539131Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
261150539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
261250539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
261350539131Smrgif test "${ac_cv_prog_CC+set}" = set; then
261450539131Smrg  $as_echo_n "(cached) " >&6
2615ded1caa4Smrgelse
261650539131Smrg  if test -n "$CC"; then
261750539131Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
261850539131Smrgelse
261950539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
262050539131Smrgfor as_dir in $PATH
262150539131Smrgdo
262250539131Smrg  IFS=$as_save_IFS
262350539131Smrg  test -z "$as_dir" && as_dir=.
262450539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
262550539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
262650539131Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
262750539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
262850539131Smrg    break 2
262950539131Smrg  fi
263050539131Smrgdone
263150539131Smrgdone
263250539131SmrgIFS=$as_save_IFS
263350539131Smrg
263450539131Smrgfi
263550539131Smrgfi
263650539131SmrgCC=$ac_cv_prog_CC
263750539131Smrgif test -n "$CC"; then
263850539131Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
263950539131Smrg$as_echo "$CC" >&6; }
264050539131Smrgelse
264150539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
264250539131Smrg$as_echo "no" >&6; }
264350539131Smrgfi
264450539131Smrg
264550539131Smrg
264650539131Smrg  fi
264750539131Smrgfi
264850539131Smrgif test -z "$CC"; then
264950539131Smrg  # Extract the first word of "cc", so it can be a program name with args.
265050539131Smrgset dummy cc; ac_word=$2
265150539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
265250539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
265350539131Smrgif test "${ac_cv_prog_CC+set}" = set; then
265450539131Smrg  $as_echo_n "(cached) " >&6
265550539131Smrgelse
265650539131Smrg  if test -n "$CC"; then
265750539131Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
265850539131Smrgelse
265950539131Smrg  ac_prog_rejected=no
266050539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
266150539131Smrgfor as_dir in $PATH
266250539131Smrgdo
266350539131Smrg  IFS=$as_save_IFS
266450539131Smrg  test -z "$as_dir" && as_dir=.
266550539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
266650539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
266750539131Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
266850539131Smrg       ac_prog_rejected=yes
266950539131Smrg       continue
267050539131Smrg     fi
267150539131Smrg    ac_cv_prog_CC="cc"
267250539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
267350539131Smrg    break 2
267450539131Smrg  fi
267550539131Smrgdone
267650539131Smrgdone
267750539131SmrgIFS=$as_save_IFS
267850539131Smrg
267950539131Smrgif test $ac_prog_rejected = yes; then
268050539131Smrg  # We found a bogon in the path, so make sure we never use it.
268150539131Smrg  set dummy $ac_cv_prog_CC
268250539131Smrg  shift
268350539131Smrg  if test $# != 0; then
268450539131Smrg    # We chose a different compiler from the bogus one.
268550539131Smrg    # However, it has the same basename, so the bogon will be chosen
268650539131Smrg    # first if we set CC to just the basename; use the full file name.
268750539131Smrg    shift
268850539131Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
268950539131Smrg  fi
269050539131Smrgfi
269150539131Smrgfi
269250539131Smrgfi
269350539131SmrgCC=$ac_cv_prog_CC
269450539131Smrgif test -n "$CC"; then
269550539131Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
269650539131Smrg$as_echo "$CC" >&6; }
269750539131Smrgelse
269850539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
269950539131Smrg$as_echo "no" >&6; }
270050539131Smrgfi
270150539131Smrg
270250539131Smrg
270350539131Smrgfi
270450539131Smrgif test -z "$CC"; then
270550539131Smrg  if test -n "$ac_tool_prefix"; then
270650539131Smrg  for ac_prog in cl.exe
270750539131Smrg  do
270850539131Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
270950539131Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
271050539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
271150539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
271250539131Smrgif test "${ac_cv_prog_CC+set}" = set; then
271350539131Smrg  $as_echo_n "(cached) " >&6
271450539131Smrgelse
271550539131Smrg  if test -n "$CC"; then
271650539131Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
271750539131Smrgelse
271850539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
271950539131Smrgfor as_dir in $PATH
272050539131Smrgdo
272150539131Smrg  IFS=$as_save_IFS
272250539131Smrg  test -z "$as_dir" && as_dir=.
272350539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
272450539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
272550539131Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
272650539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
272750539131Smrg    break 2
272850539131Smrg  fi
272950539131Smrgdone
273050539131Smrgdone
273150539131SmrgIFS=$as_save_IFS
273250539131Smrg
273350539131Smrgfi
273450539131Smrgfi
273550539131SmrgCC=$ac_cv_prog_CC
273650539131Smrgif test -n "$CC"; then
273750539131Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
273850539131Smrg$as_echo "$CC" >&6; }
273950539131Smrgelse
274050539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
274150539131Smrg$as_echo "no" >&6; }
274250539131Smrgfi
274350539131Smrg
274450539131Smrg
274550539131Smrg    test -n "$CC" && break
274650539131Smrg  done
274750539131Smrgfi
274850539131Smrgif test -z "$CC"; then
274950539131Smrg  ac_ct_CC=$CC
275050539131Smrg  for ac_prog in cl.exe
275150539131Smrgdo
275250539131Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
275350539131Smrgset dummy $ac_prog; ac_word=$2
275450539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
275550539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
275650539131Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
275750539131Smrg  $as_echo_n "(cached) " >&6
275850539131Smrgelse
275950539131Smrg  if test -n "$ac_ct_CC"; then
276050539131Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
276150539131Smrgelse
276250539131Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
276350539131Smrgfor as_dir in $PATH
276450539131Smrgdo
276550539131Smrg  IFS=$as_save_IFS
276650539131Smrg  test -z "$as_dir" && as_dir=.
276750539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
276850539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
276950539131Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
277050539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
277150539131Smrg    break 2
277250539131Smrg  fi
277350539131Smrgdone
277450539131Smrgdone
277550539131SmrgIFS=$as_save_IFS
277650539131Smrg
277750539131Smrgfi
277850539131Smrgfi
277950539131Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
278050539131Smrgif test -n "$ac_ct_CC"; then
278150539131Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
278250539131Smrg$as_echo "$ac_ct_CC" >&6; }
278350539131Smrgelse
278450539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
278550539131Smrg$as_echo "no" >&6; }
278650539131Smrgfi
278750539131Smrg
278850539131Smrg
278950539131Smrg  test -n "$ac_ct_CC" && break
279050539131Smrgdone
279150539131Smrg
279250539131Smrg  if test "x$ac_ct_CC" = x; then
279350539131Smrg    CC=""
279450539131Smrg  else
279550539131Smrg    case $cross_compiling:$ac_tool_warned in
279650539131Smrgyes:)
279750539131Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
279850539131Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
279950539131Smrgac_tool_warned=yes ;;
280050539131Smrgesac
280150539131Smrg    CC=$ac_ct_CC
280250539131Smrg  fi
280350539131Smrgfi
280450539131Smrg
280550539131Smrgfi
280650539131Smrg
280750539131Smrg
280850539131Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
280950539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
281050539131Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
281150539131SmrgSee \`config.log' for more details." >&5
281250539131Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
281350539131SmrgSee \`config.log' for more details." >&2;}
281450539131Smrg   { (exit 1); exit 1; }; }; }
281550539131Smrg
281650539131Smrg# Provide some information about the compiler.
281750539131Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
281850539131Smrgset X $ac_compile
281950539131Smrgac_compiler=$2
282050539131Smrg{ (ac_try="$ac_compiler --version >&5"
282150539131Smrgcase "(($ac_try" in
282250539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
282350539131Smrg  *) ac_try_echo=$ac_try;;
282450539131Smrgesac
282550539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
282650539131Smrg$as_echo "$ac_try_echo") >&5
282750539131Smrg  (eval "$ac_compiler --version >&5") 2>&5
282850539131Smrg  ac_status=$?
282950539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
283050539131Smrg  (exit $ac_status); }
283150539131Smrg{ (ac_try="$ac_compiler -v >&5"
283250539131Smrgcase "(($ac_try" in
283350539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
283450539131Smrg  *) ac_try_echo=$ac_try;;
283550539131Smrgesac
283650539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
283750539131Smrg$as_echo "$ac_try_echo") >&5
283850539131Smrg  (eval "$ac_compiler -v >&5") 2>&5
283950539131Smrg  ac_status=$?
284050539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
284150539131Smrg  (exit $ac_status); }
284250539131Smrg{ (ac_try="$ac_compiler -V >&5"
284350539131Smrgcase "(($ac_try" in
284450539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
284550539131Smrg  *) ac_try_echo=$ac_try;;
284650539131Smrgesac
284750539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
284850539131Smrg$as_echo "$ac_try_echo") >&5
284950539131Smrg  (eval "$ac_compiler -V >&5") 2>&5
285050539131Smrg  ac_status=$?
285150539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
285250539131Smrg  (exit $ac_status); }
285350539131Smrg
285450539131Smrgcat >conftest.$ac_ext <<_ACEOF
285550539131Smrg/* confdefs.h.  */
285650539131Smrg_ACEOF
285750539131Smrgcat confdefs.h >>conftest.$ac_ext
285850539131Smrgcat >>conftest.$ac_ext <<_ACEOF
285950539131Smrg/* end confdefs.h.  */
286050539131Smrg
286150539131Smrgint
286250539131Smrgmain ()
286350539131Smrg{
286450539131Smrg
286550539131Smrg  ;
286650539131Smrg  return 0;
286750539131Smrg}
286850539131Smrg_ACEOF
286950539131Smrgac_clean_files_save=$ac_clean_files
287050539131Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
287150539131Smrg# Try to create an executable without -o first, disregard a.out.
287250539131Smrg# It will help us diagnose broken compilers, and finding out an intuition
287350539131Smrg# of exeext.
287450539131Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
287550539131Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
287650539131Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
287750539131Smrg
287850539131Smrg# The possible output files:
287950539131Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
288050539131Smrg
288150539131Smrgac_rmfiles=
288250539131Smrgfor ac_file in $ac_files
288350539131Smrgdo
288450539131Smrg  case $ac_file in
288550539131Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
288650539131Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
288750539131Smrg  esac
288850539131Smrgdone
288950539131Smrgrm -f $ac_rmfiles
289050539131Smrg
289150539131Smrgif { (ac_try="$ac_link_default"
289250539131Smrgcase "(($ac_try" in
289350539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
289450539131Smrg  *) ac_try_echo=$ac_try;;
289550539131Smrgesac
289650539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
289750539131Smrg$as_echo "$ac_try_echo") >&5
289850539131Smrg  (eval "$ac_link_default") 2>&5
289950539131Smrg  ac_status=$?
290050539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
290150539131Smrg  (exit $ac_status); }; then
290250539131Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
290350539131Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
290450539131Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
290550539131Smrg# so that the user can short-circuit this test for compilers unknown to
290650539131Smrg# Autoconf.
290750539131Smrgfor ac_file in $ac_files ''
290850539131Smrgdo
290950539131Smrg  test -f "$ac_file" || continue
291050539131Smrg  case $ac_file in
291150539131Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
291250539131Smrg	;;
291350539131Smrg    [ab].out )
291450539131Smrg	# We found the default executable, but exeext='' is most
291550539131Smrg	# certainly right.
291650539131Smrg	break;;
291750539131Smrg    *.* )
291850539131Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
291950539131Smrg	then :; else
292050539131Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
292150539131Smrg	fi
292250539131Smrg	# We set ac_cv_exeext here because the later test for it is not
292350539131Smrg	# safe: cross compilers may not add the suffix if given an `-o'
292450539131Smrg	# argument, so we may need to know it at that point already.
292550539131Smrg	# Even if this section looks crufty: it has the advantage of
292650539131Smrg	# actually working.
292750539131Smrg	break;;
292850539131Smrg    * )
292950539131Smrg	break;;
293050539131Smrg  esac
293150539131Smrgdone
293250539131Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
293350539131Smrg
293450539131Smrgelse
293550539131Smrg  ac_file=''
293650539131Smrgfi
293750539131Smrg
293850539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
293950539131Smrg$as_echo "$ac_file" >&6; }
294050539131Smrgif test -z "$ac_file"; then
294150539131Smrg  $as_echo "$as_me: failed program was:" >&5
294250539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
294350539131Smrg
294450539131Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
294550539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
294650539131Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
294750539131SmrgSee \`config.log' for more details." >&5
294850539131Smrg$as_echo "$as_me: error: C compiler cannot create executables
294950539131SmrgSee \`config.log' for more details." >&2;}
295050539131Smrg   { (exit 77); exit 77; }; }; }
295150539131Smrgfi
295250539131Smrg
295350539131Smrgac_exeext=$ac_cv_exeext
295450539131Smrg
295550539131Smrg# Check that the compiler produces executables we can run.  If not, either
295650539131Smrg# the compiler is broken, or we cross compile.
295750539131Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
295850539131Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
295950539131Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
296050539131Smrg# If not cross compiling, check that we can run a simple program.
296150539131Smrgif test "$cross_compiling" != yes; then
296250539131Smrg  if { ac_try='./$ac_file'
296350539131Smrg  { (case "(($ac_try" in
296450539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
296550539131Smrg  *) ac_try_echo=$ac_try;;
296650539131Smrgesac
296750539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
296850539131Smrg$as_echo "$ac_try_echo") >&5
296950539131Smrg  (eval "$ac_try") 2>&5
297050539131Smrg  ac_status=$?
297150539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
297250539131Smrg  (exit $ac_status); }; }; then
297350539131Smrg    cross_compiling=no
297450539131Smrg  else
297550539131Smrg    if test "$cross_compiling" = maybe; then
297650539131Smrg	cross_compiling=yes
297750539131Smrg    else
297850539131Smrg	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
297950539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
298050539131Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
298150539131SmrgIf you meant to cross compile, use \`--host'.
298250539131SmrgSee \`config.log' for more details." >&5
298350539131Smrg$as_echo "$as_me: error: cannot run C compiled programs.
298450539131SmrgIf you meant to cross compile, use \`--host'.
298550539131SmrgSee \`config.log' for more details." >&2;}
298650539131Smrg   { (exit 1); exit 1; }; }; }
298750539131Smrg    fi
298850539131Smrg  fi
298950539131Smrgfi
299050539131Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
299150539131Smrg$as_echo "yes" >&6; }
299250539131Smrg
299350539131Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
299450539131Smrgac_clean_files=$ac_clean_files_save
299550539131Smrg# Check that the compiler produces executables we can run.  If not, either
299650539131Smrg# the compiler is broken, or we cross compile.
299750539131Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
299850539131Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
299950539131Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
300050539131Smrg$as_echo "$cross_compiling" >&6; }
300150539131Smrg
300250539131Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
300350539131Smrg$as_echo_n "checking for suffix of executables... " >&6; }
300450539131Smrgif { (ac_try="$ac_link"
300550539131Smrgcase "(($ac_try" in
300650539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
300750539131Smrg  *) ac_try_echo=$ac_try;;
300850539131Smrgesac
300950539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
301050539131Smrg$as_echo "$ac_try_echo") >&5
301150539131Smrg  (eval "$ac_link") 2>&5
301250539131Smrg  ac_status=$?
301350539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
301450539131Smrg  (exit $ac_status); }; then
301550539131Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
301650539131Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
301750539131Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
301850539131Smrg# `rm'.
301950539131Smrgfor ac_file in conftest.exe conftest conftest.*; do
302050539131Smrg  test -f "$ac_file" || continue
302150539131Smrg  case $ac_file in
302250539131Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
302350539131Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
302450539131Smrg	  break;;
302550539131Smrg    * ) break;;
302650539131Smrg  esac
302750539131Smrgdone
302850539131Smrgelse
302950539131Smrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
303050539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
303150539131Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
303250539131SmrgSee \`config.log' for more details." >&5
303350539131Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
303450539131SmrgSee \`config.log' for more details." >&2;}
303550539131Smrg   { (exit 1); exit 1; }; }; }
303650539131Smrgfi
303750539131Smrg
303850539131Smrgrm -f conftest$ac_cv_exeext
303950539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
304050539131Smrg$as_echo "$ac_cv_exeext" >&6; }
304150539131Smrg
304250539131Smrgrm -f conftest.$ac_ext
304350539131SmrgEXEEXT=$ac_cv_exeext
304450539131Smrgac_exeext=$EXEEXT
304550539131Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
304650539131Smrg$as_echo_n "checking for suffix of object files... " >&6; }
304750539131Smrgif test "${ac_cv_objext+set}" = set; then
304850539131Smrg  $as_echo_n "(cached) " >&6
304950539131Smrgelse
305050539131Smrg  cat >conftest.$ac_ext <<_ACEOF
305150539131Smrg/* confdefs.h.  */
305250539131Smrg_ACEOF
305350539131Smrgcat confdefs.h >>conftest.$ac_ext
305450539131Smrgcat >>conftest.$ac_ext <<_ACEOF
305550539131Smrg/* end confdefs.h.  */
305650539131Smrg
305750539131Smrgint
305850539131Smrgmain ()
305950539131Smrg{
306050539131Smrg
306150539131Smrg  ;
306250539131Smrg  return 0;
306350539131Smrg}
306450539131Smrg_ACEOF
306550539131Smrgrm -f conftest.o conftest.obj
306650539131Smrgif { (ac_try="$ac_compile"
306750539131Smrgcase "(($ac_try" in
306850539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
306950539131Smrg  *) ac_try_echo=$ac_try;;
307050539131Smrgesac
307150539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
307250539131Smrg$as_echo "$ac_try_echo") >&5
307350539131Smrg  (eval "$ac_compile") 2>&5
307450539131Smrg  ac_status=$?
307550539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
307650539131Smrg  (exit $ac_status); }; then
307750539131Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
307850539131Smrg  test -f "$ac_file" || continue;
307950539131Smrg  case $ac_file in
308050539131Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
308150539131Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
308250539131Smrg       break;;
308350539131Smrg  esac
308450539131Smrgdone
308550539131Smrgelse
308650539131Smrg  $as_echo "$as_me: failed program was:" >&5
308750539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
308850539131Smrg
308950539131Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
309050539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
309150539131Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
309250539131SmrgSee \`config.log' for more details." >&5
309350539131Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
309450539131SmrgSee \`config.log' for more details." >&2;}
309550539131Smrg   { (exit 1); exit 1; }; }; }
309650539131Smrgfi
309750539131Smrg
309850539131Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
309950539131Smrgfi
310050539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
310150539131Smrg$as_echo "$ac_cv_objext" >&6; }
310250539131SmrgOBJEXT=$ac_cv_objext
310350539131Smrgac_objext=$OBJEXT
310450539131Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
310550539131Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
310650539131Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
310750539131Smrg  $as_echo_n "(cached) " >&6
310850539131Smrgelse
310950539131Smrg  cat >conftest.$ac_ext <<_ACEOF
311050539131Smrg/* confdefs.h.  */
311150539131Smrg_ACEOF
311250539131Smrgcat confdefs.h >>conftest.$ac_ext
311350539131Smrgcat >>conftest.$ac_ext <<_ACEOF
311450539131Smrg/* end confdefs.h.  */
311550539131Smrg
311650539131Smrgint
311750539131Smrgmain ()
311850539131Smrg{
311950539131Smrg#ifndef __GNUC__
312050539131Smrg       choke me
312150539131Smrg#endif
312250539131Smrg
312350539131Smrg  ;
312450539131Smrg  return 0;
312550539131Smrg}
312650539131Smrg_ACEOF
312750539131Smrgrm -f conftest.$ac_objext
312850539131Smrgif { (ac_try="$ac_compile"
312950539131Smrgcase "(($ac_try" in
313050539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
313150539131Smrg  *) ac_try_echo=$ac_try;;
313250539131Smrgesac
313350539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
313450539131Smrg$as_echo "$ac_try_echo") >&5
313550539131Smrg  (eval "$ac_compile") 2>conftest.er1
313650539131Smrg  ac_status=$?
313750539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
313850539131Smrg  rm -f conftest.er1
313950539131Smrg  cat conftest.err >&5
314050539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
314150539131Smrg  (exit $ac_status); } && {
314250539131Smrg	 test -z "$ac_c_werror_flag" ||
314350539131Smrg	 test ! -s conftest.err
314450539131Smrg       } && test -s conftest.$ac_objext; then
314550539131Smrg  ac_compiler_gnu=yes
314650539131Smrgelse
314750539131Smrg  $as_echo "$as_me: failed program was:" >&5
314850539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
314950539131Smrg
315050539131Smrg	ac_compiler_gnu=no
315150539131Smrgfi
315250539131Smrg
315350539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
315450539131Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
315550539131Smrg
315650539131Smrgfi
315750539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
315850539131Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
315950539131Smrgif test $ac_compiler_gnu = yes; then
316050539131Smrg  GCC=yes
316150539131Smrgelse
316250539131Smrg  GCC=
316350539131Smrgfi
316450539131Smrgac_test_CFLAGS=${CFLAGS+set}
316550539131Smrgac_save_CFLAGS=$CFLAGS
316650539131Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
316750539131Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
316850539131Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
316950539131Smrg  $as_echo_n "(cached) " >&6
317050539131Smrgelse
317150539131Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
317250539131Smrg   ac_c_werror_flag=yes
317350539131Smrg   ac_cv_prog_cc_g=no
317450539131Smrg   CFLAGS="-g"
317550539131Smrg   cat >conftest.$ac_ext <<_ACEOF
317650539131Smrg/* confdefs.h.  */
317750539131Smrg_ACEOF
317850539131Smrgcat confdefs.h >>conftest.$ac_ext
317950539131Smrgcat >>conftest.$ac_ext <<_ACEOF
318050539131Smrg/* end confdefs.h.  */
318150539131Smrg
318250539131Smrgint
318350539131Smrgmain ()
318450539131Smrg{
318550539131Smrg
318650539131Smrg  ;
318750539131Smrg  return 0;
318850539131Smrg}
318950539131Smrg_ACEOF
319050539131Smrgrm -f conftest.$ac_objext
319150539131Smrgif { (ac_try="$ac_compile"
319250539131Smrgcase "(($ac_try" in
319350539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
319450539131Smrg  *) ac_try_echo=$ac_try;;
319550539131Smrgesac
319650539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
319750539131Smrg$as_echo "$ac_try_echo") >&5
319850539131Smrg  (eval "$ac_compile") 2>conftest.er1
319950539131Smrg  ac_status=$?
320050539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
320150539131Smrg  rm -f conftest.er1
320250539131Smrg  cat conftest.err >&5
320350539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
320450539131Smrg  (exit $ac_status); } && {
320550539131Smrg	 test -z "$ac_c_werror_flag" ||
320650539131Smrg	 test ! -s conftest.err
320750539131Smrg       } && test -s conftest.$ac_objext; then
320850539131Smrg  ac_cv_prog_cc_g=yes
320950539131Smrgelse
321050539131Smrg  $as_echo "$as_me: failed program was:" >&5
321150539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
321250539131Smrg
321350539131Smrg	CFLAGS=""
321450539131Smrg      cat >conftest.$ac_ext <<_ACEOF
321550539131Smrg/* confdefs.h.  */
321650539131Smrg_ACEOF
321750539131Smrgcat confdefs.h >>conftest.$ac_ext
321850539131Smrgcat >>conftest.$ac_ext <<_ACEOF
321950539131Smrg/* end confdefs.h.  */
322050539131Smrg
322150539131Smrgint
322250539131Smrgmain ()
322350539131Smrg{
322450539131Smrg
322550539131Smrg  ;
322650539131Smrg  return 0;
322750539131Smrg}
322850539131Smrg_ACEOF
322950539131Smrgrm -f conftest.$ac_objext
323050539131Smrgif { (ac_try="$ac_compile"
323150539131Smrgcase "(($ac_try" in
323250539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
323350539131Smrg  *) ac_try_echo=$ac_try;;
323450539131Smrgesac
323550539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
323650539131Smrg$as_echo "$ac_try_echo") >&5
323750539131Smrg  (eval "$ac_compile") 2>conftest.er1
323850539131Smrg  ac_status=$?
323950539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
324050539131Smrg  rm -f conftest.er1
324150539131Smrg  cat conftest.err >&5
324250539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
324350539131Smrg  (exit $ac_status); } && {
324450539131Smrg	 test -z "$ac_c_werror_flag" ||
324550539131Smrg	 test ! -s conftest.err
324650539131Smrg       } && test -s conftest.$ac_objext; then
324750539131Smrg  :
324850539131Smrgelse
324950539131Smrg  $as_echo "$as_me: failed program was:" >&5
325050539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
325150539131Smrg
325250539131Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
325350539131Smrg	 CFLAGS="-g"
325450539131Smrg	 cat >conftest.$ac_ext <<_ACEOF
325550539131Smrg/* confdefs.h.  */
325650539131Smrg_ACEOF
325750539131Smrgcat confdefs.h >>conftest.$ac_ext
325850539131Smrgcat >>conftest.$ac_ext <<_ACEOF
325950539131Smrg/* end confdefs.h.  */
326050539131Smrg
326150539131Smrgint
326250539131Smrgmain ()
326350539131Smrg{
326450539131Smrg
326550539131Smrg  ;
326650539131Smrg  return 0;
326750539131Smrg}
326850539131Smrg_ACEOF
326950539131Smrgrm -f conftest.$ac_objext
327050539131Smrgif { (ac_try="$ac_compile"
327150539131Smrgcase "(($ac_try" in
327250539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
327350539131Smrg  *) ac_try_echo=$ac_try;;
327450539131Smrgesac
327550539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
327650539131Smrg$as_echo "$ac_try_echo") >&5
327750539131Smrg  (eval "$ac_compile") 2>conftest.er1
327850539131Smrg  ac_status=$?
327950539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
328050539131Smrg  rm -f conftest.er1
328150539131Smrg  cat conftest.err >&5
328250539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
328350539131Smrg  (exit $ac_status); } && {
328450539131Smrg	 test -z "$ac_c_werror_flag" ||
328550539131Smrg	 test ! -s conftest.err
328650539131Smrg       } && test -s conftest.$ac_objext; then
328750539131Smrg  ac_cv_prog_cc_g=yes
328850539131Smrgelse
328950539131Smrg  $as_echo "$as_me: failed program was:" >&5
329050539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
329150539131Smrg
329250539131Smrg
329350539131Smrgfi
329450539131Smrg
329550539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
329650539131Smrgfi
329750539131Smrg
329850539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
329950539131Smrgfi
330050539131Smrg
330150539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
330250539131Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
330350539131Smrgfi
330450539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
330550539131Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
330650539131Smrgif test "$ac_test_CFLAGS" = set; then
330750539131Smrg  CFLAGS=$ac_save_CFLAGS
330850539131Smrgelif test $ac_cv_prog_cc_g = yes; then
330950539131Smrg  if test "$GCC" = yes; then
331050539131Smrg    CFLAGS="-g -O2"
331150539131Smrg  else
331250539131Smrg    CFLAGS="-g"
331350539131Smrg  fi
331450539131Smrgelse
331550539131Smrg  if test "$GCC" = yes; then
331650539131Smrg    CFLAGS="-O2"
331750539131Smrg  else
331850539131Smrg    CFLAGS=
331950539131Smrg  fi
332050539131Smrgfi
332150539131Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
332250539131Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
332350539131Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
332450539131Smrg  $as_echo_n "(cached) " >&6
332550539131Smrgelse
332650539131Smrg  ac_cv_prog_cc_c89=no
332750539131Smrgac_save_CC=$CC
332850539131Smrgcat >conftest.$ac_ext <<_ACEOF
332950539131Smrg/* confdefs.h.  */
333050539131Smrg_ACEOF
333150539131Smrgcat confdefs.h >>conftest.$ac_ext
333250539131Smrgcat >>conftest.$ac_ext <<_ACEOF
333350539131Smrg/* end confdefs.h.  */
333450539131Smrg#include <stdarg.h>
333550539131Smrg#include <stdio.h>
333650539131Smrg#include <sys/types.h>
333750539131Smrg#include <sys/stat.h>
333850539131Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
333950539131Smrgstruct buf { int x; };
334050539131SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
334150539131Smrgstatic char *e (p, i)
334250539131Smrg     char **p;
334350539131Smrg     int i;
334450539131Smrg{
334550539131Smrg  return p[i];
334650539131Smrg}
334750539131Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
334850539131Smrg{
334950539131Smrg  char *s;
335050539131Smrg  va_list v;
335150539131Smrg  va_start (v,p);
335250539131Smrg  s = g (p, va_arg (v,int));
335350539131Smrg  va_end (v);
335450539131Smrg  return s;
335550539131Smrg}
335650539131Smrg
335750539131Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
335850539131Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
335950539131Smrg   These don't provoke an error unfortunately, instead are silently treated
336050539131Smrg   as 'x'.  The following induces an error, until -std is added to get
336150539131Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
336250539131Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
336350539131Smrg   that's true only with -std.  */
336450539131Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
336550539131Smrg
336650539131Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
336750539131Smrg   inside strings and character constants.  */
336850539131Smrg#define FOO(x) 'x'
336950539131Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
337050539131Smrg
337150539131Smrgint test (int i, double x);
337250539131Smrgstruct s1 {int (*f) (int a);};
337350539131Smrgstruct s2 {int (*f) (double a);};
337450539131Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
337550539131Smrgint argc;
337650539131Smrgchar **argv;
337750539131Smrgint
337850539131Smrgmain ()
337950539131Smrg{
338050539131Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
338150539131Smrg  ;
338250539131Smrg  return 0;
338350539131Smrg}
338450539131Smrg_ACEOF
338550539131Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
338650539131Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
338750539131Smrgdo
338850539131Smrg  CC="$ac_save_CC $ac_arg"
338950539131Smrg  rm -f conftest.$ac_objext
339050539131Smrgif { (ac_try="$ac_compile"
339150539131Smrgcase "(($ac_try" in
339250539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
339350539131Smrg  *) ac_try_echo=$ac_try;;
339450539131Smrgesac
339550539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
339650539131Smrg$as_echo "$ac_try_echo") >&5
339750539131Smrg  (eval "$ac_compile") 2>conftest.er1
339850539131Smrg  ac_status=$?
339950539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
340050539131Smrg  rm -f conftest.er1
340150539131Smrg  cat conftest.err >&5
340250539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
340350539131Smrg  (exit $ac_status); } && {
340450539131Smrg	 test -z "$ac_c_werror_flag" ||
340550539131Smrg	 test ! -s conftest.err
340650539131Smrg       } && test -s conftest.$ac_objext; then
340750539131Smrg  ac_cv_prog_cc_c89=$ac_arg
340850539131Smrgelse
340950539131Smrg  $as_echo "$as_me: failed program was:" >&5
341050539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
341150539131Smrg
341250539131Smrg
341350539131Smrgfi
341450539131Smrg
341550539131Smrgrm -f core conftest.err conftest.$ac_objext
341650539131Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
341750539131Smrgdone
341850539131Smrgrm -f conftest.$ac_ext
341950539131SmrgCC=$ac_save_CC
342050539131Smrg
342150539131Smrgfi
342250539131Smrg# AC_CACHE_VAL
342350539131Smrgcase "x$ac_cv_prog_cc_c89" in
342450539131Smrg  x)
342550539131Smrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
342650539131Smrg$as_echo "none needed" >&6; } ;;
342750539131Smrg  xno)
342850539131Smrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
342950539131Smrg$as_echo "unsupported" >&6; } ;;
343050539131Smrg  *)
343150539131Smrg    CC="$CC $ac_cv_prog_cc_c89"
343250539131Smrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
343350539131Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
343450539131Smrgesac
343550539131Smrg
343650539131Smrg
343750539131Smrgac_ext=c
343850539131Smrgac_cpp='$CPP $CPPFLAGS'
343950539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
344050539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
344150539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
344250539131Smrg
344350539131Smrgdepcc="$CC"   am_compiler_list=
344450539131Smrg
344550539131Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
344650539131Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
344750539131Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
344850539131Smrg  $as_echo_n "(cached) " >&6
344950539131Smrgelse
345050539131Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
345150539131Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
345250539131Smrg  # making bogus files that we don't know about and never remove.  For
345350539131Smrg  # instance it was reported that on HP-UX the gcc test will end up
345450539131Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
345550539131Smrg  # in D'.
345650539131Smrg  mkdir conftest.dir
345750539131Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
345850539131Smrg  # using a relative directory.
345950539131Smrg  cp "$am_depcomp" conftest.dir
346050539131Smrg  cd conftest.dir
346150539131Smrg  # We will build objects and dependencies in a subdirectory because
346250539131Smrg  # it helps to detect inapplicable dependency modes.  For instance
346350539131Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
346450539131Smrg  # side effect of compilation, but ICC will put the dependencies in
346550539131Smrg  # the current directory while Tru64 will put them in the object
346650539131Smrg  # directory.
346750539131Smrg  mkdir sub
346850539131Smrg
346950539131Smrg  am_cv_CC_dependencies_compiler_type=none
347050539131Smrg  if test "$am_compiler_list" = ""; then
347150539131Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
347250539131Smrg  fi
347350539131Smrg  am__universal=false
347450539131Smrg  case " $depcc " in #(
347550539131Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
347650539131Smrg     esac
347750539131Smrg
347850539131Smrg  for depmode in $am_compiler_list; do
347950539131Smrg    # Setup a source with many dependencies, because some compilers
348050539131Smrg    # like to wrap large dependency lists on column 80 (with \), and
348150539131Smrg    # we should not choose a depcomp mode which is confused by this.
348250539131Smrg    #
348350539131Smrg    # We need to recreate these files for each test, as the compiler may
348450539131Smrg    # overwrite some of them when testing with obscure command lines.
348550539131Smrg    # This happens at least with the AIX C compiler.
348650539131Smrg    : > sub/conftest.c
348750539131Smrg    for i in 1 2 3 4 5 6; do
348850539131Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
348950539131Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
349050539131Smrg      # Solaris 8's {/usr,}/bin/sh.
349150539131Smrg      touch sub/conftst$i.h
349250539131Smrg    done
349350539131Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
349450539131Smrg
349550539131Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
349650539131Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
349750539131Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
349850539131Smrg    # versions had trouble with output in subdirs
349950539131Smrg    am__obj=sub/conftest.${OBJEXT-o}
350050539131Smrg    am__minus_obj="-o $am__obj"
350150539131Smrg    case $depmode in
350250539131Smrg    gcc)
350350539131Smrg      # This depmode causes a compiler race in universal mode.
350450539131Smrg      test "$am__universal" = false || continue
350550539131Smrg      ;;
350650539131Smrg    nosideeffect)
350750539131Smrg      # after this tag, mechanisms are not by side-effect, so they'll
350850539131Smrg      # only be used when explicitly requested
350950539131Smrg      if test "x$enable_dependency_tracking" = xyes; then
351050539131Smrg	continue
351150539131Smrg      else
351250539131Smrg	break
351350539131Smrg      fi
351450539131Smrg      ;;
351550539131Smrg    msvisualcpp | msvcmsys)
351650539131Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
351750539131Smrg      # not run yet.  These depmodes are late enough in the game, and
351850539131Smrg      # so weak that their functioning should not be impacted.
351950539131Smrg      am__obj=conftest.${OBJEXT-o}
352050539131Smrg      am__minus_obj=
352150539131Smrg      ;;
352250539131Smrg    none) break ;;
352350539131Smrg    esac
352450539131Smrg    if depmode=$depmode \
352550539131Smrg       source=sub/conftest.c object=$am__obj \
352650539131Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
352750539131Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
352850539131Smrg         >/dev/null 2>conftest.err &&
352950539131Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
353050539131Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
353150539131Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
353250539131Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
353350539131Smrg      # icc doesn't choke on unknown options, it will just issue warnings
353450539131Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
353550539131Smrg      # that says an option was ignored or not supported.
353650539131Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
353750539131Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
353850539131Smrg      # The diagnosis changed in icc 8.0:
353950539131Smrg      #   icc: Command line remark: option '-MP' not supported
354050539131Smrg      if (grep 'ignoring option' conftest.err ||
354150539131Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
354250539131Smrg        am_cv_CC_dependencies_compiler_type=$depmode
354350539131Smrg        break
354450539131Smrg      fi
354550539131Smrg    fi
354650539131Smrg  done
354750539131Smrg
354850539131Smrg  cd ..
354950539131Smrg  rm -rf conftest.dir
355050539131Smrgelse
355150539131Smrg  am_cv_CC_dependencies_compiler_type=none
355250539131Smrgfi
355350539131Smrg
355450539131Smrgfi
355550539131Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
355650539131Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
355750539131SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
355850539131Smrg
355950539131Smrg if
356050539131Smrg  test "x$enable_dependency_tracking" != xno \
356150539131Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
356250539131Smrg  am__fastdepCC_TRUE=
356350539131Smrg  am__fastdepCC_FALSE='#'
356450539131Smrgelse
356550539131Smrg  am__fastdepCC_TRUE='#'
356650539131Smrg  am__fastdepCC_FALSE=
356750539131Smrgfi
356850539131Smrg
356950539131Smrg
357050539131Smrg
357150539131Smrgac_ext=c
357250539131Smrgac_cpp='$CPP $CPPFLAGS'
357350539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
357450539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
357550539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
357650539131Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
357750539131Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
357850539131Smrg# On Suns, sometimes $CPP names a directory.
357950539131Smrgif test -n "$CPP" && test -d "$CPP"; then
358050539131Smrg  CPP=
358150539131Smrgfi
358250539131Smrgif test -z "$CPP"; then
358350539131Smrg  if test "${ac_cv_prog_CPP+set}" = set; then
358450539131Smrg  $as_echo_n "(cached) " >&6
358550539131Smrgelse
358650539131Smrg      # Double quotes because CPP needs to be expanded
358750539131Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
358850539131Smrg    do
358950539131Smrg      ac_preproc_ok=false
359050539131Smrgfor ac_c_preproc_warn_flag in '' yes
359150539131Smrgdo
359250539131Smrg  # Use a header file that comes with gcc, so configuring glibc
359350539131Smrg  # with a fresh cross-compiler works.
359450539131Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
359550539131Smrg  # <limits.h> exists even on freestanding compilers.
359650539131Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
359750539131Smrg  # not just through cpp. "Syntax error" is here to catch this case.
359850539131Smrg  cat >conftest.$ac_ext <<_ACEOF
359950539131Smrg/* confdefs.h.  */
360050539131Smrg_ACEOF
360150539131Smrgcat confdefs.h >>conftest.$ac_ext
360250539131Smrgcat >>conftest.$ac_ext <<_ACEOF
360350539131Smrg/* end confdefs.h.  */
360450539131Smrg#ifdef __STDC__
360550539131Smrg# include <limits.h>
360650539131Smrg#else
360750539131Smrg# include <assert.h>
360850539131Smrg#endif
360950539131Smrg		     Syntax error
361050539131Smrg_ACEOF
361150539131Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
361250539131Smrgcase "(($ac_try" in
361350539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
361450539131Smrg  *) ac_try_echo=$ac_try;;
361550539131Smrgesac
361650539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
361750539131Smrg$as_echo "$ac_try_echo") >&5
361850539131Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
361950539131Smrg  ac_status=$?
362050539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
362150539131Smrg  rm -f conftest.er1
362250539131Smrg  cat conftest.err >&5
362350539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
362450539131Smrg  (exit $ac_status); } >/dev/null && {
362550539131Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
362650539131Smrg	 test ! -s conftest.err
362750539131Smrg       }; then
362850539131Smrg  :
362950539131Smrgelse
363050539131Smrg  $as_echo "$as_me: failed program was:" >&5
363150539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
363250539131Smrg
363350539131Smrg  # Broken: fails on valid input.
363450539131Smrgcontinue
363550539131Smrgfi
363650539131Smrg
363750539131Smrgrm -f conftest.err conftest.$ac_ext
363850539131Smrg
363950539131Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
364050539131Smrg  # can be detected and how.
364150539131Smrg  cat >conftest.$ac_ext <<_ACEOF
364250539131Smrg/* confdefs.h.  */
364350539131Smrg_ACEOF
364450539131Smrgcat confdefs.h >>conftest.$ac_ext
364550539131Smrgcat >>conftest.$ac_ext <<_ACEOF
364650539131Smrg/* end confdefs.h.  */
364750539131Smrg#include <ac_nonexistent.h>
364850539131Smrg_ACEOF
364950539131Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
365050539131Smrgcase "(($ac_try" in
365150539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
365250539131Smrg  *) ac_try_echo=$ac_try;;
365350539131Smrgesac
365450539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
365550539131Smrg$as_echo "$ac_try_echo") >&5
365650539131Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
365750539131Smrg  ac_status=$?
365850539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
365950539131Smrg  rm -f conftest.er1
366050539131Smrg  cat conftest.err >&5
366150539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
366250539131Smrg  (exit $ac_status); } >/dev/null && {
366350539131Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
366450539131Smrg	 test ! -s conftest.err
366550539131Smrg       }; then
366650539131Smrg  # Broken: success on invalid input.
366750539131Smrgcontinue
366850539131Smrgelse
366950539131Smrg  $as_echo "$as_me: failed program was:" >&5
367050539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
367150539131Smrg
367250539131Smrg  # Passes both tests.
367350539131Smrgac_preproc_ok=:
367450539131Smrgbreak
367550539131Smrgfi
367650539131Smrg
367750539131Smrgrm -f conftest.err conftest.$ac_ext
367850539131Smrg
367950539131Smrgdone
368050539131Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
368150539131Smrgrm -f conftest.err conftest.$ac_ext
368250539131Smrgif $ac_preproc_ok; then
368350539131Smrg  break
368450539131Smrgfi
368550539131Smrg
368650539131Smrg    done
368750539131Smrg    ac_cv_prog_CPP=$CPP
368850539131Smrg
368950539131Smrgfi
369050539131Smrg  CPP=$ac_cv_prog_CPP
369150539131Smrgelse
369250539131Smrg  ac_cv_prog_CPP=$CPP
369350539131Smrgfi
369450539131Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
369550539131Smrg$as_echo "$CPP" >&6; }
369650539131Smrgac_preproc_ok=false
369750539131Smrgfor ac_c_preproc_warn_flag in '' yes
369850539131Smrgdo
369950539131Smrg  # Use a header file that comes with gcc, so configuring glibc
370050539131Smrg  # with a fresh cross-compiler works.
370150539131Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
370250539131Smrg  # <limits.h> exists even on freestanding compilers.
370350539131Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
370450539131Smrg  # not just through cpp. "Syntax error" is here to catch this case.
370550539131Smrg  cat >conftest.$ac_ext <<_ACEOF
370650539131Smrg/* confdefs.h.  */
370750539131Smrg_ACEOF
370850539131Smrgcat confdefs.h >>conftest.$ac_ext
370950539131Smrgcat >>conftest.$ac_ext <<_ACEOF
371050539131Smrg/* end confdefs.h.  */
371150539131Smrg#ifdef __STDC__
371250539131Smrg# include <limits.h>
371350539131Smrg#else
371450539131Smrg# include <assert.h>
371550539131Smrg#endif
371650539131Smrg		     Syntax error
371750539131Smrg_ACEOF
371850539131Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
371950539131Smrgcase "(($ac_try" in
372050539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
372150539131Smrg  *) ac_try_echo=$ac_try;;
372250539131Smrgesac
372350539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
372450539131Smrg$as_echo "$ac_try_echo") >&5
372550539131Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
372650539131Smrg  ac_status=$?
372750539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
372850539131Smrg  rm -f conftest.er1
372950539131Smrg  cat conftest.err >&5
373050539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
373150539131Smrg  (exit $ac_status); } >/dev/null && {
373250539131Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
373350539131Smrg	 test ! -s conftest.err
373450539131Smrg       }; then
373550539131Smrg  :
373650539131Smrgelse
373750539131Smrg  $as_echo "$as_me: failed program was:" >&5
373850539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
373950539131Smrg
374050539131Smrg  # Broken: fails on valid input.
374150539131Smrgcontinue
374250539131Smrgfi
374350539131Smrg
374450539131Smrgrm -f conftest.err conftest.$ac_ext
374550539131Smrg
374650539131Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
374750539131Smrg  # can be detected and how.
374850539131Smrg  cat >conftest.$ac_ext <<_ACEOF
374950539131Smrg/* confdefs.h.  */
375050539131Smrg_ACEOF
375150539131Smrgcat confdefs.h >>conftest.$ac_ext
375250539131Smrgcat >>conftest.$ac_ext <<_ACEOF
375350539131Smrg/* end confdefs.h.  */
375450539131Smrg#include <ac_nonexistent.h>
375550539131Smrg_ACEOF
375650539131Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
375750539131Smrgcase "(($ac_try" in
375850539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
375950539131Smrg  *) ac_try_echo=$ac_try;;
376050539131Smrgesac
376150539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
376250539131Smrg$as_echo "$ac_try_echo") >&5
376350539131Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
376450539131Smrg  ac_status=$?
376550539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
376650539131Smrg  rm -f conftest.er1
376750539131Smrg  cat conftest.err >&5
376850539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
376950539131Smrg  (exit $ac_status); } >/dev/null && {
377050539131Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
377150539131Smrg	 test ! -s conftest.err
377250539131Smrg       }; then
377350539131Smrg  # Broken: success on invalid input.
377450539131Smrgcontinue
377550539131Smrgelse
377650539131Smrg  $as_echo "$as_me: failed program was:" >&5
377750539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
377850539131Smrg
377950539131Smrg  # Passes both tests.
378050539131Smrgac_preproc_ok=:
378150539131Smrgbreak
378250539131Smrgfi
378350539131Smrg
378450539131Smrgrm -f conftest.err conftest.$ac_ext
378550539131Smrg
378650539131Smrgdone
378750539131Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
378850539131Smrgrm -f conftest.err conftest.$ac_ext
378950539131Smrgif $ac_preproc_ok; then
379050539131Smrg  :
379150539131Smrgelse
379250539131Smrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
379350539131Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
379450539131Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
379550539131SmrgSee \`config.log' for more details." >&5
379650539131Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
379750539131SmrgSee \`config.log' for more details." >&2;}
379850539131Smrg   { (exit 1); exit 1; }; }; }
379950539131Smrgfi
380050539131Smrg
380150539131Smrgac_ext=c
380250539131Smrgac_cpp='$CPP $CPPFLAGS'
380350539131Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
380450539131Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
380550539131Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
380650539131Smrg
380750539131Smrg
380850539131Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
380950539131Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
381050539131Smrgif test "${ac_cv_path_GREP+set}" = set; then
381150539131Smrg  $as_echo_n "(cached) " >&6
381250539131Smrgelse
381350539131Smrg  if test -z "$GREP"; then
381450539131Smrg  ac_path_GREP_found=false
381550539131Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
381650539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
381750539131Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
381850539131Smrgdo
381950539131Smrg  IFS=$as_save_IFS
382050539131Smrg  test -z "$as_dir" && as_dir=.
382150539131Smrg  for ac_prog in grep ggrep; do
382250539131Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
382350539131Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
382450539131Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
382550539131Smrg# Check for GNU ac_path_GREP and select it if it is found.
382650539131Smrg  # Check for GNU $ac_path_GREP
382750539131Smrgcase `"$ac_path_GREP" --version 2>&1` in
382850539131Smrg*GNU*)
382950539131Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
383050539131Smrg*)
383150539131Smrg  ac_count=0
383250539131Smrg  $as_echo_n 0123456789 >"conftest.in"
383350539131Smrg  while :
383450539131Smrg  do
383550539131Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
383650539131Smrg    mv "conftest.tmp" "conftest.in"
383750539131Smrg    cp "conftest.in" "conftest.nl"
383850539131Smrg    $as_echo 'GREP' >> "conftest.nl"
383950539131Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
384050539131Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
384150539131Smrg    ac_count=`expr $ac_count + 1`
384250539131Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
384350539131Smrg      # Best one so far, save it but keep looking for a better one
384450539131Smrg      ac_cv_path_GREP="$ac_path_GREP"
384550539131Smrg      ac_path_GREP_max=$ac_count
384650539131Smrg    fi
384750539131Smrg    # 10*(2^10) chars as input seems more than enough
384850539131Smrg    test $ac_count -gt 10 && break
384950539131Smrg  done
385050539131Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
385150539131Smrgesac
385250539131Smrg
385350539131Smrg      $ac_path_GREP_found && break 3
385450539131Smrg    done
385550539131Smrg  done
385650539131Smrgdone
385750539131SmrgIFS=$as_save_IFS
385850539131Smrg  if test -z "$ac_cv_path_GREP"; then
385950539131Smrg    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
386050539131Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
386150539131Smrg   { (exit 1); exit 1; }; }
386250539131Smrg  fi
386350539131Smrgelse
386450539131Smrg  ac_cv_path_GREP=$GREP
386550539131Smrgfi
386650539131Smrg
386750539131Smrgfi
386850539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
386950539131Smrg$as_echo "$ac_cv_path_GREP" >&6; }
387050539131Smrg GREP="$ac_cv_path_GREP"
387150539131Smrg
387250539131Smrg
387350539131Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
387450539131Smrg$as_echo_n "checking for egrep... " >&6; }
387550539131Smrgif test "${ac_cv_path_EGREP+set}" = set; then
387650539131Smrg  $as_echo_n "(cached) " >&6
3877ded1caa4Smrgelse
387850539131Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
387950539131Smrg   then ac_cv_path_EGREP="$GREP -E"
388050539131Smrg   else
388150539131Smrg     if test -z "$EGREP"; then
388250539131Smrg  ac_path_EGREP_found=false
388350539131Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
388450539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
388550539131Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
388650539131Smrgdo
388750539131Smrg  IFS=$as_save_IFS
388850539131Smrg  test -z "$as_dir" && as_dir=.
388950539131Smrg  for ac_prog in egrep; do
389050539131Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
389150539131Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
389250539131Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
389350539131Smrg# Check for GNU ac_path_EGREP and select it if it is found.
389450539131Smrg  # Check for GNU $ac_path_EGREP
389550539131Smrgcase `"$ac_path_EGREP" --version 2>&1` in
389650539131Smrg*GNU*)
389750539131Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
389850539131Smrg*)
389950539131Smrg  ac_count=0
390050539131Smrg  $as_echo_n 0123456789 >"conftest.in"
390150539131Smrg  while :
390250539131Smrg  do
390350539131Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
390450539131Smrg    mv "conftest.tmp" "conftest.in"
390550539131Smrg    cp "conftest.in" "conftest.nl"
390650539131Smrg    $as_echo 'EGREP' >> "conftest.nl"
390750539131Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
390850539131Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
390950539131Smrg    ac_count=`expr $ac_count + 1`
391050539131Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
391150539131Smrg      # Best one so far, save it but keep looking for a better one
391250539131Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
391350539131Smrg      ac_path_EGREP_max=$ac_count
391450539131Smrg    fi
391550539131Smrg    # 10*(2^10) chars as input seems more than enough
391650539131Smrg    test $ac_count -gt 10 && break
391750539131Smrg  done
391850539131Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
391950539131Smrgesac
392050539131Smrg
392150539131Smrg      $ac_path_EGREP_found && break 3
392250539131Smrg    done
392350539131Smrg  done
392450539131Smrgdone
392550539131SmrgIFS=$as_save_IFS
392650539131Smrg  if test -z "$ac_cv_path_EGREP"; then
392750539131Smrg    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
392850539131Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
392950539131Smrg   { (exit 1); exit 1; }; }
393050539131Smrg  fi
393150539131Smrgelse
393250539131Smrg  ac_cv_path_EGREP=$EGREP
393350539131Smrgfi
393450539131Smrg
393550539131Smrg   fi
393650539131Smrgfi
393750539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
393850539131Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
393950539131Smrg EGREP="$ac_cv_path_EGREP"
394050539131Smrg
394150539131Smrg
394250539131Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
394350539131Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
394450539131Smrgif test "${ac_cv_header_stdc+set}" = set; then
394550539131Smrg  $as_echo_n "(cached) " >&6
394650539131Smrgelse
394750539131Smrg  cat >conftest.$ac_ext <<_ACEOF
394850539131Smrg/* confdefs.h.  */
394950539131Smrg_ACEOF
395050539131Smrgcat confdefs.h >>conftest.$ac_ext
395150539131Smrgcat >>conftest.$ac_ext <<_ACEOF
395250539131Smrg/* end confdefs.h.  */
395350539131Smrg#include <stdlib.h>
395450539131Smrg#include <stdarg.h>
395550539131Smrg#include <string.h>
395650539131Smrg#include <float.h>
395750539131Smrg
395850539131Smrgint
395950539131Smrgmain ()
396050539131Smrg{
396150539131Smrg
396250539131Smrg  ;
396350539131Smrg  return 0;
396450539131Smrg}
396550539131Smrg_ACEOF
396650539131Smrgrm -f conftest.$ac_objext
396750539131Smrgif { (ac_try="$ac_compile"
396850539131Smrgcase "(($ac_try" in
396950539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
397050539131Smrg  *) ac_try_echo=$ac_try;;
397150539131Smrgesac
397250539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
397350539131Smrg$as_echo "$ac_try_echo") >&5
397450539131Smrg  (eval "$ac_compile") 2>conftest.er1
397550539131Smrg  ac_status=$?
397650539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
397750539131Smrg  rm -f conftest.er1
397850539131Smrg  cat conftest.err >&5
397950539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
398050539131Smrg  (exit $ac_status); } && {
398150539131Smrg	 test -z "$ac_c_werror_flag" ||
398250539131Smrg	 test ! -s conftest.err
398350539131Smrg       } && test -s conftest.$ac_objext; then
398450539131Smrg  ac_cv_header_stdc=yes
398550539131Smrgelse
398650539131Smrg  $as_echo "$as_me: failed program was:" >&5
398750539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
398850539131Smrg
398950539131Smrg	ac_cv_header_stdc=no
399050539131Smrgfi
399150539131Smrg
399250539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
399350539131Smrg
399450539131Smrgif test $ac_cv_header_stdc = yes; then
399550539131Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
399650539131Smrg  cat >conftest.$ac_ext <<_ACEOF
399750539131Smrg/* confdefs.h.  */
399850539131Smrg_ACEOF
399950539131Smrgcat confdefs.h >>conftest.$ac_ext
400050539131Smrgcat >>conftest.$ac_ext <<_ACEOF
400150539131Smrg/* end confdefs.h.  */
400250539131Smrg#include <string.h>
400350539131Smrg
400450539131Smrg_ACEOF
400550539131Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
400650539131Smrg  $EGREP "memchr" >/dev/null 2>&1; then
400750539131Smrg  :
400850539131Smrgelse
400950539131Smrg  ac_cv_header_stdc=no
401050539131Smrgfi
401150539131Smrgrm -f conftest*
401250539131Smrg
401350539131Smrgfi
401450539131Smrg
401550539131Smrgif test $ac_cv_header_stdc = yes; then
401650539131Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
401750539131Smrg  cat >conftest.$ac_ext <<_ACEOF
401850539131Smrg/* confdefs.h.  */
401950539131Smrg_ACEOF
402050539131Smrgcat confdefs.h >>conftest.$ac_ext
402150539131Smrgcat >>conftest.$ac_ext <<_ACEOF
402250539131Smrg/* end confdefs.h.  */
402350539131Smrg#include <stdlib.h>
402450539131Smrg
402550539131Smrg_ACEOF
402650539131Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
402750539131Smrg  $EGREP "free" >/dev/null 2>&1; then
402850539131Smrg  :
402950539131Smrgelse
403050539131Smrg  ac_cv_header_stdc=no
403150539131Smrgfi
403250539131Smrgrm -f conftest*
403350539131Smrg
403450539131Smrgfi
403550539131Smrg
403650539131Smrgif test $ac_cv_header_stdc = yes; then
403750539131Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
403850539131Smrg  if test "$cross_compiling" = yes; then
403950539131Smrg  :
404050539131Smrgelse
404150539131Smrg  cat >conftest.$ac_ext <<_ACEOF
404250539131Smrg/* confdefs.h.  */
404350539131Smrg_ACEOF
404450539131Smrgcat confdefs.h >>conftest.$ac_ext
404550539131Smrgcat >>conftest.$ac_ext <<_ACEOF
404650539131Smrg/* end confdefs.h.  */
404750539131Smrg#include <ctype.h>
404850539131Smrg#include <stdlib.h>
404950539131Smrg#if ((' ' & 0x0FF) == 0x020)
405050539131Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
405150539131Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
405250539131Smrg#else
405350539131Smrg# define ISLOWER(c) \
405450539131Smrg		   (('a' <= (c) && (c) <= 'i') \
405550539131Smrg		     || ('j' <= (c) && (c) <= 'r') \
405650539131Smrg		     || ('s' <= (c) && (c) <= 'z'))
405750539131Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
405850539131Smrg#endif
405950539131Smrg
406050539131Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
406150539131Smrgint
406250539131Smrgmain ()
406350539131Smrg{
406450539131Smrg  int i;
406550539131Smrg  for (i = 0; i < 256; i++)
406650539131Smrg    if (XOR (islower (i), ISLOWER (i))
406750539131Smrg	|| toupper (i) != TOUPPER (i))
406850539131Smrg      return 2;
406950539131Smrg  return 0;
407050539131Smrg}
407150539131Smrg_ACEOF
407250539131Smrgrm -f conftest$ac_exeext
407350539131Smrgif { (ac_try="$ac_link"
407450539131Smrgcase "(($ac_try" in
407550539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
407650539131Smrg  *) ac_try_echo=$ac_try;;
407750539131Smrgesac
407850539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
407950539131Smrg$as_echo "$ac_try_echo") >&5
408050539131Smrg  (eval "$ac_link") 2>&5
408150539131Smrg  ac_status=$?
408250539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
408350539131Smrg  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
408450539131Smrg  { (case "(($ac_try" in
408550539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
408650539131Smrg  *) ac_try_echo=$ac_try;;
408750539131Smrgesac
408850539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
408950539131Smrg$as_echo "$ac_try_echo") >&5
409050539131Smrg  (eval "$ac_try") 2>&5
409150539131Smrg  ac_status=$?
409250539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
409350539131Smrg  (exit $ac_status); }; }; then
409450539131Smrg  :
409550539131Smrgelse
409650539131Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
409750539131Smrg$as_echo "$as_me: failed program was:" >&5
409850539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
409950539131Smrg
410050539131Smrg( exit $ac_status )
410150539131Smrgac_cv_header_stdc=no
410250539131Smrgfi
410350539131Smrgrm -rf conftest.dSYM
410450539131Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
410550539131Smrgfi
410650539131Smrg
410750539131Smrg
410850539131Smrgfi
410950539131Smrgfi
411050539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
411150539131Smrg$as_echo "$ac_cv_header_stdc" >&6; }
411250539131Smrgif test $ac_cv_header_stdc = yes; then
411350539131Smrg
411450539131Smrgcat >>confdefs.h <<\_ACEOF
411550539131Smrg#define STDC_HEADERS 1
411650539131Smrg_ACEOF
411750539131Smrg
411850539131Smrgfi
411950539131Smrg
412050539131Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
412150539131Smrg
412250539131Smrg
412350539131Smrg
412450539131Smrg
412550539131Smrg
412650539131Smrg
412750539131Smrg
412850539131Smrg
412950539131Smrg
413050539131Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
413150539131Smrg		  inttypes.h stdint.h unistd.h
413250539131Smrgdo
413350539131Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
413450539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
413550539131Smrg$as_echo_n "checking for $ac_header... " >&6; }
413650539131Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
413750539131Smrg  $as_echo_n "(cached) " >&6
413850539131Smrgelse
413950539131Smrg  cat >conftest.$ac_ext <<_ACEOF
414050539131Smrg/* confdefs.h.  */
414150539131Smrg_ACEOF
414250539131Smrgcat confdefs.h >>conftest.$ac_ext
414350539131Smrgcat >>conftest.$ac_ext <<_ACEOF
414450539131Smrg/* end confdefs.h.  */
414550539131Smrg$ac_includes_default
414650539131Smrg
414750539131Smrg#include <$ac_header>
414850539131Smrg_ACEOF
414950539131Smrgrm -f conftest.$ac_objext
415050539131Smrgif { (ac_try="$ac_compile"
415150539131Smrgcase "(($ac_try" in
415250539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
415350539131Smrg  *) ac_try_echo=$ac_try;;
415450539131Smrgesac
415550539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
415650539131Smrg$as_echo "$ac_try_echo") >&5
415750539131Smrg  (eval "$ac_compile") 2>conftest.er1
415850539131Smrg  ac_status=$?
415950539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
416050539131Smrg  rm -f conftest.er1
416150539131Smrg  cat conftest.err >&5
416250539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
416350539131Smrg  (exit $ac_status); } && {
416450539131Smrg	 test -z "$ac_c_werror_flag" ||
416550539131Smrg	 test ! -s conftest.err
416650539131Smrg       } && test -s conftest.$ac_objext; then
416750539131Smrg  eval "$as_ac_Header=yes"
416850539131Smrgelse
416950539131Smrg  $as_echo "$as_me: failed program was:" >&5
417050539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
417150539131Smrg
417250539131Smrg	eval "$as_ac_Header=no"
417350539131Smrgfi
417450539131Smrg
417550539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
417650539131Smrgfi
417750539131Smrgac_res=`eval 'as_val=${'$as_ac_Header'}
417850539131Smrg		 $as_echo "$as_val"'`
417950539131Smrg	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
418050539131Smrg$as_echo "$ac_res" >&6; }
418150539131Smrgas_val=`eval 'as_val=${'$as_ac_Header'}
418250539131Smrg		 $as_echo "$as_val"'`
418350539131Smrg   if test "x$as_val" = x""yes; then
418450539131Smrg  cat >>confdefs.h <<_ACEOF
418550539131Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
418650539131Smrg_ACEOF
418750539131Smrg
418850539131Smrgfi
418950539131Smrg
419050539131Smrgdone
419150539131Smrg
419250539131Smrg
419350539131Smrg   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
419450539131Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
419550539131Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then
419650539131Smrg  $as_echo_n "(cached) " >&6
419750539131Smrgelse
419850539131Smrg  ac_cv_prog_cc_c99=no
419950539131Smrgac_save_CC=$CC
420050539131Smrgcat >conftest.$ac_ext <<_ACEOF
420150539131Smrg/* confdefs.h.  */
420250539131Smrg_ACEOF
420350539131Smrgcat confdefs.h >>conftest.$ac_ext
420450539131Smrgcat >>conftest.$ac_ext <<_ACEOF
420550539131Smrg/* end confdefs.h.  */
420650539131Smrg#include <stdarg.h>
420750539131Smrg#include <stdbool.h>
420850539131Smrg#include <stdlib.h>
420950539131Smrg#include <wchar.h>
421050539131Smrg#include <stdio.h>
421150539131Smrg
421250539131Smrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
421350539131Smrg#define debug(...) fprintf (stderr, __VA_ARGS__)
421450539131Smrg#define showlist(...) puts (#__VA_ARGS__)
421550539131Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
421650539131Smrgstatic void
421750539131Smrgtest_varargs_macros (void)
421850539131Smrg{
421950539131Smrg  int x = 1234;
422050539131Smrg  int y = 5678;
422150539131Smrg  debug ("Flag");
422250539131Smrg  debug ("X = %d\n", x);
422350539131Smrg  showlist (The first, second, and third items.);
422450539131Smrg  report (x>y, "x is %d but y is %d", x, y);
422550539131Smrg}
422650539131Smrg
422750539131Smrg// Check long long types.
422850539131Smrg#define BIG64 18446744073709551615ull
422950539131Smrg#define BIG32 4294967295ul
423050539131Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
423150539131Smrg#if !BIG_OK
423250539131Smrg  your preprocessor is broken;
423350539131Smrg#endif
423450539131Smrg#if BIG_OK
423550539131Smrg#else
423650539131Smrg  your preprocessor is broken;
423750539131Smrg#endif
423850539131Smrgstatic long long int bignum = -9223372036854775807LL;
423950539131Smrgstatic unsigned long long int ubignum = BIG64;
424050539131Smrg
424150539131Smrgstruct incomplete_array
424250539131Smrg{
424350539131Smrg  int datasize;
424450539131Smrg  double data[];
424550539131Smrg};
424650539131Smrg
424750539131Smrgstruct named_init {
424850539131Smrg  int number;
424950539131Smrg  const wchar_t *name;
425050539131Smrg  double average;
425150539131Smrg};
425250539131Smrg
425350539131Smrgtypedef const char *ccp;
425450539131Smrg
425550539131Smrgstatic inline int
425650539131Smrgtest_restrict (ccp restrict text)
425750539131Smrg{
425850539131Smrg  // See if C++-style comments work.
425950539131Smrg  // Iterate through items via the restricted pointer.
426050539131Smrg  // Also check for declarations in for loops.
426150539131Smrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
426250539131Smrg    continue;
426350539131Smrg  return 0;
426450539131Smrg}
426550539131Smrg
426650539131Smrg// Check varargs and va_copy.
426750539131Smrgstatic void
426850539131Smrgtest_varargs (const char *format, ...)
426950539131Smrg{
427050539131Smrg  va_list args;
427150539131Smrg  va_start (args, format);
427250539131Smrg  va_list args_copy;
427350539131Smrg  va_copy (args_copy, args);
427450539131Smrg
427550539131Smrg  const char *str;
427650539131Smrg  int number;
427750539131Smrg  float fnumber;
427850539131Smrg
427950539131Smrg  while (*format)
428050539131Smrg    {
428150539131Smrg      switch (*format++)
428250539131Smrg	{
428350539131Smrg	case 's': // string
428450539131Smrg	  str = va_arg (args_copy, const char *);
428550539131Smrg	  break;
428650539131Smrg	case 'd': // int
428750539131Smrg	  number = va_arg (args_copy, int);
428850539131Smrg	  break;
428950539131Smrg	case 'f': // float
429050539131Smrg	  fnumber = va_arg (args_copy, double);
429150539131Smrg	  break;
429250539131Smrg	default:
429350539131Smrg	  break;
429450539131Smrg	}
429550539131Smrg    }
429650539131Smrg  va_end (args_copy);
429750539131Smrg  va_end (args);
429850539131Smrg}
429950539131Smrg
430050539131Smrgint
430150539131Smrgmain ()
430250539131Smrg{
430350539131Smrg
430450539131Smrg  // Check bool.
430550539131Smrg  _Bool success = false;
430650539131Smrg
430750539131Smrg  // Check restrict.
430850539131Smrg  if (test_restrict ("String literal") == 0)
430950539131Smrg    success = true;
431050539131Smrg  char *restrict newvar = "Another string";
431150539131Smrg
431250539131Smrg  // Check varargs.
431350539131Smrg  test_varargs ("s, d' f .", "string", 65, 34.234);
431450539131Smrg  test_varargs_macros ();
431550539131Smrg
431650539131Smrg  // Check flexible array members.
431750539131Smrg  struct incomplete_array *ia =
431850539131Smrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
431950539131Smrg  ia->datasize = 10;
432050539131Smrg  for (int i = 0; i < ia->datasize; ++i)
432150539131Smrg    ia->data[i] = i * 1.234;
432250539131Smrg
432350539131Smrg  // Check named initializers.
432450539131Smrg  struct named_init ni = {
432550539131Smrg    .number = 34,
432650539131Smrg    .name = L"Test wide string",
432750539131Smrg    .average = 543.34343,
432850539131Smrg  };
432950539131Smrg
433050539131Smrg  ni.number = 58;
433150539131Smrg
433250539131Smrg  int dynamic_array[ni.number];
433350539131Smrg  dynamic_array[ni.number - 1] = 543;
433450539131Smrg
433550539131Smrg  // work around unused variable warnings
433650539131Smrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
433750539131Smrg	  || dynamic_array[ni.number - 1] != 543);
433850539131Smrg
433950539131Smrg  ;
434050539131Smrg  return 0;
434150539131Smrg}
434250539131Smrg_ACEOF
434350539131Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
434450539131Smrgdo
434550539131Smrg  CC="$ac_save_CC $ac_arg"
434650539131Smrg  rm -f conftest.$ac_objext
434750539131Smrgif { (ac_try="$ac_compile"
434850539131Smrgcase "(($ac_try" in
434950539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
435050539131Smrg  *) ac_try_echo=$ac_try;;
435150539131Smrgesac
435250539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
435350539131Smrg$as_echo "$ac_try_echo") >&5
435450539131Smrg  (eval "$ac_compile") 2>conftest.er1
435550539131Smrg  ac_status=$?
435650539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
435750539131Smrg  rm -f conftest.er1
435850539131Smrg  cat conftest.err >&5
435950539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
436050539131Smrg  (exit $ac_status); } && {
436150539131Smrg	 test -z "$ac_c_werror_flag" ||
436250539131Smrg	 test ! -s conftest.err
436350539131Smrg       } && test -s conftest.$ac_objext; then
436450539131Smrg  ac_cv_prog_cc_c99=$ac_arg
436550539131Smrgelse
436650539131Smrg  $as_echo "$as_me: failed program was:" >&5
436750539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
436850539131Smrg
436950539131Smrg
437050539131Smrgfi
437150539131Smrg
437250539131Smrgrm -f core conftest.err conftest.$ac_objext
437350539131Smrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
437450539131Smrgdone
437550539131Smrgrm -f conftest.$ac_ext
437650539131SmrgCC=$ac_save_CC
437750539131Smrg
437850539131Smrgfi
437950539131Smrg# AC_CACHE_VAL
438050539131Smrgcase "x$ac_cv_prog_cc_c99" in
438150539131Smrg  x)
438250539131Smrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
438350539131Smrg$as_echo "none needed" >&6; } ;;
438450539131Smrg  xno)
438550539131Smrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
438650539131Smrg$as_echo "unsupported" >&6; } ;;
438750539131Smrg  *)
438850539131Smrg    CC="$CC $ac_cv_prog_cc_c99"
438950539131Smrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
439050539131Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
439150539131Smrgesac
439250539131Smrg
439350539131Smrg
439450539131Smrg
439550539131Smrg# Make sure we can run config.sub.
439650539131Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
439750539131Smrg  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
439850539131Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
439950539131Smrg   { (exit 1); exit 1; }; }
440050539131Smrg
440150539131Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5
440250539131Smrg$as_echo_n "checking build system type... " >&6; }
440350539131Smrgif test "${ac_cv_build+set}" = set; then
440450539131Smrg  $as_echo_n "(cached) " >&6
440550539131Smrgelse
440650539131Smrg  ac_build_alias=$build_alias
440750539131Smrgtest "x$ac_build_alias" = x &&
440850539131Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
440950539131Smrgtest "x$ac_build_alias" = x &&
441050539131Smrg  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
441150539131Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
441250539131Smrg   { (exit 1); exit 1; }; }
441350539131Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
441450539131Smrg  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
441550539131Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
441650539131Smrg   { (exit 1); exit 1; }; }
441750539131Smrg
441850539131Smrgfi
441950539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
442050539131Smrg$as_echo "$ac_cv_build" >&6; }
442150539131Smrgcase $ac_cv_build in
442250539131Smrg*-*-*) ;;
442350539131Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
442450539131Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;}
442550539131Smrg   { (exit 1); exit 1; }; };;
442650539131Smrgesac
442750539131Smrgbuild=$ac_cv_build
442850539131Smrgac_save_IFS=$IFS; IFS='-'
442950539131Smrgset x $ac_cv_build
443050539131Smrgshift
443150539131Smrgbuild_cpu=$1
443250539131Smrgbuild_vendor=$2
443350539131Smrgshift; shift
443450539131Smrg# Remember, the first character of IFS is used to create $*,
443550539131Smrg# except with old shells:
443650539131Smrgbuild_os=$*
443750539131SmrgIFS=$ac_save_IFS
443850539131Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
443950539131Smrg
444050539131Smrg
444150539131Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5
444250539131Smrg$as_echo_n "checking host system type... " >&6; }
444350539131Smrgif test "${ac_cv_host+set}" = set; then
444450539131Smrg  $as_echo_n "(cached) " >&6
444550539131Smrgelse
444650539131Smrg  if test "x$host_alias" = x; then
444750539131Smrg  ac_cv_host=$ac_cv_build
444850539131Smrgelse
444950539131Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
445050539131Smrg    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
445150539131Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
445250539131Smrg   { (exit 1); exit 1; }; }
445350539131Smrgfi
445450539131Smrg
445550539131Smrgfi
445650539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
445750539131Smrg$as_echo "$ac_cv_host" >&6; }
445850539131Smrgcase $ac_cv_host in
445950539131Smrg*-*-*) ;;
446050539131Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
446150539131Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;}
446250539131Smrg   { (exit 1); exit 1; }; };;
446350539131Smrgesac
446450539131Smrghost=$ac_cv_host
446550539131Smrgac_save_IFS=$IFS; IFS='-'
446650539131Smrgset x $ac_cv_host
446750539131Smrgshift
446850539131Smrghost_cpu=$1
446950539131Smrghost_vendor=$2
447050539131Smrgshift; shift
447150539131Smrg# Remember, the first character of IFS is used to create $*,
447250539131Smrg# except with old shells:
447350539131Smrghost_os=$*
447450539131SmrgIFS=$ac_save_IFS
447550539131Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
447650539131Smrg
447750539131Smrg
447850539131Smrg
447950539131Smrg
448050539131Smrg
448150539131Smrgif  test "x$GCC" = xyes ; then
448250539131Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
448350539131Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
448450539131Smrg-Wbad-function-cast"
448550539131Smrg    case `$CC -dumpversion` in
448650539131Smrg    3.4.* | 4.*)
448750539131Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
448850539131Smrg	;;
448950539131Smrg    esac
449050539131Smrgelse
449150539131Smrg    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
449250539131Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
449350539131Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
449450539131Smrg  $as_echo_n "(cached) " >&6
449550539131Smrgelse
449650539131Smrg  cat >conftest.$ac_ext <<_ACEOF
449750539131Smrg/* confdefs.h.  */
449850539131Smrg_ACEOF
449950539131Smrgcat confdefs.h >>conftest.$ac_ext
450050539131Smrgcat >>conftest.$ac_ext <<_ACEOF
450150539131Smrg/* end confdefs.h.  */
450250539131Smrg$ac_includes_default
450350539131Smrgint
450450539131Smrgmain ()
450550539131Smrg{
450650539131Smrg#ifndef __SUNPRO_C
450750539131Smrg  (void) __SUNPRO_C;
450850539131Smrg#endif
450950539131Smrg
451050539131Smrg  ;
451150539131Smrg  return 0;
451250539131Smrg}
451350539131Smrg_ACEOF
451450539131Smrgrm -f conftest.$ac_objext
451550539131Smrgif { (ac_try="$ac_compile"
451650539131Smrgcase "(($ac_try" in
451750539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
451850539131Smrg  *) ac_try_echo=$ac_try;;
451950539131Smrgesac
452050539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
452150539131Smrg$as_echo "$ac_try_echo") >&5
452250539131Smrg  (eval "$ac_compile") 2>conftest.er1
452350539131Smrg  ac_status=$?
452450539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
452550539131Smrg  rm -f conftest.er1
452650539131Smrg  cat conftest.err >&5
452750539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
452850539131Smrg  (exit $ac_status); } && {
452950539131Smrg	 test -z "$ac_c_werror_flag" ||
453050539131Smrg	 test ! -s conftest.err
453150539131Smrg       } && test -s conftest.$ac_objext; then
453250539131Smrg  ac_cv_have_decl___SUNPRO_C=yes
453350539131Smrgelse
453450539131Smrg  $as_echo "$as_me: failed program was:" >&5
453550539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
453650539131Smrg
453750539131Smrg	ac_cv_have_decl___SUNPRO_C=no
453850539131Smrgfi
453950539131Smrg
454050539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
454150539131Smrgfi
454250539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
454350539131Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
454450539131Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
454550539131Smrg  SUNCC="yes"
454650539131Smrgelse
454750539131Smrg  SUNCC="no"
454850539131Smrgfi
454950539131Smrg
455050539131Smrg    if test "x$SUNCC" = "xyes"; then
455150539131Smrg	CWARNFLAGS="-v"
455250539131Smrg    fi
455350539131Smrgfi
455450539131Smrg
455550539131Smrg# Check whether --enable-silent-rules was given.
455650539131Smrgif test "${enable_silent_rules+set}" = set; then
455750539131Smrg  enableval=$enable_silent_rules;
455850539131Smrgfi
455950539131Smrg
456050539131Smrgcase $enable_silent_rules in
456150539131Smrgyes) AM_DEFAULT_VERBOSITY=0;;
456250539131Smrgno)  AM_DEFAULT_VERBOSITY=1;;
456350539131Smrg*)   AM_DEFAULT_VERBOSITY=0;;
456450539131Smrgesac
456550539131SmrgAM_BACKSLASH='\'
456650539131Smrg
456750539131Smrg
456850539131Smrg
456950539131Smrg
457050539131Smrg
457150539131Smrg
457250539131Smrg
457350539131Smrg# Check whether --enable-strict-compilation was given.
457450539131Smrgif test "${enable_strict_compilation+set}" = set; then
457550539131Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
457650539131Smrgelse
457750539131Smrg  STRICT_COMPILE=no
457850539131Smrgfi
457950539131Smrg
458050539131Smrgif test "x$STRICT_COMPILE" = "xyes"; then
458150539131Smrg	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
458250539131Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
458350539131Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
458450539131Smrg  $as_echo_n "(cached) " >&6
458550539131Smrgelse
458650539131Smrg  cat >conftest.$ac_ext <<_ACEOF
458750539131Smrg/* confdefs.h.  */
458850539131Smrg_ACEOF
458950539131Smrgcat confdefs.h >>conftest.$ac_ext
459050539131Smrgcat >>conftest.$ac_ext <<_ACEOF
459150539131Smrg/* end confdefs.h.  */
459250539131Smrg$ac_includes_default
459350539131Smrgint
459450539131Smrgmain ()
459550539131Smrg{
459650539131Smrg#ifndef __SUNPRO_C
459750539131Smrg  (void) __SUNPRO_C;
459850539131Smrg#endif
459950539131Smrg
460050539131Smrg  ;
460150539131Smrg  return 0;
460250539131Smrg}
460350539131Smrg_ACEOF
460450539131Smrgrm -f conftest.$ac_objext
460550539131Smrgif { (ac_try="$ac_compile"
460650539131Smrgcase "(($ac_try" in
460750539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
460850539131Smrg  *) ac_try_echo=$ac_try;;
460950539131Smrgesac
461050539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
461150539131Smrg$as_echo "$ac_try_echo") >&5
461250539131Smrg  (eval "$ac_compile") 2>conftest.er1
461350539131Smrg  ac_status=$?
461450539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
461550539131Smrg  rm -f conftest.er1
461650539131Smrg  cat conftest.err >&5
461750539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
461850539131Smrg  (exit $ac_status); } && {
461950539131Smrg	 test -z "$ac_c_werror_flag" ||
462050539131Smrg	 test ! -s conftest.err
462150539131Smrg       } && test -s conftest.$ac_objext; then
462250539131Smrg  ac_cv_have_decl___SUNPRO_C=yes
462350539131Smrgelse
462450539131Smrg  $as_echo "$as_me: failed program was:" >&5
462550539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
462650539131Smrg
462750539131Smrg	ac_cv_have_decl___SUNPRO_C=no
462850539131Smrgfi
462950539131Smrg
463050539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
463150539131Smrgfi
463250539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
463350539131Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
463450539131Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
463550539131Smrg  SUNCC="yes"
463650539131Smrgelse
463750539131Smrg  SUNCC="no"
463850539131Smrgfi
463950539131Smrg
464050539131Smrg	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
464150539131Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
464250539131Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
464350539131Smrg  $as_echo_n "(cached) " >&6
464450539131Smrgelse
464550539131Smrg  cat >conftest.$ac_ext <<_ACEOF
464650539131Smrg/* confdefs.h.  */
464750539131Smrg_ACEOF
464850539131Smrgcat confdefs.h >>conftest.$ac_ext
464950539131Smrgcat >>conftest.$ac_ext <<_ACEOF
465050539131Smrg/* end confdefs.h.  */
465150539131Smrg$ac_includes_default
465250539131Smrgint
465350539131Smrgmain ()
465450539131Smrg{
465550539131Smrg#ifndef __INTEL_COMPILER
465650539131Smrg  (void) __INTEL_COMPILER;
465750539131Smrg#endif
465850539131Smrg
465950539131Smrg  ;
466050539131Smrg  return 0;
466150539131Smrg}
466250539131Smrg_ACEOF
466350539131Smrgrm -f conftest.$ac_objext
466450539131Smrgif { (ac_try="$ac_compile"
466550539131Smrgcase "(($ac_try" in
466650539131Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
466750539131Smrg  *) ac_try_echo=$ac_try;;
466850539131Smrgesac
466950539131Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
467050539131Smrg$as_echo "$ac_try_echo") >&5
467150539131Smrg  (eval "$ac_compile") 2>conftest.er1
467250539131Smrg  ac_status=$?
467350539131Smrg  grep -v '^ *+' conftest.er1 >conftest.err
467450539131Smrg  rm -f conftest.er1
467550539131Smrg  cat conftest.err >&5
467650539131Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
467750539131Smrg  (exit $ac_status); } && {
467850539131Smrg	 test -z "$ac_c_werror_flag" ||
467950539131Smrg	 test ! -s conftest.err
468050539131Smrg       } && test -s conftest.$ac_objext; then
468150539131Smrg  ac_cv_have_decl___INTEL_COMPILER=yes
468250539131Smrgelse
468350539131Smrg  $as_echo "$as_me: failed program was:" >&5
468450539131Smrgsed 's/^/| /' conftest.$ac_ext >&5
468550539131Smrg
468650539131Smrg	ac_cv_have_decl___INTEL_COMPILER=no
468750539131Smrgfi
468850539131Smrg
468950539131Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
469050539131Smrgfi
469150539131Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
469250539131Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
469350539131Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
469450539131Smrg  INTELCC="yes"
469550539131Smrgelse
469650539131Smrg  INTELCC="no"
469750539131Smrgfi
469850539131Smrg
469950539131Smrg	if test "x$GCC" = xyes ; then
470050539131Smrg		STRICT_CFLAGS="-pedantic -Werror"
470150539131Smrg	elif test "x$SUNCC" = "xyes"; then
470250539131Smrg		STRICT_CFLAGS="-errwarn"
470350539131Smrg    elif test "x$INTELCC" = "xyes"; then
470450539131Smrg		STRICT_CFLAGS="-Werror"
470550539131Smrg	fi
470650539131Smrgfi
470750539131SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
470850539131Smrg
470950539131Smrg
471050539131Smrg
471150539131Smrg
471250539131Smrg# Check whether --with-release-version was given.
471350539131Smrgif test "${with_release_version+set}" = set; then
471450539131Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
471550539131Smrgelse
471650539131Smrg  RELEASE_VERSION=""
471750539131Smrgfi
471850539131Smrg
471950539131Smrg	if test "x$RELEASE_VERSION" != "x"; then
472050539131Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
472150539131Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
472250539131Smrg		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
472350539131Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
472450539131Smrg	fi
472550539131Smrg
472650539131Smrgcat >>confdefs.h <<_ACEOF
472750539131Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
472850539131Smrg_ACEOF
472950539131Smrg
473050539131Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
473150539131Smrg	if test "x$PVM" = "x"; then
473250539131Smrg		PVM="0"
473350539131Smrg	fi
473450539131Smrg
473550539131Smrgcat >>confdefs.h <<_ACEOF
473650539131Smrg#define PACKAGE_VERSION_MINOR $PVM
473750539131Smrg_ACEOF
473850539131Smrg
473950539131Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
474050539131Smrg	if test "x$PVP" = "x"; then
474150539131Smrg		PVP="0"
474250539131Smrg	fi
474350539131Smrg
474450539131Smrgcat >>confdefs.h <<_ACEOF
474550539131Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
474650539131Smrg_ACEOF
474750539131Smrg
474850539131Smrg
474950539131Smrg
475050539131SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
475150539131Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
475250539131Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
475350539131Smrg
475450539131Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
475550539131Smrg
475650539131Smrg
475750539131Smrg
475850539131Smrg
475950539131Smrg
476050539131Smrgif test x$APP_MAN_SUFFIX = x    ; then
476150539131Smrg    APP_MAN_SUFFIX=1
476250539131Smrgfi
476350539131Smrgif test x$APP_MAN_DIR = x    ; then
476450539131Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4765ded1caa4Smrgfi
4766ded1caa4Smrg
476750539131Smrgif test x$LIB_MAN_SUFFIX = x    ; then
476850539131Smrg    LIB_MAN_SUFFIX=3
476950539131Smrgfi
477050539131Smrgif test x$LIB_MAN_DIR = x    ; then
477150539131Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
477250539131Smrgfi
477350539131Smrg
477450539131Smrgif test x$FILE_MAN_SUFFIX = x    ; then
477550539131Smrg    case $host_os in
477650539131Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
477750539131Smrg	*)		FILE_MAN_SUFFIX=5  ;;
477850539131Smrg    esac
477950539131Smrgfi
478050539131Smrgif test x$FILE_MAN_DIR = x    ; then
478150539131Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
478250539131Smrgfi
478350539131Smrg
478450539131Smrgif test x$MISC_MAN_SUFFIX = x    ; then
478550539131Smrg    case $host_os in
478650539131Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
478750539131Smrg	*)		MISC_MAN_SUFFIX=7  ;;
478850539131Smrg    esac
478950539131Smrgfi
479050539131Smrgif test x$MISC_MAN_DIR = x    ; then
479150539131Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
479250539131Smrgfi
479350539131Smrg
479450539131Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
479550539131Smrg    case $host_os in
479650539131Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
479750539131Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
479850539131Smrg    esac
479950539131Smrgfi
480050539131Smrgif test x$DRIVER_MAN_DIR = x    ; then
480150539131Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
480250539131Smrgfi
480350539131Smrg
480450539131Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
480550539131Smrg    case $host_os in
480650539131Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
480750539131Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
480850539131Smrg    esac
480950539131Smrgfi
481050539131Smrgif test x$ADMIN_MAN_DIR = x    ; then
481150539131Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
481250539131Smrgfi
481350539131Smrg
481450539131Smrg
481550539131Smrg
481650539131Smrg
481750539131Smrg
481850539131Smrg
481950539131Smrg
482050539131Smrg
482150539131Smrg
482250539131Smrg
482350539131Smrg
482450539131Smrg
482550539131Smrg
482650539131Smrg
4827ded1caa4Smrg
4828ded1caa4Smrg
4829ded1caa4Smrg
4830ded1caa4Smrg# Find a good install program.  We prefer a C program (faster),
4831ded1caa4Smrg# so one script is as good as another.  But avoid the broken or
4832ded1caa4Smrg# incompatible versions:
4833ded1caa4Smrg# SysV /etc/install, /usr/sbin/install
4834ded1caa4Smrg# SunOS /usr/etc/install
4835ded1caa4Smrg# IRIX /sbin/install
4836ded1caa4Smrg# AIX /bin/install
4837ded1caa4Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
4838ded1caa4Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4839ded1caa4Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4840ded1caa4Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4841ded1caa4Smrg# OS/2's system install, which has a completely different semantic
4842ded1caa4Smrg# ./install, which can be erroneously created by make from ./install.sh.
484350539131Smrg# Reject install programs that cannot install multiple files.
484450539131Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
484550539131Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
4846ded1caa4Smrgif test -z "$INSTALL"; then
4847ded1caa4Smrgif test "${ac_cv_path_install+set}" = set; then
484850539131Smrg  $as_echo_n "(cached) " >&6
4849ded1caa4Smrgelse
4850ded1caa4Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851ded1caa4Smrgfor as_dir in $PATH
4852ded1caa4Smrgdo
4853ded1caa4Smrg  IFS=$as_save_IFS
4854ded1caa4Smrg  test -z "$as_dir" && as_dir=.
4855ded1caa4Smrg  # Account for people who put trailing slashes in PATH elements.
4856ded1caa4Smrgcase $as_dir/ in
4857ded1caa4Smrg  ./ | .// | /cC/* | \
4858ded1caa4Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4859ded1caa4Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4860ded1caa4Smrg  /usr/ucb/* ) ;;
4861ded1caa4Smrg  *)
4862ded1caa4Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
4863ded1caa4Smrg    # Don't use installbsd from OSF since it installs stuff as root
4864ded1caa4Smrg    # by default.
4865ded1caa4Smrg    for ac_prog in ginstall scoinst install; do
4866ded1caa4Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
486750539131Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4868ded1caa4Smrg	  if test $ac_prog = install &&
4869ded1caa4Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4870ded1caa4Smrg	    # AIX install.  It has an incompatible calling convention.
4871ded1caa4Smrg	    :
4872ded1caa4Smrg	  elif test $ac_prog = install &&
4873ded1caa4Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4874ded1caa4Smrg	    # program-specific install script used by HP pwplus--don't use.
4875ded1caa4Smrg	    :
4876ded1caa4Smrg	  else
487750539131Smrg	    rm -rf conftest.one conftest.two conftest.dir
487850539131Smrg	    echo one > conftest.one
487950539131Smrg	    echo two > conftest.two
488050539131Smrg	    mkdir conftest.dir
488150539131Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
488250539131Smrg	      test -s conftest.one && test -s conftest.two &&
488350539131Smrg	      test -s conftest.dir/conftest.one &&
488450539131Smrg	      test -s conftest.dir/conftest.two
488550539131Smrg	    then
488650539131Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
488750539131Smrg	      break 3
488850539131Smrg	    fi
4889ded1caa4Smrg	  fi
4890ded1caa4Smrg	fi
4891ded1caa4Smrg      done
4892ded1caa4Smrg    done
4893ded1caa4Smrg    ;;
4894ded1caa4Smrgesac
489550539131Smrg
4896ded1caa4Smrgdone
489750539131SmrgIFS=$as_save_IFS
4898ded1caa4Smrg
489950539131Smrgrm -rf conftest.one conftest.two conftest.dir
4900ded1caa4Smrg
4901ded1caa4Smrgfi
4902ded1caa4Smrg  if test "${ac_cv_path_install+set}" = set; then
4903ded1caa4Smrg    INSTALL=$ac_cv_path_install
4904ded1caa4Smrg  else
490550539131Smrg    # As a last resort, use the slow shell script.  Don't cache a
490650539131Smrg    # value for INSTALL within a source directory, because that will
4907ded1caa4Smrg    # break other packages using the cache if that directory is
490850539131Smrg    # removed, or if the value is a relative name.
4909ded1caa4Smrg    INSTALL=$ac_install_sh
4910ded1caa4Smrg  fi
4911ded1caa4Smrgfi
491250539131Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
491350539131Smrg$as_echo "$INSTALL" >&6; }
4914ded1caa4Smrg
4915ded1caa4Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4916ded1caa4Smrg# It thinks the first close brace ends the variable substitution.
4917ded1caa4Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4918ded1caa4Smrg
4919ded1caa4Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4920ded1caa4Smrg
4921ded1caa4Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4922ded1caa4Smrg
4923ded1caa4Smrg
492450539131Smrg# Require X.Org's font util macros 1.1 or later
492550539131Smrg
492650539131Smrg
492750539131Smrg
492850539131Smrg
492950539131Smrg
493050539131Smrg
493150539131Smrg
493250539131Smrg
493350539131Smrg
493450539131Smrg
493550539131Smrg
493650539131Smrg
493750539131Smrg
493850539131Smrg
493950539131Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
494050539131Smrg	if test -n "$ac_tool_prefix"; then
494150539131Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
494250539131Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
494350539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
494450539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
494550539131Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
494650539131Smrg  $as_echo_n "(cached) " >&6
4947ded1caa4Smrgelse
494850539131Smrg  case $PKG_CONFIG in
4949ded1caa4Smrg  [\\/]* | ?:[\\/]*)
495050539131Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4951ded1caa4Smrg  ;;
4952ded1caa4Smrg  *)
4953ded1caa4Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954ded1caa4Smrgfor as_dir in $PATH
4955ded1caa4Smrgdo
4956ded1caa4Smrg  IFS=$as_save_IFS
4957ded1caa4Smrg  test -z "$as_dir" && as_dir=.
4958ded1caa4Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
495950539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
496050539131Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
496150539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4962ded1caa4Smrg    break 2
4963ded1caa4Smrg  fi
4964ded1caa4Smrgdone
4965ded1caa4Smrgdone
496650539131SmrgIFS=$as_save_IFS
4967ded1caa4Smrg
4968ded1caa4Smrg  ;;
4969ded1caa4Smrgesac
4970ded1caa4Smrgfi
497150539131SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
497250539131Smrgif test -n "$PKG_CONFIG"; then
497350539131Smrg  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
497450539131Smrg$as_echo "$PKG_CONFIG" >&6; }
4975ded1caa4Smrgelse
497650539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
497750539131Smrg$as_echo "no" >&6; }
4978ded1caa4Smrgfi
4979ded1caa4Smrg
498050539131Smrg
498150539131Smrgfi
498250539131Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
498350539131Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
498450539131Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
498550539131Smrgset dummy pkg-config; ac_word=$2
498650539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
498750539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
498850539131Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
498950539131Smrg  $as_echo_n "(cached) " >&6
4990ded1caa4Smrgelse
499150539131Smrg  case $ac_pt_PKG_CONFIG in
4992ded1caa4Smrg  [\\/]* | ?:[\\/]*)
499350539131Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4994ded1caa4Smrg  ;;
4995ded1caa4Smrg  *)
4996ded1caa4Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997ded1caa4Smrgfor as_dir in $PATH
4998ded1caa4Smrgdo
4999ded1caa4Smrg  IFS=$as_save_IFS
5000ded1caa4Smrg  test -z "$as_dir" && as_dir=.
5001ded1caa4Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
500250539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
500350539131Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
500450539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5005ded1caa4Smrg    break 2
5006ded1caa4Smrg  fi
5007ded1caa4Smrgdone
5008ded1caa4Smrgdone
500950539131SmrgIFS=$as_save_IFS
5010ded1caa4Smrg
5011ded1caa4Smrg  ;;
5012ded1caa4Smrgesac
5013ded1caa4Smrgfi
501450539131Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
501550539131Smrgif test -n "$ac_pt_PKG_CONFIG"; then
501650539131Smrg  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
501750539131Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
501850539131Smrgelse
501950539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
502050539131Smrg$as_echo "no" >&6; }
502150539131Smrgfi
502250539131Smrg
502350539131Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
502450539131Smrg    PKG_CONFIG=""
502550539131Smrg  else
502650539131Smrg    case $cross_compiling:$ac_tool_warned in
502750539131Smrgyes:)
502850539131Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
502950539131Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
503050539131Smrgac_tool_warned=yes ;;
503150539131Smrgesac
503250539131Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
503350539131Smrg  fi
503450539131Smrgelse
503550539131Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
503650539131Smrgfi
503750539131Smrg
503850539131Smrgfi
503950539131Smrgif test -n "$PKG_CONFIG"; then
504050539131Smrg	_pkg_min_version=0.9.0
504150539131Smrg	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
504250539131Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
504350539131Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
504450539131Smrg		{ $as_echo "$as_me:$LINENO: result: yes" >&5
504550539131Smrg$as_echo "yes" >&6; }
504650539131Smrg	else
504750539131Smrg		{ $as_echo "$as_me:$LINENO: result: no" >&5
504850539131Smrg$as_echo "no" >&6; }
504950539131Smrg		PKG_CONFIG=""
505050539131Smrg	fi
505150539131Smrg
505250539131Smrgfi
505350539131Smrg
505450539131Smrg
505550539131Smrg
505650539131Smrg	{ $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5
505750539131Smrg$as_echo_n "checking for root directory for font files... " >&6; }
505850539131Smrg
505950539131Smrg# Check whether --with-fontrootdir was given.
506050539131Smrgif test "${with_fontrootdir+set}" = set; then
506150539131Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
506250539131Smrgfi
506350539131Smrg
506450539131Smrg	# if --with-fontrootdir not specified...
506550539131Smrg	if test "x${FONTROOTDIR}" = "x"; then
506650539131Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
506750539131Smrg	fi
506850539131Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
506950539131Smrg	if test "x${FONTROOTDIR}" = "x"; then
507050539131Smrg		FONTROOTDIR="${datadir}/fonts/X11"
507150539131Smrg	fi
507250539131Smrg
507350539131Smrg	{ $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5
507450539131Smrg$as_echo "${FONTROOTDIR}" >&6; }
507550539131Smrg
507650539131Smrg
507750539131Smrg
507850539131Smrg
507950539131Smrg	{ $as_echo "$as_me:$LINENO: checking for directory for 75dpi files" >&5
508050539131Smrg$as_echo_n "checking for directory for 75dpi files... " >&6; }
508150539131Smrg
508250539131Smrg# Check whether --with-fontdir was given.
508350539131Smrgif test "${with_fontdir+set}" = set; then
508450539131Smrg  withval=$with_fontdir; FONTDIR="${withval}"
508550539131Smrgelse
508650539131Smrg  FONTDIR='${FONTROOTDIR}/75dpi'
508750539131Smrgfi
508850539131Smrg
508950539131Smrg
509050539131Smrg	{ $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5
509150539131Smrg$as_echo "${FONTDIR}" >&6; }
509250539131Smrg
5093ded1caa4Smrg
509450539131Smrg
509550539131Smrg
509650539131Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
509750539131Smrgset dummy fc-cache; ac_word=$2
509850539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
509950539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
510050539131Smrgif test "${ac_cv_path_FCCACHE+set}" = set; then
510150539131Smrg  $as_echo_n "(cached) " >&6
510250539131Smrgelse
510350539131Smrg  case $FCCACHE in
510450539131Smrg  [\\/]* | ?:[\\/]*)
510550539131Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
510650539131Smrg  ;;
510750539131Smrg  *)
510850539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
510950539131Smrgfor as_dir in $PATH
511050539131Smrgdo
511150539131Smrg  IFS=$as_save_IFS
511250539131Smrg  test -z "$as_dir" && as_dir=.
511350539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
511450539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
511550539131Smrg    ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext"
511650539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
511750539131Smrg    break 2
511850539131Smrg  fi
511950539131Smrgdone
512050539131Smrgdone
512150539131SmrgIFS=$as_save_IFS
512250539131Smrg
512350539131Smrg  ;;
512450539131Smrgesac
512550539131Smrgfi
512650539131SmrgFCCACHE=$ac_cv_path_FCCACHE
512750539131Smrgif test -n "$FCCACHE"; then
512850539131Smrg  { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5
512950539131Smrg$as_echo "$FCCACHE" >&6; }
5130ded1caa4Smrgelse
513150539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
513250539131Smrg$as_echo "no" >&6; }
5133ded1caa4Smrgfi
5134ded1caa4Smrg
513550539131Smrg
513650539131Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
513750539131Smrg	if test x"$FCCACHE" = x ; then
513850539131Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
513950539131Smrg	else
514050539131Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
514150539131Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
514250539131Smrg	fi
514350539131Smrg
514450539131Smrg
514550539131Smrg
514650539131Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
5147ded1caa4Smrgset dummy mkfontdir; ac_word=$2
514850539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
514950539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
5150ded1caa4Smrgif test "${ac_cv_path_MKFONTDIR+set}" = set; then
515150539131Smrg  $as_echo_n "(cached) " >&6
5152ded1caa4Smrgelse
5153ded1caa4Smrg  case $MKFONTDIR in
5154ded1caa4Smrg  [\\/]* | ?:[\\/]*)
5155ded1caa4Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
5156ded1caa4Smrg  ;;
5157ded1caa4Smrg  *)
5158ded1caa4Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159ded1caa4Smrgfor as_dir in $PATH
5160ded1caa4Smrgdo
5161ded1caa4Smrg  IFS=$as_save_IFS
5162ded1caa4Smrg  test -z "$as_dir" && as_dir=.
5163ded1caa4Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
516450539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5165ded1caa4Smrg    ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
516650539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167ded1caa4Smrg    break 2
5168ded1caa4Smrg  fi
5169ded1caa4Smrgdone
5170ded1caa4Smrgdone
517150539131SmrgIFS=$as_save_IFS
5172ded1caa4Smrg
5173ded1caa4Smrg  ;;
5174ded1caa4Smrgesac
5175ded1caa4Smrgfi
5176ded1caa4SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
5177ded1caa4Smrgif test -n "$MKFONTDIR"; then
517850539131Smrg  { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
517950539131Smrg$as_echo "$MKFONTDIR" >&6; }
5180ded1caa4Smrgelse
518150539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
518250539131Smrg$as_echo "no" >&6; }
5183ded1caa4Smrgfi
5184ded1caa4Smrg
5185ded1caa4Smrg
518650539131Smrg	if test x"MKFONTDIR" = x; then
518750539131Smrg		{ { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5
518850539131Smrg$as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;}
518950539131Smrg   { (exit 1); exit 1; }; }
519050539131Smrg	fi
5191ded1caa4Smrg
5192ded1caa4Smrg
5193ded1caa4Smrg
519450539131Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
519550539131Smrgset dummy bdftopcf; ac_word=$2
519650539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
519750539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
519850539131Smrgif test "${ac_cv_path_BDFTOPCF+set}" = set; then
519950539131Smrg  $as_echo_n "(cached) " >&6
520050539131Smrgelse
520150539131Smrg  case $BDFTOPCF in
520250539131Smrg  [\\/]* | ?:[\\/]*)
520350539131Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
520450539131Smrg  ;;
520550539131Smrg  *)
520650539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
520750539131Smrgfor as_dir in $PATH
520850539131Smrgdo
520950539131Smrg  IFS=$as_save_IFS
521050539131Smrg  test -z "$as_dir" && as_dir=.
521150539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
521250539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
521350539131Smrg    ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext"
521450539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
521550539131Smrg    break 2
521650539131Smrg  fi
521750539131Smrgdone
521850539131Smrgdone
521950539131SmrgIFS=$as_save_IFS
522050539131Smrg
522150539131Smrg  ;;
522250539131Smrgesac
522350539131Smrgfi
522450539131SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
522550539131Smrgif test -n "$BDFTOPCF"; then
522650539131Smrg  { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5
522750539131Smrg$as_echo "$BDFTOPCF" >&6; }
5228ded1caa4Smrgelse
522950539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
523050539131Smrg$as_echo "no" >&6; }
523150539131Smrgfi
523250539131Smrg
5233ded1caa4Smrg
523450539131Smrg	if test x"BDFTOPCF" = x; then
523550539131Smrg		{ { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5
523650539131Smrg$as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;}
523750539131Smrg   { (exit 1); exit 1; }; }
523850539131Smrg	fi
5239ded1caa4Smrg
5240ded1caa4Smrg
524150539131Smrg	{ $as_echo "$as_me:$LINENO: checking font compression method" >&5
524250539131Smrg$as_echo_n "checking font compression method... " >&6; }
5243ded1caa4Smrg
524450539131Smrg# Check whether --with-compression was given.
524550539131Smrgif test "${with_compression+set}" = set; then
524650539131Smrg  withval=$with_compression; compression="$withval"
5247ded1caa4Smrgelse
524850539131Smrg  compression="yes"
524950539131Smrgfi
525050539131Smrg
525150539131Smrg	if test x"$compression" = "xyes" ; then
525250539131Smrg		compression="gzip"
525350539131Smrg	fi
525450539131Smrg	{ $as_echo "$as_me:$LINENO: result: ${compression}" >&5
525550539131Smrg$as_echo "${compression}" >&6; }
525650539131Smrg	case ${compression} in
525750539131Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
525850539131Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;;
525950539131Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
526050539131Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
526150539131Smrg	 *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5
526250539131Smrg$as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;}
526350539131Smrg   { (exit 1); exit 1; }; } ;;
526450539131Smrg	esac
526550539131Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
526650539131Smrg
526750539131Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
526850539131Smrgset dummy ${compression}; ac_word=$2
526950539131Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
527050539131Smrg$as_echo_n "checking for $ac_word... " >&6; }
527150539131Smrgif test "${ac_cv_path_COMPRESS+set}" = set; then
527250539131Smrg  $as_echo_n "(cached) " >&6
527350539131Smrgelse
527450539131Smrg  case $COMPRESS in
527550539131Smrg  [\\/]* | ?:[\\/]*)
527650539131Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
527750539131Smrg  ;;
527850539131Smrg  *)
527950539131Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
528050539131Smrgfor as_dir in $PATH
528150539131Smrgdo
528250539131Smrg  IFS=$as_save_IFS
528350539131Smrg  test -z "$as_dir" && as_dir=.
528450539131Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
528550539131Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
528650539131Smrg    ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
528750539131Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
528850539131Smrg    break 2
528950539131Smrg  fi
529050539131Smrgdone
529150539131Smrgdone
529250539131SmrgIFS=$as_save_IFS
529350539131Smrg
529450539131Smrg  ;;
529550539131Smrgesac
529650539131Smrgfi
529750539131SmrgCOMPRESS=$ac_cv_path_COMPRESS
529850539131Smrgif test -n "$COMPRESS"; then
529950539131Smrg  { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5
530050539131Smrg$as_echo "$COMPRESS" >&6; }
530150539131Smrgelse
530250539131Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
530350539131Smrg$as_echo "no" >&6; }
530450539131Smrgfi
530550539131Smrg
530650539131Smrg
530750539131Smrg	if test x"COMPRESS" = x; then
530850539131Smrg		{ { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5
530950539131Smrg$as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;}
531050539131Smrg   { (exit 1); exit 1; }; }
531150539131Smrg	fi
531250539131Smrg
5313ded1caa4Smrg	fi
5314ded1caa4Smrg
5315ded1caa4Smrg
531650539131Smrg
531750539131Smrg
531850539131Smrgac_config_files="$ac_config_files Makefile"
531950539131Smrg
5320ded1caa4Smrgcat >confcache <<\_ACEOF
5321ded1caa4Smrg# This file is a shell script that caches the results of configure
5322ded1caa4Smrg# tests run on this system so they can be shared between configure
5323ded1caa4Smrg# scripts and configure runs, see configure's option --config-cache.
5324ded1caa4Smrg# It is not useful on other systems.  If it contains results you don't
5325ded1caa4Smrg# want to keep, you may remove or edit it.
5326ded1caa4Smrg#
5327ded1caa4Smrg# config.status only pays attention to the cache file if you give it
5328ded1caa4Smrg# the --recheck option to rerun configure.
5329ded1caa4Smrg#
5330ded1caa4Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
5331ded1caa4Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
5332ded1caa4Smrg# following values.
5333ded1caa4Smrg
5334ded1caa4Smrg_ACEOF
5335ded1caa4Smrg
5336ded1caa4Smrg# The following way of writing the cache mishandles newlines in values,
5337ded1caa4Smrg# but we know of no workaround that is simple, portable, and efficient.
533850539131Smrg# So, we kill variables containing newlines.
5339ded1caa4Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
5340ded1caa4Smrg# and sets the high bit in the cache file unless we assign to the vars.
534150539131Smrg(
534250539131Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
534350539131Smrg    eval ac_val=\$$ac_var
534450539131Smrg    case $ac_val in #(
534550539131Smrg    *${as_nl}*)
534650539131Smrg      case $ac_var in #(
534750539131Smrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
534850539131Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
534950539131Smrg      esac
535050539131Smrg      case $ac_var in #(
535150539131Smrg      _ | IFS | as_nl) ;; #(
535250539131Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
535350539131Smrg      *) $as_unset $ac_var ;;
535450539131Smrg      esac ;;
535550539131Smrg    esac
535650539131Smrg  done
535750539131Smrg
5358ded1caa4Smrg  (set) 2>&1 |
535950539131Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
536050539131Smrg    *${as_nl}ac_space=\ *)
5361ded1caa4Smrg      # `set' does not quote correctly, so add quotes (double-quote
5362ded1caa4Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
5363ded1caa4Smrg      sed -n \
5364ded1caa4Smrg	"s/'/'\\\\''/g;
5365ded1caa4Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
536650539131Smrg      ;; #(
5367ded1caa4Smrg    *)
5368ded1caa4Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
536950539131Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5370ded1caa4Smrg      ;;
537150539131Smrg    esac |
537250539131Smrg    sort
537350539131Smrg) |
5374ded1caa4Smrg  sed '
537550539131Smrg     /^ac_cv_env_/b end
5376ded1caa4Smrg     t clear
537750539131Smrg     :clear
5378ded1caa4Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5379ded1caa4Smrg     t end
538050539131Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
538150539131Smrg     :end' >>confcache
538250539131Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
538350539131Smrg  if test -w "$cache_file"; then
538450539131Smrg    test "x$cache_file" != "x/dev/null" &&
538550539131Smrg      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
538650539131Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
5387ded1caa4Smrg    cat confcache >$cache_file
5388ded1caa4Smrg  else
538950539131Smrg    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
539050539131Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5391ded1caa4Smrg  fi
5392ded1caa4Smrgfi
5393ded1caa4Smrgrm -f confcache
5394ded1caa4Smrg
5395ded1caa4Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
5396ded1caa4Smrg# Let make expand exec_prefix.
5397ded1caa4Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5398ded1caa4Smrg
5399ded1caa4Smrg# Transform confdefs.h into DEFS.
5400ded1caa4Smrg# Protect against shell expansion while executing Makefile rules.
5401ded1caa4Smrg# Protect against Makefile macro expansion.
5402ded1caa4Smrg#
5403ded1caa4Smrg# If the first sed substitution is executed (which looks for macros that
540450539131Smrg# take arguments), then branch to the quote section.  Otherwise,
5405ded1caa4Smrg# look for a macro that doesn't take arguments.
540650539131Smrgac_script='
540750539131Smrg:mline
540850539131Smrg/\\$/{
540950539131Smrg N
541050539131Smrg s,\\\n,,
541150539131Smrg b mline
541250539131Smrg}
5413ded1caa4Smrgt clear
541450539131Smrg:clear
541550539131Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5416ded1caa4Smrgt quote
541750539131Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5418ded1caa4Smrgt quote
541950539131Smrgb any
542050539131Smrg:quote
542150539131Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
542250539131Smrgs/\[/\\&/g
542350539131Smrgs/\]/\\&/g
542450539131Smrgs/\$/$$/g
542550539131SmrgH
542650539131Smrg:any
542750539131Smrg${
542850539131Smrg	g
542950539131Smrg	s/^\n//
543050539131Smrg	s/\n/ /g
543150539131Smrg	p
543250539131Smrg}
543350539131Smrg'
543450539131SmrgDEFS=`sed -n "$ac_script" confdefs.h`
5435ded1caa4Smrg
5436ded1caa4Smrg
5437ded1caa4Smrgac_libobjs=
5438ded1caa4Smrgac_ltlibobjs=
5439ded1caa4Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5440ded1caa4Smrg  # 1. Remove the extension, and $U if already installed.
544150539131Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
544250539131Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
544350539131Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
544450539131Smrg  #    will be set to the directory where LIBOBJS objects are built.
544550539131Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
544650539131Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5447ded1caa4Smrgdone
5448ded1caa4SmrgLIBOBJS=$ac_libobjs
5449ded1caa4Smrg
5450ded1caa4SmrgLTLIBOBJS=$ac_ltlibobjs
5451ded1caa4Smrg
5452ded1caa4Smrg
545350539131Smrg if test -n "$EXEEXT"; then
545450539131Smrg  am__EXEEXT_TRUE=
545550539131Smrg  am__EXEEXT_FALSE='#'
545650539131Smrgelse
545750539131Smrg  am__EXEEXT_TRUE='#'
545850539131Smrg  am__EXEEXT_FALSE=
545950539131Smrgfi
546050539131Smrg
5461ded1caa4Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
546250539131Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
546350539131SmrgUsually this means the macro was only invoked conditionally." >&5
546450539131Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
546550539131SmrgUsually this means the macro was only invoked conditionally." >&2;}
546650539131Smrg   { (exit 1); exit 1; }; }
546750539131Smrgfi
546850539131Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
546950539131Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
547050539131SmrgUsually this means the macro was only invoked conditionally." >&5
547150539131Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
547250539131SmrgUsually this means the macro was only invoked conditionally." >&2;}
547350539131Smrg   { (exit 1); exit 1; }; }
547450539131Smrgfi
547550539131Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
547650539131Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5477ded1caa4SmrgUsually this means the macro was only invoked conditionally." >&5
547850539131Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5479ded1caa4SmrgUsually this means the macro was only invoked conditionally." >&2;}
5480ded1caa4Smrg   { (exit 1); exit 1; }; }
5481ded1caa4Smrgfi
5482ded1caa4Smrg
5483ded1caa4Smrg: ${CONFIG_STATUS=./config.status}
548450539131Smrgac_write_fail=0
5485ded1caa4Smrgac_clean_files_save=$ac_clean_files
5486ded1caa4Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
548750539131Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
548850539131Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
548950539131Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5490ded1caa4Smrg#! $SHELL
5491ded1caa4Smrg# Generated by $as_me.
5492ded1caa4Smrg# Run this file to recreate the current configuration.
5493ded1caa4Smrg# Compiler output produced by configure, useful for debugging
5494ded1caa4Smrg# configure, is in config.log if it exists.
5495ded1caa4Smrg
5496ded1caa4Smrgdebug=false
5497ded1caa4Smrgac_cs_recheck=false
5498ded1caa4Smrgac_cs_silent=false
5499ded1caa4SmrgSHELL=\${CONFIG_SHELL-$SHELL}
5500ded1caa4Smrg_ACEOF
5501ded1caa4Smrg
550250539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5503ded1caa4Smrg## --------------------- ##
5504ded1caa4Smrg## M4sh Initialization.  ##
5505ded1caa4Smrg## --------------------- ##
5506ded1caa4Smrg
550750539131Smrg# Be more Bourne compatible
550850539131SmrgDUALCASE=1; export DUALCASE # for MKS sh
5509ded1caa4Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5510ded1caa4Smrg  emulate sh
5511ded1caa4Smrg  NULLCMD=:
551250539131Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5513ded1caa4Smrg  # is contrary to our usage.  Disable this feature.
5514ded1caa4Smrg  alias -g '${1+"$@"}'='"$@"'
551550539131Smrg  setopt NO_GLOB_SUBST
551650539131Smrgelse
551750539131Smrg  case `(set -o) 2>/dev/null` in
551850539131Smrg  *posix*) set -o posix ;;
551950539131Smrgesac
552050539131Smrg
552150539131Smrgfi
552250539131Smrg
552350539131Smrg
552450539131Smrg
552550539131Smrg
552650539131Smrg# PATH needs CR
552750539131Smrg# Avoid depending upon Character Ranges.
552850539131Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
552950539131Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
553050539131Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
553150539131Smrgas_cr_digits='0123456789'
553250539131Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
553350539131Smrg
553450539131Smrgas_nl='
553550539131Smrg'
553650539131Smrgexport as_nl
553750539131Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
553850539131Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
553950539131Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
554050539131Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
554150539131Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
554250539131Smrg  as_echo='printf %s\n'
554350539131Smrg  as_echo_n='printf %s'
554450539131Smrgelse
554550539131Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
554650539131Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
554750539131Smrg    as_echo_n='/usr/ucb/echo -n'
554850539131Smrg  else
554950539131Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
555050539131Smrg    as_echo_n_body='eval
555150539131Smrg      arg=$1;
555250539131Smrg      case $arg in
555350539131Smrg      *"$as_nl"*)
555450539131Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
555550539131Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
555650539131Smrg      esac;
555750539131Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
555850539131Smrg    '
555950539131Smrg    export as_echo_n_body
556050539131Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
556150539131Smrg  fi
556250539131Smrg  export as_echo_body
556350539131Smrg  as_echo='sh -c $as_echo_body as_echo'
556450539131Smrgfi
556550539131Smrg
556650539131Smrg# The user is always right.
556750539131Smrgif test "${PATH_SEPARATOR+set}" != set; then
556850539131Smrg  PATH_SEPARATOR=:
556950539131Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
557050539131Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
557150539131Smrg      PATH_SEPARATOR=';'
557250539131Smrg  }
5573ded1caa4Smrgfi
5574ded1caa4Smrg
5575ded1caa4Smrg# Support unset when possible.
5576ded1caa4Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5577ded1caa4Smrg  as_unset=unset
5578ded1caa4Smrgelse
5579ded1caa4Smrg  as_unset=false
5580ded1caa4Smrgfi
5581ded1caa4Smrg
5582ded1caa4Smrg
558350539131Smrg# IFS
558450539131Smrg# We need space, tab and new line, in precisely that order.  Quoting is
558550539131Smrg# there to prevent editors from complaining about space-tab.
558650539131Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
558750539131Smrg# splitting by setting IFS to empty value.)
558850539131SmrgIFS=" ""	$as_nl"
558950539131Smrg
559050539131Smrg# Find who we are.  Look in the path if we contain no directory separator.
559150539131Smrgcase $0 in
559250539131Smrg  *[\\/]* ) as_myself=$0 ;;
559350539131Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
559450539131Smrgfor as_dir in $PATH
559550539131Smrgdo
559650539131Smrg  IFS=$as_save_IFS
559750539131Smrg  test -z "$as_dir" && as_dir=.
559850539131Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
559950539131Smrgdone
560050539131SmrgIFS=$as_save_IFS
560150539131Smrg
560250539131Smrg     ;;
560350539131Smrgesac
560450539131Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
560550539131Smrg# in which case we are not to be found in the path.
560650539131Smrgif test "x$as_myself" = x; then
560750539131Smrg  as_myself=$0
560850539131Smrgfi
560950539131Smrgif test ! -f "$as_myself"; then
561050539131Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
561150539131Smrg  { (exit 1); exit 1; }
561250539131Smrgfi
561350539131Smrg
5614ded1caa4Smrg# Work around bugs in pre-3.0 UWIN ksh.
561550539131Smrgfor as_var in ENV MAIL MAILPATH
561650539131Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
561750539131Smrgdone
5618ded1caa4SmrgPS1='$ '
5619ded1caa4SmrgPS2='> '
5620ded1caa4SmrgPS4='+ '
5621ded1caa4Smrg
5622ded1caa4Smrg# NLS nuisances.
562350539131SmrgLC_ALL=C
562450539131Smrgexport LC_ALL
562550539131SmrgLANGUAGE=C
562650539131Smrgexport LANGUAGE
5627ded1caa4Smrg
5628ded1caa4Smrg# Required to use basename.
562950539131Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
563050539131Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5631ded1caa4Smrg  as_expr=expr
5632ded1caa4Smrgelse
5633ded1caa4Smrg  as_expr=false
5634ded1caa4Smrgfi
5635ded1caa4Smrg
563650539131Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5637ded1caa4Smrg  as_basename=basename
5638ded1caa4Smrgelse
5639ded1caa4Smrg  as_basename=false
5640ded1caa4Smrgfi
5641ded1caa4Smrg
5642ded1caa4Smrg
5643ded1caa4Smrg# Name of the executable.
564450539131Smrgas_me=`$as_basename -- "$0" ||
5645ded1caa4Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5646ded1caa4Smrg	 X"$0" : 'X\(//\)$' \| \
564750539131Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
564850539131Smrg$as_echo X/"$0" |
564950539131Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
565050539131Smrg	    s//\1/
565150539131Smrg	    q
565250539131Smrg	  }
565350539131Smrg	  /^X\/\(\/\/\)$/{
565450539131Smrg	    s//\1/
565550539131Smrg	    q
565650539131Smrg	  }
565750539131Smrg	  /^X\/\(\/\).*/{
565850539131Smrg	    s//\1/
565950539131Smrg	    q
566050539131Smrg	  }
566150539131Smrg	  s/.*/./; q'`
5662ded1caa4Smrg
566350539131Smrg# CDPATH.
566450539131Smrg$as_unset CDPATH
5665ded1caa4Smrg
5666ded1caa4Smrg
5667ded1caa4Smrg
5668ded1caa4Smrg  as_lineno_1=$LINENO
5669ded1caa4Smrg  as_lineno_2=$LINENO
5670ded1caa4Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
567150539131Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5672ded1caa4Smrg
5673ded1caa4Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5674ded1caa4Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
567550539131Smrg  # line-number line after each line using $LINENO; the second 'sed'
567650539131Smrg  # does the real work.  The second script uses 'N' to pair each
567750539131Smrg  # line-number line with the line containing $LINENO, and appends
567850539131Smrg  # trailing '-' during substitution so that $LINENO is not a special
567950539131Smrg  # case at line end.
5680ded1caa4Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
568150539131Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
568250539131Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
568350539131Smrg  sed -n '
568450539131Smrg    p
568550539131Smrg    /[$]LINENO/=
568650539131Smrg  ' <$as_myself |
5687ded1caa4Smrg    sed '
568850539131Smrg      s/[$]LINENO.*/&-/
568950539131Smrg      t lineno
569050539131Smrg      b
569150539131Smrg      :lineno
5692ded1caa4Smrg      N
569350539131Smrg      :loop
569450539131Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5695ded1caa4Smrg      t loop
569650539131Smrg      s/-\n.*//
5697ded1caa4Smrg    ' >$as_me.lineno &&
569850539131Smrg  chmod +x "$as_me.lineno" ||
569950539131Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5700ded1caa4Smrg   { (exit 1); exit 1; }; }
5701ded1caa4Smrg
5702ded1caa4Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
5703ded1caa4Smrg  # (the dirname of $[0] is not the place where we might find the
570450539131Smrg  # original and so on.  Autoconf is especially sensitive to this).
570550539131Smrg  . "./$as_me.lineno"
5706ded1caa4Smrg  # Exit status is that of the last command.
5707ded1caa4Smrg  exit
5708ded1caa4Smrg}
5709ded1caa4Smrg
5710ded1caa4Smrg
571150539131Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
571250539131Smrg  as_dirname=dirname
571350539131Smrgelse
571450539131Smrg  as_dirname=false
571550539131Smrgfi
5716ded1caa4Smrg
571750539131SmrgECHO_C= ECHO_N= ECHO_T=
571850539131Smrgcase `echo -n x` in
571950539131Smrg-n*)
572050539131Smrg  case `echo 'x\c'` in
572150539131Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
572250539131Smrg  *)   ECHO_C='\c';;
572350539131Smrg  esac;;
572450539131Smrg*)
572550539131Smrg  ECHO_N='-n';;
572650539131Smrgesac
572750539131Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
572850539131Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5729ded1caa4Smrg  as_expr=expr
5730ded1caa4Smrgelse
5731ded1caa4Smrg  as_expr=false
5732ded1caa4Smrgfi
5733ded1caa4Smrg
5734ded1caa4Smrgrm -f conf$$ conf$$.exe conf$$.file
573550539131Smrgif test -d conf$$.dir; then
573650539131Smrg  rm -f conf$$.dir/conf$$.file
573750539131Smrgelse
573850539131Smrg  rm -f conf$$.dir
573950539131Smrg  mkdir conf$$.dir 2>/dev/null
574050539131Smrgfi
574150539131Smrgif (echo >conf$$.file) 2>/dev/null; then
574250539131Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5743ded1caa4Smrg    as_ln_s='ln -s'
574450539131Smrg    # ... but there are two gotchas:
574550539131Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
574650539131Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
574750539131Smrg    # In both cases, we have to default to `cp -p'.
574850539131Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
574950539131Smrg      as_ln_s='cp -p'
575050539131Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
575150539131Smrg    as_ln_s=ln
575250539131Smrg  else
575350539131Smrg    as_ln_s='cp -p'
5754ded1caa4Smrg  fi
5755ded1caa4Smrgelse
5756ded1caa4Smrg  as_ln_s='cp -p'
5757ded1caa4Smrgfi
575850539131Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
575950539131Smrgrmdir conf$$.dir 2>/dev/null
5760ded1caa4Smrg
5761ded1caa4Smrgif mkdir -p . 2>/dev/null; then
5762ded1caa4Smrg  as_mkdir_p=:
5763ded1caa4Smrgelse
5764ded1caa4Smrg  test -d ./-p && rmdir ./-p
5765ded1caa4Smrg  as_mkdir_p=false
5766ded1caa4Smrgfi
5767ded1caa4Smrg
576850539131Smrgif test -x / >/dev/null 2>&1; then
576950539131Smrg  as_test_x='test -x'
577050539131Smrgelse
577150539131Smrg  if ls -dL / >/dev/null 2>&1; then
577250539131Smrg    as_ls_L_option=L
577350539131Smrg  else
577450539131Smrg    as_ls_L_option=
577550539131Smrg  fi
577650539131Smrg  as_test_x='
577750539131Smrg    eval sh -c '\''
577850539131Smrg      if test -d "$1"; then
577950539131Smrg	test -d "$1/.";
578050539131Smrg      else
578150539131Smrg	case $1 in
578250539131Smrg	-*)set "./$1";;
578350539131Smrg	esac;
578450539131Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
578550539131Smrg	???[sx]*):;;*)false;;esac;fi
578650539131Smrg    '\'' sh
578750539131Smrg  '
578850539131Smrgfi
578950539131Smrgas_executable_p=$as_test_x
5790ded1caa4Smrg
5791ded1caa4Smrg# Sed expression to map a string onto a valid CPP name.
5792ded1caa4Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5793ded1caa4Smrg
5794ded1caa4Smrg# Sed expression to map a string onto a valid variable name.
5795ded1caa4Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5796ded1caa4Smrg
5797ded1caa4Smrg
5798ded1caa4Smrgexec 6>&1
5799ded1caa4Smrg
580050539131Smrg# Save the log message, to keep $[0] and so on meaningful, and to
5801ded1caa4Smrg# report actual input values of CONFIG_FILES etc. instead of their
580250539131Smrg# values after options handling.
580350539131Smrgac_log="
580450539131SmrgThis file was extended by font-bitstream-75dpi $as_me 1.0.1, which was
580550539131Smrggenerated by GNU Autoconf 2.63.  Invocation command line was
5806ded1caa4Smrg
5807ded1caa4Smrg  CONFIG_FILES    = $CONFIG_FILES
5808ded1caa4Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
5809ded1caa4Smrg  CONFIG_LINKS    = $CONFIG_LINKS
5810ded1caa4Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
5811ded1caa4Smrg  $ $0 $@
5812ded1caa4Smrg
581350539131Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
581450539131Smrg"
581550539131Smrg
5816ded1caa4Smrg_ACEOF
5817ded1caa4Smrg
581850539131Smrgcase $ac_config_files in *"
581950539131Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
582050539131Smrgesac
5821ded1caa4Smrg
5822ded1caa4Smrg
5823ded1caa4Smrg
582450539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
582550539131Smrg# Files that config.status was made for.
582650539131Smrgconfig_files="$ac_config_files"
582750539131Smrgconfig_commands="$ac_config_commands"
5828ded1caa4Smrg
582950539131Smrg_ACEOF
5830ded1caa4Smrg
583150539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5832ded1caa4Smrgac_cs_usage="\
5833ded1caa4Smrg\`$as_me' instantiates files from templates according to the
5834ded1caa4Smrgcurrent configuration.
5835ded1caa4Smrg
583650539131SmrgUsage: $0 [OPTION]... [FILE]...
5837ded1caa4Smrg
5838ded1caa4Smrg  -h, --help       print this help, then exit
583950539131Smrg  -V, --version    print version number and configuration settings, then exit
584050539131Smrg  -q, --quiet, --silent
584150539131Smrg                   do not print progress messages
5842ded1caa4Smrg  -d, --debug      don't remove temporary files
5843ded1caa4Smrg      --recheck    update $as_me by reconfiguring in the same conditions
584450539131Smrg      --file=FILE[:TEMPLATE]
584550539131Smrg                   instantiate the configuration file FILE
5846ded1caa4Smrg
5847ded1caa4SmrgConfiguration files:
5848ded1caa4Smrg$config_files
5849ded1caa4Smrg
585050539131SmrgConfiguration commands:
585150539131Smrg$config_commands
585250539131Smrg
5853ded1caa4SmrgReport bugs to <bug-autoconf@gnu.org>."
5854ded1caa4Smrg
585550539131Smrg_ACEOF
585650539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5857ded1caa4Smrgac_cs_version="\\
585850539131Smrgfont-bitstream-75dpi config.status 1.0.1
585950539131Smrgconfigured by $0, generated by GNU Autoconf 2.63,
586050539131Smrg  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5861ded1caa4Smrg
586250539131SmrgCopyright (C) 2008 Free Software Foundation, Inc.
5863ded1caa4SmrgThis config.status script is free software; the Free Software Foundation
5864ded1caa4Smrggives unlimited permission to copy, distribute and modify it."
586550539131Smrg
586650539131Smrgac_pwd='$ac_pwd'
586750539131Smrgsrcdir='$srcdir'
586850539131SmrgINSTALL='$INSTALL'
586950539131SmrgMKDIR_P='$MKDIR_P'
587050539131SmrgAWK='$AWK'
587150539131Smrgtest -n "\$AWK" || AWK=awk
5872ded1caa4Smrg_ACEOF
5873ded1caa4Smrg
587450539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
587550539131Smrg# The default lists apply if the user does not specify any file.
5876ded1caa4Smrgac_need_defaults=:
5877ded1caa4Smrgwhile test $# != 0
5878ded1caa4Smrgdo
5879ded1caa4Smrg  case $1 in
5880ded1caa4Smrg  --*=*)
588150539131Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
588250539131Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5883ded1caa4Smrg    ac_shift=:
5884ded1caa4Smrg    ;;
588550539131Smrg  *)
5886ded1caa4Smrg    ac_option=$1
5887ded1caa4Smrg    ac_optarg=$2
5888ded1caa4Smrg    ac_shift=shift
5889ded1caa4Smrg    ;;
5890ded1caa4Smrg  esac
5891ded1caa4Smrg
5892ded1caa4Smrg  case $ac_option in
5893ded1caa4Smrg  # Handling of the options.
5894ded1caa4Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5895ded1caa4Smrg    ac_cs_recheck=: ;;
589650539131Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
589750539131Smrg    $as_echo "$ac_cs_version"; exit ;;
589850539131Smrg  --debug | --debu | --deb | --de | --d | -d )
5899ded1caa4Smrg    debug=: ;;
5900ded1caa4Smrg  --file | --fil | --fi | --f )
5901ded1caa4Smrg    $ac_shift
590250539131Smrg    case $ac_optarg in
590350539131Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
590450539131Smrg    esac
590550539131Smrg    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5906ded1caa4Smrg    ac_need_defaults=false;;
590750539131Smrg  --he | --h |  --help | --hel | -h )
590850539131Smrg    $as_echo "$ac_cs_usage"; exit ;;
5909ded1caa4Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5910ded1caa4Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5911ded1caa4Smrg    ac_cs_silent=: ;;
5912ded1caa4Smrg
5913ded1caa4Smrg  # This is an error.
591450539131Smrg  -*) { $as_echo "$as_me: error: unrecognized option: $1
591550539131SmrgTry \`$0 --help' for more information." >&2
5916ded1caa4Smrg   { (exit 1); exit 1; }; } ;;
5917ded1caa4Smrg
591850539131Smrg  *) ac_config_targets="$ac_config_targets $1"
591950539131Smrg     ac_need_defaults=false ;;
5920ded1caa4Smrg
5921ded1caa4Smrg  esac
5922ded1caa4Smrg  shift
5923ded1caa4Smrgdone
5924ded1caa4Smrg
5925ded1caa4Smrgac_configure_extra_args=
5926ded1caa4Smrg
5927ded1caa4Smrgif $ac_cs_silent; then
5928ded1caa4Smrg  exec 6>/dev/null
5929ded1caa4Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
5930ded1caa4Smrgfi
5931ded1caa4Smrg
5932ded1caa4Smrg_ACEOF
593350539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5934ded1caa4Smrgif \$ac_cs_recheck; then
593550539131Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
593650539131Smrg  shift
593750539131Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
593850539131Smrg  CONFIG_SHELL='$SHELL'
593950539131Smrg  export CONFIG_SHELL
594050539131Smrg  exec "\$@"
5941ded1caa4Smrgfi
5942ded1caa4Smrg
5943ded1caa4Smrg_ACEOF
594450539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
594550539131Smrgexec 5>>config.log
594650539131Smrg{
594750539131Smrg  echo
594850539131Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
594950539131Smrg## Running $as_me. ##
595050539131Smrg_ASBOX
595150539131Smrg  $as_echo "$ac_log"
595250539131Smrg} >&5
5953ded1caa4Smrg
595450539131Smrg_ACEOF
595550539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
595650539131Smrg#
595750539131Smrg# INIT-COMMANDS
595850539131Smrg#
595950539131SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5960ded1caa4Smrg
596150539131Smrg_ACEOF
5962ded1caa4Smrg
596350539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5964ded1caa4Smrg
596550539131Smrg# Handling of arguments.
5966ded1caa4Smrgfor ac_config_target in $ac_config_targets
5967ded1caa4Smrgdo
596850539131Smrg  case $ac_config_target in
596950539131Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
597050539131Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
597150539131Smrg
597250539131Smrg  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
597350539131Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5974ded1caa4Smrg   { (exit 1); exit 1; }; };;
5975ded1caa4Smrg  esac
5976ded1caa4Smrgdone
5977ded1caa4Smrg
597850539131Smrg
5979ded1caa4Smrg# If the user did not use the arguments to specify the items to instantiate,
5980ded1caa4Smrg# then the envvar interface is used.  Set only those that are not.
5981ded1caa4Smrg# We use the long form for the default assignment because of an extremely
5982ded1caa4Smrg# bizarre bug on SunOS 4.1.3.
5983ded1caa4Smrgif $ac_need_defaults; then
5984ded1caa4Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
598550539131Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5986ded1caa4Smrgfi
5987ded1caa4Smrg
5988ded1caa4Smrg# Have a temporary directory for convenience.  Make it in the build tree
598950539131Smrg# simply because there is no reason against having it here, and in addition,
5990ded1caa4Smrg# creating and moving files from /tmp can sometimes cause problems.
599150539131Smrg# Hook for its removal unless debugging.
599250539131Smrg# Note that there is a small window in which the directory will not be cleaned:
599350539131Smrg# after its creation but before its name has been assigned to `$tmp'.
5994ded1caa4Smrg$debug ||
5995ded1caa4Smrg{
599650539131Smrg  tmp=
599750539131Smrg  trap 'exit_status=$?
599850539131Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
599950539131Smrg' 0
6000ded1caa4Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
6001ded1caa4Smrg}
6002ded1caa4Smrg# Create a (secure) tmp directory for tmp files.
6003ded1caa4Smrg
6004ded1caa4Smrg{
600550539131Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6006ded1caa4Smrg  test -n "$tmp" && test -d "$tmp"
6007ded1caa4Smrg}  ||
6008ded1caa4Smrg{
600950539131Smrg  tmp=./conf$$-$RANDOM
601050539131Smrg  (umask 077 && mkdir "$tmp")
6011ded1caa4Smrg} ||
6012ded1caa4Smrg{
601350539131Smrg   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6014ded1caa4Smrg   { (exit 1); exit 1; }
6015ded1caa4Smrg}
6016ded1caa4Smrg
601750539131Smrg# Set up the scripts for CONFIG_FILES section.
601850539131Smrg# No need to generate them if there are no CONFIG_FILES.
601950539131Smrg# This happens for instance with `./config.status config.h'.
602050539131Smrgif test -n "$CONFIG_FILES"; then
602150539131Smrg
602250539131Smrg
602350539131Smrgac_cr='
602450539131Smrg'
602550539131Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
602650539131Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
602750539131Smrg  ac_cs_awk_cr='\\r'
602850539131Smrgelse
602950539131Smrg  ac_cs_awk_cr=$ac_cr
603050539131Smrgfi
603150539131Smrg
6032ded1caa4Smrgecho 'BEGIN {' >"$tmp/subs1.awk" &&
6033ded1caa4Smrg_ACEOF
6034ded1caa4Smrg
603550539131Smrg
603650539131Smrg{
603750539131Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
603850539131Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
603950539131Smrg  echo "_ACEOF"
604050539131Smrg} >conf$$subs.sh ||
604150539131Smrg  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
604250539131Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
604350539131Smrg   { (exit 1); exit 1; }; }
604450539131Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
604550539131Smrgac_delim='%!_!# '
604650539131Smrgfor ac_last_try in false false false false false :; do
604750539131Smrg  . ./conf$$subs.sh ||
604850539131Smrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
604950539131Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6050ded1caa4Smrg   { (exit 1); exit 1; }; }
605150539131Smrg
605250539131Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
605350539131Smrg  if test $ac_delim_n = $ac_delim_num; then
605450539131Smrg    break
605550539131Smrg  elif $ac_last_try; then
605650539131Smrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
605750539131Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
605850539131Smrg   { (exit 1); exit 1; }; }
605950539131Smrg  else
6060ded1caa4Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
606150539131Smrg  fi
606250539131Smrgdone
6063ded1caa4Smrgrm -f conf$$subs.sh
606450539131Smrg
606550539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6066ded1caa4Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
606750539131Smrg_ACEOF
606850539131Smrgsed -n '
606950539131Smrgh
607050539131Smrgs/^/S["/; s/!.*/"]=/
607150539131Smrgp
607250539131Smrgg
607350539131Smrgs/^[^!]*!//
607450539131Smrg:repl
607550539131Smrgt repl
607650539131Smrgs/'"$ac_delim"'$//
607750539131Smrgt delim
607850539131Smrg:nl
607950539131Smrgh
608050539131Smrgs/\(.\{148\}\).*/\1/
608150539131Smrgt more1
608250539131Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
608350539131Smrgp
608450539131Smrgn
608550539131Smrgb repl
608650539131Smrg:more1
608750539131Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
608850539131Smrgp
608950539131Smrgg
609050539131Smrgs/.\{148\}//
609150539131Smrgt nl
609250539131Smrg:delim
609350539131Smrgh
609450539131Smrgs/\(.\{148\}\).*/\1/
609550539131Smrgt more2
609650539131Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
609750539131Smrgp
609850539131Smrgb
609950539131Smrg:more2
610050539131Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
610150539131Smrgp
610250539131Smrgg
610350539131Smrgs/.\{148\}//
610450539131Smrgt delim
610550539131Smrg' <conf$$subs.awk | sed '
610650539131Smrg/^[^""]/{
610750539131Smrg  N
610850539131Smrg  s/\n//
610950539131Smrg}
611050539131Smrg' >>$CONFIG_STATUS || ac_write_fail=1
611150539131Smrgrm -f conf$$subs.awk
611250539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
611350539131Smrg_ACAWK
611450539131Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK &&
611550539131Smrg  for (key in S) S_is_set[key] = 1
611650539131Smrg  FS = ""
611750539131Smrg
611850539131Smrg}
611950539131Smrg{
612050539131Smrg  line = $ 0
612150539131Smrg  nfields = split(line, field, "@")
612250539131Smrg  substed = 0
612350539131Smrg  len = length(field[1])
612450539131Smrg  for (i = 2; i < nfields; i++) {
612550539131Smrg    key = field[i]
612650539131Smrg    keylen = length(key)
612750539131Smrg    if (S_is_set[key]) {
612850539131Smrg      value = S[key]
612950539131Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
613050539131Smrg      len += length(value) + length(field[++i])
613150539131Smrg      substed = 1
613250539131Smrg    } else
613350539131Smrg      len += 1 + keylen
613450539131Smrg  }
613550539131Smrg
613650539131Smrg  print line
613750539131Smrg}
613850539131Smrg
613950539131Smrg_ACAWK
614050539131Smrg_ACEOF
614150539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
614250539131Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
614350539131Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
614450539131Smrgelse
614550539131Smrg  cat
614650539131Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
614750539131Smrg  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
614850539131Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;}
614950539131Smrg   { (exit 1); exit 1; }; }
615050539131Smrg_ACEOF
615150539131Smrg
615250539131Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
615350539131Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
615450539131Smrg# trailing colons and then remove the whole line if VPATH becomes empty
615550539131Smrg# (actually we leave an empty line to preserve line numbers).
615650539131Smrgif test "x$srcdir" = x.; then
615750539131Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
615850539131Smrgs/:*\$(srcdir):*/:/
615950539131Smrgs/:*\${srcdir}:*/:/
616050539131Smrgs/:*@srcdir@:*/:/
616150539131Smrgs/^\([^=]*=[	 ]*\):*/\1/
616250539131Smrgs/:*$//
616350539131Smrgs/^[^=]*=[	 ]*$//
616450539131Smrg}'
616550539131Smrgfi
616650539131Smrg
616750539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
616850539131Smrgfi # test -n "$CONFIG_FILES"
616950539131Smrg
617050539131Smrg
617150539131Smrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
617250539131Smrgshift
617350539131Smrgfor ac_tag
617450539131Smrgdo
617550539131Smrg  case $ac_tag in
617650539131Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
617750539131Smrg  esac
617850539131Smrg  case $ac_mode$ac_tag in
617950539131Smrg  :[FHL]*:*);;
618050539131Smrg  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
618150539131Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
618250539131Smrg   { (exit 1); exit 1; }; };;
618350539131Smrg  :[FH]-) ac_tag=-:-;;
618450539131Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
618550539131Smrg  esac
618650539131Smrg  ac_save_IFS=$IFS
618750539131Smrg  IFS=:
618850539131Smrg  set x $ac_tag
618950539131Smrg  IFS=$ac_save_IFS
619050539131Smrg  shift
619150539131Smrg  ac_file=$1
619250539131Smrg  shift
619350539131Smrg
619450539131Smrg  case $ac_mode in
619550539131Smrg  :L) ac_source=$1;;
619650539131Smrg  :[FH])
619750539131Smrg    ac_file_inputs=
619850539131Smrg    for ac_f
619950539131Smrg    do
620050539131Smrg      case $ac_f in
620150539131Smrg      -) ac_f="$tmp/stdin";;
620250539131Smrg      *) # Look for the file first in the build tree, then in the source tree
620350539131Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
620450539131Smrg	 # because $ac_f cannot contain `:'.
620550539131Smrg	 test -f "$ac_f" ||
620650539131Smrg	   case $ac_f in
620750539131Smrg	   [\\/$]*) false;;
620850539131Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
620950539131Smrg	   esac ||
621050539131Smrg	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
621150539131Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
621250539131Smrg   { (exit 1); exit 1; }; };;
621350539131Smrg      esac
621450539131Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
621550539131Smrg      ac_file_inputs="$ac_file_inputs '$ac_f'"
621650539131Smrg    done
621750539131Smrg
621850539131Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
621950539131Smrg    # use $as_me), people would be surprised to read:
622050539131Smrg    #    /* config.h.  Generated by config.status.  */
622150539131Smrg    configure_input='Generated from '`
622250539131Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
622350539131Smrg	`' by configure.'
622450539131Smrg    if test x"$ac_file" != x-; then
622550539131Smrg      configure_input="$ac_file.  $configure_input"
622650539131Smrg      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
622750539131Smrg$as_echo "$as_me: creating $ac_file" >&6;}
622850539131Smrg    fi
622950539131Smrg    # Neutralize special characters interpreted by sed in replacement strings.
623050539131Smrg    case $configure_input in #(
623150539131Smrg    *\&* | *\|* | *\\* )
623250539131Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
623350539131Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
623450539131Smrg    *) ac_sed_conf_input=$configure_input;;
623550539131Smrg    esac
623650539131Smrg
623750539131Smrg    case $ac_tag in
623850539131Smrg    *:-:* | *:-) cat >"$tmp/stdin" \
623950539131Smrg      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
624050539131Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
624150539131Smrg   { (exit 1); exit 1; }; } ;;
624250539131Smrg    esac
6243ded1caa4Smrg    ;;
6244ded1caa4Smrg  esac
624550539131Smrg
6246ded1caa4Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
6247ded1caa4Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6248ded1caa4Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
624950539131Smrg	 X"$ac_file" : 'X\(//\)$' \| \
625050539131Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
625150539131Smrg$as_echo X"$ac_file" |
625250539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
625350539131Smrg	    s//\1/
625450539131Smrg	    q
625550539131Smrg	  }
625650539131Smrg	  /^X\(\/\/\)[^/].*/{
625750539131Smrg	    s//\1/
625850539131Smrg	    q
625950539131Smrg	  }
626050539131Smrg	  /^X\(\/\/\)$/{
626150539131Smrg	    s//\1/
626250539131Smrg	    q
626350539131Smrg	  }
626450539131Smrg	  /^X\(\/\).*/{
626550539131Smrg	    s//\1/
626650539131Smrg	    q
626750539131Smrg	  }
626850539131Smrg	  s/.*/./; q'`
626950539131Smrg  { as_dir="$ac_dir"
627050539131Smrg  case $as_dir in #(
627150539131Smrg  -*) as_dir=./$as_dir;;
627250539131Smrg  esac
6273ded1caa4Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
627450539131Smrg    as_dirs=
627550539131Smrg    while :; do
627650539131Smrg      case $as_dir in #(
627750539131Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
627850539131Smrg      *) as_qdir=$as_dir;;
627950539131Smrg      esac
628050539131Smrg      as_dirs="'$as_qdir' $as_dirs"
6281ded1caa4Smrg      as_dir=`$as_dirname -- "$as_dir" ||
6282ded1caa4Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6283ded1caa4Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
628450539131Smrg	 X"$as_dir" : 'X\(//\)$' \| \
628550539131Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
628650539131Smrg$as_echo X"$as_dir" |
628750539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
628850539131Smrg	    s//\1/
628950539131Smrg	    q
629050539131Smrg	  }
629150539131Smrg	  /^X\(\/\/\)[^/].*/{
629250539131Smrg	    s//\1/
629350539131Smrg	    q
629450539131Smrg	  }
629550539131Smrg	  /^X\(\/\/\)$/{
629650539131Smrg	    s//\1/
629750539131Smrg	    q
629850539131Smrg	  }
629950539131Smrg	  /^X\(\/\).*/{
630050539131Smrg	    s//\1/
630150539131Smrg	    q
630250539131Smrg	  }
630350539131Smrg	  s/.*/./; q'`
6304ded1caa4Smrg      test -d "$as_dir" && break
630550539131Smrg    done
630650539131Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
630750539131Smrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6308ded1caa4Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6309ded1caa4Smrg   { (exit 1); exit 1; }; }; }
6310ded1caa4Smrg  ac_builddir=.
631150539131Smrg
631250539131Smrgcase "$ac_dir" in
631350539131Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
631450539131Smrg*)
631550539131Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
631650539131Smrg  # A ".." for each directory in $ac_dir_suffix.
631750539131Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
631850539131Smrg  case $ac_top_builddir_sub in
631950539131Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
632050539131Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
632150539131Smrg  esac ;;
632250539131Smrgesac
632350539131Smrgac_abs_top_builddir=$ac_pwd
632450539131Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
632550539131Smrg# for backward compatibility:
6326ded1caa4Smrgac_top_builddir=$ac_top_build_prefix
6327ded1caa4Smrg
632850539131Smrgcase $srcdir in
6329ded1caa4Smrg  .)  # We are building in place.
633050539131Smrg    ac_srcdir=.
633150539131Smrg    ac_top_srcdir=$ac_top_builddir_sub
633250539131Smrg    ac_abs_top_srcdir=$ac_pwd ;;
6333ded1caa4Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
633450539131Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
633550539131Smrg    ac_top_srcdir=$srcdir
633650539131Smrg    ac_abs_top_srcdir=$srcdir ;;
633750539131Smrg  *) # Relative name.
633850539131Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
633950539131Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
6340ded1caa4Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
634150539131Smrgesac
6342ded1caa4Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6343ded1caa4Smrg
634450539131Smrg
634550539131Smrg  case $ac_mode in
634650539131Smrg  :F)
634750539131Smrg  #
634850539131Smrg  # CONFIG_FILE
6349ded1caa4Smrg  #
6350ded1caa4Smrg
6351ded1caa4Smrg  case $INSTALL in
635250539131Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6353ded1caa4Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
635450539131Smrg  esac
635550539131Smrg  ac_MKDIR_P=$MKDIR_P
635650539131Smrg  case $MKDIR_P in
635750539131Smrg  [\\/$]* | ?:[\\/]* ) ;;
635850539131Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
635950539131Smrg  esac
6360ded1caa4Smrg_ACEOF
636150539131Smrg
636250539131Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
636350539131Smrg# If the template does not know about datarootdir, expand it.
636450539131Smrg# FIXME: This hack should be removed a few years after 2.60.
636550539131Smrgac_datarootdir_hack=; ac_datarootdir_seen=
636650539131Smrg
636750539131Smrgac_sed_dataroot='
636850539131Smrg/datarootdir/ {
636950539131Smrg  p
637050539131Smrg  q
637150539131Smrg}
637250539131Smrg/@datadir@/p
637350539131Smrg/@docdir@/p
637450539131Smrg/@infodir@/p
637550539131Smrg/@localedir@/p
637650539131Smrg/@mandir@/p
637750539131Smrg'
637850539131Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
637950539131Smrg*datarootdir*) ac_datarootdir_seen=yes;;
638050539131Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
638150539131Smrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
638250539131Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
638350539131Smrg_ACEOF
638450539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
638550539131Smrg  ac_datarootdir_hack='
638650539131Smrg  s&@datadir@&$datadir&g
638750539131Smrg  s&@docdir@&$docdir&g
638850539131Smrg  s&@infodir@&$infodir&g
638950539131Smrg  s&@localedir@&$localedir&g
639050539131Smrg  s&@mandir@&$mandir&g
639150539131Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
6392ded1caa4Smrgesac
639350539131Smrg_ACEOF
639450539131Smrg
639550539131Smrg# Neutralize VPATH when `$srcdir' = `.'.
639650539131Smrg# Shell code in configure.ac might set extrasub.
639750539131Smrg# FIXME: do we really want to maintain this feature?
639850539131Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6399ded1caa4Smrgac_sed_extra="$ac_vpsub
6400ded1caa4Smrg$extrasub
640150539131Smrg_ACEOF
6402ded1caa4Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6403ded1caa4Smrg:t
640450539131Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
640550539131Smrgs|@configure_input@|$ac_sed_conf_input|;t t
640650539131Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
640750539131Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
640850539131Smrgs&@srcdir@&$ac_srcdir&;t t
640950539131Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
641050539131Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
641150539131Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
641250539131Smrgs&@builddir@&$ac_builddir&;t t
641350539131Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
641450539131Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
641550539131Smrgs&@INSTALL@&$ac_INSTALL&;t t
641650539131Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
641750539131Smrg$ac_datarootdir_hack
641850539131Smrg"
641950539131Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
642050539131Smrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
642150539131Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6422ded1caa4Smrg   { (exit 1); exit 1; }; }
642350539131Smrg
642450539131Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
642550539131Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
642650539131Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
642750539131Smrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
642850539131Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
642950539131Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
643050539131Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
643150539131Smrg
643250539131Smrg  rm -f "$tmp/stdin"
643350539131Smrg  case $ac_file in
643450539131Smrg  -) cat "$tmp/out" && rm -f "$tmp/out";;
643550539131Smrg  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
643650539131Smrg  esac \
643750539131Smrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
643850539131Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
643950539131Smrg   { (exit 1); exit 1; }; }
644050539131Smrg ;;
644150539131Smrg
644250539131Smrg
644350539131Smrg  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
644450539131Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
644550539131Smrg ;;
644650539131Smrg  esac
644750539131Smrg
644850539131Smrg
644950539131Smrg  case $ac_file$ac_mode in
645050539131Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
645150539131Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
645250539131Smrg  # are listed without --file.  Let's play safe and only enable the eval
645350539131Smrg  # if we detect the quoting.
645450539131Smrg  case $CONFIG_FILES in
645550539131Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
645650539131Smrg  *)   set x $CONFIG_FILES ;;
645750539131Smrg  esac
645850539131Smrg  shift
645950539131Smrg  for mf
646050539131Smrg  do
646150539131Smrg    # Strip MF so we end up with the name of the file.
646250539131Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
646350539131Smrg    # Check whether this is an Automake generated Makefile or not.
646450539131Smrg    # We used to match only the files named `Makefile.in', but
646550539131Smrg    # some people rename them; so instead we look at the file content.
646650539131Smrg    # Grep'ing the first line is not enough: some people post-process
646750539131Smrg    # each Makefile.in and add a new line on top of each file to say so.
646850539131Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
646950539131Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
647050539131Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
647150539131Smrg      dirpart=`$as_dirname -- "$mf" ||
647250539131Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
647350539131Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
647450539131Smrg	 X"$mf" : 'X\(//\)$' \| \
647550539131Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
647650539131Smrg$as_echo X"$mf" |
647750539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
647850539131Smrg	    s//\1/
647950539131Smrg	    q
648050539131Smrg	  }
648150539131Smrg	  /^X\(\/\/\)[^/].*/{
648250539131Smrg	    s//\1/
648350539131Smrg	    q
648450539131Smrg	  }
648550539131Smrg	  /^X\(\/\/\)$/{
648650539131Smrg	    s//\1/
648750539131Smrg	    q
648850539131Smrg	  }
648950539131Smrg	  /^X\(\/\).*/{
649050539131Smrg	    s//\1/
649150539131Smrg	    q
649250539131Smrg	  }
649350539131Smrg	  s/.*/./; q'`
649450539131Smrg    else
649550539131Smrg      continue
649650539131Smrg    fi
649750539131Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
649850539131Smrg    # from the Makefile without running `make'.
649950539131Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
650050539131Smrg    test -z "$DEPDIR" && continue
650150539131Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
650250539131Smrg    test -z "am__include" && continue
650350539131Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
650450539131Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
650550539131Smrg    U=`sed -n 's/^U = //p' < "$mf"`
650650539131Smrg    # Find all dependency output files, they are included files with
650750539131Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
650850539131Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
650950539131Smrg    # expansion.
651050539131Smrg    for file in `sed -n "
651150539131Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
651250539131Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
651350539131Smrg      # Make sure the directory exists.
651450539131Smrg      test -f "$dirpart/$file" && continue
651550539131Smrg      fdir=`$as_dirname -- "$file" ||
651650539131Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
651750539131Smrg	 X"$file" : 'X\(//\)[^/]' \| \
651850539131Smrg	 X"$file" : 'X\(//\)$' \| \
651950539131Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
652050539131Smrg$as_echo X"$file" |
652150539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
652250539131Smrg	    s//\1/
652350539131Smrg	    q
652450539131Smrg	  }
652550539131Smrg	  /^X\(\/\/\)[^/].*/{
652650539131Smrg	    s//\1/
652750539131Smrg	    q
652850539131Smrg	  }
652950539131Smrg	  /^X\(\/\/\)$/{
653050539131Smrg	    s//\1/
653150539131Smrg	    q
653250539131Smrg	  }
653350539131Smrg	  /^X\(\/\).*/{
653450539131Smrg	    s//\1/
653550539131Smrg	    q
653650539131Smrg	  }
653750539131Smrg	  s/.*/./; q'`
653850539131Smrg      { as_dir=$dirpart/$fdir
653950539131Smrg  case $as_dir in #(
654050539131Smrg  -*) as_dir=./$as_dir;;
654150539131Smrg  esac
654250539131Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
654350539131Smrg    as_dirs=
654450539131Smrg    while :; do
654550539131Smrg      case $as_dir in #(
654650539131Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
654750539131Smrg      *) as_qdir=$as_dir;;
654850539131Smrg      esac
654950539131Smrg      as_dirs="'$as_qdir' $as_dirs"
655050539131Smrg      as_dir=`$as_dirname -- "$as_dir" ||
655150539131Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
655250539131Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
655350539131Smrg	 X"$as_dir" : 'X\(//\)$' \| \
655450539131Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
655550539131Smrg$as_echo X"$as_dir" |
655650539131Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
655750539131Smrg	    s//\1/
655850539131Smrg	    q
655950539131Smrg	  }
656050539131Smrg	  /^X\(\/\/\)[^/].*/{
656150539131Smrg	    s//\1/
656250539131Smrg	    q
656350539131Smrg	  }
656450539131Smrg	  /^X\(\/\/\)$/{
656550539131Smrg	    s//\1/
656650539131Smrg	    q
656750539131Smrg	  }
656850539131Smrg	  /^X\(\/\).*/{
656950539131Smrg	    s//\1/
657050539131Smrg	    q
657150539131Smrg	  }
657250539131Smrg	  s/.*/./; q'`
657350539131Smrg      test -d "$as_dir" && break
657450539131Smrg    done
657550539131Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
657650539131Smrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
657750539131Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
657850539131Smrg   { (exit 1); exit 1; }; }; }
657950539131Smrg      # echo "creating $dirpart/$file"
658050539131Smrg      echo '# dummy' > "$dirpart/$file"
658150539131Smrg    done
658250539131Smrg  done
658350539131Smrg}
658450539131Smrg ;;
658550539131Smrg
658650539131Smrg  esac
6587ded1caa4Smrgdone # for ac_tag
6588ded1caa4Smrg
6589ded1caa4Smrg
6590ded1caa4Smrg{ (exit 0); exit 0; }
6591ded1caa4Smrg_ACEOF
6592ded1caa4Smrgchmod +x $CONFIG_STATUS
6593ded1caa4Smrgac_clean_files=$ac_clean_files_save
659450539131Smrg
659550539131Smrgtest $ac_write_fail = 0 ||
659650539131Smrg  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
659750539131Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
659850539131Smrg   { (exit 1); exit 1; }; }
6599ded1caa4Smrg
6600ded1caa4Smrg
6601ded1caa4Smrg# configure is writing to config.log, and then calls config.status.
6602ded1caa4Smrg# config.status does its own redirection, appending to config.log.
6603ded1caa4Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
6604ded1caa4Smrg# by configure, so config.status won't be able to write to it; its
6605ded1caa4Smrg# output is simply discarded.  So we exec the FD to /dev/null,
6606ded1caa4Smrg# effectively closing config.log, so it can be properly (re)opened and
6607ded1caa4Smrg# appended to by config.status.  When coming back to configure, we
6608ded1caa4Smrg# need to make the FD available again.
6609ded1caa4Smrgif test "$no_create" != yes; then
6610ded1caa4Smrg  ac_cs_success=:
6611ded1caa4Smrg  ac_config_status_args=
6612ded1caa4Smrg  test "$silent" = yes &&
6613ded1caa4Smrg    ac_config_status_args="$ac_config_status_args --quiet"
6614ded1caa4Smrg  exec 5>/dev/null
6615ded1caa4Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6616ded1caa4Smrg  exec 5>>config.log
6617ded1caa4Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6618ded1caa4Smrg  # would make configure fail if this is the last instruction.
6619ded1caa4Smrg  $ac_cs_success || { (exit 1); exit 1; }
662050539131Smrgfi
662150539131Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
662250539131Smrg  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
662350539131Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6624ded1caa4Smrgfi
6625
6626