configure revision 0ad07f78
198049353Smrg#! /bin/sh
298049353Smrg# Guess values for system-dependent variables and create Makefiles.
30ad07f78Smrg# Generated by GNU Autoconf 2.63 for font-isas-misc 1.0.1.
498049353Smrg#
598049353Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
698049353Smrg#
70ad07f78Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
80ad07f78Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
998049353Smrg# This configure script is free software; the Free Software Foundation
1098049353Smrg# gives unlimited permission to copy, distribute and modify it.
1198049353Smrg## --------------------- ##
1298049353Smrg## M4sh Initialization.  ##
1398049353Smrg## --------------------- ##
1498049353Smrg
150ad07f78Smrg# Be more Bourne compatible
160ad07f78SmrgDUALCASE=1; export DUALCASE # for MKS sh
1798049353Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1898049353Smrg  emulate sh
1998049353Smrg  NULLCMD=:
200ad07f78Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2198049353Smrg  # is contrary to our usage.  Disable this feature.
2298049353Smrg  alias -g '${1+"$@"}'='"$@"'
230ad07f78Smrg  setopt NO_GLOB_SUBST
240ad07f78Smrgelse
250ad07f78Smrg  case `(set -o) 2>/dev/null` in
260ad07f78Smrg  *posix*) set -o posix ;;
270ad07f78Smrgesac
280ad07f78Smrg
290ad07f78Smrgfi
300ad07f78Smrg
310ad07f78Smrg
320ad07f78Smrg
330ad07f78Smrg
340ad07f78Smrg# PATH needs CR
350ad07f78Smrg# Avoid depending upon Character Ranges.
360ad07f78Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
370ad07f78Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
380ad07f78Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
390ad07f78Smrgas_cr_digits='0123456789'
400ad07f78Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
410ad07f78Smrg
420ad07f78Smrgas_nl='
430ad07f78Smrg'
440ad07f78Smrgexport as_nl
450ad07f78Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
460ad07f78Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
470ad07f78Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
480ad07f78Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
490ad07f78Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
500ad07f78Smrg  as_echo='printf %s\n'
510ad07f78Smrg  as_echo_n='printf %s'
520ad07f78Smrgelse
530ad07f78Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
540ad07f78Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
550ad07f78Smrg    as_echo_n='/usr/ucb/echo -n'
560ad07f78Smrg  else
570ad07f78Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
580ad07f78Smrg    as_echo_n_body='eval
590ad07f78Smrg      arg=$1;
600ad07f78Smrg      case $arg in
610ad07f78Smrg      *"$as_nl"*)
620ad07f78Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
630ad07f78Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
640ad07f78Smrg      esac;
650ad07f78Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
660ad07f78Smrg    '
670ad07f78Smrg    export as_echo_n_body
680ad07f78Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
690ad07f78Smrg  fi
700ad07f78Smrg  export as_echo_body
710ad07f78Smrg  as_echo='sh -c $as_echo_body as_echo'
720ad07f78Smrgfi
730ad07f78Smrg
740ad07f78Smrg# The user is always right.
750ad07f78Smrgif test "${PATH_SEPARATOR+set}" != set; then
760ad07f78Smrg  PATH_SEPARATOR=:
770ad07f78Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
780ad07f78Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
790ad07f78Smrg      PATH_SEPARATOR=';'
800ad07f78Smrg  }
8198049353Smrgfi
8298049353Smrg
8398049353Smrg# Support unset when possible.
8498049353Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8598049353Smrg  as_unset=unset
8698049353Smrgelse
8798049353Smrg  as_unset=false
8898049353Smrgfi
8998049353Smrg
9098049353Smrg
910ad07f78Smrg# IFS
920ad07f78Smrg# We need space, tab and new line, in precisely that order.  Quoting is
930ad07f78Smrg# there to prevent editors from complaining about space-tab.
940ad07f78Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
950ad07f78Smrg# splitting by setting IFS to empty value.)
960ad07f78SmrgIFS=" ""	$as_nl"
970ad07f78Smrg
980ad07f78Smrg# Find who we are.  Look in the path if we contain no directory separator.
990ad07f78Smrgcase $0 in
1000ad07f78Smrg  *[\\/]* ) as_myself=$0 ;;
1010ad07f78Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1020ad07f78Smrgfor as_dir in $PATH
1030ad07f78Smrgdo
1040ad07f78Smrg  IFS=$as_save_IFS
1050ad07f78Smrg  test -z "$as_dir" && as_dir=.
1060ad07f78Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1070ad07f78Smrgdone
1080ad07f78SmrgIFS=$as_save_IFS
1090ad07f78Smrg
1100ad07f78Smrg     ;;
1110ad07f78Smrgesac
1120ad07f78Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1130ad07f78Smrg# in which case we are not to be found in the path.
1140ad07f78Smrgif test "x$as_myself" = x; then
1150ad07f78Smrg  as_myself=$0
1160ad07f78Smrgfi
1170ad07f78Smrgif test ! -f "$as_myself"; then
1180ad07f78Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1190ad07f78Smrg  { (exit 1); exit 1; }
1200ad07f78Smrgfi
1210ad07f78Smrg
12298049353Smrg# Work around bugs in pre-3.0 UWIN ksh.
1230ad07f78Smrgfor as_var in ENV MAIL MAILPATH
1240ad07f78Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1250ad07f78Smrgdone
12698049353SmrgPS1='$ '
12798049353SmrgPS2='> '
12898049353SmrgPS4='+ '
12998049353Smrg
13098049353Smrg# NLS nuisances.
1310ad07f78SmrgLC_ALL=C
1320ad07f78Smrgexport LC_ALL
1330ad07f78SmrgLANGUAGE=C
1340ad07f78Smrgexport LANGUAGE
13598049353Smrg
13698049353Smrg# Required to use basename.
1370ad07f78Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
1380ad07f78Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13998049353Smrg  as_expr=expr
14098049353Smrgelse
14198049353Smrg  as_expr=false
14298049353Smrgfi
14398049353Smrg
1440ad07f78Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14598049353Smrg  as_basename=basename
14698049353Smrgelse
14798049353Smrg  as_basename=false
14898049353Smrgfi
14998049353Smrg
15098049353Smrg
15198049353Smrg# Name of the executable.
1520ad07f78Smrgas_me=`$as_basename -- "$0" ||
15398049353Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15498049353Smrg	 X"$0" : 'X\(//\)$' \| \
1550ad07f78Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1560ad07f78Smrg$as_echo X/"$0" |
1570ad07f78Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
1580ad07f78Smrg	    s//\1/
1590ad07f78Smrg	    q
1600ad07f78Smrg	  }
1610ad07f78Smrg	  /^X\/\(\/\/\)$/{
1620ad07f78Smrg	    s//\1/
1630ad07f78Smrg	    q
1640ad07f78Smrg	  }
1650ad07f78Smrg	  /^X\/\(\/\).*/{
1660ad07f78Smrg	    s//\1/
1670ad07f78Smrg	    q
1680ad07f78Smrg	  }
1690ad07f78Smrg	  s/.*/./; q'`
17098049353Smrg
1710ad07f78Smrg# CDPATH.
1720ad07f78Smrg$as_unset CDPATH
17398049353Smrg
17498049353Smrg
1750ad07f78Smrgif test "x$CONFIG_SHELL" = x; then
1760ad07f78Smrg  if (eval ":") 2>/dev/null; then
1770ad07f78Smrg  as_have_required=yes
1780ad07f78Smrgelse
1790ad07f78Smrg  as_have_required=no
18098049353Smrgfi
18198049353Smrg
1820ad07f78Smrg  if test $as_have_required = yes &&	 (eval ":
1830ad07f78Smrg(as_func_return () {
1840ad07f78Smrg  (exit \$1)
1850ad07f78Smrg}
1860ad07f78Smrgas_func_success () {
1870ad07f78Smrg  as_func_return 0
1880ad07f78Smrg}
1890ad07f78Smrgas_func_failure () {
1900ad07f78Smrg  as_func_return 1
1910ad07f78Smrg}
1920ad07f78Smrgas_func_ret_success () {
1930ad07f78Smrg  return 0
1940ad07f78Smrg}
1950ad07f78Smrgas_func_ret_failure () {
1960ad07f78Smrg  return 1
1970ad07f78Smrg}
19898049353Smrg
1990ad07f78Smrgexitcode=0
2000ad07f78Smrgif as_func_success; then
2010ad07f78Smrg  :
2020ad07f78Smrgelse
2030ad07f78Smrg  exitcode=1
2040ad07f78Smrg  echo as_func_success failed.
2050ad07f78Smrgfi
20698049353Smrg
2070ad07f78Smrgif as_func_failure; then
2080ad07f78Smrg  exitcode=1
2090ad07f78Smrg  echo as_func_failure succeeded.
2100ad07f78Smrgfi
2110ad07f78Smrg
2120ad07f78Smrgif as_func_ret_success; then
2130ad07f78Smrg  :
2140ad07f78Smrgelse
2150ad07f78Smrg  exitcode=1
2160ad07f78Smrg  echo as_func_ret_success failed.
2170ad07f78Smrgfi
2180ad07f78Smrg
2190ad07f78Smrgif as_func_ret_failure; then
2200ad07f78Smrg  exitcode=1
2210ad07f78Smrg  echo as_func_ret_failure succeeded.
2220ad07f78Smrgfi
2230ad07f78Smrg
2240ad07f78Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2250ad07f78Smrg  :
2260ad07f78Smrgelse
2270ad07f78Smrg  exitcode=1
2280ad07f78Smrg  echo positional parameters were not saved.
2290ad07f78Smrgfi
2300ad07f78Smrg
2310ad07f78Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
2320ad07f78Smrg
2330ad07f78Smrg(
2340ad07f78Smrg  as_lineno_1=\$LINENO
2350ad07f78Smrg  as_lineno_2=\$LINENO
2360ad07f78Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2370ad07f78Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2380ad07f78Smrg") 2> /dev/null; then
2390ad07f78Smrg  :
2400ad07f78Smrgelse
2410ad07f78Smrg  as_candidate_shells=
24298049353Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24398049353Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24498049353Smrgdo
24598049353Smrg  IFS=$as_save_IFS
24698049353Smrg  test -z "$as_dir" && as_dir=.
2470ad07f78Smrg  case $as_dir in
24898049353Smrg	 /*)
2490ad07f78Smrg	   for as_base in sh bash ksh sh5; do
2500ad07f78Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2510ad07f78Smrg	   done;;
2520ad07f78Smrg       esac
2530ad07f78Smrgdone
2540ad07f78SmrgIFS=$as_save_IFS
2550ad07f78Smrg
2560ad07f78Smrg
2570ad07f78Smrg      for as_shell in $as_candidate_shells $SHELL; do
2580ad07f78Smrg	 # Try only shells that exist, to save several forks.
2590ad07f78Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2600ad07f78Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
2610ad07f78Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2620ad07f78Smrg  emulate sh
2630ad07f78Smrg  NULLCMD=:
2640ad07f78Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2650ad07f78Smrg  # is contrary to our usage.  Disable this feature.
2660ad07f78Smrg  alias -g '${1+"$@"}'='"$@"'
2670ad07f78Smrg  setopt NO_GLOB_SUBST
2680ad07f78Smrgelse
2690ad07f78Smrg  case `(set -o) 2>/dev/null` in
2700ad07f78Smrg  *posix*) set -o posix ;;
2710ad07f78Smrgesac
2720ad07f78Smrg
2730ad07f78Smrgfi
2740ad07f78Smrg
2750ad07f78Smrg
2760ad07f78Smrg:
2770ad07f78Smrg_ASEOF
2780ad07f78Smrg}; then
2790ad07f78Smrg  CONFIG_SHELL=$as_shell
2800ad07f78Smrg	       as_have_required=yes
2810ad07f78Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
2820ad07f78Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2830ad07f78Smrg  emulate sh
2840ad07f78Smrg  NULLCMD=:
2850ad07f78Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2860ad07f78Smrg  # is contrary to our usage.  Disable this feature.
2870ad07f78Smrg  alias -g '${1+"$@"}'='"$@"'
2880ad07f78Smrg  setopt NO_GLOB_SUBST
2890ad07f78Smrgelse
2900ad07f78Smrg  case `(set -o) 2>/dev/null` in
2910ad07f78Smrg  *posix*) set -o posix ;;
2920ad07f78Smrgesac
2930ad07f78Smrg
2940ad07f78Smrgfi
2950ad07f78Smrg
2960ad07f78Smrg
2970ad07f78Smrg:
2980ad07f78Smrg(as_func_return () {
2990ad07f78Smrg  (exit $1)
3000ad07f78Smrg}
3010ad07f78Smrgas_func_success () {
3020ad07f78Smrg  as_func_return 0
3030ad07f78Smrg}
3040ad07f78Smrgas_func_failure () {
3050ad07f78Smrg  as_func_return 1
3060ad07f78Smrg}
3070ad07f78Smrgas_func_ret_success () {
3080ad07f78Smrg  return 0
3090ad07f78Smrg}
3100ad07f78Smrgas_func_ret_failure () {
3110ad07f78Smrg  return 1
3120ad07f78Smrg}
3130ad07f78Smrg
3140ad07f78Smrgexitcode=0
3150ad07f78Smrgif as_func_success; then
3160ad07f78Smrg  :
3170ad07f78Smrgelse
3180ad07f78Smrg  exitcode=1
3190ad07f78Smrg  echo as_func_success failed.
3200ad07f78Smrgfi
3210ad07f78Smrg
3220ad07f78Smrgif as_func_failure; then
3230ad07f78Smrg  exitcode=1
3240ad07f78Smrg  echo as_func_failure succeeded.
3250ad07f78Smrgfi
3260ad07f78Smrg
3270ad07f78Smrgif as_func_ret_success; then
3280ad07f78Smrg  :
3290ad07f78Smrgelse
3300ad07f78Smrg  exitcode=1
3310ad07f78Smrg  echo as_func_ret_success failed.
3320ad07f78Smrgfi
3330ad07f78Smrg
3340ad07f78Smrgif as_func_ret_failure; then
3350ad07f78Smrg  exitcode=1
3360ad07f78Smrg  echo as_func_ret_failure succeeded.
3370ad07f78Smrgfi
3380ad07f78Smrg
3390ad07f78Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
3400ad07f78Smrg  :
3410ad07f78Smrgelse
3420ad07f78Smrg  exitcode=1
3430ad07f78Smrg  echo positional parameters were not saved.
3440ad07f78Smrgfi
3450ad07f78Smrg
3460ad07f78Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
3470ad07f78Smrg
3480ad07f78Smrg(
34998049353Smrg  as_lineno_1=$LINENO
35098049353Smrg  as_lineno_2=$LINENO
35198049353Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3520ad07f78Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3530ad07f78Smrg
3540ad07f78Smrg_ASEOF
3550ad07f78Smrg}; then
3560ad07f78Smrg  break
3570ad07f78Smrgfi
3580ad07f78Smrg
3590ad07f78Smrgfi
3600ad07f78Smrg
3610ad07f78Smrg      done
3620ad07f78Smrg
3630ad07f78Smrg      if test "x$CONFIG_SHELL" != x; then
3640ad07f78Smrg  for as_var in BASH_ENV ENV
3650ad07f78Smrg	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3660ad07f78Smrg	done
3670ad07f78Smrg	export CONFIG_SHELL
3680ad07f78Smrg	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3690ad07f78Smrgfi
3700ad07f78Smrg
3710ad07f78Smrg
3720ad07f78Smrg    if test $as_have_required = no; then
3730ad07f78Smrg  echo This script requires a shell more modern than all the
3740ad07f78Smrg      echo shells that I found on your system.  Please install a
3750ad07f78Smrg      echo modern shell, or manually run the script under such a
3760ad07f78Smrg      echo shell if you do have one.
3770ad07f78Smrg      { (exit 1); exit 1; }
3780ad07f78Smrgfi
3790ad07f78Smrg
3800ad07f78Smrg
3810ad07f78Smrgfi
3820ad07f78Smrg
3830ad07f78Smrgfi
3840ad07f78Smrg
3850ad07f78Smrg
3860ad07f78Smrg
3870ad07f78Smrg(eval "as_func_return () {
3880ad07f78Smrg  (exit \$1)
3890ad07f78Smrg}
3900ad07f78Smrgas_func_success () {
3910ad07f78Smrg  as_func_return 0
3920ad07f78Smrg}
3930ad07f78Smrgas_func_failure () {
3940ad07f78Smrg  as_func_return 1
3950ad07f78Smrg}
3960ad07f78Smrgas_func_ret_success () {
3970ad07f78Smrg  return 0
3980ad07f78Smrg}
3990ad07f78Smrgas_func_ret_failure () {
4000ad07f78Smrg  return 1
4010ad07f78Smrg}
4020ad07f78Smrg
4030ad07f78Smrgexitcode=0
4040ad07f78Smrgif as_func_success; then
4050ad07f78Smrg  :
4060ad07f78Smrgelse
4070ad07f78Smrg  exitcode=1
4080ad07f78Smrg  echo as_func_success failed.
4090ad07f78Smrgfi
4100ad07f78Smrg
4110ad07f78Smrgif as_func_failure; then
4120ad07f78Smrg  exitcode=1
4130ad07f78Smrg  echo as_func_failure succeeded.
4140ad07f78Smrgfi
4150ad07f78Smrg
4160ad07f78Smrgif as_func_ret_success; then
4170ad07f78Smrg  :
4180ad07f78Smrgelse
4190ad07f78Smrg  exitcode=1
4200ad07f78Smrg  echo as_func_ret_success failed.
4210ad07f78Smrgfi
4220ad07f78Smrg
4230ad07f78Smrgif as_func_ret_failure; then
4240ad07f78Smrg  exitcode=1
4250ad07f78Smrg  echo as_func_ret_failure succeeded.
4260ad07f78Smrgfi
4270ad07f78Smrg
4280ad07f78Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
4290ad07f78Smrg  :
4300ad07f78Smrgelse
4310ad07f78Smrg  exitcode=1
4320ad07f78Smrg  echo positional parameters were not saved.
4330ad07f78Smrgfi
4340ad07f78Smrg
4350ad07f78Smrgtest \$exitcode = 0") || {
4360ad07f78Smrg  echo No shell found that supports shell functions.
4370ad07f78Smrg  echo Please tell bug-autoconf@gnu.org about your system,
4380ad07f78Smrg  echo including any error possibly output before this message.
4390ad07f78Smrg  echo This can help us improve future autoconf versions.
4400ad07f78Smrg  echo Configuration will now proceed without shell functions.
4410ad07f78Smrg}
4420ad07f78Smrg
4430ad07f78Smrg
4440ad07f78Smrg
4450ad07f78Smrg  as_lineno_1=$LINENO
4460ad07f78Smrg  as_lineno_2=$LINENO
4470ad07f78Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
4480ad07f78Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
44998049353Smrg
45098049353Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45198049353Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
4520ad07f78Smrg  # line-number line after each line using $LINENO; the second 'sed'
4530ad07f78Smrg  # does the real work.  The second script uses 'N' to pair each
4540ad07f78Smrg  # line-number line with the line containing $LINENO, and appends
4550ad07f78Smrg  # trailing '-' during substitution so that $LINENO is not a special
4560ad07f78Smrg  # case at line end.
45798049353Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4580ad07f78Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4590ad07f78Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
4600ad07f78Smrg  sed -n '
4610ad07f78Smrg    p
4620ad07f78Smrg    /[$]LINENO/=
4630ad07f78Smrg  ' <$as_myself |
46498049353Smrg    sed '
4650ad07f78Smrg      s/[$]LINENO.*/&-/
4660ad07f78Smrg      t lineno
4670ad07f78Smrg      b
4680ad07f78Smrg      :lineno
46998049353Smrg      N
4700ad07f78Smrg      :loop
4710ad07f78Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
47298049353Smrg      t loop
4730ad07f78Smrg      s/-\n.*//
47498049353Smrg    ' >$as_me.lineno &&
4750ad07f78Smrg  chmod +x "$as_me.lineno" ||
4760ad07f78Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
47798049353Smrg   { (exit 1); exit 1; }; }
47898049353Smrg
47998049353Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
48098049353Smrg  # (the dirname of $[0] is not the place where we might find the
4810ad07f78Smrg  # original and so on.  Autoconf is especially sensitive to this).
4820ad07f78Smrg  . "./$as_me.lineno"
48398049353Smrg  # Exit status is that of the last command.
48498049353Smrg  exit
48598049353Smrg}
48698049353Smrg
48798049353Smrg
4880ad07f78Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4890ad07f78Smrg  as_dirname=dirname
4900ad07f78Smrgelse
4910ad07f78Smrg  as_dirname=false
4920ad07f78Smrgfi
49398049353Smrg
4940ad07f78SmrgECHO_C= ECHO_N= ECHO_T=
4950ad07f78Smrgcase `echo -n x` in
4960ad07f78Smrg-n*)
4970ad07f78Smrg  case `echo 'x\c'` in
4980ad07f78Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4990ad07f78Smrg  *)   ECHO_C='\c';;
5000ad07f78Smrg  esac;;
5010ad07f78Smrg*)
5020ad07f78Smrg  ECHO_N='-n';;
5030ad07f78Smrgesac
5040ad07f78Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
5050ad07f78Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
50698049353Smrg  as_expr=expr
50798049353Smrgelse
50898049353Smrg  as_expr=false
50998049353Smrgfi
51098049353Smrg
51198049353Smrgrm -f conf$$ conf$$.exe conf$$.file
5120ad07f78Smrgif test -d conf$$.dir; then
5130ad07f78Smrg  rm -f conf$$.dir/conf$$.file
5140ad07f78Smrgelse
5150ad07f78Smrg  rm -f conf$$.dir
5160ad07f78Smrg  mkdir conf$$.dir 2>/dev/null
5170ad07f78Smrgfi
5180ad07f78Smrgif (echo >conf$$.file) 2>/dev/null; then
5190ad07f78Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
52098049353Smrg    as_ln_s='ln -s'
5210ad07f78Smrg    # ... but there are two gotchas:
5220ad07f78Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5230ad07f78Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5240ad07f78Smrg    # In both cases, we have to default to `cp -p'.
5250ad07f78Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5260ad07f78Smrg      as_ln_s='cp -p'
5270ad07f78Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5280ad07f78Smrg    as_ln_s=ln
5290ad07f78Smrg  else
5300ad07f78Smrg    as_ln_s='cp -p'
53198049353Smrg  fi
53298049353Smrgelse
53398049353Smrg  as_ln_s='cp -p'
53498049353Smrgfi
5350ad07f78Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5360ad07f78Smrgrmdir conf$$.dir 2>/dev/null
53798049353Smrg
53898049353Smrgif mkdir -p . 2>/dev/null; then
53998049353Smrg  as_mkdir_p=:
54098049353Smrgelse
54198049353Smrg  test -d ./-p && rmdir ./-p
54298049353Smrg  as_mkdir_p=false
54398049353Smrgfi
54498049353Smrg
5450ad07f78Smrgif test -x / >/dev/null 2>&1; then
5460ad07f78Smrg  as_test_x='test -x'
5470ad07f78Smrgelse
5480ad07f78Smrg  if ls -dL / >/dev/null 2>&1; then
5490ad07f78Smrg    as_ls_L_option=L
5500ad07f78Smrg  else
5510ad07f78Smrg    as_ls_L_option=
5520ad07f78Smrg  fi
5530ad07f78Smrg  as_test_x='
5540ad07f78Smrg    eval sh -c '\''
5550ad07f78Smrg      if test -d "$1"; then
5560ad07f78Smrg	test -d "$1/.";
5570ad07f78Smrg      else
5580ad07f78Smrg	case $1 in
5590ad07f78Smrg	-*)set "./$1";;
5600ad07f78Smrg	esac;
5610ad07f78Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5620ad07f78Smrg	???[sx]*):;;*)false;;esac;fi
5630ad07f78Smrg    '\'' sh
5640ad07f78Smrg  '
5650ad07f78Smrgfi
5660ad07f78Smrgas_executable_p=$as_test_x
56798049353Smrg
56898049353Smrg# Sed expression to map a string onto a valid CPP name.
56998049353Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
57098049353Smrg
57198049353Smrg# Sed expression to map a string onto a valid variable name.
57298049353Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
57398049353Smrg
57498049353Smrg
57598049353Smrg
5760ad07f78Smrgexec 7<&0 </dev/null 6>&1
57798049353Smrg
57898049353Smrg# Name of the host.
57998049353Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
58098049353Smrg# so uname gets run too.
58198049353Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
58298049353Smrg
58398049353Smrg#
58498049353Smrg# Initializations.
58598049353Smrg#
58698049353Smrgac_default_prefix=/usr/local
5870ad07f78Smrgac_clean_files=
58898049353Smrgac_config_libobj_dir=.
5890ad07f78SmrgLIBOBJS=
59098049353Smrgcross_compiling=no
59198049353Smrgsubdirs=
59298049353SmrgMFLAGS=
59398049353SmrgMAKEFLAGS=
59498049353SmrgSHELL=${CONFIG_SHELL-/bin/sh}
59598049353Smrg
59698049353Smrg# Identity of this package.
59798049353SmrgPACKAGE_NAME='font-isas-misc'
59898049353SmrgPACKAGE_TARNAME='font-isas-misc'
5990ad07f78SmrgPACKAGE_VERSION='1.0.1'
6000ad07f78SmrgPACKAGE_STRING='font-isas-misc 1.0.1'
60198049353SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
60298049353Smrg
6030ad07f78Smrg# Factoring default headers for most tests.
6040ad07f78Smrgac_includes_default="\
6050ad07f78Smrg#include <stdio.h>
6060ad07f78Smrg#ifdef HAVE_SYS_TYPES_H
6070ad07f78Smrg# include <sys/types.h>
6080ad07f78Smrg#endif
6090ad07f78Smrg#ifdef HAVE_SYS_STAT_H
6100ad07f78Smrg# include <sys/stat.h>
6110ad07f78Smrg#endif
6120ad07f78Smrg#ifdef STDC_HEADERS
6130ad07f78Smrg# include <stdlib.h>
6140ad07f78Smrg# include <stddef.h>
6150ad07f78Smrg#else
6160ad07f78Smrg# ifdef HAVE_STDLIB_H
6170ad07f78Smrg#  include <stdlib.h>
6180ad07f78Smrg# endif
6190ad07f78Smrg#endif
6200ad07f78Smrg#ifdef HAVE_STRING_H
6210ad07f78Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6220ad07f78Smrg#  include <memory.h>
6230ad07f78Smrg# endif
6240ad07f78Smrg# include <string.h>
6250ad07f78Smrg#endif
6260ad07f78Smrg#ifdef HAVE_STRINGS_H
6270ad07f78Smrg# include <strings.h>
6280ad07f78Smrg#endif
6290ad07f78Smrg#ifdef HAVE_INTTYPES_H
6300ad07f78Smrg# include <inttypes.h>
6310ad07f78Smrg#endif
6320ad07f78Smrg#ifdef HAVE_STDINT_H
6330ad07f78Smrg# include <stdint.h>
6340ad07f78Smrg#endif
6350ad07f78Smrg#ifdef HAVE_UNISTD_H
6360ad07f78Smrg# include <unistd.h>
6370ad07f78Smrg#endif"
6380ad07f78Smrg
6390ad07f78Smrgac_subst_vars='am__EXEEXT_FALSE
6400ad07f78Smrgam__EXEEXT_TRUE
6410ad07f78SmrgLTLIBOBJS
6420ad07f78SmrgLIBOBJS
6430ad07f78SmrgCOMPRESS_SUFFIX
6440ad07f78SmrgCOMPRESS
6450ad07f78SmrgBDFTOPCF
6460ad07f78SmrgMKFONTDIR
6470ad07f78SmrgRUN_FCCACHE
6480ad07f78SmrgFCCACHE
6490ad07f78SmrgFONTDIR
6500ad07f78SmrgFONTROOTDIR
6510ad07f78SmrgPKG_CONFIG
6520ad07f78SmrgADMIN_MAN_DIR
6530ad07f78SmrgDRIVER_MAN_DIR
6540ad07f78SmrgMISC_MAN_DIR
6550ad07f78SmrgFILE_MAN_DIR
6560ad07f78SmrgLIB_MAN_DIR
6570ad07f78SmrgAPP_MAN_DIR
6580ad07f78SmrgADMIN_MAN_SUFFIX
6590ad07f78SmrgDRIVER_MAN_SUFFIX
6600ad07f78SmrgMISC_MAN_SUFFIX
6610ad07f78SmrgFILE_MAN_SUFFIX
6620ad07f78SmrgLIB_MAN_SUFFIX
6630ad07f78SmrgAPP_MAN_SUFFIX
6640ad07f78Smrghost_os
6650ad07f78Smrghost_vendor
6660ad07f78Smrghost_cpu
6670ad07f78Smrghost
6680ad07f78Smrgbuild_os
6690ad07f78Smrgbuild_vendor
6700ad07f78Smrgbuild_cpu
6710ad07f78Smrgbuild
6720ad07f78Smrgdistcleancheck_listfiles
6730ad07f78SmrgCHANGELOG_CMD
6740ad07f78SmrgAM_BACKSLASH
6750ad07f78SmrgAM_DEFAULT_VERBOSITY
6760ad07f78SmrgCWARNFLAGS
6770ad07f78SmrgEGREP
6780ad07f78SmrgGREP
6790ad07f78SmrgCPP
6800ad07f78Smrgam__fastdepCC_FALSE
6810ad07f78Smrgam__fastdepCC_TRUE
6820ad07f78SmrgCCDEPMODE
6830ad07f78SmrgAMDEPBACKSLASH
6840ad07f78SmrgAMDEP_FALSE
6850ad07f78SmrgAMDEP_TRUE
6860ad07f78Smrgam__quote
6870ad07f78Smrgam__include
6880ad07f78SmrgDEPDIR
6890ad07f78SmrgOBJEXT
6900ad07f78SmrgEXEEXT
6910ad07f78Smrgac_ct_CC
6920ad07f78SmrgCPPFLAGS
6930ad07f78SmrgLDFLAGS
6940ad07f78SmrgCFLAGS
6950ad07f78SmrgCC
6960ad07f78SmrgMAINT
6970ad07f78SmrgMAINTAINER_MODE_FALSE
6980ad07f78SmrgMAINTAINER_MODE_TRUE
6990ad07f78Smrgam__untar
7000ad07f78Smrgam__tar
7010ad07f78SmrgAMTAR
7020ad07f78Smrgam__leading_dot
7030ad07f78SmrgSET_MAKE
7040ad07f78SmrgAWK
7050ad07f78Smrgmkdir_p
7060ad07f78SmrgMKDIR_P
7070ad07f78SmrgINSTALL_STRIP_PROGRAM
7080ad07f78SmrgSTRIP
7090ad07f78Smrginstall_sh
7100ad07f78SmrgMAKEINFO
7110ad07f78SmrgAUTOHEADER
7120ad07f78SmrgAUTOMAKE
7130ad07f78SmrgAUTOCONF
7140ad07f78SmrgACLOCAL
7150ad07f78SmrgVERSION
7160ad07f78SmrgPACKAGE
7170ad07f78SmrgCYGPATH_W
7180ad07f78Smrgam__isrc
7190ad07f78SmrgINSTALL_DATA
7200ad07f78SmrgINSTALL_SCRIPT
7210ad07f78SmrgINSTALL_PROGRAM
7220ad07f78Smrgtarget_alias
7230ad07f78Smrghost_alias
7240ad07f78Smrgbuild_alias
7250ad07f78SmrgLIBS
7260ad07f78SmrgECHO_T
7270ad07f78SmrgECHO_N
7280ad07f78SmrgECHO_C
7290ad07f78SmrgDEFS
7300ad07f78Smrgmandir
7310ad07f78Smrglocaledir
7320ad07f78Smrglibdir
7330ad07f78Smrgpsdir
7340ad07f78Smrgpdfdir
7350ad07f78Smrgdvidir
7360ad07f78Smrghtmldir
7370ad07f78Smrginfodir
7380ad07f78Smrgdocdir
7390ad07f78Smrgoldincludedir
7400ad07f78Smrgincludedir
7410ad07f78Smrglocalstatedir
7420ad07f78Smrgsharedstatedir
7430ad07f78Smrgsysconfdir
7440ad07f78Smrgdatadir
7450ad07f78Smrgdatarootdir
7460ad07f78Smrglibexecdir
7470ad07f78Smrgsbindir
7480ad07f78Smrgbindir
7490ad07f78Smrgprogram_transform_name
7500ad07f78Smrgprefix
7510ad07f78Smrgexec_prefix
7520ad07f78SmrgPACKAGE_BUGREPORT
7530ad07f78SmrgPACKAGE_STRING
7540ad07f78SmrgPACKAGE_VERSION
7550ad07f78SmrgPACKAGE_TARNAME
7560ad07f78SmrgPACKAGE_NAME
7570ad07f78SmrgPATH_SEPARATOR
7580ad07f78SmrgSHELL'
75998049353Smrgac_subst_files=''
7600ad07f78Smrgac_user_opts='
7610ad07f78Smrgenable_option_checking
7620ad07f78Smrgenable_maintainer_mode
7630ad07f78Smrgenable_dependency_tracking
7640ad07f78Smrgenable_silent_rules
7650ad07f78Smrgenable_strict_compilation
7660ad07f78Smrgwith_release_version
7670ad07f78Smrgwith_fontrootdir
7680ad07f78Smrgwith_fontdir
7690ad07f78Smrgwith_compression
7700ad07f78Smrg'
7710ad07f78Smrg      ac_precious_vars='build_alias
7720ad07f78Smrghost_alias
7730ad07f78Smrgtarget_alias
7740ad07f78SmrgCC
7750ad07f78SmrgCFLAGS
7760ad07f78SmrgLDFLAGS
7770ad07f78SmrgLIBS
7780ad07f78SmrgCPPFLAGS
7790ad07f78SmrgCPP
7800ad07f78SmrgPKG_CONFIG'
7810ad07f78Smrg
78298049353Smrg
78398049353Smrg# Initialize some variables set by options.
78498049353Smrgac_init_help=
78598049353Smrgac_init_version=false
7860ad07f78Smrgac_unrecognized_opts=
7870ad07f78Smrgac_unrecognized_sep=
78898049353Smrg# The variables have the same names as the options, with
78998049353Smrg# dashes changed to underlines.
79098049353Smrgcache_file=/dev/null
79198049353Smrgexec_prefix=NONE
79298049353Smrgno_create=
79398049353Smrgno_recursion=
79498049353Smrgprefix=NONE
79598049353Smrgprogram_prefix=NONE
79698049353Smrgprogram_suffix=NONE
79798049353Smrgprogram_transform_name=s,x,x,
79898049353Smrgsilent=
79998049353Smrgsite=
80098049353Smrgsrcdir=
80198049353Smrgverbose=
80298049353Smrgx_includes=NONE
80398049353Smrgx_libraries=NONE
80498049353Smrg
80598049353Smrg# Installation directory options.
80698049353Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
80798049353Smrg# and all the variables that are supposed to be based on exec_prefix
80898049353Smrg# by default will actually change.
80998049353Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
8100ad07f78Smrg# (The list follows the same order as the GNU Coding Standards.)
81198049353Smrgbindir='${exec_prefix}/bin'
81298049353Smrgsbindir='${exec_prefix}/sbin'
81398049353Smrglibexecdir='${exec_prefix}/libexec'
8140ad07f78Smrgdatarootdir='${prefix}/share'
8150ad07f78Smrgdatadir='${datarootdir}'
81698049353Smrgsysconfdir='${prefix}/etc'
81798049353Smrgsharedstatedir='${prefix}/com'
81898049353Smrglocalstatedir='${prefix}/var'
81998049353Smrgincludedir='${prefix}/include'
82098049353Smrgoldincludedir='/usr/include'
8210ad07f78Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
8220ad07f78Smrginfodir='${datarootdir}/info'
8230ad07f78Smrghtmldir='${docdir}'
8240ad07f78Smrgdvidir='${docdir}'
8250ad07f78Smrgpdfdir='${docdir}'
8260ad07f78Smrgpsdir='${docdir}'
8270ad07f78Smrglibdir='${exec_prefix}/lib'
8280ad07f78Smrglocaledir='${datarootdir}/locale'
8290ad07f78Smrgmandir='${datarootdir}/man'
83098049353Smrg
83198049353Smrgac_prev=
8320ad07f78Smrgac_dashdash=
83398049353Smrgfor ac_option
83498049353Smrgdo
83598049353Smrg  # If the previous option needs an argument, assign it.
83698049353Smrg  if test -n "$ac_prev"; then
8370ad07f78Smrg    eval $ac_prev=\$ac_option
83898049353Smrg    ac_prev=
83998049353Smrg    continue
84098049353Smrg  fi
84198049353Smrg
8420ad07f78Smrg  case $ac_option in
8430ad07f78Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8440ad07f78Smrg  *)	ac_optarg=yes ;;
8450ad07f78Smrg  esac
84698049353Smrg
84798049353Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
84898049353Smrg
8490ad07f78Smrg  case $ac_dashdash$ac_option in
8500ad07f78Smrg  --)
8510ad07f78Smrg    ac_dashdash=yes ;;
85298049353Smrg
85398049353Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
85498049353Smrg    ac_prev=bindir ;;
85598049353Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
85698049353Smrg    bindir=$ac_optarg ;;
85798049353Smrg
85898049353Smrg  -build | --build | --buil | --bui | --bu)
85998049353Smrg    ac_prev=build_alias ;;
86098049353Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
86198049353Smrg    build_alias=$ac_optarg ;;
86298049353Smrg
86398049353Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
86498049353Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
86598049353Smrg    ac_prev=cache_file ;;
86698049353Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
86798049353Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
86898049353Smrg    cache_file=$ac_optarg ;;
86998049353Smrg
87098049353Smrg  --config-cache | -C)
87198049353Smrg    cache_file=config.cache ;;
87298049353Smrg
8730ad07f78Smrg  -datadir | --datadir | --datadi | --datad)
87498049353Smrg    ac_prev=datadir ;;
8750ad07f78Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
87698049353Smrg    datadir=$ac_optarg ;;
87798049353Smrg
8780ad07f78Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8790ad07f78Smrg  | --dataroo | --dataro | --datar)
8800ad07f78Smrg    ac_prev=datarootdir ;;
8810ad07f78Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8820ad07f78Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8830ad07f78Smrg    datarootdir=$ac_optarg ;;
8840ad07f78Smrg
88598049353Smrg  -disable-* | --disable-*)
8860ad07f78Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
88798049353Smrg    # Reject names that are not valid shell variable names.
8880ad07f78Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8890ad07f78Smrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
89098049353Smrg   { (exit 1); exit 1; }; }
8910ad07f78Smrg    ac_useropt_orig=$ac_useropt
8920ad07f78Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8930ad07f78Smrg    case $ac_user_opts in
8940ad07f78Smrg      *"
8950ad07f78Smrg"enable_$ac_useropt"
8960ad07f78Smrg"*) ;;
8970ad07f78Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8980ad07f78Smrg	 ac_unrecognized_sep=', ';;
8990ad07f78Smrg    esac
9000ad07f78Smrg    eval enable_$ac_useropt=no ;;
9010ad07f78Smrg
9020ad07f78Smrg  -docdir | --docdir | --docdi | --doc | --do)
9030ad07f78Smrg    ac_prev=docdir ;;
9040ad07f78Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
9050ad07f78Smrg    docdir=$ac_optarg ;;
9060ad07f78Smrg
9070ad07f78Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
9080ad07f78Smrg    ac_prev=dvidir ;;
9090ad07f78Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
9100ad07f78Smrg    dvidir=$ac_optarg ;;
91198049353Smrg
91298049353Smrg  -enable-* | --enable-*)
9130ad07f78Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
91498049353Smrg    # Reject names that are not valid shell variable names.
9150ad07f78Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
9160ad07f78Smrg      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
91798049353Smrg   { (exit 1); exit 1; }; }
9180ad07f78Smrg    ac_useropt_orig=$ac_useropt
9190ad07f78Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
9200ad07f78Smrg    case $ac_user_opts in
9210ad07f78Smrg      *"
9220ad07f78Smrg"enable_$ac_useropt"
9230ad07f78Smrg"*) ;;
9240ad07f78Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
9250ad07f78Smrg	 ac_unrecognized_sep=', ';;
92698049353Smrg    esac
9270ad07f78Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
92898049353Smrg
92998049353Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
93098049353Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
93198049353Smrg  | --exec | --exe | --ex)
93298049353Smrg    ac_prev=exec_prefix ;;
93398049353Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
93498049353Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
93598049353Smrg  | --exec=* | --exe=* | --ex=*)
93698049353Smrg    exec_prefix=$ac_optarg ;;
93798049353Smrg
93898049353Smrg  -gas | --gas | --ga | --g)
93998049353Smrg    # Obsolete; use --with-gas.
94098049353Smrg    with_gas=yes ;;
94198049353Smrg
94298049353Smrg  -help | --help | --hel | --he | -h)
94398049353Smrg    ac_init_help=long ;;
94498049353Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
94598049353Smrg    ac_init_help=recursive ;;
94698049353Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
94798049353Smrg    ac_init_help=short ;;
94898049353Smrg
94998049353Smrg  -host | --host | --hos | --ho)
95098049353Smrg    ac_prev=host_alias ;;
95198049353Smrg  -host=* | --host=* | --hos=* | --ho=*)
95298049353Smrg    host_alias=$ac_optarg ;;
95398049353Smrg
9540ad07f78Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9550ad07f78Smrg    ac_prev=htmldir ;;
9560ad07f78Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9570ad07f78Smrg  | --ht=*)
9580ad07f78Smrg    htmldir=$ac_optarg ;;
9590ad07f78Smrg
96098049353Smrg  -includedir | --includedir | --includedi | --included | --include \
96198049353Smrg  | --includ | --inclu | --incl | --inc)
96298049353Smrg    ac_prev=includedir ;;
96398049353Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
96498049353Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
96598049353Smrg    includedir=$ac_optarg ;;
96698049353Smrg
96798049353Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
96898049353Smrg    ac_prev=infodir ;;
96998049353Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
97098049353Smrg    infodir=$ac_optarg ;;
97198049353Smrg
97298049353Smrg  -libdir | --libdir | --libdi | --libd)
97398049353Smrg    ac_prev=libdir ;;
97498049353Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
97598049353Smrg    libdir=$ac_optarg ;;
97698049353Smrg
97798049353Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
97898049353Smrg  | --libexe | --libex | --libe)
97998049353Smrg    ac_prev=libexecdir ;;
98098049353Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
98198049353Smrg  | --libexe=* | --libex=* | --libe=*)
98298049353Smrg    libexecdir=$ac_optarg ;;
98398049353Smrg
9840ad07f78Smrg  -localedir | --localedir | --localedi | --localed | --locale)
9850ad07f78Smrg    ac_prev=localedir ;;
9860ad07f78Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9870ad07f78Smrg    localedir=$ac_optarg ;;
9880ad07f78Smrg
98998049353Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9900ad07f78Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
99198049353Smrg    ac_prev=localstatedir ;;
99298049353Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9930ad07f78Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
99498049353Smrg    localstatedir=$ac_optarg ;;
99598049353Smrg
99698049353Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
99798049353Smrg    ac_prev=mandir ;;
99898049353Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
99998049353Smrg    mandir=$ac_optarg ;;
100098049353Smrg
100198049353Smrg  -nfp | --nfp | --nf)
100298049353Smrg    # Obsolete; use --without-fp.
100398049353Smrg    with_fp=no ;;
100498049353Smrg
100598049353Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
100698049353Smrg  | --no-cr | --no-c | -n)
100798049353Smrg    no_create=yes ;;
100898049353Smrg
100998049353Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
101098049353Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
101198049353Smrg    no_recursion=yes ;;
101298049353Smrg
101398049353Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
101498049353Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
101598049353Smrg  | --oldin | --oldi | --old | --ol | --o)
101698049353Smrg    ac_prev=oldincludedir ;;
101798049353Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
101898049353Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
101998049353Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
102098049353Smrg    oldincludedir=$ac_optarg ;;
102198049353Smrg
102298049353Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
102398049353Smrg    ac_prev=prefix ;;
102498049353Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
102598049353Smrg    prefix=$ac_optarg ;;
102698049353Smrg
102798049353Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
102898049353Smrg  | --program-pre | --program-pr | --program-p)
102998049353Smrg    ac_prev=program_prefix ;;
103098049353Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
103198049353Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
103298049353Smrg    program_prefix=$ac_optarg ;;
103398049353Smrg
103498049353Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
103598049353Smrg  | --program-suf | --program-su | --program-s)
103698049353Smrg    ac_prev=program_suffix ;;
103798049353Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
103898049353Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
103998049353Smrg    program_suffix=$ac_optarg ;;
104098049353Smrg
104198049353Smrg  -program-transform-name | --program-transform-name \
104298049353Smrg  | --program-transform-nam | --program-transform-na \
104398049353Smrg  | --program-transform-n | --program-transform- \
104498049353Smrg  | --program-transform | --program-transfor \
104598049353Smrg  | --program-transfo | --program-transf \
104698049353Smrg  | --program-trans | --program-tran \
104798049353Smrg  | --progr-tra | --program-tr | --program-t)
104898049353Smrg    ac_prev=program_transform_name ;;
104998049353Smrg  -program-transform-name=* | --program-transform-name=* \
105098049353Smrg  | --program-transform-nam=* | --program-transform-na=* \
105198049353Smrg  | --program-transform-n=* | --program-transform-=* \
105298049353Smrg  | --program-transform=* | --program-transfor=* \
105398049353Smrg  | --program-transfo=* | --program-transf=* \
105498049353Smrg  | --program-trans=* | --program-tran=* \
105598049353Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
105698049353Smrg    program_transform_name=$ac_optarg ;;
105798049353Smrg
10580ad07f78Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10590ad07f78Smrg    ac_prev=pdfdir ;;
10600ad07f78Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10610ad07f78Smrg    pdfdir=$ac_optarg ;;
10620ad07f78Smrg
10630ad07f78Smrg  -psdir | --psdir | --psdi | --psd | --ps)
10640ad07f78Smrg    ac_prev=psdir ;;
10650ad07f78Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10660ad07f78Smrg    psdir=$ac_optarg ;;
10670ad07f78Smrg
106898049353Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
106998049353Smrg  | -silent | --silent | --silen | --sile | --sil)
107098049353Smrg    silent=yes ;;
107198049353Smrg
107298049353Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
107398049353Smrg    ac_prev=sbindir ;;
107498049353Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
107598049353Smrg  | --sbi=* | --sb=*)
107698049353Smrg    sbindir=$ac_optarg ;;
107798049353Smrg
107898049353Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
107998049353Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
108098049353Smrg  | --sharedst | --shareds | --shared | --share | --shar \
108198049353Smrg  | --sha | --sh)
108298049353Smrg    ac_prev=sharedstatedir ;;
108398049353Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
108498049353Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
108598049353Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
108698049353Smrg  | --sha=* | --sh=*)
108798049353Smrg    sharedstatedir=$ac_optarg ;;
108898049353Smrg
108998049353Smrg  -site | --site | --sit)
109098049353Smrg    ac_prev=site ;;
109198049353Smrg  -site=* | --site=* | --sit=*)
109298049353Smrg    site=$ac_optarg ;;
109398049353Smrg
109498049353Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
109598049353Smrg    ac_prev=srcdir ;;
109698049353Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
109798049353Smrg    srcdir=$ac_optarg ;;
109898049353Smrg
109998049353Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
110098049353Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
110198049353Smrg    ac_prev=sysconfdir ;;
110298049353Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
110398049353Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
110498049353Smrg    sysconfdir=$ac_optarg ;;
110598049353Smrg
110698049353Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
110798049353Smrg    ac_prev=target_alias ;;
110898049353Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
110998049353Smrg    target_alias=$ac_optarg ;;
111098049353Smrg
111198049353Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
111298049353Smrg    verbose=yes ;;
111398049353Smrg
111498049353Smrg  -version | --version | --versio | --versi | --vers | -V)
111598049353Smrg    ac_init_version=: ;;
111698049353Smrg
111798049353Smrg  -with-* | --with-*)
11180ad07f78Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
111998049353Smrg    # Reject names that are not valid shell variable names.
11200ad07f78Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11210ad07f78Smrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
112298049353Smrg   { (exit 1); exit 1; }; }
11230ad07f78Smrg    ac_useropt_orig=$ac_useropt
11240ad07f78Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11250ad07f78Smrg    case $ac_user_opts in
11260ad07f78Smrg      *"
11270ad07f78Smrg"with_$ac_useropt"
11280ad07f78Smrg"*) ;;
11290ad07f78Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
11300ad07f78Smrg	 ac_unrecognized_sep=', ';;
113198049353Smrg    esac
11320ad07f78Smrg    eval with_$ac_useropt=\$ac_optarg ;;
113398049353Smrg
113498049353Smrg  -without-* | --without-*)
11350ad07f78Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
113698049353Smrg    # Reject names that are not valid shell variable names.
11370ad07f78Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
11380ad07f78Smrg      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
113998049353Smrg   { (exit 1); exit 1; }; }
11400ad07f78Smrg    ac_useropt_orig=$ac_useropt
11410ad07f78Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11420ad07f78Smrg    case $ac_user_opts in
11430ad07f78Smrg      *"
11440ad07f78Smrg"with_$ac_useropt"
11450ad07f78Smrg"*) ;;
11460ad07f78Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
11470ad07f78Smrg	 ac_unrecognized_sep=', ';;
11480ad07f78Smrg    esac
11490ad07f78Smrg    eval with_$ac_useropt=no ;;
115098049353Smrg
115198049353Smrg  --x)
115298049353Smrg    # Obsolete; use --with-x.
115398049353Smrg    with_x=yes ;;
115498049353Smrg
115598049353Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
115698049353Smrg  | --x-incl | --x-inc | --x-in | --x-i)
115798049353Smrg    ac_prev=x_includes ;;
115898049353Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
115998049353Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
116098049353Smrg    x_includes=$ac_optarg ;;
116198049353Smrg
116298049353Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
116398049353Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
116498049353Smrg    ac_prev=x_libraries ;;
116598049353Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
116698049353Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
116798049353Smrg    x_libraries=$ac_optarg ;;
116898049353Smrg
11690ad07f78Smrg  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
117098049353SmrgTry \`$0 --help' for more information." >&2
117198049353Smrg   { (exit 1); exit 1; }; }
117298049353Smrg    ;;
117398049353Smrg
117498049353Smrg  *=*)
117598049353Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
117698049353Smrg    # Reject names that are not valid shell variable names.
117798049353Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
11780ad07f78Smrg      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
117998049353Smrg   { (exit 1); exit 1; }; }
11800ad07f78Smrg    eval $ac_envvar=\$ac_optarg
118198049353Smrg    export $ac_envvar ;;
118298049353Smrg
118398049353Smrg  *)
118498049353Smrg    # FIXME: should be removed in autoconf 3.0.
11850ad07f78Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
118698049353Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11870ad07f78Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
118898049353Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
118998049353Smrg    ;;
119098049353Smrg
119198049353Smrg  esac
119298049353Smrgdone
119398049353Smrg
119498049353Smrgif test -n "$ac_prev"; then
119598049353Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11960ad07f78Smrg  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
119798049353Smrg   { (exit 1); exit 1; }; }
119898049353Smrgfi
119998049353Smrg
12000ad07f78Smrgif test -n "$ac_unrecognized_opts"; then
12010ad07f78Smrg  case $enable_option_checking in
12020ad07f78Smrg    no) ;;
12030ad07f78Smrg    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
12040ad07f78Smrg   { (exit 1); exit 1; }; } ;;
12050ad07f78Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
120698049353Smrg  esac
12070ad07f78Smrgfi
120898049353Smrg
12090ad07f78Smrg# Check all directory arguments for consistency.
12100ad07f78Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
12110ad07f78Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
12120ad07f78Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12130ad07f78Smrg		libdir localedir mandir
121498049353Smrgdo
12150ad07f78Smrg  eval ac_val=\$$ac_var
12160ad07f78Smrg  # Remove trailing slashes.
121798049353Smrg  case $ac_val in
12180ad07f78Smrg    */ )
12190ad07f78Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
12200ad07f78Smrg      eval $ac_var=\$ac_val;;
12210ad07f78Smrg  esac
12220ad07f78Smrg  # Be sure to have absolute directory names.
12230ad07f78Smrg  case $ac_val in
12240ad07f78Smrg    [\\/$]* | ?:[\\/]* )  continue;;
12250ad07f78Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
122698049353Smrg  esac
12270ad07f78Smrg  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
12280ad07f78Smrg   { (exit 1); exit 1; }; }
122998049353Smrgdone
123098049353Smrg
123198049353Smrg# There might be people who depend on the old broken behavior: `$host'
123298049353Smrg# used to hold the argument of --host etc.
123398049353Smrg# FIXME: To remove some day.
123498049353Smrgbuild=$build_alias
123598049353Smrghost=$host_alias
123698049353Smrgtarget=$target_alias
123798049353Smrg
123898049353Smrg# FIXME: To remove some day.
123998049353Smrgif test "x$host_alias" != x; then
124098049353Smrg  if test "x$build_alias" = x; then
124198049353Smrg    cross_compiling=maybe
12420ad07f78Smrg    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
124398049353Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
124498049353Smrg  elif test "x$build_alias" != "x$host_alias"; then
124598049353Smrg    cross_compiling=yes
124698049353Smrg  fi
124798049353Smrgfi
124898049353Smrg
124998049353Smrgac_tool_prefix=
125098049353Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
125198049353Smrg
125298049353Smrgtest "$silent" = yes && exec 6>/dev/null
125398049353Smrg
125498049353Smrg
12550ad07f78Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
12560ad07f78Smrgac_ls_di=`ls -di .` &&
12570ad07f78Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12580ad07f78Smrg  { $as_echo "$as_me: error: working directory cannot be determined" >&2
12590ad07f78Smrg   { (exit 1); exit 1; }; }
12600ad07f78Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12610ad07f78Smrg  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
12620ad07f78Smrg   { (exit 1); exit 1; }; }
12630ad07f78Smrg
12640ad07f78Smrg
126598049353Smrg# Find the source files, if location was not specified.
126698049353Smrgif test -z "$srcdir"; then
126798049353Smrg  ac_srcdir_defaulted=yes
12680ad07f78Smrg  # Try the directory containing this script, then the parent directory.
12690ad07f78Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
12700ad07f78Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12710ad07f78Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
12720ad07f78Smrg	 X"$as_myself" : 'X\(//\)$' \| \
12730ad07f78Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
12740ad07f78Smrg$as_echo X"$as_myself" |
12750ad07f78Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12760ad07f78Smrg	    s//\1/
12770ad07f78Smrg	    q
12780ad07f78Smrg	  }
12790ad07f78Smrg	  /^X\(\/\/\)[^/].*/{
12800ad07f78Smrg	    s//\1/
12810ad07f78Smrg	    q
12820ad07f78Smrg	  }
12830ad07f78Smrg	  /^X\(\/\/\)$/{
12840ad07f78Smrg	    s//\1/
12850ad07f78Smrg	    q
12860ad07f78Smrg	  }
12870ad07f78Smrg	  /^X\(\/\).*/{
12880ad07f78Smrg	    s//\1/
12890ad07f78Smrg	    q
12900ad07f78Smrg	  }
12910ad07f78Smrg	  s/.*/./; q'`
129298049353Smrg  srcdir=$ac_confdir
12930ad07f78Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
129498049353Smrg    srcdir=..
129598049353Smrg  fi
129698049353Smrgelse
129798049353Smrg  ac_srcdir_defaulted=no
129898049353Smrgfi
12990ad07f78Smrgif test ! -r "$srcdir/$ac_unique_file"; then
13000ad07f78Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
13010ad07f78Smrg  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
130298049353Smrg   { (exit 1); exit 1; }; }
130398049353Smrgfi
13040ad07f78Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
13050ad07f78Smrgac_abs_confdir=`(
13060ad07f78Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
130798049353Smrg   { (exit 1); exit 1; }; }
13080ad07f78Smrg	pwd)`
13090ad07f78Smrg# When building in place, set srcdir=.
13100ad07f78Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
13110ad07f78Smrg  srcdir=.
13120ad07f78Smrgfi
13130ad07f78Smrg# Remove unnecessary trailing slashes from srcdir.
13140ad07f78Smrg# Double slashes in file names in object file debugging info
13150ad07f78Smrg# mess up M-x gdb in Emacs.
13160ad07f78Smrgcase $srcdir in
13170ad07f78Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
13180ad07f78Smrgesac
13190ad07f78Smrgfor ac_var in $ac_precious_vars; do
13200ad07f78Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
13210ad07f78Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
13220ad07f78Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
13230ad07f78Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
13240ad07f78Smrgdone
132598049353Smrg
132698049353Smrg#
132798049353Smrg# Report the --help message.
132898049353Smrg#
132998049353Smrgif test "$ac_init_help" = "long"; then
133098049353Smrg  # Omit some internal or obsolete options to make the list less imposing.
133198049353Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
133298049353Smrg  cat <<_ACEOF
13330ad07f78Smrg\`configure' configures font-isas-misc 1.0.1 to adapt to many kinds of systems.
133498049353Smrg
133598049353SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
133698049353Smrg
133798049353SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
133898049353SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
133998049353Smrg
134098049353SmrgDefaults for the options are specified in brackets.
134198049353Smrg
134298049353SmrgConfiguration:
134398049353Smrg  -h, --help              display this help and exit
134498049353Smrg      --help=short        display options specific to this package
134598049353Smrg      --help=recursive    display the short help of all the included packages
134698049353Smrg  -V, --version           display version information and exit
134798049353Smrg  -q, --quiet, --silent   do not print \`checking...' messages
134898049353Smrg      --cache-file=FILE   cache test results in FILE [disabled]
134998049353Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
135098049353Smrg  -n, --no-create         do not create output files
135198049353Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
135298049353Smrg
135398049353SmrgInstallation directories:
135498049353Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
13550ad07f78Smrg                          [$ac_default_prefix]
135698049353Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
13570ad07f78Smrg                          [PREFIX]
135898049353Smrg
135998049353SmrgBy default, \`make install' will install all the files in
136098049353Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
136198049353Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
136298049353Smrgfor instance \`--prefix=\$HOME'.
136398049353Smrg
136498049353SmrgFor better control, use the options below.
136598049353Smrg
136698049353SmrgFine tuning of the installation directories:
13670ad07f78Smrg  --bindir=DIR            user executables [EPREFIX/bin]
13680ad07f78Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
13690ad07f78Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
13700ad07f78Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
13710ad07f78Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
13720ad07f78Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
13730ad07f78Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
13740ad07f78Smrg  --includedir=DIR        C header files [PREFIX/include]
13750ad07f78Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
13760ad07f78Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
13770ad07f78Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
13780ad07f78Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
13790ad07f78Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
13800ad07f78Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
13810ad07f78Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/font-isas-misc]
13820ad07f78Smrg  --htmldir=DIR           html documentation [DOCDIR]
13830ad07f78Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
13840ad07f78Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13850ad07f78Smrg  --psdir=DIR             ps documentation [DOCDIR]
138698049353Smrg_ACEOF
138798049353Smrg
138898049353Smrg  cat <<\_ACEOF
138998049353Smrg
139098049353SmrgProgram names:
139198049353Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
139298049353Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
139398049353Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13940ad07f78Smrg
13950ad07f78SmrgSystem types:
13960ad07f78Smrg  --build=BUILD     configure for building on BUILD [guessed]
13970ad07f78Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
139898049353Smrg_ACEOF
139998049353Smrgfi
140098049353Smrg
140198049353Smrgif test -n "$ac_init_help"; then
140298049353Smrg  case $ac_init_help in
14030ad07f78Smrg     short | recursive ) echo "Configuration of font-isas-misc 1.0.1:";;
140498049353Smrg   esac
140598049353Smrg  cat <<\_ACEOF
140698049353Smrg
140798049353SmrgOptional Features:
14080ad07f78Smrg  --disable-option-checking  ignore unrecognized --enable/--with options
140998049353Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
141098049353Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
14110ad07f78Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
14120ad07f78Smrg			  (and sometimes confusing) to the casual installer
14130ad07f78Smrg  --disable-dependency-tracking  speeds up one-time build
14140ad07f78Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
14150ad07f78Smrg  --enable-silent-rules          less verbose build output (undo: `make V=1')
14160ad07f78Smrg  --disable-silent-rules         verbose build output (undo: `make V=0')
14170ad07f78Smrg  --enable-strict-compilation
14180ad07f78Smrg                          Enable all warnings from compiler and make them
14190ad07f78Smrg                          errors (default: disabled)
142098049353Smrg
142198049353SmrgOptional Packages:
142298049353Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
142398049353Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
142498049353Smrg  --with-release-version=STRING
142598049353Smrg                          Use release version string in package name
14260ad07f78Smrg  --with-fontrootdir=DIR  Path to root directory for font files
14270ad07f78Smrg  --with-fontdir=DIR      Path to misc files [FONTROOTDIR/misc]
14280ad07f78Smrg  --with-compression=<no|compress|gzip|bzip2>
14290ad07f78Smrg                          compression method to use on pcf fonts
14300ad07f78Smrg
14310ad07f78SmrgSome influential environment variables:
14320ad07f78Smrg  CC          C compiler command
14330ad07f78Smrg  CFLAGS      C compiler flags
14340ad07f78Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
14350ad07f78Smrg              nonstandard directory <lib dir>
14360ad07f78Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
14370ad07f78Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
14380ad07f78Smrg              you have headers in a nonstandard directory <include dir>
14390ad07f78Smrg  CPP         C preprocessor
14400ad07f78Smrg  PKG_CONFIG  path to pkg-config utility
14410ad07f78Smrg
14420ad07f78SmrgUse these variables to override the choices made by `configure' or to help
14430ad07f78Smrgit to find libraries and programs with nonstandard names/locations.
144498049353Smrg
144598049353SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
144698049353Smrg_ACEOF
14470ad07f78Smrgac_status=$?
144898049353Smrgfi
144998049353Smrg
145098049353Smrgif test "$ac_init_help" = "recursive"; then
145198049353Smrg  # If there are subdirs, report their specific --help.
145298049353Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
14530ad07f78Smrg    test -d "$ac_dir" ||
14540ad07f78Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
14550ad07f78Smrg      continue
145698049353Smrg    ac_builddir=.
145798049353Smrg
14580ad07f78Smrgcase "$ac_dir" in
14590ad07f78Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14600ad07f78Smrg*)
14610ad07f78Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14620ad07f78Smrg  # A ".." for each directory in $ac_dir_suffix.
14630ad07f78Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14640ad07f78Smrg  case $ac_top_builddir_sub in
14650ad07f78Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14660ad07f78Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14670ad07f78Smrg  esac ;;
14680ad07f78Smrgesac
14690ad07f78Smrgac_abs_top_builddir=$ac_pwd
14700ad07f78Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
14710ad07f78Smrg# for backward compatibility:
14720ad07f78Smrgac_top_builddir=$ac_top_build_prefix
147398049353Smrg
147498049353Smrgcase $srcdir in
14750ad07f78Smrg  .)  # We are building in place.
147698049353Smrg    ac_srcdir=.
14770ad07f78Smrg    ac_top_srcdir=$ac_top_builddir_sub
14780ad07f78Smrg    ac_abs_top_srcdir=$ac_pwd ;;
14790ad07f78Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
148098049353Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
14810ad07f78Smrg    ac_top_srcdir=$srcdir
14820ad07f78Smrg    ac_abs_top_srcdir=$srcdir ;;
14830ad07f78Smrg  *) # Relative name.
14840ad07f78Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14850ad07f78Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
14860ad07f78Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
148798049353Smrgesac
14880ad07f78Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14890ad07f78Smrg
14900ad07f78Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
14910ad07f78Smrg    # Check for guested configure.
14920ad07f78Smrg    if test -f "$ac_srcdir/configure.gnu"; then
14930ad07f78Smrg      echo &&
14940ad07f78Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14950ad07f78Smrg    elif test -f "$ac_srcdir/configure"; then
14960ad07f78Smrg      echo &&
14970ad07f78Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
149898049353Smrg    else
14990ad07f78Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15000ad07f78Smrg    fi || ac_status=$?
15010ad07f78Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
150298049353Smrg  done
150398049353Smrgfi
150498049353Smrg
15050ad07f78Smrgtest -n "$ac_init_help" && exit $ac_status
150698049353Smrgif $ac_init_version; then
150798049353Smrg  cat <<\_ACEOF
15080ad07f78Smrgfont-isas-misc configure 1.0.1
15090ad07f78Smrggenerated by GNU Autoconf 2.63
151098049353Smrg
15110ad07f78SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15120ad07f78Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
151398049353SmrgThis configure script is free software; the Free Software Foundation
151498049353Smrggives unlimited permission to copy, distribute and modify it.
151598049353Smrg_ACEOF
15160ad07f78Smrg  exit
151798049353Smrgfi
15180ad07f78Smrgcat >config.log <<_ACEOF
151998049353SmrgThis file contains any messages produced by compilers while
152098049353Smrgrunning configure, to aid debugging if configure makes a mistake.
152198049353Smrg
15220ad07f78SmrgIt was created by font-isas-misc $as_me 1.0.1, which was
15230ad07f78Smrggenerated by GNU Autoconf 2.63.  Invocation command line was
152498049353Smrg
152598049353Smrg  $ $0 $@
152698049353Smrg
152798049353Smrg_ACEOF
15280ad07f78Smrgexec 5>>config.log
152998049353Smrg{
153098049353Smrgcat <<_ASUNAME
153198049353Smrg## --------- ##
153298049353Smrg## Platform. ##
153398049353Smrg## --------- ##
153498049353Smrg
153598049353Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
153698049353Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
153798049353Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
153898049353Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
153998049353Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
154098049353Smrg
154198049353Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
154298049353Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
154398049353Smrg
154498049353Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
154598049353Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
154698049353Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
15470ad07f78Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
154898049353Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
154998049353Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
155098049353Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
155198049353Smrg
155298049353Smrg_ASUNAME
155398049353Smrg
155498049353Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
155598049353Smrgfor as_dir in $PATH
155698049353Smrgdo
155798049353Smrg  IFS=$as_save_IFS
155898049353Smrg  test -z "$as_dir" && as_dir=.
15590ad07f78Smrg  $as_echo "PATH: $as_dir"
156098049353Smrgdone
15610ad07f78SmrgIFS=$as_save_IFS
156298049353Smrg
156398049353Smrg} >&5
156498049353Smrg
156598049353Smrgcat >&5 <<_ACEOF
156698049353Smrg
156798049353Smrg
156898049353Smrg## ----------- ##
156998049353Smrg## Core tests. ##
157098049353Smrg## ----------- ##
157198049353Smrg
157298049353Smrg_ACEOF
157398049353Smrg
157498049353Smrg
157598049353Smrg# Keep a trace of the command line.
157698049353Smrg# Strip out --no-create and --no-recursion so they do not pile up.
157798049353Smrg# Strip out --silent because we don't want to record it for future runs.
157898049353Smrg# Also quote any args containing shell meta-characters.
157998049353Smrg# Make two passes to allow for proper duplicate-argument suppression.
158098049353Smrgac_configure_args=
158198049353Smrgac_configure_args0=
158298049353Smrgac_configure_args1=
158398049353Smrgac_must_keep_next=false
158498049353Smrgfor ac_pass in 1 2
158598049353Smrgdo
158698049353Smrg  for ac_arg
158798049353Smrg  do
158898049353Smrg    case $ac_arg in
158998049353Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
159098049353Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
159198049353Smrg    | -silent | --silent | --silen | --sile | --sil)
159298049353Smrg      continue ;;
15930ad07f78Smrg    *\'*)
15940ad07f78Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
159598049353Smrg    esac
159698049353Smrg    case $ac_pass in
159798049353Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
159898049353Smrg    2)
159998049353Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
160098049353Smrg      if test $ac_must_keep_next = true; then
160198049353Smrg	ac_must_keep_next=false # Got value, back to normal.
160298049353Smrg      else
160398049353Smrg	case $ac_arg in
160498049353Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
160598049353Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
160698049353Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
160798049353Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
160898049353Smrg	    case "$ac_configure_args0 " in
160998049353Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
161098049353Smrg	    esac
161198049353Smrg	    ;;
161298049353Smrg	  -* ) ac_must_keep_next=true ;;
161398049353Smrg	esac
161498049353Smrg      fi
16150ad07f78Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
161698049353Smrg      ;;
161798049353Smrg    esac
161898049353Smrg  done
161998049353Smrgdone
162098049353Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
162198049353Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
162298049353Smrg
162398049353Smrg# When interrupted or exit'd, cleanup temporary files, and complete
162498049353Smrg# config.log.  We remove comments because anyway the quotes in there
162598049353Smrg# would cause problems or look ugly.
16260ad07f78Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
16270ad07f78Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
162898049353Smrgtrap 'exit_status=$?
162998049353Smrg  # Save into config.log some information that might help in debugging.
163098049353Smrg  {
163198049353Smrg    echo
163298049353Smrg
163398049353Smrg    cat <<\_ASBOX
163498049353Smrg## ---------------- ##
163598049353Smrg## Cache variables. ##
163698049353Smrg## ---------------- ##
163798049353Smrg_ASBOX
163898049353Smrg    echo
163998049353Smrg    # The following way of writing the cache mishandles newlines in values,
16400ad07f78Smrg(
16410ad07f78Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
16420ad07f78Smrg    eval ac_val=\$$ac_var
16430ad07f78Smrg    case $ac_val in #(
16440ad07f78Smrg    *${as_nl}*)
16450ad07f78Smrg      case $ac_var in #(
16460ad07f78Smrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
16470ad07f78Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16480ad07f78Smrg      esac
16490ad07f78Smrg      case $ac_var in #(
16500ad07f78Smrg      _ | IFS | as_nl) ;; #(
16510ad07f78Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16520ad07f78Smrg      *) $as_unset $ac_var ;;
16530ad07f78Smrg      esac ;;
16540ad07f78Smrg    esac
16550ad07f78Smrg  done
165698049353Smrg  (set) 2>&1 |
16570ad07f78Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
16580ad07f78Smrg    *${as_nl}ac_space=\ *)
165998049353Smrg      sed -n \
16600ad07f78Smrg	"s/'\''/'\''\\\\'\'''\''/g;
16610ad07f78Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
16620ad07f78Smrg      ;; #(
166398049353Smrg    *)
16640ad07f78Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
166598049353Smrg      ;;
16660ad07f78Smrg    esac |
16670ad07f78Smrg    sort
16680ad07f78Smrg)
166998049353Smrg    echo
167098049353Smrg
167198049353Smrg    cat <<\_ASBOX
167298049353Smrg## ----------------- ##
167398049353Smrg## Output variables. ##
167498049353Smrg## ----------------- ##
167598049353Smrg_ASBOX
167698049353Smrg    echo
167798049353Smrg    for ac_var in $ac_subst_vars
167898049353Smrg    do
16790ad07f78Smrg      eval ac_val=\$$ac_var
16800ad07f78Smrg      case $ac_val in
16810ad07f78Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16820ad07f78Smrg      esac
16830ad07f78Smrg      $as_echo "$ac_var='\''$ac_val'\''"
168498049353Smrg    done | sort
168598049353Smrg    echo
168698049353Smrg
168798049353Smrg    if test -n "$ac_subst_files"; then
168898049353Smrg      cat <<\_ASBOX
16890ad07f78Smrg## ------------------- ##
16900ad07f78Smrg## File substitutions. ##
16910ad07f78Smrg## ------------------- ##
169298049353Smrg_ASBOX
169398049353Smrg      echo
169498049353Smrg      for ac_var in $ac_subst_files
169598049353Smrg      do
16960ad07f78Smrg	eval ac_val=\$$ac_var
16970ad07f78Smrg	case $ac_val in
16980ad07f78Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16990ad07f78Smrg	esac
17000ad07f78Smrg	$as_echo "$ac_var='\''$ac_val'\''"
170198049353Smrg      done | sort
170298049353Smrg      echo
170398049353Smrg    fi
170498049353Smrg
170598049353Smrg    if test -s confdefs.h; then
170698049353Smrg      cat <<\_ASBOX
170798049353Smrg## ----------- ##
170898049353Smrg## confdefs.h. ##
170998049353Smrg## ----------- ##
171098049353Smrg_ASBOX
171198049353Smrg      echo
17120ad07f78Smrg      cat confdefs.h
171398049353Smrg      echo
171498049353Smrg    fi
171598049353Smrg    test "$ac_signal" != 0 &&
17160ad07f78Smrg      $as_echo "$as_me: caught signal $ac_signal"
17170ad07f78Smrg    $as_echo "$as_me: exit $exit_status"
171898049353Smrg  } >&5
17190ad07f78Smrg  rm -f core *.core core.conftest.* &&
17200ad07f78Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
172198049353Smrg    exit $exit_status
17220ad07f78Smrg' 0
172398049353Smrgfor ac_signal in 1 2 13 15; do
172498049353Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
172598049353Smrgdone
172698049353Smrgac_signal=0
172798049353Smrg
172898049353Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
17290ad07f78Smrgrm -f -r conftest* confdefs.h
173098049353Smrg
173198049353Smrg# Predefined preprocessor variables.
173298049353Smrg
173398049353Smrgcat >>confdefs.h <<_ACEOF
173498049353Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
173598049353Smrg_ACEOF
173698049353Smrg
173798049353Smrg
173898049353Smrgcat >>confdefs.h <<_ACEOF
173998049353Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
174098049353Smrg_ACEOF
174198049353Smrg
174298049353Smrg
174398049353Smrgcat >>confdefs.h <<_ACEOF
174498049353Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
174598049353Smrg_ACEOF
174698049353Smrg
174798049353Smrg
174898049353Smrgcat >>confdefs.h <<_ACEOF
174998049353Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
175098049353Smrg_ACEOF
175198049353Smrg
175298049353Smrg
175398049353Smrgcat >>confdefs.h <<_ACEOF
175498049353Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
175598049353Smrg_ACEOF
175698049353Smrg
175798049353Smrg
175898049353Smrg# Let the site file select an alternate cache file if it wants to.
17590ad07f78Smrg# Prefer an explicitly selected file to automatically selected ones.
17600ad07f78Smrgac_site_file1=NONE
17610ad07f78Smrgac_site_file2=NONE
17620ad07f78Smrgif test -n "$CONFIG_SITE"; then
17630ad07f78Smrg  ac_site_file1=$CONFIG_SITE
17640ad07f78Smrgelif test "x$prefix" != xNONE; then
17650ad07f78Smrg  ac_site_file1=$prefix/share/config.site
17660ad07f78Smrg  ac_site_file2=$prefix/etc/config.site
17670ad07f78Smrgelse
17680ad07f78Smrg  ac_site_file1=$ac_default_prefix/share/config.site
17690ad07f78Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
177098049353Smrgfi
17710ad07f78Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
17720ad07f78Smrgdo
17730ad07f78Smrg  test "x$ac_site_file" = xNONE && continue
177498049353Smrg  if test -r "$ac_site_file"; then
17750ad07f78Smrg    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
17760ad07f78Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
177798049353Smrg    sed 's/^/| /' "$ac_site_file" >&5
177898049353Smrg    . "$ac_site_file"
177998049353Smrg  fi
178098049353Smrgdone
178198049353Smrg
178298049353Smrgif test -r "$cache_file"; then
178398049353Smrg  # Some versions of bash will fail to source /dev/null (special
178498049353Smrg  # files actually), so we avoid doing that.
178598049353Smrg  if test -f "$cache_file"; then
17860ad07f78Smrg    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
17870ad07f78Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
178898049353Smrg    case $cache_file in
17890ad07f78Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
17900ad07f78Smrg      *)                      . "./$cache_file";;
179198049353Smrg    esac
179298049353Smrg  fi
179398049353Smrgelse
17940ad07f78Smrg  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
17950ad07f78Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
179698049353Smrg  >$cache_file
179798049353Smrgfi
179898049353Smrg
179998049353Smrg# Check that the precious variables saved in the cache have kept the same
180098049353Smrg# value.
180198049353Smrgac_cache_corrupted=false
18020ad07f78Smrgfor ac_var in $ac_precious_vars; do
180398049353Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
180498049353Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
18050ad07f78Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
18060ad07f78Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
180798049353Smrg  case $ac_old_set,$ac_new_set in
180898049353Smrg    set,)
18090ad07f78Smrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18100ad07f78Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
181198049353Smrg      ac_cache_corrupted=: ;;
181298049353Smrg    ,set)
18130ad07f78Smrg      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
18140ad07f78Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
181598049353Smrg      ac_cache_corrupted=: ;;
181698049353Smrg    ,);;
181798049353Smrg    *)
181898049353Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
18190ad07f78Smrg	# differences in whitespace do not lead to failure.
18200ad07f78Smrg	ac_old_val_w=`echo x $ac_old_val`
18210ad07f78Smrg	ac_new_val_w=`echo x $ac_new_val`
18220ad07f78Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
18230ad07f78Smrg	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
18240ad07f78Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
18250ad07f78Smrg	  ac_cache_corrupted=:
18260ad07f78Smrg	else
18270ad07f78Smrg	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18280ad07f78Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
18290ad07f78Smrg	  eval $ac_var=\$ac_old_val
18300ad07f78Smrg	fi
18310ad07f78Smrg	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
18320ad07f78Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
18330ad07f78Smrg	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
18340ad07f78Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
183598049353Smrg      fi;;
183698049353Smrg  esac
183798049353Smrg  # Pass precious variables to config.status.
183898049353Smrg  if test "$ac_new_set" = set; then
183998049353Smrg    case $ac_new_val in
18400ad07f78Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
184198049353Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
184298049353Smrg    esac
184398049353Smrg    case " $ac_configure_args " in
184498049353Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
184598049353Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
184698049353Smrg    esac
184798049353Smrg  fi
184898049353Smrgdone
184998049353Smrgif $ac_cache_corrupted; then
18500ad07f78Smrg  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18510ad07f78Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18520ad07f78Smrg  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
18530ad07f78Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
18540ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
18550ad07f78Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
185698049353Smrg   { (exit 1); exit 1; }; }
185798049353Smrgfi
185898049353Smrg
185998049353Smrg
186098049353Smrg
186198049353Smrg
186298049353Smrg
186398049353Smrg
186498049353Smrg
186598049353Smrg
186698049353Smrg
186798049353Smrg
186898049353Smrg
186998049353Smrg
187098049353Smrg
187198049353Smrg
187298049353Smrg
187398049353Smrg
187498049353Smrg
187598049353Smrg
187698049353Smrg
187798049353Smrg
187898049353Smrg
187998049353Smrg
188098049353Smrg
188198049353Smrg
188298049353Smrg
18830ad07f78Smrgac_ext=c
18840ad07f78Smrgac_cpp='$CPP $CPPFLAGS'
18850ad07f78Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18860ad07f78Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18870ad07f78Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
188898049353Smrg
188998049353Smrg
18900ad07f78Smrgam__api_version='1.11'
189198049353Smrg
189298049353Smrgac_aux_dir=
18930ad07f78Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
18940ad07f78Smrg  if test -f "$ac_dir/install-sh"; then
189598049353Smrg    ac_aux_dir=$ac_dir
189698049353Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
189798049353Smrg    break
18980ad07f78Smrg  elif test -f "$ac_dir/install.sh"; then
189998049353Smrg    ac_aux_dir=$ac_dir
190098049353Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
190198049353Smrg    break
19020ad07f78Smrg  elif test -f "$ac_dir/shtool"; then
190398049353Smrg    ac_aux_dir=$ac_dir
190498049353Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
190598049353Smrg    break
190698049353Smrg  fi
190798049353Smrgdone
190898049353Smrgif test -z "$ac_aux_dir"; then
19090ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
19100ad07f78Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
191198049353Smrg   { (exit 1); exit 1; }; }
191298049353Smrgfi
19130ad07f78Smrg
19140ad07f78Smrg# These three variables are undocumented and unsupported,
19150ad07f78Smrg# and are intended to be withdrawn in a future Autoconf release.
19160ad07f78Smrg# They can cause serious problems if a builder's source tree is in a directory
19170ad07f78Smrg# whose full name contains unusual characters.
19180ad07f78Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
19190ad07f78Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
19200ad07f78Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
19210ad07f78Smrg
192298049353Smrg
192398049353Smrg# Find a good install program.  We prefer a C program (faster),
192498049353Smrg# so one script is as good as another.  But avoid the broken or
192598049353Smrg# incompatible versions:
192698049353Smrg# SysV /etc/install, /usr/sbin/install
192798049353Smrg# SunOS /usr/etc/install
192898049353Smrg# IRIX /sbin/install
192998049353Smrg# AIX /bin/install
193098049353Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
193198049353Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
193298049353Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
193398049353Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
193498049353Smrg# OS/2's system install, which has a completely different semantic
193598049353Smrg# ./install, which can be erroneously created by make from ./install.sh.
19360ad07f78Smrg# Reject install programs that cannot install multiple files.
19370ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19380ad07f78Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
193998049353Smrgif test -z "$INSTALL"; then
194098049353Smrgif test "${ac_cv_path_install+set}" = set; then
19410ad07f78Smrg  $as_echo_n "(cached) " >&6
194298049353Smrgelse
194398049353Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194498049353Smrgfor as_dir in $PATH
194598049353Smrgdo
194698049353Smrg  IFS=$as_save_IFS
194798049353Smrg  test -z "$as_dir" && as_dir=.
194898049353Smrg  # Account for people who put trailing slashes in PATH elements.
194998049353Smrgcase $as_dir/ in
195098049353Smrg  ./ | .// | /cC/* | \
195198049353Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
195298049353Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
195398049353Smrg  /usr/ucb/* ) ;;
195498049353Smrg  *)
195598049353Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
195698049353Smrg    # Don't use installbsd from OSF since it installs stuff as root
195798049353Smrg    # by default.
195898049353Smrg    for ac_prog in ginstall scoinst install; do
195998049353Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
19600ad07f78Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
196198049353Smrg	  if test $ac_prog = install &&
196298049353Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
196398049353Smrg	    # AIX install.  It has an incompatible calling convention.
196498049353Smrg	    :
196598049353Smrg	  elif test $ac_prog = install &&
196698049353Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
196798049353Smrg	    # program-specific install script used by HP pwplus--don't use.
196898049353Smrg	    :
196998049353Smrg	  else
19700ad07f78Smrg	    rm -rf conftest.one conftest.two conftest.dir
19710ad07f78Smrg	    echo one > conftest.one
19720ad07f78Smrg	    echo two > conftest.two
19730ad07f78Smrg	    mkdir conftest.dir
19740ad07f78Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
19750ad07f78Smrg	      test -s conftest.one && test -s conftest.two &&
19760ad07f78Smrg	      test -s conftest.dir/conftest.one &&
19770ad07f78Smrg	      test -s conftest.dir/conftest.two
19780ad07f78Smrg	    then
19790ad07f78Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19800ad07f78Smrg	      break 3
19810ad07f78Smrg	    fi
198298049353Smrg	  fi
198398049353Smrg	fi
198498049353Smrg      done
198598049353Smrg    done
198698049353Smrg    ;;
198798049353Smrgesac
19880ad07f78Smrg
198998049353Smrgdone
19900ad07f78SmrgIFS=$as_save_IFS
199198049353Smrg
19920ad07f78Smrgrm -rf conftest.one conftest.two conftest.dir
199398049353Smrg
199498049353Smrgfi
199598049353Smrg  if test "${ac_cv_path_install+set}" = set; then
199698049353Smrg    INSTALL=$ac_cv_path_install
199798049353Smrg  else
19980ad07f78Smrg    # As a last resort, use the slow shell script.  Don't cache a
19990ad07f78Smrg    # value for INSTALL within a source directory, because that will
200098049353Smrg    # break other packages using the cache if that directory is
20010ad07f78Smrg    # removed, or if the value is a relative name.
200298049353Smrg    INSTALL=$ac_install_sh
200398049353Smrg  fi
200498049353Smrgfi
20050ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
20060ad07f78Smrg$as_echo "$INSTALL" >&6; }
200798049353Smrg
200898049353Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
200998049353Smrg# It thinks the first close brace ends the variable substitution.
201098049353Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
201198049353Smrg
201298049353Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
201398049353Smrg
201498049353Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
201598049353Smrg
20160ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
20170ad07f78Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
201898049353Smrg# Just in case
201998049353Smrgsleep 1
202098049353Smrgecho timestamp > conftest.file
20210ad07f78Smrg# Reject unsafe characters in $srcdir or the absolute working directory
20220ad07f78Smrg# name.  Accept space and tab only in the latter.
20230ad07f78Smrgam_lf='
20240ad07f78Smrg'
20250ad07f78Smrgcase `pwd` in
20260ad07f78Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
20270ad07f78Smrg    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
20280ad07f78Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
20290ad07f78Smrg   { (exit 1); exit 1; }; };;
20300ad07f78Smrgesac
20310ad07f78Smrgcase $srcdir in
20320ad07f78Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
20330ad07f78Smrg    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
20340ad07f78Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
20350ad07f78Smrg   { (exit 1); exit 1; }; };;
20360ad07f78Smrgesac
20370ad07f78Smrg
203898049353Smrg# Do `set' in a subshell so we don't clobber the current shell's
203998049353Smrg# arguments.  Must try -L first in case configure is actually a
204098049353Smrg# symlink; some systems play weird games with the mod time of symlinks
204198049353Smrg# (eg FreeBSD returns the mod time of the symlink's containing
204298049353Smrg# directory).
204398049353Smrgif (
20440ad07f78Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
204598049353Smrg   if test "$*" = "X"; then
204698049353Smrg      # -L didn't work.
20470ad07f78Smrg      set X `ls -t "$srcdir/configure" conftest.file`
204898049353Smrg   fi
204998049353Smrg   rm -f conftest.file
205098049353Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
205198049353Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
205298049353Smrg
205398049353Smrg      # If neither matched, then we have a broken ls.  This can happen
205498049353Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
205598049353Smrg      # broken ls alias from the environment.  This has actually
205698049353Smrg      # happened.  Such a system could not be considered "sane".
20570ad07f78Smrg      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
205898049353Smrgalias in your environment" >&5
20590ad07f78Smrg$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
206098049353Smrgalias in your environment" >&2;}
206198049353Smrg   { (exit 1); exit 1; }; }
206298049353Smrg   fi
206398049353Smrg
206498049353Smrg   test "$2" = conftest.file
206598049353Smrg   )
206698049353Smrgthen
206798049353Smrg   # Ok.
206898049353Smrg   :
206998049353Smrgelse
20700ad07f78Smrg   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
207198049353SmrgCheck your system clock" >&5
20720ad07f78Smrg$as_echo "$as_me: error: newly created file is older than distributed files!
207398049353SmrgCheck your system clock" >&2;}
207498049353Smrg   { (exit 1); exit 1; }; }
207598049353Smrgfi
20760ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
20770ad07f78Smrg$as_echo "yes" >&6; }
207898049353Smrgtest "$program_prefix" != NONE &&
20790ad07f78Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
208098049353Smrg# Use a double $ so make ignores it.
208198049353Smrgtest "$program_suffix" != NONE &&
20820ad07f78Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
20830ad07f78Smrg# Double any \ or $.
208498049353Smrg# By default was `s,x,x', remove it if useless.
20850ad07f78Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
20860ad07f78Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
208798049353Smrg
208898049353Smrg# expand $ac_aux_dir to an absolute path
208998049353Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
209098049353Smrg
20910ad07f78Smrgif test x"${MISSING+set}" != xset; then
20920ad07f78Smrg  case $am_aux_dir in
20930ad07f78Smrg  *\ * | *\	*)
20940ad07f78Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
20950ad07f78Smrg  *)
20960ad07f78Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
20970ad07f78Smrg  esac
20980ad07f78Smrgfi
209998049353Smrg# Use eval to expand $SHELL
210098049353Smrgif eval "$MISSING --run true"; then
210198049353Smrg  am_missing_run="$MISSING --run "
210298049353Smrgelse
210398049353Smrg  am_missing_run=
21040ad07f78Smrg  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
21050ad07f78Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
21060ad07f78Smrgfi
21070ad07f78Smrg
21080ad07f78Smrgif test x"${install_sh}" != xset; then
21090ad07f78Smrg  case $am_aux_dir in
21100ad07f78Smrg  *\ * | *\	*)
21110ad07f78Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
21120ad07f78Smrg  *)
21130ad07f78Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
21140ad07f78Smrg  esac
21150ad07f78Smrgfi
21160ad07f78Smrg
21170ad07f78Smrg# Installed binaries are usually stripped using `strip' when the user
21180ad07f78Smrg# run `make install-strip'.  However `strip' might not be the right
21190ad07f78Smrg# tool to use in cross-compilation environments, therefore Automake
21200ad07f78Smrg# will honor the `STRIP' environment variable to overrule this program.
21210ad07f78Smrgif test "$cross_compiling" != no; then
21220ad07f78Smrg  if test -n "$ac_tool_prefix"; then
21230ad07f78Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21240ad07f78Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21250ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21260ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
21270ad07f78Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
21280ad07f78Smrg  $as_echo_n "(cached) " >&6
21290ad07f78Smrgelse
21300ad07f78Smrg  if test -n "$STRIP"; then
21310ad07f78Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21320ad07f78Smrgelse
21330ad07f78Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21340ad07f78Smrgfor as_dir in $PATH
21350ad07f78Smrgdo
21360ad07f78Smrg  IFS=$as_save_IFS
21370ad07f78Smrg  test -z "$as_dir" && as_dir=.
21380ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
21390ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21400ad07f78Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21410ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21420ad07f78Smrg    break 2
21430ad07f78Smrg  fi
21440ad07f78Smrgdone
21450ad07f78Smrgdone
21460ad07f78SmrgIFS=$as_save_IFS
21470ad07f78Smrg
21480ad07f78Smrgfi
21490ad07f78Smrgfi
21500ad07f78SmrgSTRIP=$ac_cv_prog_STRIP
21510ad07f78Smrgif test -n "$STRIP"; then
21520ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
21530ad07f78Smrg$as_echo "$STRIP" >&6; }
21540ad07f78Smrgelse
21550ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
21560ad07f78Smrg$as_echo "no" >&6; }
21570ad07f78Smrgfi
21580ad07f78Smrg
21590ad07f78Smrg
21600ad07f78Smrgfi
21610ad07f78Smrgif test -z "$ac_cv_prog_STRIP"; then
21620ad07f78Smrg  ac_ct_STRIP=$STRIP
21630ad07f78Smrg  # Extract the first word of "strip", so it can be a program name with args.
21640ad07f78Smrgset dummy strip; ac_word=$2
21650ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21660ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
21670ad07f78Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
21680ad07f78Smrg  $as_echo_n "(cached) " >&6
21690ad07f78Smrgelse
21700ad07f78Smrg  if test -n "$ac_ct_STRIP"; then
21710ad07f78Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21720ad07f78Smrgelse
21730ad07f78Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21740ad07f78Smrgfor as_dir in $PATH
21750ad07f78Smrgdo
21760ad07f78Smrg  IFS=$as_save_IFS
21770ad07f78Smrg  test -z "$as_dir" && as_dir=.
21780ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
21790ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21800ad07f78Smrg    ac_cv_prog_ac_ct_STRIP="strip"
21810ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21820ad07f78Smrg    break 2
21830ad07f78Smrg  fi
21840ad07f78Smrgdone
21850ad07f78Smrgdone
21860ad07f78SmrgIFS=$as_save_IFS
21870ad07f78Smrg
21880ad07f78Smrgfi
21890ad07f78Smrgfi
21900ad07f78Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
21910ad07f78Smrgif test -n "$ac_ct_STRIP"; then
21920ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
21930ad07f78Smrg$as_echo "$ac_ct_STRIP" >&6; }
21940ad07f78Smrgelse
21950ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
21960ad07f78Smrg$as_echo "no" >&6; }
21970ad07f78Smrgfi
21980ad07f78Smrg
21990ad07f78Smrg  if test "x$ac_ct_STRIP" = x; then
22000ad07f78Smrg    STRIP=":"
22010ad07f78Smrg  else
22020ad07f78Smrg    case $cross_compiling:$ac_tool_warned in
22030ad07f78Smrgyes:)
22040ad07f78Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
22050ad07f78Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22060ad07f78Smrgac_tool_warned=yes ;;
22070ad07f78Smrgesac
22080ad07f78Smrg    STRIP=$ac_ct_STRIP
22090ad07f78Smrg  fi
22100ad07f78Smrgelse
22110ad07f78Smrg  STRIP="$ac_cv_prog_STRIP"
22120ad07f78Smrgfi
22130ad07f78Smrg
22140ad07f78Smrgfi
22150ad07f78SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22160ad07f78Smrg
22170ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
22180ad07f78Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
22190ad07f78Smrgif test -z "$MKDIR_P"; then
22200ad07f78Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
22210ad07f78Smrg  $as_echo_n "(cached) " >&6
22220ad07f78Smrgelse
22230ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22240ad07f78Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
22250ad07f78Smrgdo
22260ad07f78Smrg  IFS=$as_save_IFS
22270ad07f78Smrg  test -z "$as_dir" && as_dir=.
22280ad07f78Smrg  for ac_prog in mkdir gmkdir; do
22290ad07f78Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
22300ad07f78Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
22310ad07f78Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
22320ad07f78Smrg	     'mkdir (GNU coreutils) '* | \
22330ad07f78Smrg	     'mkdir (coreutils) '* | \
22340ad07f78Smrg	     'mkdir (fileutils) '4.1*)
22350ad07f78Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
22360ad07f78Smrg	       break 3;;
22370ad07f78Smrg	   esac
22380ad07f78Smrg	 done
22390ad07f78Smrg       done
22400ad07f78Smrgdone
22410ad07f78SmrgIFS=$as_save_IFS
22420ad07f78Smrg
22430ad07f78Smrgfi
22440ad07f78Smrg
22450ad07f78Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
22460ad07f78Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
22470ad07f78Smrg  else
22480ad07f78Smrg    # As a last resort, use the slow shell script.  Don't cache a
22490ad07f78Smrg    # value for MKDIR_P within a source directory, because that will
22500ad07f78Smrg    # break other packages using the cache if that directory is
22510ad07f78Smrg    # removed, or if the value is a relative name.
22520ad07f78Smrg    test -d ./--version && rmdir ./--version
22530ad07f78Smrg    MKDIR_P="$ac_install_sh -d"
22540ad07f78Smrg  fi
225598049353Smrgfi
22560ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
22570ad07f78Smrg$as_echo "$MKDIR_P" >&6; }
22580ad07f78Smrg
22590ad07f78Smrgmkdir_p="$MKDIR_P"
22600ad07f78Smrgcase $mkdir_p in
22610ad07f78Smrg  [\\/$]* | ?:[\\/]*) ;;
22620ad07f78Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
22630ad07f78Smrgesac
226498049353Smrg
226598049353Smrgfor ac_prog in gawk mawk nawk awk
226698049353Smrgdo
226798049353Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
226898049353Smrgset dummy $ac_prog; ac_word=$2
22690ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22700ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
227198049353Smrgif test "${ac_cv_prog_AWK+set}" = set; then
22720ad07f78Smrg  $as_echo_n "(cached) " >&6
227398049353Smrgelse
227498049353Smrg  if test -n "$AWK"; then
227598049353Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
227698049353Smrgelse
227798049353Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
227898049353Smrgfor as_dir in $PATH
227998049353Smrgdo
228098049353Smrg  IFS=$as_save_IFS
228198049353Smrg  test -z "$as_dir" && as_dir=.
228298049353Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
22830ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
228498049353Smrg    ac_cv_prog_AWK="$ac_prog"
22850ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
228698049353Smrg    break 2
228798049353Smrg  fi
228898049353Smrgdone
228998049353Smrgdone
22900ad07f78SmrgIFS=$as_save_IFS
229198049353Smrg
229298049353Smrgfi
229398049353Smrgfi
229498049353SmrgAWK=$ac_cv_prog_AWK
229598049353Smrgif test -n "$AWK"; then
22960ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
22970ad07f78Smrg$as_echo "$AWK" >&6; }
229898049353Smrgelse
22990ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
23000ad07f78Smrg$as_echo "no" >&6; }
230198049353Smrgfi
230298049353Smrg
23030ad07f78Smrg
230498049353Smrg  test -n "$AWK" && break
230598049353Smrgdone
230698049353Smrg
23070ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
23080ad07f78Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
23090ad07f78Smrgset x ${MAKE-make}
23100ad07f78Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
23110ad07f78Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
23120ad07f78Smrg  $as_echo_n "(cached) " >&6
231398049353Smrgelse
231498049353Smrg  cat >conftest.make <<\_ACEOF
23150ad07f78SmrgSHELL = /bin/sh
231698049353Smrgall:
23170ad07f78Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
231898049353Smrg_ACEOF
231998049353Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23200ad07f78Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
23210ad07f78Smrg  *@@@%%%=?*=@@@%%%*)
23220ad07f78Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
23230ad07f78Smrg  *)
23240ad07f78Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
23250ad07f78Smrgesac
232698049353Smrgrm -f conftest.make
232798049353Smrgfi
23280ad07f78Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
23290ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: yes" >&5
23300ad07f78Smrg$as_echo "yes" >&6; }
233198049353Smrg  SET_MAKE=
233298049353Smrgelse
23330ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
23340ad07f78Smrg$as_echo "no" >&6; }
233598049353Smrg  SET_MAKE="MAKE=${MAKE-make}"
233698049353Smrgfi
233798049353Smrg
233898049353Smrgrm -rf .tst 2>/dev/null
233998049353Smrgmkdir .tst 2>/dev/null
234098049353Smrgif test -d .tst; then
234198049353Smrg  am__leading_dot=.
234298049353Smrgelse
234398049353Smrg  am__leading_dot=_
234498049353Smrgfi
234598049353Smrgrmdir .tst 2>/dev/null
234698049353Smrg
23470ad07f78Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
23480ad07f78Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
23490ad07f78Smrg  # is not polluted with repeated "-I."
23500ad07f78Smrg  am__isrc=' -I$(srcdir)'
23510ad07f78Smrg  # test to see if srcdir already configured
23520ad07f78Smrg  if test -f $srcdir/config.status; then
23530ad07f78Smrg    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
23540ad07f78Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
235598049353Smrg   { (exit 1); exit 1; }; }
23560ad07f78Smrg  fi
235798049353Smrgfi
235898049353Smrg
235998049353Smrg# test whether we have cygpath
236098049353Smrgif test -z "$CYGPATH_W"; then
236198049353Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
236298049353Smrg    CYGPATH_W='cygpath -w'
236398049353Smrg  else
236498049353Smrg    CYGPATH_W=echo
236598049353Smrg  fi
236698049353Smrgfi
236798049353Smrg
236898049353Smrg
236998049353Smrg# Define the identity of the package.
237098049353Smrg PACKAGE='font-isas-misc'
23710ad07f78Smrg VERSION='1.0.1'
237298049353Smrg
237398049353Smrg
237498049353Smrgcat >>confdefs.h <<_ACEOF
237598049353Smrg#define PACKAGE "$PACKAGE"
237698049353Smrg_ACEOF
237798049353Smrg
237898049353Smrg
237998049353Smrgcat >>confdefs.h <<_ACEOF
238098049353Smrg#define VERSION "$VERSION"
238198049353Smrg_ACEOF
238298049353Smrg
238398049353Smrg# Some tools Automake needs.
238498049353Smrg
238598049353SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
238698049353Smrg
238798049353Smrg
238898049353SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
238998049353Smrg
239098049353Smrg
239198049353SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
239298049353Smrg
239398049353Smrg
239498049353SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
239598049353Smrg
239698049353Smrg
239798049353SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
239898049353Smrg
23990ad07f78Smrg# We need awk for the "check" target.  The system "awk" is bad on
24000ad07f78Smrg# some platforms.
24010ad07f78Smrg# Always define AMTAR for backward compatibility.
240298049353Smrg
240398049353SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
240498049353Smrg
24050ad07f78Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
240698049353Smrg
24070ad07f78Smrg
24080ad07f78Smrg
24090ad07f78Smrg
24100ad07f78Smrg
24110ad07f78Smrg
24120ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
24130ad07f78Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
24140ad07f78Smrg    # Check whether --enable-maintainer-mode was given.
24150ad07f78Smrgif test "${enable_maintainer_mode+set}" = set; then
24160ad07f78Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
241798049353Smrgelse
24180ad07f78Smrg  USE_MAINTAINER_MODE=no
24190ad07f78Smrgfi
24200ad07f78Smrg
24210ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
24220ad07f78Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
24230ad07f78Smrg   if test $USE_MAINTAINER_MODE = yes; then
24240ad07f78Smrg  MAINTAINER_MODE_TRUE=
24250ad07f78Smrg  MAINTAINER_MODE_FALSE='#'
24260ad07f78Smrgelse
24270ad07f78Smrg  MAINTAINER_MODE_TRUE='#'
24280ad07f78Smrg  MAINTAINER_MODE_FALSE=
24290ad07f78Smrgfi
24300ad07f78Smrg
24310ad07f78Smrg  MAINT=$MAINTAINER_MODE_TRUE
24320ad07f78Smrg
24330ad07f78Smrg
24340ad07f78Smrg
24350ad07f78Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS
24360ad07f78Smrg
24370ad07f78Smrg
24380ad07f78Smrg
24390ad07f78Smrg
24400ad07f78Smrg
24410ad07f78Smrg
24420ad07f78Smrg
24430ad07f78Smrg
24440ad07f78Smrg
24450ad07f78Smrg
24460ad07f78Smrg
24470ad07f78SmrgDEPDIR="${am__leading_dot}deps"
24480ad07f78Smrg
24490ad07f78Smrgac_config_commands="$ac_config_commands depfiles"
24500ad07f78Smrg
24510ad07f78Smrg
24520ad07f78Smrgam_make=${MAKE-make}
24530ad07f78Smrgcat > confinc << 'END'
24540ad07f78Smrgam__doit:
24550ad07f78Smrg	@echo this is the am__doit target
24560ad07f78Smrg.PHONY: am__doit
24570ad07f78SmrgEND
24580ad07f78Smrg# If we don't find an include directive, just comment out the code.
24590ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
24600ad07f78Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; }
24610ad07f78Smrgam__include="#"
24620ad07f78Smrgam__quote=
24630ad07f78Smrg_am_result=none
24640ad07f78Smrg# First try GNU make style include.
24650ad07f78Smrgecho "include confinc" > confmf
24660ad07f78Smrg# Ignore all kinds of additional output from `make'.
24670ad07f78Smrgcase `$am_make -s -f confmf 2> /dev/null` in #(
24680ad07f78Smrg*the\ am__doit\ target*)
24690ad07f78Smrg  am__include=include
24700ad07f78Smrg  am__quote=
24710ad07f78Smrg  _am_result=GNU
24720ad07f78Smrg  ;;
24730ad07f78Smrgesac
24740ad07f78Smrg# Now try BSD make style include.
24750ad07f78Smrgif test "$am__include" = "#"; then
24760ad07f78Smrg   echo '.include "confinc"' > confmf
24770ad07f78Smrg   case `$am_make -s -f confmf 2> /dev/null` in #(
24780ad07f78Smrg   *the\ am__doit\ target*)
24790ad07f78Smrg     am__include=.include
24800ad07f78Smrg     am__quote="\""
24810ad07f78Smrg     _am_result=BSD
24820ad07f78Smrg     ;;
24830ad07f78Smrg   esac
24840ad07f78Smrgfi
24850ad07f78Smrg
24860ad07f78Smrg
24870ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
24880ad07f78Smrg$as_echo "$_am_result" >&6; }
24890ad07f78Smrgrm -f confinc confmf
24900ad07f78Smrg
24910ad07f78Smrg# Check whether --enable-dependency-tracking was given.
24920ad07f78Smrgif test "${enable_dependency_tracking+set}" = set; then
24930ad07f78Smrg  enableval=$enable_dependency_tracking;
24940ad07f78Smrgfi
24950ad07f78Smrg
24960ad07f78Smrgif test "x$enable_dependency_tracking" != xno; then
24970ad07f78Smrg  am_depcomp="$ac_aux_dir/depcomp"
24980ad07f78Smrg  AMDEPBACKSLASH='\'
24990ad07f78Smrgfi
25000ad07f78Smrg if test "x$enable_dependency_tracking" != xno; then
25010ad07f78Smrg  AMDEP_TRUE=
25020ad07f78Smrg  AMDEP_FALSE='#'
25030ad07f78Smrgelse
25040ad07f78Smrg  AMDEP_TRUE='#'
25050ad07f78Smrg  AMDEP_FALSE=
25060ad07f78Smrgfi
25070ad07f78Smrg
25080ad07f78Smrg
25090ad07f78Smrgac_ext=c
25100ad07f78Smrgac_cpp='$CPP $CPPFLAGS'
25110ad07f78Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25120ad07f78Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130ad07f78Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
25140ad07f78Smrgif test -n "$ac_tool_prefix"; then
25150ad07f78Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
25160ad07f78Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
25170ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25180ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
25190ad07f78Smrgif test "${ac_cv_prog_CC+set}" = set; then
25200ad07f78Smrg  $as_echo_n "(cached) " >&6
25210ad07f78Smrgelse
25220ad07f78Smrg  if test -n "$CC"; then
25230ad07f78Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
252498049353Smrgelse
252598049353Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
252698049353Smrgfor as_dir in $PATH
252798049353Smrgdo
252898049353Smrg  IFS=$as_save_IFS
252998049353Smrg  test -z "$as_dir" && as_dir=.
253098049353Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
25310ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25320ad07f78Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
25330ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
253498049353Smrg    break 2
253598049353Smrg  fi
253698049353Smrgdone
253798049353Smrgdone
25380ad07f78SmrgIFS=$as_save_IFS
253998049353Smrg
254098049353Smrgfi
254198049353Smrgfi
25420ad07f78SmrgCC=$ac_cv_prog_CC
25430ad07f78Smrgif test -n "$CC"; then
25440ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
25450ad07f78Smrg$as_echo "$CC" >&6; }
254698049353Smrgelse
25470ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
25480ad07f78Smrg$as_echo "no" >&6; }
254998049353Smrgfi
255098049353Smrg
25510ad07f78Smrg
255298049353Smrgfi
25530ad07f78Smrgif test -z "$ac_cv_prog_CC"; then
25540ad07f78Smrg  ac_ct_CC=$CC
25550ad07f78Smrg  # Extract the first word of "gcc", so it can be a program name with args.
25560ad07f78Smrgset dummy gcc; ac_word=$2
25570ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25580ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
25590ad07f78Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
25600ad07f78Smrg  $as_echo_n "(cached) " >&6
256198049353Smrgelse
25620ad07f78Smrg  if test -n "$ac_ct_CC"; then
25630ad07f78Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
256498049353Smrgelse
256598049353Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
256698049353Smrgfor as_dir in $PATH
256798049353Smrgdo
256898049353Smrg  IFS=$as_save_IFS
256998049353Smrg  test -z "$as_dir" && as_dir=.
257098049353Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
25710ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25720ad07f78Smrg    ac_cv_prog_ac_ct_CC="gcc"
25730ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
257498049353Smrg    break 2
257598049353Smrg  fi
257698049353Smrgdone
257798049353Smrgdone
25780ad07f78SmrgIFS=$as_save_IFS
257998049353Smrg
258098049353Smrgfi
258198049353Smrgfi
25820ad07f78Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
25830ad07f78Smrgif test -n "$ac_ct_CC"; then
25840ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
25850ad07f78Smrg$as_echo "$ac_ct_CC" >&6; }
258698049353Smrgelse
25870ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
25880ad07f78Smrg$as_echo "no" >&6; }
258998049353Smrgfi
259098049353Smrg
25910ad07f78Smrg  if test "x$ac_ct_CC" = x; then
25920ad07f78Smrg    CC=""
25930ad07f78Smrg  else
25940ad07f78Smrg    case $cross_compiling:$ac_tool_warned in
25950ad07f78Smrgyes:)
25960ad07f78Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
25970ad07f78Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25980ad07f78Smrgac_tool_warned=yes ;;
25990ad07f78Smrgesac
26000ad07f78Smrg    CC=$ac_ct_CC
26010ad07f78Smrg  fi
260298049353Smrgelse
26030ad07f78Smrg  CC="$ac_cv_prog_CC"
260498049353Smrgfi
260598049353Smrg
26060ad07f78Smrgif test -z "$CC"; then
26070ad07f78Smrg          if test -n "$ac_tool_prefix"; then
26080ad07f78Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
26090ad07f78Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
26100ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26110ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
26120ad07f78Smrgif test "${ac_cv_prog_CC+set}" = set; then
26130ad07f78Smrg  $as_echo_n "(cached) " >&6
261498049353Smrgelse
26150ad07f78Smrg  if test -n "$CC"; then
26160ad07f78Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
26170ad07f78Smrgelse
26180ad07f78Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26190ad07f78Smrgfor as_dir in $PATH
26200ad07f78Smrgdo
26210ad07f78Smrg  IFS=$as_save_IFS
26220ad07f78Smrg  test -z "$as_dir" && as_dir=.
26230ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
26240ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26250ad07f78Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
26260ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26270ad07f78Smrg    break 2
26280ad07f78Smrg  fi
26290ad07f78Smrgdone
26300ad07f78Smrgdone
26310ad07f78SmrgIFS=$as_save_IFS
26320ad07f78Smrg
26330ad07f78Smrgfi
26340ad07f78Smrgfi
26350ad07f78SmrgCC=$ac_cv_prog_CC
26360ad07f78Smrgif test -n "$CC"; then
26370ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
26380ad07f78Smrg$as_echo "$CC" >&6; }
26390ad07f78Smrgelse
26400ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
26410ad07f78Smrg$as_echo "no" >&6; }
26420ad07f78Smrgfi
26430ad07f78Smrg
26440ad07f78Smrg
26450ad07f78Smrg  fi
26460ad07f78Smrgfi
26470ad07f78Smrgif test -z "$CC"; then
26480ad07f78Smrg  # Extract the first word of "cc", so it can be a program name with args.
26490ad07f78Smrgset dummy cc; ac_word=$2
26500ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26510ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
26520ad07f78Smrgif test "${ac_cv_prog_CC+set}" = set; then
26530ad07f78Smrg  $as_echo_n "(cached) " >&6
26540ad07f78Smrgelse
26550ad07f78Smrg  if test -n "$CC"; then
26560ad07f78Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
26570ad07f78Smrgelse
26580ad07f78Smrg  ac_prog_rejected=no
26590ad07f78Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26600ad07f78Smrgfor as_dir in $PATH
26610ad07f78Smrgdo
26620ad07f78Smrg  IFS=$as_save_IFS
26630ad07f78Smrg  test -z "$as_dir" && as_dir=.
26640ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
26650ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26660ad07f78Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
26670ad07f78Smrg       ac_prog_rejected=yes
26680ad07f78Smrg       continue
26690ad07f78Smrg     fi
26700ad07f78Smrg    ac_cv_prog_CC="cc"
26710ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26720ad07f78Smrg    break 2
26730ad07f78Smrg  fi
26740ad07f78Smrgdone
26750ad07f78Smrgdone
26760ad07f78SmrgIFS=$as_save_IFS
26770ad07f78Smrg
26780ad07f78Smrgif test $ac_prog_rejected = yes; then
26790ad07f78Smrg  # We found a bogon in the path, so make sure we never use it.
26800ad07f78Smrg  set dummy $ac_cv_prog_CC
26810ad07f78Smrg  shift
26820ad07f78Smrg  if test $# != 0; then
26830ad07f78Smrg    # We chose a different compiler from the bogus one.
26840ad07f78Smrg    # However, it has the same basename, so the bogon will be chosen
26850ad07f78Smrg    # first if we set CC to just the basename; use the full file name.
26860ad07f78Smrg    shift
26870ad07f78Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
26880ad07f78Smrg  fi
26890ad07f78Smrgfi
26900ad07f78Smrgfi
26910ad07f78Smrgfi
26920ad07f78SmrgCC=$ac_cv_prog_CC
26930ad07f78Smrgif test -n "$CC"; then
26940ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
26950ad07f78Smrg$as_echo "$CC" >&6; }
26960ad07f78Smrgelse
26970ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
26980ad07f78Smrg$as_echo "no" >&6; }
26990ad07f78Smrgfi
27000ad07f78Smrg
27010ad07f78Smrg
27020ad07f78Smrgfi
27030ad07f78Smrgif test -z "$CC"; then
27040ad07f78Smrg  if test -n "$ac_tool_prefix"; then
27050ad07f78Smrg  for ac_prog in cl.exe
27060ad07f78Smrg  do
27070ad07f78Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27080ad07f78Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
27090ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27100ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
27110ad07f78Smrgif test "${ac_cv_prog_CC+set}" = set; then
27120ad07f78Smrg  $as_echo_n "(cached) " >&6
27130ad07f78Smrgelse
27140ad07f78Smrg  if test -n "$CC"; then
27150ad07f78Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
27160ad07f78Smrgelse
27170ad07f78Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27180ad07f78Smrgfor as_dir in $PATH
27190ad07f78Smrgdo
27200ad07f78Smrg  IFS=$as_save_IFS
27210ad07f78Smrg  test -z "$as_dir" && as_dir=.
27220ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
27230ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27240ad07f78Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
27250ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27260ad07f78Smrg    break 2
27270ad07f78Smrg  fi
27280ad07f78Smrgdone
27290ad07f78Smrgdone
27300ad07f78SmrgIFS=$as_save_IFS
27310ad07f78Smrg
27320ad07f78Smrgfi
27330ad07f78Smrgfi
27340ad07f78SmrgCC=$ac_cv_prog_CC
27350ad07f78Smrgif test -n "$CC"; then
27360ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $CC" >&5
27370ad07f78Smrg$as_echo "$CC" >&6; }
27380ad07f78Smrgelse
27390ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
27400ad07f78Smrg$as_echo "no" >&6; }
27410ad07f78Smrgfi
27420ad07f78Smrg
27430ad07f78Smrg
27440ad07f78Smrg    test -n "$CC" && break
27450ad07f78Smrg  done
27460ad07f78Smrgfi
27470ad07f78Smrgif test -z "$CC"; then
27480ad07f78Smrg  ac_ct_CC=$CC
27490ad07f78Smrg  for ac_prog in cl.exe
27500ad07f78Smrgdo
27510ad07f78Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
27520ad07f78Smrgset dummy $ac_prog; ac_word=$2
27530ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27540ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
27550ad07f78Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27560ad07f78Smrg  $as_echo_n "(cached) " >&6
27570ad07f78Smrgelse
27580ad07f78Smrg  if test -n "$ac_ct_CC"; then
27590ad07f78Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
27600ad07f78Smrgelse
27610ad07f78Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27620ad07f78Smrgfor as_dir in $PATH
27630ad07f78Smrgdo
27640ad07f78Smrg  IFS=$as_save_IFS
27650ad07f78Smrg  test -z "$as_dir" && as_dir=.
27660ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
27670ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27680ad07f78Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
27690ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27700ad07f78Smrg    break 2
27710ad07f78Smrg  fi
27720ad07f78Smrgdone
27730ad07f78Smrgdone
27740ad07f78SmrgIFS=$as_save_IFS
27750ad07f78Smrg
27760ad07f78Smrgfi
27770ad07f78Smrgfi
27780ad07f78Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
27790ad07f78Smrgif test -n "$ac_ct_CC"; then
27800ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27810ad07f78Smrg$as_echo "$ac_ct_CC" >&6; }
27820ad07f78Smrgelse
27830ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
27840ad07f78Smrg$as_echo "no" >&6; }
27850ad07f78Smrgfi
27860ad07f78Smrg
27870ad07f78Smrg
27880ad07f78Smrg  test -n "$ac_ct_CC" && break
27890ad07f78Smrgdone
27900ad07f78Smrg
27910ad07f78Smrg  if test "x$ac_ct_CC" = x; then
27920ad07f78Smrg    CC=""
27930ad07f78Smrg  else
27940ad07f78Smrg    case $cross_compiling:$ac_tool_warned in
27950ad07f78Smrgyes:)
27960ad07f78Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
27970ad07f78Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27980ad07f78Smrgac_tool_warned=yes ;;
27990ad07f78Smrgesac
28000ad07f78Smrg    CC=$ac_ct_CC
28010ad07f78Smrg  fi
28020ad07f78Smrgfi
28030ad07f78Smrg
28040ad07f78Smrgfi
28050ad07f78Smrg
28060ad07f78Smrg
28070ad07f78Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28080ad07f78Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28090ad07f78Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
28100ad07f78SmrgSee \`config.log' for more details." >&5
28110ad07f78Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
28120ad07f78SmrgSee \`config.log' for more details." >&2;}
28130ad07f78Smrg   { (exit 1); exit 1; }; }; }
28140ad07f78Smrg
28150ad07f78Smrg# Provide some information about the compiler.
28160ad07f78Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
28170ad07f78Smrgset X $ac_compile
28180ad07f78Smrgac_compiler=$2
28190ad07f78Smrg{ (ac_try="$ac_compiler --version >&5"
28200ad07f78Smrgcase "(($ac_try" in
28210ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28220ad07f78Smrg  *) ac_try_echo=$ac_try;;
28230ad07f78Smrgesac
28240ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28250ad07f78Smrg$as_echo "$ac_try_echo") >&5
28260ad07f78Smrg  (eval "$ac_compiler --version >&5") 2>&5
28270ad07f78Smrg  ac_status=$?
28280ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290ad07f78Smrg  (exit $ac_status); }
28300ad07f78Smrg{ (ac_try="$ac_compiler -v >&5"
28310ad07f78Smrgcase "(($ac_try" in
28320ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28330ad07f78Smrg  *) ac_try_echo=$ac_try;;
28340ad07f78Smrgesac
28350ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28360ad07f78Smrg$as_echo "$ac_try_echo") >&5
28370ad07f78Smrg  (eval "$ac_compiler -v >&5") 2>&5
28380ad07f78Smrg  ac_status=$?
28390ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400ad07f78Smrg  (exit $ac_status); }
28410ad07f78Smrg{ (ac_try="$ac_compiler -V >&5"
28420ad07f78Smrgcase "(($ac_try" in
28430ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28440ad07f78Smrg  *) ac_try_echo=$ac_try;;
28450ad07f78Smrgesac
28460ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28470ad07f78Smrg$as_echo "$ac_try_echo") >&5
28480ad07f78Smrg  (eval "$ac_compiler -V >&5") 2>&5
28490ad07f78Smrg  ac_status=$?
28500ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510ad07f78Smrg  (exit $ac_status); }
28520ad07f78Smrg
28530ad07f78Smrgcat >conftest.$ac_ext <<_ACEOF
28540ad07f78Smrg/* confdefs.h.  */
28550ad07f78Smrg_ACEOF
28560ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
28570ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
28580ad07f78Smrg/* end confdefs.h.  */
28590ad07f78Smrg
28600ad07f78Smrgint
28610ad07f78Smrgmain ()
28620ad07f78Smrg{
28630ad07f78Smrg
28640ad07f78Smrg  ;
28650ad07f78Smrg  return 0;
28660ad07f78Smrg}
28670ad07f78Smrg_ACEOF
28680ad07f78Smrgac_clean_files_save=$ac_clean_files
28690ad07f78Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
28700ad07f78Smrg# Try to create an executable without -o first, disregard a.out.
28710ad07f78Smrg# It will help us diagnose broken compilers, and finding out an intuition
28720ad07f78Smrg# of exeext.
28730ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
28740ad07f78Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
28750ad07f78Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
28760ad07f78Smrg
28770ad07f78Smrg# The possible output files:
28780ad07f78Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
28790ad07f78Smrg
28800ad07f78Smrgac_rmfiles=
28810ad07f78Smrgfor ac_file in $ac_files
28820ad07f78Smrgdo
28830ad07f78Smrg  case $ac_file in
28840ad07f78Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
28850ad07f78Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
28860ad07f78Smrg  esac
28870ad07f78Smrgdone
28880ad07f78Smrgrm -f $ac_rmfiles
28890ad07f78Smrg
28900ad07f78Smrgif { (ac_try="$ac_link_default"
28910ad07f78Smrgcase "(($ac_try" in
28920ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28930ad07f78Smrg  *) ac_try_echo=$ac_try;;
28940ad07f78Smrgesac
28950ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28960ad07f78Smrg$as_echo "$ac_try_echo") >&5
28970ad07f78Smrg  (eval "$ac_link_default") 2>&5
28980ad07f78Smrg  ac_status=$?
28990ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000ad07f78Smrg  (exit $ac_status); }; then
29010ad07f78Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
29020ad07f78Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
29030ad07f78Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
29040ad07f78Smrg# so that the user can short-circuit this test for compilers unknown to
29050ad07f78Smrg# Autoconf.
29060ad07f78Smrgfor ac_file in $ac_files ''
29070ad07f78Smrgdo
29080ad07f78Smrg  test -f "$ac_file" || continue
29090ad07f78Smrg  case $ac_file in
29100ad07f78Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
29110ad07f78Smrg	;;
29120ad07f78Smrg    [ab].out )
29130ad07f78Smrg	# We found the default executable, but exeext='' is most
29140ad07f78Smrg	# certainly right.
29150ad07f78Smrg	break;;
29160ad07f78Smrg    *.* )
29170ad07f78Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
29180ad07f78Smrg	then :; else
29190ad07f78Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
29200ad07f78Smrg	fi
29210ad07f78Smrg	# We set ac_cv_exeext here because the later test for it is not
29220ad07f78Smrg	# safe: cross compilers may not add the suffix if given an `-o'
29230ad07f78Smrg	# argument, so we may need to know it at that point already.
29240ad07f78Smrg	# Even if this section looks crufty: it has the advantage of
29250ad07f78Smrg	# actually working.
29260ad07f78Smrg	break;;
29270ad07f78Smrg    * )
29280ad07f78Smrg	break;;
29290ad07f78Smrg  esac
29300ad07f78Smrgdone
29310ad07f78Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
29320ad07f78Smrg
29330ad07f78Smrgelse
29340ad07f78Smrg  ac_file=''
29350ad07f78Smrgfi
29360ad07f78Smrg
29370ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
29380ad07f78Smrg$as_echo "$ac_file" >&6; }
29390ad07f78Smrgif test -z "$ac_file"; then
29400ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
29410ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
29420ad07f78Smrg
29430ad07f78Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29440ad07f78Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29450ad07f78Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
29460ad07f78SmrgSee \`config.log' for more details." >&5
29470ad07f78Smrg$as_echo "$as_me: error: C compiler cannot create executables
29480ad07f78SmrgSee \`config.log' for more details." >&2;}
29490ad07f78Smrg   { (exit 77); exit 77; }; }; }
29500ad07f78Smrgfi
29510ad07f78Smrg
29520ad07f78Smrgac_exeext=$ac_cv_exeext
29530ad07f78Smrg
29540ad07f78Smrg# Check that the compiler produces executables we can run.  If not, either
29550ad07f78Smrg# the compiler is broken, or we cross compile.
29560ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
29570ad07f78Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
29580ad07f78Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
29590ad07f78Smrg# If not cross compiling, check that we can run a simple program.
29600ad07f78Smrgif test "$cross_compiling" != yes; then
29610ad07f78Smrg  if { ac_try='./$ac_file'
29620ad07f78Smrg  { (case "(($ac_try" in
29630ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29640ad07f78Smrg  *) ac_try_echo=$ac_try;;
29650ad07f78Smrgesac
29660ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29670ad07f78Smrg$as_echo "$ac_try_echo") >&5
29680ad07f78Smrg  (eval "$ac_try") 2>&5
29690ad07f78Smrg  ac_status=$?
29700ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710ad07f78Smrg  (exit $ac_status); }; }; then
29720ad07f78Smrg    cross_compiling=no
29730ad07f78Smrg  else
29740ad07f78Smrg    if test "$cross_compiling" = maybe; then
29750ad07f78Smrg	cross_compiling=yes
29760ad07f78Smrg    else
29770ad07f78Smrg	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29780ad07f78Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29790ad07f78Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
29800ad07f78SmrgIf you meant to cross compile, use \`--host'.
29810ad07f78SmrgSee \`config.log' for more details." >&5
29820ad07f78Smrg$as_echo "$as_me: error: cannot run C compiled programs.
29830ad07f78SmrgIf you meant to cross compile, use \`--host'.
29840ad07f78SmrgSee \`config.log' for more details." >&2;}
29850ad07f78Smrg   { (exit 1); exit 1; }; }; }
29860ad07f78Smrg    fi
29870ad07f78Smrg  fi
29880ad07f78Smrgfi
29890ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5
29900ad07f78Smrg$as_echo "yes" >&6; }
29910ad07f78Smrg
29920ad07f78Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
29930ad07f78Smrgac_clean_files=$ac_clean_files_save
29940ad07f78Smrg# Check that the compiler produces executables we can run.  If not, either
29950ad07f78Smrg# the compiler is broken, or we cross compile.
29960ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
29970ad07f78Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
29980ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
29990ad07f78Smrg$as_echo "$cross_compiling" >&6; }
30000ad07f78Smrg
30010ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
30020ad07f78Smrg$as_echo_n "checking for suffix of executables... " >&6; }
30030ad07f78Smrgif { (ac_try="$ac_link"
30040ad07f78Smrgcase "(($ac_try" in
30050ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30060ad07f78Smrg  *) ac_try_echo=$ac_try;;
30070ad07f78Smrgesac
30080ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30090ad07f78Smrg$as_echo "$ac_try_echo") >&5
30100ad07f78Smrg  (eval "$ac_link") 2>&5
30110ad07f78Smrg  ac_status=$?
30120ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130ad07f78Smrg  (exit $ac_status); }; then
30140ad07f78Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
30150ad07f78Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
30160ad07f78Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
30170ad07f78Smrg# `rm'.
30180ad07f78Smrgfor ac_file in conftest.exe conftest conftest.*; do
30190ad07f78Smrg  test -f "$ac_file" || continue
30200ad07f78Smrg  case $ac_file in
30210ad07f78Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
30220ad07f78Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
30230ad07f78Smrg	  break;;
30240ad07f78Smrg    * ) break;;
30250ad07f78Smrg  esac
30260ad07f78Smrgdone
30270ad07f78Smrgelse
30280ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30290ad07f78Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30300ad07f78Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
30310ad07f78SmrgSee \`config.log' for more details." >&5
30320ad07f78Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
30330ad07f78SmrgSee \`config.log' for more details." >&2;}
30340ad07f78Smrg   { (exit 1); exit 1; }; }; }
30350ad07f78Smrgfi
30360ad07f78Smrg
30370ad07f78Smrgrm -f conftest$ac_cv_exeext
30380ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
30390ad07f78Smrg$as_echo "$ac_cv_exeext" >&6; }
30400ad07f78Smrg
30410ad07f78Smrgrm -f conftest.$ac_ext
30420ad07f78SmrgEXEEXT=$ac_cv_exeext
30430ad07f78Smrgac_exeext=$EXEEXT
30440ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
30450ad07f78Smrg$as_echo_n "checking for suffix of object files... " >&6; }
30460ad07f78Smrgif test "${ac_cv_objext+set}" = set; then
30470ad07f78Smrg  $as_echo_n "(cached) " >&6
30480ad07f78Smrgelse
30490ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
30500ad07f78Smrg/* confdefs.h.  */
30510ad07f78Smrg_ACEOF
30520ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
30530ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
30540ad07f78Smrg/* end confdefs.h.  */
30550ad07f78Smrg
30560ad07f78Smrgint
30570ad07f78Smrgmain ()
30580ad07f78Smrg{
30590ad07f78Smrg
30600ad07f78Smrg  ;
30610ad07f78Smrg  return 0;
30620ad07f78Smrg}
30630ad07f78Smrg_ACEOF
30640ad07f78Smrgrm -f conftest.o conftest.obj
30650ad07f78Smrgif { (ac_try="$ac_compile"
30660ad07f78Smrgcase "(($ac_try" in
30670ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30680ad07f78Smrg  *) ac_try_echo=$ac_try;;
30690ad07f78Smrgesac
30700ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30710ad07f78Smrg$as_echo "$ac_try_echo") >&5
30720ad07f78Smrg  (eval "$ac_compile") 2>&5
30730ad07f78Smrg  ac_status=$?
30740ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750ad07f78Smrg  (exit $ac_status); }; then
30760ad07f78Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
30770ad07f78Smrg  test -f "$ac_file" || continue;
30780ad07f78Smrg  case $ac_file in
30790ad07f78Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
30800ad07f78Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
30810ad07f78Smrg       break;;
30820ad07f78Smrg  esac
30830ad07f78Smrgdone
30840ad07f78Smrgelse
30850ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
30860ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
30870ad07f78Smrg
30880ad07f78Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30890ad07f78Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30900ad07f78Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
30910ad07f78SmrgSee \`config.log' for more details." >&5
30920ad07f78Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
30930ad07f78SmrgSee \`config.log' for more details." >&2;}
30940ad07f78Smrg   { (exit 1); exit 1; }; }; }
30950ad07f78Smrgfi
30960ad07f78Smrg
30970ad07f78Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
30980ad07f78Smrgfi
30990ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
31000ad07f78Smrg$as_echo "$ac_cv_objext" >&6; }
31010ad07f78SmrgOBJEXT=$ac_cv_objext
31020ad07f78Smrgac_objext=$OBJEXT
31030ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
31040ad07f78Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
31050ad07f78Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
31060ad07f78Smrg  $as_echo_n "(cached) " >&6
31070ad07f78Smrgelse
31080ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
31090ad07f78Smrg/* confdefs.h.  */
31100ad07f78Smrg_ACEOF
31110ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
31120ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
31130ad07f78Smrg/* end confdefs.h.  */
31140ad07f78Smrg
31150ad07f78Smrgint
31160ad07f78Smrgmain ()
31170ad07f78Smrg{
31180ad07f78Smrg#ifndef __GNUC__
31190ad07f78Smrg       choke me
31200ad07f78Smrg#endif
31210ad07f78Smrg
31220ad07f78Smrg  ;
31230ad07f78Smrg  return 0;
31240ad07f78Smrg}
31250ad07f78Smrg_ACEOF
31260ad07f78Smrgrm -f conftest.$ac_objext
31270ad07f78Smrgif { (ac_try="$ac_compile"
31280ad07f78Smrgcase "(($ac_try" in
31290ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31300ad07f78Smrg  *) ac_try_echo=$ac_try;;
31310ad07f78Smrgesac
31320ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31330ad07f78Smrg$as_echo "$ac_try_echo") >&5
31340ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
31350ad07f78Smrg  ac_status=$?
31360ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
31370ad07f78Smrg  rm -f conftest.er1
31380ad07f78Smrg  cat conftest.err >&5
31390ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400ad07f78Smrg  (exit $ac_status); } && {
31410ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
31420ad07f78Smrg	 test ! -s conftest.err
31430ad07f78Smrg       } && test -s conftest.$ac_objext; then
31440ad07f78Smrg  ac_compiler_gnu=yes
31450ad07f78Smrgelse
31460ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
31470ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
31480ad07f78Smrg
31490ad07f78Smrg	ac_compiler_gnu=no
31500ad07f78Smrgfi
31510ad07f78Smrg
31520ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31530ad07f78Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
31540ad07f78Smrg
31550ad07f78Smrgfi
31560ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
31570ad07f78Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
31580ad07f78Smrgif test $ac_compiler_gnu = yes; then
31590ad07f78Smrg  GCC=yes
31600ad07f78Smrgelse
31610ad07f78Smrg  GCC=
31620ad07f78Smrgfi
31630ad07f78Smrgac_test_CFLAGS=${CFLAGS+set}
31640ad07f78Smrgac_save_CFLAGS=$CFLAGS
31650ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
31660ad07f78Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
31670ad07f78Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
31680ad07f78Smrg  $as_echo_n "(cached) " >&6
31690ad07f78Smrgelse
31700ad07f78Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
31710ad07f78Smrg   ac_c_werror_flag=yes
31720ad07f78Smrg   ac_cv_prog_cc_g=no
31730ad07f78Smrg   CFLAGS="-g"
31740ad07f78Smrg   cat >conftest.$ac_ext <<_ACEOF
31750ad07f78Smrg/* confdefs.h.  */
31760ad07f78Smrg_ACEOF
31770ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
31780ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
31790ad07f78Smrg/* end confdefs.h.  */
31800ad07f78Smrg
31810ad07f78Smrgint
31820ad07f78Smrgmain ()
31830ad07f78Smrg{
31840ad07f78Smrg
31850ad07f78Smrg  ;
31860ad07f78Smrg  return 0;
31870ad07f78Smrg}
31880ad07f78Smrg_ACEOF
31890ad07f78Smrgrm -f conftest.$ac_objext
31900ad07f78Smrgif { (ac_try="$ac_compile"
31910ad07f78Smrgcase "(($ac_try" in
31920ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31930ad07f78Smrg  *) ac_try_echo=$ac_try;;
31940ad07f78Smrgesac
31950ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31960ad07f78Smrg$as_echo "$ac_try_echo") >&5
31970ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
31980ad07f78Smrg  ac_status=$?
31990ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
32000ad07f78Smrg  rm -f conftest.er1
32010ad07f78Smrg  cat conftest.err >&5
32020ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030ad07f78Smrg  (exit $ac_status); } && {
32040ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
32050ad07f78Smrg	 test ! -s conftest.err
32060ad07f78Smrg       } && test -s conftest.$ac_objext; then
32070ad07f78Smrg  ac_cv_prog_cc_g=yes
32080ad07f78Smrgelse
32090ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
32100ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
32110ad07f78Smrg
32120ad07f78Smrg	CFLAGS=""
32130ad07f78Smrg      cat >conftest.$ac_ext <<_ACEOF
32140ad07f78Smrg/* confdefs.h.  */
32150ad07f78Smrg_ACEOF
32160ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
32170ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
32180ad07f78Smrg/* end confdefs.h.  */
32190ad07f78Smrg
32200ad07f78Smrgint
32210ad07f78Smrgmain ()
32220ad07f78Smrg{
32230ad07f78Smrg
32240ad07f78Smrg  ;
32250ad07f78Smrg  return 0;
32260ad07f78Smrg}
32270ad07f78Smrg_ACEOF
32280ad07f78Smrgrm -f conftest.$ac_objext
32290ad07f78Smrgif { (ac_try="$ac_compile"
32300ad07f78Smrgcase "(($ac_try" in
32310ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32320ad07f78Smrg  *) ac_try_echo=$ac_try;;
32330ad07f78Smrgesac
32340ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32350ad07f78Smrg$as_echo "$ac_try_echo") >&5
32360ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
32370ad07f78Smrg  ac_status=$?
32380ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
32390ad07f78Smrg  rm -f conftest.er1
32400ad07f78Smrg  cat conftest.err >&5
32410ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420ad07f78Smrg  (exit $ac_status); } && {
32430ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
32440ad07f78Smrg	 test ! -s conftest.err
32450ad07f78Smrg       } && test -s conftest.$ac_objext; then
32460ad07f78Smrg  :
32470ad07f78Smrgelse
32480ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
32490ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
32500ad07f78Smrg
32510ad07f78Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
32520ad07f78Smrg	 CFLAGS="-g"
32530ad07f78Smrg	 cat >conftest.$ac_ext <<_ACEOF
32540ad07f78Smrg/* confdefs.h.  */
32550ad07f78Smrg_ACEOF
32560ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
32570ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
32580ad07f78Smrg/* end confdefs.h.  */
32590ad07f78Smrg
32600ad07f78Smrgint
32610ad07f78Smrgmain ()
32620ad07f78Smrg{
32630ad07f78Smrg
32640ad07f78Smrg  ;
32650ad07f78Smrg  return 0;
32660ad07f78Smrg}
32670ad07f78Smrg_ACEOF
32680ad07f78Smrgrm -f conftest.$ac_objext
32690ad07f78Smrgif { (ac_try="$ac_compile"
32700ad07f78Smrgcase "(($ac_try" in
32710ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32720ad07f78Smrg  *) ac_try_echo=$ac_try;;
32730ad07f78Smrgesac
32740ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32750ad07f78Smrg$as_echo "$ac_try_echo") >&5
32760ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
32770ad07f78Smrg  ac_status=$?
32780ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
32790ad07f78Smrg  rm -f conftest.er1
32800ad07f78Smrg  cat conftest.err >&5
32810ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820ad07f78Smrg  (exit $ac_status); } && {
32830ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
32840ad07f78Smrg	 test ! -s conftest.err
32850ad07f78Smrg       } && test -s conftest.$ac_objext; then
32860ad07f78Smrg  ac_cv_prog_cc_g=yes
32870ad07f78Smrgelse
32880ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
32890ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
32900ad07f78Smrg
32910ad07f78Smrg
32920ad07f78Smrgfi
32930ad07f78Smrg
32940ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32950ad07f78Smrgfi
32960ad07f78Smrg
32970ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32980ad07f78Smrgfi
32990ad07f78Smrg
33000ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33010ad07f78Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
33020ad07f78Smrgfi
33030ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
33040ad07f78Smrg$as_echo "$ac_cv_prog_cc_g" >&6; }
33050ad07f78Smrgif test "$ac_test_CFLAGS" = set; then
33060ad07f78Smrg  CFLAGS=$ac_save_CFLAGS
33070ad07f78Smrgelif test $ac_cv_prog_cc_g = yes; then
33080ad07f78Smrg  if test "$GCC" = yes; then
33090ad07f78Smrg    CFLAGS="-g -O2"
33100ad07f78Smrg  else
33110ad07f78Smrg    CFLAGS="-g"
33120ad07f78Smrg  fi
33130ad07f78Smrgelse
33140ad07f78Smrg  if test "$GCC" = yes; then
33150ad07f78Smrg    CFLAGS="-O2"
33160ad07f78Smrg  else
33170ad07f78Smrg    CFLAGS=
33180ad07f78Smrg  fi
33190ad07f78Smrgfi
33200ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
33210ad07f78Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
33220ad07f78Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
33230ad07f78Smrg  $as_echo_n "(cached) " >&6
33240ad07f78Smrgelse
33250ad07f78Smrg  ac_cv_prog_cc_c89=no
33260ad07f78Smrgac_save_CC=$CC
33270ad07f78Smrgcat >conftest.$ac_ext <<_ACEOF
33280ad07f78Smrg/* confdefs.h.  */
33290ad07f78Smrg_ACEOF
33300ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
33310ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
33320ad07f78Smrg/* end confdefs.h.  */
33330ad07f78Smrg#include <stdarg.h>
33340ad07f78Smrg#include <stdio.h>
33350ad07f78Smrg#include <sys/types.h>
33360ad07f78Smrg#include <sys/stat.h>
33370ad07f78Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
33380ad07f78Smrgstruct buf { int x; };
33390ad07f78SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
33400ad07f78Smrgstatic char *e (p, i)
33410ad07f78Smrg     char **p;
33420ad07f78Smrg     int i;
33430ad07f78Smrg{
33440ad07f78Smrg  return p[i];
33450ad07f78Smrg}
33460ad07f78Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
33470ad07f78Smrg{
33480ad07f78Smrg  char *s;
33490ad07f78Smrg  va_list v;
33500ad07f78Smrg  va_start (v,p);
33510ad07f78Smrg  s = g (p, va_arg (v,int));
33520ad07f78Smrg  va_end (v);
33530ad07f78Smrg  return s;
33540ad07f78Smrg}
33550ad07f78Smrg
33560ad07f78Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
33570ad07f78Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
33580ad07f78Smrg   These don't provoke an error unfortunately, instead are silently treated
33590ad07f78Smrg   as 'x'.  The following induces an error, until -std is added to get
33600ad07f78Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
33610ad07f78Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
33620ad07f78Smrg   that's true only with -std.  */
33630ad07f78Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
33640ad07f78Smrg
33650ad07f78Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
33660ad07f78Smrg   inside strings and character constants.  */
33670ad07f78Smrg#define FOO(x) 'x'
33680ad07f78Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
33690ad07f78Smrg
33700ad07f78Smrgint test (int i, double x);
33710ad07f78Smrgstruct s1 {int (*f) (int a);};
33720ad07f78Smrgstruct s2 {int (*f) (double a);};
33730ad07f78Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
33740ad07f78Smrgint argc;
33750ad07f78Smrgchar **argv;
33760ad07f78Smrgint
33770ad07f78Smrgmain ()
33780ad07f78Smrg{
33790ad07f78Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
33800ad07f78Smrg  ;
33810ad07f78Smrg  return 0;
33820ad07f78Smrg}
33830ad07f78Smrg_ACEOF
33840ad07f78Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
33850ad07f78Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
33860ad07f78Smrgdo
33870ad07f78Smrg  CC="$ac_save_CC $ac_arg"
33880ad07f78Smrg  rm -f conftest.$ac_objext
33890ad07f78Smrgif { (ac_try="$ac_compile"
33900ad07f78Smrgcase "(($ac_try" in
33910ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33920ad07f78Smrg  *) ac_try_echo=$ac_try;;
33930ad07f78Smrgesac
33940ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33950ad07f78Smrg$as_echo "$ac_try_echo") >&5
33960ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
33970ad07f78Smrg  ac_status=$?
33980ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
33990ad07f78Smrg  rm -f conftest.er1
34000ad07f78Smrg  cat conftest.err >&5
34010ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020ad07f78Smrg  (exit $ac_status); } && {
34030ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
34040ad07f78Smrg	 test ! -s conftest.err
34050ad07f78Smrg       } && test -s conftest.$ac_objext; then
34060ad07f78Smrg  ac_cv_prog_cc_c89=$ac_arg
34070ad07f78Smrgelse
34080ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
34090ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
34100ad07f78Smrg
34110ad07f78Smrg
34120ad07f78Smrgfi
34130ad07f78Smrg
34140ad07f78Smrgrm -f core conftest.err conftest.$ac_objext
34150ad07f78Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
34160ad07f78Smrgdone
34170ad07f78Smrgrm -f conftest.$ac_ext
34180ad07f78SmrgCC=$ac_save_CC
34190ad07f78Smrg
34200ad07f78Smrgfi
34210ad07f78Smrg# AC_CACHE_VAL
34220ad07f78Smrgcase "x$ac_cv_prog_cc_c89" in
34230ad07f78Smrg  x)
34240ad07f78Smrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
34250ad07f78Smrg$as_echo "none needed" >&6; } ;;
34260ad07f78Smrg  xno)
34270ad07f78Smrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
34280ad07f78Smrg$as_echo "unsupported" >&6; } ;;
34290ad07f78Smrg  *)
34300ad07f78Smrg    CC="$CC $ac_cv_prog_cc_c89"
34310ad07f78Smrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
34320ad07f78Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
34330ad07f78Smrgesac
34340ad07f78Smrg
34350ad07f78Smrg
34360ad07f78Smrgac_ext=c
34370ad07f78Smrgac_cpp='$CPP $CPPFLAGS'
34380ad07f78Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390ad07f78Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400ad07f78Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
34410ad07f78Smrg
34420ad07f78Smrgdepcc="$CC"   am_compiler_list=
34430ad07f78Smrg
34440ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
34450ad07f78Smrg$as_echo_n "checking dependency style of $depcc... " >&6; }
34460ad07f78Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
34470ad07f78Smrg  $as_echo_n "(cached) " >&6
34480ad07f78Smrgelse
34490ad07f78Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
34500ad07f78Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
34510ad07f78Smrg  # making bogus files that we don't know about and never remove.  For
34520ad07f78Smrg  # instance it was reported that on HP-UX the gcc test will end up
34530ad07f78Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
34540ad07f78Smrg  # in D'.
34550ad07f78Smrg  mkdir conftest.dir
34560ad07f78Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
34570ad07f78Smrg  # using a relative directory.
34580ad07f78Smrg  cp "$am_depcomp" conftest.dir
34590ad07f78Smrg  cd conftest.dir
34600ad07f78Smrg  # We will build objects and dependencies in a subdirectory because
34610ad07f78Smrg  # it helps to detect inapplicable dependency modes.  For instance
34620ad07f78Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
34630ad07f78Smrg  # side effect of compilation, but ICC will put the dependencies in
34640ad07f78Smrg  # the current directory while Tru64 will put them in the object
34650ad07f78Smrg  # directory.
34660ad07f78Smrg  mkdir sub
34670ad07f78Smrg
34680ad07f78Smrg  am_cv_CC_dependencies_compiler_type=none
34690ad07f78Smrg  if test "$am_compiler_list" = ""; then
34700ad07f78Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
34710ad07f78Smrg  fi
34720ad07f78Smrg  am__universal=false
34730ad07f78Smrg  case " $depcc " in #(
34740ad07f78Smrg     *\ -arch\ *\ -arch\ *) am__universal=true ;;
34750ad07f78Smrg     esac
34760ad07f78Smrg
34770ad07f78Smrg  for depmode in $am_compiler_list; do
34780ad07f78Smrg    # Setup a source with many dependencies, because some compilers
34790ad07f78Smrg    # like to wrap large dependency lists on column 80 (with \), and
34800ad07f78Smrg    # we should not choose a depcomp mode which is confused by this.
34810ad07f78Smrg    #
34820ad07f78Smrg    # We need to recreate these files for each test, as the compiler may
34830ad07f78Smrg    # overwrite some of them when testing with obscure command lines.
34840ad07f78Smrg    # This happens at least with the AIX C compiler.
34850ad07f78Smrg    : > sub/conftest.c
34860ad07f78Smrg    for i in 1 2 3 4 5 6; do
34870ad07f78Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
34880ad07f78Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
34890ad07f78Smrg      # Solaris 8's {/usr,}/bin/sh.
34900ad07f78Smrg      touch sub/conftst$i.h
34910ad07f78Smrg    done
34920ad07f78Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
34930ad07f78Smrg
34940ad07f78Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
34950ad07f78Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
34960ad07f78Smrg    # handle `-M -o', and we need to detect this.  Also, some Intel
34970ad07f78Smrg    # versions had trouble with output in subdirs
34980ad07f78Smrg    am__obj=sub/conftest.${OBJEXT-o}
34990ad07f78Smrg    am__minus_obj="-o $am__obj"
35000ad07f78Smrg    case $depmode in
35010ad07f78Smrg    gcc)
35020ad07f78Smrg      # This depmode causes a compiler race in universal mode.
35030ad07f78Smrg      test "$am__universal" = false || continue
35040ad07f78Smrg      ;;
35050ad07f78Smrg    nosideeffect)
35060ad07f78Smrg      # after this tag, mechanisms are not by side-effect, so they'll
35070ad07f78Smrg      # only be used when explicitly requested
35080ad07f78Smrg      if test "x$enable_dependency_tracking" = xyes; then
35090ad07f78Smrg	continue
35100ad07f78Smrg      else
35110ad07f78Smrg	break
35120ad07f78Smrg      fi
35130ad07f78Smrg      ;;
35140ad07f78Smrg    msvisualcpp | msvcmsys)
35150ad07f78Smrg      # This compiler won't grok `-c -o', but also, the minuso test has
35160ad07f78Smrg      # not run yet.  These depmodes are late enough in the game, and
35170ad07f78Smrg      # so weak that their functioning should not be impacted.
35180ad07f78Smrg      am__obj=conftest.${OBJEXT-o}
35190ad07f78Smrg      am__minus_obj=
35200ad07f78Smrg      ;;
35210ad07f78Smrg    none) break ;;
35220ad07f78Smrg    esac
35230ad07f78Smrg    if depmode=$depmode \
35240ad07f78Smrg       source=sub/conftest.c object=$am__obj \
35250ad07f78Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
35260ad07f78Smrg       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
35270ad07f78Smrg         >/dev/null 2>conftest.err &&
35280ad07f78Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
35290ad07f78Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
35300ad07f78Smrg       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
35310ad07f78Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
35320ad07f78Smrg      # icc doesn't choke on unknown options, it will just issue warnings
35330ad07f78Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
35340ad07f78Smrg      # that says an option was ignored or not supported.
35350ad07f78Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
35360ad07f78Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
35370ad07f78Smrg      # The diagnosis changed in icc 8.0:
35380ad07f78Smrg      #   icc: Command line remark: option '-MP' not supported
35390ad07f78Smrg      if (grep 'ignoring option' conftest.err ||
35400ad07f78Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
35410ad07f78Smrg        am_cv_CC_dependencies_compiler_type=$depmode
35420ad07f78Smrg        break
35430ad07f78Smrg      fi
35440ad07f78Smrg    fi
35450ad07f78Smrg  done
35460ad07f78Smrg
35470ad07f78Smrg  cd ..
35480ad07f78Smrg  rm -rf conftest.dir
35490ad07f78Smrgelse
35500ad07f78Smrg  am_cv_CC_dependencies_compiler_type=none
35510ad07f78Smrgfi
35520ad07f78Smrg
35530ad07f78Smrgfi
35540ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
35550ad07f78Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
35560ad07f78SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
35570ad07f78Smrg
35580ad07f78Smrg if
35590ad07f78Smrg  test "x$enable_dependency_tracking" != xno \
35600ad07f78Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
35610ad07f78Smrg  am__fastdepCC_TRUE=
35620ad07f78Smrg  am__fastdepCC_FALSE='#'
35630ad07f78Smrgelse
35640ad07f78Smrg  am__fastdepCC_TRUE='#'
35650ad07f78Smrg  am__fastdepCC_FALSE=
35660ad07f78Smrgfi
35670ad07f78Smrg
35680ad07f78Smrg
35690ad07f78Smrg
35700ad07f78Smrgac_ext=c
35710ad07f78Smrgac_cpp='$CPP $CPPFLAGS'
35720ad07f78Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35730ad07f78Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740ad07f78Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
35750ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
35760ad07f78Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
35770ad07f78Smrg# On Suns, sometimes $CPP names a directory.
35780ad07f78Smrgif test -n "$CPP" && test -d "$CPP"; then
35790ad07f78Smrg  CPP=
35800ad07f78Smrgfi
35810ad07f78Smrgif test -z "$CPP"; then
35820ad07f78Smrg  if test "${ac_cv_prog_CPP+set}" = set; then
35830ad07f78Smrg  $as_echo_n "(cached) " >&6
35840ad07f78Smrgelse
35850ad07f78Smrg      # Double quotes because CPP needs to be expanded
35860ad07f78Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
35870ad07f78Smrg    do
35880ad07f78Smrg      ac_preproc_ok=false
35890ad07f78Smrgfor ac_c_preproc_warn_flag in '' yes
35900ad07f78Smrgdo
35910ad07f78Smrg  # Use a header file that comes with gcc, so configuring glibc
35920ad07f78Smrg  # with a fresh cross-compiler works.
35930ad07f78Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35940ad07f78Smrg  # <limits.h> exists even on freestanding compilers.
35950ad07f78Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
35960ad07f78Smrg  # not just through cpp. "Syntax error" is here to catch this case.
35970ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
35980ad07f78Smrg/* confdefs.h.  */
35990ad07f78Smrg_ACEOF
36000ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
36010ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
36020ad07f78Smrg/* end confdefs.h.  */
36030ad07f78Smrg#ifdef __STDC__
36040ad07f78Smrg# include <limits.h>
36050ad07f78Smrg#else
36060ad07f78Smrg# include <assert.h>
36070ad07f78Smrg#endif
36080ad07f78Smrg		     Syntax error
36090ad07f78Smrg_ACEOF
36100ad07f78Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
36110ad07f78Smrgcase "(($ac_try" in
36120ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36130ad07f78Smrg  *) ac_try_echo=$ac_try;;
36140ad07f78Smrgesac
36150ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36160ad07f78Smrg$as_echo "$ac_try_echo") >&5
36170ad07f78Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36180ad07f78Smrg  ac_status=$?
36190ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
36200ad07f78Smrg  rm -f conftest.er1
36210ad07f78Smrg  cat conftest.err >&5
36220ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230ad07f78Smrg  (exit $ac_status); } >/dev/null && {
36240ad07f78Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36250ad07f78Smrg	 test ! -s conftest.err
36260ad07f78Smrg       }; then
36270ad07f78Smrg  :
36280ad07f78Smrgelse
36290ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
36300ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
36310ad07f78Smrg
36320ad07f78Smrg  # Broken: fails on valid input.
36330ad07f78Smrgcontinue
36340ad07f78Smrgfi
36350ad07f78Smrg
36360ad07f78Smrgrm -f conftest.err conftest.$ac_ext
36370ad07f78Smrg
36380ad07f78Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
36390ad07f78Smrg  # can be detected and how.
36400ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
36410ad07f78Smrg/* confdefs.h.  */
36420ad07f78Smrg_ACEOF
36430ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
36440ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
36450ad07f78Smrg/* end confdefs.h.  */
36460ad07f78Smrg#include <ac_nonexistent.h>
36470ad07f78Smrg_ACEOF
36480ad07f78Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
36490ad07f78Smrgcase "(($ac_try" in
36500ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36510ad07f78Smrg  *) ac_try_echo=$ac_try;;
36520ad07f78Smrgesac
36530ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36540ad07f78Smrg$as_echo "$ac_try_echo") >&5
36550ad07f78Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36560ad07f78Smrg  ac_status=$?
36570ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
36580ad07f78Smrg  rm -f conftest.er1
36590ad07f78Smrg  cat conftest.err >&5
36600ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610ad07f78Smrg  (exit $ac_status); } >/dev/null && {
36620ad07f78Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36630ad07f78Smrg	 test ! -s conftest.err
36640ad07f78Smrg       }; then
36650ad07f78Smrg  # Broken: success on invalid input.
36660ad07f78Smrgcontinue
36670ad07f78Smrgelse
36680ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
36690ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
36700ad07f78Smrg
36710ad07f78Smrg  # Passes both tests.
36720ad07f78Smrgac_preproc_ok=:
36730ad07f78Smrgbreak
36740ad07f78Smrgfi
36750ad07f78Smrg
36760ad07f78Smrgrm -f conftest.err conftest.$ac_ext
36770ad07f78Smrg
36780ad07f78Smrgdone
36790ad07f78Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
36800ad07f78Smrgrm -f conftest.err conftest.$ac_ext
36810ad07f78Smrgif $ac_preproc_ok; then
36820ad07f78Smrg  break
36830ad07f78Smrgfi
36840ad07f78Smrg
36850ad07f78Smrg    done
36860ad07f78Smrg    ac_cv_prog_CPP=$CPP
36870ad07f78Smrg
36880ad07f78Smrgfi
36890ad07f78Smrg  CPP=$ac_cv_prog_CPP
36900ad07f78Smrgelse
36910ad07f78Smrg  ac_cv_prog_CPP=$CPP
36920ad07f78Smrgfi
36930ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
36940ad07f78Smrg$as_echo "$CPP" >&6; }
36950ad07f78Smrgac_preproc_ok=false
36960ad07f78Smrgfor ac_c_preproc_warn_flag in '' yes
36970ad07f78Smrgdo
36980ad07f78Smrg  # Use a header file that comes with gcc, so configuring glibc
36990ad07f78Smrg  # with a fresh cross-compiler works.
37000ad07f78Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37010ad07f78Smrg  # <limits.h> exists even on freestanding compilers.
37020ad07f78Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
37030ad07f78Smrg  # not just through cpp. "Syntax error" is here to catch this case.
37040ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
37050ad07f78Smrg/* confdefs.h.  */
37060ad07f78Smrg_ACEOF
37070ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
37080ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
37090ad07f78Smrg/* end confdefs.h.  */
37100ad07f78Smrg#ifdef __STDC__
37110ad07f78Smrg# include <limits.h>
37120ad07f78Smrg#else
37130ad07f78Smrg# include <assert.h>
37140ad07f78Smrg#endif
37150ad07f78Smrg		     Syntax error
37160ad07f78Smrg_ACEOF
37170ad07f78Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
37180ad07f78Smrgcase "(($ac_try" in
37190ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37200ad07f78Smrg  *) ac_try_echo=$ac_try;;
37210ad07f78Smrgesac
37220ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37230ad07f78Smrg$as_echo "$ac_try_echo") >&5
37240ad07f78Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37250ad07f78Smrg  ac_status=$?
37260ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
37270ad07f78Smrg  rm -f conftest.er1
37280ad07f78Smrg  cat conftest.err >&5
37290ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300ad07f78Smrg  (exit $ac_status); } >/dev/null && {
37310ad07f78Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37320ad07f78Smrg	 test ! -s conftest.err
37330ad07f78Smrg       }; then
37340ad07f78Smrg  :
37350ad07f78Smrgelse
37360ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
37370ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
37380ad07f78Smrg
37390ad07f78Smrg  # Broken: fails on valid input.
37400ad07f78Smrgcontinue
37410ad07f78Smrgfi
37420ad07f78Smrg
37430ad07f78Smrgrm -f conftest.err conftest.$ac_ext
37440ad07f78Smrg
37450ad07f78Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
37460ad07f78Smrg  # can be detected and how.
37470ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
37480ad07f78Smrg/* confdefs.h.  */
37490ad07f78Smrg_ACEOF
37500ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
37510ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
37520ad07f78Smrg/* end confdefs.h.  */
37530ad07f78Smrg#include <ac_nonexistent.h>
37540ad07f78Smrg_ACEOF
37550ad07f78Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
37560ad07f78Smrgcase "(($ac_try" in
37570ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37580ad07f78Smrg  *) ac_try_echo=$ac_try;;
37590ad07f78Smrgesac
37600ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37610ad07f78Smrg$as_echo "$ac_try_echo") >&5
37620ad07f78Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37630ad07f78Smrg  ac_status=$?
37640ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
37650ad07f78Smrg  rm -f conftest.er1
37660ad07f78Smrg  cat conftest.err >&5
37670ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680ad07f78Smrg  (exit $ac_status); } >/dev/null && {
37690ad07f78Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37700ad07f78Smrg	 test ! -s conftest.err
37710ad07f78Smrg       }; then
37720ad07f78Smrg  # Broken: success on invalid input.
37730ad07f78Smrgcontinue
37740ad07f78Smrgelse
37750ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
37760ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
37770ad07f78Smrg
37780ad07f78Smrg  # Passes both tests.
37790ad07f78Smrgac_preproc_ok=:
37800ad07f78Smrgbreak
37810ad07f78Smrgfi
37820ad07f78Smrg
37830ad07f78Smrgrm -f conftest.err conftest.$ac_ext
37840ad07f78Smrg
37850ad07f78Smrgdone
37860ad07f78Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
37870ad07f78Smrgrm -f conftest.err conftest.$ac_ext
37880ad07f78Smrgif $ac_preproc_ok; then
37890ad07f78Smrg  :
37900ad07f78Smrgelse
37910ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
37920ad07f78Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37930ad07f78Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
37940ad07f78SmrgSee \`config.log' for more details." >&5
37950ad07f78Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
37960ad07f78SmrgSee \`config.log' for more details." >&2;}
37970ad07f78Smrg   { (exit 1); exit 1; }; }; }
37980ad07f78Smrgfi
37990ad07f78Smrg
38000ad07f78Smrgac_ext=c
38010ad07f78Smrgac_cpp='$CPP $CPPFLAGS'
38020ad07f78Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030ad07f78Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38040ad07f78Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
38050ad07f78Smrg
38060ad07f78Smrg
38070ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
38080ad07f78Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
38090ad07f78Smrgif test "${ac_cv_path_GREP+set}" = set; then
38100ad07f78Smrg  $as_echo_n "(cached) " >&6
38110ad07f78Smrgelse
38120ad07f78Smrg  if test -z "$GREP"; then
38130ad07f78Smrg  ac_path_GREP_found=false
38140ad07f78Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
38150ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38160ad07f78Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
38170ad07f78Smrgdo
38180ad07f78Smrg  IFS=$as_save_IFS
38190ad07f78Smrg  test -z "$as_dir" && as_dir=.
38200ad07f78Smrg  for ac_prog in grep ggrep; do
38210ad07f78Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
38220ad07f78Smrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
38230ad07f78Smrg      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
38240ad07f78Smrg# Check for GNU ac_path_GREP and select it if it is found.
38250ad07f78Smrg  # Check for GNU $ac_path_GREP
38260ad07f78Smrgcase `"$ac_path_GREP" --version 2>&1` in
38270ad07f78Smrg*GNU*)
38280ad07f78Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
38290ad07f78Smrg*)
38300ad07f78Smrg  ac_count=0
38310ad07f78Smrg  $as_echo_n 0123456789 >"conftest.in"
38320ad07f78Smrg  while :
38330ad07f78Smrg  do
38340ad07f78Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
38350ad07f78Smrg    mv "conftest.tmp" "conftest.in"
38360ad07f78Smrg    cp "conftest.in" "conftest.nl"
38370ad07f78Smrg    $as_echo 'GREP' >> "conftest.nl"
38380ad07f78Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
38390ad07f78Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
38400ad07f78Smrg    ac_count=`expr $ac_count + 1`
38410ad07f78Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
38420ad07f78Smrg      # Best one so far, save it but keep looking for a better one
38430ad07f78Smrg      ac_cv_path_GREP="$ac_path_GREP"
38440ad07f78Smrg      ac_path_GREP_max=$ac_count
38450ad07f78Smrg    fi
38460ad07f78Smrg    # 10*(2^10) chars as input seems more than enough
38470ad07f78Smrg    test $ac_count -gt 10 && break
38480ad07f78Smrg  done
38490ad07f78Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
38500ad07f78Smrgesac
38510ad07f78Smrg
38520ad07f78Smrg      $ac_path_GREP_found && break 3
38530ad07f78Smrg    done
38540ad07f78Smrg  done
38550ad07f78Smrgdone
38560ad07f78SmrgIFS=$as_save_IFS
38570ad07f78Smrg  if test -z "$ac_cv_path_GREP"; then
38580ad07f78Smrg    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
38590ad07f78Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
38600ad07f78Smrg   { (exit 1); exit 1; }; }
38610ad07f78Smrg  fi
38620ad07f78Smrgelse
38630ad07f78Smrg  ac_cv_path_GREP=$GREP
38640ad07f78Smrgfi
38650ad07f78Smrg
38660ad07f78Smrgfi
38670ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
38680ad07f78Smrg$as_echo "$ac_cv_path_GREP" >&6; }
38690ad07f78Smrg GREP="$ac_cv_path_GREP"
38700ad07f78Smrg
38710ad07f78Smrg
38720ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
38730ad07f78Smrg$as_echo_n "checking for egrep... " >&6; }
38740ad07f78Smrgif test "${ac_cv_path_EGREP+set}" = set; then
38750ad07f78Smrg  $as_echo_n "(cached) " >&6
387698049353Smrgelse
38770ad07f78Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
38780ad07f78Smrg   then ac_cv_path_EGREP="$GREP -E"
38790ad07f78Smrg   else
38800ad07f78Smrg     if test -z "$EGREP"; then
38810ad07f78Smrg  ac_path_EGREP_found=false
38820ad07f78Smrg  # Loop through the user's path and test for each of PROGNAME-LIST
38830ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38840ad07f78Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
38850ad07f78Smrgdo
38860ad07f78Smrg  IFS=$as_save_IFS
38870ad07f78Smrg  test -z "$as_dir" && as_dir=.
38880ad07f78Smrg  for ac_prog in egrep; do
38890ad07f78Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
38900ad07f78Smrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
38910ad07f78Smrg      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
38920ad07f78Smrg# Check for GNU ac_path_EGREP and select it if it is found.
38930ad07f78Smrg  # Check for GNU $ac_path_EGREP
38940ad07f78Smrgcase `"$ac_path_EGREP" --version 2>&1` in
38950ad07f78Smrg*GNU*)
38960ad07f78Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
38970ad07f78Smrg*)
38980ad07f78Smrg  ac_count=0
38990ad07f78Smrg  $as_echo_n 0123456789 >"conftest.in"
39000ad07f78Smrg  while :
39010ad07f78Smrg  do
39020ad07f78Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
39030ad07f78Smrg    mv "conftest.tmp" "conftest.in"
39040ad07f78Smrg    cp "conftest.in" "conftest.nl"
39050ad07f78Smrg    $as_echo 'EGREP' >> "conftest.nl"
39060ad07f78Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
39070ad07f78Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
39080ad07f78Smrg    ac_count=`expr $ac_count + 1`
39090ad07f78Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
39100ad07f78Smrg      # Best one so far, save it but keep looking for a better one
39110ad07f78Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
39120ad07f78Smrg      ac_path_EGREP_max=$ac_count
39130ad07f78Smrg    fi
39140ad07f78Smrg    # 10*(2^10) chars as input seems more than enough
39150ad07f78Smrg    test $ac_count -gt 10 && break
39160ad07f78Smrg  done
39170ad07f78Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
39180ad07f78Smrgesac
39190ad07f78Smrg
39200ad07f78Smrg      $ac_path_EGREP_found && break 3
39210ad07f78Smrg    done
39220ad07f78Smrg  done
39230ad07f78Smrgdone
39240ad07f78SmrgIFS=$as_save_IFS
39250ad07f78Smrg  if test -z "$ac_cv_path_EGREP"; then
39260ad07f78Smrg    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
39270ad07f78Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
39280ad07f78Smrg   { (exit 1); exit 1; }; }
39290ad07f78Smrg  fi
39300ad07f78Smrgelse
39310ad07f78Smrg  ac_cv_path_EGREP=$EGREP
39320ad07f78Smrgfi
39330ad07f78Smrg
39340ad07f78Smrg   fi
39350ad07f78Smrgfi
39360ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
39370ad07f78Smrg$as_echo "$ac_cv_path_EGREP" >&6; }
39380ad07f78Smrg EGREP="$ac_cv_path_EGREP"
39390ad07f78Smrg
39400ad07f78Smrg
39410ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
39420ad07f78Smrg$as_echo_n "checking for ANSI C header files... " >&6; }
39430ad07f78Smrgif test "${ac_cv_header_stdc+set}" = set; then
39440ad07f78Smrg  $as_echo_n "(cached) " >&6
39450ad07f78Smrgelse
39460ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
39470ad07f78Smrg/* confdefs.h.  */
39480ad07f78Smrg_ACEOF
39490ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
39500ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
39510ad07f78Smrg/* end confdefs.h.  */
39520ad07f78Smrg#include <stdlib.h>
39530ad07f78Smrg#include <stdarg.h>
39540ad07f78Smrg#include <string.h>
39550ad07f78Smrg#include <float.h>
39560ad07f78Smrg
39570ad07f78Smrgint
39580ad07f78Smrgmain ()
39590ad07f78Smrg{
39600ad07f78Smrg
39610ad07f78Smrg  ;
39620ad07f78Smrg  return 0;
39630ad07f78Smrg}
39640ad07f78Smrg_ACEOF
39650ad07f78Smrgrm -f conftest.$ac_objext
39660ad07f78Smrgif { (ac_try="$ac_compile"
39670ad07f78Smrgcase "(($ac_try" in
39680ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39690ad07f78Smrg  *) ac_try_echo=$ac_try;;
39700ad07f78Smrgesac
39710ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39720ad07f78Smrg$as_echo "$ac_try_echo") >&5
39730ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
39740ad07f78Smrg  ac_status=$?
39750ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
39760ad07f78Smrg  rm -f conftest.er1
39770ad07f78Smrg  cat conftest.err >&5
39780ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39790ad07f78Smrg  (exit $ac_status); } && {
39800ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
39810ad07f78Smrg	 test ! -s conftest.err
39820ad07f78Smrg       } && test -s conftest.$ac_objext; then
39830ad07f78Smrg  ac_cv_header_stdc=yes
39840ad07f78Smrgelse
39850ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
39860ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
39870ad07f78Smrg
39880ad07f78Smrg	ac_cv_header_stdc=no
39890ad07f78Smrgfi
39900ad07f78Smrg
39910ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39920ad07f78Smrg
39930ad07f78Smrgif test $ac_cv_header_stdc = yes; then
39940ad07f78Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
39950ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
39960ad07f78Smrg/* confdefs.h.  */
39970ad07f78Smrg_ACEOF
39980ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
39990ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
40000ad07f78Smrg/* end confdefs.h.  */
40010ad07f78Smrg#include <string.h>
40020ad07f78Smrg
40030ad07f78Smrg_ACEOF
40040ad07f78Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40050ad07f78Smrg  $EGREP "memchr" >/dev/null 2>&1; then
40060ad07f78Smrg  :
40070ad07f78Smrgelse
40080ad07f78Smrg  ac_cv_header_stdc=no
40090ad07f78Smrgfi
40100ad07f78Smrgrm -f conftest*
40110ad07f78Smrg
40120ad07f78Smrgfi
40130ad07f78Smrg
40140ad07f78Smrgif test $ac_cv_header_stdc = yes; then
40150ad07f78Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40160ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
40170ad07f78Smrg/* confdefs.h.  */
40180ad07f78Smrg_ACEOF
40190ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
40200ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
40210ad07f78Smrg/* end confdefs.h.  */
40220ad07f78Smrg#include <stdlib.h>
40230ad07f78Smrg
40240ad07f78Smrg_ACEOF
40250ad07f78Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40260ad07f78Smrg  $EGREP "free" >/dev/null 2>&1; then
40270ad07f78Smrg  :
40280ad07f78Smrgelse
40290ad07f78Smrg  ac_cv_header_stdc=no
40300ad07f78Smrgfi
40310ad07f78Smrgrm -f conftest*
40320ad07f78Smrg
40330ad07f78Smrgfi
40340ad07f78Smrg
40350ad07f78Smrgif test $ac_cv_header_stdc = yes; then
40360ad07f78Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
40370ad07f78Smrg  if test "$cross_compiling" = yes; then
40380ad07f78Smrg  :
40390ad07f78Smrgelse
40400ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
40410ad07f78Smrg/* confdefs.h.  */
40420ad07f78Smrg_ACEOF
40430ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
40440ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
40450ad07f78Smrg/* end confdefs.h.  */
40460ad07f78Smrg#include <ctype.h>
40470ad07f78Smrg#include <stdlib.h>
40480ad07f78Smrg#if ((' ' & 0x0FF) == 0x020)
40490ad07f78Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
40500ad07f78Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
40510ad07f78Smrg#else
40520ad07f78Smrg# define ISLOWER(c) \
40530ad07f78Smrg		   (('a' <= (c) && (c) <= 'i') \
40540ad07f78Smrg		     || ('j' <= (c) && (c) <= 'r') \
40550ad07f78Smrg		     || ('s' <= (c) && (c) <= 'z'))
40560ad07f78Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
40570ad07f78Smrg#endif
40580ad07f78Smrg
40590ad07f78Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
40600ad07f78Smrgint
40610ad07f78Smrgmain ()
40620ad07f78Smrg{
40630ad07f78Smrg  int i;
40640ad07f78Smrg  for (i = 0; i < 256; i++)
40650ad07f78Smrg    if (XOR (islower (i), ISLOWER (i))
40660ad07f78Smrg	|| toupper (i) != TOUPPER (i))
40670ad07f78Smrg      return 2;
40680ad07f78Smrg  return 0;
40690ad07f78Smrg}
40700ad07f78Smrg_ACEOF
40710ad07f78Smrgrm -f conftest$ac_exeext
40720ad07f78Smrgif { (ac_try="$ac_link"
40730ad07f78Smrgcase "(($ac_try" in
40740ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40750ad07f78Smrg  *) ac_try_echo=$ac_try;;
40760ad07f78Smrgesac
40770ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40780ad07f78Smrg$as_echo "$ac_try_echo") >&5
40790ad07f78Smrg  (eval "$ac_link") 2>&5
40800ad07f78Smrg  ac_status=$?
40810ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40820ad07f78Smrg  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40830ad07f78Smrg  { (case "(($ac_try" in
40840ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40850ad07f78Smrg  *) ac_try_echo=$ac_try;;
40860ad07f78Smrgesac
40870ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40880ad07f78Smrg$as_echo "$ac_try_echo") >&5
40890ad07f78Smrg  (eval "$ac_try") 2>&5
40900ad07f78Smrg  ac_status=$?
40910ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920ad07f78Smrg  (exit $ac_status); }; }; then
40930ad07f78Smrg  :
40940ad07f78Smrgelse
40950ad07f78Smrg  $as_echo "$as_me: program exited with status $ac_status" >&5
40960ad07f78Smrg$as_echo "$as_me: failed program was:" >&5
40970ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
40980ad07f78Smrg
40990ad07f78Smrg( exit $ac_status )
41000ad07f78Smrgac_cv_header_stdc=no
41010ad07f78Smrgfi
41020ad07f78Smrgrm -rf conftest.dSYM
41030ad07f78Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41040ad07f78Smrgfi
41050ad07f78Smrg
41060ad07f78Smrg
41070ad07f78Smrgfi
41080ad07f78Smrgfi
41090ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
41100ad07f78Smrg$as_echo "$ac_cv_header_stdc" >&6; }
41110ad07f78Smrgif test $ac_cv_header_stdc = yes; then
41120ad07f78Smrg
41130ad07f78Smrgcat >>confdefs.h <<\_ACEOF
41140ad07f78Smrg#define STDC_HEADERS 1
41150ad07f78Smrg_ACEOF
41160ad07f78Smrg
41170ad07f78Smrgfi
41180ad07f78Smrg
41190ad07f78Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
41200ad07f78Smrg
41210ad07f78Smrg
41220ad07f78Smrg
41230ad07f78Smrg
41240ad07f78Smrg
41250ad07f78Smrg
41260ad07f78Smrg
41270ad07f78Smrg
41280ad07f78Smrg
41290ad07f78Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
41300ad07f78Smrg		  inttypes.h stdint.h unistd.h
41310ad07f78Smrgdo
41320ad07f78Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
41330ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
41340ad07f78Smrg$as_echo_n "checking for $ac_header... " >&6; }
41350ad07f78Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41360ad07f78Smrg  $as_echo_n "(cached) " >&6
41370ad07f78Smrgelse
41380ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
41390ad07f78Smrg/* confdefs.h.  */
41400ad07f78Smrg_ACEOF
41410ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
41420ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
41430ad07f78Smrg/* end confdefs.h.  */
41440ad07f78Smrg$ac_includes_default
41450ad07f78Smrg
41460ad07f78Smrg#include <$ac_header>
41470ad07f78Smrg_ACEOF
41480ad07f78Smrgrm -f conftest.$ac_objext
41490ad07f78Smrgif { (ac_try="$ac_compile"
41500ad07f78Smrgcase "(($ac_try" in
41510ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41520ad07f78Smrg  *) ac_try_echo=$ac_try;;
41530ad07f78Smrgesac
41540ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41550ad07f78Smrg$as_echo "$ac_try_echo") >&5
41560ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
41570ad07f78Smrg  ac_status=$?
41580ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
41590ad07f78Smrg  rm -f conftest.er1
41600ad07f78Smrg  cat conftest.err >&5
41610ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620ad07f78Smrg  (exit $ac_status); } && {
41630ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
41640ad07f78Smrg	 test ! -s conftest.err
41650ad07f78Smrg       } && test -s conftest.$ac_objext; then
41660ad07f78Smrg  eval "$as_ac_Header=yes"
41670ad07f78Smrgelse
41680ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
41690ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
41700ad07f78Smrg
41710ad07f78Smrg	eval "$as_ac_Header=no"
41720ad07f78Smrgfi
41730ad07f78Smrg
41740ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41750ad07f78Smrgfi
41760ad07f78Smrgac_res=`eval 'as_val=${'$as_ac_Header'}
41770ad07f78Smrg		 $as_echo "$as_val"'`
41780ad07f78Smrg	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
41790ad07f78Smrg$as_echo "$ac_res" >&6; }
41800ad07f78Smrgas_val=`eval 'as_val=${'$as_ac_Header'}
41810ad07f78Smrg		 $as_echo "$as_val"'`
41820ad07f78Smrg   if test "x$as_val" = x""yes; then
41830ad07f78Smrg  cat >>confdefs.h <<_ACEOF
41840ad07f78Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
41850ad07f78Smrg_ACEOF
41860ad07f78Smrg
41870ad07f78Smrgfi
41880ad07f78Smrg
41890ad07f78Smrgdone
41900ad07f78Smrg
41910ad07f78Smrg
41920ad07f78Smrg   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
41930ad07f78Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
41940ad07f78Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then
41950ad07f78Smrg  $as_echo_n "(cached) " >&6
41960ad07f78Smrgelse
41970ad07f78Smrg  ac_cv_prog_cc_c99=no
41980ad07f78Smrgac_save_CC=$CC
41990ad07f78Smrgcat >conftest.$ac_ext <<_ACEOF
42000ad07f78Smrg/* confdefs.h.  */
42010ad07f78Smrg_ACEOF
42020ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
42030ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
42040ad07f78Smrg/* end confdefs.h.  */
42050ad07f78Smrg#include <stdarg.h>
42060ad07f78Smrg#include <stdbool.h>
42070ad07f78Smrg#include <stdlib.h>
42080ad07f78Smrg#include <wchar.h>
42090ad07f78Smrg#include <stdio.h>
42100ad07f78Smrg
42110ad07f78Smrg// Check varargs macros.  These examples are taken from C99 6.10.3.5.
42120ad07f78Smrg#define debug(...) fprintf (stderr, __VA_ARGS__)
42130ad07f78Smrg#define showlist(...) puts (#__VA_ARGS__)
42140ad07f78Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
42150ad07f78Smrgstatic void
42160ad07f78Smrgtest_varargs_macros (void)
42170ad07f78Smrg{
42180ad07f78Smrg  int x = 1234;
42190ad07f78Smrg  int y = 5678;
42200ad07f78Smrg  debug ("Flag");
42210ad07f78Smrg  debug ("X = %d\n", x);
42220ad07f78Smrg  showlist (The first, second, and third items.);
42230ad07f78Smrg  report (x>y, "x is %d but y is %d", x, y);
42240ad07f78Smrg}
42250ad07f78Smrg
42260ad07f78Smrg// Check long long types.
42270ad07f78Smrg#define BIG64 18446744073709551615ull
42280ad07f78Smrg#define BIG32 4294967295ul
42290ad07f78Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
42300ad07f78Smrg#if !BIG_OK
42310ad07f78Smrg  your preprocessor is broken;
42320ad07f78Smrg#endif
42330ad07f78Smrg#if BIG_OK
42340ad07f78Smrg#else
42350ad07f78Smrg  your preprocessor is broken;
42360ad07f78Smrg#endif
42370ad07f78Smrgstatic long long int bignum = -9223372036854775807LL;
42380ad07f78Smrgstatic unsigned long long int ubignum = BIG64;
42390ad07f78Smrg
42400ad07f78Smrgstruct incomplete_array
42410ad07f78Smrg{
42420ad07f78Smrg  int datasize;
42430ad07f78Smrg  double data[];
42440ad07f78Smrg};
42450ad07f78Smrg
42460ad07f78Smrgstruct named_init {
42470ad07f78Smrg  int number;
42480ad07f78Smrg  const wchar_t *name;
42490ad07f78Smrg  double average;
42500ad07f78Smrg};
42510ad07f78Smrg
42520ad07f78Smrgtypedef const char *ccp;
42530ad07f78Smrg
42540ad07f78Smrgstatic inline int
42550ad07f78Smrgtest_restrict (ccp restrict text)
42560ad07f78Smrg{
42570ad07f78Smrg  // See if C++-style comments work.
42580ad07f78Smrg  // Iterate through items via the restricted pointer.
42590ad07f78Smrg  // Also check for declarations in for loops.
42600ad07f78Smrg  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
42610ad07f78Smrg    continue;
42620ad07f78Smrg  return 0;
42630ad07f78Smrg}
42640ad07f78Smrg
42650ad07f78Smrg// Check varargs and va_copy.
42660ad07f78Smrgstatic void
42670ad07f78Smrgtest_varargs (const char *format, ...)
42680ad07f78Smrg{
42690ad07f78Smrg  va_list args;
42700ad07f78Smrg  va_start (args, format);
42710ad07f78Smrg  va_list args_copy;
42720ad07f78Smrg  va_copy (args_copy, args);
42730ad07f78Smrg
42740ad07f78Smrg  const char *str;
42750ad07f78Smrg  int number;
42760ad07f78Smrg  float fnumber;
42770ad07f78Smrg
42780ad07f78Smrg  while (*format)
42790ad07f78Smrg    {
42800ad07f78Smrg      switch (*format++)
42810ad07f78Smrg	{
42820ad07f78Smrg	case 's': // string
42830ad07f78Smrg	  str = va_arg (args_copy, const char *);
42840ad07f78Smrg	  break;
42850ad07f78Smrg	case 'd': // int
42860ad07f78Smrg	  number = va_arg (args_copy, int);
42870ad07f78Smrg	  break;
42880ad07f78Smrg	case 'f': // float
42890ad07f78Smrg	  fnumber = va_arg (args_copy, double);
42900ad07f78Smrg	  break;
42910ad07f78Smrg	default:
42920ad07f78Smrg	  break;
42930ad07f78Smrg	}
42940ad07f78Smrg    }
42950ad07f78Smrg  va_end (args_copy);
42960ad07f78Smrg  va_end (args);
42970ad07f78Smrg}
42980ad07f78Smrg
42990ad07f78Smrgint
43000ad07f78Smrgmain ()
43010ad07f78Smrg{
43020ad07f78Smrg
43030ad07f78Smrg  // Check bool.
43040ad07f78Smrg  _Bool success = false;
43050ad07f78Smrg
43060ad07f78Smrg  // Check restrict.
43070ad07f78Smrg  if (test_restrict ("String literal") == 0)
43080ad07f78Smrg    success = true;
43090ad07f78Smrg  char *restrict newvar = "Another string";
43100ad07f78Smrg
43110ad07f78Smrg  // Check varargs.
43120ad07f78Smrg  test_varargs ("s, d' f .", "string", 65, 34.234);
43130ad07f78Smrg  test_varargs_macros ();
43140ad07f78Smrg
43150ad07f78Smrg  // Check flexible array members.
43160ad07f78Smrg  struct incomplete_array *ia =
43170ad07f78Smrg    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
43180ad07f78Smrg  ia->datasize = 10;
43190ad07f78Smrg  for (int i = 0; i < ia->datasize; ++i)
43200ad07f78Smrg    ia->data[i] = i * 1.234;
43210ad07f78Smrg
43220ad07f78Smrg  // Check named initializers.
43230ad07f78Smrg  struct named_init ni = {
43240ad07f78Smrg    .number = 34,
43250ad07f78Smrg    .name = L"Test wide string",
43260ad07f78Smrg    .average = 543.34343,
43270ad07f78Smrg  };
43280ad07f78Smrg
43290ad07f78Smrg  ni.number = 58;
43300ad07f78Smrg
43310ad07f78Smrg  int dynamic_array[ni.number];
43320ad07f78Smrg  dynamic_array[ni.number - 1] = 543;
43330ad07f78Smrg
43340ad07f78Smrg  // work around unused variable warnings
43350ad07f78Smrg  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
43360ad07f78Smrg	  || dynamic_array[ni.number - 1] != 543);
43370ad07f78Smrg
43380ad07f78Smrg  ;
43390ad07f78Smrg  return 0;
43400ad07f78Smrg}
43410ad07f78Smrg_ACEOF
43420ad07f78Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
43430ad07f78Smrgdo
43440ad07f78Smrg  CC="$ac_save_CC $ac_arg"
43450ad07f78Smrg  rm -f conftest.$ac_objext
43460ad07f78Smrgif { (ac_try="$ac_compile"
43470ad07f78Smrgcase "(($ac_try" in
43480ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43490ad07f78Smrg  *) ac_try_echo=$ac_try;;
43500ad07f78Smrgesac
43510ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43520ad07f78Smrg$as_echo "$ac_try_echo") >&5
43530ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
43540ad07f78Smrg  ac_status=$?
43550ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
43560ad07f78Smrg  rm -f conftest.er1
43570ad07f78Smrg  cat conftest.err >&5
43580ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43590ad07f78Smrg  (exit $ac_status); } && {
43600ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
43610ad07f78Smrg	 test ! -s conftest.err
43620ad07f78Smrg       } && test -s conftest.$ac_objext; then
43630ad07f78Smrg  ac_cv_prog_cc_c99=$ac_arg
43640ad07f78Smrgelse
43650ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
43660ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
43670ad07f78Smrg
43680ad07f78Smrg
43690ad07f78Smrgfi
43700ad07f78Smrg
43710ad07f78Smrgrm -f core conftest.err conftest.$ac_objext
43720ad07f78Smrg  test "x$ac_cv_prog_cc_c99" != "xno" && break
43730ad07f78Smrgdone
43740ad07f78Smrgrm -f conftest.$ac_ext
43750ad07f78SmrgCC=$ac_save_CC
43760ad07f78Smrg
43770ad07f78Smrgfi
43780ad07f78Smrg# AC_CACHE_VAL
43790ad07f78Smrgcase "x$ac_cv_prog_cc_c99" in
43800ad07f78Smrg  x)
43810ad07f78Smrg    { $as_echo "$as_me:$LINENO: result: none needed" >&5
43820ad07f78Smrg$as_echo "none needed" >&6; } ;;
43830ad07f78Smrg  xno)
43840ad07f78Smrg    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
43850ad07f78Smrg$as_echo "unsupported" >&6; } ;;
43860ad07f78Smrg  *)
43870ad07f78Smrg    CC="$CC $ac_cv_prog_cc_c99"
43880ad07f78Smrg    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
43890ad07f78Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
43900ad07f78Smrgesac
43910ad07f78Smrg
43920ad07f78Smrg
43930ad07f78Smrg
43940ad07f78Smrg# Make sure we can run config.sub.
43950ad07f78Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
43960ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
43970ad07f78Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
43980ad07f78Smrg   { (exit 1); exit 1; }; }
43990ad07f78Smrg
44000ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5
44010ad07f78Smrg$as_echo_n "checking build system type... " >&6; }
44020ad07f78Smrgif test "${ac_cv_build+set}" = set; then
44030ad07f78Smrg  $as_echo_n "(cached) " >&6
44040ad07f78Smrgelse
44050ad07f78Smrg  ac_build_alias=$build_alias
44060ad07f78Smrgtest "x$ac_build_alias" = x &&
44070ad07f78Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
44080ad07f78Smrgtest "x$ac_build_alias" = x &&
44090ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
44100ad07f78Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
44110ad07f78Smrg   { (exit 1); exit 1; }; }
44120ad07f78Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
44130ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
44140ad07f78Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
44150ad07f78Smrg   { (exit 1); exit 1; }; }
44160ad07f78Smrg
44170ad07f78Smrgfi
44180ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
44190ad07f78Smrg$as_echo "$ac_cv_build" >&6; }
44200ad07f78Smrgcase $ac_cv_build in
44210ad07f78Smrg*-*-*) ;;
44220ad07f78Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
44230ad07f78Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;}
44240ad07f78Smrg   { (exit 1); exit 1; }; };;
44250ad07f78Smrgesac
44260ad07f78Smrgbuild=$ac_cv_build
44270ad07f78Smrgac_save_IFS=$IFS; IFS='-'
44280ad07f78Smrgset x $ac_cv_build
44290ad07f78Smrgshift
44300ad07f78Smrgbuild_cpu=$1
44310ad07f78Smrgbuild_vendor=$2
44320ad07f78Smrgshift; shift
44330ad07f78Smrg# Remember, the first character of IFS is used to create $*,
44340ad07f78Smrg# except with old shells:
44350ad07f78Smrgbuild_os=$*
44360ad07f78SmrgIFS=$ac_save_IFS
44370ad07f78Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
44380ad07f78Smrg
44390ad07f78Smrg
44400ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5
44410ad07f78Smrg$as_echo_n "checking host system type... " >&6; }
44420ad07f78Smrgif test "${ac_cv_host+set}" = set; then
44430ad07f78Smrg  $as_echo_n "(cached) " >&6
44440ad07f78Smrgelse
44450ad07f78Smrg  if test "x$host_alias" = x; then
44460ad07f78Smrg  ac_cv_host=$ac_cv_build
44470ad07f78Smrgelse
44480ad07f78Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
44490ad07f78Smrg    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
44500ad07f78Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
44510ad07f78Smrg   { (exit 1); exit 1; }; }
44520ad07f78Smrgfi
44530ad07f78Smrg
44540ad07f78Smrgfi
44550ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
44560ad07f78Smrg$as_echo "$ac_cv_host" >&6; }
44570ad07f78Smrgcase $ac_cv_host in
44580ad07f78Smrg*-*-*) ;;
44590ad07f78Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
44600ad07f78Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;}
44610ad07f78Smrg   { (exit 1); exit 1; }; };;
44620ad07f78Smrgesac
44630ad07f78Smrghost=$ac_cv_host
44640ad07f78Smrgac_save_IFS=$IFS; IFS='-'
44650ad07f78Smrgset x $ac_cv_host
44660ad07f78Smrgshift
44670ad07f78Smrghost_cpu=$1
44680ad07f78Smrghost_vendor=$2
44690ad07f78Smrgshift; shift
44700ad07f78Smrg# Remember, the first character of IFS is used to create $*,
44710ad07f78Smrg# except with old shells:
44720ad07f78Smrghost_os=$*
44730ad07f78SmrgIFS=$ac_save_IFS
44740ad07f78Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
44750ad07f78Smrg
44760ad07f78Smrg
44770ad07f78Smrg
44780ad07f78Smrg
44790ad07f78Smrg
44800ad07f78Smrgif  test "x$GCC" = xyes ; then
44810ad07f78Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
44820ad07f78Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
44830ad07f78Smrg-Wbad-function-cast"
44840ad07f78Smrg    case `$CC -dumpversion` in
44850ad07f78Smrg    3.4.* | 4.*)
44860ad07f78Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
44870ad07f78Smrg	;;
44880ad07f78Smrg    esac
44890ad07f78Smrgelse
44900ad07f78Smrg    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
44910ad07f78Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
44920ad07f78Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
44930ad07f78Smrg  $as_echo_n "(cached) " >&6
44940ad07f78Smrgelse
44950ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
44960ad07f78Smrg/* confdefs.h.  */
44970ad07f78Smrg_ACEOF
44980ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
44990ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
45000ad07f78Smrg/* end confdefs.h.  */
45010ad07f78Smrg$ac_includes_default
45020ad07f78Smrgint
45030ad07f78Smrgmain ()
45040ad07f78Smrg{
45050ad07f78Smrg#ifndef __SUNPRO_C
45060ad07f78Smrg  (void) __SUNPRO_C;
45070ad07f78Smrg#endif
45080ad07f78Smrg
45090ad07f78Smrg  ;
45100ad07f78Smrg  return 0;
45110ad07f78Smrg}
45120ad07f78Smrg_ACEOF
45130ad07f78Smrgrm -f conftest.$ac_objext
45140ad07f78Smrgif { (ac_try="$ac_compile"
45150ad07f78Smrgcase "(($ac_try" in
45160ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45170ad07f78Smrg  *) ac_try_echo=$ac_try;;
45180ad07f78Smrgesac
45190ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45200ad07f78Smrg$as_echo "$ac_try_echo") >&5
45210ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
45220ad07f78Smrg  ac_status=$?
45230ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
45240ad07f78Smrg  rm -f conftest.er1
45250ad07f78Smrg  cat conftest.err >&5
45260ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270ad07f78Smrg  (exit $ac_status); } && {
45280ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
45290ad07f78Smrg	 test ! -s conftest.err
45300ad07f78Smrg       } && test -s conftest.$ac_objext; then
45310ad07f78Smrg  ac_cv_have_decl___SUNPRO_C=yes
45320ad07f78Smrgelse
45330ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
45340ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
45350ad07f78Smrg
45360ad07f78Smrg	ac_cv_have_decl___SUNPRO_C=no
45370ad07f78Smrgfi
45380ad07f78Smrg
45390ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45400ad07f78Smrgfi
45410ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
45420ad07f78Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
45430ad07f78Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
45440ad07f78Smrg  SUNCC="yes"
45450ad07f78Smrgelse
45460ad07f78Smrg  SUNCC="no"
45470ad07f78Smrgfi
45480ad07f78Smrg
45490ad07f78Smrg    if test "x$SUNCC" = "xyes"; then
45500ad07f78Smrg	CWARNFLAGS="-v"
45510ad07f78Smrg    fi
45520ad07f78Smrgfi
45530ad07f78Smrg
45540ad07f78Smrg# Check whether --enable-silent-rules was given.
45550ad07f78Smrgif test "${enable_silent_rules+set}" = set; then
45560ad07f78Smrg  enableval=$enable_silent_rules;
45570ad07f78Smrgfi
45580ad07f78Smrg
45590ad07f78Smrgcase $enable_silent_rules in
45600ad07f78Smrgyes) AM_DEFAULT_VERBOSITY=0;;
45610ad07f78Smrgno)  AM_DEFAULT_VERBOSITY=1;;
45620ad07f78Smrg*)   AM_DEFAULT_VERBOSITY=0;;
45630ad07f78Smrgesac
45640ad07f78SmrgAM_BACKSLASH='\'
45650ad07f78Smrg
45660ad07f78Smrg
45670ad07f78Smrg
45680ad07f78Smrg
45690ad07f78Smrg
45700ad07f78Smrg
45710ad07f78Smrg
45720ad07f78Smrg# Check whether --enable-strict-compilation was given.
45730ad07f78Smrgif test "${enable_strict_compilation+set}" = set; then
45740ad07f78Smrg  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
45750ad07f78Smrgelse
45760ad07f78Smrg  STRICT_COMPILE=no
45770ad07f78Smrgfi
45780ad07f78Smrg
45790ad07f78Smrgif test "x$STRICT_COMPILE" = "xyes"; then
45800ad07f78Smrg	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
45810ad07f78Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
45820ad07f78Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
45830ad07f78Smrg  $as_echo_n "(cached) " >&6
45840ad07f78Smrgelse
45850ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
45860ad07f78Smrg/* confdefs.h.  */
45870ad07f78Smrg_ACEOF
45880ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
45890ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
45900ad07f78Smrg/* end confdefs.h.  */
45910ad07f78Smrg$ac_includes_default
45920ad07f78Smrgint
45930ad07f78Smrgmain ()
45940ad07f78Smrg{
45950ad07f78Smrg#ifndef __SUNPRO_C
45960ad07f78Smrg  (void) __SUNPRO_C;
45970ad07f78Smrg#endif
45980ad07f78Smrg
45990ad07f78Smrg  ;
46000ad07f78Smrg  return 0;
46010ad07f78Smrg}
46020ad07f78Smrg_ACEOF
46030ad07f78Smrgrm -f conftest.$ac_objext
46040ad07f78Smrgif { (ac_try="$ac_compile"
46050ad07f78Smrgcase "(($ac_try" in
46060ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46070ad07f78Smrg  *) ac_try_echo=$ac_try;;
46080ad07f78Smrgesac
46090ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46100ad07f78Smrg$as_echo "$ac_try_echo") >&5
46110ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
46120ad07f78Smrg  ac_status=$?
46130ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
46140ad07f78Smrg  rm -f conftest.er1
46150ad07f78Smrg  cat conftest.err >&5
46160ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46170ad07f78Smrg  (exit $ac_status); } && {
46180ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
46190ad07f78Smrg	 test ! -s conftest.err
46200ad07f78Smrg       } && test -s conftest.$ac_objext; then
46210ad07f78Smrg  ac_cv_have_decl___SUNPRO_C=yes
46220ad07f78Smrgelse
46230ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
46240ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
46250ad07f78Smrg
46260ad07f78Smrg	ac_cv_have_decl___SUNPRO_C=no
46270ad07f78Smrgfi
46280ad07f78Smrg
46290ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46300ad07f78Smrgfi
46310ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
46320ad07f78Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
46330ad07f78Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
46340ad07f78Smrg  SUNCC="yes"
46350ad07f78Smrgelse
46360ad07f78Smrg  SUNCC="no"
46370ad07f78Smrgfi
46380ad07f78Smrg
46390ad07f78Smrg	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
46400ad07f78Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
46410ad07f78Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
46420ad07f78Smrg  $as_echo_n "(cached) " >&6
46430ad07f78Smrgelse
46440ad07f78Smrg  cat >conftest.$ac_ext <<_ACEOF
46450ad07f78Smrg/* confdefs.h.  */
46460ad07f78Smrg_ACEOF
46470ad07f78Smrgcat confdefs.h >>conftest.$ac_ext
46480ad07f78Smrgcat >>conftest.$ac_ext <<_ACEOF
46490ad07f78Smrg/* end confdefs.h.  */
46500ad07f78Smrg$ac_includes_default
46510ad07f78Smrgint
46520ad07f78Smrgmain ()
46530ad07f78Smrg{
46540ad07f78Smrg#ifndef __INTEL_COMPILER
46550ad07f78Smrg  (void) __INTEL_COMPILER;
46560ad07f78Smrg#endif
46570ad07f78Smrg
46580ad07f78Smrg  ;
46590ad07f78Smrg  return 0;
46600ad07f78Smrg}
46610ad07f78Smrg_ACEOF
46620ad07f78Smrgrm -f conftest.$ac_objext
46630ad07f78Smrgif { (ac_try="$ac_compile"
46640ad07f78Smrgcase "(($ac_try" in
46650ad07f78Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46660ad07f78Smrg  *) ac_try_echo=$ac_try;;
46670ad07f78Smrgesac
46680ad07f78Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46690ad07f78Smrg$as_echo "$ac_try_echo") >&5
46700ad07f78Smrg  (eval "$ac_compile") 2>conftest.er1
46710ad07f78Smrg  ac_status=$?
46720ad07f78Smrg  grep -v '^ *+' conftest.er1 >conftest.err
46730ad07f78Smrg  rm -f conftest.er1
46740ad07f78Smrg  cat conftest.err >&5
46750ad07f78Smrg  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760ad07f78Smrg  (exit $ac_status); } && {
46770ad07f78Smrg	 test -z "$ac_c_werror_flag" ||
46780ad07f78Smrg	 test ! -s conftest.err
46790ad07f78Smrg       } && test -s conftest.$ac_objext; then
46800ad07f78Smrg  ac_cv_have_decl___INTEL_COMPILER=yes
46810ad07f78Smrgelse
46820ad07f78Smrg  $as_echo "$as_me: failed program was:" >&5
46830ad07f78Smrgsed 's/^/| /' conftest.$ac_ext >&5
46840ad07f78Smrg
46850ad07f78Smrg	ac_cv_have_decl___INTEL_COMPILER=no
46860ad07f78Smrgfi
46870ad07f78Smrg
46880ad07f78Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46890ad07f78Smrgfi
46900ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
46910ad07f78Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
46920ad07f78Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
46930ad07f78Smrg  INTELCC="yes"
46940ad07f78Smrgelse
46950ad07f78Smrg  INTELCC="no"
46960ad07f78Smrgfi
46970ad07f78Smrg
46980ad07f78Smrg	if test "x$GCC" = xyes ; then
46990ad07f78Smrg		STRICT_CFLAGS="-pedantic -Werror"
47000ad07f78Smrg	elif test "x$SUNCC" = "xyes"; then
47010ad07f78Smrg		STRICT_CFLAGS="-errwarn"
47020ad07f78Smrg    elif test "x$INTELCC" = "xyes"; then
47030ad07f78Smrg		STRICT_CFLAGS="-Werror"
47040ad07f78Smrg	fi
47050ad07f78Smrgfi
47060ad07f78SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
47070ad07f78Smrg
47080ad07f78Smrg
47090ad07f78Smrg
47100ad07f78Smrg
47110ad07f78Smrg# Check whether --with-release-version was given.
47120ad07f78Smrgif test "${with_release_version+set}" = set; then
47130ad07f78Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
47140ad07f78Smrgelse
47150ad07f78Smrg  RELEASE_VERSION=""
47160ad07f78Smrgfi
47170ad07f78Smrg
47180ad07f78Smrg	if test "x$RELEASE_VERSION" != "x"; then
47190ad07f78Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
47200ad07f78Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
47210ad07f78Smrg		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
47220ad07f78Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
47230ad07f78Smrg	fi
47240ad07f78Smrg
47250ad07f78Smrgcat >>confdefs.h <<_ACEOF
47260ad07f78Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
47270ad07f78Smrg_ACEOF
47280ad07f78Smrg
47290ad07f78Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
47300ad07f78Smrg	if test "x$PVM" = "x"; then
47310ad07f78Smrg		PVM="0"
47320ad07f78Smrg	fi
47330ad07f78Smrg
47340ad07f78Smrgcat >>confdefs.h <<_ACEOF
47350ad07f78Smrg#define PACKAGE_VERSION_MINOR $PVM
47360ad07f78Smrg_ACEOF
47370ad07f78Smrg
47380ad07f78Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
47390ad07f78Smrg	if test "x$PVP" = "x"; then
47400ad07f78Smrg		PVP="0"
47410ad07f78Smrg	fi
47420ad07f78Smrg
47430ad07f78Smrgcat >>confdefs.h <<_ACEOF
47440ad07f78Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
47450ad07f78Smrg_ACEOF
47460ad07f78Smrg
47470ad07f78Smrg
47480ad07f78Smrg
47490ad07f78SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
47500ad07f78Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
47510ad07f78Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
47520ad07f78Smrg
47530ad07f78Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
47540ad07f78Smrg
47550ad07f78Smrg
47560ad07f78Smrg
47570ad07f78Smrg
47580ad07f78Smrg
47590ad07f78Smrgif test x$APP_MAN_SUFFIX = x    ; then
47600ad07f78Smrg    APP_MAN_SUFFIX=1
47610ad07f78Smrgfi
47620ad07f78Smrgif test x$APP_MAN_DIR = x    ; then
47630ad07f78Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
476498049353Smrgfi
476598049353Smrg
47660ad07f78Smrgif test x$LIB_MAN_SUFFIX = x    ; then
47670ad07f78Smrg    LIB_MAN_SUFFIX=3
47680ad07f78Smrgfi
47690ad07f78Smrgif test x$LIB_MAN_DIR = x    ; then
47700ad07f78Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
47710ad07f78Smrgfi
47720ad07f78Smrg
47730ad07f78Smrgif test x$FILE_MAN_SUFFIX = x    ; then
47740ad07f78Smrg    case $host_os in
47750ad07f78Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
47760ad07f78Smrg	*)		FILE_MAN_SUFFIX=5  ;;
47770ad07f78Smrg    esac
47780ad07f78Smrgfi
47790ad07f78Smrgif test x$FILE_MAN_DIR = x    ; then
47800ad07f78Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
47810ad07f78Smrgfi
47820ad07f78Smrg
47830ad07f78Smrgif test x$MISC_MAN_SUFFIX = x    ; then
47840ad07f78Smrg    case $host_os in
47850ad07f78Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
47860ad07f78Smrg	*)		MISC_MAN_SUFFIX=7  ;;
47870ad07f78Smrg    esac
47880ad07f78Smrgfi
47890ad07f78Smrgif test x$MISC_MAN_DIR = x    ; then
47900ad07f78Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
47910ad07f78Smrgfi
47920ad07f78Smrg
47930ad07f78Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
47940ad07f78Smrg    case $host_os in
47950ad07f78Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
47960ad07f78Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
47970ad07f78Smrg    esac
47980ad07f78Smrgfi
47990ad07f78Smrgif test x$DRIVER_MAN_DIR = x    ; then
48000ad07f78Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
48010ad07f78Smrgfi
48020ad07f78Smrg
48030ad07f78Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
48040ad07f78Smrg    case $host_os in
48050ad07f78Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
48060ad07f78Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
48070ad07f78Smrg    esac
48080ad07f78Smrgfi
48090ad07f78Smrgif test x$ADMIN_MAN_DIR = x    ; then
48100ad07f78Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
48110ad07f78Smrgfi
48120ad07f78Smrg
48130ad07f78Smrg
48140ad07f78Smrg
48150ad07f78Smrg
48160ad07f78Smrg
48170ad07f78Smrg
48180ad07f78Smrg
48190ad07f78Smrg
48200ad07f78Smrg
48210ad07f78Smrg
48220ad07f78Smrg
48230ad07f78Smrg
48240ad07f78Smrg
48250ad07f78Smrg
482698049353Smrg
482798049353Smrg
482898049353Smrg
482998049353Smrg# Find a good install program.  We prefer a C program (faster),
483098049353Smrg# so one script is as good as another.  But avoid the broken or
483198049353Smrg# incompatible versions:
483298049353Smrg# SysV /etc/install, /usr/sbin/install
483398049353Smrg# SunOS /usr/etc/install
483498049353Smrg# IRIX /sbin/install
483598049353Smrg# AIX /bin/install
483698049353Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
483798049353Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
483898049353Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
483998049353Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
484098049353Smrg# OS/2's system install, which has a completely different semantic
484198049353Smrg# ./install, which can be erroneously created by make from ./install.sh.
48420ad07f78Smrg# Reject install programs that cannot install multiple files.
48430ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48440ad07f78Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
484598049353Smrgif test -z "$INSTALL"; then
484698049353Smrgif test "${ac_cv_path_install+set}" = set; then
48470ad07f78Smrg  $as_echo_n "(cached) " >&6
484898049353Smrgelse
484998049353Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
485098049353Smrgfor as_dir in $PATH
485198049353Smrgdo
485298049353Smrg  IFS=$as_save_IFS
485398049353Smrg  test -z "$as_dir" && as_dir=.
485498049353Smrg  # Account for people who put trailing slashes in PATH elements.
485598049353Smrgcase $as_dir/ in
485698049353Smrg  ./ | .// | /cC/* | \
485798049353Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
485898049353Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
485998049353Smrg  /usr/ucb/* ) ;;
486098049353Smrg  *)
486198049353Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
486298049353Smrg    # Don't use installbsd from OSF since it installs stuff as root
486398049353Smrg    # by default.
486498049353Smrg    for ac_prog in ginstall scoinst install; do
486598049353Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
48660ad07f78Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
486798049353Smrg	  if test $ac_prog = install &&
486898049353Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
486998049353Smrg	    # AIX install.  It has an incompatible calling convention.
487098049353Smrg	    :
487198049353Smrg	  elif test $ac_prog = install &&
487298049353Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
487398049353Smrg	    # program-specific install script used by HP pwplus--don't use.
487498049353Smrg	    :
487598049353Smrg	  else
48760ad07f78Smrg	    rm -rf conftest.one conftest.two conftest.dir
48770ad07f78Smrg	    echo one > conftest.one
48780ad07f78Smrg	    echo two > conftest.two
48790ad07f78Smrg	    mkdir conftest.dir
48800ad07f78Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
48810ad07f78Smrg	      test -s conftest.one && test -s conftest.two &&
48820ad07f78Smrg	      test -s conftest.dir/conftest.one &&
48830ad07f78Smrg	      test -s conftest.dir/conftest.two
48840ad07f78Smrg	    then
48850ad07f78Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48860ad07f78Smrg	      break 3
48870ad07f78Smrg	    fi
488898049353Smrg	  fi
488998049353Smrg	fi
489098049353Smrg      done
489198049353Smrg    done
489298049353Smrg    ;;
489398049353Smrgesac
48940ad07f78Smrg
489598049353Smrgdone
48960ad07f78SmrgIFS=$as_save_IFS
489798049353Smrg
48980ad07f78Smrgrm -rf conftest.one conftest.two conftest.dir
489998049353Smrg
490098049353Smrgfi
490198049353Smrg  if test "${ac_cv_path_install+set}" = set; then
490298049353Smrg    INSTALL=$ac_cv_path_install
490398049353Smrg  else
49040ad07f78Smrg    # As a last resort, use the slow shell script.  Don't cache a
49050ad07f78Smrg    # value for INSTALL within a source directory, because that will
490698049353Smrg    # break other packages using the cache if that directory is
49070ad07f78Smrg    # removed, or if the value is a relative name.
490898049353Smrg    INSTALL=$ac_install_sh
490998049353Smrg  fi
491098049353Smrgfi
49110ad07f78Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
49120ad07f78Smrg$as_echo "$INSTALL" >&6; }
491398049353Smrg
491498049353Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
491598049353Smrg# It thinks the first close brace ends the variable substitution.
491698049353Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
491798049353Smrg
491898049353Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
491998049353Smrg
492098049353Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
492198049353Smrg
492298049353Smrg
49230ad07f78Smrg# Require X.Org's font util macros 1.1 or later
49240ad07f78Smrg
49250ad07f78Smrg
49260ad07f78Smrg
49270ad07f78Smrg
49280ad07f78Smrg
49290ad07f78Smrg
49300ad07f78Smrg
49310ad07f78Smrg
49320ad07f78Smrg
49330ad07f78Smrg
49340ad07f78Smrg
49350ad07f78Smrg
49360ad07f78Smrg
49370ad07f78Smrg
49380ad07f78Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
49390ad07f78Smrg	if test -n "$ac_tool_prefix"; then
49400ad07f78Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
49410ad07f78Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
49420ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49430ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
49440ad07f78Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
49450ad07f78Smrg  $as_echo_n "(cached) " >&6
494698049353Smrgelse
49470ad07f78Smrg  case $PKG_CONFIG in
494898049353Smrg  [\\/]* | ?:[\\/]*)
49490ad07f78Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
495098049353Smrg  ;;
495198049353Smrg  *)
495298049353Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
495398049353Smrgfor as_dir in $PATH
495498049353Smrgdo
495598049353Smrg  IFS=$as_save_IFS
495698049353Smrg  test -z "$as_dir" && as_dir=.
495798049353Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
49580ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49590ad07f78Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49600ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
496198049353Smrg    break 2
496298049353Smrg  fi
496398049353Smrgdone
496498049353Smrgdone
49650ad07f78SmrgIFS=$as_save_IFS
496698049353Smrg
496798049353Smrg  ;;
496898049353Smrgesac
496998049353Smrgfi
49700ad07f78SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
49710ad07f78Smrgif test -n "$PKG_CONFIG"; then
49720ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
49730ad07f78Smrg$as_echo "$PKG_CONFIG" >&6; }
497498049353Smrgelse
49750ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
49760ad07f78Smrg$as_echo "no" >&6; }
497798049353Smrgfi
497898049353Smrg
49790ad07f78Smrg
49800ad07f78Smrgfi
49810ad07f78Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
49820ad07f78Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
49830ad07f78Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
49840ad07f78Smrgset dummy pkg-config; ac_word=$2
49850ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49860ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
49870ad07f78Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
49880ad07f78Smrg  $as_echo_n "(cached) " >&6
498998049353Smrgelse
49900ad07f78Smrg  case $ac_pt_PKG_CONFIG in
499198049353Smrg  [\\/]* | ?:[\\/]*)
49920ad07f78Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
499398049353Smrg  ;;
499498049353Smrg  *)
499598049353Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
499698049353Smrgfor as_dir in $PATH
499798049353Smrgdo
499898049353Smrg  IFS=$as_save_IFS
499998049353Smrg  test -z "$as_dir" && as_dir=.
500098049353Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
50010ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50020ad07f78Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50030ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
500498049353Smrg    break 2
500598049353Smrg  fi
500698049353Smrgdone
500798049353Smrgdone
50080ad07f78SmrgIFS=$as_save_IFS
500998049353Smrg
501098049353Smrg  ;;
501198049353Smrgesac
501298049353Smrgfi
50130ad07f78Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
50140ad07f78Smrgif test -n "$ac_pt_PKG_CONFIG"; then
50150ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
50160ad07f78Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; }
50170ad07f78Smrgelse
50180ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
50190ad07f78Smrg$as_echo "no" >&6; }
50200ad07f78Smrgfi
50210ad07f78Smrg
50220ad07f78Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
50230ad07f78Smrg    PKG_CONFIG=""
50240ad07f78Smrg  else
50250ad07f78Smrg    case $cross_compiling:$ac_tool_warned in
50260ad07f78Smrgyes:)
50270ad07f78Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
50280ad07f78Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50290ad07f78Smrgac_tool_warned=yes ;;
50300ad07f78Smrgesac
50310ad07f78Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
50320ad07f78Smrg  fi
50330ad07f78Smrgelse
50340ad07f78Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
50350ad07f78Smrgfi
50360ad07f78Smrg
50370ad07f78Smrgfi
50380ad07f78Smrgif test -n "$PKG_CONFIG"; then
50390ad07f78Smrg	_pkg_min_version=0.9.0
50400ad07f78Smrg	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
50410ad07f78Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
50420ad07f78Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
50430ad07f78Smrg		{ $as_echo "$as_me:$LINENO: result: yes" >&5
50440ad07f78Smrg$as_echo "yes" >&6; }
50450ad07f78Smrg	else
50460ad07f78Smrg		{ $as_echo "$as_me:$LINENO: result: no" >&5
50470ad07f78Smrg$as_echo "no" >&6; }
50480ad07f78Smrg		PKG_CONFIG=""
50490ad07f78Smrg	fi
50500ad07f78Smrg
50510ad07f78Smrgfi
50520ad07f78Smrg
50530ad07f78Smrg
50540ad07f78Smrg
50550ad07f78Smrg	{ $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5
50560ad07f78Smrg$as_echo_n "checking for root directory for font files... " >&6; }
50570ad07f78Smrg
50580ad07f78Smrg# Check whether --with-fontrootdir was given.
50590ad07f78Smrgif test "${with_fontrootdir+set}" = set; then
50600ad07f78Smrg  withval=$with_fontrootdir; FONTROOTDIR="$withval"
50610ad07f78Smrgfi
50620ad07f78Smrg
50630ad07f78Smrg	# if --with-fontrootdir not specified...
50640ad07f78Smrg	if test "x${FONTROOTDIR}" = "x"; then
50650ad07f78Smrg		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
50660ad07f78Smrg	fi
50670ad07f78Smrg	# ...and if pkg-config didn't find fontdir in fontutil.pc...
50680ad07f78Smrg	if test "x${FONTROOTDIR}" = "x"; then
50690ad07f78Smrg		FONTROOTDIR="${datadir}/fonts/X11"
50700ad07f78Smrg	fi
50710ad07f78Smrg
50720ad07f78Smrg	{ $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5
50730ad07f78Smrg$as_echo "${FONTROOTDIR}" >&6; }
50740ad07f78Smrg
50750ad07f78Smrg
50760ad07f78Smrg
50770ad07f78Smrg
50780ad07f78Smrg	{ $as_echo "$as_me:$LINENO: checking for directory for misc files" >&5
50790ad07f78Smrg$as_echo_n "checking for directory for misc files... " >&6; }
50800ad07f78Smrg
50810ad07f78Smrg# Check whether --with-fontdir was given.
50820ad07f78Smrgif test "${with_fontdir+set}" = set; then
50830ad07f78Smrg  withval=$with_fontdir; FONTDIR="${withval}"
50840ad07f78Smrgelse
50850ad07f78Smrg  FONTDIR='${FONTROOTDIR}/misc'
50860ad07f78Smrgfi
50870ad07f78Smrg
50880ad07f78Smrg
50890ad07f78Smrg	{ $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5
50900ad07f78Smrg$as_echo "${FONTDIR}" >&6; }
50910ad07f78Smrg
509298049353Smrg
50930ad07f78Smrg
50940ad07f78Smrg
50950ad07f78Smrg	# Extract the first word of "fc-cache", so it can be a program name with args.
50960ad07f78Smrgset dummy fc-cache; ac_word=$2
50970ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
50980ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
50990ad07f78Smrgif test "${ac_cv_path_FCCACHE+set}" = set; then
51000ad07f78Smrg  $as_echo_n "(cached) " >&6
51010ad07f78Smrgelse
51020ad07f78Smrg  case $FCCACHE in
51030ad07f78Smrg  [\\/]* | ?:[\\/]*)
51040ad07f78Smrg  ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
51050ad07f78Smrg  ;;
51060ad07f78Smrg  *)
51070ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51080ad07f78Smrgfor as_dir in $PATH
51090ad07f78Smrgdo
51100ad07f78Smrg  IFS=$as_save_IFS
51110ad07f78Smrg  test -z "$as_dir" && as_dir=.
51120ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
51130ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51140ad07f78Smrg    ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext"
51150ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51160ad07f78Smrg    break 2
51170ad07f78Smrg  fi
51180ad07f78Smrgdone
51190ad07f78Smrgdone
51200ad07f78SmrgIFS=$as_save_IFS
51210ad07f78Smrg
51220ad07f78Smrg  ;;
51230ad07f78Smrgesac
51240ad07f78Smrgfi
51250ad07f78SmrgFCCACHE=$ac_cv_path_FCCACHE
51260ad07f78Smrgif test -n "$FCCACHE"; then
51270ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5
51280ad07f78Smrg$as_echo "$FCCACHE" >&6; }
512998049353Smrgelse
51300ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
51310ad07f78Smrg$as_echo "no" >&6; }
513298049353Smrgfi
513398049353Smrg
51340ad07f78Smrg
51350ad07f78Smrg	FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
51360ad07f78Smrg	if test x"$FCCACHE" = x ; then
51370ad07f78Smrg		RUN_FCCACHE="${FCCACHE_WARN}"
51380ad07f78Smrg	else
51390ad07f78Smrg		RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
51400ad07f78Smrg		RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
51410ad07f78Smrg	fi
51420ad07f78Smrg
51430ad07f78Smrg
51440ad07f78Smrg
51450ad07f78Smrg	# Extract the first word of "mkfontdir", so it can be a program name with args.
514698049353Smrgset dummy mkfontdir; ac_word=$2
51470ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
51480ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
514998049353Smrgif test "${ac_cv_path_MKFONTDIR+set}" = set; then
51500ad07f78Smrg  $as_echo_n "(cached) " >&6
515198049353Smrgelse
515298049353Smrg  case $MKFONTDIR in
515398049353Smrg  [\\/]* | ?:[\\/]*)
515498049353Smrg  ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
515598049353Smrg  ;;
515698049353Smrg  *)
515798049353Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
515898049353Smrgfor as_dir in $PATH
515998049353Smrgdo
516098049353Smrg  IFS=$as_save_IFS
516198049353Smrg  test -z "$as_dir" && as_dir=.
516298049353Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
51630ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
516498049353Smrg    ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext"
51650ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
516698049353Smrg    break 2
516798049353Smrg  fi
516898049353Smrgdone
516998049353Smrgdone
51700ad07f78SmrgIFS=$as_save_IFS
517198049353Smrg
517298049353Smrg  ;;
517398049353Smrgesac
517498049353Smrgfi
517598049353SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR
517698049353Smrgif test -n "$MKFONTDIR"; then
51770ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
51780ad07f78Smrg$as_echo "$MKFONTDIR" >&6; }
517998049353Smrgelse
51800ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
51810ad07f78Smrg$as_echo "no" >&6; }
518298049353Smrgfi
518398049353Smrg
518498049353Smrg
51850ad07f78Smrg	if test x"MKFONTDIR" = x; then
51860ad07f78Smrg		{ { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5
51870ad07f78Smrg$as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;}
51880ad07f78Smrg   { (exit 1); exit 1; }; }
51890ad07f78Smrg	fi
519098049353Smrg
519198049353Smrg
519298049353Smrg
51930ad07f78Smrg	# Extract the first word of "bdftopcf", so it can be a program name with args.
51940ad07f78Smrgset dummy bdftopcf; ac_word=$2
51950ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
51960ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
51970ad07f78Smrgif test "${ac_cv_path_BDFTOPCF+set}" = set; then
51980ad07f78Smrg  $as_echo_n "(cached) " >&6
51990ad07f78Smrgelse
52000ad07f78Smrg  case $BDFTOPCF in
52010ad07f78Smrg  [\\/]* | ?:[\\/]*)
52020ad07f78Smrg  ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path.
52030ad07f78Smrg  ;;
52040ad07f78Smrg  *)
52050ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52060ad07f78Smrgfor as_dir in $PATH
52070ad07f78Smrgdo
52080ad07f78Smrg  IFS=$as_save_IFS
52090ad07f78Smrg  test -z "$as_dir" && as_dir=.
52100ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
52110ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52120ad07f78Smrg    ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext"
52130ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52140ad07f78Smrg    break 2
52150ad07f78Smrg  fi
52160ad07f78Smrgdone
52170ad07f78Smrgdone
52180ad07f78SmrgIFS=$as_save_IFS
52190ad07f78Smrg
52200ad07f78Smrg  ;;
52210ad07f78Smrgesac
52220ad07f78Smrgfi
52230ad07f78SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF
52240ad07f78Smrgif test -n "$BDFTOPCF"; then
52250ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5
52260ad07f78Smrg$as_echo "$BDFTOPCF" >&6; }
522798049353Smrgelse
52280ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
52290ad07f78Smrg$as_echo "no" >&6; }
52300ad07f78Smrgfi
52310ad07f78Smrg
523298049353Smrg
52330ad07f78Smrg	if test x"BDFTOPCF" = x; then
52340ad07f78Smrg		{ { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5
52350ad07f78Smrg$as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;}
52360ad07f78Smrg   { (exit 1); exit 1; }; }
52370ad07f78Smrg	fi
523898049353Smrg
523998049353Smrg
52400ad07f78Smrg	{ $as_echo "$as_me:$LINENO: checking font compression method" >&5
52410ad07f78Smrg$as_echo_n "checking font compression method... " >&6; }
524298049353Smrg
52430ad07f78Smrg# Check whether --with-compression was given.
52440ad07f78Smrgif test "${with_compression+set}" = set; then
52450ad07f78Smrg  withval=$with_compression; compression="$withval"
524698049353Smrgelse
52470ad07f78Smrg  compression="yes"
52480ad07f78Smrgfi
52490ad07f78Smrg
52500ad07f78Smrg	if test x"$compression" = "xyes" ; then
52510ad07f78Smrg		compression="gzip"
52520ad07f78Smrg	fi
52530ad07f78Smrg	{ $as_echo "$as_me:$LINENO: result: ${compression}" >&5
52540ad07f78Smrg$as_echo "${compression}" >&6; }
52550ad07f78Smrg	case ${compression} in
52560ad07f78Smrg	 *compress)	COMPRESS_SUFFIX=".Z" ;;
52570ad07f78Smrg	 *gzip)		COMPRESS_SUFFIX=".gz" ;;
52580ad07f78Smrg	 *bzip2)	COMPRESS_SUFFIX=".bz2" ;;
52590ad07f78Smrg	 no|none)	COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
52600ad07f78Smrg	 *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5
52610ad07f78Smrg$as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;}
52620ad07f78Smrg   { (exit 1); exit 1; }; } ;;
52630ad07f78Smrg	esac
52640ad07f78Smrg	if test x"$COMPRESS_SUFFIX" != "x" ; then
52650ad07f78Smrg
52660ad07f78Smrg	# Extract the first word of "${compression}", so it can be a program name with args.
52670ad07f78Smrgset dummy ${compression}; ac_word=$2
52680ad07f78Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
52690ad07f78Smrg$as_echo_n "checking for $ac_word... " >&6; }
52700ad07f78Smrgif test "${ac_cv_path_COMPRESS+set}" = set; then
52710ad07f78Smrg  $as_echo_n "(cached) " >&6
52720ad07f78Smrgelse
52730ad07f78Smrg  case $COMPRESS in
52740ad07f78Smrg  [\\/]* | ?:[\\/]*)
52750ad07f78Smrg  ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path.
52760ad07f78Smrg  ;;
52770ad07f78Smrg  *)
52780ad07f78Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52790ad07f78Smrgfor as_dir in $PATH
52800ad07f78Smrgdo
52810ad07f78Smrg  IFS=$as_save_IFS
52820ad07f78Smrg  test -z "$as_dir" && as_dir=.
52830ad07f78Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
52840ad07f78Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52850ad07f78Smrg    ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
52860ad07f78Smrg    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52870ad07f78Smrg    break 2
52880ad07f78Smrg  fi
52890ad07f78Smrgdone
52900ad07f78Smrgdone
52910ad07f78SmrgIFS=$as_save_IFS
52920ad07f78Smrg
52930ad07f78Smrg  ;;
52940ad07f78Smrgesac
52950ad07f78Smrgfi
52960ad07f78SmrgCOMPRESS=$ac_cv_path_COMPRESS
52970ad07f78Smrgif test -n "$COMPRESS"; then
52980ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5
52990ad07f78Smrg$as_echo "$COMPRESS" >&6; }
53000ad07f78Smrgelse
53010ad07f78Smrg  { $as_echo "$as_me:$LINENO: result: no" >&5
53020ad07f78Smrg$as_echo "no" >&6; }
53030ad07f78Smrgfi
53040ad07f78Smrg
53050ad07f78Smrg
53060ad07f78Smrg	if test x"COMPRESS" = x; then
53070ad07f78Smrg		{ { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5
53080ad07f78Smrg$as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;}
53090ad07f78Smrg   { (exit 1); exit 1; }; }
53100ad07f78Smrg	fi
53110ad07f78Smrg
531298049353Smrg	fi
531398049353Smrg
531498049353Smrg
53150ad07f78Smrg
53160ad07f78Smrg
53170ad07f78Smrgac_config_files="$ac_config_files Makefile"
53180ad07f78Smrg
531998049353Smrgcat >confcache <<\_ACEOF
532098049353Smrg# This file is a shell script that caches the results of configure
532198049353Smrg# tests run on this system so they can be shared between configure
532298049353Smrg# scripts and configure runs, see configure's option --config-cache.
532398049353Smrg# It is not useful on other systems.  If it contains results you don't
532498049353Smrg# want to keep, you may remove or edit it.
532598049353Smrg#
532698049353Smrg# config.status only pays attention to the cache file if you give it
532798049353Smrg# the --recheck option to rerun configure.
532898049353Smrg#
532998049353Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
533098049353Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
533198049353Smrg# following values.
533298049353Smrg
533398049353Smrg_ACEOF
533498049353Smrg
533598049353Smrg# The following way of writing the cache mishandles newlines in values,
533698049353Smrg# but we know of no workaround that is simple, portable, and efficient.
53370ad07f78Smrg# So, we kill variables containing newlines.
533898049353Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
533998049353Smrg# and sets the high bit in the cache file unless we assign to the vars.
53400ad07f78Smrg(
53410ad07f78Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53420ad07f78Smrg    eval ac_val=\$$ac_var
53430ad07f78Smrg    case $ac_val in #(
53440ad07f78Smrg    *${as_nl}*)
53450ad07f78Smrg      case $ac_var in #(
53460ad07f78Smrg      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
53470ad07f78Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
53480ad07f78Smrg      esac
53490ad07f78Smrg      case $ac_var in #(
53500ad07f78Smrg      _ | IFS | as_nl) ;; #(
53510ad07f78Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
53520ad07f78Smrg      *) $as_unset $ac_var ;;
53530ad07f78Smrg      esac ;;
53540ad07f78Smrg    esac
53550ad07f78Smrg  done
53560ad07f78Smrg
535798049353Smrg  (set) 2>&1 |
53580ad07f78Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
53590ad07f78Smrg    *${as_nl}ac_space=\ *)
536098049353Smrg      # `set' does not quote correctly, so add quotes (double-quote
536198049353Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
536298049353Smrg      sed -n \
536398049353Smrg	"s/'/'\\\\''/g;
536498049353Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53650ad07f78Smrg      ;; #(
536698049353Smrg    *)
536798049353Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
53680ad07f78Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
536998049353Smrg      ;;
53700ad07f78Smrg    esac |
53710ad07f78Smrg    sort
53720ad07f78Smrg) |
537398049353Smrg  sed '
53740ad07f78Smrg     /^ac_cv_env_/b end
537598049353Smrg     t clear
53760ad07f78Smrg     :clear
537798049353Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
537898049353Smrg     t end
53790ad07f78Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53800ad07f78Smrg     :end' >>confcache
53810ad07f78Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53820ad07f78Smrg  if test -w "$cache_file"; then
53830ad07f78Smrg    test "x$cache_file" != "x/dev/null" &&
53840ad07f78Smrg      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
53850ad07f78Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
538698049353Smrg    cat confcache >$cache_file
538798049353Smrg  else
53880ad07f78Smrg    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53890ad07f78Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
539098049353Smrg  fi
539198049353Smrgfi
539298049353Smrgrm -f confcache
539398049353Smrg
539498049353Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
539598049353Smrg# Let make expand exec_prefix.
539698049353Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
539798049353Smrg
539898049353Smrg# Transform confdefs.h into DEFS.
539998049353Smrg# Protect against shell expansion while executing Makefile rules.
540098049353Smrg# Protect against Makefile macro expansion.
540198049353Smrg#
540298049353Smrg# If the first sed substitution is executed (which looks for macros that
54030ad07f78Smrg# take arguments), then branch to the quote section.  Otherwise,
540498049353Smrg# look for a macro that doesn't take arguments.
54050ad07f78Smrgac_script='
54060ad07f78Smrg:mline
54070ad07f78Smrg/\\$/{
54080ad07f78Smrg N
54090ad07f78Smrg s,\\\n,,
54100ad07f78Smrg b mline
54110ad07f78Smrg}
541298049353Smrgt clear
54130ad07f78Smrg:clear
54140ad07f78Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
541598049353Smrgt quote
54160ad07f78Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
541798049353Smrgt quote
54180ad07f78Smrgb any
54190ad07f78Smrg:quote
54200ad07f78Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
54210ad07f78Smrgs/\[/\\&/g
54220ad07f78Smrgs/\]/\\&/g
54230ad07f78Smrgs/\$/$$/g
54240ad07f78SmrgH
54250ad07f78Smrg:any
54260ad07f78Smrg${
54270ad07f78Smrg	g
54280ad07f78Smrg	s/^\n//
54290ad07f78Smrg	s/\n/ /g
54300ad07f78Smrg	p
54310ad07f78Smrg}
54320ad07f78Smrg'
54330ad07f78SmrgDEFS=`sed -n "$ac_script" confdefs.h`
543498049353Smrg
543598049353Smrg
543698049353Smrgac_libobjs=
543798049353Smrgac_ltlibobjs=
543898049353Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
543998049353Smrg  # 1. Remove the extension, and $U if already installed.
54400ad07f78Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
54410ad07f78Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
54420ad07f78Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
54430ad07f78Smrg  #    will be set to the directory where LIBOBJS objects are built.
54440ad07f78Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
54450ad07f78Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
544698049353Smrgdone
544798049353SmrgLIBOBJS=$ac_libobjs
544898049353Smrg
544998049353SmrgLTLIBOBJS=$ac_ltlibobjs
545098049353Smrg
545198049353Smrg
54520ad07f78Smrg if test -n "$EXEEXT"; then
54530ad07f78Smrg  am__EXEEXT_TRUE=
54540ad07f78Smrg  am__EXEEXT_FALSE='#'
54550ad07f78Smrgelse
54560ad07f78Smrg  am__EXEEXT_TRUE='#'
54570ad07f78Smrg  am__EXEEXT_FALSE=
54580ad07f78Smrgfi
54590ad07f78Smrg
546098049353Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
54610ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
54620ad07f78SmrgUsually this means the macro was only invoked conditionally." >&5
54630ad07f78Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
54640ad07f78SmrgUsually this means the macro was only invoked conditionally." >&2;}
54650ad07f78Smrg   { (exit 1); exit 1; }; }
54660ad07f78Smrgfi
54670ad07f78Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
54680ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
54690ad07f78SmrgUsually this means the macro was only invoked conditionally." >&5
54700ad07f78Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
54710ad07f78SmrgUsually this means the macro was only invoked conditionally." >&2;}
54720ad07f78Smrg   { (exit 1); exit 1; }; }
54730ad07f78Smrgfi
54740ad07f78Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
54750ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
547698049353SmrgUsually this means the macro was only invoked conditionally." >&5
54770ad07f78Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
547898049353SmrgUsually this means the macro was only invoked conditionally." >&2;}
547998049353Smrg   { (exit 1); exit 1; }; }
548098049353Smrgfi
548198049353Smrg
548298049353Smrg: ${CONFIG_STATUS=./config.status}
54830ad07f78Smrgac_write_fail=0
548498049353Smrgac_clean_files_save=$ac_clean_files
548598049353Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
54860ad07f78Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
54870ad07f78Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
54880ad07f78Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
548998049353Smrg#! $SHELL
549098049353Smrg# Generated by $as_me.
549198049353Smrg# Run this file to recreate the current configuration.
549298049353Smrg# Compiler output produced by configure, useful for debugging
549398049353Smrg# configure, is in config.log if it exists.
549498049353Smrg
549598049353Smrgdebug=false
549698049353Smrgac_cs_recheck=false
549798049353Smrgac_cs_silent=false
549898049353SmrgSHELL=\${CONFIG_SHELL-$SHELL}
549998049353Smrg_ACEOF
550098049353Smrg
55010ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
550298049353Smrg## --------------------- ##
550398049353Smrg## M4sh Initialization.  ##
550498049353Smrg## --------------------- ##
550598049353Smrg
55060ad07f78Smrg# Be more Bourne compatible
55070ad07f78SmrgDUALCASE=1; export DUALCASE # for MKS sh
550898049353Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
550998049353Smrg  emulate sh
551098049353Smrg  NULLCMD=:
55110ad07f78Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
551298049353Smrg  # is contrary to our usage.  Disable this feature.
551398049353Smrg  alias -g '${1+"$@"}'='"$@"'
55140ad07f78Smrg  setopt NO_GLOB_SUBST
55150ad07f78Smrgelse
55160ad07f78Smrg  case `(set -o) 2>/dev/null` in
55170ad07f78Smrg  *posix*) set -o posix ;;
55180ad07f78Smrgesac
55190ad07f78Smrg
55200ad07f78Smrgfi
55210ad07f78Smrg
55220ad07f78Smrg
55230ad07f78Smrg
55240ad07f78Smrg
55250ad07f78Smrg# PATH needs CR
55260ad07f78Smrg# Avoid depending upon Character Ranges.
55270ad07f78Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
55280ad07f78Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55290ad07f78Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
55300ad07f78Smrgas_cr_digits='0123456789'
55310ad07f78Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
55320ad07f78Smrg
55330ad07f78Smrgas_nl='
55340ad07f78Smrg'
55350ad07f78Smrgexport as_nl
55360ad07f78Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
55370ad07f78Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
55380ad07f78Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
55390ad07f78Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
55400ad07f78Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55410ad07f78Smrg  as_echo='printf %s\n'
55420ad07f78Smrg  as_echo_n='printf %s'
55430ad07f78Smrgelse
55440ad07f78Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55450ad07f78Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55460ad07f78Smrg    as_echo_n='/usr/ucb/echo -n'
55470ad07f78Smrg  else
55480ad07f78Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55490ad07f78Smrg    as_echo_n_body='eval
55500ad07f78Smrg      arg=$1;
55510ad07f78Smrg      case $arg in
55520ad07f78Smrg      *"$as_nl"*)
55530ad07f78Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
55540ad07f78Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
55550ad07f78Smrg      esac;
55560ad07f78Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
55570ad07f78Smrg    '
55580ad07f78Smrg    export as_echo_n_body
55590ad07f78Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
55600ad07f78Smrg  fi
55610ad07f78Smrg  export as_echo_body
55620ad07f78Smrg  as_echo='sh -c $as_echo_body as_echo'
55630ad07f78Smrgfi
55640ad07f78Smrg
55650ad07f78Smrg# The user is always right.
55660ad07f78Smrgif test "${PATH_SEPARATOR+set}" != set; then
55670ad07f78Smrg  PATH_SEPARATOR=:
55680ad07f78Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
55690ad07f78Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
55700ad07f78Smrg      PATH_SEPARATOR=';'
55710ad07f78Smrg  }
557298049353Smrgfi
557398049353Smrg
557498049353Smrg# Support unset when possible.
557598049353Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
557698049353Smrg  as_unset=unset
557798049353Smrgelse
557898049353Smrg  as_unset=false
557998049353Smrgfi
558098049353Smrg
558198049353Smrg
55820ad07f78Smrg# IFS
55830ad07f78Smrg# We need space, tab and new line, in precisely that order.  Quoting is
55840ad07f78Smrg# there to prevent editors from complaining about space-tab.
55850ad07f78Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
55860ad07f78Smrg# splitting by setting IFS to empty value.)
55870ad07f78SmrgIFS=" ""	$as_nl"
55880ad07f78Smrg
55890ad07f78Smrg# Find who we are.  Look in the path if we contain no directory separator.
55900ad07f78Smrgcase $0 in
55910ad07f78Smrg  *[\\/]* ) as_myself=$0 ;;
55920ad07f78Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55930ad07f78Smrgfor as_dir in $PATH
55940ad07f78Smrgdo
55950ad07f78Smrg  IFS=$as_save_IFS
55960ad07f78Smrg  test -z "$as_dir" && as_dir=.
55970ad07f78Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55980ad07f78Smrgdone
55990ad07f78SmrgIFS=$as_save_IFS
56000ad07f78Smrg
56010ad07f78Smrg     ;;
56020ad07f78Smrgesac
56030ad07f78Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
56040ad07f78Smrg# in which case we are not to be found in the path.
56050ad07f78Smrgif test "x$as_myself" = x; then
56060ad07f78Smrg  as_myself=$0
56070ad07f78Smrgfi
56080ad07f78Smrgif test ! -f "$as_myself"; then
56090ad07f78Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56100ad07f78Smrg  { (exit 1); exit 1; }
56110ad07f78Smrgfi
56120ad07f78Smrg
561398049353Smrg# Work around bugs in pre-3.0 UWIN ksh.
56140ad07f78Smrgfor as_var in ENV MAIL MAILPATH
56150ad07f78Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56160ad07f78Smrgdone
561798049353SmrgPS1='$ '
561898049353SmrgPS2='> '
561998049353SmrgPS4='+ '
562098049353Smrg
562198049353Smrg# NLS nuisances.
56220ad07f78SmrgLC_ALL=C
56230ad07f78Smrgexport LC_ALL
56240ad07f78SmrgLANGUAGE=C
56250ad07f78Smrgexport LANGUAGE
562698049353Smrg
562798049353Smrg# Required to use basename.
56280ad07f78Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
56290ad07f78Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
563098049353Smrg  as_expr=expr
563198049353Smrgelse
563298049353Smrg  as_expr=false
563398049353Smrgfi
563498049353Smrg
56350ad07f78Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
563698049353Smrg  as_basename=basename
563798049353Smrgelse
563898049353Smrg  as_basename=false
563998049353Smrgfi
564098049353Smrg
564198049353Smrg
564298049353Smrg# Name of the executable.
56430ad07f78Smrgas_me=`$as_basename -- "$0" ||
564498049353Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
564598049353Smrg	 X"$0" : 'X\(//\)$' \| \
56460ad07f78Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56470ad07f78Smrg$as_echo X/"$0" |
56480ad07f78Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
56490ad07f78Smrg	    s//\1/
56500ad07f78Smrg	    q
56510ad07f78Smrg	  }
56520ad07f78Smrg	  /^X\/\(\/\/\)$/{
56530ad07f78Smrg	    s//\1/
56540ad07f78Smrg	    q
56550ad07f78Smrg	  }
56560ad07f78Smrg	  /^X\/\(\/\).*/{
56570ad07f78Smrg	    s//\1/
56580ad07f78Smrg	    q
56590ad07f78Smrg	  }
56600ad07f78Smrg	  s/.*/./; q'`
566198049353Smrg
56620ad07f78Smrg# CDPATH.
56630ad07f78Smrg$as_unset CDPATH
566498049353Smrg
566598049353Smrg
566698049353Smrg
566798049353Smrg  as_lineno_1=$LINENO
566898049353Smrg  as_lineno_2=$LINENO
566998049353Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
56700ad07f78Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
567198049353Smrg
567298049353Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
567398049353Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
56740ad07f78Smrg  # line-number line after each line using $LINENO; the second 'sed'
56750ad07f78Smrg  # does the real work.  The second script uses 'N' to pair each
56760ad07f78Smrg  # line-number line with the line containing $LINENO, and appends
56770ad07f78Smrg  # trailing '-' during substitution so that $LINENO is not a special
56780ad07f78Smrg  # case at line end.
567998049353Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56800ad07f78Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
56810ad07f78Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
56820ad07f78Smrg  sed -n '
56830ad07f78Smrg    p
56840ad07f78Smrg    /[$]LINENO/=
56850ad07f78Smrg  ' <$as_myself |
568698049353Smrg    sed '
56870ad07f78Smrg      s/[$]LINENO.*/&-/
56880ad07f78Smrg      t lineno
56890ad07f78Smrg      b
56900ad07f78Smrg      :lineno
569198049353Smrg      N
56920ad07f78Smrg      :loop
56930ad07f78Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
569498049353Smrg      t loop
56950ad07f78Smrg      s/-\n.*//
569698049353Smrg    ' >$as_me.lineno &&
56970ad07f78Smrg  chmod +x "$as_me.lineno" ||
56980ad07f78Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
569998049353Smrg   { (exit 1); exit 1; }; }
570098049353Smrg
570198049353Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
570298049353Smrg  # (the dirname of $[0] is not the place where we might find the
57030ad07f78Smrg  # original and so on.  Autoconf is especially sensitive to this).
57040ad07f78Smrg  . "./$as_me.lineno"
570598049353Smrg  # Exit status is that of the last command.
570698049353Smrg  exit
570798049353Smrg}
570898049353Smrg
570998049353Smrg
57100ad07f78Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
57110ad07f78Smrg  as_dirname=dirname
57120ad07f78Smrgelse
57130ad07f78Smrg  as_dirname=false
57140ad07f78Smrgfi
571598049353Smrg
57160ad07f78SmrgECHO_C= ECHO_N= ECHO_T=
57170ad07f78Smrgcase `echo -n x` in
57180ad07f78Smrg-n*)
57190ad07f78Smrg  case `echo 'x\c'` in
57200ad07f78Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
57210ad07f78Smrg  *)   ECHO_C='\c';;
57220ad07f78Smrg  esac;;
57230ad07f78Smrg*)
57240ad07f78Smrg  ECHO_N='-n';;
57250ad07f78Smrgesac
57260ad07f78Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
57270ad07f78Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
572898049353Smrg  as_expr=expr
572998049353Smrgelse
573098049353Smrg  as_expr=false
573198049353Smrgfi
573298049353Smrg
573398049353Smrgrm -f conf$$ conf$$.exe conf$$.file
57340ad07f78Smrgif test -d conf$$.dir; then
57350ad07f78Smrg  rm -f conf$$.dir/conf$$.file
57360ad07f78Smrgelse
57370ad07f78Smrg  rm -f conf$$.dir
57380ad07f78Smrg  mkdir conf$$.dir 2>/dev/null
57390ad07f78Smrgfi
57400ad07f78Smrgif (echo >conf$$.file) 2>/dev/null; then
57410ad07f78Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
574298049353Smrg    as_ln_s='ln -s'
57430ad07f78Smrg    # ... but there are two gotchas:
57440ad07f78Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
57450ad07f78Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
57460ad07f78Smrg    # In both cases, we have to default to `cp -p'.
57470ad07f78Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
57480ad07f78Smrg      as_ln_s='cp -p'
57490ad07f78Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
57500ad07f78Smrg    as_ln_s=ln
57510ad07f78Smrg  else
57520ad07f78Smrg    as_ln_s='cp -p'
575398049353Smrg  fi
575498049353Smrgelse
575598049353Smrg  as_ln_s='cp -p'
575698049353Smrgfi
57570ad07f78Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
57580ad07f78Smrgrmdir conf$$.dir 2>/dev/null
575998049353Smrg
576098049353Smrgif mkdir -p . 2>/dev/null; then
576198049353Smrg  as_mkdir_p=:
576298049353Smrgelse
576398049353Smrg  test -d ./-p && rmdir ./-p
576498049353Smrg  as_mkdir_p=false
576598049353Smrgfi
576698049353Smrg
57670ad07f78Smrgif test -x / >/dev/null 2>&1; then
57680ad07f78Smrg  as_test_x='test -x'
57690ad07f78Smrgelse
57700ad07f78Smrg  if ls -dL / >/dev/null 2>&1; then
57710ad07f78Smrg    as_ls_L_option=L
57720ad07f78Smrg  else
57730ad07f78Smrg    as_ls_L_option=
57740ad07f78Smrg  fi
57750ad07f78Smrg  as_test_x='
57760ad07f78Smrg    eval sh -c '\''
57770ad07f78Smrg      if test -d "$1"; then
57780ad07f78Smrg	test -d "$1/.";
57790ad07f78Smrg      else
57800ad07f78Smrg	case $1 in
57810ad07f78Smrg	-*)set "./$1";;
57820ad07f78Smrg	esac;
57830ad07f78Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
57840ad07f78Smrg	???[sx]*):;;*)false;;esac;fi
57850ad07f78Smrg    '\'' sh
57860ad07f78Smrg  '
57870ad07f78Smrgfi
57880ad07f78Smrgas_executable_p=$as_test_x
578998049353Smrg
579098049353Smrg# Sed expression to map a string onto a valid CPP name.
579198049353Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
579298049353Smrg
579398049353Smrg# Sed expression to map a string onto a valid variable name.
579498049353Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
579598049353Smrg
579698049353Smrg
579798049353Smrgexec 6>&1
579898049353Smrg
57990ad07f78Smrg# Save the log message, to keep $[0] and so on meaningful, and to
580098049353Smrg# report actual input values of CONFIG_FILES etc. instead of their
58010ad07f78Smrg# values after options handling.
58020ad07f78Smrgac_log="
58030ad07f78SmrgThis file was extended by font-isas-misc $as_me 1.0.1, which was
58040ad07f78Smrggenerated by GNU Autoconf 2.63.  Invocation command line was
580598049353Smrg
580698049353Smrg  CONFIG_FILES    = $CONFIG_FILES
580798049353Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
580898049353Smrg  CONFIG_LINKS    = $CONFIG_LINKS
580998049353Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
581098049353Smrg  $ $0 $@
581198049353Smrg
58120ad07f78Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
58130ad07f78Smrg"
58140ad07f78Smrg
581598049353Smrg_ACEOF
581698049353Smrg
58170ad07f78Smrgcase $ac_config_files in *"
58180ad07f78Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
58190ad07f78Smrgesac
582098049353Smrg
582198049353Smrg
582298049353Smrg
58230ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
58240ad07f78Smrg# Files that config.status was made for.
58250ad07f78Smrgconfig_files="$ac_config_files"
58260ad07f78Smrgconfig_commands="$ac_config_commands"
582798049353Smrg
58280ad07f78Smrg_ACEOF
582998049353Smrg
58300ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
583198049353Smrgac_cs_usage="\
583298049353Smrg\`$as_me' instantiates files from templates according to the
583398049353Smrgcurrent configuration.
583498049353Smrg
58350ad07f78SmrgUsage: $0 [OPTION]... [FILE]...
583698049353Smrg
583798049353Smrg  -h, --help       print this help, then exit
58380ad07f78Smrg  -V, --version    print version number and configuration settings, then exit
58390ad07f78Smrg  -q, --quiet, --silent
58400ad07f78Smrg                   do not print progress messages
584198049353Smrg  -d, --debug      don't remove temporary files
584298049353Smrg      --recheck    update $as_me by reconfiguring in the same conditions
58430ad07f78Smrg      --file=FILE[:TEMPLATE]
58440ad07f78Smrg                   instantiate the configuration file FILE
584598049353Smrg
584698049353SmrgConfiguration files:
584798049353Smrg$config_files
584898049353Smrg
58490ad07f78SmrgConfiguration commands:
58500ad07f78Smrg$config_commands
58510ad07f78Smrg
585298049353SmrgReport bugs to <bug-autoconf@gnu.org>."
585398049353Smrg
58540ad07f78Smrg_ACEOF
58550ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
585698049353Smrgac_cs_version="\\
58570ad07f78Smrgfont-isas-misc config.status 1.0.1
58580ad07f78Smrgconfigured by $0, generated by GNU Autoconf 2.63,
58590ad07f78Smrg  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
586098049353Smrg
58610ad07f78SmrgCopyright (C) 2008 Free Software Foundation, Inc.
586298049353SmrgThis config.status script is free software; the Free Software Foundation
586398049353Smrggives unlimited permission to copy, distribute and modify it."
58640ad07f78Smrg
58650ad07f78Smrgac_pwd='$ac_pwd'
58660ad07f78Smrgsrcdir='$srcdir'
58670ad07f78SmrgINSTALL='$INSTALL'
58680ad07f78SmrgMKDIR_P='$MKDIR_P'
58690ad07f78SmrgAWK='$AWK'
58700ad07f78Smrgtest -n "\$AWK" || AWK=awk
587198049353Smrg_ACEOF
587298049353Smrg
58730ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
58740ad07f78Smrg# The default lists apply if the user does not specify any file.
587598049353Smrgac_need_defaults=:
587698049353Smrgwhile test $# != 0
587798049353Smrgdo
587898049353Smrg  case $1 in
587998049353Smrg  --*=*)
58800ad07f78Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
58810ad07f78Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
588298049353Smrg    ac_shift=:
588398049353Smrg    ;;
58840ad07f78Smrg  *)
588598049353Smrg    ac_option=$1
588698049353Smrg    ac_optarg=$2
588798049353Smrg    ac_shift=shift
588898049353Smrg    ;;
588998049353Smrg  esac
589098049353Smrg
589198049353Smrg  case $ac_option in
589298049353Smrg  # Handling of the options.
589398049353Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
589498049353Smrg    ac_cs_recheck=: ;;
58950ad07f78Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
58960ad07f78Smrg    $as_echo "$ac_cs_version"; exit ;;
58970ad07f78Smrg  --debug | --debu | --deb | --de | --d | -d )
589898049353Smrg    debug=: ;;
589998049353Smrg  --file | --fil | --fi | --f )
590098049353Smrg    $ac_shift
59010ad07f78Smrg    case $ac_optarg in
59020ad07f78Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59030ad07f78Smrg    esac
59040ad07f78Smrg    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
590598049353Smrg    ac_need_defaults=false;;
59060ad07f78Smrg  --he | --h |  --help | --hel | -h )
59070ad07f78Smrg    $as_echo "$ac_cs_usage"; exit ;;
590898049353Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
590998049353Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
591098049353Smrg    ac_cs_silent=: ;;
591198049353Smrg
591298049353Smrg  # This is an error.
59130ad07f78Smrg  -*) { $as_echo "$as_me: error: unrecognized option: $1
59140ad07f78SmrgTry \`$0 --help' for more information." >&2
591598049353Smrg   { (exit 1); exit 1; }; } ;;
591698049353Smrg
59170ad07f78Smrg  *) ac_config_targets="$ac_config_targets $1"
59180ad07f78Smrg     ac_need_defaults=false ;;
591998049353Smrg
592098049353Smrg  esac
592198049353Smrg  shift
592298049353Smrgdone
592398049353Smrg
592498049353Smrgac_configure_extra_args=
592598049353Smrg
592698049353Smrgif $ac_cs_silent; then
592798049353Smrg  exec 6>/dev/null
592898049353Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
592998049353Smrgfi
593098049353Smrg
593198049353Smrg_ACEOF
59320ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
593398049353Smrgif \$ac_cs_recheck; then
59340ad07f78Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59350ad07f78Smrg  shift
59360ad07f78Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59370ad07f78Smrg  CONFIG_SHELL='$SHELL'
59380ad07f78Smrg  export CONFIG_SHELL
59390ad07f78Smrg  exec "\$@"
594098049353Smrgfi
594198049353Smrg
594298049353Smrg_ACEOF
59430ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59440ad07f78Smrgexec 5>>config.log
59450ad07f78Smrg{
59460ad07f78Smrg  echo
59470ad07f78Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59480ad07f78Smrg## Running $as_me. ##
59490ad07f78Smrg_ASBOX
59500ad07f78Smrg  $as_echo "$ac_log"
59510ad07f78Smrg} >&5
595298049353Smrg
59530ad07f78Smrg_ACEOF
59540ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59550ad07f78Smrg#
59560ad07f78Smrg# INIT-COMMANDS
59570ad07f78Smrg#
59580ad07f78SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
595998049353Smrg
59600ad07f78Smrg_ACEOF
596198049353Smrg
59620ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
596398049353Smrg
59640ad07f78Smrg# Handling of arguments.
596598049353Smrgfor ac_config_target in $ac_config_targets
596698049353Smrgdo
59670ad07f78Smrg  case $ac_config_target in
59680ad07f78Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
59690ad07f78Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
59700ad07f78Smrg
59710ad07f78Smrg  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
59720ad07f78Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
597398049353Smrg   { (exit 1); exit 1; }; };;
597498049353Smrg  esac
597598049353Smrgdone
597698049353Smrg
59770ad07f78Smrg
597898049353Smrg# If the user did not use the arguments to specify the items to instantiate,
597998049353Smrg# then the envvar interface is used.  Set only those that are not.
598098049353Smrg# We use the long form for the default assignment because of an extremely
598198049353Smrg# bizarre bug on SunOS 4.1.3.
598298049353Smrgif $ac_need_defaults; then
598398049353Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
59840ad07f78Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
598598049353Smrgfi
598698049353Smrg
598798049353Smrg# Have a temporary directory for convenience.  Make it in the build tree
59880ad07f78Smrg# simply because there is no reason against having it here, and in addition,
598998049353Smrg# creating and moving files from /tmp can sometimes cause problems.
59900ad07f78Smrg# Hook for its removal unless debugging.
59910ad07f78Smrg# Note that there is a small window in which the directory will not be cleaned:
59920ad07f78Smrg# after its creation but before its name has been assigned to `$tmp'.
599398049353Smrg$debug ||
599498049353Smrg{
59950ad07f78Smrg  tmp=
59960ad07f78Smrg  trap 'exit_status=$?
59970ad07f78Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
59980ad07f78Smrg' 0
599998049353Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
600098049353Smrg}
600198049353Smrg# Create a (secure) tmp directory for tmp files.
600298049353Smrg
600398049353Smrg{
60040ad07f78Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
600598049353Smrg  test -n "$tmp" && test -d "$tmp"
600698049353Smrg}  ||
600798049353Smrg{
60080ad07f78Smrg  tmp=./conf$$-$RANDOM
60090ad07f78Smrg  (umask 077 && mkdir "$tmp")
601098049353Smrg} ||
601198049353Smrg{
60120ad07f78Smrg   $as_echo "$as_me: cannot create a temporary directory in ." >&2
601398049353Smrg   { (exit 1); exit 1; }
601498049353Smrg}
601598049353Smrg
60160ad07f78Smrg# Set up the scripts for CONFIG_FILES section.
60170ad07f78Smrg# No need to generate them if there are no CONFIG_FILES.
60180ad07f78Smrg# This happens for instance with `./config.status config.h'.
60190ad07f78Smrgif test -n "$CONFIG_FILES"; then
60200ad07f78Smrg
60210ad07f78Smrg
60220ad07f78Smrgac_cr='
60230ad07f78Smrg'
60240ad07f78Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60250ad07f78Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60260ad07f78Smrg  ac_cs_awk_cr='\\r'
60270ad07f78Smrgelse
60280ad07f78Smrg  ac_cs_awk_cr=$ac_cr
60290ad07f78Smrgfi
60300ad07f78Smrg
603198049353Smrgecho 'BEGIN {' >"$tmp/subs1.awk" &&
603298049353Smrg_ACEOF
603398049353Smrg
60340ad07f78Smrg
60350ad07f78Smrg{
60360ad07f78Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
60370ad07f78Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60380ad07f78Smrg  echo "_ACEOF"
60390ad07f78Smrg} >conf$$subs.sh ||
60400ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
60410ad07f78Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
60420ad07f78Smrg   { (exit 1); exit 1; }; }
60430ad07f78Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60440ad07f78Smrgac_delim='%!_!# '
60450ad07f78Smrgfor ac_last_try in false false false false false :; do
60460ad07f78Smrg  . ./conf$$subs.sh ||
60470ad07f78Smrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
60480ad07f78Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
604998049353Smrg   { (exit 1); exit 1; }; }
60500ad07f78Smrg
60510ad07f78Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60520ad07f78Smrg  if test $ac_delim_n = $ac_delim_num; then
60530ad07f78Smrg    break
60540ad07f78Smrg  elif $ac_last_try; then
60550ad07f78Smrg    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
60560ad07f78Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
60570ad07f78Smrg   { (exit 1); exit 1; }; }
60580ad07f78Smrg  else
605998049353Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60600ad07f78Smrg  fi
60610ad07f78Smrgdone
606298049353Smrgrm -f conf$$subs.sh
60630ad07f78Smrg
60640ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
606598049353Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60660ad07f78Smrg_ACEOF
60670ad07f78Smrgsed -n '
60680ad07f78Smrgh
60690ad07f78Smrgs/^/S["/; s/!.*/"]=/
60700ad07f78Smrgp
60710ad07f78Smrgg
60720ad07f78Smrgs/^[^!]*!//
60730ad07f78Smrg:repl
60740ad07f78Smrgt repl
60750ad07f78Smrgs/'"$ac_delim"'$//
60760ad07f78Smrgt delim
60770ad07f78Smrg:nl
60780ad07f78Smrgh
60790ad07f78Smrgs/\(.\{148\}\).*/\1/
60800ad07f78Smrgt more1
60810ad07f78Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60820ad07f78Smrgp
60830ad07f78Smrgn
60840ad07f78Smrgb repl
60850ad07f78Smrg:more1
60860ad07f78Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
60870ad07f78Smrgp
60880ad07f78Smrgg
60890ad07f78Smrgs/.\{148\}//
60900ad07f78Smrgt nl
60910ad07f78Smrg:delim
60920ad07f78Smrgh
60930ad07f78Smrgs/\(.\{148\}\).*/\1/
60940ad07f78Smrgt more2
60950ad07f78Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
60960ad07f78Smrgp
60970ad07f78Smrgb
60980ad07f78Smrg:more2
60990ad07f78Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
61000ad07f78Smrgp
61010ad07f78Smrgg
61020ad07f78Smrgs/.\{148\}//
61030ad07f78Smrgt delim
61040ad07f78Smrg' <conf$$subs.awk | sed '
61050ad07f78Smrg/^[^""]/{
61060ad07f78Smrg  N
61070ad07f78Smrg  s/\n//
61080ad07f78Smrg}
61090ad07f78Smrg' >>$CONFIG_STATUS || ac_write_fail=1
61100ad07f78Smrgrm -f conf$$subs.awk
61110ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61120ad07f78Smrg_ACAWK
61130ad07f78Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK &&
61140ad07f78Smrg  for (key in S) S_is_set[key] = 1
61150ad07f78Smrg  FS = ""
61160ad07f78Smrg
61170ad07f78Smrg}
61180ad07f78Smrg{
61190ad07f78Smrg  line = $ 0
61200ad07f78Smrg  nfields = split(line, field, "@")
61210ad07f78Smrg  substed = 0
61220ad07f78Smrg  len = length(field[1])
61230ad07f78Smrg  for (i = 2; i < nfields; i++) {
61240ad07f78Smrg    key = field[i]
61250ad07f78Smrg    keylen = length(key)
61260ad07f78Smrg    if (S_is_set[key]) {
61270ad07f78Smrg      value = S[key]
61280ad07f78Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
61290ad07f78Smrg      len += length(value) + length(field[++i])
61300ad07f78Smrg      substed = 1
61310ad07f78Smrg    } else
61320ad07f78Smrg      len += 1 + keylen
61330ad07f78Smrg  }
61340ad07f78Smrg
61350ad07f78Smrg  print line
61360ad07f78Smrg}
61370ad07f78Smrg
61380ad07f78Smrg_ACAWK
61390ad07f78Smrg_ACEOF
61400ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61410ad07f78Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
61420ad07f78Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
61430ad07f78Smrgelse
61440ad07f78Smrg  cat
61450ad07f78Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
61460ad07f78Smrg  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
61470ad07f78Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;}
61480ad07f78Smrg   { (exit 1); exit 1; }; }
61490ad07f78Smrg_ACEOF
61500ad07f78Smrg
61510ad07f78Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
61520ad07f78Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
61530ad07f78Smrg# trailing colons and then remove the whole line if VPATH becomes empty
61540ad07f78Smrg# (actually we leave an empty line to preserve line numbers).
61550ad07f78Smrgif test "x$srcdir" = x.; then
61560ad07f78Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
61570ad07f78Smrgs/:*\$(srcdir):*/:/
61580ad07f78Smrgs/:*\${srcdir}:*/:/
61590ad07f78Smrgs/:*@srcdir@:*/:/
61600ad07f78Smrgs/^\([^=]*=[	 ]*\):*/\1/
61610ad07f78Smrgs/:*$//
61620ad07f78Smrgs/^[^=]*=[	 ]*$//
61630ad07f78Smrg}'
61640ad07f78Smrgfi
61650ad07f78Smrg
61660ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61670ad07f78Smrgfi # test -n "$CONFIG_FILES"
61680ad07f78Smrg
61690ad07f78Smrg
61700ad07f78Smrgeval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
61710ad07f78Smrgshift
61720ad07f78Smrgfor ac_tag
61730ad07f78Smrgdo
61740ad07f78Smrg  case $ac_tag in
61750ad07f78Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
61760ad07f78Smrg  esac
61770ad07f78Smrg  case $ac_mode$ac_tag in
61780ad07f78Smrg  :[FHL]*:*);;
61790ad07f78Smrg  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
61800ad07f78Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
61810ad07f78Smrg   { (exit 1); exit 1; }; };;
61820ad07f78Smrg  :[FH]-) ac_tag=-:-;;
61830ad07f78Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
61840ad07f78Smrg  esac
61850ad07f78Smrg  ac_save_IFS=$IFS
61860ad07f78Smrg  IFS=:
61870ad07f78Smrg  set x $ac_tag
61880ad07f78Smrg  IFS=$ac_save_IFS
61890ad07f78Smrg  shift
61900ad07f78Smrg  ac_file=$1
61910ad07f78Smrg  shift
61920ad07f78Smrg
61930ad07f78Smrg  case $ac_mode in
61940ad07f78Smrg  :L) ac_source=$1;;
61950ad07f78Smrg  :[FH])
61960ad07f78Smrg    ac_file_inputs=
61970ad07f78Smrg    for ac_f
61980ad07f78Smrg    do
61990ad07f78Smrg      case $ac_f in
62000ad07f78Smrg      -) ac_f="$tmp/stdin";;
62010ad07f78Smrg      *) # Look for the file first in the build tree, then in the source tree
62020ad07f78Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
62030ad07f78Smrg	 # because $ac_f cannot contain `:'.
62040ad07f78Smrg	 test -f "$ac_f" ||
62050ad07f78Smrg	   case $ac_f in
62060ad07f78Smrg	   [\\/$]*) false;;
62070ad07f78Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
62080ad07f78Smrg	   esac ||
62090ad07f78Smrg	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
62100ad07f78Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
62110ad07f78Smrg   { (exit 1); exit 1; }; };;
62120ad07f78Smrg      esac
62130ad07f78Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
62140ad07f78Smrg      ac_file_inputs="$ac_file_inputs '$ac_f'"
62150ad07f78Smrg    done
62160ad07f78Smrg
62170ad07f78Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
62180ad07f78Smrg    # use $as_me), people would be surprised to read:
62190ad07f78Smrg    #    /* config.h.  Generated by config.status.  */
62200ad07f78Smrg    configure_input='Generated from '`
62210ad07f78Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
62220ad07f78Smrg	`' by configure.'
62230ad07f78Smrg    if test x"$ac_file" != x-; then
62240ad07f78Smrg      configure_input="$ac_file.  $configure_input"
62250ad07f78Smrg      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
62260ad07f78Smrg$as_echo "$as_me: creating $ac_file" >&6;}
62270ad07f78Smrg    fi
62280ad07f78Smrg    # Neutralize special characters interpreted by sed in replacement strings.
62290ad07f78Smrg    case $configure_input in #(
62300ad07f78Smrg    *\&* | *\|* | *\\* )
62310ad07f78Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
62320ad07f78Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
62330ad07f78Smrg    *) ac_sed_conf_input=$configure_input;;
62340ad07f78Smrg    esac
62350ad07f78Smrg
62360ad07f78Smrg    case $ac_tag in
62370ad07f78Smrg    *:-:* | *:-) cat >"$tmp/stdin" \
62380ad07f78Smrg      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
62390ad07f78Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
62400ad07f78Smrg   { (exit 1); exit 1; }; } ;;
62410ad07f78Smrg    esac
624298049353Smrg    ;;
624398049353Smrg  esac
62440ad07f78Smrg
624598049353Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
624698049353Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
624798049353Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
62480ad07f78Smrg	 X"$ac_file" : 'X\(//\)$' \| \
62490ad07f78Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
62500ad07f78Smrg$as_echo X"$ac_file" |
62510ad07f78Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62520ad07f78Smrg	    s//\1/
62530ad07f78Smrg	    q
62540ad07f78Smrg	  }
62550ad07f78Smrg	  /^X\(\/\/\)[^/].*/{
62560ad07f78Smrg	    s//\1/
62570ad07f78Smrg	    q
62580ad07f78Smrg	  }
62590ad07f78Smrg	  /^X\(\/\/\)$/{
62600ad07f78Smrg	    s//\1/
62610ad07f78Smrg	    q
62620ad07f78Smrg	  }
62630ad07f78Smrg	  /^X\(\/\).*/{
62640ad07f78Smrg	    s//\1/
62650ad07f78Smrg	    q
62660ad07f78Smrg	  }
62670ad07f78Smrg	  s/.*/./; q'`
62680ad07f78Smrg  { as_dir="$ac_dir"
62690ad07f78Smrg  case $as_dir in #(
62700ad07f78Smrg  -*) as_dir=./$as_dir;;
62710ad07f78Smrg  esac
627298049353Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
62730ad07f78Smrg    as_dirs=
62740ad07f78Smrg    while :; do
62750ad07f78Smrg      case $as_dir in #(
62760ad07f78Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
62770ad07f78Smrg      *) as_qdir=$as_dir;;
62780ad07f78Smrg      esac
62790ad07f78Smrg      as_dirs="'$as_qdir' $as_dirs"
628098049353Smrg      as_dir=`$as_dirname -- "$as_dir" ||
628198049353Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
628298049353Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
62830ad07f78Smrg	 X"$as_dir" : 'X\(//\)$' \| \
62840ad07f78Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
62850ad07f78Smrg$as_echo X"$as_dir" |
62860ad07f78Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62870ad07f78Smrg	    s//\1/
62880ad07f78Smrg	    q
62890ad07f78Smrg	  }
62900ad07f78Smrg	  /^X\(\/\/\)[^/].*/{
62910ad07f78Smrg	    s//\1/
62920ad07f78Smrg	    q
62930ad07f78Smrg	  }
62940ad07f78Smrg	  /^X\(\/\/\)$/{
62950ad07f78Smrg	    s//\1/
62960ad07f78Smrg	    q
62970ad07f78Smrg	  }
62980ad07f78Smrg	  /^X\(\/\).*/{
62990ad07f78Smrg	    s//\1/
63000ad07f78Smrg	    q
63010ad07f78Smrg	  }
63020ad07f78Smrg	  s/.*/./; q'`
630398049353Smrg      test -d "$as_dir" && break
63040ad07f78Smrg    done
63050ad07f78Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
63060ad07f78Smrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
630798049353Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
630898049353Smrg   { (exit 1); exit 1; }; }; }
630998049353Smrg  ac_builddir=.
63100ad07f78Smrg
63110ad07f78Smrgcase "$ac_dir" in
63120ad07f78Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
63130ad07f78Smrg*)
63140ad07f78Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
63150ad07f78Smrg  # A ".." for each directory in $ac_dir_suffix.
63160ad07f78Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
63170ad07f78Smrg  case $ac_top_builddir_sub in
63180ad07f78Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
63190ad07f78Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
63200ad07f78Smrg  esac ;;
63210ad07f78Smrgesac
63220ad07f78Smrgac_abs_top_builddir=$ac_pwd
63230ad07f78Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
63240ad07f78Smrg# for backward compatibility:
632598049353Smrgac_top_builddir=$ac_top_build_prefix
632698049353Smrg
63270ad07f78Smrgcase $srcdir in
632898049353Smrg  .)  # We are building in place.
63290ad07f78Smrg    ac_srcdir=.
63300ad07f78Smrg    ac_top_srcdir=$ac_top_builddir_sub
63310ad07f78Smrg    ac_abs_top_srcdir=$ac_pwd ;;
633298049353Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
63330ad07f78Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
63340ad07f78Smrg    ac_top_srcdir=$srcdir
63350ad07f78Smrg    ac_abs_top_srcdir=$srcdir ;;
63360ad07f78Smrg  *) # Relative name.
63370ad07f78Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
63380ad07f78Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
633998049353Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
63400ad07f78Smrgesac
634198049353Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
634298049353Smrg
63430ad07f78Smrg
63440ad07f78Smrg  case $ac_mode in
63450ad07f78Smrg  :F)
63460ad07f78Smrg  #
63470ad07f78Smrg  # CONFIG_FILE
634898049353Smrg  #
634998049353Smrg
635098049353Smrg  case $INSTALL in
63510ad07f78Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
635298049353Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
63530ad07f78Smrg  esac
63540ad07f78Smrg  ac_MKDIR_P=$MKDIR_P
63550ad07f78Smrg  case $MKDIR_P in
63560ad07f78Smrg  [\\/$]* | ?:[\\/]* ) ;;
63570ad07f78Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
63580ad07f78Smrg  esac
635998049353Smrg_ACEOF
63600ad07f78Smrg
63610ad07f78Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63620ad07f78Smrg# If the template does not know about datarootdir, expand it.
63630ad07f78Smrg# FIXME: This hack should be removed a few years after 2.60.
63640ad07f78Smrgac_datarootdir_hack=; ac_datarootdir_seen=
63650ad07f78Smrg
63660ad07f78Smrgac_sed_dataroot='
63670ad07f78Smrg/datarootdir/ {
63680ad07f78Smrg  p
63690ad07f78Smrg  q
63700ad07f78Smrg}
63710ad07f78Smrg/@datadir@/p
63720ad07f78Smrg/@docdir@/p
63730ad07f78Smrg/@infodir@/p
63740ad07f78Smrg/@localedir@/p
63750ad07f78Smrg/@mandir@/p
63760ad07f78Smrg'
63770ad07f78Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
63780ad07f78Smrg*datarootdir*) ac_datarootdir_seen=yes;;
63790ad07f78Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
63800ad07f78Smrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
63810ad07f78Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
63820ad07f78Smrg_ACEOF
63830ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
63840ad07f78Smrg  ac_datarootdir_hack='
63850ad07f78Smrg  s&@datadir@&$datadir&g
63860ad07f78Smrg  s&@docdir@&$docdir&g
63870ad07f78Smrg  s&@infodir@&$infodir&g
63880ad07f78Smrg  s&@localedir@&$localedir&g
63890ad07f78Smrg  s&@mandir@&$mandir&g
63900ad07f78Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
639198049353Smrgesac
63920ad07f78Smrg_ACEOF
63930ad07f78Smrg
63940ad07f78Smrg# Neutralize VPATH when `$srcdir' = `.'.
63950ad07f78Smrg# Shell code in configure.ac might set extrasub.
63960ad07f78Smrg# FIXME: do we really want to maintain this feature?
63970ad07f78Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
639898049353Smrgac_sed_extra="$ac_vpsub
639998049353Smrg$extrasub
64000ad07f78Smrg_ACEOF
640198049353Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
640298049353Smrg:t
64030ad07f78Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
64040ad07f78Smrgs|@configure_input@|$ac_sed_conf_input|;t t
64050ad07f78Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
64060ad07f78Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
64070ad07f78Smrgs&@srcdir@&$ac_srcdir&;t t
64080ad07f78Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
64090ad07f78Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
64100ad07f78Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
64110ad07f78Smrgs&@builddir@&$ac_builddir&;t t
64120ad07f78Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
64130ad07f78Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
64140ad07f78Smrgs&@INSTALL@&$ac_INSTALL&;t t
64150ad07f78Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
64160ad07f78Smrg$ac_datarootdir_hack
64170ad07f78Smrg"
64180ad07f78Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
64190ad07f78Smrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
64200ad07f78Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
642198049353Smrg   { (exit 1); exit 1; }; }
64220ad07f78Smrg
64230ad07f78Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
64240ad07f78Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
64250ad07f78Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
64260ad07f78Smrg  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
64270ad07f78Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
64280ad07f78Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
64290ad07f78Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
64300ad07f78Smrg
64310ad07f78Smrg  rm -f "$tmp/stdin"
64320ad07f78Smrg  case $ac_file in
64330ad07f78Smrg  -) cat "$tmp/out" && rm -f "$tmp/out";;
64340ad07f78Smrg  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
64350ad07f78Smrg  esac \
64360ad07f78Smrg  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
64370ad07f78Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;}
64380ad07f78Smrg   { (exit 1); exit 1; }; }
64390ad07f78Smrg ;;
64400ad07f78Smrg
64410ad07f78Smrg
64420ad07f78Smrg  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
64430ad07f78Smrg$as_echo "$as_me: executing $ac_file commands" >&6;}
64440ad07f78Smrg ;;
64450ad07f78Smrg  esac
64460ad07f78Smrg
64470ad07f78Smrg
64480ad07f78Smrg  case $ac_file$ac_mode in
64490ad07f78Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
64500ad07f78Smrg  # Autoconf 2.62 quotes --file arguments for eval, but not when files
64510ad07f78Smrg  # are listed without --file.  Let's play safe and only enable the eval
64520ad07f78Smrg  # if we detect the quoting.
64530ad07f78Smrg  case $CONFIG_FILES in
64540ad07f78Smrg  *\'*) eval set x "$CONFIG_FILES" ;;
64550ad07f78Smrg  *)   set x $CONFIG_FILES ;;
64560ad07f78Smrg  esac
64570ad07f78Smrg  shift
64580ad07f78Smrg  for mf
64590ad07f78Smrg  do
64600ad07f78Smrg    # Strip MF so we end up with the name of the file.
64610ad07f78Smrg    mf=`echo "$mf" | sed -e 's/:.*$//'`
64620ad07f78Smrg    # Check whether this is an Automake generated Makefile or not.
64630ad07f78Smrg    # We used to match only the files named `Makefile.in', but
64640ad07f78Smrg    # some people rename them; so instead we look at the file content.
64650ad07f78Smrg    # Grep'ing the first line is not enough: some people post-process
64660ad07f78Smrg    # each Makefile.in and add a new line on top of each file to say so.
64670ad07f78Smrg    # Grep'ing the whole file is not good either: AIX grep has a line
64680ad07f78Smrg    # limit of 2048, but all sed's we know have understand at least 4000.
64690ad07f78Smrg    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
64700ad07f78Smrg      dirpart=`$as_dirname -- "$mf" ||
64710ad07f78Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
64720ad07f78Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
64730ad07f78Smrg	 X"$mf" : 'X\(//\)$' \| \
64740ad07f78Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
64750ad07f78Smrg$as_echo X"$mf" |
64760ad07f78Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
64770ad07f78Smrg	    s//\1/
64780ad07f78Smrg	    q
64790ad07f78Smrg	  }
64800ad07f78Smrg	  /^X\(\/\/\)[^/].*/{
64810ad07f78Smrg	    s//\1/
64820ad07f78Smrg	    q
64830ad07f78Smrg	  }
64840ad07f78Smrg	  /^X\(\/\/\)$/{
64850ad07f78Smrg	    s//\1/
64860ad07f78Smrg	    q
64870ad07f78Smrg	  }
64880ad07f78Smrg	  /^X\(\/\).*/{
64890ad07f78Smrg	    s//\1/
64900ad07f78Smrg	    q
64910ad07f78Smrg	  }
64920ad07f78Smrg	  s/.*/./; q'`
64930ad07f78Smrg    else
64940ad07f78Smrg      continue
64950ad07f78Smrg    fi
64960ad07f78Smrg    # Extract the definition of DEPDIR, am__include, and am__quote
64970ad07f78Smrg    # from the Makefile without running `make'.
64980ad07f78Smrg    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
64990ad07f78Smrg    test -z "$DEPDIR" && continue
65000ad07f78Smrg    am__include=`sed -n 's/^am__include = //p' < "$mf"`
65010ad07f78Smrg    test -z "am__include" && continue
65020ad07f78Smrg    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
65030ad07f78Smrg    # When using ansi2knr, U may be empty or an underscore; expand it
65040ad07f78Smrg    U=`sed -n 's/^U = //p' < "$mf"`
65050ad07f78Smrg    # Find all dependency output files, they are included files with
65060ad07f78Smrg    # $(DEPDIR) in their names.  We invoke sed twice because it is the
65070ad07f78Smrg    # simplest approach to changing $(DEPDIR) to its actual value in the
65080ad07f78Smrg    # expansion.
65090ad07f78Smrg    for file in `sed -n "
65100ad07f78Smrg      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
65110ad07f78Smrg	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
65120ad07f78Smrg      # Make sure the directory exists.
65130ad07f78Smrg      test -f "$dirpart/$file" && continue
65140ad07f78Smrg      fdir=`$as_dirname -- "$file" ||
65150ad07f78Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65160ad07f78Smrg	 X"$file" : 'X\(//\)[^/]' \| \
65170ad07f78Smrg	 X"$file" : 'X\(//\)$' \| \
65180ad07f78Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
65190ad07f78Smrg$as_echo X"$file" |
65200ad07f78Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
65210ad07f78Smrg	    s//\1/
65220ad07f78Smrg	    q
65230ad07f78Smrg	  }
65240ad07f78Smrg	  /^X\(\/\/\)[^/].*/{
65250ad07f78Smrg	    s//\1/
65260ad07f78Smrg	    q
65270ad07f78Smrg	  }
65280ad07f78Smrg	  /^X\(\/\/\)$/{
65290ad07f78Smrg	    s//\1/
65300ad07f78Smrg	    q
65310ad07f78Smrg	  }
65320ad07f78Smrg	  /^X\(\/\).*/{
65330ad07f78Smrg	    s//\1/
65340ad07f78Smrg	    q
65350ad07f78Smrg	  }
65360ad07f78Smrg	  s/.*/./; q'`
65370ad07f78Smrg      { as_dir=$dirpart/$fdir
65380ad07f78Smrg  case $as_dir in #(
65390ad07f78Smrg  -*) as_dir=./$as_dir;;
65400ad07f78Smrg  esac
65410ad07f78Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
65420ad07f78Smrg    as_dirs=
65430ad07f78Smrg    while :; do
65440ad07f78Smrg      case $as_dir in #(
65450ad07f78Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
65460ad07f78Smrg      *) as_qdir=$as_dir;;
65470ad07f78Smrg      esac
65480ad07f78Smrg      as_dirs="'$as_qdir' $as_dirs"
65490ad07f78Smrg      as_dir=`$as_dirname -- "$as_dir" ||
65500ad07f78Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65510ad07f78Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
65520ad07f78Smrg	 X"$as_dir" : 'X\(//\)$' \| \
65530ad07f78Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
65540ad07f78Smrg$as_echo X"$as_dir" |
65550ad07f78Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
65560ad07f78Smrg	    s//\1/
65570ad07f78Smrg	    q
65580ad07f78Smrg	  }
65590ad07f78Smrg	  /^X\(\/\/\)[^/].*/{
65600ad07f78Smrg	    s//\1/
65610ad07f78Smrg	    q
65620ad07f78Smrg	  }
65630ad07f78Smrg	  /^X\(\/\/\)$/{
65640ad07f78Smrg	    s//\1/
65650ad07f78Smrg	    q
65660ad07f78Smrg	  }
65670ad07f78Smrg	  /^X\(\/\).*/{
65680ad07f78Smrg	    s//\1/
65690ad07f78Smrg	    q
65700ad07f78Smrg	  }
65710ad07f78Smrg	  s/.*/./; q'`
65720ad07f78Smrg      test -d "$as_dir" && break
65730ad07f78Smrg    done
65740ad07f78Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
65750ad07f78Smrg  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
65760ad07f78Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
65770ad07f78Smrg   { (exit 1); exit 1; }; }; }
65780ad07f78Smrg      # echo "creating $dirpart/$file"
65790ad07f78Smrg      echo '# dummy' > "$dirpart/$file"
65800ad07f78Smrg    done
65810ad07f78Smrg  done
65820ad07f78Smrg}
65830ad07f78Smrg ;;
65840ad07f78Smrg
65850ad07f78Smrg  esac
658698049353Smrgdone # for ac_tag
658798049353Smrg
658898049353Smrg
658998049353Smrg{ (exit 0); exit 0; }
659098049353Smrg_ACEOF
659198049353Smrgchmod +x $CONFIG_STATUS
659298049353Smrgac_clean_files=$ac_clean_files_save
65930ad07f78Smrg
65940ad07f78Smrgtest $ac_write_fail = 0 ||
65950ad07f78Smrg  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
65960ad07f78Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
65970ad07f78Smrg   { (exit 1); exit 1; }; }
659898049353Smrg
659998049353Smrg
660098049353Smrg# configure is writing to config.log, and then calls config.status.
660198049353Smrg# config.status does its own redirection, appending to config.log.
660298049353Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
660398049353Smrg# by configure, so config.status won't be able to write to it; its
660498049353Smrg# output is simply discarded.  So we exec the FD to /dev/null,
660598049353Smrg# effectively closing config.log, so it can be properly (re)opened and
660698049353Smrg# appended to by config.status.  When coming back to configure, we
660798049353Smrg# need to make the FD available again.
660898049353Smrgif test "$no_create" != yes; then
660998049353Smrg  ac_cs_success=:
661098049353Smrg  ac_config_status_args=
661198049353Smrg  test "$silent" = yes &&
661298049353Smrg    ac_config_status_args="$ac_config_status_args --quiet"
661398049353Smrg  exec 5>/dev/null
661498049353Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
661598049353Smrg  exec 5>>config.log
661698049353Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
661798049353Smrg  # would make configure fail if this is the last instruction.
661898049353Smrg  $ac_cs_success || { (exit 1); exit 1; }
66190ad07f78Smrgfi
66200ad07f78Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
66210ad07f78Smrg  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
66220ad07f78Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
662398049353Smrgfi
6624
6625