configure revision 2d62a77c
1a99f82b8Smrg#! /bin/sh
2a99f82b8Smrg# Guess values for system-dependent variables and create Makefiles.
32d62a77cSmrg# Generated by GNU Autoconf 2.63 for font-alias 1.0.2.
4a99f82b8Smrg#
5a99f82b8Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6a99f82b8Smrg#
72d62a77cSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
82d62a77cSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9a99f82b8Smrg# This configure script is free software; the Free Software Foundation
10a99f82b8Smrg# gives unlimited permission to copy, distribute and modify it.
11a99f82b8Smrg## --------------------- ##
12a99f82b8Smrg## M4sh Initialization.  ##
13a99f82b8Smrg## --------------------- ##
14a99f82b8Smrg
152d62a77cSmrg# Be more Bourne compatible
162d62a77cSmrgDUALCASE=1; export DUALCASE # for MKS sh
17a99f82b8Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18a99f82b8Smrg  emulate sh
19a99f82b8Smrg  NULLCMD=:
202d62a77cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21a99f82b8Smrg  # is contrary to our usage.  Disable this feature.
22a99f82b8Smrg  alias -g '${1+"$@"}'='"$@"'
232d62a77cSmrg  setopt NO_GLOB_SUBST
242d62a77cSmrgelse
252d62a77cSmrg  case `(set -o) 2>/dev/null` in
262d62a77cSmrg  *posix*) set -o posix ;;
272d62a77cSmrgesac
282d62a77cSmrg
292d62a77cSmrgfi
302d62a77cSmrg
312d62a77cSmrg
322d62a77cSmrg
332d62a77cSmrg
342d62a77cSmrg# PATH needs CR
352d62a77cSmrg# Avoid depending upon Character Ranges.
362d62a77cSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
372d62a77cSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
382d62a77cSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
392d62a77cSmrgas_cr_digits='0123456789'
402d62a77cSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
412d62a77cSmrg
422d62a77cSmrgas_nl='
432d62a77cSmrg'
442d62a77cSmrgexport as_nl
452d62a77cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
462d62a77cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
472d62a77cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
482d62a77cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
492d62a77cSmrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
502d62a77cSmrg  as_echo='printf %s\n'
512d62a77cSmrg  as_echo_n='printf %s'
522d62a77cSmrgelse
532d62a77cSmrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
542d62a77cSmrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
552d62a77cSmrg    as_echo_n='/usr/ucb/echo -n'
562d62a77cSmrg  else
572d62a77cSmrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
582d62a77cSmrg    as_echo_n_body='eval
592d62a77cSmrg      arg=$1;
602d62a77cSmrg      case $arg in
612d62a77cSmrg      *"$as_nl"*)
622d62a77cSmrg	expr "X$arg" : "X\\(.*\\)$as_nl";
632d62a77cSmrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
642d62a77cSmrg      esac;
652d62a77cSmrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
662d62a77cSmrg    '
672d62a77cSmrg    export as_echo_n_body
682d62a77cSmrg    as_echo_n='sh -c $as_echo_n_body as_echo'
692d62a77cSmrg  fi
702d62a77cSmrg  export as_echo_body
712d62a77cSmrg  as_echo='sh -c $as_echo_body as_echo'
722d62a77cSmrgfi
732d62a77cSmrg
742d62a77cSmrg# The user is always right.
752d62a77cSmrgif test "${PATH_SEPARATOR+set}" != set; then
762d62a77cSmrg  PATH_SEPARATOR=:
772d62a77cSmrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
782d62a77cSmrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
792d62a77cSmrg      PATH_SEPARATOR=';'
802d62a77cSmrg  }
81a99f82b8Smrgfi
82a99f82b8Smrg
83a99f82b8Smrg# Support unset when possible.
84a99f82b8Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85a99f82b8Smrg  as_unset=unset
86a99f82b8Smrgelse
87a99f82b8Smrg  as_unset=false
88a99f82b8Smrgfi
89a99f82b8Smrg
90a99f82b8Smrg
912d62a77cSmrg# IFS
922d62a77cSmrg# We need space, tab and new line, in precisely that order.  Quoting is
932d62a77cSmrg# there to prevent editors from complaining about space-tab.
942d62a77cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
952d62a77cSmrg# splitting by setting IFS to empty value.)
962d62a77cSmrgIFS=" ""	$as_nl"
972d62a77cSmrg
982d62a77cSmrg# Find who we are.  Look in the path if we contain no directory separator.
992d62a77cSmrgcase $0 in
1002d62a77cSmrg  *[\\/]* ) as_myself=$0 ;;
1012d62a77cSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022d62a77cSmrgfor as_dir in $PATH
1032d62a77cSmrgdo
1042d62a77cSmrg  IFS=$as_save_IFS
1052d62a77cSmrg  test -z "$as_dir" && as_dir=.
1062d62a77cSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1072d62a77cSmrgdone
1082d62a77cSmrgIFS=$as_save_IFS
1092d62a77cSmrg
1102d62a77cSmrg     ;;
1112d62a77cSmrgesac
1122d62a77cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1132d62a77cSmrg# in which case we are not to be found in the path.
1142d62a77cSmrgif test "x$as_myself" = x; then
1152d62a77cSmrg  as_myself=$0
1162d62a77cSmrgfi
1172d62a77cSmrgif test ! -f "$as_myself"; then
1182d62a77cSmrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1192d62a77cSmrg  { (exit 1); exit 1; }
1202d62a77cSmrgfi
1212d62a77cSmrg
122a99f82b8Smrg# Work around bugs in pre-3.0 UWIN ksh.
1232d62a77cSmrgfor as_var in ENV MAIL MAILPATH
1242d62a77cSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1252d62a77cSmrgdone
126a99f82b8SmrgPS1='$ '
127a99f82b8SmrgPS2='> '
128a99f82b8SmrgPS4='+ '
129a99f82b8Smrg
130a99f82b8Smrg# NLS nuisances.
1312d62a77cSmrgLC_ALL=C
1322d62a77cSmrgexport LC_ALL
1332d62a77cSmrgLANGUAGE=C
1342d62a77cSmrgexport LANGUAGE
135a99f82b8Smrg
136a99f82b8Smrg# Required to use basename.
1372d62a77cSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
1382d62a77cSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139a99f82b8Smrg  as_expr=expr
140a99f82b8Smrgelse
141a99f82b8Smrg  as_expr=false
142a99f82b8Smrgfi
143a99f82b8Smrg
1442d62a77cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145a99f82b8Smrg  as_basename=basename
146a99f82b8Smrgelse
147a99f82b8Smrg  as_basename=false
148a99f82b8Smrgfi
149a99f82b8Smrg
150a99f82b8Smrg
151a99f82b8Smrg# Name of the executable.
1522d62a77cSmrgas_me=`$as_basename -- "$0" ||
153a99f82b8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154a99f82b8Smrg	 X"$0" : 'X\(//\)$' \| \
1552d62a77cSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1562d62a77cSmrg$as_echo X/"$0" |
1572d62a77cSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
1582d62a77cSmrg	    s//\1/
1592d62a77cSmrg	    q
1602d62a77cSmrg	  }
1612d62a77cSmrg	  /^X\/\(\/\/\)$/{
1622d62a77cSmrg	    s//\1/
1632d62a77cSmrg	    q
1642d62a77cSmrg	  }
1652d62a77cSmrg	  /^X\/\(\/\).*/{
1662d62a77cSmrg	    s//\1/
1672d62a77cSmrg	    q
1682d62a77cSmrg	  }
1692d62a77cSmrg	  s/.*/./; q'`
170a99f82b8Smrg
1712d62a77cSmrg# CDPATH.
1722d62a77cSmrg$as_unset CDPATH
173a99f82b8Smrg
174a99f82b8Smrg
1752d62a77cSmrgif test "x$CONFIG_SHELL" = x; then
1762d62a77cSmrg  if (eval ":") 2>/dev/null; then
1772d62a77cSmrg  as_have_required=yes
1782d62a77cSmrgelse
1792d62a77cSmrg  as_have_required=no
180a99f82b8Smrgfi
181a99f82b8Smrg
1822d62a77cSmrg  if test $as_have_required = yes &&	 (eval ":
1832d62a77cSmrg(as_func_return () {
1842d62a77cSmrg  (exit \$1)
1852d62a77cSmrg}
1862d62a77cSmrgas_func_success () {
1872d62a77cSmrg  as_func_return 0
1882d62a77cSmrg}
1892d62a77cSmrgas_func_failure () {
1902d62a77cSmrg  as_func_return 1
1912d62a77cSmrg}
1922d62a77cSmrgas_func_ret_success () {
1932d62a77cSmrg  return 0
1942d62a77cSmrg}
1952d62a77cSmrgas_func_ret_failure () {
1962d62a77cSmrg  return 1
1972d62a77cSmrg}
198a99f82b8Smrg
1992d62a77cSmrgexitcode=0
2002d62a77cSmrgif as_func_success; then
2012d62a77cSmrg  :
2022d62a77cSmrgelse
2032d62a77cSmrg  exitcode=1
2042d62a77cSmrg  echo as_func_success failed.
2052d62a77cSmrgfi
206a99f82b8Smrg
2072d62a77cSmrgif as_func_failure; then
2082d62a77cSmrg  exitcode=1
2092d62a77cSmrg  echo as_func_failure succeeded.
2102d62a77cSmrgfi
2112d62a77cSmrg
2122d62a77cSmrgif as_func_ret_success; then
2132d62a77cSmrg  :
2142d62a77cSmrgelse
2152d62a77cSmrg  exitcode=1
2162d62a77cSmrg  echo as_func_ret_success failed.
2172d62a77cSmrgfi
2182d62a77cSmrg
2192d62a77cSmrgif as_func_ret_failure; then
2202d62a77cSmrg  exitcode=1
2212d62a77cSmrg  echo as_func_ret_failure succeeded.
2222d62a77cSmrgfi
2232d62a77cSmrg
2242d62a77cSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2252d62a77cSmrg  :
2262d62a77cSmrgelse
2272d62a77cSmrg  exitcode=1
2282d62a77cSmrg  echo positional parameters were not saved.
2292d62a77cSmrgfi
2302d62a77cSmrg
2312d62a77cSmrgtest \$exitcode = 0) || { (exit 1); exit 1; }
2322d62a77cSmrg
2332d62a77cSmrg(
2342d62a77cSmrg  as_lineno_1=\$LINENO
2352d62a77cSmrg  as_lineno_2=\$LINENO
2362d62a77cSmrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2372d62a77cSmrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2382d62a77cSmrg") 2> /dev/null; then
2392d62a77cSmrg  :
2402d62a77cSmrgelse
2412d62a77cSmrg  as_candidate_shells=
242a99f82b8Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243a99f82b8Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244a99f82b8Smrgdo
245a99f82b8Smrg  IFS=$as_save_IFS
246a99f82b8Smrg  test -z "$as_dir" && as_dir=.
2472d62a77cSmrg  case $as_dir in
248a99f82b8Smrg	 /*)
2492d62a77cSmrg	   for as_base in sh bash ksh sh5; do
2502d62a77cSmrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2512d62a77cSmrg	   done;;
2522d62a77cSmrg       esac
2532d62a77cSmrgdone
2542d62a77cSmrgIFS=$as_save_IFS
2552d62a77cSmrg
2562d62a77cSmrg
2572d62a77cSmrg      for as_shell in $as_candidate_shells $SHELL; do
2582d62a77cSmrg	 # Try only shells that exist, to save several forks.
2592d62a77cSmrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2602d62a77cSmrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
2612d62a77cSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2622d62a77cSmrg  emulate sh
2632d62a77cSmrg  NULLCMD=:
2642d62a77cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2652d62a77cSmrg  # is contrary to our usage.  Disable this feature.
2662d62a77cSmrg  alias -g '${1+"$@"}'='"$@"'
2672d62a77cSmrg  setopt NO_GLOB_SUBST
2682d62a77cSmrgelse
2692d62a77cSmrg  case `(set -o) 2>/dev/null` in
2702d62a77cSmrg  *posix*) set -o posix ;;
2712d62a77cSmrgesac
2722d62a77cSmrg
2732d62a77cSmrgfi
2742d62a77cSmrg
2752d62a77cSmrg
2762d62a77cSmrg:
2772d62a77cSmrg_ASEOF
2782d62a77cSmrg}; then
2792d62a77cSmrg  CONFIG_SHELL=$as_shell
2802d62a77cSmrg	       as_have_required=yes
2812d62a77cSmrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
2822d62a77cSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2832d62a77cSmrg  emulate sh
2842d62a77cSmrg  NULLCMD=:
2852d62a77cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2862d62a77cSmrg  # is contrary to our usage.  Disable this feature.
2872d62a77cSmrg  alias -g '${1+"$@"}'='"$@"'
2882d62a77cSmrg  setopt NO_GLOB_SUBST
2892d62a77cSmrgelse
2902d62a77cSmrg  case `(set -o) 2>/dev/null` in
2912d62a77cSmrg  *posix*) set -o posix ;;
2922d62a77cSmrgesac
2932d62a77cSmrg
2942d62a77cSmrgfi
2952d62a77cSmrg
2962d62a77cSmrg
2972d62a77cSmrg:
2982d62a77cSmrg(as_func_return () {
2992d62a77cSmrg  (exit $1)
3002d62a77cSmrg}
3012d62a77cSmrgas_func_success () {
3022d62a77cSmrg  as_func_return 0
3032d62a77cSmrg}
3042d62a77cSmrgas_func_failure () {
3052d62a77cSmrg  as_func_return 1
3062d62a77cSmrg}
3072d62a77cSmrgas_func_ret_success () {
3082d62a77cSmrg  return 0
3092d62a77cSmrg}
3102d62a77cSmrgas_func_ret_failure () {
3112d62a77cSmrg  return 1
3122d62a77cSmrg}
3132d62a77cSmrg
3142d62a77cSmrgexitcode=0
3152d62a77cSmrgif as_func_success; then
3162d62a77cSmrg  :
3172d62a77cSmrgelse
3182d62a77cSmrg  exitcode=1
3192d62a77cSmrg  echo as_func_success failed.
3202d62a77cSmrgfi
3212d62a77cSmrg
3222d62a77cSmrgif as_func_failure; then
3232d62a77cSmrg  exitcode=1
3242d62a77cSmrg  echo as_func_failure succeeded.
3252d62a77cSmrgfi
3262d62a77cSmrg
3272d62a77cSmrgif as_func_ret_success; then
3282d62a77cSmrg  :
3292d62a77cSmrgelse
3302d62a77cSmrg  exitcode=1
3312d62a77cSmrg  echo as_func_ret_success failed.
3322d62a77cSmrgfi
3332d62a77cSmrg
3342d62a77cSmrgif as_func_ret_failure; then
3352d62a77cSmrg  exitcode=1
3362d62a77cSmrg  echo as_func_ret_failure succeeded.
3372d62a77cSmrgfi
3382d62a77cSmrg
3392d62a77cSmrgif ( set x; as_func_ret_success y && test x = "$1" ); then
3402d62a77cSmrg  :
3412d62a77cSmrgelse
3422d62a77cSmrg  exitcode=1
3432d62a77cSmrg  echo positional parameters were not saved.
3442d62a77cSmrgfi
3452d62a77cSmrg
3462d62a77cSmrgtest $exitcode = 0) || { (exit 1); exit 1; }
3472d62a77cSmrg
3482d62a77cSmrg(
349a99f82b8Smrg  as_lineno_1=$LINENO
350a99f82b8Smrg  as_lineno_2=$LINENO
351a99f82b8Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3522d62a77cSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3532d62a77cSmrg
3542d62a77cSmrg_ASEOF
3552d62a77cSmrg}; then
3562d62a77cSmrg  break
3572d62a77cSmrgfi
3582d62a77cSmrg
3592d62a77cSmrgfi
3602d62a77cSmrg
3612d62a77cSmrg      done
3622d62a77cSmrg
3632d62a77cSmrg      if test "x$CONFIG_SHELL" != x; then
3642d62a77cSmrg  for as_var in BASH_ENV ENV
3652d62a77cSmrg	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3662d62a77cSmrg	done
3672d62a77cSmrg	export CONFIG_SHELL
3682d62a77cSmrg	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3692d62a77cSmrgfi
3702d62a77cSmrg
3712d62a77cSmrg
3722d62a77cSmrg    if test $as_have_required = no; then
3732d62a77cSmrg  echo This script requires a shell more modern than all the
3742d62a77cSmrg      echo shells that I found on your system.  Please install a
3752d62a77cSmrg      echo modern shell, or manually run the script under such a
3762d62a77cSmrg      echo shell if you do have one.
3772d62a77cSmrg      { (exit 1); exit 1; }
3782d62a77cSmrgfi
3792d62a77cSmrg
3802d62a77cSmrg
3812d62a77cSmrgfi
3822d62a77cSmrg
3832d62a77cSmrgfi
3842d62a77cSmrg
3852d62a77cSmrg
3862d62a77cSmrg
3872d62a77cSmrg(eval "as_func_return () {
3882d62a77cSmrg  (exit \$1)
3892d62a77cSmrg}
3902d62a77cSmrgas_func_success () {
3912d62a77cSmrg  as_func_return 0
3922d62a77cSmrg}
3932d62a77cSmrgas_func_failure () {
3942d62a77cSmrg  as_func_return 1
3952d62a77cSmrg}
3962d62a77cSmrgas_func_ret_success () {
3972d62a77cSmrg  return 0
3982d62a77cSmrg}
3992d62a77cSmrgas_func_ret_failure () {
4002d62a77cSmrg  return 1
4012d62a77cSmrg}
4022d62a77cSmrg
4032d62a77cSmrgexitcode=0
4042d62a77cSmrgif as_func_success; then
4052d62a77cSmrg  :
4062d62a77cSmrgelse
4072d62a77cSmrg  exitcode=1
4082d62a77cSmrg  echo as_func_success failed.
4092d62a77cSmrgfi
4102d62a77cSmrg
4112d62a77cSmrgif as_func_failure; then
4122d62a77cSmrg  exitcode=1
4132d62a77cSmrg  echo as_func_failure succeeded.
4142d62a77cSmrgfi
4152d62a77cSmrg
4162d62a77cSmrgif as_func_ret_success; then
4172d62a77cSmrg  :
4182d62a77cSmrgelse
4192d62a77cSmrg  exitcode=1
4202d62a77cSmrg  echo as_func_ret_success failed.
4212d62a77cSmrgfi
4222d62a77cSmrg
4232d62a77cSmrgif as_func_ret_failure; then
4242d62a77cSmrg  exitcode=1
4252d62a77cSmrg  echo as_func_ret_failure succeeded.
4262d62a77cSmrgfi
4272d62a77cSmrg
4282d62a77cSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
4292d62a77cSmrg  :
4302d62a77cSmrgelse
4312d62a77cSmrg  exitcode=1
4322d62a77cSmrg  echo positional parameters were not saved.
4332d62a77cSmrgfi
4342d62a77cSmrg
4352d62a77cSmrgtest \$exitcode = 0") || {
4362d62a77cSmrg  echo No shell found that supports shell functions.
4372d62a77cSmrg  echo Please tell bug-autoconf@gnu.org about your system,
4382d62a77cSmrg  echo including any error possibly output before this message.
4392d62a77cSmrg  echo This can help us improve future autoconf versions.
4402d62a77cSmrg  echo Configuration will now proceed without shell functions.
4412d62a77cSmrg}
4422d62a77cSmrg
4432d62a77cSmrg
4442d62a77cSmrg
4452d62a77cSmrg  as_lineno_1=$LINENO
4462d62a77cSmrg  as_lineno_2=$LINENO
4472d62a77cSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
4482d62a77cSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449a99f82b8Smrg
450a99f82b8Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451a99f82b8Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
4522d62a77cSmrg  # line-number line after each line using $LINENO; the second 'sed'
4532d62a77cSmrg  # does the real work.  The second script uses 'N' to pair each
4542d62a77cSmrg  # line-number line with the line containing $LINENO, and appends
4552d62a77cSmrg  # trailing '-' during substitution so that $LINENO is not a special
4562d62a77cSmrg  # case at line end.
457a99f82b8Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4582d62a77cSmrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4592d62a77cSmrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
4602d62a77cSmrg  sed -n '
4612d62a77cSmrg    p
4622d62a77cSmrg    /[$]LINENO/=
4632d62a77cSmrg  ' <$as_myself |
464a99f82b8Smrg    sed '
4652d62a77cSmrg      s/[$]LINENO.*/&-/
4662d62a77cSmrg      t lineno
4672d62a77cSmrg      b
4682d62a77cSmrg      :lineno
469a99f82b8Smrg      N
4702d62a77cSmrg      :loop
4712d62a77cSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472a99f82b8Smrg      t loop
4732d62a77cSmrg      s/-\n.*//
474a99f82b8Smrg    ' >$as_me.lineno &&
4752d62a77cSmrg  chmod +x "$as_me.lineno" ||
4762d62a77cSmrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477a99f82b8Smrg   { (exit 1); exit 1; }; }
478a99f82b8Smrg
479a99f82b8Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
480a99f82b8Smrg  # (the dirname of $[0] is not the place where we might find the
4812d62a77cSmrg  # original and so on.  Autoconf is especially sensitive to this).
4822d62a77cSmrg  . "./$as_me.lineno"
483a99f82b8Smrg  # Exit status is that of the last command.
484a99f82b8Smrg  exit
485a99f82b8Smrg}
486a99f82b8Smrg
487a99f82b8Smrg
4882d62a77cSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4892d62a77cSmrg  as_dirname=dirname
4902d62a77cSmrgelse
4912d62a77cSmrg  as_dirname=false
4922d62a77cSmrgfi
493a99f82b8Smrg
4942d62a77cSmrgECHO_C= ECHO_N= ECHO_T=
4952d62a77cSmrgcase `echo -n x` in
4962d62a77cSmrg-n*)
4972d62a77cSmrg  case `echo 'x\c'` in
4982d62a77cSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4992d62a77cSmrg  *)   ECHO_C='\c';;
5002d62a77cSmrg  esac;;
5012d62a77cSmrg*)
5022d62a77cSmrg  ECHO_N='-n';;
5032d62a77cSmrgesac
5042d62a77cSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
5052d62a77cSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506a99f82b8Smrg  as_expr=expr
507a99f82b8Smrgelse
508a99f82b8Smrg  as_expr=false
509a99f82b8Smrgfi
510a99f82b8Smrg
511a99f82b8Smrgrm -f conf$$ conf$$.exe conf$$.file
5122d62a77cSmrgif test -d conf$$.dir; then
5132d62a77cSmrg  rm -f conf$$.dir/conf$$.file
5142d62a77cSmrgelse
5152d62a77cSmrg  rm -f conf$$.dir
5162d62a77cSmrg  mkdir conf$$.dir 2>/dev/null
5172d62a77cSmrgfi
5182d62a77cSmrgif (echo >conf$$.file) 2>/dev/null; then
5192d62a77cSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
520a99f82b8Smrg    as_ln_s='ln -s'
5212d62a77cSmrg    # ... but there are two gotchas:
5222d62a77cSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5232d62a77cSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5242d62a77cSmrg    # In both cases, we have to default to `cp -p'.
5252d62a77cSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5262d62a77cSmrg      as_ln_s='cp -p'
5272d62a77cSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5282d62a77cSmrg    as_ln_s=ln
5292d62a77cSmrg  else
5302d62a77cSmrg    as_ln_s='cp -p'
531a99f82b8Smrg  fi
532a99f82b8Smrgelse
533a99f82b8Smrg  as_ln_s='cp -p'
534a99f82b8Smrgfi
5352d62a77cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5362d62a77cSmrgrmdir conf$$.dir 2>/dev/null
537a99f82b8Smrg
538a99f82b8Smrgif mkdir -p . 2>/dev/null; then
539a99f82b8Smrg  as_mkdir_p=:
540a99f82b8Smrgelse
541a99f82b8Smrg  test -d ./-p && rmdir ./-p
542a99f82b8Smrg  as_mkdir_p=false
543a99f82b8Smrgfi
544a99f82b8Smrg
5452d62a77cSmrgif test -x / >/dev/null 2>&1; then
5462d62a77cSmrg  as_test_x='test -x'
5472d62a77cSmrgelse
5482d62a77cSmrg  if ls -dL / >/dev/null 2>&1; then
5492d62a77cSmrg    as_ls_L_option=L
5502d62a77cSmrg  else
5512d62a77cSmrg    as_ls_L_option=
5522d62a77cSmrg  fi
5532d62a77cSmrg  as_test_x='
5542d62a77cSmrg    eval sh -c '\''
5552d62a77cSmrg      if test -d "$1"; then
5562d62a77cSmrg	test -d "$1/.";
5572d62a77cSmrg      else
5582d62a77cSmrg	case $1 in
5592d62a77cSmrg	-*)set "./$1";;
5602d62a77cSmrg	esac;
5612d62a77cSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5622d62a77cSmrg	???[sx]*):;;*)false;;esac;fi
5632d62a77cSmrg    '\'' sh
5642d62a77cSmrg  '
5652d62a77cSmrgfi
5662d62a77cSmrgas_executable_p=$as_test_x
567a99f82b8Smrg
568a99f82b8Smrg# Sed expression to map a string onto a valid CPP name.
569a99f82b8Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570a99f82b8Smrg
571a99f82b8Smrg# Sed expression to map a string onto a valid variable name.
572a99f82b8Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573a99f82b8Smrg
574a99f82b8Smrg
575a99f82b8Smrg
5762d62a77cSmrgexec 7<&0 </dev/null 6>&1
577a99f82b8Smrg
578a99f82b8Smrg# Name of the host.
579a99f82b8Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580a99f82b8Smrg# so uname gets run too.
581a99f82b8Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582a99f82b8Smrg
583a99f82b8Smrg#
584a99f82b8Smrg# Initializations.
585a99f82b8Smrg#
586a99f82b8Smrgac_default_prefix=/usr/local
5872d62a77cSmrgac_clean_files=
588a99f82b8Smrgac_config_libobj_dir=.
5892d62a77cSmrgLIBOBJS=
590a99f82b8Smrgcross_compiling=no
591a99f82b8Smrgsubdirs=
592a99f82b8SmrgMFLAGS=
593a99f82b8SmrgMAKEFLAGS=
594a99f82b8SmrgSHELL=${CONFIG_SHELL-/bin/sh}
595a99f82b8Smrg
596a99f82b8Smrg# Identity of this package.
597a99f82b8SmrgPACKAGE_NAME='font-alias'
598a99f82b8SmrgPACKAGE_TARNAME='font-alias'
5992d62a77cSmrgPACKAGE_VERSION='1.0.2'
6002d62a77cSmrgPACKAGE_STRING='font-alias 1.0.2'
601a99f82b8SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
602a99f82b8Smrg
6032d62a77cSmrg# Factoring default headers for most tests.
6042d62a77cSmrgac_includes_default="\
6052d62a77cSmrg#include <stdio.h>
6062d62a77cSmrg#ifdef HAVE_SYS_TYPES_H
6072d62a77cSmrg# include <sys/types.h>
6082d62a77cSmrg#endif
6092d62a77cSmrg#ifdef HAVE_SYS_STAT_H
6102d62a77cSmrg# include <sys/stat.h>
6112d62a77cSmrg#endif
6122d62a77cSmrg#ifdef STDC_HEADERS
6132d62a77cSmrg# include <stdlib.h>
6142d62a77cSmrg# include <stddef.h>
6152d62a77cSmrg#else
6162d62a77cSmrg# ifdef HAVE_STDLIB_H
6172d62a77cSmrg#  include <stdlib.h>
6182d62a77cSmrg# endif
6192d62a77cSmrg#endif
6202d62a77cSmrg#ifdef HAVE_STRING_H
6212d62a77cSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6222d62a77cSmrg#  include <memory.h>
6232d62a77cSmrg# endif
6242d62a77cSmrg# include <string.h>
6252d62a77cSmrg#endif
6262d62a77cSmrg#ifdef HAVE_STRINGS_H
6272d62a77cSmrg# include <strings.h>
6282d62a77cSmrg#endif
6292d62a77cSmrg#ifdef HAVE_INTTYPES_H
6302d62a77cSmrg# include <inttypes.h>
6312d62a77cSmrg#endif
6322d62a77cSmrg#ifdef HAVE_STDINT_H
6332d62a77cSmrg# include <stdint.h>
6342d62a77cSmrg#endif
6352d62a77cSmrg#ifdef HAVE_UNISTD_H
6362d62a77cSmrg# include <unistd.h>
6372d62a77cSmrg#endif"
6382d62a77cSmrg
6392d62a77cSmrgac_subst_vars='am__EXEEXT_FALSE
6402d62a77cSmrgam__EXEEXT_TRUE
6412d62a77cSmrgLTLIBOBJS
6422d62a77cSmrgLIBOBJS
6432d62a77cSmrgFONTROOTDIR
6442d62a77cSmrgPKG_CONFIG
6452d62a77cSmrgADMIN_MAN_DIR
6462d62a77cSmrgDRIVER_MAN_DIR
6472d62a77cSmrgMISC_MAN_DIR
6482d62a77cSmrgFILE_MAN_DIR
6492d62a77cSmrgLIB_MAN_DIR
6502d62a77cSmrgAPP_MAN_DIR
6512d62a77cSmrgADMIN_MAN_SUFFIX
6522d62a77cSmrgDRIVER_MAN_SUFFIX
6532d62a77cSmrgMISC_MAN_SUFFIX
6542d62a77cSmrgFILE_MAN_SUFFIX
6552d62a77cSmrgLIB_MAN_SUFFIX
6562d62a77cSmrgAPP_MAN_SUFFIX
6572d62a77cSmrghost_os
6582d62a77cSmrghost_vendor
6592d62a77cSmrghost_cpu
6602d62a77cSmrghost
6612d62a77cSmrgbuild_os
6622d62a77cSmrgbuild_vendor
6632d62a77cSmrgbuild_cpu
6642d62a77cSmrgbuild
6652d62a77cSmrgdistcleancheck_listfiles
6662d62a77cSmrgCHANGELOG_CMD
6672d62a77cSmrgAM_BACKSLASH
6682d62a77cSmrgAM_DEFAULT_VERBOSITY
6692d62a77cSmrgCWARNFLAGS
6702d62a77cSmrgEGREP
6712d62a77cSmrgGREP
6722d62a77cSmrgCPP
6732d62a77cSmrgam__fastdepCC_FALSE
6742d62a77cSmrgam__fastdepCC_TRUE
6752d62a77cSmrgCCDEPMODE
6762d62a77cSmrgAMDEPBACKSLASH
6772d62a77cSmrgAMDEP_FALSE
6782d62a77cSmrgAMDEP_TRUE
6792d62a77cSmrgam__quote
6802d62a77cSmrgam__include
6812d62a77cSmrgDEPDIR
6822d62a77cSmrgOBJEXT
6832d62a77cSmrgEXEEXT
6842d62a77cSmrgac_ct_CC
6852d62a77cSmrgCPPFLAGS
6862d62a77cSmrgLDFLAGS
6872d62a77cSmrgCFLAGS
6882d62a77cSmrgCC
6892d62a77cSmrgMAINT
6902d62a77cSmrgMAINTAINER_MODE_FALSE
6912d62a77cSmrgMAINTAINER_MODE_TRUE
6922d62a77cSmrgam__untar
6932d62a77cSmrgam__tar
6942d62a77cSmrgAMTAR
6952d62a77cSmrgam__leading_dot
6962d62a77cSmrgSET_MAKE
6972d62a77cSmrgAWK
6982d62a77cSmrgmkdir_p
6992d62a77cSmrgMKDIR_P
7002d62a77cSmrgINSTALL_STRIP_PROGRAM
7012d62a77cSmrgSTRIP
7022d62a77cSmrginstall_sh
7032d62a77cSmrgMAKEINFO
7042d62a77cSmrgAUTOHEADER
7052d62a77cSmrgAUTOMAKE
7062d62a77cSmrgAUTOCONF
7072d62a77cSmrgACLOCAL
7082d62a77cSmrgVERSION
7092d62a77cSmrgPACKAGE
7102d62a77cSmrgCYGPATH_W
7112d62a77cSmrgam__isrc
7122d62a77cSmrgINSTALL_DATA
7132d62a77cSmrgINSTALL_SCRIPT
7142d62a77cSmrgINSTALL_PROGRAM
7152d62a77cSmrgtarget_alias
7162d62a77cSmrghost_alias
7172d62a77cSmrgbuild_alias
7182d62a77cSmrgLIBS
7192d62a77cSmrgECHO_T
7202d62a77cSmrgECHO_N
7212d62a77cSmrgECHO_C
7222d62a77cSmrgDEFS
7232d62a77cSmrgmandir
7242d62a77cSmrglocaledir
7252d62a77cSmrglibdir
7262d62a77cSmrgpsdir
7272d62a77cSmrgpdfdir
7282d62a77cSmrgdvidir
7292d62a77cSmrghtmldir
7302d62a77cSmrginfodir
7312d62a77cSmrgdocdir
7322d62a77cSmrgoldincludedir
7332d62a77cSmrgincludedir
7342d62a77cSmrglocalstatedir
7352d62a77cSmrgsharedstatedir
7362d62a77cSmrgsysconfdir
7372d62a77cSmrgdatadir
7382d62a77cSmrgdatarootdir
7392d62a77cSmrglibexecdir
7402d62a77cSmrgsbindir
7412d62a77cSmrgbindir
7422d62a77cSmrgprogram_transform_name
7432d62a77cSmrgprefix
7442d62a77cSmrgexec_prefix
7452d62a77cSmrgPACKAGE_BUGREPORT
7462d62a77cSmrgPACKAGE_STRING
7472d62a77cSmrgPACKAGE_VERSION
7482d62a77cSmrgPACKAGE_TARNAME
7492d62a77cSmrgPACKAGE_NAME
7502d62a77cSmrgPATH_SEPARATOR
7512d62a77cSmrgSHELL'
752a99f82b8Smrgac_subst_files=''
7532d62a77cSmrgac_user_opts='
7542d62a77cSmrgenable_option_checking
7552d62a77cSmrgenable_maintainer_mode
7562d62a77cSmrgenable_dependency_tracking
7572d62a77cSmrgenable_silent_rules
7582d62a77cSmrgenable_strict_compilation
7592d62a77cSmrgwith_release_version
7602d62a77cSmrgwith_fontrootdir
7612d62a77cSmrgwith_top_fontdir
7622d62a77cSmrg'
7632d62a77cSmrg      ac_precious_vars='build_alias
7642d62a77cSmrghost_alias
7652d62a77cSmrgtarget_alias
7662d62a77cSmrgCC
7672d62a77cSmrgCFLAGS
7682d62a77cSmrgLDFLAGS
7692d62a77cSmrgLIBS
7702d62a77cSmrgCPPFLAGS
7712d62a77cSmrgCPP
7722d62a77cSmrgPKG_CONFIG'
7732d62a77cSmrg
774a99f82b8Smrg
775a99f82b8Smrg# Initialize some variables set by options.
776a99f82b8Smrgac_init_help=
777a99f82b8Smrgac_init_version=false
7782d62a77cSmrgac_unrecognized_opts=
7792d62a77cSmrgac_unrecognized_sep=
780a99f82b8Smrg# The variables have the same names as the options, with
781a99f82b8Smrg# dashes changed to underlines.
782a99f82b8Smrgcache_file=/dev/null
783a99f82b8Smrgexec_prefix=NONE
784a99f82b8Smrgno_create=
785a99f82b8Smrgno_recursion=
786a99f82b8Smrgprefix=NONE
787a99f82b8Smrgprogram_prefix=NONE
788a99f82b8Smrgprogram_suffix=NONE
789a99f82b8Smrgprogram_transform_name=s,x,x,
790a99f82b8Smrgsilent=
791a99f82b8Smrgsite=
792a99f82b8Smrgsrcdir=
793a99f82b8Smrgverbose=
794a99f82b8Smrgx_includes=NONE
795a99f82b8Smrgx_libraries=NONE
796a99f82b8Smrg
797a99f82b8Smrg# Installation directory options.
798a99f82b8Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
799a99f82b8Smrg# and all the variables that are supposed to be based on exec_prefix
800a99f82b8Smrg# by default will actually change.
801a99f82b8Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
8022d62a77cSmrg# (The list follows the same order as the GNU Coding Standards.)
803a99f82b8Smrgbindir='${exec_prefix}/bin'
804a99f82b8Smrgsbindir='${exec_prefix}/sbin'
805a99f82b8Smrglibexecdir='${exec_prefix}/libexec'
8062d62a77cSmrgdatarootdir='${prefix}/share'
8072d62a77cSmrgdatadir='${datarootdir}'
808a99f82b8Smrgsysconfdir='${prefix}/etc'
809a99f82b8Smrgsharedstatedir='${prefix}/com'
810a99f82b8Smrglocalstatedir='${prefix}/var'
811a99f82b8Smrgincludedir='${prefix}/include'
812a99f82b8Smrgoldincludedir='/usr/include'
8132d62a77cSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
8142d62a77cSmrginfodir='${datarootdir}/info'
8152d62a77cSmrghtmldir='${docdir}'
8162d62a77cSmrgdvidir='${docdir}'
8172d62a77cSmrgpdfdir='${docdir}'
8182d62a77cSmrgpsdir='${docdir}'
8192d62a77cSmrglibdir='${exec_prefix}/lib'
8202d62a77cSmrglocaledir='${datarootdir}/locale'
8212d62a77cSmrgmandir='${datarootdir}/man'
822a99f82b8Smrg
823a99f82b8Smrgac_prev=
8242d62a77cSmrgac_dashdash=
825a99f82b8Smrgfor ac_option
826a99f82b8Smrgdo
827a99f82b8Smrg  # If the previous option needs an argument, assign it.
828a99f82b8Smrg  if test -n "$ac_prev"; then
8292d62a77cSmrg    eval $ac_prev=\$ac_option
830a99f82b8Smrg    ac_prev=
831a99f82b8Smrg    continue
832a99f82b8Smrg  fi
833a99f82b8Smrg
8342d62a77cSmrg  case $ac_option in
8352d62a77cSmrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8362d62a77cSmrg  *)	ac_optarg=yes ;;
8372d62a77cSmrg  esac
838a99f82b8Smrg
839a99f82b8Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
840a99f82b8Smrg
8412d62a77cSmrg  case $ac_dashdash$ac_option in
8422d62a77cSmrg  --)
8432d62a77cSmrg    ac_dashdash=yes ;;
844a99f82b8Smrg
845a99f82b8Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
846a99f82b8Smrg    ac_prev=bindir ;;
847a99f82b8Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
848a99f82b8Smrg    bindir=$ac_optarg ;;
849a99f82b8Smrg
850a99f82b8Smrg  -build | --build | --buil | --bui | --bu)
851a99f82b8Smrg    ac_prev=build_alias ;;
852a99f82b8Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
853a99f82b8Smrg    build_alias=$ac_optarg ;;
854a99f82b8Smrg
855a99f82b8Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
856a99f82b8Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
857a99f82b8Smrg    ac_prev=cache_file ;;
858a99f82b8Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
859a99f82b8Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
860a99f82b8Smrg    cache_file=$ac_optarg ;;
861a99f82b8Smrg
862a99f82b8Smrg  --config-cache | -C)
863a99f82b8Smrg    cache_file=config.cache ;;
864a99f82b8Smrg
8652d62a77cSmrg  -datadir | --datadir | --datadi | --datad)
866a99f82b8Smrg    ac_prev=datadir ;;
8672d62a77cSmrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
868a99f82b8Smrg    datadir=$ac_optarg ;;
869a99f82b8Smrg
8702d62a77cSmrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8712d62a77cSmrg  | --dataroo | --dataro | --datar)
8722d62a77cSmrg    ac_prev=datarootdir ;;
8732d62a77cSmrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8742d62a77cSmrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8752d62a77cSmrg    datarootdir=$ac_optarg ;;
8762d62a77cSmrg
877a99f82b8Smrg  -disable-* | --disable-*)
8782d62a77cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
879a99f82b8Smrg    # Reject names that are not valid shell variable names.
8802d62a77cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8812d62a77cSmrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
882a99f82b8Smrg   { (exit 1); exit 1; }; }
8832d62a77cSmrg    ac_useropt_orig=$ac_useropt
8842d62a77cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8852d62a77cSmrg    case $ac_user_opts in
8862d62a77cSmrg      *"
8872d62a77cSmrg"enable_$ac_useropt"
8882d62a77cSmrg"*) ;;
8892d62a77cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8902d62a77cSmrg	 ac_unrecognized_sep=', ';;
8912d62a77cSmrg    esac
8922d62a77cSmrg    eval enable_$ac_useropt=no ;;
8932d62a77cSmrg
8942d62a77cSmrg  -docdir | --docdir | --docdi | --doc | --do)
8952d62a77cSmrg    ac_prev=docdir ;;
8962d62a77cSmrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8972d62a77cSmrg    docdir=$ac_optarg ;;
8982d62a77cSmrg
8992d62a77cSmrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
9002d62a77cSmrg    ac_prev=dvidir ;;
9012d62a77cSmrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
9022d62a77cSmrg    dvidir=$ac_optarg ;;
903a99f82b8Smrg
904a99f82b8Smrg  -enable-* | --enable-*)
9052d62a77cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906a99f82b8Smrg    # Reject names that are not valid shell variable names.
9072d62a77cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
9082d62a77cSmrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
909a99f82b8Smrg   { (exit 1); exit 1; }; }
9102d62a77cSmrg    ac_useropt_orig=$ac_useropt
9112d62a77cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
9122d62a77cSmrg    case $ac_user_opts in
9132d62a77cSmrg      *"
9142d62a77cSmrg"enable_$ac_useropt"
9152d62a77cSmrg"*) ;;
9162d62a77cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
9172d62a77cSmrg	 ac_unrecognized_sep=', ';;
918a99f82b8Smrg    esac
9192d62a77cSmrg    eval enable_$ac_useropt=\$ac_optarg ;;
920a99f82b8Smrg
921a99f82b8Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922a99f82b8Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923a99f82b8Smrg  | --exec | --exe | --ex)
924a99f82b8Smrg    ac_prev=exec_prefix ;;
925a99f82b8Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926a99f82b8Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927a99f82b8Smrg  | --exec=* | --exe=* | --ex=*)
928a99f82b8Smrg    exec_prefix=$ac_optarg ;;
929a99f82b8Smrg
930a99f82b8Smrg  -gas | --gas | --ga | --g)
931a99f82b8Smrg    # Obsolete; use --with-gas.
932a99f82b8Smrg    with_gas=yes ;;
933a99f82b8Smrg
934a99f82b8Smrg  -help | --help | --hel | --he | -h)
935a99f82b8Smrg    ac_init_help=long ;;
936a99f82b8Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937a99f82b8Smrg    ac_init_help=recursive ;;
938a99f82b8Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939a99f82b8Smrg    ac_init_help=short ;;
940a99f82b8Smrg
941a99f82b8Smrg  -host | --host | --hos | --ho)
942a99f82b8Smrg    ac_prev=host_alias ;;
943a99f82b8Smrg  -host=* | --host=* | --hos=* | --ho=*)
944a99f82b8Smrg    host_alias=$ac_optarg ;;
945a99f82b8Smrg
9462d62a77cSmrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9472d62a77cSmrg    ac_prev=htmldir ;;
9482d62a77cSmrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9492d62a77cSmrg  | --ht=*)
9502d62a77cSmrg    htmldir=$ac_optarg ;;
9512d62a77cSmrg
952a99f82b8Smrg  -includedir | --includedir | --includedi | --included | --include \
953a99f82b8Smrg  | --includ | --inclu | --incl | --inc)
954a99f82b8Smrg    ac_prev=includedir ;;
955a99f82b8Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956a99f82b8Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
957a99f82b8Smrg    includedir=$ac_optarg ;;
958a99f82b8Smrg
959a99f82b8Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
960a99f82b8Smrg    ac_prev=infodir ;;
961a99f82b8Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962a99f82b8Smrg    infodir=$ac_optarg ;;
963a99f82b8Smrg
964a99f82b8Smrg  -libdir | --libdir | --libdi | --libd)
965a99f82b8Smrg    ac_prev=libdir ;;
966a99f82b8Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
967a99f82b8Smrg    libdir=$ac_optarg ;;
968a99f82b8Smrg
969a99f82b8Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970a99f82b8Smrg  | --libexe | --libex | --libe)
971a99f82b8Smrg    ac_prev=libexecdir ;;
972a99f82b8Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973a99f82b8Smrg  | --libexe=* | --libex=* | --libe=*)
974a99f82b8Smrg    libexecdir=$ac_optarg ;;
975a99f82b8Smrg
9762d62a77cSmrg  -localedir | --localedir | --localedi | --localed | --locale)
9772d62a77cSmrg    ac_prev=localedir ;;
9782d62a77cSmrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9792d62a77cSmrg    localedir=$ac_optarg ;;
9802d62a77cSmrg
981a99f82b8Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9822d62a77cSmrg  | --localstate | --localstat | --localsta | --localst | --locals)
983a99f82b8Smrg    ac_prev=localstatedir ;;
984a99f82b8Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9852d62a77cSmrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986a99f82b8Smrg    localstatedir=$ac_optarg ;;
987a99f82b8Smrg
988a99f82b8Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989a99f82b8Smrg    ac_prev=mandir ;;
990a99f82b8Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991a99f82b8Smrg    mandir=$ac_optarg ;;
992a99f82b8Smrg
993a99f82b8Smrg  -nfp | --nfp | --nf)
994a99f82b8Smrg    # Obsolete; use --without-fp.
995a99f82b8Smrg    with_fp=no ;;
996a99f82b8Smrg
997a99f82b8Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998a99f82b8Smrg  | --no-cr | --no-c | -n)
999a99f82b8Smrg    no_create=yes ;;
1000a99f82b8Smrg
1001a99f82b8Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002a99f82b8Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003a99f82b8Smrg    no_recursion=yes ;;
1004a99f82b8Smrg
1005a99f82b8Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006a99f82b8Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007a99f82b8Smrg  | --oldin | --oldi | --old | --ol | --o)
1008a99f82b8Smrg    ac_prev=oldincludedir ;;
1009a99f82b8Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010a99f82b8Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011a99f82b8Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012a99f82b8Smrg    oldincludedir=$ac_optarg ;;
1013a99f82b8Smrg
1014a99f82b8Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015a99f82b8Smrg    ac_prev=prefix ;;
1016a99f82b8Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017a99f82b8Smrg    prefix=$ac_optarg ;;
1018a99f82b8Smrg
1019a99f82b8Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020a99f82b8Smrg  | --program-pre | --program-pr | --program-p)
1021a99f82b8Smrg    ac_prev=program_prefix ;;
1022a99f82b8Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023a99f82b8Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024a99f82b8Smrg    program_prefix=$ac_optarg ;;
1025a99f82b8Smrg
1026a99f82b8Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027a99f82b8Smrg  | --program-suf | --program-su | --program-s)
1028a99f82b8Smrg    ac_prev=program_suffix ;;
1029a99f82b8Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030a99f82b8Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031a99f82b8Smrg    program_suffix=$ac_optarg ;;
1032a99f82b8Smrg
1033a99f82b8Smrg  -program-transform-name | --program-transform-name \
1034a99f82b8Smrg  | --program-transform-nam | --program-transform-na \
1035a99f82b8Smrg  | --program-transform-n | --program-transform- \
1036a99f82b8Smrg  | --program-transform | --program-transfor \
1037a99f82b8Smrg  | --program-transfo | --program-transf \
1038a99f82b8Smrg  | --program-trans | --program-tran \
1039a99f82b8Smrg  | --progr-tra | --program-tr | --program-t)
1040a99f82b8Smrg    ac_prev=program_transform_name ;;
1041a99f82b8Smrg  -program-transform-name=* | --program-transform-name=* \
1042a99f82b8Smrg  | --program-transform-nam=* | --program-transform-na=* \
1043a99f82b8Smrg  | --program-transform-n=* | --program-transform-=* \
1044a99f82b8Smrg  | --program-transform=* | --program-transfor=* \
1045a99f82b8Smrg  | --program-transfo=* | --program-transf=* \
1046a99f82b8Smrg  | --program-trans=* | --program-tran=* \
1047a99f82b8Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1048a99f82b8Smrg    program_transform_name=$ac_optarg ;;
1049a99f82b8Smrg
10502d62a77cSmrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10512d62a77cSmrg    ac_prev=pdfdir ;;
10522d62a77cSmrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10532d62a77cSmrg    pdfdir=$ac_optarg ;;
10542d62a77cSmrg
10552d62a77cSmrg  -psdir | --psdir | --psdi | --psd | --ps)
10562d62a77cSmrg    ac_prev=psdir ;;
10572d62a77cSmrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10582d62a77cSmrg    psdir=$ac_optarg ;;
10592d62a77cSmrg
1060a99f82b8Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061a99f82b8Smrg  | -silent | --silent | --silen | --sile | --sil)
1062a99f82b8Smrg    silent=yes ;;
1063a99f82b8Smrg
1064a99f82b8Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065a99f82b8Smrg    ac_prev=sbindir ;;
1066a99f82b8Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067a99f82b8Smrg  | --sbi=* | --sb=*)
1068a99f82b8Smrg    sbindir=$ac_optarg ;;
1069a99f82b8Smrg
1070a99f82b8Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071a99f82b8Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072a99f82b8Smrg  | --sharedst | --shareds | --shared | --share | --shar \
1073a99f82b8Smrg  | --sha | --sh)
1074a99f82b8Smrg    ac_prev=sharedstatedir ;;
1075a99f82b8Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076a99f82b8Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077a99f82b8Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078a99f82b8Smrg  | --sha=* | --sh=*)
1079a99f82b8Smrg    sharedstatedir=$ac_optarg ;;
1080a99f82b8Smrg
1081a99f82b8Smrg  -site | --site | --sit)
1082a99f82b8Smrg    ac_prev=site ;;
1083a99f82b8Smrg  -site=* | --site=* | --sit=*)
1084a99f82b8Smrg    site=$ac_optarg ;;
1085a99f82b8Smrg
1086a99f82b8Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087a99f82b8Smrg    ac_prev=srcdir ;;
1088a99f82b8Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089a99f82b8Smrg    srcdir=$ac_optarg ;;
1090a99f82b8Smrg
1091a99f82b8Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092a99f82b8Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
1093a99f82b8Smrg    ac_prev=sysconfdir ;;
1094a99f82b8Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095a99f82b8Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096a99f82b8Smrg    sysconfdir=$ac_optarg ;;
1097a99f82b8Smrg
1098a99f82b8Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1099a99f82b8Smrg    ac_prev=target_alias ;;
1100a99f82b8Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101a99f82b8Smrg    target_alias=$ac_optarg ;;
1102a99f82b8Smrg
1103a99f82b8Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1104a99f82b8Smrg    verbose=yes ;;
1105a99f82b8Smrg
1106a99f82b8Smrg  -version | --version | --versio | --versi | --vers | -V)
1107a99f82b8Smrg    ac_init_version=: ;;
1108a99f82b8Smrg
1109a99f82b8Smrg  -with-* | --with-*)
11102d62a77cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111a99f82b8Smrg    # Reject names that are not valid shell variable names.
11122d62a77cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11132d62a77cSmrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1114a99f82b8Smrg   { (exit 1); exit 1; }; }
11152d62a77cSmrg    ac_useropt_orig=$ac_useropt
11162d62a77cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11172d62a77cSmrg    case $ac_user_opts in
11182d62a77cSmrg      *"
11192d62a77cSmrg"with_$ac_useropt"
11202d62a77cSmrg"*) ;;
11212d62a77cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
11222d62a77cSmrg	 ac_unrecognized_sep=', ';;
1123a99f82b8Smrg    esac
11242d62a77cSmrg    eval with_$ac_useropt=\$ac_optarg ;;
1125a99f82b8Smrg
1126a99f82b8Smrg  -without-* | --without-*)
11272d62a77cSmrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128a99f82b8Smrg    # Reject names that are not valid shell variable names.
11292d62a77cSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11302d62a77cSmrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1131a99f82b8Smrg   { (exit 1); exit 1; }; }
11322d62a77cSmrg    ac_useropt_orig=$ac_useropt
11332d62a77cSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11342d62a77cSmrg    case $ac_user_opts in
11352d62a77cSmrg      *"
11362d62a77cSmrg"with_$ac_useropt"
11372d62a77cSmrg"*) ;;
11382d62a77cSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11392d62a77cSmrg	 ac_unrecognized_sep=', ';;
11402d62a77cSmrg    esac
11412d62a77cSmrg    eval with_$ac_useropt=no ;;
1142a99f82b8Smrg
1143a99f82b8Smrg  --x)
1144a99f82b8Smrg    # Obsolete; use --with-x.
1145a99f82b8Smrg    with_x=yes ;;
1146a99f82b8Smrg
1147a99f82b8Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1148a99f82b8Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1149a99f82b8Smrg    ac_prev=x_includes ;;
1150a99f82b8Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1151a99f82b8Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1152a99f82b8Smrg    x_includes=$ac_optarg ;;
1153a99f82b8Smrg
1154a99f82b8Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1155a99f82b8Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1156a99f82b8Smrg    ac_prev=x_libraries ;;
1157a99f82b8Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1158a99f82b8Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1159a99f82b8Smrg    x_libraries=$ac_optarg ;;
1160a99f82b8Smrg
11612d62a77cSmrg  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1162a99f82b8SmrgTry \`$0 --help' for more information." >&2
1163a99f82b8Smrg   { (exit 1); exit 1; }; }
1164a99f82b8Smrg    ;;
1165a99f82b8Smrg
1166a99f82b8Smrg  *=*)
1167a99f82b8Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1168a99f82b8Smrg    # Reject names that are not valid shell variable names.
1169a99f82b8Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
11702d62a77cSmrg      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1171a99f82b8Smrg   { (exit 1); exit 1; }; }
11722d62a77cSmrg    eval $ac_envvar=\$ac_optarg
1173a99f82b8Smrg    export $ac_envvar ;;
1174a99f82b8Smrg
1175a99f82b8Smrg  *)
1176a99f82b8Smrg    # FIXME: should be removed in autoconf 3.0.
11772d62a77cSmrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1178a99f82b8Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11792d62a77cSmrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1180a99f82b8Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1181a99f82b8Smrg    ;;
1182a99f82b8Smrg
1183a99f82b8Smrg  esac
1184a99f82b8Smrgdone
1185a99f82b8Smrg
1186a99f82b8Smrgif test -n "$ac_prev"; then
1187a99f82b8Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11882d62a77cSmrg  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1189a99f82b8Smrg   { (exit 1); exit 1; }; }
1190a99f82b8Smrgfi
1191a99f82b8Smrg
11922d62a77cSmrgif test -n "$ac_unrecognized_opts"; then
11932d62a77cSmrg  case $enable_option_checking in
11942d62a77cSmrg    no) ;;
11952d62a77cSmrg    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
11962d62a77cSmrg   { (exit 1); exit 1; }; } ;;
11972d62a77cSmrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198a99f82b8Smrg  esac
11992d62a77cSmrgfi
1200a99f82b8Smrg
12012d62a77cSmrg# Check all directory arguments for consistency.
12022d62a77cSmrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
12032d62a77cSmrg		datadir sysconfdir sharedstatedir localstatedir includedir \
12042d62a77cSmrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12052d62a77cSmrg		libdir localedir mandir
1206a99f82b8Smrgdo
12072d62a77cSmrg  eval ac_val=\$$ac_var
12082d62a77cSmrg  # Remove trailing slashes.
1209a99f82b8Smrg  case $ac_val in
12102d62a77cSmrg    */ )
12112d62a77cSmrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
12122d62a77cSmrg      eval $ac_var=\$ac_val;;
12132d62a77cSmrg  esac
12142d62a77cSmrg  # Be sure to have absolute directory names.
12152d62a77cSmrg  case $ac_val in
12162d62a77cSmrg    [\\/$]* | ?:[\\/]* )  continue;;
12172d62a77cSmrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1218a99f82b8Smrg  esac
12192d62a77cSmrg  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
12202d62a77cSmrg   { (exit 1); exit 1; }; }
1221a99f82b8Smrgdone
1222a99f82b8Smrg
1223a99f82b8Smrg# There might be people who depend on the old broken behavior: `$host'
1224a99f82b8Smrg# used to hold the argument of --host etc.
1225a99f82b8Smrg# FIXME: To remove some day.
1226a99f82b8Smrgbuild=$build_alias
1227a99f82b8Smrghost=$host_alias
1228a99f82b8Smrgtarget=$target_alias
1229a99f82b8Smrg
1230a99f82b8Smrg# FIXME: To remove some day.
1231a99f82b8Smrgif test "x$host_alias" != x; then
1232a99f82b8Smrg  if test "x$build_alias" = x; then
1233a99f82b8Smrg    cross_compiling=maybe
12342d62a77cSmrg    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1235a99f82b8Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
1236a99f82b8Smrg  elif test "x$build_alias" != "x$host_alias"; then
1237a99f82b8Smrg    cross_compiling=yes
1238a99f82b8Smrg  fi
1239a99f82b8Smrgfi
1240a99f82b8Smrg
1241a99f82b8Smrgac_tool_prefix=
1242a99f82b8Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1243a99f82b8Smrg
1244a99f82b8Smrgtest "$silent" = yes && exec 6>/dev/null
1245a99f82b8Smrg
1246a99f82b8Smrg
12472d62a77cSmrgac_pwd=`pwd` && test -n "$ac_pwd" &&
12482d62a77cSmrgac_ls_di=`ls -di .` &&
12492d62a77cSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12502d62a77cSmrg  { $as_echo "$as_me: error: working directory cannot be determined" >&2
12512d62a77cSmrg   { (exit 1); exit 1; }; }
12522d62a77cSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12532d62a77cSmrg  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
12542d62a77cSmrg   { (exit 1); exit 1; }; }
12552d62a77cSmrg
12562d62a77cSmrg
1257a99f82b8Smrg# Find the source files, if location was not specified.
1258a99f82b8Smrgif test -z "$srcdir"; then
1259a99f82b8Smrg  ac_srcdir_defaulted=yes
12602d62a77cSmrg  # Try the directory containing this script, then the parent directory.
12612d62a77cSmrg  ac_confdir=`$as_dirname -- "$as_myself" ||
12622d62a77cSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12632d62a77cSmrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
12642d62a77cSmrg	 X"$as_myself" : 'X\(//\)$' \| \
12652d62a77cSmrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12662d62a77cSmrg$as_echo X"$as_myself" |
12672d62a77cSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12682d62a77cSmrg	    s//\1/
12692d62a77cSmrg	    q
12702d62a77cSmrg	  }
12712d62a77cSmrg	  /^X\(\/\/\)[^/].*/{
12722d62a77cSmrg	    s//\1/
12732d62a77cSmrg	    q
12742d62a77cSmrg	  }
12752d62a77cSmrg	  /^X\(\/\/\)$/{
12762d62a77cSmrg	    s//\1/
12772d62a77cSmrg	    q
12782d62a77cSmrg	  }
12792d62a77cSmrg	  /^X\(\/\).*/{
12802d62a77cSmrg	    s//\1/
12812d62a77cSmrg	    q
12822d62a77cSmrg	  }
12832d62a77cSmrg	  s/.*/./; q'`
1284a99f82b8Smrg  srcdir=$ac_confdir
12852d62a77cSmrg  if test ! -r "$srcdir/$ac_unique_file"; then
1286a99f82b8Smrg    srcdir=..
1287a99f82b8Smrg  fi
1288a99f82b8Smrgelse
1289a99f82b8Smrg  ac_srcdir_defaulted=no
1290a99f82b8Smrgfi
12912d62a77cSmrgif test ! -r "$srcdir/$ac_unique_file"; then
12922d62a77cSmrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12932d62a77cSmrg  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1294a99f82b8Smrg   { (exit 1); exit 1; }; }
1295a99f82b8Smrgfi
12962d62a77cSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12972d62a77cSmrgac_abs_confdir=`(
12982d62a77cSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1299a99f82b8Smrg   { (exit 1); exit 1; }; }
13002d62a77cSmrg	pwd)`
13012d62a77cSmrg# When building in place, set srcdir=.
13022d62a77cSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then
13032d62a77cSmrg  srcdir=.
13042d62a77cSmrgfi
13052d62a77cSmrg# Remove unnecessary trailing slashes from srcdir.
13062d62a77cSmrg# Double slashes in file names in object file debugging info
13072d62a77cSmrg# mess up M-x gdb in Emacs.
13082d62a77cSmrgcase $srcdir in
13092d62a77cSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
13102d62a77cSmrgesac
13112d62a77cSmrgfor ac_var in $ac_precious_vars; do
13122d62a77cSmrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
13132d62a77cSmrg  eval ac_env_${ac_var}_value=\$${ac_var}
13142d62a77cSmrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
13152d62a77cSmrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
13162d62a77cSmrgdone
1317a99f82b8Smrg
1318a99f82b8Smrg#
1319a99f82b8Smrg# Report the --help message.
1320a99f82b8Smrg#
1321a99f82b8Smrgif test "$ac_init_help" = "long"; then
1322a99f82b8Smrg  # Omit some internal or obsolete options to make the list less imposing.
1323a99f82b8Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1324a99f82b8Smrg  cat <<_ACEOF
13252d62a77cSmrg\`configure' configures font-alias 1.0.2 to adapt to many kinds of systems.
1326a99f82b8Smrg
1327a99f82b8SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1328a99f82b8Smrg
1329a99f82b8SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1330a99f82b8SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1331a99f82b8Smrg
1332a99f82b8SmrgDefaults for the options are specified in brackets.
1333a99f82b8Smrg
1334a99f82b8SmrgConfiguration:
1335a99f82b8Smrg  -h, --help              display this help and exit
1336a99f82b8Smrg      --help=short        display options specific to this package
1337a99f82b8Smrg      --help=recursive    display the short help of all the included packages
1338a99f82b8Smrg  -V, --version           display version information and exit
1339a99f82b8Smrg  -q, --quiet, --silent   do not print \`checking...' messages
1340a99f82b8Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1341a99f82b8Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1342a99f82b8Smrg  -n, --no-create         do not create output files
1343a99f82b8Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1344a99f82b8Smrg
1345a99f82b8SmrgInstallation directories:
1346a99f82b8Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
13472d62a77cSmrg                          [$ac_default_prefix]
1348a99f82b8Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
13492d62a77cSmrg                          [PREFIX]
1350a99f82b8Smrg
1351a99f82b8SmrgBy default, \`make install' will install all the files in
1352a99f82b8Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1353a99f82b8Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1354a99f82b8Smrgfor instance \`--prefix=\$HOME'.
1355a99f82b8Smrg
1356a99f82b8SmrgFor better control, use the options below.
1357a99f82b8Smrg
1358a99f82b8SmrgFine tuning of the installation directories:
13592d62a77cSmrg  --bindir=DIR            user executables [EPREFIX/bin]
13602d62a77cSmrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
13612d62a77cSmrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
13622d62a77cSmrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
13632d62a77cSmrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
13642d62a77cSmrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
13652d62a77cSmrg  --libdir=DIR            object code libraries [EPREFIX/lib]
13662d62a77cSmrg  --includedir=DIR        C header files [PREFIX/include]
13672d62a77cSmrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
13682d62a77cSmrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
13692d62a77cSmrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
13702d62a77cSmrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
13712d62a77cSmrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
13722d62a77cSmrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
13732d62a77cSmrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/font-alias]
13742d62a77cSmrg  --htmldir=DIR           html documentation [DOCDIR]
13752d62a77cSmrg  --dvidir=DIR            dvi documentation [DOCDIR]
13762d62a77cSmrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13772d62a77cSmrg  --psdir=DIR             ps documentation [DOCDIR]
1378a99f82b8Smrg_ACEOF
1379a99f82b8Smrg
1380a99f82b8Smrg  cat <<\_ACEOF
1381a99f82b8Smrg
1382a99f82b8SmrgProgram names:
1383a99f82b8Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1384a99f82b8Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1385a99f82b8Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13862d62a77cSmrg
13872d62a77cSmrgSystem types:
13882d62a77cSmrg  --build=BUILD     configure for building on BUILD [guessed]
13892d62a77cSmrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1390a99f82b8Smrg_ACEOF
1391a99f82b8Smrgfi
1392a99f82b8Smrg
1393a99f82b8Smrgif test -n "$ac_init_help"; then
1394a99f82b8Smrg  case $ac_init_help in
13952d62a77cSmrg     short | recursive ) echo "Configuration of font-alias 1.0.2:";;
1396a99f82b8Smrg   esac
1397a99f82b8Smrg  cat <<\_ACEOF
1398a99f82b8Smrg
1399a99f82b8SmrgOptional Features:
14002d62a77cSmrg  --disable-option-checking  ignore unrecognized --enable/--with options
1401a99f82b8Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1402a99f82b8Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
14032d62a77cSmrg  --enable-maintainer-mode  enable make rules and dependencies not useful
14042d62a77cSmrg			  (and sometimes confusing) to the casual installer
14052d62a77cSmrg  --disable-dependency-tracking  speeds up one-time build
14062d62a77cSmrg  --enable-dependency-tracking   do not reject slow dependency extractors
14072d62a77cSmrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
14082d62a77cSmrg  --disable-silent-rules         verbose build output (undo: `make V=0')
14092d62a77cSmrg  --enable-strict-compilation
14102d62a77cSmrg                          Enable all warnings from compiler and make them
14112d62a77cSmrg                          errors (default: disabled)
1412a99f82b8Smrg
1413a99f82b8SmrgOptional Packages:
1414a99f82b8Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1415a99f82b8Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1416a99f82b8Smrg  --with-release-version=STRING
1417a99f82b8Smrg                          Use release version string in package name
14182d62a77cSmrg  --with-fontrootdir=DIR  Path to root directory for font files
14192d62a77cSmrg  --with-top-fontdir=<pathname>
14202d62a77cSmrg                          Obsolete: use --with-fontrootdir instead
14212d62a77cSmrg
14222d62a77cSmrgSome influential environment variables:
14232d62a77cSmrg  CC          C compiler command
14242d62a77cSmrg  CFLAGS      C compiler flags
14252d62a77cSmrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
14262d62a77cSmrg              nonstandard directory <lib dir>
14272d62a77cSmrg  LIBS        libraries to pass to the linker, e.g. -l<library>
14282d62a77cSmrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
14292d62a77cSmrg              you have headers in a nonstandard directory <include dir>
14302d62a77cSmrg  CPP         C preprocessor
14312d62a77cSmrg  PKG_CONFIG  path to pkg-config utility
14322d62a77cSmrg
14332d62a77cSmrgUse these variables to override the choices made by `configure' or to help
14342d62a77cSmrgit to find libraries and programs with nonstandard names/locations.
1435a99f82b8Smrg
1436a99f82b8SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1437a99f82b8Smrg_ACEOF
14382d62a77cSmrgac_status=$?
1439a99f82b8Smrgfi
1440a99f82b8Smrg
1441a99f82b8Smrgif test "$ac_init_help" = "recursive"; then
1442a99f82b8Smrg  # If there are subdirs, report their specific --help.
1443a99f82b8Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
14442d62a77cSmrg    test -d "$ac_dir" ||
14452d62a77cSmrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14462d62a77cSmrg      continue
1447a99f82b8Smrg    ac_builddir=.
1448a99f82b8Smrg
14492d62a77cSmrgcase "$ac_dir" in
14502d62a77cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14512d62a77cSmrg*)
14522d62a77cSmrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14532d62a77cSmrg  # A ".." for each directory in $ac_dir_suffix.
14542d62a77cSmrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14552d62a77cSmrg  case $ac_top_builddir_sub in
14562d62a77cSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14572d62a77cSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14582d62a77cSmrg  esac ;;
14592d62a77cSmrgesac
14602d62a77cSmrgac_abs_top_builddir=$ac_pwd
14612d62a77cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
14622d62a77cSmrg# for backward compatibility:
14632d62a77cSmrgac_top_builddir=$ac_top_build_prefix
1464a99f82b8Smrg
1465a99f82b8Smrgcase $srcdir in
14662d62a77cSmrg  .)  # We are building in place.
1467a99f82b8Smrg    ac_srcdir=.
14682d62a77cSmrg    ac_top_srcdir=$ac_top_builddir_sub
14692d62a77cSmrg    ac_abs_top_srcdir=$ac_pwd ;;
14702d62a77cSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1471a99f82b8Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
14722d62a77cSmrg    ac_top_srcdir=$srcdir
14732d62a77cSmrg    ac_abs_top_srcdir=$srcdir ;;
14742d62a77cSmrg  *) # Relative name.
14752d62a77cSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14762d62a77cSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
14772d62a77cSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478a99f82b8Smrgesac
14792d62a77cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14802d62a77cSmrg
14812d62a77cSmrg    cd "$ac_dir" || { ac_status=$?; continue; }
14822d62a77cSmrg    # Check for guested configure.
14832d62a77cSmrg    if test -f "$ac_srcdir/configure.gnu"; then
14842d62a77cSmrg      echo &&
14852d62a77cSmrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14862d62a77cSmrg    elif test -f "$ac_srcdir/configure"; then
14872d62a77cSmrg      echo &&
14882d62a77cSmrg      $SHELL "$ac_srcdir/configure" --help=recursive
1489a99f82b8Smrg    else
14902d62a77cSmrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14912d62a77cSmrg    fi || ac_status=$?
14922d62a77cSmrg    cd "$ac_pwd" || { ac_status=$?; break; }
1493a99f82b8Smrg  done
1494a99f82b8Smrgfi
1495a99f82b8Smrg
14962d62a77cSmrgtest -n "$ac_init_help" && exit $ac_status
1497a99f82b8Smrgif $ac_init_version; then
1498a99f82b8Smrg  cat <<\_ACEOF
14992d62a77cSmrgfont-alias configure 1.0.2
15002d62a77cSmrggenerated by GNU Autoconf 2.63
1501a99f82b8Smrg
15022d62a77cSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15032d62a77cSmrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1504a99f82b8SmrgThis configure script is free software; the Free Software Foundation
1505a99f82b8Smrggives unlimited permission to copy, distribute and modify it.
1506a99f82b8Smrg_ACEOF
15072d62a77cSmrg  exit
1508a99f82b8Smrgfi
15092d62a77cSmrgcat >config.log <<_ACEOF
1510a99f82b8SmrgThis file contains any messages produced by compilers while
1511a99f82b8Smrgrunning configure, to aid debugging if configure makes a mistake.
1512a99f82b8Smrg
15132d62a77cSmrgIt was created by font-alias $as_me 1.0.2, which was
15142d62a77cSmrggenerated by GNU Autoconf 2.63.  Invocation command line was
1515a99f82b8Smrg
1516a99f82b8Smrg  $ $0 $@
1517a99f82b8Smrg
1518a99f82b8Smrg_ACEOF
15192d62a77cSmrgexec 5>>config.log
1520a99f82b8Smrg{
1521a99f82b8Smrgcat <<_ASUNAME
1522a99f82b8Smrg## --------- ##
1523a99f82b8Smrg## Platform. ##
1524a99f82b8Smrg## --------- ##
1525a99f82b8Smrg
1526a99f82b8Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1527a99f82b8Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1528a99f82b8Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1529a99f82b8Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1530a99f82b8Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1531a99f82b8Smrg
1532a99f82b8Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1533a99f82b8Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1534a99f82b8Smrg
1535a99f82b8Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1536a99f82b8Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1537a99f82b8Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
15382d62a77cSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1539a99f82b8Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1540a99f82b8Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1541a99f82b8Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1542a99f82b8Smrg
1543a99f82b8Smrg_ASUNAME
1544a99f82b8Smrg
1545a99f82b8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1546a99f82b8Smrgfor as_dir in $PATH
1547a99f82b8Smrgdo
1548a99f82b8Smrg  IFS=$as_save_IFS
1549a99f82b8Smrg  test -z "$as_dir" && as_dir=.
15502d62a77cSmrg  $as_echo "PATH: $as_dir"
1551a99f82b8Smrgdone
15522d62a77cSmrgIFS=$as_save_IFS
1553a99f82b8Smrg
1554a99f82b8Smrg} >&5
1555a99f82b8Smrg
1556a99f82b8Smrgcat >&5 <<_ACEOF
1557a99f82b8Smrg
1558a99f82b8Smrg
1559a99f82b8Smrg## ----------- ##
1560a99f82b8Smrg## Core tests. ##
1561a99f82b8Smrg## ----------- ##
1562a99f82b8Smrg
1563a99f82b8Smrg_ACEOF
1564a99f82b8Smrg
1565a99f82b8Smrg
1566a99f82b8Smrg# Keep a trace of the command line.
1567a99f82b8Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1568a99f82b8Smrg# Strip out --silent because we don't want to record it for future runs.
1569a99f82b8Smrg# Also quote any args containing shell meta-characters.
1570a99f82b8Smrg# Make two passes to allow for proper duplicate-argument suppression.
1571a99f82b8Smrgac_configure_args=
1572a99f82b8Smrgac_configure_args0=
1573a99f82b8Smrgac_configure_args1=
1574a99f82b8Smrgac_must_keep_next=false
1575a99f82b8Smrgfor ac_pass in 1 2
1576a99f82b8Smrgdo
1577a99f82b8Smrg  for ac_arg
1578a99f82b8Smrg  do
1579a99f82b8Smrg    case $ac_arg in
1580a99f82b8Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1581a99f82b8Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1582a99f82b8Smrg    | -silent | --silent | --silen | --sile | --sil)
1583a99f82b8Smrg      continue ;;
15842d62a77cSmrg    *\'*)
15852d62a77cSmrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1586a99f82b8Smrg    esac
1587a99f82b8Smrg    case $ac_pass in
1588a99f82b8Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1589a99f82b8Smrg    2)
1590a99f82b8Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1591a99f82b8Smrg      if test $ac_must_keep_next = true; then
1592a99f82b8Smrg	ac_must_keep_next=false # Got value, back to normal.
1593a99f82b8Smrg      else
1594a99f82b8Smrg	case $ac_arg in
1595a99f82b8Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1596a99f82b8Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1597a99f82b8Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1598a99f82b8Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1599a99f82b8Smrg	    case "$ac_configure_args0 " in
1600a99f82b8Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1601a99f82b8Smrg	    esac
1602a99f82b8Smrg	    ;;
1603a99f82b8Smrg	  -* ) ac_must_keep_next=true ;;
1604a99f82b8Smrg	esac
1605a99f82b8Smrg      fi
16062d62a77cSmrg      ac_configure_args="$ac_configure_args '$ac_arg'"
1607a99f82b8Smrg      ;;
1608a99f82b8Smrg    esac
1609a99f82b8Smrg  done
1610a99f82b8Smrgdone
1611a99f82b8Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1612a99f82b8Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1613a99f82b8Smrg
1614a99f82b8Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1615a99f82b8Smrg# config.log.  We remove comments because anyway the quotes in there
1616a99f82b8Smrg# would cause problems or look ugly.
16172d62a77cSmrg# WARNING: Use '\'' to represent an apostrophe within the trap.
16182d62a77cSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1619a99f82b8Smrgtrap 'exit_status=$?
1620a99f82b8Smrg  # Save into config.log some information that might help in debugging.
1621a99f82b8Smrg  {
1622a99f82b8Smrg    echo
1623a99f82b8Smrg
1624a99f82b8Smrg    cat <<\_ASBOX
1625a99f82b8Smrg## ---------------- ##
1626a99f82b8Smrg## Cache variables. ##
1627a99f82b8Smrg## ---------------- ##
1628a99f82b8Smrg_ASBOX
1629a99f82b8Smrg    echo
1630a99f82b8Smrg    # The following way of writing the cache mishandles newlines in values,
16312d62a77cSmrg(
16322d62a77cSmrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
16332d62a77cSmrg    eval ac_val=\$$ac_var
16342d62a77cSmrg    case $ac_val in #(
16352d62a77cSmrg    *${as_nl}*)
16362d62a77cSmrg      case $ac_var in #(
16372d62a77cSmrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
16382d62a77cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16392d62a77cSmrg      esac
16402d62a77cSmrg      case $ac_var in #(
16412d62a77cSmrg      _ | IFS | as_nl) ;; #(
16422d62a77cSmrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16432d62a77cSmrg      *) $as_unset $ac_var ;;
16442d62a77cSmrg      esac ;;
16452d62a77cSmrg    esac
16462d62a77cSmrg  done
1647a99f82b8Smrg  (set) 2>&1 |
16482d62a77cSmrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
16492d62a77cSmrg    *${as_nl}ac_space=\ *)
1650a99f82b8Smrg      sed -n \
16512d62a77cSmrg	"s/'\''/'\''\\\\'\'''\''/g;
16522d62a77cSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
16532d62a77cSmrg      ;; #(
1654a99f82b8Smrg    *)
16552d62a77cSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1656a99f82b8Smrg      ;;
16572d62a77cSmrg    esac |
16582d62a77cSmrg    sort
16592d62a77cSmrg)
1660a99f82b8Smrg    echo
1661a99f82b8Smrg
1662a99f82b8Smrg    cat <<\_ASBOX
1663a99f82b8Smrg## ----------------- ##
1664a99f82b8Smrg## Output variables. ##
1665a99f82b8Smrg## ----------------- ##
1666a99f82b8Smrg_ASBOX
1667a99f82b8Smrg    echo
1668a99f82b8Smrg    for ac_var in $ac_subst_vars
1669a99f82b8Smrg    do
16702d62a77cSmrg      eval ac_val=\$$ac_var
16712d62a77cSmrg      case $ac_val in
16722d62a77cSmrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16732d62a77cSmrg      esac
16742d62a77cSmrg      $as_echo "$ac_var='\''$ac_val'\''"
1675a99f82b8Smrg    done | sort
1676a99f82b8Smrg    echo
1677a99f82b8Smrg
1678a99f82b8Smrg    if test -n "$ac_subst_files"; then
1679a99f82b8Smrg      cat <<\_ASBOX
16802d62a77cSmrg## ------------------- ##
16812d62a77cSmrg## File substitutions. ##
16822d62a77cSmrg## ------------------- ##
1683a99f82b8Smrg_ASBOX
1684a99f82b8Smrg      echo
1685a99f82b8Smrg      for ac_var in $ac_subst_files
1686a99f82b8Smrg      do
16872d62a77cSmrg	eval ac_val=\$$ac_var
16882d62a77cSmrg	case $ac_val in
16892d62a77cSmrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16902d62a77cSmrg	esac
16912d62a77cSmrg	$as_echo "$ac_var='\''$ac_val'\''"
1692a99f82b8Smrg      done | sort
1693a99f82b8Smrg      echo
1694a99f82b8Smrg    fi
1695a99f82b8Smrg
1696a99f82b8Smrg    if test -s confdefs.h; then
1697a99f82b8Smrg      cat <<\_ASBOX
1698a99f82b8Smrg## ----------- ##
1699a99f82b8Smrg## confdefs.h. ##
1700a99f82b8Smrg## ----------- ##
1701a99f82b8Smrg_ASBOX
1702a99f82b8Smrg      echo
17032d62a77cSmrg      cat confdefs.h
1704a99f82b8Smrg      echo
1705a99f82b8Smrg    fi
1706a99f82b8Smrg    test "$ac_signal" != 0 &&
17072d62a77cSmrg      $as_echo "$as_me: caught signal $ac_signal"
17082d62a77cSmrg    $as_echo "$as_me: exit $exit_status"
1709a99f82b8Smrg  } >&5
17102d62a77cSmrg  rm -f core *.core core.conftest.* &&
17112d62a77cSmrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1712a99f82b8Smrg    exit $exit_status
17132d62a77cSmrg' 0
1714a99f82b8Smrgfor ac_signal in 1 2 13 15; do
1715a99f82b8Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1716a99f82b8Smrgdone
1717a99f82b8Smrgac_signal=0
1718a99f82b8Smrg
1719a99f82b8Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
17202d62a77cSmrgrm -f -r conftest* confdefs.h
1721a99f82b8Smrg
1722a99f82b8Smrg# Predefined preprocessor variables.
1723a99f82b8Smrg
1724a99f82b8Smrgcat >>confdefs.h <<_ACEOF
1725a99f82b8Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
1726a99f82b8Smrg_ACEOF
1727a99f82b8Smrg
1728a99f82b8Smrg
1729a99f82b8Smrgcat >>confdefs.h <<_ACEOF
1730a99f82b8Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1731a99f82b8Smrg_ACEOF
1732a99f82b8Smrg
1733a99f82b8Smrg
1734a99f82b8Smrgcat >>confdefs.h <<_ACEOF
1735a99f82b8Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1736a99f82b8Smrg_ACEOF
1737a99f82b8Smrg
1738a99f82b8Smrg
1739a99f82b8Smrgcat >>confdefs.h <<_ACEOF
1740a99f82b8Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
1741a99f82b8Smrg_ACEOF
1742a99f82b8Smrg
1743a99f82b8Smrg
1744a99f82b8Smrgcat >>confdefs.h <<_ACEOF
1745a99f82b8Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1746a99f82b8Smrg_ACEOF
1747a99f82b8Smrg
1748a99f82b8Smrg
1749a99f82b8Smrg# Let the site file select an alternate cache file if it wants to.
17502d62a77cSmrg# Prefer an explicitly selected file to automatically selected ones.
17512d62a77cSmrgac_site_file1=NONE
17522d62a77cSmrgac_site_file2=NONE
17532d62a77cSmrgif test -n "$CONFIG_SITE"; then
17542d62a77cSmrg  ac_site_file1=$CONFIG_SITE
17552d62a77cSmrgelif test "x$prefix" != xNONE; then
17562d62a77cSmrg  ac_site_file1=$prefix/share/config.site
17572d62a77cSmrg  ac_site_file2=$prefix/etc/config.site
17582d62a77cSmrgelse
17592d62a77cSmrg  ac_site_file1=$ac_default_prefix/share/config.site
17602d62a77cSmrg  ac_site_file2=$ac_default_prefix/etc/config.site
1761a99f82b8Smrgfi
17622d62a77cSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
17632d62a77cSmrgdo
17642d62a77cSmrg  test "x$ac_site_file" = xNONE && continue
1765a99f82b8Smrg  if test -r "$ac_site_file"; then
17662d62a77cSmrg    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
17672d62a77cSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1768a99f82b8Smrg    sed 's/^/| /' "$ac_site_file" >&5
1769a99f82b8Smrg    . "$ac_site_file"
1770a99f82b8Smrg  fi
1771a99f82b8Smrgdone
1772a99f82b8Smrg
1773a99f82b8Smrgif test -r "$cache_file"; then
1774a99f82b8Smrg  # Some versions of bash will fail to source /dev/null (special
1775a99f82b8Smrg  # files actually), so we avoid doing that.
1776a99f82b8Smrg  if test -f "$cache_file"; then
17772d62a77cSmrg    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
17782d62a77cSmrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1779a99f82b8Smrg    case $cache_file in
17802d62a77cSmrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
17812d62a77cSmrg      *)                      . "./$cache_file";;
1782a99f82b8Smrg    esac
1783a99f82b8Smrg  fi
1784a99f82b8Smrgelse
17852d62a77cSmrg  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
17862d62a77cSmrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1787a99f82b8Smrg  >$cache_file
1788a99f82b8Smrgfi
1789a99f82b8Smrg
1790a99f82b8Smrg# Check that the precious variables saved in the cache have kept the same
1791a99f82b8Smrg# value.
1792a99f82b8Smrgac_cache_corrupted=false
17932d62a77cSmrgfor ac_var in $ac_precious_vars; do
1794a99f82b8Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1795a99f82b8Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
17962d62a77cSmrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
17972d62a77cSmrg  eval ac_new_val=\$ac_env_${ac_var}_value
1798a99f82b8Smrg  case $ac_old_set,$ac_new_set in
1799a99f82b8Smrg    set,)
18002d62a77cSmrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18012d62a77cSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1802a99f82b8Smrg      ac_cache_corrupted=: ;;
1803a99f82b8Smrg    ,set)
18042d62a77cSmrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
18052d62a77cSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1806a99f82b8Smrg      ac_cache_corrupted=: ;;
1807a99f82b8Smrg    ,);;
1808a99f82b8Smrg    *)
1809a99f82b8Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
18102d62a77cSmrg	# differences in whitespace do not lead to failure.
18112d62a77cSmrg	ac_old_val_w=`echo x $ac_old_val`
18122d62a77cSmrg	ac_new_val_w=`echo x $ac_new_val`
18132d62a77cSmrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
18142d62a77cSmrg	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
18152d62a77cSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
18162d62a77cSmrg	  ac_cache_corrupted=:
18172d62a77cSmrg	else
18182d62a77cSmrg	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18192d62a77cSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
18202d62a77cSmrg	  eval $ac_var=\$ac_old_val
18212d62a77cSmrg	fi
18222d62a77cSmrg	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
18232d62a77cSmrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
18242d62a77cSmrg	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
18252d62a77cSmrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1826a99f82b8Smrg      fi;;
1827a99f82b8Smrg  esac
1828a99f82b8Smrg  # Pass precious variables to config.status.
1829a99f82b8Smrg  if test "$ac_new_set" = set; then
1830a99f82b8Smrg    case $ac_new_val in
18312d62a77cSmrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1832a99f82b8Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1833a99f82b8Smrg    esac
1834a99f82b8Smrg    case " $ac_configure_args " in
1835a99f82b8Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1836a99f82b8Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1837a99f82b8Smrg    esac
1838a99f82b8Smrg  fi
1839a99f82b8Smrgdone
1840a99f82b8Smrgif $ac_cache_corrupted; then
18412d62a77cSmrg  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18422d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18432d62a77cSmrg  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
18442d62a77cSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
18452d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
18462d62a77cSmrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1847a99f82b8Smrg   { (exit 1); exit 1; }; }
1848a99f82b8Smrgfi
1849a99f82b8Smrg
1850a99f82b8Smrg
1851a99f82b8Smrg
1852a99f82b8Smrg
1853a99f82b8Smrg
1854a99f82b8Smrg
1855a99f82b8Smrg
1856a99f82b8Smrg
1857a99f82b8Smrg
1858a99f82b8Smrg
1859a99f82b8Smrg
1860a99f82b8Smrg
1861a99f82b8Smrg
1862a99f82b8Smrg
1863a99f82b8Smrg
1864a99f82b8Smrg
1865a99f82b8Smrg
1866a99f82b8Smrg
1867a99f82b8Smrg
1868a99f82b8Smrg
1869a99f82b8Smrg
1870a99f82b8Smrg
1871a99f82b8Smrg
1872a99f82b8Smrg
1873a99f82b8Smrg
18742d62a77cSmrgac_ext=c
18752d62a77cSmrgac_cpp='$CPP $CPPFLAGS'
18762d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18772d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18782d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1879a99f82b8Smrg
1880a99f82b8Smrg
18812d62a77cSmrgam__api_version='1.11'
1882a99f82b8Smrg
1883a99f82b8Smrgac_aux_dir=
18842d62a77cSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
18852d62a77cSmrg  if test -f "$ac_dir/install-sh"; then
1886a99f82b8Smrg    ac_aux_dir=$ac_dir
1887a99f82b8Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1888a99f82b8Smrg    break
18892d62a77cSmrg  elif test -f "$ac_dir/install.sh"; then
1890a99f82b8Smrg    ac_aux_dir=$ac_dir
1891a99f82b8Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1892a99f82b8Smrg    break
18932d62a77cSmrg  elif test -f "$ac_dir/shtool"; then
1894a99f82b8Smrg    ac_aux_dir=$ac_dir
1895a99f82b8Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1896a99f82b8Smrg    break
1897a99f82b8Smrg  fi
1898a99f82b8Smrgdone
1899a99f82b8Smrgif test -z "$ac_aux_dir"; then
19002d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
19012d62a77cSmrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1902a99f82b8Smrg   { (exit 1); exit 1; }; }
1903a99f82b8Smrgfi
19042d62a77cSmrg
19052d62a77cSmrg# These three variables are undocumented and unsupported,
19062d62a77cSmrg# and are intended to be withdrawn in a future Autoconf release.
19072d62a77cSmrg# They can cause serious problems if a builder's source tree is in a directory
19082d62a77cSmrg# whose full name contains unusual characters.
19092d62a77cSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
19102d62a77cSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
19112d62a77cSmrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
19122d62a77cSmrg
1913a99f82b8Smrg
1914a99f82b8Smrg# Find a good install program.  We prefer a C program (faster),
1915a99f82b8Smrg# so one script is as good as another.  But avoid the broken or
1916a99f82b8Smrg# incompatible versions:
1917a99f82b8Smrg# SysV /etc/install, /usr/sbin/install
1918a99f82b8Smrg# SunOS /usr/etc/install
1919a99f82b8Smrg# IRIX /sbin/install
1920a99f82b8Smrg# AIX /bin/install
1921a99f82b8Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1922a99f82b8Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1923a99f82b8Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1924a99f82b8Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1925a99f82b8Smrg# OS/2's system install, which has a completely different semantic
1926a99f82b8Smrg# ./install, which can be erroneously created by make from ./install.sh.
19272d62a77cSmrg# Reject install programs that cannot install multiple files.
19282d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19292d62a77cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
1930a99f82b8Smrgif test -z "$INSTALL"; then
1931a99f82b8Smrgif test "${ac_cv_path_install+set}" = set; then
19322d62a77cSmrg  $as_echo_n "(cached) " >&6
1933a99f82b8Smrgelse
1934a99f82b8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935a99f82b8Smrgfor as_dir in $PATH
1936a99f82b8Smrgdo
1937a99f82b8Smrg  IFS=$as_save_IFS
1938a99f82b8Smrg  test -z "$as_dir" && as_dir=.
1939a99f82b8Smrg  # Account for people who put trailing slashes in PATH elements.
1940a99f82b8Smrgcase $as_dir/ in
1941a99f82b8Smrg  ./ | .// | /cC/* | \
1942a99f82b8Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1943a99f82b8Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1944a99f82b8Smrg  /usr/ucb/* ) ;;
1945a99f82b8Smrg  *)
1946a99f82b8Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1947a99f82b8Smrg    # Don't use installbsd from OSF since it installs stuff as root
1948a99f82b8Smrg    # by default.
1949a99f82b8Smrg    for ac_prog in ginstall scoinst install; do
1950a99f82b8Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
19512d62a77cSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1952a99f82b8Smrg	  if test $ac_prog = install &&
1953a99f82b8Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1954a99f82b8Smrg	    # AIX install.  It has an incompatible calling convention.
1955a99f82b8Smrg	    :
1956a99f82b8Smrg	  elif test $ac_prog = install &&
1957a99f82b8Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1958a99f82b8Smrg	    # program-specific install script used by HP pwplus--don't use.
1959a99f82b8Smrg	    :
1960a99f82b8Smrg	  else
19612d62a77cSmrg	    rm -rf conftest.one conftest.two conftest.dir
19622d62a77cSmrg	    echo one > conftest.one
19632d62a77cSmrg	    echo two > conftest.two
19642d62a77cSmrg	    mkdir conftest.dir
19652d62a77cSmrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
19662d62a77cSmrg	      test -s conftest.one && test -s conftest.two &&
19672d62a77cSmrg	      test -s conftest.dir/conftest.one &&
19682d62a77cSmrg	      test -s conftest.dir/conftest.two
19692d62a77cSmrg	    then
19702d62a77cSmrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19712d62a77cSmrg	      break 3
19722d62a77cSmrg	    fi
1973a99f82b8Smrg	  fi
1974a99f82b8Smrg	fi
1975a99f82b8Smrg      done
1976a99f82b8Smrg    done
1977a99f82b8Smrg    ;;
1978a99f82b8Smrgesac
19792d62a77cSmrg
1980a99f82b8Smrgdone
19812d62a77cSmrgIFS=$as_save_IFS
1982a99f82b8Smrg
19832d62a77cSmrgrm -rf conftest.one conftest.two conftest.dir
1984a99f82b8Smrg
1985a99f82b8Smrgfi
1986a99f82b8Smrg  if test "${ac_cv_path_install+set}" = set; then
1987a99f82b8Smrg    INSTALL=$ac_cv_path_install
1988a99f82b8Smrg  else
19892d62a77cSmrg    # As a last resort, use the slow shell script.  Don't cache a
19902d62a77cSmrg    # value for INSTALL within a source directory, because that will
1991a99f82b8Smrg    # break other packages using the cache if that directory is
19922d62a77cSmrg    # removed, or if the value is a relative name.
1993a99f82b8Smrg    INSTALL=$ac_install_sh
1994a99f82b8Smrg  fi
1995a99f82b8Smrgfi
19962d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
19972d62a77cSmrg$as_echo "$INSTALL" >&6; }
1998a99f82b8Smrg
1999a99f82b8Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2000a99f82b8Smrg# It thinks the first close brace ends the variable substitution.
2001a99f82b8Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2002a99f82b8Smrg
2003a99f82b8Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2004a99f82b8Smrg
2005a99f82b8Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2006a99f82b8Smrg
20072d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
20082d62a77cSmrg$as_echo_n "checking whether build environment is sane... " >&6; }
2009a99f82b8Smrg# Just in case
2010a99f82b8Smrgsleep 1
2011a99f82b8Smrgecho timestamp > conftest.file
20122d62a77cSmrg# Reject unsafe characters in $srcdir or the absolute working directory
20132d62a77cSmrg# name.  Accept space and tab only in the latter.
20142d62a77cSmrgam_lf='
20152d62a77cSmrg'
20162d62a77cSmrgcase `pwd` in
20172d62a77cSmrg  *[\\\"\#\$\&\'\`$am_lf]*)
20182d62a77cSmrg    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
20192d62a77cSmrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
20202d62a77cSmrg   { (exit 1); exit 1; }; };;
20212d62a77cSmrgesac
20222d62a77cSmrgcase $srcdir in
20232d62a77cSmrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
20242d62a77cSmrg    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
20252d62a77cSmrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
20262d62a77cSmrg   { (exit 1); exit 1; }; };;
20272d62a77cSmrgesac
20282d62a77cSmrg
2029a99f82b8Smrg# Do `set' in a subshell so we don't clobber the current shell's
2030a99f82b8Smrg# arguments.  Must try -L first in case configure is actually a
2031a99f82b8Smrg# symlink; some systems play weird games with the mod time of symlinks
2032a99f82b8Smrg# (eg FreeBSD returns the mod time of the symlink's containing
2033a99f82b8Smrg# directory).
2034a99f82b8Smrgif (
20352d62a77cSmrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2036a99f82b8Smrg   if test "$*" = "X"; then
2037a99f82b8Smrg      # -L didn't work.
20382d62a77cSmrg      set X `ls -t "$srcdir/configure" conftest.file`
2039a99f82b8Smrg   fi
2040a99f82b8Smrg   rm -f conftest.file
2041a99f82b8Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
2042a99f82b8Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
2043a99f82b8Smrg
2044a99f82b8Smrg      # If neither matched, then we have a broken ls.  This can happen
2045a99f82b8Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
2046a99f82b8Smrg      # broken ls alias from the environment.  This has actually
2047a99f82b8Smrg      # happened.  Such a system could not be considered "sane".
20482d62a77cSmrg      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2049a99f82b8Smrgalias in your environment" >&5
20502d62a77cSmrg$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2051a99f82b8Smrgalias in your environment" >&2;}
2052a99f82b8Smrg   { (exit 1); exit 1; }; }
2053a99f82b8Smrg   fi
2054a99f82b8Smrg
2055a99f82b8Smrg   test "$2" = conftest.file
2056a99f82b8Smrg   )
2057a99f82b8Smrgthen
2058a99f82b8Smrg   # Ok.
2059a99f82b8Smrg   :
2060a99f82b8Smrgelse
20612d62a77cSmrg   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2062a99f82b8SmrgCheck your system clock" >&5
20632d62a77cSmrg$as_echo "$as_me: error: newly created file is older than distributed files!
2064a99f82b8SmrgCheck your system clock" >&2;}
2065a99f82b8Smrg   { (exit 1); exit 1; }; }
2066a99f82b8Smrgfi
20672d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
20682d62a77cSmrg$as_echo "yes" >&6; }
2069a99f82b8Smrgtest "$program_prefix" != NONE &&
20702d62a77cSmrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2071a99f82b8Smrg# Use a double $ so make ignores it.
2072a99f82b8Smrgtest "$program_suffix" != NONE &&
20732d62a77cSmrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
20742d62a77cSmrg# Double any \ or $.
2075a99f82b8Smrg# By default was `s,x,x', remove it if useless.
20762d62a77cSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
20772d62a77cSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2078a99f82b8Smrg
2079a99f82b8Smrg# expand $ac_aux_dir to an absolute path
2080a99f82b8Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
2081a99f82b8Smrg
20822d62a77cSmrgif test x"${MISSING+set}" != xset; then
20832d62a77cSmrg  case $am_aux_dir in
20842d62a77cSmrg  *\ * | *\	*)
20852d62a77cSmrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
20862d62a77cSmrg  *)
20872d62a77cSmrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
20882d62a77cSmrg  esac
20892d62a77cSmrgfi
2090a99f82b8Smrg# Use eval to expand $SHELL
2091a99f82b8Smrgif eval "$MISSING --run true"; then
2092a99f82b8Smrg  am_missing_run="$MISSING --run "
2093a99f82b8Smrgelse
2094a99f82b8Smrg  am_missing_run=
20952d62a77cSmrg  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
20962d62a77cSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
20972d62a77cSmrgfi
20982d62a77cSmrg
20992d62a77cSmrgif test x"${install_sh}" != xset; then
21002d62a77cSmrg  case $am_aux_dir in
21012d62a77cSmrg  *\ * | *\	*)
21022d62a77cSmrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
21032d62a77cSmrg  *)
21042d62a77cSmrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
21052d62a77cSmrg  esac
21062d62a77cSmrgfi
21072d62a77cSmrg
21082d62a77cSmrg# Installed binaries are usually stripped using `strip' when the user
21092d62a77cSmrg# run `make install-strip'.  However `strip' might not be the right
21102d62a77cSmrg# tool to use in cross-compilation environments, therefore Automake
21112d62a77cSmrg# will honor the `STRIP' environment variable to overrule this program.
21122d62a77cSmrgif test "$cross_compiling" != no; then
21132d62a77cSmrg  if test -n "$ac_tool_prefix"; then
21142d62a77cSmrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21152d62a77cSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21162d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21172d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
21182d62a77cSmrgif test "${ac_cv_prog_STRIP+set}" = set; then
21192d62a77cSmrg  $as_echo_n "(cached) " >&6
21202d62a77cSmrgelse
21212d62a77cSmrg  if test -n "$STRIP"; then
21222d62a77cSmrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21232d62a77cSmrgelse
21242d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21252d62a77cSmrgfor as_dir in $PATH
21262d62a77cSmrgdo
21272d62a77cSmrg  IFS=$as_save_IFS
21282d62a77cSmrg  test -z "$as_dir" && as_dir=.
21292d62a77cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
21302d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21312d62a77cSmrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21322d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21332d62a77cSmrg    break 2
21342d62a77cSmrg  fi
21352d62a77cSmrgdone
21362d62a77cSmrgdone
21372d62a77cSmrgIFS=$as_save_IFS
21382d62a77cSmrg
21392d62a77cSmrgfi
21402d62a77cSmrgfi
21412d62a77cSmrgSTRIP=$ac_cv_prog_STRIP
21422d62a77cSmrgif test -n "$STRIP"; then
21432d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
21442d62a77cSmrg$as_echo "$STRIP" >&6; }
21452d62a77cSmrgelse
21462d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
21472d62a77cSmrg$as_echo "no" >&6; }
21482d62a77cSmrgfi
21492d62a77cSmrg
21502d62a77cSmrg
21512d62a77cSmrgfi
21522d62a77cSmrgif test -z "$ac_cv_prog_STRIP"; then
21532d62a77cSmrg  ac_ct_STRIP=$STRIP
21542d62a77cSmrg  # Extract the first word of "strip", so it can be a program name with args.
21552d62a77cSmrgset dummy strip; ac_word=$2
21562d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21572d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
21582d62a77cSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
21592d62a77cSmrg  $as_echo_n "(cached) " >&6
21602d62a77cSmrgelse
21612d62a77cSmrg  if test -n "$ac_ct_STRIP"; then
21622d62a77cSmrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21632d62a77cSmrgelse
21642d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21652d62a77cSmrgfor as_dir in $PATH
21662d62a77cSmrgdo
21672d62a77cSmrg  IFS=$as_save_IFS
21682d62a77cSmrg  test -z "$as_dir" && as_dir=.
21692d62a77cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
21702d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21712d62a77cSmrg    ac_cv_prog_ac_ct_STRIP="strip"
21722d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21732d62a77cSmrg    break 2
21742d62a77cSmrg  fi
21752d62a77cSmrgdone
21762d62a77cSmrgdone
21772d62a77cSmrgIFS=$as_save_IFS
21782d62a77cSmrg
21792d62a77cSmrgfi
21802d62a77cSmrgfi
21812d62a77cSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
21822d62a77cSmrgif test -n "$ac_ct_STRIP"; then
21832d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
21842d62a77cSmrg$as_echo "$ac_ct_STRIP" >&6; }
21852d62a77cSmrgelse
21862d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
21872d62a77cSmrg$as_echo "no" >&6; }
21882d62a77cSmrgfi
21892d62a77cSmrg
21902d62a77cSmrg  if test "x$ac_ct_STRIP" = x; then
21912d62a77cSmrg    STRIP=":"
21922d62a77cSmrg  else
21932d62a77cSmrg    case $cross_compiling:$ac_tool_warned in
21942d62a77cSmrgyes:)
21952d62a77cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
21962d62a77cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21972d62a77cSmrgac_tool_warned=yes ;;
21982d62a77cSmrgesac
21992d62a77cSmrg    STRIP=$ac_ct_STRIP
22002d62a77cSmrg  fi
22012d62a77cSmrgelse
22022d62a77cSmrg  STRIP="$ac_cv_prog_STRIP"
22032d62a77cSmrgfi
22042d62a77cSmrg
22052d62a77cSmrgfi
22062d62a77cSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22072d62a77cSmrg
22082d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
22092d62a77cSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
22102d62a77cSmrgif test -z "$MKDIR_P"; then
22112d62a77cSmrg  if test "${ac_cv_path_mkdir+set}" = set; then
22122d62a77cSmrg  $as_echo_n "(cached) " >&6
22132d62a77cSmrgelse
22142d62a77cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22152d62a77cSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
22162d62a77cSmrgdo
22172d62a77cSmrg  IFS=$as_save_IFS
22182d62a77cSmrg  test -z "$as_dir" && as_dir=.
22192d62a77cSmrg  for ac_prog in mkdir gmkdir; do
22202d62a77cSmrg	 for ac_exec_ext in '' $ac_executable_extensions; do
22212d62a77cSmrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
22222d62a77cSmrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
22232d62a77cSmrg	     'mkdir (GNU coreutils) '* | \
22242d62a77cSmrg	     'mkdir (coreutils) '* | \
22252d62a77cSmrg	     'mkdir (fileutils) '4.1*)
22262d62a77cSmrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
22272d62a77cSmrg	       break 3;;
22282d62a77cSmrg	   esac
22292d62a77cSmrg	 done
22302d62a77cSmrg       done
22312d62a77cSmrgdone
22322d62a77cSmrgIFS=$as_save_IFS
22332d62a77cSmrg
22342d62a77cSmrgfi
22352d62a77cSmrg
22362d62a77cSmrg  if test "${ac_cv_path_mkdir+set}" = set; then
22372d62a77cSmrg    MKDIR_P="$ac_cv_path_mkdir -p"
22382d62a77cSmrg  else
22392d62a77cSmrg    # As a last resort, use the slow shell script.  Don't cache a
22402d62a77cSmrg    # value for MKDIR_P within a source directory, because that will
22412d62a77cSmrg    # break other packages using the cache if that directory is
22422d62a77cSmrg    # removed, or if the value is a relative name.
22432d62a77cSmrg    test -d ./--version && rmdir ./--version
22442d62a77cSmrg    MKDIR_P="$ac_install_sh -d"
22452d62a77cSmrg  fi
2246a99f82b8Smrgfi
22472d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
22482d62a77cSmrg$as_echo "$MKDIR_P" >&6; }
22492d62a77cSmrg
22502d62a77cSmrgmkdir_p="$MKDIR_P"
22512d62a77cSmrgcase $mkdir_p in
22522d62a77cSmrg  [\\/$]* | ?:[\\/]*) ;;
22532d62a77cSmrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
22542d62a77cSmrgesac
2255a99f82b8Smrg
2256a99f82b8Smrgfor ac_prog in gawk mawk nawk awk
2257a99f82b8Smrgdo
2258a99f82b8Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2259a99f82b8Smrgset dummy $ac_prog; ac_word=$2
22602d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22612d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
2262a99f82b8Smrgif test "${ac_cv_prog_AWK+set}" = set; then
22632d62a77cSmrg  $as_echo_n "(cached) " >&6
2264a99f82b8Smrgelse
2265a99f82b8Smrg  if test -n "$AWK"; then
2266a99f82b8Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2267a99f82b8Smrgelse
2268a99f82b8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269a99f82b8Smrgfor as_dir in $PATH
2270a99f82b8Smrgdo
2271a99f82b8Smrg  IFS=$as_save_IFS
2272a99f82b8Smrg  test -z "$as_dir" && as_dir=.
2273a99f82b8Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
22742d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275a99f82b8Smrg    ac_cv_prog_AWK="$ac_prog"
22762d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277a99f82b8Smrg    break 2
2278a99f82b8Smrg  fi
2279a99f82b8Smrgdone
2280a99f82b8Smrgdone
22812d62a77cSmrgIFS=$as_save_IFS
2282a99f82b8Smrg
2283a99f82b8Smrgfi
2284a99f82b8Smrgfi
2285a99f82b8SmrgAWK=$ac_cv_prog_AWK
2286a99f82b8Smrgif test -n "$AWK"; then
22872d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
22882d62a77cSmrg$as_echo "$AWK" >&6; }
2289a99f82b8Smrgelse
22902d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
22912d62a77cSmrg$as_echo "no" >&6; }
2292a99f82b8Smrgfi
2293a99f82b8Smrg
22942d62a77cSmrg
2295a99f82b8Smrg  test -n "$AWK" && break
2296a99f82b8Smrgdone
2297a99f82b8Smrg
22982d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
22992d62a77cSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
23002d62a77cSmrgset x ${MAKE-make}
23012d62a77cSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
23022d62a77cSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
23032d62a77cSmrg  $as_echo_n "(cached) " >&6
2304a99f82b8Smrgelse
2305a99f82b8Smrg  cat >conftest.make <<\_ACEOF
23062d62a77cSmrgSHELL = /bin/sh
2307a99f82b8Smrgall:
23082d62a77cSmrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2309a99f82b8Smrg_ACEOF
2310a99f82b8Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23112d62a77cSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
23122d62a77cSmrg  *@@@%%%=?*=@@@%%%*)
23132d62a77cSmrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
23142d62a77cSmrg  *)
23152d62a77cSmrg    eval ac_cv_prog_make_${ac_make}_set=no;;
23162d62a77cSmrgesac
2317a99f82b8Smrgrm -f conftest.make
2318a99f82b8Smrgfi
23192d62a77cSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
23202d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: yes" >&5
23212d62a77cSmrg$as_echo "yes" >&6; }
2322a99f82b8Smrg  SET_MAKE=
2323a99f82b8Smrgelse
23242d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
23252d62a77cSmrg$as_echo "no" >&6; }
2326a99f82b8Smrg  SET_MAKE="MAKE=${MAKE-make}"
2327a99f82b8Smrgfi
2328a99f82b8Smrg
2329a99f82b8Smrgrm -rf .tst 2>/dev/null
2330a99f82b8Smrgmkdir .tst 2>/dev/null
2331a99f82b8Smrgif test -d .tst; then
2332a99f82b8Smrg  am__leading_dot=.
2333a99f82b8Smrgelse
2334a99f82b8Smrg  am__leading_dot=_
2335a99f82b8Smrgfi
2336a99f82b8Smrgrmdir .tst 2>/dev/null
2337a99f82b8Smrg
23382d62a77cSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
23392d62a77cSmrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
23402d62a77cSmrg  # is not polluted with repeated "-I."
23412d62a77cSmrg  am__isrc=' -I$(srcdir)'
23422d62a77cSmrg  # test to see if srcdir already configured
23432d62a77cSmrg  if test -f $srcdir/config.status; then
23442d62a77cSmrg    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
23452d62a77cSmrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2346a99f82b8Smrg   { (exit 1); exit 1; }; }
23472d62a77cSmrg  fi
2348a99f82b8Smrgfi
2349a99f82b8Smrg
2350a99f82b8Smrg# test whether we have cygpath
2351a99f82b8Smrgif test -z "$CYGPATH_W"; then
2352a99f82b8Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2353a99f82b8Smrg    CYGPATH_W='cygpath -w'
2354a99f82b8Smrg  else
2355a99f82b8Smrg    CYGPATH_W=echo
2356a99f82b8Smrg  fi
2357a99f82b8Smrgfi
2358a99f82b8Smrg
2359a99f82b8Smrg
2360a99f82b8Smrg# Define the identity of the package.
2361a99f82b8Smrg PACKAGE='font-alias'
23622d62a77cSmrg VERSION='1.0.2'
2363a99f82b8Smrg
2364a99f82b8Smrg
2365a99f82b8Smrgcat >>confdefs.h <<_ACEOF
2366a99f82b8Smrg#define PACKAGE "$PACKAGE"
2367a99f82b8Smrg_ACEOF
2368a99f82b8Smrg
2369a99f82b8Smrg
2370a99f82b8Smrgcat >>confdefs.h <<_ACEOF
2371a99f82b8Smrg#define VERSION "$VERSION"
2372a99f82b8Smrg_ACEOF
2373a99f82b8Smrg
2374a99f82b8Smrg# Some tools Automake needs.
2375a99f82b8Smrg
2376a99f82b8SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2377a99f82b8Smrg
2378a99f82b8Smrg
2379a99f82b8SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2380a99f82b8Smrg
2381a99f82b8Smrg
2382a99f82b8SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2383a99f82b8Smrg
2384a99f82b8Smrg
2385a99f82b8SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2386a99f82b8Smrg
2387a99f82b8Smrg
2388a99f82b8SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2389a99f82b8Smrg
23902d62a77cSmrg# We need awk for the "check" target.  The system "awk" is bad on
23912d62a77cSmrg# some platforms.
23922d62a77cSmrg# Always define AMTAR for backward compatibility.
2393a99f82b8Smrg
2394a99f82b8SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2395a99f82b8Smrg
23962d62a77cSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2397a99f82b8Smrg
23982d62a77cSmrg
23992d62a77cSmrg
24002d62a77cSmrg
24012d62a77cSmrg
24022d62a77cSmrg
24032d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
24042d62a77cSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
24052d62a77cSmrg    # Check whether --enable-maintainer-mode was given.
24062d62a77cSmrgif test "${enable_maintainer_mode+set}" = set; then
24072d62a77cSmrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2408a99f82b8Smrgelse
24092d62a77cSmrg  USE_MAINTAINER_MODE=no
24102d62a77cSmrgfi
24112d62a77cSmrg
24122d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
24132d62a77cSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
24142d62a77cSmrg   if test $USE_MAINTAINER_MODE = yes; then
24152d62a77cSmrg  MAINTAINER_MODE_TRUE=
24162d62a77cSmrg  MAINTAINER_MODE_FALSE='#'
24172d62a77cSmrgelse
24182d62a77cSmrg  MAINTAINER_MODE_TRUE='#'
24192d62a77cSmrg  MAINTAINER_MODE_FALSE=
24202d62a77cSmrgfi
24212d62a77cSmrg
24222d62a77cSmrg  MAINT=$MAINTAINER_MODE_TRUE
24232d62a77cSmrg
24242d62a77cSmrg
24252d62a77cSmrg
24262d62a77cSmrg# Require xorg-macros: XORG_DEFAULT_OPTIONS
24272d62a77cSmrg
24282d62a77cSmrg
24292d62a77cSmrg
24302d62a77cSmrg
24312d62a77cSmrg
24322d62a77cSmrg
24332d62a77cSmrg
24342d62a77cSmrg
24352d62a77cSmrg
24362d62a77cSmrg
24372d62a77cSmrg
24382d62a77cSmrgDEPDIR="${am__leading_dot}deps"
24392d62a77cSmrg
24402d62a77cSmrgac_config_commands="$ac_config_commands depfiles"
24412d62a77cSmrg
24422d62a77cSmrg
24432d62a77cSmrgam_make=${MAKE-make}
24442d62a77cSmrgcat > confinc << 'END'
24452d62a77cSmrgam__doit:
24462d62a77cSmrg	@echo this is the am__doit target
24472d62a77cSmrg.PHONY: am__doit
24482d62a77cSmrgEND
24492d62a77cSmrg# If we don't find an include directive, just comment out the code.
24502d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
24512d62a77cSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
24522d62a77cSmrgam__include="#"
24532d62a77cSmrgam__quote=
24542d62a77cSmrg_am_result=none
24552d62a77cSmrg# First try GNU make style include.
24562d62a77cSmrgecho "include confinc" > confmf
24572d62a77cSmrg# Ignore all kinds of additional output from `make'.
24582d62a77cSmrgcase `$am_make -s -f confmf 2> /dev/null` in #(
24592d62a77cSmrg*the\ am__doit\ target*)
24602d62a77cSmrg  am__include=include
24612d62a77cSmrg  am__quote=
24622d62a77cSmrg  _am_result=GNU
24632d62a77cSmrg  ;;
24642d62a77cSmrgesac
24652d62a77cSmrg# Now try BSD make style include.
24662d62a77cSmrgif test "$am__include" = "#"; then
24672d62a77cSmrg   echo '.include "confinc"' > confmf
24682d62a77cSmrg   case `$am_make -s -f confmf 2> /dev/null` in #(
24692d62a77cSmrg   *the\ am__doit\ target*)
24702d62a77cSmrg     am__include=.include
24712d62a77cSmrg     am__quote="\""
24722d62a77cSmrg     _am_result=BSD
24732d62a77cSmrg     ;;
24742d62a77cSmrg   esac
24752d62a77cSmrgfi
24762d62a77cSmrg
24772d62a77cSmrg
24782d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
24792d62a77cSmrg$as_echo "$_am_result" >&6; }
24802d62a77cSmrgrm -f confinc confmf
24812d62a77cSmrg
24822d62a77cSmrg# Check whether --enable-dependency-tracking was given.
24832d62a77cSmrgif test "${enable_dependency_tracking+set}" = set; then
24842d62a77cSmrg  enableval=$enable_dependency_tracking;
24852d62a77cSmrgfi
24862d62a77cSmrg
24872d62a77cSmrgif test "x$enable_dependency_tracking" != xno; then
24882d62a77cSmrg  am_depcomp="$ac_aux_dir/depcomp"
24892d62a77cSmrg  AMDEPBACKSLASH='\'
24902d62a77cSmrgfi
24912d62a77cSmrg if test "x$enable_dependency_tracking" != xno; then
24922d62a77cSmrg  AMDEP_TRUE=
24932d62a77cSmrg  AMDEP_FALSE='#'
24942d62a77cSmrgelse
24952d62a77cSmrg  AMDEP_TRUE='#'
24962d62a77cSmrg  AMDEP_FALSE=
24972d62a77cSmrgfi
24982d62a77cSmrg
24992d62a77cSmrg
25002d62a77cSmrgac_ext=c
25012d62a77cSmrgac_cpp='$CPP $CPPFLAGS'
25022d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25032d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
25052d62a77cSmrgif test -n "$ac_tool_prefix"; then
25062d62a77cSmrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
25072d62a77cSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
25082d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25092d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
25102d62a77cSmrgif test "${ac_cv_prog_CC+set}" = set; then
25112d62a77cSmrg  $as_echo_n "(cached) " >&6
25122d62a77cSmrgelse
25132d62a77cSmrg  if test -n "$CC"; then
25142d62a77cSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2515a99f82b8Smrgelse
2516a99f82b8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517a99f82b8Smrgfor as_dir in $PATH
2518a99f82b8Smrgdo
2519a99f82b8Smrg  IFS=$as_save_IFS
2520a99f82b8Smrg  test -z "$as_dir" && as_dir=.
2521a99f82b8Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
25222d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25232d62a77cSmrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
25242d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2525a99f82b8Smrg    break 2
2526a99f82b8Smrg  fi
2527a99f82b8Smrgdone
2528a99f82b8Smrgdone
25292d62a77cSmrgIFS=$as_save_IFS
2530a99f82b8Smrg
2531a99f82b8Smrgfi
2532a99f82b8Smrgfi
25332d62a77cSmrgCC=$ac_cv_prog_CC
25342d62a77cSmrgif test -n "$CC"; then
25352d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
25362d62a77cSmrg$as_echo "$CC" >&6; }
2537a99f82b8Smrgelse
25382d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
25392d62a77cSmrg$as_echo "no" >&6; }
2540a99f82b8Smrgfi
2541a99f82b8Smrg
25422d62a77cSmrg
2543a99f82b8Smrgfi
25442d62a77cSmrgif test -z "$ac_cv_prog_CC"; then
25452d62a77cSmrg  ac_ct_CC=$CC
25462d62a77cSmrg  # Extract the first word of "gcc", so it can be a program name with args.
25472d62a77cSmrgset dummy gcc; ac_word=$2
25482d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25492d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
25502d62a77cSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
25512d62a77cSmrg  $as_echo_n "(cached) " >&6
2552a99f82b8Smrgelse
25532d62a77cSmrg  if test -n "$ac_ct_CC"; then
25542d62a77cSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2555a99f82b8Smrgelse
2556a99f82b8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557a99f82b8Smrgfor as_dir in $PATH
2558a99f82b8Smrgdo
2559a99f82b8Smrg  IFS=$as_save_IFS
2560a99f82b8Smrg  test -z "$as_dir" && as_dir=.
2561a99f82b8Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
25622d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25632d62a77cSmrg    ac_cv_prog_ac_ct_CC="gcc"
25642d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2565a99f82b8Smrg    break 2
2566a99f82b8Smrg  fi
2567a99f82b8Smrgdone
2568a99f82b8Smrgdone
25692d62a77cSmrgIFS=$as_save_IFS
2570a99f82b8Smrg
2571a99f82b8Smrgfi
2572a99f82b8Smrgfi
25732d62a77cSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
25742d62a77cSmrgif test -n "$ac_ct_CC"; then
25752d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
25762d62a77cSmrg$as_echo "$ac_ct_CC" >&6; }
2577a99f82b8Smrgelse
25782d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
25792d62a77cSmrg$as_echo "no" >&6; }
2580a99f82b8Smrgfi
2581a99f82b8Smrg
25822d62a77cSmrg  if test "x$ac_ct_CC" = x; then
25832d62a77cSmrg    CC=""
25842d62a77cSmrg  else
25852d62a77cSmrg    case $cross_compiling:$ac_tool_warned in
25862d62a77cSmrgyes:)
25872d62a77cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
25882d62a77cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25892d62a77cSmrgac_tool_warned=yes ;;
25902d62a77cSmrgesac
25912d62a77cSmrg    CC=$ac_ct_CC
25922d62a77cSmrg  fi
2593a99f82b8Smrgelse
25942d62a77cSmrg  CC="$ac_cv_prog_CC"
2595a99f82b8Smrgfi
2596a99f82b8Smrg
25972d62a77cSmrgif test -z "$CC"; then
25982d62a77cSmrg          if test -n "$ac_tool_prefix"; then
25992d62a77cSmrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26002d62a77cSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2
26012d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26022d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
26032d62a77cSmrgif test "${ac_cv_prog_CC+set}" = set; then
26042d62a77cSmrg  $as_echo_n "(cached) " >&6
2605a99f82b8Smrgelse
26062d62a77cSmrg  if test -n "$CC"; then
26072d62a77cSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2608a99f82b8Smrgelse
26092d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26102d62a77cSmrgfor as_dir in $PATH
26112d62a77cSmrgdo
26122d62a77cSmrg  IFS=$as_save_IFS
26132d62a77cSmrg  test -z "$as_dir" && as_dir=.
26142d62a77cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
26152d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26162d62a77cSmrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
26172d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26182d62a77cSmrg    break 2
26192d62a77cSmrg  fi
26202d62a77cSmrgdone
26212d62a77cSmrgdone
26222d62a77cSmrgIFS=$as_save_IFS
26232d62a77cSmrg
26242d62a77cSmrgfi
26252d62a77cSmrgfi
26262d62a77cSmrgCC=$ac_cv_prog_CC
26272d62a77cSmrgif test -n "$CC"; then
26282d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
26292d62a77cSmrg$as_echo "$CC" >&6; }
26302d62a77cSmrgelse
26312d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
26322d62a77cSmrg$as_echo "no" >&6; }
26332d62a77cSmrgfi
26342d62a77cSmrg
26352d62a77cSmrg
26362d62a77cSmrg  fi
26372d62a77cSmrgfi
26382d62a77cSmrgif test -z "$CC"; then
26392d62a77cSmrg  # Extract the first word of "cc", so it can be a program name with args.
26402d62a77cSmrgset dummy cc; ac_word=$2
26412d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26422d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
26432d62a77cSmrgif test "${ac_cv_prog_CC+set}" = set; then
26442d62a77cSmrg  $as_echo_n "(cached) " >&6
26452d62a77cSmrgelse
26462d62a77cSmrg  if test -n "$CC"; then
26472d62a77cSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
26482d62a77cSmrgelse
26492d62a77cSmrg  ac_prog_rejected=no
26502d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26512d62a77cSmrgfor as_dir in $PATH
26522d62a77cSmrgdo
26532d62a77cSmrg  IFS=$as_save_IFS
26542d62a77cSmrg  test -z "$as_dir" && as_dir=.
26552d62a77cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
26562d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26572d62a77cSmrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
26582d62a77cSmrg       ac_prog_rejected=yes
26592d62a77cSmrg       continue
26602d62a77cSmrg     fi
26612d62a77cSmrg    ac_cv_prog_CC="cc"
26622d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26632d62a77cSmrg    break 2
26642d62a77cSmrg  fi
26652d62a77cSmrgdone
26662d62a77cSmrgdone
26672d62a77cSmrgIFS=$as_save_IFS
26682d62a77cSmrg
26692d62a77cSmrgif test $ac_prog_rejected = yes; then
26702d62a77cSmrg  # We found a bogon in the path, so make sure we never use it.
26712d62a77cSmrg  set dummy $ac_cv_prog_CC
26722d62a77cSmrg  shift
26732d62a77cSmrg  if test $# != 0; then
26742d62a77cSmrg    # We chose a different compiler from the bogus one.
26752d62a77cSmrg    # However, it has the same basename, so the bogon will be chosen
26762d62a77cSmrg    # first if we set CC to just the basename; use the full file name.
26772d62a77cSmrg    shift
26782d62a77cSmrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
26792d62a77cSmrg  fi
26802d62a77cSmrgfi
26812d62a77cSmrgfi
26822d62a77cSmrgfi
26832d62a77cSmrgCC=$ac_cv_prog_CC
26842d62a77cSmrgif test -n "$CC"; then
26852d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
26862d62a77cSmrg$as_echo "$CC" >&6; }
26872d62a77cSmrgelse
26882d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
26892d62a77cSmrg$as_echo "no" >&6; }
26902d62a77cSmrgfi
26912d62a77cSmrg
26922d62a77cSmrg
26932d62a77cSmrgfi
26942d62a77cSmrgif test -z "$CC"; then
26952d62a77cSmrg  if test -n "$ac_tool_prefix"; then
26962d62a77cSmrg  for ac_prog in cl.exe
26972d62a77cSmrg  do
26982d62a77cSmrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
26992d62a77cSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
27002d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27012d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
27022d62a77cSmrgif test "${ac_cv_prog_CC+set}" = set; then
27032d62a77cSmrg  $as_echo_n "(cached) " >&6
27042d62a77cSmrgelse
27052d62a77cSmrg  if test -n "$CC"; then
27062d62a77cSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
27072d62a77cSmrgelse
27082d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27092d62a77cSmrgfor as_dir in $PATH
27102d62a77cSmrgdo
27112d62a77cSmrg  IFS=$as_save_IFS
27122d62a77cSmrg  test -z "$as_dir" && as_dir=.
27132d62a77cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
27142d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27152d62a77cSmrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
27162d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27172d62a77cSmrg    break 2
27182d62a77cSmrg  fi
27192d62a77cSmrgdone
27202d62a77cSmrgdone
27212d62a77cSmrgIFS=$as_save_IFS
27222d62a77cSmrg
27232d62a77cSmrgfi
27242d62a77cSmrgfi
27252d62a77cSmrgCC=$ac_cv_prog_CC
27262d62a77cSmrgif test -n "$CC"; then
27272d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
27282d62a77cSmrg$as_echo "$CC" >&6; }
27292d62a77cSmrgelse
27302d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
27312d62a77cSmrg$as_echo "no" >&6; }
27322d62a77cSmrgfi
27332d62a77cSmrg
27342d62a77cSmrg
27352d62a77cSmrg    test -n "$CC" && break
27362d62a77cSmrg  done
27372d62a77cSmrgfi
27382d62a77cSmrgif test -z "$CC"; then
27392d62a77cSmrg  ac_ct_CC=$CC
27402d62a77cSmrg  for ac_prog in cl.exe
27412d62a77cSmrgdo
27422d62a77cSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
27432d62a77cSmrgset dummy $ac_prog; ac_word=$2
27442d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27452d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
27462d62a77cSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27472d62a77cSmrg  $as_echo_n "(cached) " >&6
27482d62a77cSmrgelse
27492d62a77cSmrg  if test -n "$ac_ct_CC"; then
27502d62a77cSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
27512d62a77cSmrgelse
27522d62a77cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27532d62a77cSmrgfor as_dir in $PATH
27542d62a77cSmrgdo
27552d62a77cSmrg  IFS=$as_save_IFS
27562d62a77cSmrg  test -z "$as_dir" && as_dir=.
27572d62a77cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
27582d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27592d62a77cSmrg    ac_cv_prog_ac_ct_CC="$ac_prog"
27602d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27612d62a77cSmrg    break 2
27622d62a77cSmrg  fi
27632d62a77cSmrgdone
27642d62a77cSmrgdone
27652d62a77cSmrgIFS=$as_save_IFS
27662d62a77cSmrg
27672d62a77cSmrgfi
27682d62a77cSmrgfi
27692d62a77cSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
27702d62a77cSmrgif test -n "$ac_ct_CC"; then
27712d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27722d62a77cSmrg$as_echo "$ac_ct_CC" >&6; }
27732d62a77cSmrgelse
27742d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
27752d62a77cSmrg$as_echo "no" >&6; }
27762d62a77cSmrgfi
27772d62a77cSmrg
27782d62a77cSmrg
27792d62a77cSmrg  test -n "$ac_ct_CC" && break
27802d62a77cSmrgdone
27812d62a77cSmrg
27822d62a77cSmrg  if test "x$ac_ct_CC" = x; then
27832d62a77cSmrg    CC=""
27842d62a77cSmrg  else
27852d62a77cSmrg    case $cross_compiling:$ac_tool_warned in
27862d62a77cSmrgyes:)
27872d62a77cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
27882d62a77cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27892d62a77cSmrgac_tool_warned=yes ;;
27902d62a77cSmrgesac
27912d62a77cSmrg    CC=$ac_ct_CC
27922d62a77cSmrg  fi
27932d62a77cSmrgfi
27942d62a77cSmrg
27952d62a77cSmrgfi
27962d62a77cSmrg
27972d62a77cSmrg
27982d62a77cSmrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27992d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28002d62a77cSmrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
28012d62a77cSmrgSee \`config.log' for more details." >&5
28022d62a77cSmrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
28032d62a77cSmrgSee \`config.log' for more details." >&2;}
28042d62a77cSmrg   { (exit 1); exit 1; }; }; }
28052d62a77cSmrg
28062d62a77cSmrg# Provide some information about the compiler.
28072d62a77cSmrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
28082d62a77cSmrgset X $ac_compile
28092d62a77cSmrgac_compiler=$2
28102d62a77cSmrg{ (ac_try="$ac_compiler --version >&5"
28112d62a77cSmrgcase "(($ac_try" in
28122d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28132d62a77cSmrg  *) ac_try_echo=$ac_try;;
28142d62a77cSmrgesac
28152d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28162d62a77cSmrg$as_echo "$ac_try_echo") >&5
28172d62a77cSmrg  (eval "$ac_compiler --version >&5") 2>&5
28182d62a77cSmrg  ac_status=$?
28192d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202d62a77cSmrg  (exit $ac_status); }
28212d62a77cSmrg{ (ac_try="$ac_compiler -v >&5"
28222d62a77cSmrgcase "(($ac_try" in
28232d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28242d62a77cSmrg  *) ac_try_echo=$ac_try;;
28252d62a77cSmrgesac
28262d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28272d62a77cSmrg$as_echo "$ac_try_echo") >&5
28282d62a77cSmrg  (eval "$ac_compiler -v >&5") 2>&5
28292d62a77cSmrg  ac_status=$?
28302d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312d62a77cSmrg  (exit $ac_status); }
28322d62a77cSmrg{ (ac_try="$ac_compiler -V >&5"
28332d62a77cSmrgcase "(($ac_try" in
28342d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28352d62a77cSmrg  *) ac_try_echo=$ac_try;;
28362d62a77cSmrgesac
28372d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28382d62a77cSmrg$as_echo "$ac_try_echo") >&5
28392d62a77cSmrg  (eval "$ac_compiler -V >&5") 2>&5
28402d62a77cSmrg  ac_status=$?
28412d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422d62a77cSmrg  (exit $ac_status); }
28432d62a77cSmrg
28442d62a77cSmrgcat >conftest.$ac_ext <<_ACEOF
28452d62a77cSmrg/* confdefs.h.  */
28462d62a77cSmrg_ACEOF
28472d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
28482d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
28492d62a77cSmrg/* end confdefs.h.  */
28502d62a77cSmrg
28512d62a77cSmrgint
28522d62a77cSmrgmain ()
28532d62a77cSmrg{
28542d62a77cSmrg
28552d62a77cSmrg  ;
28562d62a77cSmrg  return 0;
28572d62a77cSmrg}
28582d62a77cSmrg_ACEOF
28592d62a77cSmrgac_clean_files_save=$ac_clean_files
28602d62a77cSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
28612d62a77cSmrg# Try to create an executable without -o first, disregard a.out.
28622d62a77cSmrg# It will help us diagnose broken compilers, and finding out an intuition
28632d62a77cSmrg# of exeext.
28642d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
28652d62a77cSmrg$as_echo_n "checking for C compiler default output file name... " >&6; }
28662d62a77cSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
28672d62a77cSmrg
28682d62a77cSmrg# The possible output files:
28692d62a77cSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
28702d62a77cSmrg
28712d62a77cSmrgac_rmfiles=
28722d62a77cSmrgfor ac_file in $ac_files
28732d62a77cSmrgdo
28742d62a77cSmrg  case $ac_file in
28752d62a77cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
28762d62a77cSmrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
28772d62a77cSmrg  esac
28782d62a77cSmrgdone
28792d62a77cSmrgrm -f $ac_rmfiles
28802d62a77cSmrg
28812d62a77cSmrgif { (ac_try="$ac_link_default"
28822d62a77cSmrgcase "(($ac_try" in
28832d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28842d62a77cSmrg  *) ac_try_echo=$ac_try;;
28852d62a77cSmrgesac
28862d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28872d62a77cSmrg$as_echo "$ac_try_echo") >&5
28882d62a77cSmrg  (eval "$ac_link_default") 2>&5
28892d62a77cSmrg  ac_status=$?
28902d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912d62a77cSmrg  (exit $ac_status); }; then
28922d62a77cSmrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
28932d62a77cSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
28942d62a77cSmrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
28952d62a77cSmrg# so that the user can short-circuit this test for compilers unknown to
28962d62a77cSmrg# Autoconf.
28972d62a77cSmrgfor ac_file in $ac_files ''
28982d62a77cSmrgdo
28992d62a77cSmrg  test -f "$ac_file" || continue
29002d62a77cSmrg  case $ac_file in
29012d62a77cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
29022d62a77cSmrg	;;
29032d62a77cSmrg    [ab].out )
29042d62a77cSmrg	# We found the default executable, but exeext='' is most
29052d62a77cSmrg	# certainly right.
29062d62a77cSmrg	break;;
29072d62a77cSmrg    *.* )
29082d62a77cSmrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
29092d62a77cSmrg	then :; else
29102d62a77cSmrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
29112d62a77cSmrg	fi
29122d62a77cSmrg	# We set ac_cv_exeext here because the later test for it is not
29132d62a77cSmrg	# safe: cross compilers may not add the suffix if given an `-o'
29142d62a77cSmrg	# argument, so we may need to know it at that point already.
29152d62a77cSmrg	# Even if this section looks crufty: it has the advantage of
29162d62a77cSmrg	# actually working.
29172d62a77cSmrg	break;;
29182d62a77cSmrg    * )
29192d62a77cSmrg	break;;
29202d62a77cSmrg  esac
29212d62a77cSmrgdone
29222d62a77cSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
29232d62a77cSmrg
29242d62a77cSmrgelse
29252d62a77cSmrg  ac_file=''
29262d62a77cSmrgfi
29272d62a77cSmrg
29282d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
29292d62a77cSmrg$as_echo "$ac_file" >&6; }
29302d62a77cSmrgif test -z "$ac_file"; then
29312d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
29322d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
29332d62a77cSmrg
29342d62a77cSmrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29352d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29362d62a77cSmrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
29372d62a77cSmrgSee \`config.log' for more details." >&5
29382d62a77cSmrg$as_echo "$as_me: error: C compiler cannot create executables
29392d62a77cSmrgSee \`config.log' for more details." >&2;}
29402d62a77cSmrg   { (exit 77); exit 77; }; }; }
29412d62a77cSmrgfi
29422d62a77cSmrg
29432d62a77cSmrgac_exeext=$ac_cv_exeext
29442d62a77cSmrg
29452d62a77cSmrg# Check that the compiler produces executables we can run.  If not, either
29462d62a77cSmrg# the compiler is broken, or we cross compile.
29472d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
29482d62a77cSmrg$as_echo_n "checking whether the C compiler works... " >&6; }
29492d62a77cSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
29502d62a77cSmrg# If not cross compiling, check that we can run a simple program.
29512d62a77cSmrgif test "$cross_compiling" != yes; then
29522d62a77cSmrg  if { ac_try='./$ac_file'
29532d62a77cSmrg  { (case "(($ac_try" in
29542d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29552d62a77cSmrg  *) ac_try_echo=$ac_try;;
29562d62a77cSmrgesac
29572d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29582d62a77cSmrg$as_echo "$ac_try_echo") >&5
29592d62a77cSmrg  (eval "$ac_try") 2>&5
29602d62a77cSmrg  ac_status=$?
29612d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622d62a77cSmrg  (exit $ac_status); }; }; then
29632d62a77cSmrg    cross_compiling=no
29642d62a77cSmrg  else
29652d62a77cSmrg    if test "$cross_compiling" = maybe; then
29662d62a77cSmrg	cross_compiling=yes
29672d62a77cSmrg    else
29682d62a77cSmrg	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29692d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29702d62a77cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
29712d62a77cSmrgIf you meant to cross compile, use \`--host'.
29722d62a77cSmrgSee \`config.log' for more details." >&5
29732d62a77cSmrg$as_echo "$as_me: error: cannot run C compiled programs.
29742d62a77cSmrgIf you meant to cross compile, use \`--host'.
29752d62a77cSmrgSee \`config.log' for more details." >&2;}
29762d62a77cSmrg   { (exit 1); exit 1; }; }; }
29772d62a77cSmrg    fi
29782d62a77cSmrg  fi
29792d62a77cSmrgfi
29802d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
29812d62a77cSmrg$as_echo "yes" >&6; }
29822d62a77cSmrg
29832d62a77cSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
29842d62a77cSmrgac_clean_files=$ac_clean_files_save
29852d62a77cSmrg# Check that the compiler produces executables we can run.  If not, either
29862d62a77cSmrg# the compiler is broken, or we cross compile.
29872d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
29882d62a77cSmrg$as_echo_n "checking whether we are cross compiling... " >&6; }
29892d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
29902d62a77cSmrg$as_echo "$cross_compiling" >&6; }
29912d62a77cSmrg
29922d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
29932d62a77cSmrg$as_echo_n "checking for suffix of executables... " >&6; }
29942d62a77cSmrgif { (ac_try="$ac_link"
29952d62a77cSmrgcase "(($ac_try" in
29962d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29972d62a77cSmrg  *) ac_try_echo=$ac_try;;
29982d62a77cSmrgesac
29992d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30002d62a77cSmrg$as_echo "$ac_try_echo") >&5
30012d62a77cSmrg  (eval "$ac_link") 2>&5
30022d62a77cSmrg  ac_status=$?
30032d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042d62a77cSmrg  (exit $ac_status); }; then
30052d62a77cSmrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
30062d62a77cSmrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
30072d62a77cSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with
30082d62a77cSmrg# `rm'.
30092d62a77cSmrgfor ac_file in conftest.exe conftest conftest.*; do
30102d62a77cSmrg  test -f "$ac_file" || continue
30112d62a77cSmrg  case $ac_file in
30122d62a77cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
30132d62a77cSmrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30142d62a77cSmrg	  break;;
30152d62a77cSmrg    * ) break;;
30162d62a77cSmrg  esac
30172d62a77cSmrgdone
30182d62a77cSmrgelse
30192d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30202d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30212d62a77cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
30222d62a77cSmrgSee \`config.log' for more details." >&5
30232d62a77cSmrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
30242d62a77cSmrgSee \`config.log' for more details." >&2;}
30252d62a77cSmrg   { (exit 1); exit 1; }; }; }
30262d62a77cSmrgfi
30272d62a77cSmrg
30282d62a77cSmrgrm -f conftest$ac_cv_exeext
30292d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
30302d62a77cSmrg$as_echo "$ac_cv_exeext" >&6; }
30312d62a77cSmrg
30322d62a77cSmrgrm -f conftest.$ac_ext
30332d62a77cSmrgEXEEXT=$ac_cv_exeext
30342d62a77cSmrgac_exeext=$EXEEXT
30352d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
30362d62a77cSmrg$as_echo_n "checking for suffix of object files... " >&6; }
30372d62a77cSmrgif test "${ac_cv_objext+set}" = set; then
30382d62a77cSmrg  $as_echo_n "(cached) " >&6
30392d62a77cSmrgelse
30402d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
30412d62a77cSmrg/* confdefs.h.  */
30422d62a77cSmrg_ACEOF
30432d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
30442d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
30452d62a77cSmrg/* end confdefs.h.  */
30462d62a77cSmrg
30472d62a77cSmrgint
30482d62a77cSmrgmain ()
30492d62a77cSmrg{
30502d62a77cSmrg
30512d62a77cSmrg  ;
30522d62a77cSmrg  return 0;
30532d62a77cSmrg}
30542d62a77cSmrg_ACEOF
30552d62a77cSmrgrm -f conftest.o conftest.obj
30562d62a77cSmrgif { (ac_try="$ac_compile"
30572d62a77cSmrgcase "(($ac_try" in
30582d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30592d62a77cSmrg  *) ac_try_echo=$ac_try;;
30602d62a77cSmrgesac
30612d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30622d62a77cSmrg$as_echo "$ac_try_echo") >&5
30632d62a77cSmrg  (eval "$ac_compile") 2>&5
30642d62a77cSmrg  ac_status=$?
30652d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662d62a77cSmrg  (exit $ac_status); }; then
30672d62a77cSmrg  for ac_file in conftest.o conftest.obj conftest.*; do
30682d62a77cSmrg  test -f "$ac_file" || continue;
30692d62a77cSmrg  case $ac_file in
30702d62a77cSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
30712d62a77cSmrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
30722d62a77cSmrg       break;;
30732d62a77cSmrg  esac
30742d62a77cSmrgdone
30752d62a77cSmrgelse
30762d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
30772d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
30782d62a77cSmrg
30792d62a77cSmrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30802d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30812d62a77cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
30822d62a77cSmrgSee \`config.log' for more details." >&5
30832d62a77cSmrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
30842d62a77cSmrgSee \`config.log' for more details." >&2;}
30852d62a77cSmrg   { (exit 1); exit 1; }; }; }
30862d62a77cSmrgfi
30872d62a77cSmrg
30882d62a77cSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
30892d62a77cSmrgfi
30902d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
30912d62a77cSmrg$as_echo "$ac_cv_objext" >&6; }
30922d62a77cSmrgOBJEXT=$ac_cv_objext
30932d62a77cSmrgac_objext=$OBJEXT
30942d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
30952d62a77cSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
30962d62a77cSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
30972d62a77cSmrg  $as_echo_n "(cached) " >&6
30982d62a77cSmrgelse
30992d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
31002d62a77cSmrg/* confdefs.h.  */
31012d62a77cSmrg_ACEOF
31022d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
31032d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
31042d62a77cSmrg/* end confdefs.h.  */
31052d62a77cSmrg
31062d62a77cSmrgint
31072d62a77cSmrgmain ()
31082d62a77cSmrg{
31092d62a77cSmrg#ifndef __GNUC__
31102d62a77cSmrg       choke me
31112d62a77cSmrg#endif
31122d62a77cSmrg
31132d62a77cSmrg  ;
31142d62a77cSmrg  return 0;
31152d62a77cSmrg}
31162d62a77cSmrg_ACEOF
31172d62a77cSmrgrm -f conftest.$ac_objext
31182d62a77cSmrgif { (ac_try="$ac_compile"
31192d62a77cSmrgcase "(($ac_try" in
31202d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31212d62a77cSmrg  *) ac_try_echo=$ac_try;;
31222d62a77cSmrgesac
31232d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31242d62a77cSmrg$as_echo "$ac_try_echo") >&5
31252d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
31262d62a77cSmrg  ac_status=$?
31272d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
31282d62a77cSmrg  rm -f conftest.er1
31292d62a77cSmrg  cat conftest.err >&5
31302d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312d62a77cSmrg  (exit $ac_status); } && {
31322d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
31332d62a77cSmrg	 test ! -s conftest.err
31342d62a77cSmrg       } && test -s conftest.$ac_objext; then
31352d62a77cSmrg  ac_compiler_gnu=yes
31362d62a77cSmrgelse
31372d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
31382d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
31392d62a77cSmrg
31402d62a77cSmrg	ac_compiler_gnu=no
31412d62a77cSmrgfi
31422d62a77cSmrg
31432d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31442d62a77cSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu
31452d62a77cSmrg
31462d62a77cSmrgfi
31472d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
31482d62a77cSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
31492d62a77cSmrgif test $ac_compiler_gnu = yes; then
31502d62a77cSmrg  GCC=yes
31512d62a77cSmrgelse
31522d62a77cSmrg  GCC=
31532d62a77cSmrgfi
31542d62a77cSmrgac_test_CFLAGS=${CFLAGS+set}
31552d62a77cSmrgac_save_CFLAGS=$CFLAGS
31562d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
31572d62a77cSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
31582d62a77cSmrgif test "${ac_cv_prog_cc_g+set}" = set; then
31592d62a77cSmrg  $as_echo_n "(cached) " >&6
31602d62a77cSmrgelse
31612d62a77cSmrg  ac_save_c_werror_flag=$ac_c_werror_flag
31622d62a77cSmrg   ac_c_werror_flag=yes
31632d62a77cSmrg   ac_cv_prog_cc_g=no
31642d62a77cSmrg   CFLAGS="-g"
31652d62a77cSmrg   cat >conftest.$ac_ext <<_ACEOF
31662d62a77cSmrg/* confdefs.h.  */
31672d62a77cSmrg_ACEOF
31682d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
31692d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
31702d62a77cSmrg/* end confdefs.h.  */
31712d62a77cSmrg
31722d62a77cSmrgint
31732d62a77cSmrgmain ()
31742d62a77cSmrg{
31752d62a77cSmrg
31762d62a77cSmrg  ;
31772d62a77cSmrg  return 0;
31782d62a77cSmrg}
31792d62a77cSmrg_ACEOF
31802d62a77cSmrgrm -f conftest.$ac_objext
31812d62a77cSmrgif { (ac_try="$ac_compile"
31822d62a77cSmrgcase "(($ac_try" in
31832d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31842d62a77cSmrg  *) ac_try_echo=$ac_try;;
31852d62a77cSmrgesac
31862d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31872d62a77cSmrg$as_echo "$ac_try_echo") >&5
31882d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
31892d62a77cSmrg  ac_status=$?
31902d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
31912d62a77cSmrg  rm -f conftest.er1
31922d62a77cSmrg  cat conftest.err >&5
31932d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942d62a77cSmrg  (exit $ac_status); } && {
31952d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
31962d62a77cSmrg	 test ! -s conftest.err
31972d62a77cSmrg       } && test -s conftest.$ac_objext; then
31982d62a77cSmrg  ac_cv_prog_cc_g=yes
31992d62a77cSmrgelse
32002d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
32012d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
32022d62a77cSmrg
32032d62a77cSmrg	CFLAGS=""
32042d62a77cSmrg      cat >conftest.$ac_ext <<_ACEOF
32052d62a77cSmrg/* confdefs.h.  */
32062d62a77cSmrg_ACEOF
32072d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
32082d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
32092d62a77cSmrg/* end confdefs.h.  */
32102d62a77cSmrg
32112d62a77cSmrgint
32122d62a77cSmrgmain ()
32132d62a77cSmrg{
32142d62a77cSmrg
32152d62a77cSmrg  ;
32162d62a77cSmrg  return 0;
32172d62a77cSmrg}
32182d62a77cSmrg_ACEOF
32192d62a77cSmrgrm -f conftest.$ac_objext
32202d62a77cSmrgif { (ac_try="$ac_compile"
32212d62a77cSmrgcase "(($ac_try" in
32222d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32232d62a77cSmrg  *) ac_try_echo=$ac_try;;
32242d62a77cSmrgesac
32252d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32262d62a77cSmrg$as_echo "$ac_try_echo") >&5
32272d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
32282d62a77cSmrg  ac_status=$?
32292d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
32302d62a77cSmrg  rm -f conftest.er1
32312d62a77cSmrg  cat conftest.err >&5
32322d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332d62a77cSmrg  (exit $ac_status); } && {
32342d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
32352d62a77cSmrg	 test ! -s conftest.err
32362d62a77cSmrg       } && test -s conftest.$ac_objext; then
32372d62a77cSmrg  :
32382d62a77cSmrgelse
32392d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
32402d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
32412d62a77cSmrg
32422d62a77cSmrg	ac_c_werror_flag=$ac_save_c_werror_flag
32432d62a77cSmrg	 CFLAGS="-g"
32442d62a77cSmrg	 cat >conftest.$ac_ext <<_ACEOF
32452d62a77cSmrg/* confdefs.h.  */
32462d62a77cSmrg_ACEOF
32472d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
32482d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
32492d62a77cSmrg/* end confdefs.h.  */
32502d62a77cSmrg
32512d62a77cSmrgint
32522d62a77cSmrgmain ()
32532d62a77cSmrg{
32542d62a77cSmrg
32552d62a77cSmrg  ;
32562d62a77cSmrg  return 0;
32572d62a77cSmrg}
32582d62a77cSmrg_ACEOF
32592d62a77cSmrgrm -f conftest.$ac_objext
32602d62a77cSmrgif { (ac_try="$ac_compile"
32612d62a77cSmrgcase "(($ac_try" in
32622d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32632d62a77cSmrg  *) ac_try_echo=$ac_try;;
32642d62a77cSmrgesac
32652d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32662d62a77cSmrg$as_echo "$ac_try_echo") >&5
32672d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
32682d62a77cSmrg  ac_status=$?
32692d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
32702d62a77cSmrg  rm -f conftest.er1
32712d62a77cSmrg  cat conftest.err >&5
32722d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732d62a77cSmrg  (exit $ac_status); } && {
32742d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
32752d62a77cSmrg	 test ! -s conftest.err
32762d62a77cSmrg       } && test -s conftest.$ac_objext; then
32772d62a77cSmrg  ac_cv_prog_cc_g=yes
32782d62a77cSmrgelse
32792d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
32802d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
32812d62a77cSmrg
32822d62a77cSmrg
32832d62a77cSmrgfi
32842d62a77cSmrg
32852d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32862d62a77cSmrgfi
32872d62a77cSmrg
32882d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32892d62a77cSmrgfi
32902d62a77cSmrg
32912d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32922d62a77cSmrg   ac_c_werror_flag=$ac_save_c_werror_flag
32932d62a77cSmrgfi
32942d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
32952d62a77cSmrg$as_echo "$ac_cv_prog_cc_g" >&6; }
32962d62a77cSmrgif test "$ac_test_CFLAGS" = set; then
32972d62a77cSmrg  CFLAGS=$ac_save_CFLAGS
32982d62a77cSmrgelif test $ac_cv_prog_cc_g = yes; then
32992d62a77cSmrg  if test "$GCC" = yes; then
33002d62a77cSmrg    CFLAGS="-g -O2"
33012d62a77cSmrg  else
33022d62a77cSmrg    CFLAGS="-g"
33032d62a77cSmrg  fi
33042d62a77cSmrgelse
33052d62a77cSmrg  if test "$GCC" = yes; then
33062d62a77cSmrg    CFLAGS="-O2"
33072d62a77cSmrg  else
33082d62a77cSmrg    CFLAGS=
33092d62a77cSmrg  fi
33102d62a77cSmrgfi
33112d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
33122d62a77cSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
33132d62a77cSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then
33142d62a77cSmrg  $as_echo_n "(cached) " >&6
33152d62a77cSmrgelse
33162d62a77cSmrg  ac_cv_prog_cc_c89=no
33172d62a77cSmrgac_save_CC=$CC
33182d62a77cSmrgcat >conftest.$ac_ext <<_ACEOF
33192d62a77cSmrg/* confdefs.h.  */
33202d62a77cSmrg_ACEOF
33212d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
33222d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
33232d62a77cSmrg/* end confdefs.h.  */
33242d62a77cSmrg#include <stdarg.h>
33252d62a77cSmrg#include <stdio.h>
33262d62a77cSmrg#include <sys/types.h>
33272d62a77cSmrg#include <sys/stat.h>
33282d62a77cSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
33292d62a77cSmrgstruct buf { int x; };
33302d62a77cSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
33312d62a77cSmrgstatic char *e (p, i)
33322d62a77cSmrg     char **p;
33332d62a77cSmrg     int i;
33342d62a77cSmrg{
33352d62a77cSmrg  return p[i];
33362d62a77cSmrg}
33372d62a77cSmrgstatic char *f (char * (*g) (char **, int), char **p, ...)
33382d62a77cSmrg{
33392d62a77cSmrg  char *s;
33402d62a77cSmrg  va_list v;
33412d62a77cSmrg  va_start (v,p);
33422d62a77cSmrg  s = g (p, va_arg (v,int));
33432d62a77cSmrg  va_end (v);
33442d62a77cSmrg  return s;
33452d62a77cSmrg}
33462d62a77cSmrg
33472d62a77cSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
33482d62a77cSmrg   function prototypes and stuff, but not '\xHH' hex character constants.
33492d62a77cSmrg   These don't provoke an error unfortunately, instead are silently treated
33502d62a77cSmrg   as 'x'.  The following induces an error, until -std is added to get
33512d62a77cSmrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
33522d62a77cSmrg   array size at least.  It's necessary to write '\x00'==0 to get something
33532d62a77cSmrg   that's true only with -std.  */
33542d62a77cSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
33552d62a77cSmrg
33562d62a77cSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
33572d62a77cSmrg   inside strings and character constants.  */
33582d62a77cSmrg#define FOO(x) 'x'
33592d62a77cSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
33602d62a77cSmrg
33612d62a77cSmrgint test (int i, double x);
33622d62a77cSmrgstruct s1 {int (*f) (int a);};
33632d62a77cSmrgstruct s2 {int (*f) (double a);};
33642d62a77cSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
33652d62a77cSmrgint argc;
33662d62a77cSmrgchar **argv;
33672d62a77cSmrgint
33682d62a77cSmrgmain ()
33692d62a77cSmrg{
33702d62a77cSmrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
33712d62a77cSmrg  ;
33722d62a77cSmrg  return 0;
33732d62a77cSmrg}
33742d62a77cSmrg_ACEOF
33752d62a77cSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
33762d62a77cSmrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
33772d62a77cSmrgdo
33782d62a77cSmrg  CC="$ac_save_CC $ac_arg"
33792d62a77cSmrg  rm -f conftest.$ac_objext
33802d62a77cSmrgif { (ac_try="$ac_compile"
33812d62a77cSmrgcase "(($ac_try" in
33822d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33832d62a77cSmrg  *) ac_try_echo=$ac_try;;
33842d62a77cSmrgesac
33852d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33862d62a77cSmrg$as_echo "$ac_try_echo") >&5
33872d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
33882d62a77cSmrg  ac_status=$?
33892d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
33902d62a77cSmrg  rm -f conftest.er1
33912d62a77cSmrg  cat conftest.err >&5
33922d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932d62a77cSmrg  (exit $ac_status); } && {
33942d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
33952d62a77cSmrg	 test ! -s conftest.err
33962d62a77cSmrg       } && test -s conftest.$ac_objext; then
33972d62a77cSmrg  ac_cv_prog_cc_c89=$ac_arg
33982d62a77cSmrgelse
33992d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
34002d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
34012d62a77cSmrg
34022d62a77cSmrg
34032d62a77cSmrgfi
34042d62a77cSmrg
34052d62a77cSmrgrm -f core conftest.err conftest.$ac_objext
34062d62a77cSmrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
34072d62a77cSmrgdone
34082d62a77cSmrgrm -f conftest.$ac_ext
34092d62a77cSmrgCC=$ac_save_CC
34102d62a77cSmrg
34112d62a77cSmrgfi
34122d62a77cSmrg# AC_CACHE_VAL
34132d62a77cSmrgcase "x$ac_cv_prog_cc_c89" in
34142d62a77cSmrg  x)
34152d62a77cSmrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
34162d62a77cSmrg$as_echo "none needed" >&6; } ;;
34172d62a77cSmrg  xno)
34182d62a77cSmrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
34192d62a77cSmrg$as_echo "unsupported" >&6; } ;;
34202d62a77cSmrg  *)
34212d62a77cSmrg    CC="$CC $ac_cv_prog_cc_c89"
34222d62a77cSmrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
34232d62a77cSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
34242d62a77cSmrgesac
34252d62a77cSmrg
34262d62a77cSmrg
34272d62a77cSmrgac_ext=c
34282d62a77cSmrgac_cpp='$CPP $CPPFLAGS'
34292d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34302d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34312d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
34322d62a77cSmrg
34332d62a77cSmrgdepcc="$CC"   am_compiler_list=
34342d62a77cSmrg
34352d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
34362d62a77cSmrg$as_echo_n "checking dependency style of $depcc... " >&6; }
34372d62a77cSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
34382d62a77cSmrg  $as_echo_n "(cached) " >&6
34392d62a77cSmrgelse
34402d62a77cSmrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
34412d62a77cSmrg  # We make a subdir and do the tests there.  Otherwise we can end up
34422d62a77cSmrg  # making bogus files that we don't know about and never remove.  For
34432d62a77cSmrg  # instance it was reported that on HP-UX the gcc test will end up
34442d62a77cSmrg  # making a dummy file named `D' -- because `-MD' means `put the output
34452d62a77cSmrg  # in D'.
34462d62a77cSmrg  mkdir conftest.dir
34472d62a77cSmrg  # Copy depcomp to subdir because otherwise we won't find it if we're
34482d62a77cSmrg  # using a relative directory.
34492d62a77cSmrg  cp "$am_depcomp" conftest.dir
34502d62a77cSmrg  cd conftest.dir
34512d62a77cSmrg  # We will build objects and dependencies in a subdirectory because
34522d62a77cSmrg  # it helps to detect inapplicable dependency modes.  For instance
34532d62a77cSmrg  # both Tru64's cc and ICC support -MD to output dependencies as a
34542d62a77cSmrg  # side effect of compilation, but ICC will put the dependencies in
34552d62a77cSmrg  # the current directory while Tru64 will put them in the object
34562d62a77cSmrg  # directory.
34572d62a77cSmrg  mkdir sub
34582d62a77cSmrg
34592d62a77cSmrg  am_cv_CC_dependencies_compiler_type=none
34602d62a77cSmrg  if test "$am_compiler_list" = ""; then
34612d62a77cSmrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
34622d62a77cSmrg  fi
34632d62a77cSmrg  am__universal=false
34642d62a77cSmrg  case " $depcc " in #(
34652d62a77cSmrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
34662d62a77cSmrg     esac
34672d62a77cSmrg
34682d62a77cSmrg  for depmode in $am_compiler_list; do
34692d62a77cSmrg    # Setup a source with many dependencies, because some compilers
34702d62a77cSmrg    # like to wrap large dependency lists on column 80 (with \), and
34712d62a77cSmrg    # we should not choose a depcomp mode which is confused by this.
34722d62a77cSmrg    #
34732d62a77cSmrg    # We need to recreate these files for each test, as the compiler may
34742d62a77cSmrg    # overwrite some of them when testing with obscure command lines.
34752d62a77cSmrg    # This happens at least with the AIX C compiler.
34762d62a77cSmrg    : > sub/conftest.c
34772d62a77cSmrg    for i in 1 2 3 4 5 6; do
34782d62a77cSmrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
34792d62a77cSmrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
34802d62a77cSmrg      # Solaris 8's {/usr,}/bin/sh.
34812d62a77cSmrg      touch sub/conftst$i.h
34822d62a77cSmrg    done
34832d62a77cSmrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
34842d62a77cSmrg
34852d62a77cSmrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
34862d62a77cSmrg    # mode.  It turns out that the SunPro C++ compiler does not properly
34872d62a77cSmrg    # handle `-M -o', and we need to detect this.  Also, some Intel
34882d62a77cSmrg    # versions had trouble with output in subdirs
34892d62a77cSmrg    am__obj=sub/conftest.${OBJEXT-o}
34902d62a77cSmrg    am__minus_obj="-o $am__obj"
34912d62a77cSmrg    case $depmode in
34922d62a77cSmrg    gcc)
34932d62a77cSmrg      # This depmode causes a compiler race in universal mode.
34942d62a77cSmrg      test "$am__universal" = false || continue
34952d62a77cSmrg      ;;
34962d62a77cSmrg    nosideeffect)
34972d62a77cSmrg      # after this tag, mechanisms are not by side-effect, so they'll
34982d62a77cSmrg      # only be used when explicitly requested
34992d62a77cSmrg      if test "x$enable_dependency_tracking" = xyes; then
35002d62a77cSmrg	continue
35012d62a77cSmrg      else
35022d62a77cSmrg	break
35032d62a77cSmrg      fi
35042d62a77cSmrg      ;;
35052d62a77cSmrg    msvisualcpp | msvcmsys)
35062d62a77cSmrg      # This compiler won't grok `-c -o', but also, the minuso test has
35072d62a77cSmrg      # not run yet.  These depmodes are late enough in the game, and
35082d62a77cSmrg      # so weak that their functioning should not be impacted.
35092d62a77cSmrg      am__obj=conftest.${OBJEXT-o}
35102d62a77cSmrg      am__minus_obj=
35112d62a77cSmrg      ;;
35122d62a77cSmrg    none) break ;;
35132d62a77cSmrg    esac
35142d62a77cSmrg    if depmode=$depmode \
35152d62a77cSmrg       source=sub/conftest.c object=$am__obj \
35162d62a77cSmrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
35172d62a77cSmrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
35182d62a77cSmrg         >/dev/null 2>conftest.err &&
35192d62a77cSmrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
35202d62a77cSmrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
35212d62a77cSmrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
35222d62a77cSmrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
35232d62a77cSmrg      # icc doesn't choke on unknown options, it will just issue warnings
35242d62a77cSmrg      # or remarks (even with -Werror).  So we grep stderr for any message
35252d62a77cSmrg      # that says an option was ignored or not supported.
35262d62a77cSmrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
35272d62a77cSmrg      #   icc: Command line warning: ignoring option '-M'; no argument required
35282d62a77cSmrg      # The diagnosis changed in icc 8.0:
35292d62a77cSmrg      #   icc: Command line remark: option '-MP' not supported
35302d62a77cSmrg      if (grep 'ignoring option' conftest.err ||
35312d62a77cSmrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
35322d62a77cSmrg        am_cv_CC_dependencies_compiler_type=$depmode
35332d62a77cSmrg        break
35342d62a77cSmrg      fi
35352d62a77cSmrg    fi
35362d62a77cSmrg  done
35372d62a77cSmrg
35382d62a77cSmrg  cd ..
35392d62a77cSmrg  rm -rf conftest.dir
35402d62a77cSmrgelse
35412d62a77cSmrg  am_cv_CC_dependencies_compiler_type=none
35422d62a77cSmrgfi
35432d62a77cSmrg
35442d62a77cSmrgfi
35452d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
35462d62a77cSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
35472d62a77cSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
35482d62a77cSmrg
35492d62a77cSmrg if
35502d62a77cSmrg  test "x$enable_dependency_tracking" != xno \
35512d62a77cSmrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
35522d62a77cSmrg  am__fastdepCC_TRUE=
35532d62a77cSmrg  am__fastdepCC_FALSE='#'
35542d62a77cSmrgelse
35552d62a77cSmrg  am__fastdepCC_TRUE='#'
35562d62a77cSmrg  am__fastdepCC_FALSE=
35572d62a77cSmrgfi
35582d62a77cSmrg
35592d62a77cSmrg
35602d62a77cSmrg
35612d62a77cSmrgac_ext=c
35622d62a77cSmrgac_cpp='$CPP $CPPFLAGS'
35632d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
35662d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
35672d62a77cSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
35682d62a77cSmrg# On Suns, sometimes $CPP names a directory.
35692d62a77cSmrgif test -n "$CPP" && test -d "$CPP"; then
35702d62a77cSmrg  CPP=
35712d62a77cSmrgfi
35722d62a77cSmrgif test -z "$CPP"; then
35732d62a77cSmrg  if test "${ac_cv_prog_CPP+set}" = set; then
35742d62a77cSmrg  $as_echo_n "(cached) " >&6
35752d62a77cSmrgelse
35762d62a77cSmrg      # Double quotes because CPP needs to be expanded
35772d62a77cSmrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
35782d62a77cSmrg    do
35792d62a77cSmrg      ac_preproc_ok=false
35802d62a77cSmrgfor ac_c_preproc_warn_flag in '' yes
35812d62a77cSmrgdo
35822d62a77cSmrg  # Use a header file that comes with gcc, so configuring glibc
35832d62a77cSmrg  # with a fresh cross-compiler works.
35842d62a77cSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35852d62a77cSmrg  # <limits.h> exists even on freestanding compilers.
35862d62a77cSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
35872d62a77cSmrg  # not just through cpp. "Syntax error" is here to catch this case.
35882d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
35892d62a77cSmrg/* confdefs.h.  */
35902d62a77cSmrg_ACEOF
35912d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
35922d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
35932d62a77cSmrg/* end confdefs.h.  */
35942d62a77cSmrg#ifdef __STDC__
35952d62a77cSmrg# include <limits.h>
35962d62a77cSmrg#else
35972d62a77cSmrg# include <assert.h>
35982d62a77cSmrg#endif
35992d62a77cSmrg		     Syntax error
36002d62a77cSmrg_ACEOF
36012d62a77cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
36022d62a77cSmrgcase "(($ac_try" in
36032d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36042d62a77cSmrg  *) ac_try_echo=$ac_try;;
36052d62a77cSmrgesac
36062d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36072d62a77cSmrg$as_echo "$ac_try_echo") >&5
36082d62a77cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36092d62a77cSmrg  ac_status=$?
36102d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
36112d62a77cSmrg  rm -f conftest.er1
36122d62a77cSmrg  cat conftest.err >&5
36132d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142d62a77cSmrg  (exit $ac_status); } >/dev/null && {
36152d62a77cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36162d62a77cSmrg	 test ! -s conftest.err
36172d62a77cSmrg       }; then
36182d62a77cSmrg  :
36192d62a77cSmrgelse
36202d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
36212d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
36222d62a77cSmrg
36232d62a77cSmrg  # Broken: fails on valid input.
36242d62a77cSmrgcontinue
36252d62a77cSmrgfi
36262d62a77cSmrg
36272d62a77cSmrgrm -f conftest.err conftest.$ac_ext
36282d62a77cSmrg
36292d62a77cSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
36302d62a77cSmrg  # can be detected and how.
36312d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
36322d62a77cSmrg/* confdefs.h.  */
36332d62a77cSmrg_ACEOF
36342d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
36352d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
36362d62a77cSmrg/* end confdefs.h.  */
36372d62a77cSmrg#include <ac_nonexistent.h>
36382d62a77cSmrg_ACEOF
36392d62a77cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
36402d62a77cSmrgcase "(($ac_try" in
36412d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36422d62a77cSmrg  *) ac_try_echo=$ac_try;;
36432d62a77cSmrgesac
36442d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36452d62a77cSmrg$as_echo "$ac_try_echo") >&5
36462d62a77cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36472d62a77cSmrg  ac_status=$?
36482d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
36492d62a77cSmrg  rm -f conftest.er1
36502d62a77cSmrg  cat conftest.err >&5
36512d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522d62a77cSmrg  (exit $ac_status); } >/dev/null && {
36532d62a77cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36542d62a77cSmrg	 test ! -s conftest.err
36552d62a77cSmrg       }; then
36562d62a77cSmrg  # Broken: success on invalid input.
36572d62a77cSmrgcontinue
36582d62a77cSmrgelse
36592d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
36602d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
36612d62a77cSmrg
36622d62a77cSmrg  # Passes both tests.
36632d62a77cSmrgac_preproc_ok=:
36642d62a77cSmrgbreak
36652d62a77cSmrgfi
36662d62a77cSmrg
36672d62a77cSmrgrm -f conftest.err conftest.$ac_ext
36682d62a77cSmrg
36692d62a77cSmrgdone
36702d62a77cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
36712d62a77cSmrgrm -f conftest.err conftest.$ac_ext
36722d62a77cSmrgif $ac_preproc_ok; then
36732d62a77cSmrg  break
36742d62a77cSmrgfi
36752d62a77cSmrg
36762d62a77cSmrg    done
36772d62a77cSmrg    ac_cv_prog_CPP=$CPP
36782d62a77cSmrg
36792d62a77cSmrgfi
36802d62a77cSmrg  CPP=$ac_cv_prog_CPP
36812d62a77cSmrgelse
36822d62a77cSmrg  ac_cv_prog_CPP=$CPP
36832d62a77cSmrgfi
36842d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
36852d62a77cSmrg$as_echo "$CPP" >&6; }
36862d62a77cSmrgac_preproc_ok=false
36872d62a77cSmrgfor ac_c_preproc_warn_flag in '' yes
36882d62a77cSmrgdo
36892d62a77cSmrg  # Use a header file that comes with gcc, so configuring glibc
36902d62a77cSmrg  # with a fresh cross-compiler works.
36912d62a77cSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36922d62a77cSmrg  # <limits.h> exists even on freestanding compilers.
36932d62a77cSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
36942d62a77cSmrg  # not just through cpp. "Syntax error" is here to catch this case.
36952d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
36962d62a77cSmrg/* confdefs.h.  */
36972d62a77cSmrg_ACEOF
36982d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
36992d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
37002d62a77cSmrg/* end confdefs.h.  */
37012d62a77cSmrg#ifdef __STDC__
37022d62a77cSmrg# include <limits.h>
37032d62a77cSmrg#else
37042d62a77cSmrg# include <assert.h>
37052d62a77cSmrg#endif
37062d62a77cSmrg		     Syntax error
37072d62a77cSmrg_ACEOF
37082d62a77cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
37092d62a77cSmrgcase "(($ac_try" in
37102d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37112d62a77cSmrg  *) ac_try_echo=$ac_try;;
37122d62a77cSmrgesac
37132d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37142d62a77cSmrg$as_echo "$ac_try_echo") >&5
37152d62a77cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37162d62a77cSmrg  ac_status=$?
37172d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
37182d62a77cSmrg  rm -f conftest.er1
37192d62a77cSmrg  cat conftest.err >&5
37202d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212d62a77cSmrg  (exit $ac_status); } >/dev/null && {
37222d62a77cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37232d62a77cSmrg	 test ! -s conftest.err
37242d62a77cSmrg       }; then
37252d62a77cSmrg  :
37262d62a77cSmrgelse
37272d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
37282d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
37292d62a77cSmrg
37302d62a77cSmrg  # Broken: fails on valid input.
37312d62a77cSmrgcontinue
37322d62a77cSmrgfi
37332d62a77cSmrg
37342d62a77cSmrgrm -f conftest.err conftest.$ac_ext
37352d62a77cSmrg
37362d62a77cSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
37372d62a77cSmrg  # can be detected and how.
37382d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
37392d62a77cSmrg/* confdefs.h.  */
37402d62a77cSmrg_ACEOF
37412d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
37422d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
37432d62a77cSmrg/* end confdefs.h.  */
37442d62a77cSmrg#include <ac_nonexistent.h>
37452d62a77cSmrg_ACEOF
37462d62a77cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
37472d62a77cSmrgcase "(($ac_try" in
37482d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37492d62a77cSmrg  *) ac_try_echo=$ac_try;;
37502d62a77cSmrgesac
37512d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37522d62a77cSmrg$as_echo "$ac_try_echo") >&5
37532d62a77cSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37542d62a77cSmrg  ac_status=$?
37552d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
37562d62a77cSmrg  rm -f conftest.er1
37572d62a77cSmrg  cat conftest.err >&5
37582d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592d62a77cSmrg  (exit $ac_status); } >/dev/null && {
37602d62a77cSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37612d62a77cSmrg	 test ! -s conftest.err
37622d62a77cSmrg       }; then
37632d62a77cSmrg  # Broken: success on invalid input.
37642d62a77cSmrgcontinue
37652d62a77cSmrgelse
37662d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
37672d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
37682d62a77cSmrg
37692d62a77cSmrg  # Passes both tests.
37702d62a77cSmrgac_preproc_ok=:
37712d62a77cSmrgbreak
37722d62a77cSmrgfi
37732d62a77cSmrg
37742d62a77cSmrgrm -f conftest.err conftest.$ac_ext
37752d62a77cSmrg
37762d62a77cSmrgdone
37772d62a77cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
37782d62a77cSmrgrm -f conftest.err conftest.$ac_ext
37792d62a77cSmrgif $ac_preproc_ok; then
37802d62a77cSmrg  :
37812d62a77cSmrgelse
37822d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37832d62a77cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37842d62a77cSmrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
37852d62a77cSmrgSee \`config.log' for more details." >&5
37862d62a77cSmrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
37872d62a77cSmrgSee \`config.log' for more details." >&2;}
37882d62a77cSmrg   { (exit 1); exit 1; }; }; }
37892d62a77cSmrgfi
37902d62a77cSmrg
37912d62a77cSmrgac_ext=c
37922d62a77cSmrgac_cpp='$CPP $CPPFLAGS'
37932d62a77cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942d62a77cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37952d62a77cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
37962d62a77cSmrg
37972d62a77cSmrg
37982d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
37992d62a77cSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
38002d62a77cSmrgif test "${ac_cv_path_GREP+set}" = set; then
38012d62a77cSmrg  $as_echo_n "(cached) " >&6
38022d62a77cSmrgelse
38032d62a77cSmrg  if test -z "$GREP"; then
38042d62a77cSmrg  ac_path_GREP_found=false
38052d62a77cSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
38062d62a77cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38072d62a77cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
38082d62a77cSmrgdo
38092d62a77cSmrg  IFS=$as_save_IFS
38102d62a77cSmrg  test -z "$as_dir" && as_dir=.
38112d62a77cSmrg  for ac_prog in grep ggrep; do
38122d62a77cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
38132d62a77cSmrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
38142d62a77cSmrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
38152d62a77cSmrg# Check for GNU ac_path_GREP and select it if it is found.
38162d62a77cSmrg  # Check for GNU $ac_path_GREP
38172d62a77cSmrgcase `"$ac_path_GREP" --version 2>&1` in
38182d62a77cSmrg*GNU*)
38192d62a77cSmrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
38202d62a77cSmrg*)
38212d62a77cSmrg  ac_count=0
38222d62a77cSmrg  $as_echo_n 0123456789 >"conftest.in"
38232d62a77cSmrg  while :
38242d62a77cSmrg  do
38252d62a77cSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
38262d62a77cSmrg    mv "conftest.tmp" "conftest.in"
38272d62a77cSmrg    cp "conftest.in" "conftest.nl"
38282d62a77cSmrg    $as_echo 'GREP' >> "conftest.nl"
38292d62a77cSmrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
38302d62a77cSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
38312d62a77cSmrg    ac_count=`expr $ac_count + 1`
38322d62a77cSmrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
38332d62a77cSmrg      # Best one so far, save it but keep looking for a better one
38342d62a77cSmrg      ac_cv_path_GREP="$ac_path_GREP"
38352d62a77cSmrg      ac_path_GREP_max=$ac_count
38362d62a77cSmrg    fi
38372d62a77cSmrg    # 10*(2^10) chars as input seems more than enough
38382d62a77cSmrg    test $ac_count -gt 10 && break
38392d62a77cSmrg  done
38402d62a77cSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
38412d62a77cSmrgesac
38422d62a77cSmrg
38432d62a77cSmrg      $ac_path_GREP_found && break 3
38442d62a77cSmrg    done
38452d62a77cSmrg  done
38462d62a77cSmrgdone
38472d62a77cSmrgIFS=$as_save_IFS
38482d62a77cSmrg  if test -z "$ac_cv_path_GREP"; then
38492d62a77cSmrg    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
38502d62a77cSmrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
38512d62a77cSmrg   { (exit 1); exit 1; }; }
38522d62a77cSmrg  fi
38532d62a77cSmrgelse
38542d62a77cSmrg  ac_cv_path_GREP=$GREP
38552d62a77cSmrgfi
38562d62a77cSmrg
38572d62a77cSmrgfi
38582d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
38592d62a77cSmrg$as_echo "$ac_cv_path_GREP" >&6; }
38602d62a77cSmrg GREP="$ac_cv_path_GREP"
38612d62a77cSmrg
38622d62a77cSmrg
38632d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
38642d62a77cSmrg$as_echo_n "checking for egrep... " >&6; }
38652d62a77cSmrgif test "${ac_cv_path_EGREP+set}" = set; then
38662d62a77cSmrg  $as_echo_n "(cached) " >&6
38672d62a77cSmrgelse
38682d62a77cSmrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
38692d62a77cSmrg   then ac_cv_path_EGREP="$GREP -E"
38702d62a77cSmrg   else
38712d62a77cSmrg     if test -z "$EGREP"; then
38722d62a77cSmrg  ac_path_EGREP_found=false
38732d62a77cSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
38742d62a77cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38752d62a77cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
38762d62a77cSmrgdo
38772d62a77cSmrg  IFS=$as_save_IFS
38782d62a77cSmrg  test -z "$as_dir" && as_dir=.
38792d62a77cSmrg  for ac_prog in egrep; do
38802d62a77cSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
38812d62a77cSmrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
38822d62a77cSmrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
38832d62a77cSmrg# Check for GNU ac_path_EGREP and select it if it is found.
38842d62a77cSmrg  # Check for GNU $ac_path_EGREP
38852d62a77cSmrgcase `"$ac_path_EGREP" --version 2>&1` in
38862d62a77cSmrg*GNU*)
38872d62a77cSmrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
38882d62a77cSmrg*)
38892d62a77cSmrg  ac_count=0
38902d62a77cSmrg  $as_echo_n 0123456789 >"conftest.in"
38912d62a77cSmrg  while :
38922d62a77cSmrg  do
38932d62a77cSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
38942d62a77cSmrg    mv "conftest.tmp" "conftest.in"
38952d62a77cSmrg    cp "conftest.in" "conftest.nl"
38962d62a77cSmrg    $as_echo 'EGREP' >> "conftest.nl"
38972d62a77cSmrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
38982d62a77cSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
38992d62a77cSmrg    ac_count=`expr $ac_count + 1`
39002d62a77cSmrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
39012d62a77cSmrg      # Best one so far, save it but keep looking for a better one
39022d62a77cSmrg      ac_cv_path_EGREP="$ac_path_EGREP"
39032d62a77cSmrg      ac_path_EGREP_max=$ac_count
39042d62a77cSmrg    fi
39052d62a77cSmrg    # 10*(2^10) chars as input seems more than enough
39062d62a77cSmrg    test $ac_count -gt 10 && break
39072d62a77cSmrg  done
39082d62a77cSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
39092d62a77cSmrgesac
39102d62a77cSmrg
39112d62a77cSmrg      $ac_path_EGREP_found && break 3
39122d62a77cSmrg    done
39132d62a77cSmrg  done
39142d62a77cSmrgdone
39152d62a77cSmrgIFS=$as_save_IFS
39162d62a77cSmrg  if test -z "$ac_cv_path_EGREP"; then
39172d62a77cSmrg    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
39182d62a77cSmrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
39192d62a77cSmrg   { (exit 1); exit 1; }; }
39202d62a77cSmrg  fi
39212d62a77cSmrgelse
39222d62a77cSmrg  ac_cv_path_EGREP=$EGREP
39232d62a77cSmrgfi
39242d62a77cSmrg
39252d62a77cSmrg   fi
39262d62a77cSmrgfi
39272d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
39282d62a77cSmrg$as_echo "$ac_cv_path_EGREP" >&6; }
39292d62a77cSmrg EGREP="$ac_cv_path_EGREP"
39302d62a77cSmrg
39312d62a77cSmrg
39322d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
39332d62a77cSmrg$as_echo_n "checking for ANSI C header files... " >&6; }
39342d62a77cSmrgif test "${ac_cv_header_stdc+set}" = set; then
39352d62a77cSmrg  $as_echo_n "(cached) " >&6
39362d62a77cSmrgelse
39372d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
39382d62a77cSmrg/* confdefs.h.  */
39392d62a77cSmrg_ACEOF
39402d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
39412d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
39422d62a77cSmrg/* end confdefs.h.  */
39432d62a77cSmrg#include <stdlib.h>
39442d62a77cSmrg#include <stdarg.h>
39452d62a77cSmrg#include <string.h>
39462d62a77cSmrg#include <float.h>
39472d62a77cSmrg
39482d62a77cSmrgint
39492d62a77cSmrgmain ()
39502d62a77cSmrg{
39512d62a77cSmrg
39522d62a77cSmrg  ;
39532d62a77cSmrg  return 0;
39542d62a77cSmrg}
39552d62a77cSmrg_ACEOF
39562d62a77cSmrgrm -f conftest.$ac_objext
39572d62a77cSmrgif { (ac_try="$ac_compile"
39582d62a77cSmrgcase "(($ac_try" in
39592d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39602d62a77cSmrg  *) ac_try_echo=$ac_try;;
39612d62a77cSmrgesac
39622d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39632d62a77cSmrg$as_echo "$ac_try_echo") >&5
39642d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
39652d62a77cSmrg  ac_status=$?
39662d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
39672d62a77cSmrg  rm -f conftest.er1
39682d62a77cSmrg  cat conftest.err >&5
39692d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702d62a77cSmrg  (exit $ac_status); } && {
39712d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
39722d62a77cSmrg	 test ! -s conftest.err
39732d62a77cSmrg       } && test -s conftest.$ac_objext; then
39742d62a77cSmrg  ac_cv_header_stdc=yes
39752d62a77cSmrgelse
39762d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
39772d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
39782d62a77cSmrg
39792d62a77cSmrg	ac_cv_header_stdc=no
39802d62a77cSmrgfi
39812d62a77cSmrg
39822d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39832d62a77cSmrg
39842d62a77cSmrgif test $ac_cv_header_stdc = yes; then
39852d62a77cSmrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
39862d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
39872d62a77cSmrg/* confdefs.h.  */
39882d62a77cSmrg_ACEOF
39892d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
39902d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
39912d62a77cSmrg/* end confdefs.h.  */
39922d62a77cSmrg#include <string.h>
39932d62a77cSmrg
39942d62a77cSmrg_ACEOF
39952d62a77cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39962d62a77cSmrg  $EGREP "memchr" >/dev/null 2>&1; then
39972d62a77cSmrg  :
39982d62a77cSmrgelse
39992d62a77cSmrg  ac_cv_header_stdc=no
40002d62a77cSmrgfi
40012d62a77cSmrgrm -f conftest*
40022d62a77cSmrg
40032d62a77cSmrgfi
40042d62a77cSmrg
40052d62a77cSmrgif test $ac_cv_header_stdc = yes; then
40062d62a77cSmrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40072d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
40082d62a77cSmrg/* confdefs.h.  */
40092d62a77cSmrg_ACEOF
40102d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
40112d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
40122d62a77cSmrg/* end confdefs.h.  */
40132d62a77cSmrg#include <stdlib.h>
40142d62a77cSmrg
40152d62a77cSmrg_ACEOF
40162d62a77cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40172d62a77cSmrg  $EGREP "free" >/dev/null 2>&1; then
40182d62a77cSmrg  :
40192d62a77cSmrgelse
40202d62a77cSmrg  ac_cv_header_stdc=no
40212d62a77cSmrgfi
40222d62a77cSmrgrm -f conftest*
40232d62a77cSmrg
40242d62a77cSmrgfi
40252d62a77cSmrg
40262d62a77cSmrgif test $ac_cv_header_stdc = yes; then
40272d62a77cSmrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
40282d62a77cSmrg  if test "$cross_compiling" = yes; then
40292d62a77cSmrg  :
40302d62a77cSmrgelse
40312d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
40322d62a77cSmrg/* confdefs.h.  */
40332d62a77cSmrg_ACEOF
40342d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
40352d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
40362d62a77cSmrg/* end confdefs.h.  */
40372d62a77cSmrg#include <ctype.h>
40382d62a77cSmrg#include <stdlib.h>
40392d62a77cSmrg#if ((' ' & 0x0FF) == 0x020)
40402d62a77cSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
40412d62a77cSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
40422d62a77cSmrg#else
40432d62a77cSmrg# define ISLOWER(c) \
40442d62a77cSmrg		   (('a' <= (c) && (c) <= 'i') \
40452d62a77cSmrg		     || ('j' <= (c) && (c) <= 'r') \
40462d62a77cSmrg		     || ('s' <= (c) && (c) <= 'z'))
40472d62a77cSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
40482d62a77cSmrg#endif
40492d62a77cSmrg
40502d62a77cSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
40512d62a77cSmrgint
40522d62a77cSmrgmain ()
40532d62a77cSmrg{
40542d62a77cSmrg  int i;
40552d62a77cSmrg  for (i = 0; i < 256; i++)
40562d62a77cSmrg    if (XOR (islower (i), ISLOWER (i))
40572d62a77cSmrg	|| toupper (i) != TOUPPER (i))
40582d62a77cSmrg      return 2;
40592d62a77cSmrg  return 0;
40602d62a77cSmrg}
40612d62a77cSmrg_ACEOF
40622d62a77cSmrgrm -f conftest$ac_exeext
40632d62a77cSmrgif { (ac_try="$ac_link"
40642d62a77cSmrgcase "(($ac_try" in
40652d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40662d62a77cSmrg  *) ac_try_echo=$ac_try;;
40672d62a77cSmrgesac
40682d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40692d62a77cSmrg$as_echo "$ac_try_echo") >&5
40702d62a77cSmrg  (eval "$ac_link") 2>&5
40712d62a77cSmrg  ac_status=$?
40722d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732d62a77cSmrg  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40742d62a77cSmrg  { (case "(($ac_try" in
40752d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40762d62a77cSmrg  *) ac_try_echo=$ac_try;;
40772d62a77cSmrgesac
40782d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40792d62a77cSmrg$as_echo "$ac_try_echo") >&5
40802d62a77cSmrg  (eval "$ac_try") 2>&5
40812d62a77cSmrg  ac_status=$?
40822d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40832d62a77cSmrg  (exit $ac_status); }; }; then
40842d62a77cSmrg  :
40852d62a77cSmrgelse
40862d62a77cSmrg  $as_echo "$as_me: program exited with status $ac_status" >&5
40872d62a77cSmrg$as_echo "$as_me: failed program was:" >&5
40882d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
40892d62a77cSmrg
40902d62a77cSmrg( exit $ac_status )
40912d62a77cSmrgac_cv_header_stdc=no
40922d62a77cSmrgfi
40932d62a77cSmrgrm -rf conftest.dSYM
40942d62a77cSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40952d62a77cSmrgfi
40962d62a77cSmrg
40972d62a77cSmrg
40982d62a77cSmrgfi
40992d62a77cSmrgfi
41002d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
41012d62a77cSmrg$as_echo "$ac_cv_header_stdc" >&6; }
41022d62a77cSmrgif test $ac_cv_header_stdc = yes; then
41032d62a77cSmrg
41042d62a77cSmrgcat >>confdefs.h <<\_ACEOF
41052d62a77cSmrg#define STDC_HEADERS 1
41062d62a77cSmrg_ACEOF
41072d62a77cSmrg
41082d62a77cSmrgfi
41092d62a77cSmrg
41102d62a77cSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
41112d62a77cSmrg
41122d62a77cSmrg
41132d62a77cSmrg
41142d62a77cSmrg
41152d62a77cSmrg
41162d62a77cSmrg
41172d62a77cSmrg
41182d62a77cSmrg
41192d62a77cSmrg
41202d62a77cSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
41212d62a77cSmrg		  inttypes.h stdint.h unistd.h
41222d62a77cSmrgdo
41232d62a77cSmrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
41242d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
41252d62a77cSmrg$as_echo_n "checking for $ac_header... " >&6; }
41262d62a77cSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41272d62a77cSmrg  $as_echo_n "(cached) " >&6
41282d62a77cSmrgelse
41292d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
41302d62a77cSmrg/* confdefs.h.  */
41312d62a77cSmrg_ACEOF
41322d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
41332d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
41342d62a77cSmrg/* end confdefs.h.  */
41352d62a77cSmrg$ac_includes_default
41362d62a77cSmrg
41372d62a77cSmrg#include <$ac_header>
41382d62a77cSmrg_ACEOF
41392d62a77cSmrgrm -f conftest.$ac_objext
41402d62a77cSmrgif { (ac_try="$ac_compile"
41412d62a77cSmrgcase "(($ac_try" in
41422d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41432d62a77cSmrg  *) ac_try_echo=$ac_try;;
41442d62a77cSmrgesac
41452d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41462d62a77cSmrg$as_echo "$ac_try_echo") >&5
41472d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
41482d62a77cSmrg  ac_status=$?
41492d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
41502d62a77cSmrg  rm -f conftest.er1
41512d62a77cSmrg  cat conftest.err >&5
41522d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532d62a77cSmrg  (exit $ac_status); } && {
41542d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
41552d62a77cSmrg	 test ! -s conftest.err
41562d62a77cSmrg       } && test -s conftest.$ac_objext; then
41572d62a77cSmrg  eval "$as_ac_Header=yes"
41582d62a77cSmrgelse
41592d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
41602d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
41612d62a77cSmrg
41622d62a77cSmrg	eval "$as_ac_Header=no"
41632d62a77cSmrgfi
41642d62a77cSmrg
41652d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41662d62a77cSmrgfi
41672d62a77cSmrgac_res=`eval 'as_val=${'$as_ac_Header'}
41682d62a77cSmrg		 $as_echo "$as_val"'`
41692d62a77cSmrg	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
41702d62a77cSmrg$as_echo "$ac_res" >&6; }
41712d62a77cSmrgas_val=`eval 'as_val=${'$as_ac_Header'}
41722d62a77cSmrg		 $as_echo "$as_val"'`
41732d62a77cSmrg   if test "x$as_val" = x""yes; then
41742d62a77cSmrg  cat >>confdefs.h <<_ACEOF
41752d62a77cSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
41762d62a77cSmrg_ACEOF
41772d62a77cSmrg
41782d62a77cSmrgfi
41792d62a77cSmrg
41802d62a77cSmrgdone
41812d62a77cSmrg
41822d62a77cSmrg
41832d62a77cSmrg   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
41842d62a77cSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
41852d62a77cSmrgif test "${ac_cv_prog_cc_c99+set}" = set; then
41862d62a77cSmrg  $as_echo_n "(cached) " >&6
41872d62a77cSmrgelse
41882d62a77cSmrg  ac_cv_prog_cc_c99=no
41892d62a77cSmrgac_save_CC=$CC
41902d62a77cSmrgcat >conftest.$ac_ext <<_ACEOF
41912d62a77cSmrg/* confdefs.h.  */
41922d62a77cSmrg_ACEOF
41932d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
41942d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
41952d62a77cSmrg/* end confdefs.h.  */
41962d62a77cSmrg#include <stdarg.h>
41972d62a77cSmrg#include <stdbool.h>
41982d62a77cSmrg#include <stdlib.h>
41992d62a77cSmrg#include <wchar.h>
42002d62a77cSmrg#include <stdio.h>
42012d62a77cSmrg
42022d62a77cSmrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
42032d62a77cSmrg#define debug(...) fprintf (stderr, __VA_ARGS__)
42042d62a77cSmrg#define showlist(...) puts (#__VA_ARGS__)
42052d62a77cSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
42062d62a77cSmrgstatic void
42072d62a77cSmrgtest_varargs_macros (void)
42082d62a77cSmrg{
42092d62a77cSmrg  int x = 1234;
42102d62a77cSmrg  int y = 5678;
42112d62a77cSmrg  debug ("Flag");
42122d62a77cSmrg  debug ("X = %d\n", x);
42132d62a77cSmrg  showlist (The first, second, and third items.);
42142d62a77cSmrg  report (x>y, "x is %d but y is %d", x, y);
42152d62a77cSmrg}
42162d62a77cSmrg
42172d62a77cSmrg// Check long long types.
42182d62a77cSmrg#define BIG64 18446744073709551615ull
42192d62a77cSmrg#define BIG32 4294967295ul
42202d62a77cSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
42212d62a77cSmrg#if !BIG_OK
42222d62a77cSmrg  your preprocessor is broken;
42232d62a77cSmrg#endif
42242d62a77cSmrg#if BIG_OK
42252d62a77cSmrg#else
42262d62a77cSmrg  your preprocessor is broken;
42272d62a77cSmrg#endif
42282d62a77cSmrgstatic long long int bignum = -9223372036854775807LL;
42292d62a77cSmrgstatic unsigned long long int ubignum = BIG64;
42302d62a77cSmrg
42312d62a77cSmrgstruct incomplete_array
42322d62a77cSmrg{
42332d62a77cSmrg  int datasize;
42342d62a77cSmrg  double data[];
42352d62a77cSmrg};
42362d62a77cSmrg
42372d62a77cSmrgstruct named_init {
42382d62a77cSmrg  int number;
42392d62a77cSmrg  const wchar_t *name;
42402d62a77cSmrg  double average;
42412d62a77cSmrg};
42422d62a77cSmrg
42432d62a77cSmrgtypedef const char *ccp;
42442d62a77cSmrg
42452d62a77cSmrgstatic inline int
42462d62a77cSmrgtest_restrict (ccp restrict text)
42472d62a77cSmrg{
42482d62a77cSmrg  // See if C++-style comments work.
42492d62a77cSmrg  // Iterate through items via the restricted pointer.
42502d62a77cSmrg  // Also check for declarations in for loops.
42512d62a77cSmrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
42522d62a77cSmrg    continue;
42532d62a77cSmrg  return 0;
42542d62a77cSmrg}
42552d62a77cSmrg
42562d62a77cSmrg// Check varargs and va_copy.
42572d62a77cSmrgstatic void
42582d62a77cSmrgtest_varargs (const char *format, ...)
42592d62a77cSmrg{
42602d62a77cSmrg  va_list args;
42612d62a77cSmrg  va_start (args, format);
42622d62a77cSmrg  va_list args_copy;
42632d62a77cSmrg  va_copy (args_copy, args);
42642d62a77cSmrg
42652d62a77cSmrg  const char *str;
42662d62a77cSmrg  int number;
42672d62a77cSmrg  float fnumber;
42682d62a77cSmrg
42692d62a77cSmrg  while (*format)
42702d62a77cSmrg    {
42712d62a77cSmrg      switch (*format++)
42722d62a77cSmrg	{
42732d62a77cSmrg	case 's': // string
42742d62a77cSmrg	  str = va_arg (args_copy, const char *);
42752d62a77cSmrg	  break;
42762d62a77cSmrg	case 'd': // int
42772d62a77cSmrg	  number = va_arg (args_copy, int);
42782d62a77cSmrg	  break;
42792d62a77cSmrg	case 'f': // float
42802d62a77cSmrg	  fnumber = va_arg (args_copy, double);
42812d62a77cSmrg	  break;
42822d62a77cSmrg	default:
42832d62a77cSmrg	  break;
42842d62a77cSmrg	}
42852d62a77cSmrg    }
42862d62a77cSmrg  va_end (args_copy);
42872d62a77cSmrg  va_end (args);
42882d62a77cSmrg}
42892d62a77cSmrg
42902d62a77cSmrgint
42912d62a77cSmrgmain ()
42922d62a77cSmrg{
42932d62a77cSmrg
42942d62a77cSmrg  // Check bool.
42952d62a77cSmrg  _Bool success = false;
42962d62a77cSmrg
42972d62a77cSmrg  // Check restrict.
42982d62a77cSmrg  if (test_restrict ("String literal") == 0)
42992d62a77cSmrg    success = true;
43002d62a77cSmrg  char *restrict newvar = "Another string";
43012d62a77cSmrg
43022d62a77cSmrg  // Check varargs.
43032d62a77cSmrg  test_varargs ("s, d' f .", "string", 65, 34.234);
43042d62a77cSmrg  test_varargs_macros ();
43052d62a77cSmrg
43062d62a77cSmrg  // Check flexible array members.
43072d62a77cSmrg  struct incomplete_array *ia =
43082d62a77cSmrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
43092d62a77cSmrg  ia->datasize = 10;
43102d62a77cSmrg  for (int i = 0; i < ia->datasize; ++i)
43112d62a77cSmrg    ia->data[i] = i * 1.234;
43122d62a77cSmrg
43132d62a77cSmrg  // Check named initializers.
43142d62a77cSmrg  struct named_init ni = {
43152d62a77cSmrg    .number = 34,
43162d62a77cSmrg    .name = L"Test wide string",
43172d62a77cSmrg    .average = 543.34343,
43182d62a77cSmrg  };
43192d62a77cSmrg
43202d62a77cSmrg  ni.number = 58;
43212d62a77cSmrg
43222d62a77cSmrg  int dynamic_array[ni.number];
43232d62a77cSmrg  dynamic_array[ni.number - 1] = 543;
43242d62a77cSmrg
43252d62a77cSmrg  // work around unused variable warnings
43262d62a77cSmrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
43272d62a77cSmrg	  || dynamic_array[ni.number - 1] != 543);
43282d62a77cSmrg
43292d62a77cSmrg  ;
43302d62a77cSmrg  return 0;
43312d62a77cSmrg}
43322d62a77cSmrg_ACEOF
43332d62a77cSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
43342d62a77cSmrgdo
43352d62a77cSmrg  CC="$ac_save_CC $ac_arg"
43362d62a77cSmrg  rm -f conftest.$ac_objext
43372d62a77cSmrgif { (ac_try="$ac_compile"
43382d62a77cSmrgcase "(($ac_try" in
43392d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43402d62a77cSmrg  *) ac_try_echo=$ac_try;;
43412d62a77cSmrgesac
43422d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43432d62a77cSmrg$as_echo "$ac_try_echo") >&5
43442d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
43452d62a77cSmrg  ac_status=$?
43462d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
43472d62a77cSmrg  rm -f conftest.er1
43482d62a77cSmrg  cat conftest.err >&5
43492d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502d62a77cSmrg  (exit $ac_status); } && {
43512d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
43522d62a77cSmrg	 test ! -s conftest.err
43532d62a77cSmrg       } && test -s conftest.$ac_objext; then
43542d62a77cSmrg  ac_cv_prog_cc_c99=$ac_arg
43552d62a77cSmrgelse
43562d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
43572d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
43582d62a77cSmrg
43592d62a77cSmrg
43602d62a77cSmrgfi
43612d62a77cSmrg
43622d62a77cSmrgrm -f core conftest.err conftest.$ac_objext
43632d62a77cSmrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
43642d62a77cSmrgdone
43652d62a77cSmrgrm -f conftest.$ac_ext
43662d62a77cSmrgCC=$ac_save_CC
43672d62a77cSmrg
43682d62a77cSmrgfi
43692d62a77cSmrg# AC_CACHE_VAL
43702d62a77cSmrgcase "x$ac_cv_prog_cc_c99" in
43712d62a77cSmrg  x)
43722d62a77cSmrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
43732d62a77cSmrg$as_echo "none needed" >&6; } ;;
43742d62a77cSmrg  xno)
43752d62a77cSmrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
43762d62a77cSmrg$as_echo "unsupported" >&6; } ;;
43772d62a77cSmrg  *)
43782d62a77cSmrg    CC="$CC $ac_cv_prog_cc_c99"
43792d62a77cSmrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
43802d62a77cSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
43812d62a77cSmrgesac
43822d62a77cSmrg
43832d62a77cSmrg
43842d62a77cSmrg
43852d62a77cSmrg# Make sure we can run config.sub.
43862d62a77cSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
43872d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
43882d62a77cSmrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
43892d62a77cSmrg   { (exit 1); exit 1; }; }
43902d62a77cSmrg
43912d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5
43922d62a77cSmrg$as_echo_n "checking build system type... " >&6; }
43932d62a77cSmrgif test "${ac_cv_build+set}" = set; then
43942d62a77cSmrg  $as_echo_n "(cached) " >&6
43952d62a77cSmrgelse
43962d62a77cSmrg  ac_build_alias=$build_alias
43972d62a77cSmrgtest "x$ac_build_alias" = x &&
43982d62a77cSmrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
43992d62a77cSmrgtest "x$ac_build_alias" = x &&
44002d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
44012d62a77cSmrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
44022d62a77cSmrg   { (exit 1); exit 1; }; }
44032d62a77cSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
44042d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
44052d62a77cSmrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
44062d62a77cSmrg   { (exit 1); exit 1; }; }
44072d62a77cSmrg
44082d62a77cSmrgfi
44092d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
44102d62a77cSmrg$as_echo "$ac_cv_build" >&6; }
44112d62a77cSmrgcase $ac_cv_build in
44122d62a77cSmrg*-*-*) ;;
44132d62a77cSmrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
44142d62a77cSmrg$as_echo "$as_me: error: invalid value of canonical build" >&2;}
44152d62a77cSmrg   { (exit 1); exit 1; }; };;
44162d62a77cSmrgesac
44172d62a77cSmrgbuild=$ac_cv_build
44182d62a77cSmrgac_save_IFS=$IFS; IFS='-'
44192d62a77cSmrgset x $ac_cv_build
44202d62a77cSmrgshift
44212d62a77cSmrgbuild_cpu=$1
44222d62a77cSmrgbuild_vendor=$2
44232d62a77cSmrgshift; shift
44242d62a77cSmrg# Remember, the first character of IFS is used to create $*,
44252d62a77cSmrg# except with old shells:
44262d62a77cSmrgbuild_os=$*
44272d62a77cSmrgIFS=$ac_save_IFS
44282d62a77cSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
44292d62a77cSmrg
44302d62a77cSmrg
44312d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5
44322d62a77cSmrg$as_echo_n "checking host system type... " >&6; }
44332d62a77cSmrgif test "${ac_cv_host+set}" = set; then
44342d62a77cSmrg  $as_echo_n "(cached) " >&6
44352d62a77cSmrgelse
44362d62a77cSmrg  if test "x$host_alias" = x; then
44372d62a77cSmrg  ac_cv_host=$ac_cv_build
44382d62a77cSmrgelse
44392d62a77cSmrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
44402d62a77cSmrg    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
44412d62a77cSmrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
44422d62a77cSmrg   { (exit 1); exit 1; }; }
44432d62a77cSmrgfi
44442d62a77cSmrg
44452d62a77cSmrgfi
44462d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
44472d62a77cSmrg$as_echo "$ac_cv_host" >&6; }
44482d62a77cSmrgcase $ac_cv_host in
44492d62a77cSmrg*-*-*) ;;
44502d62a77cSmrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
44512d62a77cSmrg$as_echo "$as_me: error: invalid value of canonical host" >&2;}
44522d62a77cSmrg   { (exit 1); exit 1; }; };;
44532d62a77cSmrgesac
44542d62a77cSmrghost=$ac_cv_host
44552d62a77cSmrgac_save_IFS=$IFS; IFS='-'
44562d62a77cSmrgset x $ac_cv_host
44572d62a77cSmrgshift
44582d62a77cSmrghost_cpu=$1
44592d62a77cSmrghost_vendor=$2
44602d62a77cSmrgshift; shift
44612d62a77cSmrg# Remember, the first character of IFS is used to create $*,
44622d62a77cSmrg# except with old shells:
44632d62a77cSmrghost_os=$*
44642d62a77cSmrgIFS=$ac_save_IFS
44652d62a77cSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
44662d62a77cSmrg
44672d62a77cSmrg
44682d62a77cSmrg
44692d62a77cSmrg
44702d62a77cSmrg
44712d62a77cSmrgif  test "x$GCC" = xyes ; then
44722d62a77cSmrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
44732d62a77cSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
44742d62a77cSmrg-Wbad-function-cast"
44752d62a77cSmrg    case `$CC -dumpversion` in
44762d62a77cSmrg    3.4.* | 4.*)
44772d62a77cSmrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
44782d62a77cSmrg	;;
44792d62a77cSmrg    esac
44802d62a77cSmrgelse
44812d62a77cSmrg    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
44822d62a77cSmrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
44832d62a77cSmrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
44842d62a77cSmrg  $as_echo_n "(cached) " >&6
44852d62a77cSmrgelse
44862d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
44872d62a77cSmrg/* confdefs.h.  */
44882d62a77cSmrg_ACEOF
44892d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
44902d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
44912d62a77cSmrg/* end confdefs.h.  */
44922d62a77cSmrg$ac_includes_default
44932d62a77cSmrgint
44942d62a77cSmrgmain ()
44952d62a77cSmrg{
44962d62a77cSmrg#ifndef __SUNPRO_C
44972d62a77cSmrg  (void) __SUNPRO_C;
44982d62a77cSmrg#endif
44992d62a77cSmrg
45002d62a77cSmrg  ;
45012d62a77cSmrg  return 0;
45022d62a77cSmrg}
45032d62a77cSmrg_ACEOF
45042d62a77cSmrgrm -f conftest.$ac_objext
45052d62a77cSmrgif { (ac_try="$ac_compile"
45062d62a77cSmrgcase "(($ac_try" in
45072d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45082d62a77cSmrg  *) ac_try_echo=$ac_try;;
45092d62a77cSmrgesac
45102d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45112d62a77cSmrg$as_echo "$ac_try_echo") >&5
45122d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
45132d62a77cSmrg  ac_status=$?
45142d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
45152d62a77cSmrg  rm -f conftest.er1
45162d62a77cSmrg  cat conftest.err >&5
45172d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45182d62a77cSmrg  (exit $ac_status); } && {
45192d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
45202d62a77cSmrg	 test ! -s conftest.err
45212d62a77cSmrg       } && test -s conftest.$ac_objext; then
45222d62a77cSmrg  ac_cv_have_decl___SUNPRO_C=yes
45232d62a77cSmrgelse
45242d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
45252d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
45262d62a77cSmrg
45272d62a77cSmrg	ac_cv_have_decl___SUNPRO_C=no
4528a99f82b8Smrgfi
4529a99f82b8Smrg
45302d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312d62a77cSmrgfi
45322d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
45332d62a77cSmrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
45342d62a77cSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
45352d62a77cSmrg  SUNCC="yes"
45362d62a77cSmrgelse
45372d62a77cSmrg  SUNCC="no"
45382d62a77cSmrgfi
45392d62a77cSmrg
45402d62a77cSmrg    if test "x$SUNCC" = "xyes"; then
45412d62a77cSmrg	CWARNFLAGS="-v"
45422d62a77cSmrg    fi
45432d62a77cSmrgfi
45442d62a77cSmrg
45452d62a77cSmrg# Check whether --enable-silent-rules was given.
45462d62a77cSmrgif test "${enable_silent_rules+set}" = set; then
45472d62a77cSmrg  enableval=$enable_silent_rules;
45482d62a77cSmrgfi
45492d62a77cSmrg
45502d62a77cSmrgcase $enable_silent_rules in
45512d62a77cSmrgyes) AM_DEFAULT_VERBOSITY=0;;
45522d62a77cSmrgno)  AM_DEFAULT_VERBOSITY=1;;
45532d62a77cSmrg*)   AM_DEFAULT_VERBOSITY=0;;
45542d62a77cSmrgesac
45552d62a77cSmrgAM_BACKSLASH='\'
45562d62a77cSmrg
45572d62a77cSmrg
45582d62a77cSmrg
45592d62a77cSmrg
45602d62a77cSmrg
45612d62a77cSmrg
45622d62a77cSmrg
45632d62a77cSmrg# Check whether --enable-strict-compilation was given.
45642d62a77cSmrgif test "${enable_strict_compilation+set}" = set; then
45652d62a77cSmrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
45662d62a77cSmrgelse
45672d62a77cSmrg  STRICT_COMPILE=no
45682d62a77cSmrgfi
45692d62a77cSmrg
45702d62a77cSmrgif test "x$STRICT_COMPILE" = "xyes"; then
45712d62a77cSmrg	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
45722d62a77cSmrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
45732d62a77cSmrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
45742d62a77cSmrg  $as_echo_n "(cached) " >&6
45752d62a77cSmrgelse
45762d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
45772d62a77cSmrg/* confdefs.h.  */
45782d62a77cSmrg_ACEOF
45792d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
45802d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
45812d62a77cSmrg/* end confdefs.h.  */
45822d62a77cSmrg$ac_includes_default
45832d62a77cSmrgint
45842d62a77cSmrgmain ()
45852d62a77cSmrg{
45862d62a77cSmrg#ifndef __SUNPRO_C
45872d62a77cSmrg  (void) __SUNPRO_C;
45882d62a77cSmrg#endif
45892d62a77cSmrg
45902d62a77cSmrg  ;
45912d62a77cSmrg  return 0;
45922d62a77cSmrg}
45932d62a77cSmrg_ACEOF
45942d62a77cSmrgrm -f conftest.$ac_objext
45952d62a77cSmrgif { (ac_try="$ac_compile"
45962d62a77cSmrgcase "(($ac_try" in
45972d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45982d62a77cSmrg  *) ac_try_echo=$ac_try;;
45992d62a77cSmrgesac
46002d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46012d62a77cSmrg$as_echo "$ac_try_echo") >&5
46022d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
46032d62a77cSmrg  ac_status=$?
46042d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
46052d62a77cSmrg  rm -f conftest.er1
46062d62a77cSmrg  cat conftest.err >&5
46072d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082d62a77cSmrg  (exit $ac_status); } && {
46092d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
46102d62a77cSmrg	 test ! -s conftest.err
46112d62a77cSmrg       } && test -s conftest.$ac_objext; then
46122d62a77cSmrg  ac_cv_have_decl___SUNPRO_C=yes
46132d62a77cSmrgelse
46142d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
46152d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
46162d62a77cSmrg
46172d62a77cSmrg	ac_cv_have_decl___SUNPRO_C=no
46182d62a77cSmrgfi
46192d62a77cSmrg
46202d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46212d62a77cSmrgfi
46222d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
46232d62a77cSmrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
46242d62a77cSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
46252d62a77cSmrg  SUNCC="yes"
46262d62a77cSmrgelse
46272d62a77cSmrg  SUNCC="no"
46282d62a77cSmrgfi
46292d62a77cSmrg
46302d62a77cSmrg	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
46312d62a77cSmrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
46322d62a77cSmrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
46332d62a77cSmrg  $as_echo_n "(cached) " >&6
46342d62a77cSmrgelse
46352d62a77cSmrg  cat >conftest.$ac_ext <<_ACEOF
46362d62a77cSmrg/* confdefs.h.  */
46372d62a77cSmrg_ACEOF
46382d62a77cSmrgcat confdefs.h >>conftest.$ac_ext
46392d62a77cSmrgcat >>conftest.$ac_ext <<_ACEOF
46402d62a77cSmrg/* end confdefs.h.  */
46412d62a77cSmrg$ac_includes_default
46422d62a77cSmrgint
46432d62a77cSmrgmain ()
46442d62a77cSmrg{
46452d62a77cSmrg#ifndef __INTEL_COMPILER
46462d62a77cSmrg  (void) __INTEL_COMPILER;
46472d62a77cSmrg#endif
46482d62a77cSmrg
46492d62a77cSmrg  ;
46502d62a77cSmrg  return 0;
46512d62a77cSmrg}
46522d62a77cSmrg_ACEOF
46532d62a77cSmrgrm -f conftest.$ac_objext
46542d62a77cSmrgif { (ac_try="$ac_compile"
46552d62a77cSmrgcase "(($ac_try" in
46562d62a77cSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46572d62a77cSmrg  *) ac_try_echo=$ac_try;;
46582d62a77cSmrgesac
46592d62a77cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46602d62a77cSmrg$as_echo "$ac_try_echo") >&5
46612d62a77cSmrg  (eval "$ac_compile") 2>conftest.er1
46622d62a77cSmrg  ac_status=$?
46632d62a77cSmrg  grep -v '^ *+' conftest.er1 >conftest.err
46642d62a77cSmrg  rm -f conftest.er1
46652d62a77cSmrg  cat conftest.err >&5
46662d62a77cSmrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46672d62a77cSmrg  (exit $ac_status); } && {
46682d62a77cSmrg	 test -z "$ac_c_werror_flag" ||
46692d62a77cSmrg	 test ! -s conftest.err
46702d62a77cSmrg       } && test -s conftest.$ac_objext; then
46712d62a77cSmrg  ac_cv_have_decl___INTEL_COMPILER=yes
46722d62a77cSmrgelse
46732d62a77cSmrg  $as_echo "$as_me: failed program was:" >&5
46742d62a77cSmrgsed 's/^/| /' conftest.$ac_ext >&5
46752d62a77cSmrg
46762d62a77cSmrg	ac_cv_have_decl___INTEL_COMPILER=no
46772d62a77cSmrgfi
46782d62a77cSmrg
46792d62a77cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46802d62a77cSmrgfi
46812d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
46822d62a77cSmrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
46832d62a77cSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
46842d62a77cSmrg  INTELCC="yes"
46852d62a77cSmrgelse
46862d62a77cSmrg  INTELCC="no"
46872d62a77cSmrgfi
46882d62a77cSmrg
46892d62a77cSmrg	if test "x$GCC" = xyes ; then
46902d62a77cSmrg		STRICT_CFLAGS="-pedantic -Werror"
46912d62a77cSmrg	elif test "x$SUNCC" = "xyes"; then
46922d62a77cSmrg		STRICT_CFLAGS="-errwarn"
46932d62a77cSmrg    elif test "x$INTELCC" = "xyes"; then
46942d62a77cSmrg		STRICT_CFLAGS="-Werror"
46952d62a77cSmrg	fi
46962d62a77cSmrgfi
46972d62a77cSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
46982d62a77cSmrg
46992d62a77cSmrg
47002d62a77cSmrg
47012d62a77cSmrg
47022d62a77cSmrg# Check whether --with-release-version was given.
47032d62a77cSmrgif test "${with_release_version+set}" = set; then
47042d62a77cSmrg  withval=$with_release_version; RELEASE_VERSION="$withval"
47052d62a77cSmrgelse
47062d62a77cSmrg  RELEASE_VERSION=""
47072d62a77cSmrgfi
47082d62a77cSmrg
47092d62a77cSmrg	if test "x$RELEASE_VERSION" != "x"; then
47102d62a77cSmrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
47112d62a77cSmrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
47122d62a77cSmrg		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
47132d62a77cSmrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
47142d62a77cSmrg	fi
47152d62a77cSmrg
47162d62a77cSmrgcat >>confdefs.h <<_ACEOF
47172d62a77cSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
47182d62a77cSmrg_ACEOF
47192d62a77cSmrg
47202d62a77cSmrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
47212d62a77cSmrg	if test "x$PVM" = "x"; then
47222d62a77cSmrg		PVM="0"
47232d62a77cSmrg	fi
47242d62a77cSmrg
47252d62a77cSmrgcat >>confdefs.h <<_ACEOF
47262d62a77cSmrg#define PACKAGE_VERSION_MINOR $PVM
47272d62a77cSmrg_ACEOF
47282d62a77cSmrg
47292d62a77cSmrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
47302d62a77cSmrg	if test "x$PVP" = "x"; then
47312d62a77cSmrg		PVP="0"
47322d62a77cSmrg	fi
47332d62a77cSmrg
47342d62a77cSmrgcat >>confdefs.h <<_ACEOF
47352d62a77cSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
47362d62a77cSmrg_ACEOF
47372d62a77cSmrg
47382d62a77cSmrg
47392d62a77cSmrg
47402d62a77cSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
47412d62a77cSmrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
47422d62a77cSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
47432d62a77cSmrg
47442d62a77cSmrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
47452d62a77cSmrg
47462d62a77cSmrg
47472d62a77cSmrg
47482d62a77cSmrg
47492d62a77cSmrg
47502d62a77cSmrgif test x$APP_MAN_SUFFIX = x    ; then
47512d62a77cSmrg    APP_MAN_SUFFIX=1
47522d62a77cSmrgfi
47532d62a77cSmrgif test x$APP_MAN_DIR = x    ; then
47542d62a77cSmrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
47552d62a77cSmrgfi
47562d62a77cSmrg
47572d62a77cSmrgif test x$LIB_MAN_SUFFIX = x    ; then
47582d62a77cSmrg    LIB_MAN_SUFFIX=3
47592d62a77cSmrgfi
47602d62a77cSmrgif test x$LIB_MAN_DIR = x    ; then
47612d62a77cSmrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
47622d62a77cSmrgfi
47632d62a77cSmrg
47642d62a77cSmrgif test x$FILE_MAN_SUFFIX = x    ; then
47652d62a77cSmrg    case $host_os in
47662d62a77cSmrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
47672d62a77cSmrg	*)		FILE_MAN_SUFFIX=5  ;;
47682d62a77cSmrg    esac
47692d62a77cSmrgfi
47702d62a77cSmrgif test x$FILE_MAN_DIR = x    ; then
47712d62a77cSmrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
47722d62a77cSmrgfi
47732d62a77cSmrg
47742d62a77cSmrgif test x$MISC_MAN_SUFFIX = x    ; then
47752d62a77cSmrg    case $host_os in
47762d62a77cSmrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
47772d62a77cSmrg	*)		MISC_MAN_SUFFIX=7  ;;
47782d62a77cSmrg    esac
47792d62a77cSmrgfi
47802d62a77cSmrgif test x$MISC_MAN_DIR = x    ; then
47812d62a77cSmrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
47822d62a77cSmrgfi
47832d62a77cSmrg
47842d62a77cSmrgif test x$DRIVER_MAN_SUFFIX = x    ; then
47852d62a77cSmrg    case $host_os in
47862d62a77cSmrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
47872d62a77cSmrg	*)		DRIVER_MAN_SUFFIX=4  ;;
47882d62a77cSmrg    esac
47892d62a77cSmrgfi
47902d62a77cSmrgif test x$DRIVER_MAN_DIR = x    ; then
47912d62a77cSmrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
47922d62a77cSmrgfi
47932d62a77cSmrg
47942d62a77cSmrgif test x$ADMIN_MAN_SUFFIX = x    ; then
47952d62a77cSmrg    case $host_os in
47962d62a77cSmrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
47972d62a77cSmrg	*)		ADMIN_MAN_SUFFIX=8  ;;
47982d62a77cSmrg    esac
47992d62a77cSmrgfi
48002d62a77cSmrgif test x$ADMIN_MAN_DIR = x    ; then
48012d62a77cSmrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
48022d62a77cSmrgfi
48032d62a77cSmrg
48042d62a77cSmrg
48052d62a77cSmrg
48062d62a77cSmrg
48072d62a77cSmrg
48082d62a77cSmrg
48092d62a77cSmrg
48102d62a77cSmrg
48112d62a77cSmrg
48122d62a77cSmrg
48132d62a77cSmrg
48142d62a77cSmrg
48152d62a77cSmrg
48162d62a77cSmrg
4817a99f82b8Smrg
4818a99f82b8Smrg
4819a99f82b8Smrg
4820a99f82b8Smrg# Find a good install program.  We prefer a C program (faster),
4821a99f82b8Smrg# so one script is as good as another.  But avoid the broken or
4822a99f82b8Smrg# incompatible versions:
4823a99f82b8Smrg# SysV /etc/install, /usr/sbin/install
4824a99f82b8Smrg# SunOS /usr/etc/install
4825a99f82b8Smrg# IRIX /sbin/install
4826a99f82b8Smrg# AIX /bin/install
4827a99f82b8Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
4828a99f82b8Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4829a99f82b8Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4830a99f82b8Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4831a99f82b8Smrg# OS/2's system install, which has a completely different semantic
4832a99f82b8Smrg# ./install, which can be erroneously created by make from ./install.sh.
48332d62a77cSmrg# Reject install programs that cannot install multiple files.
48342d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48352d62a77cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
4836a99f82b8Smrgif test -z "$INSTALL"; then
4837a99f82b8Smrgif test "${ac_cv_path_install+set}" = set; then
48382d62a77cSmrg  $as_echo_n "(cached) " >&6
4839a99f82b8Smrgelse
4840a99f82b8Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841a99f82b8Smrgfor as_dir in $PATH
4842a99f82b8Smrgdo
4843a99f82b8Smrg  IFS=$as_save_IFS
4844a99f82b8Smrg  test -z "$as_dir" && as_dir=.
4845a99f82b8Smrg  # Account for people who put trailing slashes in PATH elements.
4846a99f82b8Smrgcase $as_dir/ in
4847a99f82b8Smrg  ./ | .// | /cC/* | \
4848a99f82b8Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4849a99f82b8Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4850a99f82b8Smrg  /usr/ucb/* ) ;;
4851a99f82b8Smrg  *)
4852a99f82b8Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
4853a99f82b8Smrg    # Don't use installbsd from OSF since it installs stuff as root
4854a99f82b8Smrg    # by default.
4855a99f82b8Smrg    for ac_prog in ginstall scoinst install; do
4856a99f82b8Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
48572d62a77cSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4858a99f82b8Smrg	  if test $ac_prog = install &&
4859a99f82b8Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4860a99f82b8Smrg	    # AIX install.  It has an incompatible calling convention.
4861a99f82b8Smrg	    :
4862a99f82b8Smrg	  elif test $ac_prog = install &&
4863a99f82b8Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4864a99f82b8Smrg	    # program-specific install script used by HP pwplus--don't use.
4865a99f82b8Smrg	    :
4866a99f82b8Smrg	  else
48672d62a77cSmrg	    rm -rf conftest.one conftest.two conftest.dir
48682d62a77cSmrg	    echo one > conftest.one
48692d62a77cSmrg	    echo two > conftest.two
48702d62a77cSmrg	    mkdir conftest.dir
48712d62a77cSmrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
48722d62a77cSmrg	      test -s conftest.one && test -s conftest.two &&
48732d62a77cSmrg	      test -s conftest.dir/conftest.one &&
48742d62a77cSmrg	      test -s conftest.dir/conftest.two
48752d62a77cSmrg	    then
48762d62a77cSmrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48772d62a77cSmrg	      break 3
48782d62a77cSmrg	    fi
4879a99f82b8Smrg	  fi
4880a99f82b8Smrg	fi
4881a99f82b8Smrg      done
4882a99f82b8Smrg    done
4883a99f82b8Smrg    ;;
4884a99f82b8Smrgesac
48852d62a77cSmrg
4886a99f82b8Smrgdone
48872d62a77cSmrgIFS=$as_save_IFS
4888a99f82b8Smrg
48892d62a77cSmrgrm -rf conftest.one conftest.two conftest.dir
4890a99f82b8Smrg
4891a99f82b8Smrgfi
4892a99f82b8Smrg  if test "${ac_cv_path_install+set}" = set; then
4893a99f82b8Smrg    INSTALL=$ac_cv_path_install
4894a99f82b8Smrg  else
48952d62a77cSmrg    # As a last resort, use the slow shell script.  Don't cache a
48962d62a77cSmrg    # value for INSTALL within a source directory, because that will
4897a99f82b8Smrg    # break other packages using the cache if that directory is
48982d62a77cSmrg    # removed, or if the value is a relative name.
4899a99f82b8Smrg    INSTALL=$ac_install_sh
4900a99f82b8Smrg  fi
4901a99f82b8Smrgfi
49022d62a77cSmrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
49032d62a77cSmrg$as_echo "$INSTALL" >&6; }
4904a99f82b8Smrg
4905a99f82b8Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4906a99f82b8Smrg# It thinks the first close brace ends the variable substitution.
4907a99f82b8Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4908a99f82b8Smrg
4909a99f82b8Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4910a99f82b8Smrg
4911a99f82b8Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4912a99f82b8Smrg
4913a99f82b8Smrg
4914a99f82b8Smrg
4915a99f82b8Smrg
49162d62a77cSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
49172d62a77cSmrg	if test -n "$ac_tool_prefix"; then
49182d62a77cSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
49192d62a77cSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
49202d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49212d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
49222d62a77cSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
49232d62a77cSmrg  $as_echo_n "(cached) " >&6
49242d62a77cSmrgelse
49252d62a77cSmrg  case $PKG_CONFIG in
49262d62a77cSmrg  [\\/]* | ?:[\\/]*)
49272d62a77cSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
49282d62a77cSmrg  ;;
49292d62a77cSmrg  *)
49302d62a77cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49312d62a77cSmrgfor as_dir in $PATH
49322d62a77cSmrgdo
49332d62a77cSmrg  IFS=$as_save_IFS
49342d62a77cSmrg  test -z "$as_dir" && as_dir=.
49352d62a77cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
49362d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49372d62a77cSmrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49382d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49392d62a77cSmrg    break 2
49402d62a77cSmrg  fi
49412d62a77cSmrgdone
49422d62a77cSmrgdone
49432d62a77cSmrgIFS=$as_save_IFS
4944a99f82b8Smrg
49452d62a77cSmrg  ;;
49462d62a77cSmrgesac
49472d62a77cSmrgfi
49482d62a77cSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
49492d62a77cSmrgif test -n "$PKG_CONFIG"; then
49502d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
49512d62a77cSmrg$as_echo "$PKG_CONFIG" >&6; }
4952a99f82b8Smrgelse
49532d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
49542d62a77cSmrg$as_echo "no" >&6; }
49552d62a77cSmrgfi
4956a99f82b8Smrg
4957a99f82b8Smrg
49582d62a77cSmrgfi
49592d62a77cSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
49602d62a77cSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
49612d62a77cSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
49622d62a77cSmrgset dummy pkg-config; ac_word=$2
49632d62a77cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49642d62a77cSmrg$as_echo_n "checking for $ac_word... " >&6; }
49652d62a77cSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
49662d62a77cSmrg  $as_echo_n "(cached) " >&6
49672d62a77cSmrgelse
49682d62a77cSmrg  case $ac_pt_PKG_CONFIG in
49692d62a77cSmrg  [\\/]* | ?:[\\/]*)
49702d62a77cSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
49712d62a77cSmrg  ;;
49722d62a77cSmrg  *)
49732d62a77cSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49742d62a77cSmrgfor as_dir in $PATH
49752d62a77cSmrgdo
49762d62a77cSmrg  IFS=$as_save_IFS
49772d62a77cSmrg  test -z "$as_dir" && as_dir=.
49782d62a77cSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
49792d62a77cSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49802d62a77cSmrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49812d62a77cSmrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49822d62a77cSmrg    break 2
49832d62a77cSmrg  fi
49842d62a77cSmrgdone
49852d62a77cSmrgdone
49862d62a77cSmrgIFS=$as_save_IFS
4987a99f82b8Smrg
49882d62a77cSmrg  ;;
49892d62a77cSmrgesac
49902d62a77cSmrgfi
49912d62a77cSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
49922d62a77cSmrgif test -n "$ac_pt_PKG_CONFIG"; then
49932d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
49942d62a77cSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
49952d62a77cSmrgelse
49962d62a77cSmrg  { $as_echo "$as_me:$LINENO: result: no" >&5
49972d62a77cSmrg$as_echo "no" >&6; }
49982d62a77cSmrgfi
4999a99f82b8Smrg
50002d62a77cSmrg  if test "x$ac_pt_PKG_CONFIG" = x; then
50012d62a77cSmrg    PKG_CONFIG=""
50022d62a77cSmrg  else
50032d62a77cSmrg    case $cross_compiling:$ac_tool_warned in
50042d62a77cSmrgyes:)
50052d62a77cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
50062d62a77cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50072d62a77cSmrgac_tool_warned=yes ;;
50082d62a77cSmrgesac
50092d62a77cSmrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
50102d62a77cSmrg  fi
5011a99f82b8Smrgelse
50122d62a77cSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
50132d62a77cSmrgfi
50142d62a77cSmrg
50152d62a77cSmrgfi
50162d62a77cSmrgif test -n "$PKG_CONFIG"; then
50172d62a77cSmrg	_pkg_min_version=0.9.0
50182d62a77cSmrg	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
50192d62a77cSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
50202d62a77cSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
50212d62a77cSmrg		{ $as_echo "$as_me:$LINENO: result: yes" >&5
50222d62a77cSmrg$as_echo "yes" >&6; }
50232d62a77cSmrg	else
50242d62a77cSmrg		{ $as_echo "$as_me:$LINENO: result: no" >&5
50252d62a77cSmrg$as_echo "no" >&6; }
50262d62a77cSmrg		PKG_CONFIG=""
50272d62a77cSmrg	fi
50282d62a77cSmrg
50292d62a77cSmrgfi
50302d62a77cSmrg
50312d62a77cSmrg
50322d62a77cSmrg
50332d62a77cSmrg	{ $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5
50342d62a77cSmrg$as_echo_n "checking for root directory for font files... " >&6; }
50352d62a77cSmrg
50362d62a77cSmrg# Check whether --with-fontrootdir was given.
50372d62a77cSmrgif test "${with_fontrootdir+set}" = set; then
50382d62a77cSmrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
50392d62a77cSmrgfi
50402d62a77cSmrg
50412d62a77cSmrg	# if --with-fontrootdir not specified...
50422d62a77cSmrg	if test "x${FONTROOTDIR}" = "x"; then
50432d62a77cSmrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
50442d62a77cSmrg	fi
50452d62a77cSmrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
50462d62a77cSmrg	if test "x${FONTROOTDIR}" = "x"; then
50472d62a77cSmrg		FONTROOTDIR="${datadir}/fonts/X11"
5048a99f82b8Smrg	fi
5049a99f82b8Smrg
50502d62a77cSmrg	{ $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5
50512d62a77cSmrg$as_echo "${FONTROOTDIR}" >&6; }
50522d62a77cSmrg
50532d62a77cSmrg
50542d62a77cSmrg
50552d62a77cSmrg# Check whether --with-top-fontdir was given.
50562d62a77cSmrgif test "${with_top_fontdir+set}" = set; then
50572d62a77cSmrg  withval=$with_top_fontdir; { { $as_echo "$as_me:$LINENO: error: --with-top-fontdir is obsolete, use --with-fontrootdir instead" >&5
50582d62a77cSmrg$as_echo "$as_me: error: --with-top-fontdir is obsolete, use --with-fontrootdir instead" >&2;}
50592d62a77cSmrg   { (exit 1); exit 1; }; }
50602d62a77cSmrgfi
50612d62a77cSmrg
50622d62a77cSmrg
50632d62a77cSmrg
50642d62a77cSmrgac_config_files="$ac_config_files Makefile 100dpi/Makefile 75dpi/Makefile cyrillic/Makefile misc/Makefile"
5065a99f82b8Smrg
5066a99f82b8Smrgcat >confcache <<\_ACEOF
5067a99f82b8Smrg# This file is a shell script that caches the results of configure
5068a99f82b8Smrg# tests run on this system so they can be shared between configure
5069a99f82b8Smrg# scripts and configure runs, see configure's option --config-cache.
5070a99f82b8Smrg# It is not useful on other systems.  If it contains results you don't
5071a99f82b8Smrg# want to keep, you may remove or edit it.
5072a99f82b8Smrg#
5073a99f82b8Smrg# config.status only pays attention to the cache file if you give it
5074a99f82b8Smrg# the --recheck option to rerun configure.
5075a99f82b8Smrg#
5076a99f82b8Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
5077a99f82b8Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
5078a99f82b8Smrg# following values.
5079a99f82b8Smrg
5080a99f82b8Smrg_ACEOF
5081a99f82b8Smrg
5082a99f82b8Smrg# The following way of writing the cache mishandles newlines in values,
5083a99f82b8Smrg# but we know of no workaround that is simple, portable, and efficient.
50842d62a77cSmrg# So, we kill variables containing newlines.
5085a99f82b8Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
5086a99f82b8Smrg# and sets the high bit in the cache file unless we assign to the vars.
50872d62a77cSmrg(
50882d62a77cSmrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50892d62a77cSmrg    eval ac_val=\$$ac_var
50902d62a77cSmrg    case $ac_val in #(
50912d62a77cSmrg    *${as_nl}*)
50922d62a77cSmrg      case $ac_var in #(
50932d62a77cSmrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
50942d62a77cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
50952d62a77cSmrg      esac
50962d62a77cSmrg      case $ac_var in #(
50972d62a77cSmrg      _ | IFS | as_nl) ;; #(
50982d62a77cSmrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
50992d62a77cSmrg      *) $as_unset $ac_var ;;
51002d62a77cSmrg      esac ;;
51012d62a77cSmrg    esac
51022d62a77cSmrg  done
51032d62a77cSmrg
5104a99f82b8Smrg  (set) 2>&1 |
51052d62a77cSmrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
51062d62a77cSmrg    *${as_nl}ac_space=\ *)
5107a99f82b8Smrg      # `set' does not quote correctly, so add quotes (double-quote
5108a99f82b8Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
5109a99f82b8Smrg      sed -n \
5110a99f82b8Smrg	"s/'/'\\\\''/g;
5111a99f82b8Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51122d62a77cSmrg      ;; #(
5113a99f82b8Smrg    *)
5114a99f82b8Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
51152d62a77cSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5116a99f82b8Smrg      ;;
51172d62a77cSmrg    esac |
51182d62a77cSmrg    sort
51192d62a77cSmrg) |
5120a99f82b8Smrg  sed '
51212d62a77cSmrg     /^ac_cv_env_/b end
5122a99f82b8Smrg     t clear
51232d62a77cSmrg     :clear
5124a99f82b8Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5125a99f82b8Smrg     t end
51262d62a77cSmrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51272d62a77cSmrg     :end' >>confcache
51282d62a77cSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51292d62a77cSmrg  if test -w "$cache_file"; then
51302d62a77cSmrg    test "x$cache_file" != "x/dev/null" &&
51312d62a77cSmrg      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
51322d62a77cSmrg$as_echo "$as_me: updating cache $cache_file" >&6;}
5133a99f82b8Smrg    cat confcache >$cache_file
5134a99f82b8Smrg  else
51352d62a77cSmrg    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51362d62a77cSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5137a99f82b8Smrg  fi
5138a99f82b8Smrgfi
5139a99f82b8Smrgrm -f confcache
5140a99f82b8Smrg
5141a99f82b8Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
5142a99f82b8Smrg# Let make expand exec_prefix.
5143a99f82b8Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5144a99f82b8Smrg
5145a99f82b8Smrg# Transform confdefs.h into DEFS.
5146a99f82b8Smrg# Protect against shell expansion while executing Makefile rules.
5147a99f82b8Smrg# Protect against Makefile macro expansion.
5148a99f82b8Smrg#
5149a99f82b8Smrg# If the first sed substitution is executed (which looks for macros that
51502d62a77cSmrg# take arguments), then branch to the quote section.  Otherwise,
5151a99f82b8Smrg# look for a macro that doesn't take arguments.
51522d62a77cSmrgac_script='
51532d62a77cSmrg:mline
51542d62a77cSmrg/\\$/{
51552d62a77cSmrg N
51562d62a77cSmrg s,\\\n,,
51572d62a77cSmrg b mline
51582d62a77cSmrg}
5159a99f82b8Smrgt clear
51602d62a77cSmrg:clear
51612d62a77cSmrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5162a99f82b8Smrgt quote
51632d62a77cSmrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5164a99f82b8Smrgt quote
51652d62a77cSmrgb any
51662d62a77cSmrg:quote
51672d62a77cSmrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
51682d62a77cSmrgs/\[/\\&/g
51692d62a77cSmrgs/\]/\\&/g
51702d62a77cSmrgs/\$/$$/g
51712d62a77cSmrgH
51722d62a77cSmrg:any
51732d62a77cSmrg${
51742d62a77cSmrg	g
51752d62a77cSmrg	s/^\n//
51762d62a77cSmrg	s/\n/ /g
51772d62a77cSmrg	p
51782d62a77cSmrg}
51792d62a77cSmrg'
51802d62a77cSmrgDEFS=`sed -n "$ac_script" confdefs.h`
5181a99f82b8Smrg
5182a99f82b8Smrg
5183a99f82b8Smrgac_libobjs=
5184a99f82b8Smrgac_ltlibobjs=
5185a99f82b8Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5186a99f82b8Smrg  # 1. Remove the extension, and $U if already installed.
51872d62a77cSmrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51882d62a77cSmrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
51892d62a77cSmrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
51902d62a77cSmrg  #    will be set to the directory where LIBOBJS objects are built.
51912d62a77cSmrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51922d62a77cSmrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5193a99f82b8Smrgdone
5194a99f82b8SmrgLIBOBJS=$ac_libobjs
5195a99f82b8Smrg
5196a99f82b8SmrgLTLIBOBJS=$ac_ltlibobjs
5197a99f82b8Smrg
5198a99f82b8Smrg
51992d62a77cSmrg if test -n "$EXEEXT"; then
52002d62a77cSmrg  am__EXEEXT_TRUE=
52012d62a77cSmrg  am__EXEEXT_FALSE='#'
52022d62a77cSmrgelse
52032d62a77cSmrg  am__EXEEXT_TRUE='#'
52042d62a77cSmrg  am__EXEEXT_FALSE=
52052d62a77cSmrgfi
52062d62a77cSmrg
5207a99f82b8Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
52082d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
52092d62a77cSmrgUsually this means the macro was only invoked conditionally." >&5
52102d62a77cSmrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
52112d62a77cSmrgUsually this means the macro was only invoked conditionally." >&2;}
52122d62a77cSmrg   { (exit 1); exit 1; }; }
52132d62a77cSmrgfi
52142d62a77cSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
52152d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
52162d62a77cSmrgUsually this means the macro was only invoked conditionally." >&5
52172d62a77cSmrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
52182d62a77cSmrgUsually this means the macro was only invoked conditionally." >&2;}
52192d62a77cSmrg   { (exit 1); exit 1; }; }
52202d62a77cSmrgfi
52212d62a77cSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
52222d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5223a99f82b8SmrgUsually this means the macro was only invoked conditionally." >&5
52242d62a77cSmrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5225a99f82b8SmrgUsually this means the macro was only invoked conditionally." >&2;}
5226a99f82b8Smrg   { (exit 1); exit 1; }; }
5227a99f82b8Smrgfi
5228a99f82b8Smrg
5229a99f82b8Smrg: ${CONFIG_STATUS=./config.status}
52302d62a77cSmrgac_write_fail=0
5231a99f82b8Smrgac_clean_files_save=$ac_clean_files
5232a99f82b8Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
52332d62a77cSmrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52342d62a77cSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
52352d62a77cSmrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5236a99f82b8Smrg#! $SHELL
5237a99f82b8Smrg# Generated by $as_me.
5238a99f82b8Smrg# Run this file to recreate the current configuration.
5239a99f82b8Smrg# Compiler output produced by configure, useful for debugging
5240a99f82b8Smrg# configure, is in config.log if it exists.
5241a99f82b8Smrg
5242a99f82b8Smrgdebug=false
5243a99f82b8Smrgac_cs_recheck=false
5244a99f82b8Smrgac_cs_silent=false
5245a99f82b8SmrgSHELL=\${CONFIG_SHELL-$SHELL}
5246a99f82b8Smrg_ACEOF
5247a99f82b8Smrg
52482d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5249a99f82b8Smrg## --------------------- ##
5250a99f82b8Smrg## M4sh Initialization.  ##
5251a99f82b8Smrg## --------------------- ##
5252a99f82b8Smrg
52532d62a77cSmrg# Be more Bourne compatible
52542d62a77cSmrgDUALCASE=1; export DUALCASE # for MKS sh
5255a99f82b8Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5256a99f82b8Smrg  emulate sh
5257a99f82b8Smrg  NULLCMD=:
52582d62a77cSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5259a99f82b8Smrg  # is contrary to our usage.  Disable this feature.
5260a99f82b8Smrg  alias -g '${1+"$@"}'='"$@"'
52612d62a77cSmrg  setopt NO_GLOB_SUBST
52622d62a77cSmrgelse
52632d62a77cSmrg  case `(set -o) 2>/dev/null` in
52642d62a77cSmrg  *posix*) set -o posix ;;
52652d62a77cSmrgesac
52662d62a77cSmrg
52672d62a77cSmrgfi
52682d62a77cSmrg
52692d62a77cSmrg
52702d62a77cSmrg
52712d62a77cSmrg
52722d62a77cSmrg# PATH needs CR
52732d62a77cSmrg# Avoid depending upon Character Ranges.
52742d62a77cSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
52752d62a77cSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52762d62a77cSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
52772d62a77cSmrgas_cr_digits='0123456789'
52782d62a77cSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
52792d62a77cSmrg
52802d62a77cSmrgas_nl='
52812d62a77cSmrg'
52822d62a77cSmrgexport as_nl
52832d62a77cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
52842d62a77cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
52852d62a77cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
52862d62a77cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
52872d62a77cSmrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52882d62a77cSmrg  as_echo='printf %s\n'
52892d62a77cSmrg  as_echo_n='printf %s'
52902d62a77cSmrgelse
52912d62a77cSmrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52922d62a77cSmrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52932d62a77cSmrg    as_echo_n='/usr/ucb/echo -n'
52942d62a77cSmrg  else
52952d62a77cSmrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
52962d62a77cSmrg    as_echo_n_body='eval
52972d62a77cSmrg      arg=$1;
52982d62a77cSmrg      case $arg in
52992d62a77cSmrg      *"$as_nl"*)
53002d62a77cSmrg	expr "X$arg" : "X\\(.*\\)$as_nl";
53012d62a77cSmrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
53022d62a77cSmrg      esac;
53032d62a77cSmrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
53042d62a77cSmrg    '
53052d62a77cSmrg    export as_echo_n_body
53062d62a77cSmrg    as_echo_n='sh -c $as_echo_n_body as_echo'
53072d62a77cSmrg  fi
53082d62a77cSmrg  export as_echo_body
53092d62a77cSmrg  as_echo='sh -c $as_echo_body as_echo'
53102d62a77cSmrgfi
53112d62a77cSmrg
53122d62a77cSmrg# The user is always right.
53132d62a77cSmrgif test "${PATH_SEPARATOR+set}" != set; then
53142d62a77cSmrg  PATH_SEPARATOR=:
53152d62a77cSmrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
53162d62a77cSmrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
53172d62a77cSmrg      PATH_SEPARATOR=';'
53182d62a77cSmrg  }
5319a99f82b8Smrgfi
5320a99f82b8Smrg
5321a99f82b8Smrg# Support unset when possible.
5322a99f82b8Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5323a99f82b8Smrg  as_unset=unset
5324a99f82b8Smrgelse
5325a99f82b8Smrg  as_unset=false
5326a99f82b8Smrgfi
5327a99f82b8Smrg
5328a99f82b8Smrg
53292d62a77cSmrg# IFS
53302d62a77cSmrg# We need space, tab and new line, in precisely that order.  Quoting is
53312d62a77cSmrg# there to prevent editors from complaining about space-tab.
53322d62a77cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
53332d62a77cSmrg# splitting by setting IFS to empty value.)
53342d62a77cSmrgIFS=" ""	$as_nl"
53352d62a77cSmrg
53362d62a77cSmrg# Find who we are.  Look in the path if we contain no directory separator.
53372d62a77cSmrgcase $0 in
53382d62a77cSmrg  *[\\/]* ) as_myself=$0 ;;
53392d62a77cSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53402d62a77cSmrgfor as_dir in $PATH
53412d62a77cSmrgdo
53422d62a77cSmrg  IFS=$as_save_IFS
53432d62a77cSmrg  test -z "$as_dir" && as_dir=.
53442d62a77cSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53452d62a77cSmrgdone
53462d62a77cSmrgIFS=$as_save_IFS
53472d62a77cSmrg
53482d62a77cSmrg     ;;
53492d62a77cSmrgesac
53502d62a77cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
53512d62a77cSmrg# in which case we are not to be found in the path.
53522d62a77cSmrgif test "x$as_myself" = x; then
53532d62a77cSmrg  as_myself=$0
53542d62a77cSmrgfi
53552d62a77cSmrgif test ! -f "$as_myself"; then
53562d62a77cSmrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53572d62a77cSmrg  { (exit 1); exit 1; }
53582d62a77cSmrgfi
53592d62a77cSmrg
5360a99f82b8Smrg# Work around bugs in pre-3.0 UWIN ksh.
53612d62a77cSmrgfor as_var in ENV MAIL MAILPATH
53622d62a77cSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53632d62a77cSmrgdone
5364a99f82b8SmrgPS1='$ '
5365a99f82b8SmrgPS2='> '
5366a99f82b8SmrgPS4='+ '
5367a99f82b8Smrg
5368a99f82b8Smrg# NLS nuisances.
53692d62a77cSmrgLC_ALL=C
53702d62a77cSmrgexport LC_ALL
53712d62a77cSmrgLANGUAGE=C
53722d62a77cSmrgexport LANGUAGE
5373a99f82b8Smrg
5374a99f82b8Smrg# Required to use basename.
53752d62a77cSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
53762d62a77cSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5377a99f82b8Smrg  as_expr=expr
5378a99f82b8Smrgelse
5379a99f82b8Smrg  as_expr=false
5380a99f82b8Smrgfi
5381a99f82b8Smrg
53822d62a77cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5383a99f82b8Smrg  as_basename=basename
5384a99f82b8Smrgelse
5385a99f82b8Smrg  as_basename=false
5386a99f82b8Smrgfi
5387a99f82b8Smrg
5388a99f82b8Smrg
5389a99f82b8Smrg# Name of the executable.
53902d62a77cSmrgas_me=`$as_basename -- "$0" ||
5391a99f82b8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5392a99f82b8Smrg	 X"$0" : 'X\(//\)$' \| \
53932d62a77cSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53942d62a77cSmrg$as_echo X/"$0" |
53952d62a77cSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
53962d62a77cSmrg	    s//\1/
53972d62a77cSmrg	    q
53982d62a77cSmrg	  }
53992d62a77cSmrg	  /^X\/\(\/\/\)$/{
54002d62a77cSmrg	    s//\1/
54012d62a77cSmrg	    q
54022d62a77cSmrg	  }
54032d62a77cSmrg	  /^X\/\(\/\).*/{
54042d62a77cSmrg	    s//\1/
54052d62a77cSmrg	    q
54062d62a77cSmrg	  }
54072d62a77cSmrg	  s/.*/./; q'`
5408a99f82b8Smrg
54092d62a77cSmrg# CDPATH.
54102d62a77cSmrg$as_unset CDPATH
5411a99f82b8Smrg
5412a99f82b8Smrg
5413a99f82b8Smrg
5414a99f82b8Smrg  as_lineno_1=$LINENO
5415a99f82b8Smrg  as_lineno_2=$LINENO
5416a99f82b8Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
54172d62a77cSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5418a99f82b8Smrg
5419a99f82b8Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5420a99f82b8Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
54212d62a77cSmrg  # line-number line after each line using $LINENO; the second 'sed'
54222d62a77cSmrg  # does the real work.  The second script uses 'N' to pair each
54232d62a77cSmrg  # line-number line with the line containing $LINENO, and appends
54242d62a77cSmrg  # trailing '-' during substitution so that $LINENO is not a special
54252d62a77cSmrg  # case at line end.
5426a99f82b8Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
54272d62a77cSmrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
54282d62a77cSmrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
54292d62a77cSmrg  sed -n '
54302d62a77cSmrg    p
54312d62a77cSmrg    /[$]LINENO/=
54322d62a77cSmrg  ' <$as_myself |
5433a99f82b8Smrg    sed '
54342d62a77cSmrg      s/[$]LINENO.*/&-/
54352d62a77cSmrg      t lineno
54362d62a77cSmrg      b
54372d62a77cSmrg      :lineno
5438a99f82b8Smrg      N
54392d62a77cSmrg      :loop
54402d62a77cSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5441a99f82b8Smrg      t loop
54422d62a77cSmrg      s/-\n.*//
5443a99f82b8Smrg    ' >$as_me.lineno &&
54442d62a77cSmrg  chmod +x "$as_me.lineno" ||
54452d62a77cSmrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5446a99f82b8Smrg   { (exit 1); exit 1; }; }
5447a99f82b8Smrg
5448a99f82b8Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
5449a99f82b8Smrg  # (the dirname of $[0] is not the place where we might find the
54502d62a77cSmrg  # original and so on.  Autoconf is especially sensitive to this).
54512d62a77cSmrg  . "./$as_me.lineno"
5452a99f82b8Smrg  # Exit status is that of the last command.
5453a99f82b8Smrg  exit
5454a99f82b8Smrg}
5455a99f82b8Smrg
5456a99f82b8Smrg
54572d62a77cSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
54582d62a77cSmrg  as_dirname=dirname
54592d62a77cSmrgelse
54602d62a77cSmrg  as_dirname=false
54612d62a77cSmrgfi
5462a99f82b8Smrg
54632d62a77cSmrgECHO_C= ECHO_N= ECHO_T=
54642d62a77cSmrgcase `echo -n x` in
54652d62a77cSmrg-n*)
54662d62a77cSmrg  case `echo 'x\c'` in
54672d62a77cSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
54682d62a77cSmrg  *)   ECHO_C='\c';;
54692d62a77cSmrg  esac;;
54702d62a77cSmrg*)
54712d62a77cSmrg  ECHO_N='-n';;
54722d62a77cSmrgesac
54732d62a77cSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
54742d62a77cSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5475a99f82b8Smrg  as_expr=expr
5476a99f82b8Smrgelse
5477a99f82b8Smrg  as_expr=false
5478a99f82b8Smrgfi
5479a99f82b8Smrg
5480a99f82b8Smrgrm -f conf$$ conf$$.exe conf$$.file
54812d62a77cSmrgif test -d conf$$.dir; then
54822d62a77cSmrg  rm -f conf$$.dir/conf$$.file
54832d62a77cSmrgelse
54842d62a77cSmrg  rm -f conf$$.dir
54852d62a77cSmrg  mkdir conf$$.dir 2>/dev/null
54862d62a77cSmrgfi
54872d62a77cSmrgif (echo >conf$$.file) 2>/dev/null; then
54882d62a77cSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5489a99f82b8Smrg    as_ln_s='ln -s'
54902d62a77cSmrg    # ... but there are two gotchas:
54912d62a77cSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
54922d62a77cSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
54932d62a77cSmrg    # In both cases, we have to default to `cp -p'.
54942d62a77cSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
54952d62a77cSmrg      as_ln_s='cp -p'
54962d62a77cSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
54972d62a77cSmrg    as_ln_s=ln
54982d62a77cSmrg  else
54992d62a77cSmrg    as_ln_s='cp -p'
5500a99f82b8Smrg  fi
5501a99f82b8Smrgelse
5502a99f82b8Smrg  as_ln_s='cp -p'
5503a99f82b8Smrgfi
55042d62a77cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
55052d62a77cSmrgrmdir conf$$.dir 2>/dev/null
5506a99f82b8Smrg
5507a99f82b8Smrgif mkdir -p . 2>/dev/null; then
5508a99f82b8Smrg  as_mkdir_p=:
5509a99f82b8Smrgelse
5510a99f82b8Smrg  test -d ./-p && rmdir ./-p
5511a99f82b8Smrg  as_mkdir_p=false
5512a99f82b8Smrgfi
5513a99f82b8Smrg
55142d62a77cSmrgif test -x / >/dev/null 2>&1; then
55152d62a77cSmrg  as_test_x='test -x'
55162d62a77cSmrgelse
55172d62a77cSmrg  if ls -dL / >/dev/null 2>&1; then
55182d62a77cSmrg    as_ls_L_option=L
55192d62a77cSmrg  else
55202d62a77cSmrg    as_ls_L_option=
55212d62a77cSmrg  fi
55222d62a77cSmrg  as_test_x='
55232d62a77cSmrg    eval sh -c '\''
55242d62a77cSmrg      if test -d "$1"; then
55252d62a77cSmrg	test -d "$1/.";
55262d62a77cSmrg      else
55272d62a77cSmrg	case $1 in
55282d62a77cSmrg	-*)set "./$1";;
55292d62a77cSmrg	esac;
55302d62a77cSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
55312d62a77cSmrg	???[sx]*):;;*)false;;esac;fi
55322d62a77cSmrg    '\'' sh
55332d62a77cSmrg  '
55342d62a77cSmrgfi
55352d62a77cSmrgas_executable_p=$as_test_x
5536a99f82b8Smrg
5537a99f82b8Smrg# Sed expression to map a string onto a valid CPP name.
5538a99f82b8Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5539a99f82b8Smrg
5540a99f82b8Smrg# Sed expression to map a string onto a valid variable name.
5541a99f82b8Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5542a99f82b8Smrg
5543a99f82b8Smrg
5544a99f82b8Smrgexec 6>&1
5545a99f82b8Smrg
55462d62a77cSmrg# Save the log message, to keep $[0] and so on meaningful, and to
5547a99f82b8Smrg# report actual input values of CONFIG_FILES etc. instead of their
55482d62a77cSmrg# values after options handling.
55492d62a77cSmrgac_log="
55502d62a77cSmrgThis file was extended by font-alias $as_me 1.0.2, which was
55512d62a77cSmrggenerated by GNU Autoconf 2.63.  Invocation command line was
5552a99f82b8Smrg
5553a99f82b8Smrg  CONFIG_FILES    = $CONFIG_FILES
5554a99f82b8Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
5555a99f82b8Smrg  CONFIG_LINKS    = $CONFIG_LINKS
5556a99f82b8Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
5557a99f82b8Smrg  $ $0 $@
5558a99f82b8Smrg
55592d62a77cSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
55602d62a77cSmrg"
55612d62a77cSmrg
5562a99f82b8Smrg_ACEOF
5563a99f82b8Smrg
55642d62a77cSmrgcase $ac_config_files in *"
55652d62a77cSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
55662d62a77cSmrgesac
5567a99f82b8Smrg
5568a99f82b8Smrg
5569a99f82b8Smrg
55702d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
55712d62a77cSmrg# Files that config.status was made for.
55722d62a77cSmrgconfig_files="$ac_config_files"
55732d62a77cSmrgconfig_commands="$ac_config_commands"
5574a99f82b8Smrg
55752d62a77cSmrg_ACEOF
5576a99f82b8Smrg
55772d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5578a99f82b8Smrgac_cs_usage="\
5579a99f82b8Smrg\`$as_me' instantiates files from templates according to the
5580a99f82b8Smrgcurrent configuration.
5581a99f82b8Smrg
55822d62a77cSmrgUsage: $0 [OPTION]... [FILE]...
5583a99f82b8Smrg
5584a99f82b8Smrg  -h, --help       print this help, then exit
55852d62a77cSmrg  -V, --version    print version number and configuration settings, then exit
55862d62a77cSmrg  -q, --quiet, --silent
55872d62a77cSmrg                   do not print progress messages
5588a99f82b8Smrg  -d, --debug      don't remove temporary files
5589a99f82b8Smrg      --recheck    update $as_me by reconfiguring in the same conditions
55902d62a77cSmrg      --file=FILE[:TEMPLATE]
55912d62a77cSmrg                   instantiate the configuration file FILE
5592a99f82b8Smrg
5593a99f82b8SmrgConfiguration files:
5594a99f82b8Smrg$config_files
5595a99f82b8Smrg
55962d62a77cSmrgConfiguration commands:
55972d62a77cSmrg$config_commands
55982d62a77cSmrg
5599a99f82b8SmrgReport bugs to <bug-autoconf@gnu.org>."
5600a99f82b8Smrg
56012d62a77cSmrg_ACEOF
56022d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5603a99f82b8Smrgac_cs_version="\\
56042d62a77cSmrgfont-alias config.status 1.0.2
56052d62a77cSmrgconfigured by $0, generated by GNU Autoconf 2.63,
56062d62a77cSmrg  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5607a99f82b8Smrg
56082d62a77cSmrgCopyright (C) 2008 Free Software Foundation, Inc.
5609a99f82b8SmrgThis config.status script is free software; the Free Software Foundation
5610a99f82b8Smrggives unlimited permission to copy, distribute and modify it."
56112d62a77cSmrg
56122d62a77cSmrgac_pwd='$ac_pwd'
56132d62a77cSmrgsrcdir='$srcdir'
56142d62a77cSmrgINSTALL='$INSTALL'
56152d62a77cSmrgMKDIR_P='$MKDIR_P'
56162d62a77cSmrgAWK='$AWK'
56172d62a77cSmrgtest -n "\$AWK" || AWK=awk
5618a99f82b8Smrg_ACEOF
5619a99f82b8Smrg
56202d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
56212d62a77cSmrg# The default lists apply if the user does not specify any file.
5622a99f82b8Smrgac_need_defaults=:
5623a99f82b8Smrgwhile test $# != 0
5624a99f82b8Smrgdo
5625a99f82b8Smrg  case $1 in
5626a99f82b8Smrg  --*=*)
56272d62a77cSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
56282d62a77cSmrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5629a99f82b8Smrg    ac_shift=:
5630a99f82b8Smrg    ;;
56312d62a77cSmrg  *)
5632a99f82b8Smrg    ac_option=$1
5633a99f82b8Smrg    ac_optarg=$2
5634a99f82b8Smrg    ac_shift=shift
5635a99f82b8Smrg    ;;
5636a99f82b8Smrg  esac
5637a99f82b8Smrg
5638a99f82b8Smrg  case $ac_option in
5639a99f82b8Smrg  # Handling of the options.
5640a99f82b8Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5641a99f82b8Smrg    ac_cs_recheck=: ;;
56422d62a77cSmrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56432d62a77cSmrg    $as_echo "$ac_cs_version"; exit ;;
56442d62a77cSmrg  --debug | --debu | --deb | --de | --d | -d )
5645a99f82b8Smrg    debug=: ;;
5646a99f82b8Smrg  --file | --fil | --fi | --f )
5647a99f82b8Smrg    $ac_shift
56482d62a77cSmrg    case $ac_optarg in
56492d62a77cSmrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
56502d62a77cSmrg    esac
56512d62a77cSmrg    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5652a99f82b8Smrg    ac_need_defaults=false;;
56532d62a77cSmrg  --he | --h |  --help | --hel | -h )
56542d62a77cSmrg    $as_echo "$ac_cs_usage"; exit ;;
5655a99f82b8Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5656a99f82b8Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5657a99f82b8Smrg    ac_cs_silent=: ;;
5658a99f82b8Smrg
5659a99f82b8Smrg  # This is an error.
56602d62a77cSmrg  -*) { $as_echo "$as_me: error: unrecognized option: $1
56612d62a77cSmrgTry \`$0 --help' for more information." >&2
5662a99f82b8Smrg   { (exit 1); exit 1; }; } ;;
5663a99f82b8Smrg
56642d62a77cSmrg  *) ac_config_targets="$ac_config_targets $1"
56652d62a77cSmrg     ac_need_defaults=false ;;
5666a99f82b8Smrg
5667a99f82b8Smrg  esac
5668a99f82b8Smrg  shift
5669a99f82b8Smrgdone
5670a99f82b8Smrg
5671a99f82b8Smrgac_configure_extra_args=
5672a99f82b8Smrg
5673a99f82b8Smrgif $ac_cs_silent; then
5674a99f82b8Smrg  exec 6>/dev/null
5675a99f82b8Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
5676a99f82b8Smrgfi
5677a99f82b8Smrg
5678a99f82b8Smrg_ACEOF
56792d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5680a99f82b8Smrgif \$ac_cs_recheck; then
56812d62a77cSmrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56822d62a77cSmrg  shift
56832d62a77cSmrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
56842d62a77cSmrg  CONFIG_SHELL='$SHELL'
56852d62a77cSmrg  export CONFIG_SHELL
56862d62a77cSmrg  exec "\$@"
5687a99f82b8Smrgfi
5688a99f82b8Smrg
5689a99f82b8Smrg_ACEOF
56902d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
56912d62a77cSmrgexec 5>>config.log
56922d62a77cSmrg{
56932d62a77cSmrg  echo
56942d62a77cSmrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56952d62a77cSmrg## Running $as_me. ##
56962d62a77cSmrg_ASBOX
56972d62a77cSmrg  $as_echo "$ac_log"
56982d62a77cSmrg} >&5
5699a99f82b8Smrg
57002d62a77cSmrg_ACEOF
57012d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
57022d62a77cSmrg#
57032d62a77cSmrg# INIT-COMMANDS
57042d62a77cSmrg#
57052d62a77cSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5706a99f82b8Smrg
57072d62a77cSmrg_ACEOF
5708a99f82b8Smrg
57092d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5710a99f82b8Smrg
57112d62a77cSmrg# Handling of arguments.
5712a99f82b8Smrgfor ac_config_target in $ac_config_targets
5713a99f82b8Smrgdo
57142d62a77cSmrg  case $ac_config_target in
57152d62a77cSmrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
57162d62a77cSmrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
57172d62a77cSmrg    "100dpi/Makefile") CONFIG_FILES="$CONFIG_FILES 100dpi/Makefile" ;;
57182d62a77cSmrg    "75dpi/Makefile") CONFIG_FILES="$CONFIG_FILES 75dpi/Makefile" ;;
57192d62a77cSmrg    "cyrillic/Makefile") CONFIG_FILES="$CONFIG_FILES cyrillic/Makefile" ;;
57202d62a77cSmrg    "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
57212d62a77cSmrg
57222d62a77cSmrg  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
57232d62a77cSmrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5724a99f82b8Smrg   { (exit 1); exit 1; }; };;
5725a99f82b8Smrg  esac
5726a99f82b8Smrgdone
5727a99f82b8Smrg
57282d62a77cSmrg
5729a99f82b8Smrg# If the user did not use the arguments to specify the items to instantiate,
5730a99f82b8Smrg# then the envvar interface is used.  Set only those that are not.
5731a99f82b8Smrg# We use the long form for the default assignment because of an extremely
5732a99f82b8Smrg# bizarre bug on SunOS 4.1.3.
5733a99f82b8Smrgif $ac_need_defaults; then
5734a99f82b8Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
57352d62a77cSmrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5736a99f82b8Smrgfi
5737a99f82b8Smrg
5738a99f82b8Smrg# Have a temporary directory for convenience.  Make it in the build tree
57392d62a77cSmrg# simply because there is no reason against having it here, and in addition,
5740a99f82b8Smrg# creating and moving files from /tmp can sometimes cause problems.
57412d62a77cSmrg# Hook for its removal unless debugging.
57422d62a77cSmrg# Note that there is a small window in which the directory will not be cleaned:
57432d62a77cSmrg# after its creation but before its name has been assigned to `$tmp'.
5744a99f82b8Smrg$debug ||
5745a99f82b8Smrg{
57462d62a77cSmrg  tmp=
57472d62a77cSmrg  trap 'exit_status=$?
57482d62a77cSmrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
57492d62a77cSmrg' 0
5750a99f82b8Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
5751a99f82b8Smrg}
5752a99f82b8Smrg# Create a (secure) tmp directory for tmp files.
5753a99f82b8Smrg
5754a99f82b8Smrg{
57552d62a77cSmrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5756a99f82b8Smrg  test -n "$tmp" && test -d "$tmp"
5757a99f82b8Smrg}  ||
5758a99f82b8Smrg{
57592d62a77cSmrg  tmp=./conf$$-$RANDOM
57602d62a77cSmrg  (umask 077 && mkdir "$tmp")
5761a99f82b8Smrg} ||
5762a99f82b8Smrg{
57632d62a77cSmrg   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5764a99f82b8Smrg   { (exit 1); exit 1; }
5765a99f82b8Smrg}
5766a99f82b8Smrg
57672d62a77cSmrg# Set up the scripts for CONFIG_FILES section.
57682d62a77cSmrg# No need to generate them if there are no CONFIG_FILES.
57692d62a77cSmrg# This happens for instance with `./config.status config.h'.
57702d62a77cSmrgif test -n "$CONFIG_FILES"; then
57712d62a77cSmrg
57722d62a77cSmrg
57732d62a77cSmrgac_cr='
57742d62a77cSmrg'
57752d62a77cSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
57762d62a77cSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
57772d62a77cSmrg  ac_cs_awk_cr='\\r'
57782d62a77cSmrgelse
57792d62a77cSmrg  ac_cs_awk_cr=$ac_cr
57802d62a77cSmrgfi
57812d62a77cSmrg
5782a99f82b8Smrgecho 'BEGIN {' >"$tmp/subs1.awk" &&
5783a99f82b8Smrg_ACEOF
5784a99f82b8Smrg
57852d62a77cSmrg
57862d62a77cSmrg{
57872d62a77cSmrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
57882d62a77cSmrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
57892d62a77cSmrg  echo "_ACEOF"
57902d62a77cSmrg} >conf$$subs.sh ||
57912d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57922d62a77cSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57932d62a77cSmrg   { (exit 1); exit 1; }; }
57942d62a77cSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
57952d62a77cSmrgac_delim='%!_!# '
57962d62a77cSmrgfor ac_last_try in false false false false false :; do
57972d62a77cSmrg  . ./conf$$subs.sh ||
57982d62a77cSmrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57992d62a77cSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5800a99f82b8Smrg   { (exit 1); exit 1; }; }
58012d62a77cSmrg
58022d62a77cSmrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
58032d62a77cSmrg  if test $ac_delim_n = $ac_delim_num; then
58042d62a77cSmrg    break
58052d62a77cSmrg  elif $ac_last_try; then
58062d62a77cSmrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58072d62a77cSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58082d62a77cSmrg   { (exit 1); exit 1; }; }
58092d62a77cSmrg  else
5810a99f82b8Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
58112d62a77cSmrg  fi
58122d62a77cSmrgdone
5813a99f82b8Smrgrm -f conf$$subs.sh
58142d62a77cSmrg
58152d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5816a99f82b8Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
58172d62a77cSmrg_ACEOF
58182d62a77cSmrgsed -n '
58192d62a77cSmrgh
58202d62a77cSmrgs/^/S["/; s/!.*/"]=/
58212d62a77cSmrgp
58222d62a77cSmrgg
58232d62a77cSmrgs/^[^!]*!//
58242d62a77cSmrg:repl
58252d62a77cSmrgt repl
58262d62a77cSmrgs/'"$ac_delim"'$//
58272d62a77cSmrgt delim
58282d62a77cSmrg:nl
58292d62a77cSmrgh
58302d62a77cSmrgs/\(.\{148\}\).*/\1/
58312d62a77cSmrgt more1
58322d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
58332d62a77cSmrgp
58342d62a77cSmrgn
58352d62a77cSmrgb repl
58362d62a77cSmrg:more1
58372d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
58382d62a77cSmrgp
58392d62a77cSmrgg
58402d62a77cSmrgs/.\{148\}//
58412d62a77cSmrgt nl
58422d62a77cSmrg:delim
58432d62a77cSmrgh
58442d62a77cSmrgs/\(.\{148\}\).*/\1/
58452d62a77cSmrgt more2
58462d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/
58472d62a77cSmrgp
58482d62a77cSmrgb
58492d62a77cSmrg:more2
58502d62a77cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
58512d62a77cSmrgp
58522d62a77cSmrgg
58532d62a77cSmrgs/.\{148\}//
58542d62a77cSmrgt delim
58552d62a77cSmrg' <conf$$subs.awk | sed '
58562d62a77cSmrg/^[^""]/{
58572d62a77cSmrg  N
58582d62a77cSmrg  s/\n//
58592d62a77cSmrg}
58602d62a77cSmrg' >>$CONFIG_STATUS || ac_write_fail=1
58612d62a77cSmrgrm -f conf$$subs.awk
58622d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
58632d62a77cSmrg_ACAWK
58642d62a77cSmrgcat >>"\$tmp/subs1.awk" <<_ACAWK &&
58652d62a77cSmrg  for (key in S) S_is_set[key] = 1
58662d62a77cSmrg  FS = ""
58672d62a77cSmrg
58682d62a77cSmrg}
58692d62a77cSmrg{
58702d62a77cSmrg  line = $ 0
58712d62a77cSmrg  nfields = split(line, field, "@")
58722d62a77cSmrg  substed = 0
58732d62a77cSmrg  len = length(field[1])
58742d62a77cSmrg  for (i = 2; i < nfields; i++) {
58752d62a77cSmrg    key = field[i]
58762d62a77cSmrg    keylen = length(key)
58772d62a77cSmrg    if (S_is_set[key]) {
58782d62a77cSmrg      value = S[key]
58792d62a77cSmrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
58802d62a77cSmrg      len += length(value) + length(field[++i])
58812d62a77cSmrg      substed = 1
58822d62a77cSmrg    } else
58832d62a77cSmrg      len += 1 + keylen
58842d62a77cSmrg  }
58852d62a77cSmrg
58862d62a77cSmrg  print line
58872d62a77cSmrg}
58882d62a77cSmrg
58892d62a77cSmrg_ACAWK
58902d62a77cSmrg_ACEOF
58912d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
58922d62a77cSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
58932d62a77cSmrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
58942d62a77cSmrgelse
58952d62a77cSmrg  cat
58962d62a77cSmrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
58972d62a77cSmrg  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
58982d62a77cSmrg$as_echo "$as_me: error: could not setup config files machinery" >&2;}
58992d62a77cSmrg   { (exit 1); exit 1; }; }
59002d62a77cSmrg_ACEOF
59012d62a77cSmrg
59022d62a77cSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
59032d62a77cSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
59042d62a77cSmrg# trailing colons and then remove the whole line if VPATH becomes empty
59052d62a77cSmrg# (actually we leave an empty line to preserve line numbers).
59062d62a77cSmrgif test "x$srcdir" = x.; then
59072d62a77cSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
59082d62a77cSmrgs/:*\$(srcdir):*/:/
59092d62a77cSmrgs/:*\${srcdir}:*/:/
59102d62a77cSmrgs/:*@srcdir@:*/:/
59112d62a77cSmrgs/^\([^=]*=[	 ]*\):*/\1/
59122d62a77cSmrgs/:*$//
59132d62a77cSmrgs/^[^=]*=[	 ]*$//
59142d62a77cSmrg}'
59152d62a77cSmrgfi
59162d62a77cSmrg
59172d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59182d62a77cSmrgfi # test -n "$CONFIG_FILES"
59192d62a77cSmrg
59202d62a77cSmrg
59212d62a77cSmrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
59222d62a77cSmrgshift
59232d62a77cSmrgfor ac_tag
59242d62a77cSmrgdo
59252d62a77cSmrg  case $ac_tag in
59262d62a77cSmrg  :[FHLC]) ac_mode=$ac_tag; continue;;
59272d62a77cSmrg  esac
59282d62a77cSmrg  case $ac_mode$ac_tag in
59292d62a77cSmrg  :[FHL]*:*);;
59302d62a77cSmrg  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
59312d62a77cSmrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
59322d62a77cSmrg   { (exit 1); exit 1; }; };;
59332d62a77cSmrg  :[FH]-) ac_tag=-:-;;
59342d62a77cSmrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
59352d62a77cSmrg  esac
59362d62a77cSmrg  ac_save_IFS=$IFS
59372d62a77cSmrg  IFS=:
59382d62a77cSmrg  set x $ac_tag
59392d62a77cSmrg  IFS=$ac_save_IFS
59402d62a77cSmrg  shift
59412d62a77cSmrg  ac_file=$1
59422d62a77cSmrg  shift
59432d62a77cSmrg
59442d62a77cSmrg  case $ac_mode in
59452d62a77cSmrg  :L) ac_source=$1;;
59462d62a77cSmrg  :[FH])
59472d62a77cSmrg    ac_file_inputs=
59482d62a77cSmrg    for ac_f
59492d62a77cSmrg    do
59502d62a77cSmrg      case $ac_f in
59512d62a77cSmrg      -) ac_f="$tmp/stdin";;
59522d62a77cSmrg      *) # Look for the file first in the build tree, then in the source tree
59532d62a77cSmrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
59542d62a77cSmrg	 # because $ac_f cannot contain `:'.
59552d62a77cSmrg	 test -f "$ac_f" ||
59562d62a77cSmrg	   case $ac_f in
59572d62a77cSmrg	   [\\/$]*) false;;
59582d62a77cSmrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
59592d62a77cSmrg	   esac ||
59602d62a77cSmrg	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
59612d62a77cSmrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
59622d62a77cSmrg   { (exit 1); exit 1; }; };;
59632d62a77cSmrg      esac
59642d62a77cSmrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
59652d62a77cSmrg      ac_file_inputs="$ac_file_inputs '$ac_f'"
59662d62a77cSmrg    done
59672d62a77cSmrg
59682d62a77cSmrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
59692d62a77cSmrg    # use $as_me), people would be surprised to read:
59702d62a77cSmrg    #    /* config.h.  Generated by config.status.  */
59712d62a77cSmrg    configure_input='Generated from '`
59722d62a77cSmrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
59732d62a77cSmrg	`' by configure.'
59742d62a77cSmrg    if test x"$ac_file" != x-; then
59752d62a77cSmrg      configure_input="$ac_file.  $configure_input"
59762d62a77cSmrg      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
59772d62a77cSmrg$as_echo "$as_me: creating $ac_file" >&6;}
59782d62a77cSmrg    fi
59792d62a77cSmrg    # Neutralize special characters interpreted by sed in replacement strings.
59802d62a77cSmrg    case $configure_input in #(
59812d62a77cSmrg    *\&* | *\|* | *\\* )
59822d62a77cSmrg       ac_sed_conf_input=`$as_echo "$configure_input" |
59832d62a77cSmrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
59842d62a77cSmrg    *) ac_sed_conf_input=$configure_input;;
59852d62a77cSmrg    esac
59862d62a77cSmrg
59872d62a77cSmrg    case $ac_tag in
59882d62a77cSmrg    *:-:* | *:-) cat >"$tmp/stdin" \
59892d62a77cSmrg      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
59902d62a77cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
59912d62a77cSmrg   { (exit 1); exit 1; }; } ;;
59922d62a77cSmrg    esac
5993a99f82b8Smrg    ;;
5994a99f82b8Smrg  esac
59952d62a77cSmrg
5996a99f82b8Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
5997a99f82b8Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5998a99f82b8Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
59992d62a77cSmrg	 X"$ac_file" : 'X\(//\)$' \| \
60002d62a77cSmrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60012d62a77cSmrg$as_echo X"$ac_file" |
60022d62a77cSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60032d62a77cSmrg	    s//\1/
60042d62a77cSmrg	    q
60052d62a77cSmrg	  }
60062d62a77cSmrg	  /^X\(\/\/\)[^/].*/{
60072d62a77cSmrg	    s//\1/
60082d62a77cSmrg	    q
60092d62a77cSmrg	  }
60102d62a77cSmrg	  /^X\(\/\/\)$/{
60112d62a77cSmrg	    s//\1/
60122d62a77cSmrg	    q
60132d62a77cSmrg	  }
60142d62a77cSmrg	  /^X\(\/\).*/{
60152d62a77cSmrg	    s//\1/
60162d62a77cSmrg	    q
60172d62a77cSmrg	  }
60182d62a77cSmrg	  s/.*/./; q'`
60192d62a77cSmrg  { as_dir="$ac_dir"
60202d62a77cSmrg  case $as_dir in #(
60212d62a77cSmrg  -*) as_dir=./$as_dir;;
60222d62a77cSmrg  esac
6023a99f82b8Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
60242d62a77cSmrg    as_dirs=
60252d62a77cSmrg    while :; do
60262d62a77cSmrg      case $as_dir in #(
60272d62a77cSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
60282d62a77cSmrg      *) as_qdir=$as_dir;;
60292d62a77cSmrg      esac
60302d62a77cSmrg      as_dirs="'$as_qdir' $as_dirs"
6031a99f82b8Smrg      as_dir=`$as_dirname -- "$as_dir" ||
6032a99f82b8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6033a99f82b8Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
60342d62a77cSmrg	 X"$as_dir" : 'X\(//\)$' \| \
60352d62a77cSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
60362d62a77cSmrg$as_echo X"$as_dir" |
60372d62a77cSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60382d62a77cSmrg	    s//\1/
60392d62a77cSmrg	    q
60402d62a77cSmrg	  }
60412d62a77cSmrg	  /^X\(\/\/\)[^/].*/{
60422d62a77cSmrg	    s//\1/
60432d62a77cSmrg	    q
60442d62a77cSmrg	  }
60452d62a77cSmrg	  /^X\(\/\/\)$/{
60462d62a77cSmrg	    s//\1/
60472d62a77cSmrg	    q
60482d62a77cSmrg	  }
60492d62a77cSmrg	  /^X\(\/\).*/{
60502d62a77cSmrg	    s//\1/
60512d62a77cSmrg	    q
60522d62a77cSmrg	  }
60532d62a77cSmrg	  s/.*/./; q'`
6054a99f82b8Smrg      test -d "$as_dir" && break
60552d62a77cSmrg    done
60562d62a77cSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
60572d62a77cSmrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6058a99f82b8Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6059a99f82b8Smrg   { (exit 1); exit 1; }; }; }
6060a99f82b8Smrg  ac_builddir=.
60612d62a77cSmrg
60622d62a77cSmrgcase "$ac_dir" in
60632d62a77cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60642d62a77cSmrg*)
60652d62a77cSmrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60662d62a77cSmrg  # A ".." for each directory in $ac_dir_suffix.
60672d62a77cSmrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60682d62a77cSmrg  case $ac_top_builddir_sub in
60692d62a77cSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60702d62a77cSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60712d62a77cSmrg  esac ;;
60722d62a77cSmrgesac
60732d62a77cSmrgac_abs_top_builddir=$ac_pwd
60742d62a77cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
60752d62a77cSmrg# for backward compatibility:
6076a99f82b8Smrgac_top_builddir=$ac_top_build_prefix
6077a99f82b8Smrg
60782d62a77cSmrgcase $srcdir in
6079a99f82b8Smrg  .)  # We are building in place.
60802d62a77cSmrg    ac_srcdir=.
60812d62a77cSmrg    ac_top_srcdir=$ac_top_builddir_sub
60822d62a77cSmrg    ac_abs_top_srcdir=$ac_pwd ;;
6083a99f82b8Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
60842d62a77cSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
60852d62a77cSmrg    ac_top_srcdir=$srcdir
60862d62a77cSmrg    ac_abs_top_srcdir=$srcdir ;;
60872d62a77cSmrg  *) # Relative name.
60882d62a77cSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60892d62a77cSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
6090a99f82b8Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60912d62a77cSmrgesac
6092a99f82b8Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6093a99f82b8Smrg
60942d62a77cSmrg
60952d62a77cSmrg  case $ac_mode in
60962d62a77cSmrg  :F)
60972d62a77cSmrg  #
60982d62a77cSmrg  # CONFIG_FILE
6099a99f82b8Smrg  #
6100a99f82b8Smrg
6101a99f82b8Smrg  case $INSTALL in
61022d62a77cSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6103a99f82b8Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
61042d62a77cSmrg  esac
61052d62a77cSmrg  ac_MKDIR_P=$MKDIR_P
61062d62a77cSmrg  case $MKDIR_P in
61072d62a77cSmrg  [\\/$]* | ?:[\\/]* ) ;;
61082d62a77cSmrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
61092d62a77cSmrg  esac
6110a99f82b8Smrg_ACEOF
61112d62a77cSmrg
61122d62a77cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61132d62a77cSmrg# If the template does not know about datarootdir, expand it.
61142d62a77cSmrg# FIXME: This hack should be removed a few years after 2.60.
61152d62a77cSmrgac_datarootdir_hack=; ac_datarootdir_seen=
61162d62a77cSmrg
61172d62a77cSmrgac_sed_dataroot='
61182d62a77cSmrg/datarootdir/ {
61192d62a77cSmrg  p
61202d62a77cSmrg  q
61212d62a77cSmrg}
61222d62a77cSmrg/@datadir@/p
61232d62a77cSmrg/@docdir@/p
61242d62a77cSmrg/@infodir@/p
61252d62a77cSmrg/@localedir@/p
61262d62a77cSmrg/@mandir@/p
61272d62a77cSmrg'
61282d62a77cSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
61292d62a77cSmrg*datarootdir*) ac_datarootdir_seen=yes;;
61302d62a77cSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
61312d62a77cSmrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
61322d62a77cSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
61332d62a77cSmrg_ACEOF
61342d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61352d62a77cSmrg  ac_datarootdir_hack='
61362d62a77cSmrg  s&@datadir@&$datadir&g
61372d62a77cSmrg  s&@docdir@&$docdir&g
61382d62a77cSmrg  s&@infodir@&$infodir&g
61392d62a77cSmrg  s&@localedir@&$localedir&g
61402d62a77cSmrg  s&@mandir@&$mandir&g
61412d62a77cSmrg    s&\\\${datarootdir}&$datarootdir&g' ;;
6142a99f82b8Smrgesac
61432d62a77cSmrg_ACEOF
61442d62a77cSmrg
61452d62a77cSmrg# Neutralize VPATH when `$srcdir' = `.'.
61462d62a77cSmrg# Shell code in configure.ac might set extrasub.
61472d62a77cSmrg# FIXME: do we really want to maintain this feature?
61482d62a77cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6149a99f82b8Smrgac_sed_extra="$ac_vpsub
6150a99f82b8Smrg$extrasub
61512d62a77cSmrg_ACEOF
6152a99f82b8Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6153a99f82b8Smrg:t
61542d62a77cSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
61552d62a77cSmrgs|@configure_input@|$ac_sed_conf_input|;t t
61562d62a77cSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t
61572d62a77cSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
61582d62a77cSmrgs&@srcdir@&$ac_srcdir&;t t
61592d62a77cSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
61602d62a77cSmrgs&@top_srcdir@&$ac_top_srcdir&;t t
61612d62a77cSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
61622d62a77cSmrgs&@builddir@&$ac_builddir&;t t
61632d62a77cSmrgs&@abs_builddir@&$ac_abs_builddir&;t t
61642d62a77cSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
61652d62a77cSmrgs&@INSTALL@&$ac_INSTALL&;t t
61662d62a77cSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
61672d62a77cSmrg$ac_datarootdir_hack
61682d62a77cSmrg"
61692d62a77cSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
61702d62a77cSmrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
61712d62a77cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6172a99f82b8Smrg   { (exit 1); exit 1; }; }
61732d62a77cSmrg
61742d62a77cSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
61752d62a77cSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
61762d62a77cSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
61772d62a77cSmrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61782d62a77cSmrgwhich seems to be undefined.  Please make sure it is defined." >&5
61792d62a77cSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61802d62a77cSmrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
61812d62a77cSmrg
61822d62a77cSmrg  rm -f "$tmp/stdin"
61832d62a77cSmrg  case $ac_file in
61842d62a77cSmrg  -) cat "$tmp/out" && rm -f "$tmp/out";;
61852d62a77cSmrg  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
61862d62a77cSmrg  esac \
61872d62a77cSmrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
61882d62a77cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
61892d62a77cSmrg   { (exit 1); exit 1; }; }
61902d62a77cSmrg ;;
61912d62a77cSmrg
61922d62a77cSmrg
61932d62a77cSmrg  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
61942d62a77cSmrg$as_echo "$as_me: executing $ac_file commands" >&6;}
61952d62a77cSmrg ;;
61962d62a77cSmrg  esac
61972d62a77cSmrg
61982d62a77cSmrg
61992d62a77cSmrg  case $ac_file$ac_mode in
62002d62a77cSmrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
62012d62a77cSmrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
62022d62a77cSmrg  # are listed without --file.  Let's play safe and only enable the eval
62032d62a77cSmrg  # if we detect the quoting.
62042d62a77cSmrg  case $CONFIG_FILES in
62052d62a77cSmrg  *\'*) eval set x "$CONFIG_FILES" ;;
62062d62a77cSmrg  *)   set x $CONFIG_FILES ;;
62072d62a77cSmrg  esac
62082d62a77cSmrg  shift
62092d62a77cSmrg  for mf
62102d62a77cSmrg  do
62112d62a77cSmrg    # Strip MF so we end up with the name of the file.
62122d62a77cSmrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
62132d62a77cSmrg    # Check whether this is an Automake generated Makefile or not.
62142d62a77cSmrg    # We used to match only the files named `Makefile.in', but
62152d62a77cSmrg    # some people rename them; so instead we look at the file content.
62162d62a77cSmrg    # Grep'ing the first line is not enough: some people post-process
62172d62a77cSmrg    # each Makefile.in and add a new line on top of each file to say so.
62182d62a77cSmrg    # Grep'ing the whole file is not good either: AIX grep has a line
62192d62a77cSmrg    # limit of 2048, but all sed's we know have understand at least 4000.
62202d62a77cSmrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
62212d62a77cSmrg      dirpart=`$as_dirname -- "$mf" ||
62222d62a77cSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62232d62a77cSmrg	 X"$mf" : 'X\(//\)[^/]' \| \
62242d62a77cSmrg	 X"$mf" : 'X\(//\)$' \| \
62252d62a77cSmrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
62262d62a77cSmrg$as_echo X"$mf" |
62272d62a77cSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62282d62a77cSmrg	    s//\1/
62292d62a77cSmrg	    q
62302d62a77cSmrg	  }
62312d62a77cSmrg	  /^X\(\/\/\)[^/].*/{
62322d62a77cSmrg	    s//\1/
62332d62a77cSmrg	    q
62342d62a77cSmrg	  }
62352d62a77cSmrg	  /^X\(\/\/\)$/{
62362d62a77cSmrg	    s//\1/
62372d62a77cSmrg	    q
62382d62a77cSmrg	  }
62392d62a77cSmrg	  /^X\(\/\).*/{
62402d62a77cSmrg	    s//\1/
62412d62a77cSmrg	    q
62422d62a77cSmrg	  }
62432d62a77cSmrg	  s/.*/./; q'`
62442d62a77cSmrg    else
62452d62a77cSmrg      continue
62462d62a77cSmrg    fi
62472d62a77cSmrg    # Extract the definition of DEPDIR, am__include, and am__quote
62482d62a77cSmrg    # from the Makefile without running `make'.
62492d62a77cSmrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
62502d62a77cSmrg    test -z "$DEPDIR" && continue
62512d62a77cSmrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
62522d62a77cSmrg    test -z "am__include" && continue
62532d62a77cSmrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
62542d62a77cSmrg    # When using ansi2knr, U may be empty or an underscore; expand it
62552d62a77cSmrg    U=`sed -n 's/^U = //p' < "$mf"`
62562d62a77cSmrg    # Find all dependency output files, they are included files with
62572d62a77cSmrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
62582d62a77cSmrg    # simplest approach to changing $(DEPDIR) to its actual value in the
62592d62a77cSmrg    # expansion.
62602d62a77cSmrg    for file in `sed -n "
62612d62a77cSmrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
62622d62a77cSmrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
62632d62a77cSmrg      # Make sure the directory exists.
62642d62a77cSmrg      test -f "$dirpart/$file" && continue
62652d62a77cSmrg      fdir=`$as_dirname -- "$file" ||
62662d62a77cSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62672d62a77cSmrg	 X"$file" : 'X\(//\)[^/]' \| \
62682d62a77cSmrg	 X"$file" : 'X\(//\)$' \| \
62692d62a77cSmrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
62702d62a77cSmrg$as_echo X"$file" |
62712d62a77cSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62722d62a77cSmrg	    s//\1/
62732d62a77cSmrg	    q
62742d62a77cSmrg	  }
62752d62a77cSmrg	  /^X\(\/\/\)[^/].*/{
62762d62a77cSmrg	    s//\1/
62772d62a77cSmrg	    q
62782d62a77cSmrg	  }
62792d62a77cSmrg	  /^X\(\/\/\)$/{
62802d62a77cSmrg	    s//\1/
62812d62a77cSmrg	    q
62822d62a77cSmrg	  }
62832d62a77cSmrg	  /^X\(\/\).*/{
62842d62a77cSmrg	    s//\1/
62852d62a77cSmrg	    q
62862d62a77cSmrg	  }
62872d62a77cSmrg	  s/.*/./; q'`
62882d62a77cSmrg      { as_dir=$dirpart/$fdir
62892d62a77cSmrg  case $as_dir in #(
62902d62a77cSmrg  -*) as_dir=./$as_dir;;
62912d62a77cSmrg  esac
62922d62a77cSmrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
62932d62a77cSmrg    as_dirs=
62942d62a77cSmrg    while :; do
62952d62a77cSmrg      case $as_dir in #(
62962d62a77cSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
62972d62a77cSmrg      *) as_qdir=$as_dir;;
62982d62a77cSmrg      esac
62992d62a77cSmrg      as_dirs="'$as_qdir' $as_dirs"
63002d62a77cSmrg      as_dir=`$as_dirname -- "$as_dir" ||
63012d62a77cSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63022d62a77cSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
63032d62a77cSmrg	 X"$as_dir" : 'X\(//\)$' \| \
63042d62a77cSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
63052d62a77cSmrg$as_echo X"$as_dir" |
63062d62a77cSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
63072d62a77cSmrg	    s//\1/
63082d62a77cSmrg	    q
63092d62a77cSmrg	  }
63102d62a77cSmrg	  /^X\(\/\/\)[^/].*/{
63112d62a77cSmrg	    s//\1/
63122d62a77cSmrg	    q
63132d62a77cSmrg	  }
63142d62a77cSmrg	  /^X\(\/\/\)$/{
63152d62a77cSmrg	    s//\1/
63162d62a77cSmrg	    q
63172d62a77cSmrg	  }
63182d62a77cSmrg	  /^X\(\/\).*/{
63192d62a77cSmrg	    s//\1/
63202d62a77cSmrg	    q
63212d62a77cSmrg	  }
63222d62a77cSmrg	  s/.*/./; q'`
63232d62a77cSmrg      test -d "$as_dir" && break
63242d62a77cSmrg    done
63252d62a77cSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
63262d62a77cSmrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
63272d62a77cSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
63282d62a77cSmrg   { (exit 1); exit 1; }; }; }
63292d62a77cSmrg      # echo "creating $dirpart/$file"
63302d62a77cSmrg      echo '# dummy' > "$dirpart/$file"
63312d62a77cSmrg    done
63322d62a77cSmrg  done
63332d62a77cSmrg}
63342d62a77cSmrg ;;
63352d62a77cSmrg
63362d62a77cSmrg  esac
6337a99f82b8Smrgdone # for ac_tag
6338a99f82b8Smrg
6339a99f82b8Smrg
6340a99f82b8Smrg{ (exit 0); exit 0; }
6341a99f82b8Smrg_ACEOF
6342a99f82b8Smrgchmod +x $CONFIG_STATUS
6343a99f82b8Smrgac_clean_files=$ac_clean_files_save
63442d62a77cSmrg
63452d62a77cSmrgtest $ac_write_fail = 0 ||
63462d62a77cSmrg  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
63472d62a77cSmrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
63482d62a77cSmrg   { (exit 1); exit 1; }; }
6349a99f82b8Smrg
6350a99f82b8Smrg
6351a99f82b8Smrg# configure is writing to config.log, and then calls config.status.
6352a99f82b8Smrg# config.status does its own redirection, appending to config.log.
6353a99f82b8Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
6354a99f82b8Smrg# by configure, so config.status won't be able to write to it; its
6355a99f82b8Smrg# output is simply discarded.  So we exec the FD to /dev/null,
6356a99f82b8Smrg# effectively closing config.log, so it can be properly (re)opened and
6357a99f82b8Smrg# appended to by config.status.  When coming back to configure, we
6358a99f82b8Smrg# need to make the FD available again.
6359a99f82b8Smrgif test "$no_create" != yes; then
6360a99f82b8Smrg  ac_cs_success=:
6361a99f82b8Smrg  ac_config_status_args=
6362a99f82b8Smrg  test "$silent" = yes &&
6363a99f82b8Smrg    ac_config_status_args="$ac_config_status_args --quiet"
6364a99f82b8Smrg  exec 5>/dev/null
6365a99f82b8Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6366a99f82b8Smrg  exec 5>>config.log
6367a99f82b8Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6368a99f82b8Smrg  # would make configure fail if this is the last instruction.
6369a99f82b8Smrg  $ac_cs_success || { (exit 1); exit 1; }
63702d62a77cSmrgfi
63712d62a77cSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
63722d62a77cSmrg  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
63732d62a77cSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6374a99f82b8Smrgfi
6375
6376