configure revision 8ae04fa6
18ae04fa6Smrg#! /bin/sh
28ae04fa6Smrg# Guess values for system-dependent variables and create Makefiles.
38ae04fa6Smrg# Generated by GNU Autoconf 2.61 for xvinfo 1.0.2.
48ae04fa6Smrg#
58ae04fa6Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
68ae04fa6Smrg#
78ae04fa6Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
88ae04fa6Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
98ae04fa6Smrg# This configure script is free software; the Free Software Foundation
108ae04fa6Smrg# gives unlimited permission to copy, distribute and modify it.
118ae04fa6Smrg## --------------------- ##
128ae04fa6Smrg## M4sh Initialization.  ##
138ae04fa6Smrg## --------------------- ##
148ae04fa6Smrg
158ae04fa6Smrg# Be more Bourne compatible
168ae04fa6SmrgDUALCASE=1; export DUALCASE # for MKS sh
178ae04fa6Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
188ae04fa6Smrg  emulate sh
198ae04fa6Smrg  NULLCMD=:
208ae04fa6Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
218ae04fa6Smrg  # is contrary to our usage.  Disable this feature.
228ae04fa6Smrg  alias -g '${1+"$@"}'='"$@"'
238ae04fa6Smrg  setopt NO_GLOB_SUBST
248ae04fa6Smrgelse
258ae04fa6Smrg  case `(set -o) 2>/dev/null` in
268ae04fa6Smrg  *posix*) set -o posix ;;
278ae04fa6Smrgesac
288ae04fa6Smrg
298ae04fa6Smrgfi
308ae04fa6Smrg
318ae04fa6Smrg
328ae04fa6Smrg
338ae04fa6Smrg
348ae04fa6Smrg# PATH needs CR
358ae04fa6Smrg# Avoid depending upon Character Ranges.
368ae04fa6Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
378ae04fa6Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
388ae04fa6Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
398ae04fa6Smrgas_cr_digits='0123456789'
408ae04fa6Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
418ae04fa6Smrg
428ae04fa6Smrg# The user is always right.
438ae04fa6Smrgif test "${PATH_SEPARATOR+set}" != set; then
448ae04fa6Smrg  echo "#! /bin/sh" >conf$$.sh
458ae04fa6Smrg  echo  "exit 0"   >>conf$$.sh
468ae04fa6Smrg  chmod +x conf$$.sh
478ae04fa6Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
488ae04fa6Smrg    PATH_SEPARATOR=';'
498ae04fa6Smrg  else
508ae04fa6Smrg    PATH_SEPARATOR=:
518ae04fa6Smrg  fi
528ae04fa6Smrg  rm -f conf$$.sh
538ae04fa6Smrgfi
548ae04fa6Smrg
558ae04fa6Smrg# Support unset when possible.
568ae04fa6Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
578ae04fa6Smrg  as_unset=unset
588ae04fa6Smrgelse
598ae04fa6Smrg  as_unset=false
608ae04fa6Smrgfi
618ae04fa6Smrg
628ae04fa6Smrg
638ae04fa6Smrg# IFS
648ae04fa6Smrg# We need space, tab and new line, in precisely that order.  Quoting is
658ae04fa6Smrg# there to prevent editors from complaining about space-tab.
668ae04fa6Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
678ae04fa6Smrg# splitting by setting IFS to empty value.)
688ae04fa6Smrgas_nl='
698ae04fa6Smrg'
708ae04fa6SmrgIFS=" ""	$as_nl"
718ae04fa6Smrg
728ae04fa6Smrg# Find who we are.  Look in the path if we contain no directory separator.
738ae04fa6Smrgcase $0 in
748ae04fa6Smrg  *[\\/]* ) as_myself=$0 ;;
758ae04fa6Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
768ae04fa6Smrgfor as_dir in $PATH
778ae04fa6Smrgdo
788ae04fa6Smrg  IFS=$as_save_IFS
798ae04fa6Smrg  test -z "$as_dir" && as_dir=.
808ae04fa6Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
818ae04fa6Smrgdone
828ae04fa6SmrgIFS=$as_save_IFS
838ae04fa6Smrg
848ae04fa6Smrg     ;;
858ae04fa6Smrgesac
868ae04fa6Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
878ae04fa6Smrg# in which case we are not to be found in the path.
888ae04fa6Smrgif test "x$as_myself" = x; then
898ae04fa6Smrg  as_myself=$0
908ae04fa6Smrgfi
918ae04fa6Smrgif test ! -f "$as_myself"; then
928ae04fa6Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
938ae04fa6Smrg  { (exit 1); exit 1; }
948ae04fa6Smrgfi
958ae04fa6Smrg
968ae04fa6Smrg# Work around bugs in pre-3.0 UWIN ksh.
978ae04fa6Smrgfor as_var in ENV MAIL MAILPATH
988ae04fa6Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
998ae04fa6Smrgdone
1008ae04fa6SmrgPS1='$ '
1018ae04fa6SmrgPS2='> '
1028ae04fa6SmrgPS4='+ '
1038ae04fa6Smrg
1048ae04fa6Smrg# NLS nuisances.
1058ae04fa6Smrgfor as_var in \
1068ae04fa6Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1078ae04fa6Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1088ae04fa6Smrg  LC_TELEPHONE LC_TIME
1098ae04fa6Smrgdo
1108ae04fa6Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1118ae04fa6Smrg    eval $as_var=C; export $as_var
1128ae04fa6Smrg  else
1138ae04fa6Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1148ae04fa6Smrg  fi
1158ae04fa6Smrgdone
1168ae04fa6Smrg
1178ae04fa6Smrg# Required to use basename.
1188ae04fa6Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
1198ae04fa6Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1208ae04fa6Smrg  as_expr=expr
1218ae04fa6Smrgelse
1228ae04fa6Smrg  as_expr=false
1238ae04fa6Smrgfi
1248ae04fa6Smrg
1258ae04fa6Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1268ae04fa6Smrg  as_basename=basename
1278ae04fa6Smrgelse
1288ae04fa6Smrg  as_basename=false
1298ae04fa6Smrgfi
1308ae04fa6Smrg
1318ae04fa6Smrg
1328ae04fa6Smrg# Name of the executable.
1338ae04fa6Smrgas_me=`$as_basename -- "$0" ||
1348ae04fa6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1358ae04fa6Smrg	 X"$0" : 'X\(//\)$' \| \
1368ae04fa6Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1378ae04fa6Smrgecho X/"$0" |
1388ae04fa6Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
1398ae04fa6Smrg	    s//\1/
1408ae04fa6Smrg	    q
1418ae04fa6Smrg	  }
1428ae04fa6Smrg	  /^X\/\(\/\/\)$/{
1438ae04fa6Smrg	    s//\1/
1448ae04fa6Smrg	    q
1458ae04fa6Smrg	  }
1468ae04fa6Smrg	  /^X\/\(\/\).*/{
1478ae04fa6Smrg	    s//\1/
1488ae04fa6Smrg	    q
1498ae04fa6Smrg	  }
1508ae04fa6Smrg	  s/.*/./; q'`
1518ae04fa6Smrg
1528ae04fa6Smrg# CDPATH.
1538ae04fa6Smrg$as_unset CDPATH
1548ae04fa6Smrg
1558ae04fa6Smrg
1568ae04fa6Smrgif test "x$CONFIG_SHELL" = x; then
1578ae04fa6Smrg  if (eval ":") 2>/dev/null; then
1588ae04fa6Smrg  as_have_required=yes
1598ae04fa6Smrgelse
1608ae04fa6Smrg  as_have_required=no
1618ae04fa6Smrgfi
1628ae04fa6Smrg
1638ae04fa6Smrg  if test $as_have_required = yes && 	 (eval ":
1648ae04fa6Smrg(as_func_return () {
1658ae04fa6Smrg  (exit \$1)
1668ae04fa6Smrg}
1678ae04fa6Smrgas_func_success () {
1688ae04fa6Smrg  as_func_return 0
1698ae04fa6Smrg}
1708ae04fa6Smrgas_func_failure () {
1718ae04fa6Smrg  as_func_return 1
1728ae04fa6Smrg}
1738ae04fa6Smrgas_func_ret_success () {
1748ae04fa6Smrg  return 0
1758ae04fa6Smrg}
1768ae04fa6Smrgas_func_ret_failure () {
1778ae04fa6Smrg  return 1
1788ae04fa6Smrg}
1798ae04fa6Smrg
1808ae04fa6Smrgexitcode=0
1818ae04fa6Smrgif as_func_success; then
1828ae04fa6Smrg  :
1838ae04fa6Smrgelse
1848ae04fa6Smrg  exitcode=1
1858ae04fa6Smrg  echo as_func_success failed.
1868ae04fa6Smrgfi
1878ae04fa6Smrg
1888ae04fa6Smrgif as_func_failure; then
1898ae04fa6Smrg  exitcode=1
1908ae04fa6Smrg  echo as_func_failure succeeded.
1918ae04fa6Smrgfi
1928ae04fa6Smrg
1938ae04fa6Smrgif as_func_ret_success; then
1948ae04fa6Smrg  :
1958ae04fa6Smrgelse
1968ae04fa6Smrg  exitcode=1
1978ae04fa6Smrg  echo as_func_ret_success failed.
1988ae04fa6Smrgfi
1998ae04fa6Smrg
2008ae04fa6Smrgif as_func_ret_failure; then
2018ae04fa6Smrg  exitcode=1
2028ae04fa6Smrg  echo as_func_ret_failure succeeded.
2038ae04fa6Smrgfi
2048ae04fa6Smrg
2058ae04fa6Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2068ae04fa6Smrg  :
2078ae04fa6Smrgelse
2088ae04fa6Smrg  exitcode=1
2098ae04fa6Smrg  echo positional parameters were not saved.
2108ae04fa6Smrgfi
2118ae04fa6Smrg
2128ae04fa6Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
2138ae04fa6Smrg
2148ae04fa6Smrg(
2158ae04fa6Smrg  as_lineno_1=\$LINENO
2168ae04fa6Smrg  as_lineno_2=\$LINENO
2178ae04fa6Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2188ae04fa6Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2198ae04fa6Smrg") 2> /dev/null; then
2208ae04fa6Smrg  :
2218ae04fa6Smrgelse
2228ae04fa6Smrg  as_candidate_shells=
2238ae04fa6Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248ae04fa6Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2258ae04fa6Smrgdo
2268ae04fa6Smrg  IFS=$as_save_IFS
2278ae04fa6Smrg  test -z "$as_dir" && as_dir=.
2288ae04fa6Smrg  case $as_dir in
2298ae04fa6Smrg	 /*)
2308ae04fa6Smrg	   for as_base in sh bash ksh sh5; do
2318ae04fa6Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2328ae04fa6Smrg	   done;;
2338ae04fa6Smrg       esac
2348ae04fa6Smrgdone
2358ae04fa6SmrgIFS=$as_save_IFS
2368ae04fa6Smrg
2378ae04fa6Smrg
2388ae04fa6Smrg      for as_shell in $as_candidate_shells $SHELL; do
2398ae04fa6Smrg	 # Try only shells that exist, to save several forks.
2408ae04fa6Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2418ae04fa6Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
2428ae04fa6Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2438ae04fa6Smrg  emulate sh
2448ae04fa6Smrg  NULLCMD=:
2458ae04fa6Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2468ae04fa6Smrg  # is contrary to our usage.  Disable this feature.
2478ae04fa6Smrg  alias -g '${1+"$@"}'='"$@"'
2488ae04fa6Smrg  setopt NO_GLOB_SUBST
2498ae04fa6Smrgelse
2508ae04fa6Smrg  case `(set -o) 2>/dev/null` in
2518ae04fa6Smrg  *posix*) set -o posix ;;
2528ae04fa6Smrgesac
2538ae04fa6Smrg
2548ae04fa6Smrgfi
2558ae04fa6Smrg
2568ae04fa6Smrg
2578ae04fa6Smrg:
2588ae04fa6Smrg_ASEOF
2598ae04fa6Smrg}; then
2608ae04fa6Smrg  CONFIG_SHELL=$as_shell
2618ae04fa6Smrg	       as_have_required=yes
2628ae04fa6Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
2638ae04fa6Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2648ae04fa6Smrg  emulate sh
2658ae04fa6Smrg  NULLCMD=:
2668ae04fa6Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2678ae04fa6Smrg  # is contrary to our usage.  Disable this feature.
2688ae04fa6Smrg  alias -g '${1+"$@"}'='"$@"'
2698ae04fa6Smrg  setopt NO_GLOB_SUBST
2708ae04fa6Smrgelse
2718ae04fa6Smrg  case `(set -o) 2>/dev/null` in
2728ae04fa6Smrg  *posix*) set -o posix ;;
2738ae04fa6Smrgesac
2748ae04fa6Smrg
2758ae04fa6Smrgfi
2768ae04fa6Smrg
2778ae04fa6Smrg
2788ae04fa6Smrg:
2798ae04fa6Smrg(as_func_return () {
2808ae04fa6Smrg  (exit $1)
2818ae04fa6Smrg}
2828ae04fa6Smrgas_func_success () {
2838ae04fa6Smrg  as_func_return 0
2848ae04fa6Smrg}
2858ae04fa6Smrgas_func_failure () {
2868ae04fa6Smrg  as_func_return 1
2878ae04fa6Smrg}
2888ae04fa6Smrgas_func_ret_success () {
2898ae04fa6Smrg  return 0
2908ae04fa6Smrg}
2918ae04fa6Smrgas_func_ret_failure () {
2928ae04fa6Smrg  return 1
2938ae04fa6Smrg}
2948ae04fa6Smrg
2958ae04fa6Smrgexitcode=0
2968ae04fa6Smrgif as_func_success; then
2978ae04fa6Smrg  :
2988ae04fa6Smrgelse
2998ae04fa6Smrg  exitcode=1
3008ae04fa6Smrg  echo as_func_success failed.
3018ae04fa6Smrgfi
3028ae04fa6Smrg
3038ae04fa6Smrgif as_func_failure; then
3048ae04fa6Smrg  exitcode=1
3058ae04fa6Smrg  echo as_func_failure succeeded.
3068ae04fa6Smrgfi
3078ae04fa6Smrg
3088ae04fa6Smrgif as_func_ret_success; then
3098ae04fa6Smrg  :
3108ae04fa6Smrgelse
3118ae04fa6Smrg  exitcode=1
3128ae04fa6Smrg  echo as_func_ret_success failed.
3138ae04fa6Smrgfi
3148ae04fa6Smrg
3158ae04fa6Smrgif as_func_ret_failure; then
3168ae04fa6Smrg  exitcode=1
3178ae04fa6Smrg  echo as_func_ret_failure succeeded.
3188ae04fa6Smrgfi
3198ae04fa6Smrg
3208ae04fa6Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
3218ae04fa6Smrg  :
3228ae04fa6Smrgelse
3238ae04fa6Smrg  exitcode=1
3248ae04fa6Smrg  echo positional parameters were not saved.
3258ae04fa6Smrgfi
3268ae04fa6Smrg
3278ae04fa6Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
3288ae04fa6Smrg
3298ae04fa6Smrg(
3308ae04fa6Smrg  as_lineno_1=$LINENO
3318ae04fa6Smrg  as_lineno_2=$LINENO
3328ae04fa6Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3338ae04fa6Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3348ae04fa6Smrg
3358ae04fa6Smrg_ASEOF
3368ae04fa6Smrg}; then
3378ae04fa6Smrg  break
3388ae04fa6Smrgfi
3398ae04fa6Smrg
3408ae04fa6Smrgfi
3418ae04fa6Smrg
3428ae04fa6Smrg      done
3438ae04fa6Smrg
3448ae04fa6Smrg      if test "x$CONFIG_SHELL" != x; then
3458ae04fa6Smrg  for as_var in BASH_ENV ENV
3468ae04fa6Smrg        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3478ae04fa6Smrg        done
3488ae04fa6Smrg        export CONFIG_SHELL
3498ae04fa6Smrg        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3508ae04fa6Smrgfi
3518ae04fa6Smrg
3528ae04fa6Smrg
3538ae04fa6Smrg    if test $as_have_required = no; then
3548ae04fa6Smrg  echo This script requires a shell more modern than all the
3558ae04fa6Smrg      echo shells that I found on your system.  Please install a
3568ae04fa6Smrg      echo modern shell, or manually run the script under such a
3578ae04fa6Smrg      echo shell if you do have one.
3588ae04fa6Smrg      { (exit 1); exit 1; }
3598ae04fa6Smrgfi
3608ae04fa6Smrg
3618ae04fa6Smrg
3628ae04fa6Smrgfi
3638ae04fa6Smrg
3648ae04fa6Smrgfi
3658ae04fa6Smrg
3668ae04fa6Smrg
3678ae04fa6Smrg
3688ae04fa6Smrg(eval "as_func_return () {
3698ae04fa6Smrg  (exit \$1)
3708ae04fa6Smrg}
3718ae04fa6Smrgas_func_success () {
3728ae04fa6Smrg  as_func_return 0
3738ae04fa6Smrg}
3748ae04fa6Smrgas_func_failure () {
3758ae04fa6Smrg  as_func_return 1
3768ae04fa6Smrg}
3778ae04fa6Smrgas_func_ret_success () {
3788ae04fa6Smrg  return 0
3798ae04fa6Smrg}
3808ae04fa6Smrgas_func_ret_failure () {
3818ae04fa6Smrg  return 1
3828ae04fa6Smrg}
3838ae04fa6Smrg
3848ae04fa6Smrgexitcode=0
3858ae04fa6Smrgif as_func_success; then
3868ae04fa6Smrg  :
3878ae04fa6Smrgelse
3888ae04fa6Smrg  exitcode=1
3898ae04fa6Smrg  echo as_func_success failed.
3908ae04fa6Smrgfi
3918ae04fa6Smrg
3928ae04fa6Smrgif as_func_failure; then
3938ae04fa6Smrg  exitcode=1
3948ae04fa6Smrg  echo as_func_failure succeeded.
3958ae04fa6Smrgfi
3968ae04fa6Smrg
3978ae04fa6Smrgif as_func_ret_success; then
3988ae04fa6Smrg  :
3998ae04fa6Smrgelse
4008ae04fa6Smrg  exitcode=1
4018ae04fa6Smrg  echo as_func_ret_success failed.
4028ae04fa6Smrgfi
4038ae04fa6Smrg
4048ae04fa6Smrgif as_func_ret_failure; then
4058ae04fa6Smrg  exitcode=1
4068ae04fa6Smrg  echo as_func_ret_failure succeeded.
4078ae04fa6Smrgfi
4088ae04fa6Smrg
4098ae04fa6Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
4108ae04fa6Smrg  :
4118ae04fa6Smrgelse
4128ae04fa6Smrg  exitcode=1
4138ae04fa6Smrg  echo positional parameters were not saved.
4148ae04fa6Smrgfi
4158ae04fa6Smrg
4168ae04fa6Smrgtest \$exitcode = 0") || {
4178ae04fa6Smrg  echo No shell found that supports shell functions.
4188ae04fa6Smrg  echo Please tell autoconf@gnu.org about your system,
4198ae04fa6Smrg  echo including any error possibly output before this
4208ae04fa6Smrg  echo message
4218ae04fa6Smrg}
4228ae04fa6Smrg
4238ae04fa6Smrg
4248ae04fa6Smrg
4258ae04fa6Smrg  as_lineno_1=$LINENO
4268ae04fa6Smrg  as_lineno_2=$LINENO
4278ae04fa6Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
4288ae04fa6Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4298ae04fa6Smrg
4308ae04fa6Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4318ae04fa6Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
4328ae04fa6Smrg  # line-number line after each line using $LINENO; the second 'sed'
4338ae04fa6Smrg  # does the real work.  The second script uses 'N' to pair each
4348ae04fa6Smrg  # line-number line with the line containing $LINENO, and appends
4358ae04fa6Smrg  # trailing '-' during substitution so that $LINENO is not a special
4368ae04fa6Smrg  # case at line end.
4378ae04fa6Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4388ae04fa6Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4398ae04fa6Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
4408ae04fa6Smrg  sed -n '
4418ae04fa6Smrg    p
4428ae04fa6Smrg    /[$]LINENO/=
4438ae04fa6Smrg  ' <$as_myself |
4448ae04fa6Smrg    sed '
4458ae04fa6Smrg      s/[$]LINENO.*/&-/
4468ae04fa6Smrg      t lineno
4478ae04fa6Smrg      b
4488ae04fa6Smrg      :lineno
4498ae04fa6Smrg      N
4508ae04fa6Smrg      :loop
4518ae04fa6Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4528ae04fa6Smrg      t loop
4538ae04fa6Smrg      s/-\n.*//
4548ae04fa6Smrg    ' >$as_me.lineno &&
4558ae04fa6Smrg  chmod +x "$as_me.lineno" ||
4568ae04fa6Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4578ae04fa6Smrg   { (exit 1); exit 1; }; }
4588ae04fa6Smrg
4598ae04fa6Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
4608ae04fa6Smrg  # (the dirname of $[0] is not the place where we might find the
4618ae04fa6Smrg  # original and so on.  Autoconf is especially sensitive to this).
4628ae04fa6Smrg  . "./$as_me.lineno"
4638ae04fa6Smrg  # Exit status is that of the last command.
4648ae04fa6Smrg  exit
4658ae04fa6Smrg}
4668ae04fa6Smrg
4678ae04fa6Smrg
4688ae04fa6Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4698ae04fa6Smrg  as_dirname=dirname
4708ae04fa6Smrgelse
4718ae04fa6Smrg  as_dirname=false
4728ae04fa6Smrgfi
4738ae04fa6Smrg
4748ae04fa6SmrgECHO_C= ECHO_N= ECHO_T=
4758ae04fa6Smrgcase `echo -n x` in
4768ae04fa6Smrg-n*)
4778ae04fa6Smrg  case `echo 'x\c'` in
4788ae04fa6Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4798ae04fa6Smrg  *)   ECHO_C='\c';;
4808ae04fa6Smrg  esac;;
4818ae04fa6Smrg*)
4828ae04fa6Smrg  ECHO_N='-n';;
4838ae04fa6Smrgesac
4848ae04fa6Smrg
4858ae04fa6Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4868ae04fa6Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4878ae04fa6Smrg  as_expr=expr
4888ae04fa6Smrgelse
4898ae04fa6Smrg  as_expr=false
4908ae04fa6Smrgfi
4918ae04fa6Smrg
4928ae04fa6Smrgrm -f conf$$ conf$$.exe conf$$.file
4938ae04fa6Smrgif test -d conf$$.dir; then
4948ae04fa6Smrg  rm -f conf$$.dir/conf$$.file
4958ae04fa6Smrgelse
4968ae04fa6Smrg  rm -f conf$$.dir
4978ae04fa6Smrg  mkdir conf$$.dir
4988ae04fa6Smrgfi
4998ae04fa6Smrgecho >conf$$.file
5008ae04fa6Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
5018ae04fa6Smrg  as_ln_s='ln -s'
5028ae04fa6Smrg  # ... but there are two gotchas:
5038ae04fa6Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5048ae04fa6Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5058ae04fa6Smrg  # In both cases, we have to default to `cp -p'.
5068ae04fa6Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5078ae04fa6Smrg    as_ln_s='cp -p'
5088ae04fa6Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
5098ae04fa6Smrg  as_ln_s=ln
5108ae04fa6Smrgelse
5118ae04fa6Smrg  as_ln_s='cp -p'
5128ae04fa6Smrgfi
5138ae04fa6Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5148ae04fa6Smrgrmdir conf$$.dir 2>/dev/null
5158ae04fa6Smrg
5168ae04fa6Smrgif mkdir -p . 2>/dev/null; then
5178ae04fa6Smrg  as_mkdir_p=:
5188ae04fa6Smrgelse
5198ae04fa6Smrg  test -d ./-p && rmdir ./-p
5208ae04fa6Smrg  as_mkdir_p=false
5218ae04fa6Smrgfi
5228ae04fa6Smrg
5238ae04fa6Smrgif test -x / >/dev/null 2>&1; then
5248ae04fa6Smrg  as_test_x='test -x'
5258ae04fa6Smrgelse
5268ae04fa6Smrg  if ls -dL / >/dev/null 2>&1; then
5278ae04fa6Smrg    as_ls_L_option=L
5288ae04fa6Smrg  else
5298ae04fa6Smrg    as_ls_L_option=
5308ae04fa6Smrg  fi
5318ae04fa6Smrg  as_test_x='
5328ae04fa6Smrg    eval sh -c '\''
5338ae04fa6Smrg      if test -d "$1"; then
5348ae04fa6Smrg        test -d "$1/.";
5358ae04fa6Smrg      else
5368ae04fa6Smrg	case $1 in
5378ae04fa6Smrg        -*)set "./$1";;
5388ae04fa6Smrg	esac;
5398ae04fa6Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5408ae04fa6Smrg	???[sx]*):;;*)false;;esac;fi
5418ae04fa6Smrg    '\'' sh
5428ae04fa6Smrg  '
5438ae04fa6Smrgfi
5448ae04fa6Smrgas_executable_p=$as_test_x
5458ae04fa6Smrg
5468ae04fa6Smrg# Sed expression to map a string onto a valid CPP name.
5478ae04fa6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5488ae04fa6Smrg
5498ae04fa6Smrg# Sed expression to map a string onto a valid variable name.
5508ae04fa6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5518ae04fa6Smrg
5528ae04fa6Smrg
5538ae04fa6Smrg
5548ae04fa6Smrgexec 7<&0 </dev/null 6>&1
5558ae04fa6Smrg
5568ae04fa6Smrg# Name of the host.
5578ae04fa6Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5588ae04fa6Smrg# so uname gets run too.
5598ae04fa6Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5608ae04fa6Smrg
5618ae04fa6Smrg#
5628ae04fa6Smrg# Initializations.
5638ae04fa6Smrg#
5648ae04fa6Smrgac_default_prefix=/usr/local
5658ae04fa6Smrgac_clean_files=
5668ae04fa6Smrgac_config_libobj_dir=.
5678ae04fa6SmrgLIBOBJS=
5688ae04fa6Smrgcross_compiling=no
5698ae04fa6Smrgsubdirs=
5708ae04fa6SmrgMFLAGS=
5718ae04fa6SmrgMAKEFLAGS=
5728ae04fa6SmrgSHELL=${CONFIG_SHELL-/bin/sh}
5738ae04fa6Smrg
5748ae04fa6Smrg# Identity of this package.
5758ae04fa6SmrgPACKAGE_NAME='xvinfo'
5768ae04fa6SmrgPACKAGE_TARNAME='xvinfo'
5778ae04fa6SmrgPACKAGE_VERSION='1.0.2'
5788ae04fa6SmrgPACKAGE_STRING='xvinfo 1.0.2'
5798ae04fa6SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
5808ae04fa6Smrg
5818ae04fa6Smrgac_subst_vars='SHELL
5828ae04fa6SmrgPATH_SEPARATOR
5838ae04fa6SmrgPACKAGE_NAME
5848ae04fa6SmrgPACKAGE_TARNAME
5858ae04fa6SmrgPACKAGE_VERSION
5868ae04fa6SmrgPACKAGE_STRING
5878ae04fa6SmrgPACKAGE_BUGREPORT
5888ae04fa6Smrgexec_prefix
5898ae04fa6Smrgprefix
5908ae04fa6Smrgprogram_transform_name
5918ae04fa6Smrgbindir
5928ae04fa6Smrgsbindir
5938ae04fa6Smrglibexecdir
5948ae04fa6Smrgdatarootdir
5958ae04fa6Smrgdatadir
5968ae04fa6Smrgsysconfdir
5978ae04fa6Smrgsharedstatedir
5988ae04fa6Smrglocalstatedir
5998ae04fa6Smrgincludedir
6008ae04fa6Smrgoldincludedir
6018ae04fa6Smrgdocdir
6028ae04fa6Smrginfodir
6038ae04fa6Smrghtmldir
6048ae04fa6Smrgdvidir
6058ae04fa6Smrgpdfdir
6068ae04fa6Smrgpsdir
6078ae04fa6Smrglibdir
6088ae04fa6Smrglocaledir
6098ae04fa6Smrgmandir
6108ae04fa6SmrgDEFS
6118ae04fa6SmrgECHO_C
6128ae04fa6SmrgECHO_N
6138ae04fa6SmrgECHO_T
6148ae04fa6SmrgLIBS
6158ae04fa6Smrgbuild_alias
6168ae04fa6Smrghost_alias
6178ae04fa6Smrgtarget_alias
6188ae04fa6SmrgINSTALL_PROGRAM
6198ae04fa6SmrgINSTALL_SCRIPT
6208ae04fa6SmrgINSTALL_DATA
6218ae04fa6Smrgam__isrc
6228ae04fa6SmrgCYGPATH_W
6238ae04fa6SmrgPACKAGE
6248ae04fa6SmrgVERSION
6258ae04fa6SmrgACLOCAL
6268ae04fa6SmrgAUTOCONF
6278ae04fa6SmrgAUTOMAKE
6288ae04fa6SmrgAUTOHEADER
6298ae04fa6SmrgMAKEINFO
6308ae04fa6Smrginstall_sh
6318ae04fa6SmrgSTRIP
6328ae04fa6SmrgINSTALL_STRIP_PROGRAM
6338ae04fa6Smrgmkdir_p
6348ae04fa6SmrgAWK
6358ae04fa6SmrgSET_MAKE
6368ae04fa6Smrgam__leading_dot
6378ae04fa6SmrgAMTAR
6388ae04fa6Smrgam__tar
6398ae04fa6Smrgam__untar
6408ae04fa6SmrgMAINTAINER_MODE_TRUE
6418ae04fa6SmrgMAINTAINER_MODE_FALSE
6428ae04fa6SmrgMAINT
6438ae04fa6SmrgCC
6448ae04fa6SmrgCFLAGS
6458ae04fa6SmrgLDFLAGS
6468ae04fa6SmrgCPPFLAGS
6478ae04fa6Smrgac_ct_CC
6488ae04fa6SmrgEXEEXT
6498ae04fa6SmrgOBJEXT
6508ae04fa6SmrgDEPDIR
6518ae04fa6Smrgam__include
6528ae04fa6Smrgam__quote
6538ae04fa6SmrgAMDEP_TRUE
6548ae04fa6SmrgAMDEP_FALSE
6558ae04fa6SmrgAMDEPBACKSLASH
6568ae04fa6SmrgCCDEPMODE
6578ae04fa6Smrgam__fastdepCC_TRUE
6588ae04fa6Smrgam__fastdepCC_FALSE
6598ae04fa6SmrgPKG_CONFIG
6608ae04fa6SmrgXVINFO_CFLAGS
6618ae04fa6SmrgXVINFO_LIBS
6628ae04fa6Smrgbuild
6638ae04fa6Smrgbuild_cpu
6648ae04fa6Smrgbuild_vendor
6658ae04fa6Smrgbuild_os
6668ae04fa6Smrghost
6678ae04fa6Smrghost_cpu
6688ae04fa6Smrghost_vendor
6698ae04fa6Smrghost_os
6708ae04fa6SmrgAPP_MAN_SUFFIX
6718ae04fa6SmrgLIB_MAN_SUFFIX
6728ae04fa6SmrgFILE_MAN_SUFFIX
6738ae04fa6SmrgMISC_MAN_SUFFIX
6748ae04fa6SmrgDRIVER_MAN_SUFFIX
6758ae04fa6SmrgADMIN_MAN_SUFFIX
6768ae04fa6SmrgAPP_MAN_DIR
6778ae04fa6SmrgLIB_MAN_DIR
6788ae04fa6SmrgFILE_MAN_DIR
6798ae04fa6SmrgMISC_MAN_DIR
6808ae04fa6SmrgDRIVER_MAN_DIR
6818ae04fa6SmrgADMIN_MAN_DIR
6828ae04fa6SmrgLIBOBJS
6838ae04fa6SmrgLTLIBOBJS'
6848ae04fa6Smrgac_subst_files=''
6858ae04fa6Smrg      ac_precious_vars='build_alias
6868ae04fa6Smrghost_alias
6878ae04fa6Smrgtarget_alias
6888ae04fa6SmrgCC
6898ae04fa6SmrgCFLAGS
6908ae04fa6SmrgLDFLAGS
6918ae04fa6SmrgLIBS
6928ae04fa6SmrgCPPFLAGS
6938ae04fa6SmrgPKG_CONFIG
6948ae04fa6SmrgXVINFO_CFLAGS
6958ae04fa6SmrgXVINFO_LIBS'
6968ae04fa6Smrg
6978ae04fa6Smrg
6988ae04fa6Smrg# Initialize some variables set by options.
6998ae04fa6Smrgac_init_help=
7008ae04fa6Smrgac_init_version=false
7018ae04fa6Smrg# The variables have the same names as the options, with
7028ae04fa6Smrg# dashes changed to underlines.
7038ae04fa6Smrgcache_file=/dev/null
7048ae04fa6Smrgexec_prefix=NONE
7058ae04fa6Smrgno_create=
7068ae04fa6Smrgno_recursion=
7078ae04fa6Smrgprefix=NONE
7088ae04fa6Smrgprogram_prefix=NONE
7098ae04fa6Smrgprogram_suffix=NONE
7108ae04fa6Smrgprogram_transform_name=s,x,x,
7118ae04fa6Smrgsilent=
7128ae04fa6Smrgsite=
7138ae04fa6Smrgsrcdir=
7148ae04fa6Smrgverbose=
7158ae04fa6Smrgx_includes=NONE
7168ae04fa6Smrgx_libraries=NONE
7178ae04fa6Smrg
7188ae04fa6Smrg# Installation directory options.
7198ae04fa6Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
7208ae04fa6Smrg# and all the variables that are supposed to be based on exec_prefix
7218ae04fa6Smrg# by default will actually change.
7228ae04fa6Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
7238ae04fa6Smrg# (The list follows the same order as the GNU Coding Standards.)
7248ae04fa6Smrgbindir='${exec_prefix}/bin'
7258ae04fa6Smrgsbindir='${exec_prefix}/sbin'
7268ae04fa6Smrglibexecdir='${exec_prefix}/libexec'
7278ae04fa6Smrgdatarootdir='${prefix}/share'
7288ae04fa6Smrgdatadir='${datarootdir}'
7298ae04fa6Smrgsysconfdir='${prefix}/etc'
7308ae04fa6Smrgsharedstatedir='${prefix}/com'
7318ae04fa6Smrglocalstatedir='${prefix}/var'
7328ae04fa6Smrgincludedir='${prefix}/include'
7338ae04fa6Smrgoldincludedir='/usr/include'
7348ae04fa6Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7358ae04fa6Smrginfodir='${datarootdir}/info'
7368ae04fa6Smrghtmldir='${docdir}'
7378ae04fa6Smrgdvidir='${docdir}'
7388ae04fa6Smrgpdfdir='${docdir}'
7398ae04fa6Smrgpsdir='${docdir}'
7408ae04fa6Smrglibdir='${exec_prefix}/lib'
7418ae04fa6Smrglocaledir='${datarootdir}/locale'
7428ae04fa6Smrgmandir='${datarootdir}/man'
7438ae04fa6Smrg
7448ae04fa6Smrgac_prev=
7458ae04fa6Smrgac_dashdash=
7468ae04fa6Smrgfor ac_option
7478ae04fa6Smrgdo
7488ae04fa6Smrg  # If the previous option needs an argument, assign it.
7498ae04fa6Smrg  if test -n "$ac_prev"; then
7508ae04fa6Smrg    eval $ac_prev=\$ac_option
7518ae04fa6Smrg    ac_prev=
7528ae04fa6Smrg    continue
7538ae04fa6Smrg  fi
7548ae04fa6Smrg
7558ae04fa6Smrg  case $ac_option in
7568ae04fa6Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
7578ae04fa6Smrg  *)	ac_optarg=yes ;;
7588ae04fa6Smrg  esac
7598ae04fa6Smrg
7608ae04fa6Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
7618ae04fa6Smrg
7628ae04fa6Smrg  case $ac_dashdash$ac_option in
7638ae04fa6Smrg  --)
7648ae04fa6Smrg    ac_dashdash=yes ;;
7658ae04fa6Smrg
7668ae04fa6Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
7678ae04fa6Smrg    ac_prev=bindir ;;
7688ae04fa6Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7698ae04fa6Smrg    bindir=$ac_optarg ;;
7708ae04fa6Smrg
7718ae04fa6Smrg  -build | --build | --buil | --bui | --bu)
7728ae04fa6Smrg    ac_prev=build_alias ;;
7738ae04fa6Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7748ae04fa6Smrg    build_alias=$ac_optarg ;;
7758ae04fa6Smrg
7768ae04fa6Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
7778ae04fa6Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7788ae04fa6Smrg    ac_prev=cache_file ;;
7798ae04fa6Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7808ae04fa6Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7818ae04fa6Smrg    cache_file=$ac_optarg ;;
7828ae04fa6Smrg
7838ae04fa6Smrg  --config-cache | -C)
7848ae04fa6Smrg    cache_file=config.cache ;;
7858ae04fa6Smrg
7868ae04fa6Smrg  -datadir | --datadir | --datadi | --datad)
7878ae04fa6Smrg    ac_prev=datadir ;;
7888ae04fa6Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
7898ae04fa6Smrg    datadir=$ac_optarg ;;
7908ae04fa6Smrg
7918ae04fa6Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
7928ae04fa6Smrg  | --dataroo | --dataro | --datar)
7938ae04fa6Smrg    ac_prev=datarootdir ;;
7948ae04fa6Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
7958ae04fa6Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
7968ae04fa6Smrg    datarootdir=$ac_optarg ;;
7978ae04fa6Smrg
7988ae04fa6Smrg  -disable-* | --disable-*)
7998ae04fa6Smrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8008ae04fa6Smrg    # Reject names that are not valid shell variable names.
8018ae04fa6Smrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8028ae04fa6Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
8038ae04fa6Smrg   { (exit 1); exit 1; }; }
8048ae04fa6Smrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
8058ae04fa6Smrg    eval enable_$ac_feature=no ;;
8068ae04fa6Smrg
8078ae04fa6Smrg  -docdir | --docdir | --docdi | --doc | --do)
8088ae04fa6Smrg    ac_prev=docdir ;;
8098ae04fa6Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8108ae04fa6Smrg    docdir=$ac_optarg ;;
8118ae04fa6Smrg
8128ae04fa6Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8138ae04fa6Smrg    ac_prev=dvidir ;;
8148ae04fa6Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8158ae04fa6Smrg    dvidir=$ac_optarg ;;
8168ae04fa6Smrg
8178ae04fa6Smrg  -enable-* | --enable-*)
8188ae04fa6Smrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8198ae04fa6Smrg    # Reject names that are not valid shell variable names.
8208ae04fa6Smrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8218ae04fa6Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
8228ae04fa6Smrg   { (exit 1); exit 1; }; }
8238ae04fa6Smrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
8248ae04fa6Smrg    eval enable_$ac_feature=\$ac_optarg ;;
8258ae04fa6Smrg
8268ae04fa6Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
8278ae04fa6Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
8288ae04fa6Smrg  | --exec | --exe | --ex)
8298ae04fa6Smrg    ac_prev=exec_prefix ;;
8308ae04fa6Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
8318ae04fa6Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
8328ae04fa6Smrg  | --exec=* | --exe=* | --ex=*)
8338ae04fa6Smrg    exec_prefix=$ac_optarg ;;
8348ae04fa6Smrg
8358ae04fa6Smrg  -gas | --gas | --ga | --g)
8368ae04fa6Smrg    # Obsolete; use --with-gas.
8378ae04fa6Smrg    with_gas=yes ;;
8388ae04fa6Smrg
8398ae04fa6Smrg  -help | --help | --hel | --he | -h)
8408ae04fa6Smrg    ac_init_help=long ;;
8418ae04fa6Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
8428ae04fa6Smrg    ac_init_help=recursive ;;
8438ae04fa6Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
8448ae04fa6Smrg    ac_init_help=short ;;
8458ae04fa6Smrg
8468ae04fa6Smrg  -host | --host | --hos | --ho)
8478ae04fa6Smrg    ac_prev=host_alias ;;
8488ae04fa6Smrg  -host=* | --host=* | --hos=* | --ho=*)
8498ae04fa6Smrg    host_alias=$ac_optarg ;;
8508ae04fa6Smrg
8518ae04fa6Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
8528ae04fa6Smrg    ac_prev=htmldir ;;
8538ae04fa6Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
8548ae04fa6Smrg  | --ht=*)
8558ae04fa6Smrg    htmldir=$ac_optarg ;;
8568ae04fa6Smrg
8578ae04fa6Smrg  -includedir | --includedir | --includedi | --included | --include \
8588ae04fa6Smrg  | --includ | --inclu | --incl | --inc)
8598ae04fa6Smrg    ac_prev=includedir ;;
8608ae04fa6Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
8618ae04fa6Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
8628ae04fa6Smrg    includedir=$ac_optarg ;;
8638ae04fa6Smrg
8648ae04fa6Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
8658ae04fa6Smrg    ac_prev=infodir ;;
8668ae04fa6Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
8678ae04fa6Smrg    infodir=$ac_optarg ;;
8688ae04fa6Smrg
8698ae04fa6Smrg  -libdir | --libdir | --libdi | --libd)
8708ae04fa6Smrg    ac_prev=libdir ;;
8718ae04fa6Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
8728ae04fa6Smrg    libdir=$ac_optarg ;;
8738ae04fa6Smrg
8748ae04fa6Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
8758ae04fa6Smrg  | --libexe | --libex | --libe)
8768ae04fa6Smrg    ac_prev=libexecdir ;;
8778ae04fa6Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
8788ae04fa6Smrg  | --libexe=* | --libex=* | --libe=*)
8798ae04fa6Smrg    libexecdir=$ac_optarg ;;
8808ae04fa6Smrg
8818ae04fa6Smrg  -localedir | --localedir | --localedi | --localed | --locale)
8828ae04fa6Smrg    ac_prev=localedir ;;
8838ae04fa6Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
8848ae04fa6Smrg    localedir=$ac_optarg ;;
8858ae04fa6Smrg
8868ae04fa6Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
8878ae04fa6Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
8888ae04fa6Smrg    ac_prev=localstatedir ;;
8898ae04fa6Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
8908ae04fa6Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
8918ae04fa6Smrg    localstatedir=$ac_optarg ;;
8928ae04fa6Smrg
8938ae04fa6Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
8948ae04fa6Smrg    ac_prev=mandir ;;
8958ae04fa6Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
8968ae04fa6Smrg    mandir=$ac_optarg ;;
8978ae04fa6Smrg
8988ae04fa6Smrg  -nfp | --nfp | --nf)
8998ae04fa6Smrg    # Obsolete; use --without-fp.
9008ae04fa6Smrg    with_fp=no ;;
9018ae04fa6Smrg
9028ae04fa6Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9038ae04fa6Smrg  | --no-cr | --no-c | -n)
9048ae04fa6Smrg    no_create=yes ;;
9058ae04fa6Smrg
9068ae04fa6Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9078ae04fa6Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9088ae04fa6Smrg    no_recursion=yes ;;
9098ae04fa6Smrg
9108ae04fa6Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9118ae04fa6Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9128ae04fa6Smrg  | --oldin | --oldi | --old | --ol | --o)
9138ae04fa6Smrg    ac_prev=oldincludedir ;;
9148ae04fa6Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9158ae04fa6Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9168ae04fa6Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9178ae04fa6Smrg    oldincludedir=$ac_optarg ;;
9188ae04fa6Smrg
9198ae04fa6Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9208ae04fa6Smrg    ac_prev=prefix ;;
9218ae04fa6Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9228ae04fa6Smrg    prefix=$ac_optarg ;;
9238ae04fa6Smrg
9248ae04fa6Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
9258ae04fa6Smrg  | --program-pre | --program-pr | --program-p)
9268ae04fa6Smrg    ac_prev=program_prefix ;;
9278ae04fa6Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
9288ae04fa6Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9298ae04fa6Smrg    program_prefix=$ac_optarg ;;
9308ae04fa6Smrg
9318ae04fa6Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
9328ae04fa6Smrg  | --program-suf | --program-su | --program-s)
9338ae04fa6Smrg    ac_prev=program_suffix ;;
9348ae04fa6Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
9358ae04fa6Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9368ae04fa6Smrg    program_suffix=$ac_optarg ;;
9378ae04fa6Smrg
9388ae04fa6Smrg  -program-transform-name | --program-transform-name \
9398ae04fa6Smrg  | --program-transform-nam | --program-transform-na \
9408ae04fa6Smrg  | --program-transform-n | --program-transform- \
9418ae04fa6Smrg  | --program-transform | --program-transfor \
9428ae04fa6Smrg  | --program-transfo | --program-transf \
9438ae04fa6Smrg  | --program-trans | --program-tran \
9448ae04fa6Smrg  | --progr-tra | --program-tr | --program-t)
9458ae04fa6Smrg    ac_prev=program_transform_name ;;
9468ae04fa6Smrg  -program-transform-name=* | --program-transform-name=* \
9478ae04fa6Smrg  | --program-transform-nam=* | --program-transform-na=* \
9488ae04fa6Smrg  | --program-transform-n=* | --program-transform-=* \
9498ae04fa6Smrg  | --program-transform=* | --program-transfor=* \
9508ae04fa6Smrg  | --program-transfo=* | --program-transf=* \
9518ae04fa6Smrg  | --program-trans=* | --program-tran=* \
9528ae04fa6Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
9538ae04fa6Smrg    program_transform_name=$ac_optarg ;;
9548ae04fa6Smrg
9558ae04fa6Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
9568ae04fa6Smrg    ac_prev=pdfdir ;;
9578ae04fa6Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
9588ae04fa6Smrg    pdfdir=$ac_optarg ;;
9598ae04fa6Smrg
9608ae04fa6Smrg  -psdir | --psdir | --psdi | --psd | --ps)
9618ae04fa6Smrg    ac_prev=psdir ;;
9628ae04fa6Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
9638ae04fa6Smrg    psdir=$ac_optarg ;;
9648ae04fa6Smrg
9658ae04fa6Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9668ae04fa6Smrg  | -silent | --silent | --silen | --sile | --sil)
9678ae04fa6Smrg    silent=yes ;;
9688ae04fa6Smrg
9698ae04fa6Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
9708ae04fa6Smrg    ac_prev=sbindir ;;
9718ae04fa6Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
9728ae04fa6Smrg  | --sbi=* | --sb=*)
9738ae04fa6Smrg    sbindir=$ac_optarg ;;
9748ae04fa6Smrg
9758ae04fa6Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
9768ae04fa6Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
9778ae04fa6Smrg  | --sharedst | --shareds | --shared | --share | --shar \
9788ae04fa6Smrg  | --sha | --sh)
9798ae04fa6Smrg    ac_prev=sharedstatedir ;;
9808ae04fa6Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
9818ae04fa6Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
9828ae04fa6Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
9838ae04fa6Smrg  | --sha=* | --sh=*)
9848ae04fa6Smrg    sharedstatedir=$ac_optarg ;;
9858ae04fa6Smrg
9868ae04fa6Smrg  -site | --site | --sit)
9878ae04fa6Smrg    ac_prev=site ;;
9888ae04fa6Smrg  -site=* | --site=* | --sit=*)
9898ae04fa6Smrg    site=$ac_optarg ;;
9908ae04fa6Smrg
9918ae04fa6Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
9928ae04fa6Smrg    ac_prev=srcdir ;;
9938ae04fa6Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
9948ae04fa6Smrg    srcdir=$ac_optarg ;;
9958ae04fa6Smrg
9968ae04fa6Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
9978ae04fa6Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
9988ae04fa6Smrg    ac_prev=sysconfdir ;;
9998ae04fa6Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10008ae04fa6Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10018ae04fa6Smrg    sysconfdir=$ac_optarg ;;
10028ae04fa6Smrg
10038ae04fa6Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
10048ae04fa6Smrg    ac_prev=target_alias ;;
10058ae04fa6Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10068ae04fa6Smrg    target_alias=$ac_optarg ;;
10078ae04fa6Smrg
10088ae04fa6Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
10098ae04fa6Smrg    verbose=yes ;;
10108ae04fa6Smrg
10118ae04fa6Smrg  -version | --version | --versio | --versi | --vers | -V)
10128ae04fa6Smrg    ac_init_version=: ;;
10138ae04fa6Smrg
10148ae04fa6Smrg  -with-* | --with-*)
10158ae04fa6Smrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10168ae04fa6Smrg    # Reject names that are not valid shell variable names.
10178ae04fa6Smrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10188ae04fa6Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
10198ae04fa6Smrg   { (exit 1); exit 1; }; }
10208ae04fa6Smrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10218ae04fa6Smrg    eval with_$ac_package=\$ac_optarg ;;
10228ae04fa6Smrg
10238ae04fa6Smrg  -without-* | --without-*)
10248ae04fa6Smrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10258ae04fa6Smrg    # Reject names that are not valid shell variable names.
10268ae04fa6Smrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10278ae04fa6Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
10288ae04fa6Smrg   { (exit 1); exit 1; }; }
10298ae04fa6Smrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10308ae04fa6Smrg    eval with_$ac_package=no ;;
10318ae04fa6Smrg
10328ae04fa6Smrg  --x)
10338ae04fa6Smrg    # Obsolete; use --with-x.
10348ae04fa6Smrg    with_x=yes ;;
10358ae04fa6Smrg
10368ae04fa6Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
10378ae04fa6Smrg  | --x-incl | --x-inc | --x-in | --x-i)
10388ae04fa6Smrg    ac_prev=x_includes ;;
10398ae04fa6Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
10408ae04fa6Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
10418ae04fa6Smrg    x_includes=$ac_optarg ;;
10428ae04fa6Smrg
10438ae04fa6Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
10448ae04fa6Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
10458ae04fa6Smrg    ac_prev=x_libraries ;;
10468ae04fa6Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
10478ae04fa6Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10488ae04fa6Smrg    x_libraries=$ac_optarg ;;
10498ae04fa6Smrg
10508ae04fa6Smrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
10518ae04fa6SmrgTry \`$0 --help' for more information." >&2
10528ae04fa6Smrg   { (exit 1); exit 1; }; }
10538ae04fa6Smrg    ;;
10548ae04fa6Smrg
10558ae04fa6Smrg  *=*)
10568ae04fa6Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10578ae04fa6Smrg    # Reject names that are not valid shell variable names.
10588ae04fa6Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
10598ae04fa6Smrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10608ae04fa6Smrg   { (exit 1); exit 1; }; }
10618ae04fa6Smrg    eval $ac_envvar=\$ac_optarg
10628ae04fa6Smrg    export $ac_envvar ;;
10638ae04fa6Smrg
10648ae04fa6Smrg  *)
10658ae04fa6Smrg    # FIXME: should be removed in autoconf 3.0.
10668ae04fa6Smrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10678ae04fa6Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10688ae04fa6Smrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10698ae04fa6Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10708ae04fa6Smrg    ;;
10718ae04fa6Smrg
10728ae04fa6Smrg  esac
10738ae04fa6Smrgdone
10748ae04fa6Smrg
10758ae04fa6Smrgif test -n "$ac_prev"; then
10768ae04fa6Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
10778ae04fa6Smrg  { echo "$as_me: error: missing argument to $ac_option" >&2
10788ae04fa6Smrg   { (exit 1); exit 1; }; }
10798ae04fa6Smrgfi
10808ae04fa6Smrg
10818ae04fa6Smrg# Be sure to have absolute directory names.
10828ae04fa6Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
10838ae04fa6Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
10848ae04fa6Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
10858ae04fa6Smrg		libdir localedir mandir
10868ae04fa6Smrgdo
10878ae04fa6Smrg  eval ac_val=\$$ac_var
10888ae04fa6Smrg  case $ac_val in
10898ae04fa6Smrg    [\\/$]* | ?:[\\/]* )  continue;;
10908ae04fa6Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10918ae04fa6Smrg  esac
10928ae04fa6Smrg  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
10938ae04fa6Smrg   { (exit 1); exit 1; }; }
10948ae04fa6Smrgdone
10958ae04fa6Smrg
10968ae04fa6Smrg# There might be people who depend on the old broken behavior: `$host'
10978ae04fa6Smrg# used to hold the argument of --host etc.
10988ae04fa6Smrg# FIXME: To remove some day.
10998ae04fa6Smrgbuild=$build_alias
11008ae04fa6Smrghost=$host_alias
11018ae04fa6Smrgtarget=$target_alias
11028ae04fa6Smrg
11038ae04fa6Smrg# FIXME: To remove some day.
11048ae04fa6Smrgif test "x$host_alias" != x; then
11058ae04fa6Smrg  if test "x$build_alias" = x; then
11068ae04fa6Smrg    cross_compiling=maybe
11078ae04fa6Smrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11088ae04fa6Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
11098ae04fa6Smrg  elif test "x$build_alias" != "x$host_alias"; then
11108ae04fa6Smrg    cross_compiling=yes
11118ae04fa6Smrg  fi
11128ae04fa6Smrgfi
11138ae04fa6Smrg
11148ae04fa6Smrgac_tool_prefix=
11158ae04fa6Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
11168ae04fa6Smrg
11178ae04fa6Smrgtest "$silent" = yes && exec 6>/dev/null
11188ae04fa6Smrg
11198ae04fa6Smrg
11208ae04fa6Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
11218ae04fa6Smrgac_ls_di=`ls -di .` &&
11228ae04fa6Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
11238ae04fa6Smrg  { echo "$as_me: error: Working directory cannot be determined" >&2
11248ae04fa6Smrg   { (exit 1); exit 1; }; }
11258ae04fa6Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
11268ae04fa6Smrg  { echo "$as_me: error: pwd does not report name of working directory" >&2
11278ae04fa6Smrg   { (exit 1); exit 1; }; }
11288ae04fa6Smrg
11298ae04fa6Smrg
11308ae04fa6Smrg# Find the source files, if location was not specified.
11318ae04fa6Smrgif test -z "$srcdir"; then
11328ae04fa6Smrg  ac_srcdir_defaulted=yes
11338ae04fa6Smrg  # Try the directory containing this script, then the parent directory.
11348ae04fa6Smrg  ac_confdir=`$as_dirname -- "$0" ||
11358ae04fa6Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11368ae04fa6Smrg	 X"$0" : 'X\(//\)[^/]' \| \
11378ae04fa6Smrg	 X"$0" : 'X\(//\)$' \| \
11388ae04fa6Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11398ae04fa6Smrgecho X"$0" |
11408ae04fa6Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11418ae04fa6Smrg	    s//\1/
11428ae04fa6Smrg	    q
11438ae04fa6Smrg	  }
11448ae04fa6Smrg	  /^X\(\/\/\)[^/].*/{
11458ae04fa6Smrg	    s//\1/
11468ae04fa6Smrg	    q
11478ae04fa6Smrg	  }
11488ae04fa6Smrg	  /^X\(\/\/\)$/{
11498ae04fa6Smrg	    s//\1/
11508ae04fa6Smrg	    q
11518ae04fa6Smrg	  }
11528ae04fa6Smrg	  /^X\(\/\).*/{
11538ae04fa6Smrg	    s//\1/
11548ae04fa6Smrg	    q
11558ae04fa6Smrg	  }
11568ae04fa6Smrg	  s/.*/./; q'`
11578ae04fa6Smrg  srcdir=$ac_confdir
11588ae04fa6Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
11598ae04fa6Smrg    srcdir=..
11608ae04fa6Smrg  fi
11618ae04fa6Smrgelse
11628ae04fa6Smrg  ac_srcdir_defaulted=no
11638ae04fa6Smrgfi
11648ae04fa6Smrgif test ! -r "$srcdir/$ac_unique_file"; then
11658ae04fa6Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
11668ae04fa6Smrg  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
11678ae04fa6Smrg   { (exit 1); exit 1; }; }
11688ae04fa6Smrgfi
11698ae04fa6Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11708ae04fa6Smrgac_abs_confdir=`(
11718ae04fa6Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
11728ae04fa6Smrg   { (exit 1); exit 1; }; }
11738ae04fa6Smrg	pwd)`
11748ae04fa6Smrg# When building in place, set srcdir=.
11758ae04fa6Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
11768ae04fa6Smrg  srcdir=.
11778ae04fa6Smrgfi
11788ae04fa6Smrg# Remove unnecessary trailing slashes from srcdir.
11798ae04fa6Smrg# Double slashes in file names in object file debugging info
11808ae04fa6Smrg# mess up M-x gdb in Emacs.
11818ae04fa6Smrgcase $srcdir in
11828ae04fa6Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
11838ae04fa6Smrgesac
11848ae04fa6Smrgfor ac_var in $ac_precious_vars; do
11858ae04fa6Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
11868ae04fa6Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
11878ae04fa6Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
11888ae04fa6Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
11898ae04fa6Smrgdone
11908ae04fa6Smrg
11918ae04fa6Smrg#
11928ae04fa6Smrg# Report the --help message.
11938ae04fa6Smrg#
11948ae04fa6Smrgif test "$ac_init_help" = "long"; then
11958ae04fa6Smrg  # Omit some internal or obsolete options to make the list less imposing.
11968ae04fa6Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
11978ae04fa6Smrg  cat <<_ACEOF
11988ae04fa6Smrg\`configure' configures xvinfo 1.0.2 to adapt to many kinds of systems.
11998ae04fa6Smrg
12008ae04fa6SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
12018ae04fa6Smrg
12028ae04fa6SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
12038ae04fa6SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
12048ae04fa6Smrg
12058ae04fa6SmrgDefaults for the options are specified in brackets.
12068ae04fa6Smrg
12078ae04fa6SmrgConfiguration:
12088ae04fa6Smrg  -h, --help              display this help and exit
12098ae04fa6Smrg      --help=short        display options specific to this package
12108ae04fa6Smrg      --help=recursive    display the short help of all the included packages
12118ae04fa6Smrg  -V, --version           display version information and exit
12128ae04fa6Smrg  -q, --quiet, --silent   do not print \`checking...' messages
12138ae04fa6Smrg      --cache-file=FILE   cache test results in FILE [disabled]
12148ae04fa6Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
12158ae04fa6Smrg  -n, --no-create         do not create output files
12168ae04fa6Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
12178ae04fa6Smrg
12188ae04fa6SmrgInstallation directories:
12198ae04fa6Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
12208ae04fa6Smrg			  [$ac_default_prefix]
12218ae04fa6Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
12228ae04fa6Smrg			  [PREFIX]
12238ae04fa6Smrg
12248ae04fa6SmrgBy default, \`make install' will install all the files in
12258ae04fa6Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
12268ae04fa6Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
12278ae04fa6Smrgfor instance \`--prefix=\$HOME'.
12288ae04fa6Smrg
12298ae04fa6SmrgFor better control, use the options below.
12308ae04fa6Smrg
12318ae04fa6SmrgFine tuning of the installation directories:
12328ae04fa6Smrg  --bindir=DIR           user executables [EPREFIX/bin]
12338ae04fa6Smrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
12348ae04fa6Smrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
12358ae04fa6Smrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
12368ae04fa6Smrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
12378ae04fa6Smrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
12388ae04fa6Smrg  --libdir=DIR           object code libraries [EPREFIX/lib]
12398ae04fa6Smrg  --includedir=DIR       C header files [PREFIX/include]
12408ae04fa6Smrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
12418ae04fa6Smrg  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
12428ae04fa6Smrg  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
12438ae04fa6Smrg  --infodir=DIR          info documentation [DATAROOTDIR/info]
12448ae04fa6Smrg  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
12458ae04fa6Smrg  --mandir=DIR           man documentation [DATAROOTDIR/man]
12468ae04fa6Smrg  --docdir=DIR           documentation root [DATAROOTDIR/doc/xvinfo]
12478ae04fa6Smrg  --htmldir=DIR          html documentation [DOCDIR]
12488ae04fa6Smrg  --dvidir=DIR           dvi documentation [DOCDIR]
12498ae04fa6Smrg  --pdfdir=DIR           pdf documentation [DOCDIR]
12508ae04fa6Smrg  --psdir=DIR            ps documentation [DOCDIR]
12518ae04fa6Smrg_ACEOF
12528ae04fa6Smrg
12538ae04fa6Smrg  cat <<\_ACEOF
12548ae04fa6Smrg
12558ae04fa6SmrgProgram names:
12568ae04fa6Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
12578ae04fa6Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
12588ae04fa6Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
12598ae04fa6Smrg
12608ae04fa6SmrgSystem types:
12618ae04fa6Smrg  --build=BUILD     configure for building on BUILD [guessed]
12628ae04fa6Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
12638ae04fa6Smrg_ACEOF
12648ae04fa6Smrgfi
12658ae04fa6Smrg
12668ae04fa6Smrgif test -n "$ac_init_help"; then
12678ae04fa6Smrg  case $ac_init_help in
12688ae04fa6Smrg     short | recursive ) echo "Configuration of xvinfo 1.0.2:";;
12698ae04fa6Smrg   esac
12708ae04fa6Smrg  cat <<\_ACEOF
12718ae04fa6Smrg
12728ae04fa6SmrgOptional Features:
12738ae04fa6Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
12748ae04fa6Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
12758ae04fa6Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
12768ae04fa6Smrg			  (and sometimes confusing) to the casual installer
12778ae04fa6Smrg  --disable-dependency-tracking  speeds up one-time build
12788ae04fa6Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
12798ae04fa6Smrg
12808ae04fa6SmrgOptional Packages:
12818ae04fa6Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
12828ae04fa6Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
12838ae04fa6Smrg  --with-release-version=STRING
12848ae04fa6Smrg                          Use release version string in package name
12858ae04fa6Smrg
12868ae04fa6SmrgSome influential environment variables:
12878ae04fa6Smrg  CC          C compiler command
12888ae04fa6Smrg  CFLAGS      C compiler flags
12898ae04fa6Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
12908ae04fa6Smrg              nonstandard directory <lib dir>
12918ae04fa6Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
12928ae04fa6Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
12938ae04fa6Smrg              you have headers in a nonstandard directory <include dir>
12948ae04fa6Smrg  PKG_CONFIG  path to pkg-config utility
12958ae04fa6Smrg  XVINFO_CFLAGS
12968ae04fa6Smrg              C compiler flags for XVINFO, overriding pkg-config
12978ae04fa6Smrg  XVINFO_LIBS linker flags for XVINFO, overriding pkg-config
12988ae04fa6Smrg
12998ae04fa6SmrgUse these variables to override the choices made by `configure' or to help
13008ae04fa6Smrgit to find libraries and programs with nonstandard names/locations.
13018ae04fa6Smrg
13028ae04fa6SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
13038ae04fa6Smrg_ACEOF
13048ae04fa6Smrgac_status=$?
13058ae04fa6Smrgfi
13068ae04fa6Smrg
13078ae04fa6Smrgif test "$ac_init_help" = "recursive"; then
13088ae04fa6Smrg  # If there are subdirs, report their specific --help.
13098ae04fa6Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13108ae04fa6Smrg    test -d "$ac_dir" || continue
13118ae04fa6Smrg    ac_builddir=.
13128ae04fa6Smrg
13138ae04fa6Smrgcase "$ac_dir" in
13148ae04fa6Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13158ae04fa6Smrg*)
13168ae04fa6Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13178ae04fa6Smrg  # A ".." for each directory in $ac_dir_suffix.
13188ae04fa6Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13198ae04fa6Smrg  case $ac_top_builddir_sub in
13208ae04fa6Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13218ae04fa6Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13228ae04fa6Smrg  esac ;;
13238ae04fa6Smrgesac
13248ae04fa6Smrgac_abs_top_builddir=$ac_pwd
13258ae04fa6Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
13268ae04fa6Smrg# for backward compatibility:
13278ae04fa6Smrgac_top_builddir=$ac_top_build_prefix
13288ae04fa6Smrg
13298ae04fa6Smrgcase $srcdir in
13308ae04fa6Smrg  .)  # We are building in place.
13318ae04fa6Smrg    ac_srcdir=.
13328ae04fa6Smrg    ac_top_srcdir=$ac_top_builddir_sub
13338ae04fa6Smrg    ac_abs_top_srcdir=$ac_pwd ;;
13348ae04fa6Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
13358ae04fa6Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
13368ae04fa6Smrg    ac_top_srcdir=$srcdir
13378ae04fa6Smrg    ac_abs_top_srcdir=$srcdir ;;
13388ae04fa6Smrg  *) # Relative name.
13398ae04fa6Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13408ae04fa6Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
13418ae04fa6Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13428ae04fa6Smrgesac
13438ae04fa6Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13448ae04fa6Smrg
13458ae04fa6Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
13468ae04fa6Smrg    # Check for guested configure.
13478ae04fa6Smrg    if test -f "$ac_srcdir/configure.gnu"; then
13488ae04fa6Smrg      echo &&
13498ae04fa6Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
13508ae04fa6Smrg    elif test -f "$ac_srcdir/configure"; then
13518ae04fa6Smrg      echo &&
13528ae04fa6Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
13538ae04fa6Smrg    else
13548ae04fa6Smrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13558ae04fa6Smrg    fi || ac_status=$?
13568ae04fa6Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
13578ae04fa6Smrg  done
13588ae04fa6Smrgfi
13598ae04fa6Smrg
13608ae04fa6Smrgtest -n "$ac_init_help" && exit $ac_status
13618ae04fa6Smrgif $ac_init_version; then
13628ae04fa6Smrg  cat <<\_ACEOF
13638ae04fa6Smrgxvinfo configure 1.0.2
13648ae04fa6Smrggenerated by GNU Autoconf 2.61
13658ae04fa6Smrg
13668ae04fa6SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13678ae04fa6Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
13688ae04fa6SmrgThis configure script is free software; the Free Software Foundation
13698ae04fa6Smrggives unlimited permission to copy, distribute and modify it.
13708ae04fa6Smrg_ACEOF
13718ae04fa6Smrg  exit
13728ae04fa6Smrgfi
13738ae04fa6Smrgcat >config.log <<_ACEOF
13748ae04fa6SmrgThis file contains any messages produced by compilers while
13758ae04fa6Smrgrunning configure, to aid debugging if configure makes a mistake.
13768ae04fa6Smrg
13778ae04fa6SmrgIt was created by xvinfo $as_me 1.0.2, which was
13788ae04fa6Smrggenerated by GNU Autoconf 2.61.  Invocation command line was
13798ae04fa6Smrg
13808ae04fa6Smrg  $ $0 $@
13818ae04fa6Smrg
13828ae04fa6Smrg_ACEOF
13838ae04fa6Smrgexec 5>>config.log
13848ae04fa6Smrg{
13858ae04fa6Smrgcat <<_ASUNAME
13868ae04fa6Smrg## --------- ##
13878ae04fa6Smrg## Platform. ##
13888ae04fa6Smrg## --------- ##
13898ae04fa6Smrg
13908ae04fa6Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
13918ae04fa6Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
13928ae04fa6Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
13938ae04fa6Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
13948ae04fa6Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
13958ae04fa6Smrg
13968ae04fa6Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
13978ae04fa6Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
13988ae04fa6Smrg
13998ae04fa6Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
14008ae04fa6Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
14018ae04fa6Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
14028ae04fa6Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
14038ae04fa6Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
14048ae04fa6Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
14058ae04fa6Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
14068ae04fa6Smrg
14078ae04fa6Smrg_ASUNAME
14088ae04fa6Smrg
14098ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14108ae04fa6Smrgfor as_dir in $PATH
14118ae04fa6Smrgdo
14128ae04fa6Smrg  IFS=$as_save_IFS
14138ae04fa6Smrg  test -z "$as_dir" && as_dir=.
14148ae04fa6Smrg  echo "PATH: $as_dir"
14158ae04fa6Smrgdone
14168ae04fa6SmrgIFS=$as_save_IFS
14178ae04fa6Smrg
14188ae04fa6Smrg} >&5
14198ae04fa6Smrg
14208ae04fa6Smrgcat >&5 <<_ACEOF
14218ae04fa6Smrg
14228ae04fa6Smrg
14238ae04fa6Smrg## ----------- ##
14248ae04fa6Smrg## Core tests. ##
14258ae04fa6Smrg## ----------- ##
14268ae04fa6Smrg
14278ae04fa6Smrg_ACEOF
14288ae04fa6Smrg
14298ae04fa6Smrg
14308ae04fa6Smrg# Keep a trace of the command line.
14318ae04fa6Smrg# Strip out --no-create and --no-recursion so they do not pile up.
14328ae04fa6Smrg# Strip out --silent because we don't want to record it for future runs.
14338ae04fa6Smrg# Also quote any args containing shell meta-characters.
14348ae04fa6Smrg# Make two passes to allow for proper duplicate-argument suppression.
14358ae04fa6Smrgac_configure_args=
14368ae04fa6Smrgac_configure_args0=
14378ae04fa6Smrgac_configure_args1=
14388ae04fa6Smrgac_must_keep_next=false
14398ae04fa6Smrgfor ac_pass in 1 2
14408ae04fa6Smrgdo
14418ae04fa6Smrg  for ac_arg
14428ae04fa6Smrg  do
14438ae04fa6Smrg    case $ac_arg in
14448ae04fa6Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
14458ae04fa6Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14468ae04fa6Smrg    | -silent | --silent | --silen | --sile | --sil)
14478ae04fa6Smrg      continue ;;
14488ae04fa6Smrg    *\'*)
14498ae04fa6Smrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14508ae04fa6Smrg    esac
14518ae04fa6Smrg    case $ac_pass in
14528ae04fa6Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
14538ae04fa6Smrg    2)
14548ae04fa6Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
14558ae04fa6Smrg      if test $ac_must_keep_next = true; then
14568ae04fa6Smrg	ac_must_keep_next=false # Got value, back to normal.
14578ae04fa6Smrg      else
14588ae04fa6Smrg	case $ac_arg in
14598ae04fa6Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
14608ae04fa6Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
14618ae04fa6Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
14628ae04fa6Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
14638ae04fa6Smrg	    case "$ac_configure_args0 " in
14648ae04fa6Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
14658ae04fa6Smrg	    esac
14668ae04fa6Smrg	    ;;
14678ae04fa6Smrg	  -* ) ac_must_keep_next=true ;;
14688ae04fa6Smrg	esac
14698ae04fa6Smrg      fi
14708ae04fa6Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
14718ae04fa6Smrg      ;;
14728ae04fa6Smrg    esac
14738ae04fa6Smrg  done
14748ae04fa6Smrgdone
14758ae04fa6Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
14768ae04fa6Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
14778ae04fa6Smrg
14788ae04fa6Smrg# When interrupted or exit'd, cleanup temporary files, and complete
14798ae04fa6Smrg# config.log.  We remove comments because anyway the quotes in there
14808ae04fa6Smrg# would cause problems or look ugly.
14818ae04fa6Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
14828ae04fa6Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
14838ae04fa6Smrgtrap 'exit_status=$?
14848ae04fa6Smrg  # Save into config.log some information that might help in debugging.
14858ae04fa6Smrg  {
14868ae04fa6Smrg    echo
14878ae04fa6Smrg
14888ae04fa6Smrg    cat <<\_ASBOX
14898ae04fa6Smrg## ---------------- ##
14908ae04fa6Smrg## Cache variables. ##
14918ae04fa6Smrg## ---------------- ##
14928ae04fa6Smrg_ASBOX
14938ae04fa6Smrg    echo
14948ae04fa6Smrg    # The following way of writing the cache mishandles newlines in values,
14958ae04fa6Smrg(
14968ae04fa6Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
14978ae04fa6Smrg    eval ac_val=\$$ac_var
14988ae04fa6Smrg    case $ac_val in #(
14998ae04fa6Smrg    *${as_nl}*)
15008ae04fa6Smrg      case $ac_var in #(
15018ae04fa6Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15028ae04fa6Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15038ae04fa6Smrg      esac
15048ae04fa6Smrg      case $ac_var in #(
15058ae04fa6Smrg      _ | IFS | as_nl) ;; #(
15068ae04fa6Smrg      *) $as_unset $ac_var ;;
15078ae04fa6Smrg      esac ;;
15088ae04fa6Smrg    esac
15098ae04fa6Smrg  done
15108ae04fa6Smrg  (set) 2>&1 |
15118ae04fa6Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
15128ae04fa6Smrg    *${as_nl}ac_space=\ *)
15138ae04fa6Smrg      sed -n \
15148ae04fa6Smrg	"s/'\''/'\''\\\\'\'''\''/g;
15158ae04fa6Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
15168ae04fa6Smrg      ;; #(
15178ae04fa6Smrg    *)
15188ae04fa6Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15198ae04fa6Smrg      ;;
15208ae04fa6Smrg    esac |
15218ae04fa6Smrg    sort
15228ae04fa6Smrg)
15238ae04fa6Smrg    echo
15248ae04fa6Smrg
15258ae04fa6Smrg    cat <<\_ASBOX
15268ae04fa6Smrg## ----------------- ##
15278ae04fa6Smrg## Output variables. ##
15288ae04fa6Smrg## ----------------- ##
15298ae04fa6Smrg_ASBOX
15308ae04fa6Smrg    echo
15318ae04fa6Smrg    for ac_var in $ac_subst_vars
15328ae04fa6Smrg    do
15338ae04fa6Smrg      eval ac_val=\$$ac_var
15348ae04fa6Smrg      case $ac_val in
15358ae04fa6Smrg      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15368ae04fa6Smrg      esac
15378ae04fa6Smrg      echo "$ac_var='\''$ac_val'\''"
15388ae04fa6Smrg    done | sort
15398ae04fa6Smrg    echo
15408ae04fa6Smrg
15418ae04fa6Smrg    if test -n "$ac_subst_files"; then
15428ae04fa6Smrg      cat <<\_ASBOX
15438ae04fa6Smrg## ------------------- ##
15448ae04fa6Smrg## File substitutions. ##
15458ae04fa6Smrg## ------------------- ##
15468ae04fa6Smrg_ASBOX
15478ae04fa6Smrg      echo
15488ae04fa6Smrg      for ac_var in $ac_subst_files
15498ae04fa6Smrg      do
15508ae04fa6Smrg	eval ac_val=\$$ac_var
15518ae04fa6Smrg	case $ac_val in
15528ae04fa6Smrg	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15538ae04fa6Smrg	esac
15548ae04fa6Smrg	echo "$ac_var='\''$ac_val'\''"
15558ae04fa6Smrg      done | sort
15568ae04fa6Smrg      echo
15578ae04fa6Smrg    fi
15588ae04fa6Smrg
15598ae04fa6Smrg    if test -s confdefs.h; then
15608ae04fa6Smrg      cat <<\_ASBOX
15618ae04fa6Smrg## ----------- ##
15628ae04fa6Smrg## confdefs.h. ##
15638ae04fa6Smrg## ----------- ##
15648ae04fa6Smrg_ASBOX
15658ae04fa6Smrg      echo
15668ae04fa6Smrg      cat confdefs.h
15678ae04fa6Smrg      echo
15688ae04fa6Smrg    fi
15698ae04fa6Smrg    test "$ac_signal" != 0 &&
15708ae04fa6Smrg      echo "$as_me: caught signal $ac_signal"
15718ae04fa6Smrg    echo "$as_me: exit $exit_status"
15728ae04fa6Smrg  } >&5
15738ae04fa6Smrg  rm -f core *.core core.conftest.* &&
15748ae04fa6Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
15758ae04fa6Smrg    exit $exit_status
15768ae04fa6Smrg' 0
15778ae04fa6Smrgfor ac_signal in 1 2 13 15; do
15788ae04fa6Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
15798ae04fa6Smrgdone
15808ae04fa6Smrgac_signal=0
15818ae04fa6Smrg
15828ae04fa6Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
15838ae04fa6Smrgrm -f -r conftest* confdefs.h
15848ae04fa6Smrg
15858ae04fa6Smrg# Predefined preprocessor variables.
15868ae04fa6Smrg
15878ae04fa6Smrgcat >>confdefs.h <<_ACEOF
15888ae04fa6Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
15898ae04fa6Smrg_ACEOF
15908ae04fa6Smrg
15918ae04fa6Smrg
15928ae04fa6Smrgcat >>confdefs.h <<_ACEOF
15938ae04fa6Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
15948ae04fa6Smrg_ACEOF
15958ae04fa6Smrg
15968ae04fa6Smrg
15978ae04fa6Smrgcat >>confdefs.h <<_ACEOF
15988ae04fa6Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
15998ae04fa6Smrg_ACEOF
16008ae04fa6Smrg
16018ae04fa6Smrg
16028ae04fa6Smrgcat >>confdefs.h <<_ACEOF
16038ae04fa6Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
16048ae04fa6Smrg_ACEOF
16058ae04fa6Smrg
16068ae04fa6Smrg
16078ae04fa6Smrgcat >>confdefs.h <<_ACEOF
16088ae04fa6Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16098ae04fa6Smrg_ACEOF
16108ae04fa6Smrg
16118ae04fa6Smrg
16128ae04fa6Smrg# Let the site file select an alternate cache file if it wants to.
16138ae04fa6Smrg# Prefer explicitly selected file to automatically selected ones.
16148ae04fa6Smrgif test -n "$CONFIG_SITE"; then
16158ae04fa6Smrg  set x "$CONFIG_SITE"
16168ae04fa6Smrgelif test "x$prefix" != xNONE; then
16178ae04fa6Smrg  set x "$prefix/share/config.site" "$prefix/etc/config.site"
16188ae04fa6Smrgelse
16198ae04fa6Smrg  set x "$ac_default_prefix/share/config.site" \
16208ae04fa6Smrg	"$ac_default_prefix/etc/config.site"
16218ae04fa6Smrgfi
16228ae04fa6Smrgshift
16238ae04fa6Smrgfor ac_site_file
16248ae04fa6Smrgdo
16258ae04fa6Smrg  if test -r "$ac_site_file"; then
16268ae04fa6Smrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
16278ae04fa6Smrgecho "$as_me: loading site script $ac_site_file" >&6;}
16288ae04fa6Smrg    sed 's/^/| /' "$ac_site_file" >&5
16298ae04fa6Smrg    . "$ac_site_file"
16308ae04fa6Smrg  fi
16318ae04fa6Smrgdone
16328ae04fa6Smrg
16338ae04fa6Smrgif test -r "$cache_file"; then
16348ae04fa6Smrg  # Some versions of bash will fail to source /dev/null (special
16358ae04fa6Smrg  # files actually), so we avoid doing that.
16368ae04fa6Smrg  if test -f "$cache_file"; then
16378ae04fa6Smrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
16388ae04fa6Smrgecho "$as_me: loading cache $cache_file" >&6;}
16398ae04fa6Smrg    case $cache_file in
16408ae04fa6Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
16418ae04fa6Smrg      *)                      . "./$cache_file";;
16428ae04fa6Smrg    esac
16438ae04fa6Smrg  fi
16448ae04fa6Smrgelse
16458ae04fa6Smrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
16468ae04fa6Smrgecho "$as_me: creating cache $cache_file" >&6;}
16478ae04fa6Smrg  >$cache_file
16488ae04fa6Smrgfi
16498ae04fa6Smrg
16508ae04fa6Smrg# Check that the precious variables saved in the cache have kept the same
16518ae04fa6Smrg# value.
16528ae04fa6Smrgac_cache_corrupted=false
16538ae04fa6Smrgfor ac_var in $ac_precious_vars; do
16548ae04fa6Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
16558ae04fa6Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
16568ae04fa6Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
16578ae04fa6Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
16588ae04fa6Smrg  case $ac_old_set,$ac_new_set in
16598ae04fa6Smrg    set,)
16608ae04fa6Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
16618ae04fa6Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
16628ae04fa6Smrg      ac_cache_corrupted=: ;;
16638ae04fa6Smrg    ,set)
16648ae04fa6Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
16658ae04fa6Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
16668ae04fa6Smrg      ac_cache_corrupted=: ;;
16678ae04fa6Smrg    ,);;
16688ae04fa6Smrg    *)
16698ae04fa6Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
16708ae04fa6Smrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
16718ae04fa6Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
16728ae04fa6Smrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
16738ae04fa6Smrgecho "$as_me:   former value:  $ac_old_val" >&2;}
16748ae04fa6Smrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
16758ae04fa6Smrgecho "$as_me:   current value: $ac_new_val" >&2;}
16768ae04fa6Smrg	ac_cache_corrupted=:
16778ae04fa6Smrg      fi;;
16788ae04fa6Smrg  esac
16798ae04fa6Smrg  # Pass precious variables to config.status.
16808ae04fa6Smrg  if test "$ac_new_set" = set; then
16818ae04fa6Smrg    case $ac_new_val in
16828ae04fa6Smrg    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
16838ae04fa6Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
16848ae04fa6Smrg    esac
16858ae04fa6Smrg    case " $ac_configure_args " in
16868ae04fa6Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
16878ae04fa6Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
16888ae04fa6Smrg    esac
16898ae04fa6Smrg  fi
16908ae04fa6Smrgdone
16918ae04fa6Smrgif $ac_cache_corrupted; then
16928ae04fa6Smrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
16938ae04fa6Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
16948ae04fa6Smrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
16958ae04fa6Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
16968ae04fa6Smrg   { (exit 1); exit 1; }; }
16978ae04fa6Smrgfi
16988ae04fa6Smrg
16998ae04fa6Smrg
17008ae04fa6Smrg
17018ae04fa6Smrg
17028ae04fa6Smrg
17038ae04fa6Smrg
17048ae04fa6Smrg
17058ae04fa6Smrg
17068ae04fa6Smrg
17078ae04fa6Smrg
17088ae04fa6Smrg
17098ae04fa6Smrg
17108ae04fa6Smrg
17118ae04fa6Smrg
17128ae04fa6Smrg
17138ae04fa6Smrg
17148ae04fa6Smrg
17158ae04fa6Smrg
17168ae04fa6Smrg
17178ae04fa6Smrg
17188ae04fa6Smrg
17198ae04fa6Smrg
17208ae04fa6Smrg
17218ae04fa6Smrg
17228ae04fa6Smrg
17238ae04fa6Smrgac_ext=c
17248ae04fa6Smrgac_cpp='$CPP $CPPFLAGS'
17258ae04fa6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17268ae04fa6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17278ae04fa6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
17288ae04fa6Smrg
17298ae04fa6Smrg
17308ae04fa6Smrgam__api_version='1.10'
17318ae04fa6Smrg
17328ae04fa6Smrgac_aux_dir=
17338ae04fa6Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17348ae04fa6Smrg  if test -f "$ac_dir/install-sh"; then
17358ae04fa6Smrg    ac_aux_dir=$ac_dir
17368ae04fa6Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
17378ae04fa6Smrg    break
17388ae04fa6Smrg  elif test -f "$ac_dir/install.sh"; then
17398ae04fa6Smrg    ac_aux_dir=$ac_dir
17408ae04fa6Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
17418ae04fa6Smrg    break
17428ae04fa6Smrg  elif test -f "$ac_dir/shtool"; then
17438ae04fa6Smrg    ac_aux_dir=$ac_dir
17448ae04fa6Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
17458ae04fa6Smrg    break
17468ae04fa6Smrg  fi
17478ae04fa6Smrgdone
17488ae04fa6Smrgif test -z "$ac_aux_dir"; then
17498ae04fa6Smrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
17508ae04fa6Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
17518ae04fa6Smrg   { (exit 1); exit 1; }; }
17528ae04fa6Smrgfi
17538ae04fa6Smrg
17548ae04fa6Smrg# These three variables are undocumented and unsupported,
17558ae04fa6Smrg# and are intended to be withdrawn in a future Autoconf release.
17568ae04fa6Smrg# They can cause serious problems if a builder's source tree is in a directory
17578ae04fa6Smrg# whose full name contains unusual characters.
17588ae04fa6Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
17598ae04fa6Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
17608ae04fa6Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
17618ae04fa6Smrg
17628ae04fa6Smrg
17638ae04fa6Smrg# Find a good install program.  We prefer a C program (faster),
17648ae04fa6Smrg# so one script is as good as another.  But avoid the broken or
17658ae04fa6Smrg# incompatible versions:
17668ae04fa6Smrg# SysV /etc/install, /usr/sbin/install
17678ae04fa6Smrg# SunOS /usr/etc/install
17688ae04fa6Smrg# IRIX /sbin/install
17698ae04fa6Smrg# AIX /bin/install
17708ae04fa6Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
17718ae04fa6Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
17728ae04fa6Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
17738ae04fa6Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
17748ae04fa6Smrg# OS/2's system install, which has a completely different semantic
17758ae04fa6Smrg# ./install, which can be erroneously created by make from ./install.sh.
17768ae04fa6Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
17778ae04fa6Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
17788ae04fa6Smrgif test -z "$INSTALL"; then
17798ae04fa6Smrgif test "${ac_cv_path_install+set}" = set; then
17808ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
17818ae04fa6Smrgelse
17828ae04fa6Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17838ae04fa6Smrgfor as_dir in $PATH
17848ae04fa6Smrgdo
17858ae04fa6Smrg  IFS=$as_save_IFS
17868ae04fa6Smrg  test -z "$as_dir" && as_dir=.
17878ae04fa6Smrg  # Account for people who put trailing slashes in PATH elements.
17888ae04fa6Smrgcase $as_dir/ in
17898ae04fa6Smrg  ./ | .// | /cC/* | \
17908ae04fa6Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
17918ae04fa6Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
17928ae04fa6Smrg  /usr/ucb/* ) ;;
17938ae04fa6Smrg  *)
17948ae04fa6Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
17958ae04fa6Smrg    # Don't use installbsd from OSF since it installs stuff as root
17968ae04fa6Smrg    # by default.
17978ae04fa6Smrg    for ac_prog in ginstall scoinst install; do
17988ae04fa6Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
17998ae04fa6Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
18008ae04fa6Smrg	  if test $ac_prog = install &&
18018ae04fa6Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18028ae04fa6Smrg	    # AIX install.  It has an incompatible calling convention.
18038ae04fa6Smrg	    :
18048ae04fa6Smrg	  elif test $ac_prog = install &&
18058ae04fa6Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18068ae04fa6Smrg	    # program-specific install script used by HP pwplus--don't use.
18078ae04fa6Smrg	    :
18088ae04fa6Smrg	  else
18098ae04fa6Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18108ae04fa6Smrg	    break 3
18118ae04fa6Smrg	  fi
18128ae04fa6Smrg	fi
18138ae04fa6Smrg      done
18148ae04fa6Smrg    done
18158ae04fa6Smrg    ;;
18168ae04fa6Smrgesac
18178ae04fa6Smrgdone
18188ae04fa6SmrgIFS=$as_save_IFS
18198ae04fa6Smrg
18208ae04fa6Smrg
18218ae04fa6Smrgfi
18228ae04fa6Smrg  if test "${ac_cv_path_install+set}" = set; then
18238ae04fa6Smrg    INSTALL=$ac_cv_path_install
18248ae04fa6Smrg  else
18258ae04fa6Smrg    # As a last resort, use the slow shell script.  Don't cache a
18268ae04fa6Smrg    # value for INSTALL within a source directory, because that will
18278ae04fa6Smrg    # break other packages using the cache if that directory is
18288ae04fa6Smrg    # removed, or if the value is a relative name.
18298ae04fa6Smrg    INSTALL=$ac_install_sh
18308ae04fa6Smrg  fi
18318ae04fa6Smrgfi
18328ae04fa6Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
18338ae04fa6Smrgecho "${ECHO_T}$INSTALL" >&6; }
18348ae04fa6Smrg
18358ae04fa6Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18368ae04fa6Smrg# It thinks the first close brace ends the variable substitution.
18378ae04fa6Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
18388ae04fa6Smrg
18398ae04fa6Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
18408ae04fa6Smrg
18418ae04fa6Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18428ae04fa6Smrg
18438ae04fa6Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
18448ae04fa6Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
18458ae04fa6Smrg# Just in case
18468ae04fa6Smrgsleep 1
18478ae04fa6Smrgecho timestamp > conftest.file
18488ae04fa6Smrg# Do `set' in a subshell so we don't clobber the current shell's
18498ae04fa6Smrg# arguments.  Must try -L first in case configure is actually a
18508ae04fa6Smrg# symlink; some systems play weird games with the mod time of symlinks
18518ae04fa6Smrg# (eg FreeBSD returns the mod time of the symlink's containing
18528ae04fa6Smrg# directory).
18538ae04fa6Smrgif (
18548ae04fa6Smrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
18558ae04fa6Smrg   if test "$*" = "X"; then
18568ae04fa6Smrg      # -L didn't work.
18578ae04fa6Smrg      set X `ls -t $srcdir/configure conftest.file`
18588ae04fa6Smrg   fi
18598ae04fa6Smrg   rm -f conftest.file
18608ae04fa6Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
18618ae04fa6Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
18628ae04fa6Smrg
18638ae04fa6Smrg      # If neither matched, then we have a broken ls.  This can happen
18648ae04fa6Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
18658ae04fa6Smrg      # broken ls alias from the environment.  This has actually
18668ae04fa6Smrg      # happened.  Such a system could not be considered "sane".
18678ae04fa6Smrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
18688ae04fa6Smrgalias in your environment" >&5
18698ae04fa6Smrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
18708ae04fa6Smrgalias in your environment" >&2;}
18718ae04fa6Smrg   { (exit 1); exit 1; }; }
18728ae04fa6Smrg   fi
18738ae04fa6Smrg
18748ae04fa6Smrg   test "$2" = conftest.file
18758ae04fa6Smrg   )
18768ae04fa6Smrgthen
18778ae04fa6Smrg   # Ok.
18788ae04fa6Smrg   :
18798ae04fa6Smrgelse
18808ae04fa6Smrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
18818ae04fa6SmrgCheck your system clock" >&5
18828ae04fa6Smrgecho "$as_me: error: newly created file is older than distributed files!
18838ae04fa6SmrgCheck your system clock" >&2;}
18848ae04fa6Smrg   { (exit 1); exit 1; }; }
18858ae04fa6Smrgfi
18868ae04fa6Smrg{ echo "$as_me:$LINENO: result: yes" >&5
18878ae04fa6Smrgecho "${ECHO_T}yes" >&6; }
18888ae04fa6Smrgtest "$program_prefix" != NONE &&
18898ae04fa6Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
18908ae04fa6Smrg# Use a double $ so make ignores it.
18918ae04fa6Smrgtest "$program_suffix" != NONE &&
18928ae04fa6Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
18938ae04fa6Smrg# Double any \ or $.  echo might interpret backslashes.
18948ae04fa6Smrg# By default was `s,x,x', remove it if useless.
18958ae04fa6Smrgcat <<\_ACEOF >conftest.sed
18968ae04fa6Smrgs/[\\$]/&&/g;s/;s,x,x,$//
18978ae04fa6Smrg_ACEOF
18988ae04fa6Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
18998ae04fa6Smrgrm -f conftest.sed
19008ae04fa6Smrg
19018ae04fa6Smrg# expand $ac_aux_dir to an absolute path
19028ae04fa6Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
19038ae04fa6Smrg
19048ae04fa6Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
19058ae04fa6Smrg# Use eval to expand $SHELL
19068ae04fa6Smrgif eval "$MISSING --run true"; then
19078ae04fa6Smrg  am_missing_run="$MISSING --run "
19088ae04fa6Smrgelse
19098ae04fa6Smrg  am_missing_run=
19108ae04fa6Smrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
19118ae04fa6Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
19128ae04fa6Smrgfi
19138ae04fa6Smrg
19148ae04fa6Smrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
19158ae04fa6Smrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
19168ae04fa6Smrgif test -z "$MKDIR_P"; then
19178ae04fa6Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
19188ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
19198ae04fa6Smrgelse
19208ae04fa6Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19218ae04fa6Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19228ae04fa6Smrgdo
19238ae04fa6Smrg  IFS=$as_save_IFS
19248ae04fa6Smrg  test -z "$as_dir" && as_dir=.
19258ae04fa6Smrg  for ac_prog in mkdir gmkdir; do
19268ae04fa6Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
19278ae04fa6Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19288ae04fa6Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19298ae04fa6Smrg	     'mkdir (GNU coreutils) '* | \
19308ae04fa6Smrg	     'mkdir (coreutils) '* | \
19318ae04fa6Smrg	     'mkdir (fileutils) '4.1*)
19328ae04fa6Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
19338ae04fa6Smrg	       break 3;;
19348ae04fa6Smrg	   esac
19358ae04fa6Smrg	 done
19368ae04fa6Smrg       done
19378ae04fa6Smrgdone
19388ae04fa6SmrgIFS=$as_save_IFS
19398ae04fa6Smrg
19408ae04fa6Smrgfi
19418ae04fa6Smrg
19428ae04fa6Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
19438ae04fa6Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
19448ae04fa6Smrg  else
19458ae04fa6Smrg    # As a last resort, use the slow shell script.  Don't cache a
19468ae04fa6Smrg    # value for MKDIR_P within a source directory, because that will
19478ae04fa6Smrg    # break other packages using the cache if that directory is
19488ae04fa6Smrg    # removed, or if the value is a relative name.
19498ae04fa6Smrg    test -d ./--version && rmdir ./--version
19508ae04fa6Smrg    MKDIR_P="$ac_install_sh -d"
19518ae04fa6Smrg  fi
19528ae04fa6Smrgfi
19538ae04fa6Smrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
19548ae04fa6Smrgecho "${ECHO_T}$MKDIR_P" >&6; }
19558ae04fa6Smrg
19568ae04fa6Smrgmkdir_p="$MKDIR_P"
19578ae04fa6Smrgcase $mkdir_p in
19588ae04fa6Smrg  [\\/$]* | ?:[\\/]*) ;;
19598ae04fa6Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
19608ae04fa6Smrgesac
19618ae04fa6Smrg
19628ae04fa6Smrgfor ac_prog in gawk mawk nawk awk
19638ae04fa6Smrgdo
19648ae04fa6Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
19658ae04fa6Smrgset dummy $ac_prog; ac_word=$2
19668ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19678ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19688ae04fa6Smrgif test "${ac_cv_prog_AWK+set}" = set; then
19698ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
19708ae04fa6Smrgelse
19718ae04fa6Smrg  if test -n "$AWK"; then
19728ae04fa6Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
19738ae04fa6Smrgelse
19748ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19758ae04fa6Smrgfor as_dir in $PATH
19768ae04fa6Smrgdo
19778ae04fa6Smrg  IFS=$as_save_IFS
19788ae04fa6Smrg  test -z "$as_dir" && as_dir=.
19798ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
19808ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19818ae04fa6Smrg    ac_cv_prog_AWK="$ac_prog"
19828ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19838ae04fa6Smrg    break 2
19848ae04fa6Smrg  fi
19858ae04fa6Smrgdone
19868ae04fa6Smrgdone
19878ae04fa6SmrgIFS=$as_save_IFS
19888ae04fa6Smrg
19898ae04fa6Smrgfi
19908ae04fa6Smrgfi
19918ae04fa6SmrgAWK=$ac_cv_prog_AWK
19928ae04fa6Smrgif test -n "$AWK"; then
19938ae04fa6Smrg  { echo "$as_me:$LINENO: result: $AWK" >&5
19948ae04fa6Smrgecho "${ECHO_T}$AWK" >&6; }
19958ae04fa6Smrgelse
19968ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
19978ae04fa6Smrgecho "${ECHO_T}no" >&6; }
19988ae04fa6Smrgfi
19998ae04fa6Smrg
20008ae04fa6Smrg
20018ae04fa6Smrg  test -n "$AWK" && break
20028ae04fa6Smrgdone
20038ae04fa6Smrg
20048ae04fa6Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20058ae04fa6Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20068ae04fa6Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20078ae04fa6Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20088ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
20098ae04fa6Smrgelse
20108ae04fa6Smrg  cat >conftest.make <<\_ACEOF
20118ae04fa6SmrgSHELL = /bin/sh
20128ae04fa6Smrgall:
20138ae04fa6Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
20148ae04fa6Smrg_ACEOF
20158ae04fa6Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20168ae04fa6Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
20178ae04fa6Smrg  *@@@%%%=?*=@@@%%%*)
20188ae04fa6Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
20198ae04fa6Smrg  *)
20208ae04fa6Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
20218ae04fa6Smrgesac
20228ae04fa6Smrgrm -f conftest.make
20238ae04fa6Smrgfi
20248ae04fa6Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
20258ae04fa6Smrg  { echo "$as_me:$LINENO: result: yes" >&5
20268ae04fa6Smrgecho "${ECHO_T}yes" >&6; }
20278ae04fa6Smrg  SET_MAKE=
20288ae04fa6Smrgelse
20298ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
20308ae04fa6Smrgecho "${ECHO_T}no" >&6; }
20318ae04fa6Smrg  SET_MAKE="MAKE=${MAKE-make}"
20328ae04fa6Smrgfi
20338ae04fa6Smrg
20348ae04fa6Smrgrm -rf .tst 2>/dev/null
20358ae04fa6Smrgmkdir .tst 2>/dev/null
20368ae04fa6Smrgif test -d .tst; then
20378ae04fa6Smrg  am__leading_dot=.
20388ae04fa6Smrgelse
20398ae04fa6Smrg  am__leading_dot=_
20408ae04fa6Smrgfi
20418ae04fa6Smrgrmdir .tst 2>/dev/null
20428ae04fa6Smrg
20438ae04fa6Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
20448ae04fa6Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
20458ae04fa6Smrg  # is not polluted with repeated "-I."
20468ae04fa6Smrg  am__isrc=' -I$(srcdir)'
20478ae04fa6Smrg  # test to see if srcdir already configured
20488ae04fa6Smrg  if test -f $srcdir/config.status; then
20498ae04fa6Smrg    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
20508ae04fa6Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
20518ae04fa6Smrg   { (exit 1); exit 1; }; }
20528ae04fa6Smrg  fi
20538ae04fa6Smrgfi
20548ae04fa6Smrg
20558ae04fa6Smrg# test whether we have cygpath
20568ae04fa6Smrgif test -z "$CYGPATH_W"; then
20578ae04fa6Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
20588ae04fa6Smrg    CYGPATH_W='cygpath -w'
20598ae04fa6Smrg  else
20608ae04fa6Smrg    CYGPATH_W=echo
20618ae04fa6Smrg  fi
20628ae04fa6Smrgfi
20638ae04fa6Smrg
20648ae04fa6Smrg
20658ae04fa6Smrg# Define the identity of the package.
20668ae04fa6Smrg PACKAGE='xvinfo'
20678ae04fa6Smrg VERSION='1.0.2'
20688ae04fa6Smrg
20698ae04fa6Smrg
20708ae04fa6Smrgcat >>confdefs.h <<_ACEOF
20718ae04fa6Smrg#define PACKAGE "$PACKAGE"
20728ae04fa6Smrg_ACEOF
20738ae04fa6Smrg
20748ae04fa6Smrg
20758ae04fa6Smrgcat >>confdefs.h <<_ACEOF
20768ae04fa6Smrg#define VERSION "$VERSION"
20778ae04fa6Smrg_ACEOF
20788ae04fa6Smrg
20798ae04fa6Smrg# Some tools Automake needs.
20808ae04fa6Smrg
20818ae04fa6SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
20828ae04fa6Smrg
20838ae04fa6Smrg
20848ae04fa6SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
20858ae04fa6Smrg
20868ae04fa6Smrg
20878ae04fa6SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
20888ae04fa6Smrg
20898ae04fa6Smrg
20908ae04fa6SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
20918ae04fa6Smrg
20928ae04fa6Smrg
20938ae04fa6SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
20948ae04fa6Smrg
20958ae04fa6Smrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
20968ae04fa6Smrg
20978ae04fa6Smrg# Installed binaries are usually stripped using `strip' when the user
20988ae04fa6Smrg# run `make install-strip'.  However `strip' might not be the right
20998ae04fa6Smrg# tool to use in cross-compilation environments, therefore Automake
21008ae04fa6Smrg# will honor the `STRIP' environment variable to overrule this program.
21018ae04fa6Smrgif test "$cross_compiling" != no; then
21028ae04fa6Smrg  if test -n "$ac_tool_prefix"; then
21038ae04fa6Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21048ae04fa6Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21058ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21068ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21078ae04fa6Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
21088ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
21098ae04fa6Smrgelse
21108ae04fa6Smrg  if test -n "$STRIP"; then
21118ae04fa6Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21128ae04fa6Smrgelse
21138ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21148ae04fa6Smrgfor as_dir in $PATH
21158ae04fa6Smrgdo
21168ae04fa6Smrg  IFS=$as_save_IFS
21178ae04fa6Smrg  test -z "$as_dir" && as_dir=.
21188ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
21198ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21208ae04fa6Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21218ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21228ae04fa6Smrg    break 2
21238ae04fa6Smrg  fi
21248ae04fa6Smrgdone
21258ae04fa6Smrgdone
21268ae04fa6SmrgIFS=$as_save_IFS
21278ae04fa6Smrg
21288ae04fa6Smrgfi
21298ae04fa6Smrgfi
21308ae04fa6SmrgSTRIP=$ac_cv_prog_STRIP
21318ae04fa6Smrgif test -n "$STRIP"; then
21328ae04fa6Smrg  { echo "$as_me:$LINENO: result: $STRIP" >&5
21338ae04fa6Smrgecho "${ECHO_T}$STRIP" >&6; }
21348ae04fa6Smrgelse
21358ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
21368ae04fa6Smrgecho "${ECHO_T}no" >&6; }
21378ae04fa6Smrgfi
21388ae04fa6Smrg
21398ae04fa6Smrg
21408ae04fa6Smrgfi
21418ae04fa6Smrgif test -z "$ac_cv_prog_STRIP"; then
21428ae04fa6Smrg  ac_ct_STRIP=$STRIP
21438ae04fa6Smrg  # Extract the first word of "strip", so it can be a program name with args.
21448ae04fa6Smrgset dummy strip; ac_word=$2
21458ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21468ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21478ae04fa6Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
21488ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
21498ae04fa6Smrgelse
21508ae04fa6Smrg  if test -n "$ac_ct_STRIP"; then
21518ae04fa6Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21528ae04fa6Smrgelse
21538ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21548ae04fa6Smrgfor as_dir in $PATH
21558ae04fa6Smrgdo
21568ae04fa6Smrg  IFS=$as_save_IFS
21578ae04fa6Smrg  test -z "$as_dir" && as_dir=.
21588ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
21598ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21608ae04fa6Smrg    ac_cv_prog_ac_ct_STRIP="strip"
21618ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21628ae04fa6Smrg    break 2
21638ae04fa6Smrg  fi
21648ae04fa6Smrgdone
21658ae04fa6Smrgdone
21668ae04fa6SmrgIFS=$as_save_IFS
21678ae04fa6Smrg
21688ae04fa6Smrgfi
21698ae04fa6Smrgfi
21708ae04fa6Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
21718ae04fa6Smrgif test -n "$ac_ct_STRIP"; then
21728ae04fa6Smrg  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
21738ae04fa6Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; }
21748ae04fa6Smrgelse
21758ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
21768ae04fa6Smrgecho "${ECHO_T}no" >&6; }
21778ae04fa6Smrgfi
21788ae04fa6Smrg
21798ae04fa6Smrg  if test "x$ac_ct_STRIP" = x; then
21808ae04fa6Smrg    STRIP=":"
21818ae04fa6Smrg  else
21828ae04fa6Smrg    case $cross_compiling:$ac_tool_warned in
21838ae04fa6Smrgyes:)
21848ae04fa6Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21858ae04fa6Smrgwhose name does not start with the host triplet.  If you think this
21868ae04fa6Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
21878ae04fa6Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21888ae04fa6Smrgwhose name does not start with the host triplet.  If you think this
21898ae04fa6Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
21908ae04fa6Smrgac_tool_warned=yes ;;
21918ae04fa6Smrgesac
21928ae04fa6Smrg    STRIP=$ac_ct_STRIP
21938ae04fa6Smrg  fi
21948ae04fa6Smrgelse
21958ae04fa6Smrg  STRIP="$ac_cv_prog_STRIP"
21968ae04fa6Smrgfi
21978ae04fa6Smrg
21988ae04fa6Smrgfi
21998ae04fa6SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22008ae04fa6Smrg
22018ae04fa6Smrg# We need awk for the "check" target.  The system "awk" is bad on
22028ae04fa6Smrg# some platforms.
22038ae04fa6Smrg# Always define AMTAR for backward compatibility.
22048ae04fa6Smrg
22058ae04fa6SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
22068ae04fa6Smrg
22078ae04fa6Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
22088ae04fa6Smrg
22098ae04fa6Smrg
22108ae04fa6Smrg
22118ae04fa6Smrg
22128ae04fa6Smrg
22138ae04fa6Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
22148ae04fa6Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
22158ae04fa6Smrg    # Check whether --enable-maintainer-mode was given.
22168ae04fa6Smrgif test "${enable_maintainer_mode+set}" = set; then
22178ae04fa6Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
22188ae04fa6Smrgelse
22198ae04fa6Smrg  USE_MAINTAINER_MODE=no
22208ae04fa6Smrgfi
22218ae04fa6Smrg
22228ae04fa6Smrg  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
22238ae04fa6Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
22248ae04fa6Smrg   if test $USE_MAINTAINER_MODE = yes; then
22258ae04fa6Smrg  MAINTAINER_MODE_TRUE=
22268ae04fa6Smrg  MAINTAINER_MODE_FALSE='#'
22278ae04fa6Smrgelse
22288ae04fa6Smrg  MAINTAINER_MODE_TRUE='#'
22298ae04fa6Smrg  MAINTAINER_MODE_FALSE=
22308ae04fa6Smrgfi
22318ae04fa6Smrg
22328ae04fa6Smrg  MAINT=$MAINTAINER_MODE_TRUE
22338ae04fa6Smrg
22348ae04fa6Smrg
22358ae04fa6Smrg
22368ae04fa6Smrgac_config_headers="$ac_config_headers config.h"
22378ae04fa6Smrg
22388ae04fa6Smrg
22398ae04fa6Smrgac_ext=c
22408ae04fa6Smrgac_cpp='$CPP $CPPFLAGS'
22418ae04fa6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22428ae04fa6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438ae04fa6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
22448ae04fa6Smrgif test -n "$ac_tool_prefix"; then
22458ae04fa6Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22468ae04fa6Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
22478ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22488ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22498ae04fa6Smrgif test "${ac_cv_prog_CC+set}" = set; then
22508ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
22518ae04fa6Smrgelse
22528ae04fa6Smrg  if test -n "$CC"; then
22538ae04fa6Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
22548ae04fa6Smrgelse
22558ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22568ae04fa6Smrgfor as_dir in $PATH
22578ae04fa6Smrgdo
22588ae04fa6Smrg  IFS=$as_save_IFS
22598ae04fa6Smrg  test -z "$as_dir" && as_dir=.
22608ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
22618ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22628ae04fa6Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
22638ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22648ae04fa6Smrg    break 2
22658ae04fa6Smrg  fi
22668ae04fa6Smrgdone
22678ae04fa6Smrgdone
22688ae04fa6SmrgIFS=$as_save_IFS
22698ae04fa6Smrg
22708ae04fa6Smrgfi
22718ae04fa6Smrgfi
22728ae04fa6SmrgCC=$ac_cv_prog_CC
22738ae04fa6Smrgif test -n "$CC"; then
22748ae04fa6Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
22758ae04fa6Smrgecho "${ECHO_T}$CC" >&6; }
22768ae04fa6Smrgelse
22778ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
22788ae04fa6Smrgecho "${ECHO_T}no" >&6; }
22798ae04fa6Smrgfi
22808ae04fa6Smrg
22818ae04fa6Smrg
22828ae04fa6Smrgfi
22838ae04fa6Smrgif test -z "$ac_cv_prog_CC"; then
22848ae04fa6Smrg  ac_ct_CC=$CC
22858ae04fa6Smrg  # Extract the first word of "gcc", so it can be a program name with args.
22868ae04fa6Smrgset dummy gcc; ac_word=$2
22878ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22888ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22898ae04fa6Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
22908ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
22918ae04fa6Smrgelse
22928ae04fa6Smrg  if test -n "$ac_ct_CC"; then
22938ae04fa6Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
22948ae04fa6Smrgelse
22958ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22968ae04fa6Smrgfor as_dir in $PATH
22978ae04fa6Smrgdo
22988ae04fa6Smrg  IFS=$as_save_IFS
22998ae04fa6Smrg  test -z "$as_dir" && as_dir=.
23008ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
23018ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23028ae04fa6Smrg    ac_cv_prog_ac_ct_CC="gcc"
23038ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23048ae04fa6Smrg    break 2
23058ae04fa6Smrg  fi
23068ae04fa6Smrgdone
23078ae04fa6Smrgdone
23088ae04fa6SmrgIFS=$as_save_IFS
23098ae04fa6Smrg
23108ae04fa6Smrgfi
23118ae04fa6Smrgfi
23128ae04fa6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
23138ae04fa6Smrgif test -n "$ac_ct_CC"; then
23148ae04fa6Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23158ae04fa6Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
23168ae04fa6Smrgelse
23178ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
23188ae04fa6Smrgecho "${ECHO_T}no" >&6; }
23198ae04fa6Smrgfi
23208ae04fa6Smrg
23218ae04fa6Smrg  if test "x$ac_ct_CC" = x; then
23228ae04fa6Smrg    CC=""
23238ae04fa6Smrg  else
23248ae04fa6Smrg    case $cross_compiling:$ac_tool_warned in
23258ae04fa6Smrgyes:)
23268ae04fa6Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23278ae04fa6Smrgwhose name does not start with the host triplet.  If you think this
23288ae04fa6Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
23298ae04fa6Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23308ae04fa6Smrgwhose name does not start with the host triplet.  If you think this
23318ae04fa6Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
23328ae04fa6Smrgac_tool_warned=yes ;;
23338ae04fa6Smrgesac
23348ae04fa6Smrg    CC=$ac_ct_CC
23358ae04fa6Smrg  fi
23368ae04fa6Smrgelse
23378ae04fa6Smrg  CC="$ac_cv_prog_CC"
23388ae04fa6Smrgfi
23398ae04fa6Smrg
23408ae04fa6Smrgif test -z "$CC"; then
23418ae04fa6Smrg          if test -n "$ac_tool_prefix"; then
23428ae04fa6Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23438ae04fa6Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
23448ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23458ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23468ae04fa6Smrgif test "${ac_cv_prog_CC+set}" = set; then
23478ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23488ae04fa6Smrgelse
23498ae04fa6Smrg  if test -n "$CC"; then
23508ae04fa6Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
23518ae04fa6Smrgelse
23528ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23538ae04fa6Smrgfor as_dir in $PATH
23548ae04fa6Smrgdo
23558ae04fa6Smrg  IFS=$as_save_IFS
23568ae04fa6Smrg  test -z "$as_dir" && as_dir=.
23578ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
23588ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23598ae04fa6Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
23608ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23618ae04fa6Smrg    break 2
23628ae04fa6Smrg  fi
23638ae04fa6Smrgdone
23648ae04fa6Smrgdone
23658ae04fa6SmrgIFS=$as_save_IFS
23668ae04fa6Smrg
23678ae04fa6Smrgfi
23688ae04fa6Smrgfi
23698ae04fa6SmrgCC=$ac_cv_prog_CC
23708ae04fa6Smrgif test -n "$CC"; then
23718ae04fa6Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
23728ae04fa6Smrgecho "${ECHO_T}$CC" >&6; }
23738ae04fa6Smrgelse
23748ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
23758ae04fa6Smrgecho "${ECHO_T}no" >&6; }
23768ae04fa6Smrgfi
23778ae04fa6Smrg
23788ae04fa6Smrg
23798ae04fa6Smrg  fi
23808ae04fa6Smrgfi
23818ae04fa6Smrgif test -z "$CC"; then
23828ae04fa6Smrg  # Extract the first word of "cc", so it can be a program name with args.
23838ae04fa6Smrgset dummy cc; ac_word=$2
23848ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23858ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23868ae04fa6Smrgif test "${ac_cv_prog_CC+set}" = set; then
23878ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23888ae04fa6Smrgelse
23898ae04fa6Smrg  if test -n "$CC"; then
23908ae04fa6Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
23918ae04fa6Smrgelse
23928ae04fa6Smrg  ac_prog_rejected=no
23938ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23948ae04fa6Smrgfor as_dir in $PATH
23958ae04fa6Smrgdo
23968ae04fa6Smrg  IFS=$as_save_IFS
23978ae04fa6Smrg  test -z "$as_dir" && as_dir=.
23988ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
23998ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24008ae04fa6Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24018ae04fa6Smrg       ac_prog_rejected=yes
24028ae04fa6Smrg       continue
24038ae04fa6Smrg     fi
24048ae04fa6Smrg    ac_cv_prog_CC="cc"
24058ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24068ae04fa6Smrg    break 2
24078ae04fa6Smrg  fi
24088ae04fa6Smrgdone
24098ae04fa6Smrgdone
24108ae04fa6SmrgIFS=$as_save_IFS
24118ae04fa6Smrg
24128ae04fa6Smrgif test $ac_prog_rejected = yes; then
24138ae04fa6Smrg  # We found a bogon in the path, so make sure we never use it.
24148ae04fa6Smrg  set dummy $ac_cv_prog_CC
24158ae04fa6Smrg  shift
24168ae04fa6Smrg  if test $# != 0; then
24178ae04fa6Smrg    # We chose a different compiler from the bogus one.
24188ae04fa6Smrg    # However, it has the same basename, so the bogon will be chosen
24198ae04fa6Smrg    # first if we set CC to just the basename; use the full file name.
24208ae04fa6Smrg    shift
24218ae04fa6Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
24228ae04fa6Smrg  fi
24238ae04fa6Smrgfi
24248ae04fa6Smrgfi
24258ae04fa6Smrgfi
24268ae04fa6SmrgCC=$ac_cv_prog_CC
24278ae04fa6Smrgif test -n "$CC"; then
24288ae04fa6Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
24298ae04fa6Smrgecho "${ECHO_T}$CC" >&6; }
24308ae04fa6Smrgelse
24318ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
24328ae04fa6Smrgecho "${ECHO_T}no" >&6; }
24338ae04fa6Smrgfi
24348ae04fa6Smrg
24358ae04fa6Smrg
24368ae04fa6Smrgfi
24378ae04fa6Smrgif test -z "$CC"; then
24388ae04fa6Smrg  if test -n "$ac_tool_prefix"; then
24398ae04fa6Smrg  for ac_prog in cl.exe
24408ae04fa6Smrg  do
24418ae04fa6Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24428ae04fa6Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
24438ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24448ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24458ae04fa6Smrgif test "${ac_cv_prog_CC+set}" = set; then
24468ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
24478ae04fa6Smrgelse
24488ae04fa6Smrg  if test -n "$CC"; then
24498ae04fa6Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
24508ae04fa6Smrgelse
24518ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24528ae04fa6Smrgfor as_dir in $PATH
24538ae04fa6Smrgdo
24548ae04fa6Smrg  IFS=$as_save_IFS
24558ae04fa6Smrg  test -z "$as_dir" && as_dir=.
24568ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
24578ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24588ae04fa6Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
24598ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24608ae04fa6Smrg    break 2
24618ae04fa6Smrg  fi
24628ae04fa6Smrgdone
24638ae04fa6Smrgdone
24648ae04fa6SmrgIFS=$as_save_IFS
24658ae04fa6Smrg
24668ae04fa6Smrgfi
24678ae04fa6Smrgfi
24688ae04fa6SmrgCC=$ac_cv_prog_CC
24698ae04fa6Smrgif test -n "$CC"; then
24708ae04fa6Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
24718ae04fa6Smrgecho "${ECHO_T}$CC" >&6; }
24728ae04fa6Smrgelse
24738ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
24748ae04fa6Smrgecho "${ECHO_T}no" >&6; }
24758ae04fa6Smrgfi
24768ae04fa6Smrg
24778ae04fa6Smrg
24788ae04fa6Smrg    test -n "$CC" && break
24798ae04fa6Smrg  done
24808ae04fa6Smrgfi
24818ae04fa6Smrgif test -z "$CC"; then
24828ae04fa6Smrg  ac_ct_CC=$CC
24838ae04fa6Smrg  for ac_prog in cl.exe
24848ae04fa6Smrgdo
24858ae04fa6Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
24868ae04fa6Smrgset dummy $ac_prog; ac_word=$2
24878ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24888ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24898ae04fa6Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
24908ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
24918ae04fa6Smrgelse
24928ae04fa6Smrg  if test -n "$ac_ct_CC"; then
24938ae04fa6Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
24948ae04fa6Smrgelse
24958ae04fa6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24968ae04fa6Smrgfor as_dir in $PATH
24978ae04fa6Smrgdo
24988ae04fa6Smrg  IFS=$as_save_IFS
24998ae04fa6Smrg  test -z "$as_dir" && as_dir=.
25008ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
25018ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25028ae04fa6Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
25038ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25048ae04fa6Smrg    break 2
25058ae04fa6Smrg  fi
25068ae04fa6Smrgdone
25078ae04fa6Smrgdone
25088ae04fa6SmrgIFS=$as_save_IFS
25098ae04fa6Smrg
25108ae04fa6Smrgfi
25118ae04fa6Smrgfi
25128ae04fa6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
25138ae04fa6Smrgif test -n "$ac_ct_CC"; then
25148ae04fa6Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
25158ae04fa6Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
25168ae04fa6Smrgelse
25178ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
25188ae04fa6Smrgecho "${ECHO_T}no" >&6; }
25198ae04fa6Smrgfi
25208ae04fa6Smrg
25218ae04fa6Smrg
25228ae04fa6Smrg  test -n "$ac_ct_CC" && break
25238ae04fa6Smrgdone
25248ae04fa6Smrg
25258ae04fa6Smrg  if test "x$ac_ct_CC" = x; then
25268ae04fa6Smrg    CC=""
25278ae04fa6Smrg  else
25288ae04fa6Smrg    case $cross_compiling:$ac_tool_warned in
25298ae04fa6Smrgyes:)
25308ae04fa6Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25318ae04fa6Smrgwhose name does not start with the host triplet.  If you think this
25328ae04fa6Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
25338ae04fa6Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25348ae04fa6Smrgwhose name does not start with the host triplet.  If you think this
25358ae04fa6Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
25368ae04fa6Smrgac_tool_warned=yes ;;
25378ae04fa6Smrgesac
25388ae04fa6Smrg    CC=$ac_ct_CC
25398ae04fa6Smrg  fi
25408ae04fa6Smrgfi
25418ae04fa6Smrg
25428ae04fa6Smrgfi
25438ae04fa6Smrg
25448ae04fa6Smrg
25458ae04fa6Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
25468ae04fa6SmrgSee \`config.log' for more details." >&5
25478ae04fa6Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH
25488ae04fa6SmrgSee \`config.log' for more details." >&2;}
25498ae04fa6Smrg   { (exit 1); exit 1; }; }
25508ae04fa6Smrg
25518ae04fa6Smrg# Provide some information about the compiler.
25528ae04fa6Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5
25538ae04fa6Smrgac_compiler=`set X $ac_compile; echo $2`
25548ae04fa6Smrg{ (ac_try="$ac_compiler --version >&5"
25558ae04fa6Smrgcase "(($ac_try" in
25568ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25578ae04fa6Smrg  *) ac_try_echo=$ac_try;;
25588ae04fa6Smrgesac
25598ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25608ae04fa6Smrg  (eval "$ac_compiler --version >&5") 2>&5
25618ae04fa6Smrg  ac_status=$?
25628ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638ae04fa6Smrg  (exit $ac_status); }
25648ae04fa6Smrg{ (ac_try="$ac_compiler -v >&5"
25658ae04fa6Smrgcase "(($ac_try" in
25668ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25678ae04fa6Smrg  *) ac_try_echo=$ac_try;;
25688ae04fa6Smrgesac
25698ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25708ae04fa6Smrg  (eval "$ac_compiler -v >&5") 2>&5
25718ae04fa6Smrg  ac_status=$?
25728ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738ae04fa6Smrg  (exit $ac_status); }
25748ae04fa6Smrg{ (ac_try="$ac_compiler -V >&5"
25758ae04fa6Smrgcase "(($ac_try" in
25768ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25778ae04fa6Smrg  *) ac_try_echo=$ac_try;;
25788ae04fa6Smrgesac
25798ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25808ae04fa6Smrg  (eval "$ac_compiler -V >&5") 2>&5
25818ae04fa6Smrg  ac_status=$?
25828ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838ae04fa6Smrg  (exit $ac_status); }
25848ae04fa6Smrg
25858ae04fa6Smrgcat >conftest.$ac_ext <<_ACEOF
25868ae04fa6Smrg/* confdefs.h.  */
25878ae04fa6Smrg_ACEOF
25888ae04fa6Smrgcat confdefs.h >>conftest.$ac_ext
25898ae04fa6Smrgcat >>conftest.$ac_ext <<_ACEOF
25908ae04fa6Smrg/* end confdefs.h.  */
25918ae04fa6Smrg
25928ae04fa6Smrgint
25938ae04fa6Smrgmain ()
25948ae04fa6Smrg{
25958ae04fa6Smrg
25968ae04fa6Smrg  ;
25978ae04fa6Smrg  return 0;
25988ae04fa6Smrg}
25998ae04fa6Smrg_ACEOF
26008ae04fa6Smrgac_clean_files_save=$ac_clean_files
26018ae04fa6Smrgac_clean_files="$ac_clean_files a.out a.exe b.out"
26028ae04fa6Smrg# Try to create an executable without -o first, disregard a.out.
26038ae04fa6Smrg# It will help us diagnose broken compilers, and finding out an intuition
26048ae04fa6Smrg# of exeext.
26058ae04fa6Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
26068ae04fa6Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
26078ae04fa6Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
26088ae04fa6Smrg#
26098ae04fa6Smrg# List of possible output files, starting from the most likely.
26108ae04fa6Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
26118ae04fa6Smrg# only as a last resort.  b.out is created by i960 compilers.
26128ae04fa6Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
26138ae04fa6Smrg#
26148ae04fa6Smrg# The IRIX 6 linker writes into existing files which may not be
26158ae04fa6Smrg# executable, retaining their permissions.  Remove them first so a
26168ae04fa6Smrg# subsequent execution test works.
26178ae04fa6Smrgac_rmfiles=
26188ae04fa6Smrgfor ac_file in $ac_files
26198ae04fa6Smrgdo
26208ae04fa6Smrg  case $ac_file in
26218ae04fa6Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
26228ae04fa6Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
26238ae04fa6Smrg  esac
26248ae04fa6Smrgdone
26258ae04fa6Smrgrm -f $ac_rmfiles
26268ae04fa6Smrg
26278ae04fa6Smrgif { (ac_try="$ac_link_default"
26288ae04fa6Smrgcase "(($ac_try" in
26298ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26308ae04fa6Smrg  *) ac_try_echo=$ac_try;;
26318ae04fa6Smrgesac
26328ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26338ae04fa6Smrg  (eval "$ac_link_default") 2>&5
26348ae04fa6Smrg  ac_status=$?
26358ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368ae04fa6Smrg  (exit $ac_status); }; then
26378ae04fa6Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
26388ae04fa6Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
26398ae04fa6Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
26408ae04fa6Smrg# so that the user can short-circuit this test for compilers unknown to
26418ae04fa6Smrg# Autoconf.
26428ae04fa6Smrgfor ac_file in $ac_files ''
26438ae04fa6Smrgdo
26448ae04fa6Smrg  test -f "$ac_file" || continue
26458ae04fa6Smrg  case $ac_file in
26468ae04fa6Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
26478ae04fa6Smrg	;;
26488ae04fa6Smrg    [ab].out )
26498ae04fa6Smrg	# We found the default executable, but exeext='' is most
26508ae04fa6Smrg	# certainly right.
26518ae04fa6Smrg	break;;
26528ae04fa6Smrg    *.* )
26538ae04fa6Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
26548ae04fa6Smrg	then :; else
26558ae04fa6Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
26568ae04fa6Smrg	fi
26578ae04fa6Smrg	# We set ac_cv_exeext here because the later test for it is not
26588ae04fa6Smrg	# safe: cross compilers may not add the suffix if given an `-o'
26598ae04fa6Smrg	# argument, so we may need to know it at that point already.
26608ae04fa6Smrg	# Even if this section looks crufty: it has the advantage of
26618ae04fa6Smrg	# actually working.
26628ae04fa6Smrg	break;;
26638ae04fa6Smrg    * )
26648ae04fa6Smrg	break;;
26658ae04fa6Smrg  esac
26668ae04fa6Smrgdone
26678ae04fa6Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
26688ae04fa6Smrg
26698ae04fa6Smrgelse
26708ae04fa6Smrg  ac_file=''
26718ae04fa6Smrgfi
26728ae04fa6Smrg
26738ae04fa6Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5
26748ae04fa6Smrgecho "${ECHO_T}$ac_file" >&6; }
26758ae04fa6Smrgif test -z "$ac_file"; then
26768ae04fa6Smrg  echo "$as_me: failed program was:" >&5
26778ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5
26788ae04fa6Smrg
26798ae04fa6Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
26808ae04fa6SmrgSee \`config.log' for more details." >&5
26818ae04fa6Smrgecho "$as_me: error: C compiler cannot create executables
26828ae04fa6SmrgSee \`config.log' for more details." >&2;}
26838ae04fa6Smrg   { (exit 77); exit 77; }; }
26848ae04fa6Smrgfi
26858ae04fa6Smrg
26868ae04fa6Smrgac_exeext=$ac_cv_exeext
26878ae04fa6Smrg
26888ae04fa6Smrg# Check that the compiler produces executables we can run.  If not, either
26898ae04fa6Smrg# the compiler is broken, or we cross compile.
26908ae04fa6Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
26918ae04fa6Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
26928ae04fa6Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
26938ae04fa6Smrg# If not cross compiling, check that we can run a simple program.
26948ae04fa6Smrgif test "$cross_compiling" != yes; then
26958ae04fa6Smrg  if { ac_try='./$ac_file'
26968ae04fa6Smrg  { (case "(($ac_try" in
26978ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26988ae04fa6Smrg  *) ac_try_echo=$ac_try;;
26998ae04fa6Smrgesac
27008ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27018ae04fa6Smrg  (eval "$ac_try") 2>&5
27028ae04fa6Smrg  ac_status=$?
27038ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048ae04fa6Smrg  (exit $ac_status); }; }; then
27058ae04fa6Smrg    cross_compiling=no
27068ae04fa6Smrg  else
27078ae04fa6Smrg    if test "$cross_compiling" = maybe; then
27088ae04fa6Smrg	cross_compiling=yes
27098ae04fa6Smrg    else
27108ae04fa6Smrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
27118ae04fa6SmrgIf you meant to cross compile, use \`--host'.
27128ae04fa6SmrgSee \`config.log' for more details." >&5
27138ae04fa6Smrgecho "$as_me: error: cannot run C compiled programs.
27148ae04fa6SmrgIf you meant to cross compile, use \`--host'.
27158ae04fa6SmrgSee \`config.log' for more details." >&2;}
27168ae04fa6Smrg   { (exit 1); exit 1; }; }
27178ae04fa6Smrg    fi
27188ae04fa6Smrg  fi
27198ae04fa6Smrgfi
27208ae04fa6Smrg{ echo "$as_me:$LINENO: result: yes" >&5
27218ae04fa6Smrgecho "${ECHO_T}yes" >&6; }
27228ae04fa6Smrg
27238ae04fa6Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
27248ae04fa6Smrgac_clean_files=$ac_clean_files_save
27258ae04fa6Smrg# Check that the compiler produces executables we can run.  If not, either
27268ae04fa6Smrg# the compiler is broken, or we cross compile.
27278ae04fa6Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
27288ae04fa6Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
27298ae04fa6Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
27308ae04fa6Smrgecho "${ECHO_T}$cross_compiling" >&6; }
27318ae04fa6Smrg
27328ae04fa6Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
27338ae04fa6Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
27348ae04fa6Smrgif { (ac_try="$ac_link"
27358ae04fa6Smrgcase "(($ac_try" in
27368ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27378ae04fa6Smrg  *) ac_try_echo=$ac_try;;
27388ae04fa6Smrgesac
27398ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27408ae04fa6Smrg  (eval "$ac_link") 2>&5
27418ae04fa6Smrg  ac_status=$?
27428ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438ae04fa6Smrg  (exit $ac_status); }; then
27448ae04fa6Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
27458ae04fa6Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
27468ae04fa6Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
27478ae04fa6Smrg# `rm'.
27488ae04fa6Smrgfor ac_file in conftest.exe conftest conftest.*; do
27498ae04fa6Smrg  test -f "$ac_file" || continue
27508ae04fa6Smrg  case $ac_file in
27518ae04fa6Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
27528ae04fa6Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27538ae04fa6Smrg	  break;;
27548ae04fa6Smrg    * ) break;;
27558ae04fa6Smrg  esac
27568ae04fa6Smrgdone
27578ae04fa6Smrgelse
27588ae04fa6Smrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
27598ae04fa6SmrgSee \`config.log' for more details." >&5
27608ae04fa6Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
27618ae04fa6SmrgSee \`config.log' for more details." >&2;}
27628ae04fa6Smrg   { (exit 1); exit 1; }; }
27638ae04fa6Smrgfi
27648ae04fa6Smrg
27658ae04fa6Smrgrm -f conftest$ac_cv_exeext
27668ae04fa6Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
27678ae04fa6Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; }
27688ae04fa6Smrg
27698ae04fa6Smrgrm -f conftest.$ac_ext
27708ae04fa6SmrgEXEEXT=$ac_cv_exeext
27718ae04fa6Smrgac_exeext=$EXEEXT
27728ae04fa6Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
27738ae04fa6Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
27748ae04fa6Smrgif test "${ac_cv_objext+set}" = set; then
27758ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
27768ae04fa6Smrgelse
27778ae04fa6Smrg  cat >conftest.$ac_ext <<_ACEOF
27788ae04fa6Smrg/* confdefs.h.  */
27798ae04fa6Smrg_ACEOF
27808ae04fa6Smrgcat confdefs.h >>conftest.$ac_ext
27818ae04fa6Smrgcat >>conftest.$ac_ext <<_ACEOF
27828ae04fa6Smrg/* end confdefs.h.  */
27838ae04fa6Smrg
27848ae04fa6Smrgint
27858ae04fa6Smrgmain ()
27868ae04fa6Smrg{
27878ae04fa6Smrg
27888ae04fa6Smrg  ;
27898ae04fa6Smrg  return 0;
27908ae04fa6Smrg}
27918ae04fa6Smrg_ACEOF
27928ae04fa6Smrgrm -f conftest.o conftest.obj
27938ae04fa6Smrgif { (ac_try="$ac_compile"
27948ae04fa6Smrgcase "(($ac_try" in
27958ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27968ae04fa6Smrg  *) ac_try_echo=$ac_try;;
27978ae04fa6Smrgesac
27988ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27998ae04fa6Smrg  (eval "$ac_compile") 2>&5
28008ae04fa6Smrg  ac_status=$?
28018ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028ae04fa6Smrg  (exit $ac_status); }; then
28038ae04fa6Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
28048ae04fa6Smrg  test -f "$ac_file" || continue;
28058ae04fa6Smrg  case $ac_file in
28068ae04fa6Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
28078ae04fa6Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28088ae04fa6Smrg       break;;
28098ae04fa6Smrg  esac
28108ae04fa6Smrgdone
28118ae04fa6Smrgelse
28128ae04fa6Smrg  echo "$as_me: failed program was:" >&5
28138ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5
28148ae04fa6Smrg
28158ae04fa6Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
28168ae04fa6SmrgSee \`config.log' for more details." >&5
28178ae04fa6Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
28188ae04fa6SmrgSee \`config.log' for more details." >&2;}
28198ae04fa6Smrg   { (exit 1); exit 1; }; }
28208ae04fa6Smrgfi
28218ae04fa6Smrg
28228ae04fa6Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
28238ae04fa6Smrgfi
28248ae04fa6Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
28258ae04fa6Smrgecho "${ECHO_T}$ac_cv_objext" >&6; }
28268ae04fa6SmrgOBJEXT=$ac_cv_objext
28278ae04fa6Smrgac_objext=$OBJEXT
28288ae04fa6Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28298ae04fa6Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
28308ae04fa6Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
28318ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
28328ae04fa6Smrgelse
28338ae04fa6Smrg  cat >conftest.$ac_ext <<_ACEOF
28348ae04fa6Smrg/* confdefs.h.  */
28358ae04fa6Smrg_ACEOF
28368ae04fa6Smrgcat confdefs.h >>conftest.$ac_ext
28378ae04fa6Smrgcat >>conftest.$ac_ext <<_ACEOF
28388ae04fa6Smrg/* end confdefs.h.  */
28398ae04fa6Smrg
28408ae04fa6Smrgint
28418ae04fa6Smrgmain ()
28428ae04fa6Smrg{
28438ae04fa6Smrg#ifndef __GNUC__
28448ae04fa6Smrg       choke me
28458ae04fa6Smrg#endif
28468ae04fa6Smrg
28478ae04fa6Smrg  ;
28488ae04fa6Smrg  return 0;
28498ae04fa6Smrg}
28508ae04fa6Smrg_ACEOF
28518ae04fa6Smrgrm -f conftest.$ac_objext
28528ae04fa6Smrgif { (ac_try="$ac_compile"
28538ae04fa6Smrgcase "(($ac_try" in
28548ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28558ae04fa6Smrg  *) ac_try_echo=$ac_try;;
28568ae04fa6Smrgesac
28578ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28588ae04fa6Smrg  (eval "$ac_compile") 2>conftest.er1
28598ae04fa6Smrg  ac_status=$?
28608ae04fa6Smrg  grep -v '^ *+' conftest.er1 >conftest.err
28618ae04fa6Smrg  rm -f conftest.er1
28628ae04fa6Smrg  cat conftest.err >&5
28638ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648ae04fa6Smrg  (exit $ac_status); } && {
28658ae04fa6Smrg	 test -z "$ac_c_werror_flag" ||
28668ae04fa6Smrg	 test ! -s conftest.err
28678ae04fa6Smrg       } && test -s conftest.$ac_objext; then
28688ae04fa6Smrg  ac_compiler_gnu=yes
28698ae04fa6Smrgelse
28708ae04fa6Smrg  echo "$as_me: failed program was:" >&5
28718ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5
28728ae04fa6Smrg
28738ae04fa6Smrg	ac_compiler_gnu=no
28748ae04fa6Smrgfi
28758ae04fa6Smrg
28768ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28778ae04fa6Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
28788ae04fa6Smrg
28798ae04fa6Smrgfi
28808ae04fa6Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
28818ae04fa6Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
28828ae04fa6SmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
28838ae04fa6Smrgac_test_CFLAGS=${CFLAGS+set}
28848ae04fa6Smrgac_save_CFLAGS=$CFLAGS
28858ae04fa6Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
28868ae04fa6Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
28878ae04fa6Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
28888ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
28898ae04fa6Smrgelse
28908ae04fa6Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
28918ae04fa6Smrg   ac_c_werror_flag=yes
28928ae04fa6Smrg   ac_cv_prog_cc_g=no
28938ae04fa6Smrg   CFLAGS="-g"
28948ae04fa6Smrg   cat >conftest.$ac_ext <<_ACEOF
28958ae04fa6Smrg/* confdefs.h.  */
28968ae04fa6Smrg_ACEOF
28978ae04fa6Smrgcat confdefs.h >>conftest.$ac_ext
28988ae04fa6Smrgcat >>conftest.$ac_ext <<_ACEOF
28998ae04fa6Smrg/* end confdefs.h.  */
29008ae04fa6Smrg
29018ae04fa6Smrgint
29028ae04fa6Smrgmain ()
29038ae04fa6Smrg{
29048ae04fa6Smrg
29058ae04fa6Smrg  ;
29068ae04fa6Smrg  return 0;
29078ae04fa6Smrg}
29088ae04fa6Smrg_ACEOF
29098ae04fa6Smrgrm -f conftest.$ac_objext
29108ae04fa6Smrgif { (ac_try="$ac_compile"
29118ae04fa6Smrgcase "(($ac_try" in
29128ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29138ae04fa6Smrg  *) ac_try_echo=$ac_try;;
29148ae04fa6Smrgesac
29158ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29168ae04fa6Smrg  (eval "$ac_compile") 2>conftest.er1
29178ae04fa6Smrg  ac_status=$?
29188ae04fa6Smrg  grep -v '^ *+' conftest.er1 >conftest.err
29198ae04fa6Smrg  rm -f conftest.er1
29208ae04fa6Smrg  cat conftest.err >&5
29218ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228ae04fa6Smrg  (exit $ac_status); } && {
29238ae04fa6Smrg	 test -z "$ac_c_werror_flag" ||
29248ae04fa6Smrg	 test ! -s conftest.err
29258ae04fa6Smrg       } && test -s conftest.$ac_objext; then
29268ae04fa6Smrg  ac_cv_prog_cc_g=yes
29278ae04fa6Smrgelse
29288ae04fa6Smrg  echo "$as_me: failed program was:" >&5
29298ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5
29308ae04fa6Smrg
29318ae04fa6Smrg	CFLAGS=""
29328ae04fa6Smrg      cat >conftest.$ac_ext <<_ACEOF
29338ae04fa6Smrg/* confdefs.h.  */
29348ae04fa6Smrg_ACEOF
29358ae04fa6Smrgcat confdefs.h >>conftest.$ac_ext
29368ae04fa6Smrgcat >>conftest.$ac_ext <<_ACEOF
29378ae04fa6Smrg/* end confdefs.h.  */
29388ae04fa6Smrg
29398ae04fa6Smrgint
29408ae04fa6Smrgmain ()
29418ae04fa6Smrg{
29428ae04fa6Smrg
29438ae04fa6Smrg  ;
29448ae04fa6Smrg  return 0;
29458ae04fa6Smrg}
29468ae04fa6Smrg_ACEOF
29478ae04fa6Smrgrm -f conftest.$ac_objext
29488ae04fa6Smrgif { (ac_try="$ac_compile"
29498ae04fa6Smrgcase "(($ac_try" in
29508ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29518ae04fa6Smrg  *) ac_try_echo=$ac_try;;
29528ae04fa6Smrgesac
29538ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29548ae04fa6Smrg  (eval "$ac_compile") 2>conftest.er1
29558ae04fa6Smrg  ac_status=$?
29568ae04fa6Smrg  grep -v '^ *+' conftest.er1 >conftest.err
29578ae04fa6Smrg  rm -f conftest.er1
29588ae04fa6Smrg  cat conftest.err >&5
29598ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608ae04fa6Smrg  (exit $ac_status); } && {
29618ae04fa6Smrg	 test -z "$ac_c_werror_flag" ||
29628ae04fa6Smrg	 test ! -s conftest.err
29638ae04fa6Smrg       } && test -s conftest.$ac_objext; then
29648ae04fa6Smrg  :
29658ae04fa6Smrgelse
29668ae04fa6Smrg  echo "$as_me: failed program was:" >&5
29678ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5
29688ae04fa6Smrg
29698ae04fa6Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
29708ae04fa6Smrg	 CFLAGS="-g"
29718ae04fa6Smrg	 cat >conftest.$ac_ext <<_ACEOF
29728ae04fa6Smrg/* confdefs.h.  */
29738ae04fa6Smrg_ACEOF
29748ae04fa6Smrgcat confdefs.h >>conftest.$ac_ext
29758ae04fa6Smrgcat >>conftest.$ac_ext <<_ACEOF
29768ae04fa6Smrg/* end confdefs.h.  */
29778ae04fa6Smrg
29788ae04fa6Smrgint
29798ae04fa6Smrgmain ()
29808ae04fa6Smrg{
29818ae04fa6Smrg
29828ae04fa6Smrg  ;
29838ae04fa6Smrg  return 0;
29848ae04fa6Smrg}
29858ae04fa6Smrg_ACEOF
29868ae04fa6Smrgrm -f conftest.$ac_objext
29878ae04fa6Smrgif { (ac_try="$ac_compile"
29888ae04fa6Smrgcase "(($ac_try" in
29898ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29908ae04fa6Smrg  *) ac_try_echo=$ac_try;;
29918ae04fa6Smrgesac
29928ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29938ae04fa6Smrg  (eval "$ac_compile") 2>conftest.er1
29948ae04fa6Smrg  ac_status=$?
29958ae04fa6Smrg  grep -v '^ *+' conftest.er1 >conftest.err
29968ae04fa6Smrg  rm -f conftest.er1
29978ae04fa6Smrg  cat conftest.err >&5
29988ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998ae04fa6Smrg  (exit $ac_status); } && {
30008ae04fa6Smrg	 test -z "$ac_c_werror_flag" ||
30018ae04fa6Smrg	 test ! -s conftest.err
30028ae04fa6Smrg       } && test -s conftest.$ac_objext; then
30038ae04fa6Smrg  ac_cv_prog_cc_g=yes
30048ae04fa6Smrgelse
30058ae04fa6Smrg  echo "$as_me: failed program was:" >&5
30068ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5
30078ae04fa6Smrg
30088ae04fa6Smrg
30098ae04fa6Smrgfi
30108ae04fa6Smrg
30118ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30128ae04fa6Smrgfi
30138ae04fa6Smrg
30148ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30158ae04fa6Smrgfi
30168ae04fa6Smrg
30178ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30188ae04fa6Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
30198ae04fa6Smrgfi
30208ae04fa6Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
30218ae04fa6Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
30228ae04fa6Smrgif test "$ac_test_CFLAGS" = set; then
30238ae04fa6Smrg  CFLAGS=$ac_save_CFLAGS
30248ae04fa6Smrgelif test $ac_cv_prog_cc_g = yes; then
30258ae04fa6Smrg  if test "$GCC" = yes; then
30268ae04fa6Smrg    CFLAGS="-g -O2"
30278ae04fa6Smrg  else
30288ae04fa6Smrg    CFLAGS="-g"
30298ae04fa6Smrg  fi
30308ae04fa6Smrgelse
30318ae04fa6Smrg  if test "$GCC" = yes; then
30328ae04fa6Smrg    CFLAGS="-O2"
30338ae04fa6Smrg  else
30348ae04fa6Smrg    CFLAGS=
30358ae04fa6Smrg  fi
30368ae04fa6Smrgfi
30378ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
30388ae04fa6Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
30398ae04fa6Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
30408ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
30418ae04fa6Smrgelse
30428ae04fa6Smrg  ac_cv_prog_cc_c89=no
30438ae04fa6Smrgac_save_CC=$CC
30448ae04fa6Smrgcat >conftest.$ac_ext <<_ACEOF
30458ae04fa6Smrg/* confdefs.h.  */
30468ae04fa6Smrg_ACEOF
30478ae04fa6Smrgcat confdefs.h >>conftest.$ac_ext
30488ae04fa6Smrgcat >>conftest.$ac_ext <<_ACEOF
30498ae04fa6Smrg/* end confdefs.h.  */
30508ae04fa6Smrg#include <stdarg.h>
30518ae04fa6Smrg#include <stdio.h>
30528ae04fa6Smrg#include <sys/types.h>
30538ae04fa6Smrg#include <sys/stat.h>
30548ae04fa6Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
30558ae04fa6Smrgstruct buf { int x; };
30568ae04fa6SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
30578ae04fa6Smrgstatic char *e (p, i)
30588ae04fa6Smrg     char **p;
30598ae04fa6Smrg     int i;
30608ae04fa6Smrg{
30618ae04fa6Smrg  return p[i];
30628ae04fa6Smrg}
30638ae04fa6Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
30648ae04fa6Smrg{
30658ae04fa6Smrg  char *s;
30668ae04fa6Smrg  va_list v;
30678ae04fa6Smrg  va_start (v,p);
30688ae04fa6Smrg  s = g (p, va_arg (v,int));
30698ae04fa6Smrg  va_end (v);
30708ae04fa6Smrg  return s;
30718ae04fa6Smrg}
30728ae04fa6Smrg
30738ae04fa6Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
30748ae04fa6Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
30758ae04fa6Smrg   These don't provoke an error unfortunately, instead are silently treated
30768ae04fa6Smrg   as 'x'.  The following induces an error, until -std is added to get
30778ae04fa6Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
30788ae04fa6Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
30798ae04fa6Smrg   that's true only with -std.  */
30808ae04fa6Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
30818ae04fa6Smrg
30828ae04fa6Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
30838ae04fa6Smrg   inside strings and character constants.  */
30848ae04fa6Smrg#define FOO(x) 'x'
30858ae04fa6Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
30868ae04fa6Smrg
30878ae04fa6Smrgint test (int i, double x);
30888ae04fa6Smrgstruct s1 {int (*f) (int a);};
30898ae04fa6Smrgstruct s2 {int (*f) (double a);};
30908ae04fa6Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
30918ae04fa6Smrgint argc;
30928ae04fa6Smrgchar **argv;
30938ae04fa6Smrgint
30948ae04fa6Smrgmain ()
30958ae04fa6Smrg{
30968ae04fa6Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
30978ae04fa6Smrg  ;
30988ae04fa6Smrg  return 0;
30998ae04fa6Smrg}
31008ae04fa6Smrg_ACEOF
31018ae04fa6Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
31028ae04fa6Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31038ae04fa6Smrgdo
31048ae04fa6Smrg  CC="$ac_save_CC $ac_arg"
31058ae04fa6Smrg  rm -f conftest.$ac_objext
31068ae04fa6Smrgif { (ac_try="$ac_compile"
31078ae04fa6Smrgcase "(($ac_try" in
31088ae04fa6Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31098ae04fa6Smrg  *) ac_try_echo=$ac_try;;
31108ae04fa6Smrgesac
31118ae04fa6Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31128ae04fa6Smrg  (eval "$ac_compile") 2>conftest.er1
31138ae04fa6Smrg  ac_status=$?
31148ae04fa6Smrg  grep -v '^ *+' conftest.er1 >conftest.err
31158ae04fa6Smrg  rm -f conftest.er1
31168ae04fa6Smrg  cat conftest.err >&5
31178ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188ae04fa6Smrg  (exit $ac_status); } && {
31198ae04fa6Smrg	 test -z "$ac_c_werror_flag" ||
31208ae04fa6Smrg	 test ! -s conftest.err
31218ae04fa6Smrg       } && test -s conftest.$ac_objext; then
31228ae04fa6Smrg  ac_cv_prog_cc_c89=$ac_arg
31238ae04fa6Smrgelse
31248ae04fa6Smrg  echo "$as_me: failed program was:" >&5
31258ae04fa6Smrgsed 's/^/| /' conftest.$ac_ext >&5
31268ae04fa6Smrg
31278ae04fa6Smrg
31288ae04fa6Smrgfi
31298ae04fa6Smrg
31308ae04fa6Smrgrm -f core conftest.err conftest.$ac_objext
31318ae04fa6Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
31328ae04fa6Smrgdone
31338ae04fa6Smrgrm -f conftest.$ac_ext
31348ae04fa6SmrgCC=$ac_save_CC
31358ae04fa6Smrg
31368ae04fa6Smrgfi
31378ae04fa6Smrg# AC_CACHE_VAL
31388ae04fa6Smrgcase "x$ac_cv_prog_cc_c89" in
31398ae04fa6Smrg  x)
31408ae04fa6Smrg    { echo "$as_me:$LINENO: result: none needed" >&5
31418ae04fa6Smrgecho "${ECHO_T}none needed" >&6; } ;;
31428ae04fa6Smrg  xno)
31438ae04fa6Smrg    { echo "$as_me:$LINENO: result: unsupported" >&5
31448ae04fa6Smrgecho "${ECHO_T}unsupported" >&6; } ;;
31458ae04fa6Smrg  *)
31468ae04fa6Smrg    CC="$CC $ac_cv_prog_cc_c89"
31478ae04fa6Smrg    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
31488ae04fa6Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
31498ae04fa6Smrgesac
31508ae04fa6Smrg
31518ae04fa6Smrg
31528ae04fa6Smrgac_ext=c
31538ae04fa6Smrgac_cpp='$CPP $CPPFLAGS'
31548ae04fa6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31558ae04fa6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31568ae04fa6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
31578ae04fa6SmrgDEPDIR="${am__leading_dot}deps"
31588ae04fa6Smrg
31598ae04fa6Smrgac_config_commands="$ac_config_commands depfiles"
31608ae04fa6Smrg
31618ae04fa6Smrg
31628ae04fa6Smrgam_make=${MAKE-make}
31638ae04fa6Smrgcat > confinc << 'END'
31648ae04fa6Smrgam__doit:
31658ae04fa6Smrg	@echo done
31668ae04fa6Smrg.PHONY: am__doit
31678ae04fa6SmrgEND
31688ae04fa6Smrg# If we don't find an include directive, just comment out the code.
31698ae04fa6Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
31708ae04fa6Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
31718ae04fa6Smrgam__include="#"
31728ae04fa6Smrgam__quote=
31738ae04fa6Smrg_am_result=none
31748ae04fa6Smrg# First try GNU make style include.
31758ae04fa6Smrgecho "include confinc" > confmf
31768ae04fa6Smrg# We grep out `Entering directory' and `Leaving directory'
31778ae04fa6Smrg# messages which can occur if `w' ends up in MAKEFLAGS.
31788ae04fa6Smrg# In particular we don't look at `^make:' because GNU make might
31798ae04fa6Smrg# be invoked under some other name (usually "gmake"), in which
31808ae04fa6Smrg# case it prints its new name instead of `make'.
31818ae04fa6Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
31828ae04fa6Smrg   am__include=include
31838ae04fa6Smrg   am__quote=
31848ae04fa6Smrg   _am_result=GNU
31858ae04fa6Smrgfi
31868ae04fa6Smrg# Now try BSD make style include.
31878ae04fa6Smrgif test "$am__include" = "#"; then
31888ae04fa6Smrg   echo '.include "confinc"' > confmf
31898ae04fa6Smrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
31908ae04fa6Smrg      am__include=.include
31918ae04fa6Smrg      am__quote="\""
31928ae04fa6Smrg      _am_result=BSD
31938ae04fa6Smrg   fi
31948ae04fa6Smrgfi
31958ae04fa6Smrg
31968ae04fa6Smrg
31978ae04fa6Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5
31988ae04fa6Smrgecho "${ECHO_T}$_am_result" >&6; }
31998ae04fa6Smrgrm -f confinc confmf
32008ae04fa6Smrg
32018ae04fa6Smrg# Check whether --enable-dependency-tracking was given.
32028ae04fa6Smrgif test "${enable_dependency_tracking+set}" = set; then
32038ae04fa6Smrg  enableval=$enable_dependency_tracking;
32048ae04fa6Smrgfi
32058ae04fa6Smrg
32068ae04fa6Smrgif test "x$enable_dependency_tracking" != xno; then
32078ae04fa6Smrg  am_depcomp="$ac_aux_dir/depcomp"
32088ae04fa6Smrg  AMDEPBACKSLASH='\'
32098ae04fa6Smrgfi
32108ae04fa6Smrg if test "x$enable_dependency_tracking" != xno; then
32118ae04fa6Smrg  AMDEP_TRUE=
32128ae04fa6Smrg  AMDEP_FALSE='#'
32138ae04fa6Smrgelse
32148ae04fa6Smrg  AMDEP_TRUE='#'
32158ae04fa6Smrg  AMDEP_FALSE=
32168ae04fa6Smrgfi
32178ae04fa6Smrg
32188ae04fa6Smrg
32198ae04fa6Smrg
32208ae04fa6Smrgdepcc="$CC"   am_compiler_list=
32218ae04fa6Smrg
32228ae04fa6Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
32238ae04fa6Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
32248ae04fa6Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
32258ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
32268ae04fa6Smrgelse
32278ae04fa6Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32288ae04fa6Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
32298ae04fa6Smrg  # making bogus files that we don't know about and never remove.  For
32308ae04fa6Smrg  # instance it was reported that on HP-UX the gcc test will end up
32318ae04fa6Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
32328ae04fa6Smrg  # in D'.
32338ae04fa6Smrg  mkdir conftest.dir
32348ae04fa6Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
32358ae04fa6Smrg  # using a relative directory.
32368ae04fa6Smrg  cp "$am_depcomp" conftest.dir
32378ae04fa6Smrg  cd conftest.dir
32388ae04fa6Smrg  # We will build objects and dependencies in a subdirectory because
32398ae04fa6Smrg  # it helps to detect inapplicable dependency modes.  For instance
32408ae04fa6Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
32418ae04fa6Smrg  # side effect of compilation, but ICC will put the dependencies in
32428ae04fa6Smrg  # the current directory while Tru64 will put them in the object
32438ae04fa6Smrg  # directory.
32448ae04fa6Smrg  mkdir sub
32458ae04fa6Smrg
32468ae04fa6Smrg  am_cv_CC_dependencies_compiler_type=none
32478ae04fa6Smrg  if test "$am_compiler_list" = ""; then
32488ae04fa6Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
32498ae04fa6Smrg  fi
32508ae04fa6Smrg  for depmode in $am_compiler_list; do
32518ae04fa6Smrg    # Setup a source with many dependencies, because some compilers
32528ae04fa6Smrg    # like to wrap large dependency lists on column 80 (with \), and
32538ae04fa6Smrg    # we should not choose a depcomp mode which is confused by this.
32548ae04fa6Smrg    #
32558ae04fa6Smrg    # We need to recreate these files for each test, as the compiler may
32568ae04fa6Smrg    # overwrite some of them when testing with obscure command lines.
32578ae04fa6Smrg    # This happens at least with the AIX C compiler.
32588ae04fa6Smrg    : > sub/conftest.c
32598ae04fa6Smrg    for i in 1 2 3 4 5 6; do
32608ae04fa6Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
32618ae04fa6Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
32628ae04fa6Smrg      # Solaris 8's {/usr,}/bin/sh.
32638ae04fa6Smrg      touch sub/conftst$i.h
32648ae04fa6Smrg    done
32658ae04fa6Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
32668ae04fa6Smrg
32678ae04fa6Smrg    case $depmode in
32688ae04fa6Smrg    nosideeffect)
32698ae04fa6Smrg      # after this tag, mechanisms are not by side-effect, so they'll
32708ae04fa6Smrg      # only be used when explicitly requested
32718ae04fa6Smrg      if test "x$enable_dependency_tracking" = xyes; then
32728ae04fa6Smrg	continue
32738ae04fa6Smrg      else
32748ae04fa6Smrg	break
32758ae04fa6Smrg      fi
32768ae04fa6Smrg      ;;
32778ae04fa6Smrg    none) break ;;
32788ae04fa6Smrg    esac
32798ae04fa6Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
32808ae04fa6Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
32818ae04fa6Smrg    # handle `-M -o', and we need to detect this.
32828ae04fa6Smrg    if depmode=$depmode \
32838ae04fa6Smrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
32848ae04fa6Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
32858ae04fa6Smrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
32868ae04fa6Smrg         >/dev/null 2>conftest.err &&
32878ae04fa6Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
32888ae04fa6Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
32898ae04fa6Smrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
32908ae04fa6Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
32918ae04fa6Smrg      # icc doesn't choke on unknown options, it will just issue warnings
32928ae04fa6Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
32938ae04fa6Smrg      # that says an option was ignored or not supported.
32948ae04fa6Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
32958ae04fa6Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
32968ae04fa6Smrg      # The diagnosis changed in icc 8.0:
32978ae04fa6Smrg      #   icc: Command line remark: option '-MP' not supported
32988ae04fa6Smrg      if (grep 'ignoring option' conftest.err ||
32998ae04fa6Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
33008ae04fa6Smrg        am_cv_CC_dependencies_compiler_type=$depmode
33018ae04fa6Smrg        break
33028ae04fa6Smrg      fi
33038ae04fa6Smrg    fi
33048ae04fa6Smrg  done
33058ae04fa6Smrg
33068ae04fa6Smrg  cd ..
33078ae04fa6Smrg  rm -rf conftest.dir
33088ae04fa6Smrgelse
33098ae04fa6Smrg  am_cv_CC_dependencies_compiler_type=none
33108ae04fa6Smrgfi
33118ae04fa6Smrg
33128ae04fa6Smrgfi
33138ae04fa6Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
33148ae04fa6Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
33158ae04fa6SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
33168ae04fa6Smrg
33178ae04fa6Smrg if
33188ae04fa6Smrg  test "x$enable_dependency_tracking" != xno \
33198ae04fa6Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
33208ae04fa6Smrg  am__fastdepCC_TRUE=
33218ae04fa6Smrg  am__fastdepCC_FALSE='#'
33228ae04fa6Smrgelse
33238ae04fa6Smrg  am__fastdepCC_TRUE='#'
33248ae04fa6Smrg  am__fastdepCC_FALSE=
33258ae04fa6Smrgfi
33268ae04fa6Smrg
33278ae04fa6Smrg
33288ae04fa6Smrg# Find a good install program.  We prefer a C program (faster),
33298ae04fa6Smrg# so one script is as good as another.  But avoid the broken or
33308ae04fa6Smrg# incompatible versions:
33318ae04fa6Smrg# SysV /etc/install, /usr/sbin/install
33328ae04fa6Smrg# SunOS /usr/etc/install
33338ae04fa6Smrg# IRIX /sbin/install
33348ae04fa6Smrg# AIX /bin/install
33358ae04fa6Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
33368ae04fa6Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33378ae04fa6Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33388ae04fa6Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33398ae04fa6Smrg# OS/2's system install, which has a completely different semantic
33408ae04fa6Smrg# ./install, which can be erroneously created by make from ./install.sh.
33418ae04fa6Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33428ae04fa6Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
33438ae04fa6Smrgif test -z "$INSTALL"; then
33448ae04fa6Smrgif test "${ac_cv_path_install+set}" = set; then
33458ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
33468ae04fa6Smrgelse
33478ae04fa6Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33488ae04fa6Smrgfor as_dir in $PATH
33498ae04fa6Smrgdo
33508ae04fa6Smrg  IFS=$as_save_IFS
33518ae04fa6Smrg  test -z "$as_dir" && as_dir=.
33528ae04fa6Smrg  # Account for people who put trailing slashes in PATH elements.
33538ae04fa6Smrgcase $as_dir/ in
33548ae04fa6Smrg  ./ | .// | /cC/* | \
33558ae04fa6Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33568ae04fa6Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
33578ae04fa6Smrg  /usr/ucb/* ) ;;
33588ae04fa6Smrg  *)
33598ae04fa6Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
33608ae04fa6Smrg    # Don't use installbsd from OSF since it installs stuff as root
33618ae04fa6Smrg    # by default.
33628ae04fa6Smrg    for ac_prog in ginstall scoinst install; do
33638ae04fa6Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
33648ae04fa6Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
33658ae04fa6Smrg	  if test $ac_prog = install &&
33668ae04fa6Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33678ae04fa6Smrg	    # AIX install.  It has an incompatible calling convention.
33688ae04fa6Smrg	    :
33698ae04fa6Smrg	  elif test $ac_prog = install &&
33708ae04fa6Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33718ae04fa6Smrg	    # program-specific install script used by HP pwplus--don't use.
33728ae04fa6Smrg	    :
33738ae04fa6Smrg	  else
33748ae04fa6Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33758ae04fa6Smrg	    break 3
33768ae04fa6Smrg	  fi
33778ae04fa6Smrg	fi
33788ae04fa6Smrg      done
33798ae04fa6Smrg    done
33808ae04fa6Smrg    ;;
33818ae04fa6Smrgesac
33828ae04fa6Smrgdone
33838ae04fa6SmrgIFS=$as_save_IFS
33848ae04fa6Smrg
33858ae04fa6Smrg
33868ae04fa6Smrgfi
33878ae04fa6Smrg  if test "${ac_cv_path_install+set}" = set; then
33888ae04fa6Smrg    INSTALL=$ac_cv_path_install
33898ae04fa6Smrg  else
33908ae04fa6Smrg    # As a last resort, use the slow shell script.  Don't cache a
33918ae04fa6Smrg    # value for INSTALL within a source directory, because that will
33928ae04fa6Smrg    # break other packages using the cache if that directory is
33938ae04fa6Smrg    # removed, or if the value is a relative name.
33948ae04fa6Smrg    INSTALL=$ac_install_sh
33958ae04fa6Smrg  fi
33968ae04fa6Smrgfi
33978ae04fa6Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
33988ae04fa6Smrgecho "${ECHO_T}$INSTALL" >&6; }
33998ae04fa6Smrg
34008ae04fa6Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34018ae04fa6Smrg# It thinks the first close brace ends the variable substitution.
34028ae04fa6Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34038ae04fa6Smrg
34048ae04fa6Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34058ae04fa6Smrg
34068ae04fa6Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34078ae04fa6Smrg
34088ae04fa6Smrg
34098ae04fa6Smrg# Checks for pkg-config packages
34108ae04fa6Smrg
34118ae04fa6Smrg
34128ae04fa6Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34138ae04fa6Smrg	if test -n "$ac_tool_prefix"; then
34148ae04fa6Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34158ae04fa6Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34168ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34178ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34188ae04fa6Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34198ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
34208ae04fa6Smrgelse
34218ae04fa6Smrg  case $PKG_CONFIG in
34228ae04fa6Smrg  [\\/]* | ?:[\\/]*)
34238ae04fa6Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34248ae04fa6Smrg  ;;
34258ae04fa6Smrg  *)
34268ae04fa6Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34278ae04fa6Smrgfor as_dir in $PATH
34288ae04fa6Smrgdo
34298ae04fa6Smrg  IFS=$as_save_IFS
34308ae04fa6Smrg  test -z "$as_dir" && as_dir=.
34318ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
34328ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34338ae04fa6Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34348ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34358ae04fa6Smrg    break 2
34368ae04fa6Smrg  fi
34378ae04fa6Smrgdone
34388ae04fa6Smrgdone
34398ae04fa6SmrgIFS=$as_save_IFS
34408ae04fa6Smrg
34418ae04fa6Smrg  ;;
34428ae04fa6Smrgesac
34438ae04fa6Smrgfi
34448ae04fa6SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
34458ae04fa6Smrgif test -n "$PKG_CONFIG"; then
34468ae04fa6Smrg  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34478ae04fa6Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; }
34488ae04fa6Smrgelse
34498ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
34508ae04fa6Smrgecho "${ECHO_T}no" >&6; }
34518ae04fa6Smrgfi
34528ae04fa6Smrg
34538ae04fa6Smrg
34548ae04fa6Smrgfi
34558ae04fa6Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
34568ae04fa6Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
34578ae04fa6Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
34588ae04fa6Smrgset dummy pkg-config; ac_word=$2
34598ae04fa6Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34608ae04fa6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34618ae04fa6Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34628ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
34638ae04fa6Smrgelse
34648ae04fa6Smrg  case $ac_pt_PKG_CONFIG in
34658ae04fa6Smrg  [\\/]* | ?:[\\/]*)
34668ae04fa6Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34678ae04fa6Smrg  ;;
34688ae04fa6Smrg  *)
34698ae04fa6Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34708ae04fa6Smrgfor as_dir in $PATH
34718ae04fa6Smrgdo
34728ae04fa6Smrg  IFS=$as_save_IFS
34738ae04fa6Smrg  test -z "$as_dir" && as_dir=.
34748ae04fa6Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
34758ae04fa6Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34768ae04fa6Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34778ae04fa6Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34788ae04fa6Smrg    break 2
34798ae04fa6Smrg  fi
34808ae04fa6Smrgdone
34818ae04fa6Smrgdone
34828ae04fa6SmrgIFS=$as_save_IFS
34838ae04fa6Smrg
34848ae04fa6Smrg  ;;
34858ae04fa6Smrgesac
34868ae04fa6Smrgfi
34878ae04fa6Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34888ae04fa6Smrgif test -n "$ac_pt_PKG_CONFIG"; then
34898ae04fa6Smrg  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34908ae04fa6Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34918ae04fa6Smrgelse
34928ae04fa6Smrg  { echo "$as_me:$LINENO: result: no" >&5
34938ae04fa6Smrgecho "${ECHO_T}no" >&6; }
34948ae04fa6Smrgfi
34958ae04fa6Smrg
34968ae04fa6Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
34978ae04fa6Smrg    PKG_CONFIG=""
34988ae04fa6Smrg  else
34998ae04fa6Smrg    case $cross_compiling:$ac_tool_warned in
35008ae04fa6Smrgyes:)
35018ae04fa6Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35028ae04fa6Smrgwhose name does not start with the host triplet.  If you think this
35038ae04fa6Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
35048ae04fa6Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35058ae04fa6Smrgwhose name does not start with the host triplet.  If you think this
35068ae04fa6Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
35078ae04fa6Smrgac_tool_warned=yes ;;
35088ae04fa6Smrgesac
35098ae04fa6Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
35108ae04fa6Smrg  fi
35118ae04fa6Smrgelse
35128ae04fa6Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35138ae04fa6Smrgfi
35148ae04fa6Smrg
35158ae04fa6Smrgfi
35168ae04fa6Smrgif test -n "$PKG_CONFIG"; then
35178ae04fa6Smrg	_pkg_min_version=0.9.0
35188ae04fa6Smrg	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35198ae04fa6Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35208ae04fa6Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35218ae04fa6Smrg		{ echo "$as_me:$LINENO: result: yes" >&5
35228ae04fa6Smrgecho "${ECHO_T}yes" >&6; }
35238ae04fa6Smrg	else
35248ae04fa6Smrg		{ echo "$as_me:$LINENO: result: no" >&5
35258ae04fa6Smrgecho "${ECHO_T}no" >&6; }
35268ae04fa6Smrg		PKG_CONFIG=""
35278ae04fa6Smrg	fi
35288ae04fa6Smrg
35298ae04fa6Smrgfi
35308ae04fa6Smrg
35318ae04fa6Smrgpkg_failed=no
35328ae04fa6Smrg{ echo "$as_me:$LINENO: checking for XVINFO" >&5
35338ae04fa6Smrgecho $ECHO_N "checking for XVINFO... $ECHO_C" >&6; }
35348ae04fa6Smrg
35358ae04fa6Smrgif test -n "$PKG_CONFIG"; then
35368ae04fa6Smrg        if test -n "$PKG_CONFIG" && \
35378ae04fa6Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xv x11\"") >&5
35388ae04fa6Smrg  ($PKG_CONFIG --exists --print-errors "xv x11") 2>&5
35398ae04fa6Smrg  ac_status=$?
35408ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418ae04fa6Smrg  (exit $ac_status); }; then
35428ae04fa6Smrg  pkg_cv_XVINFO_CFLAGS=`$PKG_CONFIG --cflags "xv x11" 2>/dev/null`
35438ae04fa6Smrgelse
35448ae04fa6Smrg  pkg_failed=yes
35458ae04fa6Smrgfi
35468ae04fa6Smrgelse
35478ae04fa6Smrg	pkg_failed=untried
35488ae04fa6Smrgfi
35498ae04fa6Smrgif test -n "$PKG_CONFIG"; then
35508ae04fa6Smrg        if test -n "$PKG_CONFIG" && \
35518ae04fa6Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xv x11\"") >&5
35528ae04fa6Smrg  ($PKG_CONFIG --exists --print-errors "xv x11") 2>&5
35538ae04fa6Smrg  ac_status=$?
35548ae04fa6Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558ae04fa6Smrg  (exit $ac_status); }; then
35568ae04fa6Smrg  pkg_cv_XVINFO_LIBS=`$PKG_CONFIG --libs "xv x11" 2>/dev/null`
35578ae04fa6Smrgelse
35588ae04fa6Smrg  pkg_failed=yes
35598ae04fa6Smrgfi
35608ae04fa6Smrgelse
35618ae04fa6Smrg	pkg_failed=untried
35628ae04fa6Smrgfi
35638ae04fa6Smrg
35648ae04fa6Smrgif test $pkg_failed = yes; then
35658ae04fa6Smrg	XVINFO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xv x11"`
35668ae04fa6Smrg	# Put the nasty error message in config.log where it belongs
35678ae04fa6Smrg	echo "$XVINFO_PKG_ERRORS" 1>&5
35688ae04fa6Smrg
35698ae04fa6Smrg	{ { echo "$as_me:$LINENO: error: Package requirements (xv x11) were not met.
35708ae04fa6SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
35718ae04fa6Smrginstalled software in a non-standard prefix.
35728ae04fa6Smrg
35738ae04fa6SmrgAlternatively you may set the XVINFO_CFLAGS and XVINFO_LIBS environment variables
35748ae04fa6Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
35758ae04fa6Smrgmore details." >&5
35768ae04fa6Smrgecho "$as_me: error: Package requirements (xv x11) were not met.
35778ae04fa6SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
35788ae04fa6Smrginstalled software in a non-standard prefix.
35798ae04fa6Smrg
35808ae04fa6SmrgAlternatively you may set the XVINFO_CFLAGS and XVINFO_LIBS environment variables
35818ae04fa6Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
35828ae04fa6Smrgmore details." >&2;}
35838ae04fa6Smrg   { (exit 1); exit 1; }; }
35848ae04fa6Smrgelif test $pkg_failed = untried; then
35858ae04fa6Smrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
35868ae04fa6Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
35878ae04fa6Smrgpath to pkg-config.
35888ae04fa6Smrg
35898ae04fa6SmrgAlternatively you may set the XVINFO_CFLAGS and XVINFO_LIBS environment variables
35908ae04fa6Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
35918ae04fa6Smrgmore details.
35928ae04fa6Smrg
35938ae04fa6SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
35948ae04fa6SmrgSee \`config.log' for more details." >&5
35958ae04fa6Smrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
35968ae04fa6Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
35978ae04fa6Smrgpath to pkg-config.
35988ae04fa6Smrg
35998ae04fa6SmrgAlternatively you may set the XVINFO_CFLAGS and XVINFO_LIBS environment variables
36008ae04fa6Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
36018ae04fa6Smrgmore details.
36028ae04fa6Smrg
36038ae04fa6SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36048ae04fa6SmrgSee \`config.log' for more details." >&2;}
36058ae04fa6Smrg   { (exit 1); exit 1; }; }
36068ae04fa6Smrgelse
36078ae04fa6Smrg	XVINFO_CFLAGS=$pkg_cv_XVINFO_CFLAGS
36088ae04fa6Smrg	XVINFO_LIBS=$pkg_cv_XVINFO_LIBS
36098ae04fa6Smrg        { echo "$as_me:$LINENO: result: yes" >&5
36108ae04fa6Smrgecho "${ECHO_T}yes" >&6; }
36118ae04fa6Smrg	:
36128ae04fa6Smrgfi
36138ae04fa6Smrg
36148ae04fa6Smrg
36158ae04fa6Smrg
36168ae04fa6Smrg# Make sure we can run config.sub.
36178ae04fa6Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
36188ae04fa6Smrg  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
36198ae04fa6Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
36208ae04fa6Smrg   { (exit 1); exit 1; }; }
36218ae04fa6Smrg
36228ae04fa6Smrg{ echo "$as_me:$LINENO: checking build system type" >&5
36238ae04fa6Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; }
36248ae04fa6Smrgif test "${ac_cv_build+set}" = set; then
36258ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
36268ae04fa6Smrgelse
36278ae04fa6Smrg  ac_build_alias=$build_alias
36288ae04fa6Smrgtest "x$ac_build_alias" = x &&
36298ae04fa6Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
36308ae04fa6Smrgtest "x$ac_build_alias" = x &&
36318ae04fa6Smrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
36328ae04fa6Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
36338ae04fa6Smrg   { (exit 1); exit 1; }; }
36348ae04fa6Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
36358ae04fa6Smrg  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
36368ae04fa6Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
36378ae04fa6Smrg   { (exit 1); exit 1; }; }
36388ae04fa6Smrg
36398ae04fa6Smrgfi
36408ae04fa6Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
36418ae04fa6Smrgecho "${ECHO_T}$ac_cv_build" >&6; }
36428ae04fa6Smrgcase $ac_cv_build in
36438ae04fa6Smrg*-*-*) ;;
36448ae04fa6Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
36458ae04fa6Smrgecho "$as_me: error: invalid value of canonical build" >&2;}
36468ae04fa6Smrg   { (exit 1); exit 1; }; };;
36478ae04fa6Smrgesac
36488ae04fa6Smrgbuild=$ac_cv_build
36498ae04fa6Smrgac_save_IFS=$IFS; IFS='-'
36508ae04fa6Smrgset x $ac_cv_build
36518ae04fa6Smrgshift
36528ae04fa6Smrgbuild_cpu=$1
36538ae04fa6Smrgbuild_vendor=$2
36548ae04fa6Smrgshift; shift
36558ae04fa6Smrg# Remember, the first character of IFS is used to create $*,
36568ae04fa6Smrg# except with old shells:
36578ae04fa6Smrgbuild_os=$*
36588ae04fa6SmrgIFS=$ac_save_IFS
36598ae04fa6Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
36608ae04fa6Smrg
36618ae04fa6Smrg
36628ae04fa6Smrg{ echo "$as_me:$LINENO: checking host system type" >&5
36638ae04fa6Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; }
36648ae04fa6Smrgif test "${ac_cv_host+set}" = set; then
36658ae04fa6Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
36668ae04fa6Smrgelse
36678ae04fa6Smrg  if test "x$host_alias" = x; then
36688ae04fa6Smrg  ac_cv_host=$ac_cv_build
36698ae04fa6Smrgelse
36708ae04fa6Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
36718ae04fa6Smrg    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
36728ae04fa6Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
36738ae04fa6Smrg   { (exit 1); exit 1; }; }
36748ae04fa6Smrgfi
36758ae04fa6Smrg
36768ae04fa6Smrgfi
36778ae04fa6Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
36788ae04fa6Smrgecho "${ECHO_T}$ac_cv_host" >&6; }
36798ae04fa6Smrgcase $ac_cv_host in
36808ae04fa6Smrg*-*-*) ;;
36818ae04fa6Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
36828ae04fa6Smrgecho "$as_me: error: invalid value of canonical host" >&2;}
36838ae04fa6Smrg   { (exit 1); exit 1; }; };;
36848ae04fa6Smrgesac
36858ae04fa6Smrghost=$ac_cv_host
36868ae04fa6Smrgac_save_IFS=$IFS; IFS='-'
36878ae04fa6Smrgset x $ac_cv_host
36888ae04fa6Smrgshift
36898ae04fa6Smrghost_cpu=$1
36908ae04fa6Smrghost_vendor=$2
36918ae04fa6Smrgshift; shift
36928ae04fa6Smrg# Remember, the first character of IFS is used to create $*,
36938ae04fa6Smrg# except with old shells:
36948ae04fa6Smrghost_os=$*
36958ae04fa6SmrgIFS=$ac_save_IFS
36968ae04fa6Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
36978ae04fa6Smrg
36988ae04fa6Smrg
36998ae04fa6Smrg
37008ae04fa6Smrg
37018ae04fa6Smrg
37028ae04fa6Smrgif test x$APP_MAN_SUFFIX = x    ; then
37038ae04fa6Smrg    APP_MAN_SUFFIX=1
37048ae04fa6Smrgfi
37058ae04fa6Smrgif test x$APP_MAN_DIR = x    ; then
37068ae04fa6Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
37078ae04fa6Smrgfi
37088ae04fa6Smrg
37098ae04fa6Smrgif test x$LIB_MAN_SUFFIX = x    ; then
37108ae04fa6Smrg    LIB_MAN_SUFFIX=3
37118ae04fa6Smrgfi
37128ae04fa6Smrgif test x$LIB_MAN_DIR = x    ; then
37138ae04fa6Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
37148ae04fa6Smrgfi
37158ae04fa6Smrg
37168ae04fa6Smrgif test x$FILE_MAN_SUFFIX = x    ; then
37178ae04fa6Smrg    case $host_os in
37188ae04fa6Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
37198ae04fa6Smrg	*)		FILE_MAN_SUFFIX=5  ;;
37208ae04fa6Smrg    esac
37218ae04fa6Smrgfi
37228ae04fa6Smrgif test x$FILE_MAN_DIR = x    ; then
37238ae04fa6Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
37248ae04fa6Smrgfi
37258ae04fa6Smrg
37268ae04fa6Smrgif test x$MISC_MAN_SUFFIX = x    ; then
37278ae04fa6Smrg    case $host_os in
37288ae04fa6Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
37298ae04fa6Smrg	*)		MISC_MAN_SUFFIX=7  ;;
37308ae04fa6Smrg    esac
37318ae04fa6Smrgfi
37328ae04fa6Smrgif test x$MISC_MAN_DIR = x    ; then
37338ae04fa6Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
37348ae04fa6Smrgfi
37358ae04fa6Smrg
37368ae04fa6Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
37378ae04fa6Smrg    case $host_os in
37388ae04fa6Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
37398ae04fa6Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
37408ae04fa6Smrg    esac
37418ae04fa6Smrgfi
37428ae04fa6Smrgif test x$DRIVER_MAN_DIR = x    ; then
37438ae04fa6Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
37448ae04fa6Smrgfi
37458ae04fa6Smrg
37468ae04fa6Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
37478ae04fa6Smrg    case $host_os in
37488ae04fa6Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
37498ae04fa6Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
37508ae04fa6Smrg    esac
37518ae04fa6Smrgfi
37528ae04fa6Smrgif test x$ADMIN_MAN_DIR = x    ; then
37538ae04fa6Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
37548ae04fa6Smrgfi
37558ae04fa6Smrg
37568ae04fa6Smrg
37578ae04fa6Smrg
37588ae04fa6Smrg
37598ae04fa6Smrg
37608ae04fa6Smrg
37618ae04fa6Smrg
37628ae04fa6Smrg
37638ae04fa6Smrg
37648ae04fa6Smrg
37658ae04fa6Smrg
37668ae04fa6Smrg
37678ae04fa6Smrg
37688ae04fa6Smrg
37698ae04fa6Smrg
37708ae04fa6Smrg
37718ae04fa6Smrg
37728ae04fa6Smrg# Check whether --with-release-version was given.
37738ae04fa6Smrgif test "${with_release_version+set}" = set; then
37748ae04fa6Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
37758ae04fa6Smrgelse
37768ae04fa6Smrg  RELEASE_VERSION=""
37778ae04fa6Smrgfi
37788ae04fa6Smrg
37798ae04fa6Smrg	if test "x$RELEASE_VERSION" != "x"; then
37808ae04fa6Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
37818ae04fa6Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
37828ae04fa6Smrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
37838ae04fa6Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
37848ae04fa6Smrg	fi
37858ae04fa6Smrg
37868ae04fa6Smrgcat >>confdefs.h <<_ACEOF
37878ae04fa6Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
37888ae04fa6Smrg_ACEOF
37898ae04fa6Smrg
37908ae04fa6Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
37918ae04fa6Smrg	if test "x$PVM" = "x"; then
37928ae04fa6Smrg		PVM="0"
37938ae04fa6Smrg	fi
37948ae04fa6Smrg
37958ae04fa6Smrgcat >>confdefs.h <<_ACEOF
37968ae04fa6Smrg#define PACKAGE_VERSION_MINOR $PVM
37978ae04fa6Smrg_ACEOF
37988ae04fa6Smrg
37998ae04fa6Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
38008ae04fa6Smrg	if test "x$PVP" = "x"; then
38018ae04fa6Smrg		PVP="0"
38028ae04fa6Smrg	fi
38038ae04fa6Smrg
38048ae04fa6Smrgcat >>confdefs.h <<_ACEOF
38058ae04fa6Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
38068ae04fa6Smrg_ACEOF
38078ae04fa6Smrg
38088ae04fa6Smrg
38098ae04fa6Smrg
38108ae04fa6Smrgac_config_files="$ac_config_files Makefile"
38118ae04fa6Smrg
38128ae04fa6Smrgcat >confcache <<\_ACEOF
38138ae04fa6Smrg# This file is a shell script that caches the results of configure
38148ae04fa6Smrg# tests run on this system so they can be shared between configure
38158ae04fa6Smrg# scripts and configure runs, see configure's option --config-cache.
38168ae04fa6Smrg# It is not useful on other systems.  If it contains results you don't
38178ae04fa6Smrg# want to keep, you may remove or edit it.
38188ae04fa6Smrg#
38198ae04fa6Smrg# config.status only pays attention to the cache file if you give it
38208ae04fa6Smrg# the --recheck option to rerun configure.
38218ae04fa6Smrg#
38228ae04fa6Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
38238ae04fa6Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
38248ae04fa6Smrg# following values.
38258ae04fa6Smrg
38268ae04fa6Smrg_ACEOF
38278ae04fa6Smrg
38288ae04fa6Smrg# The following way of writing the cache mishandles newlines in values,
38298ae04fa6Smrg# but we know of no workaround that is simple, portable, and efficient.
38308ae04fa6Smrg# So, we kill variables containing newlines.
38318ae04fa6Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
38328ae04fa6Smrg# and sets the high bit in the cache file unless we assign to the vars.
38338ae04fa6Smrg(
38348ae04fa6Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38358ae04fa6Smrg    eval ac_val=\$$ac_var
38368ae04fa6Smrg    case $ac_val in #(
38378ae04fa6Smrg    *${as_nl}*)
38388ae04fa6Smrg      case $ac_var in #(
38398ae04fa6Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38408ae04fa6Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38418ae04fa6Smrg      esac
38428ae04fa6Smrg      case $ac_var in #(
38438ae04fa6Smrg      _ | IFS | as_nl) ;; #(
38448ae04fa6Smrg      *) $as_unset $ac_var ;;
38458ae04fa6Smrg      esac ;;
38468ae04fa6Smrg    esac
38478ae04fa6Smrg  done
38488ae04fa6Smrg
38498ae04fa6Smrg  (set) 2>&1 |
38508ae04fa6Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
38518ae04fa6Smrg    *${as_nl}ac_space=\ *)
38528ae04fa6Smrg      # `set' does not quote correctly, so add quotes (double-quote
38538ae04fa6Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
38548ae04fa6Smrg      sed -n \
38558ae04fa6Smrg	"s/'/'\\\\''/g;
38568ae04fa6Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38578ae04fa6Smrg      ;; #(
38588ae04fa6Smrg    *)
38598ae04fa6Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
38608ae04fa6Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38618ae04fa6Smrg      ;;
38628ae04fa6Smrg    esac |
38638ae04fa6Smrg    sort
38648ae04fa6Smrg) |
38658ae04fa6Smrg  sed '
38668ae04fa6Smrg     /^ac_cv_env_/b end
38678ae04fa6Smrg     t clear
38688ae04fa6Smrg     :clear
38698ae04fa6Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38708ae04fa6Smrg     t end
38718ae04fa6Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38728ae04fa6Smrg     :end' >>confcache
38738ae04fa6Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38748ae04fa6Smrg  if test -w "$cache_file"; then
38758ae04fa6Smrg    test "x$cache_file" != "x/dev/null" &&
38768ae04fa6Smrg      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38778ae04fa6Smrgecho "$as_me: updating cache $cache_file" >&6;}
38788ae04fa6Smrg    cat confcache >$cache_file
38798ae04fa6Smrg  else
38808ae04fa6Smrg    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38818ae04fa6Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;}
38828ae04fa6Smrg  fi
38838ae04fa6Smrgfi
38848ae04fa6Smrgrm -f confcache
38858ae04fa6Smrg
38868ae04fa6Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
38878ae04fa6Smrg# Let make expand exec_prefix.
38888ae04fa6Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
38898ae04fa6Smrg
38908ae04fa6SmrgDEFS=-DHAVE_CONFIG_H
38918ae04fa6Smrg
38928ae04fa6Smrgac_libobjs=
38938ae04fa6Smrgac_ltlibobjs=
38948ae04fa6Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
38958ae04fa6Smrg  # 1. Remove the extension, and $U if already installed.
38968ae04fa6Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
38978ae04fa6Smrg  ac_i=`echo "$ac_i" | sed "$ac_script"`
38988ae04fa6Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
38998ae04fa6Smrg  #    will be set to the directory where LIBOBJS objects are built.
39008ae04fa6Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
39018ae04fa6Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
39028ae04fa6Smrgdone
39038ae04fa6SmrgLIBOBJS=$ac_libobjs
39048ae04fa6Smrg
39058ae04fa6SmrgLTLIBOBJS=$ac_ltlibobjs
39068ae04fa6Smrg
39078ae04fa6Smrg
39088ae04fa6Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
39098ae04fa6Smrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
39108ae04fa6SmrgUsually this means the macro was only invoked conditionally." >&5
39118ae04fa6Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
39128ae04fa6SmrgUsually this means the macro was only invoked conditionally." >&2;}
39138ae04fa6Smrg   { (exit 1); exit 1; }; }
39148ae04fa6Smrgfi
39158ae04fa6Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
39168ae04fa6Smrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
39178ae04fa6SmrgUsually this means the macro was only invoked conditionally." >&5
39188ae04fa6Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
39198ae04fa6SmrgUsually this means the macro was only invoked conditionally." >&2;}
39208ae04fa6Smrg   { (exit 1); exit 1; }; }
39218ae04fa6Smrgfi
39228ae04fa6Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
39238ae04fa6Smrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
39248ae04fa6SmrgUsually this means the macro was only invoked conditionally." >&5
39258ae04fa6Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
39268ae04fa6SmrgUsually this means the macro was only invoked conditionally." >&2;}
39278ae04fa6Smrg   { (exit 1); exit 1; }; }
39288ae04fa6Smrgfi
39298ae04fa6Smrg
39308ae04fa6Smrg: ${CONFIG_STATUS=./config.status}
39318ae04fa6Smrgac_clean_files_save=$ac_clean_files
39328ae04fa6Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
39338ae04fa6Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39348ae04fa6Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
39358ae04fa6Smrgcat >$CONFIG_STATUS <<_ACEOF
39368ae04fa6Smrg#! $SHELL
39378ae04fa6Smrg# Generated by $as_me.
39388ae04fa6Smrg# Run this file to recreate the current configuration.
39398ae04fa6Smrg# Compiler output produced by configure, useful for debugging
39408ae04fa6Smrg# configure, is in config.log if it exists.
39418ae04fa6Smrg
39428ae04fa6Smrgdebug=false
39438ae04fa6Smrgac_cs_recheck=false
39448ae04fa6Smrgac_cs_silent=false
39458ae04fa6SmrgSHELL=\${CONFIG_SHELL-$SHELL}
39468ae04fa6Smrg_ACEOF
39478ae04fa6Smrg
39488ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
39498ae04fa6Smrg## --------------------- ##
39508ae04fa6Smrg## M4sh Initialization.  ##
39518ae04fa6Smrg## --------------------- ##
39528ae04fa6Smrg
39538ae04fa6Smrg# Be more Bourne compatible
39548ae04fa6SmrgDUALCASE=1; export DUALCASE # for MKS sh
39558ae04fa6Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
39568ae04fa6Smrg  emulate sh
39578ae04fa6Smrg  NULLCMD=:
39588ae04fa6Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39598ae04fa6Smrg  # is contrary to our usage.  Disable this feature.
39608ae04fa6Smrg  alias -g '${1+"$@"}'='"$@"'
39618ae04fa6Smrg  setopt NO_GLOB_SUBST
39628ae04fa6Smrgelse
39638ae04fa6Smrg  case `(set -o) 2>/dev/null` in
39648ae04fa6Smrg  *posix*) set -o posix ;;
39658ae04fa6Smrgesac
39668ae04fa6Smrg
39678ae04fa6Smrgfi
39688ae04fa6Smrg
39698ae04fa6Smrg
39708ae04fa6Smrg
39718ae04fa6Smrg
39728ae04fa6Smrg# PATH needs CR
39738ae04fa6Smrg# Avoid depending upon Character Ranges.
39748ae04fa6Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
39758ae04fa6Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39768ae04fa6Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
39778ae04fa6Smrgas_cr_digits='0123456789'
39788ae04fa6Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
39798ae04fa6Smrg
39808ae04fa6Smrg# The user is always right.
39818ae04fa6Smrgif test "${PATH_SEPARATOR+set}" != set; then
39828ae04fa6Smrg  echo "#! /bin/sh" >conf$$.sh
39838ae04fa6Smrg  echo  "exit 0"   >>conf$$.sh
39848ae04fa6Smrg  chmod +x conf$$.sh
39858ae04fa6Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
39868ae04fa6Smrg    PATH_SEPARATOR=';'
39878ae04fa6Smrg  else
39888ae04fa6Smrg    PATH_SEPARATOR=:
39898ae04fa6Smrg  fi
39908ae04fa6Smrg  rm -f conf$$.sh
39918ae04fa6Smrgfi
39928ae04fa6Smrg
39938ae04fa6Smrg# Support unset when possible.
39948ae04fa6Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
39958ae04fa6Smrg  as_unset=unset
39968ae04fa6Smrgelse
39978ae04fa6Smrg  as_unset=false
39988ae04fa6Smrgfi
39998ae04fa6Smrg
40008ae04fa6Smrg
40018ae04fa6Smrg# IFS
40028ae04fa6Smrg# We need space, tab and new line, in precisely that order.  Quoting is
40038ae04fa6Smrg# there to prevent editors from complaining about space-tab.
40048ae04fa6Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
40058ae04fa6Smrg# splitting by setting IFS to empty value.)
40068ae04fa6Smrgas_nl='
40078ae04fa6Smrg'
40088ae04fa6SmrgIFS=" ""	$as_nl"
40098ae04fa6Smrg
40108ae04fa6Smrg# Find who we are.  Look in the path if we contain no directory separator.
40118ae04fa6Smrgcase $0 in
40128ae04fa6Smrg  *[\\/]* ) as_myself=$0 ;;
40138ae04fa6Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40148ae04fa6Smrgfor as_dir in $PATH
40158ae04fa6Smrgdo
40168ae04fa6Smrg  IFS=$as_save_IFS
40178ae04fa6Smrg  test -z "$as_dir" && as_dir=.
40188ae04fa6Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
40198ae04fa6Smrgdone
40208ae04fa6SmrgIFS=$as_save_IFS
40218ae04fa6Smrg
40228ae04fa6Smrg     ;;
40238ae04fa6Smrgesac
40248ae04fa6Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
40258ae04fa6Smrg# in which case we are not to be found in the path.
40268ae04fa6Smrgif test "x$as_myself" = x; then
40278ae04fa6Smrg  as_myself=$0
40288ae04fa6Smrgfi
40298ae04fa6Smrgif test ! -f "$as_myself"; then
40308ae04fa6Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
40318ae04fa6Smrg  { (exit 1); exit 1; }
40328ae04fa6Smrgfi
40338ae04fa6Smrg
40348ae04fa6Smrg# Work around bugs in pre-3.0 UWIN ksh.
40358ae04fa6Smrgfor as_var in ENV MAIL MAILPATH
40368ae04fa6Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
40378ae04fa6Smrgdone
40388ae04fa6SmrgPS1='$ '
40398ae04fa6SmrgPS2='> '
40408ae04fa6SmrgPS4='+ '
40418ae04fa6Smrg
40428ae04fa6Smrg# NLS nuisances.
40438ae04fa6Smrgfor as_var in \
40448ae04fa6Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40458ae04fa6Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40468ae04fa6Smrg  LC_TELEPHONE LC_TIME
40478ae04fa6Smrgdo
40488ae04fa6Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40498ae04fa6Smrg    eval $as_var=C; export $as_var
40508ae04fa6Smrg  else
40518ae04fa6Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
40528ae04fa6Smrg  fi
40538ae04fa6Smrgdone
40548ae04fa6Smrg
40558ae04fa6Smrg# Required to use basename.
40568ae04fa6Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
40578ae04fa6Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
40588ae04fa6Smrg  as_expr=expr
40598ae04fa6Smrgelse
40608ae04fa6Smrg  as_expr=false
40618ae04fa6Smrgfi
40628ae04fa6Smrg
40638ae04fa6Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
40648ae04fa6Smrg  as_basename=basename
40658ae04fa6Smrgelse
40668ae04fa6Smrg  as_basename=false
40678ae04fa6Smrgfi
40688ae04fa6Smrg
40698ae04fa6Smrg
40708ae04fa6Smrg# Name of the executable.
40718ae04fa6Smrgas_me=`$as_basename -- "$0" ||
40728ae04fa6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40738ae04fa6Smrg	 X"$0" : 'X\(//\)$' \| \
40748ae04fa6Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
40758ae04fa6Smrgecho X/"$0" |
40768ae04fa6Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
40778ae04fa6Smrg	    s//\1/
40788ae04fa6Smrg	    q
40798ae04fa6Smrg	  }
40808ae04fa6Smrg	  /^X\/\(\/\/\)$/{
40818ae04fa6Smrg	    s//\1/
40828ae04fa6Smrg	    q
40838ae04fa6Smrg	  }
40848ae04fa6Smrg	  /^X\/\(\/\).*/{
40858ae04fa6Smrg	    s//\1/
40868ae04fa6Smrg	    q
40878ae04fa6Smrg	  }
40888ae04fa6Smrg	  s/.*/./; q'`
40898ae04fa6Smrg
40908ae04fa6Smrg# CDPATH.
40918ae04fa6Smrg$as_unset CDPATH
40928ae04fa6Smrg
40938ae04fa6Smrg
40948ae04fa6Smrg
40958ae04fa6Smrg  as_lineno_1=$LINENO
40968ae04fa6Smrg  as_lineno_2=$LINENO
40978ae04fa6Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
40988ae04fa6Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
40998ae04fa6Smrg
41008ae04fa6Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41018ae04fa6Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
41028ae04fa6Smrg  # line-number line after each line using $LINENO; the second 'sed'
41038ae04fa6Smrg  # does the real work.  The second script uses 'N' to pair each
41048ae04fa6Smrg  # line-number line with the line containing $LINENO, and appends
41058ae04fa6Smrg  # trailing '-' during substitution so that $LINENO is not a special
41068ae04fa6Smrg  # case at line end.
41078ae04fa6Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41088ae04fa6Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
41098ae04fa6Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
41108ae04fa6Smrg  sed -n '
41118ae04fa6Smrg    p
41128ae04fa6Smrg    /[$]LINENO/=
41138ae04fa6Smrg  ' <$as_myself |
41148ae04fa6Smrg    sed '
41158ae04fa6Smrg      s/[$]LINENO.*/&-/
41168ae04fa6Smrg      t lineno
41178ae04fa6Smrg      b
41188ae04fa6Smrg      :lineno
41198ae04fa6Smrg      N
41208ae04fa6Smrg      :loop
41218ae04fa6Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
41228ae04fa6Smrg      t loop
41238ae04fa6Smrg      s/-\n.*//
41248ae04fa6Smrg    ' >$as_me.lineno &&
41258ae04fa6Smrg  chmod +x "$as_me.lineno" ||
41268ae04fa6Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
41278ae04fa6Smrg   { (exit 1); exit 1; }; }
41288ae04fa6Smrg
41298ae04fa6Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
41308ae04fa6Smrg  # (the dirname of $[0] is not the place where we might find the
41318ae04fa6Smrg  # original and so on.  Autoconf is especially sensitive to this).
41328ae04fa6Smrg  . "./$as_me.lineno"
41338ae04fa6Smrg  # Exit status is that of the last command.
41348ae04fa6Smrg  exit
41358ae04fa6Smrg}
41368ae04fa6Smrg
41378ae04fa6Smrg
41388ae04fa6Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41398ae04fa6Smrg  as_dirname=dirname
41408ae04fa6Smrgelse
41418ae04fa6Smrg  as_dirname=false
41428ae04fa6Smrgfi
41438ae04fa6Smrg
41448ae04fa6SmrgECHO_C= ECHO_N= ECHO_T=
41458ae04fa6Smrgcase `echo -n x` in
41468ae04fa6Smrg-n*)
41478ae04fa6Smrg  case `echo 'x\c'` in
41488ae04fa6Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
41498ae04fa6Smrg  *)   ECHO_C='\c';;
41508ae04fa6Smrg  esac;;
41518ae04fa6Smrg*)
41528ae04fa6Smrg  ECHO_N='-n';;
41538ae04fa6Smrgesac
41548ae04fa6Smrg
41558ae04fa6Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
41568ae04fa6Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
41578ae04fa6Smrg  as_expr=expr
41588ae04fa6Smrgelse
41598ae04fa6Smrg  as_expr=false
41608ae04fa6Smrgfi
41618ae04fa6Smrg
41628ae04fa6Smrgrm -f conf$$ conf$$.exe conf$$.file
41638ae04fa6Smrgif test -d conf$$.dir; then
41648ae04fa6Smrg  rm -f conf$$.dir/conf$$.file
41658ae04fa6Smrgelse
41668ae04fa6Smrg  rm -f conf$$.dir
41678ae04fa6Smrg  mkdir conf$$.dir
41688ae04fa6Smrgfi
41698ae04fa6Smrgecho >conf$$.file
41708ae04fa6Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
41718ae04fa6Smrg  as_ln_s='ln -s'
41728ae04fa6Smrg  # ... but there are two gotchas:
41738ae04fa6Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41748ae04fa6Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41758ae04fa6Smrg  # In both cases, we have to default to `cp -p'.
41768ae04fa6Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41778ae04fa6Smrg    as_ln_s='cp -p'
41788ae04fa6Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
41798ae04fa6Smrg  as_ln_s=ln
41808ae04fa6Smrgelse
41818ae04fa6Smrg  as_ln_s='cp -p'
41828ae04fa6Smrgfi
41838ae04fa6Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41848ae04fa6Smrgrmdir conf$$.dir 2>/dev/null
41858ae04fa6Smrg
41868ae04fa6Smrgif mkdir -p . 2>/dev/null; then
41878ae04fa6Smrg  as_mkdir_p=:
41888ae04fa6Smrgelse
41898ae04fa6Smrg  test -d ./-p && rmdir ./-p
41908ae04fa6Smrg  as_mkdir_p=false
41918ae04fa6Smrgfi
41928ae04fa6Smrg
41938ae04fa6Smrgif test -x / >/dev/null 2>&1; then
41948ae04fa6Smrg  as_test_x='test -x'
41958ae04fa6Smrgelse
41968ae04fa6Smrg  if ls -dL / >/dev/null 2>&1; then
41978ae04fa6Smrg    as_ls_L_option=L
41988ae04fa6Smrg  else
41998ae04fa6Smrg    as_ls_L_option=
42008ae04fa6Smrg  fi
42018ae04fa6Smrg  as_test_x='
42028ae04fa6Smrg    eval sh -c '\''
42038ae04fa6Smrg      if test -d "$1"; then
42048ae04fa6Smrg        test -d "$1/.";
42058ae04fa6Smrg      else
42068ae04fa6Smrg	case $1 in
42078ae04fa6Smrg        -*)set "./$1";;
42088ae04fa6Smrg	esac;
42098ae04fa6Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
42108ae04fa6Smrg	???[sx]*):;;*)false;;esac;fi
42118ae04fa6Smrg    '\'' sh
42128ae04fa6Smrg  '
42138ae04fa6Smrgfi
42148ae04fa6Smrgas_executable_p=$as_test_x
42158ae04fa6Smrg
42168ae04fa6Smrg# Sed expression to map a string onto a valid CPP name.
42178ae04fa6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42188ae04fa6Smrg
42198ae04fa6Smrg# Sed expression to map a string onto a valid variable name.
42208ae04fa6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42218ae04fa6Smrg
42228ae04fa6Smrg
42238ae04fa6Smrgexec 6>&1
42248ae04fa6Smrg
42258ae04fa6Smrg# Save the log message, to keep $[0] and so on meaningful, and to
42268ae04fa6Smrg# report actual input values of CONFIG_FILES etc. instead of their
42278ae04fa6Smrg# values after options handling.
42288ae04fa6Smrgac_log="
42298ae04fa6SmrgThis file was extended by xvinfo $as_me 1.0.2, which was
42308ae04fa6Smrggenerated by GNU Autoconf 2.61.  Invocation command line was
42318ae04fa6Smrg
42328ae04fa6Smrg  CONFIG_FILES    = $CONFIG_FILES
42338ae04fa6Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
42348ae04fa6Smrg  CONFIG_LINKS    = $CONFIG_LINKS
42358ae04fa6Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
42368ae04fa6Smrg  $ $0 $@
42378ae04fa6Smrg
42388ae04fa6Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
42398ae04fa6Smrg"
42408ae04fa6Smrg
42418ae04fa6Smrg_ACEOF
42428ae04fa6Smrg
42438ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
42448ae04fa6Smrg# Files that config.status was made for.
42458ae04fa6Smrgconfig_files="$ac_config_files"
42468ae04fa6Smrgconfig_headers="$ac_config_headers"
42478ae04fa6Smrgconfig_commands="$ac_config_commands"
42488ae04fa6Smrg
42498ae04fa6Smrg_ACEOF
42508ae04fa6Smrg
42518ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
42528ae04fa6Smrgac_cs_usage="\
42538ae04fa6Smrg\`$as_me' instantiates files from templates according to the
42548ae04fa6Smrgcurrent configuration.
42558ae04fa6Smrg
42568ae04fa6SmrgUsage: $0 [OPTIONS] [FILE]...
42578ae04fa6Smrg
42588ae04fa6Smrg  -h, --help       print this help, then exit
42598ae04fa6Smrg  -V, --version    print version number and configuration settings, then exit
42608ae04fa6Smrg  -q, --quiet      do not print progress messages
42618ae04fa6Smrg  -d, --debug      don't remove temporary files
42628ae04fa6Smrg      --recheck    update $as_me by reconfiguring in the same conditions
42638ae04fa6Smrg  --file=FILE[:TEMPLATE]
42648ae04fa6Smrg		   instantiate the configuration file FILE
42658ae04fa6Smrg  --header=FILE[:TEMPLATE]
42668ae04fa6Smrg		   instantiate the configuration header FILE
42678ae04fa6Smrg
42688ae04fa6SmrgConfiguration files:
42698ae04fa6Smrg$config_files
42708ae04fa6Smrg
42718ae04fa6SmrgConfiguration headers:
42728ae04fa6Smrg$config_headers
42738ae04fa6Smrg
42748ae04fa6SmrgConfiguration commands:
42758ae04fa6Smrg$config_commands
42768ae04fa6Smrg
42778ae04fa6SmrgReport bugs to <bug-autoconf@gnu.org>."
42788ae04fa6Smrg
42798ae04fa6Smrg_ACEOF
42808ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
42818ae04fa6Smrgac_cs_version="\\
42828ae04fa6Smrgxvinfo config.status 1.0.2
42838ae04fa6Smrgconfigured by $0, generated by GNU Autoconf 2.61,
42848ae04fa6Smrg  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
42858ae04fa6Smrg
42868ae04fa6SmrgCopyright (C) 2006 Free Software Foundation, Inc.
42878ae04fa6SmrgThis config.status script is free software; the Free Software Foundation
42888ae04fa6Smrggives unlimited permission to copy, distribute and modify it."
42898ae04fa6Smrg
42908ae04fa6Smrgac_pwd='$ac_pwd'
42918ae04fa6Smrgsrcdir='$srcdir'
42928ae04fa6SmrgINSTALL='$INSTALL'
42938ae04fa6SmrgMKDIR_P='$MKDIR_P'
42948ae04fa6Smrg_ACEOF
42958ae04fa6Smrg
42968ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
42978ae04fa6Smrg# If no file are specified by the user, then we need to provide default
42988ae04fa6Smrg# value.  By we need to know if files were specified by the user.
42998ae04fa6Smrgac_need_defaults=:
43008ae04fa6Smrgwhile test $# != 0
43018ae04fa6Smrgdo
43028ae04fa6Smrg  case $1 in
43038ae04fa6Smrg  --*=*)
43048ae04fa6Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
43058ae04fa6Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
43068ae04fa6Smrg    ac_shift=:
43078ae04fa6Smrg    ;;
43088ae04fa6Smrg  *)
43098ae04fa6Smrg    ac_option=$1
43108ae04fa6Smrg    ac_optarg=$2
43118ae04fa6Smrg    ac_shift=shift
43128ae04fa6Smrg    ;;
43138ae04fa6Smrg  esac
43148ae04fa6Smrg
43158ae04fa6Smrg  case $ac_option in
43168ae04fa6Smrg  # Handling of the options.
43178ae04fa6Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43188ae04fa6Smrg    ac_cs_recheck=: ;;
43198ae04fa6Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
43208ae04fa6Smrg    echo "$ac_cs_version"; exit ;;
43218ae04fa6Smrg  --debug | --debu | --deb | --de | --d | -d )
43228ae04fa6Smrg    debug=: ;;
43238ae04fa6Smrg  --file | --fil | --fi | --f )
43248ae04fa6Smrg    $ac_shift
43258ae04fa6Smrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
43268ae04fa6Smrg    ac_need_defaults=false;;
43278ae04fa6Smrg  --header | --heade | --head | --hea )
43288ae04fa6Smrg    $ac_shift
43298ae04fa6Smrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
43308ae04fa6Smrg    ac_need_defaults=false;;
43318ae04fa6Smrg  --he | --h)
43328ae04fa6Smrg    # Conflict between --help and --header
43338ae04fa6Smrg    { echo "$as_me: error: ambiguous option: $1
43348ae04fa6SmrgTry \`$0 --help' for more information." >&2
43358ae04fa6Smrg   { (exit 1); exit 1; }; };;
43368ae04fa6Smrg  --help | --hel | -h )
43378ae04fa6Smrg    echo "$ac_cs_usage"; exit ;;
43388ae04fa6Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43398ae04fa6Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
43408ae04fa6Smrg    ac_cs_silent=: ;;
43418ae04fa6Smrg
43428ae04fa6Smrg  # This is an error.
43438ae04fa6Smrg  -*) { echo "$as_me: error: unrecognized option: $1
43448ae04fa6SmrgTry \`$0 --help' for more information." >&2
43458ae04fa6Smrg   { (exit 1); exit 1; }; } ;;
43468ae04fa6Smrg
43478ae04fa6Smrg  *) ac_config_targets="$ac_config_targets $1"
43488ae04fa6Smrg     ac_need_defaults=false ;;
43498ae04fa6Smrg
43508ae04fa6Smrg  esac
43518ae04fa6Smrg  shift
43528ae04fa6Smrgdone
43538ae04fa6Smrg
43548ae04fa6Smrgac_configure_extra_args=
43558ae04fa6Smrg
43568ae04fa6Smrgif $ac_cs_silent; then
43578ae04fa6Smrg  exec 6>/dev/null
43588ae04fa6Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
43598ae04fa6Smrgfi
43608ae04fa6Smrg
43618ae04fa6Smrg_ACEOF
43628ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
43638ae04fa6Smrgif \$ac_cs_recheck; then
43648ae04fa6Smrg  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43658ae04fa6Smrg  CONFIG_SHELL=$SHELL
43668ae04fa6Smrg  export CONFIG_SHELL
43678ae04fa6Smrg  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43688ae04fa6Smrgfi
43698ae04fa6Smrg
43708ae04fa6Smrg_ACEOF
43718ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
43728ae04fa6Smrgexec 5>>config.log
43738ae04fa6Smrg{
43748ae04fa6Smrg  echo
43758ae04fa6Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43768ae04fa6Smrg## Running $as_me. ##
43778ae04fa6Smrg_ASBOX
43788ae04fa6Smrg  echo "$ac_log"
43798ae04fa6Smrg} >&5
43808ae04fa6Smrg
43818ae04fa6Smrg_ACEOF
43828ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
43838ae04fa6Smrg#
43848ae04fa6Smrg# INIT-COMMANDS
43858ae04fa6Smrg#
43868ae04fa6SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
43878ae04fa6Smrg
43888ae04fa6Smrg_ACEOF
43898ae04fa6Smrg
43908ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
43918ae04fa6Smrg
43928ae04fa6Smrg# Handling of arguments.
43938ae04fa6Smrgfor ac_config_target in $ac_config_targets
43948ae04fa6Smrgdo
43958ae04fa6Smrg  case $ac_config_target in
43968ae04fa6Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
43978ae04fa6Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
43988ae04fa6Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
43998ae04fa6Smrg
44008ae04fa6Smrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44018ae04fa6Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
44028ae04fa6Smrg   { (exit 1); exit 1; }; };;
44038ae04fa6Smrg  esac
44048ae04fa6Smrgdone
44058ae04fa6Smrg
44068ae04fa6Smrg
44078ae04fa6Smrg# If the user did not use the arguments to specify the items to instantiate,
44088ae04fa6Smrg# then the envvar interface is used.  Set only those that are not.
44098ae04fa6Smrg# We use the long form for the default assignment because of an extremely
44108ae04fa6Smrg# bizarre bug on SunOS 4.1.3.
44118ae04fa6Smrgif $ac_need_defaults; then
44128ae04fa6Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44138ae04fa6Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44148ae04fa6Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44158ae04fa6Smrgfi
44168ae04fa6Smrg
44178ae04fa6Smrg# Have a temporary directory for convenience.  Make it in the build tree
44188ae04fa6Smrg# simply because there is no reason against having it here, and in addition,
44198ae04fa6Smrg# creating and moving files from /tmp can sometimes cause problems.
44208ae04fa6Smrg# Hook for its removal unless debugging.
44218ae04fa6Smrg# Note that there is a small window in which the directory will not be cleaned:
44228ae04fa6Smrg# after its creation but before its name has been assigned to `$tmp'.
44238ae04fa6Smrg$debug ||
44248ae04fa6Smrg{
44258ae04fa6Smrg  tmp=
44268ae04fa6Smrg  trap 'exit_status=$?
44278ae04fa6Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
44288ae04fa6Smrg' 0
44298ae04fa6Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
44308ae04fa6Smrg}
44318ae04fa6Smrg# Create a (secure) tmp directory for tmp files.
44328ae04fa6Smrg
44338ae04fa6Smrg{
44348ae04fa6Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
44358ae04fa6Smrg  test -n "$tmp" && test -d "$tmp"
44368ae04fa6Smrg}  ||
44378ae04fa6Smrg{
44388ae04fa6Smrg  tmp=./conf$$-$RANDOM
44398ae04fa6Smrg  (umask 077 && mkdir "$tmp")
44408ae04fa6Smrg} ||
44418ae04fa6Smrg{
44428ae04fa6Smrg   echo "$me: cannot create a temporary directory in ." >&2
44438ae04fa6Smrg   { (exit 1); exit 1; }
44448ae04fa6Smrg}
44458ae04fa6Smrg
44468ae04fa6Smrg#
44478ae04fa6Smrg# Set up the sed scripts for CONFIG_FILES section.
44488ae04fa6Smrg#
44498ae04fa6Smrg
44508ae04fa6Smrg# No need to generate the scripts if there are no CONFIG_FILES.
44518ae04fa6Smrg# This happens for instance when ./config.status config.h
44528ae04fa6Smrgif test -n "$CONFIG_FILES"; then
44538ae04fa6Smrg
44548ae04fa6Smrg_ACEOF
44558ae04fa6Smrg
44568ae04fa6Smrg
44578ae04fa6Smrg
44588ae04fa6Smrgac_delim='%!_!# '
44598ae04fa6Smrgfor ac_last_try in false false false false false :; do
44608ae04fa6Smrg  cat >conf$$subs.sed <<_ACEOF
44618ae04fa6SmrgSHELL!$SHELL$ac_delim
44628ae04fa6SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
44638ae04fa6SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim
44648ae04fa6SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
44658ae04fa6SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
44668ae04fa6SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim
44678ae04fa6SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
44688ae04fa6Smrgexec_prefix!$exec_prefix$ac_delim
44698ae04fa6Smrgprefix!$prefix$ac_delim
44708ae04fa6Smrgprogram_transform_name!$program_transform_name$ac_delim
44718ae04fa6Smrgbindir!$bindir$ac_delim
44728ae04fa6Smrgsbindir!$sbindir$ac_delim
44738ae04fa6Smrglibexecdir!$libexecdir$ac_delim
44748ae04fa6Smrgdatarootdir!$datarootdir$ac_delim
44758ae04fa6Smrgdatadir!$datadir$ac_delim
44768ae04fa6Smrgsysconfdir!$sysconfdir$ac_delim
44778ae04fa6Smrgsharedstatedir!$sharedstatedir$ac_delim
44788ae04fa6Smrglocalstatedir!$localstatedir$ac_delim
44798ae04fa6Smrgincludedir!$includedir$ac_delim
44808ae04fa6Smrgoldincludedir!$oldincludedir$ac_delim
44818ae04fa6Smrgdocdir!$docdir$ac_delim
44828ae04fa6Smrginfodir!$infodir$ac_delim
44838ae04fa6Smrghtmldir!$htmldir$ac_delim
44848ae04fa6Smrgdvidir!$dvidir$ac_delim
44858ae04fa6Smrgpdfdir!$pdfdir$ac_delim
44868ae04fa6Smrgpsdir!$psdir$ac_delim
44878ae04fa6Smrglibdir!$libdir$ac_delim
44888ae04fa6Smrglocaledir!$localedir$ac_delim
44898ae04fa6Smrgmandir!$mandir$ac_delim
44908ae04fa6SmrgDEFS!$DEFS$ac_delim
44918ae04fa6SmrgECHO_C!$ECHO_C$ac_delim
44928ae04fa6SmrgECHO_N!$ECHO_N$ac_delim
44938ae04fa6SmrgECHO_T!$ECHO_T$ac_delim
44948ae04fa6SmrgLIBS!$LIBS$ac_delim
44958ae04fa6Smrgbuild_alias!$build_alias$ac_delim
44968ae04fa6Smrghost_alias!$host_alias$ac_delim
44978ae04fa6Smrgtarget_alias!$target_alias$ac_delim
44988ae04fa6SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
44998ae04fa6SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
45008ae04fa6SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim
45018ae04fa6Smrgam__isrc!$am__isrc$ac_delim
45028ae04fa6SmrgCYGPATH_W!$CYGPATH_W$ac_delim
45038ae04fa6SmrgPACKAGE!$PACKAGE$ac_delim
45048ae04fa6SmrgVERSION!$VERSION$ac_delim
45058ae04fa6SmrgACLOCAL!$ACLOCAL$ac_delim
45068ae04fa6SmrgAUTOCONF!$AUTOCONF$ac_delim
45078ae04fa6SmrgAUTOMAKE!$AUTOMAKE$ac_delim
45088ae04fa6SmrgAUTOHEADER!$AUTOHEADER$ac_delim
45098ae04fa6SmrgMAKEINFO!$MAKEINFO$ac_delim
45108ae04fa6Smrginstall_sh!$install_sh$ac_delim
45118ae04fa6SmrgSTRIP!$STRIP$ac_delim
45128ae04fa6SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
45138ae04fa6Smrgmkdir_p!$mkdir_p$ac_delim
45148ae04fa6SmrgAWK!$AWK$ac_delim
45158ae04fa6SmrgSET_MAKE!$SET_MAKE$ac_delim
45168ae04fa6Smrgam__leading_dot!$am__leading_dot$ac_delim
45178ae04fa6SmrgAMTAR!$AMTAR$ac_delim
45188ae04fa6Smrgam__tar!$am__tar$ac_delim
45198ae04fa6Smrgam__untar!$am__untar$ac_delim
45208ae04fa6SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
45218ae04fa6SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
45228ae04fa6SmrgMAINT!$MAINT$ac_delim
45238ae04fa6SmrgCC!$CC$ac_delim
45248ae04fa6SmrgCFLAGS!$CFLAGS$ac_delim
45258ae04fa6SmrgLDFLAGS!$LDFLAGS$ac_delim
45268ae04fa6SmrgCPPFLAGS!$CPPFLAGS$ac_delim
45278ae04fa6Smrgac_ct_CC!$ac_ct_CC$ac_delim
45288ae04fa6SmrgEXEEXT!$EXEEXT$ac_delim
45298ae04fa6SmrgOBJEXT!$OBJEXT$ac_delim
45308ae04fa6SmrgDEPDIR!$DEPDIR$ac_delim
45318ae04fa6Smrgam__include!$am__include$ac_delim
45328ae04fa6Smrgam__quote!$am__quote$ac_delim
45338ae04fa6SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim
45348ae04fa6SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim
45358ae04fa6SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
45368ae04fa6SmrgCCDEPMODE!$CCDEPMODE$ac_delim
45378ae04fa6Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
45388ae04fa6Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
45398ae04fa6SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim
45408ae04fa6SmrgXVINFO_CFLAGS!$XVINFO_CFLAGS$ac_delim
45418ae04fa6SmrgXVINFO_LIBS!$XVINFO_LIBS$ac_delim
45428ae04fa6Smrgbuild!$build$ac_delim
45438ae04fa6Smrgbuild_cpu!$build_cpu$ac_delim
45448ae04fa6Smrgbuild_vendor!$build_vendor$ac_delim
45458ae04fa6Smrgbuild_os!$build_os$ac_delim
45468ae04fa6Smrghost!$host$ac_delim
45478ae04fa6Smrghost_cpu!$host_cpu$ac_delim
45488ae04fa6Smrghost_vendor!$host_vendor$ac_delim
45498ae04fa6Smrghost_os!$host_os$ac_delim
45508ae04fa6SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
45518ae04fa6SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
45528ae04fa6SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
45538ae04fa6SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
45548ae04fa6SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
45558ae04fa6SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
45568ae04fa6SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim
45578ae04fa6SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
45588ae04fa6Smrg_ACEOF
45598ae04fa6Smrg
45608ae04fa6Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
45618ae04fa6Smrg    break
45628ae04fa6Smrg  elif $ac_last_try; then
45638ae04fa6Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
45648ae04fa6Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
45658ae04fa6Smrg   { (exit 1); exit 1; }; }
45668ae04fa6Smrg  else
45678ae04fa6Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
45688ae04fa6Smrg  fi
45698ae04fa6Smrgdone
45708ae04fa6Smrg
45718ae04fa6Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
45728ae04fa6Smrgif test -n "$ac_eof"; then
45738ae04fa6Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
45748ae04fa6Smrg  ac_eof=`expr $ac_eof + 1`
45758ae04fa6Smrgfi
45768ae04fa6Smrg
45778ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
45788ae04fa6Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
45798ae04fa6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45808ae04fa6Smrg_ACEOF
45818ae04fa6Smrgsed '
45828ae04fa6Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
45838ae04fa6Smrgs/^/s,@/; s/!/@,|#_!!_#|/
45848ae04fa6Smrg:n
45858ae04fa6Smrgt n
45868ae04fa6Smrgs/'"$ac_delim"'$/,g/; t
45878ae04fa6Smrgs/$/\\/; p
45888ae04fa6SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
45898ae04fa6Smrg' >>$CONFIG_STATUS <conf$$subs.sed
45908ae04fa6Smrgrm -f conf$$subs.sed
45918ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
45928ae04fa6SmrgCEOF$ac_eof
45938ae04fa6Smrg_ACEOF
45948ae04fa6Smrg
45958ae04fa6Smrg
45968ae04fa6Smrgac_delim='%!_!# '
45978ae04fa6Smrgfor ac_last_try in false false false false false :; do
45988ae04fa6Smrg  cat >conf$$subs.sed <<_ACEOF
45998ae04fa6SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
46008ae04fa6SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
46018ae04fa6SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
46028ae04fa6SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
46038ae04fa6SmrgLIBOBJS!$LIBOBJS$ac_delim
46048ae04fa6SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim
46058ae04fa6Smrg_ACEOF
46068ae04fa6Smrg
46078ae04fa6Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
46088ae04fa6Smrg    break
46098ae04fa6Smrg  elif $ac_last_try; then
46108ae04fa6Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
46118ae04fa6Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
46128ae04fa6Smrg   { (exit 1); exit 1; }; }
46138ae04fa6Smrg  else
46148ae04fa6Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
46158ae04fa6Smrg  fi
46168ae04fa6Smrgdone
46178ae04fa6Smrg
46188ae04fa6Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
46198ae04fa6Smrgif test -n "$ac_eof"; then
46208ae04fa6Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
46218ae04fa6Smrg  ac_eof=`expr $ac_eof + 1`
46228ae04fa6Smrgfi
46238ae04fa6Smrg
46248ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
46258ae04fa6Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
46268ae04fa6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
46278ae04fa6Smrg_ACEOF
46288ae04fa6Smrgsed '
46298ae04fa6Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
46308ae04fa6Smrgs/^/s,@/; s/!/@,|#_!!_#|/
46318ae04fa6Smrg:n
46328ae04fa6Smrgt n
46338ae04fa6Smrgs/'"$ac_delim"'$/,g/; t
46348ae04fa6Smrgs/$/\\/; p
46358ae04fa6SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
46368ae04fa6Smrg' >>$CONFIG_STATUS <conf$$subs.sed
46378ae04fa6Smrgrm -f conf$$subs.sed
46388ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
46398ae04fa6Smrg:end
46408ae04fa6Smrgs/|#_!!_#|//g
46418ae04fa6SmrgCEOF$ac_eof
46428ae04fa6Smrg_ACEOF
46438ae04fa6Smrg
46448ae04fa6Smrg
46458ae04fa6Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
46468ae04fa6Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46478ae04fa6Smrg# trailing colons and then remove the whole line if VPATH becomes empty
46488ae04fa6Smrg# (actually we leave an empty line to preserve line numbers).
46498ae04fa6Smrgif test "x$srcdir" = x.; then
46508ae04fa6Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
46518ae04fa6Smrgs/:*\$(srcdir):*/:/
46528ae04fa6Smrgs/:*\${srcdir}:*/:/
46538ae04fa6Smrgs/:*@srcdir@:*/:/
46548ae04fa6Smrgs/^\([^=]*=[	 ]*\):*/\1/
46558ae04fa6Smrgs/:*$//
46568ae04fa6Smrgs/^[^=]*=[	 ]*$//
46578ae04fa6Smrg}'
46588ae04fa6Smrgfi
46598ae04fa6Smrg
46608ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
46618ae04fa6Smrgfi # test -n "$CONFIG_FILES"
46628ae04fa6Smrg
46638ae04fa6Smrg
46648ae04fa6Smrgfor ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
46658ae04fa6Smrgdo
46668ae04fa6Smrg  case $ac_tag in
46678ae04fa6Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
46688ae04fa6Smrg  esac
46698ae04fa6Smrg  case $ac_mode$ac_tag in
46708ae04fa6Smrg  :[FHL]*:*);;
46718ae04fa6Smrg  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
46728ae04fa6Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;}
46738ae04fa6Smrg   { (exit 1); exit 1; }; };;
46748ae04fa6Smrg  :[FH]-) ac_tag=-:-;;
46758ae04fa6Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
46768ae04fa6Smrg  esac
46778ae04fa6Smrg  ac_save_IFS=$IFS
46788ae04fa6Smrg  IFS=:
46798ae04fa6Smrg  set x $ac_tag
46808ae04fa6Smrg  IFS=$ac_save_IFS
46818ae04fa6Smrg  shift
46828ae04fa6Smrg  ac_file=$1
46838ae04fa6Smrg  shift
46848ae04fa6Smrg
46858ae04fa6Smrg  case $ac_mode in
46868ae04fa6Smrg  :L) ac_source=$1;;
46878ae04fa6Smrg  :[FH])
46888ae04fa6Smrg    ac_file_inputs=
46898ae04fa6Smrg    for ac_f
46908ae04fa6Smrg    do
46918ae04fa6Smrg      case $ac_f in
46928ae04fa6Smrg      -) ac_f="$tmp/stdin";;
46938ae04fa6Smrg      *) # Look for the file first in the build tree, then in the source tree
46948ae04fa6Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
46958ae04fa6Smrg	 # because $ac_f cannot contain `:'.
46968ae04fa6Smrg	 test -f "$ac_f" ||
46978ae04fa6Smrg	   case $ac_f in
46988ae04fa6Smrg	   [\\/$]*) false;;
46998ae04fa6Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
47008ae04fa6Smrg	   esac ||
47018ae04fa6Smrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
47028ae04fa6Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;}
47038ae04fa6Smrg   { (exit 1); exit 1; }; };;
47048ae04fa6Smrg      esac
47058ae04fa6Smrg      ac_file_inputs="$ac_file_inputs $ac_f"
47068ae04fa6Smrg    done
47078ae04fa6Smrg
47088ae04fa6Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
47098ae04fa6Smrg    # use $as_me), people would be surprised to read:
47108ae04fa6Smrg    #    /* config.h.  Generated by config.status.  */
47118ae04fa6Smrg    configure_input="Generated from "`IFS=:
47128ae04fa6Smrg	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
47138ae04fa6Smrg    if test x"$ac_file" != x-; then
47148ae04fa6Smrg      configure_input="$ac_file.  $configure_input"
47158ae04fa6Smrg      { echo "$as_me:$LINENO: creating $ac_file" >&5
47168ae04fa6Smrgecho "$as_me: creating $ac_file" >&6;}
47178ae04fa6Smrg    fi
47188ae04fa6Smrg
47198ae04fa6Smrg    case $ac_tag in
47208ae04fa6Smrg    *:-:* | *:-) cat >"$tmp/stdin";;
47218ae04fa6Smrg    esac
47228ae04fa6Smrg    ;;
47238ae04fa6Smrg  esac
47248ae04fa6Smrg
47258ae04fa6Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
47268ae04fa6Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47278ae04fa6Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
47288ae04fa6Smrg	 X"$ac_file" : 'X\(//\)$' \| \
47298ae04fa6Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
47308ae04fa6Smrgecho X"$ac_file" |
47318ae04fa6Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47328ae04fa6Smrg	    s//\1/
47338ae04fa6Smrg	    q
47348ae04fa6Smrg	  }
47358ae04fa6Smrg	  /^X\(\/\/\)[^/].*/{
47368ae04fa6Smrg	    s//\1/
47378ae04fa6Smrg	    q
47388ae04fa6Smrg	  }
47398ae04fa6Smrg	  /^X\(\/\/\)$/{
47408ae04fa6Smrg	    s//\1/
47418ae04fa6Smrg	    q
47428ae04fa6Smrg	  }
47438ae04fa6Smrg	  /^X\(\/\).*/{
47448ae04fa6Smrg	    s//\1/
47458ae04fa6Smrg	    q
47468ae04fa6Smrg	  }
47478ae04fa6Smrg	  s/.*/./; q'`
47488ae04fa6Smrg  { as_dir="$ac_dir"
47498ae04fa6Smrg  case $as_dir in #(
47508ae04fa6Smrg  -*) as_dir=./$as_dir;;
47518ae04fa6Smrg  esac
47528ae04fa6Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
47538ae04fa6Smrg    as_dirs=
47548ae04fa6Smrg    while :; do
47558ae04fa6Smrg      case $as_dir in #(
47568ae04fa6Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
47578ae04fa6Smrg      *) as_qdir=$as_dir;;
47588ae04fa6Smrg      esac
47598ae04fa6Smrg      as_dirs="'$as_qdir' $as_dirs"
47608ae04fa6Smrg      as_dir=`$as_dirname -- "$as_dir" ||
47618ae04fa6Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47628ae04fa6Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
47638ae04fa6Smrg	 X"$as_dir" : 'X\(//\)$' \| \
47648ae04fa6Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
47658ae04fa6Smrgecho X"$as_dir" |
47668ae04fa6Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47678ae04fa6Smrg	    s//\1/
47688ae04fa6Smrg	    q
47698ae04fa6Smrg	  }
47708ae04fa6Smrg	  /^X\(\/\/\)[^/].*/{
47718ae04fa6Smrg	    s//\1/
47728ae04fa6Smrg	    q
47738ae04fa6Smrg	  }
47748ae04fa6Smrg	  /^X\(\/\/\)$/{
47758ae04fa6Smrg	    s//\1/
47768ae04fa6Smrg	    q
47778ae04fa6Smrg	  }
47788ae04fa6Smrg	  /^X\(\/\).*/{
47798ae04fa6Smrg	    s//\1/
47808ae04fa6Smrg	    q
47818ae04fa6Smrg	  }
47828ae04fa6Smrg	  s/.*/./; q'`
47838ae04fa6Smrg      test -d "$as_dir" && break
47848ae04fa6Smrg    done
47858ae04fa6Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
47868ae04fa6Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
47878ae04fa6Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
47888ae04fa6Smrg   { (exit 1); exit 1; }; }; }
47898ae04fa6Smrg  ac_builddir=.
47908ae04fa6Smrg
47918ae04fa6Smrgcase "$ac_dir" in
47928ae04fa6Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
47938ae04fa6Smrg*)
47948ae04fa6Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47958ae04fa6Smrg  # A ".." for each directory in $ac_dir_suffix.
47968ae04fa6Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
47978ae04fa6Smrg  case $ac_top_builddir_sub in
47988ae04fa6Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
47998ae04fa6Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
48008ae04fa6Smrg  esac ;;
48018ae04fa6Smrgesac
48028ae04fa6Smrgac_abs_top_builddir=$ac_pwd
48038ae04fa6Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
48048ae04fa6Smrg# for backward compatibility:
48058ae04fa6Smrgac_top_builddir=$ac_top_build_prefix
48068ae04fa6Smrg
48078ae04fa6Smrgcase $srcdir in
48088ae04fa6Smrg  .)  # We are building in place.
48098ae04fa6Smrg    ac_srcdir=.
48108ae04fa6Smrg    ac_top_srcdir=$ac_top_builddir_sub
48118ae04fa6Smrg    ac_abs_top_srcdir=$ac_pwd ;;
48128ae04fa6Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
48138ae04fa6Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
48148ae04fa6Smrg    ac_top_srcdir=$srcdir
48158ae04fa6Smrg    ac_abs_top_srcdir=$srcdir ;;
48168ae04fa6Smrg  *) # Relative name.
48178ae04fa6Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
48188ae04fa6Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
48198ae04fa6Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
48208ae04fa6Smrgesac
48218ae04fa6Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
48228ae04fa6Smrg
48238ae04fa6Smrg
48248ae04fa6Smrg  case $ac_mode in
48258ae04fa6Smrg  :F)
48268ae04fa6Smrg  #
48278ae04fa6Smrg  # CONFIG_FILE
48288ae04fa6Smrg  #
48298ae04fa6Smrg
48308ae04fa6Smrg  case $INSTALL in
48318ae04fa6Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
48328ae04fa6Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
48338ae04fa6Smrg  esac
48348ae04fa6Smrg  ac_MKDIR_P=$MKDIR_P
48358ae04fa6Smrg  case $MKDIR_P in
48368ae04fa6Smrg  [\\/$]* | ?:[\\/]* ) ;;
48378ae04fa6Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
48388ae04fa6Smrg  esac
48398ae04fa6Smrg_ACEOF
48408ae04fa6Smrg
48418ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
48428ae04fa6Smrg# If the template does not know about datarootdir, expand it.
48438ae04fa6Smrg# FIXME: This hack should be removed a few years after 2.60.
48448ae04fa6Smrgac_datarootdir_hack=; ac_datarootdir_seen=
48458ae04fa6Smrg
48468ae04fa6Smrgcase `sed -n '/datarootdir/ {
48478ae04fa6Smrg  p
48488ae04fa6Smrg  q
48498ae04fa6Smrg}
48508ae04fa6Smrg/@datadir@/p
48518ae04fa6Smrg/@docdir@/p
48528ae04fa6Smrg/@infodir@/p
48538ae04fa6Smrg/@localedir@/p
48548ae04fa6Smrg/@mandir@/p
48558ae04fa6Smrg' $ac_file_inputs` in
48568ae04fa6Smrg*datarootdir*) ac_datarootdir_seen=yes;;
48578ae04fa6Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
48588ae04fa6Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
48598ae04fa6Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
48608ae04fa6Smrg_ACEOF
48618ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
48628ae04fa6Smrg  ac_datarootdir_hack='
48638ae04fa6Smrg  s&@datadir@&$datadir&g
48648ae04fa6Smrg  s&@docdir@&$docdir&g
48658ae04fa6Smrg  s&@infodir@&$infodir&g
48668ae04fa6Smrg  s&@localedir@&$localedir&g
48678ae04fa6Smrg  s&@mandir@&$mandir&g
48688ae04fa6Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
48698ae04fa6Smrgesac
48708ae04fa6Smrg_ACEOF
48718ae04fa6Smrg
48728ae04fa6Smrg# Neutralize VPATH when `$srcdir' = `.'.
48738ae04fa6Smrg# Shell code in configure.ac might set extrasub.
48748ae04fa6Smrg# FIXME: do we really want to maintain this feature?
48758ae04fa6Smrgcat >>$CONFIG_STATUS <<_ACEOF
48768ae04fa6Smrg  sed "$ac_vpsub
48778ae04fa6Smrg$extrasub
48788ae04fa6Smrg_ACEOF
48798ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
48808ae04fa6Smrg:t
48818ae04fa6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
48828ae04fa6Smrgs&@configure_input@&$configure_input&;t t
48838ae04fa6Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
48848ae04fa6Smrgs&@srcdir@&$ac_srcdir&;t t
48858ae04fa6Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
48868ae04fa6Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
48878ae04fa6Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
48888ae04fa6Smrgs&@builddir@&$ac_builddir&;t t
48898ae04fa6Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
48908ae04fa6Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
48918ae04fa6Smrgs&@INSTALL@&$ac_INSTALL&;t t
48928ae04fa6Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
48938ae04fa6Smrg$ac_datarootdir_hack
48948ae04fa6Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
48958ae04fa6Smrg
48968ae04fa6Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
48978ae04fa6Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
48988ae04fa6Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
48998ae04fa6Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
49008ae04fa6Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
49018ae04fa6Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
49028ae04fa6Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
49038ae04fa6Smrg
49048ae04fa6Smrg  rm -f "$tmp/stdin"
49058ae04fa6Smrg  case $ac_file in
49068ae04fa6Smrg  -) cat "$tmp/out"; rm -f "$tmp/out";;
49078ae04fa6Smrg  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
49088ae04fa6Smrg  esac
49098ae04fa6Smrg ;;
49108ae04fa6Smrg  :H)
49118ae04fa6Smrg  #
49128ae04fa6Smrg  # CONFIG_HEADER
49138ae04fa6Smrg  #
49148ae04fa6Smrg_ACEOF
49158ae04fa6Smrg
49168ae04fa6Smrg# Transform confdefs.h into a sed script `conftest.defines', that
49178ae04fa6Smrg# substitutes the proper values into config.h.in to produce config.h.
49188ae04fa6Smrgrm -f conftest.defines conftest.tail
49198ae04fa6Smrg# First, append a space to every undef/define line, to ease matching.
49208ae04fa6Smrgecho 's/$/ /' >conftest.defines
49218ae04fa6Smrg# Then, protect against being on the right side of a sed subst, or in
49228ae04fa6Smrg# an unquoted here document, in config.status.  If some macros were
49238ae04fa6Smrg# called several times there might be several #defines for the same
49248ae04fa6Smrg# symbol, which is useless.  But do not sort them, since the last
49258ae04fa6Smrg# AC_DEFINE must be honored.
49268ae04fa6Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
49278ae04fa6Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
49288ae04fa6Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given.
49298ae04fa6Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's
49308ae04fa6Smrg# just an empty string.
49318ae04fa6Smrgac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
49328ae04fa6Smrgac_dB='\\)[	 (].*,\\1define\\2'
49338ae04fa6Smrgac_dC=' '
49348ae04fa6Smrgac_dD=' ,'
49358ae04fa6Smrg
49368ae04fa6Smrguniq confdefs.h |
49378ae04fa6Smrg  sed -n '
49388ae04fa6Smrg	t rset
49398ae04fa6Smrg	:rset
49408ae04fa6Smrg	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
49418ae04fa6Smrg	t ok
49428ae04fa6Smrg	d
49438ae04fa6Smrg	:ok
49448ae04fa6Smrg	s/[\\&,]/\\&/g
49458ae04fa6Smrg	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
49468ae04fa6Smrg	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
49478ae04fa6Smrg  ' >>conftest.defines
49488ae04fa6Smrg
49498ae04fa6Smrg# Remove the space that was appended to ease matching.
49508ae04fa6Smrg# Then replace #undef with comments.  This is necessary, for
49518ae04fa6Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required
49528ae04fa6Smrg# on some systems where configure will not decide to define it.
49538ae04fa6Smrg# (The regexp can be short, since the line contains either #define or #undef.)
49548ae04fa6Smrgecho 's/ $//
49558ae04fa6Smrgs,^[	 #]*u.*,/* & */,' >>conftest.defines
49568ae04fa6Smrg
49578ae04fa6Smrg# Break up conftest.defines:
49588ae04fa6Smrgac_max_sed_lines=50
49598ae04fa6Smrg
49608ae04fa6Smrg# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
49618ae04fa6Smrg# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
49628ae04fa6Smrg# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
49638ae04fa6Smrg# et cetera.
49648ae04fa6Smrgac_in='$ac_file_inputs'
49658ae04fa6Smrgac_out='"$tmp/out1"'
49668ae04fa6Smrgac_nxt='"$tmp/out2"'
49678ae04fa6Smrg
49688ae04fa6Smrgwhile :
49698ae04fa6Smrgdo
49708ae04fa6Smrg  # Write a here document:
49718ae04fa6Smrg    cat >>$CONFIG_STATUS <<_ACEOF
49728ae04fa6Smrg    # First, check the format of the line:
49738ae04fa6Smrg    cat >"\$tmp/defines.sed" <<\\CEOF
49748ae04fa6Smrg/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
49758ae04fa6Smrg/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
49768ae04fa6Smrgb
49778ae04fa6Smrg:def
49788ae04fa6Smrg_ACEOF
49798ae04fa6Smrg  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
49808ae04fa6Smrg  echo 'CEOF
49818ae04fa6Smrg    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
49828ae04fa6Smrg  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
49838ae04fa6Smrg  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
49848ae04fa6Smrg  grep . conftest.tail >/dev/null || break
49858ae04fa6Smrg  rm -f conftest.defines
49868ae04fa6Smrg  mv conftest.tail conftest.defines
49878ae04fa6Smrgdone
49888ae04fa6Smrgrm -f conftest.defines conftest.tail
49898ae04fa6Smrg
49908ae04fa6Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS
49918ae04fa6Smrgcat >>$CONFIG_STATUS <<\_ACEOF
49928ae04fa6Smrg  if test x"$ac_file" != x-; then
49938ae04fa6Smrg    echo "/* $configure_input  */" >"$tmp/config.h"
49948ae04fa6Smrg    cat "$ac_result" >>"$tmp/config.h"
49958ae04fa6Smrg    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
49968ae04fa6Smrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49978ae04fa6Smrgecho "$as_me: $ac_file is unchanged" >&6;}
49988ae04fa6Smrg    else
49998ae04fa6Smrg      rm -f $ac_file
50008ae04fa6Smrg      mv "$tmp/config.h" $ac_file
50018ae04fa6Smrg    fi
50028ae04fa6Smrg  else
50038ae04fa6Smrg    echo "/* $configure_input  */"
50048ae04fa6Smrg    cat "$ac_result"
50058ae04fa6Smrg  fi
50068ae04fa6Smrg  rm -f "$tmp/out12"
50078ae04fa6Smrg# Compute $ac_file's index in $config_headers.
50088ae04fa6Smrg_am_stamp_count=1
50098ae04fa6Smrgfor _am_header in $config_headers :; do
50108ae04fa6Smrg  case $_am_header in
50118ae04fa6Smrg    $ac_file | $ac_file:* )
50128ae04fa6Smrg      break ;;
50138ae04fa6Smrg    * )
50148ae04fa6Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
50158ae04fa6Smrg  esac
50168ae04fa6Smrgdone
50178ae04fa6Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
50188ae04fa6Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50198ae04fa6Smrg	 X$ac_file : 'X\(//\)[^/]' \| \
50208ae04fa6Smrg	 X$ac_file : 'X\(//\)$' \| \
50218ae04fa6Smrg	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
50228ae04fa6Smrgecho X$ac_file |
50238ae04fa6Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50248ae04fa6Smrg	    s//\1/
50258ae04fa6Smrg	    q
50268ae04fa6Smrg	  }
50278ae04fa6Smrg	  /^X\(\/\/\)[^/].*/{
50288ae04fa6Smrg	    s//\1/
50298ae04fa6Smrg	    q
50308ae04fa6Smrg	  }
50318ae04fa6Smrg	  /^X\(\/\/\)$/{
50328ae04fa6Smrg	    s//\1/
50338ae04fa6Smrg	    q
50348ae04fa6Smrg	  }
50358ae04fa6Smrg	  /^X\(\/\).*/{
50368ae04fa6Smrg	    s//\1/
50378ae04fa6Smrg	    q
50388ae04fa6Smrg	  }
50398ae04fa6Smrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
50408ae04fa6Smrg ;;
50418ae04fa6Smrg
50428ae04fa6Smrg  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50438ae04fa6Smrgecho "$as_me: executing $ac_file commands" >&6;}
50448ae04fa6Smrg ;;
50458ae04fa6Smrg  esac
50468ae04fa6Smrg
50478ae04fa6Smrg
50488ae04fa6Smrg  case $ac_file$ac_mode in
50498ae04fa6Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
50508ae04fa6Smrg  # Strip MF so we end up with the name of the file.
50518ae04fa6Smrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
50528ae04fa6Smrg  # Check whether this is an Automake generated Makefile or not.
50538ae04fa6Smrg  # We used to match only the files named `Makefile.in', but
50548ae04fa6Smrg  # some people rename them; so instead we look at the file content.
50558ae04fa6Smrg  # Grep'ing the first line is not enough: some people post-process
50568ae04fa6Smrg  # each Makefile.in and add a new line on top of each file to say so.
50578ae04fa6Smrg  # Grep'ing the whole file is not good either: AIX grep has a line
50588ae04fa6Smrg  # limit of 2048, but all sed's we know have understand at least 4000.
50598ae04fa6Smrg  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
50608ae04fa6Smrg    dirpart=`$as_dirname -- "$mf" ||
50618ae04fa6Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50628ae04fa6Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
50638ae04fa6Smrg	 X"$mf" : 'X\(//\)$' \| \
50648ae04fa6Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
50658ae04fa6Smrgecho X"$mf" |
50668ae04fa6Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50678ae04fa6Smrg	    s//\1/
50688ae04fa6Smrg	    q
50698ae04fa6Smrg	  }
50708ae04fa6Smrg	  /^X\(\/\/\)[^/].*/{
50718ae04fa6Smrg	    s//\1/
50728ae04fa6Smrg	    q
50738ae04fa6Smrg	  }
50748ae04fa6Smrg	  /^X\(\/\/\)$/{
50758ae04fa6Smrg	    s//\1/
50768ae04fa6Smrg	    q
50778ae04fa6Smrg	  }
50788ae04fa6Smrg	  /^X\(\/\).*/{
50798ae04fa6Smrg	    s//\1/
50808ae04fa6Smrg	    q
50818ae04fa6Smrg	  }
50828ae04fa6Smrg	  s/.*/./; q'`
50838ae04fa6Smrg  else
50848ae04fa6Smrg    continue
50858ae04fa6Smrg  fi
50868ae04fa6Smrg  # Extract the definition of DEPDIR, am__include, and am__quote
50878ae04fa6Smrg  # from the Makefile without running `make'.
50888ae04fa6Smrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
50898ae04fa6Smrg  test -z "$DEPDIR" && continue
50908ae04fa6Smrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
50918ae04fa6Smrg  test -z "am__include" && continue
50928ae04fa6Smrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
50938ae04fa6Smrg  # When using ansi2knr, U may be empty or an underscore; expand it
50948ae04fa6Smrg  U=`sed -n 's/^U = //p' < "$mf"`
50958ae04fa6Smrg  # Find all dependency output files, they are included files with
50968ae04fa6Smrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
50978ae04fa6Smrg  # simplest approach to changing $(DEPDIR) to its actual value in the
50988ae04fa6Smrg  # expansion.
50998ae04fa6Smrg  for file in `sed -n "
51008ae04fa6Smrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
51018ae04fa6Smrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
51028ae04fa6Smrg    # Make sure the directory exists.
51038ae04fa6Smrg    test -f "$dirpart/$file" && continue
51048ae04fa6Smrg    fdir=`$as_dirname -- "$file" ||
51058ae04fa6Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51068ae04fa6Smrg	 X"$file" : 'X\(//\)[^/]' \| \
51078ae04fa6Smrg	 X"$file" : 'X\(//\)$' \| \
51088ae04fa6Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
51098ae04fa6Smrgecho X"$file" |
51108ae04fa6Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51118ae04fa6Smrg	    s//\1/
51128ae04fa6Smrg	    q
51138ae04fa6Smrg	  }
51148ae04fa6Smrg	  /^X\(\/\/\)[^/].*/{
51158ae04fa6Smrg	    s//\1/
51168ae04fa6Smrg	    q
51178ae04fa6Smrg	  }
51188ae04fa6Smrg	  /^X\(\/\/\)$/{
51198ae04fa6Smrg	    s//\1/
51208ae04fa6Smrg	    q
51218ae04fa6Smrg	  }
51228ae04fa6Smrg	  /^X\(\/\).*/{
51238ae04fa6Smrg	    s//\1/
51248ae04fa6Smrg	    q
51258ae04fa6Smrg	  }
51268ae04fa6Smrg	  s/.*/./; q'`
51278ae04fa6Smrg    { as_dir=$dirpart/$fdir
51288ae04fa6Smrg  case $as_dir in #(
51298ae04fa6Smrg  -*) as_dir=./$as_dir;;
51308ae04fa6Smrg  esac
51318ae04fa6Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51328ae04fa6Smrg    as_dirs=
51338ae04fa6Smrg    while :; do
51348ae04fa6Smrg      case $as_dir in #(
51358ae04fa6Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51368ae04fa6Smrg      *) as_qdir=$as_dir;;
51378ae04fa6Smrg      esac
51388ae04fa6Smrg      as_dirs="'$as_qdir' $as_dirs"
51398ae04fa6Smrg      as_dir=`$as_dirname -- "$as_dir" ||
51408ae04fa6Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51418ae04fa6Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
51428ae04fa6Smrg	 X"$as_dir" : 'X\(//\)$' \| \
51438ae04fa6Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51448ae04fa6Smrgecho X"$as_dir" |
51458ae04fa6Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51468ae04fa6Smrg	    s//\1/
51478ae04fa6Smrg	    q
51488ae04fa6Smrg	  }
51498ae04fa6Smrg	  /^X\(\/\/\)[^/].*/{
51508ae04fa6Smrg	    s//\1/
51518ae04fa6Smrg	    q
51528ae04fa6Smrg	  }
51538ae04fa6Smrg	  /^X\(\/\/\)$/{
51548ae04fa6Smrg	    s//\1/
51558ae04fa6Smrg	    q
51568ae04fa6Smrg	  }
51578ae04fa6Smrg	  /^X\(\/\).*/{
51588ae04fa6Smrg	    s//\1/
51598ae04fa6Smrg	    q
51608ae04fa6Smrg	  }
51618ae04fa6Smrg	  s/.*/./; q'`
51628ae04fa6Smrg      test -d "$as_dir" && break
51638ae04fa6Smrg    done
51648ae04fa6Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
51658ae04fa6Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51668ae04fa6Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
51678ae04fa6Smrg   { (exit 1); exit 1; }; }; }
51688ae04fa6Smrg    # echo "creating $dirpart/$file"
51698ae04fa6Smrg    echo '# dummy' > "$dirpart/$file"
51708ae04fa6Smrg  done
51718ae04fa6Smrgdone
51728ae04fa6Smrg ;;
51738ae04fa6Smrg
51748ae04fa6Smrg  esac
51758ae04fa6Smrgdone # for ac_tag
51768ae04fa6Smrg
51778ae04fa6Smrg
51788ae04fa6Smrg{ (exit 0); exit 0; }
51798ae04fa6Smrg_ACEOF
51808ae04fa6Smrgchmod +x $CONFIG_STATUS
51818ae04fa6Smrgac_clean_files=$ac_clean_files_save
51828ae04fa6Smrg
51838ae04fa6Smrg
51848ae04fa6Smrg# configure is writing to config.log, and then calls config.status.
51858ae04fa6Smrg# config.status does its own redirection, appending to config.log.
51868ae04fa6Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
51878ae04fa6Smrg# by configure, so config.status won't be able to write to it; its
51888ae04fa6Smrg# output is simply discarded.  So we exec the FD to /dev/null,
51898ae04fa6Smrg# effectively closing config.log, so it can be properly (re)opened and
51908ae04fa6Smrg# appended to by config.status.  When coming back to configure, we
51918ae04fa6Smrg# need to make the FD available again.
51928ae04fa6Smrgif test "$no_create" != yes; then
51938ae04fa6Smrg  ac_cs_success=:
51948ae04fa6Smrg  ac_config_status_args=
51958ae04fa6Smrg  test "$silent" = yes &&
51968ae04fa6Smrg    ac_config_status_args="$ac_config_status_args --quiet"
51978ae04fa6Smrg  exec 5>/dev/null
51988ae04fa6Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51998ae04fa6Smrg  exec 5>>config.log
52008ae04fa6Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52018ae04fa6Smrg  # would make configure fail if this is the last instruction.
52028ae04fa6Smrg  $ac_cs_success || { (exit 1); exit 1; }
52038ae04fa6Smrgfi
52048ae04fa6Smrg
5205