configure revision 8b22bf3f
18b22bf3fSmrg#! /bin/sh
28b22bf3fSmrg# Guess values for system-dependent variables and create Makefiles.
38b22bf3fSmrg# Generated by GNU Autoconf 2.61 for xrdb 1.0.4.
48b22bf3fSmrg#
58b22bf3fSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
68b22bf3fSmrg#
78b22bf3fSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
88b22bf3fSmrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
98b22bf3fSmrg# This configure script is free software; the Free Software Foundation
108b22bf3fSmrg# gives unlimited permission to copy, distribute and modify it.
118b22bf3fSmrg## --------------------- ##
128b22bf3fSmrg## M4sh Initialization.  ##
138b22bf3fSmrg## --------------------- ##
148b22bf3fSmrg
158b22bf3fSmrg# Be more Bourne compatible
168b22bf3fSmrgDUALCASE=1; export DUALCASE # for MKS sh
178b22bf3fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
188b22bf3fSmrg  emulate sh
198b22bf3fSmrg  NULLCMD=:
208b22bf3fSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
218b22bf3fSmrg  # is contrary to our usage.  Disable this feature.
228b22bf3fSmrg  alias -g '${1+"$@"}'='"$@"'
238b22bf3fSmrg  setopt NO_GLOB_SUBST
248b22bf3fSmrgelse
258b22bf3fSmrg  case `(set -o) 2>/dev/null` in
268b22bf3fSmrg  *posix*) set -o posix ;;
278b22bf3fSmrgesac
288b22bf3fSmrg
298b22bf3fSmrgfi
308b22bf3fSmrg
318b22bf3fSmrg
328b22bf3fSmrg
338b22bf3fSmrg
348b22bf3fSmrg# PATH needs CR
358b22bf3fSmrg# Avoid depending upon Character Ranges.
368b22bf3fSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
378b22bf3fSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
388b22bf3fSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
398b22bf3fSmrgas_cr_digits='0123456789'
408b22bf3fSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
418b22bf3fSmrg
428b22bf3fSmrg# The user is always right.
438b22bf3fSmrgif test "${PATH_SEPARATOR+set}" != set; then
448b22bf3fSmrg  echo "#! /bin/sh" >conf$$.sh
458b22bf3fSmrg  echo  "exit 0"   >>conf$$.sh
468b22bf3fSmrg  chmod +x conf$$.sh
478b22bf3fSmrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
488b22bf3fSmrg    PATH_SEPARATOR=';'
498b22bf3fSmrg  else
508b22bf3fSmrg    PATH_SEPARATOR=:
518b22bf3fSmrg  fi
528b22bf3fSmrg  rm -f conf$$.sh
538b22bf3fSmrgfi
548b22bf3fSmrg
558b22bf3fSmrg# Support unset when possible.
568b22bf3fSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
578b22bf3fSmrg  as_unset=unset
588b22bf3fSmrgelse
598b22bf3fSmrg  as_unset=false
608b22bf3fSmrgfi
618b22bf3fSmrg
628b22bf3fSmrg
638b22bf3fSmrg# IFS
648b22bf3fSmrg# We need space, tab and new line, in precisely that order.  Quoting is
658b22bf3fSmrg# there to prevent editors from complaining about space-tab.
668b22bf3fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
678b22bf3fSmrg# splitting by setting IFS to empty value.)
688b22bf3fSmrgas_nl='
698b22bf3fSmrg'
708b22bf3fSmrgIFS=" ""	$as_nl"
718b22bf3fSmrg
728b22bf3fSmrg# Find who we are.  Look in the path if we contain no directory separator.
738b22bf3fSmrgcase $0 in
748b22bf3fSmrg  *[\\/]* ) as_myself=$0 ;;
758b22bf3fSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
768b22bf3fSmrgfor as_dir in $PATH
778b22bf3fSmrgdo
788b22bf3fSmrg  IFS=$as_save_IFS
798b22bf3fSmrg  test -z "$as_dir" && as_dir=.
808b22bf3fSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
818b22bf3fSmrgdone
828b22bf3fSmrgIFS=$as_save_IFS
838b22bf3fSmrg
848b22bf3fSmrg     ;;
858b22bf3fSmrgesac
868b22bf3fSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
878b22bf3fSmrg# in which case we are not to be found in the path.
888b22bf3fSmrgif test "x$as_myself" = x; then
898b22bf3fSmrg  as_myself=$0
908b22bf3fSmrgfi
918b22bf3fSmrgif test ! -f "$as_myself"; then
928b22bf3fSmrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
938b22bf3fSmrg  { (exit 1); exit 1; }
948b22bf3fSmrgfi
958b22bf3fSmrg
968b22bf3fSmrg# Work around bugs in pre-3.0 UWIN ksh.
978b22bf3fSmrgfor as_var in ENV MAIL MAILPATH
988b22bf3fSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
998b22bf3fSmrgdone
1008b22bf3fSmrgPS1='$ '
1018b22bf3fSmrgPS2='> '
1028b22bf3fSmrgPS4='+ '
1038b22bf3fSmrg
1048b22bf3fSmrg# NLS nuisances.
1058b22bf3fSmrgfor as_var in \
1068b22bf3fSmrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1078b22bf3fSmrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1088b22bf3fSmrg  LC_TELEPHONE LC_TIME
1098b22bf3fSmrgdo
1108b22bf3fSmrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1118b22bf3fSmrg    eval $as_var=C; export $as_var
1128b22bf3fSmrg  else
1138b22bf3fSmrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1148b22bf3fSmrg  fi
1158b22bf3fSmrgdone
1168b22bf3fSmrg
1178b22bf3fSmrg# Required to use basename.
1188b22bf3fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
1198b22bf3fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1208b22bf3fSmrg  as_expr=expr
1218b22bf3fSmrgelse
1228b22bf3fSmrg  as_expr=false
1238b22bf3fSmrgfi
1248b22bf3fSmrg
1258b22bf3fSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1268b22bf3fSmrg  as_basename=basename
1278b22bf3fSmrgelse
1288b22bf3fSmrg  as_basename=false
1298b22bf3fSmrgfi
1308b22bf3fSmrg
1318b22bf3fSmrg
1328b22bf3fSmrg# Name of the executable.
1338b22bf3fSmrgas_me=`$as_basename -- "$0" ||
1348b22bf3fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1358b22bf3fSmrg	 X"$0" : 'X\(//\)$' \| \
1368b22bf3fSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1378b22bf3fSmrgecho X/"$0" |
1388b22bf3fSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
1398b22bf3fSmrg	    s//\1/
1408b22bf3fSmrg	    q
1418b22bf3fSmrg	  }
1428b22bf3fSmrg	  /^X\/\(\/\/\)$/{
1438b22bf3fSmrg	    s//\1/
1448b22bf3fSmrg	    q
1458b22bf3fSmrg	  }
1468b22bf3fSmrg	  /^X\/\(\/\).*/{
1478b22bf3fSmrg	    s//\1/
1488b22bf3fSmrg	    q
1498b22bf3fSmrg	  }
1508b22bf3fSmrg	  s/.*/./; q'`
1518b22bf3fSmrg
1528b22bf3fSmrg# CDPATH.
1538b22bf3fSmrg$as_unset CDPATH
1548b22bf3fSmrg
1558b22bf3fSmrg
1568b22bf3fSmrgif test "x$CONFIG_SHELL" = x; then
1578b22bf3fSmrg  if (eval ":") 2>/dev/null; then
1588b22bf3fSmrg  as_have_required=yes
1598b22bf3fSmrgelse
1608b22bf3fSmrg  as_have_required=no
1618b22bf3fSmrgfi
1628b22bf3fSmrg
1638b22bf3fSmrg  if test $as_have_required = yes && 	 (eval ":
1648b22bf3fSmrg(as_func_return () {
1658b22bf3fSmrg  (exit \$1)
1668b22bf3fSmrg}
1678b22bf3fSmrgas_func_success () {
1688b22bf3fSmrg  as_func_return 0
1698b22bf3fSmrg}
1708b22bf3fSmrgas_func_failure () {
1718b22bf3fSmrg  as_func_return 1
1728b22bf3fSmrg}
1738b22bf3fSmrgas_func_ret_success () {
1748b22bf3fSmrg  return 0
1758b22bf3fSmrg}
1768b22bf3fSmrgas_func_ret_failure () {
1778b22bf3fSmrg  return 1
1788b22bf3fSmrg}
1798b22bf3fSmrg
1808b22bf3fSmrgexitcode=0
1818b22bf3fSmrgif as_func_success; then
1828b22bf3fSmrg  :
1838b22bf3fSmrgelse
1848b22bf3fSmrg  exitcode=1
1858b22bf3fSmrg  echo as_func_success failed.
1868b22bf3fSmrgfi
1878b22bf3fSmrg
1888b22bf3fSmrgif as_func_failure; then
1898b22bf3fSmrg  exitcode=1
1908b22bf3fSmrg  echo as_func_failure succeeded.
1918b22bf3fSmrgfi
1928b22bf3fSmrg
1938b22bf3fSmrgif as_func_ret_success; then
1948b22bf3fSmrg  :
1958b22bf3fSmrgelse
1968b22bf3fSmrg  exitcode=1
1978b22bf3fSmrg  echo as_func_ret_success failed.
1988b22bf3fSmrgfi
1998b22bf3fSmrg
2008b22bf3fSmrgif as_func_ret_failure; then
2018b22bf3fSmrg  exitcode=1
2028b22bf3fSmrg  echo as_func_ret_failure succeeded.
2038b22bf3fSmrgfi
2048b22bf3fSmrg
2058b22bf3fSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2068b22bf3fSmrg  :
2078b22bf3fSmrgelse
2088b22bf3fSmrg  exitcode=1
2098b22bf3fSmrg  echo positional parameters were not saved.
2108b22bf3fSmrgfi
2118b22bf3fSmrg
2128b22bf3fSmrgtest \$exitcode = 0) || { (exit 1); exit 1; }
2138b22bf3fSmrg
2148b22bf3fSmrg(
2158b22bf3fSmrg  as_lineno_1=\$LINENO
2168b22bf3fSmrg  as_lineno_2=\$LINENO
2178b22bf3fSmrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2188b22bf3fSmrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2198b22bf3fSmrg") 2> /dev/null; then
2208b22bf3fSmrg  :
2218b22bf3fSmrgelse
2228b22bf3fSmrg  as_candidate_shells=
2238b22bf3fSmrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248b22bf3fSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2258b22bf3fSmrgdo
2268b22bf3fSmrg  IFS=$as_save_IFS
2278b22bf3fSmrg  test -z "$as_dir" && as_dir=.
2288b22bf3fSmrg  case $as_dir in
2298b22bf3fSmrg	 /*)
2308b22bf3fSmrg	   for as_base in sh bash ksh sh5; do
2318b22bf3fSmrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2328b22bf3fSmrg	   done;;
2338b22bf3fSmrg       esac
2348b22bf3fSmrgdone
2358b22bf3fSmrgIFS=$as_save_IFS
2368b22bf3fSmrg
2378b22bf3fSmrg
2388b22bf3fSmrg      for as_shell in $as_candidate_shells $SHELL; do
2398b22bf3fSmrg	 # Try only shells that exist, to save several forks.
2408b22bf3fSmrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2418b22bf3fSmrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
2428b22bf3fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2438b22bf3fSmrg  emulate sh
2448b22bf3fSmrg  NULLCMD=:
2458b22bf3fSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2468b22bf3fSmrg  # is contrary to our usage.  Disable this feature.
2478b22bf3fSmrg  alias -g '${1+"$@"}'='"$@"'
2488b22bf3fSmrg  setopt NO_GLOB_SUBST
2498b22bf3fSmrgelse
2508b22bf3fSmrg  case `(set -o) 2>/dev/null` in
2518b22bf3fSmrg  *posix*) set -o posix ;;
2528b22bf3fSmrgesac
2538b22bf3fSmrg
2548b22bf3fSmrgfi
2558b22bf3fSmrg
2568b22bf3fSmrg
2578b22bf3fSmrg:
2588b22bf3fSmrg_ASEOF
2598b22bf3fSmrg}; then
2608b22bf3fSmrg  CONFIG_SHELL=$as_shell
2618b22bf3fSmrg	       as_have_required=yes
2628b22bf3fSmrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
2638b22bf3fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2648b22bf3fSmrg  emulate sh
2658b22bf3fSmrg  NULLCMD=:
2668b22bf3fSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2678b22bf3fSmrg  # is contrary to our usage.  Disable this feature.
2688b22bf3fSmrg  alias -g '${1+"$@"}'='"$@"'
2698b22bf3fSmrg  setopt NO_GLOB_SUBST
2708b22bf3fSmrgelse
2718b22bf3fSmrg  case `(set -o) 2>/dev/null` in
2728b22bf3fSmrg  *posix*) set -o posix ;;
2738b22bf3fSmrgesac
2748b22bf3fSmrg
2758b22bf3fSmrgfi
2768b22bf3fSmrg
2778b22bf3fSmrg
2788b22bf3fSmrg:
2798b22bf3fSmrg(as_func_return () {
2808b22bf3fSmrg  (exit $1)
2818b22bf3fSmrg}
2828b22bf3fSmrgas_func_success () {
2838b22bf3fSmrg  as_func_return 0
2848b22bf3fSmrg}
2858b22bf3fSmrgas_func_failure () {
2868b22bf3fSmrg  as_func_return 1
2878b22bf3fSmrg}
2888b22bf3fSmrgas_func_ret_success () {
2898b22bf3fSmrg  return 0
2908b22bf3fSmrg}
2918b22bf3fSmrgas_func_ret_failure () {
2928b22bf3fSmrg  return 1
2938b22bf3fSmrg}
2948b22bf3fSmrg
2958b22bf3fSmrgexitcode=0
2968b22bf3fSmrgif as_func_success; then
2978b22bf3fSmrg  :
2988b22bf3fSmrgelse
2998b22bf3fSmrg  exitcode=1
3008b22bf3fSmrg  echo as_func_success failed.
3018b22bf3fSmrgfi
3028b22bf3fSmrg
3038b22bf3fSmrgif as_func_failure; then
3048b22bf3fSmrg  exitcode=1
3058b22bf3fSmrg  echo as_func_failure succeeded.
3068b22bf3fSmrgfi
3078b22bf3fSmrg
3088b22bf3fSmrgif as_func_ret_success; then
3098b22bf3fSmrg  :
3108b22bf3fSmrgelse
3118b22bf3fSmrg  exitcode=1
3128b22bf3fSmrg  echo as_func_ret_success failed.
3138b22bf3fSmrgfi
3148b22bf3fSmrg
3158b22bf3fSmrgif as_func_ret_failure; then
3168b22bf3fSmrg  exitcode=1
3178b22bf3fSmrg  echo as_func_ret_failure succeeded.
3188b22bf3fSmrgfi
3198b22bf3fSmrg
3208b22bf3fSmrgif ( set x; as_func_ret_success y && test x = "$1" ); then
3218b22bf3fSmrg  :
3228b22bf3fSmrgelse
3238b22bf3fSmrg  exitcode=1
3248b22bf3fSmrg  echo positional parameters were not saved.
3258b22bf3fSmrgfi
3268b22bf3fSmrg
3278b22bf3fSmrgtest $exitcode = 0) || { (exit 1); exit 1; }
3288b22bf3fSmrg
3298b22bf3fSmrg(
3308b22bf3fSmrg  as_lineno_1=$LINENO
3318b22bf3fSmrg  as_lineno_2=$LINENO
3328b22bf3fSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3338b22bf3fSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3348b22bf3fSmrg
3358b22bf3fSmrg_ASEOF
3368b22bf3fSmrg}; then
3378b22bf3fSmrg  break
3388b22bf3fSmrgfi
3398b22bf3fSmrg
3408b22bf3fSmrgfi
3418b22bf3fSmrg
3428b22bf3fSmrg      done
3438b22bf3fSmrg
3448b22bf3fSmrg      if test "x$CONFIG_SHELL" != x; then
3458b22bf3fSmrg  for as_var in BASH_ENV ENV
3468b22bf3fSmrg        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3478b22bf3fSmrg        done
3488b22bf3fSmrg        export CONFIG_SHELL
3498b22bf3fSmrg        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3508b22bf3fSmrgfi
3518b22bf3fSmrg
3528b22bf3fSmrg
3538b22bf3fSmrg    if test $as_have_required = no; then
3548b22bf3fSmrg  echo This script requires a shell more modern than all the
3558b22bf3fSmrg      echo shells that I found on your system.  Please install a
3568b22bf3fSmrg      echo modern shell, or manually run the script under such a
3578b22bf3fSmrg      echo shell if you do have one.
3588b22bf3fSmrg      { (exit 1); exit 1; }
3598b22bf3fSmrgfi
3608b22bf3fSmrg
3618b22bf3fSmrg
3628b22bf3fSmrgfi
3638b22bf3fSmrg
3648b22bf3fSmrgfi
3658b22bf3fSmrg
3668b22bf3fSmrg
3678b22bf3fSmrg
3688b22bf3fSmrg(eval "as_func_return () {
3698b22bf3fSmrg  (exit \$1)
3708b22bf3fSmrg}
3718b22bf3fSmrgas_func_success () {
3728b22bf3fSmrg  as_func_return 0
3738b22bf3fSmrg}
3748b22bf3fSmrgas_func_failure () {
3758b22bf3fSmrg  as_func_return 1
3768b22bf3fSmrg}
3778b22bf3fSmrgas_func_ret_success () {
3788b22bf3fSmrg  return 0
3798b22bf3fSmrg}
3808b22bf3fSmrgas_func_ret_failure () {
3818b22bf3fSmrg  return 1
3828b22bf3fSmrg}
3838b22bf3fSmrg
3848b22bf3fSmrgexitcode=0
3858b22bf3fSmrgif as_func_success; then
3868b22bf3fSmrg  :
3878b22bf3fSmrgelse
3888b22bf3fSmrg  exitcode=1
3898b22bf3fSmrg  echo as_func_success failed.
3908b22bf3fSmrgfi
3918b22bf3fSmrg
3928b22bf3fSmrgif as_func_failure; then
3938b22bf3fSmrg  exitcode=1
3948b22bf3fSmrg  echo as_func_failure succeeded.
3958b22bf3fSmrgfi
3968b22bf3fSmrg
3978b22bf3fSmrgif as_func_ret_success; then
3988b22bf3fSmrg  :
3998b22bf3fSmrgelse
4008b22bf3fSmrg  exitcode=1
4018b22bf3fSmrg  echo as_func_ret_success failed.
4028b22bf3fSmrgfi
4038b22bf3fSmrg
4048b22bf3fSmrgif as_func_ret_failure; then
4058b22bf3fSmrg  exitcode=1
4068b22bf3fSmrg  echo as_func_ret_failure succeeded.
4078b22bf3fSmrgfi
4088b22bf3fSmrg
4098b22bf3fSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
4108b22bf3fSmrg  :
4118b22bf3fSmrgelse
4128b22bf3fSmrg  exitcode=1
4138b22bf3fSmrg  echo positional parameters were not saved.
4148b22bf3fSmrgfi
4158b22bf3fSmrg
4168b22bf3fSmrgtest \$exitcode = 0") || {
4178b22bf3fSmrg  echo No shell found that supports shell functions.
4188b22bf3fSmrg  echo Please tell autoconf@gnu.org about your system,
4198b22bf3fSmrg  echo including any error possibly output before this
4208b22bf3fSmrg  echo message
4218b22bf3fSmrg}
4228b22bf3fSmrg
4238b22bf3fSmrg
4248b22bf3fSmrg
4258b22bf3fSmrg  as_lineno_1=$LINENO
4268b22bf3fSmrg  as_lineno_2=$LINENO
4278b22bf3fSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
4288b22bf3fSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4298b22bf3fSmrg
4308b22bf3fSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4318b22bf3fSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
4328b22bf3fSmrg  # line-number line after each line using $LINENO; the second 'sed'
4338b22bf3fSmrg  # does the real work.  The second script uses 'N' to pair each
4348b22bf3fSmrg  # line-number line with the line containing $LINENO, and appends
4358b22bf3fSmrg  # trailing '-' during substitution so that $LINENO is not a special
4368b22bf3fSmrg  # case at line end.
4378b22bf3fSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4388b22bf3fSmrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4398b22bf3fSmrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
4408b22bf3fSmrg  sed -n '
4418b22bf3fSmrg    p
4428b22bf3fSmrg    /[$]LINENO/=
4438b22bf3fSmrg  ' <$as_myself |
4448b22bf3fSmrg    sed '
4458b22bf3fSmrg      s/[$]LINENO.*/&-/
4468b22bf3fSmrg      t lineno
4478b22bf3fSmrg      b
4488b22bf3fSmrg      :lineno
4498b22bf3fSmrg      N
4508b22bf3fSmrg      :loop
4518b22bf3fSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4528b22bf3fSmrg      t loop
4538b22bf3fSmrg      s/-\n.*//
4548b22bf3fSmrg    ' >$as_me.lineno &&
4558b22bf3fSmrg  chmod +x "$as_me.lineno" ||
4568b22bf3fSmrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4578b22bf3fSmrg   { (exit 1); exit 1; }; }
4588b22bf3fSmrg
4598b22bf3fSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
4608b22bf3fSmrg  # (the dirname of $[0] is not the place where we might find the
4618b22bf3fSmrg  # original and so on.  Autoconf is especially sensitive to this).
4628b22bf3fSmrg  . "./$as_me.lineno"
4638b22bf3fSmrg  # Exit status is that of the last command.
4648b22bf3fSmrg  exit
4658b22bf3fSmrg}
4668b22bf3fSmrg
4678b22bf3fSmrg
4688b22bf3fSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4698b22bf3fSmrg  as_dirname=dirname
4708b22bf3fSmrgelse
4718b22bf3fSmrg  as_dirname=false
4728b22bf3fSmrgfi
4738b22bf3fSmrg
4748b22bf3fSmrgECHO_C= ECHO_N= ECHO_T=
4758b22bf3fSmrgcase `echo -n x` in
4768b22bf3fSmrg-n*)
4778b22bf3fSmrg  case `echo 'x\c'` in
4788b22bf3fSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4798b22bf3fSmrg  *)   ECHO_C='\c';;
4808b22bf3fSmrg  esac;;
4818b22bf3fSmrg*)
4828b22bf3fSmrg  ECHO_N='-n';;
4838b22bf3fSmrgesac
4848b22bf3fSmrg
4858b22bf3fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4868b22bf3fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4878b22bf3fSmrg  as_expr=expr
4888b22bf3fSmrgelse
4898b22bf3fSmrg  as_expr=false
4908b22bf3fSmrgfi
4918b22bf3fSmrg
4928b22bf3fSmrgrm -f conf$$ conf$$.exe conf$$.file
4938b22bf3fSmrgif test -d conf$$.dir; then
4948b22bf3fSmrg  rm -f conf$$.dir/conf$$.file
4958b22bf3fSmrgelse
4968b22bf3fSmrg  rm -f conf$$.dir
4978b22bf3fSmrg  mkdir conf$$.dir
4988b22bf3fSmrgfi
4998b22bf3fSmrgecho >conf$$.file
5008b22bf3fSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then
5018b22bf3fSmrg  as_ln_s='ln -s'
5028b22bf3fSmrg  # ... but there are two gotchas:
5038b22bf3fSmrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5048b22bf3fSmrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5058b22bf3fSmrg  # In both cases, we have to default to `cp -p'.
5068b22bf3fSmrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5078b22bf3fSmrg    as_ln_s='cp -p'
5088b22bf3fSmrgelif ln conf$$.file conf$$ 2>/dev/null; then
5098b22bf3fSmrg  as_ln_s=ln
5108b22bf3fSmrgelse
5118b22bf3fSmrg  as_ln_s='cp -p'
5128b22bf3fSmrgfi
5138b22bf3fSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5148b22bf3fSmrgrmdir conf$$.dir 2>/dev/null
5158b22bf3fSmrg
5168b22bf3fSmrgif mkdir -p . 2>/dev/null; then
5178b22bf3fSmrg  as_mkdir_p=:
5188b22bf3fSmrgelse
5198b22bf3fSmrg  test -d ./-p && rmdir ./-p
5208b22bf3fSmrg  as_mkdir_p=false
5218b22bf3fSmrgfi
5228b22bf3fSmrg
5238b22bf3fSmrgif test -x / >/dev/null 2>&1; then
5248b22bf3fSmrg  as_test_x='test -x'
5258b22bf3fSmrgelse
5268b22bf3fSmrg  if ls -dL / >/dev/null 2>&1; then
5278b22bf3fSmrg    as_ls_L_option=L
5288b22bf3fSmrg  else
5298b22bf3fSmrg    as_ls_L_option=
5308b22bf3fSmrg  fi
5318b22bf3fSmrg  as_test_x='
5328b22bf3fSmrg    eval sh -c '\''
5338b22bf3fSmrg      if test -d "$1"; then
5348b22bf3fSmrg        test -d "$1/.";
5358b22bf3fSmrg      else
5368b22bf3fSmrg	case $1 in
5378b22bf3fSmrg        -*)set "./$1";;
5388b22bf3fSmrg	esac;
5398b22bf3fSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5408b22bf3fSmrg	???[sx]*):;;*)false;;esac;fi
5418b22bf3fSmrg    '\'' sh
5428b22bf3fSmrg  '
5438b22bf3fSmrgfi
5448b22bf3fSmrgas_executable_p=$as_test_x
5458b22bf3fSmrg
5468b22bf3fSmrg# Sed expression to map a string onto a valid CPP name.
5478b22bf3fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5488b22bf3fSmrg
5498b22bf3fSmrg# Sed expression to map a string onto a valid variable name.
5508b22bf3fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5518b22bf3fSmrg
5528b22bf3fSmrg
5538b22bf3fSmrg
5548b22bf3fSmrgexec 7<&0 </dev/null 6>&1
5558b22bf3fSmrg
5568b22bf3fSmrg# Name of the host.
5578b22bf3fSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5588b22bf3fSmrg# so uname gets run too.
5598b22bf3fSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5608b22bf3fSmrg
5618b22bf3fSmrg#
5628b22bf3fSmrg# Initializations.
5638b22bf3fSmrg#
5648b22bf3fSmrgac_default_prefix=/usr/local
5658b22bf3fSmrgac_clean_files=
5668b22bf3fSmrgac_config_libobj_dir=.
5678b22bf3fSmrgLIBOBJS=
5688b22bf3fSmrgcross_compiling=no
5698b22bf3fSmrgsubdirs=
5708b22bf3fSmrgMFLAGS=
5718b22bf3fSmrgMAKEFLAGS=
5728b22bf3fSmrgSHELL=${CONFIG_SHELL-/bin/sh}
5738b22bf3fSmrg
5748b22bf3fSmrg# Identity of this package.
5758b22bf3fSmrgPACKAGE_NAME='xrdb'
5768b22bf3fSmrgPACKAGE_TARNAME='xrdb'
5778b22bf3fSmrgPACKAGE_VERSION='1.0.4'
5788b22bf3fSmrgPACKAGE_STRING='xrdb 1.0.4'
5798b22bf3fSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
5808b22bf3fSmrg
5818b22bf3fSmrg# Factoring default headers for most tests.
5828b22bf3fSmrgac_includes_default="\
5838b22bf3fSmrg#include <stdio.h>
5848b22bf3fSmrg#ifdef HAVE_SYS_TYPES_H
5858b22bf3fSmrg# include <sys/types.h>
5868b22bf3fSmrg#endif
5878b22bf3fSmrg#ifdef HAVE_SYS_STAT_H
5888b22bf3fSmrg# include <sys/stat.h>
5898b22bf3fSmrg#endif
5908b22bf3fSmrg#ifdef STDC_HEADERS
5918b22bf3fSmrg# include <stdlib.h>
5928b22bf3fSmrg# include <stddef.h>
5938b22bf3fSmrg#else
5948b22bf3fSmrg# ifdef HAVE_STDLIB_H
5958b22bf3fSmrg#  include <stdlib.h>
5968b22bf3fSmrg# endif
5978b22bf3fSmrg#endif
5988b22bf3fSmrg#ifdef HAVE_STRING_H
5998b22bf3fSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6008b22bf3fSmrg#  include <memory.h>
6018b22bf3fSmrg# endif
6028b22bf3fSmrg# include <string.h>
6038b22bf3fSmrg#endif
6048b22bf3fSmrg#ifdef HAVE_STRINGS_H
6058b22bf3fSmrg# include <strings.h>
6068b22bf3fSmrg#endif
6078b22bf3fSmrg#ifdef HAVE_INTTYPES_H
6088b22bf3fSmrg# include <inttypes.h>
6098b22bf3fSmrg#endif
6108b22bf3fSmrg#ifdef HAVE_STDINT_H
6118b22bf3fSmrg# include <stdint.h>
6128b22bf3fSmrg#endif
6138b22bf3fSmrg#ifdef HAVE_UNISTD_H
6148b22bf3fSmrg# include <unistd.h>
6158b22bf3fSmrg#endif"
6168b22bf3fSmrg
6178b22bf3fSmrgac_subst_vars='SHELL
6188b22bf3fSmrgPATH_SEPARATOR
6198b22bf3fSmrgPACKAGE_NAME
6208b22bf3fSmrgPACKAGE_TARNAME
6218b22bf3fSmrgPACKAGE_VERSION
6228b22bf3fSmrgPACKAGE_STRING
6238b22bf3fSmrgPACKAGE_BUGREPORT
6248b22bf3fSmrgexec_prefix
6258b22bf3fSmrgprefix
6268b22bf3fSmrgprogram_transform_name
6278b22bf3fSmrgbindir
6288b22bf3fSmrgsbindir
6298b22bf3fSmrglibexecdir
6308b22bf3fSmrgdatarootdir
6318b22bf3fSmrgdatadir
6328b22bf3fSmrgsysconfdir
6338b22bf3fSmrgsharedstatedir
6348b22bf3fSmrglocalstatedir
6358b22bf3fSmrgincludedir
6368b22bf3fSmrgoldincludedir
6378b22bf3fSmrgdocdir
6388b22bf3fSmrginfodir
6398b22bf3fSmrghtmldir
6408b22bf3fSmrgdvidir
6418b22bf3fSmrgpdfdir
6428b22bf3fSmrgpsdir
6438b22bf3fSmrglibdir
6448b22bf3fSmrglocaledir
6458b22bf3fSmrgmandir
6468b22bf3fSmrgDEFS
6478b22bf3fSmrgECHO_C
6488b22bf3fSmrgECHO_N
6498b22bf3fSmrgECHO_T
6508b22bf3fSmrgLIBS
6518b22bf3fSmrgbuild_alias
6528b22bf3fSmrghost_alias
6538b22bf3fSmrgtarget_alias
6548b22bf3fSmrgINSTALL_PROGRAM
6558b22bf3fSmrgINSTALL_SCRIPT
6568b22bf3fSmrgINSTALL_DATA
6578b22bf3fSmrgam__isrc
6588b22bf3fSmrgCYGPATH_W
6598b22bf3fSmrgPACKAGE
6608b22bf3fSmrgVERSION
6618b22bf3fSmrgACLOCAL
6628b22bf3fSmrgAUTOCONF
6638b22bf3fSmrgAUTOMAKE
6648b22bf3fSmrgAUTOHEADER
6658b22bf3fSmrgMAKEINFO
6668b22bf3fSmrginstall_sh
6678b22bf3fSmrgSTRIP
6688b22bf3fSmrgINSTALL_STRIP_PROGRAM
6698b22bf3fSmrgmkdir_p
6708b22bf3fSmrgAWK
6718b22bf3fSmrgSET_MAKE
6728b22bf3fSmrgam__leading_dot
6738b22bf3fSmrgAMTAR
6748b22bf3fSmrgam__tar
6758b22bf3fSmrgam__untar
6768b22bf3fSmrgMAINTAINER_MODE_TRUE
6778b22bf3fSmrgMAINTAINER_MODE_FALSE
6788b22bf3fSmrgMAINT
6798b22bf3fSmrgCC
6808b22bf3fSmrgCFLAGS
6818b22bf3fSmrgLDFLAGS
6828b22bf3fSmrgCPPFLAGS
6838b22bf3fSmrgac_ct_CC
6848b22bf3fSmrgEXEEXT
6858b22bf3fSmrgOBJEXT
6868b22bf3fSmrgDEPDIR
6878b22bf3fSmrgam__include
6888b22bf3fSmrgam__quote
6898b22bf3fSmrgAMDEP_TRUE
6908b22bf3fSmrgAMDEP_FALSE
6918b22bf3fSmrgAMDEPBACKSLASH
6928b22bf3fSmrgCCDEPMODE
6938b22bf3fSmrgam__fastdepCC_TRUE
6948b22bf3fSmrgam__fastdepCC_FALSE
6958b22bf3fSmrgCPP
6968b22bf3fSmrgGREP
6978b22bf3fSmrgEGREP
6988b22bf3fSmrgCPP_PATH
6998b22bf3fSmrgPKG_CONFIG
7008b22bf3fSmrgXRDB_CFLAGS
7018b22bf3fSmrgXRDB_LIBS
7028b22bf3fSmrgbuild
7038b22bf3fSmrgbuild_cpu
7048b22bf3fSmrgbuild_vendor
7058b22bf3fSmrgbuild_os
7068b22bf3fSmrghost
7078b22bf3fSmrghost_cpu
7088b22bf3fSmrghost_vendor
7098b22bf3fSmrghost_os
7108b22bf3fSmrgAPP_MAN_SUFFIX
7118b22bf3fSmrgLIB_MAN_SUFFIX
7128b22bf3fSmrgFILE_MAN_SUFFIX
7138b22bf3fSmrgMISC_MAN_SUFFIX
7148b22bf3fSmrgDRIVER_MAN_SUFFIX
7158b22bf3fSmrgADMIN_MAN_SUFFIX
7168b22bf3fSmrgAPP_MAN_DIR
7178b22bf3fSmrgLIB_MAN_DIR
7188b22bf3fSmrgFILE_MAN_DIR
7198b22bf3fSmrgMISC_MAN_DIR
7208b22bf3fSmrgDRIVER_MAN_DIR
7218b22bf3fSmrgADMIN_MAN_DIR
7228b22bf3fSmrgLIBOBJS
7238b22bf3fSmrgLTLIBOBJS'
7248b22bf3fSmrgac_subst_files=''
7258b22bf3fSmrg      ac_precious_vars='build_alias
7268b22bf3fSmrghost_alias
7278b22bf3fSmrgtarget_alias
7288b22bf3fSmrgCC
7298b22bf3fSmrgCFLAGS
7308b22bf3fSmrgLDFLAGS
7318b22bf3fSmrgLIBS
7328b22bf3fSmrgCPPFLAGS
7338b22bf3fSmrgCPP
7348b22bf3fSmrgPKG_CONFIG
7358b22bf3fSmrgXRDB_CFLAGS
7368b22bf3fSmrgXRDB_LIBS'
7378b22bf3fSmrg
7388b22bf3fSmrg
7398b22bf3fSmrg# Initialize some variables set by options.
7408b22bf3fSmrgac_init_help=
7418b22bf3fSmrgac_init_version=false
7428b22bf3fSmrg# The variables have the same names as the options, with
7438b22bf3fSmrg# dashes changed to underlines.
7448b22bf3fSmrgcache_file=/dev/null
7458b22bf3fSmrgexec_prefix=NONE
7468b22bf3fSmrgno_create=
7478b22bf3fSmrgno_recursion=
7488b22bf3fSmrgprefix=NONE
7498b22bf3fSmrgprogram_prefix=NONE
7508b22bf3fSmrgprogram_suffix=NONE
7518b22bf3fSmrgprogram_transform_name=s,x,x,
7528b22bf3fSmrgsilent=
7538b22bf3fSmrgsite=
7548b22bf3fSmrgsrcdir=
7558b22bf3fSmrgverbose=
7568b22bf3fSmrgx_includes=NONE
7578b22bf3fSmrgx_libraries=NONE
7588b22bf3fSmrg
7598b22bf3fSmrg# Installation directory options.
7608b22bf3fSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
7618b22bf3fSmrg# and all the variables that are supposed to be based on exec_prefix
7628b22bf3fSmrg# by default will actually change.
7638b22bf3fSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
7648b22bf3fSmrg# (The list follows the same order as the GNU Coding Standards.)
7658b22bf3fSmrgbindir='${exec_prefix}/bin'
7668b22bf3fSmrgsbindir='${exec_prefix}/sbin'
7678b22bf3fSmrglibexecdir='${exec_prefix}/libexec'
7688b22bf3fSmrgdatarootdir='${prefix}/share'
7698b22bf3fSmrgdatadir='${datarootdir}'
7708b22bf3fSmrgsysconfdir='${prefix}/etc'
7718b22bf3fSmrgsharedstatedir='${prefix}/com'
7728b22bf3fSmrglocalstatedir='${prefix}/var'
7738b22bf3fSmrgincludedir='${prefix}/include'
7748b22bf3fSmrgoldincludedir='/usr/include'
7758b22bf3fSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7768b22bf3fSmrginfodir='${datarootdir}/info'
7778b22bf3fSmrghtmldir='${docdir}'
7788b22bf3fSmrgdvidir='${docdir}'
7798b22bf3fSmrgpdfdir='${docdir}'
7808b22bf3fSmrgpsdir='${docdir}'
7818b22bf3fSmrglibdir='${exec_prefix}/lib'
7828b22bf3fSmrglocaledir='${datarootdir}/locale'
7838b22bf3fSmrgmandir='${datarootdir}/man'
7848b22bf3fSmrg
7858b22bf3fSmrgac_prev=
7868b22bf3fSmrgac_dashdash=
7878b22bf3fSmrgfor ac_option
7888b22bf3fSmrgdo
7898b22bf3fSmrg  # If the previous option needs an argument, assign it.
7908b22bf3fSmrg  if test -n "$ac_prev"; then
7918b22bf3fSmrg    eval $ac_prev=\$ac_option
7928b22bf3fSmrg    ac_prev=
7938b22bf3fSmrg    continue
7948b22bf3fSmrg  fi
7958b22bf3fSmrg
7968b22bf3fSmrg  case $ac_option in
7978b22bf3fSmrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
7988b22bf3fSmrg  *)	ac_optarg=yes ;;
7998b22bf3fSmrg  esac
8008b22bf3fSmrg
8018b22bf3fSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
8028b22bf3fSmrg
8038b22bf3fSmrg  case $ac_dashdash$ac_option in
8048b22bf3fSmrg  --)
8058b22bf3fSmrg    ac_dashdash=yes ;;
8068b22bf3fSmrg
8078b22bf3fSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
8088b22bf3fSmrg    ac_prev=bindir ;;
8098b22bf3fSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
8108b22bf3fSmrg    bindir=$ac_optarg ;;
8118b22bf3fSmrg
8128b22bf3fSmrg  -build | --build | --buil | --bui | --bu)
8138b22bf3fSmrg    ac_prev=build_alias ;;
8148b22bf3fSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
8158b22bf3fSmrg    build_alias=$ac_optarg ;;
8168b22bf3fSmrg
8178b22bf3fSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
8188b22bf3fSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8198b22bf3fSmrg    ac_prev=cache_file ;;
8208b22bf3fSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8218b22bf3fSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
8228b22bf3fSmrg    cache_file=$ac_optarg ;;
8238b22bf3fSmrg
8248b22bf3fSmrg  --config-cache | -C)
8258b22bf3fSmrg    cache_file=config.cache ;;
8268b22bf3fSmrg
8278b22bf3fSmrg  -datadir | --datadir | --datadi | --datad)
8288b22bf3fSmrg    ac_prev=datadir ;;
8298b22bf3fSmrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
8308b22bf3fSmrg    datadir=$ac_optarg ;;
8318b22bf3fSmrg
8328b22bf3fSmrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8338b22bf3fSmrg  | --dataroo | --dataro | --datar)
8348b22bf3fSmrg    ac_prev=datarootdir ;;
8358b22bf3fSmrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8368b22bf3fSmrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8378b22bf3fSmrg    datarootdir=$ac_optarg ;;
8388b22bf3fSmrg
8398b22bf3fSmrg  -disable-* | --disable-*)
8408b22bf3fSmrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8418b22bf3fSmrg    # Reject names that are not valid shell variable names.
8428b22bf3fSmrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8438b22bf3fSmrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
8448b22bf3fSmrg   { (exit 1); exit 1; }; }
8458b22bf3fSmrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
8468b22bf3fSmrg    eval enable_$ac_feature=no ;;
8478b22bf3fSmrg
8488b22bf3fSmrg  -docdir | --docdir | --docdi | --doc | --do)
8498b22bf3fSmrg    ac_prev=docdir ;;
8508b22bf3fSmrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8518b22bf3fSmrg    docdir=$ac_optarg ;;
8528b22bf3fSmrg
8538b22bf3fSmrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8548b22bf3fSmrg    ac_prev=dvidir ;;
8558b22bf3fSmrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8568b22bf3fSmrg    dvidir=$ac_optarg ;;
8578b22bf3fSmrg
8588b22bf3fSmrg  -enable-* | --enable-*)
8598b22bf3fSmrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8608b22bf3fSmrg    # Reject names that are not valid shell variable names.
8618b22bf3fSmrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8628b22bf3fSmrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
8638b22bf3fSmrg   { (exit 1); exit 1; }; }
8648b22bf3fSmrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
8658b22bf3fSmrg    eval enable_$ac_feature=\$ac_optarg ;;
8668b22bf3fSmrg
8678b22bf3fSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
8688b22bf3fSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
8698b22bf3fSmrg  | --exec | --exe | --ex)
8708b22bf3fSmrg    ac_prev=exec_prefix ;;
8718b22bf3fSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
8728b22bf3fSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
8738b22bf3fSmrg  | --exec=* | --exe=* | --ex=*)
8748b22bf3fSmrg    exec_prefix=$ac_optarg ;;
8758b22bf3fSmrg
8768b22bf3fSmrg  -gas | --gas | --ga | --g)
8778b22bf3fSmrg    # Obsolete; use --with-gas.
8788b22bf3fSmrg    with_gas=yes ;;
8798b22bf3fSmrg
8808b22bf3fSmrg  -help | --help | --hel | --he | -h)
8818b22bf3fSmrg    ac_init_help=long ;;
8828b22bf3fSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
8838b22bf3fSmrg    ac_init_help=recursive ;;
8848b22bf3fSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
8858b22bf3fSmrg    ac_init_help=short ;;
8868b22bf3fSmrg
8878b22bf3fSmrg  -host | --host | --hos | --ho)
8888b22bf3fSmrg    ac_prev=host_alias ;;
8898b22bf3fSmrg  -host=* | --host=* | --hos=* | --ho=*)
8908b22bf3fSmrg    host_alias=$ac_optarg ;;
8918b22bf3fSmrg
8928b22bf3fSmrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
8938b22bf3fSmrg    ac_prev=htmldir ;;
8948b22bf3fSmrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
8958b22bf3fSmrg  | --ht=*)
8968b22bf3fSmrg    htmldir=$ac_optarg ;;
8978b22bf3fSmrg
8988b22bf3fSmrg  -includedir | --includedir | --includedi | --included | --include \
8998b22bf3fSmrg  | --includ | --inclu | --incl | --inc)
9008b22bf3fSmrg    ac_prev=includedir ;;
9018b22bf3fSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9028b22bf3fSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
9038b22bf3fSmrg    includedir=$ac_optarg ;;
9048b22bf3fSmrg
9058b22bf3fSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
9068b22bf3fSmrg    ac_prev=infodir ;;
9078b22bf3fSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9088b22bf3fSmrg    infodir=$ac_optarg ;;
9098b22bf3fSmrg
9108b22bf3fSmrg  -libdir | --libdir | --libdi | --libd)
9118b22bf3fSmrg    ac_prev=libdir ;;
9128b22bf3fSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
9138b22bf3fSmrg    libdir=$ac_optarg ;;
9148b22bf3fSmrg
9158b22bf3fSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9168b22bf3fSmrg  | --libexe | --libex | --libe)
9178b22bf3fSmrg    ac_prev=libexecdir ;;
9188b22bf3fSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9198b22bf3fSmrg  | --libexe=* | --libex=* | --libe=*)
9208b22bf3fSmrg    libexecdir=$ac_optarg ;;
9218b22bf3fSmrg
9228b22bf3fSmrg  -localedir | --localedir | --localedi | --localed | --locale)
9238b22bf3fSmrg    ac_prev=localedir ;;
9248b22bf3fSmrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9258b22bf3fSmrg    localedir=$ac_optarg ;;
9268b22bf3fSmrg
9278b22bf3fSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9288b22bf3fSmrg  | --localstate | --localstat | --localsta | --localst | --locals)
9298b22bf3fSmrg    ac_prev=localstatedir ;;
9308b22bf3fSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9318b22bf3fSmrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9328b22bf3fSmrg    localstatedir=$ac_optarg ;;
9338b22bf3fSmrg
9348b22bf3fSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9358b22bf3fSmrg    ac_prev=mandir ;;
9368b22bf3fSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9378b22bf3fSmrg    mandir=$ac_optarg ;;
9388b22bf3fSmrg
9398b22bf3fSmrg  -nfp | --nfp | --nf)
9408b22bf3fSmrg    # Obsolete; use --without-fp.
9418b22bf3fSmrg    with_fp=no ;;
9428b22bf3fSmrg
9438b22bf3fSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9448b22bf3fSmrg  | --no-cr | --no-c | -n)
9458b22bf3fSmrg    no_create=yes ;;
9468b22bf3fSmrg
9478b22bf3fSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9488b22bf3fSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9498b22bf3fSmrg    no_recursion=yes ;;
9508b22bf3fSmrg
9518b22bf3fSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9528b22bf3fSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9538b22bf3fSmrg  | --oldin | --oldi | --old | --ol | --o)
9548b22bf3fSmrg    ac_prev=oldincludedir ;;
9558b22bf3fSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9568b22bf3fSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9578b22bf3fSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9588b22bf3fSmrg    oldincludedir=$ac_optarg ;;
9598b22bf3fSmrg
9608b22bf3fSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9618b22bf3fSmrg    ac_prev=prefix ;;
9628b22bf3fSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9638b22bf3fSmrg    prefix=$ac_optarg ;;
9648b22bf3fSmrg
9658b22bf3fSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
9668b22bf3fSmrg  | --program-pre | --program-pr | --program-p)
9678b22bf3fSmrg    ac_prev=program_prefix ;;
9688b22bf3fSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
9698b22bf3fSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9708b22bf3fSmrg    program_prefix=$ac_optarg ;;
9718b22bf3fSmrg
9728b22bf3fSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
9738b22bf3fSmrg  | --program-suf | --program-su | --program-s)
9748b22bf3fSmrg    ac_prev=program_suffix ;;
9758b22bf3fSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
9768b22bf3fSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9778b22bf3fSmrg    program_suffix=$ac_optarg ;;
9788b22bf3fSmrg
9798b22bf3fSmrg  -program-transform-name | --program-transform-name \
9808b22bf3fSmrg  | --program-transform-nam | --program-transform-na \
9818b22bf3fSmrg  | --program-transform-n | --program-transform- \
9828b22bf3fSmrg  | --program-transform | --program-transfor \
9838b22bf3fSmrg  | --program-transfo | --program-transf \
9848b22bf3fSmrg  | --program-trans | --program-tran \
9858b22bf3fSmrg  | --progr-tra | --program-tr | --program-t)
9868b22bf3fSmrg    ac_prev=program_transform_name ;;
9878b22bf3fSmrg  -program-transform-name=* | --program-transform-name=* \
9888b22bf3fSmrg  | --program-transform-nam=* | --program-transform-na=* \
9898b22bf3fSmrg  | --program-transform-n=* | --program-transform-=* \
9908b22bf3fSmrg  | --program-transform=* | --program-transfor=* \
9918b22bf3fSmrg  | --program-transfo=* | --program-transf=* \
9928b22bf3fSmrg  | --program-trans=* | --program-tran=* \
9938b22bf3fSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
9948b22bf3fSmrg    program_transform_name=$ac_optarg ;;
9958b22bf3fSmrg
9968b22bf3fSmrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
9978b22bf3fSmrg    ac_prev=pdfdir ;;
9988b22bf3fSmrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
9998b22bf3fSmrg    pdfdir=$ac_optarg ;;
10008b22bf3fSmrg
10018b22bf3fSmrg  -psdir | --psdir | --psdi | --psd | --ps)
10028b22bf3fSmrg    ac_prev=psdir ;;
10038b22bf3fSmrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10048b22bf3fSmrg    psdir=$ac_optarg ;;
10058b22bf3fSmrg
10068b22bf3fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10078b22bf3fSmrg  | -silent | --silent | --silen | --sile | --sil)
10088b22bf3fSmrg    silent=yes ;;
10098b22bf3fSmrg
10108b22bf3fSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10118b22bf3fSmrg    ac_prev=sbindir ;;
10128b22bf3fSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10138b22bf3fSmrg  | --sbi=* | --sb=*)
10148b22bf3fSmrg    sbindir=$ac_optarg ;;
10158b22bf3fSmrg
10168b22bf3fSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
10178b22bf3fSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
10188b22bf3fSmrg  | --sharedst | --shareds | --shared | --share | --shar \
10198b22bf3fSmrg  | --sha | --sh)
10208b22bf3fSmrg    ac_prev=sharedstatedir ;;
10218b22bf3fSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
10228b22bf3fSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
10238b22bf3fSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
10248b22bf3fSmrg  | --sha=* | --sh=*)
10258b22bf3fSmrg    sharedstatedir=$ac_optarg ;;
10268b22bf3fSmrg
10278b22bf3fSmrg  -site | --site | --sit)
10288b22bf3fSmrg    ac_prev=site ;;
10298b22bf3fSmrg  -site=* | --site=* | --sit=*)
10308b22bf3fSmrg    site=$ac_optarg ;;
10318b22bf3fSmrg
10328b22bf3fSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10338b22bf3fSmrg    ac_prev=srcdir ;;
10348b22bf3fSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10358b22bf3fSmrg    srcdir=$ac_optarg ;;
10368b22bf3fSmrg
10378b22bf3fSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10388b22bf3fSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
10398b22bf3fSmrg    ac_prev=sysconfdir ;;
10408b22bf3fSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10418b22bf3fSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10428b22bf3fSmrg    sysconfdir=$ac_optarg ;;
10438b22bf3fSmrg
10448b22bf3fSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
10458b22bf3fSmrg    ac_prev=target_alias ;;
10468b22bf3fSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10478b22bf3fSmrg    target_alias=$ac_optarg ;;
10488b22bf3fSmrg
10498b22bf3fSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
10508b22bf3fSmrg    verbose=yes ;;
10518b22bf3fSmrg
10528b22bf3fSmrg  -version | --version | --versio | --versi | --vers | -V)
10538b22bf3fSmrg    ac_init_version=: ;;
10548b22bf3fSmrg
10558b22bf3fSmrg  -with-* | --with-*)
10568b22bf3fSmrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10578b22bf3fSmrg    # Reject names that are not valid shell variable names.
10588b22bf3fSmrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10598b22bf3fSmrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
10608b22bf3fSmrg   { (exit 1); exit 1; }; }
10618b22bf3fSmrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10628b22bf3fSmrg    eval with_$ac_package=\$ac_optarg ;;
10638b22bf3fSmrg
10648b22bf3fSmrg  -without-* | --without-*)
10658b22bf3fSmrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10668b22bf3fSmrg    # Reject names that are not valid shell variable names.
10678b22bf3fSmrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10688b22bf3fSmrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
10698b22bf3fSmrg   { (exit 1); exit 1; }; }
10708b22bf3fSmrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10718b22bf3fSmrg    eval with_$ac_package=no ;;
10728b22bf3fSmrg
10738b22bf3fSmrg  --x)
10748b22bf3fSmrg    # Obsolete; use --with-x.
10758b22bf3fSmrg    with_x=yes ;;
10768b22bf3fSmrg
10778b22bf3fSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
10788b22bf3fSmrg  | --x-incl | --x-inc | --x-in | --x-i)
10798b22bf3fSmrg    ac_prev=x_includes ;;
10808b22bf3fSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
10818b22bf3fSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
10828b22bf3fSmrg    x_includes=$ac_optarg ;;
10838b22bf3fSmrg
10848b22bf3fSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
10858b22bf3fSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
10868b22bf3fSmrg    ac_prev=x_libraries ;;
10878b22bf3fSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
10888b22bf3fSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10898b22bf3fSmrg    x_libraries=$ac_optarg ;;
10908b22bf3fSmrg
10918b22bf3fSmrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
10928b22bf3fSmrgTry \`$0 --help' for more information." >&2
10938b22bf3fSmrg   { (exit 1); exit 1; }; }
10948b22bf3fSmrg    ;;
10958b22bf3fSmrg
10968b22bf3fSmrg  *=*)
10978b22bf3fSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10988b22bf3fSmrg    # Reject names that are not valid shell variable names.
10998b22bf3fSmrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
11008b22bf3fSmrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
11018b22bf3fSmrg   { (exit 1); exit 1; }; }
11028b22bf3fSmrg    eval $ac_envvar=\$ac_optarg
11038b22bf3fSmrg    export $ac_envvar ;;
11048b22bf3fSmrg
11058b22bf3fSmrg  *)
11068b22bf3fSmrg    # FIXME: should be removed in autoconf 3.0.
11078b22bf3fSmrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11088b22bf3fSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11098b22bf3fSmrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11108b22bf3fSmrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11118b22bf3fSmrg    ;;
11128b22bf3fSmrg
11138b22bf3fSmrg  esac
11148b22bf3fSmrgdone
11158b22bf3fSmrg
11168b22bf3fSmrgif test -n "$ac_prev"; then
11178b22bf3fSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11188b22bf3fSmrg  { echo "$as_me: error: missing argument to $ac_option" >&2
11198b22bf3fSmrg   { (exit 1); exit 1; }; }
11208b22bf3fSmrgfi
11218b22bf3fSmrg
11228b22bf3fSmrg# Be sure to have absolute directory names.
11238b22bf3fSmrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
11248b22bf3fSmrg		datadir sysconfdir sharedstatedir localstatedir includedir \
11258b22bf3fSmrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11268b22bf3fSmrg		libdir localedir mandir
11278b22bf3fSmrgdo
11288b22bf3fSmrg  eval ac_val=\$$ac_var
11298b22bf3fSmrg  case $ac_val in
11308b22bf3fSmrg    [\\/$]* | ?:[\\/]* )  continue;;
11318b22bf3fSmrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11328b22bf3fSmrg  esac
11338b22bf3fSmrg  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
11348b22bf3fSmrg   { (exit 1); exit 1; }; }
11358b22bf3fSmrgdone
11368b22bf3fSmrg
11378b22bf3fSmrg# There might be people who depend on the old broken behavior: `$host'
11388b22bf3fSmrg# used to hold the argument of --host etc.
11398b22bf3fSmrg# FIXME: To remove some day.
11408b22bf3fSmrgbuild=$build_alias
11418b22bf3fSmrghost=$host_alias
11428b22bf3fSmrgtarget=$target_alias
11438b22bf3fSmrg
11448b22bf3fSmrg# FIXME: To remove some day.
11458b22bf3fSmrgif test "x$host_alias" != x; then
11468b22bf3fSmrg  if test "x$build_alias" = x; then
11478b22bf3fSmrg    cross_compiling=maybe
11488b22bf3fSmrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11498b22bf3fSmrg    If a cross compiler is detected then cross compile mode will be used." >&2
11508b22bf3fSmrg  elif test "x$build_alias" != "x$host_alias"; then
11518b22bf3fSmrg    cross_compiling=yes
11528b22bf3fSmrg  fi
11538b22bf3fSmrgfi
11548b22bf3fSmrg
11558b22bf3fSmrgac_tool_prefix=
11568b22bf3fSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
11578b22bf3fSmrg
11588b22bf3fSmrgtest "$silent" = yes && exec 6>/dev/null
11598b22bf3fSmrg
11608b22bf3fSmrg
11618b22bf3fSmrgac_pwd=`pwd` && test -n "$ac_pwd" &&
11628b22bf3fSmrgac_ls_di=`ls -di .` &&
11638b22bf3fSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
11648b22bf3fSmrg  { echo "$as_me: error: Working directory cannot be determined" >&2
11658b22bf3fSmrg   { (exit 1); exit 1; }; }
11668b22bf3fSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
11678b22bf3fSmrg  { echo "$as_me: error: pwd does not report name of working directory" >&2
11688b22bf3fSmrg   { (exit 1); exit 1; }; }
11698b22bf3fSmrg
11708b22bf3fSmrg
11718b22bf3fSmrg# Find the source files, if location was not specified.
11728b22bf3fSmrgif test -z "$srcdir"; then
11738b22bf3fSmrg  ac_srcdir_defaulted=yes
11748b22bf3fSmrg  # Try the directory containing this script, then the parent directory.
11758b22bf3fSmrg  ac_confdir=`$as_dirname -- "$0" ||
11768b22bf3fSmrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11778b22bf3fSmrg	 X"$0" : 'X\(//\)[^/]' \| \
11788b22bf3fSmrg	 X"$0" : 'X\(//\)$' \| \
11798b22bf3fSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11808b22bf3fSmrgecho X"$0" |
11818b22bf3fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11828b22bf3fSmrg	    s//\1/
11838b22bf3fSmrg	    q
11848b22bf3fSmrg	  }
11858b22bf3fSmrg	  /^X\(\/\/\)[^/].*/{
11868b22bf3fSmrg	    s//\1/
11878b22bf3fSmrg	    q
11888b22bf3fSmrg	  }
11898b22bf3fSmrg	  /^X\(\/\/\)$/{
11908b22bf3fSmrg	    s//\1/
11918b22bf3fSmrg	    q
11928b22bf3fSmrg	  }
11938b22bf3fSmrg	  /^X\(\/\).*/{
11948b22bf3fSmrg	    s//\1/
11958b22bf3fSmrg	    q
11968b22bf3fSmrg	  }
11978b22bf3fSmrg	  s/.*/./; q'`
11988b22bf3fSmrg  srcdir=$ac_confdir
11998b22bf3fSmrg  if test ! -r "$srcdir/$ac_unique_file"; then
12008b22bf3fSmrg    srcdir=..
12018b22bf3fSmrg  fi
12028b22bf3fSmrgelse
12038b22bf3fSmrg  ac_srcdir_defaulted=no
12048b22bf3fSmrgfi
12058b22bf3fSmrgif test ! -r "$srcdir/$ac_unique_file"; then
12068b22bf3fSmrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12078b22bf3fSmrg  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
12088b22bf3fSmrg   { (exit 1); exit 1; }; }
12098b22bf3fSmrgfi
12108b22bf3fSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12118b22bf3fSmrgac_abs_confdir=`(
12128b22bf3fSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
12138b22bf3fSmrg   { (exit 1); exit 1; }; }
12148b22bf3fSmrg	pwd)`
12158b22bf3fSmrg# When building in place, set srcdir=.
12168b22bf3fSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then
12178b22bf3fSmrg  srcdir=.
12188b22bf3fSmrgfi
12198b22bf3fSmrg# Remove unnecessary trailing slashes from srcdir.
12208b22bf3fSmrg# Double slashes in file names in object file debugging info
12218b22bf3fSmrg# mess up M-x gdb in Emacs.
12228b22bf3fSmrgcase $srcdir in
12238b22bf3fSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12248b22bf3fSmrgesac
12258b22bf3fSmrgfor ac_var in $ac_precious_vars; do
12268b22bf3fSmrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12278b22bf3fSmrg  eval ac_env_${ac_var}_value=\$${ac_var}
12288b22bf3fSmrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12298b22bf3fSmrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12308b22bf3fSmrgdone
12318b22bf3fSmrg
12328b22bf3fSmrg#
12338b22bf3fSmrg# Report the --help message.
12348b22bf3fSmrg#
12358b22bf3fSmrgif test "$ac_init_help" = "long"; then
12368b22bf3fSmrg  # Omit some internal or obsolete options to make the list less imposing.
12378b22bf3fSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
12388b22bf3fSmrg  cat <<_ACEOF
12398b22bf3fSmrg\`configure' configures xrdb 1.0.4 to adapt to many kinds of systems.
12408b22bf3fSmrg
12418b22bf3fSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
12428b22bf3fSmrg
12438b22bf3fSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
12448b22bf3fSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
12458b22bf3fSmrg
12468b22bf3fSmrgDefaults for the options are specified in brackets.
12478b22bf3fSmrg
12488b22bf3fSmrgConfiguration:
12498b22bf3fSmrg  -h, --help              display this help and exit
12508b22bf3fSmrg      --help=short        display options specific to this package
12518b22bf3fSmrg      --help=recursive    display the short help of all the included packages
12528b22bf3fSmrg  -V, --version           display version information and exit
12538b22bf3fSmrg  -q, --quiet, --silent   do not print \`checking...' messages
12548b22bf3fSmrg      --cache-file=FILE   cache test results in FILE [disabled]
12558b22bf3fSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
12568b22bf3fSmrg  -n, --no-create         do not create output files
12578b22bf3fSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
12588b22bf3fSmrg
12598b22bf3fSmrgInstallation directories:
12608b22bf3fSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
12618b22bf3fSmrg			  [$ac_default_prefix]
12628b22bf3fSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
12638b22bf3fSmrg			  [PREFIX]
12648b22bf3fSmrg
12658b22bf3fSmrgBy default, \`make install' will install all the files in
12668b22bf3fSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
12678b22bf3fSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
12688b22bf3fSmrgfor instance \`--prefix=\$HOME'.
12698b22bf3fSmrg
12708b22bf3fSmrgFor better control, use the options below.
12718b22bf3fSmrg
12728b22bf3fSmrgFine tuning of the installation directories:
12738b22bf3fSmrg  --bindir=DIR           user executables [EPREFIX/bin]
12748b22bf3fSmrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
12758b22bf3fSmrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
12768b22bf3fSmrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
12778b22bf3fSmrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
12788b22bf3fSmrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
12798b22bf3fSmrg  --libdir=DIR           object code libraries [EPREFIX/lib]
12808b22bf3fSmrg  --includedir=DIR       C header files [PREFIX/include]
12818b22bf3fSmrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
12828b22bf3fSmrg  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
12838b22bf3fSmrg  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
12848b22bf3fSmrg  --infodir=DIR          info documentation [DATAROOTDIR/info]
12858b22bf3fSmrg  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
12868b22bf3fSmrg  --mandir=DIR           man documentation [DATAROOTDIR/man]
12878b22bf3fSmrg  --docdir=DIR           documentation root [DATAROOTDIR/doc/xrdb]
12888b22bf3fSmrg  --htmldir=DIR          html documentation [DOCDIR]
12898b22bf3fSmrg  --dvidir=DIR           dvi documentation [DOCDIR]
12908b22bf3fSmrg  --pdfdir=DIR           pdf documentation [DOCDIR]
12918b22bf3fSmrg  --psdir=DIR            ps documentation [DOCDIR]
12928b22bf3fSmrg_ACEOF
12938b22bf3fSmrg
12948b22bf3fSmrg  cat <<\_ACEOF
12958b22bf3fSmrg
12968b22bf3fSmrgProgram names:
12978b22bf3fSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
12988b22bf3fSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
12998b22bf3fSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13008b22bf3fSmrg
13018b22bf3fSmrgSystem types:
13028b22bf3fSmrg  --build=BUILD     configure for building on BUILD [guessed]
13038b22bf3fSmrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
13048b22bf3fSmrg_ACEOF
13058b22bf3fSmrgfi
13068b22bf3fSmrg
13078b22bf3fSmrgif test -n "$ac_init_help"; then
13088b22bf3fSmrg  case $ac_init_help in
13098b22bf3fSmrg     short | recursive ) echo "Configuration of xrdb 1.0.4:";;
13108b22bf3fSmrg   esac
13118b22bf3fSmrg  cat <<\_ACEOF
13128b22bf3fSmrg
13138b22bf3fSmrgOptional Features:
13148b22bf3fSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
13158b22bf3fSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
13168b22bf3fSmrg  --enable-maintainer-mode  enable make rules and dependencies not useful
13178b22bf3fSmrg			  (and sometimes confusing) to the casual installer
13188b22bf3fSmrg  --disable-dependency-tracking  speeds up one-time build
13198b22bf3fSmrg  --enable-dependency-tracking   do not reject slow dependency extractors
13208b22bf3fSmrg
13218b22bf3fSmrgOptional Packages:
13228b22bf3fSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
13238b22bf3fSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
13248b22bf3fSmrg  --with-cpp=path         path to cpp command for xrdb to use at runtime
13258b22bf3fSmrg  --with-release-version=STRING
13268b22bf3fSmrg                          Use release version string in package name
13278b22bf3fSmrg
13288b22bf3fSmrgSome influential environment variables:
13298b22bf3fSmrg  CC          C compiler command
13308b22bf3fSmrg  CFLAGS      C compiler flags
13318b22bf3fSmrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
13328b22bf3fSmrg              nonstandard directory <lib dir>
13338b22bf3fSmrg  LIBS        libraries to pass to the linker, e.g. -l<library>
13348b22bf3fSmrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
13358b22bf3fSmrg              you have headers in a nonstandard directory <include dir>
13368b22bf3fSmrg  CPP         C preprocessor
13378b22bf3fSmrg  PKG_CONFIG  path to pkg-config utility
13388b22bf3fSmrg  XRDB_CFLAGS C compiler flags for XRDB, overriding pkg-config
13398b22bf3fSmrg  XRDB_LIBS   linker flags for XRDB, overriding pkg-config
13408b22bf3fSmrg
13418b22bf3fSmrgUse these variables to override the choices made by `configure' or to help
13428b22bf3fSmrgit to find libraries and programs with nonstandard names/locations.
13438b22bf3fSmrg
13448b22bf3fSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
13458b22bf3fSmrg_ACEOF
13468b22bf3fSmrgac_status=$?
13478b22bf3fSmrgfi
13488b22bf3fSmrg
13498b22bf3fSmrgif test "$ac_init_help" = "recursive"; then
13508b22bf3fSmrg  # If there are subdirs, report their specific --help.
13518b22bf3fSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13528b22bf3fSmrg    test -d "$ac_dir" || continue
13538b22bf3fSmrg    ac_builddir=.
13548b22bf3fSmrg
13558b22bf3fSmrgcase "$ac_dir" in
13568b22bf3fSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13578b22bf3fSmrg*)
13588b22bf3fSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13598b22bf3fSmrg  # A ".." for each directory in $ac_dir_suffix.
13608b22bf3fSmrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13618b22bf3fSmrg  case $ac_top_builddir_sub in
13628b22bf3fSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13638b22bf3fSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13648b22bf3fSmrg  esac ;;
13658b22bf3fSmrgesac
13668b22bf3fSmrgac_abs_top_builddir=$ac_pwd
13678b22bf3fSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
13688b22bf3fSmrg# for backward compatibility:
13698b22bf3fSmrgac_top_builddir=$ac_top_build_prefix
13708b22bf3fSmrg
13718b22bf3fSmrgcase $srcdir in
13728b22bf3fSmrg  .)  # We are building in place.
13738b22bf3fSmrg    ac_srcdir=.
13748b22bf3fSmrg    ac_top_srcdir=$ac_top_builddir_sub
13758b22bf3fSmrg    ac_abs_top_srcdir=$ac_pwd ;;
13768b22bf3fSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
13778b22bf3fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
13788b22bf3fSmrg    ac_top_srcdir=$srcdir
13798b22bf3fSmrg    ac_abs_top_srcdir=$srcdir ;;
13808b22bf3fSmrg  *) # Relative name.
13818b22bf3fSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13828b22bf3fSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
13838b22bf3fSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13848b22bf3fSmrgesac
13858b22bf3fSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13868b22bf3fSmrg
13878b22bf3fSmrg    cd "$ac_dir" || { ac_status=$?; continue; }
13888b22bf3fSmrg    # Check for guested configure.
13898b22bf3fSmrg    if test -f "$ac_srcdir/configure.gnu"; then
13908b22bf3fSmrg      echo &&
13918b22bf3fSmrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
13928b22bf3fSmrg    elif test -f "$ac_srcdir/configure"; then
13938b22bf3fSmrg      echo &&
13948b22bf3fSmrg      $SHELL "$ac_srcdir/configure" --help=recursive
13958b22bf3fSmrg    else
13968b22bf3fSmrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13978b22bf3fSmrg    fi || ac_status=$?
13988b22bf3fSmrg    cd "$ac_pwd" || { ac_status=$?; break; }
13998b22bf3fSmrg  done
14008b22bf3fSmrgfi
14018b22bf3fSmrg
14028b22bf3fSmrgtest -n "$ac_init_help" && exit $ac_status
14038b22bf3fSmrgif $ac_init_version; then
14048b22bf3fSmrg  cat <<\_ACEOF
14058b22bf3fSmrgxrdb configure 1.0.4
14068b22bf3fSmrggenerated by GNU Autoconf 2.61
14078b22bf3fSmrg
14088b22bf3fSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14098b22bf3fSmrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
14108b22bf3fSmrgThis configure script is free software; the Free Software Foundation
14118b22bf3fSmrggives unlimited permission to copy, distribute and modify it.
14128b22bf3fSmrg_ACEOF
14138b22bf3fSmrg  exit
14148b22bf3fSmrgfi
14158b22bf3fSmrgcat >config.log <<_ACEOF
14168b22bf3fSmrgThis file contains any messages produced by compilers while
14178b22bf3fSmrgrunning configure, to aid debugging if configure makes a mistake.
14188b22bf3fSmrg
14198b22bf3fSmrgIt was created by xrdb $as_me 1.0.4, which was
14208b22bf3fSmrggenerated by GNU Autoconf 2.61.  Invocation command line was
14218b22bf3fSmrg
14228b22bf3fSmrg  $ $0 $@
14238b22bf3fSmrg
14248b22bf3fSmrg_ACEOF
14258b22bf3fSmrgexec 5>>config.log
14268b22bf3fSmrg{
14278b22bf3fSmrgcat <<_ASUNAME
14288b22bf3fSmrg## --------- ##
14298b22bf3fSmrg## Platform. ##
14308b22bf3fSmrg## --------- ##
14318b22bf3fSmrg
14328b22bf3fSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
14338b22bf3fSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
14348b22bf3fSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
14358b22bf3fSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
14368b22bf3fSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
14378b22bf3fSmrg
14388b22bf3fSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
14398b22bf3fSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
14408b22bf3fSmrg
14418b22bf3fSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
14428b22bf3fSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
14438b22bf3fSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
14448b22bf3fSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
14458b22bf3fSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
14468b22bf3fSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
14478b22bf3fSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
14488b22bf3fSmrg
14498b22bf3fSmrg_ASUNAME
14508b22bf3fSmrg
14518b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14528b22bf3fSmrgfor as_dir in $PATH
14538b22bf3fSmrgdo
14548b22bf3fSmrg  IFS=$as_save_IFS
14558b22bf3fSmrg  test -z "$as_dir" && as_dir=.
14568b22bf3fSmrg  echo "PATH: $as_dir"
14578b22bf3fSmrgdone
14588b22bf3fSmrgIFS=$as_save_IFS
14598b22bf3fSmrg
14608b22bf3fSmrg} >&5
14618b22bf3fSmrg
14628b22bf3fSmrgcat >&5 <<_ACEOF
14638b22bf3fSmrg
14648b22bf3fSmrg
14658b22bf3fSmrg## ----------- ##
14668b22bf3fSmrg## Core tests. ##
14678b22bf3fSmrg## ----------- ##
14688b22bf3fSmrg
14698b22bf3fSmrg_ACEOF
14708b22bf3fSmrg
14718b22bf3fSmrg
14728b22bf3fSmrg# Keep a trace of the command line.
14738b22bf3fSmrg# Strip out --no-create and --no-recursion so they do not pile up.
14748b22bf3fSmrg# Strip out --silent because we don't want to record it for future runs.
14758b22bf3fSmrg# Also quote any args containing shell meta-characters.
14768b22bf3fSmrg# Make two passes to allow for proper duplicate-argument suppression.
14778b22bf3fSmrgac_configure_args=
14788b22bf3fSmrgac_configure_args0=
14798b22bf3fSmrgac_configure_args1=
14808b22bf3fSmrgac_must_keep_next=false
14818b22bf3fSmrgfor ac_pass in 1 2
14828b22bf3fSmrgdo
14838b22bf3fSmrg  for ac_arg
14848b22bf3fSmrg  do
14858b22bf3fSmrg    case $ac_arg in
14868b22bf3fSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
14878b22bf3fSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14888b22bf3fSmrg    | -silent | --silent | --silen | --sile | --sil)
14898b22bf3fSmrg      continue ;;
14908b22bf3fSmrg    *\'*)
14918b22bf3fSmrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14928b22bf3fSmrg    esac
14938b22bf3fSmrg    case $ac_pass in
14948b22bf3fSmrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
14958b22bf3fSmrg    2)
14968b22bf3fSmrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
14978b22bf3fSmrg      if test $ac_must_keep_next = true; then
14988b22bf3fSmrg	ac_must_keep_next=false # Got value, back to normal.
14998b22bf3fSmrg      else
15008b22bf3fSmrg	case $ac_arg in
15018b22bf3fSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
15028b22bf3fSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
15038b22bf3fSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
15048b22bf3fSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
15058b22bf3fSmrg	    case "$ac_configure_args0 " in
15068b22bf3fSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
15078b22bf3fSmrg	    esac
15088b22bf3fSmrg	    ;;
15098b22bf3fSmrg	  -* ) ac_must_keep_next=true ;;
15108b22bf3fSmrg	esac
15118b22bf3fSmrg      fi
15128b22bf3fSmrg      ac_configure_args="$ac_configure_args '$ac_arg'"
15138b22bf3fSmrg      ;;
15148b22bf3fSmrg    esac
15158b22bf3fSmrg  done
15168b22bf3fSmrgdone
15178b22bf3fSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
15188b22bf3fSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
15198b22bf3fSmrg
15208b22bf3fSmrg# When interrupted or exit'd, cleanup temporary files, and complete
15218b22bf3fSmrg# config.log.  We remove comments because anyway the quotes in there
15228b22bf3fSmrg# would cause problems or look ugly.
15238b22bf3fSmrg# WARNING: Use '\'' to represent an apostrophe within the trap.
15248b22bf3fSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
15258b22bf3fSmrgtrap 'exit_status=$?
15268b22bf3fSmrg  # Save into config.log some information that might help in debugging.
15278b22bf3fSmrg  {
15288b22bf3fSmrg    echo
15298b22bf3fSmrg
15308b22bf3fSmrg    cat <<\_ASBOX
15318b22bf3fSmrg## ---------------- ##
15328b22bf3fSmrg## Cache variables. ##
15338b22bf3fSmrg## ---------------- ##
15348b22bf3fSmrg_ASBOX
15358b22bf3fSmrg    echo
15368b22bf3fSmrg    # The following way of writing the cache mishandles newlines in values,
15378b22bf3fSmrg(
15388b22bf3fSmrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
15398b22bf3fSmrg    eval ac_val=\$$ac_var
15408b22bf3fSmrg    case $ac_val in #(
15418b22bf3fSmrg    *${as_nl}*)
15428b22bf3fSmrg      case $ac_var in #(
15438b22bf3fSmrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15448b22bf3fSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15458b22bf3fSmrg      esac
15468b22bf3fSmrg      case $ac_var in #(
15478b22bf3fSmrg      _ | IFS | as_nl) ;; #(
15488b22bf3fSmrg      *) $as_unset $ac_var ;;
15498b22bf3fSmrg      esac ;;
15508b22bf3fSmrg    esac
15518b22bf3fSmrg  done
15528b22bf3fSmrg  (set) 2>&1 |
15538b22bf3fSmrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
15548b22bf3fSmrg    *${as_nl}ac_space=\ *)
15558b22bf3fSmrg      sed -n \
15568b22bf3fSmrg	"s/'\''/'\''\\\\'\'''\''/g;
15578b22bf3fSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
15588b22bf3fSmrg      ;; #(
15598b22bf3fSmrg    *)
15608b22bf3fSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15618b22bf3fSmrg      ;;
15628b22bf3fSmrg    esac |
15638b22bf3fSmrg    sort
15648b22bf3fSmrg)
15658b22bf3fSmrg    echo
15668b22bf3fSmrg
15678b22bf3fSmrg    cat <<\_ASBOX
15688b22bf3fSmrg## ----------------- ##
15698b22bf3fSmrg## Output variables. ##
15708b22bf3fSmrg## ----------------- ##
15718b22bf3fSmrg_ASBOX
15728b22bf3fSmrg    echo
15738b22bf3fSmrg    for ac_var in $ac_subst_vars
15748b22bf3fSmrg    do
15758b22bf3fSmrg      eval ac_val=\$$ac_var
15768b22bf3fSmrg      case $ac_val in
15778b22bf3fSmrg      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15788b22bf3fSmrg      esac
15798b22bf3fSmrg      echo "$ac_var='\''$ac_val'\''"
15808b22bf3fSmrg    done | sort
15818b22bf3fSmrg    echo
15828b22bf3fSmrg
15838b22bf3fSmrg    if test -n "$ac_subst_files"; then
15848b22bf3fSmrg      cat <<\_ASBOX
15858b22bf3fSmrg## ------------------- ##
15868b22bf3fSmrg## File substitutions. ##
15878b22bf3fSmrg## ------------------- ##
15888b22bf3fSmrg_ASBOX
15898b22bf3fSmrg      echo
15908b22bf3fSmrg      for ac_var in $ac_subst_files
15918b22bf3fSmrg      do
15928b22bf3fSmrg	eval ac_val=\$$ac_var
15938b22bf3fSmrg	case $ac_val in
15948b22bf3fSmrg	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15958b22bf3fSmrg	esac
15968b22bf3fSmrg	echo "$ac_var='\''$ac_val'\''"
15978b22bf3fSmrg      done | sort
15988b22bf3fSmrg      echo
15998b22bf3fSmrg    fi
16008b22bf3fSmrg
16018b22bf3fSmrg    if test -s confdefs.h; then
16028b22bf3fSmrg      cat <<\_ASBOX
16038b22bf3fSmrg## ----------- ##
16048b22bf3fSmrg## confdefs.h. ##
16058b22bf3fSmrg## ----------- ##
16068b22bf3fSmrg_ASBOX
16078b22bf3fSmrg      echo
16088b22bf3fSmrg      cat confdefs.h
16098b22bf3fSmrg      echo
16108b22bf3fSmrg    fi
16118b22bf3fSmrg    test "$ac_signal" != 0 &&
16128b22bf3fSmrg      echo "$as_me: caught signal $ac_signal"
16138b22bf3fSmrg    echo "$as_me: exit $exit_status"
16148b22bf3fSmrg  } >&5
16158b22bf3fSmrg  rm -f core *.core core.conftest.* &&
16168b22bf3fSmrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
16178b22bf3fSmrg    exit $exit_status
16188b22bf3fSmrg' 0
16198b22bf3fSmrgfor ac_signal in 1 2 13 15; do
16208b22bf3fSmrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
16218b22bf3fSmrgdone
16228b22bf3fSmrgac_signal=0
16238b22bf3fSmrg
16248b22bf3fSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
16258b22bf3fSmrgrm -f -r conftest* confdefs.h
16268b22bf3fSmrg
16278b22bf3fSmrg# Predefined preprocessor variables.
16288b22bf3fSmrg
16298b22bf3fSmrgcat >>confdefs.h <<_ACEOF
16308b22bf3fSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
16318b22bf3fSmrg_ACEOF
16328b22bf3fSmrg
16338b22bf3fSmrg
16348b22bf3fSmrgcat >>confdefs.h <<_ACEOF
16358b22bf3fSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16368b22bf3fSmrg_ACEOF
16378b22bf3fSmrg
16388b22bf3fSmrg
16398b22bf3fSmrgcat >>confdefs.h <<_ACEOF
16408b22bf3fSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
16418b22bf3fSmrg_ACEOF
16428b22bf3fSmrg
16438b22bf3fSmrg
16448b22bf3fSmrgcat >>confdefs.h <<_ACEOF
16458b22bf3fSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
16468b22bf3fSmrg_ACEOF
16478b22bf3fSmrg
16488b22bf3fSmrg
16498b22bf3fSmrgcat >>confdefs.h <<_ACEOF
16508b22bf3fSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16518b22bf3fSmrg_ACEOF
16528b22bf3fSmrg
16538b22bf3fSmrg
16548b22bf3fSmrg# Let the site file select an alternate cache file if it wants to.
16558b22bf3fSmrg# Prefer explicitly selected file to automatically selected ones.
16568b22bf3fSmrgif test -n "$CONFIG_SITE"; then
16578b22bf3fSmrg  set x "$CONFIG_SITE"
16588b22bf3fSmrgelif test "x$prefix" != xNONE; then
16598b22bf3fSmrg  set x "$prefix/share/config.site" "$prefix/etc/config.site"
16608b22bf3fSmrgelse
16618b22bf3fSmrg  set x "$ac_default_prefix/share/config.site" \
16628b22bf3fSmrg	"$ac_default_prefix/etc/config.site"
16638b22bf3fSmrgfi
16648b22bf3fSmrgshift
16658b22bf3fSmrgfor ac_site_file
16668b22bf3fSmrgdo
16678b22bf3fSmrg  if test -r "$ac_site_file"; then
16688b22bf3fSmrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
16698b22bf3fSmrgecho "$as_me: loading site script $ac_site_file" >&6;}
16708b22bf3fSmrg    sed 's/^/| /' "$ac_site_file" >&5
16718b22bf3fSmrg    . "$ac_site_file"
16728b22bf3fSmrg  fi
16738b22bf3fSmrgdone
16748b22bf3fSmrg
16758b22bf3fSmrgif test -r "$cache_file"; then
16768b22bf3fSmrg  # Some versions of bash will fail to source /dev/null (special
16778b22bf3fSmrg  # files actually), so we avoid doing that.
16788b22bf3fSmrg  if test -f "$cache_file"; then
16798b22bf3fSmrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
16808b22bf3fSmrgecho "$as_me: loading cache $cache_file" >&6;}
16818b22bf3fSmrg    case $cache_file in
16828b22bf3fSmrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
16838b22bf3fSmrg      *)                      . "./$cache_file";;
16848b22bf3fSmrg    esac
16858b22bf3fSmrg  fi
16868b22bf3fSmrgelse
16878b22bf3fSmrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
16888b22bf3fSmrgecho "$as_me: creating cache $cache_file" >&6;}
16898b22bf3fSmrg  >$cache_file
16908b22bf3fSmrgfi
16918b22bf3fSmrg
16928b22bf3fSmrg# Check that the precious variables saved in the cache have kept the same
16938b22bf3fSmrg# value.
16948b22bf3fSmrgac_cache_corrupted=false
16958b22bf3fSmrgfor ac_var in $ac_precious_vars; do
16968b22bf3fSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
16978b22bf3fSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
16988b22bf3fSmrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
16998b22bf3fSmrg  eval ac_new_val=\$ac_env_${ac_var}_value
17008b22bf3fSmrg  case $ac_old_set,$ac_new_set in
17018b22bf3fSmrg    set,)
17028b22bf3fSmrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17038b22bf3fSmrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17048b22bf3fSmrg      ac_cache_corrupted=: ;;
17058b22bf3fSmrg    ,set)
17068b22bf3fSmrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
17078b22bf3fSmrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17088b22bf3fSmrg      ac_cache_corrupted=: ;;
17098b22bf3fSmrg    ,);;
17108b22bf3fSmrg    *)
17118b22bf3fSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
17128b22bf3fSmrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
17138b22bf3fSmrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17148b22bf3fSmrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
17158b22bf3fSmrgecho "$as_me:   former value:  $ac_old_val" >&2;}
17168b22bf3fSmrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
17178b22bf3fSmrgecho "$as_me:   current value: $ac_new_val" >&2;}
17188b22bf3fSmrg	ac_cache_corrupted=:
17198b22bf3fSmrg      fi;;
17208b22bf3fSmrg  esac
17218b22bf3fSmrg  # Pass precious variables to config.status.
17228b22bf3fSmrg  if test "$ac_new_set" = set; then
17238b22bf3fSmrg    case $ac_new_val in
17248b22bf3fSmrg    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17258b22bf3fSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
17268b22bf3fSmrg    esac
17278b22bf3fSmrg    case " $ac_configure_args " in
17288b22bf3fSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
17298b22bf3fSmrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
17308b22bf3fSmrg    esac
17318b22bf3fSmrg  fi
17328b22bf3fSmrgdone
17338b22bf3fSmrgif $ac_cache_corrupted; then
17348b22bf3fSmrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
17358b22bf3fSmrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
17368b22bf3fSmrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
17378b22bf3fSmrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
17388b22bf3fSmrg   { (exit 1); exit 1; }; }
17398b22bf3fSmrgfi
17408b22bf3fSmrg
17418b22bf3fSmrg
17428b22bf3fSmrg
17438b22bf3fSmrg
17448b22bf3fSmrg
17458b22bf3fSmrg
17468b22bf3fSmrg
17478b22bf3fSmrg
17488b22bf3fSmrg
17498b22bf3fSmrg
17508b22bf3fSmrg
17518b22bf3fSmrg
17528b22bf3fSmrg
17538b22bf3fSmrg
17548b22bf3fSmrg
17558b22bf3fSmrg
17568b22bf3fSmrg
17578b22bf3fSmrg
17588b22bf3fSmrg
17598b22bf3fSmrg
17608b22bf3fSmrg
17618b22bf3fSmrg
17628b22bf3fSmrg
17638b22bf3fSmrg
17648b22bf3fSmrg
17658b22bf3fSmrgac_ext=c
17668b22bf3fSmrgac_cpp='$CPP $CPPFLAGS'
17678b22bf3fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17688b22bf3fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698b22bf3fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
17708b22bf3fSmrg
17718b22bf3fSmrg
17728b22bf3fSmrgam__api_version='1.10'
17738b22bf3fSmrg
17748b22bf3fSmrgac_aux_dir=
17758b22bf3fSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17768b22bf3fSmrg  if test -f "$ac_dir/install-sh"; then
17778b22bf3fSmrg    ac_aux_dir=$ac_dir
17788b22bf3fSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
17798b22bf3fSmrg    break
17808b22bf3fSmrg  elif test -f "$ac_dir/install.sh"; then
17818b22bf3fSmrg    ac_aux_dir=$ac_dir
17828b22bf3fSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
17838b22bf3fSmrg    break
17848b22bf3fSmrg  elif test -f "$ac_dir/shtool"; then
17858b22bf3fSmrg    ac_aux_dir=$ac_dir
17868b22bf3fSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
17878b22bf3fSmrg    break
17888b22bf3fSmrg  fi
17898b22bf3fSmrgdone
17908b22bf3fSmrgif test -z "$ac_aux_dir"; then
17918b22bf3fSmrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
17928b22bf3fSmrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
17938b22bf3fSmrg   { (exit 1); exit 1; }; }
17948b22bf3fSmrgfi
17958b22bf3fSmrg
17968b22bf3fSmrg# These three variables are undocumented and unsupported,
17978b22bf3fSmrg# and are intended to be withdrawn in a future Autoconf release.
17988b22bf3fSmrg# They can cause serious problems if a builder's source tree is in a directory
17998b22bf3fSmrg# whose full name contains unusual characters.
18008b22bf3fSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
18018b22bf3fSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
18028b22bf3fSmrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
18038b22bf3fSmrg
18048b22bf3fSmrg
18058b22bf3fSmrg# Find a good install program.  We prefer a C program (faster),
18068b22bf3fSmrg# so one script is as good as another.  But avoid the broken or
18078b22bf3fSmrg# incompatible versions:
18088b22bf3fSmrg# SysV /etc/install, /usr/sbin/install
18098b22bf3fSmrg# SunOS /usr/etc/install
18108b22bf3fSmrg# IRIX /sbin/install
18118b22bf3fSmrg# AIX /bin/install
18128b22bf3fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
18138b22bf3fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18148b22bf3fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
18158b22bf3fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18168b22bf3fSmrg# OS/2's system install, which has a completely different semantic
18178b22bf3fSmrg# ./install, which can be erroneously created by make from ./install.sh.
18188b22bf3fSmrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18198b22bf3fSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
18208b22bf3fSmrgif test -z "$INSTALL"; then
18218b22bf3fSmrgif test "${ac_cv_path_install+set}" = set; then
18228b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
18238b22bf3fSmrgelse
18248b22bf3fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18258b22bf3fSmrgfor as_dir in $PATH
18268b22bf3fSmrgdo
18278b22bf3fSmrg  IFS=$as_save_IFS
18288b22bf3fSmrg  test -z "$as_dir" && as_dir=.
18298b22bf3fSmrg  # Account for people who put trailing slashes in PATH elements.
18308b22bf3fSmrgcase $as_dir/ in
18318b22bf3fSmrg  ./ | .// | /cC/* | \
18328b22bf3fSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
18338b22bf3fSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18348b22bf3fSmrg  /usr/ucb/* ) ;;
18358b22bf3fSmrg  *)
18368b22bf3fSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
18378b22bf3fSmrg    # Don't use installbsd from OSF since it installs stuff as root
18388b22bf3fSmrg    # by default.
18398b22bf3fSmrg    for ac_prog in ginstall scoinst install; do
18408b22bf3fSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
18418b22bf3fSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
18428b22bf3fSmrg	  if test $ac_prog = install &&
18438b22bf3fSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18448b22bf3fSmrg	    # AIX install.  It has an incompatible calling convention.
18458b22bf3fSmrg	    :
18468b22bf3fSmrg	  elif test $ac_prog = install &&
18478b22bf3fSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18488b22bf3fSmrg	    # program-specific install script used by HP pwplus--don't use.
18498b22bf3fSmrg	    :
18508b22bf3fSmrg	  else
18518b22bf3fSmrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18528b22bf3fSmrg	    break 3
18538b22bf3fSmrg	  fi
18548b22bf3fSmrg	fi
18558b22bf3fSmrg      done
18568b22bf3fSmrg    done
18578b22bf3fSmrg    ;;
18588b22bf3fSmrgesac
18598b22bf3fSmrgdone
18608b22bf3fSmrgIFS=$as_save_IFS
18618b22bf3fSmrg
18628b22bf3fSmrg
18638b22bf3fSmrgfi
18648b22bf3fSmrg  if test "${ac_cv_path_install+set}" = set; then
18658b22bf3fSmrg    INSTALL=$ac_cv_path_install
18668b22bf3fSmrg  else
18678b22bf3fSmrg    # As a last resort, use the slow shell script.  Don't cache a
18688b22bf3fSmrg    # value for INSTALL within a source directory, because that will
18698b22bf3fSmrg    # break other packages using the cache if that directory is
18708b22bf3fSmrg    # removed, or if the value is a relative name.
18718b22bf3fSmrg    INSTALL=$ac_install_sh
18728b22bf3fSmrg  fi
18738b22bf3fSmrgfi
18748b22bf3fSmrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
18758b22bf3fSmrgecho "${ECHO_T}$INSTALL" >&6; }
18768b22bf3fSmrg
18778b22bf3fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18788b22bf3fSmrg# It thinks the first close brace ends the variable substitution.
18798b22bf3fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
18808b22bf3fSmrg
18818b22bf3fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
18828b22bf3fSmrg
18838b22bf3fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18848b22bf3fSmrg
18858b22bf3fSmrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
18868b22bf3fSmrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
18878b22bf3fSmrg# Just in case
18888b22bf3fSmrgsleep 1
18898b22bf3fSmrgecho timestamp > conftest.file
18908b22bf3fSmrg# Do `set' in a subshell so we don't clobber the current shell's
18918b22bf3fSmrg# arguments.  Must try -L first in case configure is actually a
18928b22bf3fSmrg# symlink; some systems play weird games with the mod time of symlinks
18938b22bf3fSmrg# (eg FreeBSD returns the mod time of the symlink's containing
18948b22bf3fSmrg# directory).
18958b22bf3fSmrgif (
18968b22bf3fSmrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
18978b22bf3fSmrg   if test "$*" = "X"; then
18988b22bf3fSmrg      # -L didn't work.
18998b22bf3fSmrg      set X `ls -t $srcdir/configure conftest.file`
19008b22bf3fSmrg   fi
19018b22bf3fSmrg   rm -f conftest.file
19028b22bf3fSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
19038b22bf3fSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
19048b22bf3fSmrg
19058b22bf3fSmrg      # If neither matched, then we have a broken ls.  This can happen
19068b22bf3fSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
19078b22bf3fSmrg      # broken ls alias from the environment.  This has actually
19088b22bf3fSmrg      # happened.  Such a system could not be considered "sane".
19098b22bf3fSmrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
19108b22bf3fSmrgalias in your environment" >&5
19118b22bf3fSmrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
19128b22bf3fSmrgalias in your environment" >&2;}
19138b22bf3fSmrg   { (exit 1); exit 1; }; }
19148b22bf3fSmrg   fi
19158b22bf3fSmrg
19168b22bf3fSmrg   test "$2" = conftest.file
19178b22bf3fSmrg   )
19188b22bf3fSmrgthen
19198b22bf3fSmrg   # Ok.
19208b22bf3fSmrg   :
19218b22bf3fSmrgelse
19228b22bf3fSmrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
19238b22bf3fSmrgCheck your system clock" >&5
19248b22bf3fSmrgecho "$as_me: error: newly created file is older than distributed files!
19258b22bf3fSmrgCheck your system clock" >&2;}
19268b22bf3fSmrg   { (exit 1); exit 1; }; }
19278b22bf3fSmrgfi
19288b22bf3fSmrg{ echo "$as_me:$LINENO: result: yes" >&5
19298b22bf3fSmrgecho "${ECHO_T}yes" >&6; }
19308b22bf3fSmrgtest "$program_prefix" != NONE &&
19318b22bf3fSmrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
19328b22bf3fSmrg# Use a double $ so make ignores it.
19338b22bf3fSmrgtest "$program_suffix" != NONE &&
19348b22bf3fSmrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
19358b22bf3fSmrg# Double any \ or $.  echo might interpret backslashes.
19368b22bf3fSmrg# By default was `s,x,x', remove it if useless.
19378b22bf3fSmrgcat <<\_ACEOF >conftest.sed
19388b22bf3fSmrgs/[\\$]/&&/g;s/;s,x,x,$//
19398b22bf3fSmrg_ACEOF
19408b22bf3fSmrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
19418b22bf3fSmrgrm -f conftest.sed
19428b22bf3fSmrg
19438b22bf3fSmrg# expand $ac_aux_dir to an absolute path
19448b22bf3fSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
19458b22bf3fSmrg
19468b22bf3fSmrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
19478b22bf3fSmrg# Use eval to expand $SHELL
19488b22bf3fSmrgif eval "$MISSING --run true"; then
19498b22bf3fSmrg  am_missing_run="$MISSING --run "
19508b22bf3fSmrgelse
19518b22bf3fSmrg  am_missing_run=
19528b22bf3fSmrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
19538b22bf3fSmrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
19548b22bf3fSmrgfi
19558b22bf3fSmrg
19568b22bf3fSmrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
19578b22bf3fSmrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
19588b22bf3fSmrgif test -z "$MKDIR_P"; then
19598b22bf3fSmrg  if test "${ac_cv_path_mkdir+set}" = set; then
19608b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
19618b22bf3fSmrgelse
19628b22bf3fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19638b22bf3fSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19648b22bf3fSmrgdo
19658b22bf3fSmrg  IFS=$as_save_IFS
19668b22bf3fSmrg  test -z "$as_dir" && as_dir=.
19678b22bf3fSmrg  for ac_prog in mkdir gmkdir; do
19688b22bf3fSmrg	 for ac_exec_ext in '' $ac_executable_extensions; do
19698b22bf3fSmrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19708b22bf3fSmrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19718b22bf3fSmrg	     'mkdir (GNU coreutils) '* | \
19728b22bf3fSmrg	     'mkdir (coreutils) '* | \
19738b22bf3fSmrg	     'mkdir (fileutils) '4.1*)
19748b22bf3fSmrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
19758b22bf3fSmrg	       break 3;;
19768b22bf3fSmrg	   esac
19778b22bf3fSmrg	 done
19788b22bf3fSmrg       done
19798b22bf3fSmrgdone
19808b22bf3fSmrgIFS=$as_save_IFS
19818b22bf3fSmrg
19828b22bf3fSmrgfi
19838b22bf3fSmrg
19848b22bf3fSmrg  if test "${ac_cv_path_mkdir+set}" = set; then
19858b22bf3fSmrg    MKDIR_P="$ac_cv_path_mkdir -p"
19868b22bf3fSmrg  else
19878b22bf3fSmrg    # As a last resort, use the slow shell script.  Don't cache a
19888b22bf3fSmrg    # value for MKDIR_P within a source directory, because that will
19898b22bf3fSmrg    # break other packages using the cache if that directory is
19908b22bf3fSmrg    # removed, or if the value is a relative name.
19918b22bf3fSmrg    test -d ./--version && rmdir ./--version
19928b22bf3fSmrg    MKDIR_P="$ac_install_sh -d"
19938b22bf3fSmrg  fi
19948b22bf3fSmrgfi
19958b22bf3fSmrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
19968b22bf3fSmrgecho "${ECHO_T}$MKDIR_P" >&6; }
19978b22bf3fSmrg
19988b22bf3fSmrgmkdir_p="$MKDIR_P"
19998b22bf3fSmrgcase $mkdir_p in
20008b22bf3fSmrg  [\\/$]* | ?:[\\/]*) ;;
20018b22bf3fSmrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
20028b22bf3fSmrgesac
20038b22bf3fSmrg
20048b22bf3fSmrgfor ac_prog in gawk mawk nawk awk
20058b22bf3fSmrgdo
20068b22bf3fSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
20078b22bf3fSmrgset dummy $ac_prog; ac_word=$2
20088b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20098b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20108b22bf3fSmrgif test "${ac_cv_prog_AWK+set}" = set; then
20118b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
20128b22bf3fSmrgelse
20138b22bf3fSmrg  if test -n "$AWK"; then
20148b22bf3fSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
20158b22bf3fSmrgelse
20168b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20178b22bf3fSmrgfor as_dir in $PATH
20188b22bf3fSmrgdo
20198b22bf3fSmrg  IFS=$as_save_IFS
20208b22bf3fSmrg  test -z "$as_dir" && as_dir=.
20218b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
20228b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20238b22bf3fSmrg    ac_cv_prog_AWK="$ac_prog"
20248b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20258b22bf3fSmrg    break 2
20268b22bf3fSmrg  fi
20278b22bf3fSmrgdone
20288b22bf3fSmrgdone
20298b22bf3fSmrgIFS=$as_save_IFS
20308b22bf3fSmrg
20318b22bf3fSmrgfi
20328b22bf3fSmrgfi
20338b22bf3fSmrgAWK=$ac_cv_prog_AWK
20348b22bf3fSmrgif test -n "$AWK"; then
20358b22bf3fSmrg  { echo "$as_me:$LINENO: result: $AWK" >&5
20368b22bf3fSmrgecho "${ECHO_T}$AWK" >&6; }
20378b22bf3fSmrgelse
20388b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
20398b22bf3fSmrgecho "${ECHO_T}no" >&6; }
20408b22bf3fSmrgfi
20418b22bf3fSmrg
20428b22bf3fSmrg
20438b22bf3fSmrg  test -n "$AWK" && break
20448b22bf3fSmrgdone
20458b22bf3fSmrg
20468b22bf3fSmrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20478b22bf3fSmrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20488b22bf3fSmrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20498b22bf3fSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20508b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
20518b22bf3fSmrgelse
20528b22bf3fSmrg  cat >conftest.make <<\_ACEOF
20538b22bf3fSmrgSHELL = /bin/sh
20548b22bf3fSmrgall:
20558b22bf3fSmrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
20568b22bf3fSmrg_ACEOF
20578b22bf3fSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20588b22bf3fSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
20598b22bf3fSmrg  *@@@%%%=?*=@@@%%%*)
20608b22bf3fSmrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
20618b22bf3fSmrg  *)
20628b22bf3fSmrg    eval ac_cv_prog_make_${ac_make}_set=no;;
20638b22bf3fSmrgesac
20648b22bf3fSmrgrm -f conftest.make
20658b22bf3fSmrgfi
20668b22bf3fSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
20678b22bf3fSmrg  { echo "$as_me:$LINENO: result: yes" >&5
20688b22bf3fSmrgecho "${ECHO_T}yes" >&6; }
20698b22bf3fSmrg  SET_MAKE=
20708b22bf3fSmrgelse
20718b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
20728b22bf3fSmrgecho "${ECHO_T}no" >&6; }
20738b22bf3fSmrg  SET_MAKE="MAKE=${MAKE-make}"
20748b22bf3fSmrgfi
20758b22bf3fSmrg
20768b22bf3fSmrgrm -rf .tst 2>/dev/null
20778b22bf3fSmrgmkdir .tst 2>/dev/null
20788b22bf3fSmrgif test -d .tst; then
20798b22bf3fSmrg  am__leading_dot=.
20808b22bf3fSmrgelse
20818b22bf3fSmrg  am__leading_dot=_
20828b22bf3fSmrgfi
20838b22bf3fSmrgrmdir .tst 2>/dev/null
20848b22bf3fSmrg
20858b22bf3fSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
20868b22bf3fSmrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
20878b22bf3fSmrg  # is not polluted with repeated "-I."
20888b22bf3fSmrg  am__isrc=' -I$(srcdir)'
20898b22bf3fSmrg  # test to see if srcdir already configured
20908b22bf3fSmrg  if test -f $srcdir/config.status; then
20918b22bf3fSmrg    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
20928b22bf3fSmrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
20938b22bf3fSmrg   { (exit 1); exit 1; }; }
20948b22bf3fSmrg  fi
20958b22bf3fSmrgfi
20968b22bf3fSmrg
20978b22bf3fSmrg# test whether we have cygpath
20988b22bf3fSmrgif test -z "$CYGPATH_W"; then
20998b22bf3fSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
21008b22bf3fSmrg    CYGPATH_W='cygpath -w'
21018b22bf3fSmrg  else
21028b22bf3fSmrg    CYGPATH_W=echo
21038b22bf3fSmrg  fi
21048b22bf3fSmrgfi
21058b22bf3fSmrg
21068b22bf3fSmrg
21078b22bf3fSmrg# Define the identity of the package.
21088b22bf3fSmrg PACKAGE='xrdb'
21098b22bf3fSmrg VERSION='1.0.4'
21108b22bf3fSmrg
21118b22bf3fSmrg
21128b22bf3fSmrgcat >>confdefs.h <<_ACEOF
21138b22bf3fSmrg#define PACKAGE "$PACKAGE"
21148b22bf3fSmrg_ACEOF
21158b22bf3fSmrg
21168b22bf3fSmrg
21178b22bf3fSmrgcat >>confdefs.h <<_ACEOF
21188b22bf3fSmrg#define VERSION "$VERSION"
21198b22bf3fSmrg_ACEOF
21208b22bf3fSmrg
21218b22bf3fSmrg# Some tools Automake needs.
21228b22bf3fSmrg
21238b22bf3fSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
21248b22bf3fSmrg
21258b22bf3fSmrg
21268b22bf3fSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
21278b22bf3fSmrg
21288b22bf3fSmrg
21298b22bf3fSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
21308b22bf3fSmrg
21318b22bf3fSmrg
21328b22bf3fSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
21338b22bf3fSmrg
21348b22bf3fSmrg
21358b22bf3fSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
21368b22bf3fSmrg
21378b22bf3fSmrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
21388b22bf3fSmrg
21398b22bf3fSmrg# Installed binaries are usually stripped using `strip' when the user
21408b22bf3fSmrg# run `make install-strip'.  However `strip' might not be the right
21418b22bf3fSmrg# tool to use in cross-compilation environments, therefore Automake
21428b22bf3fSmrg# will honor the `STRIP' environment variable to overrule this program.
21438b22bf3fSmrgif test "$cross_compiling" != no; then
21448b22bf3fSmrg  if test -n "$ac_tool_prefix"; then
21458b22bf3fSmrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21468b22bf3fSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21478b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21488b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21498b22bf3fSmrgif test "${ac_cv_prog_STRIP+set}" = set; then
21508b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
21518b22bf3fSmrgelse
21528b22bf3fSmrg  if test -n "$STRIP"; then
21538b22bf3fSmrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21548b22bf3fSmrgelse
21558b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21568b22bf3fSmrgfor as_dir in $PATH
21578b22bf3fSmrgdo
21588b22bf3fSmrg  IFS=$as_save_IFS
21598b22bf3fSmrg  test -z "$as_dir" && as_dir=.
21608b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
21618b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21628b22bf3fSmrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21638b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21648b22bf3fSmrg    break 2
21658b22bf3fSmrg  fi
21668b22bf3fSmrgdone
21678b22bf3fSmrgdone
21688b22bf3fSmrgIFS=$as_save_IFS
21698b22bf3fSmrg
21708b22bf3fSmrgfi
21718b22bf3fSmrgfi
21728b22bf3fSmrgSTRIP=$ac_cv_prog_STRIP
21738b22bf3fSmrgif test -n "$STRIP"; then
21748b22bf3fSmrg  { echo "$as_me:$LINENO: result: $STRIP" >&5
21758b22bf3fSmrgecho "${ECHO_T}$STRIP" >&6; }
21768b22bf3fSmrgelse
21778b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
21788b22bf3fSmrgecho "${ECHO_T}no" >&6; }
21798b22bf3fSmrgfi
21808b22bf3fSmrg
21818b22bf3fSmrg
21828b22bf3fSmrgfi
21838b22bf3fSmrgif test -z "$ac_cv_prog_STRIP"; then
21848b22bf3fSmrg  ac_ct_STRIP=$STRIP
21858b22bf3fSmrg  # Extract the first word of "strip", so it can be a program name with args.
21868b22bf3fSmrgset dummy strip; ac_word=$2
21878b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21888b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21898b22bf3fSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
21908b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
21918b22bf3fSmrgelse
21928b22bf3fSmrg  if test -n "$ac_ct_STRIP"; then
21938b22bf3fSmrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21948b22bf3fSmrgelse
21958b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21968b22bf3fSmrgfor as_dir in $PATH
21978b22bf3fSmrgdo
21988b22bf3fSmrg  IFS=$as_save_IFS
21998b22bf3fSmrg  test -z "$as_dir" && as_dir=.
22008b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
22018b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22028b22bf3fSmrg    ac_cv_prog_ac_ct_STRIP="strip"
22038b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22048b22bf3fSmrg    break 2
22058b22bf3fSmrg  fi
22068b22bf3fSmrgdone
22078b22bf3fSmrgdone
22088b22bf3fSmrgIFS=$as_save_IFS
22098b22bf3fSmrg
22108b22bf3fSmrgfi
22118b22bf3fSmrgfi
22128b22bf3fSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
22138b22bf3fSmrgif test -n "$ac_ct_STRIP"; then
22148b22bf3fSmrg  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
22158b22bf3fSmrgecho "${ECHO_T}$ac_ct_STRIP" >&6; }
22168b22bf3fSmrgelse
22178b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
22188b22bf3fSmrgecho "${ECHO_T}no" >&6; }
22198b22bf3fSmrgfi
22208b22bf3fSmrg
22218b22bf3fSmrg  if test "x$ac_ct_STRIP" = x; then
22228b22bf3fSmrg    STRIP=":"
22238b22bf3fSmrg  else
22248b22bf3fSmrg    case $cross_compiling:$ac_tool_warned in
22258b22bf3fSmrgyes:)
22268b22bf3fSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22278b22bf3fSmrgwhose name does not start with the host triplet.  If you think this
22288b22bf3fSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
22298b22bf3fSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22308b22bf3fSmrgwhose name does not start with the host triplet.  If you think this
22318b22bf3fSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
22328b22bf3fSmrgac_tool_warned=yes ;;
22338b22bf3fSmrgesac
22348b22bf3fSmrg    STRIP=$ac_ct_STRIP
22358b22bf3fSmrg  fi
22368b22bf3fSmrgelse
22378b22bf3fSmrg  STRIP="$ac_cv_prog_STRIP"
22388b22bf3fSmrgfi
22398b22bf3fSmrg
22408b22bf3fSmrgfi
22418b22bf3fSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22428b22bf3fSmrg
22438b22bf3fSmrg# We need awk for the "check" target.  The system "awk" is bad on
22448b22bf3fSmrg# some platforms.
22458b22bf3fSmrg# Always define AMTAR for backward compatibility.
22468b22bf3fSmrg
22478b22bf3fSmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
22488b22bf3fSmrg
22498b22bf3fSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
22508b22bf3fSmrg
22518b22bf3fSmrg
22528b22bf3fSmrg
22538b22bf3fSmrg
22548b22bf3fSmrg
22558b22bf3fSmrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
22568b22bf3fSmrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
22578b22bf3fSmrg    # Check whether --enable-maintainer-mode was given.
22588b22bf3fSmrgif test "${enable_maintainer_mode+set}" = set; then
22598b22bf3fSmrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
22608b22bf3fSmrgelse
22618b22bf3fSmrg  USE_MAINTAINER_MODE=no
22628b22bf3fSmrgfi
22638b22bf3fSmrg
22648b22bf3fSmrg  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
22658b22bf3fSmrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
22668b22bf3fSmrg   if test $USE_MAINTAINER_MODE = yes; then
22678b22bf3fSmrg  MAINTAINER_MODE_TRUE=
22688b22bf3fSmrg  MAINTAINER_MODE_FALSE='#'
22698b22bf3fSmrgelse
22708b22bf3fSmrg  MAINTAINER_MODE_TRUE='#'
22718b22bf3fSmrg  MAINTAINER_MODE_FALSE=
22728b22bf3fSmrgfi
22738b22bf3fSmrg
22748b22bf3fSmrg  MAINT=$MAINTAINER_MODE_TRUE
22758b22bf3fSmrg
22768b22bf3fSmrg
22778b22bf3fSmrg
22788b22bf3fSmrgac_config_headers="$ac_config_headers config.h"
22798b22bf3fSmrg
22808b22bf3fSmrg
22818b22bf3fSmrgac_ext=c
22828b22bf3fSmrgac_cpp='$CPP $CPPFLAGS'
22838b22bf3fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848b22bf3fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858b22bf3fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
22868b22bf3fSmrgif test -n "$ac_tool_prefix"; then
22878b22bf3fSmrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22888b22bf3fSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
22898b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22908b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22918b22bf3fSmrgif test "${ac_cv_prog_CC+set}" = set; then
22928b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
22938b22bf3fSmrgelse
22948b22bf3fSmrg  if test -n "$CC"; then
22958b22bf3fSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
22968b22bf3fSmrgelse
22978b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22988b22bf3fSmrgfor as_dir in $PATH
22998b22bf3fSmrgdo
23008b22bf3fSmrg  IFS=$as_save_IFS
23018b22bf3fSmrg  test -z "$as_dir" && as_dir=.
23028b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
23038b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23048b22bf3fSmrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
23058b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23068b22bf3fSmrg    break 2
23078b22bf3fSmrg  fi
23088b22bf3fSmrgdone
23098b22bf3fSmrgdone
23108b22bf3fSmrgIFS=$as_save_IFS
23118b22bf3fSmrg
23128b22bf3fSmrgfi
23138b22bf3fSmrgfi
23148b22bf3fSmrgCC=$ac_cv_prog_CC
23158b22bf3fSmrgif test -n "$CC"; then
23168b22bf3fSmrg  { echo "$as_me:$LINENO: result: $CC" >&5
23178b22bf3fSmrgecho "${ECHO_T}$CC" >&6; }
23188b22bf3fSmrgelse
23198b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
23208b22bf3fSmrgecho "${ECHO_T}no" >&6; }
23218b22bf3fSmrgfi
23228b22bf3fSmrg
23238b22bf3fSmrg
23248b22bf3fSmrgfi
23258b22bf3fSmrgif test -z "$ac_cv_prog_CC"; then
23268b22bf3fSmrg  ac_ct_CC=$CC
23278b22bf3fSmrg  # Extract the first word of "gcc", so it can be a program name with args.
23288b22bf3fSmrgset dummy gcc; ac_word=$2
23298b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23308b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23318b22bf3fSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23328b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23338b22bf3fSmrgelse
23348b22bf3fSmrg  if test -n "$ac_ct_CC"; then
23358b22bf3fSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23368b22bf3fSmrgelse
23378b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23388b22bf3fSmrgfor as_dir in $PATH
23398b22bf3fSmrgdo
23408b22bf3fSmrg  IFS=$as_save_IFS
23418b22bf3fSmrg  test -z "$as_dir" && as_dir=.
23428b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
23438b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23448b22bf3fSmrg    ac_cv_prog_ac_ct_CC="gcc"
23458b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23468b22bf3fSmrg    break 2
23478b22bf3fSmrg  fi
23488b22bf3fSmrgdone
23498b22bf3fSmrgdone
23508b22bf3fSmrgIFS=$as_save_IFS
23518b22bf3fSmrg
23528b22bf3fSmrgfi
23538b22bf3fSmrgfi
23548b22bf3fSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
23558b22bf3fSmrgif test -n "$ac_ct_CC"; then
23568b22bf3fSmrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23578b22bf3fSmrgecho "${ECHO_T}$ac_ct_CC" >&6; }
23588b22bf3fSmrgelse
23598b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
23608b22bf3fSmrgecho "${ECHO_T}no" >&6; }
23618b22bf3fSmrgfi
23628b22bf3fSmrg
23638b22bf3fSmrg  if test "x$ac_ct_CC" = x; then
23648b22bf3fSmrg    CC=""
23658b22bf3fSmrg  else
23668b22bf3fSmrg    case $cross_compiling:$ac_tool_warned in
23678b22bf3fSmrgyes:)
23688b22bf3fSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23698b22bf3fSmrgwhose name does not start with the host triplet.  If you think this
23708b22bf3fSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
23718b22bf3fSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23728b22bf3fSmrgwhose name does not start with the host triplet.  If you think this
23738b22bf3fSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
23748b22bf3fSmrgac_tool_warned=yes ;;
23758b22bf3fSmrgesac
23768b22bf3fSmrg    CC=$ac_ct_CC
23778b22bf3fSmrg  fi
23788b22bf3fSmrgelse
23798b22bf3fSmrg  CC="$ac_cv_prog_CC"
23808b22bf3fSmrgfi
23818b22bf3fSmrg
23828b22bf3fSmrgif test -z "$CC"; then
23838b22bf3fSmrg          if test -n "$ac_tool_prefix"; then
23848b22bf3fSmrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23858b22bf3fSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2
23868b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23878b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23888b22bf3fSmrgif test "${ac_cv_prog_CC+set}" = set; then
23898b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23908b22bf3fSmrgelse
23918b22bf3fSmrg  if test -n "$CC"; then
23928b22bf3fSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
23938b22bf3fSmrgelse
23948b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23958b22bf3fSmrgfor as_dir in $PATH
23968b22bf3fSmrgdo
23978b22bf3fSmrg  IFS=$as_save_IFS
23988b22bf3fSmrg  test -z "$as_dir" && as_dir=.
23998b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
24008b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24018b22bf3fSmrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
24028b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24038b22bf3fSmrg    break 2
24048b22bf3fSmrg  fi
24058b22bf3fSmrgdone
24068b22bf3fSmrgdone
24078b22bf3fSmrgIFS=$as_save_IFS
24088b22bf3fSmrg
24098b22bf3fSmrgfi
24108b22bf3fSmrgfi
24118b22bf3fSmrgCC=$ac_cv_prog_CC
24128b22bf3fSmrgif test -n "$CC"; then
24138b22bf3fSmrg  { echo "$as_me:$LINENO: result: $CC" >&5
24148b22bf3fSmrgecho "${ECHO_T}$CC" >&6; }
24158b22bf3fSmrgelse
24168b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
24178b22bf3fSmrgecho "${ECHO_T}no" >&6; }
24188b22bf3fSmrgfi
24198b22bf3fSmrg
24208b22bf3fSmrg
24218b22bf3fSmrg  fi
24228b22bf3fSmrgfi
24238b22bf3fSmrgif test -z "$CC"; then
24248b22bf3fSmrg  # Extract the first word of "cc", so it can be a program name with args.
24258b22bf3fSmrgset dummy cc; ac_word=$2
24268b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24278b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24288b22bf3fSmrgif test "${ac_cv_prog_CC+set}" = set; then
24298b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
24308b22bf3fSmrgelse
24318b22bf3fSmrg  if test -n "$CC"; then
24328b22bf3fSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
24338b22bf3fSmrgelse
24348b22bf3fSmrg  ac_prog_rejected=no
24358b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24368b22bf3fSmrgfor as_dir in $PATH
24378b22bf3fSmrgdo
24388b22bf3fSmrg  IFS=$as_save_IFS
24398b22bf3fSmrg  test -z "$as_dir" && as_dir=.
24408b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
24418b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24428b22bf3fSmrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24438b22bf3fSmrg       ac_prog_rejected=yes
24448b22bf3fSmrg       continue
24458b22bf3fSmrg     fi
24468b22bf3fSmrg    ac_cv_prog_CC="cc"
24478b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24488b22bf3fSmrg    break 2
24498b22bf3fSmrg  fi
24508b22bf3fSmrgdone
24518b22bf3fSmrgdone
24528b22bf3fSmrgIFS=$as_save_IFS
24538b22bf3fSmrg
24548b22bf3fSmrgif test $ac_prog_rejected = yes; then
24558b22bf3fSmrg  # We found a bogon in the path, so make sure we never use it.
24568b22bf3fSmrg  set dummy $ac_cv_prog_CC
24578b22bf3fSmrg  shift
24588b22bf3fSmrg  if test $# != 0; then
24598b22bf3fSmrg    # We chose a different compiler from the bogus one.
24608b22bf3fSmrg    # However, it has the same basename, so the bogon will be chosen
24618b22bf3fSmrg    # first if we set CC to just the basename; use the full file name.
24628b22bf3fSmrg    shift
24638b22bf3fSmrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
24648b22bf3fSmrg  fi
24658b22bf3fSmrgfi
24668b22bf3fSmrgfi
24678b22bf3fSmrgfi
24688b22bf3fSmrgCC=$ac_cv_prog_CC
24698b22bf3fSmrgif test -n "$CC"; then
24708b22bf3fSmrg  { echo "$as_me:$LINENO: result: $CC" >&5
24718b22bf3fSmrgecho "${ECHO_T}$CC" >&6; }
24728b22bf3fSmrgelse
24738b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
24748b22bf3fSmrgecho "${ECHO_T}no" >&6; }
24758b22bf3fSmrgfi
24768b22bf3fSmrg
24778b22bf3fSmrg
24788b22bf3fSmrgfi
24798b22bf3fSmrgif test -z "$CC"; then
24808b22bf3fSmrg  if test -n "$ac_tool_prefix"; then
24818b22bf3fSmrg  for ac_prog in cl.exe
24828b22bf3fSmrg  do
24838b22bf3fSmrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24848b22bf3fSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
24858b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24868b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24878b22bf3fSmrgif test "${ac_cv_prog_CC+set}" = set; then
24888b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
24898b22bf3fSmrgelse
24908b22bf3fSmrg  if test -n "$CC"; then
24918b22bf3fSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
24928b22bf3fSmrgelse
24938b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24948b22bf3fSmrgfor as_dir in $PATH
24958b22bf3fSmrgdo
24968b22bf3fSmrg  IFS=$as_save_IFS
24978b22bf3fSmrg  test -z "$as_dir" && as_dir=.
24988b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
24998b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25008b22bf3fSmrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
25018b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25028b22bf3fSmrg    break 2
25038b22bf3fSmrg  fi
25048b22bf3fSmrgdone
25058b22bf3fSmrgdone
25068b22bf3fSmrgIFS=$as_save_IFS
25078b22bf3fSmrg
25088b22bf3fSmrgfi
25098b22bf3fSmrgfi
25108b22bf3fSmrgCC=$ac_cv_prog_CC
25118b22bf3fSmrgif test -n "$CC"; then
25128b22bf3fSmrg  { echo "$as_me:$LINENO: result: $CC" >&5
25138b22bf3fSmrgecho "${ECHO_T}$CC" >&6; }
25148b22bf3fSmrgelse
25158b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
25168b22bf3fSmrgecho "${ECHO_T}no" >&6; }
25178b22bf3fSmrgfi
25188b22bf3fSmrg
25198b22bf3fSmrg
25208b22bf3fSmrg    test -n "$CC" && break
25218b22bf3fSmrg  done
25228b22bf3fSmrgfi
25238b22bf3fSmrgif test -z "$CC"; then
25248b22bf3fSmrg  ac_ct_CC=$CC
25258b22bf3fSmrg  for ac_prog in cl.exe
25268b22bf3fSmrgdo
25278b22bf3fSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
25288b22bf3fSmrgset dummy $ac_prog; ac_word=$2
25298b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25308b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25318b22bf3fSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
25328b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
25338b22bf3fSmrgelse
25348b22bf3fSmrg  if test -n "$ac_ct_CC"; then
25358b22bf3fSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
25368b22bf3fSmrgelse
25378b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25388b22bf3fSmrgfor as_dir in $PATH
25398b22bf3fSmrgdo
25408b22bf3fSmrg  IFS=$as_save_IFS
25418b22bf3fSmrg  test -z "$as_dir" && as_dir=.
25428b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
25438b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25448b22bf3fSmrg    ac_cv_prog_ac_ct_CC="$ac_prog"
25458b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25468b22bf3fSmrg    break 2
25478b22bf3fSmrg  fi
25488b22bf3fSmrgdone
25498b22bf3fSmrgdone
25508b22bf3fSmrgIFS=$as_save_IFS
25518b22bf3fSmrg
25528b22bf3fSmrgfi
25538b22bf3fSmrgfi
25548b22bf3fSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
25558b22bf3fSmrgif test -n "$ac_ct_CC"; then
25568b22bf3fSmrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
25578b22bf3fSmrgecho "${ECHO_T}$ac_ct_CC" >&6; }
25588b22bf3fSmrgelse
25598b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
25608b22bf3fSmrgecho "${ECHO_T}no" >&6; }
25618b22bf3fSmrgfi
25628b22bf3fSmrg
25638b22bf3fSmrg
25648b22bf3fSmrg  test -n "$ac_ct_CC" && break
25658b22bf3fSmrgdone
25668b22bf3fSmrg
25678b22bf3fSmrg  if test "x$ac_ct_CC" = x; then
25688b22bf3fSmrg    CC=""
25698b22bf3fSmrg  else
25708b22bf3fSmrg    case $cross_compiling:$ac_tool_warned in
25718b22bf3fSmrgyes:)
25728b22bf3fSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25738b22bf3fSmrgwhose name does not start with the host triplet.  If you think this
25748b22bf3fSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
25758b22bf3fSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25768b22bf3fSmrgwhose name does not start with the host triplet.  If you think this
25778b22bf3fSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
25788b22bf3fSmrgac_tool_warned=yes ;;
25798b22bf3fSmrgesac
25808b22bf3fSmrg    CC=$ac_ct_CC
25818b22bf3fSmrg  fi
25828b22bf3fSmrgfi
25838b22bf3fSmrg
25848b22bf3fSmrgfi
25858b22bf3fSmrg
25868b22bf3fSmrg
25878b22bf3fSmrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
25888b22bf3fSmrgSee \`config.log' for more details." >&5
25898b22bf3fSmrgecho "$as_me: error: no acceptable C compiler found in \$PATH
25908b22bf3fSmrgSee \`config.log' for more details." >&2;}
25918b22bf3fSmrg   { (exit 1); exit 1; }; }
25928b22bf3fSmrg
25938b22bf3fSmrg# Provide some information about the compiler.
25948b22bf3fSmrgecho "$as_me:$LINENO: checking for C compiler version" >&5
25958b22bf3fSmrgac_compiler=`set X $ac_compile; echo $2`
25968b22bf3fSmrg{ (ac_try="$ac_compiler --version >&5"
25978b22bf3fSmrgcase "(($ac_try" in
25988b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25998b22bf3fSmrg  *) ac_try_echo=$ac_try;;
26008b22bf3fSmrgesac
26018b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26028b22bf3fSmrg  (eval "$ac_compiler --version >&5") 2>&5
26038b22bf3fSmrg  ac_status=$?
26048b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058b22bf3fSmrg  (exit $ac_status); }
26068b22bf3fSmrg{ (ac_try="$ac_compiler -v >&5"
26078b22bf3fSmrgcase "(($ac_try" in
26088b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26098b22bf3fSmrg  *) ac_try_echo=$ac_try;;
26108b22bf3fSmrgesac
26118b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26128b22bf3fSmrg  (eval "$ac_compiler -v >&5") 2>&5
26138b22bf3fSmrg  ac_status=$?
26148b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158b22bf3fSmrg  (exit $ac_status); }
26168b22bf3fSmrg{ (ac_try="$ac_compiler -V >&5"
26178b22bf3fSmrgcase "(($ac_try" in
26188b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26198b22bf3fSmrg  *) ac_try_echo=$ac_try;;
26208b22bf3fSmrgesac
26218b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26228b22bf3fSmrg  (eval "$ac_compiler -V >&5") 2>&5
26238b22bf3fSmrg  ac_status=$?
26248b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258b22bf3fSmrg  (exit $ac_status); }
26268b22bf3fSmrg
26278b22bf3fSmrgcat >conftest.$ac_ext <<_ACEOF
26288b22bf3fSmrg/* confdefs.h.  */
26298b22bf3fSmrg_ACEOF
26308b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
26318b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
26328b22bf3fSmrg/* end confdefs.h.  */
26338b22bf3fSmrg
26348b22bf3fSmrgint
26358b22bf3fSmrgmain ()
26368b22bf3fSmrg{
26378b22bf3fSmrg
26388b22bf3fSmrg  ;
26398b22bf3fSmrg  return 0;
26408b22bf3fSmrg}
26418b22bf3fSmrg_ACEOF
26428b22bf3fSmrgac_clean_files_save=$ac_clean_files
26438b22bf3fSmrgac_clean_files="$ac_clean_files a.out a.exe b.out"
26448b22bf3fSmrg# Try to create an executable without -o first, disregard a.out.
26458b22bf3fSmrg# It will help us diagnose broken compilers, and finding out an intuition
26468b22bf3fSmrg# of exeext.
26478b22bf3fSmrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
26488b22bf3fSmrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
26498b22bf3fSmrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
26508b22bf3fSmrg#
26518b22bf3fSmrg# List of possible output files, starting from the most likely.
26528b22bf3fSmrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
26538b22bf3fSmrg# only as a last resort.  b.out is created by i960 compilers.
26548b22bf3fSmrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
26558b22bf3fSmrg#
26568b22bf3fSmrg# The IRIX 6 linker writes into existing files which may not be
26578b22bf3fSmrg# executable, retaining their permissions.  Remove them first so a
26588b22bf3fSmrg# subsequent execution test works.
26598b22bf3fSmrgac_rmfiles=
26608b22bf3fSmrgfor ac_file in $ac_files
26618b22bf3fSmrgdo
26628b22bf3fSmrg  case $ac_file in
26638b22bf3fSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
26648b22bf3fSmrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
26658b22bf3fSmrg  esac
26668b22bf3fSmrgdone
26678b22bf3fSmrgrm -f $ac_rmfiles
26688b22bf3fSmrg
26698b22bf3fSmrgif { (ac_try="$ac_link_default"
26708b22bf3fSmrgcase "(($ac_try" in
26718b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26728b22bf3fSmrg  *) ac_try_echo=$ac_try;;
26738b22bf3fSmrgesac
26748b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26758b22bf3fSmrg  (eval "$ac_link_default") 2>&5
26768b22bf3fSmrg  ac_status=$?
26778b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788b22bf3fSmrg  (exit $ac_status); }; then
26798b22bf3fSmrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
26808b22bf3fSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
26818b22bf3fSmrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
26828b22bf3fSmrg# so that the user can short-circuit this test for compilers unknown to
26838b22bf3fSmrg# Autoconf.
26848b22bf3fSmrgfor ac_file in $ac_files ''
26858b22bf3fSmrgdo
26868b22bf3fSmrg  test -f "$ac_file" || continue
26878b22bf3fSmrg  case $ac_file in
26888b22bf3fSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
26898b22bf3fSmrg	;;
26908b22bf3fSmrg    [ab].out )
26918b22bf3fSmrg	# We found the default executable, but exeext='' is most
26928b22bf3fSmrg	# certainly right.
26938b22bf3fSmrg	break;;
26948b22bf3fSmrg    *.* )
26958b22bf3fSmrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
26968b22bf3fSmrg	then :; else
26978b22bf3fSmrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
26988b22bf3fSmrg	fi
26998b22bf3fSmrg	# We set ac_cv_exeext here because the later test for it is not
27008b22bf3fSmrg	# safe: cross compilers may not add the suffix if given an `-o'
27018b22bf3fSmrg	# argument, so we may need to know it at that point already.
27028b22bf3fSmrg	# Even if this section looks crufty: it has the advantage of
27038b22bf3fSmrg	# actually working.
27048b22bf3fSmrg	break;;
27058b22bf3fSmrg    * )
27068b22bf3fSmrg	break;;
27078b22bf3fSmrg  esac
27088b22bf3fSmrgdone
27098b22bf3fSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
27108b22bf3fSmrg
27118b22bf3fSmrgelse
27128b22bf3fSmrg  ac_file=''
27138b22bf3fSmrgfi
27148b22bf3fSmrg
27158b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_file" >&5
27168b22bf3fSmrgecho "${ECHO_T}$ac_file" >&6; }
27178b22bf3fSmrgif test -z "$ac_file"; then
27188b22bf3fSmrg  echo "$as_me: failed program was:" >&5
27198b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
27208b22bf3fSmrg
27218b22bf3fSmrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
27228b22bf3fSmrgSee \`config.log' for more details." >&5
27238b22bf3fSmrgecho "$as_me: error: C compiler cannot create executables
27248b22bf3fSmrgSee \`config.log' for more details." >&2;}
27258b22bf3fSmrg   { (exit 77); exit 77; }; }
27268b22bf3fSmrgfi
27278b22bf3fSmrg
27288b22bf3fSmrgac_exeext=$ac_cv_exeext
27298b22bf3fSmrg
27308b22bf3fSmrg# Check that the compiler produces executables we can run.  If not, either
27318b22bf3fSmrg# the compiler is broken, or we cross compile.
27328b22bf3fSmrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
27338b22bf3fSmrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
27348b22bf3fSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
27358b22bf3fSmrg# If not cross compiling, check that we can run a simple program.
27368b22bf3fSmrgif test "$cross_compiling" != yes; then
27378b22bf3fSmrg  if { ac_try='./$ac_file'
27388b22bf3fSmrg  { (case "(($ac_try" in
27398b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27408b22bf3fSmrg  *) ac_try_echo=$ac_try;;
27418b22bf3fSmrgesac
27428b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27438b22bf3fSmrg  (eval "$ac_try") 2>&5
27448b22bf3fSmrg  ac_status=$?
27458b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468b22bf3fSmrg  (exit $ac_status); }; }; then
27478b22bf3fSmrg    cross_compiling=no
27488b22bf3fSmrg  else
27498b22bf3fSmrg    if test "$cross_compiling" = maybe; then
27508b22bf3fSmrg	cross_compiling=yes
27518b22bf3fSmrg    else
27528b22bf3fSmrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
27538b22bf3fSmrgIf you meant to cross compile, use \`--host'.
27548b22bf3fSmrgSee \`config.log' for more details." >&5
27558b22bf3fSmrgecho "$as_me: error: cannot run C compiled programs.
27568b22bf3fSmrgIf you meant to cross compile, use \`--host'.
27578b22bf3fSmrgSee \`config.log' for more details." >&2;}
27588b22bf3fSmrg   { (exit 1); exit 1; }; }
27598b22bf3fSmrg    fi
27608b22bf3fSmrg  fi
27618b22bf3fSmrgfi
27628b22bf3fSmrg{ echo "$as_me:$LINENO: result: yes" >&5
27638b22bf3fSmrgecho "${ECHO_T}yes" >&6; }
27648b22bf3fSmrg
27658b22bf3fSmrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
27668b22bf3fSmrgac_clean_files=$ac_clean_files_save
27678b22bf3fSmrg# Check that the compiler produces executables we can run.  If not, either
27688b22bf3fSmrg# the compiler is broken, or we cross compile.
27698b22bf3fSmrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
27708b22bf3fSmrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
27718b22bf3fSmrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
27728b22bf3fSmrgecho "${ECHO_T}$cross_compiling" >&6; }
27738b22bf3fSmrg
27748b22bf3fSmrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
27758b22bf3fSmrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
27768b22bf3fSmrgif { (ac_try="$ac_link"
27778b22bf3fSmrgcase "(($ac_try" in
27788b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27798b22bf3fSmrg  *) ac_try_echo=$ac_try;;
27808b22bf3fSmrgesac
27818b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27828b22bf3fSmrg  (eval "$ac_link") 2>&5
27838b22bf3fSmrg  ac_status=$?
27848b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858b22bf3fSmrg  (exit $ac_status); }; then
27868b22bf3fSmrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
27878b22bf3fSmrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
27888b22bf3fSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with
27898b22bf3fSmrg# `rm'.
27908b22bf3fSmrgfor ac_file in conftest.exe conftest conftest.*; do
27918b22bf3fSmrg  test -f "$ac_file" || continue
27928b22bf3fSmrg  case $ac_file in
27938b22bf3fSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
27948b22bf3fSmrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27958b22bf3fSmrg	  break;;
27968b22bf3fSmrg    * ) break;;
27978b22bf3fSmrg  esac
27988b22bf3fSmrgdone
27998b22bf3fSmrgelse
28008b22bf3fSmrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
28018b22bf3fSmrgSee \`config.log' for more details." >&5
28028b22bf3fSmrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
28038b22bf3fSmrgSee \`config.log' for more details." >&2;}
28048b22bf3fSmrg   { (exit 1); exit 1; }; }
28058b22bf3fSmrgfi
28068b22bf3fSmrg
28078b22bf3fSmrgrm -f conftest$ac_cv_exeext
28088b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
28098b22bf3fSmrgecho "${ECHO_T}$ac_cv_exeext" >&6; }
28108b22bf3fSmrg
28118b22bf3fSmrgrm -f conftest.$ac_ext
28128b22bf3fSmrgEXEEXT=$ac_cv_exeext
28138b22bf3fSmrgac_exeext=$EXEEXT
28148b22bf3fSmrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
28158b22bf3fSmrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
28168b22bf3fSmrgif test "${ac_cv_objext+set}" = set; then
28178b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
28188b22bf3fSmrgelse
28198b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
28208b22bf3fSmrg/* confdefs.h.  */
28218b22bf3fSmrg_ACEOF
28228b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
28238b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
28248b22bf3fSmrg/* end confdefs.h.  */
28258b22bf3fSmrg
28268b22bf3fSmrgint
28278b22bf3fSmrgmain ()
28288b22bf3fSmrg{
28298b22bf3fSmrg
28308b22bf3fSmrg  ;
28318b22bf3fSmrg  return 0;
28328b22bf3fSmrg}
28338b22bf3fSmrg_ACEOF
28348b22bf3fSmrgrm -f conftest.o conftest.obj
28358b22bf3fSmrgif { (ac_try="$ac_compile"
28368b22bf3fSmrgcase "(($ac_try" in
28378b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28388b22bf3fSmrg  *) ac_try_echo=$ac_try;;
28398b22bf3fSmrgesac
28408b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28418b22bf3fSmrg  (eval "$ac_compile") 2>&5
28428b22bf3fSmrg  ac_status=$?
28438b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448b22bf3fSmrg  (exit $ac_status); }; then
28458b22bf3fSmrg  for ac_file in conftest.o conftest.obj conftest.*; do
28468b22bf3fSmrg  test -f "$ac_file" || continue;
28478b22bf3fSmrg  case $ac_file in
28488b22bf3fSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
28498b22bf3fSmrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28508b22bf3fSmrg       break;;
28518b22bf3fSmrg  esac
28528b22bf3fSmrgdone
28538b22bf3fSmrgelse
28548b22bf3fSmrg  echo "$as_me: failed program was:" >&5
28558b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
28568b22bf3fSmrg
28578b22bf3fSmrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
28588b22bf3fSmrgSee \`config.log' for more details." >&5
28598b22bf3fSmrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
28608b22bf3fSmrgSee \`config.log' for more details." >&2;}
28618b22bf3fSmrg   { (exit 1); exit 1; }; }
28628b22bf3fSmrgfi
28638b22bf3fSmrg
28648b22bf3fSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
28658b22bf3fSmrgfi
28668b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
28678b22bf3fSmrgecho "${ECHO_T}$ac_cv_objext" >&6; }
28688b22bf3fSmrgOBJEXT=$ac_cv_objext
28698b22bf3fSmrgac_objext=$OBJEXT
28708b22bf3fSmrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28718b22bf3fSmrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
28728b22bf3fSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
28738b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
28748b22bf3fSmrgelse
28758b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
28768b22bf3fSmrg/* confdefs.h.  */
28778b22bf3fSmrg_ACEOF
28788b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
28798b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
28808b22bf3fSmrg/* end confdefs.h.  */
28818b22bf3fSmrg
28828b22bf3fSmrgint
28838b22bf3fSmrgmain ()
28848b22bf3fSmrg{
28858b22bf3fSmrg#ifndef __GNUC__
28868b22bf3fSmrg       choke me
28878b22bf3fSmrg#endif
28888b22bf3fSmrg
28898b22bf3fSmrg  ;
28908b22bf3fSmrg  return 0;
28918b22bf3fSmrg}
28928b22bf3fSmrg_ACEOF
28938b22bf3fSmrgrm -f conftest.$ac_objext
28948b22bf3fSmrgif { (ac_try="$ac_compile"
28958b22bf3fSmrgcase "(($ac_try" in
28968b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28978b22bf3fSmrg  *) ac_try_echo=$ac_try;;
28988b22bf3fSmrgesac
28998b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29008b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
29018b22bf3fSmrg  ac_status=$?
29028b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
29038b22bf3fSmrg  rm -f conftest.er1
29048b22bf3fSmrg  cat conftest.err >&5
29058b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068b22bf3fSmrg  (exit $ac_status); } && {
29078b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
29088b22bf3fSmrg	 test ! -s conftest.err
29098b22bf3fSmrg       } && test -s conftest.$ac_objext; then
29108b22bf3fSmrg  ac_compiler_gnu=yes
29118b22bf3fSmrgelse
29128b22bf3fSmrg  echo "$as_me: failed program was:" >&5
29138b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
29148b22bf3fSmrg
29158b22bf3fSmrg	ac_compiler_gnu=no
29168b22bf3fSmrgfi
29178b22bf3fSmrg
29188b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29198b22bf3fSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu
29208b22bf3fSmrg
29218b22bf3fSmrgfi
29228b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
29238b22bf3fSmrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
29248b22bf3fSmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
29258b22bf3fSmrgac_test_CFLAGS=${CFLAGS+set}
29268b22bf3fSmrgac_save_CFLAGS=$CFLAGS
29278b22bf3fSmrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
29288b22bf3fSmrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
29298b22bf3fSmrgif test "${ac_cv_prog_cc_g+set}" = set; then
29308b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
29318b22bf3fSmrgelse
29328b22bf3fSmrg  ac_save_c_werror_flag=$ac_c_werror_flag
29338b22bf3fSmrg   ac_c_werror_flag=yes
29348b22bf3fSmrg   ac_cv_prog_cc_g=no
29358b22bf3fSmrg   CFLAGS="-g"
29368b22bf3fSmrg   cat >conftest.$ac_ext <<_ACEOF
29378b22bf3fSmrg/* confdefs.h.  */
29388b22bf3fSmrg_ACEOF
29398b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
29408b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
29418b22bf3fSmrg/* end confdefs.h.  */
29428b22bf3fSmrg
29438b22bf3fSmrgint
29448b22bf3fSmrgmain ()
29458b22bf3fSmrg{
29468b22bf3fSmrg
29478b22bf3fSmrg  ;
29488b22bf3fSmrg  return 0;
29498b22bf3fSmrg}
29508b22bf3fSmrg_ACEOF
29518b22bf3fSmrgrm -f conftest.$ac_objext
29528b22bf3fSmrgif { (ac_try="$ac_compile"
29538b22bf3fSmrgcase "(($ac_try" in
29548b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29558b22bf3fSmrg  *) ac_try_echo=$ac_try;;
29568b22bf3fSmrgesac
29578b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29588b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
29598b22bf3fSmrg  ac_status=$?
29608b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
29618b22bf3fSmrg  rm -f conftest.er1
29628b22bf3fSmrg  cat conftest.err >&5
29638b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648b22bf3fSmrg  (exit $ac_status); } && {
29658b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
29668b22bf3fSmrg	 test ! -s conftest.err
29678b22bf3fSmrg       } && test -s conftest.$ac_objext; then
29688b22bf3fSmrg  ac_cv_prog_cc_g=yes
29698b22bf3fSmrgelse
29708b22bf3fSmrg  echo "$as_me: failed program was:" >&5
29718b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
29728b22bf3fSmrg
29738b22bf3fSmrg	CFLAGS=""
29748b22bf3fSmrg      cat >conftest.$ac_ext <<_ACEOF
29758b22bf3fSmrg/* confdefs.h.  */
29768b22bf3fSmrg_ACEOF
29778b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
29788b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
29798b22bf3fSmrg/* end confdefs.h.  */
29808b22bf3fSmrg
29818b22bf3fSmrgint
29828b22bf3fSmrgmain ()
29838b22bf3fSmrg{
29848b22bf3fSmrg
29858b22bf3fSmrg  ;
29868b22bf3fSmrg  return 0;
29878b22bf3fSmrg}
29888b22bf3fSmrg_ACEOF
29898b22bf3fSmrgrm -f conftest.$ac_objext
29908b22bf3fSmrgif { (ac_try="$ac_compile"
29918b22bf3fSmrgcase "(($ac_try" in
29928b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29938b22bf3fSmrg  *) ac_try_echo=$ac_try;;
29948b22bf3fSmrgesac
29958b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29968b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
29978b22bf3fSmrg  ac_status=$?
29988b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
29998b22bf3fSmrg  rm -f conftest.er1
30008b22bf3fSmrg  cat conftest.err >&5
30018b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028b22bf3fSmrg  (exit $ac_status); } && {
30038b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
30048b22bf3fSmrg	 test ! -s conftest.err
30058b22bf3fSmrg       } && test -s conftest.$ac_objext; then
30068b22bf3fSmrg  :
30078b22bf3fSmrgelse
30088b22bf3fSmrg  echo "$as_me: failed program was:" >&5
30098b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
30108b22bf3fSmrg
30118b22bf3fSmrg	ac_c_werror_flag=$ac_save_c_werror_flag
30128b22bf3fSmrg	 CFLAGS="-g"
30138b22bf3fSmrg	 cat >conftest.$ac_ext <<_ACEOF
30148b22bf3fSmrg/* confdefs.h.  */
30158b22bf3fSmrg_ACEOF
30168b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
30178b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
30188b22bf3fSmrg/* end confdefs.h.  */
30198b22bf3fSmrg
30208b22bf3fSmrgint
30218b22bf3fSmrgmain ()
30228b22bf3fSmrg{
30238b22bf3fSmrg
30248b22bf3fSmrg  ;
30258b22bf3fSmrg  return 0;
30268b22bf3fSmrg}
30278b22bf3fSmrg_ACEOF
30288b22bf3fSmrgrm -f conftest.$ac_objext
30298b22bf3fSmrgif { (ac_try="$ac_compile"
30308b22bf3fSmrgcase "(($ac_try" in
30318b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30328b22bf3fSmrg  *) ac_try_echo=$ac_try;;
30338b22bf3fSmrgesac
30348b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30358b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
30368b22bf3fSmrg  ac_status=$?
30378b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
30388b22bf3fSmrg  rm -f conftest.er1
30398b22bf3fSmrg  cat conftest.err >&5
30408b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418b22bf3fSmrg  (exit $ac_status); } && {
30428b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
30438b22bf3fSmrg	 test ! -s conftest.err
30448b22bf3fSmrg       } && test -s conftest.$ac_objext; then
30458b22bf3fSmrg  ac_cv_prog_cc_g=yes
30468b22bf3fSmrgelse
30478b22bf3fSmrg  echo "$as_me: failed program was:" >&5
30488b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
30498b22bf3fSmrg
30508b22bf3fSmrg
30518b22bf3fSmrgfi
30528b22bf3fSmrg
30538b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30548b22bf3fSmrgfi
30558b22bf3fSmrg
30568b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30578b22bf3fSmrgfi
30588b22bf3fSmrg
30598b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30608b22bf3fSmrg   ac_c_werror_flag=$ac_save_c_werror_flag
30618b22bf3fSmrgfi
30628b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
30638b22bf3fSmrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
30648b22bf3fSmrgif test "$ac_test_CFLAGS" = set; then
30658b22bf3fSmrg  CFLAGS=$ac_save_CFLAGS
30668b22bf3fSmrgelif test $ac_cv_prog_cc_g = yes; then
30678b22bf3fSmrg  if test "$GCC" = yes; then
30688b22bf3fSmrg    CFLAGS="-g -O2"
30698b22bf3fSmrg  else
30708b22bf3fSmrg    CFLAGS="-g"
30718b22bf3fSmrg  fi
30728b22bf3fSmrgelse
30738b22bf3fSmrg  if test "$GCC" = yes; then
30748b22bf3fSmrg    CFLAGS="-O2"
30758b22bf3fSmrg  else
30768b22bf3fSmrg    CFLAGS=
30778b22bf3fSmrg  fi
30788b22bf3fSmrgfi
30798b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
30808b22bf3fSmrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
30818b22bf3fSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then
30828b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
30838b22bf3fSmrgelse
30848b22bf3fSmrg  ac_cv_prog_cc_c89=no
30858b22bf3fSmrgac_save_CC=$CC
30868b22bf3fSmrgcat >conftest.$ac_ext <<_ACEOF
30878b22bf3fSmrg/* confdefs.h.  */
30888b22bf3fSmrg_ACEOF
30898b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
30908b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
30918b22bf3fSmrg/* end confdefs.h.  */
30928b22bf3fSmrg#include <stdarg.h>
30938b22bf3fSmrg#include <stdio.h>
30948b22bf3fSmrg#include <sys/types.h>
30958b22bf3fSmrg#include <sys/stat.h>
30968b22bf3fSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
30978b22bf3fSmrgstruct buf { int x; };
30988b22bf3fSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
30998b22bf3fSmrgstatic char *e (p, i)
31008b22bf3fSmrg     char **p;
31018b22bf3fSmrg     int i;
31028b22bf3fSmrg{
31038b22bf3fSmrg  return p[i];
31048b22bf3fSmrg}
31058b22bf3fSmrgstatic char *f (char * (*g) (char **, int), char **p, ...)
31068b22bf3fSmrg{
31078b22bf3fSmrg  char *s;
31088b22bf3fSmrg  va_list v;
31098b22bf3fSmrg  va_start (v,p);
31108b22bf3fSmrg  s = g (p, va_arg (v,int));
31118b22bf3fSmrg  va_end (v);
31128b22bf3fSmrg  return s;
31138b22bf3fSmrg}
31148b22bf3fSmrg
31158b22bf3fSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
31168b22bf3fSmrg   function prototypes and stuff, but not '\xHH' hex character constants.
31178b22bf3fSmrg   These don't provoke an error unfortunately, instead are silently treated
31188b22bf3fSmrg   as 'x'.  The following induces an error, until -std is added to get
31198b22bf3fSmrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
31208b22bf3fSmrg   array size at least.  It's necessary to write '\x00'==0 to get something
31218b22bf3fSmrg   that's true only with -std.  */
31228b22bf3fSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
31238b22bf3fSmrg
31248b22bf3fSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
31258b22bf3fSmrg   inside strings and character constants.  */
31268b22bf3fSmrg#define FOO(x) 'x'
31278b22bf3fSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
31288b22bf3fSmrg
31298b22bf3fSmrgint test (int i, double x);
31308b22bf3fSmrgstruct s1 {int (*f) (int a);};
31318b22bf3fSmrgstruct s2 {int (*f) (double a);};
31328b22bf3fSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
31338b22bf3fSmrgint argc;
31348b22bf3fSmrgchar **argv;
31358b22bf3fSmrgint
31368b22bf3fSmrgmain ()
31378b22bf3fSmrg{
31388b22bf3fSmrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
31398b22bf3fSmrg  ;
31408b22bf3fSmrg  return 0;
31418b22bf3fSmrg}
31428b22bf3fSmrg_ACEOF
31438b22bf3fSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
31448b22bf3fSmrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31458b22bf3fSmrgdo
31468b22bf3fSmrg  CC="$ac_save_CC $ac_arg"
31478b22bf3fSmrg  rm -f conftest.$ac_objext
31488b22bf3fSmrgif { (ac_try="$ac_compile"
31498b22bf3fSmrgcase "(($ac_try" in
31508b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31518b22bf3fSmrg  *) ac_try_echo=$ac_try;;
31528b22bf3fSmrgesac
31538b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31548b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
31558b22bf3fSmrg  ac_status=$?
31568b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
31578b22bf3fSmrg  rm -f conftest.er1
31588b22bf3fSmrg  cat conftest.err >&5
31598b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608b22bf3fSmrg  (exit $ac_status); } && {
31618b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
31628b22bf3fSmrg	 test ! -s conftest.err
31638b22bf3fSmrg       } && test -s conftest.$ac_objext; then
31648b22bf3fSmrg  ac_cv_prog_cc_c89=$ac_arg
31658b22bf3fSmrgelse
31668b22bf3fSmrg  echo "$as_me: failed program was:" >&5
31678b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
31688b22bf3fSmrg
31698b22bf3fSmrg
31708b22bf3fSmrgfi
31718b22bf3fSmrg
31728b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext
31738b22bf3fSmrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
31748b22bf3fSmrgdone
31758b22bf3fSmrgrm -f conftest.$ac_ext
31768b22bf3fSmrgCC=$ac_save_CC
31778b22bf3fSmrg
31788b22bf3fSmrgfi
31798b22bf3fSmrg# AC_CACHE_VAL
31808b22bf3fSmrgcase "x$ac_cv_prog_cc_c89" in
31818b22bf3fSmrg  x)
31828b22bf3fSmrg    { echo "$as_me:$LINENO: result: none needed" >&5
31838b22bf3fSmrgecho "${ECHO_T}none needed" >&6; } ;;
31848b22bf3fSmrg  xno)
31858b22bf3fSmrg    { echo "$as_me:$LINENO: result: unsupported" >&5
31868b22bf3fSmrgecho "${ECHO_T}unsupported" >&6; } ;;
31878b22bf3fSmrg  *)
31888b22bf3fSmrg    CC="$CC $ac_cv_prog_cc_c89"
31898b22bf3fSmrg    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
31908b22bf3fSmrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
31918b22bf3fSmrgesac
31928b22bf3fSmrg
31938b22bf3fSmrg
31948b22bf3fSmrgac_ext=c
31958b22bf3fSmrgac_cpp='$CPP $CPPFLAGS'
31968b22bf3fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978b22bf3fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31988b22bf3fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
31998b22bf3fSmrgDEPDIR="${am__leading_dot}deps"
32008b22bf3fSmrg
32018b22bf3fSmrgac_config_commands="$ac_config_commands depfiles"
32028b22bf3fSmrg
32038b22bf3fSmrg
32048b22bf3fSmrgam_make=${MAKE-make}
32058b22bf3fSmrgcat > confinc << 'END'
32068b22bf3fSmrgam__doit:
32078b22bf3fSmrg	@echo done
32088b22bf3fSmrg.PHONY: am__doit
32098b22bf3fSmrgEND
32108b22bf3fSmrg# If we don't find an include directive, just comment out the code.
32118b22bf3fSmrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
32128b22bf3fSmrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
32138b22bf3fSmrgam__include="#"
32148b22bf3fSmrgam__quote=
32158b22bf3fSmrg_am_result=none
32168b22bf3fSmrg# First try GNU make style include.
32178b22bf3fSmrgecho "include confinc" > confmf
32188b22bf3fSmrg# We grep out `Entering directory' and `Leaving directory'
32198b22bf3fSmrg# messages which can occur if `w' ends up in MAKEFLAGS.
32208b22bf3fSmrg# In particular we don't look at `^make:' because GNU make might
32218b22bf3fSmrg# be invoked under some other name (usually "gmake"), in which
32228b22bf3fSmrg# case it prints its new name instead of `make'.
32238b22bf3fSmrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
32248b22bf3fSmrg   am__include=include
32258b22bf3fSmrg   am__quote=
32268b22bf3fSmrg   _am_result=GNU
32278b22bf3fSmrgfi
32288b22bf3fSmrg# Now try BSD make style include.
32298b22bf3fSmrgif test "$am__include" = "#"; then
32308b22bf3fSmrg   echo '.include "confinc"' > confmf
32318b22bf3fSmrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
32328b22bf3fSmrg      am__include=.include
32338b22bf3fSmrg      am__quote="\""
32348b22bf3fSmrg      _am_result=BSD
32358b22bf3fSmrg   fi
32368b22bf3fSmrgfi
32378b22bf3fSmrg
32388b22bf3fSmrg
32398b22bf3fSmrg{ echo "$as_me:$LINENO: result: $_am_result" >&5
32408b22bf3fSmrgecho "${ECHO_T}$_am_result" >&6; }
32418b22bf3fSmrgrm -f confinc confmf
32428b22bf3fSmrg
32438b22bf3fSmrg# Check whether --enable-dependency-tracking was given.
32448b22bf3fSmrgif test "${enable_dependency_tracking+set}" = set; then
32458b22bf3fSmrg  enableval=$enable_dependency_tracking;
32468b22bf3fSmrgfi
32478b22bf3fSmrg
32488b22bf3fSmrgif test "x$enable_dependency_tracking" != xno; then
32498b22bf3fSmrg  am_depcomp="$ac_aux_dir/depcomp"
32508b22bf3fSmrg  AMDEPBACKSLASH='\'
32518b22bf3fSmrgfi
32528b22bf3fSmrg if test "x$enable_dependency_tracking" != xno; then
32538b22bf3fSmrg  AMDEP_TRUE=
32548b22bf3fSmrg  AMDEP_FALSE='#'
32558b22bf3fSmrgelse
32568b22bf3fSmrg  AMDEP_TRUE='#'
32578b22bf3fSmrg  AMDEP_FALSE=
32588b22bf3fSmrgfi
32598b22bf3fSmrg
32608b22bf3fSmrg
32618b22bf3fSmrg
32628b22bf3fSmrgdepcc="$CC"   am_compiler_list=
32638b22bf3fSmrg
32648b22bf3fSmrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
32658b22bf3fSmrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
32668b22bf3fSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
32678b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
32688b22bf3fSmrgelse
32698b22bf3fSmrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32708b22bf3fSmrg  # We make a subdir and do the tests there.  Otherwise we can end up
32718b22bf3fSmrg  # making bogus files that we don't know about and never remove.  For
32728b22bf3fSmrg  # instance it was reported that on HP-UX the gcc test will end up
32738b22bf3fSmrg  # making a dummy file named `D' -- because `-MD' means `put the output
32748b22bf3fSmrg  # in D'.
32758b22bf3fSmrg  mkdir conftest.dir
32768b22bf3fSmrg  # Copy depcomp to subdir because otherwise we won't find it if we're
32778b22bf3fSmrg  # using a relative directory.
32788b22bf3fSmrg  cp "$am_depcomp" conftest.dir
32798b22bf3fSmrg  cd conftest.dir
32808b22bf3fSmrg  # We will build objects and dependencies in a subdirectory because
32818b22bf3fSmrg  # it helps to detect inapplicable dependency modes.  For instance
32828b22bf3fSmrg  # both Tru64's cc and ICC support -MD to output dependencies as a
32838b22bf3fSmrg  # side effect of compilation, but ICC will put the dependencies in
32848b22bf3fSmrg  # the current directory while Tru64 will put them in the object
32858b22bf3fSmrg  # directory.
32868b22bf3fSmrg  mkdir sub
32878b22bf3fSmrg
32888b22bf3fSmrg  am_cv_CC_dependencies_compiler_type=none
32898b22bf3fSmrg  if test "$am_compiler_list" = ""; then
32908b22bf3fSmrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
32918b22bf3fSmrg  fi
32928b22bf3fSmrg  for depmode in $am_compiler_list; do
32938b22bf3fSmrg    # Setup a source with many dependencies, because some compilers
32948b22bf3fSmrg    # like to wrap large dependency lists on column 80 (with \), and
32958b22bf3fSmrg    # we should not choose a depcomp mode which is confused by this.
32968b22bf3fSmrg    #
32978b22bf3fSmrg    # We need to recreate these files for each test, as the compiler may
32988b22bf3fSmrg    # overwrite some of them when testing with obscure command lines.
32998b22bf3fSmrg    # This happens at least with the AIX C compiler.
33008b22bf3fSmrg    : > sub/conftest.c
33018b22bf3fSmrg    for i in 1 2 3 4 5 6; do
33028b22bf3fSmrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
33038b22bf3fSmrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
33048b22bf3fSmrg      # Solaris 8's {/usr,}/bin/sh.
33058b22bf3fSmrg      touch sub/conftst$i.h
33068b22bf3fSmrg    done
33078b22bf3fSmrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
33088b22bf3fSmrg
33098b22bf3fSmrg    case $depmode in
33108b22bf3fSmrg    nosideeffect)
33118b22bf3fSmrg      # after this tag, mechanisms are not by side-effect, so they'll
33128b22bf3fSmrg      # only be used when explicitly requested
33138b22bf3fSmrg      if test "x$enable_dependency_tracking" = xyes; then
33148b22bf3fSmrg	continue
33158b22bf3fSmrg      else
33168b22bf3fSmrg	break
33178b22bf3fSmrg      fi
33188b22bf3fSmrg      ;;
33198b22bf3fSmrg    none) break ;;
33208b22bf3fSmrg    esac
33218b22bf3fSmrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
33228b22bf3fSmrg    # mode.  It turns out that the SunPro C++ compiler does not properly
33238b22bf3fSmrg    # handle `-M -o', and we need to detect this.
33248b22bf3fSmrg    if depmode=$depmode \
33258b22bf3fSmrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
33268b22bf3fSmrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
33278b22bf3fSmrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
33288b22bf3fSmrg         >/dev/null 2>conftest.err &&
33298b22bf3fSmrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
33308b22bf3fSmrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
33318b22bf3fSmrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
33328b22bf3fSmrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
33338b22bf3fSmrg      # icc doesn't choke on unknown options, it will just issue warnings
33348b22bf3fSmrg      # or remarks (even with -Werror).  So we grep stderr for any message
33358b22bf3fSmrg      # that says an option was ignored or not supported.
33368b22bf3fSmrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
33378b22bf3fSmrg      #   icc: Command line warning: ignoring option '-M'; no argument required
33388b22bf3fSmrg      # The diagnosis changed in icc 8.0:
33398b22bf3fSmrg      #   icc: Command line remark: option '-MP' not supported
33408b22bf3fSmrg      if (grep 'ignoring option' conftest.err ||
33418b22bf3fSmrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
33428b22bf3fSmrg        am_cv_CC_dependencies_compiler_type=$depmode
33438b22bf3fSmrg        break
33448b22bf3fSmrg      fi
33458b22bf3fSmrg    fi
33468b22bf3fSmrg  done
33478b22bf3fSmrg
33488b22bf3fSmrg  cd ..
33498b22bf3fSmrg  rm -rf conftest.dir
33508b22bf3fSmrgelse
33518b22bf3fSmrg  am_cv_CC_dependencies_compiler_type=none
33528b22bf3fSmrgfi
33538b22bf3fSmrg
33548b22bf3fSmrgfi
33558b22bf3fSmrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
33568b22bf3fSmrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
33578b22bf3fSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
33588b22bf3fSmrg
33598b22bf3fSmrg if
33608b22bf3fSmrg  test "x$enable_dependency_tracking" != xno \
33618b22bf3fSmrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
33628b22bf3fSmrg  am__fastdepCC_TRUE=
33638b22bf3fSmrg  am__fastdepCC_FALSE='#'
33648b22bf3fSmrgelse
33658b22bf3fSmrg  am__fastdepCC_TRUE='#'
33668b22bf3fSmrg  am__fastdepCC_FALSE=
33678b22bf3fSmrgfi
33688b22bf3fSmrg
33698b22bf3fSmrg
33708b22bf3fSmrg# Find a good install program.  We prefer a C program (faster),
33718b22bf3fSmrg# so one script is as good as another.  But avoid the broken or
33728b22bf3fSmrg# incompatible versions:
33738b22bf3fSmrg# SysV /etc/install, /usr/sbin/install
33748b22bf3fSmrg# SunOS /usr/etc/install
33758b22bf3fSmrg# IRIX /sbin/install
33768b22bf3fSmrg# AIX /bin/install
33778b22bf3fSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
33788b22bf3fSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33798b22bf3fSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33808b22bf3fSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33818b22bf3fSmrg# OS/2's system install, which has a completely different semantic
33828b22bf3fSmrg# ./install, which can be erroneously created by make from ./install.sh.
33838b22bf3fSmrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33848b22bf3fSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
33858b22bf3fSmrgif test -z "$INSTALL"; then
33868b22bf3fSmrgif test "${ac_cv_path_install+set}" = set; then
33878b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
33888b22bf3fSmrgelse
33898b22bf3fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33908b22bf3fSmrgfor as_dir in $PATH
33918b22bf3fSmrgdo
33928b22bf3fSmrg  IFS=$as_save_IFS
33938b22bf3fSmrg  test -z "$as_dir" && as_dir=.
33948b22bf3fSmrg  # Account for people who put trailing slashes in PATH elements.
33958b22bf3fSmrgcase $as_dir/ in
33968b22bf3fSmrg  ./ | .// | /cC/* | \
33978b22bf3fSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33988b22bf3fSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
33998b22bf3fSmrg  /usr/ucb/* ) ;;
34008b22bf3fSmrg  *)
34018b22bf3fSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
34028b22bf3fSmrg    # Don't use installbsd from OSF since it installs stuff as root
34038b22bf3fSmrg    # by default.
34048b22bf3fSmrg    for ac_prog in ginstall scoinst install; do
34058b22bf3fSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
34068b22bf3fSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
34078b22bf3fSmrg	  if test $ac_prog = install &&
34088b22bf3fSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34098b22bf3fSmrg	    # AIX install.  It has an incompatible calling convention.
34108b22bf3fSmrg	    :
34118b22bf3fSmrg	  elif test $ac_prog = install &&
34128b22bf3fSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34138b22bf3fSmrg	    # program-specific install script used by HP pwplus--don't use.
34148b22bf3fSmrg	    :
34158b22bf3fSmrg	  else
34168b22bf3fSmrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34178b22bf3fSmrg	    break 3
34188b22bf3fSmrg	  fi
34198b22bf3fSmrg	fi
34208b22bf3fSmrg      done
34218b22bf3fSmrg    done
34228b22bf3fSmrg    ;;
34238b22bf3fSmrgesac
34248b22bf3fSmrgdone
34258b22bf3fSmrgIFS=$as_save_IFS
34268b22bf3fSmrg
34278b22bf3fSmrg
34288b22bf3fSmrgfi
34298b22bf3fSmrg  if test "${ac_cv_path_install+set}" = set; then
34308b22bf3fSmrg    INSTALL=$ac_cv_path_install
34318b22bf3fSmrg  else
34328b22bf3fSmrg    # As a last resort, use the slow shell script.  Don't cache a
34338b22bf3fSmrg    # value for INSTALL within a source directory, because that will
34348b22bf3fSmrg    # break other packages using the cache if that directory is
34358b22bf3fSmrg    # removed, or if the value is a relative name.
34368b22bf3fSmrg    INSTALL=$ac_install_sh
34378b22bf3fSmrg  fi
34388b22bf3fSmrgfi
34398b22bf3fSmrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
34408b22bf3fSmrgecho "${ECHO_T}$INSTALL" >&6; }
34418b22bf3fSmrg
34428b22bf3fSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34438b22bf3fSmrg# It thinks the first close brace ends the variable substitution.
34448b22bf3fSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34458b22bf3fSmrg
34468b22bf3fSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34478b22bf3fSmrg
34488b22bf3fSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34498b22bf3fSmrg
34508b22bf3fSmrg
34518b22bf3fSmrg
34528b22bf3fSmrg{ echo "$as_me:$LINENO: checking for mkstemp" >&5
34538b22bf3fSmrgecho $ECHO_N "checking for mkstemp... $ECHO_C" >&6; }
34548b22bf3fSmrgif test "${ac_cv_func_mkstemp+set}" = set; then
34558b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
34568b22bf3fSmrgelse
34578b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
34588b22bf3fSmrg/* confdefs.h.  */
34598b22bf3fSmrg_ACEOF
34608b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
34618b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
34628b22bf3fSmrg/* end confdefs.h.  */
34638b22bf3fSmrg/* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
34648b22bf3fSmrg   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34658b22bf3fSmrg#define mkstemp innocuous_mkstemp
34668b22bf3fSmrg
34678b22bf3fSmrg/* System header to define __stub macros and hopefully few prototypes,
34688b22bf3fSmrg    which can conflict with char mkstemp (); below.
34698b22bf3fSmrg    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34708b22bf3fSmrg    <limits.h> exists even on freestanding compilers.  */
34718b22bf3fSmrg
34728b22bf3fSmrg#ifdef __STDC__
34738b22bf3fSmrg# include <limits.h>
34748b22bf3fSmrg#else
34758b22bf3fSmrg# include <assert.h>
34768b22bf3fSmrg#endif
34778b22bf3fSmrg
34788b22bf3fSmrg#undef mkstemp
34798b22bf3fSmrg
34808b22bf3fSmrg/* Override any GCC internal prototype to avoid an error.
34818b22bf3fSmrg   Use char because int might match the return type of a GCC
34828b22bf3fSmrg   builtin and then its argument prototype would still apply.  */
34838b22bf3fSmrg#ifdef __cplusplus
34848b22bf3fSmrgextern "C"
34858b22bf3fSmrg#endif
34868b22bf3fSmrgchar mkstemp ();
34878b22bf3fSmrg/* The GNU C library defines this for functions which it implements
34888b22bf3fSmrg    to always fail with ENOSYS.  Some functions are actually named
34898b22bf3fSmrg    something starting with __ and the normal name is an alias.  */
34908b22bf3fSmrg#if defined __stub_mkstemp || defined __stub___mkstemp
34918b22bf3fSmrgchoke me
34928b22bf3fSmrg#endif
34938b22bf3fSmrg
34948b22bf3fSmrgint
34958b22bf3fSmrgmain ()
34968b22bf3fSmrg{
34978b22bf3fSmrgreturn mkstemp ();
34988b22bf3fSmrg  ;
34998b22bf3fSmrg  return 0;
35008b22bf3fSmrg}
35018b22bf3fSmrg_ACEOF
35028b22bf3fSmrgrm -f conftest.$ac_objext conftest$ac_exeext
35038b22bf3fSmrgif { (ac_try="$ac_link"
35048b22bf3fSmrgcase "(($ac_try" in
35058b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35068b22bf3fSmrg  *) ac_try_echo=$ac_try;;
35078b22bf3fSmrgesac
35088b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35098b22bf3fSmrg  (eval "$ac_link") 2>conftest.er1
35108b22bf3fSmrg  ac_status=$?
35118b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
35128b22bf3fSmrg  rm -f conftest.er1
35138b22bf3fSmrg  cat conftest.err >&5
35148b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158b22bf3fSmrg  (exit $ac_status); } && {
35168b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
35178b22bf3fSmrg	 test ! -s conftest.err
35188b22bf3fSmrg       } && test -s conftest$ac_exeext &&
35198b22bf3fSmrg       $as_test_x conftest$ac_exeext; then
35208b22bf3fSmrg  ac_cv_func_mkstemp=yes
35218b22bf3fSmrgelse
35228b22bf3fSmrg  echo "$as_me: failed program was:" >&5
35238b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
35248b22bf3fSmrg
35258b22bf3fSmrg	ac_cv_func_mkstemp=no
35268b22bf3fSmrgfi
35278b22bf3fSmrg
35288b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35298b22bf3fSmrg      conftest$ac_exeext conftest.$ac_ext
35308b22bf3fSmrgfi
35318b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
35328b22bf3fSmrgecho "${ECHO_T}$ac_cv_func_mkstemp" >&6; }
35338b22bf3fSmrgif test $ac_cv_func_mkstemp = yes; then
35348b22bf3fSmrg
35358b22bf3fSmrgcat >>confdefs.h <<\_ACEOF
35368b22bf3fSmrg#define HAS_MKSTEMP 1
35378b22bf3fSmrg_ACEOF
35388b22bf3fSmrg
35398b22bf3fSmrgfi
35408b22bf3fSmrg
35418b22bf3fSmrg
35428b22bf3fSmrg# Find MAXHOSTNAMELEN definition
35438b22bf3fSmrg# Common hidey holes:
35448b22bf3fSmrg#  BSD & Linux - <sys/param.h>
35458b22bf3fSmrg#  Solaris - <netdb.h>
35468b22bf3fSmrg
35478b22bf3fSmrgac_ext=c
35488b22bf3fSmrgac_cpp='$CPP $CPPFLAGS'
35498b22bf3fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35508b22bf3fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518b22bf3fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
35528b22bf3fSmrg{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
35538b22bf3fSmrgecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
35548b22bf3fSmrg# On Suns, sometimes $CPP names a directory.
35558b22bf3fSmrgif test -n "$CPP" && test -d "$CPP"; then
35568b22bf3fSmrg  CPP=
35578b22bf3fSmrgfi
35588b22bf3fSmrgif test -z "$CPP"; then
35598b22bf3fSmrg  if test "${ac_cv_prog_CPP+set}" = set; then
35608b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
35618b22bf3fSmrgelse
35628b22bf3fSmrg      # Double quotes because CPP needs to be expanded
35638b22bf3fSmrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
35648b22bf3fSmrg    do
35658b22bf3fSmrg      ac_preproc_ok=false
35668b22bf3fSmrgfor ac_c_preproc_warn_flag in '' yes
35678b22bf3fSmrgdo
35688b22bf3fSmrg  # Use a header file that comes with gcc, so configuring glibc
35698b22bf3fSmrg  # with a fresh cross-compiler works.
35708b22bf3fSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35718b22bf3fSmrg  # <limits.h> exists even on freestanding compilers.
35728b22bf3fSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
35738b22bf3fSmrg  # not just through cpp. "Syntax error" is here to catch this case.
35748b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
35758b22bf3fSmrg/* confdefs.h.  */
35768b22bf3fSmrg_ACEOF
35778b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
35788b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
35798b22bf3fSmrg/* end confdefs.h.  */
35808b22bf3fSmrg#ifdef __STDC__
35818b22bf3fSmrg# include <limits.h>
35828b22bf3fSmrg#else
35838b22bf3fSmrg# include <assert.h>
35848b22bf3fSmrg#endif
35858b22bf3fSmrg		     Syntax error
35868b22bf3fSmrg_ACEOF
35878b22bf3fSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
35888b22bf3fSmrgcase "(($ac_try" in
35898b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35908b22bf3fSmrg  *) ac_try_echo=$ac_try;;
35918b22bf3fSmrgesac
35928b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35938b22bf3fSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35948b22bf3fSmrg  ac_status=$?
35958b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
35968b22bf3fSmrg  rm -f conftest.er1
35978b22bf3fSmrg  cat conftest.err >&5
35988b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35998b22bf3fSmrg  (exit $ac_status); } >/dev/null && {
36008b22bf3fSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36018b22bf3fSmrg	 test ! -s conftest.err
36028b22bf3fSmrg       }; then
36038b22bf3fSmrg  :
36048b22bf3fSmrgelse
36058b22bf3fSmrg  echo "$as_me: failed program was:" >&5
36068b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
36078b22bf3fSmrg
36088b22bf3fSmrg  # Broken: fails on valid input.
36098b22bf3fSmrgcontinue
36108b22bf3fSmrgfi
36118b22bf3fSmrg
36128b22bf3fSmrgrm -f conftest.err conftest.$ac_ext
36138b22bf3fSmrg
36148b22bf3fSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
36158b22bf3fSmrg  # can be detected and how.
36168b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
36178b22bf3fSmrg/* confdefs.h.  */
36188b22bf3fSmrg_ACEOF
36198b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
36208b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
36218b22bf3fSmrg/* end confdefs.h.  */
36228b22bf3fSmrg#include <ac_nonexistent.h>
36238b22bf3fSmrg_ACEOF
36248b22bf3fSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
36258b22bf3fSmrgcase "(($ac_try" in
36268b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36278b22bf3fSmrg  *) ac_try_echo=$ac_try;;
36288b22bf3fSmrgesac
36298b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36308b22bf3fSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36318b22bf3fSmrg  ac_status=$?
36328b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
36338b22bf3fSmrg  rm -f conftest.er1
36348b22bf3fSmrg  cat conftest.err >&5
36358b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368b22bf3fSmrg  (exit $ac_status); } >/dev/null && {
36378b22bf3fSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36388b22bf3fSmrg	 test ! -s conftest.err
36398b22bf3fSmrg       }; then
36408b22bf3fSmrg  # Broken: success on invalid input.
36418b22bf3fSmrgcontinue
36428b22bf3fSmrgelse
36438b22bf3fSmrg  echo "$as_me: failed program was:" >&5
36448b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
36458b22bf3fSmrg
36468b22bf3fSmrg  # Passes both tests.
36478b22bf3fSmrgac_preproc_ok=:
36488b22bf3fSmrgbreak
36498b22bf3fSmrgfi
36508b22bf3fSmrg
36518b22bf3fSmrgrm -f conftest.err conftest.$ac_ext
36528b22bf3fSmrg
36538b22bf3fSmrgdone
36548b22bf3fSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
36558b22bf3fSmrgrm -f conftest.err conftest.$ac_ext
36568b22bf3fSmrgif $ac_preproc_ok; then
36578b22bf3fSmrg  break
36588b22bf3fSmrgfi
36598b22bf3fSmrg
36608b22bf3fSmrg    done
36618b22bf3fSmrg    ac_cv_prog_CPP=$CPP
36628b22bf3fSmrg
36638b22bf3fSmrgfi
36648b22bf3fSmrg  CPP=$ac_cv_prog_CPP
36658b22bf3fSmrgelse
36668b22bf3fSmrg  ac_cv_prog_CPP=$CPP
36678b22bf3fSmrgfi
36688b22bf3fSmrg{ echo "$as_me:$LINENO: result: $CPP" >&5
36698b22bf3fSmrgecho "${ECHO_T}$CPP" >&6; }
36708b22bf3fSmrgac_preproc_ok=false
36718b22bf3fSmrgfor ac_c_preproc_warn_flag in '' yes
36728b22bf3fSmrgdo
36738b22bf3fSmrg  # Use a header file that comes with gcc, so configuring glibc
36748b22bf3fSmrg  # with a fresh cross-compiler works.
36758b22bf3fSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36768b22bf3fSmrg  # <limits.h> exists even on freestanding compilers.
36778b22bf3fSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
36788b22bf3fSmrg  # not just through cpp. "Syntax error" is here to catch this case.
36798b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
36808b22bf3fSmrg/* confdefs.h.  */
36818b22bf3fSmrg_ACEOF
36828b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
36838b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
36848b22bf3fSmrg/* end confdefs.h.  */
36858b22bf3fSmrg#ifdef __STDC__
36868b22bf3fSmrg# include <limits.h>
36878b22bf3fSmrg#else
36888b22bf3fSmrg# include <assert.h>
36898b22bf3fSmrg#endif
36908b22bf3fSmrg		     Syntax error
36918b22bf3fSmrg_ACEOF
36928b22bf3fSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
36938b22bf3fSmrgcase "(($ac_try" in
36948b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36958b22bf3fSmrg  *) ac_try_echo=$ac_try;;
36968b22bf3fSmrgesac
36978b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36988b22bf3fSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36998b22bf3fSmrg  ac_status=$?
37008b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
37018b22bf3fSmrg  rm -f conftest.er1
37028b22bf3fSmrg  cat conftest.err >&5
37038b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048b22bf3fSmrg  (exit $ac_status); } >/dev/null && {
37058b22bf3fSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37068b22bf3fSmrg	 test ! -s conftest.err
37078b22bf3fSmrg       }; then
37088b22bf3fSmrg  :
37098b22bf3fSmrgelse
37108b22bf3fSmrg  echo "$as_me: failed program was:" >&5
37118b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
37128b22bf3fSmrg
37138b22bf3fSmrg  # Broken: fails on valid input.
37148b22bf3fSmrgcontinue
37158b22bf3fSmrgfi
37168b22bf3fSmrg
37178b22bf3fSmrgrm -f conftest.err conftest.$ac_ext
37188b22bf3fSmrg
37198b22bf3fSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
37208b22bf3fSmrg  # can be detected and how.
37218b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
37228b22bf3fSmrg/* confdefs.h.  */
37238b22bf3fSmrg_ACEOF
37248b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
37258b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
37268b22bf3fSmrg/* end confdefs.h.  */
37278b22bf3fSmrg#include <ac_nonexistent.h>
37288b22bf3fSmrg_ACEOF
37298b22bf3fSmrgif { (ac_try="$ac_cpp conftest.$ac_ext"
37308b22bf3fSmrgcase "(($ac_try" in
37318b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37328b22bf3fSmrg  *) ac_try_echo=$ac_try;;
37338b22bf3fSmrgesac
37348b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37358b22bf3fSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37368b22bf3fSmrg  ac_status=$?
37378b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
37388b22bf3fSmrg  rm -f conftest.er1
37398b22bf3fSmrg  cat conftest.err >&5
37408b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418b22bf3fSmrg  (exit $ac_status); } >/dev/null && {
37428b22bf3fSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37438b22bf3fSmrg	 test ! -s conftest.err
37448b22bf3fSmrg       }; then
37458b22bf3fSmrg  # Broken: success on invalid input.
37468b22bf3fSmrgcontinue
37478b22bf3fSmrgelse
37488b22bf3fSmrg  echo "$as_me: failed program was:" >&5
37498b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
37508b22bf3fSmrg
37518b22bf3fSmrg  # Passes both tests.
37528b22bf3fSmrgac_preproc_ok=:
37538b22bf3fSmrgbreak
37548b22bf3fSmrgfi
37558b22bf3fSmrg
37568b22bf3fSmrgrm -f conftest.err conftest.$ac_ext
37578b22bf3fSmrg
37588b22bf3fSmrgdone
37598b22bf3fSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
37608b22bf3fSmrgrm -f conftest.err conftest.$ac_ext
37618b22bf3fSmrgif $ac_preproc_ok; then
37628b22bf3fSmrg  :
37638b22bf3fSmrgelse
37648b22bf3fSmrg  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
37658b22bf3fSmrgSee \`config.log' for more details." >&5
37668b22bf3fSmrgecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check
37678b22bf3fSmrgSee \`config.log' for more details." >&2;}
37688b22bf3fSmrg   { (exit 1); exit 1; }; }
37698b22bf3fSmrgfi
37708b22bf3fSmrg
37718b22bf3fSmrgac_ext=c
37728b22bf3fSmrgac_cpp='$CPP $CPPFLAGS'
37738b22bf3fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748b22bf3fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758b22bf3fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
37768b22bf3fSmrg
37778b22bf3fSmrg
37788b22bf3fSmrg{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
37798b22bf3fSmrgecho $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
37808b22bf3fSmrgif test "${ac_cv_path_GREP+set}" = set; then
37818b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
37828b22bf3fSmrgelse
37838b22bf3fSmrg  # Extract the first word of "grep ggrep" to use in msg output
37848b22bf3fSmrgif test -z "$GREP"; then
37858b22bf3fSmrgset dummy grep ggrep; ac_prog_name=$2
37868b22bf3fSmrgif test "${ac_cv_path_GREP+set}" = set; then
37878b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
37888b22bf3fSmrgelse
37898b22bf3fSmrg  ac_path_GREP_found=false
37908b22bf3fSmrg# Loop through the user's path and test for each of PROGNAME-LIST
37918b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37928b22bf3fSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
37938b22bf3fSmrgdo
37948b22bf3fSmrg  IFS=$as_save_IFS
37958b22bf3fSmrg  test -z "$as_dir" && as_dir=.
37968b22bf3fSmrg  for ac_prog in grep ggrep; do
37978b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
37988b22bf3fSmrg    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
37998b22bf3fSmrg    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
38008b22bf3fSmrg    # Check for GNU ac_path_GREP and select it if it is found.
38018b22bf3fSmrg  # Check for GNU $ac_path_GREP
38028b22bf3fSmrgcase `"$ac_path_GREP" --version 2>&1` in
38038b22bf3fSmrg*GNU*)
38048b22bf3fSmrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
38058b22bf3fSmrg*)
38068b22bf3fSmrg  ac_count=0
38078b22bf3fSmrg  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
38088b22bf3fSmrg  while :
38098b22bf3fSmrg  do
38108b22bf3fSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
38118b22bf3fSmrg    mv "conftest.tmp" "conftest.in"
38128b22bf3fSmrg    cp "conftest.in" "conftest.nl"
38138b22bf3fSmrg    echo 'GREP' >> "conftest.nl"
38148b22bf3fSmrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
38158b22bf3fSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
38168b22bf3fSmrg    ac_count=`expr $ac_count + 1`
38178b22bf3fSmrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
38188b22bf3fSmrg      # Best one so far, save it but keep looking for a better one
38198b22bf3fSmrg      ac_cv_path_GREP="$ac_path_GREP"
38208b22bf3fSmrg      ac_path_GREP_max=$ac_count
38218b22bf3fSmrg    fi
38228b22bf3fSmrg    # 10*(2^10) chars as input seems more than enough
38238b22bf3fSmrg    test $ac_count -gt 10 && break
38248b22bf3fSmrg  done
38258b22bf3fSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
38268b22bf3fSmrgesac
38278b22bf3fSmrg
38288b22bf3fSmrg
38298b22bf3fSmrg    $ac_path_GREP_found && break 3
38308b22bf3fSmrg  done
38318b22bf3fSmrgdone
38328b22bf3fSmrg
38338b22bf3fSmrgdone
38348b22bf3fSmrgIFS=$as_save_IFS
38358b22bf3fSmrg
38368b22bf3fSmrg
38378b22bf3fSmrgfi
38388b22bf3fSmrg
38398b22bf3fSmrgGREP="$ac_cv_path_GREP"
38408b22bf3fSmrgif test -z "$GREP"; then
38418b22bf3fSmrg  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
38428b22bf3fSmrgecho "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
38438b22bf3fSmrg   { (exit 1); exit 1; }; }
38448b22bf3fSmrgfi
38458b22bf3fSmrg
38468b22bf3fSmrgelse
38478b22bf3fSmrg  ac_cv_path_GREP=$GREP
38488b22bf3fSmrgfi
38498b22bf3fSmrg
38508b22bf3fSmrg
38518b22bf3fSmrgfi
38528b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
38538b22bf3fSmrgecho "${ECHO_T}$ac_cv_path_GREP" >&6; }
38548b22bf3fSmrg GREP="$ac_cv_path_GREP"
38558b22bf3fSmrg
38568b22bf3fSmrg
38578b22bf3fSmrg{ echo "$as_me:$LINENO: checking for egrep" >&5
38588b22bf3fSmrgecho $ECHO_N "checking for egrep... $ECHO_C" >&6; }
38598b22bf3fSmrgif test "${ac_cv_path_EGREP+set}" = set; then
38608b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
38618b22bf3fSmrgelse
38628b22bf3fSmrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
38638b22bf3fSmrg   then ac_cv_path_EGREP="$GREP -E"
38648b22bf3fSmrg   else
38658b22bf3fSmrg     # Extract the first word of "egrep" to use in msg output
38668b22bf3fSmrgif test -z "$EGREP"; then
38678b22bf3fSmrgset dummy egrep; ac_prog_name=$2
38688b22bf3fSmrgif test "${ac_cv_path_EGREP+set}" = set; then
38698b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
38708b22bf3fSmrgelse
38718b22bf3fSmrg  ac_path_EGREP_found=false
38728b22bf3fSmrg# Loop through the user's path and test for each of PROGNAME-LIST
38738b22bf3fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38748b22bf3fSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
38758b22bf3fSmrgdo
38768b22bf3fSmrg  IFS=$as_save_IFS
38778b22bf3fSmrg  test -z "$as_dir" && as_dir=.
38788b22bf3fSmrg  for ac_prog in egrep; do
38798b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
38808b22bf3fSmrg    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
38818b22bf3fSmrg    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
38828b22bf3fSmrg    # Check for GNU ac_path_EGREP and select it if it is found.
38838b22bf3fSmrg  # Check for GNU $ac_path_EGREP
38848b22bf3fSmrgcase `"$ac_path_EGREP" --version 2>&1` in
38858b22bf3fSmrg*GNU*)
38868b22bf3fSmrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
38878b22bf3fSmrg*)
38888b22bf3fSmrg  ac_count=0
38898b22bf3fSmrg  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
38908b22bf3fSmrg  while :
38918b22bf3fSmrg  do
38928b22bf3fSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
38938b22bf3fSmrg    mv "conftest.tmp" "conftest.in"
38948b22bf3fSmrg    cp "conftest.in" "conftest.nl"
38958b22bf3fSmrg    echo 'EGREP' >> "conftest.nl"
38968b22bf3fSmrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
38978b22bf3fSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
38988b22bf3fSmrg    ac_count=`expr $ac_count + 1`
38998b22bf3fSmrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
39008b22bf3fSmrg      # Best one so far, save it but keep looking for a better one
39018b22bf3fSmrg      ac_cv_path_EGREP="$ac_path_EGREP"
39028b22bf3fSmrg      ac_path_EGREP_max=$ac_count
39038b22bf3fSmrg    fi
39048b22bf3fSmrg    # 10*(2^10) chars as input seems more than enough
39058b22bf3fSmrg    test $ac_count -gt 10 && break
39068b22bf3fSmrg  done
39078b22bf3fSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
39088b22bf3fSmrgesac
39098b22bf3fSmrg
39108b22bf3fSmrg
39118b22bf3fSmrg    $ac_path_EGREP_found && break 3
39128b22bf3fSmrg  done
39138b22bf3fSmrgdone
39148b22bf3fSmrg
39158b22bf3fSmrgdone
39168b22bf3fSmrgIFS=$as_save_IFS
39178b22bf3fSmrg
39188b22bf3fSmrg
39198b22bf3fSmrgfi
39208b22bf3fSmrg
39218b22bf3fSmrgEGREP="$ac_cv_path_EGREP"
39228b22bf3fSmrgif test -z "$EGREP"; then
39238b22bf3fSmrg  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
39248b22bf3fSmrgecho "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
39258b22bf3fSmrg   { (exit 1); exit 1; }; }
39268b22bf3fSmrgfi
39278b22bf3fSmrg
39288b22bf3fSmrgelse
39298b22bf3fSmrg  ac_cv_path_EGREP=$EGREP
39308b22bf3fSmrgfi
39318b22bf3fSmrg
39328b22bf3fSmrg
39338b22bf3fSmrg   fi
39348b22bf3fSmrgfi
39358b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
39368b22bf3fSmrgecho "${ECHO_T}$ac_cv_path_EGREP" >&6; }
39378b22bf3fSmrg EGREP="$ac_cv_path_EGREP"
39388b22bf3fSmrg
39398b22bf3fSmrg
39408b22bf3fSmrg{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
39418b22bf3fSmrgecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
39428b22bf3fSmrgif test "${ac_cv_header_stdc+set}" = set; then
39438b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
39448b22bf3fSmrgelse
39458b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
39468b22bf3fSmrg/* confdefs.h.  */
39478b22bf3fSmrg_ACEOF
39488b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
39498b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
39508b22bf3fSmrg/* end confdefs.h.  */
39518b22bf3fSmrg#include <stdlib.h>
39528b22bf3fSmrg#include <stdarg.h>
39538b22bf3fSmrg#include <string.h>
39548b22bf3fSmrg#include <float.h>
39558b22bf3fSmrg
39568b22bf3fSmrgint
39578b22bf3fSmrgmain ()
39588b22bf3fSmrg{
39598b22bf3fSmrg
39608b22bf3fSmrg  ;
39618b22bf3fSmrg  return 0;
39628b22bf3fSmrg}
39638b22bf3fSmrg_ACEOF
39648b22bf3fSmrgrm -f conftest.$ac_objext
39658b22bf3fSmrgif { (ac_try="$ac_compile"
39668b22bf3fSmrgcase "(($ac_try" in
39678b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39688b22bf3fSmrg  *) ac_try_echo=$ac_try;;
39698b22bf3fSmrgesac
39708b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39718b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
39728b22bf3fSmrg  ac_status=$?
39738b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
39748b22bf3fSmrg  rm -f conftest.er1
39758b22bf3fSmrg  cat conftest.err >&5
39768b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778b22bf3fSmrg  (exit $ac_status); } && {
39788b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
39798b22bf3fSmrg	 test ! -s conftest.err
39808b22bf3fSmrg       } && test -s conftest.$ac_objext; then
39818b22bf3fSmrg  ac_cv_header_stdc=yes
39828b22bf3fSmrgelse
39838b22bf3fSmrg  echo "$as_me: failed program was:" >&5
39848b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
39858b22bf3fSmrg
39868b22bf3fSmrg	ac_cv_header_stdc=no
39878b22bf3fSmrgfi
39888b22bf3fSmrg
39898b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39908b22bf3fSmrg
39918b22bf3fSmrgif test $ac_cv_header_stdc = yes; then
39928b22bf3fSmrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
39938b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
39948b22bf3fSmrg/* confdefs.h.  */
39958b22bf3fSmrg_ACEOF
39968b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
39978b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
39988b22bf3fSmrg/* end confdefs.h.  */
39998b22bf3fSmrg#include <string.h>
40008b22bf3fSmrg
40018b22bf3fSmrg_ACEOF
40028b22bf3fSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40038b22bf3fSmrg  $EGREP "memchr" >/dev/null 2>&1; then
40048b22bf3fSmrg  :
40058b22bf3fSmrgelse
40068b22bf3fSmrg  ac_cv_header_stdc=no
40078b22bf3fSmrgfi
40088b22bf3fSmrgrm -f conftest*
40098b22bf3fSmrg
40108b22bf3fSmrgfi
40118b22bf3fSmrg
40128b22bf3fSmrgif test $ac_cv_header_stdc = yes; then
40138b22bf3fSmrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40148b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
40158b22bf3fSmrg/* confdefs.h.  */
40168b22bf3fSmrg_ACEOF
40178b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
40188b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
40198b22bf3fSmrg/* end confdefs.h.  */
40208b22bf3fSmrg#include <stdlib.h>
40218b22bf3fSmrg
40228b22bf3fSmrg_ACEOF
40238b22bf3fSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
40248b22bf3fSmrg  $EGREP "free" >/dev/null 2>&1; then
40258b22bf3fSmrg  :
40268b22bf3fSmrgelse
40278b22bf3fSmrg  ac_cv_header_stdc=no
40288b22bf3fSmrgfi
40298b22bf3fSmrgrm -f conftest*
40308b22bf3fSmrg
40318b22bf3fSmrgfi
40328b22bf3fSmrg
40338b22bf3fSmrgif test $ac_cv_header_stdc = yes; then
40348b22bf3fSmrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
40358b22bf3fSmrg  if test "$cross_compiling" = yes; then
40368b22bf3fSmrg  :
40378b22bf3fSmrgelse
40388b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
40398b22bf3fSmrg/* confdefs.h.  */
40408b22bf3fSmrg_ACEOF
40418b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
40428b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
40438b22bf3fSmrg/* end confdefs.h.  */
40448b22bf3fSmrg#include <ctype.h>
40458b22bf3fSmrg#include <stdlib.h>
40468b22bf3fSmrg#if ((' ' & 0x0FF) == 0x020)
40478b22bf3fSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
40488b22bf3fSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
40498b22bf3fSmrg#else
40508b22bf3fSmrg# define ISLOWER(c) \
40518b22bf3fSmrg		   (('a' <= (c) && (c) <= 'i') \
40528b22bf3fSmrg		     || ('j' <= (c) && (c) <= 'r') \
40538b22bf3fSmrg		     || ('s' <= (c) && (c) <= 'z'))
40548b22bf3fSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
40558b22bf3fSmrg#endif
40568b22bf3fSmrg
40578b22bf3fSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
40588b22bf3fSmrgint
40598b22bf3fSmrgmain ()
40608b22bf3fSmrg{
40618b22bf3fSmrg  int i;
40628b22bf3fSmrg  for (i = 0; i < 256; i++)
40638b22bf3fSmrg    if (XOR (islower (i), ISLOWER (i))
40648b22bf3fSmrg	|| toupper (i) != TOUPPER (i))
40658b22bf3fSmrg      return 2;
40668b22bf3fSmrg  return 0;
40678b22bf3fSmrg}
40688b22bf3fSmrg_ACEOF
40698b22bf3fSmrgrm -f conftest$ac_exeext
40708b22bf3fSmrgif { (ac_try="$ac_link"
40718b22bf3fSmrgcase "(($ac_try" in
40728b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40738b22bf3fSmrg  *) ac_try_echo=$ac_try;;
40748b22bf3fSmrgesac
40758b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40768b22bf3fSmrg  (eval "$ac_link") 2>&5
40778b22bf3fSmrg  ac_status=$?
40788b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40798b22bf3fSmrg  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40808b22bf3fSmrg  { (case "(($ac_try" in
40818b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40828b22bf3fSmrg  *) ac_try_echo=$ac_try;;
40838b22bf3fSmrgesac
40848b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40858b22bf3fSmrg  (eval "$ac_try") 2>&5
40868b22bf3fSmrg  ac_status=$?
40878b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888b22bf3fSmrg  (exit $ac_status); }; }; then
40898b22bf3fSmrg  :
40908b22bf3fSmrgelse
40918b22bf3fSmrg  echo "$as_me: program exited with status $ac_status" >&5
40928b22bf3fSmrgecho "$as_me: failed program was:" >&5
40938b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
40948b22bf3fSmrg
40958b22bf3fSmrg( exit $ac_status )
40968b22bf3fSmrgac_cv_header_stdc=no
40978b22bf3fSmrgfi
40988b22bf3fSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40998b22bf3fSmrgfi
41008b22bf3fSmrg
41018b22bf3fSmrg
41028b22bf3fSmrgfi
41038b22bf3fSmrgfi
41048b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
41058b22bf3fSmrgecho "${ECHO_T}$ac_cv_header_stdc" >&6; }
41068b22bf3fSmrgif test $ac_cv_header_stdc = yes; then
41078b22bf3fSmrg
41088b22bf3fSmrgcat >>confdefs.h <<\_ACEOF
41098b22bf3fSmrg#define STDC_HEADERS 1
41108b22bf3fSmrg_ACEOF
41118b22bf3fSmrg
41128b22bf3fSmrgfi
41138b22bf3fSmrg
41148b22bf3fSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
41158b22bf3fSmrg
41168b22bf3fSmrg
41178b22bf3fSmrg
41188b22bf3fSmrg
41198b22bf3fSmrg
41208b22bf3fSmrg
41218b22bf3fSmrg
41228b22bf3fSmrg
41238b22bf3fSmrg
41248b22bf3fSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
41258b22bf3fSmrg		  inttypes.h stdint.h unistd.h
41268b22bf3fSmrgdo
41278b22bf3fSmrgas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41288b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_header" >&5
41298b22bf3fSmrgecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41308b22bf3fSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41318b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
41328b22bf3fSmrgelse
41338b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
41348b22bf3fSmrg/* confdefs.h.  */
41358b22bf3fSmrg_ACEOF
41368b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
41378b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
41388b22bf3fSmrg/* end confdefs.h.  */
41398b22bf3fSmrg$ac_includes_default
41408b22bf3fSmrg
41418b22bf3fSmrg#include <$ac_header>
41428b22bf3fSmrg_ACEOF
41438b22bf3fSmrgrm -f conftest.$ac_objext
41448b22bf3fSmrgif { (ac_try="$ac_compile"
41458b22bf3fSmrgcase "(($ac_try" in
41468b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41478b22bf3fSmrg  *) ac_try_echo=$ac_try;;
41488b22bf3fSmrgesac
41498b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41508b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
41518b22bf3fSmrg  ac_status=$?
41528b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
41538b22bf3fSmrg  rm -f conftest.er1
41548b22bf3fSmrg  cat conftest.err >&5
41558b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568b22bf3fSmrg  (exit $ac_status); } && {
41578b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
41588b22bf3fSmrg	 test ! -s conftest.err
41598b22bf3fSmrg       } && test -s conftest.$ac_objext; then
41608b22bf3fSmrg  eval "$as_ac_Header=yes"
41618b22bf3fSmrgelse
41628b22bf3fSmrg  echo "$as_me: failed program was:" >&5
41638b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
41648b22bf3fSmrg
41658b22bf3fSmrg	eval "$as_ac_Header=no"
41668b22bf3fSmrgfi
41678b22bf3fSmrg
41688b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41698b22bf3fSmrgfi
41708b22bf3fSmrgac_res=`eval echo '${'$as_ac_Header'}'`
41718b22bf3fSmrg	       { echo "$as_me:$LINENO: result: $ac_res" >&5
41728b22bf3fSmrgecho "${ECHO_T}$ac_res" >&6; }
41738b22bf3fSmrgif test `eval echo '${'$as_ac_Header'}'` = yes; then
41748b22bf3fSmrg  cat >>confdefs.h <<_ACEOF
41758b22bf3fSmrg#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41768b22bf3fSmrg_ACEOF
41778b22bf3fSmrg
41788b22bf3fSmrgfi
41798b22bf3fSmrg
41808b22bf3fSmrgdone
41818b22bf3fSmrg
41828b22bf3fSmrg
41838b22bf3fSmrg{ echo "$as_me:$LINENO: checking whether MAXHOSTNAMELEN is declared" >&5
41848b22bf3fSmrgecho $ECHO_N "checking whether MAXHOSTNAMELEN is declared... $ECHO_C" >&6; }
41858b22bf3fSmrgif test "${ac_cv_have_decl_MAXHOSTNAMELEN+set}" = set; then
41868b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
41878b22bf3fSmrgelse
41888b22bf3fSmrg  cat >conftest.$ac_ext <<_ACEOF
41898b22bf3fSmrg/* confdefs.h.  */
41908b22bf3fSmrg_ACEOF
41918b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
41928b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
41938b22bf3fSmrg/* end confdefs.h.  */
41948b22bf3fSmrg$ac_includes_default
41958b22bf3fSmrgint
41968b22bf3fSmrgmain ()
41978b22bf3fSmrg{
41988b22bf3fSmrg#ifndef MAXHOSTNAMELEN
41998b22bf3fSmrg  (void) MAXHOSTNAMELEN;
42008b22bf3fSmrg#endif
42018b22bf3fSmrg
42028b22bf3fSmrg  ;
42038b22bf3fSmrg  return 0;
42048b22bf3fSmrg}
42058b22bf3fSmrg_ACEOF
42068b22bf3fSmrgrm -f conftest.$ac_objext
42078b22bf3fSmrgif { (ac_try="$ac_compile"
42088b22bf3fSmrgcase "(($ac_try" in
42098b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42108b22bf3fSmrg  *) ac_try_echo=$ac_try;;
42118b22bf3fSmrgesac
42128b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42138b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
42148b22bf3fSmrg  ac_status=$?
42158b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
42168b22bf3fSmrg  rm -f conftest.er1
42178b22bf3fSmrg  cat conftest.err >&5
42188b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198b22bf3fSmrg  (exit $ac_status); } && {
42208b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
42218b22bf3fSmrg	 test ! -s conftest.err
42228b22bf3fSmrg       } && test -s conftest.$ac_objext; then
42238b22bf3fSmrg  ac_cv_have_decl_MAXHOSTNAMELEN=yes
42248b22bf3fSmrgelse
42258b22bf3fSmrg  echo "$as_me: failed program was:" >&5
42268b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
42278b22bf3fSmrg
42288b22bf3fSmrg	ac_cv_have_decl_MAXHOSTNAMELEN=no
42298b22bf3fSmrgfi
42308b22bf3fSmrg
42318b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42328b22bf3fSmrgfi
42338b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXHOSTNAMELEN" >&5
42348b22bf3fSmrgecho "${ECHO_T}$ac_cv_have_decl_MAXHOSTNAMELEN" >&6; }
42358b22bf3fSmrgif test $ac_cv_have_decl_MAXHOSTNAMELEN = yes; then
42368b22bf3fSmrg  FOUND_MAXHOSTNAMELEN=yes
42378b22bf3fSmrgfi
42388b22bf3fSmrg
42398b22bf3fSmrg
42408b22bf3fSmrgif test x$FOUND_MAXHOSTNAMELEN != xyes ; then
42418b22bf3fSmrg	{ echo "$as_me:$LINENO: checking for header that defines MAXHOSTNAMELEN" >&5
42428b22bf3fSmrgecho $ECHO_N "checking for header that defines MAXHOSTNAMELEN... $ECHO_C" >&6; }
42438b22bf3fSmrg
42448b22bf3fSmrg	FOUND_MAXHOSTNAMELEN='not found'
42458b22bf3fSmrg
42468b22bf3fSmrg	cat >conftest.$ac_ext <<_ACEOF
42478b22bf3fSmrg/* confdefs.h.  */
42488b22bf3fSmrg_ACEOF
42498b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
42508b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
42518b22bf3fSmrg/* end confdefs.h.  */
42528b22bf3fSmrg#include <sys/param.h>
42538b22bf3fSmrgint
42548b22bf3fSmrgmain ()
42558b22bf3fSmrg{
42568b22bf3fSmrgint h = MAXHOSTNAMELEN;
42578b22bf3fSmrg  ;
42588b22bf3fSmrg  return 0;
42598b22bf3fSmrg}
42608b22bf3fSmrg_ACEOF
42618b22bf3fSmrgrm -f conftest.$ac_objext
42628b22bf3fSmrgif { (ac_try="$ac_compile"
42638b22bf3fSmrgcase "(($ac_try" in
42648b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42658b22bf3fSmrg  *) ac_try_echo=$ac_try;;
42668b22bf3fSmrgesac
42678b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42688b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
42698b22bf3fSmrg  ac_status=$?
42708b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
42718b22bf3fSmrg  rm -f conftest.er1
42728b22bf3fSmrg  cat conftest.err >&5
42738b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748b22bf3fSmrg  (exit $ac_status); } && {
42758b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
42768b22bf3fSmrg	 test ! -s conftest.err
42778b22bf3fSmrg       } && test -s conftest.$ac_objext; then
42788b22bf3fSmrg  FOUND_MAXHOSTNAMELEN='sys/param.h'
42798b22bf3fSmrg
42808b22bf3fSmrgcat >>confdefs.h <<\_ACEOF
42818b22bf3fSmrg#define NEED_SYS_PARAM_H 1
42828b22bf3fSmrg_ACEOF
42838b22bf3fSmrg
42848b22bf3fSmrgelse
42858b22bf3fSmrg  echo "$as_me: failed program was:" >&5
42868b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
42878b22bf3fSmrg
42888b22bf3fSmrg
42898b22bf3fSmrgfi
42908b22bf3fSmrg
42918b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42928b22bf3fSmrg
42938b22bf3fSmrg	cat >conftest.$ac_ext <<_ACEOF
42948b22bf3fSmrg/* confdefs.h.  */
42958b22bf3fSmrg_ACEOF
42968b22bf3fSmrgcat confdefs.h >>conftest.$ac_ext
42978b22bf3fSmrgcat >>conftest.$ac_ext <<_ACEOF
42988b22bf3fSmrg/* end confdefs.h.  */
42998b22bf3fSmrg#include <netdb.h>
43008b22bf3fSmrgint
43018b22bf3fSmrgmain ()
43028b22bf3fSmrg{
43038b22bf3fSmrgint h = MAXHOSTNAMELEN;
43048b22bf3fSmrg  ;
43058b22bf3fSmrg  return 0;
43068b22bf3fSmrg}
43078b22bf3fSmrg_ACEOF
43088b22bf3fSmrgrm -f conftest.$ac_objext
43098b22bf3fSmrgif { (ac_try="$ac_compile"
43108b22bf3fSmrgcase "(($ac_try" in
43118b22bf3fSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43128b22bf3fSmrg  *) ac_try_echo=$ac_try;;
43138b22bf3fSmrgesac
43148b22bf3fSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43158b22bf3fSmrg  (eval "$ac_compile") 2>conftest.er1
43168b22bf3fSmrg  ac_status=$?
43178b22bf3fSmrg  grep -v '^ *+' conftest.er1 >conftest.err
43188b22bf3fSmrg  rm -f conftest.er1
43198b22bf3fSmrg  cat conftest.err >&5
43208b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
43218b22bf3fSmrg  (exit $ac_status); } && {
43228b22bf3fSmrg	 test -z "$ac_c_werror_flag" ||
43238b22bf3fSmrg	 test ! -s conftest.err
43248b22bf3fSmrg       } && test -s conftest.$ac_objext; then
43258b22bf3fSmrg  FOUND_MAXHOSTNAMELEN='netdb.h'
43268b22bf3fSmrg
43278b22bf3fSmrgcat >>confdefs.h <<\_ACEOF
43288b22bf3fSmrg#define NEED_NETDB_H 1
43298b22bf3fSmrg_ACEOF
43308b22bf3fSmrg
43318b22bf3fSmrgelse
43328b22bf3fSmrg  echo "$as_me: failed program was:" >&5
43338b22bf3fSmrgsed 's/^/| /' conftest.$ac_ext >&5
43348b22bf3fSmrg
43358b22bf3fSmrg
43368b22bf3fSmrgfi
43378b22bf3fSmrg
43388b22bf3fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43398b22bf3fSmrg
43408b22bf3fSmrg	{ echo "$as_me:$LINENO: result: $FOUND_MAXHOSTNAMELEN" >&5
43418b22bf3fSmrgecho "${ECHO_T}$FOUND_MAXHOSTNAMELEN" >&6; }
43428b22bf3fSmrgfi
43438b22bf3fSmrg
43448b22bf3fSmrg# xrdb needs to know where to find cpp at runtime - previously set as CppCmd
43458b22bf3fSmrg# in Imake config files for each OS
43468b22bf3fSmrg
43478b22bf3fSmrg# Check whether --with-cpp was given.
43488b22bf3fSmrgif test "${with_cpp+set}" = set; then
43498b22bf3fSmrg  withval=$with_cpp; { echo "$as_me:$LINENO: checking for cpp" >&5
43508b22bf3fSmrgecho $ECHO_N "checking for cpp... $ECHO_C" >&6; }
43518b22bf3fSmrg	CPP_PATH=$withval
43528b22bf3fSmrg	{ echo "$as_me:$LINENO: result: $CPP_PATH" >&5
43538b22bf3fSmrgecho "${ECHO_T}$CPP_PATH" >&6; }
43548b22bf3fSmrgelse
43558b22bf3fSmrg  # Extract the first word of "cpp", so it can be a program name with args.
43568b22bf3fSmrgset dummy cpp; ac_word=$2
43578b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
43588b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43598b22bf3fSmrgif test "${ac_cv_path_CPP_PATH+set}" = set; then
43608b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
43618b22bf3fSmrgelse
43628b22bf3fSmrg  case $CPP_PATH in
43638b22bf3fSmrg  [\\/]* | ?:[\\/]*)
43648b22bf3fSmrg  ac_cv_path_CPP_PATH="$CPP_PATH" # Let the user override the test with a path.
43658b22bf3fSmrg  ;;
43668b22bf3fSmrg  *)
43678b22bf3fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43688b22bf3fSmrgas_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
43698b22bf3fSmrgfor as_dir in $as_dummy
43708b22bf3fSmrgdo
43718b22bf3fSmrg  IFS=$as_save_IFS
43728b22bf3fSmrg  test -z "$as_dir" && as_dir=.
43738b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
43748b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43758b22bf3fSmrg    ac_cv_path_CPP_PATH="$as_dir/$ac_word$ac_exec_ext"
43768b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43778b22bf3fSmrg    break 2
43788b22bf3fSmrg  fi
43798b22bf3fSmrgdone
43808b22bf3fSmrgdone
43818b22bf3fSmrgIFS=$as_save_IFS
43828b22bf3fSmrg
43838b22bf3fSmrg  test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="cpp"
43848b22bf3fSmrg  ;;
43858b22bf3fSmrgesac
43868b22bf3fSmrgfi
43878b22bf3fSmrgCPP_PATH=$ac_cv_path_CPP_PATH
43888b22bf3fSmrgif test -n "$CPP_PATH"; then
43898b22bf3fSmrg  { echo "$as_me:$LINENO: result: $CPP_PATH" >&5
43908b22bf3fSmrgecho "${ECHO_T}$CPP_PATH" >&6; }
43918b22bf3fSmrgelse
43928b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
43938b22bf3fSmrgecho "${ECHO_T}no" >&6; }
43948b22bf3fSmrgfi
43958b22bf3fSmrg
43968b22bf3fSmrg
43978b22bf3fSmrgfi
43988b22bf3fSmrg
43998b22bf3fSmrg
44008b22bf3fSmrgcat >>confdefs.h <<_ACEOF
44018b22bf3fSmrg#define CPP "$CPP_PATH"
44028b22bf3fSmrg_ACEOF
44038b22bf3fSmrg
44048b22bf3fSmrg
44058b22bf3fSmrg# Checks for pkg-config packages
44068b22bf3fSmrg
44078b22bf3fSmrg
44088b22bf3fSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44098b22bf3fSmrg	if test -n "$ac_tool_prefix"; then
44108b22bf3fSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44118b22bf3fSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44128b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44138b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44148b22bf3fSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44158b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
44168b22bf3fSmrgelse
44178b22bf3fSmrg  case $PKG_CONFIG in
44188b22bf3fSmrg  [\\/]* | ?:[\\/]*)
44198b22bf3fSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44208b22bf3fSmrg  ;;
44218b22bf3fSmrg  *)
44228b22bf3fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44238b22bf3fSmrgfor as_dir in $PATH
44248b22bf3fSmrgdo
44258b22bf3fSmrg  IFS=$as_save_IFS
44268b22bf3fSmrg  test -z "$as_dir" && as_dir=.
44278b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
44288b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44298b22bf3fSmrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44308b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44318b22bf3fSmrg    break 2
44328b22bf3fSmrg  fi
44338b22bf3fSmrgdone
44348b22bf3fSmrgdone
44358b22bf3fSmrgIFS=$as_save_IFS
44368b22bf3fSmrg
44378b22bf3fSmrg  ;;
44388b22bf3fSmrgesac
44398b22bf3fSmrgfi
44408b22bf3fSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
44418b22bf3fSmrgif test -n "$PKG_CONFIG"; then
44428b22bf3fSmrg  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44438b22bf3fSmrgecho "${ECHO_T}$PKG_CONFIG" >&6; }
44448b22bf3fSmrgelse
44458b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
44468b22bf3fSmrgecho "${ECHO_T}no" >&6; }
44478b22bf3fSmrgfi
44488b22bf3fSmrg
44498b22bf3fSmrg
44508b22bf3fSmrgfi
44518b22bf3fSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
44528b22bf3fSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
44538b22bf3fSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
44548b22bf3fSmrgset dummy pkg-config; ac_word=$2
44558b22bf3fSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
44568b22bf3fSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44578b22bf3fSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44588b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
44598b22bf3fSmrgelse
44608b22bf3fSmrg  case $ac_pt_PKG_CONFIG in
44618b22bf3fSmrg  [\\/]* | ?:[\\/]*)
44628b22bf3fSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44638b22bf3fSmrg  ;;
44648b22bf3fSmrg  *)
44658b22bf3fSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44668b22bf3fSmrgfor as_dir in $PATH
44678b22bf3fSmrgdo
44688b22bf3fSmrg  IFS=$as_save_IFS
44698b22bf3fSmrg  test -z "$as_dir" && as_dir=.
44708b22bf3fSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
44718b22bf3fSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44728b22bf3fSmrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44738b22bf3fSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44748b22bf3fSmrg    break 2
44758b22bf3fSmrg  fi
44768b22bf3fSmrgdone
44778b22bf3fSmrgdone
44788b22bf3fSmrgIFS=$as_save_IFS
44798b22bf3fSmrg
44808b22bf3fSmrg  ;;
44818b22bf3fSmrgesac
44828b22bf3fSmrgfi
44838b22bf3fSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44848b22bf3fSmrgif test -n "$ac_pt_PKG_CONFIG"; then
44858b22bf3fSmrg  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44868b22bf3fSmrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44878b22bf3fSmrgelse
44888b22bf3fSmrg  { echo "$as_me:$LINENO: result: no" >&5
44898b22bf3fSmrgecho "${ECHO_T}no" >&6; }
44908b22bf3fSmrgfi
44918b22bf3fSmrg
44928b22bf3fSmrg  if test "x$ac_pt_PKG_CONFIG" = x; then
44938b22bf3fSmrg    PKG_CONFIG=""
44948b22bf3fSmrg  else
44958b22bf3fSmrg    case $cross_compiling:$ac_tool_warned in
44968b22bf3fSmrgyes:)
44978b22bf3fSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44988b22bf3fSmrgwhose name does not start with the host triplet.  If you think this
44998b22bf3fSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
45008b22bf3fSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45018b22bf3fSmrgwhose name does not start with the host triplet.  If you think this
45028b22bf3fSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
45038b22bf3fSmrgac_tool_warned=yes ;;
45048b22bf3fSmrgesac
45058b22bf3fSmrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
45068b22bf3fSmrg  fi
45078b22bf3fSmrgelse
45088b22bf3fSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45098b22bf3fSmrgfi
45108b22bf3fSmrg
45118b22bf3fSmrgfi
45128b22bf3fSmrgif test -n "$PKG_CONFIG"; then
45138b22bf3fSmrg	_pkg_min_version=0.9.0
45148b22bf3fSmrg	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45158b22bf3fSmrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45168b22bf3fSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45178b22bf3fSmrg		{ echo "$as_me:$LINENO: result: yes" >&5
45188b22bf3fSmrgecho "${ECHO_T}yes" >&6; }
45198b22bf3fSmrg	else
45208b22bf3fSmrg		{ echo "$as_me:$LINENO: result: no" >&5
45218b22bf3fSmrgecho "${ECHO_T}no" >&6; }
45228b22bf3fSmrg		PKG_CONFIG=""
45238b22bf3fSmrg	fi
45248b22bf3fSmrg
45258b22bf3fSmrgfi
45268b22bf3fSmrg
45278b22bf3fSmrgpkg_failed=no
45288b22bf3fSmrg{ echo "$as_me:$LINENO: checking for XRDB" >&5
45298b22bf3fSmrgecho $ECHO_N "checking for XRDB... $ECHO_C" >&6; }
45308b22bf3fSmrg
45318b22bf3fSmrgif test -n "$PKG_CONFIG"; then
45328b22bf3fSmrg        if test -n "$PKG_CONFIG" && \
45338b22bf3fSmrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmuu x11\"") >&5
45348b22bf3fSmrg  ($PKG_CONFIG --exists --print-errors "xmuu x11") 2>&5
45358b22bf3fSmrg  ac_status=$?
45368b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45378b22bf3fSmrg  (exit $ac_status); }; then
45388b22bf3fSmrg  pkg_cv_XRDB_CFLAGS=`$PKG_CONFIG --cflags "xmuu x11" 2>/dev/null`
45398b22bf3fSmrgelse
45408b22bf3fSmrg  pkg_failed=yes
45418b22bf3fSmrgfi
45428b22bf3fSmrgelse
45438b22bf3fSmrg	pkg_failed=untried
45448b22bf3fSmrgfi
45458b22bf3fSmrgif test -n "$PKG_CONFIG"; then
45468b22bf3fSmrg        if test -n "$PKG_CONFIG" && \
45478b22bf3fSmrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmuu x11\"") >&5
45488b22bf3fSmrg  ($PKG_CONFIG --exists --print-errors "xmuu x11") 2>&5
45498b22bf3fSmrg  ac_status=$?
45508b22bf3fSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45518b22bf3fSmrg  (exit $ac_status); }; then
45528b22bf3fSmrg  pkg_cv_XRDB_LIBS=`$PKG_CONFIG --libs "xmuu x11" 2>/dev/null`
45538b22bf3fSmrgelse
45548b22bf3fSmrg  pkg_failed=yes
45558b22bf3fSmrgfi
45568b22bf3fSmrgelse
45578b22bf3fSmrg	pkg_failed=untried
45588b22bf3fSmrgfi
45598b22bf3fSmrg
45608b22bf3fSmrgif test $pkg_failed = yes; then
45618b22bf3fSmrg	XRDB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xmuu x11"`
45628b22bf3fSmrg	# Put the nasty error message in config.log where it belongs
45638b22bf3fSmrg	echo "$XRDB_PKG_ERRORS" 1>&5
45648b22bf3fSmrg
45658b22bf3fSmrg	{ { echo "$as_me:$LINENO: error: Package requirements (xmuu x11) were not met.
45668b22bf3fSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
45678b22bf3fSmrginstalled software in a non-standard prefix.
45688b22bf3fSmrg
45698b22bf3fSmrgAlternatively you may set the XRDB_CFLAGS and XRDB_LIBS environment variables
45708b22bf3fSmrgto avoid the need to call pkg-config.  See the pkg-config man page for
45718b22bf3fSmrgmore details." >&5
45728b22bf3fSmrgecho "$as_me: error: Package requirements (xmuu x11) were not met.
45738b22bf3fSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
45748b22bf3fSmrginstalled software in a non-standard prefix.
45758b22bf3fSmrg
45768b22bf3fSmrgAlternatively you may set the XRDB_CFLAGS and XRDB_LIBS environment variables
45778b22bf3fSmrgto avoid the need to call pkg-config.  See the pkg-config man page for
45788b22bf3fSmrgmore details." >&2;}
45798b22bf3fSmrg   { (exit 1); exit 1; }; }
45808b22bf3fSmrgelif test $pkg_failed = untried; then
45818b22bf3fSmrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
45828b22bf3fSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
45838b22bf3fSmrgpath to pkg-config.
45848b22bf3fSmrg
45858b22bf3fSmrgAlternatively you may set the XRDB_CFLAGS and XRDB_LIBS environment variables
45868b22bf3fSmrgto avoid the need to call pkg-config.  See the pkg-config man page for
45878b22bf3fSmrgmore details.
45888b22bf3fSmrg
45898b22bf3fSmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
45908b22bf3fSmrgSee \`config.log' for more details." >&5
45918b22bf3fSmrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
45928b22bf3fSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
45938b22bf3fSmrgpath to pkg-config.
45948b22bf3fSmrg
45958b22bf3fSmrgAlternatively you may set the XRDB_CFLAGS and XRDB_LIBS environment variables
45968b22bf3fSmrgto avoid the need to call pkg-config.  See the pkg-config man page for
45978b22bf3fSmrgmore details.
45988b22bf3fSmrg
45998b22bf3fSmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
46008b22bf3fSmrgSee \`config.log' for more details." >&2;}
46018b22bf3fSmrg   { (exit 1); exit 1; }; }
46028b22bf3fSmrgelse
46038b22bf3fSmrg	XRDB_CFLAGS=$pkg_cv_XRDB_CFLAGS
46048b22bf3fSmrg	XRDB_LIBS=$pkg_cv_XRDB_LIBS
46058b22bf3fSmrg        { echo "$as_me:$LINENO: result: yes" >&5
46068b22bf3fSmrgecho "${ECHO_T}yes" >&6; }
46078b22bf3fSmrg	:
46088b22bf3fSmrgfi
46098b22bf3fSmrg
46108b22bf3fSmrg
46118b22bf3fSmrg
46128b22bf3fSmrg# Make sure we can run config.sub.
46138b22bf3fSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
46148b22bf3fSmrg  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
46158b22bf3fSmrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
46168b22bf3fSmrg   { (exit 1); exit 1; }; }
46178b22bf3fSmrg
46188b22bf3fSmrg{ echo "$as_me:$LINENO: checking build system type" >&5
46198b22bf3fSmrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; }
46208b22bf3fSmrgif test "${ac_cv_build+set}" = set; then
46218b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
46228b22bf3fSmrgelse
46238b22bf3fSmrg  ac_build_alias=$build_alias
46248b22bf3fSmrgtest "x$ac_build_alias" = x &&
46258b22bf3fSmrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
46268b22bf3fSmrgtest "x$ac_build_alias" = x &&
46278b22bf3fSmrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
46288b22bf3fSmrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
46298b22bf3fSmrg   { (exit 1); exit 1; }; }
46308b22bf3fSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
46318b22bf3fSmrg  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
46328b22bf3fSmrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
46338b22bf3fSmrg   { (exit 1); exit 1; }; }
46348b22bf3fSmrg
46358b22bf3fSmrgfi
46368b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
46378b22bf3fSmrgecho "${ECHO_T}$ac_cv_build" >&6; }
46388b22bf3fSmrgcase $ac_cv_build in
46398b22bf3fSmrg*-*-*) ;;
46408b22bf3fSmrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
46418b22bf3fSmrgecho "$as_me: error: invalid value of canonical build" >&2;}
46428b22bf3fSmrg   { (exit 1); exit 1; }; };;
46438b22bf3fSmrgesac
46448b22bf3fSmrgbuild=$ac_cv_build
46458b22bf3fSmrgac_save_IFS=$IFS; IFS='-'
46468b22bf3fSmrgset x $ac_cv_build
46478b22bf3fSmrgshift
46488b22bf3fSmrgbuild_cpu=$1
46498b22bf3fSmrgbuild_vendor=$2
46508b22bf3fSmrgshift; shift
46518b22bf3fSmrg# Remember, the first character of IFS is used to create $*,
46528b22bf3fSmrg# except with old shells:
46538b22bf3fSmrgbuild_os=$*
46548b22bf3fSmrgIFS=$ac_save_IFS
46558b22bf3fSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
46568b22bf3fSmrg
46578b22bf3fSmrg
46588b22bf3fSmrg{ echo "$as_me:$LINENO: checking host system type" >&5
46598b22bf3fSmrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; }
46608b22bf3fSmrgif test "${ac_cv_host+set}" = set; then
46618b22bf3fSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
46628b22bf3fSmrgelse
46638b22bf3fSmrg  if test "x$host_alias" = x; then
46648b22bf3fSmrg  ac_cv_host=$ac_cv_build
46658b22bf3fSmrgelse
46668b22bf3fSmrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
46678b22bf3fSmrg    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
46688b22bf3fSmrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
46698b22bf3fSmrg   { (exit 1); exit 1; }; }
46708b22bf3fSmrgfi
46718b22bf3fSmrg
46728b22bf3fSmrgfi
46738b22bf3fSmrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
46748b22bf3fSmrgecho "${ECHO_T}$ac_cv_host" >&6; }
46758b22bf3fSmrgcase $ac_cv_host in
46768b22bf3fSmrg*-*-*) ;;
46778b22bf3fSmrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
46788b22bf3fSmrgecho "$as_me: error: invalid value of canonical host" >&2;}
46798b22bf3fSmrg   { (exit 1); exit 1; }; };;
46808b22bf3fSmrgesac
46818b22bf3fSmrghost=$ac_cv_host
46828b22bf3fSmrgac_save_IFS=$IFS; IFS='-'
46838b22bf3fSmrgset x $ac_cv_host
46848b22bf3fSmrgshift
46858b22bf3fSmrghost_cpu=$1
46868b22bf3fSmrghost_vendor=$2
46878b22bf3fSmrgshift; shift
46888b22bf3fSmrg# Remember, the first character of IFS is used to create $*,
46898b22bf3fSmrg# except with old shells:
46908b22bf3fSmrghost_os=$*
46918b22bf3fSmrgIFS=$ac_save_IFS
46928b22bf3fSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
46938b22bf3fSmrg
46948b22bf3fSmrg
46958b22bf3fSmrg
46968b22bf3fSmrg
46978b22bf3fSmrg
46988b22bf3fSmrgif test x$APP_MAN_SUFFIX = x    ; then
46998b22bf3fSmrg    APP_MAN_SUFFIX=1
47008b22bf3fSmrgfi
47018b22bf3fSmrgif test x$APP_MAN_DIR = x    ; then
47028b22bf3fSmrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
47038b22bf3fSmrgfi
47048b22bf3fSmrg
47058b22bf3fSmrgif test x$LIB_MAN_SUFFIX = x    ; then
47068b22bf3fSmrg    LIB_MAN_SUFFIX=3
47078b22bf3fSmrgfi
47088b22bf3fSmrgif test x$LIB_MAN_DIR = x    ; then
47098b22bf3fSmrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
47108b22bf3fSmrgfi
47118b22bf3fSmrg
47128b22bf3fSmrgif test x$FILE_MAN_SUFFIX = x    ; then
47138b22bf3fSmrg    case $host_os in
47148b22bf3fSmrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
47158b22bf3fSmrg	*)		FILE_MAN_SUFFIX=5  ;;
47168b22bf3fSmrg    esac
47178b22bf3fSmrgfi
47188b22bf3fSmrgif test x$FILE_MAN_DIR = x    ; then
47198b22bf3fSmrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
47208b22bf3fSmrgfi
47218b22bf3fSmrg
47228b22bf3fSmrgif test x$MISC_MAN_SUFFIX = x    ; then
47238b22bf3fSmrg    case $host_os in
47248b22bf3fSmrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
47258b22bf3fSmrg	*)		MISC_MAN_SUFFIX=7  ;;
47268b22bf3fSmrg    esac
47278b22bf3fSmrgfi
47288b22bf3fSmrgif test x$MISC_MAN_DIR = x    ; then
47298b22bf3fSmrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
47308b22bf3fSmrgfi
47318b22bf3fSmrg
47328b22bf3fSmrgif test x$DRIVER_MAN_SUFFIX = x    ; then
47338b22bf3fSmrg    case $host_os in
47348b22bf3fSmrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
47358b22bf3fSmrg	*)		DRIVER_MAN_SUFFIX=4  ;;
47368b22bf3fSmrg    esac
47378b22bf3fSmrgfi
47388b22bf3fSmrgif test x$DRIVER_MAN_DIR = x    ; then
47398b22bf3fSmrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
47408b22bf3fSmrgfi
47418b22bf3fSmrg
47428b22bf3fSmrgif test x$ADMIN_MAN_SUFFIX = x    ; then
47438b22bf3fSmrg    case $host_os in
47448b22bf3fSmrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
47458b22bf3fSmrg	*)		ADMIN_MAN_SUFFIX=8  ;;
47468b22bf3fSmrg    esac
47478b22bf3fSmrgfi
47488b22bf3fSmrgif test x$ADMIN_MAN_DIR = x    ; then
47498b22bf3fSmrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
47508b22bf3fSmrgfi
47518b22bf3fSmrg
47528b22bf3fSmrg
47538b22bf3fSmrg
47548b22bf3fSmrg
47558b22bf3fSmrg
47568b22bf3fSmrg
47578b22bf3fSmrg
47588b22bf3fSmrg
47598b22bf3fSmrg
47608b22bf3fSmrg
47618b22bf3fSmrg
47628b22bf3fSmrg
47638b22bf3fSmrg
47648b22bf3fSmrg
47658b22bf3fSmrg
47668b22bf3fSmrg
47678b22bf3fSmrg
47688b22bf3fSmrg# Check whether --with-release-version was given.
47698b22bf3fSmrgif test "${with_release_version+set}" = set; then
47708b22bf3fSmrg  withval=$with_release_version; RELEASE_VERSION="$withval"
47718b22bf3fSmrgelse
47728b22bf3fSmrg  RELEASE_VERSION=""
47738b22bf3fSmrgfi
47748b22bf3fSmrg
47758b22bf3fSmrg	if test "x$RELEASE_VERSION" != "x"; then
47768b22bf3fSmrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
47778b22bf3fSmrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
47788b22bf3fSmrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
47798b22bf3fSmrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
47808b22bf3fSmrg	fi
47818b22bf3fSmrg
47828b22bf3fSmrgcat >>confdefs.h <<_ACEOF
47838b22bf3fSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
47848b22bf3fSmrg_ACEOF
47858b22bf3fSmrg
47868b22bf3fSmrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
47878b22bf3fSmrg	if test "x$PVM" = "x"; then
47888b22bf3fSmrg		PVM="0"
47898b22bf3fSmrg	fi
47908b22bf3fSmrg
47918b22bf3fSmrgcat >>confdefs.h <<_ACEOF
47928b22bf3fSmrg#define PACKAGE_VERSION_MINOR $PVM
47938b22bf3fSmrg_ACEOF
47948b22bf3fSmrg
47958b22bf3fSmrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
47968b22bf3fSmrg	if test "x$PVP" = "x"; then
47978b22bf3fSmrg		PVP="0"
47988b22bf3fSmrg	fi
47998b22bf3fSmrg
48008b22bf3fSmrgcat >>confdefs.h <<_ACEOF
48018b22bf3fSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
48028b22bf3fSmrg_ACEOF
48038b22bf3fSmrg
48048b22bf3fSmrg
48058b22bf3fSmrg
48068b22bf3fSmrgac_config_files="$ac_config_files Makefile"
48078b22bf3fSmrg
48088b22bf3fSmrgcat >confcache <<\_ACEOF
48098b22bf3fSmrg# This file is a shell script that caches the results of configure
48108b22bf3fSmrg# tests run on this system so they can be shared between configure
48118b22bf3fSmrg# scripts and configure runs, see configure's option --config-cache.
48128b22bf3fSmrg# It is not useful on other systems.  If it contains results you don't
48138b22bf3fSmrg# want to keep, you may remove or edit it.
48148b22bf3fSmrg#
48158b22bf3fSmrg# config.status only pays attention to the cache file if you give it
48168b22bf3fSmrg# the --recheck option to rerun configure.
48178b22bf3fSmrg#
48188b22bf3fSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
48198b22bf3fSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
48208b22bf3fSmrg# following values.
48218b22bf3fSmrg
48228b22bf3fSmrg_ACEOF
48238b22bf3fSmrg
48248b22bf3fSmrg# The following way of writing the cache mishandles newlines in values,
48258b22bf3fSmrg# but we know of no workaround that is simple, portable, and efficient.
48268b22bf3fSmrg# So, we kill variables containing newlines.
48278b22bf3fSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
48288b22bf3fSmrg# and sets the high bit in the cache file unless we assign to the vars.
48298b22bf3fSmrg(
48308b22bf3fSmrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
48318b22bf3fSmrg    eval ac_val=\$$ac_var
48328b22bf3fSmrg    case $ac_val in #(
48338b22bf3fSmrg    *${as_nl}*)
48348b22bf3fSmrg      case $ac_var in #(
48358b22bf3fSmrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
48368b22bf3fSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
48378b22bf3fSmrg      esac
48388b22bf3fSmrg      case $ac_var in #(
48398b22bf3fSmrg      _ | IFS | as_nl) ;; #(
48408b22bf3fSmrg      *) $as_unset $ac_var ;;
48418b22bf3fSmrg      esac ;;
48428b22bf3fSmrg    esac
48438b22bf3fSmrg  done
48448b22bf3fSmrg
48458b22bf3fSmrg  (set) 2>&1 |
48468b22bf3fSmrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
48478b22bf3fSmrg    *${as_nl}ac_space=\ *)
48488b22bf3fSmrg      # `set' does not quote correctly, so add quotes (double-quote
48498b22bf3fSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
48508b22bf3fSmrg      sed -n \
48518b22bf3fSmrg	"s/'/'\\\\''/g;
48528b22bf3fSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48538b22bf3fSmrg      ;; #(
48548b22bf3fSmrg    *)
48558b22bf3fSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
48568b22bf3fSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
48578b22bf3fSmrg      ;;
48588b22bf3fSmrg    esac |
48598b22bf3fSmrg    sort
48608b22bf3fSmrg) |
48618b22bf3fSmrg  sed '
48628b22bf3fSmrg     /^ac_cv_env_/b end
48638b22bf3fSmrg     t clear
48648b22bf3fSmrg     :clear
48658b22bf3fSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48668b22bf3fSmrg     t end
48678b22bf3fSmrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48688b22bf3fSmrg     :end' >>confcache
48698b22bf3fSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
48708b22bf3fSmrg  if test -w "$cache_file"; then
48718b22bf3fSmrg    test "x$cache_file" != "x/dev/null" &&
48728b22bf3fSmrg      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
48738b22bf3fSmrgecho "$as_me: updating cache $cache_file" >&6;}
48748b22bf3fSmrg    cat confcache >$cache_file
48758b22bf3fSmrg  else
48768b22bf3fSmrg    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
48778b22bf3fSmrgecho "$as_me: not updating unwritable cache $cache_file" >&6;}
48788b22bf3fSmrg  fi
48798b22bf3fSmrgfi
48808b22bf3fSmrgrm -f confcache
48818b22bf3fSmrg
48828b22bf3fSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
48838b22bf3fSmrg# Let make expand exec_prefix.
48848b22bf3fSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48858b22bf3fSmrg
48868b22bf3fSmrgDEFS=-DHAVE_CONFIG_H
48878b22bf3fSmrg
48888b22bf3fSmrgac_libobjs=
48898b22bf3fSmrgac_ltlibobjs=
48908b22bf3fSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48918b22bf3fSmrg  # 1. Remove the extension, and $U if already installed.
48928b22bf3fSmrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
48938b22bf3fSmrg  ac_i=`echo "$ac_i" | sed "$ac_script"`
48948b22bf3fSmrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
48958b22bf3fSmrg  #    will be set to the directory where LIBOBJS objects are built.
48968b22bf3fSmrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
48978b22bf3fSmrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
48988b22bf3fSmrgdone
48998b22bf3fSmrgLIBOBJS=$ac_libobjs
49008b22bf3fSmrg
49018b22bf3fSmrgLTLIBOBJS=$ac_ltlibobjs
49028b22bf3fSmrg
49038b22bf3fSmrg
49048b22bf3fSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
49058b22bf3fSmrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
49068b22bf3fSmrgUsually this means the macro was only invoked conditionally." >&5
49078b22bf3fSmrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
49088b22bf3fSmrgUsually this means the macro was only invoked conditionally." >&2;}
49098b22bf3fSmrg   { (exit 1); exit 1; }; }
49108b22bf3fSmrgfi
49118b22bf3fSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
49128b22bf3fSmrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
49138b22bf3fSmrgUsually this means the macro was only invoked conditionally." >&5
49148b22bf3fSmrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
49158b22bf3fSmrgUsually this means the macro was only invoked conditionally." >&2;}
49168b22bf3fSmrg   { (exit 1); exit 1; }; }
49178b22bf3fSmrgfi
49188b22bf3fSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
49198b22bf3fSmrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
49208b22bf3fSmrgUsually this means the macro was only invoked conditionally." >&5
49218b22bf3fSmrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
49228b22bf3fSmrgUsually this means the macro was only invoked conditionally." >&2;}
49238b22bf3fSmrg   { (exit 1); exit 1; }; }
49248b22bf3fSmrgfi
49258b22bf3fSmrg
49268b22bf3fSmrg: ${CONFIG_STATUS=./config.status}
49278b22bf3fSmrgac_clean_files_save=$ac_clean_files
49288b22bf3fSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
49298b22bf3fSmrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49308b22bf3fSmrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
49318b22bf3fSmrgcat >$CONFIG_STATUS <<_ACEOF
49328b22bf3fSmrg#! $SHELL
49338b22bf3fSmrg# Generated by $as_me.
49348b22bf3fSmrg# Run this file to recreate the current configuration.
49358b22bf3fSmrg# Compiler output produced by configure, useful for debugging
49368b22bf3fSmrg# configure, is in config.log if it exists.
49378b22bf3fSmrg
49388b22bf3fSmrgdebug=false
49398b22bf3fSmrgac_cs_recheck=false
49408b22bf3fSmrgac_cs_silent=false
49418b22bf3fSmrgSHELL=\${CONFIG_SHELL-$SHELL}
49428b22bf3fSmrg_ACEOF
49438b22bf3fSmrg
49448b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
49458b22bf3fSmrg## --------------------- ##
49468b22bf3fSmrg## M4sh Initialization.  ##
49478b22bf3fSmrg## --------------------- ##
49488b22bf3fSmrg
49498b22bf3fSmrg# Be more Bourne compatible
49508b22bf3fSmrgDUALCASE=1; export DUALCASE # for MKS sh
49518b22bf3fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49528b22bf3fSmrg  emulate sh
49538b22bf3fSmrg  NULLCMD=:
49548b22bf3fSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49558b22bf3fSmrg  # is contrary to our usage.  Disable this feature.
49568b22bf3fSmrg  alias -g '${1+"$@"}'='"$@"'
49578b22bf3fSmrg  setopt NO_GLOB_SUBST
49588b22bf3fSmrgelse
49598b22bf3fSmrg  case `(set -o) 2>/dev/null` in
49608b22bf3fSmrg  *posix*) set -o posix ;;
49618b22bf3fSmrgesac
49628b22bf3fSmrg
49638b22bf3fSmrgfi
49648b22bf3fSmrg
49658b22bf3fSmrg
49668b22bf3fSmrg
49678b22bf3fSmrg
49688b22bf3fSmrg# PATH needs CR
49698b22bf3fSmrg# Avoid depending upon Character Ranges.
49708b22bf3fSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
49718b22bf3fSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49728b22bf3fSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
49738b22bf3fSmrgas_cr_digits='0123456789'
49748b22bf3fSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
49758b22bf3fSmrg
49768b22bf3fSmrg# The user is always right.
49778b22bf3fSmrgif test "${PATH_SEPARATOR+set}" != set; then
49788b22bf3fSmrg  echo "#! /bin/sh" >conf$$.sh
49798b22bf3fSmrg  echo  "exit 0"   >>conf$$.sh
49808b22bf3fSmrg  chmod +x conf$$.sh
49818b22bf3fSmrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49828b22bf3fSmrg    PATH_SEPARATOR=';'
49838b22bf3fSmrg  else
49848b22bf3fSmrg    PATH_SEPARATOR=:
49858b22bf3fSmrg  fi
49868b22bf3fSmrg  rm -f conf$$.sh
49878b22bf3fSmrgfi
49888b22bf3fSmrg
49898b22bf3fSmrg# Support unset when possible.
49908b22bf3fSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49918b22bf3fSmrg  as_unset=unset
49928b22bf3fSmrgelse
49938b22bf3fSmrg  as_unset=false
49948b22bf3fSmrgfi
49958b22bf3fSmrg
49968b22bf3fSmrg
49978b22bf3fSmrg# IFS
49988b22bf3fSmrg# We need space, tab and new line, in precisely that order.  Quoting is
49998b22bf3fSmrg# there to prevent editors from complaining about space-tab.
50008b22bf3fSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
50018b22bf3fSmrg# splitting by setting IFS to empty value.)
50028b22bf3fSmrgas_nl='
50038b22bf3fSmrg'
50048b22bf3fSmrgIFS=" ""	$as_nl"
50058b22bf3fSmrg
50068b22bf3fSmrg# Find who we are.  Look in the path if we contain no directory separator.
50078b22bf3fSmrgcase $0 in
50088b22bf3fSmrg  *[\\/]* ) as_myself=$0 ;;
50098b22bf3fSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50108b22bf3fSmrgfor as_dir in $PATH
50118b22bf3fSmrgdo
50128b22bf3fSmrg  IFS=$as_save_IFS
50138b22bf3fSmrg  test -z "$as_dir" && as_dir=.
50148b22bf3fSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50158b22bf3fSmrgdone
50168b22bf3fSmrgIFS=$as_save_IFS
50178b22bf3fSmrg
50188b22bf3fSmrg     ;;
50198b22bf3fSmrgesac
50208b22bf3fSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
50218b22bf3fSmrg# in which case we are not to be found in the path.
50228b22bf3fSmrgif test "x$as_myself" = x; then
50238b22bf3fSmrg  as_myself=$0
50248b22bf3fSmrgfi
50258b22bf3fSmrgif test ! -f "$as_myself"; then
50268b22bf3fSmrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50278b22bf3fSmrg  { (exit 1); exit 1; }
50288b22bf3fSmrgfi
50298b22bf3fSmrg
50308b22bf3fSmrg# Work around bugs in pre-3.0 UWIN ksh.
50318b22bf3fSmrgfor as_var in ENV MAIL MAILPATH
50328b22bf3fSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50338b22bf3fSmrgdone
50348b22bf3fSmrgPS1='$ '
50358b22bf3fSmrgPS2='> '
50368b22bf3fSmrgPS4='+ '
50378b22bf3fSmrg
50388b22bf3fSmrg# NLS nuisances.
50398b22bf3fSmrgfor as_var in \
50408b22bf3fSmrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50418b22bf3fSmrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50428b22bf3fSmrg  LC_TELEPHONE LC_TIME
50438b22bf3fSmrgdo
50448b22bf3fSmrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50458b22bf3fSmrg    eval $as_var=C; export $as_var
50468b22bf3fSmrg  else
50478b22bf3fSmrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50488b22bf3fSmrg  fi
50498b22bf3fSmrgdone
50508b22bf3fSmrg
50518b22bf3fSmrg# Required to use basename.
50528b22bf3fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
50538b22bf3fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
50548b22bf3fSmrg  as_expr=expr
50558b22bf3fSmrgelse
50568b22bf3fSmrg  as_expr=false
50578b22bf3fSmrgfi
50588b22bf3fSmrg
50598b22bf3fSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50608b22bf3fSmrg  as_basename=basename
50618b22bf3fSmrgelse
50628b22bf3fSmrg  as_basename=false
50638b22bf3fSmrgfi
50648b22bf3fSmrg
50658b22bf3fSmrg
50668b22bf3fSmrg# Name of the executable.
50678b22bf3fSmrgas_me=`$as_basename -- "$0" ||
50688b22bf3fSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50698b22bf3fSmrg	 X"$0" : 'X\(//\)$' \| \
50708b22bf3fSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50718b22bf3fSmrgecho X/"$0" |
50728b22bf3fSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
50738b22bf3fSmrg	    s//\1/
50748b22bf3fSmrg	    q
50758b22bf3fSmrg	  }
50768b22bf3fSmrg	  /^X\/\(\/\/\)$/{
50778b22bf3fSmrg	    s//\1/
50788b22bf3fSmrg	    q
50798b22bf3fSmrg	  }
50808b22bf3fSmrg	  /^X\/\(\/\).*/{
50818b22bf3fSmrg	    s//\1/
50828b22bf3fSmrg	    q
50838b22bf3fSmrg	  }
50848b22bf3fSmrg	  s/.*/./; q'`
50858b22bf3fSmrg
50868b22bf3fSmrg# CDPATH.
50878b22bf3fSmrg$as_unset CDPATH
50888b22bf3fSmrg
50898b22bf3fSmrg
50908b22bf3fSmrg
50918b22bf3fSmrg  as_lineno_1=$LINENO
50928b22bf3fSmrg  as_lineno_2=$LINENO
50938b22bf3fSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
50948b22bf3fSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50958b22bf3fSmrg
50968b22bf3fSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50978b22bf3fSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
50988b22bf3fSmrg  # line-number line after each line using $LINENO; the second 'sed'
50998b22bf3fSmrg  # does the real work.  The second script uses 'N' to pair each
51008b22bf3fSmrg  # line-number line with the line containing $LINENO, and appends
51018b22bf3fSmrg  # trailing '-' during substitution so that $LINENO is not a special
51028b22bf3fSmrg  # case at line end.
51038b22bf3fSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51048b22bf3fSmrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
51058b22bf3fSmrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
51068b22bf3fSmrg  sed -n '
51078b22bf3fSmrg    p
51088b22bf3fSmrg    /[$]LINENO/=
51098b22bf3fSmrg  ' <$as_myself |
51108b22bf3fSmrg    sed '
51118b22bf3fSmrg      s/[$]LINENO.*/&-/
51128b22bf3fSmrg      t lineno
51138b22bf3fSmrg      b
51148b22bf3fSmrg      :lineno
51158b22bf3fSmrg      N
51168b22bf3fSmrg      :loop
51178b22bf3fSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51188b22bf3fSmrg      t loop
51198b22bf3fSmrg      s/-\n.*//
51208b22bf3fSmrg    ' >$as_me.lineno &&
51218b22bf3fSmrg  chmod +x "$as_me.lineno" ||
51228b22bf3fSmrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51238b22bf3fSmrg   { (exit 1); exit 1; }; }
51248b22bf3fSmrg
51258b22bf3fSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
51268b22bf3fSmrg  # (the dirname of $[0] is not the place where we might find the
51278b22bf3fSmrg  # original and so on.  Autoconf is especially sensitive to this).
51288b22bf3fSmrg  . "./$as_me.lineno"
51298b22bf3fSmrg  # Exit status is that of the last command.
51308b22bf3fSmrg  exit
51318b22bf3fSmrg}
51328b22bf3fSmrg
51338b22bf3fSmrg
51348b22bf3fSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51358b22bf3fSmrg  as_dirname=dirname
51368b22bf3fSmrgelse
51378b22bf3fSmrg  as_dirname=false
51388b22bf3fSmrgfi
51398b22bf3fSmrg
51408b22bf3fSmrgECHO_C= ECHO_N= ECHO_T=
51418b22bf3fSmrgcase `echo -n x` in
51428b22bf3fSmrg-n*)
51438b22bf3fSmrg  case `echo 'x\c'` in
51448b22bf3fSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
51458b22bf3fSmrg  *)   ECHO_C='\c';;
51468b22bf3fSmrg  esac;;
51478b22bf3fSmrg*)
51488b22bf3fSmrg  ECHO_N='-n';;
51498b22bf3fSmrgesac
51508b22bf3fSmrg
51518b22bf3fSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
51528b22bf3fSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
51538b22bf3fSmrg  as_expr=expr
51548b22bf3fSmrgelse
51558b22bf3fSmrg  as_expr=false
51568b22bf3fSmrgfi
51578b22bf3fSmrg
51588b22bf3fSmrgrm -f conf$$ conf$$.exe conf$$.file
51598b22bf3fSmrgif test -d conf$$.dir; then
51608b22bf3fSmrg  rm -f conf$$.dir/conf$$.file
51618b22bf3fSmrgelse
51628b22bf3fSmrg  rm -f conf$$.dir
51638b22bf3fSmrg  mkdir conf$$.dir
51648b22bf3fSmrgfi
51658b22bf3fSmrgecho >conf$$.file
51668b22bf3fSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then
51678b22bf3fSmrg  as_ln_s='ln -s'
51688b22bf3fSmrg  # ... but there are two gotchas:
51698b22bf3fSmrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51708b22bf3fSmrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51718b22bf3fSmrg  # In both cases, we have to default to `cp -p'.
51728b22bf3fSmrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51738b22bf3fSmrg    as_ln_s='cp -p'
51748b22bf3fSmrgelif ln conf$$.file conf$$ 2>/dev/null; then
51758b22bf3fSmrg  as_ln_s=ln
51768b22bf3fSmrgelse
51778b22bf3fSmrg  as_ln_s='cp -p'
51788b22bf3fSmrgfi
51798b22bf3fSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51808b22bf3fSmrgrmdir conf$$.dir 2>/dev/null
51818b22bf3fSmrg
51828b22bf3fSmrgif mkdir -p . 2>/dev/null; then
51838b22bf3fSmrg  as_mkdir_p=:
51848b22bf3fSmrgelse
51858b22bf3fSmrg  test -d ./-p && rmdir ./-p
51868b22bf3fSmrg  as_mkdir_p=false
51878b22bf3fSmrgfi
51888b22bf3fSmrg
51898b22bf3fSmrgif test -x / >/dev/null 2>&1; then
51908b22bf3fSmrg  as_test_x='test -x'
51918b22bf3fSmrgelse
51928b22bf3fSmrg  if ls -dL / >/dev/null 2>&1; then
51938b22bf3fSmrg    as_ls_L_option=L
51948b22bf3fSmrg  else
51958b22bf3fSmrg    as_ls_L_option=
51968b22bf3fSmrg  fi
51978b22bf3fSmrg  as_test_x='
51988b22bf3fSmrg    eval sh -c '\''
51998b22bf3fSmrg      if test -d "$1"; then
52008b22bf3fSmrg        test -d "$1/.";
52018b22bf3fSmrg      else
52028b22bf3fSmrg	case $1 in
52038b22bf3fSmrg        -*)set "./$1";;
52048b22bf3fSmrg	esac;
52058b22bf3fSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52068b22bf3fSmrg	???[sx]*):;;*)false;;esac;fi
52078b22bf3fSmrg    '\'' sh
52088b22bf3fSmrg  '
52098b22bf3fSmrgfi
52108b22bf3fSmrgas_executable_p=$as_test_x
52118b22bf3fSmrg
52128b22bf3fSmrg# Sed expression to map a string onto a valid CPP name.
52138b22bf3fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52148b22bf3fSmrg
52158b22bf3fSmrg# Sed expression to map a string onto a valid variable name.
52168b22bf3fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52178b22bf3fSmrg
52188b22bf3fSmrg
52198b22bf3fSmrgexec 6>&1
52208b22bf3fSmrg
52218b22bf3fSmrg# Save the log message, to keep $[0] and so on meaningful, and to
52228b22bf3fSmrg# report actual input values of CONFIG_FILES etc. instead of their
52238b22bf3fSmrg# values after options handling.
52248b22bf3fSmrgac_log="
52258b22bf3fSmrgThis file was extended by xrdb $as_me 1.0.4, which was
52268b22bf3fSmrggenerated by GNU Autoconf 2.61.  Invocation command line was
52278b22bf3fSmrg
52288b22bf3fSmrg  CONFIG_FILES    = $CONFIG_FILES
52298b22bf3fSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
52308b22bf3fSmrg  CONFIG_LINKS    = $CONFIG_LINKS
52318b22bf3fSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
52328b22bf3fSmrg  $ $0 $@
52338b22bf3fSmrg
52348b22bf3fSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
52358b22bf3fSmrg"
52368b22bf3fSmrg
52378b22bf3fSmrg_ACEOF
52388b22bf3fSmrg
52398b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
52408b22bf3fSmrg# Files that config.status was made for.
52418b22bf3fSmrgconfig_files="$ac_config_files"
52428b22bf3fSmrgconfig_headers="$ac_config_headers"
52438b22bf3fSmrgconfig_commands="$ac_config_commands"
52448b22bf3fSmrg
52458b22bf3fSmrg_ACEOF
52468b22bf3fSmrg
52478b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
52488b22bf3fSmrgac_cs_usage="\
52498b22bf3fSmrg\`$as_me' instantiates files from templates according to the
52508b22bf3fSmrgcurrent configuration.
52518b22bf3fSmrg
52528b22bf3fSmrgUsage: $0 [OPTIONS] [FILE]...
52538b22bf3fSmrg
52548b22bf3fSmrg  -h, --help       print this help, then exit
52558b22bf3fSmrg  -V, --version    print version number and configuration settings, then exit
52568b22bf3fSmrg  -q, --quiet      do not print progress messages
52578b22bf3fSmrg  -d, --debug      don't remove temporary files
52588b22bf3fSmrg      --recheck    update $as_me by reconfiguring in the same conditions
52598b22bf3fSmrg  --file=FILE[:TEMPLATE]
52608b22bf3fSmrg		   instantiate the configuration file FILE
52618b22bf3fSmrg  --header=FILE[:TEMPLATE]
52628b22bf3fSmrg		   instantiate the configuration header FILE
52638b22bf3fSmrg
52648b22bf3fSmrgConfiguration files:
52658b22bf3fSmrg$config_files
52668b22bf3fSmrg
52678b22bf3fSmrgConfiguration headers:
52688b22bf3fSmrg$config_headers
52698b22bf3fSmrg
52708b22bf3fSmrgConfiguration commands:
52718b22bf3fSmrg$config_commands
52728b22bf3fSmrg
52738b22bf3fSmrgReport bugs to <bug-autoconf@gnu.org>."
52748b22bf3fSmrg
52758b22bf3fSmrg_ACEOF
52768b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
52778b22bf3fSmrgac_cs_version="\\
52788b22bf3fSmrgxrdb config.status 1.0.4
52798b22bf3fSmrgconfigured by $0, generated by GNU Autoconf 2.61,
52808b22bf3fSmrg  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52818b22bf3fSmrg
52828b22bf3fSmrgCopyright (C) 2006 Free Software Foundation, Inc.
52838b22bf3fSmrgThis config.status script is free software; the Free Software Foundation
52848b22bf3fSmrggives unlimited permission to copy, distribute and modify it."
52858b22bf3fSmrg
52868b22bf3fSmrgac_pwd='$ac_pwd'
52878b22bf3fSmrgsrcdir='$srcdir'
52888b22bf3fSmrgINSTALL='$INSTALL'
52898b22bf3fSmrgMKDIR_P='$MKDIR_P'
52908b22bf3fSmrg_ACEOF
52918b22bf3fSmrg
52928b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
52938b22bf3fSmrg# If no file are specified by the user, then we need to provide default
52948b22bf3fSmrg# value.  By we need to know if files were specified by the user.
52958b22bf3fSmrgac_need_defaults=:
52968b22bf3fSmrgwhile test $# != 0
52978b22bf3fSmrgdo
52988b22bf3fSmrg  case $1 in
52998b22bf3fSmrg  --*=*)
53008b22bf3fSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
53018b22bf3fSmrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53028b22bf3fSmrg    ac_shift=:
53038b22bf3fSmrg    ;;
53048b22bf3fSmrg  *)
53058b22bf3fSmrg    ac_option=$1
53068b22bf3fSmrg    ac_optarg=$2
53078b22bf3fSmrg    ac_shift=shift
53088b22bf3fSmrg    ;;
53098b22bf3fSmrg  esac
53108b22bf3fSmrg
53118b22bf3fSmrg  case $ac_option in
53128b22bf3fSmrg  # Handling of the options.
53138b22bf3fSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53148b22bf3fSmrg    ac_cs_recheck=: ;;
53158b22bf3fSmrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53168b22bf3fSmrg    echo "$ac_cs_version"; exit ;;
53178b22bf3fSmrg  --debug | --debu | --deb | --de | --d | -d )
53188b22bf3fSmrg    debug=: ;;
53198b22bf3fSmrg  --file | --fil | --fi | --f )
53208b22bf3fSmrg    $ac_shift
53218b22bf3fSmrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53228b22bf3fSmrg    ac_need_defaults=false;;
53238b22bf3fSmrg  --header | --heade | --head | --hea )
53248b22bf3fSmrg    $ac_shift
53258b22bf3fSmrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53268b22bf3fSmrg    ac_need_defaults=false;;
53278b22bf3fSmrg  --he | --h)
53288b22bf3fSmrg    # Conflict between --help and --header
53298b22bf3fSmrg    { echo "$as_me: error: ambiguous option: $1
53308b22bf3fSmrgTry \`$0 --help' for more information." >&2
53318b22bf3fSmrg   { (exit 1); exit 1; }; };;
53328b22bf3fSmrg  --help | --hel | -h )
53338b22bf3fSmrg    echo "$ac_cs_usage"; exit ;;
53348b22bf3fSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53358b22bf3fSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
53368b22bf3fSmrg    ac_cs_silent=: ;;
53378b22bf3fSmrg
53388b22bf3fSmrg  # This is an error.
53398b22bf3fSmrg  -*) { echo "$as_me: error: unrecognized option: $1
53408b22bf3fSmrgTry \`$0 --help' for more information." >&2
53418b22bf3fSmrg   { (exit 1); exit 1; }; } ;;
53428b22bf3fSmrg
53438b22bf3fSmrg  *) ac_config_targets="$ac_config_targets $1"
53448b22bf3fSmrg     ac_need_defaults=false ;;
53458b22bf3fSmrg
53468b22bf3fSmrg  esac
53478b22bf3fSmrg  shift
53488b22bf3fSmrgdone
53498b22bf3fSmrg
53508b22bf3fSmrgac_configure_extra_args=
53518b22bf3fSmrg
53528b22bf3fSmrgif $ac_cs_silent; then
53538b22bf3fSmrg  exec 6>/dev/null
53548b22bf3fSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
53558b22bf3fSmrgfi
53568b22bf3fSmrg
53578b22bf3fSmrg_ACEOF
53588b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
53598b22bf3fSmrgif \$ac_cs_recheck; then
53608b22bf3fSmrg  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53618b22bf3fSmrg  CONFIG_SHELL=$SHELL
53628b22bf3fSmrg  export CONFIG_SHELL
53638b22bf3fSmrg  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53648b22bf3fSmrgfi
53658b22bf3fSmrg
53668b22bf3fSmrg_ACEOF
53678b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
53688b22bf3fSmrgexec 5>>config.log
53698b22bf3fSmrg{
53708b22bf3fSmrg  echo
53718b22bf3fSmrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53728b22bf3fSmrg## Running $as_me. ##
53738b22bf3fSmrg_ASBOX
53748b22bf3fSmrg  echo "$ac_log"
53758b22bf3fSmrg} >&5
53768b22bf3fSmrg
53778b22bf3fSmrg_ACEOF
53788b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
53798b22bf3fSmrg#
53808b22bf3fSmrg# INIT-COMMANDS
53818b22bf3fSmrg#
53828b22bf3fSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
53838b22bf3fSmrg
53848b22bf3fSmrg_ACEOF
53858b22bf3fSmrg
53868b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
53878b22bf3fSmrg
53888b22bf3fSmrg# Handling of arguments.
53898b22bf3fSmrgfor ac_config_target in $ac_config_targets
53908b22bf3fSmrgdo
53918b22bf3fSmrg  case $ac_config_target in
53928b22bf3fSmrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
53938b22bf3fSmrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
53948b22bf3fSmrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53958b22bf3fSmrg
53968b22bf3fSmrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53978b22bf3fSmrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
53988b22bf3fSmrg   { (exit 1); exit 1; }; };;
53998b22bf3fSmrg  esac
54008b22bf3fSmrgdone
54018b22bf3fSmrg
54028b22bf3fSmrg
54038b22bf3fSmrg# If the user did not use the arguments to specify the items to instantiate,
54048b22bf3fSmrg# then the envvar interface is used.  Set only those that are not.
54058b22bf3fSmrg# We use the long form for the default assignment because of an extremely
54068b22bf3fSmrg# bizarre bug on SunOS 4.1.3.
54078b22bf3fSmrgif $ac_need_defaults; then
54088b22bf3fSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54098b22bf3fSmrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54108b22bf3fSmrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54118b22bf3fSmrgfi
54128b22bf3fSmrg
54138b22bf3fSmrg# Have a temporary directory for convenience.  Make it in the build tree
54148b22bf3fSmrg# simply because there is no reason against having it here, and in addition,
54158b22bf3fSmrg# creating and moving files from /tmp can sometimes cause problems.
54168b22bf3fSmrg# Hook for its removal unless debugging.
54178b22bf3fSmrg# Note that there is a small window in which the directory will not be cleaned:
54188b22bf3fSmrg# after its creation but before its name has been assigned to `$tmp'.
54198b22bf3fSmrg$debug ||
54208b22bf3fSmrg{
54218b22bf3fSmrg  tmp=
54228b22bf3fSmrg  trap 'exit_status=$?
54238b22bf3fSmrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54248b22bf3fSmrg' 0
54258b22bf3fSmrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
54268b22bf3fSmrg}
54278b22bf3fSmrg# Create a (secure) tmp directory for tmp files.
54288b22bf3fSmrg
54298b22bf3fSmrg{
54308b22bf3fSmrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54318b22bf3fSmrg  test -n "$tmp" && test -d "$tmp"
54328b22bf3fSmrg}  ||
54338b22bf3fSmrg{
54348b22bf3fSmrg  tmp=./conf$$-$RANDOM
54358b22bf3fSmrg  (umask 077 && mkdir "$tmp")
54368b22bf3fSmrg} ||
54378b22bf3fSmrg{
54388b22bf3fSmrg   echo "$me: cannot create a temporary directory in ." >&2
54398b22bf3fSmrg   { (exit 1); exit 1; }
54408b22bf3fSmrg}
54418b22bf3fSmrg
54428b22bf3fSmrg#
54438b22bf3fSmrg# Set up the sed scripts for CONFIG_FILES section.
54448b22bf3fSmrg#
54458b22bf3fSmrg
54468b22bf3fSmrg# No need to generate the scripts if there are no CONFIG_FILES.
54478b22bf3fSmrg# This happens for instance when ./config.status config.h
54488b22bf3fSmrgif test -n "$CONFIG_FILES"; then
54498b22bf3fSmrg
54508b22bf3fSmrg_ACEOF
54518b22bf3fSmrg
54528b22bf3fSmrg
54538b22bf3fSmrg
54548b22bf3fSmrgac_delim='%!_!# '
54558b22bf3fSmrgfor ac_last_try in false false false false false :; do
54568b22bf3fSmrg  cat >conf$$subs.sed <<_ACEOF
54578b22bf3fSmrgSHELL!$SHELL$ac_delim
54588b22bf3fSmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54598b22bf3fSmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim
54608b22bf3fSmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54618b22bf3fSmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54628b22bf3fSmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim
54638b22bf3fSmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54648b22bf3fSmrgexec_prefix!$exec_prefix$ac_delim
54658b22bf3fSmrgprefix!$prefix$ac_delim
54668b22bf3fSmrgprogram_transform_name!$program_transform_name$ac_delim
54678b22bf3fSmrgbindir!$bindir$ac_delim
54688b22bf3fSmrgsbindir!$sbindir$ac_delim
54698b22bf3fSmrglibexecdir!$libexecdir$ac_delim
54708b22bf3fSmrgdatarootdir!$datarootdir$ac_delim
54718b22bf3fSmrgdatadir!$datadir$ac_delim
54728b22bf3fSmrgsysconfdir!$sysconfdir$ac_delim
54738b22bf3fSmrgsharedstatedir!$sharedstatedir$ac_delim
54748b22bf3fSmrglocalstatedir!$localstatedir$ac_delim
54758b22bf3fSmrgincludedir!$includedir$ac_delim
54768b22bf3fSmrgoldincludedir!$oldincludedir$ac_delim
54778b22bf3fSmrgdocdir!$docdir$ac_delim
54788b22bf3fSmrginfodir!$infodir$ac_delim
54798b22bf3fSmrghtmldir!$htmldir$ac_delim
54808b22bf3fSmrgdvidir!$dvidir$ac_delim
54818b22bf3fSmrgpdfdir!$pdfdir$ac_delim
54828b22bf3fSmrgpsdir!$psdir$ac_delim
54838b22bf3fSmrglibdir!$libdir$ac_delim
54848b22bf3fSmrglocaledir!$localedir$ac_delim
54858b22bf3fSmrgmandir!$mandir$ac_delim
54868b22bf3fSmrgDEFS!$DEFS$ac_delim
54878b22bf3fSmrgECHO_C!$ECHO_C$ac_delim
54888b22bf3fSmrgECHO_N!$ECHO_N$ac_delim
54898b22bf3fSmrgECHO_T!$ECHO_T$ac_delim
54908b22bf3fSmrgLIBS!$LIBS$ac_delim
54918b22bf3fSmrgbuild_alias!$build_alias$ac_delim
54928b22bf3fSmrghost_alias!$host_alias$ac_delim
54938b22bf3fSmrgtarget_alias!$target_alias$ac_delim
54948b22bf3fSmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54958b22bf3fSmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54968b22bf3fSmrgINSTALL_DATA!$INSTALL_DATA$ac_delim
54978b22bf3fSmrgam__isrc!$am__isrc$ac_delim
54988b22bf3fSmrgCYGPATH_W!$CYGPATH_W$ac_delim
54998b22bf3fSmrgPACKAGE!$PACKAGE$ac_delim
55008b22bf3fSmrgVERSION!$VERSION$ac_delim
55018b22bf3fSmrgACLOCAL!$ACLOCAL$ac_delim
55028b22bf3fSmrgAUTOCONF!$AUTOCONF$ac_delim
55038b22bf3fSmrgAUTOMAKE!$AUTOMAKE$ac_delim
55048b22bf3fSmrgAUTOHEADER!$AUTOHEADER$ac_delim
55058b22bf3fSmrgMAKEINFO!$MAKEINFO$ac_delim
55068b22bf3fSmrginstall_sh!$install_sh$ac_delim
55078b22bf3fSmrgSTRIP!$STRIP$ac_delim
55088b22bf3fSmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
55098b22bf3fSmrgmkdir_p!$mkdir_p$ac_delim
55108b22bf3fSmrgAWK!$AWK$ac_delim
55118b22bf3fSmrgSET_MAKE!$SET_MAKE$ac_delim
55128b22bf3fSmrgam__leading_dot!$am__leading_dot$ac_delim
55138b22bf3fSmrgAMTAR!$AMTAR$ac_delim
55148b22bf3fSmrgam__tar!$am__tar$ac_delim
55158b22bf3fSmrgam__untar!$am__untar$ac_delim
55168b22bf3fSmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
55178b22bf3fSmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
55188b22bf3fSmrgMAINT!$MAINT$ac_delim
55198b22bf3fSmrgCC!$CC$ac_delim
55208b22bf3fSmrgCFLAGS!$CFLAGS$ac_delim
55218b22bf3fSmrgLDFLAGS!$LDFLAGS$ac_delim
55228b22bf3fSmrgCPPFLAGS!$CPPFLAGS$ac_delim
55238b22bf3fSmrgac_ct_CC!$ac_ct_CC$ac_delim
55248b22bf3fSmrgEXEEXT!$EXEEXT$ac_delim
55258b22bf3fSmrgOBJEXT!$OBJEXT$ac_delim
55268b22bf3fSmrgDEPDIR!$DEPDIR$ac_delim
55278b22bf3fSmrgam__include!$am__include$ac_delim
55288b22bf3fSmrgam__quote!$am__quote$ac_delim
55298b22bf3fSmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim
55308b22bf3fSmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim
55318b22bf3fSmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
55328b22bf3fSmrgCCDEPMODE!$CCDEPMODE$ac_delim
55338b22bf3fSmrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
55348b22bf3fSmrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
55358b22bf3fSmrgCPP!$CPP$ac_delim
55368b22bf3fSmrgGREP!$GREP$ac_delim
55378b22bf3fSmrgEGREP!$EGREP$ac_delim
55388b22bf3fSmrgCPP_PATH!$CPP_PATH$ac_delim
55398b22bf3fSmrgPKG_CONFIG!$PKG_CONFIG$ac_delim
55408b22bf3fSmrgXRDB_CFLAGS!$XRDB_CFLAGS$ac_delim
55418b22bf3fSmrgXRDB_LIBS!$XRDB_LIBS$ac_delim
55428b22bf3fSmrgbuild!$build$ac_delim
55438b22bf3fSmrgbuild_cpu!$build_cpu$ac_delim
55448b22bf3fSmrgbuild_vendor!$build_vendor$ac_delim
55458b22bf3fSmrgbuild_os!$build_os$ac_delim
55468b22bf3fSmrghost!$host$ac_delim
55478b22bf3fSmrghost_cpu!$host_cpu$ac_delim
55488b22bf3fSmrghost_vendor!$host_vendor$ac_delim
55498b22bf3fSmrghost_os!$host_os$ac_delim
55508b22bf3fSmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
55518b22bf3fSmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
55528b22bf3fSmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
55538b22bf3fSmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
55548b22bf3fSmrg_ACEOF
55558b22bf3fSmrg
55568b22bf3fSmrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55578b22bf3fSmrg    break
55588b22bf3fSmrg  elif $ac_last_try; then
55598b22bf3fSmrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55608b22bf3fSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55618b22bf3fSmrg   { (exit 1); exit 1; }; }
55628b22bf3fSmrg  else
55638b22bf3fSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55648b22bf3fSmrg  fi
55658b22bf3fSmrgdone
55668b22bf3fSmrg
55678b22bf3fSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55688b22bf3fSmrgif test -n "$ac_eof"; then
55698b22bf3fSmrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55708b22bf3fSmrg  ac_eof=`expr $ac_eof + 1`
55718b22bf3fSmrgfi
55728b22bf3fSmrg
55738b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
55748b22bf3fSmrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
55758b22bf3fSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55768b22bf3fSmrg_ACEOF
55778b22bf3fSmrgsed '
55788b22bf3fSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55798b22bf3fSmrgs/^/s,@/; s/!/@,|#_!!_#|/
55808b22bf3fSmrg:n
55818b22bf3fSmrgt n
55828b22bf3fSmrgs/'"$ac_delim"'$/,g/; t
55838b22bf3fSmrgs/$/\\/; p
55848b22bf3fSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55858b22bf3fSmrg' >>$CONFIG_STATUS <conf$$subs.sed
55868b22bf3fSmrgrm -f conf$$subs.sed
55878b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
55888b22bf3fSmrgCEOF$ac_eof
55898b22bf3fSmrg_ACEOF
55908b22bf3fSmrg
55918b22bf3fSmrg
55928b22bf3fSmrgac_delim='%!_!# '
55938b22bf3fSmrgfor ac_last_try in false false false false false :; do
55948b22bf3fSmrg  cat >conf$$subs.sed <<_ACEOF
55958b22bf3fSmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
55968b22bf3fSmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
55978b22bf3fSmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim
55988b22bf3fSmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
55998b22bf3fSmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
56008b22bf3fSmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
56018b22bf3fSmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
56028b22bf3fSmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
56038b22bf3fSmrgLIBOBJS!$LIBOBJS$ac_delim
56048b22bf3fSmrgLTLIBOBJS!$LTLIBOBJS$ac_delim
56058b22bf3fSmrg_ACEOF
56068b22bf3fSmrg
56078b22bf3fSmrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
56088b22bf3fSmrg    break
56098b22bf3fSmrg  elif $ac_last_try; then
56108b22bf3fSmrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56118b22bf3fSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56128b22bf3fSmrg   { (exit 1); exit 1; }; }
56138b22bf3fSmrg  else
56148b22bf3fSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56158b22bf3fSmrg  fi
56168b22bf3fSmrgdone
56178b22bf3fSmrg
56188b22bf3fSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56198b22bf3fSmrgif test -n "$ac_eof"; then
56208b22bf3fSmrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56218b22bf3fSmrg  ac_eof=`expr $ac_eof + 1`
56228b22bf3fSmrgfi
56238b22bf3fSmrg
56248b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
56258b22bf3fSmrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56268b22bf3fSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
56278b22bf3fSmrg_ACEOF
56288b22bf3fSmrgsed '
56298b22bf3fSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56308b22bf3fSmrgs/^/s,@/; s/!/@,|#_!!_#|/
56318b22bf3fSmrg:n
56328b22bf3fSmrgt n
56338b22bf3fSmrgs/'"$ac_delim"'$/,g/; t
56348b22bf3fSmrgs/$/\\/; p
56358b22bf3fSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56368b22bf3fSmrg' >>$CONFIG_STATUS <conf$$subs.sed
56378b22bf3fSmrgrm -f conf$$subs.sed
56388b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
56398b22bf3fSmrg:end
56408b22bf3fSmrgs/|#_!!_#|//g
56418b22bf3fSmrgCEOF$ac_eof
56428b22bf3fSmrg_ACEOF
56438b22bf3fSmrg
56448b22bf3fSmrg
56458b22bf3fSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
56468b22bf3fSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
56478b22bf3fSmrg# trailing colons and then remove the whole line if VPATH becomes empty
56488b22bf3fSmrg# (actually we leave an empty line to preserve line numbers).
56498b22bf3fSmrgif test "x$srcdir" = x.; then
56508b22bf3fSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
56518b22bf3fSmrgs/:*\$(srcdir):*/:/
56528b22bf3fSmrgs/:*\${srcdir}:*/:/
56538b22bf3fSmrgs/:*@srcdir@:*/:/
56548b22bf3fSmrgs/^\([^=]*=[	 ]*\):*/\1/
56558b22bf3fSmrgs/:*$//
56568b22bf3fSmrgs/^[^=]*=[	 ]*$//
56578b22bf3fSmrg}'
56588b22bf3fSmrgfi
56598b22bf3fSmrg
56608b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
56618b22bf3fSmrgfi # test -n "$CONFIG_FILES"
56628b22bf3fSmrg
56638b22bf3fSmrg
56648b22bf3fSmrgfor ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
56658b22bf3fSmrgdo
56668b22bf3fSmrg  case $ac_tag in
56678b22bf3fSmrg  :[FHLC]) ac_mode=$ac_tag; continue;;
56688b22bf3fSmrg  esac
56698b22bf3fSmrg  case $ac_mode$ac_tag in
56708b22bf3fSmrg  :[FHL]*:*);;
56718b22bf3fSmrg  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
56728b22bf3fSmrgecho "$as_me: error: Invalid tag $ac_tag." >&2;}
56738b22bf3fSmrg   { (exit 1); exit 1; }; };;
56748b22bf3fSmrg  :[FH]-) ac_tag=-:-;;
56758b22bf3fSmrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
56768b22bf3fSmrg  esac
56778b22bf3fSmrg  ac_save_IFS=$IFS
56788b22bf3fSmrg  IFS=:
56798b22bf3fSmrg  set x $ac_tag
56808b22bf3fSmrg  IFS=$ac_save_IFS
56818b22bf3fSmrg  shift
56828b22bf3fSmrg  ac_file=$1
56838b22bf3fSmrg  shift
56848b22bf3fSmrg
56858b22bf3fSmrg  case $ac_mode in
56868b22bf3fSmrg  :L) ac_source=$1;;
56878b22bf3fSmrg  :[FH])
56888b22bf3fSmrg    ac_file_inputs=
56898b22bf3fSmrg    for ac_f
56908b22bf3fSmrg    do
56918b22bf3fSmrg      case $ac_f in
56928b22bf3fSmrg      -) ac_f="$tmp/stdin";;
56938b22bf3fSmrg      *) # Look for the file first in the build tree, then in the source tree
56948b22bf3fSmrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
56958b22bf3fSmrg	 # because $ac_f cannot contain `:'.
56968b22bf3fSmrg	 test -f "$ac_f" ||
56978b22bf3fSmrg	   case $ac_f in
56988b22bf3fSmrg	   [\\/$]*) false;;
56998b22bf3fSmrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57008b22bf3fSmrg	   esac ||
57018b22bf3fSmrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57028b22bf3fSmrgecho "$as_me: error: cannot find input file: $ac_f" >&2;}
57038b22bf3fSmrg   { (exit 1); exit 1; }; };;
57048b22bf3fSmrg      esac
57058b22bf3fSmrg      ac_file_inputs="$ac_file_inputs $ac_f"
57068b22bf3fSmrg    done
57078b22bf3fSmrg
57088b22bf3fSmrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
57098b22bf3fSmrg    # use $as_me), people would be surprised to read:
57108b22bf3fSmrg    #    /* config.h.  Generated by config.status.  */
57118b22bf3fSmrg    configure_input="Generated from "`IFS=:
57128b22bf3fSmrg	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57138b22bf3fSmrg    if test x"$ac_file" != x-; then
57148b22bf3fSmrg      configure_input="$ac_file.  $configure_input"
57158b22bf3fSmrg      { echo "$as_me:$LINENO: creating $ac_file" >&5
57168b22bf3fSmrgecho "$as_me: creating $ac_file" >&6;}
57178b22bf3fSmrg    fi
57188b22bf3fSmrg
57198b22bf3fSmrg    case $ac_tag in
57208b22bf3fSmrg    *:-:* | *:-) cat >"$tmp/stdin";;
57218b22bf3fSmrg    esac
57228b22bf3fSmrg    ;;
57238b22bf3fSmrg  esac
57248b22bf3fSmrg
57258b22bf3fSmrg  ac_dir=`$as_dirname -- "$ac_file" ||
57268b22bf3fSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57278b22bf3fSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
57288b22bf3fSmrg	 X"$ac_file" : 'X\(//\)$' \| \
57298b22bf3fSmrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57308b22bf3fSmrgecho X"$ac_file" |
57318b22bf3fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57328b22bf3fSmrg	    s//\1/
57338b22bf3fSmrg	    q
57348b22bf3fSmrg	  }
57358b22bf3fSmrg	  /^X\(\/\/\)[^/].*/{
57368b22bf3fSmrg	    s//\1/
57378b22bf3fSmrg	    q
57388b22bf3fSmrg	  }
57398b22bf3fSmrg	  /^X\(\/\/\)$/{
57408b22bf3fSmrg	    s//\1/
57418b22bf3fSmrg	    q
57428b22bf3fSmrg	  }
57438b22bf3fSmrg	  /^X\(\/\).*/{
57448b22bf3fSmrg	    s//\1/
57458b22bf3fSmrg	    q
57468b22bf3fSmrg	  }
57478b22bf3fSmrg	  s/.*/./; q'`
57488b22bf3fSmrg  { as_dir="$ac_dir"
57498b22bf3fSmrg  case $as_dir in #(
57508b22bf3fSmrg  -*) as_dir=./$as_dir;;
57518b22bf3fSmrg  esac
57528b22bf3fSmrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57538b22bf3fSmrg    as_dirs=
57548b22bf3fSmrg    while :; do
57558b22bf3fSmrg      case $as_dir in #(
57568b22bf3fSmrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57578b22bf3fSmrg      *) as_qdir=$as_dir;;
57588b22bf3fSmrg      esac
57598b22bf3fSmrg      as_dirs="'$as_qdir' $as_dirs"
57608b22bf3fSmrg      as_dir=`$as_dirname -- "$as_dir" ||
57618b22bf3fSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57628b22bf3fSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
57638b22bf3fSmrg	 X"$as_dir" : 'X\(//\)$' \| \
57648b22bf3fSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57658b22bf3fSmrgecho X"$as_dir" |
57668b22bf3fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57678b22bf3fSmrg	    s//\1/
57688b22bf3fSmrg	    q
57698b22bf3fSmrg	  }
57708b22bf3fSmrg	  /^X\(\/\/\)[^/].*/{
57718b22bf3fSmrg	    s//\1/
57728b22bf3fSmrg	    q
57738b22bf3fSmrg	  }
57748b22bf3fSmrg	  /^X\(\/\/\)$/{
57758b22bf3fSmrg	    s//\1/
57768b22bf3fSmrg	    q
57778b22bf3fSmrg	  }
57788b22bf3fSmrg	  /^X\(\/\).*/{
57798b22bf3fSmrg	    s//\1/
57808b22bf3fSmrg	    q
57818b22bf3fSmrg	  }
57828b22bf3fSmrg	  s/.*/./; q'`
57838b22bf3fSmrg      test -d "$as_dir" && break
57848b22bf3fSmrg    done
57858b22bf3fSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
57868b22bf3fSmrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57878b22bf3fSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
57888b22bf3fSmrg   { (exit 1); exit 1; }; }; }
57898b22bf3fSmrg  ac_builddir=.
57908b22bf3fSmrg
57918b22bf3fSmrgcase "$ac_dir" in
57928b22bf3fSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57938b22bf3fSmrg*)
57948b22bf3fSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57958b22bf3fSmrg  # A ".." for each directory in $ac_dir_suffix.
57968b22bf3fSmrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57978b22bf3fSmrg  case $ac_top_builddir_sub in
57988b22bf3fSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57998b22bf3fSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
58008b22bf3fSmrg  esac ;;
58018b22bf3fSmrgesac
58028b22bf3fSmrgac_abs_top_builddir=$ac_pwd
58038b22bf3fSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
58048b22bf3fSmrg# for backward compatibility:
58058b22bf3fSmrgac_top_builddir=$ac_top_build_prefix
58068b22bf3fSmrg
58078b22bf3fSmrgcase $srcdir in
58088b22bf3fSmrg  .)  # We are building in place.
58098b22bf3fSmrg    ac_srcdir=.
58108b22bf3fSmrg    ac_top_srcdir=$ac_top_builddir_sub
58118b22bf3fSmrg    ac_abs_top_srcdir=$ac_pwd ;;
58128b22bf3fSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
58138b22bf3fSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
58148b22bf3fSmrg    ac_top_srcdir=$srcdir
58158b22bf3fSmrg    ac_abs_top_srcdir=$srcdir ;;
58168b22bf3fSmrg  *) # Relative name.
58178b22bf3fSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
58188b22bf3fSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
58198b22bf3fSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
58208b22bf3fSmrgesac
58218b22bf3fSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
58228b22bf3fSmrg
58238b22bf3fSmrg
58248b22bf3fSmrg  case $ac_mode in
58258b22bf3fSmrg  :F)
58268b22bf3fSmrg  #
58278b22bf3fSmrg  # CONFIG_FILE
58288b22bf3fSmrg  #
58298b22bf3fSmrg
58308b22bf3fSmrg  case $INSTALL in
58318b22bf3fSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
58328b22bf3fSmrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
58338b22bf3fSmrg  esac
58348b22bf3fSmrg  ac_MKDIR_P=$MKDIR_P
58358b22bf3fSmrg  case $MKDIR_P in
58368b22bf3fSmrg  [\\/$]* | ?:[\\/]* ) ;;
58378b22bf3fSmrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
58388b22bf3fSmrg  esac
58398b22bf3fSmrg_ACEOF
58408b22bf3fSmrg
58418b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
58428b22bf3fSmrg# If the template does not know about datarootdir, expand it.
58438b22bf3fSmrg# FIXME: This hack should be removed a few years after 2.60.
58448b22bf3fSmrgac_datarootdir_hack=; ac_datarootdir_seen=
58458b22bf3fSmrg
58468b22bf3fSmrgcase `sed -n '/datarootdir/ {
58478b22bf3fSmrg  p
58488b22bf3fSmrg  q
58498b22bf3fSmrg}
58508b22bf3fSmrg/@datadir@/p
58518b22bf3fSmrg/@docdir@/p
58528b22bf3fSmrg/@infodir@/p
58538b22bf3fSmrg/@localedir@/p
58548b22bf3fSmrg/@mandir@/p
58558b22bf3fSmrg' $ac_file_inputs` in
58568b22bf3fSmrg*datarootdir*) ac_datarootdir_seen=yes;;
58578b22bf3fSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
58588b22bf3fSmrg  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
58598b22bf3fSmrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
58608b22bf3fSmrg_ACEOF
58618b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
58628b22bf3fSmrg  ac_datarootdir_hack='
58638b22bf3fSmrg  s&@datadir@&$datadir&g
58648b22bf3fSmrg  s&@docdir@&$docdir&g
58658b22bf3fSmrg  s&@infodir@&$infodir&g
58668b22bf3fSmrg  s&@localedir@&$localedir&g
58678b22bf3fSmrg  s&@mandir@&$mandir&g
58688b22bf3fSmrg    s&\\\${datarootdir}&$datarootdir&g' ;;
58698b22bf3fSmrgesac
58708b22bf3fSmrg_ACEOF
58718b22bf3fSmrg
58728b22bf3fSmrg# Neutralize VPATH when `$srcdir' = `.'.
58738b22bf3fSmrg# Shell code in configure.ac might set extrasub.
58748b22bf3fSmrg# FIXME: do we really want to maintain this feature?
58758b22bf3fSmrgcat >>$CONFIG_STATUS <<_ACEOF
58768b22bf3fSmrg  sed "$ac_vpsub
58778b22bf3fSmrg$extrasub
58788b22bf3fSmrg_ACEOF
58798b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
58808b22bf3fSmrg:t
58818b22bf3fSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58828b22bf3fSmrgs&@configure_input@&$configure_input&;t t
58838b22bf3fSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t
58848b22bf3fSmrgs&@srcdir@&$ac_srcdir&;t t
58858b22bf3fSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
58868b22bf3fSmrgs&@top_srcdir@&$ac_top_srcdir&;t t
58878b22bf3fSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
58888b22bf3fSmrgs&@builddir@&$ac_builddir&;t t
58898b22bf3fSmrgs&@abs_builddir@&$ac_abs_builddir&;t t
58908b22bf3fSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
58918b22bf3fSmrgs&@INSTALL@&$ac_INSTALL&;t t
58928b22bf3fSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
58938b22bf3fSmrg$ac_datarootdir_hack
58948b22bf3fSmrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
58958b22bf3fSmrg
58968b22bf3fSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
58978b22bf3fSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
58988b22bf3fSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
58998b22bf3fSmrg  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
59008b22bf3fSmrgwhich seems to be undefined.  Please make sure it is defined." >&5
59018b22bf3fSmrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
59028b22bf3fSmrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
59038b22bf3fSmrg
59048b22bf3fSmrg  rm -f "$tmp/stdin"
59058b22bf3fSmrg  case $ac_file in
59068b22bf3fSmrg  -) cat "$tmp/out"; rm -f "$tmp/out";;
59078b22bf3fSmrg  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
59088b22bf3fSmrg  esac
59098b22bf3fSmrg ;;
59108b22bf3fSmrg  :H)
59118b22bf3fSmrg  #
59128b22bf3fSmrg  # CONFIG_HEADER
59138b22bf3fSmrg  #
59148b22bf3fSmrg_ACEOF
59158b22bf3fSmrg
59168b22bf3fSmrg# Transform confdefs.h into a sed script `conftest.defines', that
59178b22bf3fSmrg# substitutes the proper values into config.h.in to produce config.h.
59188b22bf3fSmrgrm -f conftest.defines conftest.tail
59198b22bf3fSmrg# First, append a space to every undef/define line, to ease matching.
59208b22bf3fSmrgecho 's/$/ /' >conftest.defines
59218b22bf3fSmrg# Then, protect against being on the right side of a sed subst, or in
59228b22bf3fSmrg# an unquoted here document, in config.status.  If some macros were
59238b22bf3fSmrg# called several times there might be several #defines for the same
59248b22bf3fSmrg# symbol, which is useless.  But do not sort them, since the last
59258b22bf3fSmrg# AC_DEFINE must be honored.
59268b22bf3fSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
59278b22bf3fSmrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
59288b22bf3fSmrg# NAME is the cpp macro being defined, VALUE is the value it is being given.
59298b22bf3fSmrg# PARAMS is the parameter list in the macro definition--in most cases, it's
59308b22bf3fSmrg# just an empty string.
59318b22bf3fSmrgac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
59328b22bf3fSmrgac_dB='\\)[	 (].*,\\1define\\2'
59338b22bf3fSmrgac_dC=' '
59348b22bf3fSmrgac_dD=' ,'
59358b22bf3fSmrg
59368b22bf3fSmrguniq confdefs.h |
59378b22bf3fSmrg  sed -n '
59388b22bf3fSmrg	t rset
59398b22bf3fSmrg	:rset
59408b22bf3fSmrg	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
59418b22bf3fSmrg	t ok
59428b22bf3fSmrg	d
59438b22bf3fSmrg	:ok
59448b22bf3fSmrg	s/[\\&,]/\\&/g
59458b22bf3fSmrg	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
59468b22bf3fSmrg	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
59478b22bf3fSmrg  ' >>conftest.defines
59488b22bf3fSmrg
59498b22bf3fSmrg# Remove the space that was appended to ease matching.
59508b22bf3fSmrg# Then replace #undef with comments.  This is necessary, for
59518b22bf3fSmrg# example, in the case of _POSIX_SOURCE, which is predefined and required
59528b22bf3fSmrg# on some systems where configure will not decide to define it.
59538b22bf3fSmrg# (The regexp can be short, since the line contains either #define or #undef.)
59548b22bf3fSmrgecho 's/ $//
59558b22bf3fSmrgs,^[	 #]*u.*,/* & */,' >>conftest.defines
59568b22bf3fSmrg
59578b22bf3fSmrg# Break up conftest.defines:
59588b22bf3fSmrgac_max_sed_lines=50
59598b22bf3fSmrg
59608b22bf3fSmrg# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
59618b22bf3fSmrg# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
59628b22bf3fSmrg# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
59638b22bf3fSmrg# et cetera.
59648b22bf3fSmrgac_in='$ac_file_inputs'
59658b22bf3fSmrgac_out='"$tmp/out1"'
59668b22bf3fSmrgac_nxt='"$tmp/out2"'
59678b22bf3fSmrg
59688b22bf3fSmrgwhile :
59698b22bf3fSmrgdo
59708b22bf3fSmrg  # Write a here document:
59718b22bf3fSmrg    cat >>$CONFIG_STATUS <<_ACEOF
59728b22bf3fSmrg    # First, check the format of the line:
59738b22bf3fSmrg    cat >"\$tmp/defines.sed" <<\\CEOF
59748b22bf3fSmrg/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
59758b22bf3fSmrg/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
59768b22bf3fSmrgb
59778b22bf3fSmrg:def
59788b22bf3fSmrg_ACEOF
59798b22bf3fSmrg  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
59808b22bf3fSmrg  echo 'CEOF
59818b22bf3fSmrg    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
59828b22bf3fSmrg  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
59838b22bf3fSmrg  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
59848b22bf3fSmrg  grep . conftest.tail >/dev/null || break
59858b22bf3fSmrg  rm -f conftest.defines
59868b22bf3fSmrg  mv conftest.tail conftest.defines
59878b22bf3fSmrgdone
59888b22bf3fSmrgrm -f conftest.defines conftest.tail
59898b22bf3fSmrg
59908b22bf3fSmrgecho "ac_result=$ac_in" >>$CONFIG_STATUS
59918b22bf3fSmrgcat >>$CONFIG_STATUS <<\_ACEOF
59928b22bf3fSmrg  if test x"$ac_file" != x-; then
59938b22bf3fSmrg    echo "/* $configure_input  */" >"$tmp/config.h"
59948b22bf3fSmrg    cat "$ac_result" >>"$tmp/config.h"
59958b22bf3fSmrg    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
59968b22bf3fSmrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
59978b22bf3fSmrgecho "$as_me: $ac_file is unchanged" >&6;}
59988b22bf3fSmrg    else
59998b22bf3fSmrg      rm -f $ac_file
60008b22bf3fSmrg      mv "$tmp/config.h" $ac_file
60018b22bf3fSmrg    fi
60028b22bf3fSmrg  else
60038b22bf3fSmrg    echo "/* $configure_input  */"
60048b22bf3fSmrg    cat "$ac_result"
60058b22bf3fSmrg  fi
60068b22bf3fSmrg  rm -f "$tmp/out12"
60078b22bf3fSmrg# Compute $ac_file's index in $config_headers.
60088b22bf3fSmrg_am_stamp_count=1
60098b22bf3fSmrgfor _am_header in $config_headers :; do
60108b22bf3fSmrg  case $_am_header in
60118b22bf3fSmrg    $ac_file | $ac_file:* )
60128b22bf3fSmrg      break ;;
60138b22bf3fSmrg    * )
60148b22bf3fSmrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60158b22bf3fSmrg  esac
60168b22bf3fSmrgdone
60178b22bf3fSmrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
60188b22bf3fSmrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60198b22bf3fSmrg	 X$ac_file : 'X\(//\)[^/]' \| \
60208b22bf3fSmrg	 X$ac_file : 'X\(//\)$' \| \
60218b22bf3fSmrg	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
60228b22bf3fSmrgecho X$ac_file |
60238b22bf3fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60248b22bf3fSmrg	    s//\1/
60258b22bf3fSmrg	    q
60268b22bf3fSmrg	  }
60278b22bf3fSmrg	  /^X\(\/\/\)[^/].*/{
60288b22bf3fSmrg	    s//\1/
60298b22bf3fSmrg	    q
60308b22bf3fSmrg	  }
60318b22bf3fSmrg	  /^X\(\/\/\)$/{
60328b22bf3fSmrg	    s//\1/
60338b22bf3fSmrg	    q
60348b22bf3fSmrg	  }
60358b22bf3fSmrg	  /^X\(\/\).*/{
60368b22bf3fSmrg	    s//\1/
60378b22bf3fSmrg	    q
60388b22bf3fSmrg	  }
60398b22bf3fSmrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
60408b22bf3fSmrg ;;
60418b22bf3fSmrg
60428b22bf3fSmrg  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
60438b22bf3fSmrgecho "$as_me: executing $ac_file commands" >&6;}
60448b22bf3fSmrg ;;
60458b22bf3fSmrg  esac
60468b22bf3fSmrg
60478b22bf3fSmrg
60488b22bf3fSmrg  case $ac_file$ac_mode in
60498b22bf3fSmrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
60508b22bf3fSmrg  # Strip MF so we end up with the name of the file.
60518b22bf3fSmrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
60528b22bf3fSmrg  # Check whether this is an Automake generated Makefile or not.
60538b22bf3fSmrg  # We used to match only the files named `Makefile.in', but
60548b22bf3fSmrg  # some people rename them; so instead we look at the file content.
60558b22bf3fSmrg  # Grep'ing the first line is not enough: some people post-process
60568b22bf3fSmrg  # each Makefile.in and add a new line on top of each file to say so.
60578b22bf3fSmrg  # Grep'ing the whole file is not good either: AIX grep has a line
60588b22bf3fSmrg  # limit of 2048, but all sed's we know have understand at least 4000.
60598b22bf3fSmrg  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
60608b22bf3fSmrg    dirpart=`$as_dirname -- "$mf" ||
60618b22bf3fSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60628b22bf3fSmrg	 X"$mf" : 'X\(//\)[^/]' \| \
60638b22bf3fSmrg	 X"$mf" : 'X\(//\)$' \| \
60648b22bf3fSmrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
60658b22bf3fSmrgecho X"$mf" |
60668b22bf3fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60678b22bf3fSmrg	    s//\1/
60688b22bf3fSmrg	    q
60698b22bf3fSmrg	  }
60708b22bf3fSmrg	  /^X\(\/\/\)[^/].*/{
60718b22bf3fSmrg	    s//\1/
60728b22bf3fSmrg	    q
60738b22bf3fSmrg	  }
60748b22bf3fSmrg	  /^X\(\/\/\)$/{
60758b22bf3fSmrg	    s//\1/
60768b22bf3fSmrg	    q
60778b22bf3fSmrg	  }
60788b22bf3fSmrg	  /^X\(\/\).*/{
60798b22bf3fSmrg	    s//\1/
60808b22bf3fSmrg	    q
60818b22bf3fSmrg	  }
60828b22bf3fSmrg	  s/.*/./; q'`
60838b22bf3fSmrg  else
60848b22bf3fSmrg    continue
60858b22bf3fSmrg  fi
60868b22bf3fSmrg  # Extract the definition of DEPDIR, am__include, and am__quote
60878b22bf3fSmrg  # from the Makefile without running `make'.
60888b22bf3fSmrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
60898b22bf3fSmrg  test -z "$DEPDIR" && continue
60908b22bf3fSmrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
60918b22bf3fSmrg  test -z "am__include" && continue
60928b22bf3fSmrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
60938b22bf3fSmrg  # When using ansi2knr, U may be empty or an underscore; expand it
60948b22bf3fSmrg  U=`sed -n 's/^U = //p' < "$mf"`
60958b22bf3fSmrg  # Find all dependency output files, they are included files with
60968b22bf3fSmrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
60978b22bf3fSmrg  # simplest approach to changing $(DEPDIR) to its actual value in the
60988b22bf3fSmrg  # expansion.
60998b22bf3fSmrg  for file in `sed -n "
61008b22bf3fSmrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
61018b22bf3fSmrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
61028b22bf3fSmrg    # Make sure the directory exists.
61038b22bf3fSmrg    test -f "$dirpart/$file" && continue
61048b22bf3fSmrg    fdir=`$as_dirname -- "$file" ||
61058b22bf3fSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61068b22bf3fSmrg	 X"$file" : 'X\(//\)[^/]' \| \
61078b22bf3fSmrg	 X"$file" : 'X\(//\)$' \| \
61088b22bf3fSmrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
61098b22bf3fSmrgecho X"$file" |
61108b22bf3fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61118b22bf3fSmrg	    s//\1/
61128b22bf3fSmrg	    q
61138b22bf3fSmrg	  }
61148b22bf3fSmrg	  /^X\(\/\/\)[^/].*/{
61158b22bf3fSmrg	    s//\1/
61168b22bf3fSmrg	    q
61178b22bf3fSmrg	  }
61188b22bf3fSmrg	  /^X\(\/\/\)$/{
61198b22bf3fSmrg	    s//\1/
61208b22bf3fSmrg	    q
61218b22bf3fSmrg	  }
61228b22bf3fSmrg	  /^X\(\/\).*/{
61238b22bf3fSmrg	    s//\1/
61248b22bf3fSmrg	    q
61258b22bf3fSmrg	  }
61268b22bf3fSmrg	  s/.*/./; q'`
61278b22bf3fSmrg    { as_dir=$dirpart/$fdir
61288b22bf3fSmrg  case $as_dir in #(
61298b22bf3fSmrg  -*) as_dir=./$as_dir;;
61308b22bf3fSmrg  esac
61318b22bf3fSmrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
61328b22bf3fSmrg    as_dirs=
61338b22bf3fSmrg    while :; do
61348b22bf3fSmrg      case $as_dir in #(
61358b22bf3fSmrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
61368b22bf3fSmrg      *) as_qdir=$as_dir;;
61378b22bf3fSmrg      esac
61388b22bf3fSmrg      as_dirs="'$as_qdir' $as_dirs"
61398b22bf3fSmrg      as_dir=`$as_dirname -- "$as_dir" ||
61408b22bf3fSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61418b22bf3fSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
61428b22bf3fSmrg	 X"$as_dir" : 'X\(//\)$' \| \
61438b22bf3fSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
61448b22bf3fSmrgecho X"$as_dir" |
61458b22bf3fSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61468b22bf3fSmrg	    s//\1/
61478b22bf3fSmrg	    q
61488b22bf3fSmrg	  }
61498b22bf3fSmrg	  /^X\(\/\/\)[^/].*/{
61508b22bf3fSmrg	    s//\1/
61518b22bf3fSmrg	    q
61528b22bf3fSmrg	  }
61538b22bf3fSmrg	  /^X\(\/\/\)$/{
61548b22bf3fSmrg	    s//\1/
61558b22bf3fSmrg	    q
61568b22bf3fSmrg	  }
61578b22bf3fSmrg	  /^X\(\/\).*/{
61588b22bf3fSmrg	    s//\1/
61598b22bf3fSmrg	    q
61608b22bf3fSmrg	  }
61618b22bf3fSmrg	  s/.*/./; q'`
61628b22bf3fSmrg      test -d "$as_dir" && break
61638b22bf3fSmrg    done
61648b22bf3fSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
61658b22bf3fSmrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
61668b22bf3fSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
61678b22bf3fSmrg   { (exit 1); exit 1; }; }; }
61688b22bf3fSmrg    # echo "creating $dirpart/$file"
61698b22bf3fSmrg    echo '# dummy' > "$dirpart/$file"
61708b22bf3fSmrg  done
61718b22bf3fSmrgdone
61728b22bf3fSmrg ;;
61738b22bf3fSmrg
61748b22bf3fSmrg  esac
61758b22bf3fSmrgdone # for ac_tag
61768b22bf3fSmrg
61778b22bf3fSmrg
61788b22bf3fSmrg{ (exit 0); exit 0; }
61798b22bf3fSmrg_ACEOF
61808b22bf3fSmrgchmod +x $CONFIG_STATUS
61818b22bf3fSmrgac_clean_files=$ac_clean_files_save
61828b22bf3fSmrg
61838b22bf3fSmrg
61848b22bf3fSmrg# configure is writing to config.log, and then calls config.status.
61858b22bf3fSmrg# config.status does its own redirection, appending to config.log.
61868b22bf3fSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
61878b22bf3fSmrg# by configure, so config.status won't be able to write to it; its
61888b22bf3fSmrg# output is simply discarded.  So we exec the FD to /dev/null,
61898b22bf3fSmrg# effectively closing config.log, so it can be properly (re)opened and
61908b22bf3fSmrg# appended to by config.status.  When coming back to configure, we
61918b22bf3fSmrg# need to make the FD available again.
61928b22bf3fSmrgif test "$no_create" != yes; then
61938b22bf3fSmrg  ac_cs_success=:
61948b22bf3fSmrg  ac_config_status_args=
61958b22bf3fSmrg  test "$silent" = yes &&
61968b22bf3fSmrg    ac_config_status_args="$ac_config_status_args --quiet"
61978b22bf3fSmrg  exec 5>/dev/null
61988b22bf3fSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
61998b22bf3fSmrg  exec 5>>config.log
62008b22bf3fSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62018b22bf3fSmrg  # would make configure fail if this is the last instruction.
62028b22bf3fSmrg  $ac_cs_success || { (exit 1); exit 1; }
62038b22bf3fSmrgfi
62048b22bf3fSmrg
6205