configure revision 2ceb2653
1b7d53ee5Smrg#! /bin/sh
2b7d53ee5Smrg# Guess values for system-dependent variables and create Makefiles.
32ceb2653Smrg# Generated by GNU Autoconf 2.63 for font-dec-misc 1.0.1.
4b7d53ee5Smrg#
5b7d53ee5Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6b7d53ee5Smrg#
72ceb2653Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
82ceb2653Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9b7d53ee5Smrg# This configure script is free software; the Free Software Foundation
10b7d53ee5Smrg# gives unlimited permission to copy, distribute and modify it.
11b7d53ee5Smrg## --------------------- ##
12b7d53ee5Smrg## M4sh Initialization.  ##
13b7d53ee5Smrg## --------------------- ##
14b7d53ee5Smrg
152ceb2653Smrg# Be more Bourne compatible
162ceb2653SmrgDUALCASE=1; export DUALCASE # for MKS sh
17b7d53ee5Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18b7d53ee5Smrg  emulate sh
19b7d53ee5Smrg  NULLCMD=:
202ceb2653Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21b7d53ee5Smrg  # is contrary to our usage.  Disable this feature.
22b7d53ee5Smrg  alias -g '${1+"$@"}'='"$@"'
232ceb2653Smrg  setopt NO_GLOB_SUBST
242ceb2653Smrgelse
252ceb2653Smrg  case `(set -o) 2>/dev/null` in
262ceb2653Smrg  *posix*) set -o posix ;;
272ceb2653Smrgesac
282ceb2653Smrg
292ceb2653Smrgfi
302ceb2653Smrg
312ceb2653Smrg
322ceb2653Smrg
332ceb2653Smrg
342ceb2653Smrg# PATH needs CR
352ceb2653Smrg# Avoid depending upon Character Ranges.
362ceb2653Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
372ceb2653Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
382ceb2653Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
392ceb2653Smrgas_cr_digits='0123456789'
402ceb2653Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
412ceb2653Smrg
422ceb2653Smrgas_nl='
432ceb2653Smrg'
442ceb2653Smrgexport as_nl
452ceb2653Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
462ceb2653Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
472ceb2653Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
482ceb2653Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
492ceb2653Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
502ceb2653Smrg  as_echo='printf %s\n'
512ceb2653Smrg  as_echo_n='printf %s'
522ceb2653Smrgelse
532ceb2653Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
542ceb2653Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
552ceb2653Smrg    as_echo_n='/usr/ucb/echo -n'
562ceb2653Smrg  else
572ceb2653Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
582ceb2653Smrg    as_echo_n_body='eval
592ceb2653Smrg      arg=$1;
602ceb2653Smrg      case $arg in
612ceb2653Smrg      *"$as_nl"*)
622ceb2653Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
632ceb2653Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
642ceb2653Smrg      esac;
652ceb2653Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
662ceb2653Smrg    '
672ceb2653Smrg    export as_echo_n_body
682ceb2653Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
692ceb2653Smrg  fi
702ceb2653Smrg  export as_echo_body
712ceb2653Smrg  as_echo='sh -c $as_echo_body as_echo'
722ceb2653Smrgfi
732ceb2653Smrg
742ceb2653Smrg# The user is always right.
752ceb2653Smrgif test "${PATH_SEPARATOR+set}" != set; then
762ceb2653Smrg  PATH_SEPARATOR=:
772ceb2653Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
782ceb2653Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
792ceb2653Smrg      PATH_SEPARATOR=';'
802ceb2653Smrg  }
81b7d53ee5Smrgfi
82b7d53ee5Smrg
83b7d53ee5Smrg# Support unset when possible.
84b7d53ee5Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85b7d53ee5Smrg  as_unset=unset
86b7d53ee5Smrgelse
87b7d53ee5Smrg  as_unset=false
88b7d53ee5Smrgfi
89b7d53ee5Smrg
90b7d53ee5Smrg
912ceb2653Smrg# IFS
922ceb2653Smrg# We need space, tab and new line, in precisely that order.  Quoting is
932ceb2653Smrg# there to prevent editors from complaining about space-tab.
942ceb2653Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
952ceb2653Smrg# splitting by setting IFS to empty value.)
962ceb2653SmrgIFS=" ""	$as_nl"
972ceb2653Smrg
982ceb2653Smrg# Find who we are.  Look in the path if we contain no directory separator.
992ceb2653Smrgcase $0 in
1002ceb2653Smrg  *[\\/]* ) as_myself=$0 ;;
1012ceb2653Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022ceb2653Smrgfor as_dir in $PATH
1032ceb2653Smrgdo
1042ceb2653Smrg  IFS=$as_save_IFS
1052ceb2653Smrg  test -z "$as_dir" && as_dir=.
1062ceb2653Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1072ceb2653Smrgdone
1082ceb2653SmrgIFS=$as_save_IFS
1092ceb2653Smrg
1102ceb2653Smrg     ;;
1112ceb2653Smrgesac
1122ceb2653Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1132ceb2653Smrg# in which case we are not to be found in the path.
1142ceb2653Smrgif test "x$as_myself" = x; then
1152ceb2653Smrg  as_myself=$0
1162ceb2653Smrgfi
1172ceb2653Smrgif test ! -f "$as_myself"; then
1182ceb2653Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1192ceb2653Smrg  { (exit 1); exit 1; }
1202ceb2653Smrgfi
1212ceb2653Smrg
122b7d53ee5Smrg# Work around bugs in pre-3.0 UWIN ksh.
1232ceb2653Smrgfor as_var in ENV MAIL MAILPATH
1242ceb2653Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1252ceb2653Smrgdone
126b7d53ee5SmrgPS1='$ '
127b7d53ee5SmrgPS2='> '
128b7d53ee5SmrgPS4='+ '
129b7d53ee5Smrg
130b7d53ee5Smrg# NLS nuisances.
1312ceb2653SmrgLC_ALL=C
1322ceb2653Smrgexport LC_ALL
1332ceb2653SmrgLANGUAGE=C
1342ceb2653Smrgexport LANGUAGE
135b7d53ee5Smrg
136b7d53ee5Smrg# Required to use basename.
1372ceb2653Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
1382ceb2653Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139b7d53ee5Smrg  as_expr=expr
140b7d53ee5Smrgelse
141b7d53ee5Smrg  as_expr=false
142b7d53ee5Smrgfi
143b7d53ee5Smrg
1442ceb2653Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145b7d53ee5Smrg  as_basename=basename
146b7d53ee5Smrgelse
147b7d53ee5Smrg  as_basename=false
148b7d53ee5Smrgfi
149b7d53ee5Smrg
150b7d53ee5Smrg
151b7d53ee5Smrg# Name of the executable.
1522ceb2653Smrgas_me=`$as_basename -- "$0" ||
153b7d53ee5Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154b7d53ee5Smrg	 X"$0" : 'X\(//\)$' \| \
1552ceb2653Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1562ceb2653Smrg$as_echo X/"$0" |
1572ceb2653Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
1582ceb2653Smrg	    s//\1/
1592ceb2653Smrg	    q
1602ceb2653Smrg	  }
1612ceb2653Smrg	  /^X\/\(\/\/\)$/{
1622ceb2653Smrg	    s//\1/
1632ceb2653Smrg	    q
1642ceb2653Smrg	  }
1652ceb2653Smrg	  /^X\/\(\/\).*/{
1662ceb2653Smrg	    s//\1/
1672ceb2653Smrg	    q
1682ceb2653Smrg	  }
1692ceb2653Smrg	  s/.*/./; q'`
170b7d53ee5Smrg
1712ceb2653Smrg# CDPATH.
1722ceb2653Smrg$as_unset CDPATH
173b7d53ee5Smrg
174b7d53ee5Smrg
1752ceb2653Smrgif test "x$CONFIG_SHELL" = x; then
1762ceb2653Smrg  if (eval ":") 2>/dev/null; then
1772ceb2653Smrg  as_have_required=yes
1782ceb2653Smrgelse
1792ceb2653Smrg  as_have_required=no
180b7d53ee5Smrgfi
181b7d53ee5Smrg
1822ceb2653Smrg  if test $as_have_required = yes &&	 (eval ":
1832ceb2653Smrg(as_func_return () {
1842ceb2653Smrg  (exit \$1)
1852ceb2653Smrg}
1862ceb2653Smrgas_func_success () {
1872ceb2653Smrg  as_func_return 0
1882ceb2653Smrg}
1892ceb2653Smrgas_func_failure () {
1902ceb2653Smrg  as_func_return 1
1912ceb2653Smrg}
1922ceb2653Smrgas_func_ret_success () {
1932ceb2653Smrg  return 0
1942ceb2653Smrg}
1952ceb2653Smrgas_func_ret_failure () {
1962ceb2653Smrg  return 1
1972ceb2653Smrg}
198b7d53ee5Smrg
1992ceb2653Smrgexitcode=0
2002ceb2653Smrgif as_func_success; then
2012ceb2653Smrg  :
2022ceb2653Smrgelse
2032ceb2653Smrg  exitcode=1
2042ceb2653Smrg  echo as_func_success failed.
2052ceb2653Smrgfi
206b7d53ee5Smrg
2072ceb2653Smrgif as_func_failure; then
2082ceb2653Smrg  exitcode=1
2092ceb2653Smrg  echo as_func_failure succeeded.
2102ceb2653Smrgfi
2112ceb2653Smrg
2122ceb2653Smrgif as_func_ret_success; then
2132ceb2653Smrg  :
2142ceb2653Smrgelse
2152ceb2653Smrg  exitcode=1
2162ceb2653Smrg  echo as_func_ret_success failed.
2172ceb2653Smrgfi
2182ceb2653Smrg
2192ceb2653Smrgif as_func_ret_failure; then
2202ceb2653Smrg  exitcode=1
2212ceb2653Smrg  echo as_func_ret_failure succeeded.
2222ceb2653Smrgfi
2232ceb2653Smrg
2242ceb2653Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2252ceb2653Smrg  :
2262ceb2653Smrgelse
2272ceb2653Smrg  exitcode=1
2282ceb2653Smrg  echo positional parameters were not saved.
2292ceb2653Smrgfi
2302ceb2653Smrg
2312ceb2653Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
2322ceb2653Smrg
2332ceb2653Smrg(
2342ceb2653Smrg  as_lineno_1=\$LINENO
2352ceb2653Smrg  as_lineno_2=\$LINENO
2362ceb2653Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2372ceb2653Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2382ceb2653Smrg") 2> /dev/null; then
2392ceb2653Smrg  :
2402ceb2653Smrgelse
2412ceb2653Smrg  as_candidate_shells=
242b7d53ee5Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243b7d53ee5Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244b7d53ee5Smrgdo
245b7d53ee5Smrg  IFS=$as_save_IFS
246b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
2472ceb2653Smrg  case $as_dir in
248b7d53ee5Smrg	 /*)
2492ceb2653Smrg	   for as_base in sh bash ksh sh5; do
2502ceb2653Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2512ceb2653Smrg	   done;;
2522ceb2653Smrg       esac
2532ceb2653Smrgdone
2542ceb2653SmrgIFS=$as_save_IFS
2552ceb2653Smrg
2562ceb2653Smrg
2572ceb2653Smrg      for as_shell in $as_candidate_shells $SHELL; do
2582ceb2653Smrg	 # Try only shells that exist, to save several forks.
2592ceb2653Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2602ceb2653Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
2612ceb2653Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2622ceb2653Smrg  emulate sh
2632ceb2653Smrg  NULLCMD=:
2642ceb2653Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2652ceb2653Smrg  # is contrary to our usage.  Disable this feature.
2662ceb2653Smrg  alias -g '${1+"$@"}'='"$@"'
2672ceb2653Smrg  setopt NO_GLOB_SUBST
2682ceb2653Smrgelse
2692ceb2653Smrg  case `(set -o) 2>/dev/null` in
2702ceb2653Smrg  *posix*) set -o posix ;;
2712ceb2653Smrgesac
2722ceb2653Smrg
2732ceb2653Smrgfi
2742ceb2653Smrg
2752ceb2653Smrg
2762ceb2653Smrg:
2772ceb2653Smrg_ASEOF
2782ceb2653Smrg}; then
2792ceb2653Smrg  CONFIG_SHELL=$as_shell
2802ceb2653Smrg	       as_have_required=yes
2812ceb2653Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
2822ceb2653Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2832ceb2653Smrg  emulate sh
2842ceb2653Smrg  NULLCMD=:
2852ceb2653Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2862ceb2653Smrg  # is contrary to our usage.  Disable this feature.
2872ceb2653Smrg  alias -g '${1+"$@"}'='"$@"'
2882ceb2653Smrg  setopt NO_GLOB_SUBST
2892ceb2653Smrgelse
2902ceb2653Smrg  case `(set -o) 2>/dev/null` in
2912ceb2653Smrg  *posix*) set -o posix ;;
2922ceb2653Smrgesac
2932ceb2653Smrg
2942ceb2653Smrgfi
2952ceb2653Smrg
2962ceb2653Smrg
2972ceb2653Smrg:
2982ceb2653Smrg(as_func_return () {
2992ceb2653Smrg  (exit $1)
3002ceb2653Smrg}
3012ceb2653Smrgas_func_success () {
3022ceb2653Smrg  as_func_return 0
3032ceb2653Smrg}
3042ceb2653Smrgas_func_failure () {
3052ceb2653Smrg  as_func_return 1
3062ceb2653Smrg}
3072ceb2653Smrgas_func_ret_success () {
3082ceb2653Smrg  return 0
3092ceb2653Smrg}
3102ceb2653Smrgas_func_ret_failure () {
3112ceb2653Smrg  return 1
3122ceb2653Smrg}
3132ceb2653Smrg
3142ceb2653Smrgexitcode=0
3152ceb2653Smrgif as_func_success; then
3162ceb2653Smrg  :
3172ceb2653Smrgelse
3182ceb2653Smrg  exitcode=1
3192ceb2653Smrg  echo as_func_success failed.
3202ceb2653Smrgfi
3212ceb2653Smrg
3222ceb2653Smrgif as_func_failure; then
3232ceb2653Smrg  exitcode=1
3242ceb2653Smrg  echo as_func_failure succeeded.
3252ceb2653Smrgfi
3262ceb2653Smrg
3272ceb2653Smrgif as_func_ret_success; then
3282ceb2653Smrg  :
3292ceb2653Smrgelse
3302ceb2653Smrg  exitcode=1
3312ceb2653Smrg  echo as_func_ret_success failed.
3322ceb2653Smrgfi
3332ceb2653Smrg
3342ceb2653Smrgif as_func_ret_failure; then
3352ceb2653Smrg  exitcode=1
3362ceb2653Smrg  echo as_func_ret_failure succeeded.
3372ceb2653Smrgfi
3382ceb2653Smrg
3392ceb2653Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
3402ceb2653Smrg  :
3412ceb2653Smrgelse
3422ceb2653Smrg  exitcode=1
3432ceb2653Smrg  echo positional parameters were not saved.
3442ceb2653Smrgfi
3452ceb2653Smrg
3462ceb2653Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
3472ceb2653Smrg
3482ceb2653Smrg(
349b7d53ee5Smrg  as_lineno_1=$LINENO
350b7d53ee5Smrg  as_lineno_2=$LINENO
351b7d53ee5Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3522ceb2653Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3532ceb2653Smrg
3542ceb2653Smrg_ASEOF
3552ceb2653Smrg}; then
3562ceb2653Smrg  break
3572ceb2653Smrgfi
3582ceb2653Smrg
3592ceb2653Smrgfi
3602ceb2653Smrg
3612ceb2653Smrg      done
3622ceb2653Smrg
3632ceb2653Smrg      if test "x$CONFIG_SHELL" != x; then
3642ceb2653Smrg  for as_var in BASH_ENV ENV
3652ceb2653Smrg	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3662ceb2653Smrg	done
3672ceb2653Smrg	export CONFIG_SHELL
3682ceb2653Smrg	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3692ceb2653Smrgfi
3702ceb2653Smrg
3712ceb2653Smrg
3722ceb2653Smrg    if test $as_have_required = no; then
3732ceb2653Smrg  echo This script requires a shell more modern than all the
3742ceb2653Smrg      echo shells that I found on your system.  Please install a
3752ceb2653Smrg      echo modern shell, or manually run the script under such a
3762ceb2653Smrg      echo shell if you do have one.
3772ceb2653Smrg      { (exit 1); exit 1; }
3782ceb2653Smrgfi
3792ceb2653Smrg
3802ceb2653Smrg
3812ceb2653Smrgfi
3822ceb2653Smrg
3832ceb2653Smrgfi
3842ceb2653Smrg
3852ceb2653Smrg
3862ceb2653Smrg
3872ceb2653Smrg(eval "as_func_return () {
3882ceb2653Smrg  (exit \$1)
3892ceb2653Smrg}
3902ceb2653Smrgas_func_success () {
3912ceb2653Smrg  as_func_return 0
3922ceb2653Smrg}
3932ceb2653Smrgas_func_failure () {
3942ceb2653Smrg  as_func_return 1
3952ceb2653Smrg}
3962ceb2653Smrgas_func_ret_success () {
3972ceb2653Smrg  return 0
3982ceb2653Smrg}
3992ceb2653Smrgas_func_ret_failure () {
4002ceb2653Smrg  return 1
4012ceb2653Smrg}
4022ceb2653Smrg
4032ceb2653Smrgexitcode=0
4042ceb2653Smrgif as_func_success; then
4052ceb2653Smrg  :
4062ceb2653Smrgelse
4072ceb2653Smrg  exitcode=1
4082ceb2653Smrg  echo as_func_success failed.
4092ceb2653Smrgfi
4102ceb2653Smrg
4112ceb2653Smrgif as_func_failure; then
4122ceb2653Smrg  exitcode=1
4132ceb2653Smrg  echo as_func_failure succeeded.
4142ceb2653Smrgfi
4152ceb2653Smrg
4162ceb2653Smrgif as_func_ret_success; then
4172ceb2653Smrg  :
4182ceb2653Smrgelse
4192ceb2653Smrg  exitcode=1
4202ceb2653Smrg  echo as_func_ret_success failed.
4212ceb2653Smrgfi
4222ceb2653Smrg
4232ceb2653Smrgif as_func_ret_failure; then
4242ceb2653Smrg  exitcode=1
4252ceb2653Smrg  echo as_func_ret_failure succeeded.
4262ceb2653Smrgfi
4272ceb2653Smrg
4282ceb2653Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
4292ceb2653Smrg  :
4302ceb2653Smrgelse
4312ceb2653Smrg  exitcode=1
4322ceb2653Smrg  echo positional parameters were not saved.
4332ceb2653Smrgfi
4342ceb2653Smrg
4352ceb2653Smrgtest \$exitcode = 0") || {
4362ceb2653Smrg  echo No shell found that supports shell functions.
4372ceb2653Smrg  echo Please tell bug-autoconf@gnu.org about your system,
4382ceb2653Smrg  echo including any error possibly output before this message.
4392ceb2653Smrg  echo This can help us improve future autoconf versions.
4402ceb2653Smrg  echo Configuration will now proceed without shell functions.
4412ceb2653Smrg}
4422ceb2653Smrg
4432ceb2653Smrg
4442ceb2653Smrg
4452ceb2653Smrg  as_lineno_1=$LINENO
4462ceb2653Smrg  as_lineno_2=$LINENO
4472ceb2653Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
4482ceb2653Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449b7d53ee5Smrg
450b7d53ee5Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451b7d53ee5Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
4522ceb2653Smrg  # line-number line after each line using $LINENO; the second 'sed'
4532ceb2653Smrg  # does the real work.  The second script uses 'N' to pair each
4542ceb2653Smrg  # line-number line with the line containing $LINENO, and appends
4552ceb2653Smrg  # trailing '-' during substitution so that $LINENO is not a special
4562ceb2653Smrg  # case at line end.
457b7d53ee5Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4582ceb2653Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4592ceb2653Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
4602ceb2653Smrg  sed -n '
4612ceb2653Smrg    p
4622ceb2653Smrg    /[$]LINENO/=
4632ceb2653Smrg  ' <$as_myself |
464b7d53ee5Smrg    sed '
4652ceb2653Smrg      s/[$]LINENO.*/&-/
4662ceb2653Smrg      t lineno
4672ceb2653Smrg      b
4682ceb2653Smrg      :lineno
469b7d53ee5Smrg      N
4702ceb2653Smrg      :loop
4712ceb2653Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472b7d53ee5Smrg      t loop
4732ceb2653Smrg      s/-\n.*//
474b7d53ee5Smrg    ' >$as_me.lineno &&
4752ceb2653Smrg  chmod +x "$as_me.lineno" ||
4762ceb2653Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477b7d53ee5Smrg   { (exit 1); exit 1; }; }
478b7d53ee5Smrg
479b7d53ee5Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
480b7d53ee5Smrg  # (the dirname of $[0] is not the place where we might find the
4812ceb2653Smrg  # original and so on.  Autoconf is especially sensitive to this).
4822ceb2653Smrg  . "./$as_me.lineno"
483b7d53ee5Smrg  # Exit status is that of the last command.
484b7d53ee5Smrg  exit
485b7d53ee5Smrg}
486b7d53ee5Smrg
487b7d53ee5Smrg
4882ceb2653Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4892ceb2653Smrg  as_dirname=dirname
4902ceb2653Smrgelse
4912ceb2653Smrg  as_dirname=false
4922ceb2653Smrgfi
493b7d53ee5Smrg
4942ceb2653SmrgECHO_C= ECHO_N= ECHO_T=
4952ceb2653Smrgcase `echo -n x` in
4962ceb2653Smrg-n*)
4972ceb2653Smrg  case `echo 'x\c'` in
4982ceb2653Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4992ceb2653Smrg  *)   ECHO_C='\c';;
5002ceb2653Smrg  esac;;
5012ceb2653Smrg*)
5022ceb2653Smrg  ECHO_N='-n';;
5032ceb2653Smrgesac
5042ceb2653Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
5052ceb2653Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506b7d53ee5Smrg  as_expr=expr
507b7d53ee5Smrgelse
508b7d53ee5Smrg  as_expr=false
509b7d53ee5Smrgfi
510b7d53ee5Smrg
511b7d53ee5Smrgrm -f conf$$ conf$$.exe conf$$.file
5122ceb2653Smrgif test -d conf$$.dir; then
5132ceb2653Smrg  rm -f conf$$.dir/conf$$.file
5142ceb2653Smrgelse
5152ceb2653Smrg  rm -f conf$$.dir
5162ceb2653Smrg  mkdir conf$$.dir 2>/dev/null
5172ceb2653Smrgfi
5182ceb2653Smrgif (echo >conf$$.file) 2>/dev/null; then
5192ceb2653Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
520b7d53ee5Smrg    as_ln_s='ln -s'
5212ceb2653Smrg    # ... but there are two gotchas:
5222ceb2653Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5232ceb2653Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5242ceb2653Smrg    # In both cases, we have to default to `cp -p'.
5252ceb2653Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5262ceb2653Smrg      as_ln_s='cp -p'
5272ceb2653Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5282ceb2653Smrg    as_ln_s=ln
5292ceb2653Smrg  else
5302ceb2653Smrg    as_ln_s='cp -p'
531b7d53ee5Smrg  fi
532b7d53ee5Smrgelse
533b7d53ee5Smrg  as_ln_s='cp -p'
534b7d53ee5Smrgfi
5352ceb2653Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5362ceb2653Smrgrmdir conf$$.dir 2>/dev/null
537b7d53ee5Smrg
538b7d53ee5Smrgif mkdir -p . 2>/dev/null; then
539b7d53ee5Smrg  as_mkdir_p=:
540b7d53ee5Smrgelse
541b7d53ee5Smrg  test -d ./-p && rmdir ./-p
542b7d53ee5Smrg  as_mkdir_p=false
543b7d53ee5Smrgfi
544b7d53ee5Smrg
5452ceb2653Smrgif test -x / >/dev/null 2>&1; then
5462ceb2653Smrg  as_test_x='test -x'
5472ceb2653Smrgelse
5482ceb2653Smrg  if ls -dL / >/dev/null 2>&1; then
5492ceb2653Smrg    as_ls_L_option=L
5502ceb2653Smrg  else
5512ceb2653Smrg    as_ls_L_option=
5522ceb2653Smrg  fi
5532ceb2653Smrg  as_test_x='
5542ceb2653Smrg    eval sh -c '\''
5552ceb2653Smrg      if test -d "$1"; then
5562ceb2653Smrg	test -d "$1/.";
5572ceb2653Smrg      else
5582ceb2653Smrg	case $1 in
5592ceb2653Smrg	-*)set "./$1";;
5602ceb2653Smrg	esac;
5612ceb2653Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5622ceb2653Smrg	???[sx]*):;;*)false;;esac;fi
5632ceb2653Smrg    '\'' sh
5642ceb2653Smrg  '
5652ceb2653Smrgfi
5662ceb2653Smrgas_executable_p=$as_test_x
567b7d53ee5Smrg
568b7d53ee5Smrg# Sed expression to map a string onto a valid CPP name.
569b7d53ee5Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570b7d53ee5Smrg
571b7d53ee5Smrg# Sed expression to map a string onto a valid variable name.
572b7d53ee5Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573b7d53ee5Smrg
574b7d53ee5Smrg
575b7d53ee5Smrg
5762ceb2653Smrgexec 7<&0 </dev/null 6>&1
577b7d53ee5Smrg
578b7d53ee5Smrg# Name of the host.
579b7d53ee5Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580b7d53ee5Smrg# so uname gets run too.
581b7d53ee5Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582b7d53ee5Smrg
583b7d53ee5Smrg#
584b7d53ee5Smrg# Initializations.
585b7d53ee5Smrg#
586b7d53ee5Smrgac_default_prefix=/usr/local
5872ceb2653Smrgac_clean_files=
588b7d53ee5Smrgac_config_libobj_dir=.
5892ceb2653SmrgLIBOBJS=
590b7d53ee5Smrgcross_compiling=no
591b7d53ee5Smrgsubdirs=
592b7d53ee5SmrgMFLAGS=
593b7d53ee5SmrgMAKEFLAGS=
594b7d53ee5SmrgSHELL=${CONFIG_SHELL-/bin/sh}
595b7d53ee5Smrg
596b7d53ee5Smrg# Identity of this package.
597b7d53ee5SmrgPACKAGE_NAME='font-dec-misc'
598b7d53ee5SmrgPACKAGE_TARNAME='font-dec-misc'
5992ceb2653SmrgPACKAGE_VERSION='1.0.1'
6002ceb2653SmrgPACKAGE_STRING='font-dec-misc 1.0.1'
601b7d53ee5SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
602b7d53ee5Smrg
6032ceb2653Smrg# Factoring default headers for most tests.
6042ceb2653Smrgac_includes_default="\
6052ceb2653Smrg#include <stdio.h>
6062ceb2653Smrg#ifdef HAVE_SYS_TYPES_H
6072ceb2653Smrg# include <sys/types.h>
6082ceb2653Smrg#endif
6092ceb2653Smrg#ifdef HAVE_SYS_STAT_H
6102ceb2653Smrg# include <sys/stat.h>
6112ceb2653Smrg#endif
6122ceb2653Smrg#ifdef STDC_HEADERS
6132ceb2653Smrg# include <stdlib.h>
6142ceb2653Smrg# include <stddef.h>
6152ceb2653Smrg#else
6162ceb2653Smrg# ifdef HAVE_STDLIB_H
6172ceb2653Smrg#  include <stdlib.h>
6182ceb2653Smrg# endif
6192ceb2653Smrg#endif
6202ceb2653Smrg#ifdef HAVE_STRING_H
6212ceb2653Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6222ceb2653Smrg#  include <memory.h>
6232ceb2653Smrg# endif
6242ceb2653Smrg# include <string.h>
6252ceb2653Smrg#endif
6262ceb2653Smrg#ifdef HAVE_STRINGS_H
6272ceb2653Smrg# include <strings.h>
6282ceb2653Smrg#endif
6292ceb2653Smrg#ifdef HAVE_INTTYPES_H
6302ceb2653Smrg# include <inttypes.h>
6312ceb2653Smrg#endif
6322ceb2653Smrg#ifdef HAVE_STDINT_H
6332ceb2653Smrg# include <stdint.h>
6342ceb2653Smrg#endif
6352ceb2653Smrg#ifdef HAVE_UNISTD_H
6362ceb2653Smrg# include <unistd.h>
6372ceb2653Smrg#endif"
6382ceb2653Smrg
6392ceb2653Smrgac_subst_vars='am__EXEEXT_FALSE
6402ceb2653Smrgam__EXEEXT_TRUE
6412ceb2653SmrgLTLIBOBJS
6422ceb2653SmrgLIBOBJS
6432ceb2653SmrgCOMPRESS_SUFFIX
6442ceb2653SmrgCOMPRESS
6452ceb2653SmrgBDFTOPCF
6462ceb2653SmrgMKFONTDIR
6472ceb2653SmrgRUN_FCCACHE
6482ceb2653SmrgFCCACHE
6492ceb2653SmrgFONTDIR
6502ceb2653SmrgFONTROOTDIR
6512ceb2653SmrgPKG_CONFIG
6522ceb2653SmrgADMIN_MAN_DIR
6532ceb2653SmrgDRIVER_MAN_DIR
6542ceb2653SmrgMISC_MAN_DIR
6552ceb2653SmrgFILE_MAN_DIR
6562ceb2653SmrgLIB_MAN_DIR
6572ceb2653SmrgAPP_MAN_DIR
6582ceb2653SmrgADMIN_MAN_SUFFIX
6592ceb2653SmrgDRIVER_MAN_SUFFIX
6602ceb2653SmrgMISC_MAN_SUFFIX
6612ceb2653SmrgFILE_MAN_SUFFIX
6622ceb2653SmrgLIB_MAN_SUFFIX
6632ceb2653SmrgAPP_MAN_SUFFIX
6642ceb2653Smrghost_os
6652ceb2653Smrghost_vendor
6662ceb2653Smrghost_cpu
6672ceb2653Smrghost
6682ceb2653Smrgbuild_os
6692ceb2653Smrgbuild_vendor
6702ceb2653Smrgbuild_cpu
6712ceb2653Smrgbuild
6722ceb2653Smrgdistcleancheck_listfiles
6732ceb2653SmrgCHANGELOG_CMD
6742ceb2653SmrgAM_BACKSLASH
6752ceb2653SmrgAM_DEFAULT_VERBOSITY
6762ceb2653SmrgCWARNFLAGS
6772ceb2653SmrgEGREP
6782ceb2653SmrgGREP
6792ceb2653SmrgCPP
6802ceb2653Smrgam__fastdepCC_FALSE
6812ceb2653Smrgam__fastdepCC_TRUE
6822ceb2653SmrgCCDEPMODE
6832ceb2653SmrgAMDEPBACKSLASH
6842ceb2653SmrgAMDEP_FALSE
6852ceb2653SmrgAMDEP_TRUE
6862ceb2653Smrgam__quote
6872ceb2653Smrgam__include
6882ceb2653SmrgDEPDIR
6892ceb2653SmrgOBJEXT
6902ceb2653SmrgEXEEXT
6912ceb2653Smrgac_ct_CC
6922ceb2653SmrgCPPFLAGS
6932ceb2653SmrgLDFLAGS
6942ceb2653SmrgCFLAGS
6952ceb2653SmrgCC
6962ceb2653SmrgMAINT
6972ceb2653SmrgMAINTAINER_MODE_FALSE
6982ceb2653SmrgMAINTAINER_MODE_TRUE
6992ceb2653Smrgam__untar
7002ceb2653Smrgam__tar
7012ceb2653SmrgAMTAR
7022ceb2653Smrgam__leading_dot
7032ceb2653SmrgSET_MAKE
7042ceb2653SmrgAWK
7052ceb2653Smrgmkdir_p
7062ceb2653SmrgMKDIR_P
7072ceb2653SmrgINSTALL_STRIP_PROGRAM
7082ceb2653SmrgSTRIP
7092ceb2653Smrginstall_sh
7102ceb2653SmrgMAKEINFO
7112ceb2653SmrgAUTOHEADER
7122ceb2653SmrgAUTOMAKE
7132ceb2653SmrgAUTOCONF
7142ceb2653SmrgACLOCAL
7152ceb2653SmrgVERSION
7162ceb2653SmrgPACKAGE
7172ceb2653SmrgCYGPATH_W
7182ceb2653Smrgam__isrc
7192ceb2653SmrgINSTALL_DATA
7202ceb2653SmrgINSTALL_SCRIPT
7212ceb2653SmrgINSTALL_PROGRAM
7222ceb2653Smrgtarget_alias
7232ceb2653Smrghost_alias
7242ceb2653Smrgbuild_alias
7252ceb2653SmrgLIBS
7262ceb2653SmrgECHO_T
7272ceb2653SmrgECHO_N
7282ceb2653SmrgECHO_C
7292ceb2653SmrgDEFS
7302ceb2653Smrgmandir
7312ceb2653Smrglocaledir
7322ceb2653Smrglibdir
7332ceb2653Smrgpsdir
7342ceb2653Smrgpdfdir
7352ceb2653Smrgdvidir
7362ceb2653Smrghtmldir
7372ceb2653Smrginfodir
7382ceb2653Smrgdocdir
7392ceb2653Smrgoldincludedir
7402ceb2653Smrgincludedir
7412ceb2653Smrglocalstatedir
7422ceb2653Smrgsharedstatedir
7432ceb2653Smrgsysconfdir
7442ceb2653Smrgdatadir
7452ceb2653Smrgdatarootdir
7462ceb2653Smrglibexecdir
7472ceb2653Smrgsbindir
7482ceb2653Smrgbindir
7492ceb2653Smrgprogram_transform_name
7502ceb2653Smrgprefix
7512ceb2653Smrgexec_prefix
7522ceb2653SmrgPACKAGE_BUGREPORT
7532ceb2653SmrgPACKAGE_STRING
7542ceb2653SmrgPACKAGE_VERSION
7552ceb2653SmrgPACKAGE_TARNAME
7562ceb2653SmrgPACKAGE_NAME
7572ceb2653SmrgPATH_SEPARATOR
7582ceb2653SmrgSHELL'
759b7d53ee5Smrgac_subst_files=''
7602ceb2653Smrgac_user_opts='
7612ceb2653Smrgenable_option_checking
7622ceb2653Smrgenable_maintainer_mode
7632ceb2653Smrgenable_dependency_tracking
7642ceb2653Smrgenable_silent_rules
7652ceb2653Smrgenable_strict_compilation
7662ceb2653Smrgwith_release_version
7672ceb2653Smrgwith_fontrootdir
7682ceb2653Smrgwith_fontdir
7692ceb2653Smrgwith_compression
7702ceb2653Smrg'
7712ceb2653Smrg      ac_precious_vars='build_alias
7722ceb2653Smrghost_alias
7732ceb2653Smrgtarget_alias
7742ceb2653SmrgCC
7752ceb2653SmrgCFLAGS
7762ceb2653SmrgLDFLAGS
7772ceb2653SmrgLIBS
7782ceb2653SmrgCPPFLAGS
7792ceb2653SmrgCPP
7802ceb2653SmrgPKG_CONFIG'
7812ceb2653Smrg
782b7d53ee5Smrg
783b7d53ee5Smrg# Initialize some variables set by options.
784b7d53ee5Smrgac_init_help=
785b7d53ee5Smrgac_init_version=false
7862ceb2653Smrgac_unrecognized_opts=
7872ceb2653Smrgac_unrecognized_sep=
788b7d53ee5Smrg# The variables have the same names as the options, with
789b7d53ee5Smrg# dashes changed to underlines.
790b7d53ee5Smrgcache_file=/dev/null
791b7d53ee5Smrgexec_prefix=NONE
792b7d53ee5Smrgno_create=
793b7d53ee5Smrgno_recursion=
794b7d53ee5Smrgprefix=NONE
795b7d53ee5Smrgprogram_prefix=NONE
796b7d53ee5Smrgprogram_suffix=NONE
797b7d53ee5Smrgprogram_transform_name=s,x,x,
798b7d53ee5Smrgsilent=
799b7d53ee5Smrgsite=
800b7d53ee5Smrgsrcdir=
801b7d53ee5Smrgverbose=
802b7d53ee5Smrgx_includes=NONE
803b7d53ee5Smrgx_libraries=NONE
804b7d53ee5Smrg
805b7d53ee5Smrg# Installation directory options.
806b7d53ee5Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
807b7d53ee5Smrg# and all the variables that are supposed to be based on exec_prefix
808b7d53ee5Smrg# by default will actually change.
809b7d53ee5Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
8102ceb2653Smrg# (The list follows the same order as the GNU Coding Standards.)
811b7d53ee5Smrgbindir='${exec_prefix}/bin'
812b7d53ee5Smrgsbindir='${exec_prefix}/sbin'
813b7d53ee5Smrglibexecdir='${exec_prefix}/libexec'
8142ceb2653Smrgdatarootdir='${prefix}/share'
8152ceb2653Smrgdatadir='${datarootdir}'
816b7d53ee5Smrgsysconfdir='${prefix}/etc'
817b7d53ee5Smrgsharedstatedir='${prefix}/com'
818b7d53ee5Smrglocalstatedir='${prefix}/var'
819b7d53ee5Smrgincludedir='${prefix}/include'
820b7d53ee5Smrgoldincludedir='/usr/include'
8212ceb2653Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
8222ceb2653Smrginfodir='${datarootdir}/info'
8232ceb2653Smrghtmldir='${docdir}'
8242ceb2653Smrgdvidir='${docdir}'
8252ceb2653Smrgpdfdir='${docdir}'
8262ceb2653Smrgpsdir='${docdir}'
8272ceb2653Smrglibdir='${exec_prefix}/lib'
8282ceb2653Smrglocaledir='${datarootdir}/locale'
8292ceb2653Smrgmandir='${datarootdir}/man'
830b7d53ee5Smrg
831b7d53ee5Smrgac_prev=
8322ceb2653Smrgac_dashdash=
833b7d53ee5Smrgfor ac_option
834b7d53ee5Smrgdo
835b7d53ee5Smrg  # If the previous option needs an argument, assign it.
836b7d53ee5Smrg  if test -n "$ac_prev"; then
8372ceb2653Smrg    eval $ac_prev=\$ac_option
838b7d53ee5Smrg    ac_prev=
839b7d53ee5Smrg    continue
840b7d53ee5Smrg  fi
841b7d53ee5Smrg
8422ceb2653Smrg  case $ac_option in
8432ceb2653Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8442ceb2653Smrg  *)	ac_optarg=yes ;;
8452ceb2653Smrg  esac
846b7d53ee5Smrg
847b7d53ee5Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
848b7d53ee5Smrg
8492ceb2653Smrg  case $ac_dashdash$ac_option in
8502ceb2653Smrg  --)
8512ceb2653Smrg    ac_dashdash=yes ;;
852b7d53ee5Smrg
853b7d53ee5Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
854b7d53ee5Smrg    ac_prev=bindir ;;
855b7d53ee5Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
856b7d53ee5Smrg    bindir=$ac_optarg ;;
857b7d53ee5Smrg
858b7d53ee5Smrg  -build | --build | --buil | --bui | --bu)
859b7d53ee5Smrg    ac_prev=build_alias ;;
860b7d53ee5Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
861b7d53ee5Smrg    build_alias=$ac_optarg ;;
862b7d53ee5Smrg
863b7d53ee5Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
864b7d53ee5Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865b7d53ee5Smrg    ac_prev=cache_file ;;
866b7d53ee5Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867b7d53ee5Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868b7d53ee5Smrg    cache_file=$ac_optarg ;;
869b7d53ee5Smrg
870b7d53ee5Smrg  --config-cache | -C)
871b7d53ee5Smrg    cache_file=config.cache ;;
872b7d53ee5Smrg
8732ceb2653Smrg  -datadir | --datadir | --datadi | --datad)
874b7d53ee5Smrg    ac_prev=datadir ;;
8752ceb2653Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
876b7d53ee5Smrg    datadir=$ac_optarg ;;
877b7d53ee5Smrg
8782ceb2653Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8792ceb2653Smrg  | --dataroo | --dataro | --datar)
8802ceb2653Smrg    ac_prev=datarootdir ;;
8812ceb2653Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8822ceb2653Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8832ceb2653Smrg    datarootdir=$ac_optarg ;;
8842ceb2653Smrg
885b7d53ee5Smrg  -disable-* | --disable-*)
8862ceb2653Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887b7d53ee5Smrg    # Reject names that are not valid shell variable names.
8882ceb2653Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8892ceb2653Smrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
890b7d53ee5Smrg   { (exit 1); exit 1; }; }
8912ceb2653Smrg    ac_useropt_orig=$ac_useropt
8922ceb2653Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8932ceb2653Smrg    case $ac_user_opts in
8942ceb2653Smrg      *"
8952ceb2653Smrg"enable_$ac_useropt"
8962ceb2653Smrg"*) ;;
8972ceb2653Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8982ceb2653Smrg	 ac_unrecognized_sep=', ';;
8992ceb2653Smrg    esac
9002ceb2653Smrg    eval enable_$ac_useropt=no ;;
9012ceb2653Smrg
9022ceb2653Smrg  -docdir | --docdir | --docdi | --doc | --do)
9032ceb2653Smrg    ac_prev=docdir ;;
9042ceb2653Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
9052ceb2653Smrg    docdir=$ac_optarg ;;
9062ceb2653Smrg
9072ceb2653Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
9082ceb2653Smrg    ac_prev=dvidir ;;
9092ceb2653Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
9102ceb2653Smrg    dvidir=$ac_optarg ;;
911b7d53ee5Smrg
912b7d53ee5Smrg  -enable-* | --enable-*)
9132ceb2653Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914b7d53ee5Smrg    # Reject names that are not valid shell variable names.
9152ceb2653Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
9162ceb2653Smrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
917b7d53ee5Smrg   { (exit 1); exit 1; }; }
9182ceb2653Smrg    ac_useropt_orig=$ac_useropt
9192ceb2653Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
9202ceb2653Smrg    case $ac_user_opts in
9212ceb2653Smrg      *"
9222ceb2653Smrg"enable_$ac_useropt"
9232ceb2653Smrg"*) ;;
9242ceb2653Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
9252ceb2653Smrg	 ac_unrecognized_sep=', ';;
926b7d53ee5Smrg    esac
9272ceb2653Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
928b7d53ee5Smrg
929b7d53ee5Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930b7d53ee5Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931b7d53ee5Smrg  | --exec | --exe | --ex)
932b7d53ee5Smrg    ac_prev=exec_prefix ;;
933b7d53ee5Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934b7d53ee5Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935b7d53ee5Smrg  | --exec=* | --exe=* | --ex=*)
936b7d53ee5Smrg    exec_prefix=$ac_optarg ;;
937b7d53ee5Smrg
938b7d53ee5Smrg  -gas | --gas | --ga | --g)
939b7d53ee5Smrg    # Obsolete; use --with-gas.
940b7d53ee5Smrg    with_gas=yes ;;
941b7d53ee5Smrg
942b7d53ee5Smrg  -help | --help | --hel | --he | -h)
943b7d53ee5Smrg    ac_init_help=long ;;
944b7d53ee5Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945b7d53ee5Smrg    ac_init_help=recursive ;;
946b7d53ee5Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947b7d53ee5Smrg    ac_init_help=short ;;
948b7d53ee5Smrg
949b7d53ee5Smrg  -host | --host | --hos | --ho)
950b7d53ee5Smrg    ac_prev=host_alias ;;
951b7d53ee5Smrg  -host=* | --host=* | --hos=* | --ho=*)
952b7d53ee5Smrg    host_alias=$ac_optarg ;;
953b7d53ee5Smrg
9542ceb2653Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9552ceb2653Smrg    ac_prev=htmldir ;;
9562ceb2653Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9572ceb2653Smrg  | --ht=*)
9582ceb2653Smrg    htmldir=$ac_optarg ;;
9592ceb2653Smrg
960b7d53ee5Smrg  -includedir | --includedir | --includedi | --included | --include \
961b7d53ee5Smrg  | --includ | --inclu | --incl | --inc)
962b7d53ee5Smrg    ac_prev=includedir ;;
963b7d53ee5Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964b7d53ee5Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
965b7d53ee5Smrg    includedir=$ac_optarg ;;
966b7d53ee5Smrg
967b7d53ee5Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
968b7d53ee5Smrg    ac_prev=infodir ;;
969b7d53ee5Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970b7d53ee5Smrg    infodir=$ac_optarg ;;
971b7d53ee5Smrg
972b7d53ee5Smrg  -libdir | --libdir | --libdi | --libd)
973b7d53ee5Smrg    ac_prev=libdir ;;
974b7d53ee5Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
975b7d53ee5Smrg    libdir=$ac_optarg ;;
976b7d53ee5Smrg
977b7d53ee5Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978b7d53ee5Smrg  | --libexe | --libex | --libe)
979b7d53ee5Smrg    ac_prev=libexecdir ;;
980b7d53ee5Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981b7d53ee5Smrg  | --libexe=* | --libex=* | --libe=*)
982b7d53ee5Smrg    libexecdir=$ac_optarg ;;
983b7d53ee5Smrg
9842ceb2653Smrg  -localedir | --localedir | --localedi | --localed | --locale)
9852ceb2653Smrg    ac_prev=localedir ;;
9862ceb2653Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9872ceb2653Smrg    localedir=$ac_optarg ;;
9882ceb2653Smrg
989b7d53ee5Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9902ceb2653Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
991b7d53ee5Smrg    ac_prev=localstatedir ;;
992b7d53ee5Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9932ceb2653Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994b7d53ee5Smrg    localstatedir=$ac_optarg ;;
995b7d53ee5Smrg
996b7d53ee5Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997b7d53ee5Smrg    ac_prev=mandir ;;
998b7d53ee5Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999b7d53ee5Smrg    mandir=$ac_optarg ;;
1000b7d53ee5Smrg
1001b7d53ee5Smrg  -nfp | --nfp | --nf)
1002b7d53ee5Smrg    # Obsolete; use --without-fp.
1003b7d53ee5Smrg    with_fp=no ;;
1004b7d53ee5Smrg
1005b7d53ee5Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006b7d53ee5Smrg  | --no-cr | --no-c | -n)
1007b7d53ee5Smrg    no_create=yes ;;
1008b7d53ee5Smrg
1009b7d53ee5Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010b7d53ee5Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011b7d53ee5Smrg    no_recursion=yes ;;
1012b7d53ee5Smrg
1013b7d53ee5Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014b7d53ee5Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015b7d53ee5Smrg  | --oldin | --oldi | --old | --ol | --o)
1016b7d53ee5Smrg    ac_prev=oldincludedir ;;
1017b7d53ee5Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018b7d53ee5Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019b7d53ee5Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020b7d53ee5Smrg    oldincludedir=$ac_optarg ;;
1021b7d53ee5Smrg
1022b7d53ee5Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023b7d53ee5Smrg    ac_prev=prefix ;;
1024b7d53ee5Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025b7d53ee5Smrg    prefix=$ac_optarg ;;
1026b7d53ee5Smrg
1027b7d53ee5Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028b7d53ee5Smrg  | --program-pre | --program-pr | --program-p)
1029b7d53ee5Smrg    ac_prev=program_prefix ;;
1030b7d53ee5Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031b7d53ee5Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032b7d53ee5Smrg    program_prefix=$ac_optarg ;;
1033b7d53ee5Smrg
1034b7d53ee5Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035b7d53ee5Smrg  | --program-suf | --program-su | --program-s)
1036b7d53ee5Smrg    ac_prev=program_suffix ;;
1037b7d53ee5Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038b7d53ee5Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039b7d53ee5Smrg    program_suffix=$ac_optarg ;;
1040b7d53ee5Smrg
1041b7d53ee5Smrg  -program-transform-name | --program-transform-name \
1042b7d53ee5Smrg  | --program-transform-nam | --program-transform-na \
1043b7d53ee5Smrg  | --program-transform-n | --program-transform- \
1044b7d53ee5Smrg  | --program-transform | --program-transfor \
1045b7d53ee5Smrg  | --program-transfo | --program-transf \
1046b7d53ee5Smrg  | --program-trans | --program-tran \
1047b7d53ee5Smrg  | --progr-tra | --program-tr | --program-t)
1048b7d53ee5Smrg    ac_prev=program_transform_name ;;
1049b7d53ee5Smrg  -program-transform-name=* | --program-transform-name=* \
1050b7d53ee5Smrg  | --program-transform-nam=* | --program-transform-na=* \
1051b7d53ee5Smrg  | --program-transform-n=* | --program-transform-=* \
1052b7d53ee5Smrg  | --program-transform=* | --program-transfor=* \
1053b7d53ee5Smrg  | --program-transfo=* | --program-transf=* \
1054b7d53ee5Smrg  | --program-trans=* | --program-tran=* \
1055b7d53ee5Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
1056b7d53ee5Smrg    program_transform_name=$ac_optarg ;;
1057b7d53ee5Smrg
10582ceb2653Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10592ceb2653Smrg    ac_prev=pdfdir ;;
10602ceb2653Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10612ceb2653Smrg    pdfdir=$ac_optarg ;;
10622ceb2653Smrg
10632ceb2653Smrg  -psdir | --psdir | --psdi | --psd | --ps)
10642ceb2653Smrg    ac_prev=psdir ;;
10652ceb2653Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10662ceb2653Smrg    psdir=$ac_optarg ;;
10672ceb2653Smrg
1068b7d53ee5Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069b7d53ee5Smrg  | -silent | --silent | --silen | --sile | --sil)
1070b7d53ee5Smrg    silent=yes ;;
1071b7d53ee5Smrg
1072b7d53ee5Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073b7d53ee5Smrg    ac_prev=sbindir ;;
1074b7d53ee5Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075b7d53ee5Smrg  | --sbi=* | --sb=*)
1076b7d53ee5Smrg    sbindir=$ac_optarg ;;
1077b7d53ee5Smrg
1078b7d53ee5Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079b7d53ee5Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080b7d53ee5Smrg  | --sharedst | --shareds | --shared | --share | --shar \
1081b7d53ee5Smrg  | --sha | --sh)
1082b7d53ee5Smrg    ac_prev=sharedstatedir ;;
1083b7d53ee5Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084b7d53ee5Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085b7d53ee5Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086b7d53ee5Smrg  | --sha=* | --sh=*)
1087b7d53ee5Smrg    sharedstatedir=$ac_optarg ;;
1088b7d53ee5Smrg
1089b7d53ee5Smrg  -site | --site | --sit)
1090b7d53ee5Smrg    ac_prev=site ;;
1091b7d53ee5Smrg  -site=* | --site=* | --sit=*)
1092b7d53ee5Smrg    site=$ac_optarg ;;
1093b7d53ee5Smrg
1094b7d53ee5Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095b7d53ee5Smrg    ac_prev=srcdir ;;
1096b7d53ee5Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097b7d53ee5Smrg    srcdir=$ac_optarg ;;
1098b7d53ee5Smrg
1099b7d53ee5Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100b7d53ee5Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
1101b7d53ee5Smrg    ac_prev=sysconfdir ;;
1102b7d53ee5Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103b7d53ee5Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104b7d53ee5Smrg    sysconfdir=$ac_optarg ;;
1105b7d53ee5Smrg
1106b7d53ee5Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1107b7d53ee5Smrg    ac_prev=target_alias ;;
1108b7d53ee5Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109b7d53ee5Smrg    target_alias=$ac_optarg ;;
1110b7d53ee5Smrg
1111b7d53ee5Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112b7d53ee5Smrg    verbose=yes ;;
1113b7d53ee5Smrg
1114b7d53ee5Smrg  -version | --version | --versio | --versi | --vers | -V)
1115b7d53ee5Smrg    ac_init_version=: ;;
1116b7d53ee5Smrg
1117b7d53ee5Smrg  -with-* | --with-*)
11182ceb2653Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119b7d53ee5Smrg    # Reject names that are not valid shell variable names.
11202ceb2653Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11212ceb2653Smrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1122b7d53ee5Smrg   { (exit 1); exit 1; }; }
11232ceb2653Smrg    ac_useropt_orig=$ac_useropt
11242ceb2653Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11252ceb2653Smrg    case $ac_user_opts in
11262ceb2653Smrg      *"
11272ceb2653Smrg"with_$ac_useropt"
11282ceb2653Smrg"*) ;;
11292ceb2653Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
11302ceb2653Smrg	 ac_unrecognized_sep=', ';;
1131b7d53ee5Smrg    esac
11322ceb2653Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1133b7d53ee5Smrg
1134b7d53ee5Smrg  -without-* | --without-*)
11352ceb2653Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136b7d53ee5Smrg    # Reject names that are not valid shell variable names.
11372ceb2653Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11382ceb2653Smrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1139b7d53ee5Smrg   { (exit 1); exit 1; }; }
11402ceb2653Smrg    ac_useropt_orig=$ac_useropt
11412ceb2653Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11422ceb2653Smrg    case $ac_user_opts in
11432ceb2653Smrg      *"
11442ceb2653Smrg"with_$ac_useropt"
11452ceb2653Smrg"*) ;;
11462ceb2653Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11472ceb2653Smrg	 ac_unrecognized_sep=', ';;
11482ceb2653Smrg    esac
11492ceb2653Smrg    eval with_$ac_useropt=no ;;
1150b7d53ee5Smrg
1151b7d53ee5Smrg  --x)
1152b7d53ee5Smrg    # Obsolete; use --with-x.
1153b7d53ee5Smrg    with_x=yes ;;
1154b7d53ee5Smrg
1155b7d53ee5Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156b7d53ee5Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1157b7d53ee5Smrg    ac_prev=x_includes ;;
1158b7d53ee5Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159b7d53ee5Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160b7d53ee5Smrg    x_includes=$ac_optarg ;;
1161b7d53ee5Smrg
1162b7d53ee5Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163b7d53ee5Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164b7d53ee5Smrg    ac_prev=x_libraries ;;
1165b7d53ee5Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166b7d53ee5Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167b7d53ee5Smrg    x_libraries=$ac_optarg ;;
1168b7d53ee5Smrg
11692ceb2653Smrg  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1170b7d53ee5SmrgTry \`$0 --help' for more information." >&2
1171b7d53ee5Smrg   { (exit 1); exit 1; }; }
1172b7d53ee5Smrg    ;;
1173b7d53ee5Smrg
1174b7d53ee5Smrg  *=*)
1175b7d53ee5Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1176b7d53ee5Smrg    # Reject names that are not valid shell variable names.
1177b7d53ee5Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
11782ceb2653Smrg      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1179b7d53ee5Smrg   { (exit 1); exit 1; }; }
11802ceb2653Smrg    eval $ac_envvar=\$ac_optarg
1181b7d53ee5Smrg    export $ac_envvar ;;
1182b7d53ee5Smrg
1183b7d53ee5Smrg  *)
1184b7d53ee5Smrg    # FIXME: should be removed in autoconf 3.0.
11852ceb2653Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186b7d53ee5Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11872ceb2653Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188b7d53ee5Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1189b7d53ee5Smrg    ;;
1190b7d53ee5Smrg
1191b7d53ee5Smrg  esac
1192b7d53ee5Smrgdone
1193b7d53ee5Smrg
1194b7d53ee5Smrgif test -n "$ac_prev"; then
1195b7d53ee5Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11962ceb2653Smrg  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1197b7d53ee5Smrg   { (exit 1); exit 1; }; }
1198b7d53ee5Smrgfi
1199b7d53ee5Smrg
12002ceb2653Smrgif test -n "$ac_unrecognized_opts"; then
12012ceb2653Smrg  case $enable_option_checking in
12022ceb2653Smrg    no) ;;
12032ceb2653Smrg    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
12042ceb2653Smrg   { (exit 1); exit 1; }; } ;;
12052ceb2653Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206b7d53ee5Smrg  esac
12072ceb2653Smrgfi
1208b7d53ee5Smrg
12092ceb2653Smrg# Check all directory arguments for consistency.
12102ceb2653Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
12112ceb2653Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
12122ceb2653Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12132ceb2653Smrg		libdir localedir mandir
1214b7d53ee5Smrgdo
12152ceb2653Smrg  eval ac_val=\$$ac_var
12162ceb2653Smrg  # Remove trailing slashes.
1217b7d53ee5Smrg  case $ac_val in
12182ceb2653Smrg    */ )
12192ceb2653Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
12202ceb2653Smrg      eval $ac_var=\$ac_val;;
12212ceb2653Smrg  esac
12222ceb2653Smrg  # Be sure to have absolute directory names.
12232ceb2653Smrg  case $ac_val in
12242ceb2653Smrg    [\\/$]* | ?:[\\/]* )  continue;;
12252ceb2653Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1226b7d53ee5Smrg  esac
12272ceb2653Smrg  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
12282ceb2653Smrg   { (exit 1); exit 1; }; }
1229b7d53ee5Smrgdone
1230b7d53ee5Smrg
1231b7d53ee5Smrg# There might be people who depend on the old broken behavior: `$host'
1232b7d53ee5Smrg# used to hold the argument of --host etc.
1233b7d53ee5Smrg# FIXME: To remove some day.
1234b7d53ee5Smrgbuild=$build_alias
1235b7d53ee5Smrghost=$host_alias
1236b7d53ee5Smrgtarget=$target_alias
1237b7d53ee5Smrg
1238b7d53ee5Smrg# FIXME: To remove some day.
1239b7d53ee5Smrgif test "x$host_alias" != x; then
1240b7d53ee5Smrg  if test "x$build_alias" = x; then
1241b7d53ee5Smrg    cross_compiling=maybe
12422ceb2653Smrg    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1243b7d53ee5Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
1244b7d53ee5Smrg  elif test "x$build_alias" != "x$host_alias"; then
1245b7d53ee5Smrg    cross_compiling=yes
1246b7d53ee5Smrg  fi
1247b7d53ee5Smrgfi
1248b7d53ee5Smrg
1249b7d53ee5Smrgac_tool_prefix=
1250b7d53ee5Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1251b7d53ee5Smrg
1252b7d53ee5Smrgtest "$silent" = yes && exec 6>/dev/null
1253b7d53ee5Smrg
1254b7d53ee5Smrg
12552ceb2653Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
12562ceb2653Smrgac_ls_di=`ls -di .` &&
12572ceb2653Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12582ceb2653Smrg  { $as_echo "$as_me: error: working directory cannot be determined" >&2
12592ceb2653Smrg   { (exit 1); exit 1; }; }
12602ceb2653Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12612ceb2653Smrg  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
12622ceb2653Smrg   { (exit 1); exit 1; }; }
12632ceb2653Smrg
12642ceb2653Smrg
1265b7d53ee5Smrg# Find the source files, if location was not specified.
1266b7d53ee5Smrgif test -z "$srcdir"; then
1267b7d53ee5Smrg  ac_srcdir_defaulted=yes
12682ceb2653Smrg  # Try the directory containing this script, then the parent directory.
12692ceb2653Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
12702ceb2653Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12712ceb2653Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
12722ceb2653Smrg	 X"$as_myself" : 'X\(//\)$' \| \
12732ceb2653Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12742ceb2653Smrg$as_echo X"$as_myself" |
12752ceb2653Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12762ceb2653Smrg	    s//\1/
12772ceb2653Smrg	    q
12782ceb2653Smrg	  }
12792ceb2653Smrg	  /^X\(\/\/\)[^/].*/{
12802ceb2653Smrg	    s//\1/
12812ceb2653Smrg	    q
12822ceb2653Smrg	  }
12832ceb2653Smrg	  /^X\(\/\/\)$/{
12842ceb2653Smrg	    s//\1/
12852ceb2653Smrg	    q
12862ceb2653Smrg	  }
12872ceb2653Smrg	  /^X\(\/\).*/{
12882ceb2653Smrg	    s//\1/
12892ceb2653Smrg	    q
12902ceb2653Smrg	  }
12912ceb2653Smrg	  s/.*/./; q'`
1292b7d53ee5Smrg  srcdir=$ac_confdir
12932ceb2653Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1294b7d53ee5Smrg    srcdir=..
1295b7d53ee5Smrg  fi
1296b7d53ee5Smrgelse
1297b7d53ee5Smrg  ac_srcdir_defaulted=no
1298b7d53ee5Smrgfi
12992ceb2653Smrgif test ! -r "$srcdir/$ac_unique_file"; then
13002ceb2653Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
13012ceb2653Smrg  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1302b7d53ee5Smrg   { (exit 1); exit 1; }; }
1303b7d53ee5Smrgfi
13042ceb2653Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
13052ceb2653Smrgac_abs_confdir=`(
13062ceb2653Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1307b7d53ee5Smrg   { (exit 1); exit 1; }; }
13082ceb2653Smrg	pwd)`
13092ceb2653Smrg# When building in place, set srcdir=.
13102ceb2653Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
13112ceb2653Smrg  srcdir=.
13122ceb2653Smrgfi
13132ceb2653Smrg# Remove unnecessary trailing slashes from srcdir.
13142ceb2653Smrg# Double slashes in file names in object file debugging info
13152ceb2653Smrg# mess up M-x gdb in Emacs.
13162ceb2653Smrgcase $srcdir in
13172ceb2653Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
13182ceb2653Smrgesac
13192ceb2653Smrgfor ac_var in $ac_precious_vars; do
13202ceb2653Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
13212ceb2653Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
13222ceb2653Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
13232ceb2653Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
13242ceb2653Smrgdone
1325b7d53ee5Smrg
1326b7d53ee5Smrg#
1327b7d53ee5Smrg# Report the --help message.
1328b7d53ee5Smrg#
1329b7d53ee5Smrgif test "$ac_init_help" = "long"; then
1330b7d53ee5Smrg  # Omit some internal or obsolete options to make the list less imposing.
1331b7d53ee5Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1332b7d53ee5Smrg  cat <<_ACEOF
13332ceb2653Smrg\`configure' configures font-dec-misc 1.0.1 to adapt to many kinds of systems.
1334b7d53ee5Smrg
1335b7d53ee5SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1336b7d53ee5Smrg
1337b7d53ee5SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1338b7d53ee5SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1339b7d53ee5Smrg
1340b7d53ee5SmrgDefaults for the options are specified in brackets.
1341b7d53ee5Smrg
1342b7d53ee5SmrgConfiguration:
1343b7d53ee5Smrg  -h, --help              display this help and exit
1344b7d53ee5Smrg      --help=short        display options specific to this package
1345b7d53ee5Smrg      --help=recursive    display the short help of all the included packages
1346b7d53ee5Smrg  -V, --version           display version information and exit
1347b7d53ee5Smrg  -q, --quiet, --silent   do not print \`checking...' messages
1348b7d53ee5Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1349b7d53ee5Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1350b7d53ee5Smrg  -n, --no-create         do not create output files
1351b7d53ee5Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1352b7d53ee5Smrg
1353b7d53ee5SmrgInstallation directories:
1354b7d53ee5Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
13552ceb2653Smrg                          [$ac_default_prefix]
1356b7d53ee5Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
13572ceb2653Smrg                          [PREFIX]
1358b7d53ee5Smrg
1359b7d53ee5SmrgBy default, \`make install' will install all the files in
1360b7d53ee5Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1361b7d53ee5Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362b7d53ee5Smrgfor instance \`--prefix=\$HOME'.
1363b7d53ee5Smrg
1364b7d53ee5SmrgFor better control, use the options below.
1365b7d53ee5Smrg
1366b7d53ee5SmrgFine tuning of the installation directories:
13672ceb2653Smrg  --bindir=DIR            user executables [EPREFIX/bin]
13682ceb2653Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
13692ceb2653Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
13702ceb2653Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
13712ceb2653Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
13722ceb2653Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
13732ceb2653Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
13742ceb2653Smrg  --includedir=DIR        C header files [PREFIX/include]
13752ceb2653Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
13762ceb2653Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
13772ceb2653Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
13782ceb2653Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
13792ceb2653Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
13802ceb2653Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
13812ceb2653Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/font-dec-misc]
13822ceb2653Smrg  --htmldir=DIR           html documentation [DOCDIR]
13832ceb2653Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
13842ceb2653Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13852ceb2653Smrg  --psdir=DIR             ps documentation [DOCDIR]
1386b7d53ee5Smrg_ACEOF
1387b7d53ee5Smrg
1388b7d53ee5Smrg  cat <<\_ACEOF
1389b7d53ee5Smrg
1390b7d53ee5SmrgProgram names:
1391b7d53ee5Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1392b7d53ee5Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1393b7d53ee5Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13942ceb2653Smrg
13952ceb2653SmrgSystem types:
13962ceb2653Smrg  --build=BUILD     configure for building on BUILD [guessed]
13972ceb2653Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1398b7d53ee5Smrg_ACEOF
1399b7d53ee5Smrgfi
1400b7d53ee5Smrg
1401b7d53ee5Smrgif test -n "$ac_init_help"; then
1402b7d53ee5Smrg  case $ac_init_help in
14032ceb2653Smrg     short | recursive ) echo "Configuration of font-dec-misc 1.0.1:";;
1404b7d53ee5Smrg   esac
1405b7d53ee5Smrg  cat <<\_ACEOF
1406b7d53ee5Smrg
1407b7d53ee5SmrgOptional Features:
14082ceb2653Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
1409b7d53ee5Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1410b7d53ee5Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
14112ceb2653Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
14122ceb2653Smrg			  (and sometimes confusing) to the casual installer
14132ceb2653Smrg  --disable-dependency-tracking  speeds up one-time build
14142ceb2653Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
14152ceb2653Smrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
14162ceb2653Smrg  --disable-silent-rules         verbose build output (undo: `make V=0')
14172ceb2653Smrg  --enable-strict-compilation
14182ceb2653Smrg                          Enable all warnings from compiler and make them
14192ceb2653Smrg                          errors (default: disabled)
1420b7d53ee5Smrg
1421b7d53ee5SmrgOptional Packages:
1422b7d53ee5Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1423b7d53ee5Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1424b7d53ee5Smrg  --with-release-version=STRING
1425b7d53ee5Smrg                          Use release version string in package name
14262ceb2653Smrg  --with-fontrootdir=DIR  Path to root directory for font files
14272ceb2653Smrg  --with-fontdir=DIR      Path to misc files [FONTROOTDIR/misc]
14282ceb2653Smrg  --with-compression=<no|compress|gzip|bzip2>
14292ceb2653Smrg                          compression method to use on pcf fonts
14302ceb2653Smrg
14312ceb2653SmrgSome influential environment variables:
14322ceb2653Smrg  CC          C compiler command
14332ceb2653Smrg  CFLAGS      C compiler flags
14342ceb2653Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
14352ceb2653Smrg              nonstandard directory <lib dir>
14362ceb2653Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
14372ceb2653Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
14382ceb2653Smrg              you have headers in a nonstandard directory <include dir>
14392ceb2653Smrg  CPP         C preprocessor
14402ceb2653Smrg  PKG_CONFIG  path to pkg-config utility
14412ceb2653Smrg
14422ceb2653SmrgUse these variables to override the choices made by `configure' or to help
14432ceb2653Smrgit to find libraries and programs with nonstandard names/locations.
1444b7d53ee5Smrg
1445b7d53ee5SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1446b7d53ee5Smrg_ACEOF
14472ceb2653Smrgac_status=$?
1448b7d53ee5Smrgfi
1449b7d53ee5Smrg
1450b7d53ee5Smrgif test "$ac_init_help" = "recursive"; then
1451b7d53ee5Smrg  # If there are subdirs, report their specific --help.
1452b7d53ee5Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
14532ceb2653Smrg    test -d "$ac_dir" ||
14542ceb2653Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14552ceb2653Smrg      continue
1456b7d53ee5Smrg    ac_builddir=.
1457b7d53ee5Smrg
14582ceb2653Smrgcase "$ac_dir" in
14592ceb2653Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14602ceb2653Smrg*)
14612ceb2653Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14622ceb2653Smrg  # A ".." for each directory in $ac_dir_suffix.
14632ceb2653Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14642ceb2653Smrg  case $ac_top_builddir_sub in
14652ceb2653Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14662ceb2653Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14672ceb2653Smrg  esac ;;
14682ceb2653Smrgesac
14692ceb2653Smrgac_abs_top_builddir=$ac_pwd
14702ceb2653Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
14712ceb2653Smrg# for backward compatibility:
14722ceb2653Smrgac_top_builddir=$ac_top_build_prefix
1473b7d53ee5Smrg
1474b7d53ee5Smrgcase $srcdir in
14752ceb2653Smrg  .)  # We are building in place.
1476b7d53ee5Smrg    ac_srcdir=.
14772ceb2653Smrg    ac_top_srcdir=$ac_top_builddir_sub
14782ceb2653Smrg    ac_abs_top_srcdir=$ac_pwd ;;
14792ceb2653Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1480b7d53ee5Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
14812ceb2653Smrg    ac_top_srcdir=$srcdir
14822ceb2653Smrg    ac_abs_top_srcdir=$srcdir ;;
14832ceb2653Smrg  *) # Relative name.
14842ceb2653Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14852ceb2653Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
14862ceb2653Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487b7d53ee5Smrgesac
14882ceb2653Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14892ceb2653Smrg
14902ceb2653Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
14912ceb2653Smrg    # Check for guested configure.
14922ceb2653Smrg    if test -f "$ac_srcdir/configure.gnu"; then
14932ceb2653Smrg      echo &&
14942ceb2653Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14952ceb2653Smrg    elif test -f "$ac_srcdir/configure"; then
14962ceb2653Smrg      echo &&
14972ceb2653Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1498b7d53ee5Smrg    else
14992ceb2653Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15002ceb2653Smrg    fi || ac_status=$?
15012ceb2653Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1502b7d53ee5Smrg  done
1503b7d53ee5Smrgfi
1504b7d53ee5Smrg
15052ceb2653Smrgtest -n "$ac_init_help" && exit $ac_status
1506b7d53ee5Smrgif $ac_init_version; then
1507b7d53ee5Smrg  cat <<\_ACEOF
15082ceb2653Smrgfont-dec-misc configure 1.0.1
15092ceb2653Smrggenerated by GNU Autoconf 2.63
1510b7d53ee5Smrg
15112ceb2653SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15122ceb2653Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1513b7d53ee5SmrgThis configure script is free software; the Free Software Foundation
1514b7d53ee5Smrggives unlimited permission to copy, distribute and modify it.
1515b7d53ee5Smrg_ACEOF
15162ceb2653Smrg  exit
1517b7d53ee5Smrgfi
15182ceb2653Smrgcat >config.log <<_ACEOF
1519b7d53ee5SmrgThis file contains any messages produced by compilers while
1520b7d53ee5Smrgrunning configure, to aid debugging if configure makes a mistake.
1521b7d53ee5Smrg
15222ceb2653SmrgIt was created by font-dec-misc $as_me 1.0.1, which was
15232ceb2653Smrggenerated by GNU Autoconf 2.63.  Invocation command line was
1524b7d53ee5Smrg
1525b7d53ee5Smrg  $ $0 $@
1526b7d53ee5Smrg
1527b7d53ee5Smrg_ACEOF
15282ceb2653Smrgexec 5>>config.log
1529b7d53ee5Smrg{
1530b7d53ee5Smrgcat <<_ASUNAME
1531b7d53ee5Smrg## --------- ##
1532b7d53ee5Smrg## Platform. ##
1533b7d53ee5Smrg## --------- ##
1534b7d53ee5Smrg
1535b7d53ee5Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1536b7d53ee5Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1537b7d53ee5Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1538b7d53ee5Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1539b7d53ee5Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1540b7d53ee5Smrg
1541b7d53ee5Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1542b7d53ee5Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1543b7d53ee5Smrg
1544b7d53ee5Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1545b7d53ee5Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1546b7d53ee5Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
15472ceb2653Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1548b7d53ee5Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1549b7d53ee5Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1550b7d53ee5Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1551b7d53ee5Smrg
1552b7d53ee5Smrg_ASUNAME
1553b7d53ee5Smrg
1554b7d53ee5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1555b7d53ee5Smrgfor as_dir in $PATH
1556b7d53ee5Smrgdo
1557b7d53ee5Smrg  IFS=$as_save_IFS
1558b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
15592ceb2653Smrg  $as_echo "PATH: $as_dir"
1560b7d53ee5Smrgdone
15612ceb2653SmrgIFS=$as_save_IFS
1562b7d53ee5Smrg
1563b7d53ee5Smrg} >&5
1564b7d53ee5Smrg
1565b7d53ee5Smrgcat >&5 <<_ACEOF
1566b7d53ee5Smrg
1567b7d53ee5Smrg
1568b7d53ee5Smrg## ----------- ##
1569b7d53ee5Smrg## Core tests. ##
1570b7d53ee5Smrg## ----------- ##
1571b7d53ee5Smrg
1572b7d53ee5Smrg_ACEOF
1573b7d53ee5Smrg
1574b7d53ee5Smrg
1575b7d53ee5Smrg# Keep a trace of the command line.
1576b7d53ee5Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1577b7d53ee5Smrg# Strip out --silent because we don't want to record it for future runs.
1578b7d53ee5Smrg# Also quote any args containing shell meta-characters.
1579b7d53ee5Smrg# Make two passes to allow for proper duplicate-argument suppression.
1580b7d53ee5Smrgac_configure_args=
1581b7d53ee5Smrgac_configure_args0=
1582b7d53ee5Smrgac_configure_args1=
1583b7d53ee5Smrgac_must_keep_next=false
1584b7d53ee5Smrgfor ac_pass in 1 2
1585b7d53ee5Smrgdo
1586b7d53ee5Smrg  for ac_arg
1587b7d53ee5Smrg  do
1588b7d53ee5Smrg    case $ac_arg in
1589b7d53ee5Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1590b7d53ee5Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1591b7d53ee5Smrg    | -silent | --silent | --silen | --sile | --sil)
1592b7d53ee5Smrg      continue ;;
15932ceb2653Smrg    *\'*)
15942ceb2653Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1595b7d53ee5Smrg    esac
1596b7d53ee5Smrg    case $ac_pass in
1597b7d53ee5Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1598b7d53ee5Smrg    2)
1599b7d53ee5Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1600b7d53ee5Smrg      if test $ac_must_keep_next = true; then
1601b7d53ee5Smrg	ac_must_keep_next=false # Got value, back to normal.
1602b7d53ee5Smrg      else
1603b7d53ee5Smrg	case $ac_arg in
1604b7d53ee5Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1605b7d53ee5Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1606b7d53ee5Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1607b7d53ee5Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1608b7d53ee5Smrg	    case "$ac_configure_args0 " in
1609b7d53ee5Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1610b7d53ee5Smrg	    esac
1611b7d53ee5Smrg	    ;;
1612b7d53ee5Smrg	  -* ) ac_must_keep_next=true ;;
1613b7d53ee5Smrg	esac
1614b7d53ee5Smrg      fi
16152ceb2653Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
1616b7d53ee5Smrg      ;;
1617b7d53ee5Smrg    esac
1618b7d53ee5Smrg  done
1619b7d53ee5Smrgdone
1620b7d53ee5Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1621b7d53ee5Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1622b7d53ee5Smrg
1623b7d53ee5Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1624b7d53ee5Smrg# config.log.  We remove comments because anyway the quotes in there
1625b7d53ee5Smrg# would cause problems or look ugly.
16262ceb2653Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
16272ceb2653Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1628b7d53ee5Smrgtrap 'exit_status=$?
1629b7d53ee5Smrg  # Save into config.log some information that might help in debugging.
1630b7d53ee5Smrg  {
1631b7d53ee5Smrg    echo
1632b7d53ee5Smrg
1633b7d53ee5Smrg    cat <<\_ASBOX
1634b7d53ee5Smrg## ---------------- ##
1635b7d53ee5Smrg## Cache variables. ##
1636b7d53ee5Smrg## ---------------- ##
1637b7d53ee5Smrg_ASBOX
1638b7d53ee5Smrg    echo
1639b7d53ee5Smrg    # The following way of writing the cache mishandles newlines in values,
16402ceb2653Smrg(
16412ceb2653Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
16422ceb2653Smrg    eval ac_val=\$$ac_var
16432ceb2653Smrg    case $ac_val in #(
16442ceb2653Smrg    *${as_nl}*)
16452ceb2653Smrg      case $ac_var in #(
16462ceb2653Smrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
16472ceb2653Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16482ceb2653Smrg      esac
16492ceb2653Smrg      case $ac_var in #(
16502ceb2653Smrg      _ | IFS | as_nl) ;; #(
16512ceb2653Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16522ceb2653Smrg      *) $as_unset $ac_var ;;
16532ceb2653Smrg      esac ;;
16542ceb2653Smrg    esac
16552ceb2653Smrg  done
1656b7d53ee5Smrg  (set) 2>&1 |
16572ceb2653Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
16582ceb2653Smrg    *${as_nl}ac_space=\ *)
1659b7d53ee5Smrg      sed -n \
16602ceb2653Smrg	"s/'\''/'\''\\\\'\'''\''/g;
16612ceb2653Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
16622ceb2653Smrg      ;; #(
1663b7d53ee5Smrg    *)
16642ceb2653Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1665b7d53ee5Smrg      ;;
16662ceb2653Smrg    esac |
16672ceb2653Smrg    sort
16682ceb2653Smrg)
1669b7d53ee5Smrg    echo
1670b7d53ee5Smrg
1671b7d53ee5Smrg    cat <<\_ASBOX
1672b7d53ee5Smrg## ----------------- ##
1673b7d53ee5Smrg## Output variables. ##
1674b7d53ee5Smrg## ----------------- ##
1675b7d53ee5Smrg_ASBOX
1676b7d53ee5Smrg    echo
1677b7d53ee5Smrg    for ac_var in $ac_subst_vars
1678b7d53ee5Smrg    do
16792ceb2653Smrg      eval ac_val=\$$ac_var
16802ceb2653Smrg      case $ac_val in
16812ceb2653Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16822ceb2653Smrg      esac
16832ceb2653Smrg      $as_echo "$ac_var='\''$ac_val'\''"
1684b7d53ee5Smrg    done | sort
1685b7d53ee5Smrg    echo
1686b7d53ee5Smrg
1687b7d53ee5Smrg    if test -n "$ac_subst_files"; then
1688b7d53ee5Smrg      cat <<\_ASBOX
16892ceb2653Smrg## ------------------- ##
16902ceb2653Smrg## File substitutions. ##
16912ceb2653Smrg## ------------------- ##
1692b7d53ee5Smrg_ASBOX
1693b7d53ee5Smrg      echo
1694b7d53ee5Smrg      for ac_var in $ac_subst_files
1695b7d53ee5Smrg      do
16962ceb2653Smrg	eval ac_val=\$$ac_var
16972ceb2653Smrg	case $ac_val in
16982ceb2653Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16992ceb2653Smrg	esac
17002ceb2653Smrg	$as_echo "$ac_var='\''$ac_val'\''"
1701b7d53ee5Smrg      done | sort
1702b7d53ee5Smrg      echo
1703b7d53ee5Smrg    fi
1704b7d53ee5Smrg
1705b7d53ee5Smrg    if test -s confdefs.h; then
1706b7d53ee5Smrg      cat <<\_ASBOX
1707b7d53ee5Smrg## ----------- ##
1708b7d53ee5Smrg## confdefs.h. ##
1709b7d53ee5Smrg## ----------- ##
1710b7d53ee5Smrg_ASBOX
1711b7d53ee5Smrg      echo
17122ceb2653Smrg      cat confdefs.h
1713b7d53ee5Smrg      echo
1714b7d53ee5Smrg    fi
1715b7d53ee5Smrg    test "$ac_signal" != 0 &&
17162ceb2653Smrg      $as_echo "$as_me: caught signal $ac_signal"
17172ceb2653Smrg    $as_echo "$as_me: exit $exit_status"
1718b7d53ee5Smrg  } >&5
17192ceb2653Smrg  rm -f core *.core core.conftest.* &&
17202ceb2653Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1721b7d53ee5Smrg    exit $exit_status
17222ceb2653Smrg' 0
1723b7d53ee5Smrgfor ac_signal in 1 2 13 15; do
1724b7d53ee5Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1725b7d53ee5Smrgdone
1726b7d53ee5Smrgac_signal=0
1727b7d53ee5Smrg
1728b7d53ee5Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
17292ceb2653Smrgrm -f -r conftest* confdefs.h
1730b7d53ee5Smrg
1731b7d53ee5Smrg# Predefined preprocessor variables.
1732b7d53ee5Smrg
1733b7d53ee5Smrgcat >>confdefs.h <<_ACEOF
1734b7d53ee5Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
1735b7d53ee5Smrg_ACEOF
1736b7d53ee5Smrg
1737b7d53ee5Smrg
1738b7d53ee5Smrgcat >>confdefs.h <<_ACEOF
1739b7d53ee5Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1740b7d53ee5Smrg_ACEOF
1741b7d53ee5Smrg
1742b7d53ee5Smrg
1743b7d53ee5Smrgcat >>confdefs.h <<_ACEOF
1744b7d53ee5Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1745b7d53ee5Smrg_ACEOF
1746b7d53ee5Smrg
1747b7d53ee5Smrg
1748b7d53ee5Smrgcat >>confdefs.h <<_ACEOF
1749b7d53ee5Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
1750b7d53ee5Smrg_ACEOF
1751b7d53ee5Smrg
1752b7d53ee5Smrg
1753b7d53ee5Smrgcat >>confdefs.h <<_ACEOF
1754b7d53ee5Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1755b7d53ee5Smrg_ACEOF
1756b7d53ee5Smrg
1757b7d53ee5Smrg
1758b7d53ee5Smrg# Let the site file select an alternate cache file if it wants to.
17592ceb2653Smrg# Prefer an explicitly selected file to automatically selected ones.
17602ceb2653Smrgac_site_file1=NONE
17612ceb2653Smrgac_site_file2=NONE
17622ceb2653Smrgif test -n "$CONFIG_SITE"; then
17632ceb2653Smrg  ac_site_file1=$CONFIG_SITE
17642ceb2653Smrgelif test "x$prefix" != xNONE; then
17652ceb2653Smrg  ac_site_file1=$prefix/share/config.site
17662ceb2653Smrg  ac_site_file2=$prefix/etc/config.site
17672ceb2653Smrgelse
17682ceb2653Smrg  ac_site_file1=$ac_default_prefix/share/config.site
17692ceb2653Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
1770b7d53ee5Smrgfi
17712ceb2653Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
17722ceb2653Smrgdo
17732ceb2653Smrg  test "x$ac_site_file" = xNONE && continue
1774b7d53ee5Smrg  if test -r "$ac_site_file"; then
17752ceb2653Smrg    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
17762ceb2653Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1777b7d53ee5Smrg    sed 's/^/| /' "$ac_site_file" >&5
1778b7d53ee5Smrg    . "$ac_site_file"
1779b7d53ee5Smrg  fi
1780b7d53ee5Smrgdone
1781b7d53ee5Smrg
1782b7d53ee5Smrgif test -r "$cache_file"; then
1783b7d53ee5Smrg  # Some versions of bash will fail to source /dev/null (special
1784b7d53ee5Smrg  # files actually), so we avoid doing that.
1785b7d53ee5Smrg  if test -f "$cache_file"; then
17862ceb2653Smrg    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
17872ceb2653Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1788b7d53ee5Smrg    case $cache_file in
17892ceb2653Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
17902ceb2653Smrg      *)                      . "./$cache_file";;
1791b7d53ee5Smrg    esac
1792b7d53ee5Smrg  fi
1793b7d53ee5Smrgelse
17942ceb2653Smrg  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
17952ceb2653Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1796b7d53ee5Smrg  >$cache_file
1797b7d53ee5Smrgfi
1798b7d53ee5Smrg
1799b7d53ee5Smrg# Check that the precious variables saved in the cache have kept the same
1800b7d53ee5Smrg# value.
1801b7d53ee5Smrgac_cache_corrupted=false
18022ceb2653Smrgfor ac_var in $ac_precious_vars; do
1803b7d53ee5Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1804b7d53ee5Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
18052ceb2653Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
18062ceb2653Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1807b7d53ee5Smrg  case $ac_old_set,$ac_new_set in
1808b7d53ee5Smrg    set,)
18092ceb2653Smrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18102ceb2653Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1811b7d53ee5Smrg      ac_cache_corrupted=: ;;
1812b7d53ee5Smrg    ,set)
18132ceb2653Smrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
18142ceb2653Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1815b7d53ee5Smrg      ac_cache_corrupted=: ;;
1816b7d53ee5Smrg    ,);;
1817b7d53ee5Smrg    *)
1818b7d53ee5Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
18192ceb2653Smrg	# differences in whitespace do not lead to failure.
18202ceb2653Smrg	ac_old_val_w=`echo x $ac_old_val`
18212ceb2653Smrg	ac_new_val_w=`echo x $ac_new_val`
18222ceb2653Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
18232ceb2653Smrg	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
18242ceb2653Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
18252ceb2653Smrg	  ac_cache_corrupted=:
18262ceb2653Smrg	else
18272ceb2653Smrg	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18282ceb2653Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
18292ceb2653Smrg	  eval $ac_var=\$ac_old_val
18302ceb2653Smrg	fi
18312ceb2653Smrg	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
18322ceb2653Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
18332ceb2653Smrg	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
18342ceb2653Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1835b7d53ee5Smrg      fi;;
1836b7d53ee5Smrg  esac
1837b7d53ee5Smrg  # Pass precious variables to config.status.
1838b7d53ee5Smrg  if test "$ac_new_set" = set; then
1839b7d53ee5Smrg    case $ac_new_val in
18402ceb2653Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1841b7d53ee5Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1842b7d53ee5Smrg    esac
1843b7d53ee5Smrg    case " $ac_configure_args " in
1844b7d53ee5Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1845b7d53ee5Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1846b7d53ee5Smrg    esac
1847b7d53ee5Smrg  fi
1848b7d53ee5Smrgdone
1849b7d53ee5Smrgif $ac_cache_corrupted; then
18502ceb2653Smrg  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18512ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18522ceb2653Smrg  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
18532ceb2653Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
18542ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
18552ceb2653Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1856b7d53ee5Smrg   { (exit 1); exit 1; }; }
1857b7d53ee5Smrgfi
1858b7d53ee5Smrg
1859b7d53ee5Smrg
1860b7d53ee5Smrg
1861b7d53ee5Smrg
1862b7d53ee5Smrg
1863b7d53ee5Smrg
1864b7d53ee5Smrg
1865b7d53ee5Smrg
1866b7d53ee5Smrg
1867b7d53ee5Smrg
1868b7d53ee5Smrg
1869b7d53ee5Smrg
1870b7d53ee5Smrg
1871b7d53ee5Smrg
1872b7d53ee5Smrg
1873b7d53ee5Smrg
1874b7d53ee5Smrg
1875b7d53ee5Smrg
1876b7d53ee5Smrg
1877b7d53ee5Smrg
1878b7d53ee5Smrg
1879b7d53ee5Smrg
1880b7d53ee5Smrg
1881b7d53ee5Smrg
1882b7d53ee5Smrg
18832ceb2653Smrgac_ext=c
18842ceb2653Smrgac_cpp='$CPP $CPPFLAGS'
18852ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18862ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18872ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1888b7d53ee5Smrg
1889b7d53ee5Smrg
18902ceb2653Smrgam__api_version='1.11'
1891b7d53ee5Smrg
1892b7d53ee5Smrgac_aux_dir=
18932ceb2653Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
18942ceb2653Smrg  if test -f "$ac_dir/install-sh"; then
1895b7d53ee5Smrg    ac_aux_dir=$ac_dir
1896b7d53ee5Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
1897b7d53ee5Smrg    break
18982ceb2653Smrg  elif test -f "$ac_dir/install.sh"; then
1899b7d53ee5Smrg    ac_aux_dir=$ac_dir
1900b7d53ee5Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
1901b7d53ee5Smrg    break
19022ceb2653Smrg  elif test -f "$ac_dir/shtool"; then
1903b7d53ee5Smrg    ac_aux_dir=$ac_dir
1904b7d53ee5Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
1905b7d53ee5Smrg    break
1906b7d53ee5Smrg  fi
1907b7d53ee5Smrgdone
1908b7d53ee5Smrgif test -z "$ac_aux_dir"; then
19092ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
19102ceb2653Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1911b7d53ee5Smrg   { (exit 1); exit 1; }; }
1912b7d53ee5Smrgfi
19132ceb2653Smrg
19142ceb2653Smrg# These three variables are undocumented and unsupported,
19152ceb2653Smrg# and are intended to be withdrawn in a future Autoconf release.
19162ceb2653Smrg# They can cause serious problems if a builder's source tree is in a directory
19172ceb2653Smrg# whose full name contains unusual characters.
19182ceb2653Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
19192ceb2653Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
19202ceb2653Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
19212ceb2653Smrg
1922b7d53ee5Smrg
1923b7d53ee5Smrg# Find a good install program.  We prefer a C program (faster),
1924b7d53ee5Smrg# so one script is as good as another.  But avoid the broken or
1925b7d53ee5Smrg# incompatible versions:
1926b7d53ee5Smrg# SysV /etc/install, /usr/sbin/install
1927b7d53ee5Smrg# SunOS /usr/etc/install
1928b7d53ee5Smrg# IRIX /sbin/install
1929b7d53ee5Smrg# AIX /bin/install
1930b7d53ee5Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1931b7d53ee5Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1932b7d53ee5Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1933b7d53ee5Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1934b7d53ee5Smrg# OS/2's system install, which has a completely different semantic
1935b7d53ee5Smrg# ./install, which can be erroneously created by make from ./install.sh.
19362ceb2653Smrg# Reject install programs that cannot install multiple files.
19372ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19382ceb2653Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
1939b7d53ee5Smrgif test -z "$INSTALL"; then
1940b7d53ee5Smrgif test "${ac_cv_path_install+set}" = set; then
19412ceb2653Smrg  $as_echo_n "(cached) " >&6
1942b7d53ee5Smrgelse
1943b7d53ee5Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944b7d53ee5Smrgfor as_dir in $PATH
1945b7d53ee5Smrgdo
1946b7d53ee5Smrg  IFS=$as_save_IFS
1947b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
1948b7d53ee5Smrg  # Account for people who put trailing slashes in PATH elements.
1949b7d53ee5Smrgcase $as_dir/ in
1950b7d53ee5Smrg  ./ | .// | /cC/* | \
1951b7d53ee5Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1952b7d53ee5Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1953b7d53ee5Smrg  /usr/ucb/* ) ;;
1954b7d53ee5Smrg  *)
1955b7d53ee5Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1956b7d53ee5Smrg    # Don't use installbsd from OSF since it installs stuff as root
1957b7d53ee5Smrg    # by default.
1958b7d53ee5Smrg    for ac_prog in ginstall scoinst install; do
1959b7d53ee5Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
19602ceb2653Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1961b7d53ee5Smrg	  if test $ac_prog = install &&
1962b7d53ee5Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1963b7d53ee5Smrg	    # AIX install.  It has an incompatible calling convention.
1964b7d53ee5Smrg	    :
1965b7d53ee5Smrg	  elif test $ac_prog = install &&
1966b7d53ee5Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1967b7d53ee5Smrg	    # program-specific install script used by HP pwplus--don't use.
1968b7d53ee5Smrg	    :
1969b7d53ee5Smrg	  else
19702ceb2653Smrg	    rm -rf conftest.one conftest.two conftest.dir
19712ceb2653Smrg	    echo one > conftest.one
19722ceb2653Smrg	    echo two > conftest.two
19732ceb2653Smrg	    mkdir conftest.dir
19742ceb2653Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
19752ceb2653Smrg	      test -s conftest.one && test -s conftest.two &&
19762ceb2653Smrg	      test -s conftest.dir/conftest.one &&
19772ceb2653Smrg	      test -s conftest.dir/conftest.two
19782ceb2653Smrg	    then
19792ceb2653Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19802ceb2653Smrg	      break 3
19812ceb2653Smrg	    fi
1982b7d53ee5Smrg	  fi
1983b7d53ee5Smrg	fi
1984b7d53ee5Smrg      done
1985b7d53ee5Smrg    done
1986b7d53ee5Smrg    ;;
1987b7d53ee5Smrgesac
19882ceb2653Smrg
1989b7d53ee5Smrgdone
19902ceb2653SmrgIFS=$as_save_IFS
1991b7d53ee5Smrg
19922ceb2653Smrgrm -rf conftest.one conftest.two conftest.dir
1993b7d53ee5Smrg
1994b7d53ee5Smrgfi
1995b7d53ee5Smrg  if test "${ac_cv_path_install+set}" = set; then
1996b7d53ee5Smrg    INSTALL=$ac_cv_path_install
1997b7d53ee5Smrg  else
19982ceb2653Smrg    # As a last resort, use the slow shell script.  Don't cache a
19992ceb2653Smrg    # value for INSTALL within a source directory, because that will
2000b7d53ee5Smrg    # break other packages using the cache if that directory is
20012ceb2653Smrg    # removed, or if the value is a relative name.
2002b7d53ee5Smrg    INSTALL=$ac_install_sh
2003b7d53ee5Smrg  fi
2004b7d53ee5Smrgfi
20052ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
20062ceb2653Smrg$as_echo "$INSTALL" >&6; }
2007b7d53ee5Smrg
2008b7d53ee5Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2009b7d53ee5Smrg# It thinks the first close brace ends the variable substitution.
2010b7d53ee5Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2011b7d53ee5Smrg
2012b7d53ee5Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2013b7d53ee5Smrg
2014b7d53ee5Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2015b7d53ee5Smrg
20162ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
20172ceb2653Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
2018b7d53ee5Smrg# Just in case
2019b7d53ee5Smrgsleep 1
2020b7d53ee5Smrgecho timestamp > conftest.file
20212ceb2653Smrg# Reject unsafe characters in $srcdir or the absolute working directory
20222ceb2653Smrg# name.  Accept space and tab only in the latter.
20232ceb2653Smrgam_lf='
20242ceb2653Smrg'
20252ceb2653Smrgcase `pwd` in
20262ceb2653Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
20272ceb2653Smrg    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
20282ceb2653Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
20292ceb2653Smrg   { (exit 1); exit 1; }; };;
20302ceb2653Smrgesac
20312ceb2653Smrgcase $srcdir in
20322ceb2653Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
20332ceb2653Smrg    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
20342ceb2653Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
20352ceb2653Smrg   { (exit 1); exit 1; }; };;
20362ceb2653Smrgesac
20372ceb2653Smrg
2038b7d53ee5Smrg# Do `set' in a subshell so we don't clobber the current shell's
2039b7d53ee5Smrg# arguments.  Must try -L first in case configure is actually a
2040b7d53ee5Smrg# symlink; some systems play weird games with the mod time of symlinks
2041b7d53ee5Smrg# (eg FreeBSD returns the mod time of the symlink's containing
2042b7d53ee5Smrg# directory).
2043b7d53ee5Smrgif (
20442ceb2653Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2045b7d53ee5Smrg   if test "$*" = "X"; then
2046b7d53ee5Smrg      # -L didn't work.
20472ceb2653Smrg      set X `ls -t "$srcdir/configure" conftest.file`
2048b7d53ee5Smrg   fi
2049b7d53ee5Smrg   rm -f conftest.file
2050b7d53ee5Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
2051b7d53ee5Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
2052b7d53ee5Smrg
2053b7d53ee5Smrg      # If neither matched, then we have a broken ls.  This can happen
2054b7d53ee5Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
2055b7d53ee5Smrg      # broken ls alias from the environment.  This has actually
2056b7d53ee5Smrg      # happened.  Such a system could not be considered "sane".
20572ceb2653Smrg      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2058b7d53ee5Smrgalias in your environment" >&5
20592ceb2653Smrg$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2060b7d53ee5Smrgalias in your environment" >&2;}
2061b7d53ee5Smrg   { (exit 1); exit 1; }; }
2062b7d53ee5Smrg   fi
2063b7d53ee5Smrg
2064b7d53ee5Smrg   test "$2" = conftest.file
2065b7d53ee5Smrg   )
2066b7d53ee5Smrgthen
2067b7d53ee5Smrg   # Ok.
2068b7d53ee5Smrg   :
2069b7d53ee5Smrgelse
20702ceb2653Smrg   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2071b7d53ee5SmrgCheck your system clock" >&5
20722ceb2653Smrg$as_echo "$as_me: error: newly created file is older than distributed files!
2073b7d53ee5SmrgCheck your system clock" >&2;}
2074b7d53ee5Smrg   { (exit 1); exit 1; }; }
2075b7d53ee5Smrgfi
20762ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
20772ceb2653Smrg$as_echo "yes" >&6; }
2078b7d53ee5Smrgtest "$program_prefix" != NONE &&
20792ceb2653Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2080b7d53ee5Smrg# Use a double $ so make ignores it.
2081b7d53ee5Smrgtest "$program_suffix" != NONE &&
20822ceb2653Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
20832ceb2653Smrg# Double any \ or $.
2084b7d53ee5Smrg# By default was `s,x,x', remove it if useless.
20852ceb2653Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
20862ceb2653Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2087b7d53ee5Smrg
2088b7d53ee5Smrg# expand $ac_aux_dir to an absolute path
2089b7d53ee5Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
2090b7d53ee5Smrg
20912ceb2653Smrgif test x"${MISSING+set}" != xset; then
20922ceb2653Smrg  case $am_aux_dir in
20932ceb2653Smrg  *\ * | *\	*)
20942ceb2653Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
20952ceb2653Smrg  *)
20962ceb2653Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
20972ceb2653Smrg  esac
20982ceb2653Smrgfi
2099b7d53ee5Smrg# Use eval to expand $SHELL
2100b7d53ee5Smrgif eval "$MISSING --run true"; then
2101b7d53ee5Smrg  am_missing_run="$MISSING --run "
2102b7d53ee5Smrgelse
2103b7d53ee5Smrg  am_missing_run=
21042ceb2653Smrg  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
21052ceb2653Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
21062ceb2653Smrgfi
21072ceb2653Smrg
21082ceb2653Smrgif test x"${install_sh}" != xset; then
21092ceb2653Smrg  case $am_aux_dir in
21102ceb2653Smrg  *\ * | *\	*)
21112ceb2653Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
21122ceb2653Smrg  *)
21132ceb2653Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
21142ceb2653Smrg  esac
21152ceb2653Smrgfi
21162ceb2653Smrg
21172ceb2653Smrg# Installed binaries are usually stripped using `strip' when the user
21182ceb2653Smrg# run `make install-strip'.  However `strip' might not be the right
21192ceb2653Smrg# tool to use in cross-compilation environments, therefore Automake
21202ceb2653Smrg# will honor the `STRIP' environment variable to overrule this program.
21212ceb2653Smrgif test "$cross_compiling" != no; then
21222ceb2653Smrg  if test -n "$ac_tool_prefix"; then
21232ceb2653Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21242ceb2653Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21252ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21262ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
21272ceb2653Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
21282ceb2653Smrg  $as_echo_n "(cached) " >&6
21292ceb2653Smrgelse
21302ceb2653Smrg  if test -n "$STRIP"; then
21312ceb2653Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21322ceb2653Smrgelse
21332ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21342ceb2653Smrgfor as_dir in $PATH
21352ceb2653Smrgdo
21362ceb2653Smrg  IFS=$as_save_IFS
21372ceb2653Smrg  test -z "$as_dir" && as_dir=.
21382ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
21392ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21402ceb2653Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21412ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21422ceb2653Smrg    break 2
21432ceb2653Smrg  fi
21442ceb2653Smrgdone
21452ceb2653Smrgdone
21462ceb2653SmrgIFS=$as_save_IFS
21472ceb2653Smrg
21482ceb2653Smrgfi
21492ceb2653Smrgfi
21502ceb2653SmrgSTRIP=$ac_cv_prog_STRIP
21512ceb2653Smrgif test -n "$STRIP"; then
21522ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
21532ceb2653Smrg$as_echo "$STRIP" >&6; }
21542ceb2653Smrgelse
21552ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
21562ceb2653Smrg$as_echo "no" >&6; }
21572ceb2653Smrgfi
21582ceb2653Smrg
21592ceb2653Smrg
21602ceb2653Smrgfi
21612ceb2653Smrgif test -z "$ac_cv_prog_STRIP"; then
21622ceb2653Smrg  ac_ct_STRIP=$STRIP
21632ceb2653Smrg  # Extract the first word of "strip", so it can be a program name with args.
21642ceb2653Smrgset dummy strip; ac_word=$2
21652ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21662ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
21672ceb2653Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
21682ceb2653Smrg  $as_echo_n "(cached) " >&6
21692ceb2653Smrgelse
21702ceb2653Smrg  if test -n "$ac_ct_STRIP"; then
21712ceb2653Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21722ceb2653Smrgelse
21732ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21742ceb2653Smrgfor as_dir in $PATH
21752ceb2653Smrgdo
21762ceb2653Smrg  IFS=$as_save_IFS
21772ceb2653Smrg  test -z "$as_dir" && as_dir=.
21782ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
21792ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21802ceb2653Smrg    ac_cv_prog_ac_ct_STRIP="strip"
21812ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21822ceb2653Smrg    break 2
21832ceb2653Smrg  fi
21842ceb2653Smrgdone
21852ceb2653Smrgdone
21862ceb2653SmrgIFS=$as_save_IFS
21872ceb2653Smrg
21882ceb2653Smrgfi
21892ceb2653Smrgfi
21902ceb2653Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
21912ceb2653Smrgif test -n "$ac_ct_STRIP"; then
21922ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
21932ceb2653Smrg$as_echo "$ac_ct_STRIP" >&6; }
21942ceb2653Smrgelse
21952ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
21962ceb2653Smrg$as_echo "no" >&6; }
21972ceb2653Smrgfi
21982ceb2653Smrg
21992ceb2653Smrg  if test "x$ac_ct_STRIP" = x; then
22002ceb2653Smrg    STRIP=":"
22012ceb2653Smrg  else
22022ceb2653Smrg    case $cross_compiling:$ac_tool_warned in
22032ceb2653Smrgyes:)
22042ceb2653Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
22052ceb2653Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22062ceb2653Smrgac_tool_warned=yes ;;
22072ceb2653Smrgesac
22082ceb2653Smrg    STRIP=$ac_ct_STRIP
22092ceb2653Smrg  fi
22102ceb2653Smrgelse
22112ceb2653Smrg  STRIP="$ac_cv_prog_STRIP"
22122ceb2653Smrgfi
22132ceb2653Smrg
22142ceb2653Smrgfi
22152ceb2653SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22162ceb2653Smrg
22172ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
22182ceb2653Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
22192ceb2653Smrgif test -z "$MKDIR_P"; then
22202ceb2653Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
22212ceb2653Smrg  $as_echo_n "(cached) " >&6
22222ceb2653Smrgelse
22232ceb2653Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22242ceb2653Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
22252ceb2653Smrgdo
22262ceb2653Smrg  IFS=$as_save_IFS
22272ceb2653Smrg  test -z "$as_dir" && as_dir=.
22282ceb2653Smrg  for ac_prog in mkdir gmkdir; do
22292ceb2653Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
22302ceb2653Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
22312ceb2653Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
22322ceb2653Smrg	     'mkdir (GNU coreutils) '* | \
22332ceb2653Smrg	     'mkdir (coreutils) '* | \
22342ceb2653Smrg	     'mkdir (fileutils) '4.1*)
22352ceb2653Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
22362ceb2653Smrg	       break 3;;
22372ceb2653Smrg	   esac
22382ceb2653Smrg	 done
22392ceb2653Smrg       done
22402ceb2653Smrgdone
22412ceb2653SmrgIFS=$as_save_IFS
22422ceb2653Smrg
22432ceb2653Smrgfi
22442ceb2653Smrg
22452ceb2653Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
22462ceb2653Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
22472ceb2653Smrg  else
22482ceb2653Smrg    # As a last resort, use the slow shell script.  Don't cache a
22492ceb2653Smrg    # value for MKDIR_P within a source directory, because that will
22502ceb2653Smrg    # break other packages using the cache if that directory is
22512ceb2653Smrg    # removed, or if the value is a relative name.
22522ceb2653Smrg    test -d ./--version && rmdir ./--version
22532ceb2653Smrg    MKDIR_P="$ac_install_sh -d"
22542ceb2653Smrg  fi
2255b7d53ee5Smrgfi
22562ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
22572ceb2653Smrg$as_echo "$MKDIR_P" >&6; }
22582ceb2653Smrg
22592ceb2653Smrgmkdir_p="$MKDIR_P"
22602ceb2653Smrgcase $mkdir_p in
22612ceb2653Smrg  [\\/$]* | ?:[\\/]*) ;;
22622ceb2653Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
22632ceb2653Smrgesac
2264b7d53ee5Smrg
2265b7d53ee5Smrgfor ac_prog in gawk mawk nawk awk
2266b7d53ee5Smrgdo
2267b7d53ee5Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2268b7d53ee5Smrgset dummy $ac_prog; ac_word=$2
22692ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22702ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
2271b7d53ee5Smrgif test "${ac_cv_prog_AWK+set}" = set; then
22722ceb2653Smrg  $as_echo_n "(cached) " >&6
2273b7d53ee5Smrgelse
2274b7d53ee5Smrg  if test -n "$AWK"; then
2275b7d53ee5Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2276b7d53ee5Smrgelse
2277b7d53ee5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278b7d53ee5Smrgfor as_dir in $PATH
2279b7d53ee5Smrgdo
2280b7d53ee5Smrg  IFS=$as_save_IFS
2281b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
2282b7d53ee5Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
22832ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284b7d53ee5Smrg    ac_cv_prog_AWK="$ac_prog"
22852ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286b7d53ee5Smrg    break 2
2287b7d53ee5Smrg  fi
2288b7d53ee5Smrgdone
2289b7d53ee5Smrgdone
22902ceb2653SmrgIFS=$as_save_IFS
2291b7d53ee5Smrg
2292b7d53ee5Smrgfi
2293b7d53ee5Smrgfi
2294b7d53ee5SmrgAWK=$ac_cv_prog_AWK
2295b7d53ee5Smrgif test -n "$AWK"; then
22962ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
22972ceb2653Smrg$as_echo "$AWK" >&6; }
2298b7d53ee5Smrgelse
22992ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
23002ceb2653Smrg$as_echo "no" >&6; }
2301b7d53ee5Smrgfi
2302b7d53ee5Smrg
23032ceb2653Smrg
2304b7d53ee5Smrg  test -n "$AWK" && break
2305b7d53ee5Smrgdone
2306b7d53ee5Smrg
23072ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
23082ceb2653Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
23092ceb2653Smrgset x ${MAKE-make}
23102ceb2653Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
23112ceb2653Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
23122ceb2653Smrg  $as_echo_n "(cached) " >&6
2313b7d53ee5Smrgelse
2314b7d53ee5Smrg  cat >conftest.make <<\_ACEOF
23152ceb2653SmrgSHELL = /bin/sh
2316b7d53ee5Smrgall:
23172ceb2653Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2318b7d53ee5Smrg_ACEOF
2319b7d53ee5Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23202ceb2653Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
23212ceb2653Smrg  *@@@%%%=?*=@@@%%%*)
23222ceb2653Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
23232ceb2653Smrg  *)
23242ceb2653Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
23252ceb2653Smrgesac
2326b7d53ee5Smrgrm -f conftest.make
2327b7d53ee5Smrgfi
23282ceb2653Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
23292ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: yes" >&5
23302ceb2653Smrg$as_echo "yes" >&6; }
2331b7d53ee5Smrg  SET_MAKE=
2332b7d53ee5Smrgelse
23332ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
23342ceb2653Smrg$as_echo "no" >&6; }
2335b7d53ee5Smrg  SET_MAKE="MAKE=${MAKE-make}"
2336b7d53ee5Smrgfi
2337b7d53ee5Smrg
2338b7d53ee5Smrgrm -rf .tst 2>/dev/null
2339b7d53ee5Smrgmkdir .tst 2>/dev/null
2340b7d53ee5Smrgif test -d .tst; then
2341b7d53ee5Smrg  am__leading_dot=.
2342b7d53ee5Smrgelse
2343b7d53ee5Smrg  am__leading_dot=_
2344b7d53ee5Smrgfi
2345b7d53ee5Smrgrmdir .tst 2>/dev/null
2346b7d53ee5Smrg
23472ceb2653Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
23482ceb2653Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
23492ceb2653Smrg  # is not polluted with repeated "-I."
23502ceb2653Smrg  am__isrc=' -I$(srcdir)'
23512ceb2653Smrg  # test to see if srcdir already configured
23522ceb2653Smrg  if test -f $srcdir/config.status; then
23532ceb2653Smrg    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
23542ceb2653Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2355b7d53ee5Smrg   { (exit 1); exit 1; }; }
23562ceb2653Smrg  fi
2357b7d53ee5Smrgfi
2358b7d53ee5Smrg
2359b7d53ee5Smrg# test whether we have cygpath
2360b7d53ee5Smrgif test -z "$CYGPATH_W"; then
2361b7d53ee5Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2362b7d53ee5Smrg    CYGPATH_W='cygpath -w'
2363b7d53ee5Smrg  else
2364b7d53ee5Smrg    CYGPATH_W=echo
2365b7d53ee5Smrg  fi
2366b7d53ee5Smrgfi
2367b7d53ee5Smrg
2368b7d53ee5Smrg
2369b7d53ee5Smrg# Define the identity of the package.
2370b7d53ee5Smrg PACKAGE='font-dec-misc'
23712ceb2653Smrg VERSION='1.0.1'
2372b7d53ee5Smrg
2373b7d53ee5Smrg
2374b7d53ee5Smrgcat >>confdefs.h <<_ACEOF
2375b7d53ee5Smrg#define PACKAGE "$PACKAGE"
2376b7d53ee5Smrg_ACEOF
2377b7d53ee5Smrg
2378b7d53ee5Smrg
2379b7d53ee5Smrgcat >>confdefs.h <<_ACEOF
2380b7d53ee5Smrg#define VERSION "$VERSION"
2381b7d53ee5Smrg_ACEOF
2382b7d53ee5Smrg
2383b7d53ee5Smrg# Some tools Automake needs.
2384b7d53ee5Smrg
2385b7d53ee5SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2386b7d53ee5Smrg
2387b7d53ee5Smrg
2388b7d53ee5SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2389b7d53ee5Smrg
2390b7d53ee5Smrg
2391b7d53ee5SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2392b7d53ee5Smrg
2393b7d53ee5Smrg
2394b7d53ee5SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2395b7d53ee5Smrg
2396b7d53ee5Smrg
2397b7d53ee5SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2398b7d53ee5Smrg
23992ceb2653Smrg# We need awk for the "check" target.  The system "awk" is bad on
24002ceb2653Smrg# some platforms.
24012ceb2653Smrg# Always define AMTAR for backward compatibility.
2402b7d53ee5Smrg
2403b7d53ee5SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2404b7d53ee5Smrg
24052ceb2653Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2406b7d53ee5Smrg
24072ceb2653Smrg
24082ceb2653Smrg
24092ceb2653Smrg
24102ceb2653Smrg
24112ceb2653Smrg
24122ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
24132ceb2653Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
24142ceb2653Smrg    # Check whether --enable-maintainer-mode was given.
24152ceb2653Smrgif test "${enable_maintainer_mode+set}" = set; then
24162ceb2653Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2417b7d53ee5Smrgelse
24182ceb2653Smrg  USE_MAINTAINER_MODE=no
24192ceb2653Smrgfi
24202ceb2653Smrg
24212ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
24222ceb2653Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
24232ceb2653Smrg   if test $USE_MAINTAINER_MODE = yes; then
24242ceb2653Smrg  MAINTAINER_MODE_TRUE=
24252ceb2653Smrg  MAINTAINER_MODE_FALSE='#'
24262ceb2653Smrgelse
24272ceb2653Smrg  MAINTAINER_MODE_TRUE='#'
24282ceb2653Smrg  MAINTAINER_MODE_FALSE=
24292ceb2653Smrgfi
24302ceb2653Smrg
24312ceb2653Smrg  MAINT=$MAINTAINER_MODE_TRUE
24322ceb2653Smrg
24332ceb2653Smrg
24342ceb2653Smrg
24352ceb2653Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS
24362ceb2653Smrg
24372ceb2653Smrg
24382ceb2653Smrg
24392ceb2653Smrg
24402ceb2653Smrg
24412ceb2653Smrg
24422ceb2653Smrg
24432ceb2653Smrg
24442ceb2653Smrg
24452ceb2653Smrg
24462ceb2653Smrg
24472ceb2653SmrgDEPDIR="${am__leading_dot}deps"
24482ceb2653Smrg
24492ceb2653Smrgac_config_commands="$ac_config_commands depfiles"
24502ceb2653Smrg
24512ceb2653Smrg
24522ceb2653Smrgam_make=${MAKE-make}
24532ceb2653Smrgcat > confinc << 'END'
24542ceb2653Smrgam__doit:
24552ceb2653Smrg	@echo this is the am__doit target
24562ceb2653Smrg.PHONY: am__doit
24572ceb2653SmrgEND
24582ceb2653Smrg# If we don't find an include directive, just comment out the code.
24592ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
24602ceb2653Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
24612ceb2653Smrgam__include="#"
24622ceb2653Smrgam__quote=
24632ceb2653Smrg_am_result=none
24642ceb2653Smrg# First try GNU make style include.
24652ceb2653Smrgecho "include confinc" > confmf
24662ceb2653Smrg# Ignore all kinds of additional output from `make'.
24672ceb2653Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
24682ceb2653Smrg*the\ am__doit\ target*)
24692ceb2653Smrg  am__include=include
24702ceb2653Smrg  am__quote=
24712ceb2653Smrg  _am_result=GNU
24722ceb2653Smrg  ;;
24732ceb2653Smrgesac
24742ceb2653Smrg# Now try BSD make style include.
24752ceb2653Smrgif test "$am__include" = "#"; then
24762ceb2653Smrg   echo '.include "confinc"' > confmf
24772ceb2653Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
24782ceb2653Smrg   *the\ am__doit\ target*)
24792ceb2653Smrg     am__include=.include
24802ceb2653Smrg     am__quote="\""
24812ceb2653Smrg     _am_result=BSD
24822ceb2653Smrg     ;;
24832ceb2653Smrg   esac
24842ceb2653Smrgfi
24852ceb2653Smrg
24862ceb2653Smrg
24872ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
24882ceb2653Smrg$as_echo "$_am_result" >&6; }
24892ceb2653Smrgrm -f confinc confmf
24902ceb2653Smrg
24912ceb2653Smrg# Check whether --enable-dependency-tracking was given.
24922ceb2653Smrgif test "${enable_dependency_tracking+set}" = set; then
24932ceb2653Smrg  enableval=$enable_dependency_tracking;
24942ceb2653Smrgfi
24952ceb2653Smrg
24962ceb2653Smrgif test "x$enable_dependency_tracking" != xno; then
24972ceb2653Smrg  am_depcomp="$ac_aux_dir/depcomp"
24982ceb2653Smrg  AMDEPBACKSLASH='\'
24992ceb2653Smrgfi
25002ceb2653Smrg if test "x$enable_dependency_tracking" != xno; then
25012ceb2653Smrg  AMDEP_TRUE=
25022ceb2653Smrg  AMDEP_FALSE='#'
25032ceb2653Smrgelse
25042ceb2653Smrg  AMDEP_TRUE='#'
25052ceb2653Smrg  AMDEP_FALSE=
25062ceb2653Smrgfi
25072ceb2653Smrg
25082ceb2653Smrg
25092ceb2653Smrgac_ext=c
25102ceb2653Smrgac_cpp='$CPP $CPPFLAGS'
25112ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
25142ceb2653Smrgif test -n "$ac_tool_prefix"; then
25152ceb2653Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
25162ceb2653Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
25172ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25182ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
25192ceb2653Smrgif test "${ac_cv_prog_CC+set}" = set; then
25202ceb2653Smrg  $as_echo_n "(cached) " >&6
25212ceb2653Smrgelse
25222ceb2653Smrg  if test -n "$CC"; then
25232ceb2653Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
2524b7d53ee5Smrgelse
2525b7d53ee5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526b7d53ee5Smrgfor as_dir in $PATH
2527b7d53ee5Smrgdo
2528b7d53ee5Smrg  IFS=$as_save_IFS
2529b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
2530b7d53ee5Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
25312ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25322ceb2653Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
25332ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534b7d53ee5Smrg    break 2
2535b7d53ee5Smrg  fi
2536b7d53ee5Smrgdone
2537b7d53ee5Smrgdone
25382ceb2653SmrgIFS=$as_save_IFS
2539b7d53ee5Smrg
2540b7d53ee5Smrgfi
2541b7d53ee5Smrgfi
25422ceb2653SmrgCC=$ac_cv_prog_CC
25432ceb2653Smrgif test -n "$CC"; then
25442ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
25452ceb2653Smrg$as_echo "$CC" >&6; }
2546b7d53ee5Smrgelse
25472ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
25482ceb2653Smrg$as_echo "no" >&6; }
2549b7d53ee5Smrgfi
2550b7d53ee5Smrg
25512ceb2653Smrg
2552b7d53ee5Smrgfi
25532ceb2653Smrgif test -z "$ac_cv_prog_CC"; then
25542ceb2653Smrg  ac_ct_CC=$CC
25552ceb2653Smrg  # Extract the first word of "gcc", so it can be a program name with args.
25562ceb2653Smrgset dummy gcc; ac_word=$2
25572ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25582ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
25592ceb2653Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
25602ceb2653Smrg  $as_echo_n "(cached) " >&6
2561b7d53ee5Smrgelse
25622ceb2653Smrg  if test -n "$ac_ct_CC"; then
25632ceb2653Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2564b7d53ee5Smrgelse
2565b7d53ee5Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566b7d53ee5Smrgfor as_dir in $PATH
2567b7d53ee5Smrgdo
2568b7d53ee5Smrg  IFS=$as_save_IFS
2569b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
2570b7d53ee5Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
25712ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25722ceb2653Smrg    ac_cv_prog_ac_ct_CC="gcc"
25732ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2574b7d53ee5Smrg    break 2
2575b7d53ee5Smrg  fi
2576b7d53ee5Smrgdone
2577b7d53ee5Smrgdone
25782ceb2653SmrgIFS=$as_save_IFS
2579b7d53ee5Smrg
2580b7d53ee5Smrgfi
2581b7d53ee5Smrgfi
25822ceb2653Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
25832ceb2653Smrgif test -n "$ac_ct_CC"; then
25842ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
25852ceb2653Smrg$as_echo "$ac_ct_CC" >&6; }
2586b7d53ee5Smrgelse
25872ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
25882ceb2653Smrg$as_echo "no" >&6; }
2589b7d53ee5Smrgfi
2590b7d53ee5Smrg
25912ceb2653Smrg  if test "x$ac_ct_CC" = x; then
25922ceb2653Smrg    CC=""
25932ceb2653Smrg  else
25942ceb2653Smrg    case $cross_compiling:$ac_tool_warned in
25952ceb2653Smrgyes:)
25962ceb2653Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
25972ceb2653Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25982ceb2653Smrgac_tool_warned=yes ;;
25992ceb2653Smrgesac
26002ceb2653Smrg    CC=$ac_ct_CC
26012ceb2653Smrg  fi
2602b7d53ee5Smrgelse
26032ceb2653Smrg  CC="$ac_cv_prog_CC"
2604b7d53ee5Smrgfi
2605b7d53ee5Smrg
26062ceb2653Smrgif test -z "$CC"; then
26072ceb2653Smrg          if test -n "$ac_tool_prefix"; then
26082ceb2653Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26092ceb2653Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
26102ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26112ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
26122ceb2653Smrgif test "${ac_cv_prog_CC+set}" = set; then
26132ceb2653Smrg  $as_echo_n "(cached) " >&6
2614b7d53ee5Smrgelse
26152ceb2653Smrg  if test -n "$CC"; then
26162ceb2653Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
26172ceb2653Smrgelse
26182ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26192ceb2653Smrgfor as_dir in $PATH
26202ceb2653Smrgdo
26212ceb2653Smrg  IFS=$as_save_IFS
26222ceb2653Smrg  test -z "$as_dir" && as_dir=.
26232ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
26242ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26252ceb2653Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
26262ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26272ceb2653Smrg    break 2
26282ceb2653Smrg  fi
26292ceb2653Smrgdone
26302ceb2653Smrgdone
26312ceb2653SmrgIFS=$as_save_IFS
26322ceb2653Smrg
26332ceb2653Smrgfi
26342ceb2653Smrgfi
26352ceb2653SmrgCC=$ac_cv_prog_CC
26362ceb2653Smrgif test -n "$CC"; then
26372ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
26382ceb2653Smrg$as_echo "$CC" >&6; }
26392ceb2653Smrgelse
26402ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
26412ceb2653Smrg$as_echo "no" >&6; }
26422ceb2653Smrgfi
26432ceb2653Smrg
26442ceb2653Smrg
26452ceb2653Smrg  fi
26462ceb2653Smrgfi
26472ceb2653Smrgif test -z "$CC"; then
26482ceb2653Smrg  # Extract the first word of "cc", so it can be a program name with args.
26492ceb2653Smrgset dummy cc; ac_word=$2
26502ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26512ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
26522ceb2653Smrgif test "${ac_cv_prog_CC+set}" = set; then
26532ceb2653Smrg  $as_echo_n "(cached) " >&6
26542ceb2653Smrgelse
26552ceb2653Smrg  if test -n "$CC"; then
26562ceb2653Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
26572ceb2653Smrgelse
26582ceb2653Smrg  ac_prog_rejected=no
26592ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26602ceb2653Smrgfor as_dir in $PATH
26612ceb2653Smrgdo
26622ceb2653Smrg  IFS=$as_save_IFS
26632ceb2653Smrg  test -z "$as_dir" && as_dir=.
26642ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
26652ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26662ceb2653Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
26672ceb2653Smrg       ac_prog_rejected=yes
26682ceb2653Smrg       continue
26692ceb2653Smrg     fi
26702ceb2653Smrg    ac_cv_prog_CC="cc"
26712ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26722ceb2653Smrg    break 2
26732ceb2653Smrg  fi
26742ceb2653Smrgdone
26752ceb2653Smrgdone
26762ceb2653SmrgIFS=$as_save_IFS
26772ceb2653Smrg
26782ceb2653Smrgif test $ac_prog_rejected = yes; then
26792ceb2653Smrg  # We found a bogon in the path, so make sure we never use it.
26802ceb2653Smrg  set dummy $ac_cv_prog_CC
26812ceb2653Smrg  shift
26822ceb2653Smrg  if test $# != 0; then
26832ceb2653Smrg    # We chose a different compiler from the bogus one.
26842ceb2653Smrg    # However, it has the same basename, so the bogon will be chosen
26852ceb2653Smrg    # first if we set CC to just the basename; use the full file name.
26862ceb2653Smrg    shift
26872ceb2653Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
26882ceb2653Smrg  fi
26892ceb2653Smrgfi
26902ceb2653Smrgfi
26912ceb2653Smrgfi
26922ceb2653SmrgCC=$ac_cv_prog_CC
26932ceb2653Smrgif test -n "$CC"; then
26942ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
26952ceb2653Smrg$as_echo "$CC" >&6; }
26962ceb2653Smrgelse
26972ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
26982ceb2653Smrg$as_echo "no" >&6; }
26992ceb2653Smrgfi
27002ceb2653Smrg
27012ceb2653Smrg
27022ceb2653Smrgfi
27032ceb2653Smrgif test -z "$CC"; then
27042ceb2653Smrg  if test -n "$ac_tool_prefix"; then
27052ceb2653Smrg  for ac_prog in cl.exe
27062ceb2653Smrg  do
27072ceb2653Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27082ceb2653Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
27092ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27102ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
27112ceb2653Smrgif test "${ac_cv_prog_CC+set}" = set; then
27122ceb2653Smrg  $as_echo_n "(cached) " >&6
27132ceb2653Smrgelse
27142ceb2653Smrg  if test -n "$CC"; then
27152ceb2653Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
27162ceb2653Smrgelse
27172ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27182ceb2653Smrgfor as_dir in $PATH
27192ceb2653Smrgdo
27202ceb2653Smrg  IFS=$as_save_IFS
27212ceb2653Smrg  test -z "$as_dir" && as_dir=.
27222ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
27232ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27242ceb2653Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
27252ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27262ceb2653Smrg    break 2
27272ceb2653Smrg  fi
27282ceb2653Smrgdone
27292ceb2653Smrgdone
27302ceb2653SmrgIFS=$as_save_IFS
27312ceb2653Smrg
27322ceb2653Smrgfi
27332ceb2653Smrgfi
27342ceb2653SmrgCC=$ac_cv_prog_CC
27352ceb2653Smrgif test -n "$CC"; then
27362ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
27372ceb2653Smrg$as_echo "$CC" >&6; }
27382ceb2653Smrgelse
27392ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
27402ceb2653Smrg$as_echo "no" >&6; }
27412ceb2653Smrgfi
27422ceb2653Smrg
27432ceb2653Smrg
27442ceb2653Smrg    test -n "$CC" && break
27452ceb2653Smrg  done
27462ceb2653Smrgfi
27472ceb2653Smrgif test -z "$CC"; then
27482ceb2653Smrg  ac_ct_CC=$CC
27492ceb2653Smrg  for ac_prog in cl.exe
27502ceb2653Smrgdo
27512ceb2653Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
27522ceb2653Smrgset dummy $ac_prog; ac_word=$2
27532ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27542ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
27552ceb2653Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27562ceb2653Smrg  $as_echo_n "(cached) " >&6
27572ceb2653Smrgelse
27582ceb2653Smrg  if test -n "$ac_ct_CC"; then
27592ceb2653Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
27602ceb2653Smrgelse
27612ceb2653Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27622ceb2653Smrgfor as_dir in $PATH
27632ceb2653Smrgdo
27642ceb2653Smrg  IFS=$as_save_IFS
27652ceb2653Smrg  test -z "$as_dir" && as_dir=.
27662ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
27672ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27682ceb2653Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
27692ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27702ceb2653Smrg    break 2
27712ceb2653Smrg  fi
27722ceb2653Smrgdone
27732ceb2653Smrgdone
27742ceb2653SmrgIFS=$as_save_IFS
27752ceb2653Smrg
27762ceb2653Smrgfi
27772ceb2653Smrgfi
27782ceb2653Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
27792ceb2653Smrgif test -n "$ac_ct_CC"; then
27802ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27812ceb2653Smrg$as_echo "$ac_ct_CC" >&6; }
27822ceb2653Smrgelse
27832ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
27842ceb2653Smrg$as_echo "no" >&6; }
27852ceb2653Smrgfi
27862ceb2653Smrg
27872ceb2653Smrg
27882ceb2653Smrg  test -n "$ac_ct_CC" && break
27892ceb2653Smrgdone
27902ceb2653Smrg
27912ceb2653Smrg  if test "x$ac_ct_CC" = x; then
27922ceb2653Smrg    CC=""
27932ceb2653Smrg  else
27942ceb2653Smrg    case $cross_compiling:$ac_tool_warned in
27952ceb2653Smrgyes:)
27962ceb2653Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
27972ceb2653Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27982ceb2653Smrgac_tool_warned=yes ;;
27992ceb2653Smrgesac
28002ceb2653Smrg    CC=$ac_ct_CC
28012ceb2653Smrg  fi
28022ceb2653Smrgfi
28032ceb2653Smrg
28042ceb2653Smrgfi
28052ceb2653Smrg
28062ceb2653Smrg
28072ceb2653Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28082ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28092ceb2653Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
28102ceb2653SmrgSee \`config.log' for more details." >&5
28112ceb2653Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
28122ceb2653SmrgSee \`config.log' for more details." >&2;}
28132ceb2653Smrg   { (exit 1); exit 1; }; }; }
28142ceb2653Smrg
28152ceb2653Smrg# Provide some information about the compiler.
28162ceb2653Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
28172ceb2653Smrgset X $ac_compile
28182ceb2653Smrgac_compiler=$2
28192ceb2653Smrg{ (ac_try="$ac_compiler --version >&5"
28202ceb2653Smrgcase "(($ac_try" in
28212ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28222ceb2653Smrg  *) ac_try_echo=$ac_try;;
28232ceb2653Smrgesac
28242ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28252ceb2653Smrg$as_echo "$ac_try_echo") >&5
28262ceb2653Smrg  (eval "$ac_compiler --version >&5") 2>&5
28272ceb2653Smrg  ac_status=$?
28282ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292ceb2653Smrg  (exit $ac_status); }
28302ceb2653Smrg{ (ac_try="$ac_compiler -v >&5"
28312ceb2653Smrgcase "(($ac_try" in
28322ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28332ceb2653Smrg  *) ac_try_echo=$ac_try;;
28342ceb2653Smrgesac
28352ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28362ceb2653Smrg$as_echo "$ac_try_echo") >&5
28372ceb2653Smrg  (eval "$ac_compiler -v >&5") 2>&5
28382ceb2653Smrg  ac_status=$?
28392ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402ceb2653Smrg  (exit $ac_status); }
28412ceb2653Smrg{ (ac_try="$ac_compiler -V >&5"
28422ceb2653Smrgcase "(($ac_try" in
28432ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28442ceb2653Smrg  *) ac_try_echo=$ac_try;;
28452ceb2653Smrgesac
28462ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28472ceb2653Smrg$as_echo "$ac_try_echo") >&5
28482ceb2653Smrg  (eval "$ac_compiler -V >&5") 2>&5
28492ceb2653Smrg  ac_status=$?
28502ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512ceb2653Smrg  (exit $ac_status); }
28522ceb2653Smrg
28532ceb2653Smrgcat >conftest.$ac_ext <<_ACEOF
28542ceb2653Smrg/* confdefs.h.  */
28552ceb2653Smrg_ACEOF
28562ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
28572ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
28582ceb2653Smrg/* end confdefs.h.  */
28592ceb2653Smrg
28602ceb2653Smrgint
28612ceb2653Smrgmain ()
28622ceb2653Smrg{
28632ceb2653Smrg
28642ceb2653Smrg  ;
28652ceb2653Smrg  return 0;
28662ceb2653Smrg}
28672ceb2653Smrg_ACEOF
28682ceb2653Smrgac_clean_files_save=$ac_clean_files
28692ceb2653Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
28702ceb2653Smrg# Try to create an executable without -o first, disregard a.out.
28712ceb2653Smrg# It will help us diagnose broken compilers, and finding out an intuition
28722ceb2653Smrg# of exeext.
28732ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
28742ceb2653Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
28752ceb2653Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
28762ceb2653Smrg
28772ceb2653Smrg# The possible output files:
28782ceb2653Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
28792ceb2653Smrg
28802ceb2653Smrgac_rmfiles=
28812ceb2653Smrgfor ac_file in $ac_files
28822ceb2653Smrgdo
28832ceb2653Smrg  case $ac_file in
28842ceb2653Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
28852ceb2653Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
28862ceb2653Smrg  esac
28872ceb2653Smrgdone
28882ceb2653Smrgrm -f $ac_rmfiles
28892ceb2653Smrg
28902ceb2653Smrgif { (ac_try="$ac_link_default"
28912ceb2653Smrgcase "(($ac_try" in
28922ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28932ceb2653Smrg  *) ac_try_echo=$ac_try;;
28942ceb2653Smrgesac
28952ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28962ceb2653Smrg$as_echo "$ac_try_echo") >&5
28972ceb2653Smrg  (eval "$ac_link_default") 2>&5
28982ceb2653Smrg  ac_status=$?
28992ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002ceb2653Smrg  (exit $ac_status); }; then
29012ceb2653Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
29022ceb2653Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
29032ceb2653Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
29042ceb2653Smrg# so that the user can short-circuit this test for compilers unknown to
29052ceb2653Smrg# Autoconf.
29062ceb2653Smrgfor ac_file in $ac_files ''
29072ceb2653Smrgdo
29082ceb2653Smrg  test -f "$ac_file" || continue
29092ceb2653Smrg  case $ac_file in
29102ceb2653Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
29112ceb2653Smrg	;;
29122ceb2653Smrg    [ab].out )
29132ceb2653Smrg	# We found the default executable, but exeext='' is most
29142ceb2653Smrg	# certainly right.
29152ceb2653Smrg	break;;
29162ceb2653Smrg    *.* )
29172ceb2653Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
29182ceb2653Smrg	then :; else
29192ceb2653Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
29202ceb2653Smrg	fi
29212ceb2653Smrg	# We set ac_cv_exeext here because the later test for it is not
29222ceb2653Smrg	# safe: cross compilers may not add the suffix if given an `-o'
29232ceb2653Smrg	# argument, so we may need to know it at that point already.
29242ceb2653Smrg	# Even if this section looks crufty: it has the advantage of
29252ceb2653Smrg	# actually working.
29262ceb2653Smrg	break;;
29272ceb2653Smrg    * )
29282ceb2653Smrg	break;;
29292ceb2653Smrg  esac
29302ceb2653Smrgdone
29312ceb2653Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
29322ceb2653Smrg
29332ceb2653Smrgelse
29342ceb2653Smrg  ac_file=''
29352ceb2653Smrgfi
29362ceb2653Smrg
29372ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
29382ceb2653Smrg$as_echo "$ac_file" >&6; }
29392ceb2653Smrgif test -z "$ac_file"; then
29402ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
29412ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
29422ceb2653Smrg
29432ceb2653Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29442ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29452ceb2653Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
29462ceb2653SmrgSee \`config.log' for more details." >&5
29472ceb2653Smrg$as_echo "$as_me: error: C compiler cannot create executables
29482ceb2653SmrgSee \`config.log' for more details." >&2;}
29492ceb2653Smrg   { (exit 77); exit 77; }; }; }
29502ceb2653Smrgfi
29512ceb2653Smrg
29522ceb2653Smrgac_exeext=$ac_cv_exeext
29532ceb2653Smrg
29542ceb2653Smrg# Check that the compiler produces executables we can run.  If not, either
29552ceb2653Smrg# the compiler is broken, or we cross compile.
29562ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
29572ceb2653Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
29582ceb2653Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
29592ceb2653Smrg# If not cross compiling, check that we can run a simple program.
29602ceb2653Smrgif test "$cross_compiling" != yes; then
29612ceb2653Smrg  if { ac_try='./$ac_file'
29622ceb2653Smrg  { (case "(($ac_try" in
29632ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642ceb2653Smrg  *) ac_try_echo=$ac_try;;
29652ceb2653Smrgesac
29662ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29672ceb2653Smrg$as_echo "$ac_try_echo") >&5
29682ceb2653Smrg  (eval "$ac_try") 2>&5
29692ceb2653Smrg  ac_status=$?
29702ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712ceb2653Smrg  (exit $ac_status); }; }; then
29722ceb2653Smrg    cross_compiling=no
29732ceb2653Smrg  else
29742ceb2653Smrg    if test "$cross_compiling" = maybe; then
29752ceb2653Smrg	cross_compiling=yes
29762ceb2653Smrg    else
29772ceb2653Smrg	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29782ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29792ceb2653Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
29802ceb2653SmrgIf you meant to cross compile, use \`--host'.
29812ceb2653SmrgSee \`config.log' for more details." >&5
29822ceb2653Smrg$as_echo "$as_me: error: cannot run C compiled programs.
29832ceb2653SmrgIf you meant to cross compile, use \`--host'.
29842ceb2653SmrgSee \`config.log' for more details." >&2;}
29852ceb2653Smrg   { (exit 1); exit 1; }; }; }
29862ceb2653Smrg    fi
29872ceb2653Smrg  fi
29882ceb2653Smrgfi
29892ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
29902ceb2653Smrg$as_echo "yes" >&6; }
29912ceb2653Smrg
29922ceb2653Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
29932ceb2653Smrgac_clean_files=$ac_clean_files_save
29942ceb2653Smrg# Check that the compiler produces executables we can run.  If not, either
29952ceb2653Smrg# the compiler is broken, or we cross compile.
29962ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
29972ceb2653Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
29982ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
29992ceb2653Smrg$as_echo "$cross_compiling" >&6; }
30002ceb2653Smrg
30012ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
30022ceb2653Smrg$as_echo_n "checking for suffix of executables... " >&6; }
30032ceb2653Smrgif { (ac_try="$ac_link"
30042ceb2653Smrgcase "(($ac_try" in
30052ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30062ceb2653Smrg  *) ac_try_echo=$ac_try;;
30072ceb2653Smrgesac
30082ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30092ceb2653Smrg$as_echo "$ac_try_echo") >&5
30102ceb2653Smrg  (eval "$ac_link") 2>&5
30112ceb2653Smrg  ac_status=$?
30122ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132ceb2653Smrg  (exit $ac_status); }; then
30142ceb2653Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
30152ceb2653Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
30162ceb2653Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
30172ceb2653Smrg# `rm'.
30182ceb2653Smrgfor ac_file in conftest.exe conftest conftest.*; do
30192ceb2653Smrg  test -f "$ac_file" || continue
30202ceb2653Smrg  case $ac_file in
30212ceb2653Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
30222ceb2653Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30232ceb2653Smrg	  break;;
30242ceb2653Smrg    * ) break;;
30252ceb2653Smrg  esac
30262ceb2653Smrgdone
30272ceb2653Smrgelse
30282ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30292ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30302ceb2653Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
30312ceb2653SmrgSee \`config.log' for more details." >&5
30322ceb2653Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
30332ceb2653SmrgSee \`config.log' for more details." >&2;}
30342ceb2653Smrg   { (exit 1); exit 1; }; }; }
30352ceb2653Smrgfi
30362ceb2653Smrg
30372ceb2653Smrgrm -f conftest$ac_cv_exeext
30382ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
30392ceb2653Smrg$as_echo "$ac_cv_exeext" >&6; }
30402ceb2653Smrg
30412ceb2653Smrgrm -f conftest.$ac_ext
30422ceb2653SmrgEXEEXT=$ac_cv_exeext
30432ceb2653Smrgac_exeext=$EXEEXT
30442ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
30452ceb2653Smrg$as_echo_n "checking for suffix of object files... " >&6; }
30462ceb2653Smrgif test "${ac_cv_objext+set}" = set; then
30472ceb2653Smrg  $as_echo_n "(cached) " >&6
30482ceb2653Smrgelse
30492ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
30502ceb2653Smrg/* confdefs.h.  */
30512ceb2653Smrg_ACEOF
30522ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
30532ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
30542ceb2653Smrg/* end confdefs.h.  */
30552ceb2653Smrg
30562ceb2653Smrgint
30572ceb2653Smrgmain ()
30582ceb2653Smrg{
30592ceb2653Smrg
30602ceb2653Smrg  ;
30612ceb2653Smrg  return 0;
30622ceb2653Smrg}
30632ceb2653Smrg_ACEOF
30642ceb2653Smrgrm -f conftest.o conftest.obj
30652ceb2653Smrgif { (ac_try="$ac_compile"
30662ceb2653Smrgcase "(($ac_try" in
30672ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30682ceb2653Smrg  *) ac_try_echo=$ac_try;;
30692ceb2653Smrgesac
30702ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30712ceb2653Smrg$as_echo "$ac_try_echo") >&5
30722ceb2653Smrg  (eval "$ac_compile") 2>&5
30732ceb2653Smrg  ac_status=$?
30742ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752ceb2653Smrg  (exit $ac_status); }; then
30762ceb2653Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
30772ceb2653Smrg  test -f "$ac_file" || continue;
30782ceb2653Smrg  case $ac_file in
30792ceb2653Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
30802ceb2653Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
30812ceb2653Smrg       break;;
30822ceb2653Smrg  esac
30832ceb2653Smrgdone
30842ceb2653Smrgelse
30852ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
30862ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
30872ceb2653Smrg
30882ceb2653Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30892ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30902ceb2653Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
30912ceb2653SmrgSee \`config.log' for more details." >&5
30922ceb2653Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
30932ceb2653SmrgSee \`config.log' for more details." >&2;}
30942ceb2653Smrg   { (exit 1); exit 1; }; }; }
30952ceb2653Smrgfi
30962ceb2653Smrg
30972ceb2653Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
30982ceb2653Smrgfi
30992ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
31002ceb2653Smrg$as_echo "$ac_cv_objext" >&6; }
31012ceb2653SmrgOBJEXT=$ac_cv_objext
31022ceb2653Smrgac_objext=$OBJEXT
31032ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
31042ceb2653Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
31052ceb2653Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
31062ceb2653Smrg  $as_echo_n "(cached) " >&6
31072ceb2653Smrgelse
31082ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
31092ceb2653Smrg/* confdefs.h.  */
31102ceb2653Smrg_ACEOF
31112ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
31122ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
31132ceb2653Smrg/* end confdefs.h.  */
31142ceb2653Smrg
31152ceb2653Smrgint
31162ceb2653Smrgmain ()
31172ceb2653Smrg{
31182ceb2653Smrg#ifndef __GNUC__
31192ceb2653Smrg       choke me
31202ceb2653Smrg#endif
31212ceb2653Smrg
31222ceb2653Smrg  ;
31232ceb2653Smrg  return 0;
31242ceb2653Smrg}
31252ceb2653Smrg_ACEOF
31262ceb2653Smrgrm -f conftest.$ac_objext
31272ceb2653Smrgif { (ac_try="$ac_compile"
31282ceb2653Smrgcase "(($ac_try" in
31292ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31302ceb2653Smrg  *) ac_try_echo=$ac_try;;
31312ceb2653Smrgesac
31322ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31332ceb2653Smrg$as_echo "$ac_try_echo") >&5
31342ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
31352ceb2653Smrg  ac_status=$?
31362ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
31372ceb2653Smrg  rm -f conftest.er1
31382ceb2653Smrg  cat conftest.err >&5
31392ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402ceb2653Smrg  (exit $ac_status); } && {
31412ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
31422ceb2653Smrg	 test ! -s conftest.err
31432ceb2653Smrg       } && test -s conftest.$ac_objext; then
31442ceb2653Smrg  ac_compiler_gnu=yes
31452ceb2653Smrgelse
31462ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
31472ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
31482ceb2653Smrg
31492ceb2653Smrg	ac_compiler_gnu=no
31502ceb2653Smrgfi
31512ceb2653Smrg
31522ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31532ceb2653Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
31542ceb2653Smrg
31552ceb2653Smrgfi
31562ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
31572ceb2653Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
31582ceb2653Smrgif test $ac_compiler_gnu = yes; then
31592ceb2653Smrg  GCC=yes
31602ceb2653Smrgelse
31612ceb2653Smrg  GCC=
31622ceb2653Smrgfi
31632ceb2653Smrgac_test_CFLAGS=${CFLAGS+set}
31642ceb2653Smrgac_save_CFLAGS=$CFLAGS
31652ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
31662ceb2653Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
31672ceb2653Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
31682ceb2653Smrg  $as_echo_n "(cached) " >&6
31692ceb2653Smrgelse
31702ceb2653Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
31712ceb2653Smrg   ac_c_werror_flag=yes
31722ceb2653Smrg   ac_cv_prog_cc_g=no
31732ceb2653Smrg   CFLAGS="-g"
31742ceb2653Smrg   cat >conftest.$ac_ext <<_ACEOF
31752ceb2653Smrg/* confdefs.h.  */
31762ceb2653Smrg_ACEOF
31772ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
31782ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
31792ceb2653Smrg/* end confdefs.h.  */
31802ceb2653Smrg
31812ceb2653Smrgint
31822ceb2653Smrgmain ()
31832ceb2653Smrg{
31842ceb2653Smrg
31852ceb2653Smrg  ;
31862ceb2653Smrg  return 0;
31872ceb2653Smrg}
31882ceb2653Smrg_ACEOF
31892ceb2653Smrgrm -f conftest.$ac_objext
31902ceb2653Smrgif { (ac_try="$ac_compile"
31912ceb2653Smrgcase "(($ac_try" in
31922ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31932ceb2653Smrg  *) ac_try_echo=$ac_try;;
31942ceb2653Smrgesac
31952ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31962ceb2653Smrg$as_echo "$ac_try_echo") >&5
31972ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
31982ceb2653Smrg  ac_status=$?
31992ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
32002ceb2653Smrg  rm -f conftest.er1
32012ceb2653Smrg  cat conftest.err >&5
32022ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032ceb2653Smrg  (exit $ac_status); } && {
32042ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
32052ceb2653Smrg	 test ! -s conftest.err
32062ceb2653Smrg       } && test -s conftest.$ac_objext; then
32072ceb2653Smrg  ac_cv_prog_cc_g=yes
32082ceb2653Smrgelse
32092ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
32102ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
32112ceb2653Smrg
32122ceb2653Smrg	CFLAGS=""
32132ceb2653Smrg      cat >conftest.$ac_ext <<_ACEOF
32142ceb2653Smrg/* confdefs.h.  */
32152ceb2653Smrg_ACEOF
32162ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
32172ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
32182ceb2653Smrg/* end confdefs.h.  */
32192ceb2653Smrg
32202ceb2653Smrgint
32212ceb2653Smrgmain ()
32222ceb2653Smrg{
32232ceb2653Smrg
32242ceb2653Smrg  ;
32252ceb2653Smrg  return 0;
32262ceb2653Smrg}
32272ceb2653Smrg_ACEOF
32282ceb2653Smrgrm -f conftest.$ac_objext
32292ceb2653Smrgif { (ac_try="$ac_compile"
32302ceb2653Smrgcase "(($ac_try" in
32312ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32322ceb2653Smrg  *) ac_try_echo=$ac_try;;
32332ceb2653Smrgesac
32342ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32352ceb2653Smrg$as_echo "$ac_try_echo") >&5
32362ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
32372ceb2653Smrg  ac_status=$?
32382ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
32392ceb2653Smrg  rm -f conftest.er1
32402ceb2653Smrg  cat conftest.err >&5
32412ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422ceb2653Smrg  (exit $ac_status); } && {
32432ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
32442ceb2653Smrg	 test ! -s conftest.err
32452ceb2653Smrg       } && test -s conftest.$ac_objext; then
32462ceb2653Smrg  :
32472ceb2653Smrgelse
32482ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
32492ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
32502ceb2653Smrg
32512ceb2653Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
32522ceb2653Smrg	 CFLAGS="-g"
32532ceb2653Smrg	 cat >conftest.$ac_ext <<_ACEOF
32542ceb2653Smrg/* confdefs.h.  */
32552ceb2653Smrg_ACEOF
32562ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
32572ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
32582ceb2653Smrg/* end confdefs.h.  */
32592ceb2653Smrg
32602ceb2653Smrgint
32612ceb2653Smrgmain ()
32622ceb2653Smrg{
32632ceb2653Smrg
32642ceb2653Smrg  ;
32652ceb2653Smrg  return 0;
32662ceb2653Smrg}
32672ceb2653Smrg_ACEOF
32682ceb2653Smrgrm -f conftest.$ac_objext
32692ceb2653Smrgif { (ac_try="$ac_compile"
32702ceb2653Smrgcase "(($ac_try" in
32712ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32722ceb2653Smrg  *) ac_try_echo=$ac_try;;
32732ceb2653Smrgesac
32742ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32752ceb2653Smrg$as_echo "$ac_try_echo") >&5
32762ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
32772ceb2653Smrg  ac_status=$?
32782ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
32792ceb2653Smrg  rm -f conftest.er1
32802ceb2653Smrg  cat conftest.err >&5
32812ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822ceb2653Smrg  (exit $ac_status); } && {
32832ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
32842ceb2653Smrg	 test ! -s conftest.err
32852ceb2653Smrg       } && test -s conftest.$ac_objext; then
32862ceb2653Smrg  ac_cv_prog_cc_g=yes
32872ceb2653Smrgelse
32882ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
32892ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
32902ceb2653Smrg
32912ceb2653Smrg
32922ceb2653Smrgfi
32932ceb2653Smrg
32942ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32952ceb2653Smrgfi
32962ceb2653Smrg
32972ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32982ceb2653Smrgfi
32992ceb2653Smrg
33002ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33012ceb2653Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
33022ceb2653Smrgfi
33032ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
33042ceb2653Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
33052ceb2653Smrgif test "$ac_test_CFLAGS" = set; then
33062ceb2653Smrg  CFLAGS=$ac_save_CFLAGS
33072ceb2653Smrgelif test $ac_cv_prog_cc_g = yes; then
33082ceb2653Smrg  if test "$GCC" = yes; then
33092ceb2653Smrg    CFLAGS="-g -O2"
33102ceb2653Smrg  else
33112ceb2653Smrg    CFLAGS="-g"
33122ceb2653Smrg  fi
33132ceb2653Smrgelse
33142ceb2653Smrg  if test "$GCC" = yes; then
33152ceb2653Smrg    CFLAGS="-O2"
33162ceb2653Smrg  else
33172ceb2653Smrg    CFLAGS=
33182ceb2653Smrg  fi
33192ceb2653Smrgfi
33202ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
33212ceb2653Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
33222ceb2653Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
33232ceb2653Smrg  $as_echo_n "(cached) " >&6
33242ceb2653Smrgelse
33252ceb2653Smrg  ac_cv_prog_cc_c89=no
33262ceb2653Smrgac_save_CC=$CC
33272ceb2653Smrgcat >conftest.$ac_ext <<_ACEOF
33282ceb2653Smrg/* confdefs.h.  */
33292ceb2653Smrg_ACEOF
33302ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
33312ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
33322ceb2653Smrg/* end confdefs.h.  */
33332ceb2653Smrg#include <stdarg.h>
33342ceb2653Smrg#include <stdio.h>
33352ceb2653Smrg#include <sys/types.h>
33362ceb2653Smrg#include <sys/stat.h>
33372ceb2653Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
33382ceb2653Smrgstruct buf { int x; };
33392ceb2653SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
33402ceb2653Smrgstatic char *e (p, i)
33412ceb2653Smrg     char **p;
33422ceb2653Smrg     int i;
33432ceb2653Smrg{
33442ceb2653Smrg  return p[i];
33452ceb2653Smrg}
33462ceb2653Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
33472ceb2653Smrg{
33482ceb2653Smrg  char *s;
33492ceb2653Smrg  va_list v;
33502ceb2653Smrg  va_start (v,p);
33512ceb2653Smrg  s = g (p, va_arg (v,int));
33522ceb2653Smrg  va_end (v);
33532ceb2653Smrg  return s;
33542ceb2653Smrg}
33552ceb2653Smrg
33562ceb2653Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
33572ceb2653Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
33582ceb2653Smrg   These don't provoke an error unfortunately, instead are silently treated
33592ceb2653Smrg   as 'x'.  The following induces an error, until -std is added to get
33602ceb2653Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
33612ceb2653Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
33622ceb2653Smrg   that's true only with -std.  */
33632ceb2653Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
33642ceb2653Smrg
33652ceb2653Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
33662ceb2653Smrg   inside strings and character constants.  */
33672ceb2653Smrg#define FOO(x) 'x'
33682ceb2653Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
33692ceb2653Smrg
33702ceb2653Smrgint test (int i, double x);
33712ceb2653Smrgstruct s1 {int (*f) (int a);};
33722ceb2653Smrgstruct s2 {int (*f) (double a);};
33732ceb2653Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
33742ceb2653Smrgint argc;
33752ceb2653Smrgchar **argv;
33762ceb2653Smrgint
33772ceb2653Smrgmain ()
33782ceb2653Smrg{
33792ceb2653Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
33802ceb2653Smrg  ;
33812ceb2653Smrg  return 0;
33822ceb2653Smrg}
33832ceb2653Smrg_ACEOF
33842ceb2653Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
33852ceb2653Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
33862ceb2653Smrgdo
33872ceb2653Smrg  CC="$ac_save_CC $ac_arg"
33882ceb2653Smrg  rm -f conftest.$ac_objext
33892ceb2653Smrgif { (ac_try="$ac_compile"
33902ceb2653Smrgcase "(($ac_try" in
33912ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33922ceb2653Smrg  *) ac_try_echo=$ac_try;;
33932ceb2653Smrgesac
33942ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33952ceb2653Smrg$as_echo "$ac_try_echo") >&5
33962ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
33972ceb2653Smrg  ac_status=$?
33982ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
33992ceb2653Smrg  rm -f conftest.er1
34002ceb2653Smrg  cat conftest.err >&5
34012ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022ceb2653Smrg  (exit $ac_status); } && {
34032ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
34042ceb2653Smrg	 test ! -s conftest.err
34052ceb2653Smrg       } && test -s conftest.$ac_objext; then
34062ceb2653Smrg  ac_cv_prog_cc_c89=$ac_arg
34072ceb2653Smrgelse
34082ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
34092ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
34102ceb2653Smrg
34112ceb2653Smrg
34122ceb2653Smrgfi
34132ceb2653Smrg
34142ceb2653Smrgrm -f core conftest.err conftest.$ac_objext
34152ceb2653Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
34162ceb2653Smrgdone
34172ceb2653Smrgrm -f conftest.$ac_ext
34182ceb2653SmrgCC=$ac_save_CC
34192ceb2653Smrg
34202ceb2653Smrgfi
34212ceb2653Smrg# AC_CACHE_VAL
34222ceb2653Smrgcase "x$ac_cv_prog_cc_c89" in
34232ceb2653Smrg  x)
34242ceb2653Smrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
34252ceb2653Smrg$as_echo "none needed" >&6; } ;;
34262ceb2653Smrg  xno)
34272ceb2653Smrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
34282ceb2653Smrg$as_echo "unsupported" >&6; } ;;
34292ceb2653Smrg  *)
34302ceb2653Smrg    CC="$CC $ac_cv_prog_cc_c89"
34312ceb2653Smrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
34322ceb2653Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
34332ceb2653Smrgesac
34342ceb2653Smrg
34352ceb2653Smrg
34362ceb2653Smrgac_ext=c
34372ceb2653Smrgac_cpp='$CPP $CPPFLAGS'
34382ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34392ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34402ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
34412ceb2653Smrg
34422ceb2653Smrgdepcc="$CC"   am_compiler_list=
34432ceb2653Smrg
34442ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
34452ceb2653Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
34462ceb2653Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
34472ceb2653Smrg  $as_echo_n "(cached) " >&6
34482ceb2653Smrgelse
34492ceb2653Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
34502ceb2653Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
34512ceb2653Smrg  # making bogus files that we don't know about and never remove.  For
34522ceb2653Smrg  # instance it was reported that on HP-UX the gcc test will end up
34532ceb2653Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
34542ceb2653Smrg  # in D'.
34552ceb2653Smrg  mkdir conftest.dir
34562ceb2653Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
34572ceb2653Smrg  # using a relative directory.
34582ceb2653Smrg  cp "$am_depcomp" conftest.dir
34592ceb2653Smrg  cd conftest.dir
34602ceb2653Smrg  # We will build objects and dependencies in a subdirectory because
34612ceb2653Smrg  # it helps to detect inapplicable dependency modes.  For instance
34622ceb2653Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
34632ceb2653Smrg  # side effect of compilation, but ICC will put the dependencies in
34642ceb2653Smrg  # the current directory while Tru64 will put them in the object
34652ceb2653Smrg  # directory.
34662ceb2653Smrg  mkdir sub
34672ceb2653Smrg
34682ceb2653Smrg  am_cv_CC_dependencies_compiler_type=none
34692ceb2653Smrg  if test "$am_compiler_list" = ""; then
34702ceb2653Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
34712ceb2653Smrg  fi
34722ceb2653Smrg  am__universal=false
34732ceb2653Smrg  case " $depcc " in #(
34742ceb2653Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
34752ceb2653Smrg     esac
34762ceb2653Smrg
34772ceb2653Smrg  for depmode in $am_compiler_list; do
34782ceb2653Smrg    # Setup a source with many dependencies, because some compilers
34792ceb2653Smrg    # like to wrap large dependency lists on column 80 (with \), and
34802ceb2653Smrg    # we should not choose a depcomp mode which is confused by this.
34812ceb2653Smrg    #
34822ceb2653Smrg    # We need to recreate these files for each test, as the compiler may
34832ceb2653Smrg    # overwrite some of them when testing with obscure command lines.
34842ceb2653Smrg    # This happens at least with the AIX C compiler.
34852ceb2653Smrg    : > sub/conftest.c
34862ceb2653Smrg    for i in 1 2 3 4 5 6; do
34872ceb2653Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
34882ceb2653Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
34892ceb2653Smrg      # Solaris 8's {/usr,}/bin/sh.
34902ceb2653Smrg      touch sub/conftst$i.h
34912ceb2653Smrg    done
34922ceb2653Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
34932ceb2653Smrg
34942ceb2653Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
34952ceb2653Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
34962ceb2653Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
34972ceb2653Smrg    # versions had trouble with output in subdirs
34982ceb2653Smrg    am__obj=sub/conftest.${OBJEXT-o}
34992ceb2653Smrg    am__minus_obj="-o $am__obj"
35002ceb2653Smrg    case $depmode in
35012ceb2653Smrg    gcc)
35022ceb2653Smrg      # This depmode causes a compiler race in universal mode.
35032ceb2653Smrg      test "$am__universal" = false || continue
35042ceb2653Smrg      ;;
35052ceb2653Smrg    nosideeffect)
35062ceb2653Smrg      # after this tag, mechanisms are not by side-effect, so they'll
35072ceb2653Smrg      # only be used when explicitly requested
35082ceb2653Smrg      if test "x$enable_dependency_tracking" = xyes; then
35092ceb2653Smrg	continue
35102ceb2653Smrg      else
35112ceb2653Smrg	break
35122ceb2653Smrg      fi
35132ceb2653Smrg      ;;
35142ceb2653Smrg    msvisualcpp | msvcmsys)
35152ceb2653Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
35162ceb2653Smrg      # not run yet.  These depmodes are late enough in the game, and
35172ceb2653Smrg      # so weak that their functioning should not be impacted.
35182ceb2653Smrg      am__obj=conftest.${OBJEXT-o}
35192ceb2653Smrg      am__minus_obj=
35202ceb2653Smrg      ;;
35212ceb2653Smrg    none) break ;;
35222ceb2653Smrg    esac
35232ceb2653Smrg    if depmode=$depmode \
35242ceb2653Smrg       source=sub/conftest.c object=$am__obj \
35252ceb2653Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
35262ceb2653Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
35272ceb2653Smrg         >/dev/null 2>conftest.err &&
35282ceb2653Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
35292ceb2653Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
35302ceb2653Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
35312ceb2653Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
35322ceb2653Smrg      # icc doesn't choke on unknown options, it will just issue warnings
35332ceb2653Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
35342ceb2653Smrg      # that says an option was ignored or not supported.
35352ceb2653Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
35362ceb2653Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
35372ceb2653Smrg      # The diagnosis changed in icc 8.0:
35382ceb2653Smrg      #   icc: Command line remark: option '-MP' not supported
35392ceb2653Smrg      if (grep 'ignoring option' conftest.err ||
35402ceb2653Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
35412ceb2653Smrg        am_cv_CC_dependencies_compiler_type=$depmode
35422ceb2653Smrg        break
35432ceb2653Smrg      fi
35442ceb2653Smrg    fi
35452ceb2653Smrg  done
35462ceb2653Smrg
35472ceb2653Smrg  cd ..
35482ceb2653Smrg  rm -rf conftest.dir
35492ceb2653Smrgelse
35502ceb2653Smrg  am_cv_CC_dependencies_compiler_type=none
35512ceb2653Smrgfi
35522ceb2653Smrg
35532ceb2653Smrgfi
35542ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
35552ceb2653Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
35562ceb2653SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
35572ceb2653Smrg
35582ceb2653Smrg if
35592ceb2653Smrg  test "x$enable_dependency_tracking" != xno \
35602ceb2653Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
35612ceb2653Smrg  am__fastdepCC_TRUE=
35622ceb2653Smrg  am__fastdepCC_FALSE='#'
35632ceb2653Smrgelse
35642ceb2653Smrg  am__fastdepCC_TRUE='#'
35652ceb2653Smrg  am__fastdepCC_FALSE=
35662ceb2653Smrgfi
35672ceb2653Smrg
35682ceb2653Smrg
35692ceb2653Smrg
35702ceb2653Smrgac_ext=c
35712ceb2653Smrgac_cpp='$CPP $CPPFLAGS'
35722ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35732ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35742ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
35752ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
35762ceb2653Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
35772ceb2653Smrg# On Suns, sometimes $CPP names a directory.
35782ceb2653Smrgif test -n "$CPP" && test -d "$CPP"; then
35792ceb2653Smrg  CPP=
35802ceb2653Smrgfi
35812ceb2653Smrgif test -z "$CPP"; then
35822ceb2653Smrg  if test "${ac_cv_prog_CPP+set}" = set; then
35832ceb2653Smrg  $as_echo_n "(cached) " >&6
35842ceb2653Smrgelse
35852ceb2653Smrg      # Double quotes because CPP needs to be expanded
35862ceb2653Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
35872ceb2653Smrg    do
35882ceb2653Smrg      ac_preproc_ok=false
35892ceb2653Smrgfor ac_c_preproc_warn_flag in '' yes
35902ceb2653Smrgdo
35912ceb2653Smrg  # Use a header file that comes with gcc, so configuring glibc
35922ceb2653Smrg  # with a fresh cross-compiler works.
35932ceb2653Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35942ceb2653Smrg  # <limits.h> exists even on freestanding compilers.
35952ceb2653Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
35962ceb2653Smrg  # not just through cpp. "Syntax error" is here to catch this case.
35972ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
35982ceb2653Smrg/* confdefs.h.  */
35992ceb2653Smrg_ACEOF
36002ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
36012ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
36022ceb2653Smrg/* end confdefs.h.  */
36032ceb2653Smrg#ifdef __STDC__
36042ceb2653Smrg# include <limits.h>
36052ceb2653Smrg#else
36062ceb2653Smrg# include <assert.h>
36072ceb2653Smrg#endif
36082ceb2653Smrg		     Syntax error
36092ceb2653Smrg_ACEOF
36102ceb2653Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
36112ceb2653Smrgcase "(($ac_try" in
36122ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36132ceb2653Smrg  *) ac_try_echo=$ac_try;;
36142ceb2653Smrgesac
36152ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36162ceb2653Smrg$as_echo "$ac_try_echo") >&5
36172ceb2653Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36182ceb2653Smrg  ac_status=$?
36192ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
36202ceb2653Smrg  rm -f conftest.er1
36212ceb2653Smrg  cat conftest.err >&5
36222ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232ceb2653Smrg  (exit $ac_status); } >/dev/null && {
36242ceb2653Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36252ceb2653Smrg	 test ! -s conftest.err
36262ceb2653Smrg       }; then
36272ceb2653Smrg  :
36282ceb2653Smrgelse
36292ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
36302ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
36312ceb2653Smrg
36322ceb2653Smrg  # Broken: fails on valid input.
36332ceb2653Smrgcontinue
36342ceb2653Smrgfi
36352ceb2653Smrg
36362ceb2653Smrgrm -f conftest.err conftest.$ac_ext
36372ceb2653Smrg
36382ceb2653Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
36392ceb2653Smrg  # can be detected and how.
36402ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
36412ceb2653Smrg/* confdefs.h.  */
36422ceb2653Smrg_ACEOF
36432ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
36442ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
36452ceb2653Smrg/* end confdefs.h.  */
36462ceb2653Smrg#include <ac_nonexistent.h>
36472ceb2653Smrg_ACEOF
36482ceb2653Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
36492ceb2653Smrgcase "(($ac_try" in
36502ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36512ceb2653Smrg  *) ac_try_echo=$ac_try;;
36522ceb2653Smrgesac
36532ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36542ceb2653Smrg$as_echo "$ac_try_echo") >&5
36552ceb2653Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36562ceb2653Smrg  ac_status=$?
36572ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
36582ceb2653Smrg  rm -f conftest.er1
36592ceb2653Smrg  cat conftest.err >&5
36602ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612ceb2653Smrg  (exit $ac_status); } >/dev/null && {
36622ceb2653Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36632ceb2653Smrg	 test ! -s conftest.err
36642ceb2653Smrg       }; then
36652ceb2653Smrg  # Broken: success on invalid input.
36662ceb2653Smrgcontinue
36672ceb2653Smrgelse
36682ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
36692ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
36702ceb2653Smrg
36712ceb2653Smrg  # Passes both tests.
36722ceb2653Smrgac_preproc_ok=:
36732ceb2653Smrgbreak
36742ceb2653Smrgfi
36752ceb2653Smrg
36762ceb2653Smrgrm -f conftest.err conftest.$ac_ext
36772ceb2653Smrg
36782ceb2653Smrgdone
36792ceb2653Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
36802ceb2653Smrgrm -f conftest.err conftest.$ac_ext
36812ceb2653Smrgif $ac_preproc_ok; then
36822ceb2653Smrg  break
36832ceb2653Smrgfi
36842ceb2653Smrg
36852ceb2653Smrg    done
36862ceb2653Smrg    ac_cv_prog_CPP=$CPP
36872ceb2653Smrg
36882ceb2653Smrgfi
36892ceb2653Smrg  CPP=$ac_cv_prog_CPP
36902ceb2653Smrgelse
36912ceb2653Smrg  ac_cv_prog_CPP=$CPP
36922ceb2653Smrgfi
36932ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
36942ceb2653Smrg$as_echo "$CPP" >&6; }
36952ceb2653Smrgac_preproc_ok=false
36962ceb2653Smrgfor ac_c_preproc_warn_flag in '' yes
36972ceb2653Smrgdo
36982ceb2653Smrg  # Use a header file that comes with gcc, so configuring glibc
36992ceb2653Smrg  # with a fresh cross-compiler works.
37002ceb2653Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37012ceb2653Smrg  # <limits.h> exists even on freestanding compilers.
37022ceb2653Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
37032ceb2653Smrg  # not just through cpp. "Syntax error" is here to catch this case.
37042ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
37052ceb2653Smrg/* confdefs.h.  */
37062ceb2653Smrg_ACEOF
37072ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
37082ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
37092ceb2653Smrg/* end confdefs.h.  */
37102ceb2653Smrg#ifdef __STDC__
37112ceb2653Smrg# include <limits.h>
37122ceb2653Smrg#else
37132ceb2653Smrg# include <assert.h>
37142ceb2653Smrg#endif
37152ceb2653Smrg		     Syntax error
37162ceb2653Smrg_ACEOF
37172ceb2653Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
37182ceb2653Smrgcase "(($ac_try" in
37192ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37202ceb2653Smrg  *) ac_try_echo=$ac_try;;
37212ceb2653Smrgesac
37222ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37232ceb2653Smrg$as_echo "$ac_try_echo") >&5
37242ceb2653Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37252ceb2653Smrg  ac_status=$?
37262ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
37272ceb2653Smrg  rm -f conftest.er1
37282ceb2653Smrg  cat conftest.err >&5
37292ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302ceb2653Smrg  (exit $ac_status); } >/dev/null && {
37312ceb2653Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37322ceb2653Smrg	 test ! -s conftest.err
37332ceb2653Smrg       }; then
37342ceb2653Smrg  :
37352ceb2653Smrgelse
37362ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
37372ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
37382ceb2653Smrg
37392ceb2653Smrg  # Broken: fails on valid input.
37402ceb2653Smrgcontinue
37412ceb2653Smrgfi
37422ceb2653Smrg
37432ceb2653Smrgrm -f conftest.err conftest.$ac_ext
37442ceb2653Smrg
37452ceb2653Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
37462ceb2653Smrg  # can be detected and how.
37472ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
37482ceb2653Smrg/* confdefs.h.  */
37492ceb2653Smrg_ACEOF
37502ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
37512ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
37522ceb2653Smrg/* end confdefs.h.  */
37532ceb2653Smrg#include <ac_nonexistent.h>
37542ceb2653Smrg_ACEOF
37552ceb2653Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
37562ceb2653Smrgcase "(($ac_try" in
37572ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37582ceb2653Smrg  *) ac_try_echo=$ac_try;;
37592ceb2653Smrgesac
37602ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37612ceb2653Smrg$as_echo "$ac_try_echo") >&5
37622ceb2653Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37632ceb2653Smrg  ac_status=$?
37642ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
37652ceb2653Smrg  rm -f conftest.er1
37662ceb2653Smrg  cat conftest.err >&5
37672ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682ceb2653Smrg  (exit $ac_status); } >/dev/null && {
37692ceb2653Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37702ceb2653Smrg	 test ! -s conftest.err
37712ceb2653Smrg       }; then
37722ceb2653Smrg  # Broken: success on invalid input.
37732ceb2653Smrgcontinue
37742ceb2653Smrgelse
37752ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
37762ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
37772ceb2653Smrg
37782ceb2653Smrg  # Passes both tests.
37792ceb2653Smrgac_preproc_ok=:
37802ceb2653Smrgbreak
37812ceb2653Smrgfi
37822ceb2653Smrg
37832ceb2653Smrgrm -f conftest.err conftest.$ac_ext
37842ceb2653Smrg
37852ceb2653Smrgdone
37862ceb2653Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
37872ceb2653Smrgrm -f conftest.err conftest.$ac_ext
37882ceb2653Smrgif $ac_preproc_ok; then
37892ceb2653Smrg  :
37902ceb2653Smrgelse
37912ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37922ceb2653Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37932ceb2653Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
37942ceb2653SmrgSee \`config.log' for more details." >&5
37952ceb2653Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
37962ceb2653SmrgSee \`config.log' for more details." >&2;}
37972ceb2653Smrg   { (exit 1); exit 1; }; }; }
37982ceb2653Smrgfi
37992ceb2653Smrg
38002ceb2653Smrgac_ext=c
38012ceb2653Smrgac_cpp='$CPP $CPPFLAGS'
38022ceb2653Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38032ceb2653Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38042ceb2653Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
38052ceb2653Smrg
38062ceb2653Smrg
38072ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
38082ceb2653Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
38092ceb2653Smrgif test "${ac_cv_path_GREP+set}" = set; then
38102ceb2653Smrg  $as_echo_n "(cached) " >&6
38112ceb2653Smrgelse
38122ceb2653Smrg  if test -z "$GREP"; then
38132ceb2653Smrg  ac_path_GREP_found=false
38142ceb2653Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
38152ceb2653Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38162ceb2653Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
38172ceb2653Smrgdo
38182ceb2653Smrg  IFS=$as_save_IFS
38192ceb2653Smrg  test -z "$as_dir" && as_dir=.
38202ceb2653Smrg  for ac_prog in grep ggrep; do
38212ceb2653Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
38222ceb2653Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
38232ceb2653Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
38242ceb2653Smrg# Check for GNU ac_path_GREP and select it if it is found.
38252ceb2653Smrg  # Check for GNU $ac_path_GREP
38262ceb2653Smrgcase `"$ac_path_GREP" --version 2>&1` in
38272ceb2653Smrg*GNU*)
38282ceb2653Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
38292ceb2653Smrg*)
38302ceb2653Smrg  ac_count=0
38312ceb2653Smrg  $as_echo_n 0123456789 >"conftest.in"
38322ceb2653Smrg  while :
38332ceb2653Smrg  do
38342ceb2653Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
38352ceb2653Smrg    mv "conftest.tmp" "conftest.in"
38362ceb2653Smrg    cp "conftest.in" "conftest.nl"
38372ceb2653Smrg    $as_echo 'GREP' >> "conftest.nl"
38382ceb2653Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
38392ceb2653Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
38402ceb2653Smrg    ac_count=`expr $ac_count + 1`
38412ceb2653Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
38422ceb2653Smrg      # Best one so far, save it but keep looking for a better one
38432ceb2653Smrg      ac_cv_path_GREP="$ac_path_GREP"
38442ceb2653Smrg      ac_path_GREP_max=$ac_count
38452ceb2653Smrg    fi
38462ceb2653Smrg    # 10*(2^10) chars as input seems more than enough
38472ceb2653Smrg    test $ac_count -gt 10 && break
38482ceb2653Smrg  done
38492ceb2653Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
38502ceb2653Smrgesac
38512ceb2653Smrg
38522ceb2653Smrg      $ac_path_GREP_found && break 3
38532ceb2653Smrg    done
38542ceb2653Smrg  done
38552ceb2653Smrgdone
38562ceb2653SmrgIFS=$as_save_IFS
38572ceb2653Smrg  if test -z "$ac_cv_path_GREP"; then
38582ceb2653Smrg    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
38592ceb2653Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
38602ceb2653Smrg   { (exit 1); exit 1; }; }
38612ceb2653Smrg  fi
38622ceb2653Smrgelse
38632ceb2653Smrg  ac_cv_path_GREP=$GREP
38642ceb2653Smrgfi
38652ceb2653Smrg
38662ceb2653Smrgfi
38672ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
38682ceb2653Smrg$as_echo "$ac_cv_path_GREP" >&6; }
38692ceb2653Smrg GREP="$ac_cv_path_GREP"
38702ceb2653Smrg
38712ceb2653Smrg
38722ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
38732ceb2653Smrg$as_echo_n "checking for egrep... " >&6; }
38742ceb2653Smrgif test "${ac_cv_path_EGREP+set}" = set; then
38752ceb2653Smrg  $as_echo_n "(cached) " >&6
3876b7d53ee5Smrgelse
38772ceb2653Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
38782ceb2653Smrg   then ac_cv_path_EGREP="$GREP -E"
38792ceb2653Smrg   else
38802ceb2653Smrg     if test -z "$EGREP"; then
38812ceb2653Smrg  ac_path_EGREP_found=false
38822ceb2653Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
38832ceb2653Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38842ceb2653Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
38852ceb2653Smrgdo
38862ceb2653Smrg  IFS=$as_save_IFS
38872ceb2653Smrg  test -z "$as_dir" && as_dir=.
38882ceb2653Smrg  for ac_prog in egrep; do
38892ceb2653Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
38902ceb2653Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
38912ceb2653Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
38922ceb2653Smrg# Check for GNU ac_path_EGREP and select it if it is found.
38932ceb2653Smrg  # Check for GNU $ac_path_EGREP
38942ceb2653Smrgcase `"$ac_path_EGREP" --version 2>&1` in
38952ceb2653Smrg*GNU*)
38962ceb2653Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
38972ceb2653Smrg*)
38982ceb2653Smrg  ac_count=0
38992ceb2653Smrg  $as_echo_n 0123456789 >"conftest.in"
39002ceb2653Smrg  while :
39012ceb2653Smrg  do
39022ceb2653Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
39032ceb2653Smrg    mv "conftest.tmp" "conftest.in"
39042ceb2653Smrg    cp "conftest.in" "conftest.nl"
39052ceb2653Smrg    $as_echo 'EGREP' >> "conftest.nl"
39062ceb2653Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
39072ceb2653Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
39082ceb2653Smrg    ac_count=`expr $ac_count + 1`
39092ceb2653Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
39102ceb2653Smrg      # Best one so far, save it but keep looking for a better one
39112ceb2653Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
39122ceb2653Smrg      ac_path_EGREP_max=$ac_count
39132ceb2653Smrg    fi
39142ceb2653Smrg    # 10*(2^10) chars as input seems more than enough
39152ceb2653Smrg    test $ac_count -gt 10 && break
39162ceb2653Smrg  done
39172ceb2653Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
39182ceb2653Smrgesac
39192ceb2653Smrg
39202ceb2653Smrg      $ac_path_EGREP_found && break 3
39212ceb2653Smrg    done
39222ceb2653Smrg  done
39232ceb2653Smrgdone
39242ceb2653SmrgIFS=$as_save_IFS
39252ceb2653Smrg  if test -z "$ac_cv_path_EGREP"; then
39262ceb2653Smrg    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
39272ceb2653Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
39282ceb2653Smrg   { (exit 1); exit 1; }; }
39292ceb2653Smrg  fi
39302ceb2653Smrgelse
39312ceb2653Smrg  ac_cv_path_EGREP=$EGREP
39322ceb2653Smrgfi
39332ceb2653Smrg
39342ceb2653Smrg   fi
39352ceb2653Smrgfi
39362ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
39372ceb2653Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
39382ceb2653Smrg EGREP="$ac_cv_path_EGREP"
39392ceb2653Smrg
39402ceb2653Smrg
39412ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
39422ceb2653Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
39432ceb2653Smrgif test "${ac_cv_header_stdc+set}" = set; then
39442ceb2653Smrg  $as_echo_n "(cached) " >&6
39452ceb2653Smrgelse
39462ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
39472ceb2653Smrg/* confdefs.h.  */
39482ceb2653Smrg_ACEOF
39492ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
39502ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
39512ceb2653Smrg/* end confdefs.h.  */
39522ceb2653Smrg#include <stdlib.h>
39532ceb2653Smrg#include <stdarg.h>
39542ceb2653Smrg#include <string.h>
39552ceb2653Smrg#include <float.h>
39562ceb2653Smrg
39572ceb2653Smrgint
39582ceb2653Smrgmain ()
39592ceb2653Smrg{
39602ceb2653Smrg
39612ceb2653Smrg  ;
39622ceb2653Smrg  return 0;
39632ceb2653Smrg}
39642ceb2653Smrg_ACEOF
39652ceb2653Smrgrm -f conftest.$ac_objext
39662ceb2653Smrgif { (ac_try="$ac_compile"
39672ceb2653Smrgcase "(($ac_try" in
39682ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39692ceb2653Smrg  *) ac_try_echo=$ac_try;;
39702ceb2653Smrgesac
39712ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39722ceb2653Smrg$as_echo "$ac_try_echo") >&5
39732ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
39742ceb2653Smrg  ac_status=$?
39752ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
39762ceb2653Smrg  rm -f conftest.er1
39772ceb2653Smrg  cat conftest.err >&5
39782ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39792ceb2653Smrg  (exit $ac_status); } && {
39802ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
39812ceb2653Smrg	 test ! -s conftest.err
39822ceb2653Smrg       } && test -s conftest.$ac_objext; then
39832ceb2653Smrg  ac_cv_header_stdc=yes
39842ceb2653Smrgelse
39852ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
39862ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
39872ceb2653Smrg
39882ceb2653Smrg	ac_cv_header_stdc=no
39892ceb2653Smrgfi
39902ceb2653Smrg
39912ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39922ceb2653Smrg
39932ceb2653Smrgif test $ac_cv_header_stdc = yes; then
39942ceb2653Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
39952ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
39962ceb2653Smrg/* confdefs.h.  */
39972ceb2653Smrg_ACEOF
39982ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
39992ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
40002ceb2653Smrg/* end confdefs.h.  */
40012ceb2653Smrg#include <string.h>
40022ceb2653Smrg
40032ceb2653Smrg_ACEOF
40042ceb2653Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40052ceb2653Smrg  $EGREP "memchr" >/dev/null 2>&1; then
40062ceb2653Smrg  :
40072ceb2653Smrgelse
40082ceb2653Smrg  ac_cv_header_stdc=no
40092ceb2653Smrgfi
40102ceb2653Smrgrm -f conftest*
40112ceb2653Smrg
40122ceb2653Smrgfi
40132ceb2653Smrg
40142ceb2653Smrgif test $ac_cv_header_stdc = yes; then
40152ceb2653Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40162ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
40172ceb2653Smrg/* confdefs.h.  */
40182ceb2653Smrg_ACEOF
40192ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
40202ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
40212ceb2653Smrg/* end confdefs.h.  */
40222ceb2653Smrg#include <stdlib.h>
40232ceb2653Smrg
40242ceb2653Smrg_ACEOF
40252ceb2653Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40262ceb2653Smrg  $EGREP "free" >/dev/null 2>&1; then
40272ceb2653Smrg  :
40282ceb2653Smrgelse
40292ceb2653Smrg  ac_cv_header_stdc=no
40302ceb2653Smrgfi
40312ceb2653Smrgrm -f conftest*
40322ceb2653Smrg
40332ceb2653Smrgfi
40342ceb2653Smrg
40352ceb2653Smrgif test $ac_cv_header_stdc = yes; then
40362ceb2653Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
40372ceb2653Smrg  if test "$cross_compiling" = yes; then
40382ceb2653Smrg  :
40392ceb2653Smrgelse
40402ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
40412ceb2653Smrg/* confdefs.h.  */
40422ceb2653Smrg_ACEOF
40432ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
40442ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
40452ceb2653Smrg/* end confdefs.h.  */
40462ceb2653Smrg#include <ctype.h>
40472ceb2653Smrg#include <stdlib.h>
40482ceb2653Smrg#if ((' ' & 0x0FF) == 0x020)
40492ceb2653Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
40502ceb2653Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
40512ceb2653Smrg#else
40522ceb2653Smrg# define ISLOWER(c) \
40532ceb2653Smrg		   (('a' <= (c) && (c) <= 'i') \
40542ceb2653Smrg		     || ('j' <= (c) && (c) <= 'r') \
40552ceb2653Smrg		     || ('s' <= (c) && (c) <= 'z'))
40562ceb2653Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
40572ceb2653Smrg#endif
40582ceb2653Smrg
40592ceb2653Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
40602ceb2653Smrgint
40612ceb2653Smrgmain ()
40622ceb2653Smrg{
40632ceb2653Smrg  int i;
40642ceb2653Smrg  for (i = 0; i < 256; i++)
40652ceb2653Smrg    if (XOR (islower (i), ISLOWER (i))
40662ceb2653Smrg	|| toupper (i) != TOUPPER (i))
40672ceb2653Smrg      return 2;
40682ceb2653Smrg  return 0;
40692ceb2653Smrg}
40702ceb2653Smrg_ACEOF
40712ceb2653Smrgrm -f conftest$ac_exeext
40722ceb2653Smrgif { (ac_try="$ac_link"
40732ceb2653Smrgcase "(($ac_try" in
40742ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40752ceb2653Smrg  *) ac_try_echo=$ac_try;;
40762ceb2653Smrgesac
40772ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40782ceb2653Smrg$as_echo "$ac_try_echo") >&5
40792ceb2653Smrg  (eval "$ac_link") 2>&5
40802ceb2653Smrg  ac_status=$?
40812ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822ceb2653Smrg  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40832ceb2653Smrg  { (case "(($ac_try" in
40842ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40852ceb2653Smrg  *) ac_try_echo=$ac_try;;
40862ceb2653Smrgesac
40872ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40882ceb2653Smrg$as_echo "$ac_try_echo") >&5
40892ceb2653Smrg  (eval "$ac_try") 2>&5
40902ceb2653Smrg  ac_status=$?
40912ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922ceb2653Smrg  (exit $ac_status); }; }; then
40932ceb2653Smrg  :
40942ceb2653Smrgelse
40952ceb2653Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
40962ceb2653Smrg$as_echo "$as_me: failed program was:" >&5
40972ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
40982ceb2653Smrg
40992ceb2653Smrg( exit $ac_status )
41002ceb2653Smrgac_cv_header_stdc=no
41012ceb2653Smrgfi
41022ceb2653Smrgrm -rf conftest.dSYM
41032ceb2653Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41042ceb2653Smrgfi
41052ceb2653Smrg
41062ceb2653Smrg
41072ceb2653Smrgfi
41082ceb2653Smrgfi
41092ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
41102ceb2653Smrg$as_echo "$ac_cv_header_stdc" >&6; }
41112ceb2653Smrgif test $ac_cv_header_stdc = yes; then
41122ceb2653Smrg
41132ceb2653Smrgcat >>confdefs.h <<\_ACEOF
41142ceb2653Smrg#define STDC_HEADERS 1
41152ceb2653Smrg_ACEOF
41162ceb2653Smrg
41172ceb2653Smrgfi
41182ceb2653Smrg
41192ceb2653Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
41202ceb2653Smrg
41212ceb2653Smrg
41222ceb2653Smrg
41232ceb2653Smrg
41242ceb2653Smrg
41252ceb2653Smrg
41262ceb2653Smrg
41272ceb2653Smrg
41282ceb2653Smrg
41292ceb2653Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
41302ceb2653Smrg		  inttypes.h stdint.h unistd.h
41312ceb2653Smrgdo
41322ceb2653Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
41332ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
41342ceb2653Smrg$as_echo_n "checking for $ac_header... " >&6; }
41352ceb2653Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41362ceb2653Smrg  $as_echo_n "(cached) " >&6
41372ceb2653Smrgelse
41382ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
41392ceb2653Smrg/* confdefs.h.  */
41402ceb2653Smrg_ACEOF
41412ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
41422ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
41432ceb2653Smrg/* end confdefs.h.  */
41442ceb2653Smrg$ac_includes_default
41452ceb2653Smrg
41462ceb2653Smrg#include <$ac_header>
41472ceb2653Smrg_ACEOF
41482ceb2653Smrgrm -f conftest.$ac_objext
41492ceb2653Smrgif { (ac_try="$ac_compile"
41502ceb2653Smrgcase "(($ac_try" in
41512ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41522ceb2653Smrg  *) ac_try_echo=$ac_try;;
41532ceb2653Smrgesac
41542ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41552ceb2653Smrg$as_echo "$ac_try_echo") >&5
41562ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
41572ceb2653Smrg  ac_status=$?
41582ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
41592ceb2653Smrg  rm -f conftest.er1
41602ceb2653Smrg  cat conftest.err >&5
41612ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41622ceb2653Smrg  (exit $ac_status); } && {
41632ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
41642ceb2653Smrg	 test ! -s conftest.err
41652ceb2653Smrg       } && test -s conftest.$ac_objext; then
41662ceb2653Smrg  eval "$as_ac_Header=yes"
41672ceb2653Smrgelse
41682ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
41692ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
41702ceb2653Smrg
41712ceb2653Smrg	eval "$as_ac_Header=no"
41722ceb2653Smrgfi
41732ceb2653Smrg
41742ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41752ceb2653Smrgfi
41762ceb2653Smrgac_res=`eval 'as_val=${'$as_ac_Header'}
41772ceb2653Smrg		 $as_echo "$as_val"'`
41782ceb2653Smrg	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
41792ceb2653Smrg$as_echo "$ac_res" >&6; }
41802ceb2653Smrgas_val=`eval 'as_val=${'$as_ac_Header'}
41812ceb2653Smrg		 $as_echo "$as_val"'`
41822ceb2653Smrg   if test "x$as_val" = x""yes; then
41832ceb2653Smrg  cat >>confdefs.h <<_ACEOF
41842ceb2653Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
41852ceb2653Smrg_ACEOF
41862ceb2653Smrg
41872ceb2653Smrgfi
41882ceb2653Smrg
41892ceb2653Smrgdone
41902ceb2653Smrg
41912ceb2653Smrg
41922ceb2653Smrg   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
41932ceb2653Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
41942ceb2653Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then
41952ceb2653Smrg  $as_echo_n "(cached) " >&6
41962ceb2653Smrgelse
41972ceb2653Smrg  ac_cv_prog_cc_c99=no
41982ceb2653Smrgac_save_CC=$CC
41992ceb2653Smrgcat >conftest.$ac_ext <<_ACEOF
42002ceb2653Smrg/* confdefs.h.  */
42012ceb2653Smrg_ACEOF
42022ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
42032ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
42042ceb2653Smrg/* end confdefs.h.  */
42052ceb2653Smrg#include <stdarg.h>
42062ceb2653Smrg#include <stdbool.h>
42072ceb2653Smrg#include <stdlib.h>
42082ceb2653Smrg#include <wchar.h>
42092ceb2653Smrg#include <stdio.h>
42102ceb2653Smrg
42112ceb2653Smrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
42122ceb2653Smrg#define debug(...) fprintf (stderr, __VA_ARGS__)
42132ceb2653Smrg#define showlist(...) puts (#__VA_ARGS__)
42142ceb2653Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
42152ceb2653Smrgstatic void
42162ceb2653Smrgtest_varargs_macros (void)
42172ceb2653Smrg{
42182ceb2653Smrg  int x = 1234;
42192ceb2653Smrg  int y = 5678;
42202ceb2653Smrg  debug ("Flag");
42212ceb2653Smrg  debug ("X = %d\n", x);
42222ceb2653Smrg  showlist (The first, second, and third items.);
42232ceb2653Smrg  report (x>y, "x is %d but y is %d", x, y);
42242ceb2653Smrg}
42252ceb2653Smrg
42262ceb2653Smrg// Check long long types.
42272ceb2653Smrg#define BIG64 18446744073709551615ull
42282ceb2653Smrg#define BIG32 4294967295ul
42292ceb2653Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
42302ceb2653Smrg#if !BIG_OK
42312ceb2653Smrg  your preprocessor is broken;
42322ceb2653Smrg#endif
42332ceb2653Smrg#if BIG_OK
42342ceb2653Smrg#else
42352ceb2653Smrg  your preprocessor is broken;
42362ceb2653Smrg#endif
42372ceb2653Smrgstatic long long int bignum = -9223372036854775807LL;
42382ceb2653Smrgstatic unsigned long long int ubignum = BIG64;
42392ceb2653Smrg
42402ceb2653Smrgstruct incomplete_array
42412ceb2653Smrg{
42422ceb2653Smrg  int datasize;
42432ceb2653Smrg  double data[];
42442ceb2653Smrg};
42452ceb2653Smrg
42462ceb2653Smrgstruct named_init {
42472ceb2653Smrg  int number;
42482ceb2653Smrg  const wchar_t *name;
42492ceb2653Smrg  double average;
42502ceb2653Smrg};
42512ceb2653Smrg
42522ceb2653Smrgtypedef const char *ccp;
42532ceb2653Smrg
42542ceb2653Smrgstatic inline int
42552ceb2653Smrgtest_restrict (ccp restrict text)
42562ceb2653Smrg{
42572ceb2653Smrg  // See if C++-style comments work.
42582ceb2653Smrg  // Iterate through items via the restricted pointer.
42592ceb2653Smrg  // Also check for declarations in for loops.
42602ceb2653Smrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
42612ceb2653Smrg    continue;
42622ceb2653Smrg  return 0;
42632ceb2653Smrg}
42642ceb2653Smrg
42652ceb2653Smrg// Check varargs and va_copy.
42662ceb2653Smrgstatic void
42672ceb2653Smrgtest_varargs (const char *format, ...)
42682ceb2653Smrg{
42692ceb2653Smrg  va_list args;
42702ceb2653Smrg  va_start (args, format);
42712ceb2653Smrg  va_list args_copy;
42722ceb2653Smrg  va_copy (args_copy, args);
42732ceb2653Smrg
42742ceb2653Smrg  const char *str;
42752ceb2653Smrg  int number;
42762ceb2653Smrg  float fnumber;
42772ceb2653Smrg
42782ceb2653Smrg  while (*format)
42792ceb2653Smrg    {
42802ceb2653Smrg      switch (*format++)
42812ceb2653Smrg	{
42822ceb2653Smrg	case 's': // string
42832ceb2653Smrg	  str = va_arg (args_copy, const char *);
42842ceb2653Smrg	  break;
42852ceb2653Smrg	case 'd': // int
42862ceb2653Smrg	  number = va_arg (args_copy, int);
42872ceb2653Smrg	  break;
42882ceb2653Smrg	case 'f': // float
42892ceb2653Smrg	  fnumber = va_arg (args_copy, double);
42902ceb2653Smrg	  break;
42912ceb2653Smrg	default:
42922ceb2653Smrg	  break;
42932ceb2653Smrg	}
42942ceb2653Smrg    }
42952ceb2653Smrg  va_end (args_copy);
42962ceb2653Smrg  va_end (args);
42972ceb2653Smrg}
42982ceb2653Smrg
42992ceb2653Smrgint
43002ceb2653Smrgmain ()
43012ceb2653Smrg{
43022ceb2653Smrg
43032ceb2653Smrg  // Check bool.
43042ceb2653Smrg  _Bool success = false;
43052ceb2653Smrg
43062ceb2653Smrg  // Check restrict.
43072ceb2653Smrg  if (test_restrict ("String literal") == 0)
43082ceb2653Smrg    success = true;
43092ceb2653Smrg  char *restrict newvar = "Another string";
43102ceb2653Smrg
43112ceb2653Smrg  // Check varargs.
43122ceb2653Smrg  test_varargs ("s, d' f .", "string", 65, 34.234);
43132ceb2653Smrg  test_varargs_macros ();
43142ceb2653Smrg
43152ceb2653Smrg  // Check flexible array members.
43162ceb2653Smrg  struct incomplete_array *ia =
43172ceb2653Smrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
43182ceb2653Smrg  ia->datasize = 10;
43192ceb2653Smrg  for (int i = 0; i < ia->datasize; ++i)
43202ceb2653Smrg    ia->data[i] = i * 1.234;
43212ceb2653Smrg
43222ceb2653Smrg  // Check named initializers.
43232ceb2653Smrg  struct named_init ni = {
43242ceb2653Smrg    .number = 34,
43252ceb2653Smrg    .name = L"Test wide string",
43262ceb2653Smrg    .average = 543.34343,
43272ceb2653Smrg  };
43282ceb2653Smrg
43292ceb2653Smrg  ni.number = 58;
43302ceb2653Smrg
43312ceb2653Smrg  int dynamic_array[ni.number];
43322ceb2653Smrg  dynamic_array[ni.number - 1] = 543;
43332ceb2653Smrg
43342ceb2653Smrg  // work around unused variable warnings
43352ceb2653Smrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
43362ceb2653Smrg	  || dynamic_array[ni.number - 1] != 543);
43372ceb2653Smrg
43382ceb2653Smrg  ;
43392ceb2653Smrg  return 0;
43402ceb2653Smrg}
43412ceb2653Smrg_ACEOF
43422ceb2653Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
43432ceb2653Smrgdo
43442ceb2653Smrg  CC="$ac_save_CC $ac_arg"
43452ceb2653Smrg  rm -f conftest.$ac_objext
43462ceb2653Smrgif { (ac_try="$ac_compile"
43472ceb2653Smrgcase "(($ac_try" in
43482ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43492ceb2653Smrg  *) ac_try_echo=$ac_try;;
43502ceb2653Smrgesac
43512ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43522ceb2653Smrg$as_echo "$ac_try_echo") >&5
43532ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
43542ceb2653Smrg  ac_status=$?
43552ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
43562ceb2653Smrg  rm -f conftest.er1
43572ceb2653Smrg  cat conftest.err >&5
43582ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43592ceb2653Smrg  (exit $ac_status); } && {
43602ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
43612ceb2653Smrg	 test ! -s conftest.err
43622ceb2653Smrg       } && test -s conftest.$ac_objext; then
43632ceb2653Smrg  ac_cv_prog_cc_c99=$ac_arg
43642ceb2653Smrgelse
43652ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
43662ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
43672ceb2653Smrg
43682ceb2653Smrg
43692ceb2653Smrgfi
43702ceb2653Smrg
43712ceb2653Smrgrm -f core conftest.err conftest.$ac_objext
43722ceb2653Smrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
43732ceb2653Smrgdone
43742ceb2653Smrgrm -f conftest.$ac_ext
43752ceb2653SmrgCC=$ac_save_CC
43762ceb2653Smrg
43772ceb2653Smrgfi
43782ceb2653Smrg# AC_CACHE_VAL
43792ceb2653Smrgcase "x$ac_cv_prog_cc_c99" in
43802ceb2653Smrg  x)
43812ceb2653Smrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
43822ceb2653Smrg$as_echo "none needed" >&6; } ;;
43832ceb2653Smrg  xno)
43842ceb2653Smrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
43852ceb2653Smrg$as_echo "unsupported" >&6; } ;;
43862ceb2653Smrg  *)
43872ceb2653Smrg    CC="$CC $ac_cv_prog_cc_c99"
43882ceb2653Smrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
43892ceb2653Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
43902ceb2653Smrgesac
43912ceb2653Smrg
43922ceb2653Smrg
43932ceb2653Smrg
43942ceb2653Smrg# Make sure we can run config.sub.
43952ceb2653Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
43962ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
43972ceb2653Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
43982ceb2653Smrg   { (exit 1); exit 1; }; }
43992ceb2653Smrg
44002ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5
44012ceb2653Smrg$as_echo_n "checking build system type... " >&6; }
44022ceb2653Smrgif test "${ac_cv_build+set}" = set; then
44032ceb2653Smrg  $as_echo_n "(cached) " >&6
44042ceb2653Smrgelse
44052ceb2653Smrg  ac_build_alias=$build_alias
44062ceb2653Smrgtest "x$ac_build_alias" = x &&
44072ceb2653Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
44082ceb2653Smrgtest "x$ac_build_alias" = x &&
44092ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
44102ceb2653Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
44112ceb2653Smrg   { (exit 1); exit 1; }; }
44122ceb2653Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
44132ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
44142ceb2653Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
44152ceb2653Smrg   { (exit 1); exit 1; }; }
44162ceb2653Smrg
44172ceb2653Smrgfi
44182ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
44192ceb2653Smrg$as_echo "$ac_cv_build" >&6; }
44202ceb2653Smrgcase $ac_cv_build in
44212ceb2653Smrg*-*-*) ;;
44222ceb2653Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
44232ceb2653Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;}
44242ceb2653Smrg   { (exit 1); exit 1; }; };;
44252ceb2653Smrgesac
44262ceb2653Smrgbuild=$ac_cv_build
44272ceb2653Smrgac_save_IFS=$IFS; IFS='-'
44282ceb2653Smrgset x $ac_cv_build
44292ceb2653Smrgshift
44302ceb2653Smrgbuild_cpu=$1
44312ceb2653Smrgbuild_vendor=$2
44322ceb2653Smrgshift; shift
44332ceb2653Smrg# Remember, the first character of IFS is used to create $*,
44342ceb2653Smrg# except with old shells:
44352ceb2653Smrgbuild_os=$*
44362ceb2653SmrgIFS=$ac_save_IFS
44372ceb2653Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
44382ceb2653Smrg
44392ceb2653Smrg
44402ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5
44412ceb2653Smrg$as_echo_n "checking host system type... " >&6; }
44422ceb2653Smrgif test "${ac_cv_host+set}" = set; then
44432ceb2653Smrg  $as_echo_n "(cached) " >&6
44442ceb2653Smrgelse
44452ceb2653Smrg  if test "x$host_alias" = x; then
44462ceb2653Smrg  ac_cv_host=$ac_cv_build
44472ceb2653Smrgelse
44482ceb2653Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
44492ceb2653Smrg    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
44502ceb2653Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
44512ceb2653Smrg   { (exit 1); exit 1; }; }
44522ceb2653Smrgfi
44532ceb2653Smrg
44542ceb2653Smrgfi
44552ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
44562ceb2653Smrg$as_echo "$ac_cv_host" >&6; }
44572ceb2653Smrgcase $ac_cv_host in
44582ceb2653Smrg*-*-*) ;;
44592ceb2653Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
44602ceb2653Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;}
44612ceb2653Smrg   { (exit 1); exit 1; }; };;
44622ceb2653Smrgesac
44632ceb2653Smrghost=$ac_cv_host
44642ceb2653Smrgac_save_IFS=$IFS; IFS='-'
44652ceb2653Smrgset x $ac_cv_host
44662ceb2653Smrgshift
44672ceb2653Smrghost_cpu=$1
44682ceb2653Smrghost_vendor=$2
44692ceb2653Smrgshift; shift
44702ceb2653Smrg# Remember, the first character of IFS is used to create $*,
44712ceb2653Smrg# except with old shells:
44722ceb2653Smrghost_os=$*
44732ceb2653SmrgIFS=$ac_save_IFS
44742ceb2653Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
44752ceb2653Smrg
44762ceb2653Smrg
44772ceb2653Smrg
44782ceb2653Smrg
44792ceb2653Smrg
44802ceb2653Smrgif  test "x$GCC" = xyes ; then
44812ceb2653Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
44822ceb2653Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
44832ceb2653Smrg-Wbad-function-cast"
44842ceb2653Smrg    case `$CC -dumpversion` in
44852ceb2653Smrg    3.4.* | 4.*)
44862ceb2653Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
44872ceb2653Smrg	;;
44882ceb2653Smrg    esac
44892ceb2653Smrgelse
44902ceb2653Smrg    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
44912ceb2653Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
44922ceb2653Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
44932ceb2653Smrg  $as_echo_n "(cached) " >&6
44942ceb2653Smrgelse
44952ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
44962ceb2653Smrg/* confdefs.h.  */
44972ceb2653Smrg_ACEOF
44982ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
44992ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
45002ceb2653Smrg/* end confdefs.h.  */
45012ceb2653Smrg$ac_includes_default
45022ceb2653Smrgint
45032ceb2653Smrgmain ()
45042ceb2653Smrg{
45052ceb2653Smrg#ifndef __SUNPRO_C
45062ceb2653Smrg  (void) __SUNPRO_C;
45072ceb2653Smrg#endif
45082ceb2653Smrg
45092ceb2653Smrg  ;
45102ceb2653Smrg  return 0;
45112ceb2653Smrg}
45122ceb2653Smrg_ACEOF
45132ceb2653Smrgrm -f conftest.$ac_objext
45142ceb2653Smrgif { (ac_try="$ac_compile"
45152ceb2653Smrgcase "(($ac_try" in
45162ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45172ceb2653Smrg  *) ac_try_echo=$ac_try;;
45182ceb2653Smrgesac
45192ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45202ceb2653Smrg$as_echo "$ac_try_echo") >&5
45212ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
45222ceb2653Smrg  ac_status=$?
45232ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
45242ceb2653Smrg  rm -f conftest.er1
45252ceb2653Smrg  cat conftest.err >&5
45262ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272ceb2653Smrg  (exit $ac_status); } && {
45282ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
45292ceb2653Smrg	 test ! -s conftest.err
45302ceb2653Smrg       } && test -s conftest.$ac_objext; then
45312ceb2653Smrg  ac_cv_have_decl___SUNPRO_C=yes
45322ceb2653Smrgelse
45332ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
45342ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
45352ceb2653Smrg
45362ceb2653Smrg	ac_cv_have_decl___SUNPRO_C=no
45372ceb2653Smrgfi
45382ceb2653Smrg
45392ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45402ceb2653Smrgfi
45412ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
45422ceb2653Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
45432ceb2653Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
45442ceb2653Smrg  SUNCC="yes"
45452ceb2653Smrgelse
45462ceb2653Smrg  SUNCC="no"
45472ceb2653Smrgfi
45482ceb2653Smrg
45492ceb2653Smrg    if test "x$SUNCC" = "xyes"; then
45502ceb2653Smrg	CWARNFLAGS="-v"
45512ceb2653Smrg    fi
45522ceb2653Smrgfi
45532ceb2653Smrg
45542ceb2653Smrg# Check whether --enable-silent-rules was given.
45552ceb2653Smrgif test "${enable_silent_rules+set}" = set; then
45562ceb2653Smrg  enableval=$enable_silent_rules;
45572ceb2653Smrgfi
45582ceb2653Smrg
45592ceb2653Smrgcase $enable_silent_rules in
45602ceb2653Smrgyes) AM_DEFAULT_VERBOSITY=0;;
45612ceb2653Smrgno)  AM_DEFAULT_VERBOSITY=1;;
45622ceb2653Smrg*)   AM_DEFAULT_VERBOSITY=0;;
45632ceb2653Smrgesac
45642ceb2653SmrgAM_BACKSLASH='\'
45652ceb2653Smrg
45662ceb2653Smrg
45672ceb2653Smrg
45682ceb2653Smrg
45692ceb2653Smrg
45702ceb2653Smrg
45712ceb2653Smrg
45722ceb2653Smrg# Check whether --enable-strict-compilation was given.
45732ceb2653Smrgif test "${enable_strict_compilation+set}" = set; then
45742ceb2653Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
45752ceb2653Smrgelse
45762ceb2653Smrg  STRICT_COMPILE=no
45772ceb2653Smrgfi
45782ceb2653Smrg
45792ceb2653Smrgif test "x$STRICT_COMPILE" = "xyes"; then
45802ceb2653Smrg	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
45812ceb2653Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
45822ceb2653Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
45832ceb2653Smrg  $as_echo_n "(cached) " >&6
45842ceb2653Smrgelse
45852ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
45862ceb2653Smrg/* confdefs.h.  */
45872ceb2653Smrg_ACEOF
45882ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
45892ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
45902ceb2653Smrg/* end confdefs.h.  */
45912ceb2653Smrg$ac_includes_default
45922ceb2653Smrgint
45932ceb2653Smrgmain ()
45942ceb2653Smrg{
45952ceb2653Smrg#ifndef __SUNPRO_C
45962ceb2653Smrg  (void) __SUNPRO_C;
45972ceb2653Smrg#endif
45982ceb2653Smrg
45992ceb2653Smrg  ;
46002ceb2653Smrg  return 0;
46012ceb2653Smrg}
46022ceb2653Smrg_ACEOF
46032ceb2653Smrgrm -f conftest.$ac_objext
46042ceb2653Smrgif { (ac_try="$ac_compile"
46052ceb2653Smrgcase "(($ac_try" in
46062ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46072ceb2653Smrg  *) ac_try_echo=$ac_try;;
46082ceb2653Smrgesac
46092ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46102ceb2653Smrg$as_echo "$ac_try_echo") >&5
46112ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
46122ceb2653Smrg  ac_status=$?
46132ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
46142ceb2653Smrg  rm -f conftest.er1
46152ceb2653Smrg  cat conftest.err >&5
46162ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46172ceb2653Smrg  (exit $ac_status); } && {
46182ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
46192ceb2653Smrg	 test ! -s conftest.err
46202ceb2653Smrg       } && test -s conftest.$ac_objext; then
46212ceb2653Smrg  ac_cv_have_decl___SUNPRO_C=yes
46222ceb2653Smrgelse
46232ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
46242ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
46252ceb2653Smrg
46262ceb2653Smrg	ac_cv_have_decl___SUNPRO_C=no
46272ceb2653Smrgfi
46282ceb2653Smrg
46292ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302ceb2653Smrgfi
46312ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
46322ceb2653Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
46332ceb2653Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
46342ceb2653Smrg  SUNCC="yes"
46352ceb2653Smrgelse
46362ceb2653Smrg  SUNCC="no"
46372ceb2653Smrgfi
46382ceb2653Smrg
46392ceb2653Smrg	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
46402ceb2653Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
46412ceb2653Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
46422ceb2653Smrg  $as_echo_n "(cached) " >&6
46432ceb2653Smrgelse
46442ceb2653Smrg  cat >conftest.$ac_ext <<_ACEOF
46452ceb2653Smrg/* confdefs.h.  */
46462ceb2653Smrg_ACEOF
46472ceb2653Smrgcat confdefs.h >>conftest.$ac_ext
46482ceb2653Smrgcat >>conftest.$ac_ext <<_ACEOF
46492ceb2653Smrg/* end confdefs.h.  */
46502ceb2653Smrg$ac_includes_default
46512ceb2653Smrgint
46522ceb2653Smrgmain ()
46532ceb2653Smrg{
46542ceb2653Smrg#ifndef __INTEL_COMPILER
46552ceb2653Smrg  (void) __INTEL_COMPILER;
46562ceb2653Smrg#endif
46572ceb2653Smrg
46582ceb2653Smrg  ;
46592ceb2653Smrg  return 0;
46602ceb2653Smrg}
46612ceb2653Smrg_ACEOF
46622ceb2653Smrgrm -f conftest.$ac_objext
46632ceb2653Smrgif { (ac_try="$ac_compile"
46642ceb2653Smrgcase "(($ac_try" in
46652ceb2653Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46662ceb2653Smrg  *) ac_try_echo=$ac_try;;
46672ceb2653Smrgesac
46682ceb2653Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46692ceb2653Smrg$as_echo "$ac_try_echo") >&5
46702ceb2653Smrg  (eval "$ac_compile") 2>conftest.er1
46712ceb2653Smrg  ac_status=$?
46722ceb2653Smrg  grep -v '^ *+' conftest.er1 >conftest.err
46732ceb2653Smrg  rm -f conftest.er1
46742ceb2653Smrg  cat conftest.err >&5
46752ceb2653Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46762ceb2653Smrg  (exit $ac_status); } && {
46772ceb2653Smrg	 test -z "$ac_c_werror_flag" ||
46782ceb2653Smrg	 test ! -s conftest.err
46792ceb2653Smrg       } && test -s conftest.$ac_objext; then
46802ceb2653Smrg  ac_cv_have_decl___INTEL_COMPILER=yes
46812ceb2653Smrgelse
46822ceb2653Smrg  $as_echo "$as_me: failed program was:" >&5
46832ceb2653Smrgsed 's/^/| /' conftest.$ac_ext >&5
46842ceb2653Smrg
46852ceb2653Smrg	ac_cv_have_decl___INTEL_COMPILER=no
46862ceb2653Smrgfi
46872ceb2653Smrg
46882ceb2653Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46892ceb2653Smrgfi
46902ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
46912ceb2653Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
46922ceb2653Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
46932ceb2653Smrg  INTELCC="yes"
46942ceb2653Smrgelse
46952ceb2653Smrg  INTELCC="no"
46962ceb2653Smrgfi
46972ceb2653Smrg
46982ceb2653Smrg	if test "x$GCC" = xyes ; then
46992ceb2653Smrg		STRICT_CFLAGS="-pedantic -Werror"
47002ceb2653Smrg	elif test "x$SUNCC" = "xyes"; then
47012ceb2653Smrg		STRICT_CFLAGS="-errwarn"
47022ceb2653Smrg    elif test "x$INTELCC" = "xyes"; then
47032ceb2653Smrg		STRICT_CFLAGS="-Werror"
47042ceb2653Smrg	fi
47052ceb2653Smrgfi
47062ceb2653SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
47072ceb2653Smrg
47082ceb2653Smrg
47092ceb2653Smrg
47102ceb2653Smrg
47112ceb2653Smrg# Check whether --with-release-version was given.
47122ceb2653Smrgif test "${with_release_version+set}" = set; then
47132ceb2653Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
47142ceb2653Smrgelse
47152ceb2653Smrg  RELEASE_VERSION=""
47162ceb2653Smrgfi
47172ceb2653Smrg
47182ceb2653Smrg	if test "x$RELEASE_VERSION" != "x"; then
47192ceb2653Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
47202ceb2653Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
47212ceb2653Smrg		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
47222ceb2653Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
47232ceb2653Smrg	fi
47242ceb2653Smrg
47252ceb2653Smrgcat >>confdefs.h <<_ACEOF
47262ceb2653Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
47272ceb2653Smrg_ACEOF
47282ceb2653Smrg
47292ceb2653Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
47302ceb2653Smrg	if test "x$PVM" = "x"; then
47312ceb2653Smrg		PVM="0"
47322ceb2653Smrg	fi
47332ceb2653Smrg
47342ceb2653Smrgcat >>confdefs.h <<_ACEOF
47352ceb2653Smrg#define PACKAGE_VERSION_MINOR $PVM
47362ceb2653Smrg_ACEOF
47372ceb2653Smrg
47382ceb2653Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
47392ceb2653Smrg	if test "x$PVP" = "x"; then
47402ceb2653Smrg		PVP="0"
47412ceb2653Smrg	fi
47422ceb2653Smrg
47432ceb2653Smrgcat >>confdefs.h <<_ACEOF
47442ceb2653Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
47452ceb2653Smrg_ACEOF
47462ceb2653Smrg
47472ceb2653Smrg
47482ceb2653Smrg
47492ceb2653SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
47502ceb2653Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
47512ceb2653Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
47522ceb2653Smrg
47532ceb2653Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
47542ceb2653Smrg
47552ceb2653Smrg
47562ceb2653Smrg
47572ceb2653Smrg
47582ceb2653Smrg
47592ceb2653Smrgif test x$APP_MAN_SUFFIX = x    ; then
47602ceb2653Smrg    APP_MAN_SUFFIX=1
47612ceb2653Smrgfi
47622ceb2653Smrgif test x$APP_MAN_DIR = x    ; then
47632ceb2653Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4764b7d53ee5Smrgfi
4765b7d53ee5Smrg
47662ceb2653Smrgif test x$LIB_MAN_SUFFIX = x    ; then
47672ceb2653Smrg    LIB_MAN_SUFFIX=3
47682ceb2653Smrgfi
47692ceb2653Smrgif test x$LIB_MAN_DIR = x    ; then
47702ceb2653Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
47712ceb2653Smrgfi
47722ceb2653Smrg
47732ceb2653Smrgif test x$FILE_MAN_SUFFIX = x    ; then
47742ceb2653Smrg    case $host_os in
47752ceb2653Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
47762ceb2653Smrg	*)		FILE_MAN_SUFFIX=5  ;;
47772ceb2653Smrg    esac
47782ceb2653Smrgfi
47792ceb2653Smrgif test x$FILE_MAN_DIR = x    ; then
47802ceb2653Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
47812ceb2653Smrgfi
47822ceb2653Smrg
47832ceb2653Smrgif test x$MISC_MAN_SUFFIX = x    ; then
47842ceb2653Smrg    case $host_os in
47852ceb2653Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
47862ceb2653Smrg	*)		MISC_MAN_SUFFIX=7  ;;
47872ceb2653Smrg    esac
47882ceb2653Smrgfi
47892ceb2653Smrgif test x$MISC_MAN_DIR = x    ; then
47902ceb2653Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
47912ceb2653Smrgfi
47922ceb2653Smrg
47932ceb2653Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
47942ceb2653Smrg    case $host_os in
47952ceb2653Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
47962ceb2653Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
47972ceb2653Smrg    esac
47982ceb2653Smrgfi
47992ceb2653Smrgif test x$DRIVER_MAN_DIR = x    ; then
48002ceb2653Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
48012ceb2653Smrgfi
48022ceb2653Smrg
48032ceb2653Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
48042ceb2653Smrg    case $host_os in
48052ceb2653Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
48062ceb2653Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
48072ceb2653Smrg    esac
48082ceb2653Smrgfi
48092ceb2653Smrgif test x$ADMIN_MAN_DIR = x    ; then
48102ceb2653Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
48112ceb2653Smrgfi
48122ceb2653Smrg
48132ceb2653Smrg
48142ceb2653Smrg
48152ceb2653Smrg
48162ceb2653Smrg
48172ceb2653Smrg
48182ceb2653Smrg
48192ceb2653Smrg
48202ceb2653Smrg
48212ceb2653Smrg
48222ceb2653Smrg
48232ceb2653Smrg
48242ceb2653Smrg
48252ceb2653Smrg
4826b7d53ee5Smrg
4827b7d53ee5Smrg
4828b7d53ee5Smrg
4829b7d53ee5Smrg# Find a good install program.  We prefer a C program (faster),
4830b7d53ee5Smrg# so one script is as good as another.  But avoid the broken or
4831b7d53ee5Smrg# incompatible versions:
4832b7d53ee5Smrg# SysV /etc/install, /usr/sbin/install
4833b7d53ee5Smrg# SunOS /usr/etc/install
4834b7d53ee5Smrg# IRIX /sbin/install
4835b7d53ee5Smrg# AIX /bin/install
4836b7d53ee5Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
4837b7d53ee5Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4838b7d53ee5Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4839b7d53ee5Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4840b7d53ee5Smrg# OS/2's system install, which has a completely different semantic
4841b7d53ee5Smrg# ./install, which can be erroneously created by make from ./install.sh.
48422ceb2653Smrg# Reject install programs that cannot install multiple files.
48432ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48442ceb2653Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
4845b7d53ee5Smrgif test -z "$INSTALL"; then
4846b7d53ee5Smrgif test "${ac_cv_path_install+set}" = set; then
48472ceb2653Smrg  $as_echo_n "(cached) " >&6
4848b7d53ee5Smrgelse
4849b7d53ee5Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850b7d53ee5Smrgfor as_dir in $PATH
4851b7d53ee5Smrgdo
4852b7d53ee5Smrg  IFS=$as_save_IFS
4853b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
4854b7d53ee5Smrg  # Account for people who put trailing slashes in PATH elements.
4855b7d53ee5Smrgcase $as_dir/ in
4856b7d53ee5Smrg  ./ | .// | /cC/* | \
4857b7d53ee5Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4858b7d53ee5Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4859b7d53ee5Smrg  /usr/ucb/* ) ;;
4860b7d53ee5Smrg  *)
4861b7d53ee5Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
4862b7d53ee5Smrg    # Don't use installbsd from OSF since it installs stuff as root
4863b7d53ee5Smrg    # by default.
4864b7d53ee5Smrg    for ac_prog in ginstall scoinst install; do
4865b7d53ee5Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
48662ceb2653Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4867b7d53ee5Smrg	  if test $ac_prog = install &&
4868b7d53ee5Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4869b7d53ee5Smrg	    # AIX install.  It has an incompatible calling convention.
4870b7d53ee5Smrg	    :
4871b7d53ee5Smrg	  elif test $ac_prog = install &&
4872b7d53ee5Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4873b7d53ee5Smrg	    # program-specific install script used by HP pwplus--don't use.
4874b7d53ee5Smrg	    :
4875b7d53ee5Smrg	  else
48762ceb2653Smrg	    rm -rf conftest.one conftest.two conftest.dir
48772ceb2653Smrg	    echo one > conftest.one
48782ceb2653Smrg	    echo two > conftest.two
48792ceb2653Smrg	    mkdir conftest.dir
48802ceb2653Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
48812ceb2653Smrg	      test -s conftest.one && test -s conftest.two &&
48822ceb2653Smrg	      test -s conftest.dir/conftest.one &&
48832ceb2653Smrg	      test -s conftest.dir/conftest.two
48842ceb2653Smrg	    then
48852ceb2653Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48862ceb2653Smrg	      break 3
48872ceb2653Smrg	    fi
4888b7d53ee5Smrg	  fi
4889b7d53ee5Smrg	fi
4890b7d53ee5Smrg      done
4891b7d53ee5Smrg    done
4892b7d53ee5Smrg    ;;
4893b7d53ee5Smrgesac
48942ceb2653Smrg
4895b7d53ee5Smrgdone
48962ceb2653SmrgIFS=$as_save_IFS
4897b7d53ee5Smrg
48982ceb2653Smrgrm -rf conftest.one conftest.two conftest.dir
4899b7d53ee5Smrg
4900b7d53ee5Smrgfi
4901b7d53ee5Smrg  if test "${ac_cv_path_install+set}" = set; then
4902b7d53ee5Smrg    INSTALL=$ac_cv_path_install
4903b7d53ee5Smrg  else
49042ceb2653Smrg    # As a last resort, use the slow shell script.  Don't cache a
49052ceb2653Smrg    # value for INSTALL within a source directory, because that will
4906b7d53ee5Smrg    # break other packages using the cache if that directory is
49072ceb2653Smrg    # removed, or if the value is a relative name.
4908b7d53ee5Smrg    INSTALL=$ac_install_sh
4909b7d53ee5Smrg  fi
4910b7d53ee5Smrgfi
49112ceb2653Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
49122ceb2653Smrg$as_echo "$INSTALL" >&6; }
4913b7d53ee5Smrg
4914b7d53ee5Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4915b7d53ee5Smrg# It thinks the first close brace ends the variable substitution.
4916b7d53ee5Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4917b7d53ee5Smrg
4918b7d53ee5Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4919b7d53ee5Smrg
4920b7d53ee5Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4921b7d53ee5Smrg
4922b7d53ee5Smrg
49232ceb2653Smrg# Require X.Org's font util macros 1.1 or later
49242ceb2653Smrg
49252ceb2653Smrg
49262ceb2653Smrg
49272ceb2653Smrg
49282ceb2653Smrg
49292ceb2653Smrg
49302ceb2653Smrg
49312ceb2653Smrg
49322ceb2653Smrg
49332ceb2653Smrg
49342ceb2653Smrg
49352ceb2653Smrg
49362ceb2653Smrg
49372ceb2653Smrg
49382ceb2653Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
49392ceb2653Smrg	if test -n "$ac_tool_prefix"; then
49402ceb2653Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
49412ceb2653Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
49422ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49432ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
49442ceb2653Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
49452ceb2653Smrg  $as_echo_n "(cached) " >&6
4946b7d53ee5Smrgelse
49472ceb2653Smrg  case $PKG_CONFIG in
4948b7d53ee5Smrg  [\\/]* | ?:[\\/]*)
49492ceb2653Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4950b7d53ee5Smrg  ;;
4951b7d53ee5Smrg  *)
4952b7d53ee5Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953b7d53ee5Smrgfor as_dir in $PATH
4954b7d53ee5Smrgdo
4955b7d53ee5Smrg  IFS=$as_save_IFS
4956b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
4957b7d53ee5Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
49582ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49592ceb2653Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49602ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4961b7d53ee5Smrg    break 2
4962b7d53ee5Smrg  fi
4963b7d53ee5Smrgdone
4964b7d53ee5Smrgdone
49652ceb2653SmrgIFS=$as_save_IFS
4966b7d53ee5Smrg
4967b7d53ee5Smrg  ;;
4968b7d53ee5Smrgesac
4969b7d53ee5Smrgfi
49702ceb2653SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
49712ceb2653Smrgif test -n "$PKG_CONFIG"; then
49722ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
49732ceb2653Smrg$as_echo "$PKG_CONFIG" >&6; }
4974b7d53ee5Smrgelse
49752ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
49762ceb2653Smrg$as_echo "no" >&6; }
4977b7d53ee5Smrgfi
4978b7d53ee5Smrg
49792ceb2653Smrg
49802ceb2653Smrgfi
49812ceb2653Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
49822ceb2653Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
49832ceb2653Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
49842ceb2653Smrgset dummy pkg-config; ac_word=$2
49852ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49862ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
49872ceb2653Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
49882ceb2653Smrg  $as_echo_n "(cached) " >&6
4989b7d53ee5Smrgelse
49902ceb2653Smrg  case $ac_pt_PKG_CONFIG in
4991b7d53ee5Smrg  [\\/]* | ?:[\\/]*)
49922ceb2653Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4993b7d53ee5Smrg  ;;
4994b7d53ee5Smrg  *)
4995b7d53ee5Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996b7d53ee5Smrgfor as_dir in $PATH
4997b7d53ee5Smrgdo
4998b7d53ee5Smrg  IFS=$as_save_IFS
4999b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
5000b7d53ee5Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
50012ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50022ceb2653Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50032ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5004b7d53ee5Smrg    break 2
5005b7d53ee5Smrg  fi
5006b7d53ee5Smrgdone
5007b7d53ee5Smrgdone
50082ceb2653SmrgIFS=$as_save_IFS
5009b7d53ee5Smrg
5010b7d53ee5Smrg  ;;
5011b7d53ee5Smrgesac
5012b7d53ee5Smrgfi
50132ceb2653Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
50142ceb2653Smrgif test -n "$ac_pt_PKG_CONFIG"; then
50152ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
50162ceb2653Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
50172ceb2653Smrgelse
50182ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
50192ceb2653Smrg$as_echo "no" >&6; }
50202ceb2653Smrgfi
50212ceb2653Smrg
50222ceb2653Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
50232ceb2653Smrg    PKG_CONFIG=""
50242ceb2653Smrg  else
50252ceb2653Smrg    case $cross_compiling:$ac_tool_warned in
50262ceb2653Smrgyes:)
50272ceb2653Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
50282ceb2653Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50292ceb2653Smrgac_tool_warned=yes ;;
50302ceb2653Smrgesac
50312ceb2653Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
50322ceb2653Smrg  fi
50332ceb2653Smrgelse
50342ceb2653Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
50352ceb2653Smrgfi
50362ceb2653Smrg
50372ceb2653Smrgfi
50382ceb2653Smrgif test -n "$PKG_CONFIG"; then
50392ceb2653Smrg	_pkg_min_version=0.9.0
50402ceb2653Smrg	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
50412ceb2653Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
50422ceb2653Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
50432ceb2653Smrg		{ $as_echo "$as_me:$LINENO: result: yes" >&5
50442ceb2653Smrg$as_echo "yes" >&6; }
50452ceb2653Smrg	else
50462ceb2653Smrg		{ $as_echo "$as_me:$LINENO: result: no" >&5
50472ceb2653Smrg$as_echo "no" >&6; }
50482ceb2653Smrg		PKG_CONFIG=""
50492ceb2653Smrg	fi
50502ceb2653Smrg
50512ceb2653Smrgfi
50522ceb2653Smrg
50532ceb2653Smrg
50542ceb2653Smrg
50552ceb2653Smrg	{ $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5
50562ceb2653Smrg$as_echo_n "checking for root directory for font files... " >&6; }
50572ceb2653Smrg
50582ceb2653Smrg# Check whether --with-fontrootdir was given.
50592ceb2653Smrgif test "${with_fontrootdir+set}" = set; then
50602ceb2653Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
50612ceb2653Smrgfi
50622ceb2653Smrg
50632ceb2653Smrg	# if --with-fontrootdir not specified...
50642ceb2653Smrg	if test "x${FONTROOTDIR}" = "x"; then
50652ceb2653Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
50662ceb2653Smrg	fi
50672ceb2653Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
50682ceb2653Smrg	if test "x${FONTROOTDIR}" = "x"; then
50692ceb2653Smrg		FONTROOTDIR="${datadir}/fonts/X11"
50702ceb2653Smrg	fi
50712ceb2653Smrg
50722ceb2653Smrg	{ $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5
50732ceb2653Smrg$as_echo "${FONTROOTDIR}" >&6; }
50742ceb2653Smrg
50752ceb2653Smrg
50762ceb2653Smrg
50772ceb2653Smrg
50782ceb2653Smrg	{ $as_echo "$as_me:$LINENO: checking for directory for misc files" >&5
50792ceb2653Smrg$as_echo_n "checking for directory for misc files... " >&6; }
50802ceb2653Smrg
50812ceb2653Smrg# Check whether --with-fontdir was given.
50822ceb2653Smrgif test "${with_fontdir+set}" = set; then
50832ceb2653Smrg  withval=$with_fontdir; FONTDIR="${withval}"
50842ceb2653Smrgelse
50852ceb2653Smrg  FONTDIR='${FONTROOTDIR}/misc'
50862ceb2653Smrgfi
50872ceb2653Smrg
50882ceb2653Smrg
50892ceb2653Smrg	{ $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5
50902ceb2653Smrg$as_echo "${FONTDIR}" >&6; }
50912ceb2653Smrg
5092b7d53ee5Smrg
50932ceb2653Smrg
50942ceb2653Smrg
50952ceb2653Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
50962ceb2653Smrgset dummy fc-cache; ac_word=$2
50972ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
50982ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
50992ceb2653Smrgif test "${ac_cv_path_FCCACHE+set}" = set; then
51002ceb2653Smrg  $as_echo_n "(cached) " >&6
51012ceb2653Smrgelse
51022ceb2653Smrg  case $FCCACHE in
51032ceb2653Smrg  [\\/]* | ?:[\\/]*)
51042ceb2653Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
51052ceb2653Smrg  ;;
51062ceb2653Smrg  *)
51072ceb2653Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51082ceb2653Smrgfor as_dir in $PATH
51092ceb2653Smrgdo
51102ceb2653Smrg  IFS=$as_save_IFS
51112ceb2653Smrg  test -z "$as_dir" && as_dir=.
51122ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
51132ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51142ceb2653Smrg    ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext"
51152ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51162ceb2653Smrg    break 2
51172ceb2653Smrg  fi
51182ceb2653Smrgdone
51192ceb2653Smrgdone
51202ceb2653SmrgIFS=$as_save_IFS
51212ceb2653Smrg
51222ceb2653Smrg  ;;
51232ceb2653Smrgesac
51242ceb2653Smrgfi
51252ceb2653SmrgFCCACHE=$ac_cv_path_FCCACHE
51262ceb2653Smrgif test -n "$FCCACHE"; then
51272ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5
51282ceb2653Smrg$as_echo "$FCCACHE" >&6; }
5129b7d53ee5Smrgelse
51302ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
51312ceb2653Smrg$as_echo "no" >&6; }
5132b7d53ee5Smrgfi
5133b7d53ee5Smrg
51342ceb2653Smrg
51352ceb2653Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
51362ceb2653Smrg	if test x"$FCCACHE" = x ; then
51372ceb2653Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
51382ceb2653Smrg	else
51392ceb2653Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
51402ceb2653Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
51412ceb2653Smrg	fi
51422ceb2653Smrg
51432ceb2653Smrg
51442ceb2653Smrg
51452ceb2653Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
5146b7d53ee5Smrgset dummy mkfontdir; ac_word=$2
51472ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
51482ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
5149b7d53ee5Smrgif test "${ac_cv_path_MKFONTDIR+set}" = set; then
51502ceb2653Smrg  $as_echo_n "(cached) " >&6
5151b7d53ee5Smrgelse
5152b7d53ee5Smrg  case $MKFONTDIR in
5153b7d53ee5Smrg  [\\/]* | ?:[\\/]*)
5154b7d53ee5Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
5155b7d53ee5Smrg  ;;
5156b7d53ee5Smrg  *)
5157b7d53ee5Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158b7d53ee5Smrgfor as_dir in $PATH
5159b7d53ee5Smrgdo
5160b7d53ee5Smrg  IFS=$as_save_IFS
5161b7d53ee5Smrg  test -z "$as_dir" && as_dir=.
5162b7d53ee5Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
51632ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5164b7d53ee5Smrg    ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
51652ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5166b7d53ee5Smrg    break 2
5167b7d53ee5Smrg  fi
5168b7d53ee5Smrgdone
5169b7d53ee5Smrgdone
51702ceb2653SmrgIFS=$as_save_IFS
5171b7d53ee5Smrg
5172b7d53ee5Smrg  ;;
5173b7d53ee5Smrgesac
5174b7d53ee5Smrgfi
5175b7d53ee5SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
5176b7d53ee5Smrgif test -n "$MKFONTDIR"; then
51772ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
51782ceb2653Smrg$as_echo "$MKFONTDIR" >&6; }
5179b7d53ee5Smrgelse
51802ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
51812ceb2653Smrg$as_echo "no" >&6; }
5182b7d53ee5Smrgfi
5183b7d53ee5Smrg
5184b7d53ee5Smrg
51852ceb2653Smrg	if test x"MKFONTDIR" = x; then
51862ceb2653Smrg		{ { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5
51872ceb2653Smrg$as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;}
51882ceb2653Smrg   { (exit 1); exit 1; }; }
51892ceb2653Smrg	fi
5190b7d53ee5Smrg
5191b7d53ee5Smrg
5192b7d53ee5Smrg
51932ceb2653Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
51942ceb2653Smrgset dummy bdftopcf; ac_word=$2
51952ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
51962ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
51972ceb2653Smrgif test "${ac_cv_path_BDFTOPCF+set}" = set; then
51982ceb2653Smrg  $as_echo_n "(cached) " >&6
51992ceb2653Smrgelse
52002ceb2653Smrg  case $BDFTOPCF in
52012ceb2653Smrg  [\\/]* | ?:[\\/]*)
52022ceb2653Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
52032ceb2653Smrg  ;;
52042ceb2653Smrg  *)
52052ceb2653Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52062ceb2653Smrgfor as_dir in $PATH
52072ceb2653Smrgdo
52082ceb2653Smrg  IFS=$as_save_IFS
52092ceb2653Smrg  test -z "$as_dir" && as_dir=.
52102ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
52112ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52122ceb2653Smrg    ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext"
52132ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52142ceb2653Smrg    break 2
52152ceb2653Smrg  fi
52162ceb2653Smrgdone
52172ceb2653Smrgdone
52182ceb2653SmrgIFS=$as_save_IFS
52192ceb2653Smrg
52202ceb2653Smrg  ;;
52212ceb2653Smrgesac
52222ceb2653Smrgfi
52232ceb2653SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
52242ceb2653Smrgif test -n "$BDFTOPCF"; then
52252ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5
52262ceb2653Smrg$as_echo "$BDFTOPCF" >&6; }
5227b7d53ee5Smrgelse
52282ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
52292ceb2653Smrg$as_echo "no" >&6; }
52302ceb2653Smrgfi
52312ceb2653Smrg
5232b7d53ee5Smrg
52332ceb2653Smrg	if test x"BDFTOPCF" = x; then
52342ceb2653Smrg		{ { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5
52352ceb2653Smrg$as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;}
52362ceb2653Smrg   { (exit 1); exit 1; }; }
52372ceb2653Smrg	fi
5238b7d53ee5Smrg
5239b7d53ee5Smrg
52402ceb2653Smrg	{ $as_echo "$as_me:$LINENO: checking font compression method" >&5
52412ceb2653Smrg$as_echo_n "checking font compression method... " >&6; }
5242b7d53ee5Smrg
52432ceb2653Smrg# Check whether --with-compression was given.
52442ceb2653Smrgif test "${with_compression+set}" = set; then
52452ceb2653Smrg  withval=$with_compression; compression="$withval"
5246b7d53ee5Smrgelse
52472ceb2653Smrg  compression="yes"
52482ceb2653Smrgfi
52492ceb2653Smrg
52502ceb2653Smrg	if test x"$compression" = "xyes" ; then
52512ceb2653Smrg		compression="gzip"
52522ceb2653Smrg	fi
52532ceb2653Smrg	{ $as_echo "$as_me:$LINENO: result: ${compression}" >&5
52542ceb2653Smrg$as_echo "${compression}" >&6; }
52552ceb2653Smrg	case ${compression} in
52562ceb2653Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
52572ceb2653Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;;
52582ceb2653Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
52592ceb2653Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
52602ceb2653Smrg	 *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5
52612ceb2653Smrg$as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;}
52622ceb2653Smrg   { (exit 1); exit 1; }; } ;;
52632ceb2653Smrg	esac
52642ceb2653Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
52652ceb2653Smrg
52662ceb2653Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
52672ceb2653Smrgset dummy ${compression}; ac_word=$2
52682ceb2653Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
52692ceb2653Smrg$as_echo_n "checking for $ac_word... " >&6; }
52702ceb2653Smrgif test "${ac_cv_path_COMPRESS+set}" = set; then
52712ceb2653Smrg  $as_echo_n "(cached) " >&6
52722ceb2653Smrgelse
52732ceb2653Smrg  case $COMPRESS in
52742ceb2653Smrg  [\\/]* | ?:[\\/]*)
52752ceb2653Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
52762ceb2653Smrg  ;;
52772ceb2653Smrg  *)
52782ceb2653Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52792ceb2653Smrgfor as_dir in $PATH
52802ceb2653Smrgdo
52812ceb2653Smrg  IFS=$as_save_IFS
52822ceb2653Smrg  test -z "$as_dir" && as_dir=.
52832ceb2653Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
52842ceb2653Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52852ceb2653Smrg    ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
52862ceb2653Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52872ceb2653Smrg    break 2
52882ceb2653Smrg  fi
52892ceb2653Smrgdone
52902ceb2653Smrgdone
52912ceb2653SmrgIFS=$as_save_IFS
52922ceb2653Smrg
52932ceb2653Smrg  ;;
52942ceb2653Smrgesac
52952ceb2653Smrgfi
52962ceb2653SmrgCOMPRESS=$ac_cv_path_COMPRESS
52972ceb2653Smrgif test -n "$COMPRESS"; then
52982ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5
52992ceb2653Smrg$as_echo "$COMPRESS" >&6; }
53002ceb2653Smrgelse
53012ceb2653Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
53022ceb2653Smrg$as_echo "no" >&6; }
53032ceb2653Smrgfi
53042ceb2653Smrg
53052ceb2653Smrg
53062ceb2653Smrg	if test x"COMPRESS" = x; then
53072ceb2653Smrg		{ { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5
53082ceb2653Smrg$as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;}
53092ceb2653Smrg   { (exit 1); exit 1; }; }
53102ceb2653Smrg	fi
53112ceb2653Smrg
5312b7d53ee5Smrg	fi
5313b7d53ee5Smrg
5314b7d53ee5Smrg
53152ceb2653Smrg
53162ceb2653Smrg
53172ceb2653Smrgac_config_files="$ac_config_files Makefile"
53182ceb2653Smrg
5319b7d53ee5Smrgcat >confcache <<\_ACEOF
5320b7d53ee5Smrg# This file is a shell script that caches the results of configure
5321b7d53ee5Smrg# tests run on this system so they can be shared between configure
5322b7d53ee5Smrg# scripts and configure runs, see configure's option --config-cache.
5323b7d53ee5Smrg# It is not useful on other systems.  If it contains results you don't
5324b7d53ee5Smrg# want to keep, you may remove or edit it.
5325b7d53ee5Smrg#
5326b7d53ee5Smrg# config.status only pays attention to the cache file if you give it
5327b7d53ee5Smrg# the --recheck option to rerun configure.
5328b7d53ee5Smrg#
5329b7d53ee5Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
5330b7d53ee5Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
5331b7d53ee5Smrg# following values.
5332b7d53ee5Smrg
5333b7d53ee5Smrg_ACEOF
5334b7d53ee5Smrg
5335b7d53ee5Smrg# The following way of writing the cache mishandles newlines in values,
5336b7d53ee5Smrg# but we know of no workaround that is simple, portable, and efficient.
53372ceb2653Smrg# So, we kill variables containing newlines.
5338b7d53ee5Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
5339b7d53ee5Smrg# and sets the high bit in the cache file unless we assign to the vars.
53402ceb2653Smrg(
53412ceb2653Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53422ceb2653Smrg    eval ac_val=\$$ac_var
53432ceb2653Smrg    case $ac_val in #(
53442ceb2653Smrg    *${as_nl}*)
53452ceb2653Smrg      case $ac_var in #(
53462ceb2653Smrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
53472ceb2653Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
53482ceb2653Smrg      esac
53492ceb2653Smrg      case $ac_var in #(
53502ceb2653Smrg      _ | IFS | as_nl) ;; #(
53512ceb2653Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
53522ceb2653Smrg      *) $as_unset $ac_var ;;
53532ceb2653Smrg      esac ;;
53542ceb2653Smrg    esac
53552ceb2653Smrg  done
53562ceb2653Smrg
5357b7d53ee5Smrg  (set) 2>&1 |
53582ceb2653Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
53592ceb2653Smrg    *${as_nl}ac_space=\ *)
5360b7d53ee5Smrg      # `set' does not quote correctly, so add quotes (double-quote
5361b7d53ee5Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
5362b7d53ee5Smrg      sed -n \
5363b7d53ee5Smrg	"s/'/'\\\\''/g;
5364b7d53ee5Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53652ceb2653Smrg      ;; #(
5366b7d53ee5Smrg    *)
5367b7d53ee5Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
53682ceb2653Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5369b7d53ee5Smrg      ;;
53702ceb2653Smrg    esac |
53712ceb2653Smrg    sort
53722ceb2653Smrg) |
5373b7d53ee5Smrg  sed '
53742ceb2653Smrg     /^ac_cv_env_/b end
5375b7d53ee5Smrg     t clear
53762ceb2653Smrg     :clear
5377b7d53ee5Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5378b7d53ee5Smrg     t end
53792ceb2653Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53802ceb2653Smrg     :end' >>confcache
53812ceb2653Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53822ceb2653Smrg  if test -w "$cache_file"; then
53832ceb2653Smrg    test "x$cache_file" != "x/dev/null" &&
53842ceb2653Smrg      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
53852ceb2653Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
5386b7d53ee5Smrg    cat confcache >$cache_file
5387b7d53ee5Smrg  else
53882ceb2653Smrg    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53892ceb2653Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5390b7d53ee5Smrg  fi
5391b7d53ee5Smrgfi
5392b7d53ee5Smrgrm -f confcache
5393b7d53ee5Smrg
5394b7d53ee5Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
5395b7d53ee5Smrg# Let make expand exec_prefix.
5396b7d53ee5Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5397b7d53ee5Smrg
5398b7d53ee5Smrg# Transform confdefs.h into DEFS.
5399b7d53ee5Smrg# Protect against shell expansion while executing Makefile rules.
5400b7d53ee5Smrg# Protect against Makefile macro expansion.
5401b7d53ee5Smrg#
5402b7d53ee5Smrg# If the first sed substitution is executed (which looks for macros that
54032ceb2653Smrg# take arguments), then branch to the quote section.  Otherwise,
5404b7d53ee5Smrg# look for a macro that doesn't take arguments.
54052ceb2653Smrgac_script='
54062ceb2653Smrg:mline
54072ceb2653Smrg/\\$/{
54082ceb2653Smrg N
54092ceb2653Smrg s,\\\n,,
54102ceb2653Smrg b mline
54112ceb2653Smrg}
5412b7d53ee5Smrgt clear
54132ceb2653Smrg:clear
54142ceb2653Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5415b7d53ee5Smrgt quote
54162ceb2653Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5417b7d53ee5Smrgt quote
54182ceb2653Smrgb any
54192ceb2653Smrg:quote
54202ceb2653Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
54212ceb2653Smrgs/\[/\\&/g
54222ceb2653Smrgs/\]/\\&/g
54232ceb2653Smrgs/\$/$$/g
54242ceb2653SmrgH
54252ceb2653Smrg:any
54262ceb2653Smrg${
54272ceb2653Smrg	g
54282ceb2653Smrg	s/^\n//
54292ceb2653Smrg	s/\n/ /g
54302ceb2653Smrg	p
54312ceb2653Smrg}
54322ceb2653Smrg'
54332ceb2653SmrgDEFS=`sed -n "$ac_script" confdefs.h`
5434b7d53ee5Smrg
5435b7d53ee5Smrg
5436b7d53ee5Smrgac_libobjs=
5437b7d53ee5Smrgac_ltlibobjs=
5438b7d53ee5Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5439b7d53ee5Smrg  # 1. Remove the extension, and $U if already installed.
54402ceb2653Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
54412ceb2653Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
54422ceb2653Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
54432ceb2653Smrg  #    will be set to the directory where LIBOBJS objects are built.
54442ceb2653Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
54452ceb2653Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5446b7d53ee5Smrgdone
5447b7d53ee5SmrgLIBOBJS=$ac_libobjs
5448b7d53ee5Smrg
5449b7d53ee5SmrgLTLIBOBJS=$ac_ltlibobjs
5450b7d53ee5Smrg
5451b7d53ee5Smrg
54522ceb2653Smrg if test -n "$EXEEXT"; then
54532ceb2653Smrg  am__EXEEXT_TRUE=
54542ceb2653Smrg  am__EXEEXT_FALSE='#'
54552ceb2653Smrgelse
54562ceb2653Smrg  am__EXEEXT_TRUE='#'
54572ceb2653Smrg  am__EXEEXT_FALSE=
54582ceb2653Smrgfi
54592ceb2653Smrg
5460b7d53ee5Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
54612ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
54622ceb2653SmrgUsually this means the macro was only invoked conditionally." >&5
54632ceb2653Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
54642ceb2653SmrgUsually this means the macro was only invoked conditionally." >&2;}
54652ceb2653Smrg   { (exit 1); exit 1; }; }
54662ceb2653Smrgfi
54672ceb2653Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
54682ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
54692ceb2653SmrgUsually this means the macro was only invoked conditionally." >&5
54702ceb2653Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
54712ceb2653SmrgUsually this means the macro was only invoked conditionally." >&2;}
54722ceb2653Smrg   { (exit 1); exit 1; }; }
54732ceb2653Smrgfi
54742ceb2653Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
54752ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5476b7d53ee5SmrgUsually this means the macro was only invoked conditionally." >&5
54772ceb2653Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5478b7d53ee5SmrgUsually this means the macro was only invoked conditionally." >&2;}
5479b7d53ee5Smrg   { (exit 1); exit 1; }; }
5480b7d53ee5Smrgfi
5481b7d53ee5Smrg
5482b7d53ee5Smrg: ${CONFIG_STATUS=./config.status}
54832ceb2653Smrgac_write_fail=0
5484b7d53ee5Smrgac_clean_files_save=$ac_clean_files
5485b7d53ee5Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
54862ceb2653Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
54872ceb2653Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
54882ceb2653Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5489b7d53ee5Smrg#! $SHELL
5490b7d53ee5Smrg# Generated by $as_me.
5491b7d53ee5Smrg# Run this file to recreate the current configuration.
5492b7d53ee5Smrg# Compiler output produced by configure, useful for debugging
5493b7d53ee5Smrg# configure, is in config.log if it exists.
5494b7d53ee5Smrg
5495b7d53ee5Smrgdebug=false
5496b7d53ee5Smrgac_cs_recheck=false
5497b7d53ee5Smrgac_cs_silent=false
5498b7d53ee5SmrgSHELL=\${CONFIG_SHELL-$SHELL}
5499b7d53ee5Smrg_ACEOF
5500b7d53ee5Smrg
55012ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5502b7d53ee5Smrg## --------------------- ##
5503b7d53ee5Smrg## M4sh Initialization.  ##
5504b7d53ee5Smrg## --------------------- ##
5505b7d53ee5Smrg
55062ceb2653Smrg# Be more Bourne compatible
55072ceb2653SmrgDUALCASE=1; export DUALCASE # for MKS sh
5508b7d53ee5Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5509b7d53ee5Smrg  emulate sh
5510b7d53ee5Smrg  NULLCMD=:
55112ceb2653Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5512b7d53ee5Smrg  # is contrary to our usage.  Disable this feature.
5513b7d53ee5Smrg  alias -g '${1+"$@"}'='"$@"'
55142ceb2653Smrg  setopt NO_GLOB_SUBST
55152ceb2653Smrgelse
55162ceb2653Smrg  case `(set -o) 2>/dev/null` in
55172ceb2653Smrg  *posix*) set -o posix ;;
55182ceb2653Smrgesac
55192ceb2653Smrg
55202ceb2653Smrgfi
55212ceb2653Smrg
55222ceb2653Smrg
55232ceb2653Smrg
55242ceb2653Smrg
55252ceb2653Smrg# PATH needs CR
55262ceb2653Smrg# Avoid depending upon Character Ranges.
55272ceb2653Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
55282ceb2653Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55292ceb2653Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
55302ceb2653Smrgas_cr_digits='0123456789'
55312ceb2653Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
55322ceb2653Smrg
55332ceb2653Smrgas_nl='
55342ceb2653Smrg'
55352ceb2653Smrgexport as_nl
55362ceb2653Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
55372ceb2653Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
55382ceb2653Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
55392ceb2653Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
55402ceb2653Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55412ceb2653Smrg  as_echo='printf %s\n'
55422ceb2653Smrg  as_echo_n='printf %s'
55432ceb2653Smrgelse
55442ceb2653Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55452ceb2653Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55462ceb2653Smrg    as_echo_n='/usr/ucb/echo -n'
55472ceb2653Smrg  else
55482ceb2653Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55492ceb2653Smrg    as_echo_n_body='eval
55502ceb2653Smrg      arg=$1;
55512ceb2653Smrg      case $arg in
55522ceb2653Smrg      *"$as_nl"*)
55532ceb2653Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
55542ceb2653Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
55552ceb2653Smrg      esac;
55562ceb2653Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
55572ceb2653Smrg    '
55582ceb2653Smrg    export as_echo_n_body
55592ceb2653Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
55602ceb2653Smrg  fi
55612ceb2653Smrg  export as_echo_body
55622ceb2653Smrg  as_echo='sh -c $as_echo_body as_echo'
55632ceb2653Smrgfi
55642ceb2653Smrg
55652ceb2653Smrg# The user is always right.
55662ceb2653Smrgif test "${PATH_SEPARATOR+set}" != set; then
55672ceb2653Smrg  PATH_SEPARATOR=:
55682ceb2653Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
55692ceb2653Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
55702ceb2653Smrg      PATH_SEPARATOR=';'
55712ceb2653Smrg  }
5572b7d53ee5Smrgfi
5573b7d53ee5Smrg
5574b7d53ee5Smrg# Support unset when possible.
5575b7d53ee5Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5576b7d53ee5Smrg  as_unset=unset
5577b7d53ee5Smrgelse
5578b7d53ee5Smrg  as_unset=false
5579b7d53ee5Smrgfi
5580b7d53ee5Smrg
5581b7d53ee5Smrg
55822ceb2653Smrg# IFS
55832ceb2653Smrg# We need space, tab and new line, in precisely that order.  Quoting is
55842ceb2653Smrg# there to prevent editors from complaining about space-tab.
55852ceb2653Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
55862ceb2653Smrg# splitting by setting IFS to empty value.)
55872ceb2653SmrgIFS=" ""	$as_nl"
55882ceb2653Smrg
55892ceb2653Smrg# Find who we are.  Look in the path if we contain no directory separator.
55902ceb2653Smrgcase $0 in
55912ceb2653Smrg  *[\\/]* ) as_myself=$0 ;;
55922ceb2653Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55932ceb2653Smrgfor as_dir in $PATH
55942ceb2653Smrgdo
55952ceb2653Smrg  IFS=$as_save_IFS
55962ceb2653Smrg  test -z "$as_dir" && as_dir=.
55972ceb2653Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55982ceb2653Smrgdone
55992ceb2653SmrgIFS=$as_save_IFS
56002ceb2653Smrg
56012ceb2653Smrg     ;;
56022ceb2653Smrgesac
56032ceb2653Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
56042ceb2653Smrg# in which case we are not to be found in the path.
56052ceb2653Smrgif test "x$as_myself" = x; then
56062ceb2653Smrg  as_myself=$0
56072ceb2653Smrgfi
56082ceb2653Smrgif test ! -f "$as_myself"; then
56092ceb2653Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56102ceb2653Smrg  { (exit 1); exit 1; }
56112ceb2653Smrgfi
56122ceb2653Smrg
5613b7d53ee5Smrg# Work around bugs in pre-3.0 UWIN ksh.
56142ceb2653Smrgfor as_var in ENV MAIL MAILPATH
56152ceb2653Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56162ceb2653Smrgdone
5617b7d53ee5SmrgPS1='$ '
5618b7d53ee5SmrgPS2='> '
5619b7d53ee5SmrgPS4='+ '
5620b7d53ee5Smrg
5621b7d53ee5Smrg# NLS nuisances.
56222ceb2653SmrgLC_ALL=C
56232ceb2653Smrgexport LC_ALL
56242ceb2653SmrgLANGUAGE=C
56252ceb2653Smrgexport LANGUAGE
5626b7d53ee5Smrg
5627b7d53ee5Smrg# Required to use basename.
56282ceb2653Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
56292ceb2653Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5630b7d53ee5Smrg  as_expr=expr
5631b7d53ee5Smrgelse
5632b7d53ee5Smrg  as_expr=false
5633b7d53ee5Smrgfi
5634b7d53ee5Smrg
56352ceb2653Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5636b7d53ee5Smrg  as_basename=basename
5637b7d53ee5Smrgelse
5638b7d53ee5Smrg  as_basename=false
5639b7d53ee5Smrgfi
5640b7d53ee5Smrg
5641b7d53ee5Smrg
5642b7d53ee5Smrg# Name of the executable.
56432ceb2653Smrgas_me=`$as_basename -- "$0" ||
5644b7d53ee5Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5645b7d53ee5Smrg	 X"$0" : 'X\(//\)$' \| \
56462ceb2653Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56472ceb2653Smrg$as_echo X/"$0" |
56482ceb2653Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
56492ceb2653Smrg	    s//\1/
56502ceb2653Smrg	    q
56512ceb2653Smrg	  }
56522ceb2653Smrg	  /^X\/\(\/\/\)$/{
56532ceb2653Smrg	    s//\1/
56542ceb2653Smrg	    q
56552ceb2653Smrg	  }
56562ceb2653Smrg	  /^X\/\(\/\).*/{
56572ceb2653Smrg	    s//\1/
56582ceb2653Smrg	    q
56592ceb2653Smrg	  }
56602ceb2653Smrg	  s/.*/./; q'`
5661b7d53ee5Smrg
56622ceb2653Smrg# CDPATH.
56632ceb2653Smrg$as_unset CDPATH
5664b7d53ee5Smrg
5665b7d53ee5Smrg
5666b7d53ee5Smrg
5667b7d53ee5Smrg  as_lineno_1=$LINENO
5668b7d53ee5Smrg  as_lineno_2=$LINENO
5669b7d53ee5Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
56702ceb2653Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5671b7d53ee5Smrg
5672b7d53ee5Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5673b7d53ee5Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
56742ceb2653Smrg  # line-number line after each line using $LINENO; the second 'sed'
56752ceb2653Smrg  # does the real work.  The second script uses 'N' to pair each
56762ceb2653Smrg  # line-number line with the line containing $LINENO, and appends
56772ceb2653Smrg  # trailing '-' during substitution so that $LINENO is not a special
56782ceb2653Smrg  # case at line end.
5679b7d53ee5Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56802ceb2653Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
56812ceb2653Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
56822ceb2653Smrg  sed -n '
56832ceb2653Smrg    p
56842ceb2653Smrg    /[$]LINENO/=
56852ceb2653Smrg  ' <$as_myself |
5686b7d53ee5Smrg    sed '
56872ceb2653Smrg      s/[$]LINENO.*/&-/
56882ceb2653Smrg      t lineno
56892ceb2653Smrg      b
56902ceb2653Smrg      :lineno
5691b7d53ee5Smrg      N
56922ceb2653Smrg      :loop
56932ceb2653Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5694b7d53ee5Smrg      t loop
56952ceb2653Smrg      s/-\n.*//
5696b7d53ee5Smrg    ' >$as_me.lineno &&
56972ceb2653Smrg  chmod +x "$as_me.lineno" ||
56982ceb2653Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5699b7d53ee5Smrg   { (exit 1); exit 1; }; }
5700b7d53ee5Smrg
5701b7d53ee5Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
5702b7d53ee5Smrg  # (the dirname of $[0] is not the place where we might find the
57032ceb2653Smrg  # original and so on.  Autoconf is especially sensitive to this).
57042ceb2653Smrg  . "./$as_me.lineno"
5705b7d53ee5Smrg  # Exit status is that of the last command.
5706b7d53ee5Smrg  exit
5707b7d53ee5Smrg}
5708b7d53ee5Smrg
5709b7d53ee5Smrg
57102ceb2653Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
57112ceb2653Smrg  as_dirname=dirname
57122ceb2653Smrgelse
57132ceb2653Smrg  as_dirname=false
57142ceb2653Smrgfi
5715b7d53ee5Smrg
57162ceb2653SmrgECHO_C= ECHO_N= ECHO_T=
57172ceb2653Smrgcase `echo -n x` in
57182ceb2653Smrg-n*)
57192ceb2653Smrg  case `echo 'x\c'` in
57202ceb2653Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
57212ceb2653Smrg  *)   ECHO_C='\c';;
57222ceb2653Smrg  esac;;
57232ceb2653Smrg*)
57242ceb2653Smrg  ECHO_N='-n';;
57252ceb2653Smrgesac
57262ceb2653Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
57272ceb2653Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5728b7d53ee5Smrg  as_expr=expr
5729b7d53ee5Smrgelse
5730b7d53ee5Smrg  as_expr=false
5731b7d53ee5Smrgfi
5732b7d53ee5Smrg
5733b7d53ee5Smrgrm -f conf$$ conf$$.exe conf$$.file
57342ceb2653Smrgif test -d conf$$.dir; then
57352ceb2653Smrg  rm -f conf$$.dir/conf$$.file
57362ceb2653Smrgelse
57372ceb2653Smrg  rm -f conf$$.dir
57382ceb2653Smrg  mkdir conf$$.dir 2>/dev/null
57392ceb2653Smrgfi
57402ceb2653Smrgif (echo >conf$$.file) 2>/dev/null; then
57412ceb2653Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5742b7d53ee5Smrg    as_ln_s='ln -s'
57432ceb2653Smrg    # ... but there are two gotchas:
57442ceb2653Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
57452ceb2653Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
57462ceb2653Smrg    # In both cases, we have to default to `cp -p'.
57472ceb2653Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
57482ceb2653Smrg      as_ln_s='cp -p'
57492ceb2653Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
57502ceb2653Smrg    as_ln_s=ln
57512ceb2653Smrg  else
57522ceb2653Smrg    as_ln_s='cp -p'
5753b7d53ee5Smrg  fi
5754b7d53ee5Smrgelse
5755b7d53ee5Smrg  as_ln_s='cp -p'
5756b7d53ee5Smrgfi
57572ceb2653Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
57582ceb2653Smrgrmdir conf$$.dir 2>/dev/null
5759b7d53ee5Smrg
5760b7d53ee5Smrgif mkdir -p . 2>/dev/null; then
5761b7d53ee5Smrg  as_mkdir_p=:
5762b7d53ee5Smrgelse
5763b7d53ee5Smrg  test -d ./-p && rmdir ./-p
5764b7d53ee5Smrg  as_mkdir_p=false
5765b7d53ee5Smrgfi
5766b7d53ee5Smrg
57672ceb2653Smrgif test -x / >/dev/null 2>&1; then
57682ceb2653Smrg  as_test_x='test -x'
57692ceb2653Smrgelse
57702ceb2653Smrg  if ls -dL / >/dev/null 2>&1; then
57712ceb2653Smrg    as_ls_L_option=L
57722ceb2653Smrg  else
57732ceb2653Smrg    as_ls_L_option=
57742ceb2653Smrg  fi
57752ceb2653Smrg  as_test_x='
57762ceb2653Smrg    eval sh -c '\''
57772ceb2653Smrg      if test -d "$1"; then
57782ceb2653Smrg	test -d "$1/.";
57792ceb2653Smrg      else
57802ceb2653Smrg	case $1 in
57812ceb2653Smrg	-*)set "./$1";;
57822ceb2653Smrg	esac;
57832ceb2653Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
57842ceb2653Smrg	???[sx]*):;;*)false;;esac;fi
57852ceb2653Smrg    '\'' sh
57862ceb2653Smrg  '
57872ceb2653Smrgfi
57882ceb2653Smrgas_executable_p=$as_test_x
5789b7d53ee5Smrg
5790b7d53ee5Smrg# Sed expression to map a string onto a valid CPP name.
5791b7d53ee5Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5792b7d53ee5Smrg
5793b7d53ee5Smrg# Sed expression to map a string onto a valid variable name.
5794b7d53ee5Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5795b7d53ee5Smrg
5796b7d53ee5Smrg
5797b7d53ee5Smrgexec 6>&1
5798b7d53ee5Smrg
57992ceb2653Smrg# Save the log message, to keep $[0] and so on meaningful, and to
5800b7d53ee5Smrg# report actual input values of CONFIG_FILES etc. instead of their
58012ceb2653Smrg# values after options handling.
58022ceb2653Smrgac_log="
58032ceb2653SmrgThis file was extended by font-dec-misc $as_me 1.0.1, which was
58042ceb2653Smrggenerated by GNU Autoconf 2.63.  Invocation command line was
5805b7d53ee5Smrg
5806b7d53ee5Smrg  CONFIG_FILES    = $CONFIG_FILES
5807b7d53ee5Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
5808b7d53ee5Smrg  CONFIG_LINKS    = $CONFIG_LINKS
5809b7d53ee5Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
5810b7d53ee5Smrg  $ $0 $@
5811b7d53ee5Smrg
58122ceb2653Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
58132ceb2653Smrg"
58142ceb2653Smrg
5815b7d53ee5Smrg_ACEOF
5816b7d53ee5Smrg
58172ceb2653Smrgcase $ac_config_files in *"
58182ceb2653Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
58192ceb2653Smrgesac
5820b7d53ee5Smrg
5821b7d53ee5Smrg
5822b7d53ee5Smrg
58232ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
58242ceb2653Smrg# Files that config.status was made for.
58252ceb2653Smrgconfig_files="$ac_config_files"
58262ceb2653Smrgconfig_commands="$ac_config_commands"
5827b7d53ee5Smrg
58282ceb2653Smrg_ACEOF
5829b7d53ee5Smrg
58302ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5831b7d53ee5Smrgac_cs_usage="\
5832b7d53ee5Smrg\`$as_me' instantiates files from templates according to the
5833b7d53ee5Smrgcurrent configuration.
5834b7d53ee5Smrg
58352ceb2653SmrgUsage: $0 [OPTION]... [FILE]...
5836b7d53ee5Smrg
5837b7d53ee5Smrg  -h, --help       print this help, then exit
58382ceb2653Smrg  -V, --version    print version number and configuration settings, then exit
58392ceb2653Smrg  -q, --quiet, --silent
58402ceb2653Smrg                   do not print progress messages
5841b7d53ee5Smrg  -d, --debug      don't remove temporary files
5842b7d53ee5Smrg      --recheck    update $as_me by reconfiguring in the same conditions
58432ceb2653Smrg      --file=FILE[:TEMPLATE]
58442ceb2653Smrg                   instantiate the configuration file FILE
5845b7d53ee5Smrg
5846b7d53ee5SmrgConfiguration files:
5847b7d53ee5Smrg$config_files
5848b7d53ee5Smrg
58492ceb2653SmrgConfiguration commands:
58502ceb2653Smrg$config_commands
58512ceb2653Smrg
5852b7d53ee5SmrgReport bugs to <bug-autoconf@gnu.org>."
5853b7d53ee5Smrg
58542ceb2653Smrg_ACEOF
58552ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5856b7d53ee5Smrgac_cs_version="\\
58572ceb2653Smrgfont-dec-misc config.status 1.0.1
58582ceb2653Smrgconfigured by $0, generated by GNU Autoconf 2.63,
58592ceb2653Smrg  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5860b7d53ee5Smrg
58612ceb2653SmrgCopyright (C) 2008 Free Software Foundation, Inc.
5862b7d53ee5SmrgThis config.status script is free software; the Free Software Foundation
5863b7d53ee5Smrggives unlimited permission to copy, distribute and modify it."
58642ceb2653Smrg
58652ceb2653Smrgac_pwd='$ac_pwd'
58662ceb2653Smrgsrcdir='$srcdir'
58672ceb2653SmrgINSTALL='$INSTALL'
58682ceb2653SmrgMKDIR_P='$MKDIR_P'
58692ceb2653SmrgAWK='$AWK'
58702ceb2653Smrgtest -n "\$AWK" || AWK=awk
5871b7d53ee5Smrg_ACEOF
5872b7d53ee5Smrg
58732ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
58742ceb2653Smrg# The default lists apply if the user does not specify any file.
5875b7d53ee5Smrgac_need_defaults=:
5876b7d53ee5Smrgwhile test $# != 0
5877b7d53ee5Smrgdo
5878b7d53ee5Smrg  case $1 in
5879b7d53ee5Smrg  --*=*)
58802ceb2653Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
58812ceb2653Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5882b7d53ee5Smrg    ac_shift=:
5883b7d53ee5Smrg    ;;
58842ceb2653Smrg  *)
5885b7d53ee5Smrg    ac_option=$1
5886b7d53ee5Smrg    ac_optarg=$2
5887b7d53ee5Smrg    ac_shift=shift
5888b7d53ee5Smrg    ;;
5889b7d53ee5Smrg  esac
5890b7d53ee5Smrg
5891b7d53ee5Smrg  case $ac_option in
5892b7d53ee5Smrg  # Handling of the options.
5893b7d53ee5Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5894b7d53ee5Smrg    ac_cs_recheck=: ;;
58952ceb2653Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
58962ceb2653Smrg    $as_echo "$ac_cs_version"; exit ;;
58972ceb2653Smrg  --debug | --debu | --deb | --de | --d | -d )
5898b7d53ee5Smrg    debug=: ;;
5899b7d53ee5Smrg  --file | --fil | --fi | --f )
5900b7d53ee5Smrg    $ac_shift
59012ceb2653Smrg    case $ac_optarg in
59022ceb2653Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59032ceb2653Smrg    esac
59042ceb2653Smrg    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5905b7d53ee5Smrg    ac_need_defaults=false;;
59062ceb2653Smrg  --he | --h |  --help | --hel | -h )
59072ceb2653Smrg    $as_echo "$ac_cs_usage"; exit ;;
5908b7d53ee5Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5909b7d53ee5Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5910b7d53ee5Smrg    ac_cs_silent=: ;;
5911b7d53ee5Smrg
5912b7d53ee5Smrg  # This is an error.
59132ceb2653Smrg  -*) { $as_echo "$as_me: error: unrecognized option: $1
59142ceb2653SmrgTry \`$0 --help' for more information." >&2
5915b7d53ee5Smrg   { (exit 1); exit 1; }; } ;;
5916b7d53ee5Smrg
59172ceb2653Smrg  *) ac_config_targets="$ac_config_targets $1"
59182ceb2653Smrg     ac_need_defaults=false ;;
5919b7d53ee5Smrg
5920b7d53ee5Smrg  esac
5921b7d53ee5Smrg  shift
5922b7d53ee5Smrgdone
5923b7d53ee5Smrg
5924b7d53ee5Smrgac_configure_extra_args=
5925b7d53ee5Smrg
5926b7d53ee5Smrgif $ac_cs_silent; then
5927b7d53ee5Smrg  exec 6>/dev/null
5928b7d53ee5Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
5929b7d53ee5Smrgfi
5930b7d53ee5Smrg
5931b7d53ee5Smrg_ACEOF
59322ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5933b7d53ee5Smrgif \$ac_cs_recheck; then
59342ceb2653Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59352ceb2653Smrg  shift
59362ceb2653Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59372ceb2653Smrg  CONFIG_SHELL='$SHELL'
59382ceb2653Smrg  export CONFIG_SHELL
59392ceb2653Smrg  exec "\$@"
5940b7d53ee5Smrgfi
5941b7d53ee5Smrg
5942b7d53ee5Smrg_ACEOF
59432ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59442ceb2653Smrgexec 5>>config.log
59452ceb2653Smrg{
59462ceb2653Smrg  echo
59472ceb2653Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59482ceb2653Smrg## Running $as_me. ##
59492ceb2653Smrg_ASBOX
59502ceb2653Smrg  $as_echo "$ac_log"
59512ceb2653Smrg} >&5
5952b7d53ee5Smrg
59532ceb2653Smrg_ACEOF
59542ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59552ceb2653Smrg#
59562ceb2653Smrg# INIT-COMMANDS
59572ceb2653Smrg#
59582ceb2653SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5959b7d53ee5Smrg
59602ceb2653Smrg_ACEOF
5961b7d53ee5Smrg
59622ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5963b7d53ee5Smrg
59642ceb2653Smrg# Handling of arguments.
5965b7d53ee5Smrgfor ac_config_target in $ac_config_targets
5966b7d53ee5Smrgdo
59672ceb2653Smrg  case $ac_config_target in
59682ceb2653Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
59692ceb2653Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
59702ceb2653Smrg
59712ceb2653Smrg  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
59722ceb2653Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5973b7d53ee5Smrg   { (exit 1); exit 1; }; };;
5974b7d53ee5Smrg  esac
5975b7d53ee5Smrgdone
5976b7d53ee5Smrg
59772ceb2653Smrg
5978b7d53ee5Smrg# If the user did not use the arguments to specify the items to instantiate,
5979b7d53ee5Smrg# then the envvar interface is used.  Set only those that are not.
5980b7d53ee5Smrg# We use the long form for the default assignment because of an extremely
5981b7d53ee5Smrg# bizarre bug on SunOS 4.1.3.
5982b7d53ee5Smrgif $ac_need_defaults; then
5983b7d53ee5Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
59842ceb2653Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5985b7d53ee5Smrgfi
5986b7d53ee5Smrg
5987b7d53ee5Smrg# Have a temporary directory for convenience.  Make it in the build tree
59882ceb2653Smrg# simply because there is no reason against having it here, and in addition,
5989b7d53ee5Smrg# creating and moving files from /tmp can sometimes cause problems.
59902ceb2653Smrg# Hook for its removal unless debugging.
59912ceb2653Smrg# Note that there is a small window in which the directory will not be cleaned:
59922ceb2653Smrg# after its creation but before its name has been assigned to `$tmp'.
5993b7d53ee5Smrg$debug ||
5994b7d53ee5Smrg{
59952ceb2653Smrg  tmp=
59962ceb2653Smrg  trap 'exit_status=$?
59972ceb2653Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
59982ceb2653Smrg' 0
5999b7d53ee5Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
6000b7d53ee5Smrg}
6001b7d53ee5Smrg# Create a (secure) tmp directory for tmp files.
6002b7d53ee5Smrg
6003b7d53ee5Smrg{
60042ceb2653Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6005b7d53ee5Smrg  test -n "$tmp" && test -d "$tmp"
6006b7d53ee5Smrg}  ||
6007b7d53ee5Smrg{
60082ceb2653Smrg  tmp=./conf$$-$RANDOM
60092ceb2653Smrg  (umask 077 && mkdir "$tmp")
6010b7d53ee5Smrg} ||
6011b7d53ee5Smrg{
60122ceb2653Smrg   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6013b7d53ee5Smrg   { (exit 1); exit 1; }
6014b7d53ee5Smrg}
6015b7d53ee5Smrg
60162ceb2653Smrg# Set up the scripts for CONFIG_FILES section.
60172ceb2653Smrg# No need to generate them if there are no CONFIG_FILES.
60182ceb2653Smrg# This happens for instance with `./config.status config.h'.
60192ceb2653Smrgif test -n "$CONFIG_FILES"; then
60202ceb2653Smrg
60212ceb2653Smrg
60222ceb2653Smrgac_cr='
60232ceb2653Smrg'
60242ceb2653Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60252ceb2653Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60262ceb2653Smrg  ac_cs_awk_cr='\\r'
60272ceb2653Smrgelse
60282ceb2653Smrg  ac_cs_awk_cr=$ac_cr
60292ceb2653Smrgfi
60302ceb2653Smrg
6031b7d53ee5Smrgecho 'BEGIN {' >"$tmp/subs1.awk" &&
6032b7d53ee5Smrg_ACEOF
6033b7d53ee5Smrg
60342ceb2653Smrg
60352ceb2653Smrg{
60362ceb2653Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
60372ceb2653Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60382ceb2653Smrg  echo "_ACEOF"
60392ceb2653Smrg} >conf$$subs.sh ||
60402ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
60412ceb2653Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
60422ceb2653Smrg   { (exit 1); exit 1; }; }
60432ceb2653Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60442ceb2653Smrgac_delim='%!_!# '
60452ceb2653Smrgfor ac_last_try in false false false false false :; do
60462ceb2653Smrg  . ./conf$$subs.sh ||
60472ceb2653Smrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
60482ceb2653Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6049b7d53ee5Smrg   { (exit 1); exit 1; }; }
60502ceb2653Smrg
60512ceb2653Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60522ceb2653Smrg  if test $ac_delim_n = $ac_delim_num; then
60532ceb2653Smrg    break
60542ceb2653Smrg  elif $ac_last_try; then
60552ceb2653Smrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
60562ceb2653Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
60572ceb2653Smrg   { (exit 1); exit 1; }; }
60582ceb2653Smrg  else
6059b7d53ee5Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60602ceb2653Smrg  fi
60612ceb2653Smrgdone
6062b7d53ee5Smrgrm -f conf$$subs.sh
60632ceb2653Smrg
60642ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6065b7d53ee5Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60662ceb2653Smrg_ACEOF
60672ceb2653Smrgsed -n '
60682ceb2653Smrgh
60692ceb2653Smrgs/^/S["/; s/!.*/"]=/
60702ceb2653Smrgp
60712ceb2653Smrgg
60722ceb2653Smrgs/^[^!]*!//
60732ceb2653Smrg:repl
60742ceb2653Smrgt repl
60752ceb2653Smrgs/'"$ac_delim"'$//
60762ceb2653Smrgt delim
60772ceb2653Smrg:nl
60782ceb2653Smrgh
60792ceb2653Smrgs/\(.\{148\}\).*/\1/
60802ceb2653Smrgt more1
60812ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60822ceb2653Smrgp
60832ceb2653Smrgn
60842ceb2653Smrgb repl
60852ceb2653Smrg:more1
60862ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
60872ceb2653Smrgp
60882ceb2653Smrgg
60892ceb2653Smrgs/.\{148\}//
60902ceb2653Smrgt nl
60912ceb2653Smrg:delim
60922ceb2653Smrgh
60932ceb2653Smrgs/\(.\{148\}\).*/\1/
60942ceb2653Smrgt more2
60952ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
60962ceb2653Smrgp
60972ceb2653Smrgb
60982ceb2653Smrg:more2
60992ceb2653Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
61002ceb2653Smrgp
61012ceb2653Smrgg
61022ceb2653Smrgs/.\{148\}//
61032ceb2653Smrgt delim
61042ceb2653Smrg' <conf$$subs.awk | sed '
61052ceb2653Smrg/^[^""]/{
61062ceb2653Smrg  N
61072ceb2653Smrg  s/\n//
61082ceb2653Smrg}
61092ceb2653Smrg' >>$CONFIG_STATUS || ac_write_fail=1
61102ceb2653Smrgrm -f conf$$subs.awk
61112ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61122ceb2653Smrg_ACAWK
61132ceb2653Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK &&
61142ceb2653Smrg  for (key in S) S_is_set[key] = 1
61152ceb2653Smrg  FS = ""
61162ceb2653Smrg
61172ceb2653Smrg}
61182ceb2653Smrg{
61192ceb2653Smrg  line = $ 0
61202ceb2653Smrg  nfields = split(line, field, "@")
61212ceb2653Smrg  substed = 0
61222ceb2653Smrg  len = length(field[1])
61232ceb2653Smrg  for (i = 2; i < nfields; i++) {
61242ceb2653Smrg    key = field[i]
61252ceb2653Smrg    keylen = length(key)
61262ceb2653Smrg    if (S_is_set[key]) {
61272ceb2653Smrg      value = S[key]
61282ceb2653Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
61292ceb2653Smrg      len += length(value) + length(field[++i])
61302ceb2653Smrg      substed = 1
61312ceb2653Smrg    } else
61322ceb2653Smrg      len += 1 + keylen
61332ceb2653Smrg  }
61342ceb2653Smrg
61352ceb2653Smrg  print line
61362ceb2653Smrg}
61372ceb2653Smrg
61382ceb2653Smrg_ACAWK
61392ceb2653Smrg_ACEOF
61402ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61412ceb2653Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
61422ceb2653Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
61432ceb2653Smrgelse
61442ceb2653Smrg  cat
61452ceb2653Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
61462ceb2653Smrg  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
61472ceb2653Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;}
61482ceb2653Smrg   { (exit 1); exit 1; }; }
61492ceb2653Smrg_ACEOF
61502ceb2653Smrg
61512ceb2653Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
61522ceb2653Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
61532ceb2653Smrg# trailing colons and then remove the whole line if VPATH becomes empty
61542ceb2653Smrg# (actually we leave an empty line to preserve line numbers).
61552ceb2653Smrgif test "x$srcdir" = x.; then
61562ceb2653Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
61572ceb2653Smrgs/:*\$(srcdir):*/:/
61582ceb2653Smrgs/:*\${srcdir}:*/:/
61592ceb2653Smrgs/:*@srcdir@:*/:/
61602ceb2653Smrgs/^\([^=]*=[	 ]*\):*/\1/
61612ceb2653Smrgs/:*$//
61622ceb2653Smrgs/^[^=]*=[	 ]*$//
61632ceb2653Smrg}'
61642ceb2653Smrgfi
61652ceb2653Smrg
61662ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61672ceb2653Smrgfi # test -n "$CONFIG_FILES"
61682ceb2653Smrg
61692ceb2653Smrg
61702ceb2653Smrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
61712ceb2653Smrgshift
61722ceb2653Smrgfor ac_tag
61732ceb2653Smrgdo
61742ceb2653Smrg  case $ac_tag in
61752ceb2653Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
61762ceb2653Smrg  esac
61772ceb2653Smrg  case $ac_mode$ac_tag in
61782ceb2653Smrg  :[FHL]*:*);;
61792ceb2653Smrg  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
61802ceb2653Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
61812ceb2653Smrg   { (exit 1); exit 1; }; };;
61822ceb2653Smrg  :[FH]-) ac_tag=-:-;;
61832ceb2653Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
61842ceb2653Smrg  esac
61852ceb2653Smrg  ac_save_IFS=$IFS
61862ceb2653Smrg  IFS=:
61872ceb2653Smrg  set x $ac_tag
61882ceb2653Smrg  IFS=$ac_save_IFS
61892ceb2653Smrg  shift
61902ceb2653Smrg  ac_file=$1
61912ceb2653Smrg  shift
61922ceb2653Smrg
61932ceb2653Smrg  case $ac_mode in
61942ceb2653Smrg  :L) ac_source=$1;;
61952ceb2653Smrg  :[FH])
61962ceb2653Smrg    ac_file_inputs=
61972ceb2653Smrg    for ac_f
61982ceb2653Smrg    do
61992ceb2653Smrg      case $ac_f in
62002ceb2653Smrg      -) ac_f="$tmp/stdin";;
62012ceb2653Smrg      *) # Look for the file first in the build tree, then in the source tree
62022ceb2653Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
62032ceb2653Smrg	 # because $ac_f cannot contain `:'.
62042ceb2653Smrg	 test -f "$ac_f" ||
62052ceb2653Smrg	   case $ac_f in
62062ceb2653Smrg	   [\\/$]*) false;;
62072ceb2653Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
62082ceb2653Smrg	   esac ||
62092ceb2653Smrg	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
62102ceb2653Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
62112ceb2653Smrg   { (exit 1); exit 1; }; };;
62122ceb2653Smrg      esac
62132ceb2653Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
62142ceb2653Smrg      ac_file_inputs="$ac_file_inputs '$ac_f'"
62152ceb2653Smrg    done
62162ceb2653Smrg
62172ceb2653Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
62182ceb2653Smrg    # use $as_me), people would be surprised to read:
62192ceb2653Smrg    #    /* config.h.  Generated by config.status.  */
62202ceb2653Smrg    configure_input='Generated from '`
62212ceb2653Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
62222ceb2653Smrg	`' by configure.'
62232ceb2653Smrg    if test x"$ac_file" != x-; then
62242ceb2653Smrg      configure_input="$ac_file.  $configure_input"
62252ceb2653Smrg      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
62262ceb2653Smrg$as_echo "$as_me: creating $ac_file" >&6;}
62272ceb2653Smrg    fi
62282ceb2653Smrg    # Neutralize special characters interpreted by sed in replacement strings.
62292ceb2653Smrg    case $configure_input in #(
62302ceb2653Smrg    *\&* | *\|* | *\\* )
62312ceb2653Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
62322ceb2653Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
62332ceb2653Smrg    *) ac_sed_conf_input=$configure_input;;
62342ceb2653Smrg    esac
62352ceb2653Smrg
62362ceb2653Smrg    case $ac_tag in
62372ceb2653Smrg    *:-:* | *:-) cat >"$tmp/stdin" \
62382ceb2653Smrg      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
62392ceb2653Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
62402ceb2653Smrg   { (exit 1); exit 1; }; } ;;
62412ceb2653Smrg    esac
6242b7d53ee5Smrg    ;;
6243b7d53ee5Smrg  esac
62442ceb2653Smrg
6245b7d53ee5Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
6246b7d53ee5Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6247b7d53ee5Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
62482ceb2653Smrg	 X"$ac_file" : 'X\(//\)$' \| \
62492ceb2653Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
62502ceb2653Smrg$as_echo X"$ac_file" |
62512ceb2653Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62522ceb2653Smrg	    s//\1/
62532ceb2653Smrg	    q
62542ceb2653Smrg	  }
62552ceb2653Smrg	  /^X\(\/\/\)[^/].*/{
62562ceb2653Smrg	    s//\1/
62572ceb2653Smrg	    q
62582ceb2653Smrg	  }
62592ceb2653Smrg	  /^X\(\/\/\)$/{
62602ceb2653Smrg	    s//\1/
62612ceb2653Smrg	    q
62622ceb2653Smrg	  }
62632ceb2653Smrg	  /^X\(\/\).*/{
62642ceb2653Smrg	    s//\1/
62652ceb2653Smrg	    q
62662ceb2653Smrg	  }
62672ceb2653Smrg	  s/.*/./; q'`
62682ceb2653Smrg  { as_dir="$ac_dir"
62692ceb2653Smrg  case $as_dir in #(
62702ceb2653Smrg  -*) as_dir=./$as_dir;;
62712ceb2653Smrg  esac
6272b7d53ee5Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
62732ceb2653Smrg    as_dirs=
62742ceb2653Smrg    while :; do
62752ceb2653Smrg      case $as_dir in #(
62762ceb2653Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
62772ceb2653Smrg      *) as_qdir=$as_dir;;
62782ceb2653Smrg      esac
62792ceb2653Smrg      as_dirs="'$as_qdir' $as_dirs"
6280b7d53ee5Smrg      as_dir=`$as_dirname -- "$as_dir" ||
6281b7d53ee5Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6282b7d53ee5Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
62832ceb2653Smrg	 X"$as_dir" : 'X\(//\)$' \| \
62842ceb2653Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
62852ceb2653Smrg$as_echo X"$as_dir" |
62862ceb2653Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62872ceb2653Smrg	    s//\1/
62882ceb2653Smrg	    q
62892ceb2653Smrg	  }
62902ceb2653Smrg	  /^X\(\/\/\)[^/].*/{
62912ceb2653Smrg	    s//\1/
62922ceb2653Smrg	    q
62932ceb2653Smrg	  }
62942ceb2653Smrg	  /^X\(\/\/\)$/{
62952ceb2653Smrg	    s//\1/
62962ceb2653Smrg	    q
62972ceb2653Smrg	  }
62982ceb2653Smrg	  /^X\(\/\).*/{
62992ceb2653Smrg	    s//\1/
63002ceb2653Smrg	    q
63012ceb2653Smrg	  }
63022ceb2653Smrg	  s/.*/./; q'`
6303b7d53ee5Smrg      test -d "$as_dir" && break
63042ceb2653Smrg    done
63052ceb2653Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
63062ceb2653Smrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6307b7d53ee5Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6308b7d53ee5Smrg   { (exit 1); exit 1; }; }; }
6309b7d53ee5Smrg  ac_builddir=.
63102ceb2653Smrg
63112ceb2653Smrgcase "$ac_dir" in
63122ceb2653Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
63132ceb2653Smrg*)
63142ceb2653Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
63152ceb2653Smrg  # A ".." for each directory in $ac_dir_suffix.
63162ceb2653Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
63172ceb2653Smrg  case $ac_top_builddir_sub in
63182ceb2653Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
63192ceb2653Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
63202ceb2653Smrg  esac ;;
63212ceb2653Smrgesac
63222ceb2653Smrgac_abs_top_builddir=$ac_pwd
63232ceb2653Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
63242ceb2653Smrg# for backward compatibility:
6325b7d53ee5Smrgac_top_builddir=$ac_top_build_prefix
6326b7d53ee5Smrg
63272ceb2653Smrgcase $srcdir in
6328b7d53ee5Smrg  .)  # We are building in place.
63292ceb2653Smrg    ac_srcdir=.
63302ceb2653Smrg    ac_top_srcdir=$ac_top_builddir_sub
63312ceb2653Smrg    ac_abs_top_srcdir=$ac_pwd ;;
6332b7d53ee5Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
63332ceb2653Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
63342ceb2653Smrg    ac_top_srcdir=$srcdir
63352ceb2653Smrg    ac_abs_top_srcdir=$srcdir ;;
63362ceb2653Smrg  *) # Relative name.
63372ceb2653Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
63382ceb2653Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
6339b7d53ee5Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
63402ceb2653Smrgesac
6341b7d53ee5Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6342b7d53ee5Smrg
63432ceb2653Smrg
63442ceb2653Smrg  case $ac_mode in
63452ceb2653Smrg  :F)
63462ceb2653Smrg  #
63472ceb2653Smrg  # CONFIG_FILE
6348b7d53ee5Smrg  #
6349b7d53ee5Smrg
6350b7d53ee5Smrg  case $INSTALL in
63512ceb2653Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6352b7d53ee5Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
63532ceb2653Smrg  esac
63542ceb2653Smrg  ac_MKDIR_P=$MKDIR_P
63552ceb2653Smrg  case $MKDIR_P in
63562ceb2653Smrg  [\\/$]* | ?:[\\/]* ) ;;
63572ceb2653Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
63582ceb2653Smrg  esac
6359b7d53ee5Smrg_ACEOF
63602ceb2653Smrg
63612ceb2653Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63622ceb2653Smrg# If the template does not know about datarootdir, expand it.
63632ceb2653Smrg# FIXME: This hack should be removed a few years after 2.60.
63642ceb2653Smrgac_datarootdir_hack=; ac_datarootdir_seen=
63652ceb2653Smrg
63662ceb2653Smrgac_sed_dataroot='
63672ceb2653Smrg/datarootdir/ {
63682ceb2653Smrg  p
63692ceb2653Smrg  q
63702ceb2653Smrg}
63712ceb2653Smrg/@datadir@/p
63722ceb2653Smrg/@docdir@/p
63732ceb2653Smrg/@infodir@/p
63742ceb2653Smrg/@localedir@/p
63752ceb2653Smrg/@mandir@/p
63762ceb2653Smrg'
63772ceb2653Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
63782ceb2653Smrg*datarootdir*) ac_datarootdir_seen=yes;;
63792ceb2653Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
63802ceb2653Smrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
63812ceb2653Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
63822ceb2653Smrg_ACEOF
63832ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
63842ceb2653Smrg  ac_datarootdir_hack='
63852ceb2653Smrg  s&@datadir@&$datadir&g
63862ceb2653Smrg  s&@docdir@&$docdir&g
63872ceb2653Smrg  s&@infodir@&$infodir&g
63882ceb2653Smrg  s&@localedir@&$localedir&g
63892ceb2653Smrg  s&@mandir@&$mandir&g
63902ceb2653Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
6391b7d53ee5Smrgesac
63922ceb2653Smrg_ACEOF
63932ceb2653Smrg
63942ceb2653Smrg# Neutralize VPATH when `$srcdir' = `.'.
63952ceb2653Smrg# Shell code in configure.ac might set extrasub.
63962ceb2653Smrg# FIXME: do we really want to maintain this feature?
63972ceb2653Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6398b7d53ee5Smrgac_sed_extra="$ac_vpsub
6399b7d53ee5Smrg$extrasub
64002ceb2653Smrg_ACEOF
6401b7d53ee5Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6402b7d53ee5Smrg:t
64032ceb2653Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
64042ceb2653Smrgs|@configure_input@|$ac_sed_conf_input|;t t
64052ceb2653Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
64062ceb2653Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
64072ceb2653Smrgs&@srcdir@&$ac_srcdir&;t t
64082ceb2653Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
64092ceb2653Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
64102ceb2653Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
64112ceb2653Smrgs&@builddir@&$ac_builddir&;t t
64122ceb2653Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
64132ceb2653Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
64142ceb2653Smrgs&@INSTALL@&$ac_INSTALL&;t t
64152ceb2653Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
64162ceb2653Smrg$ac_datarootdir_hack
64172ceb2653Smrg"
64182ceb2653Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
64192ceb2653Smrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
64202ceb2653Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
6421b7d53ee5Smrg   { (exit 1); exit 1; }; }
64222ceb2653Smrg
64232ceb2653Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
64242ceb2653Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
64252ceb2653Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
64262ceb2653Smrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
64272ceb2653Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
64282ceb2653Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
64292ceb2653Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
64302ceb2653Smrg
64312ceb2653Smrg  rm -f "$tmp/stdin"
64322ceb2653Smrg  case $ac_file in
64332ceb2653Smrg  -) cat "$tmp/out" && rm -f "$tmp/out";;
64342ceb2653Smrg  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
64352ceb2653Smrg  esac \
64362ceb2653Smrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
64372ceb2653Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
64382ceb2653Smrg   { (exit 1); exit 1; }; }
64392ceb2653Smrg ;;
64402ceb2653Smrg
64412ceb2653Smrg
64422ceb2653Smrg  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
64432ceb2653Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
64442ceb2653Smrg ;;
64452ceb2653Smrg  esac
64462ceb2653Smrg
64472ceb2653Smrg
64482ceb2653Smrg  case $ac_file$ac_mode in
64492ceb2653Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
64502ceb2653Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
64512ceb2653Smrg  # are listed without --file.  Let's play safe and only enable the eval
64522ceb2653Smrg  # if we detect the quoting.
64532ceb2653Smrg  case $CONFIG_FILES in
64542ceb2653Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
64552ceb2653Smrg  *)   set x $CONFIG_FILES ;;
64562ceb2653Smrg  esac
64572ceb2653Smrg  shift
64582ceb2653Smrg  for mf
64592ceb2653Smrg  do
64602ceb2653Smrg    # Strip MF so we end up with the name of the file.
64612ceb2653Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
64622ceb2653Smrg    # Check whether this is an Automake generated Makefile or not.
64632ceb2653Smrg    # We used to match only the files named `Makefile.in', but
64642ceb2653Smrg    # some people rename them; so instead we look at the file content.
64652ceb2653Smrg    # Grep'ing the first line is not enough: some people post-process
64662ceb2653Smrg    # each Makefile.in and add a new line on top of each file to say so.
64672ceb2653Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
64682ceb2653Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
64692ceb2653Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
64702ceb2653Smrg      dirpart=`$as_dirname -- "$mf" ||
64712ceb2653Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
64722ceb2653Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
64732ceb2653Smrg	 X"$mf" : 'X\(//\)$' \| \
64742ceb2653Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
64752ceb2653Smrg$as_echo X"$mf" |
64762ceb2653Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
64772ceb2653Smrg	    s//\1/
64782ceb2653Smrg	    q
64792ceb2653Smrg	  }
64802ceb2653Smrg	  /^X\(\/\/\)[^/].*/{
64812ceb2653Smrg	    s//\1/
64822ceb2653Smrg	    q
64832ceb2653Smrg	  }
64842ceb2653Smrg	  /^X\(\/\/\)$/{
64852ceb2653Smrg	    s//\1/
64862ceb2653Smrg	    q
64872ceb2653Smrg	  }
64882ceb2653Smrg	  /^X\(\/\).*/{
64892ceb2653Smrg	    s//\1/
64902ceb2653Smrg	    q
64912ceb2653Smrg	  }
64922ceb2653Smrg	  s/.*/./; q'`
64932ceb2653Smrg    else
64942ceb2653Smrg      continue
64952ceb2653Smrg    fi
64962ceb2653Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
64972ceb2653Smrg    # from the Makefile without running `make'.
64982ceb2653Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
64992ceb2653Smrg    test -z "$DEPDIR" && continue
65002ceb2653Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
65012ceb2653Smrg    test -z "am__include" && continue
65022ceb2653Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
65032ceb2653Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
65042ceb2653Smrg    U=`sed -n 's/^U = //p' < "$mf"`
65052ceb2653Smrg    # Find all dependency output files, they are included files with
65062ceb2653Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
65072ceb2653Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
65082ceb2653Smrg    # expansion.
65092ceb2653Smrg    for file in `sed -n "
65102ceb2653Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
65112ceb2653Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
65122ceb2653Smrg      # Make sure the directory exists.
65132ceb2653Smrg      test -f "$dirpart/$file" && continue
65142ceb2653Smrg      fdir=`$as_dirname -- "$file" ||
65152ceb2653Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65162ceb2653Smrg	 X"$file" : 'X\(//\)[^/]' \| \
65172ceb2653Smrg	 X"$file" : 'X\(//\)$' \| \
65182ceb2653Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
65192ceb2653Smrg$as_echo X"$file" |
65202ceb2653Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
65212ceb2653Smrg	    s//\1/
65222ceb2653Smrg	    q
65232ceb2653Smrg	  }
65242ceb2653Smrg	  /^X\(\/\/\)[^/].*/{
65252ceb2653Smrg	    s//\1/
65262ceb2653Smrg	    q
65272ceb2653Smrg	  }
65282ceb2653Smrg	  /^X\(\/\/\)$/{
65292ceb2653Smrg	    s//\1/
65302ceb2653Smrg	    q
65312ceb2653Smrg	  }
65322ceb2653Smrg	  /^X\(\/\).*/{
65332ceb2653Smrg	    s//\1/
65342ceb2653Smrg	    q
65352ceb2653Smrg	  }
65362ceb2653Smrg	  s/.*/./; q'`
65372ceb2653Smrg      { as_dir=$dirpart/$fdir
65382ceb2653Smrg  case $as_dir in #(
65392ceb2653Smrg  -*) as_dir=./$as_dir;;
65402ceb2653Smrg  esac
65412ceb2653Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
65422ceb2653Smrg    as_dirs=
65432ceb2653Smrg    while :; do
65442ceb2653Smrg      case $as_dir in #(
65452ceb2653Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
65462ceb2653Smrg      *) as_qdir=$as_dir;;
65472ceb2653Smrg      esac
65482ceb2653Smrg      as_dirs="'$as_qdir' $as_dirs"
65492ceb2653Smrg      as_dir=`$as_dirname -- "$as_dir" ||
65502ceb2653Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65512ceb2653Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
65522ceb2653Smrg	 X"$as_dir" : 'X\(//\)$' \| \
65532ceb2653Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
65542ceb2653Smrg$as_echo X"$as_dir" |
65552ceb2653Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
65562ceb2653Smrg	    s//\1/
65572ceb2653Smrg	    q
65582ceb2653Smrg	  }
65592ceb2653Smrg	  /^X\(\/\/\)[^/].*/{
65602ceb2653Smrg	    s//\1/
65612ceb2653Smrg	    q
65622ceb2653Smrg	  }
65632ceb2653Smrg	  /^X\(\/\/\)$/{
65642ceb2653Smrg	    s//\1/
65652ceb2653Smrg	    q
65662ceb2653Smrg	  }
65672ceb2653Smrg	  /^X\(\/\).*/{
65682ceb2653Smrg	    s//\1/
65692ceb2653Smrg	    q
65702ceb2653Smrg	  }
65712ceb2653Smrg	  s/.*/./; q'`
65722ceb2653Smrg      test -d "$as_dir" && break
65732ceb2653Smrg    done
65742ceb2653Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
65752ceb2653Smrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
65762ceb2653Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
65772ceb2653Smrg   { (exit 1); exit 1; }; }; }
65782ceb2653Smrg      # echo "creating $dirpart/$file"
65792ceb2653Smrg      echo '# dummy' > "$dirpart/$file"
65802ceb2653Smrg    done
65812ceb2653Smrg  done
65822ceb2653Smrg}
65832ceb2653Smrg ;;
65842ceb2653Smrg
65852ceb2653Smrg  esac
6586b7d53ee5Smrgdone # for ac_tag
6587b7d53ee5Smrg
6588b7d53ee5Smrg
6589b7d53ee5Smrg{ (exit 0); exit 0; }
6590b7d53ee5Smrg_ACEOF
6591b7d53ee5Smrgchmod +x $CONFIG_STATUS
6592b7d53ee5Smrgac_clean_files=$ac_clean_files_save
65932ceb2653Smrg
65942ceb2653Smrgtest $ac_write_fail = 0 ||
65952ceb2653Smrg  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
65962ceb2653Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
65972ceb2653Smrg   { (exit 1); exit 1; }; }
6598b7d53ee5Smrg
6599b7d53ee5Smrg
6600b7d53ee5Smrg# configure is writing to config.log, and then calls config.status.
6601b7d53ee5Smrg# config.status does its own redirection, appending to config.log.
6602b7d53ee5Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
6603b7d53ee5Smrg# by configure, so config.status won't be able to write to it; its
6604b7d53ee5Smrg# output is simply discarded.  So we exec the FD to /dev/null,
6605b7d53ee5Smrg# effectively closing config.log, so it can be properly (re)opened and
6606b7d53ee5Smrg# appended to by config.status.  When coming back to configure, we
6607b7d53ee5Smrg# need to make the FD available again.
6608b7d53ee5Smrgif test "$no_create" != yes; then
6609b7d53ee5Smrg  ac_cs_success=:
6610b7d53ee5Smrg  ac_config_status_args=
6611b7d53ee5Smrg  test "$silent" = yes &&
6612b7d53ee5Smrg    ac_config_status_args="$ac_config_status_args --quiet"
6613b7d53ee5Smrg  exec 5>/dev/null
6614b7d53ee5Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6615b7d53ee5Smrg  exec 5>>config.log
6616b7d53ee5Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6617b7d53ee5Smrg  # would make configure fail if this is the last instruction.
6618b7d53ee5Smrg  $ac_cs_success || { (exit 1); exit 1; }
66192ceb2653Smrgfi
66202ceb2653Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
66212ceb2653Smrg  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
66222ceb2653Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6623b7d53ee5Smrgfi
6624
6625