configure revision 83d7c197
19aa228fdSmrg#! /bin/sh
29aa228fdSmrg# Guess values for system-dependent variables and create Makefiles.
383d7c197Smrg# Generated by GNU Autoconf 2.61 for xmag 1.0.3.
49aa228fdSmrg#
59aa228fdSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
69aa228fdSmrg#
79aa228fdSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
89aa228fdSmrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
99aa228fdSmrg# This configure script is free software; the Free Software Foundation
109aa228fdSmrg# gives unlimited permission to copy, distribute and modify it.
119aa228fdSmrg## --------------------- ##
129aa228fdSmrg## M4sh Initialization.  ##
139aa228fdSmrg## --------------------- ##
149aa228fdSmrg
159aa228fdSmrg# Be more Bourne compatible
169aa228fdSmrgDUALCASE=1; export DUALCASE # for MKS sh
179aa228fdSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
189aa228fdSmrg  emulate sh
199aa228fdSmrg  NULLCMD=:
209aa228fdSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
219aa228fdSmrg  # is contrary to our usage.  Disable this feature.
229aa228fdSmrg  alias -g '${1+"$@"}'='"$@"'
239aa228fdSmrg  setopt NO_GLOB_SUBST
249aa228fdSmrgelse
259aa228fdSmrg  case `(set -o) 2>/dev/null` in
269aa228fdSmrg  *posix*) set -o posix ;;
279aa228fdSmrgesac
289aa228fdSmrg
299aa228fdSmrgfi
309aa228fdSmrg
319aa228fdSmrg
329aa228fdSmrg
339aa228fdSmrg
349aa228fdSmrg# PATH needs CR
359aa228fdSmrg# Avoid depending upon Character Ranges.
369aa228fdSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
379aa228fdSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
389aa228fdSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
399aa228fdSmrgas_cr_digits='0123456789'
409aa228fdSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
419aa228fdSmrg
429aa228fdSmrg# The user is always right.
439aa228fdSmrgif test "${PATH_SEPARATOR+set}" != set; then
449aa228fdSmrg  echo "#! /bin/sh" >conf$$.sh
459aa228fdSmrg  echo  "exit 0"   >>conf$$.sh
469aa228fdSmrg  chmod +x conf$$.sh
479aa228fdSmrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
489aa228fdSmrg    PATH_SEPARATOR=';'
499aa228fdSmrg  else
509aa228fdSmrg    PATH_SEPARATOR=:
519aa228fdSmrg  fi
529aa228fdSmrg  rm -f conf$$.sh
539aa228fdSmrgfi
549aa228fdSmrg
559aa228fdSmrg# Support unset when possible.
569aa228fdSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
579aa228fdSmrg  as_unset=unset
589aa228fdSmrgelse
599aa228fdSmrg  as_unset=false
609aa228fdSmrgfi
619aa228fdSmrg
629aa228fdSmrg
639aa228fdSmrg# IFS
649aa228fdSmrg# We need space, tab and new line, in precisely that order.  Quoting is
659aa228fdSmrg# there to prevent editors from complaining about space-tab.
669aa228fdSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
679aa228fdSmrg# splitting by setting IFS to empty value.)
689aa228fdSmrgas_nl='
699aa228fdSmrg'
709aa228fdSmrgIFS=" ""	$as_nl"
719aa228fdSmrg
729aa228fdSmrg# Find who we are.  Look in the path if we contain no directory separator.
739aa228fdSmrgcase $0 in
749aa228fdSmrg  *[\\/]* ) as_myself=$0 ;;
759aa228fdSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
769aa228fdSmrgfor as_dir in $PATH
779aa228fdSmrgdo
789aa228fdSmrg  IFS=$as_save_IFS
799aa228fdSmrg  test -z "$as_dir" && as_dir=.
809aa228fdSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
819aa228fdSmrgdone
829aa228fdSmrgIFS=$as_save_IFS
839aa228fdSmrg
849aa228fdSmrg     ;;
859aa228fdSmrgesac
869aa228fdSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
879aa228fdSmrg# in which case we are not to be found in the path.
889aa228fdSmrgif test "x$as_myself" = x; then
899aa228fdSmrg  as_myself=$0
909aa228fdSmrgfi
919aa228fdSmrgif test ! -f "$as_myself"; then
929aa228fdSmrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
939aa228fdSmrg  { (exit 1); exit 1; }
949aa228fdSmrgfi
959aa228fdSmrg
969aa228fdSmrg# Work around bugs in pre-3.0 UWIN ksh.
979aa228fdSmrgfor as_var in ENV MAIL MAILPATH
989aa228fdSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
999aa228fdSmrgdone
1009aa228fdSmrgPS1='$ '
1019aa228fdSmrgPS2='> '
1029aa228fdSmrgPS4='+ '
1039aa228fdSmrg
1049aa228fdSmrg# NLS nuisances.
1059aa228fdSmrgfor as_var in \
1069aa228fdSmrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1079aa228fdSmrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1089aa228fdSmrg  LC_TELEPHONE LC_TIME
1099aa228fdSmrgdo
1109aa228fdSmrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1119aa228fdSmrg    eval $as_var=C; export $as_var
1129aa228fdSmrg  else
1139aa228fdSmrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1149aa228fdSmrg  fi
1159aa228fdSmrgdone
1169aa228fdSmrg
1179aa228fdSmrg# Required to use basename.
1189aa228fdSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
1199aa228fdSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1209aa228fdSmrg  as_expr=expr
1219aa228fdSmrgelse
1229aa228fdSmrg  as_expr=false
1239aa228fdSmrgfi
1249aa228fdSmrg
1259aa228fdSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1269aa228fdSmrg  as_basename=basename
1279aa228fdSmrgelse
1289aa228fdSmrg  as_basename=false
1299aa228fdSmrgfi
1309aa228fdSmrg
1319aa228fdSmrg
1329aa228fdSmrg# Name of the executable.
1339aa228fdSmrgas_me=`$as_basename -- "$0" ||
1349aa228fdSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1359aa228fdSmrg	 X"$0" : 'X\(//\)$' \| \
1369aa228fdSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1379aa228fdSmrgecho X/"$0" |
1389aa228fdSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
1399aa228fdSmrg	    s//\1/
1409aa228fdSmrg	    q
1419aa228fdSmrg	  }
1429aa228fdSmrg	  /^X\/\(\/\/\)$/{
1439aa228fdSmrg	    s//\1/
1449aa228fdSmrg	    q
1459aa228fdSmrg	  }
1469aa228fdSmrg	  /^X\/\(\/\).*/{
1479aa228fdSmrg	    s//\1/
1489aa228fdSmrg	    q
1499aa228fdSmrg	  }
1509aa228fdSmrg	  s/.*/./; q'`
1519aa228fdSmrg
1529aa228fdSmrg# CDPATH.
1539aa228fdSmrg$as_unset CDPATH
1549aa228fdSmrg
1559aa228fdSmrg
1569aa228fdSmrgif test "x$CONFIG_SHELL" = x; then
1579aa228fdSmrg  if (eval ":") 2>/dev/null; then
1589aa228fdSmrg  as_have_required=yes
1599aa228fdSmrgelse
1609aa228fdSmrg  as_have_required=no
1619aa228fdSmrgfi
1629aa228fdSmrg
1639aa228fdSmrg  if test $as_have_required = yes && 	 (eval ":
1649aa228fdSmrg(as_func_return () {
1659aa228fdSmrg  (exit \$1)
1669aa228fdSmrg}
1679aa228fdSmrgas_func_success () {
1689aa228fdSmrg  as_func_return 0
1699aa228fdSmrg}
1709aa228fdSmrgas_func_failure () {
1719aa228fdSmrg  as_func_return 1
1729aa228fdSmrg}
1739aa228fdSmrgas_func_ret_success () {
1749aa228fdSmrg  return 0
1759aa228fdSmrg}
1769aa228fdSmrgas_func_ret_failure () {
1779aa228fdSmrg  return 1
1789aa228fdSmrg}
1799aa228fdSmrg
1809aa228fdSmrgexitcode=0
1819aa228fdSmrgif as_func_success; then
1829aa228fdSmrg  :
1839aa228fdSmrgelse
1849aa228fdSmrg  exitcode=1
1859aa228fdSmrg  echo as_func_success failed.
1869aa228fdSmrgfi
1879aa228fdSmrg
1889aa228fdSmrgif as_func_failure; then
1899aa228fdSmrg  exitcode=1
1909aa228fdSmrg  echo as_func_failure succeeded.
1919aa228fdSmrgfi
1929aa228fdSmrg
1939aa228fdSmrgif as_func_ret_success; then
1949aa228fdSmrg  :
1959aa228fdSmrgelse
1969aa228fdSmrg  exitcode=1
1979aa228fdSmrg  echo as_func_ret_success failed.
1989aa228fdSmrgfi
1999aa228fdSmrg
2009aa228fdSmrgif as_func_ret_failure; then
2019aa228fdSmrg  exitcode=1
2029aa228fdSmrg  echo as_func_ret_failure succeeded.
2039aa228fdSmrgfi
2049aa228fdSmrg
2059aa228fdSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2069aa228fdSmrg  :
2079aa228fdSmrgelse
2089aa228fdSmrg  exitcode=1
2099aa228fdSmrg  echo positional parameters were not saved.
2109aa228fdSmrgfi
2119aa228fdSmrg
2129aa228fdSmrgtest \$exitcode = 0) || { (exit 1); exit 1; }
2139aa228fdSmrg
2149aa228fdSmrg(
2159aa228fdSmrg  as_lineno_1=\$LINENO
2169aa228fdSmrg  as_lineno_2=\$LINENO
2179aa228fdSmrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2189aa228fdSmrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2199aa228fdSmrg") 2> /dev/null; then
2209aa228fdSmrg  :
2219aa228fdSmrgelse
2229aa228fdSmrg  as_candidate_shells=
2239aa228fdSmrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249aa228fdSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2259aa228fdSmrgdo
2269aa228fdSmrg  IFS=$as_save_IFS
2279aa228fdSmrg  test -z "$as_dir" && as_dir=.
2289aa228fdSmrg  case $as_dir in
2299aa228fdSmrg	 /*)
2309aa228fdSmrg	   for as_base in sh bash ksh sh5; do
2319aa228fdSmrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2329aa228fdSmrg	   done;;
2339aa228fdSmrg       esac
2349aa228fdSmrgdone
2359aa228fdSmrgIFS=$as_save_IFS
2369aa228fdSmrg
2379aa228fdSmrg
2389aa228fdSmrg      for as_shell in $as_candidate_shells $SHELL; do
2399aa228fdSmrg	 # Try only shells that exist, to save several forks.
2409aa228fdSmrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2419aa228fdSmrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
2429aa228fdSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2439aa228fdSmrg  emulate sh
2449aa228fdSmrg  NULLCMD=:
2459aa228fdSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2469aa228fdSmrg  # is contrary to our usage.  Disable this feature.
2479aa228fdSmrg  alias -g '${1+"$@"}'='"$@"'
2489aa228fdSmrg  setopt NO_GLOB_SUBST
2499aa228fdSmrgelse
2509aa228fdSmrg  case `(set -o) 2>/dev/null` in
2519aa228fdSmrg  *posix*) set -o posix ;;
2529aa228fdSmrgesac
2539aa228fdSmrg
2549aa228fdSmrgfi
2559aa228fdSmrg
2569aa228fdSmrg
2579aa228fdSmrg:
2589aa228fdSmrg_ASEOF
2599aa228fdSmrg}; then
2609aa228fdSmrg  CONFIG_SHELL=$as_shell
2619aa228fdSmrg	       as_have_required=yes
2629aa228fdSmrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
2639aa228fdSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2649aa228fdSmrg  emulate sh
2659aa228fdSmrg  NULLCMD=:
2669aa228fdSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2679aa228fdSmrg  # is contrary to our usage.  Disable this feature.
2689aa228fdSmrg  alias -g '${1+"$@"}'='"$@"'
2699aa228fdSmrg  setopt NO_GLOB_SUBST
2709aa228fdSmrgelse
2719aa228fdSmrg  case `(set -o) 2>/dev/null` in
2729aa228fdSmrg  *posix*) set -o posix ;;
2739aa228fdSmrgesac
2749aa228fdSmrg
2759aa228fdSmrgfi
2769aa228fdSmrg
2779aa228fdSmrg
2789aa228fdSmrg:
2799aa228fdSmrg(as_func_return () {
2809aa228fdSmrg  (exit $1)
2819aa228fdSmrg}
2829aa228fdSmrgas_func_success () {
2839aa228fdSmrg  as_func_return 0
2849aa228fdSmrg}
2859aa228fdSmrgas_func_failure () {
2869aa228fdSmrg  as_func_return 1
2879aa228fdSmrg}
2889aa228fdSmrgas_func_ret_success () {
2899aa228fdSmrg  return 0
2909aa228fdSmrg}
2919aa228fdSmrgas_func_ret_failure () {
2929aa228fdSmrg  return 1
2939aa228fdSmrg}
2949aa228fdSmrg
2959aa228fdSmrgexitcode=0
2969aa228fdSmrgif as_func_success; then
2979aa228fdSmrg  :
2989aa228fdSmrgelse
2999aa228fdSmrg  exitcode=1
3009aa228fdSmrg  echo as_func_success failed.
3019aa228fdSmrgfi
3029aa228fdSmrg
3039aa228fdSmrgif as_func_failure; then
3049aa228fdSmrg  exitcode=1
3059aa228fdSmrg  echo as_func_failure succeeded.
3069aa228fdSmrgfi
3079aa228fdSmrg
3089aa228fdSmrgif as_func_ret_success; then
3099aa228fdSmrg  :
3109aa228fdSmrgelse
3119aa228fdSmrg  exitcode=1
3129aa228fdSmrg  echo as_func_ret_success failed.
3139aa228fdSmrgfi
3149aa228fdSmrg
3159aa228fdSmrgif as_func_ret_failure; then
3169aa228fdSmrg  exitcode=1
3179aa228fdSmrg  echo as_func_ret_failure succeeded.
3189aa228fdSmrgfi
3199aa228fdSmrg
3209aa228fdSmrgif ( set x; as_func_ret_success y && test x = "$1" ); then
3219aa228fdSmrg  :
3229aa228fdSmrgelse
3239aa228fdSmrg  exitcode=1
3249aa228fdSmrg  echo positional parameters were not saved.
3259aa228fdSmrgfi
3269aa228fdSmrg
3279aa228fdSmrgtest $exitcode = 0) || { (exit 1); exit 1; }
3289aa228fdSmrg
3299aa228fdSmrg(
3309aa228fdSmrg  as_lineno_1=$LINENO
3319aa228fdSmrg  as_lineno_2=$LINENO
3329aa228fdSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3339aa228fdSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3349aa228fdSmrg
3359aa228fdSmrg_ASEOF
3369aa228fdSmrg}; then
3379aa228fdSmrg  break
3389aa228fdSmrgfi
3399aa228fdSmrg
3409aa228fdSmrgfi
3419aa228fdSmrg
3429aa228fdSmrg      done
3439aa228fdSmrg
3449aa228fdSmrg      if test "x$CONFIG_SHELL" != x; then
3459aa228fdSmrg  for as_var in BASH_ENV ENV
3469aa228fdSmrg        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3479aa228fdSmrg        done
3489aa228fdSmrg        export CONFIG_SHELL
3499aa228fdSmrg        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3509aa228fdSmrgfi
3519aa228fdSmrg
3529aa228fdSmrg
3539aa228fdSmrg    if test $as_have_required = no; then
3549aa228fdSmrg  echo This script requires a shell more modern than all the
3559aa228fdSmrg      echo shells that I found on your system.  Please install a
3569aa228fdSmrg      echo modern shell, or manually run the script under such a
3579aa228fdSmrg      echo shell if you do have one.
3589aa228fdSmrg      { (exit 1); exit 1; }
3599aa228fdSmrgfi
3609aa228fdSmrg
3619aa228fdSmrg
3629aa228fdSmrgfi
3639aa228fdSmrg
3649aa228fdSmrgfi
3659aa228fdSmrg
3669aa228fdSmrg
3679aa228fdSmrg
3689aa228fdSmrg(eval "as_func_return () {
3699aa228fdSmrg  (exit \$1)
3709aa228fdSmrg}
3719aa228fdSmrgas_func_success () {
3729aa228fdSmrg  as_func_return 0
3739aa228fdSmrg}
3749aa228fdSmrgas_func_failure () {
3759aa228fdSmrg  as_func_return 1
3769aa228fdSmrg}
3779aa228fdSmrgas_func_ret_success () {
3789aa228fdSmrg  return 0
3799aa228fdSmrg}
3809aa228fdSmrgas_func_ret_failure () {
3819aa228fdSmrg  return 1
3829aa228fdSmrg}
3839aa228fdSmrg
3849aa228fdSmrgexitcode=0
3859aa228fdSmrgif as_func_success; then
3869aa228fdSmrg  :
3879aa228fdSmrgelse
3889aa228fdSmrg  exitcode=1
3899aa228fdSmrg  echo as_func_success failed.
3909aa228fdSmrgfi
3919aa228fdSmrg
3929aa228fdSmrgif as_func_failure; then
3939aa228fdSmrg  exitcode=1
3949aa228fdSmrg  echo as_func_failure succeeded.
3959aa228fdSmrgfi
3969aa228fdSmrg
3979aa228fdSmrgif as_func_ret_success; then
3989aa228fdSmrg  :
3999aa228fdSmrgelse
4009aa228fdSmrg  exitcode=1
4019aa228fdSmrg  echo as_func_ret_success failed.
4029aa228fdSmrgfi
4039aa228fdSmrg
4049aa228fdSmrgif as_func_ret_failure; then
4059aa228fdSmrg  exitcode=1
4069aa228fdSmrg  echo as_func_ret_failure succeeded.
4079aa228fdSmrgfi
4089aa228fdSmrg
4099aa228fdSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
4109aa228fdSmrg  :
4119aa228fdSmrgelse
4129aa228fdSmrg  exitcode=1
4139aa228fdSmrg  echo positional parameters were not saved.
4149aa228fdSmrgfi
4159aa228fdSmrg
4169aa228fdSmrgtest \$exitcode = 0") || {
4179aa228fdSmrg  echo No shell found that supports shell functions.
4189aa228fdSmrg  echo Please tell autoconf@gnu.org about your system,
4199aa228fdSmrg  echo including any error possibly output before this
4209aa228fdSmrg  echo message
4219aa228fdSmrg}
4229aa228fdSmrg
4239aa228fdSmrg
4249aa228fdSmrg
4259aa228fdSmrg  as_lineno_1=$LINENO
4269aa228fdSmrg  as_lineno_2=$LINENO
4279aa228fdSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
4289aa228fdSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4299aa228fdSmrg
4309aa228fdSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4319aa228fdSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
4329aa228fdSmrg  # line-number line after each line using $LINENO; the second 'sed'
4339aa228fdSmrg  # does the real work.  The second script uses 'N' to pair each
4349aa228fdSmrg  # line-number line with the line containing $LINENO, and appends
4359aa228fdSmrg  # trailing '-' during substitution so that $LINENO is not a special
4369aa228fdSmrg  # case at line end.
4379aa228fdSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4389aa228fdSmrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4399aa228fdSmrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
4409aa228fdSmrg  sed -n '
4419aa228fdSmrg    p
4429aa228fdSmrg    /[$]LINENO/=
4439aa228fdSmrg  ' <$as_myself |
4449aa228fdSmrg    sed '
4459aa228fdSmrg      s/[$]LINENO.*/&-/
4469aa228fdSmrg      t lineno
4479aa228fdSmrg      b
4489aa228fdSmrg      :lineno
4499aa228fdSmrg      N
4509aa228fdSmrg      :loop
4519aa228fdSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4529aa228fdSmrg      t loop
4539aa228fdSmrg      s/-\n.*//
4549aa228fdSmrg    ' >$as_me.lineno &&
4559aa228fdSmrg  chmod +x "$as_me.lineno" ||
4569aa228fdSmrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4579aa228fdSmrg   { (exit 1); exit 1; }; }
4589aa228fdSmrg
4599aa228fdSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
4609aa228fdSmrg  # (the dirname of $[0] is not the place where we might find the
4619aa228fdSmrg  # original and so on.  Autoconf is especially sensitive to this).
4629aa228fdSmrg  . "./$as_me.lineno"
4639aa228fdSmrg  # Exit status is that of the last command.
4649aa228fdSmrg  exit
4659aa228fdSmrg}
4669aa228fdSmrg
4679aa228fdSmrg
4689aa228fdSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4699aa228fdSmrg  as_dirname=dirname
4709aa228fdSmrgelse
4719aa228fdSmrg  as_dirname=false
4729aa228fdSmrgfi
4739aa228fdSmrg
4749aa228fdSmrgECHO_C= ECHO_N= ECHO_T=
4759aa228fdSmrgcase `echo -n x` in
4769aa228fdSmrg-n*)
4779aa228fdSmrg  case `echo 'x\c'` in
4789aa228fdSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4799aa228fdSmrg  *)   ECHO_C='\c';;
4809aa228fdSmrg  esac;;
4819aa228fdSmrg*)
4829aa228fdSmrg  ECHO_N='-n';;
4839aa228fdSmrgesac
4849aa228fdSmrg
4859aa228fdSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4869aa228fdSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4879aa228fdSmrg  as_expr=expr
4889aa228fdSmrgelse
4899aa228fdSmrg  as_expr=false
4909aa228fdSmrgfi
4919aa228fdSmrg
4929aa228fdSmrgrm -f conf$$ conf$$.exe conf$$.file
4939aa228fdSmrgif test -d conf$$.dir; then
4949aa228fdSmrg  rm -f conf$$.dir/conf$$.file
4959aa228fdSmrgelse
4969aa228fdSmrg  rm -f conf$$.dir
4979aa228fdSmrg  mkdir conf$$.dir
4989aa228fdSmrgfi
4999aa228fdSmrgecho >conf$$.file
5009aa228fdSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then
5019aa228fdSmrg  as_ln_s='ln -s'
5029aa228fdSmrg  # ... but there are two gotchas:
5039aa228fdSmrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5049aa228fdSmrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5059aa228fdSmrg  # In both cases, we have to default to `cp -p'.
5069aa228fdSmrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5079aa228fdSmrg    as_ln_s='cp -p'
5089aa228fdSmrgelif ln conf$$.file conf$$ 2>/dev/null; then
5099aa228fdSmrg  as_ln_s=ln
5109aa228fdSmrgelse
5119aa228fdSmrg  as_ln_s='cp -p'
5129aa228fdSmrgfi
5139aa228fdSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5149aa228fdSmrgrmdir conf$$.dir 2>/dev/null
5159aa228fdSmrg
5169aa228fdSmrgif mkdir -p . 2>/dev/null; then
5179aa228fdSmrg  as_mkdir_p=:
5189aa228fdSmrgelse
5199aa228fdSmrg  test -d ./-p && rmdir ./-p
5209aa228fdSmrg  as_mkdir_p=false
5219aa228fdSmrgfi
5229aa228fdSmrg
5239aa228fdSmrgif test -x / >/dev/null 2>&1; then
5249aa228fdSmrg  as_test_x='test -x'
5259aa228fdSmrgelse
5269aa228fdSmrg  if ls -dL / >/dev/null 2>&1; then
5279aa228fdSmrg    as_ls_L_option=L
5289aa228fdSmrg  else
5299aa228fdSmrg    as_ls_L_option=
5309aa228fdSmrg  fi
5319aa228fdSmrg  as_test_x='
5329aa228fdSmrg    eval sh -c '\''
5339aa228fdSmrg      if test -d "$1"; then
5349aa228fdSmrg        test -d "$1/.";
5359aa228fdSmrg      else
5369aa228fdSmrg	case $1 in
5379aa228fdSmrg        -*)set "./$1";;
5389aa228fdSmrg	esac;
5399aa228fdSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5409aa228fdSmrg	???[sx]*):;;*)false;;esac;fi
5419aa228fdSmrg    '\'' sh
5429aa228fdSmrg  '
5439aa228fdSmrgfi
5449aa228fdSmrgas_executable_p=$as_test_x
5459aa228fdSmrg
5469aa228fdSmrg# Sed expression to map a string onto a valid CPP name.
5479aa228fdSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5489aa228fdSmrg
5499aa228fdSmrg# Sed expression to map a string onto a valid variable name.
5509aa228fdSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5519aa228fdSmrg
5529aa228fdSmrg
5539aa228fdSmrg
5549aa228fdSmrgexec 7<&0 </dev/null 6>&1
5559aa228fdSmrg
5569aa228fdSmrg# Name of the host.
5579aa228fdSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5589aa228fdSmrg# so uname gets run too.
5599aa228fdSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5609aa228fdSmrg
5619aa228fdSmrg#
5629aa228fdSmrg# Initializations.
5639aa228fdSmrg#
5649aa228fdSmrgac_default_prefix=/usr/local
5659aa228fdSmrgac_clean_files=
5669aa228fdSmrgac_config_libobj_dir=.
5679aa228fdSmrgLIBOBJS=
5689aa228fdSmrgcross_compiling=no
5699aa228fdSmrgsubdirs=
5709aa228fdSmrgMFLAGS=
5719aa228fdSmrgMAKEFLAGS=
5729aa228fdSmrgSHELL=${CONFIG_SHELL-/bin/sh}
5739aa228fdSmrg
5749aa228fdSmrg# Identity of this package.
5759aa228fdSmrgPACKAGE_NAME='xmag'
5769aa228fdSmrgPACKAGE_TARNAME='xmag'
57783d7c197SmrgPACKAGE_VERSION='1.0.3'
57883d7c197SmrgPACKAGE_STRING='xmag 1.0.3'
5799aa228fdSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
5809aa228fdSmrg
58183d7c197Smrg# Factoring default headers for most tests.
58283d7c197Smrgac_includes_default="\
58383d7c197Smrg#include <stdio.h>
58483d7c197Smrg#ifdef HAVE_SYS_TYPES_H
58583d7c197Smrg# include <sys/types.h>
58683d7c197Smrg#endif
58783d7c197Smrg#ifdef HAVE_SYS_STAT_H
58883d7c197Smrg# include <sys/stat.h>
58983d7c197Smrg#endif
59083d7c197Smrg#ifdef STDC_HEADERS
59183d7c197Smrg# include <stdlib.h>
59283d7c197Smrg# include <stddef.h>
59383d7c197Smrg#else
59483d7c197Smrg# ifdef HAVE_STDLIB_H
59583d7c197Smrg#  include <stdlib.h>
59683d7c197Smrg# endif
59783d7c197Smrg#endif
59883d7c197Smrg#ifdef HAVE_STRING_H
59983d7c197Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
60083d7c197Smrg#  include <memory.h>
60183d7c197Smrg# endif
60283d7c197Smrg# include <string.h>
60383d7c197Smrg#endif
60483d7c197Smrg#ifdef HAVE_STRINGS_H
60583d7c197Smrg# include <strings.h>
60683d7c197Smrg#endif
60783d7c197Smrg#ifdef HAVE_INTTYPES_H
60883d7c197Smrg# include <inttypes.h>
60983d7c197Smrg#endif
61083d7c197Smrg#ifdef HAVE_STDINT_H
61183d7c197Smrg# include <stdint.h>
61283d7c197Smrg#endif
61383d7c197Smrg#ifdef HAVE_UNISTD_H
61483d7c197Smrg# include <unistd.h>
61583d7c197Smrg#endif"
61683d7c197Smrg
6179aa228fdSmrgac_subst_vars='SHELL
6189aa228fdSmrgPATH_SEPARATOR
6199aa228fdSmrgPACKAGE_NAME
6209aa228fdSmrgPACKAGE_TARNAME
6219aa228fdSmrgPACKAGE_VERSION
6229aa228fdSmrgPACKAGE_STRING
6239aa228fdSmrgPACKAGE_BUGREPORT
6249aa228fdSmrgexec_prefix
6259aa228fdSmrgprefix
6269aa228fdSmrgprogram_transform_name
6279aa228fdSmrgbindir
6289aa228fdSmrgsbindir
6299aa228fdSmrglibexecdir
6309aa228fdSmrgdatarootdir
6319aa228fdSmrgdatadir
6329aa228fdSmrgsysconfdir
6339aa228fdSmrgsharedstatedir
6349aa228fdSmrglocalstatedir
6359aa228fdSmrgincludedir
6369aa228fdSmrgoldincludedir
6379aa228fdSmrgdocdir
6389aa228fdSmrginfodir
6399aa228fdSmrghtmldir
6409aa228fdSmrgdvidir
6419aa228fdSmrgpdfdir
6429aa228fdSmrgpsdir
6439aa228fdSmrglibdir
6449aa228fdSmrglocaledir
6459aa228fdSmrgmandir
6469aa228fdSmrgDEFS
6479aa228fdSmrgECHO_C
6489aa228fdSmrgECHO_N
6499aa228fdSmrgECHO_T
6509aa228fdSmrgLIBS
6519aa228fdSmrgbuild_alias
6529aa228fdSmrghost_alias
6539aa228fdSmrgtarget_alias
6549aa228fdSmrgINSTALL_PROGRAM
6559aa228fdSmrgINSTALL_SCRIPT
6569aa228fdSmrgINSTALL_DATA
6579aa228fdSmrgam__isrc
6589aa228fdSmrgCYGPATH_W
6599aa228fdSmrgPACKAGE
6609aa228fdSmrgVERSION
6619aa228fdSmrgACLOCAL
6629aa228fdSmrgAUTOCONF
6639aa228fdSmrgAUTOMAKE
6649aa228fdSmrgAUTOHEADER
6659aa228fdSmrgMAKEINFO
6669aa228fdSmrginstall_sh
6679aa228fdSmrgSTRIP
6689aa228fdSmrgINSTALL_STRIP_PROGRAM
6699aa228fdSmrgmkdir_p
6709aa228fdSmrgAWK
6719aa228fdSmrgSET_MAKE
6729aa228fdSmrgam__leading_dot
6739aa228fdSmrgAMTAR
6749aa228fdSmrgam__tar
6759aa228fdSmrgam__untar
6769aa228fdSmrgMAINTAINER_MODE_TRUE
6779aa228fdSmrgMAINTAINER_MODE_FALSE
6789aa228fdSmrgMAINT
6799aa228fdSmrgCC
6809aa228fdSmrgCFLAGS
6819aa228fdSmrgLDFLAGS
6829aa228fdSmrgCPPFLAGS
6839aa228fdSmrgac_ct_CC
6849aa228fdSmrgEXEEXT
6859aa228fdSmrgOBJEXT
6869aa228fdSmrgDEPDIR
6879aa228fdSmrgam__include
6889aa228fdSmrgam__quote
6899aa228fdSmrgAMDEP_TRUE
6909aa228fdSmrgAMDEP_FALSE
6919aa228fdSmrgAMDEPBACKSLASH
6929aa228fdSmrgCCDEPMODE
6939aa228fdSmrgam__fastdepCC_TRUE
6949aa228fdSmrgam__fastdepCC_FALSE
69583d7c197SmrgCPP
69683d7c197SmrgGREP
69783d7c197SmrgEGREP
69883d7c197SmrgCWARNFLAGS
6999aa228fdSmrgPKG_CONFIG
7009aa228fdSmrgXMAG_CFLAGS
7019aa228fdSmrgXMAG_LIBS
7029aa228fdSmrgAPPDEFS_CFLAGS
7039aa228fdSmrgAPPDEFS_LIBS
7049aa228fdSmrgappdefaultdir
7059aa228fdSmrgbuild
7069aa228fdSmrgbuild_cpu
7079aa228fdSmrgbuild_vendor
7089aa228fdSmrgbuild_os
7099aa228fdSmrghost
7109aa228fdSmrghost_cpu
7119aa228fdSmrghost_vendor
7129aa228fdSmrghost_os
7139aa228fdSmrgAPP_MAN_SUFFIX
7149aa228fdSmrgLIB_MAN_SUFFIX
7159aa228fdSmrgFILE_MAN_SUFFIX
7169aa228fdSmrgMISC_MAN_SUFFIX
7179aa228fdSmrgDRIVER_MAN_SUFFIX
7189aa228fdSmrgADMIN_MAN_SUFFIX
7199aa228fdSmrgAPP_MAN_DIR
7209aa228fdSmrgLIB_MAN_DIR
7219aa228fdSmrgFILE_MAN_DIR
7229aa228fdSmrgMISC_MAN_DIR
7239aa228fdSmrgDRIVER_MAN_DIR
7249aa228fdSmrgADMIN_MAN_DIR
72583d7c197SmrgCHANGELOG_CMD
72683d7c197Smrgdistcleancheck_listfiles
7279aa228fdSmrgLIBOBJS
7289aa228fdSmrgLTLIBOBJS'
7299aa228fdSmrgac_subst_files=''
7309aa228fdSmrg      ac_precious_vars='build_alias
7319aa228fdSmrghost_alias
7329aa228fdSmrgtarget_alias
7339aa228fdSmrgCC
7349aa228fdSmrgCFLAGS
7359aa228fdSmrgLDFLAGS
7369aa228fdSmrgLIBS
7379aa228fdSmrgCPPFLAGS
73883d7c197SmrgCPP
7399aa228fdSmrgPKG_CONFIG
74083d7c197SmrgXMAG_CFLAGS
74183d7c197SmrgXMAG_LIBS
7429aa228fdSmrgAPPDEFS_CFLAGS
7439aa228fdSmrgAPPDEFS_LIBS'
7449aa228fdSmrg
7459aa228fdSmrg
7469aa228fdSmrg# Initialize some variables set by options.
7479aa228fdSmrgac_init_help=
7489aa228fdSmrgac_init_version=false
7499aa228fdSmrg# The variables have the same names as the options, with
7509aa228fdSmrg# dashes changed to underlines.
7519aa228fdSmrgcache_file=/dev/null
7529aa228fdSmrgexec_prefix=NONE
7539aa228fdSmrgno_create=
7549aa228fdSmrgno_recursion=
7559aa228fdSmrgprefix=NONE
7569aa228fdSmrgprogram_prefix=NONE
7579aa228fdSmrgprogram_suffix=NONE
7589aa228fdSmrgprogram_transform_name=s,x,x,
7599aa228fdSmrgsilent=
7609aa228fdSmrgsite=
7619aa228fdSmrgsrcdir=
7629aa228fdSmrgverbose=
7639aa228fdSmrgx_includes=NONE
7649aa228fdSmrgx_libraries=NONE
7659aa228fdSmrg
7669aa228fdSmrg# Installation directory options.
7679aa228fdSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
7689aa228fdSmrg# and all the variables that are supposed to be based on exec_prefix
7699aa228fdSmrg# by default will actually change.
7709aa228fdSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
7719aa228fdSmrg# (The list follows the same order as the GNU Coding Standards.)
7729aa228fdSmrgbindir='${exec_prefix}/bin'
7739aa228fdSmrgsbindir='${exec_prefix}/sbin'
7749aa228fdSmrglibexecdir='${exec_prefix}/libexec'
7759aa228fdSmrgdatarootdir='${prefix}/share'
7769aa228fdSmrgdatadir='${datarootdir}'
7779aa228fdSmrgsysconfdir='${prefix}/etc'
7789aa228fdSmrgsharedstatedir='${prefix}/com'
7799aa228fdSmrglocalstatedir='${prefix}/var'
7809aa228fdSmrgincludedir='${prefix}/include'
7819aa228fdSmrgoldincludedir='/usr/include'
7829aa228fdSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7839aa228fdSmrginfodir='${datarootdir}/info'
7849aa228fdSmrghtmldir='${docdir}'
7859aa228fdSmrgdvidir='${docdir}'
7869aa228fdSmrgpdfdir='${docdir}'
7879aa228fdSmrgpsdir='${docdir}'
7889aa228fdSmrglibdir='${exec_prefix}/lib'
7899aa228fdSmrglocaledir='${datarootdir}/locale'
7909aa228fdSmrgmandir='${datarootdir}/man'
7919aa228fdSmrg
7929aa228fdSmrgac_prev=
7939aa228fdSmrgac_dashdash=
7949aa228fdSmrgfor ac_option
7959aa228fdSmrgdo
7969aa228fdSmrg  # If the previous option needs an argument, assign it.
7979aa228fdSmrg  if test -n "$ac_prev"; then
7989aa228fdSmrg    eval $ac_prev=\$ac_option
7999aa228fdSmrg    ac_prev=
8009aa228fdSmrg    continue
8019aa228fdSmrg  fi
8029aa228fdSmrg
8039aa228fdSmrg  case $ac_option in
8049aa228fdSmrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
8059aa228fdSmrg  *)	ac_optarg=yes ;;
8069aa228fdSmrg  esac
8079aa228fdSmrg
8089aa228fdSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
8099aa228fdSmrg
8109aa228fdSmrg  case $ac_dashdash$ac_option in
8119aa228fdSmrg  --)
8129aa228fdSmrg    ac_dashdash=yes ;;
8139aa228fdSmrg
8149aa228fdSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
8159aa228fdSmrg    ac_prev=bindir ;;
8169aa228fdSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
8179aa228fdSmrg    bindir=$ac_optarg ;;
8189aa228fdSmrg
8199aa228fdSmrg  -build | --build | --buil | --bui | --bu)
8209aa228fdSmrg    ac_prev=build_alias ;;
8219aa228fdSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
8229aa228fdSmrg    build_alias=$ac_optarg ;;
8239aa228fdSmrg
8249aa228fdSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
8259aa228fdSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8269aa228fdSmrg    ac_prev=cache_file ;;
8279aa228fdSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8289aa228fdSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
8299aa228fdSmrg    cache_file=$ac_optarg ;;
8309aa228fdSmrg
8319aa228fdSmrg  --config-cache | -C)
8329aa228fdSmrg    cache_file=config.cache ;;
8339aa228fdSmrg
8349aa228fdSmrg  -datadir | --datadir | --datadi | --datad)
8359aa228fdSmrg    ac_prev=datadir ;;
8369aa228fdSmrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
8379aa228fdSmrg    datadir=$ac_optarg ;;
8389aa228fdSmrg
8399aa228fdSmrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8409aa228fdSmrg  | --dataroo | --dataro | --datar)
8419aa228fdSmrg    ac_prev=datarootdir ;;
8429aa228fdSmrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8439aa228fdSmrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8449aa228fdSmrg    datarootdir=$ac_optarg ;;
8459aa228fdSmrg
8469aa228fdSmrg  -disable-* | --disable-*)
8479aa228fdSmrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8489aa228fdSmrg    # Reject names that are not valid shell variable names.
8499aa228fdSmrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8509aa228fdSmrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
8519aa228fdSmrg   { (exit 1); exit 1; }; }
8529aa228fdSmrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
8539aa228fdSmrg    eval enable_$ac_feature=no ;;
8549aa228fdSmrg
8559aa228fdSmrg  -docdir | --docdir | --docdi | --doc | --do)
8569aa228fdSmrg    ac_prev=docdir ;;
8579aa228fdSmrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8589aa228fdSmrg    docdir=$ac_optarg ;;
8599aa228fdSmrg
8609aa228fdSmrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8619aa228fdSmrg    ac_prev=dvidir ;;
8629aa228fdSmrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8639aa228fdSmrg    dvidir=$ac_optarg ;;
8649aa228fdSmrg
8659aa228fdSmrg  -enable-* | --enable-*)
8669aa228fdSmrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8679aa228fdSmrg    # Reject names that are not valid shell variable names.
8689aa228fdSmrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8699aa228fdSmrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
8709aa228fdSmrg   { (exit 1); exit 1; }; }
8719aa228fdSmrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
8729aa228fdSmrg    eval enable_$ac_feature=\$ac_optarg ;;
8739aa228fdSmrg
8749aa228fdSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
8759aa228fdSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
8769aa228fdSmrg  | --exec | --exe | --ex)
8779aa228fdSmrg    ac_prev=exec_prefix ;;
8789aa228fdSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
8799aa228fdSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
8809aa228fdSmrg  | --exec=* | --exe=* | --ex=*)
8819aa228fdSmrg    exec_prefix=$ac_optarg ;;
8829aa228fdSmrg
8839aa228fdSmrg  -gas | --gas | --ga | --g)
8849aa228fdSmrg    # Obsolete; use --with-gas.
8859aa228fdSmrg    with_gas=yes ;;
8869aa228fdSmrg
8879aa228fdSmrg  -help | --help | --hel | --he | -h)
8889aa228fdSmrg    ac_init_help=long ;;
8899aa228fdSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
8909aa228fdSmrg    ac_init_help=recursive ;;
8919aa228fdSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
8929aa228fdSmrg    ac_init_help=short ;;
8939aa228fdSmrg
8949aa228fdSmrg  -host | --host | --hos | --ho)
8959aa228fdSmrg    ac_prev=host_alias ;;
8969aa228fdSmrg  -host=* | --host=* | --hos=* | --ho=*)
8979aa228fdSmrg    host_alias=$ac_optarg ;;
8989aa228fdSmrg
8999aa228fdSmrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
9009aa228fdSmrg    ac_prev=htmldir ;;
9019aa228fdSmrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
9029aa228fdSmrg  | --ht=*)
9039aa228fdSmrg    htmldir=$ac_optarg ;;
9049aa228fdSmrg
9059aa228fdSmrg  -includedir | --includedir | --includedi | --included | --include \
9069aa228fdSmrg  | --includ | --inclu | --incl | --inc)
9079aa228fdSmrg    ac_prev=includedir ;;
9089aa228fdSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9099aa228fdSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
9109aa228fdSmrg    includedir=$ac_optarg ;;
9119aa228fdSmrg
9129aa228fdSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
9139aa228fdSmrg    ac_prev=infodir ;;
9149aa228fdSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9159aa228fdSmrg    infodir=$ac_optarg ;;
9169aa228fdSmrg
9179aa228fdSmrg  -libdir | --libdir | --libdi | --libd)
9189aa228fdSmrg    ac_prev=libdir ;;
9199aa228fdSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
9209aa228fdSmrg    libdir=$ac_optarg ;;
9219aa228fdSmrg
9229aa228fdSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9239aa228fdSmrg  | --libexe | --libex | --libe)
9249aa228fdSmrg    ac_prev=libexecdir ;;
9259aa228fdSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9269aa228fdSmrg  | --libexe=* | --libex=* | --libe=*)
9279aa228fdSmrg    libexecdir=$ac_optarg ;;
9289aa228fdSmrg
9299aa228fdSmrg  -localedir | --localedir | --localedi | --localed | --locale)
9309aa228fdSmrg    ac_prev=localedir ;;
9319aa228fdSmrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9329aa228fdSmrg    localedir=$ac_optarg ;;
9339aa228fdSmrg
9349aa228fdSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9359aa228fdSmrg  | --localstate | --localstat | --localsta | --localst | --locals)
9369aa228fdSmrg    ac_prev=localstatedir ;;
9379aa228fdSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9389aa228fdSmrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9399aa228fdSmrg    localstatedir=$ac_optarg ;;
9409aa228fdSmrg
9419aa228fdSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9429aa228fdSmrg    ac_prev=mandir ;;
9439aa228fdSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9449aa228fdSmrg    mandir=$ac_optarg ;;
9459aa228fdSmrg
9469aa228fdSmrg  -nfp | --nfp | --nf)
9479aa228fdSmrg    # Obsolete; use --without-fp.
9489aa228fdSmrg    with_fp=no ;;
9499aa228fdSmrg
9509aa228fdSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9519aa228fdSmrg  | --no-cr | --no-c | -n)
9529aa228fdSmrg    no_create=yes ;;
9539aa228fdSmrg
9549aa228fdSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9559aa228fdSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9569aa228fdSmrg    no_recursion=yes ;;
9579aa228fdSmrg
9589aa228fdSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9599aa228fdSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9609aa228fdSmrg  | --oldin | --oldi | --old | --ol | --o)
9619aa228fdSmrg    ac_prev=oldincludedir ;;
9629aa228fdSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9639aa228fdSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9649aa228fdSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9659aa228fdSmrg    oldincludedir=$ac_optarg ;;
9669aa228fdSmrg
9679aa228fdSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9689aa228fdSmrg    ac_prev=prefix ;;
9699aa228fdSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9709aa228fdSmrg    prefix=$ac_optarg ;;
9719aa228fdSmrg
9729aa228fdSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
9739aa228fdSmrg  | --program-pre | --program-pr | --program-p)
9749aa228fdSmrg    ac_prev=program_prefix ;;
9759aa228fdSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
9769aa228fdSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9779aa228fdSmrg    program_prefix=$ac_optarg ;;
9789aa228fdSmrg
9799aa228fdSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
9809aa228fdSmrg  | --program-suf | --program-su | --program-s)
9819aa228fdSmrg    ac_prev=program_suffix ;;
9829aa228fdSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
9839aa228fdSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9849aa228fdSmrg    program_suffix=$ac_optarg ;;
9859aa228fdSmrg
9869aa228fdSmrg  -program-transform-name | --program-transform-name \
9879aa228fdSmrg  | --program-transform-nam | --program-transform-na \
9889aa228fdSmrg  | --program-transform-n | --program-transform- \
9899aa228fdSmrg  | --program-transform | --program-transfor \
9909aa228fdSmrg  | --program-transfo | --program-transf \
9919aa228fdSmrg  | --program-trans | --program-tran \
9929aa228fdSmrg  | --progr-tra | --program-tr | --program-t)
9939aa228fdSmrg    ac_prev=program_transform_name ;;
9949aa228fdSmrg  -program-transform-name=* | --program-transform-name=* \
9959aa228fdSmrg  | --program-transform-nam=* | --program-transform-na=* \
9969aa228fdSmrg  | --program-transform-n=* | --program-transform-=* \
9979aa228fdSmrg  | --program-transform=* | --program-transfor=* \
9989aa228fdSmrg  | --program-transfo=* | --program-transf=* \
9999aa228fdSmrg  | --program-trans=* | --program-tran=* \
10009aa228fdSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
10019aa228fdSmrg    program_transform_name=$ac_optarg ;;
10029aa228fdSmrg
10039aa228fdSmrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
10049aa228fdSmrg    ac_prev=pdfdir ;;
10059aa228fdSmrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
10069aa228fdSmrg    pdfdir=$ac_optarg ;;
10079aa228fdSmrg
10089aa228fdSmrg  -psdir | --psdir | --psdi | --psd | --ps)
10099aa228fdSmrg    ac_prev=psdir ;;
10109aa228fdSmrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
10119aa228fdSmrg    psdir=$ac_optarg ;;
10129aa228fdSmrg
10139aa228fdSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10149aa228fdSmrg  | -silent | --silent | --silen | --sile | --sil)
10159aa228fdSmrg    silent=yes ;;
10169aa228fdSmrg
10179aa228fdSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10189aa228fdSmrg    ac_prev=sbindir ;;
10199aa228fdSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10209aa228fdSmrg  | --sbi=* | --sb=*)
10219aa228fdSmrg    sbindir=$ac_optarg ;;
10229aa228fdSmrg
10239aa228fdSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
10249aa228fdSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
10259aa228fdSmrg  | --sharedst | --shareds | --shared | --share | --shar \
10269aa228fdSmrg  | --sha | --sh)
10279aa228fdSmrg    ac_prev=sharedstatedir ;;
10289aa228fdSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
10299aa228fdSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
10309aa228fdSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
10319aa228fdSmrg  | --sha=* | --sh=*)
10329aa228fdSmrg    sharedstatedir=$ac_optarg ;;
10339aa228fdSmrg
10349aa228fdSmrg  -site | --site | --sit)
10359aa228fdSmrg    ac_prev=site ;;
10369aa228fdSmrg  -site=* | --site=* | --sit=*)
10379aa228fdSmrg    site=$ac_optarg ;;
10389aa228fdSmrg
10399aa228fdSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10409aa228fdSmrg    ac_prev=srcdir ;;
10419aa228fdSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10429aa228fdSmrg    srcdir=$ac_optarg ;;
10439aa228fdSmrg
10449aa228fdSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10459aa228fdSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
10469aa228fdSmrg    ac_prev=sysconfdir ;;
10479aa228fdSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10489aa228fdSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10499aa228fdSmrg    sysconfdir=$ac_optarg ;;
10509aa228fdSmrg
10519aa228fdSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
10529aa228fdSmrg    ac_prev=target_alias ;;
10539aa228fdSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10549aa228fdSmrg    target_alias=$ac_optarg ;;
10559aa228fdSmrg
10569aa228fdSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
10579aa228fdSmrg    verbose=yes ;;
10589aa228fdSmrg
10599aa228fdSmrg  -version | --version | --versio | --versi | --vers | -V)
10609aa228fdSmrg    ac_init_version=: ;;
10619aa228fdSmrg
10629aa228fdSmrg  -with-* | --with-*)
10639aa228fdSmrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10649aa228fdSmrg    # Reject names that are not valid shell variable names.
10659aa228fdSmrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10669aa228fdSmrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
10679aa228fdSmrg   { (exit 1); exit 1; }; }
10689aa228fdSmrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10699aa228fdSmrg    eval with_$ac_package=\$ac_optarg ;;
10709aa228fdSmrg
10719aa228fdSmrg  -without-* | --without-*)
10729aa228fdSmrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10739aa228fdSmrg    # Reject names that are not valid shell variable names.
10749aa228fdSmrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10759aa228fdSmrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
10769aa228fdSmrg   { (exit 1); exit 1; }; }
10779aa228fdSmrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10789aa228fdSmrg    eval with_$ac_package=no ;;
10799aa228fdSmrg
10809aa228fdSmrg  --x)
10819aa228fdSmrg    # Obsolete; use --with-x.
10829aa228fdSmrg    with_x=yes ;;
10839aa228fdSmrg
10849aa228fdSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
10859aa228fdSmrg  | --x-incl | --x-inc | --x-in | --x-i)
10869aa228fdSmrg    ac_prev=x_includes ;;
10879aa228fdSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
10889aa228fdSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
10899aa228fdSmrg    x_includes=$ac_optarg ;;
10909aa228fdSmrg
10919aa228fdSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
10929aa228fdSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
10939aa228fdSmrg    ac_prev=x_libraries ;;
10949aa228fdSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
10959aa228fdSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10969aa228fdSmrg    x_libraries=$ac_optarg ;;
10979aa228fdSmrg
10989aa228fdSmrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
10999aa228fdSmrgTry \`$0 --help' for more information." >&2
11009aa228fdSmrg   { (exit 1); exit 1; }; }
11019aa228fdSmrg    ;;
11029aa228fdSmrg
11039aa228fdSmrg  *=*)
11049aa228fdSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11059aa228fdSmrg    # Reject names that are not valid shell variable names.
11069aa228fdSmrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
11079aa228fdSmrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
11089aa228fdSmrg   { (exit 1); exit 1; }; }
11099aa228fdSmrg    eval $ac_envvar=\$ac_optarg
11109aa228fdSmrg    export $ac_envvar ;;
11119aa228fdSmrg
11129aa228fdSmrg  *)
11139aa228fdSmrg    # FIXME: should be removed in autoconf 3.0.
11149aa228fdSmrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11159aa228fdSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11169aa228fdSmrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11179aa228fdSmrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
11189aa228fdSmrg    ;;
11199aa228fdSmrg
11209aa228fdSmrg  esac
11219aa228fdSmrgdone
11229aa228fdSmrg
11239aa228fdSmrgif test -n "$ac_prev"; then
11249aa228fdSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
11259aa228fdSmrg  { echo "$as_me: error: missing argument to $ac_option" >&2
11269aa228fdSmrg   { (exit 1); exit 1; }; }
11279aa228fdSmrgfi
11289aa228fdSmrg
11299aa228fdSmrg# Be sure to have absolute directory names.
11309aa228fdSmrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
11319aa228fdSmrg		datadir sysconfdir sharedstatedir localstatedir includedir \
11329aa228fdSmrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11339aa228fdSmrg		libdir localedir mandir
11349aa228fdSmrgdo
11359aa228fdSmrg  eval ac_val=\$$ac_var
11369aa228fdSmrg  case $ac_val in
11379aa228fdSmrg    [\\/$]* | ?:[\\/]* )  continue;;
11389aa228fdSmrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11399aa228fdSmrg  esac
11409aa228fdSmrg  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
11419aa228fdSmrg   { (exit 1); exit 1; }; }
11429aa228fdSmrgdone
11439aa228fdSmrg
11449aa228fdSmrg# There might be people who depend on the old broken behavior: `$host'
11459aa228fdSmrg# used to hold the argument of --host etc.
11469aa228fdSmrg# FIXME: To remove some day.
11479aa228fdSmrgbuild=$build_alias
11489aa228fdSmrghost=$host_alias
11499aa228fdSmrgtarget=$target_alias
11509aa228fdSmrg
11519aa228fdSmrg# FIXME: To remove some day.
11529aa228fdSmrgif test "x$host_alias" != x; then
11539aa228fdSmrg  if test "x$build_alias" = x; then
11549aa228fdSmrg    cross_compiling=maybe
11559aa228fdSmrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11569aa228fdSmrg    If a cross compiler is detected then cross compile mode will be used." >&2
11579aa228fdSmrg  elif test "x$build_alias" != "x$host_alias"; then
11589aa228fdSmrg    cross_compiling=yes
11599aa228fdSmrg  fi
11609aa228fdSmrgfi
11619aa228fdSmrg
11629aa228fdSmrgac_tool_prefix=
11639aa228fdSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
11649aa228fdSmrg
11659aa228fdSmrgtest "$silent" = yes && exec 6>/dev/null
11669aa228fdSmrg
11679aa228fdSmrg
11689aa228fdSmrgac_pwd=`pwd` && test -n "$ac_pwd" &&
11699aa228fdSmrgac_ls_di=`ls -di .` &&
11709aa228fdSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
11719aa228fdSmrg  { echo "$as_me: error: Working directory cannot be determined" >&2
11729aa228fdSmrg   { (exit 1); exit 1; }; }
11739aa228fdSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
11749aa228fdSmrg  { echo "$as_me: error: pwd does not report name of working directory" >&2
11759aa228fdSmrg   { (exit 1); exit 1; }; }
11769aa228fdSmrg
11779aa228fdSmrg
11789aa228fdSmrg# Find the source files, if location was not specified.
11799aa228fdSmrgif test -z "$srcdir"; then
11809aa228fdSmrg  ac_srcdir_defaulted=yes
11819aa228fdSmrg  # Try the directory containing this script, then the parent directory.
11829aa228fdSmrg  ac_confdir=`$as_dirname -- "$0" ||
11839aa228fdSmrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11849aa228fdSmrg	 X"$0" : 'X\(//\)[^/]' \| \
11859aa228fdSmrg	 X"$0" : 'X\(//\)$' \| \
11869aa228fdSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11879aa228fdSmrgecho X"$0" |
11889aa228fdSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11899aa228fdSmrg	    s//\1/
11909aa228fdSmrg	    q
11919aa228fdSmrg	  }
11929aa228fdSmrg	  /^X\(\/\/\)[^/].*/{
11939aa228fdSmrg	    s//\1/
11949aa228fdSmrg	    q
11959aa228fdSmrg	  }
11969aa228fdSmrg	  /^X\(\/\/\)$/{
11979aa228fdSmrg	    s//\1/
11989aa228fdSmrg	    q
11999aa228fdSmrg	  }
12009aa228fdSmrg	  /^X\(\/\).*/{
12019aa228fdSmrg	    s//\1/
12029aa228fdSmrg	    q
12039aa228fdSmrg	  }
12049aa228fdSmrg	  s/.*/./; q'`
12059aa228fdSmrg  srcdir=$ac_confdir
12069aa228fdSmrg  if test ! -r "$srcdir/$ac_unique_file"; then
12079aa228fdSmrg    srcdir=..
12089aa228fdSmrg  fi
12099aa228fdSmrgelse
12109aa228fdSmrg  ac_srcdir_defaulted=no
12119aa228fdSmrgfi
12129aa228fdSmrgif test ! -r "$srcdir/$ac_unique_file"; then
12139aa228fdSmrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12149aa228fdSmrg  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
12159aa228fdSmrg   { (exit 1); exit 1; }; }
12169aa228fdSmrgfi
12179aa228fdSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12189aa228fdSmrgac_abs_confdir=`(
12199aa228fdSmrg	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
12209aa228fdSmrg   { (exit 1); exit 1; }; }
12219aa228fdSmrg	pwd)`
12229aa228fdSmrg# When building in place, set srcdir=.
12239aa228fdSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then
12249aa228fdSmrg  srcdir=.
12259aa228fdSmrgfi
12269aa228fdSmrg# Remove unnecessary trailing slashes from srcdir.
12279aa228fdSmrg# Double slashes in file names in object file debugging info
12289aa228fdSmrg# mess up M-x gdb in Emacs.
12299aa228fdSmrgcase $srcdir in
12309aa228fdSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12319aa228fdSmrgesac
12329aa228fdSmrgfor ac_var in $ac_precious_vars; do
12339aa228fdSmrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12349aa228fdSmrg  eval ac_env_${ac_var}_value=\$${ac_var}
12359aa228fdSmrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12369aa228fdSmrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12379aa228fdSmrgdone
12389aa228fdSmrg
12399aa228fdSmrg#
12409aa228fdSmrg# Report the --help message.
12419aa228fdSmrg#
12429aa228fdSmrgif test "$ac_init_help" = "long"; then
12439aa228fdSmrg  # Omit some internal or obsolete options to make the list less imposing.
12449aa228fdSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
12459aa228fdSmrg  cat <<_ACEOF
124683d7c197Smrg\`configure' configures xmag 1.0.3 to adapt to many kinds of systems.
12479aa228fdSmrg
12489aa228fdSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
12499aa228fdSmrg
12509aa228fdSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
12519aa228fdSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
12529aa228fdSmrg
12539aa228fdSmrgDefaults for the options are specified in brackets.
12549aa228fdSmrg
12559aa228fdSmrgConfiguration:
12569aa228fdSmrg  -h, --help              display this help and exit
12579aa228fdSmrg      --help=short        display options specific to this package
12589aa228fdSmrg      --help=recursive    display the short help of all the included packages
12599aa228fdSmrg  -V, --version           display version information and exit
12609aa228fdSmrg  -q, --quiet, --silent   do not print \`checking...' messages
12619aa228fdSmrg      --cache-file=FILE   cache test results in FILE [disabled]
12629aa228fdSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
12639aa228fdSmrg  -n, --no-create         do not create output files
12649aa228fdSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
12659aa228fdSmrg
12669aa228fdSmrgInstallation directories:
12679aa228fdSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
12689aa228fdSmrg			  [$ac_default_prefix]
12699aa228fdSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
12709aa228fdSmrg			  [PREFIX]
12719aa228fdSmrg
12729aa228fdSmrgBy default, \`make install' will install all the files in
12739aa228fdSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
12749aa228fdSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
12759aa228fdSmrgfor instance \`--prefix=\$HOME'.
12769aa228fdSmrg
12779aa228fdSmrgFor better control, use the options below.
12789aa228fdSmrg
12799aa228fdSmrgFine tuning of the installation directories:
12809aa228fdSmrg  --bindir=DIR           user executables [EPREFIX/bin]
12819aa228fdSmrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
12829aa228fdSmrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
12839aa228fdSmrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
12849aa228fdSmrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
12859aa228fdSmrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
12869aa228fdSmrg  --libdir=DIR           object code libraries [EPREFIX/lib]
12879aa228fdSmrg  --includedir=DIR       C header files [PREFIX/include]
12889aa228fdSmrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
12899aa228fdSmrg  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
12909aa228fdSmrg  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
12919aa228fdSmrg  --infodir=DIR          info documentation [DATAROOTDIR/info]
12929aa228fdSmrg  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
12939aa228fdSmrg  --mandir=DIR           man documentation [DATAROOTDIR/man]
12949aa228fdSmrg  --docdir=DIR           documentation root [DATAROOTDIR/doc/xmag]
12959aa228fdSmrg  --htmldir=DIR          html documentation [DOCDIR]
12969aa228fdSmrg  --dvidir=DIR           dvi documentation [DOCDIR]
12979aa228fdSmrg  --pdfdir=DIR           pdf documentation [DOCDIR]
12989aa228fdSmrg  --psdir=DIR            ps documentation [DOCDIR]
12999aa228fdSmrg_ACEOF
13009aa228fdSmrg
13019aa228fdSmrg  cat <<\_ACEOF
13029aa228fdSmrg
13039aa228fdSmrgProgram names:
13049aa228fdSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
13059aa228fdSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
13069aa228fdSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
13079aa228fdSmrg
13089aa228fdSmrgSystem types:
13099aa228fdSmrg  --build=BUILD     configure for building on BUILD [guessed]
13109aa228fdSmrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
13119aa228fdSmrg_ACEOF
13129aa228fdSmrgfi
13139aa228fdSmrg
13149aa228fdSmrgif test -n "$ac_init_help"; then
13159aa228fdSmrg  case $ac_init_help in
131683d7c197Smrg     short | recursive ) echo "Configuration of xmag 1.0.3:";;
13179aa228fdSmrg   esac
13189aa228fdSmrg  cat <<\_ACEOF
13199aa228fdSmrg
13209aa228fdSmrgOptional Features:
13219aa228fdSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
13229aa228fdSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
13239aa228fdSmrg  --enable-maintainer-mode  enable make rules and dependencies not useful
13249aa228fdSmrg			  (and sometimes confusing) to the casual installer
13259aa228fdSmrg  --disable-dependency-tracking  speeds up one-time build
13269aa228fdSmrg  --enable-dependency-tracking   do not reject slow dependency extractors
13279aa228fdSmrg
13289aa228fdSmrgOptional Packages:
13299aa228fdSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
13309aa228fdSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
133183d7c197Smrg  --with-appdefaultdir=<pathname>
133283d7c197Smrg                          specify directory for app-defaults files (default is
133383d7c197Smrg                          autodetected)
13349aa228fdSmrg  --with-release-version=STRING
13359aa228fdSmrg                          Use release version string in package name
13369aa228fdSmrg
13379aa228fdSmrgSome influential environment variables:
13389aa228fdSmrg  CC          C compiler command
13399aa228fdSmrg  CFLAGS      C compiler flags
13409aa228fdSmrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
13419aa228fdSmrg              nonstandard directory <lib dir>
13429aa228fdSmrg  LIBS        libraries to pass to the linker, e.g. -l<library>
13439aa228fdSmrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
13449aa228fdSmrg              you have headers in a nonstandard directory <include dir>
134583d7c197Smrg  CPP         C preprocessor
13469aa228fdSmrg  PKG_CONFIG  path to pkg-config utility
134783d7c197Smrg  XMAG_CFLAGS C compiler flags for XMAG, overriding pkg-config
134883d7c197Smrg  XMAG_LIBS   linker flags for XMAG, overriding pkg-config
13499aa228fdSmrg  APPDEFS_CFLAGS
13509aa228fdSmrg              C compiler flags for APPDEFS, overriding pkg-config
13519aa228fdSmrg  APPDEFS_LIBS
13529aa228fdSmrg              linker flags for APPDEFS, overriding pkg-config
13539aa228fdSmrg
13549aa228fdSmrgUse these variables to override the choices made by `configure' or to help
13559aa228fdSmrgit to find libraries and programs with nonstandard names/locations.
13569aa228fdSmrg
13579aa228fdSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
13589aa228fdSmrg_ACEOF
13599aa228fdSmrgac_status=$?
13609aa228fdSmrgfi
13619aa228fdSmrg
13629aa228fdSmrgif test "$ac_init_help" = "recursive"; then
13639aa228fdSmrg  # If there are subdirs, report their specific --help.
13649aa228fdSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13659aa228fdSmrg    test -d "$ac_dir" || continue
13669aa228fdSmrg    ac_builddir=.
13679aa228fdSmrg
13689aa228fdSmrgcase "$ac_dir" in
13699aa228fdSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13709aa228fdSmrg*)
13719aa228fdSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13729aa228fdSmrg  # A ".." for each directory in $ac_dir_suffix.
13739aa228fdSmrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13749aa228fdSmrg  case $ac_top_builddir_sub in
13759aa228fdSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13769aa228fdSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13779aa228fdSmrg  esac ;;
13789aa228fdSmrgesac
13799aa228fdSmrgac_abs_top_builddir=$ac_pwd
13809aa228fdSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
13819aa228fdSmrg# for backward compatibility:
13829aa228fdSmrgac_top_builddir=$ac_top_build_prefix
13839aa228fdSmrg
13849aa228fdSmrgcase $srcdir in
13859aa228fdSmrg  .)  # We are building in place.
13869aa228fdSmrg    ac_srcdir=.
13879aa228fdSmrg    ac_top_srcdir=$ac_top_builddir_sub
13889aa228fdSmrg    ac_abs_top_srcdir=$ac_pwd ;;
13899aa228fdSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
13909aa228fdSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
13919aa228fdSmrg    ac_top_srcdir=$srcdir
13929aa228fdSmrg    ac_abs_top_srcdir=$srcdir ;;
13939aa228fdSmrg  *) # Relative name.
13949aa228fdSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13959aa228fdSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
13969aa228fdSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13979aa228fdSmrgesac
13989aa228fdSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13999aa228fdSmrg
14009aa228fdSmrg    cd "$ac_dir" || { ac_status=$?; continue; }
14019aa228fdSmrg    # Check for guested configure.
14029aa228fdSmrg    if test -f "$ac_srcdir/configure.gnu"; then
14039aa228fdSmrg      echo &&
14049aa228fdSmrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14059aa228fdSmrg    elif test -f "$ac_srcdir/configure"; then
14069aa228fdSmrg      echo &&
14079aa228fdSmrg      $SHELL "$ac_srcdir/configure" --help=recursive
14089aa228fdSmrg    else
14099aa228fdSmrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14109aa228fdSmrg    fi || ac_status=$?
14119aa228fdSmrg    cd "$ac_pwd" || { ac_status=$?; break; }
14129aa228fdSmrg  done
14139aa228fdSmrgfi
14149aa228fdSmrg
14159aa228fdSmrgtest -n "$ac_init_help" && exit $ac_status
14169aa228fdSmrgif $ac_init_version; then
14179aa228fdSmrg  cat <<\_ACEOF
141883d7c197Smrgxmag configure 1.0.3
14199aa228fdSmrggenerated by GNU Autoconf 2.61
14209aa228fdSmrg
14219aa228fdSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14229aa228fdSmrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
14239aa228fdSmrgThis configure script is free software; the Free Software Foundation
14249aa228fdSmrggives unlimited permission to copy, distribute and modify it.
14259aa228fdSmrg_ACEOF
14269aa228fdSmrg  exit
14279aa228fdSmrgfi
14289aa228fdSmrgcat >config.log <<_ACEOF
14299aa228fdSmrgThis file contains any messages produced by compilers while
14309aa228fdSmrgrunning configure, to aid debugging if configure makes a mistake.
14319aa228fdSmrg
143283d7c197SmrgIt was created by xmag $as_me 1.0.3, which was
14339aa228fdSmrggenerated by GNU Autoconf 2.61.  Invocation command line was
14349aa228fdSmrg
14359aa228fdSmrg  $ $0 $@
14369aa228fdSmrg
14379aa228fdSmrg_ACEOF
14389aa228fdSmrgexec 5>>config.log
14399aa228fdSmrg{
14409aa228fdSmrgcat <<_ASUNAME
14419aa228fdSmrg## --------- ##
14429aa228fdSmrg## Platform. ##
14439aa228fdSmrg## --------- ##
14449aa228fdSmrg
14459aa228fdSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
14469aa228fdSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
14479aa228fdSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
14489aa228fdSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
14499aa228fdSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
14509aa228fdSmrg
14519aa228fdSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
14529aa228fdSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
14539aa228fdSmrg
14549aa228fdSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
14559aa228fdSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
14569aa228fdSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
14579aa228fdSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
14589aa228fdSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
14599aa228fdSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
14609aa228fdSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
14619aa228fdSmrg
14629aa228fdSmrg_ASUNAME
14639aa228fdSmrg
14649aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14659aa228fdSmrgfor as_dir in $PATH
14669aa228fdSmrgdo
14679aa228fdSmrg  IFS=$as_save_IFS
14689aa228fdSmrg  test -z "$as_dir" && as_dir=.
14699aa228fdSmrg  echo "PATH: $as_dir"
14709aa228fdSmrgdone
14719aa228fdSmrgIFS=$as_save_IFS
14729aa228fdSmrg
14739aa228fdSmrg} >&5
14749aa228fdSmrg
14759aa228fdSmrgcat >&5 <<_ACEOF
14769aa228fdSmrg
14779aa228fdSmrg
14789aa228fdSmrg## ----------- ##
14799aa228fdSmrg## Core tests. ##
14809aa228fdSmrg## ----------- ##
14819aa228fdSmrg
14829aa228fdSmrg_ACEOF
14839aa228fdSmrg
14849aa228fdSmrg
14859aa228fdSmrg# Keep a trace of the command line.
14869aa228fdSmrg# Strip out --no-create and --no-recursion so they do not pile up.
14879aa228fdSmrg# Strip out --silent because we don't want to record it for future runs.
14889aa228fdSmrg# Also quote any args containing shell meta-characters.
14899aa228fdSmrg# Make two passes to allow for proper duplicate-argument suppression.
14909aa228fdSmrgac_configure_args=
14919aa228fdSmrgac_configure_args0=
14929aa228fdSmrgac_configure_args1=
14939aa228fdSmrgac_must_keep_next=false
14949aa228fdSmrgfor ac_pass in 1 2
14959aa228fdSmrgdo
14969aa228fdSmrg  for ac_arg
14979aa228fdSmrg  do
14989aa228fdSmrg    case $ac_arg in
14999aa228fdSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
15009aa228fdSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15019aa228fdSmrg    | -silent | --silent | --silen | --sile | --sil)
15029aa228fdSmrg      continue ;;
15039aa228fdSmrg    *\'*)
15049aa228fdSmrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15059aa228fdSmrg    esac
15069aa228fdSmrg    case $ac_pass in
15079aa228fdSmrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
15089aa228fdSmrg    2)
15099aa228fdSmrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
15109aa228fdSmrg      if test $ac_must_keep_next = true; then
15119aa228fdSmrg	ac_must_keep_next=false # Got value, back to normal.
15129aa228fdSmrg      else
15139aa228fdSmrg	case $ac_arg in
15149aa228fdSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
15159aa228fdSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
15169aa228fdSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
15179aa228fdSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
15189aa228fdSmrg	    case "$ac_configure_args0 " in
15199aa228fdSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
15209aa228fdSmrg	    esac
15219aa228fdSmrg	    ;;
15229aa228fdSmrg	  -* ) ac_must_keep_next=true ;;
15239aa228fdSmrg	esac
15249aa228fdSmrg      fi
15259aa228fdSmrg      ac_configure_args="$ac_configure_args '$ac_arg'"
15269aa228fdSmrg      ;;
15279aa228fdSmrg    esac
15289aa228fdSmrg  done
15299aa228fdSmrgdone
15309aa228fdSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
15319aa228fdSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
15329aa228fdSmrg
15339aa228fdSmrg# When interrupted or exit'd, cleanup temporary files, and complete
15349aa228fdSmrg# config.log.  We remove comments because anyway the quotes in there
15359aa228fdSmrg# would cause problems or look ugly.
15369aa228fdSmrg# WARNING: Use '\'' to represent an apostrophe within the trap.
15379aa228fdSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
15389aa228fdSmrgtrap 'exit_status=$?
15399aa228fdSmrg  # Save into config.log some information that might help in debugging.
15409aa228fdSmrg  {
15419aa228fdSmrg    echo
15429aa228fdSmrg
15439aa228fdSmrg    cat <<\_ASBOX
15449aa228fdSmrg## ---------------- ##
15459aa228fdSmrg## Cache variables. ##
15469aa228fdSmrg## ---------------- ##
15479aa228fdSmrg_ASBOX
15489aa228fdSmrg    echo
15499aa228fdSmrg    # The following way of writing the cache mishandles newlines in values,
15509aa228fdSmrg(
15519aa228fdSmrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
15529aa228fdSmrg    eval ac_val=\$$ac_var
15539aa228fdSmrg    case $ac_val in #(
15549aa228fdSmrg    *${as_nl}*)
15559aa228fdSmrg      case $ac_var in #(
15569aa228fdSmrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15579aa228fdSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15589aa228fdSmrg      esac
15599aa228fdSmrg      case $ac_var in #(
15609aa228fdSmrg      _ | IFS | as_nl) ;; #(
15619aa228fdSmrg      *) $as_unset $ac_var ;;
15629aa228fdSmrg      esac ;;
15639aa228fdSmrg    esac
15649aa228fdSmrg  done
15659aa228fdSmrg  (set) 2>&1 |
15669aa228fdSmrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
15679aa228fdSmrg    *${as_nl}ac_space=\ *)
15689aa228fdSmrg      sed -n \
15699aa228fdSmrg	"s/'\''/'\''\\\\'\'''\''/g;
15709aa228fdSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
15719aa228fdSmrg      ;; #(
15729aa228fdSmrg    *)
15739aa228fdSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15749aa228fdSmrg      ;;
15759aa228fdSmrg    esac |
15769aa228fdSmrg    sort
15779aa228fdSmrg)
15789aa228fdSmrg    echo
15799aa228fdSmrg
15809aa228fdSmrg    cat <<\_ASBOX
15819aa228fdSmrg## ----------------- ##
15829aa228fdSmrg## Output variables. ##
15839aa228fdSmrg## ----------------- ##
15849aa228fdSmrg_ASBOX
15859aa228fdSmrg    echo
15869aa228fdSmrg    for ac_var in $ac_subst_vars
15879aa228fdSmrg    do
15889aa228fdSmrg      eval ac_val=\$$ac_var
15899aa228fdSmrg      case $ac_val in
15909aa228fdSmrg      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15919aa228fdSmrg      esac
15929aa228fdSmrg      echo "$ac_var='\''$ac_val'\''"
15939aa228fdSmrg    done | sort
15949aa228fdSmrg    echo
15959aa228fdSmrg
15969aa228fdSmrg    if test -n "$ac_subst_files"; then
15979aa228fdSmrg      cat <<\_ASBOX
15989aa228fdSmrg## ------------------- ##
15999aa228fdSmrg## File substitutions. ##
16009aa228fdSmrg## ------------------- ##
16019aa228fdSmrg_ASBOX
16029aa228fdSmrg      echo
16039aa228fdSmrg      for ac_var in $ac_subst_files
16049aa228fdSmrg      do
16059aa228fdSmrg	eval ac_val=\$$ac_var
16069aa228fdSmrg	case $ac_val in
16079aa228fdSmrg	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
16089aa228fdSmrg	esac
16099aa228fdSmrg	echo "$ac_var='\''$ac_val'\''"
16109aa228fdSmrg      done | sort
16119aa228fdSmrg      echo
16129aa228fdSmrg    fi
16139aa228fdSmrg
16149aa228fdSmrg    if test -s confdefs.h; then
16159aa228fdSmrg      cat <<\_ASBOX
16169aa228fdSmrg## ----------- ##
16179aa228fdSmrg## confdefs.h. ##
16189aa228fdSmrg## ----------- ##
16199aa228fdSmrg_ASBOX
16209aa228fdSmrg      echo
16219aa228fdSmrg      cat confdefs.h
16229aa228fdSmrg      echo
16239aa228fdSmrg    fi
16249aa228fdSmrg    test "$ac_signal" != 0 &&
16259aa228fdSmrg      echo "$as_me: caught signal $ac_signal"
16269aa228fdSmrg    echo "$as_me: exit $exit_status"
16279aa228fdSmrg  } >&5
16289aa228fdSmrg  rm -f core *.core core.conftest.* &&
16299aa228fdSmrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
16309aa228fdSmrg    exit $exit_status
16319aa228fdSmrg' 0
16329aa228fdSmrgfor ac_signal in 1 2 13 15; do
16339aa228fdSmrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
16349aa228fdSmrgdone
16359aa228fdSmrgac_signal=0
16369aa228fdSmrg
16379aa228fdSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
16389aa228fdSmrgrm -f -r conftest* confdefs.h
16399aa228fdSmrg
16409aa228fdSmrg# Predefined preprocessor variables.
16419aa228fdSmrg
16429aa228fdSmrgcat >>confdefs.h <<_ACEOF
16439aa228fdSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
16449aa228fdSmrg_ACEOF
16459aa228fdSmrg
16469aa228fdSmrg
16479aa228fdSmrgcat >>confdefs.h <<_ACEOF
16489aa228fdSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16499aa228fdSmrg_ACEOF
16509aa228fdSmrg
16519aa228fdSmrg
16529aa228fdSmrgcat >>confdefs.h <<_ACEOF
16539aa228fdSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
16549aa228fdSmrg_ACEOF
16559aa228fdSmrg
16569aa228fdSmrg
16579aa228fdSmrgcat >>confdefs.h <<_ACEOF
16589aa228fdSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
16599aa228fdSmrg_ACEOF
16609aa228fdSmrg
16619aa228fdSmrg
16629aa228fdSmrgcat >>confdefs.h <<_ACEOF
16639aa228fdSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16649aa228fdSmrg_ACEOF
16659aa228fdSmrg
16669aa228fdSmrg
16679aa228fdSmrg# Let the site file select an alternate cache file if it wants to.
16689aa228fdSmrg# Prefer explicitly selected file to automatically selected ones.
16699aa228fdSmrgif test -n "$CONFIG_SITE"; then
16709aa228fdSmrg  set x "$CONFIG_SITE"
16719aa228fdSmrgelif test "x$prefix" != xNONE; then
16729aa228fdSmrg  set x "$prefix/share/config.site" "$prefix/etc/config.site"
16739aa228fdSmrgelse
16749aa228fdSmrg  set x "$ac_default_prefix/share/config.site" \
16759aa228fdSmrg	"$ac_default_prefix/etc/config.site"
16769aa228fdSmrgfi
16779aa228fdSmrgshift
16789aa228fdSmrgfor ac_site_file
16799aa228fdSmrgdo
16809aa228fdSmrg  if test -r "$ac_site_file"; then
16819aa228fdSmrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
16829aa228fdSmrgecho "$as_me: loading site script $ac_site_file" >&6;}
16839aa228fdSmrg    sed 's/^/| /' "$ac_site_file" >&5
16849aa228fdSmrg    . "$ac_site_file"
16859aa228fdSmrg  fi
16869aa228fdSmrgdone
16879aa228fdSmrg
16889aa228fdSmrgif test -r "$cache_file"; then
16899aa228fdSmrg  # Some versions of bash will fail to source /dev/null (special
16909aa228fdSmrg  # files actually), so we avoid doing that.
16919aa228fdSmrg  if test -f "$cache_file"; then
16929aa228fdSmrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
16939aa228fdSmrgecho "$as_me: loading cache $cache_file" >&6;}
16949aa228fdSmrg    case $cache_file in
16959aa228fdSmrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
16969aa228fdSmrg      *)                      . "./$cache_file";;
16979aa228fdSmrg    esac
16989aa228fdSmrg  fi
16999aa228fdSmrgelse
17009aa228fdSmrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
17019aa228fdSmrgecho "$as_me: creating cache $cache_file" >&6;}
17029aa228fdSmrg  >$cache_file
17039aa228fdSmrgfi
17049aa228fdSmrg
17059aa228fdSmrg# Check that the precious variables saved in the cache have kept the same
17069aa228fdSmrg# value.
17079aa228fdSmrgac_cache_corrupted=false
17089aa228fdSmrgfor ac_var in $ac_precious_vars; do
17099aa228fdSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
17109aa228fdSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
17119aa228fdSmrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
17129aa228fdSmrg  eval ac_new_val=\$ac_env_${ac_var}_value
17139aa228fdSmrg  case $ac_old_set,$ac_new_set in
17149aa228fdSmrg    set,)
17159aa228fdSmrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17169aa228fdSmrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17179aa228fdSmrg      ac_cache_corrupted=: ;;
17189aa228fdSmrg    ,set)
17199aa228fdSmrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
17209aa228fdSmrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17219aa228fdSmrg      ac_cache_corrupted=: ;;
17229aa228fdSmrg    ,);;
17239aa228fdSmrg    *)
17249aa228fdSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
17259aa228fdSmrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
17269aa228fdSmrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17279aa228fdSmrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
17289aa228fdSmrgecho "$as_me:   former value:  $ac_old_val" >&2;}
17299aa228fdSmrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
17309aa228fdSmrgecho "$as_me:   current value: $ac_new_val" >&2;}
17319aa228fdSmrg	ac_cache_corrupted=:
17329aa228fdSmrg      fi;;
17339aa228fdSmrg  esac
17349aa228fdSmrg  # Pass precious variables to config.status.
17359aa228fdSmrg  if test "$ac_new_set" = set; then
17369aa228fdSmrg    case $ac_new_val in
17379aa228fdSmrg    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17389aa228fdSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
17399aa228fdSmrg    esac
17409aa228fdSmrg    case " $ac_configure_args " in
17419aa228fdSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
17429aa228fdSmrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
17439aa228fdSmrg    esac
17449aa228fdSmrg  fi
17459aa228fdSmrgdone
17469aa228fdSmrgif $ac_cache_corrupted; then
17479aa228fdSmrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
17489aa228fdSmrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
17499aa228fdSmrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
17509aa228fdSmrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
17519aa228fdSmrg   { (exit 1); exit 1; }; }
17529aa228fdSmrgfi
17539aa228fdSmrg
17549aa228fdSmrg
17559aa228fdSmrg
17569aa228fdSmrg
17579aa228fdSmrg
17589aa228fdSmrg
17599aa228fdSmrg
17609aa228fdSmrg
17619aa228fdSmrg
17629aa228fdSmrg
17639aa228fdSmrg
17649aa228fdSmrg
17659aa228fdSmrg
17669aa228fdSmrg
17679aa228fdSmrg
17689aa228fdSmrg
17699aa228fdSmrg
17709aa228fdSmrg
17719aa228fdSmrg
17729aa228fdSmrg
17739aa228fdSmrg
17749aa228fdSmrg
17759aa228fdSmrg
17769aa228fdSmrg
17779aa228fdSmrg
17789aa228fdSmrgac_ext=c
17799aa228fdSmrgac_cpp='$CPP $CPPFLAGS'
17809aa228fdSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17819aa228fdSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17829aa228fdSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
17839aa228fdSmrg
17849aa228fdSmrg
17859aa228fdSmrgam__api_version='1.10'
17869aa228fdSmrg
17879aa228fdSmrgac_aux_dir=
17889aa228fdSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17899aa228fdSmrg  if test -f "$ac_dir/install-sh"; then
17909aa228fdSmrg    ac_aux_dir=$ac_dir
17919aa228fdSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
17929aa228fdSmrg    break
17939aa228fdSmrg  elif test -f "$ac_dir/install.sh"; then
17949aa228fdSmrg    ac_aux_dir=$ac_dir
17959aa228fdSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
17969aa228fdSmrg    break
17979aa228fdSmrg  elif test -f "$ac_dir/shtool"; then
17989aa228fdSmrg    ac_aux_dir=$ac_dir
17999aa228fdSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
18009aa228fdSmrg    break
18019aa228fdSmrg  fi
18029aa228fdSmrgdone
18039aa228fdSmrgif test -z "$ac_aux_dir"; then
18049aa228fdSmrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
18059aa228fdSmrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
18069aa228fdSmrg   { (exit 1); exit 1; }; }
18079aa228fdSmrgfi
18089aa228fdSmrg
18099aa228fdSmrg# These three variables are undocumented and unsupported,
18109aa228fdSmrg# and are intended to be withdrawn in a future Autoconf release.
18119aa228fdSmrg# They can cause serious problems if a builder's source tree is in a directory
18129aa228fdSmrg# whose full name contains unusual characters.
18139aa228fdSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
18149aa228fdSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
18159aa228fdSmrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
18169aa228fdSmrg
18179aa228fdSmrg
18189aa228fdSmrg# Find a good install program.  We prefer a C program (faster),
18199aa228fdSmrg# so one script is as good as another.  But avoid the broken or
18209aa228fdSmrg# incompatible versions:
18219aa228fdSmrg# SysV /etc/install, /usr/sbin/install
18229aa228fdSmrg# SunOS /usr/etc/install
18239aa228fdSmrg# IRIX /sbin/install
18249aa228fdSmrg# AIX /bin/install
18259aa228fdSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
18269aa228fdSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18279aa228fdSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
18289aa228fdSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18299aa228fdSmrg# OS/2's system install, which has a completely different semantic
18309aa228fdSmrg# ./install, which can be erroneously created by make from ./install.sh.
18319aa228fdSmrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18329aa228fdSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
18339aa228fdSmrgif test -z "$INSTALL"; then
18349aa228fdSmrgif test "${ac_cv_path_install+set}" = set; then
18359aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
18369aa228fdSmrgelse
18379aa228fdSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18389aa228fdSmrgfor as_dir in $PATH
18399aa228fdSmrgdo
18409aa228fdSmrg  IFS=$as_save_IFS
18419aa228fdSmrg  test -z "$as_dir" && as_dir=.
18429aa228fdSmrg  # Account for people who put trailing slashes in PATH elements.
18439aa228fdSmrgcase $as_dir/ in
18449aa228fdSmrg  ./ | .// | /cC/* | \
18459aa228fdSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
18469aa228fdSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18479aa228fdSmrg  /usr/ucb/* ) ;;
18489aa228fdSmrg  *)
18499aa228fdSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
18509aa228fdSmrg    # Don't use installbsd from OSF since it installs stuff as root
18519aa228fdSmrg    # by default.
18529aa228fdSmrg    for ac_prog in ginstall scoinst install; do
18539aa228fdSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
18549aa228fdSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
18559aa228fdSmrg	  if test $ac_prog = install &&
18569aa228fdSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18579aa228fdSmrg	    # AIX install.  It has an incompatible calling convention.
18589aa228fdSmrg	    :
18599aa228fdSmrg	  elif test $ac_prog = install &&
18609aa228fdSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18619aa228fdSmrg	    # program-specific install script used by HP pwplus--don't use.
18629aa228fdSmrg	    :
18639aa228fdSmrg	  else
18649aa228fdSmrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18659aa228fdSmrg	    break 3
18669aa228fdSmrg	  fi
18679aa228fdSmrg	fi
18689aa228fdSmrg      done
18699aa228fdSmrg    done
18709aa228fdSmrg    ;;
18719aa228fdSmrgesac
18729aa228fdSmrgdone
18739aa228fdSmrgIFS=$as_save_IFS
18749aa228fdSmrg
18759aa228fdSmrg
18769aa228fdSmrgfi
18779aa228fdSmrg  if test "${ac_cv_path_install+set}" = set; then
18789aa228fdSmrg    INSTALL=$ac_cv_path_install
18799aa228fdSmrg  else
18809aa228fdSmrg    # As a last resort, use the slow shell script.  Don't cache a
18819aa228fdSmrg    # value for INSTALL within a source directory, because that will
18829aa228fdSmrg    # break other packages using the cache if that directory is
18839aa228fdSmrg    # removed, or if the value is a relative name.
18849aa228fdSmrg    INSTALL=$ac_install_sh
18859aa228fdSmrg  fi
18869aa228fdSmrgfi
18879aa228fdSmrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
18889aa228fdSmrgecho "${ECHO_T}$INSTALL" >&6; }
18899aa228fdSmrg
18909aa228fdSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18919aa228fdSmrg# It thinks the first close brace ends the variable substitution.
18929aa228fdSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
18939aa228fdSmrg
18949aa228fdSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
18959aa228fdSmrg
18969aa228fdSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18979aa228fdSmrg
18989aa228fdSmrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
18999aa228fdSmrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
19009aa228fdSmrg# Just in case
19019aa228fdSmrgsleep 1
19029aa228fdSmrgecho timestamp > conftest.file
19039aa228fdSmrg# Do `set' in a subshell so we don't clobber the current shell's
19049aa228fdSmrg# arguments.  Must try -L first in case configure is actually a
19059aa228fdSmrg# symlink; some systems play weird games with the mod time of symlinks
19069aa228fdSmrg# (eg FreeBSD returns the mod time of the symlink's containing
19079aa228fdSmrg# directory).
19089aa228fdSmrgif (
19099aa228fdSmrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
19109aa228fdSmrg   if test "$*" = "X"; then
19119aa228fdSmrg      # -L didn't work.
19129aa228fdSmrg      set X `ls -t $srcdir/configure conftest.file`
19139aa228fdSmrg   fi
19149aa228fdSmrg   rm -f conftest.file
19159aa228fdSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
19169aa228fdSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
19179aa228fdSmrg
19189aa228fdSmrg      # If neither matched, then we have a broken ls.  This can happen
19199aa228fdSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
19209aa228fdSmrg      # broken ls alias from the environment.  This has actually
19219aa228fdSmrg      # happened.  Such a system could not be considered "sane".
19229aa228fdSmrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
19239aa228fdSmrgalias in your environment" >&5
19249aa228fdSmrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
19259aa228fdSmrgalias in your environment" >&2;}
19269aa228fdSmrg   { (exit 1); exit 1; }; }
19279aa228fdSmrg   fi
19289aa228fdSmrg
19299aa228fdSmrg   test "$2" = conftest.file
19309aa228fdSmrg   )
19319aa228fdSmrgthen
19329aa228fdSmrg   # Ok.
19339aa228fdSmrg   :
19349aa228fdSmrgelse
19359aa228fdSmrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
19369aa228fdSmrgCheck your system clock" >&5
19379aa228fdSmrgecho "$as_me: error: newly created file is older than distributed files!
19389aa228fdSmrgCheck your system clock" >&2;}
19399aa228fdSmrg   { (exit 1); exit 1; }; }
19409aa228fdSmrgfi
19419aa228fdSmrg{ echo "$as_me:$LINENO: result: yes" >&5
19429aa228fdSmrgecho "${ECHO_T}yes" >&6; }
19439aa228fdSmrgtest "$program_prefix" != NONE &&
19449aa228fdSmrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
19459aa228fdSmrg# Use a double $ so make ignores it.
19469aa228fdSmrgtest "$program_suffix" != NONE &&
19479aa228fdSmrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
19489aa228fdSmrg# Double any \ or $.  echo might interpret backslashes.
19499aa228fdSmrg# By default was `s,x,x', remove it if useless.
19509aa228fdSmrgcat <<\_ACEOF >conftest.sed
19519aa228fdSmrgs/[\\$]/&&/g;s/;s,x,x,$//
19529aa228fdSmrg_ACEOF
19539aa228fdSmrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
19549aa228fdSmrgrm -f conftest.sed
19559aa228fdSmrg
19569aa228fdSmrg# expand $ac_aux_dir to an absolute path
19579aa228fdSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
19589aa228fdSmrg
19599aa228fdSmrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
19609aa228fdSmrg# Use eval to expand $SHELL
19619aa228fdSmrgif eval "$MISSING --run true"; then
19629aa228fdSmrg  am_missing_run="$MISSING --run "
19639aa228fdSmrgelse
19649aa228fdSmrg  am_missing_run=
19659aa228fdSmrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
19669aa228fdSmrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
19679aa228fdSmrgfi
19689aa228fdSmrg
19699aa228fdSmrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
19709aa228fdSmrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
19719aa228fdSmrgif test -z "$MKDIR_P"; then
19729aa228fdSmrg  if test "${ac_cv_path_mkdir+set}" = set; then
19739aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
19749aa228fdSmrgelse
19759aa228fdSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19769aa228fdSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19779aa228fdSmrgdo
19789aa228fdSmrg  IFS=$as_save_IFS
19799aa228fdSmrg  test -z "$as_dir" && as_dir=.
19809aa228fdSmrg  for ac_prog in mkdir gmkdir; do
19819aa228fdSmrg	 for ac_exec_ext in '' $ac_executable_extensions; do
19829aa228fdSmrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19839aa228fdSmrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19849aa228fdSmrg	     'mkdir (GNU coreutils) '* | \
19859aa228fdSmrg	     'mkdir (coreutils) '* | \
19869aa228fdSmrg	     'mkdir (fileutils) '4.1*)
19879aa228fdSmrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
19889aa228fdSmrg	       break 3;;
19899aa228fdSmrg	   esac
19909aa228fdSmrg	 done
19919aa228fdSmrg       done
19929aa228fdSmrgdone
19939aa228fdSmrgIFS=$as_save_IFS
19949aa228fdSmrg
19959aa228fdSmrgfi
19969aa228fdSmrg
19979aa228fdSmrg  if test "${ac_cv_path_mkdir+set}" = set; then
19989aa228fdSmrg    MKDIR_P="$ac_cv_path_mkdir -p"
19999aa228fdSmrg  else
20009aa228fdSmrg    # As a last resort, use the slow shell script.  Don't cache a
20019aa228fdSmrg    # value for MKDIR_P within a source directory, because that will
20029aa228fdSmrg    # break other packages using the cache if that directory is
20039aa228fdSmrg    # removed, or if the value is a relative name.
20049aa228fdSmrg    test -d ./--version && rmdir ./--version
20059aa228fdSmrg    MKDIR_P="$ac_install_sh -d"
20069aa228fdSmrg  fi
20079aa228fdSmrgfi
20089aa228fdSmrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
20099aa228fdSmrgecho "${ECHO_T}$MKDIR_P" >&6; }
20109aa228fdSmrg
20119aa228fdSmrgmkdir_p="$MKDIR_P"
20129aa228fdSmrgcase $mkdir_p in
20139aa228fdSmrg  [\\/$]* | ?:[\\/]*) ;;
20149aa228fdSmrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
20159aa228fdSmrgesac
20169aa228fdSmrg
20179aa228fdSmrgfor ac_prog in gawk mawk nawk awk
20189aa228fdSmrgdo
20199aa228fdSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
20209aa228fdSmrgset dummy $ac_prog; ac_word=$2
20219aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20229aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20239aa228fdSmrgif test "${ac_cv_prog_AWK+set}" = set; then
20249aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
20259aa228fdSmrgelse
20269aa228fdSmrg  if test -n "$AWK"; then
20279aa228fdSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
20289aa228fdSmrgelse
20299aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20309aa228fdSmrgfor as_dir in $PATH
20319aa228fdSmrgdo
20329aa228fdSmrg  IFS=$as_save_IFS
20339aa228fdSmrg  test -z "$as_dir" && as_dir=.
20349aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
20359aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20369aa228fdSmrg    ac_cv_prog_AWK="$ac_prog"
20379aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20389aa228fdSmrg    break 2
20399aa228fdSmrg  fi
20409aa228fdSmrgdone
20419aa228fdSmrgdone
20429aa228fdSmrgIFS=$as_save_IFS
20439aa228fdSmrg
20449aa228fdSmrgfi
20459aa228fdSmrgfi
20469aa228fdSmrgAWK=$ac_cv_prog_AWK
20479aa228fdSmrgif test -n "$AWK"; then
20489aa228fdSmrg  { echo "$as_me:$LINENO: result: $AWK" >&5
20499aa228fdSmrgecho "${ECHO_T}$AWK" >&6; }
20509aa228fdSmrgelse
20519aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
20529aa228fdSmrgecho "${ECHO_T}no" >&6; }
20539aa228fdSmrgfi
20549aa228fdSmrg
20559aa228fdSmrg
20569aa228fdSmrg  test -n "$AWK" && break
20579aa228fdSmrgdone
20589aa228fdSmrg
20599aa228fdSmrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20609aa228fdSmrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20619aa228fdSmrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20629aa228fdSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20639aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
20649aa228fdSmrgelse
20659aa228fdSmrg  cat >conftest.make <<\_ACEOF
20669aa228fdSmrgSHELL = /bin/sh
20679aa228fdSmrgall:
20689aa228fdSmrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
20699aa228fdSmrg_ACEOF
20709aa228fdSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20719aa228fdSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
20729aa228fdSmrg  *@@@%%%=?*=@@@%%%*)
20739aa228fdSmrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
20749aa228fdSmrg  *)
20759aa228fdSmrg    eval ac_cv_prog_make_${ac_make}_set=no;;
20769aa228fdSmrgesac
20779aa228fdSmrgrm -f conftest.make
20789aa228fdSmrgfi
20799aa228fdSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
20809aa228fdSmrg  { echo "$as_me:$LINENO: result: yes" >&5
20819aa228fdSmrgecho "${ECHO_T}yes" >&6; }
20829aa228fdSmrg  SET_MAKE=
20839aa228fdSmrgelse
20849aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
20859aa228fdSmrgecho "${ECHO_T}no" >&6; }
20869aa228fdSmrg  SET_MAKE="MAKE=${MAKE-make}"
20879aa228fdSmrgfi
20889aa228fdSmrg
20899aa228fdSmrgrm -rf .tst 2>/dev/null
20909aa228fdSmrgmkdir .tst 2>/dev/null
20919aa228fdSmrgif test -d .tst; then
20929aa228fdSmrg  am__leading_dot=.
20939aa228fdSmrgelse
20949aa228fdSmrg  am__leading_dot=_
20959aa228fdSmrgfi
20969aa228fdSmrgrmdir .tst 2>/dev/null
20979aa228fdSmrg
20989aa228fdSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
20999aa228fdSmrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
21009aa228fdSmrg  # is not polluted with repeated "-I."
21019aa228fdSmrg  am__isrc=' -I$(srcdir)'
21029aa228fdSmrg  # test to see if srcdir already configured
21039aa228fdSmrg  if test -f $srcdir/config.status; then
21049aa228fdSmrg    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
21059aa228fdSmrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
21069aa228fdSmrg   { (exit 1); exit 1; }; }
21079aa228fdSmrg  fi
21089aa228fdSmrgfi
21099aa228fdSmrg
21109aa228fdSmrg# test whether we have cygpath
21119aa228fdSmrgif test -z "$CYGPATH_W"; then
21129aa228fdSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
21139aa228fdSmrg    CYGPATH_W='cygpath -w'
21149aa228fdSmrg  else
21159aa228fdSmrg    CYGPATH_W=echo
21169aa228fdSmrg  fi
21179aa228fdSmrgfi
21189aa228fdSmrg
21199aa228fdSmrg
21209aa228fdSmrg# Define the identity of the package.
21219aa228fdSmrg PACKAGE='xmag'
212283d7c197Smrg VERSION='1.0.3'
21239aa228fdSmrg
21249aa228fdSmrg
21259aa228fdSmrgcat >>confdefs.h <<_ACEOF
21269aa228fdSmrg#define PACKAGE "$PACKAGE"
21279aa228fdSmrg_ACEOF
21289aa228fdSmrg
21299aa228fdSmrg
21309aa228fdSmrgcat >>confdefs.h <<_ACEOF
21319aa228fdSmrg#define VERSION "$VERSION"
21329aa228fdSmrg_ACEOF
21339aa228fdSmrg
21349aa228fdSmrg# Some tools Automake needs.
21359aa228fdSmrg
21369aa228fdSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
21379aa228fdSmrg
21389aa228fdSmrg
21399aa228fdSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
21409aa228fdSmrg
21419aa228fdSmrg
21429aa228fdSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
21439aa228fdSmrg
21449aa228fdSmrg
21459aa228fdSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
21469aa228fdSmrg
21479aa228fdSmrg
21489aa228fdSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
21499aa228fdSmrg
21509aa228fdSmrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
21519aa228fdSmrg
21529aa228fdSmrg# Installed binaries are usually stripped using `strip' when the user
21539aa228fdSmrg# run `make install-strip'.  However `strip' might not be the right
21549aa228fdSmrg# tool to use in cross-compilation environments, therefore Automake
21559aa228fdSmrg# will honor the `STRIP' environment variable to overrule this program.
21569aa228fdSmrgif test "$cross_compiling" != no; then
21579aa228fdSmrg  if test -n "$ac_tool_prefix"; then
21589aa228fdSmrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21599aa228fdSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21609aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21619aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21629aa228fdSmrgif test "${ac_cv_prog_STRIP+set}" = set; then
21639aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
21649aa228fdSmrgelse
21659aa228fdSmrg  if test -n "$STRIP"; then
21669aa228fdSmrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21679aa228fdSmrgelse
21689aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21699aa228fdSmrgfor as_dir in $PATH
21709aa228fdSmrgdo
21719aa228fdSmrg  IFS=$as_save_IFS
21729aa228fdSmrg  test -z "$as_dir" && as_dir=.
21739aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
21749aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21759aa228fdSmrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21769aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21779aa228fdSmrg    break 2
21789aa228fdSmrg  fi
21799aa228fdSmrgdone
21809aa228fdSmrgdone
21819aa228fdSmrgIFS=$as_save_IFS
21829aa228fdSmrg
21839aa228fdSmrgfi
21849aa228fdSmrgfi
21859aa228fdSmrgSTRIP=$ac_cv_prog_STRIP
21869aa228fdSmrgif test -n "$STRIP"; then
21879aa228fdSmrg  { echo "$as_me:$LINENO: result: $STRIP" >&5
21889aa228fdSmrgecho "${ECHO_T}$STRIP" >&6; }
21899aa228fdSmrgelse
21909aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
21919aa228fdSmrgecho "${ECHO_T}no" >&6; }
21929aa228fdSmrgfi
21939aa228fdSmrg
21949aa228fdSmrg
21959aa228fdSmrgfi
21969aa228fdSmrgif test -z "$ac_cv_prog_STRIP"; then
21979aa228fdSmrg  ac_ct_STRIP=$STRIP
21989aa228fdSmrg  # Extract the first word of "strip", so it can be a program name with args.
21999aa228fdSmrgset dummy strip; ac_word=$2
22009aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22019aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22029aa228fdSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
22039aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
22049aa228fdSmrgelse
22059aa228fdSmrg  if test -n "$ac_ct_STRIP"; then
22069aa228fdSmrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
22079aa228fdSmrgelse
22089aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22099aa228fdSmrgfor as_dir in $PATH
22109aa228fdSmrgdo
22119aa228fdSmrg  IFS=$as_save_IFS
22129aa228fdSmrg  test -z "$as_dir" && as_dir=.
22139aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
22149aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22159aa228fdSmrg    ac_cv_prog_ac_ct_STRIP="strip"
22169aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22179aa228fdSmrg    break 2
22189aa228fdSmrg  fi
22199aa228fdSmrgdone
22209aa228fdSmrgdone
22219aa228fdSmrgIFS=$as_save_IFS
22229aa228fdSmrg
22239aa228fdSmrgfi
22249aa228fdSmrgfi
22259aa228fdSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
22269aa228fdSmrgif test -n "$ac_ct_STRIP"; then
22279aa228fdSmrg  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
22289aa228fdSmrgecho "${ECHO_T}$ac_ct_STRIP" >&6; }
22299aa228fdSmrgelse
22309aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
22319aa228fdSmrgecho "${ECHO_T}no" >&6; }
22329aa228fdSmrgfi
22339aa228fdSmrg
22349aa228fdSmrg  if test "x$ac_ct_STRIP" = x; then
22359aa228fdSmrg    STRIP=":"
22369aa228fdSmrg  else
22379aa228fdSmrg    case $cross_compiling:$ac_tool_warned in
22389aa228fdSmrgyes:)
22399aa228fdSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22409aa228fdSmrgwhose name does not start with the host triplet.  If you think this
22419aa228fdSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
22429aa228fdSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22439aa228fdSmrgwhose name does not start with the host triplet.  If you think this
22449aa228fdSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
22459aa228fdSmrgac_tool_warned=yes ;;
22469aa228fdSmrgesac
22479aa228fdSmrg    STRIP=$ac_ct_STRIP
22489aa228fdSmrg  fi
22499aa228fdSmrgelse
22509aa228fdSmrg  STRIP="$ac_cv_prog_STRIP"
22519aa228fdSmrgfi
22529aa228fdSmrg
22539aa228fdSmrgfi
22549aa228fdSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22559aa228fdSmrg
22569aa228fdSmrg# We need awk for the "check" target.  The system "awk" is bad on
22579aa228fdSmrg# some platforms.
22589aa228fdSmrg# Always define AMTAR for backward compatibility.
22599aa228fdSmrg
22609aa228fdSmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
22619aa228fdSmrg
22629aa228fdSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
22639aa228fdSmrg
22649aa228fdSmrg
22659aa228fdSmrg
22669aa228fdSmrg
22679aa228fdSmrg
22689aa228fdSmrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
22699aa228fdSmrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
22709aa228fdSmrg    # Check whether --enable-maintainer-mode was given.
22719aa228fdSmrgif test "${enable_maintainer_mode+set}" = set; then
22729aa228fdSmrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
22739aa228fdSmrgelse
22749aa228fdSmrg  USE_MAINTAINER_MODE=no
22759aa228fdSmrgfi
22769aa228fdSmrg
22779aa228fdSmrg  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
22789aa228fdSmrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
22799aa228fdSmrg   if test $USE_MAINTAINER_MODE = yes; then
22809aa228fdSmrg  MAINTAINER_MODE_TRUE=
22819aa228fdSmrg  MAINTAINER_MODE_FALSE='#'
22829aa228fdSmrgelse
22839aa228fdSmrg  MAINTAINER_MODE_TRUE='#'
22849aa228fdSmrg  MAINTAINER_MODE_FALSE=
22859aa228fdSmrgfi
22869aa228fdSmrg
22879aa228fdSmrg  MAINT=$MAINTAINER_MODE_TRUE
22889aa228fdSmrg
22899aa228fdSmrg
22909aa228fdSmrg
229183d7c197Smrg# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
229283d7c197Smrg
229383d7c197Smrg
229483d7c197Smrg
229583d7c197Smrg
229683d7c197Smrg
229783d7c197Smrg
229883d7c197Smrg
229983d7c197Smrg
230083d7c197Smrg
230183d7c197Smrg
230283d7c197Smrg
230383d7c197Smrg
23049aa228fdSmrgac_config_headers="$ac_config_headers config.h"
23059aa228fdSmrg
23069aa228fdSmrg
23079aa228fdSmrgac_ext=c
23089aa228fdSmrgac_cpp='$CPP $CPPFLAGS'
23099aa228fdSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109aa228fdSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119aa228fdSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
23129aa228fdSmrgif test -n "$ac_tool_prefix"; then
23139aa228fdSmrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
23149aa228fdSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
23159aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23169aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23179aa228fdSmrgif test "${ac_cv_prog_CC+set}" = set; then
23189aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23199aa228fdSmrgelse
23209aa228fdSmrg  if test -n "$CC"; then
23219aa228fdSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
23229aa228fdSmrgelse
23239aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23249aa228fdSmrgfor as_dir in $PATH
23259aa228fdSmrgdo
23269aa228fdSmrg  IFS=$as_save_IFS
23279aa228fdSmrg  test -z "$as_dir" && as_dir=.
23289aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
23299aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23309aa228fdSmrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
23319aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23329aa228fdSmrg    break 2
23339aa228fdSmrg  fi
23349aa228fdSmrgdone
23359aa228fdSmrgdone
23369aa228fdSmrgIFS=$as_save_IFS
23379aa228fdSmrg
23389aa228fdSmrgfi
23399aa228fdSmrgfi
23409aa228fdSmrgCC=$ac_cv_prog_CC
23419aa228fdSmrgif test -n "$CC"; then
23429aa228fdSmrg  { echo "$as_me:$LINENO: result: $CC" >&5
23439aa228fdSmrgecho "${ECHO_T}$CC" >&6; }
23449aa228fdSmrgelse
23459aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
23469aa228fdSmrgecho "${ECHO_T}no" >&6; }
23479aa228fdSmrgfi
23489aa228fdSmrg
23499aa228fdSmrg
23509aa228fdSmrgfi
23519aa228fdSmrgif test -z "$ac_cv_prog_CC"; then
23529aa228fdSmrg  ac_ct_CC=$CC
23539aa228fdSmrg  # Extract the first word of "gcc", so it can be a program name with args.
23549aa228fdSmrgset dummy gcc; ac_word=$2
23559aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23569aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23579aa228fdSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23589aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23599aa228fdSmrgelse
23609aa228fdSmrg  if test -n "$ac_ct_CC"; then
23619aa228fdSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23629aa228fdSmrgelse
23639aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23649aa228fdSmrgfor as_dir in $PATH
23659aa228fdSmrgdo
23669aa228fdSmrg  IFS=$as_save_IFS
23679aa228fdSmrg  test -z "$as_dir" && as_dir=.
23689aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
23699aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23709aa228fdSmrg    ac_cv_prog_ac_ct_CC="gcc"
23719aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23729aa228fdSmrg    break 2
23739aa228fdSmrg  fi
23749aa228fdSmrgdone
23759aa228fdSmrgdone
23769aa228fdSmrgIFS=$as_save_IFS
23779aa228fdSmrg
23789aa228fdSmrgfi
23799aa228fdSmrgfi
23809aa228fdSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
23819aa228fdSmrgif test -n "$ac_ct_CC"; then
23829aa228fdSmrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23839aa228fdSmrgecho "${ECHO_T}$ac_ct_CC" >&6; }
23849aa228fdSmrgelse
23859aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
23869aa228fdSmrgecho "${ECHO_T}no" >&6; }
23879aa228fdSmrgfi
23889aa228fdSmrg
23899aa228fdSmrg  if test "x$ac_ct_CC" = x; then
23909aa228fdSmrg    CC=""
23919aa228fdSmrg  else
23929aa228fdSmrg    case $cross_compiling:$ac_tool_warned in
23939aa228fdSmrgyes:)
23949aa228fdSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23959aa228fdSmrgwhose name does not start with the host triplet.  If you think this
23969aa228fdSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
23979aa228fdSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23989aa228fdSmrgwhose name does not start with the host triplet.  If you think this
23999aa228fdSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
24009aa228fdSmrgac_tool_warned=yes ;;
24019aa228fdSmrgesac
24029aa228fdSmrg    CC=$ac_ct_CC
24039aa228fdSmrg  fi
24049aa228fdSmrgelse
24059aa228fdSmrg  CC="$ac_cv_prog_CC"
24069aa228fdSmrgfi
24079aa228fdSmrg
24089aa228fdSmrgif test -z "$CC"; then
24099aa228fdSmrg          if test -n "$ac_tool_prefix"; then
24109aa228fdSmrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
24119aa228fdSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2
24129aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24139aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24149aa228fdSmrgif test "${ac_cv_prog_CC+set}" = set; then
24159aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
24169aa228fdSmrgelse
24179aa228fdSmrg  if test -n "$CC"; then
24189aa228fdSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
24199aa228fdSmrgelse
24209aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24219aa228fdSmrgfor as_dir in $PATH
24229aa228fdSmrgdo
24239aa228fdSmrg  IFS=$as_save_IFS
24249aa228fdSmrg  test -z "$as_dir" && as_dir=.
24259aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
24269aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24279aa228fdSmrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
24289aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24299aa228fdSmrg    break 2
24309aa228fdSmrg  fi
24319aa228fdSmrgdone
24329aa228fdSmrgdone
24339aa228fdSmrgIFS=$as_save_IFS
24349aa228fdSmrg
24359aa228fdSmrgfi
24369aa228fdSmrgfi
24379aa228fdSmrgCC=$ac_cv_prog_CC
24389aa228fdSmrgif test -n "$CC"; then
24399aa228fdSmrg  { echo "$as_me:$LINENO: result: $CC" >&5
24409aa228fdSmrgecho "${ECHO_T}$CC" >&6; }
24419aa228fdSmrgelse
24429aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
24439aa228fdSmrgecho "${ECHO_T}no" >&6; }
24449aa228fdSmrgfi
24459aa228fdSmrg
24469aa228fdSmrg
24479aa228fdSmrg  fi
24489aa228fdSmrgfi
24499aa228fdSmrgif test -z "$CC"; then
24509aa228fdSmrg  # Extract the first word of "cc", so it can be a program name with args.
24519aa228fdSmrgset dummy cc; ac_word=$2
24529aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24539aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24549aa228fdSmrgif test "${ac_cv_prog_CC+set}" = set; then
24559aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
24569aa228fdSmrgelse
24579aa228fdSmrg  if test -n "$CC"; then
24589aa228fdSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
24599aa228fdSmrgelse
24609aa228fdSmrg  ac_prog_rejected=no
24619aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24629aa228fdSmrgfor as_dir in $PATH
24639aa228fdSmrgdo
24649aa228fdSmrg  IFS=$as_save_IFS
24659aa228fdSmrg  test -z "$as_dir" && as_dir=.
24669aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
24679aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24689aa228fdSmrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24699aa228fdSmrg       ac_prog_rejected=yes
24709aa228fdSmrg       continue
24719aa228fdSmrg     fi
24729aa228fdSmrg    ac_cv_prog_CC="cc"
24739aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24749aa228fdSmrg    break 2
24759aa228fdSmrg  fi
24769aa228fdSmrgdone
24779aa228fdSmrgdone
24789aa228fdSmrgIFS=$as_save_IFS
24799aa228fdSmrg
24809aa228fdSmrgif test $ac_prog_rejected = yes; then
24819aa228fdSmrg  # We found a bogon in the path, so make sure we never use it.
24829aa228fdSmrg  set dummy $ac_cv_prog_CC
24839aa228fdSmrg  shift
24849aa228fdSmrg  if test $# != 0; then
24859aa228fdSmrg    # We chose a different compiler from the bogus one.
24869aa228fdSmrg    # However, it has the same basename, so the bogon will be chosen
24879aa228fdSmrg    # first if we set CC to just the basename; use the full file name.
24889aa228fdSmrg    shift
24899aa228fdSmrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
24909aa228fdSmrg  fi
24919aa228fdSmrgfi
24929aa228fdSmrgfi
24939aa228fdSmrgfi
24949aa228fdSmrgCC=$ac_cv_prog_CC
24959aa228fdSmrgif test -n "$CC"; then
24969aa228fdSmrg  { echo "$as_me:$LINENO: result: $CC" >&5
24979aa228fdSmrgecho "${ECHO_T}$CC" >&6; }
24989aa228fdSmrgelse
24999aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
25009aa228fdSmrgecho "${ECHO_T}no" >&6; }
25019aa228fdSmrgfi
25029aa228fdSmrg
25039aa228fdSmrg
25049aa228fdSmrgfi
25059aa228fdSmrgif test -z "$CC"; then
25069aa228fdSmrg  if test -n "$ac_tool_prefix"; then
25079aa228fdSmrg  for ac_prog in cl.exe
25089aa228fdSmrg  do
25099aa228fdSmrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
25109aa228fdSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
25119aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25129aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25139aa228fdSmrgif test "${ac_cv_prog_CC+set}" = set; then
25149aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
25159aa228fdSmrgelse
25169aa228fdSmrg  if test -n "$CC"; then
25179aa228fdSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
25189aa228fdSmrgelse
25199aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25209aa228fdSmrgfor as_dir in $PATH
25219aa228fdSmrgdo
25229aa228fdSmrg  IFS=$as_save_IFS
25239aa228fdSmrg  test -z "$as_dir" && as_dir=.
25249aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
25259aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25269aa228fdSmrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
25279aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25289aa228fdSmrg    break 2
25299aa228fdSmrg  fi
25309aa228fdSmrgdone
25319aa228fdSmrgdone
25329aa228fdSmrgIFS=$as_save_IFS
25339aa228fdSmrg
25349aa228fdSmrgfi
25359aa228fdSmrgfi
25369aa228fdSmrgCC=$ac_cv_prog_CC
25379aa228fdSmrgif test -n "$CC"; then
25389aa228fdSmrg  { echo "$as_me:$LINENO: result: $CC" >&5
25399aa228fdSmrgecho "${ECHO_T}$CC" >&6; }
25409aa228fdSmrgelse
25419aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
25429aa228fdSmrgecho "${ECHO_T}no" >&6; }
25439aa228fdSmrgfi
25449aa228fdSmrg
25459aa228fdSmrg
25469aa228fdSmrg    test -n "$CC" && break
25479aa228fdSmrg  done
25489aa228fdSmrgfi
25499aa228fdSmrgif test -z "$CC"; then
25509aa228fdSmrg  ac_ct_CC=$CC
25519aa228fdSmrg  for ac_prog in cl.exe
25529aa228fdSmrgdo
25539aa228fdSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
25549aa228fdSmrgset dummy $ac_prog; ac_word=$2
25559aa228fdSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25569aa228fdSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25579aa228fdSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
25589aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
25599aa228fdSmrgelse
25609aa228fdSmrg  if test -n "$ac_ct_CC"; then
25619aa228fdSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
25629aa228fdSmrgelse
25639aa228fdSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25649aa228fdSmrgfor as_dir in $PATH
25659aa228fdSmrgdo
25669aa228fdSmrg  IFS=$as_save_IFS
25679aa228fdSmrg  test -z "$as_dir" && as_dir=.
25689aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
25699aa228fdSmrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25709aa228fdSmrg    ac_cv_prog_ac_ct_CC="$ac_prog"
25719aa228fdSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25729aa228fdSmrg    break 2
25739aa228fdSmrg  fi
25749aa228fdSmrgdone
25759aa228fdSmrgdone
25769aa228fdSmrgIFS=$as_save_IFS
25779aa228fdSmrg
25789aa228fdSmrgfi
25799aa228fdSmrgfi
25809aa228fdSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
25819aa228fdSmrgif test -n "$ac_ct_CC"; then
25829aa228fdSmrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
25839aa228fdSmrgecho "${ECHO_T}$ac_ct_CC" >&6; }
25849aa228fdSmrgelse
25859aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
25869aa228fdSmrgecho "${ECHO_T}no" >&6; }
25879aa228fdSmrgfi
25889aa228fdSmrg
25899aa228fdSmrg
25909aa228fdSmrg  test -n "$ac_ct_CC" && break
25919aa228fdSmrgdone
25929aa228fdSmrg
25939aa228fdSmrg  if test "x$ac_ct_CC" = x; then
25949aa228fdSmrg    CC=""
25959aa228fdSmrg  else
25969aa228fdSmrg    case $cross_compiling:$ac_tool_warned in
25979aa228fdSmrgyes:)
25989aa228fdSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25999aa228fdSmrgwhose name does not start with the host triplet.  If you think this
26009aa228fdSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
26019aa228fdSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26029aa228fdSmrgwhose name does not start with the host triplet.  If you think this
26039aa228fdSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
26049aa228fdSmrgac_tool_warned=yes ;;
26059aa228fdSmrgesac
26069aa228fdSmrg    CC=$ac_ct_CC
26079aa228fdSmrg  fi
26089aa228fdSmrgfi
26099aa228fdSmrg
26109aa228fdSmrgfi
26119aa228fdSmrg
26129aa228fdSmrg
26139aa228fdSmrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
26149aa228fdSmrgSee \`config.log' for more details." >&5
26159aa228fdSmrgecho "$as_me: error: no acceptable C compiler found in \$PATH
26169aa228fdSmrgSee \`config.log' for more details." >&2;}
26179aa228fdSmrg   { (exit 1); exit 1; }; }
26189aa228fdSmrg
26199aa228fdSmrg# Provide some information about the compiler.
26209aa228fdSmrgecho "$as_me:$LINENO: checking for C compiler version" >&5
26219aa228fdSmrgac_compiler=`set X $ac_compile; echo $2`
26229aa228fdSmrg{ (ac_try="$ac_compiler --version >&5"
26239aa228fdSmrgcase "(($ac_try" in
26249aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26259aa228fdSmrg  *) ac_try_echo=$ac_try;;
26269aa228fdSmrgesac
26279aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26289aa228fdSmrg  (eval "$ac_compiler --version >&5") 2>&5
26299aa228fdSmrg  ac_status=$?
26309aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319aa228fdSmrg  (exit $ac_status); }
26329aa228fdSmrg{ (ac_try="$ac_compiler -v >&5"
26339aa228fdSmrgcase "(($ac_try" in
26349aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26359aa228fdSmrg  *) ac_try_echo=$ac_try;;
26369aa228fdSmrgesac
26379aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389aa228fdSmrg  (eval "$ac_compiler -v >&5") 2>&5
26399aa228fdSmrg  ac_status=$?
26409aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419aa228fdSmrg  (exit $ac_status); }
26429aa228fdSmrg{ (ac_try="$ac_compiler -V >&5"
26439aa228fdSmrgcase "(($ac_try" in
26449aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26459aa228fdSmrg  *) ac_try_echo=$ac_try;;
26469aa228fdSmrgesac
26479aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26489aa228fdSmrg  (eval "$ac_compiler -V >&5") 2>&5
26499aa228fdSmrg  ac_status=$?
26509aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519aa228fdSmrg  (exit $ac_status); }
26529aa228fdSmrg
26539aa228fdSmrgcat >conftest.$ac_ext <<_ACEOF
26549aa228fdSmrg/* confdefs.h.  */
26559aa228fdSmrg_ACEOF
26569aa228fdSmrgcat confdefs.h >>conftest.$ac_ext
26579aa228fdSmrgcat >>conftest.$ac_ext <<_ACEOF
26589aa228fdSmrg/* end confdefs.h.  */
26599aa228fdSmrg
26609aa228fdSmrgint
26619aa228fdSmrgmain ()
26629aa228fdSmrg{
26639aa228fdSmrg
26649aa228fdSmrg  ;
26659aa228fdSmrg  return 0;
26669aa228fdSmrg}
26679aa228fdSmrg_ACEOF
26689aa228fdSmrgac_clean_files_save=$ac_clean_files
26699aa228fdSmrgac_clean_files="$ac_clean_files a.out a.exe b.out"
26709aa228fdSmrg# Try to create an executable without -o first, disregard a.out.
26719aa228fdSmrg# It will help us diagnose broken compilers, and finding out an intuition
26729aa228fdSmrg# of exeext.
26739aa228fdSmrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
26749aa228fdSmrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
26759aa228fdSmrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
26769aa228fdSmrg#
26779aa228fdSmrg# List of possible output files, starting from the most likely.
26789aa228fdSmrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
26799aa228fdSmrg# only as a last resort.  b.out is created by i960 compilers.
26809aa228fdSmrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
26819aa228fdSmrg#
26829aa228fdSmrg# The IRIX 6 linker writes into existing files which may not be
26839aa228fdSmrg# executable, retaining their permissions.  Remove them first so a
26849aa228fdSmrg# subsequent execution test works.
26859aa228fdSmrgac_rmfiles=
26869aa228fdSmrgfor ac_file in $ac_files
26879aa228fdSmrgdo
26889aa228fdSmrg  case $ac_file in
26899aa228fdSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
26909aa228fdSmrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
26919aa228fdSmrg  esac
26929aa228fdSmrgdone
26939aa228fdSmrgrm -f $ac_rmfiles
26949aa228fdSmrg
26959aa228fdSmrgif { (ac_try="$ac_link_default"
26969aa228fdSmrgcase "(($ac_try" in
26979aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26989aa228fdSmrg  *) ac_try_echo=$ac_try;;
26999aa228fdSmrgesac
27009aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27019aa228fdSmrg  (eval "$ac_link_default") 2>&5
27029aa228fdSmrg  ac_status=$?
27039aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049aa228fdSmrg  (exit $ac_status); }; then
27059aa228fdSmrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
27069aa228fdSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
27079aa228fdSmrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
27089aa228fdSmrg# so that the user can short-circuit this test for compilers unknown to
27099aa228fdSmrg# Autoconf.
27109aa228fdSmrgfor ac_file in $ac_files ''
27119aa228fdSmrgdo
27129aa228fdSmrg  test -f "$ac_file" || continue
27139aa228fdSmrg  case $ac_file in
27149aa228fdSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
27159aa228fdSmrg	;;
27169aa228fdSmrg    [ab].out )
27179aa228fdSmrg	# We found the default executable, but exeext='' is most
27189aa228fdSmrg	# certainly right.
27199aa228fdSmrg	break;;
27209aa228fdSmrg    *.* )
27219aa228fdSmrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
27229aa228fdSmrg	then :; else
27239aa228fdSmrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27249aa228fdSmrg	fi
27259aa228fdSmrg	# We set ac_cv_exeext here because the later test for it is not
27269aa228fdSmrg	# safe: cross compilers may not add the suffix if given an `-o'
27279aa228fdSmrg	# argument, so we may need to know it at that point already.
27289aa228fdSmrg	# Even if this section looks crufty: it has the advantage of
27299aa228fdSmrg	# actually working.
27309aa228fdSmrg	break;;
27319aa228fdSmrg    * )
27329aa228fdSmrg	break;;
27339aa228fdSmrg  esac
27349aa228fdSmrgdone
27359aa228fdSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
27369aa228fdSmrg
27379aa228fdSmrgelse
27389aa228fdSmrg  ac_file=''
27399aa228fdSmrgfi
27409aa228fdSmrg
27419aa228fdSmrg{ echo "$as_me:$LINENO: result: $ac_file" >&5
27429aa228fdSmrgecho "${ECHO_T}$ac_file" >&6; }
27439aa228fdSmrgif test -z "$ac_file"; then
27449aa228fdSmrg  echo "$as_me: failed program was:" >&5
27459aa228fdSmrgsed 's/^/| /' conftest.$ac_ext >&5
27469aa228fdSmrg
27479aa228fdSmrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
27489aa228fdSmrgSee \`config.log' for more details." >&5
27499aa228fdSmrgecho "$as_me: error: C compiler cannot create executables
27509aa228fdSmrgSee \`config.log' for more details." >&2;}
27519aa228fdSmrg   { (exit 77); exit 77; }; }
27529aa228fdSmrgfi
27539aa228fdSmrg
27549aa228fdSmrgac_exeext=$ac_cv_exeext
27559aa228fdSmrg
27569aa228fdSmrg# Check that the compiler produces executables we can run.  If not, either
27579aa228fdSmrg# the compiler is broken, or we cross compile.
27589aa228fdSmrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
27599aa228fdSmrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
27609aa228fdSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
27619aa228fdSmrg# If not cross compiling, check that we can run a simple program.
27629aa228fdSmrgif test "$cross_compiling" != yes; then
27639aa228fdSmrg  if { ac_try='./$ac_file'
27649aa228fdSmrg  { (case "(($ac_try" in
27659aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27669aa228fdSmrg  *) ac_try_echo=$ac_try;;
27679aa228fdSmrgesac
27689aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27699aa228fdSmrg  (eval "$ac_try") 2>&5
27709aa228fdSmrg  ac_status=$?
27719aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729aa228fdSmrg  (exit $ac_status); }; }; then
27739aa228fdSmrg    cross_compiling=no
27749aa228fdSmrg  else
27759aa228fdSmrg    if test "$cross_compiling" = maybe; then
27769aa228fdSmrg	cross_compiling=yes
27779aa228fdSmrg    else
27789aa228fdSmrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
27799aa228fdSmrgIf you meant to cross compile, use \`--host'.
27809aa228fdSmrgSee \`config.log' for more details." >&5
27819aa228fdSmrgecho "$as_me: error: cannot run C compiled programs.
27829aa228fdSmrgIf you meant to cross compile, use \`--host'.
27839aa228fdSmrgSee \`config.log' for more details." >&2;}
27849aa228fdSmrg   { (exit 1); exit 1; }; }
27859aa228fdSmrg    fi
27869aa228fdSmrg  fi
27879aa228fdSmrgfi
27889aa228fdSmrg{ echo "$as_me:$LINENO: result: yes" >&5
27899aa228fdSmrgecho "${ECHO_T}yes" >&6; }
27909aa228fdSmrg
27919aa228fdSmrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
27929aa228fdSmrgac_clean_files=$ac_clean_files_save
27939aa228fdSmrg# Check that the compiler produces executables we can run.  If not, either
27949aa228fdSmrg# the compiler is broken, or we cross compile.
27959aa228fdSmrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
27969aa228fdSmrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
27979aa228fdSmrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
27989aa228fdSmrgecho "${ECHO_T}$cross_compiling" >&6; }
27999aa228fdSmrg
28009aa228fdSmrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
28019aa228fdSmrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
28029aa228fdSmrgif { (ac_try="$ac_link"
28039aa228fdSmrgcase "(($ac_try" in
28049aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28059aa228fdSmrg  *) ac_try_echo=$ac_try;;
28069aa228fdSmrgesac
28079aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28089aa228fdSmrg  (eval "$ac_link") 2>&5
28099aa228fdSmrg  ac_status=$?
28109aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119aa228fdSmrg  (exit $ac_status); }; then
28129aa228fdSmrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
28139aa228fdSmrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
28149aa228fdSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with
28159aa228fdSmrg# `rm'.
28169aa228fdSmrgfor ac_file in conftest.exe conftest conftest.*; do
28179aa228fdSmrg  test -f "$ac_file" || continue
28189aa228fdSmrg  case $ac_file in
28199aa228fdSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
28209aa228fdSmrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28219aa228fdSmrg	  break;;
28229aa228fdSmrg    * ) break;;
28239aa228fdSmrg  esac
28249aa228fdSmrgdone
28259aa228fdSmrgelse
28269aa228fdSmrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
28279aa228fdSmrgSee \`config.log' for more details." >&5
28289aa228fdSmrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
28299aa228fdSmrgSee \`config.log' for more details." >&2;}
28309aa228fdSmrg   { (exit 1); exit 1; }; }
28319aa228fdSmrgfi
28329aa228fdSmrg
28339aa228fdSmrgrm -f conftest$ac_cv_exeext
28349aa228fdSmrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
28359aa228fdSmrgecho "${ECHO_T}$ac_cv_exeext" >&6; }
28369aa228fdSmrg
28379aa228fdSmrgrm -f conftest.$ac_ext
28389aa228fdSmrgEXEEXT=$ac_cv_exeext
28399aa228fdSmrgac_exeext=$EXEEXT
28409aa228fdSmrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
28419aa228fdSmrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
28429aa228fdSmrgif test "${ac_cv_objext+set}" = set; then
28439aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
28449aa228fdSmrgelse
28459aa228fdSmrg  cat >conftest.$ac_ext <<_ACEOF
28469aa228fdSmrg/* confdefs.h.  */
28479aa228fdSmrg_ACEOF
28489aa228fdSmrgcat confdefs.h >>conftest.$ac_ext
28499aa228fdSmrgcat >>conftest.$ac_ext <<_ACEOF
28509aa228fdSmrg/* end confdefs.h.  */
28519aa228fdSmrg
28529aa228fdSmrgint
28539aa228fdSmrgmain ()
28549aa228fdSmrg{
28559aa228fdSmrg
28569aa228fdSmrg  ;
28579aa228fdSmrg  return 0;
28589aa228fdSmrg}
28599aa228fdSmrg_ACEOF
28609aa228fdSmrgrm -f conftest.o conftest.obj
28619aa228fdSmrgif { (ac_try="$ac_compile"
28629aa228fdSmrgcase "(($ac_try" in
28639aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28649aa228fdSmrg  *) ac_try_echo=$ac_try;;
28659aa228fdSmrgesac
28669aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28679aa228fdSmrg  (eval "$ac_compile") 2>&5
28689aa228fdSmrg  ac_status=$?
28699aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709aa228fdSmrg  (exit $ac_status); }; then
28719aa228fdSmrg  for ac_file in conftest.o conftest.obj conftest.*; do
28729aa228fdSmrg  test -f "$ac_file" || continue;
28739aa228fdSmrg  case $ac_file in
28749aa228fdSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
28759aa228fdSmrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28769aa228fdSmrg       break;;
28779aa228fdSmrg  esac
28789aa228fdSmrgdone
28799aa228fdSmrgelse
28809aa228fdSmrg  echo "$as_me: failed program was:" >&5
28819aa228fdSmrgsed 's/^/| /' conftest.$ac_ext >&5
28829aa228fdSmrg
28839aa228fdSmrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
28849aa228fdSmrgSee \`config.log' for more details." >&5
28859aa228fdSmrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
28869aa228fdSmrgSee \`config.log' for more details." >&2;}
28879aa228fdSmrg   { (exit 1); exit 1; }; }
28889aa228fdSmrgfi
28899aa228fdSmrg
28909aa228fdSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
28919aa228fdSmrgfi
28929aa228fdSmrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
28939aa228fdSmrgecho "${ECHO_T}$ac_cv_objext" >&6; }
28949aa228fdSmrgOBJEXT=$ac_cv_objext
28959aa228fdSmrgac_objext=$OBJEXT
28969aa228fdSmrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28979aa228fdSmrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
28989aa228fdSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
28999aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
29009aa228fdSmrgelse
29019aa228fdSmrg  cat >conftest.$ac_ext <<_ACEOF
29029aa228fdSmrg/* confdefs.h.  */
29039aa228fdSmrg_ACEOF
29049aa228fdSmrgcat confdefs.h >>conftest.$ac_ext
29059aa228fdSmrgcat >>conftest.$ac_ext <<_ACEOF
29069aa228fdSmrg/* end confdefs.h.  */
29079aa228fdSmrg
29089aa228fdSmrgint
29099aa228fdSmrgmain ()
29109aa228fdSmrg{
29119aa228fdSmrg#ifndef __GNUC__
29129aa228fdSmrg       choke me
29139aa228fdSmrg#endif
29149aa228fdSmrg
29159aa228fdSmrg  ;
29169aa228fdSmrg  return 0;
29179aa228fdSmrg}
29189aa228fdSmrg_ACEOF
29199aa228fdSmrgrm -f conftest.$ac_objext
29209aa228fdSmrgif { (ac_try="$ac_compile"
29219aa228fdSmrgcase "(($ac_try" in
29229aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29239aa228fdSmrg  *) ac_try_echo=$ac_try;;
29249aa228fdSmrgesac
29259aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29269aa228fdSmrg  (eval "$ac_compile") 2>conftest.er1
29279aa228fdSmrg  ac_status=$?
29289aa228fdSmrg  grep -v '^ *+' conftest.er1 >conftest.err
29299aa228fdSmrg  rm -f conftest.er1
29309aa228fdSmrg  cat conftest.err >&5
29319aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329aa228fdSmrg  (exit $ac_status); } && {
29339aa228fdSmrg	 test -z "$ac_c_werror_flag" ||
29349aa228fdSmrg	 test ! -s conftest.err
29359aa228fdSmrg       } && test -s conftest.$ac_objext; then
29369aa228fdSmrg  ac_compiler_gnu=yes
29379aa228fdSmrgelse
29389aa228fdSmrg  echo "$as_me: failed program was:" >&5
29399aa228fdSmrgsed 's/^/| /' conftest.$ac_ext >&5
29409aa228fdSmrg
29419aa228fdSmrg	ac_compiler_gnu=no
29429aa228fdSmrgfi
29439aa228fdSmrg
29449aa228fdSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29459aa228fdSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu
29469aa228fdSmrg
29479aa228fdSmrgfi
29489aa228fdSmrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
29499aa228fdSmrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
29509aa228fdSmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
29519aa228fdSmrgac_test_CFLAGS=${CFLAGS+set}
29529aa228fdSmrgac_save_CFLAGS=$CFLAGS
29539aa228fdSmrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
29549aa228fdSmrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
29559aa228fdSmrgif test "${ac_cv_prog_cc_g+set}" = set; then
29569aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
29579aa228fdSmrgelse
29589aa228fdSmrg  ac_save_c_werror_flag=$ac_c_werror_flag
29599aa228fdSmrg   ac_c_werror_flag=yes
29609aa228fdSmrg   ac_cv_prog_cc_g=no
29619aa228fdSmrg   CFLAGS="-g"
29629aa228fdSmrg   cat >conftest.$ac_ext <<_ACEOF
29639aa228fdSmrg/* confdefs.h.  */
29649aa228fdSmrg_ACEOF
29659aa228fdSmrgcat confdefs.h >>conftest.$ac_ext
29669aa228fdSmrgcat >>conftest.$ac_ext <<_ACEOF
29679aa228fdSmrg/* end confdefs.h.  */
29689aa228fdSmrg
29699aa228fdSmrgint
29709aa228fdSmrgmain ()
29719aa228fdSmrg{
29729aa228fdSmrg
29739aa228fdSmrg  ;
29749aa228fdSmrg  return 0;
29759aa228fdSmrg}
29769aa228fdSmrg_ACEOF
29779aa228fdSmrgrm -f conftest.$ac_objext
29789aa228fdSmrgif { (ac_try="$ac_compile"
29799aa228fdSmrgcase "(($ac_try" in
29809aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29819aa228fdSmrg  *) ac_try_echo=$ac_try;;
29829aa228fdSmrgesac
29839aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29849aa228fdSmrg  (eval "$ac_compile") 2>conftest.er1
29859aa228fdSmrg  ac_status=$?
29869aa228fdSmrg  grep -v '^ *+' conftest.er1 >conftest.err
29879aa228fdSmrg  rm -f conftest.er1
29889aa228fdSmrg  cat conftest.err >&5
29899aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29909aa228fdSmrg  (exit $ac_status); } && {
29919aa228fdSmrg	 test -z "$ac_c_werror_flag" ||
29929aa228fdSmrg	 test ! -s conftest.err
29939aa228fdSmrg       } && test -s conftest.$ac_objext; then
29949aa228fdSmrg  ac_cv_prog_cc_g=yes
29959aa228fdSmrgelse
29969aa228fdSmrg  echo "$as_me: failed program was:" >&5
29979aa228fdSmrgsed 's/^/| /' conftest.$ac_ext >&5
29989aa228fdSmrg
29999aa228fdSmrg	CFLAGS=""
30009aa228fdSmrg      cat >conftest.$ac_ext <<_ACEOF
30019aa228fdSmrg/* confdefs.h.  */
30029aa228fdSmrg_ACEOF
30039aa228fdSmrgcat confdefs.h >>conftest.$ac_ext
30049aa228fdSmrgcat >>conftest.$ac_ext <<_ACEOF
30059aa228fdSmrg/* end confdefs.h.  */
30069aa228fdSmrg
30079aa228fdSmrgint
30089aa228fdSmrgmain ()
30099aa228fdSmrg{
30109aa228fdSmrg
30119aa228fdSmrg  ;
30129aa228fdSmrg  return 0;
30139aa228fdSmrg}
30149aa228fdSmrg_ACEOF
30159aa228fdSmrgrm -f conftest.$ac_objext
30169aa228fdSmrgif { (ac_try="$ac_compile"
30179aa228fdSmrgcase "(($ac_try" in
30189aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30199aa228fdSmrg  *) ac_try_echo=$ac_try;;
30209aa228fdSmrgesac
30219aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30229aa228fdSmrg  (eval "$ac_compile") 2>conftest.er1
30239aa228fdSmrg  ac_status=$?
30249aa228fdSmrg  grep -v '^ *+' conftest.er1 >conftest.err
30259aa228fdSmrg  rm -f conftest.er1
30269aa228fdSmrg  cat conftest.err >&5
30279aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289aa228fdSmrg  (exit $ac_status); } && {
30299aa228fdSmrg	 test -z "$ac_c_werror_flag" ||
30309aa228fdSmrg	 test ! -s conftest.err
30319aa228fdSmrg       } && test -s conftest.$ac_objext; then
30329aa228fdSmrg  :
30339aa228fdSmrgelse
30349aa228fdSmrg  echo "$as_me: failed program was:" >&5
30359aa228fdSmrgsed 's/^/| /' conftest.$ac_ext >&5
30369aa228fdSmrg
30379aa228fdSmrg	ac_c_werror_flag=$ac_save_c_werror_flag
30389aa228fdSmrg	 CFLAGS="-g"
30399aa228fdSmrg	 cat >conftest.$ac_ext <<_ACEOF
30409aa228fdSmrg/* confdefs.h.  */
30419aa228fdSmrg_ACEOF
30429aa228fdSmrgcat confdefs.h >>conftest.$ac_ext
30439aa228fdSmrgcat >>conftest.$ac_ext <<_ACEOF
30449aa228fdSmrg/* end confdefs.h.  */
30459aa228fdSmrg
30469aa228fdSmrgint
30479aa228fdSmrgmain ()
30489aa228fdSmrg{
30499aa228fdSmrg
30509aa228fdSmrg  ;
30519aa228fdSmrg  return 0;
30529aa228fdSmrg}
30539aa228fdSmrg_ACEOF
30549aa228fdSmrgrm -f conftest.$ac_objext
30559aa228fdSmrgif { (ac_try="$ac_compile"
30569aa228fdSmrgcase "(($ac_try" in
30579aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30589aa228fdSmrg  *) ac_try_echo=$ac_try;;
30599aa228fdSmrgesac
30609aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30619aa228fdSmrg  (eval "$ac_compile") 2>conftest.er1
30629aa228fdSmrg  ac_status=$?
30639aa228fdSmrg  grep -v '^ *+' conftest.er1 >conftest.err
30649aa228fdSmrg  rm -f conftest.er1
30659aa228fdSmrg  cat conftest.err >&5
30669aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679aa228fdSmrg  (exit $ac_status); } && {
30689aa228fdSmrg	 test -z "$ac_c_werror_flag" ||
30699aa228fdSmrg	 test ! -s conftest.err
30709aa228fdSmrg       } && test -s conftest.$ac_objext; then
30719aa228fdSmrg  ac_cv_prog_cc_g=yes
30729aa228fdSmrgelse
30739aa228fdSmrg  echo "$as_me: failed program was:" >&5
30749aa228fdSmrgsed 's/^/| /' conftest.$ac_ext >&5
30759aa228fdSmrg
30769aa228fdSmrg
30779aa228fdSmrgfi
30789aa228fdSmrg
30799aa228fdSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30809aa228fdSmrgfi
30819aa228fdSmrg
30829aa228fdSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30839aa228fdSmrgfi
30849aa228fdSmrg
30859aa228fdSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30869aa228fdSmrg   ac_c_werror_flag=$ac_save_c_werror_flag
30879aa228fdSmrgfi
30889aa228fdSmrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
30899aa228fdSmrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
30909aa228fdSmrgif test "$ac_test_CFLAGS" = set; then
30919aa228fdSmrg  CFLAGS=$ac_save_CFLAGS
30929aa228fdSmrgelif test $ac_cv_prog_cc_g = yes; then
30939aa228fdSmrg  if test "$GCC" = yes; then
30949aa228fdSmrg    CFLAGS="-g -O2"
30959aa228fdSmrg  else
30969aa228fdSmrg    CFLAGS="-g"
30979aa228fdSmrg  fi
30989aa228fdSmrgelse
30999aa228fdSmrg  if test "$GCC" = yes; then
31009aa228fdSmrg    CFLAGS="-O2"
31019aa228fdSmrg  else
31029aa228fdSmrg    CFLAGS=
31039aa228fdSmrg  fi
31049aa228fdSmrgfi
31059aa228fdSmrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
31069aa228fdSmrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
31079aa228fdSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then
31089aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
31099aa228fdSmrgelse
31109aa228fdSmrg  ac_cv_prog_cc_c89=no
31119aa228fdSmrgac_save_CC=$CC
31129aa228fdSmrgcat >conftest.$ac_ext <<_ACEOF
31139aa228fdSmrg/* confdefs.h.  */
31149aa228fdSmrg_ACEOF
31159aa228fdSmrgcat confdefs.h >>conftest.$ac_ext
31169aa228fdSmrgcat >>conftest.$ac_ext <<_ACEOF
31179aa228fdSmrg/* end confdefs.h.  */
31189aa228fdSmrg#include <stdarg.h>
31199aa228fdSmrg#include <stdio.h>
31209aa228fdSmrg#include <sys/types.h>
31219aa228fdSmrg#include <sys/stat.h>
31229aa228fdSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
31239aa228fdSmrgstruct buf { int x; };
31249aa228fdSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
31259aa228fdSmrgstatic char *e (p, i)
31269aa228fdSmrg     char **p;
31279aa228fdSmrg     int i;
31289aa228fdSmrg{
31299aa228fdSmrg  return p[i];
31309aa228fdSmrg}
31319aa228fdSmrgstatic char *f (char * (*g) (char **, int), char **p, ...)
31329aa228fdSmrg{
31339aa228fdSmrg  char *s;
31349aa228fdSmrg  va_list v;
31359aa228fdSmrg  va_start (v,p);
31369aa228fdSmrg  s = g (p, va_arg (v,int));
31379aa228fdSmrg  va_end (v);
31389aa228fdSmrg  return s;
31399aa228fdSmrg}
31409aa228fdSmrg
31419aa228fdSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
31429aa228fdSmrg   function prototypes and stuff, but not '\xHH' hex character constants.
31439aa228fdSmrg   These don't provoke an error unfortunately, instead are silently treated
31449aa228fdSmrg   as 'x'.  The following induces an error, until -std is added to get
31459aa228fdSmrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
31469aa228fdSmrg   array size at least.  It's necessary to write '\x00'==0 to get something
31479aa228fdSmrg   that's true only with -std.  */
31489aa228fdSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
31499aa228fdSmrg
31509aa228fdSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
31519aa228fdSmrg   inside strings and character constants.  */
31529aa228fdSmrg#define FOO(x) 'x'
31539aa228fdSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
31549aa228fdSmrg
31559aa228fdSmrgint test (int i, double x);
31569aa228fdSmrgstruct s1 {int (*f) (int a);};
31579aa228fdSmrgstruct s2 {int (*f) (double a);};
31589aa228fdSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
31599aa228fdSmrgint argc;
31609aa228fdSmrgchar **argv;
31619aa228fdSmrgint
31629aa228fdSmrgmain ()
31639aa228fdSmrg{
31649aa228fdSmrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
31659aa228fdSmrg  ;
31669aa228fdSmrg  return 0;
31679aa228fdSmrg}
31689aa228fdSmrg_ACEOF
31699aa228fdSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
31709aa228fdSmrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31719aa228fdSmrgdo
31729aa228fdSmrg  CC="$ac_save_CC $ac_arg"
31739aa228fdSmrg  rm -f conftest.$ac_objext
31749aa228fdSmrgif { (ac_try="$ac_compile"
31759aa228fdSmrgcase "(($ac_try" in
31769aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31779aa228fdSmrg  *) ac_try_echo=$ac_try;;
31789aa228fdSmrgesac
31799aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31809aa228fdSmrg  (eval "$ac_compile") 2>conftest.er1
31819aa228fdSmrg  ac_status=$?
31829aa228fdSmrg  grep -v '^ *+' conftest.er1 >conftest.err
31839aa228fdSmrg  rm -f conftest.er1
31849aa228fdSmrg  cat conftest.err >&5
31859aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869aa228fdSmrg  (exit $ac_status); } && {
31879aa228fdSmrg	 test -z "$ac_c_werror_flag" ||
31889aa228fdSmrg	 test ! -s conftest.err
31899aa228fdSmrg       } && test -s conftest.$ac_objext; then
31909aa228fdSmrg  ac_cv_prog_cc_c89=$ac_arg
31919aa228fdSmrgelse
31929aa228fdSmrg  echo "$as_me: failed program was:" >&5
31939aa228fdSmrgsed 's/^/| /' conftest.$ac_ext >&5
31949aa228fdSmrg
31959aa228fdSmrg
31969aa228fdSmrgfi
31979aa228fdSmrg
31989aa228fdSmrgrm -f core conftest.err conftest.$ac_objext
31999aa228fdSmrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
32009aa228fdSmrgdone
32019aa228fdSmrgrm -f conftest.$ac_ext
32029aa228fdSmrgCC=$ac_save_CC
32039aa228fdSmrg
32049aa228fdSmrgfi
32059aa228fdSmrg# AC_CACHE_VAL
32069aa228fdSmrgcase "x$ac_cv_prog_cc_c89" in
32079aa228fdSmrg  x)
32089aa228fdSmrg    { echo "$as_me:$LINENO: result: none needed" >&5
32099aa228fdSmrgecho "${ECHO_T}none needed" >&6; } ;;
32109aa228fdSmrg  xno)
32119aa228fdSmrg    { echo "$as_me:$LINENO: result: unsupported" >&5
32129aa228fdSmrgecho "${ECHO_T}unsupported" >&6; } ;;
32139aa228fdSmrg  *)
32149aa228fdSmrg    CC="$CC $ac_cv_prog_cc_c89"
32159aa228fdSmrg    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
32169aa228fdSmrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
32179aa228fdSmrgesac
32189aa228fdSmrg
32199aa228fdSmrg
32209aa228fdSmrgac_ext=c
32219aa228fdSmrgac_cpp='$CPP $CPPFLAGS'
32229aa228fdSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32239aa228fdSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32249aa228fdSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
32259aa228fdSmrgDEPDIR="${am__leading_dot}deps"
32269aa228fdSmrg
32279aa228fdSmrgac_config_commands="$ac_config_commands depfiles"
32289aa228fdSmrg
32299aa228fdSmrg
32309aa228fdSmrgam_make=${MAKE-make}
32319aa228fdSmrgcat > confinc << 'END'
32329aa228fdSmrgam__doit:
32339aa228fdSmrg	@echo done
32349aa228fdSmrg.PHONY: am__doit
32359aa228fdSmrgEND
32369aa228fdSmrg# If we don't find an include directive, just comment out the code.
32379aa228fdSmrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
32389aa228fdSmrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
32399aa228fdSmrgam__include="#"
32409aa228fdSmrgam__quote=
32419aa228fdSmrg_am_result=none
32429aa228fdSmrg# First try GNU make style include.
32439aa228fdSmrgecho "include confinc" > confmf
32449aa228fdSmrg# We grep out `Entering directory' and `Leaving directory'
32459aa228fdSmrg# messages which can occur if `w' ends up in MAKEFLAGS.
32469aa228fdSmrg# In particular we don't look at `^make:' because GNU make might
32479aa228fdSmrg# be invoked under some other name (usually "gmake"), in which
32489aa228fdSmrg# case it prints its new name instead of `make'.
32499aa228fdSmrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
32509aa228fdSmrg   am__include=include
32519aa228fdSmrg   am__quote=
32529aa228fdSmrg   _am_result=GNU
32539aa228fdSmrgfi
32549aa228fdSmrg# Now try BSD make style include.
32559aa228fdSmrgif test "$am__include" = "#"; then
32569aa228fdSmrg   echo '.include "confinc"' > confmf
32579aa228fdSmrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
32589aa228fdSmrg      am__include=.include
32599aa228fdSmrg      am__quote="\""
32609aa228fdSmrg      _am_result=BSD
32619aa228fdSmrg   fi
32629aa228fdSmrgfi
32639aa228fdSmrg
32649aa228fdSmrg
32659aa228fdSmrg{ echo "$as_me:$LINENO: result: $_am_result" >&5
32669aa228fdSmrgecho "${ECHO_T}$_am_result" >&6; }
32679aa228fdSmrgrm -f confinc confmf
32689aa228fdSmrg
32699aa228fdSmrg# Check whether --enable-dependency-tracking was given.
32709aa228fdSmrgif test "${enable_dependency_tracking+set}" = set; then
32719aa228fdSmrg  enableval=$enable_dependency_tracking;
32729aa228fdSmrgfi
32739aa228fdSmrg
32749aa228fdSmrgif test "x$enable_dependency_tracking" != xno; then
32759aa228fdSmrg  am_depcomp="$ac_aux_dir/depcomp"
32769aa228fdSmrg  AMDEPBACKSLASH='\'
32779aa228fdSmrgfi
32789aa228fdSmrg if test "x$enable_dependency_tracking" != xno; then
32799aa228fdSmrg  AMDEP_TRUE=
32809aa228fdSmrg  AMDEP_FALSE='#'
32819aa228fdSmrgelse
32829aa228fdSmrg  AMDEP_TRUE='#'
32839aa228fdSmrg  AMDEP_FALSE=
32849aa228fdSmrgfi
32859aa228fdSmrg
32869aa228fdSmrg
32879aa228fdSmrg
32889aa228fdSmrgdepcc="$CC"   am_compiler_list=
32899aa228fdSmrg
32909aa228fdSmrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
32919aa228fdSmrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
32929aa228fdSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
32939aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
32949aa228fdSmrgelse
32959aa228fdSmrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32969aa228fdSmrg  # We make a subdir and do the tests there.  Otherwise we can end up
32979aa228fdSmrg  # making bogus files that we don't know about and never remove.  For
32989aa228fdSmrg  # instance it was reported that on HP-UX the gcc test will end up
32999aa228fdSmrg  # making a dummy file named `D' -- because `-MD' means `put the output
33009aa228fdSmrg  # in D'.
33019aa228fdSmrg  mkdir conftest.dir
33029aa228fdSmrg  # Copy depcomp to subdir because otherwise we won't find it if we're
33039aa228fdSmrg  # using a relative directory.
33049aa228fdSmrg  cp "$am_depcomp" conftest.dir
33059aa228fdSmrg  cd conftest.dir
33069aa228fdSmrg  # We will build objects and dependencies in a subdirectory because
33079aa228fdSmrg  # it helps to detect inapplicable dependency modes.  For instance
33089aa228fdSmrg  # both Tru64's cc and ICC support -MD to output dependencies as a
33099aa228fdSmrg  # side effect of compilation, but ICC will put the dependencies in
33109aa228fdSmrg  # the current directory while Tru64 will put them in the object
33119aa228fdSmrg  # directory.
33129aa228fdSmrg  mkdir sub
33139aa228fdSmrg
33149aa228fdSmrg  am_cv_CC_dependencies_compiler_type=none
33159aa228fdSmrg  if test "$am_compiler_list" = ""; then
33169aa228fdSmrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
33179aa228fdSmrg  fi
33189aa228fdSmrg  for depmode in $am_compiler_list; do
33199aa228fdSmrg    # Setup a source with many dependencies, because some compilers
33209aa228fdSmrg    # like to wrap large dependency lists on column 80 (with \), and
33219aa228fdSmrg    # we should not choose a depcomp mode which is confused by this.
33229aa228fdSmrg    #
33239aa228fdSmrg    # We need to recreate these files for each test, as the compiler may
33249aa228fdSmrg    # overwrite some of them when testing with obscure command lines.
33259aa228fdSmrg    # This happens at least with the AIX C compiler.
33269aa228fdSmrg    : > sub/conftest.c
33279aa228fdSmrg    for i in 1 2 3 4 5 6; do
33289aa228fdSmrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
33299aa228fdSmrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
33309aa228fdSmrg      # Solaris 8's {/usr,}/bin/sh.
33319aa228fdSmrg      touch sub/conftst$i.h
33329aa228fdSmrg    done
33339aa228fdSmrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
33349aa228fdSmrg
33359aa228fdSmrg    case $depmode in
33369aa228fdSmrg    nosideeffect)
33379aa228fdSmrg      # after this tag, mechanisms are not by side-effect, so they'll
33389aa228fdSmrg      # only be used when explicitly requested
33399aa228fdSmrg      if test "x$enable_dependency_tracking" = xyes; then
33409aa228fdSmrg	continue
33419aa228fdSmrg      else
33429aa228fdSmrg	break
33439aa228fdSmrg      fi
33449aa228fdSmrg      ;;
33459aa228fdSmrg    none) break ;;
33469aa228fdSmrg    esac
33479aa228fdSmrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
33489aa228fdSmrg    # mode.  It turns out that the SunPro C++ compiler does not properly
33499aa228fdSmrg    # handle `-M -o', and we need to detect this.
33509aa228fdSmrg    if depmode=$depmode \
33519aa228fdSmrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
33529aa228fdSmrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
33539aa228fdSmrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
33549aa228fdSmrg         >/dev/null 2>conftest.err &&
33559aa228fdSmrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
33569aa228fdSmrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
33579aa228fdSmrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
33589aa228fdSmrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
33599aa228fdSmrg      # icc doesn't choke on unknown options, it will just issue warnings
33609aa228fdSmrg      # or remarks (even with -Werror).  So we grep stderr for any message
33619aa228fdSmrg      # that says an option was ignored or not supported.
33629aa228fdSmrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
33639aa228fdSmrg      #   icc: Command line warning: ignoring option '-M'; no argument required
33649aa228fdSmrg      # The diagnosis changed in icc 8.0:
33659aa228fdSmrg      #   icc: Command line remark: option '-MP' not supported
33669aa228fdSmrg      if (grep 'ignoring option' conftest.err ||
33679aa228fdSmrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
33689aa228fdSmrg        am_cv_CC_dependencies_compiler_type=$depmode
33699aa228fdSmrg        break
33709aa228fdSmrg      fi
33719aa228fdSmrg    fi
33729aa228fdSmrg  done
33739aa228fdSmrg
33749aa228fdSmrg  cd ..
33759aa228fdSmrg  rm -rf conftest.dir
33769aa228fdSmrgelse
33779aa228fdSmrg  am_cv_CC_dependencies_compiler_type=none
33789aa228fdSmrgfi
33799aa228fdSmrg
33809aa228fdSmrgfi
33819aa228fdSmrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
33829aa228fdSmrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
33839aa228fdSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
33849aa228fdSmrg
33859aa228fdSmrg if
33869aa228fdSmrg  test "x$enable_dependency_tracking" != xno \
33879aa228fdSmrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
33889aa228fdSmrg  am__fastdepCC_TRUE=
33899aa228fdSmrg  am__fastdepCC_FALSE='#'
33909aa228fdSmrgelse
33919aa228fdSmrg  am__fastdepCC_TRUE='#'
33929aa228fdSmrg  am__fastdepCC_FALSE=
33939aa228fdSmrgfi
33949aa228fdSmrg
33959aa228fdSmrg
33969aa228fdSmrg# Find a good install program.  We prefer a C program (faster),
33979aa228fdSmrg# so one script is as good as another.  But avoid the broken or
33989aa228fdSmrg# incompatible versions:
33999aa228fdSmrg# SysV /etc/install, /usr/sbin/install
34009aa228fdSmrg# SunOS /usr/etc/install
34019aa228fdSmrg# IRIX /sbin/install
34029aa228fdSmrg# AIX /bin/install
34039aa228fdSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
34049aa228fdSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34059aa228fdSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
34069aa228fdSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34079aa228fdSmrg# OS/2's system install, which has a completely different semantic
34089aa228fdSmrg# ./install, which can be erroneously created by make from ./install.sh.
34099aa228fdSmrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34109aa228fdSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
34119aa228fdSmrgif test -z "$INSTALL"; then
34129aa228fdSmrgif test "${ac_cv_path_install+set}" = set; then
34139aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
34149aa228fdSmrgelse
34159aa228fdSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34169aa228fdSmrgfor as_dir in $PATH
34179aa228fdSmrgdo
34189aa228fdSmrg  IFS=$as_save_IFS
34199aa228fdSmrg  test -z "$as_dir" && as_dir=.
34209aa228fdSmrg  # Account for people who put trailing slashes in PATH elements.
34219aa228fdSmrgcase $as_dir/ in
34229aa228fdSmrg  ./ | .// | /cC/* | \
34239aa228fdSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34249aa228fdSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
34259aa228fdSmrg  /usr/ucb/* ) ;;
34269aa228fdSmrg  *)
34279aa228fdSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
34289aa228fdSmrg    # Don't use installbsd from OSF since it installs stuff as root
34299aa228fdSmrg    # by default.
34309aa228fdSmrg    for ac_prog in ginstall scoinst install; do
34319aa228fdSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
34329aa228fdSmrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
34339aa228fdSmrg	  if test $ac_prog = install &&
34349aa228fdSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34359aa228fdSmrg	    # AIX install.  It has an incompatible calling convention.
34369aa228fdSmrg	    :
34379aa228fdSmrg	  elif test $ac_prog = install &&
34389aa228fdSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34399aa228fdSmrg	    # program-specific install script used by HP pwplus--don't use.
34409aa228fdSmrg	    :
34419aa228fdSmrg	  else
34429aa228fdSmrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34439aa228fdSmrg	    break 3
34449aa228fdSmrg	  fi
34459aa228fdSmrg	fi
34469aa228fdSmrg      done
34479aa228fdSmrg    done
34489aa228fdSmrg    ;;
34499aa228fdSmrgesac
34509aa228fdSmrgdone
34519aa228fdSmrgIFS=$as_save_IFS
34529aa228fdSmrg
34539aa228fdSmrg
34549aa228fdSmrgfi
34559aa228fdSmrg  if test "${ac_cv_path_install+set}" = set; then
34569aa228fdSmrg    INSTALL=$ac_cv_path_install
34579aa228fdSmrg  else
34589aa228fdSmrg    # As a last resort, use the slow shell script.  Don't cache a
34599aa228fdSmrg    # value for INSTALL within a source directory, because that will
34609aa228fdSmrg    # break other packages using the cache if that directory is
34619aa228fdSmrg    # removed, or if the value is a relative name.
34629aa228fdSmrg    INSTALL=$ac_install_sh
34639aa228fdSmrg  fi
34649aa228fdSmrgfi
34659aa228fdSmrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
34669aa228fdSmrgecho "${ECHO_T}$INSTALL" >&6; }
34679aa228fdSmrg
34689aa228fdSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34699aa228fdSmrg# It thinks the first close brace ends the variable substitution.
34709aa228fdSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34719aa228fdSmrg
34729aa228fdSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34739aa228fdSmrg
34749aa228fdSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34759aa228fdSmrg
34769aa228fdSmrg
34779aa228fdSmrg
347883d7c197Smrgac_ext=c
347983d7c197Smrgac_cpp='$CPP $CPPFLAGS'
348083d7c197Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
348183d7c197Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
348283d7c197Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
348383d7c197Smrg{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
348483d7c197Smrgecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
348583d7c197Smrg# On Suns, sometimes $CPP names a directory.
348683d7c197Smrgif test -n "$CPP" && test -d "$CPP"; then
348783d7c197Smrg  CPP=
348883d7c197Smrgfi
348983d7c197Smrgif test -z "$CPP"; then
349083d7c197Smrg  if test "${ac_cv_prog_CPP+set}" = set; then
34919aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
34929aa228fdSmrgelse
349383d7c197Smrg      # Double quotes because CPP needs to be expanded
349483d7c197Smrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
349583d7c197Smrg    do
349683d7c197Smrg      ac_preproc_ok=false
349783d7c197Smrgfor ac_c_preproc_warn_flag in '' yes
349883d7c197Smrgdo
349983d7c197Smrg  # Use a header file that comes with gcc, so configuring glibc
350083d7c197Smrg  # with a fresh cross-compiler works.
350183d7c197Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
350283d7c197Smrg  # <limits.h> exists even on freestanding compilers.
350383d7c197Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
350483d7c197Smrg  # not just through cpp. "Syntax error" is here to catch this case.
35059aa228fdSmrg  cat >conftest.$ac_ext <<_ACEOF
35069aa228fdSmrg/* confdefs.h.  */
35079aa228fdSmrg_ACEOF
35089aa228fdSmrgcat confdefs.h >>conftest.$ac_ext
35099aa228fdSmrgcat >>conftest.$ac_ext <<_ACEOF
35109aa228fdSmrg/* end confdefs.h.  */
35119aa228fdSmrg#ifdef __STDC__
35129aa228fdSmrg# include <limits.h>
35139aa228fdSmrg#else
35149aa228fdSmrg# include <assert.h>
35159aa228fdSmrg#endif
351683d7c197Smrg		     Syntax error
351783d7c197Smrg_ACEOF
351883d7c197Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
351983d7c197Smrgcase "(($ac_try" in
352083d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
352183d7c197Smrg  *) ac_try_echo=$ac_try;;
352283d7c197Smrgesac
352383d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
352483d7c197Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
352583d7c197Smrg  ac_status=$?
352683d7c197Smrg  grep -v '^ *+' conftest.er1 >conftest.err
352783d7c197Smrg  rm -f conftest.er1
352883d7c197Smrg  cat conftest.err >&5
352983d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
353083d7c197Smrg  (exit $ac_status); } >/dev/null && {
353183d7c197Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
353283d7c197Smrg	 test ! -s conftest.err
353383d7c197Smrg       }; then
353483d7c197Smrg  :
353583d7c197Smrgelse
353683d7c197Smrg  echo "$as_me: failed program was:" >&5
353783d7c197Smrgsed 's/^/| /' conftest.$ac_ext >&5
35389aa228fdSmrg
353983d7c197Smrg  # Broken: fails on valid input.
354083d7c197Smrgcontinue
354183d7c197Smrgfi
35429aa228fdSmrg
354383d7c197Smrgrm -f conftest.err conftest.$ac_ext
35449aa228fdSmrg
354583d7c197Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
354683d7c197Smrg  # can be detected and how.
354783d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
354883d7c197Smrg/* confdefs.h.  */
35499aa228fdSmrg_ACEOF
355083d7c197Smrgcat confdefs.h >>conftest.$ac_ext
355183d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
355283d7c197Smrg/* end confdefs.h.  */
355383d7c197Smrg#include <ac_nonexistent.h>
355483d7c197Smrg_ACEOF
355583d7c197Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
35569aa228fdSmrgcase "(($ac_try" in
35579aa228fdSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35589aa228fdSmrg  *) ac_try_echo=$ac_try;;
35599aa228fdSmrgesac
35609aa228fdSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
356183d7c197Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35629aa228fdSmrg  ac_status=$?
35639aa228fdSmrg  grep -v '^ *+' conftest.er1 >conftest.err
35649aa228fdSmrg  rm -f conftest.er1
35659aa228fdSmrg  cat conftest.err >&5
35669aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
356783d7c197Smrg  (exit $ac_status); } >/dev/null && {
356883d7c197Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35699aa228fdSmrg	 test ! -s conftest.err
357083d7c197Smrg       }; then
357183d7c197Smrg  # Broken: success on invalid input.
357283d7c197Smrgcontinue
35739aa228fdSmrgelse
35749aa228fdSmrg  echo "$as_me: failed program was:" >&5
35759aa228fdSmrgsed 's/^/| /' conftest.$ac_ext >&5
35769aa228fdSmrg
357783d7c197Smrg  # Passes both tests.
357883d7c197Smrgac_preproc_ok=:
357983d7c197Smrgbreak
35809aa228fdSmrgfi
35819aa228fdSmrg
358283d7c197Smrgrm -f conftest.err conftest.$ac_ext
358383d7c197Smrg
358483d7c197Smrgdone
358583d7c197Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
358683d7c197Smrgrm -f conftest.err conftest.$ac_ext
358783d7c197Smrgif $ac_preproc_ok; then
358883d7c197Smrg  break
35899aa228fdSmrgfi
359083d7c197Smrg
359183d7c197Smrg    done
359283d7c197Smrg    ac_cv_prog_CPP=$CPP
359383d7c197Smrg
359483d7c197Smrgfi
359583d7c197Smrg  CPP=$ac_cv_prog_CPP
359683d7c197Smrgelse
359783d7c197Smrg  ac_cv_prog_CPP=$CPP
359883d7c197Smrgfi
359983d7c197Smrg{ echo "$as_me:$LINENO: result: $CPP" >&5
360083d7c197Smrgecho "${ECHO_T}$CPP" >&6; }
360183d7c197Smrgac_preproc_ok=false
360283d7c197Smrgfor ac_c_preproc_warn_flag in '' yes
360383d7c197Smrgdo
360483d7c197Smrg  # Use a header file that comes with gcc, so configuring glibc
360583d7c197Smrg  # with a fresh cross-compiler works.
360683d7c197Smrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
360783d7c197Smrg  # <limits.h> exists even on freestanding compilers.
360883d7c197Smrg  # On the NeXT, cc -E runs the code through the compiler's parser,
360983d7c197Smrg  # not just through cpp. "Syntax error" is here to catch this case.
361083d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
361183d7c197Smrg/* confdefs.h.  */
361283d7c197Smrg_ACEOF
361383d7c197Smrgcat confdefs.h >>conftest.$ac_ext
361483d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
361583d7c197Smrg/* end confdefs.h.  */
361683d7c197Smrg#ifdef __STDC__
361783d7c197Smrg# include <limits.h>
361883d7c197Smrg#else
361983d7c197Smrg# include <assert.h>
362083d7c197Smrg#endif
362183d7c197Smrg		     Syntax error
36229aa228fdSmrg_ACEOF
362383d7c197Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
362483d7c197Smrgcase "(($ac_try" in
362583d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
362683d7c197Smrg  *) ac_try_echo=$ac_try;;
362783d7c197Smrgesac
362883d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
362983d7c197Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
363083d7c197Smrg  ac_status=$?
363183d7c197Smrg  grep -v '^ *+' conftest.er1 >conftest.err
363283d7c197Smrg  rm -f conftest.er1
363383d7c197Smrg  cat conftest.err >&5
363483d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
363583d7c197Smrg  (exit $ac_status); } >/dev/null && {
363683d7c197Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
363783d7c197Smrg	 test ! -s conftest.err
363883d7c197Smrg       }; then
363983d7c197Smrg  :
364083d7c197Smrgelse
364183d7c197Smrg  echo "$as_me: failed program was:" >&5
364283d7c197Smrgsed 's/^/| /' conftest.$ac_ext >&5
36439aa228fdSmrg
364483d7c197Smrg  # Broken: fails on valid input.
364583d7c197Smrgcontinue
36469aa228fdSmrgfi
36479aa228fdSmrg
364883d7c197Smrgrm -f conftest.err conftest.$ac_ext
36499aa228fdSmrg
365083d7c197Smrg  # OK, works on sane cases.  Now check whether nonexistent headers
365183d7c197Smrg  # can be detected and how.
365283d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
365383d7c197Smrg/* confdefs.h.  */
365483d7c197Smrg_ACEOF
365583d7c197Smrgcat confdefs.h >>conftest.$ac_ext
365683d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
365783d7c197Smrg/* end confdefs.h.  */
365883d7c197Smrg#include <ac_nonexistent.h>
365983d7c197Smrg_ACEOF
366083d7c197Smrgif { (ac_try="$ac_cpp conftest.$ac_ext"
366183d7c197Smrgcase "(($ac_try" in
366283d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
366383d7c197Smrg  *) ac_try_echo=$ac_try;;
366483d7c197Smrgesac
366583d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
366683d7c197Smrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
366783d7c197Smrg  ac_status=$?
366883d7c197Smrg  grep -v '^ *+' conftest.er1 >conftest.err
366983d7c197Smrg  rm -f conftest.er1
367083d7c197Smrg  cat conftest.err >&5
367183d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
367283d7c197Smrg  (exit $ac_status); } >/dev/null && {
367383d7c197Smrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
367483d7c197Smrg	 test ! -s conftest.err
367583d7c197Smrg       }; then
367683d7c197Smrg  # Broken: success on invalid input.
367783d7c197Smrgcontinue
367883d7c197Smrgelse
367983d7c197Smrg  echo "$as_me: failed program was:" >&5
368083d7c197Smrgsed 's/^/| /' conftest.$ac_ext >&5
36819aa228fdSmrg
368283d7c197Smrg  # Passes both tests.
368383d7c197Smrgac_preproc_ok=:
368483d7c197Smrgbreak
368583d7c197Smrgfi
36869aa228fdSmrg
368783d7c197Smrgrm -f conftest.err conftest.$ac_ext
368883d7c197Smrg
368983d7c197Smrgdone
369083d7c197Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
369183d7c197Smrgrm -f conftest.err conftest.$ac_ext
369283d7c197Smrgif $ac_preproc_ok; then
369383d7c197Smrg  :
369483d7c197Smrgelse
369583d7c197Smrg  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
369683d7c197SmrgSee \`config.log' for more details." >&5
369783d7c197Smrgecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check
369883d7c197SmrgSee \`config.log' for more details." >&2;}
369983d7c197Smrg   { (exit 1); exit 1; }; }
370083d7c197Smrgfi
370183d7c197Smrg
370283d7c197Smrgac_ext=c
370383d7c197Smrgac_cpp='$CPP $CPPFLAGS'
370483d7c197Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
370583d7c197Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
370683d7c197Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
370783d7c197Smrg
370883d7c197Smrg
370983d7c197Smrg{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
371083d7c197Smrgecho $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
371183d7c197Smrgif test "${ac_cv_path_GREP+set}" = set; then
37129aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
37139aa228fdSmrgelse
371483d7c197Smrg  # Extract the first word of "grep ggrep" to use in msg output
371583d7c197Smrgif test -z "$GREP"; then
371683d7c197Smrgset dummy grep ggrep; ac_prog_name=$2
371783d7c197Smrgif test "${ac_cv_path_GREP+set}" = set; then
371883d7c197Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
371983d7c197Smrgelse
372083d7c197Smrg  ac_path_GREP_found=false
372183d7c197Smrg# Loop through the user's path and test for each of PROGNAME-LIST
372283d7c197Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
372383d7c197Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
37249aa228fdSmrgdo
37259aa228fdSmrg  IFS=$as_save_IFS
37269aa228fdSmrg  test -z "$as_dir" && as_dir=.
372783d7c197Smrg  for ac_prog in grep ggrep; do
37289aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
372983d7c197Smrg    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
373083d7c197Smrg    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
373183d7c197Smrg    # Check for GNU ac_path_GREP and select it if it is found.
373283d7c197Smrg  # Check for GNU $ac_path_GREP
373383d7c197Smrgcase `"$ac_path_GREP" --version 2>&1` in
373483d7c197Smrg*GNU*)
373583d7c197Smrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
373683d7c197Smrg*)
373783d7c197Smrg  ac_count=0
373883d7c197Smrg  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
373983d7c197Smrg  while :
374083d7c197Smrg  do
374183d7c197Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
374283d7c197Smrg    mv "conftest.tmp" "conftest.in"
374383d7c197Smrg    cp "conftest.in" "conftest.nl"
374483d7c197Smrg    echo 'GREP' >> "conftest.nl"
374583d7c197Smrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
374683d7c197Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
374783d7c197Smrg    ac_count=`expr $ac_count + 1`
374883d7c197Smrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
374983d7c197Smrg      # Best one so far, save it but keep looking for a better one
375083d7c197Smrg      ac_cv_path_GREP="$ac_path_GREP"
375183d7c197Smrg      ac_path_GREP_max=$ac_count
375283d7c197Smrg    fi
375383d7c197Smrg    # 10*(2^10) chars as input seems more than enough
375483d7c197Smrg    test $ac_count -gt 10 && break
375583d7c197Smrg  done
375683d7c197Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
375783d7c197Smrgesac
375883d7c197Smrg
375983d7c197Smrg
376083d7c197Smrg    $ac_path_GREP_found && break 3
376183d7c197Smrg  done
37629aa228fdSmrgdone
376383d7c197Smrg
37649aa228fdSmrgdone
37659aa228fdSmrgIFS=$as_save_IFS
37669aa228fdSmrg
376783d7c197Smrg
37689aa228fdSmrgfi
376983d7c197Smrg
377083d7c197SmrgGREP="$ac_cv_path_GREP"
377183d7c197Smrgif test -z "$GREP"; then
377283d7c197Smrg  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
377383d7c197Smrgecho "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
377483d7c197Smrg   { (exit 1); exit 1; }; }
377583d7c197Smrgfi
377683d7c197Smrg
37779aa228fdSmrgelse
377883d7c197Smrg  ac_cv_path_GREP=$GREP
37799aa228fdSmrgfi
37809aa228fdSmrg
37819aa228fdSmrg
37829aa228fdSmrgfi
378383d7c197Smrg{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
378483d7c197Smrgecho "${ECHO_T}$ac_cv_path_GREP" >&6; }
378583d7c197Smrg GREP="$ac_cv_path_GREP"
378683d7c197Smrg
378783d7c197Smrg
378883d7c197Smrg{ echo "$as_me:$LINENO: checking for egrep" >&5
378983d7c197Smrgecho $ECHO_N "checking for egrep... $ECHO_C" >&6; }
379083d7c197Smrgif test "${ac_cv_path_EGREP+set}" = set; then
37919aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
37929aa228fdSmrgelse
379383d7c197Smrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
379483d7c197Smrg   then ac_cv_path_EGREP="$GREP -E"
379583d7c197Smrg   else
379683d7c197Smrg     # Extract the first word of "egrep" to use in msg output
379783d7c197Smrgif test -z "$EGREP"; then
379883d7c197Smrgset dummy egrep; ac_prog_name=$2
379983d7c197Smrgif test "${ac_cv_path_EGREP+set}" = set; then
380083d7c197Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
380183d7c197Smrgelse
380283d7c197Smrg  ac_path_EGREP_found=false
380383d7c197Smrg# Loop through the user's path and test for each of PROGNAME-LIST
380483d7c197Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
380583d7c197Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
38069aa228fdSmrgdo
38079aa228fdSmrg  IFS=$as_save_IFS
38089aa228fdSmrg  test -z "$as_dir" && as_dir=.
380983d7c197Smrg  for ac_prog in egrep; do
38109aa228fdSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
381183d7c197Smrg    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
381283d7c197Smrg    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
381383d7c197Smrg    # Check for GNU ac_path_EGREP and select it if it is found.
381483d7c197Smrg  # Check for GNU $ac_path_EGREP
381583d7c197Smrgcase `"$ac_path_EGREP" --version 2>&1` in
381683d7c197Smrg*GNU*)
381783d7c197Smrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
381883d7c197Smrg*)
381983d7c197Smrg  ac_count=0
382083d7c197Smrg  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
382183d7c197Smrg  while :
382283d7c197Smrg  do
382383d7c197Smrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
382483d7c197Smrg    mv "conftest.tmp" "conftest.in"
382583d7c197Smrg    cp "conftest.in" "conftest.nl"
382683d7c197Smrg    echo 'EGREP' >> "conftest.nl"
382783d7c197Smrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
382883d7c197Smrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
382983d7c197Smrg    ac_count=`expr $ac_count + 1`
383083d7c197Smrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
383183d7c197Smrg      # Best one so far, save it but keep looking for a better one
383283d7c197Smrg      ac_cv_path_EGREP="$ac_path_EGREP"
383383d7c197Smrg      ac_path_EGREP_max=$ac_count
383483d7c197Smrg    fi
383583d7c197Smrg    # 10*(2^10) chars as input seems more than enough
383683d7c197Smrg    test $ac_count -gt 10 && break
383783d7c197Smrg  done
383883d7c197Smrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
383983d7c197Smrgesac
384083d7c197Smrg
384183d7c197Smrg
384283d7c197Smrg    $ac_path_EGREP_found && break 3
384383d7c197Smrg  done
384483d7c197Smrgdone
384583d7c197Smrg
384683d7c197Smrgdone
384783d7c197SmrgIFS=$as_save_IFS
384883d7c197Smrg
384983d7c197Smrg
385083d7c197Smrgfi
385183d7c197Smrg
385283d7c197SmrgEGREP="$ac_cv_path_EGREP"
385383d7c197Smrgif test -z "$EGREP"; then
385483d7c197Smrg  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
385583d7c197Smrgecho "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
385683d7c197Smrg   { (exit 1); exit 1; }; }
385783d7c197Smrgfi
385883d7c197Smrg
385983d7c197Smrgelse
386083d7c197Smrg  ac_cv_path_EGREP=$EGREP
386183d7c197Smrgfi
386283d7c197Smrg
386383d7c197Smrg
386483d7c197Smrg   fi
386583d7c197Smrgfi
386683d7c197Smrg{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
386783d7c197Smrgecho "${ECHO_T}$ac_cv_path_EGREP" >&6; }
386883d7c197Smrg EGREP="$ac_cv_path_EGREP"
386983d7c197Smrg
387083d7c197Smrg
387183d7c197Smrg{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
387283d7c197Smrgecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
387383d7c197Smrgif test "${ac_cv_header_stdc+set}" = set; then
387483d7c197Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
387583d7c197Smrgelse
387683d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
387783d7c197Smrg/* confdefs.h.  */
387883d7c197Smrg_ACEOF
387983d7c197Smrgcat confdefs.h >>conftest.$ac_ext
388083d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
388183d7c197Smrg/* end confdefs.h.  */
388283d7c197Smrg#include <stdlib.h>
388383d7c197Smrg#include <stdarg.h>
388483d7c197Smrg#include <string.h>
388583d7c197Smrg#include <float.h>
388683d7c197Smrg
388783d7c197Smrgint
388883d7c197Smrgmain ()
388983d7c197Smrg{
389083d7c197Smrg
389183d7c197Smrg  ;
389283d7c197Smrg  return 0;
389383d7c197Smrg}
389483d7c197Smrg_ACEOF
389583d7c197Smrgrm -f conftest.$ac_objext
389683d7c197Smrgif { (ac_try="$ac_compile"
389783d7c197Smrgcase "(($ac_try" in
389883d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
389983d7c197Smrg  *) ac_try_echo=$ac_try;;
390083d7c197Smrgesac
390183d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
390283d7c197Smrg  (eval "$ac_compile") 2>conftest.er1
390383d7c197Smrg  ac_status=$?
390483d7c197Smrg  grep -v '^ *+' conftest.er1 >conftest.err
390583d7c197Smrg  rm -f conftest.er1
390683d7c197Smrg  cat conftest.err >&5
390783d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
390883d7c197Smrg  (exit $ac_status); } && {
390983d7c197Smrg	 test -z "$ac_c_werror_flag" ||
391083d7c197Smrg	 test ! -s conftest.err
391183d7c197Smrg       } && test -s conftest.$ac_objext; then
391283d7c197Smrg  ac_cv_header_stdc=yes
391383d7c197Smrgelse
391483d7c197Smrg  echo "$as_me: failed program was:" >&5
391583d7c197Smrgsed 's/^/| /' conftest.$ac_ext >&5
391683d7c197Smrg
391783d7c197Smrg	ac_cv_header_stdc=no
391883d7c197Smrgfi
391983d7c197Smrg
392083d7c197Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
392183d7c197Smrg
392283d7c197Smrgif test $ac_cv_header_stdc = yes; then
392383d7c197Smrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
392483d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
392583d7c197Smrg/* confdefs.h.  */
392683d7c197Smrg_ACEOF
392783d7c197Smrgcat confdefs.h >>conftest.$ac_ext
392883d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
392983d7c197Smrg/* end confdefs.h.  */
393083d7c197Smrg#include <string.h>
393183d7c197Smrg
393283d7c197Smrg_ACEOF
393383d7c197Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
393483d7c197Smrg  $EGREP "memchr" >/dev/null 2>&1; then
393583d7c197Smrg  :
393683d7c197Smrgelse
393783d7c197Smrg  ac_cv_header_stdc=no
393883d7c197Smrgfi
393983d7c197Smrgrm -f conftest*
394083d7c197Smrg
394183d7c197Smrgfi
394283d7c197Smrg
394383d7c197Smrgif test $ac_cv_header_stdc = yes; then
394483d7c197Smrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
394583d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
394683d7c197Smrg/* confdefs.h.  */
394783d7c197Smrg_ACEOF
394883d7c197Smrgcat confdefs.h >>conftest.$ac_ext
394983d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
395083d7c197Smrg/* end confdefs.h.  */
395183d7c197Smrg#include <stdlib.h>
395283d7c197Smrg
395383d7c197Smrg_ACEOF
395483d7c197Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
395583d7c197Smrg  $EGREP "free" >/dev/null 2>&1; then
395683d7c197Smrg  :
395783d7c197Smrgelse
395883d7c197Smrg  ac_cv_header_stdc=no
395983d7c197Smrgfi
396083d7c197Smrgrm -f conftest*
396183d7c197Smrg
396283d7c197Smrgfi
396383d7c197Smrg
396483d7c197Smrgif test $ac_cv_header_stdc = yes; then
396583d7c197Smrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
396683d7c197Smrg  if test "$cross_compiling" = yes; then
396783d7c197Smrg  :
396883d7c197Smrgelse
396983d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
397083d7c197Smrg/* confdefs.h.  */
397183d7c197Smrg_ACEOF
397283d7c197Smrgcat confdefs.h >>conftest.$ac_ext
397383d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
397483d7c197Smrg/* end confdefs.h.  */
397583d7c197Smrg#include <ctype.h>
397683d7c197Smrg#include <stdlib.h>
397783d7c197Smrg#if ((' ' & 0x0FF) == 0x020)
397883d7c197Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
397983d7c197Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
398083d7c197Smrg#else
398183d7c197Smrg# define ISLOWER(c) \
398283d7c197Smrg		   (('a' <= (c) && (c) <= 'i') \
398383d7c197Smrg		     || ('j' <= (c) && (c) <= 'r') \
398483d7c197Smrg		     || ('s' <= (c) && (c) <= 'z'))
398583d7c197Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
398683d7c197Smrg#endif
398783d7c197Smrg
398883d7c197Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
398983d7c197Smrgint
399083d7c197Smrgmain ()
399183d7c197Smrg{
399283d7c197Smrg  int i;
399383d7c197Smrg  for (i = 0; i < 256; i++)
399483d7c197Smrg    if (XOR (islower (i), ISLOWER (i))
399583d7c197Smrg	|| toupper (i) != TOUPPER (i))
399683d7c197Smrg      return 2;
399783d7c197Smrg  return 0;
399883d7c197Smrg}
399983d7c197Smrg_ACEOF
400083d7c197Smrgrm -f conftest$ac_exeext
400183d7c197Smrgif { (ac_try="$ac_link"
400283d7c197Smrgcase "(($ac_try" in
400383d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
400483d7c197Smrg  *) ac_try_echo=$ac_try;;
400583d7c197Smrgesac
400683d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
400783d7c197Smrg  (eval "$ac_link") 2>&5
400883d7c197Smrg  ac_status=$?
400983d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
401083d7c197Smrg  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
401183d7c197Smrg  { (case "(($ac_try" in
401283d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
401383d7c197Smrg  *) ac_try_echo=$ac_try;;
401483d7c197Smrgesac
401583d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
401683d7c197Smrg  (eval "$ac_try") 2>&5
401783d7c197Smrg  ac_status=$?
401883d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
401983d7c197Smrg  (exit $ac_status); }; }; then
402083d7c197Smrg  :
402183d7c197Smrgelse
402283d7c197Smrg  echo "$as_me: program exited with status $ac_status" >&5
402383d7c197Smrgecho "$as_me: failed program was:" >&5
402483d7c197Smrgsed 's/^/| /' conftest.$ac_ext >&5
402583d7c197Smrg
402683d7c197Smrg( exit $ac_status )
402783d7c197Smrgac_cv_header_stdc=no
402883d7c197Smrgfi
402983d7c197Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
403083d7c197Smrgfi
403183d7c197Smrg
403283d7c197Smrg
403383d7c197Smrgfi
403483d7c197Smrgfi
403583d7c197Smrg{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
403683d7c197Smrgecho "${ECHO_T}$ac_cv_header_stdc" >&6; }
403783d7c197Smrgif test $ac_cv_header_stdc = yes; then
403883d7c197Smrg
403983d7c197Smrgcat >>confdefs.h <<\_ACEOF
404083d7c197Smrg#define STDC_HEADERS 1
404183d7c197Smrg_ACEOF
404283d7c197Smrg
404383d7c197Smrgfi
404483d7c197Smrg
404583d7c197Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
404683d7c197Smrg
404783d7c197Smrg
404883d7c197Smrg
404983d7c197Smrg
405083d7c197Smrg
405183d7c197Smrg
405283d7c197Smrg
405383d7c197Smrg
405483d7c197Smrg
405583d7c197Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
405683d7c197Smrg		  inttypes.h stdint.h unistd.h
405783d7c197Smrgdo
405883d7c197Smrgas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
405983d7c197Smrg{ echo "$as_me:$LINENO: checking for $ac_header" >&5
406083d7c197Smrgecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
406183d7c197Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
406283d7c197Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
406383d7c197Smrgelse
406483d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
406583d7c197Smrg/* confdefs.h.  */
406683d7c197Smrg_ACEOF
406783d7c197Smrgcat confdefs.h >>conftest.$ac_ext
406883d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
406983d7c197Smrg/* end confdefs.h.  */
407083d7c197Smrg$ac_includes_default
407183d7c197Smrg
407283d7c197Smrg#include <$ac_header>
407383d7c197Smrg_ACEOF
407483d7c197Smrgrm -f conftest.$ac_objext
407583d7c197Smrgif { (ac_try="$ac_compile"
407683d7c197Smrgcase "(($ac_try" in
407783d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
407883d7c197Smrg  *) ac_try_echo=$ac_try;;
407983d7c197Smrgesac
408083d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
408183d7c197Smrg  (eval "$ac_compile") 2>conftest.er1
408283d7c197Smrg  ac_status=$?
408383d7c197Smrg  grep -v '^ *+' conftest.er1 >conftest.err
408483d7c197Smrg  rm -f conftest.er1
408583d7c197Smrg  cat conftest.err >&5
408683d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
408783d7c197Smrg  (exit $ac_status); } && {
408883d7c197Smrg	 test -z "$ac_c_werror_flag" ||
408983d7c197Smrg	 test ! -s conftest.err
409083d7c197Smrg       } && test -s conftest.$ac_objext; then
409183d7c197Smrg  eval "$as_ac_Header=yes"
409283d7c197Smrgelse
409383d7c197Smrg  echo "$as_me: failed program was:" >&5
409483d7c197Smrgsed 's/^/| /' conftest.$ac_ext >&5
409583d7c197Smrg
409683d7c197Smrg	eval "$as_ac_Header=no"
409783d7c197Smrgfi
409883d7c197Smrg
409983d7c197Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
410083d7c197Smrgfi
410183d7c197Smrgac_res=`eval echo '${'$as_ac_Header'}'`
410283d7c197Smrg	       { echo "$as_me:$LINENO: result: $ac_res" >&5
410383d7c197Smrgecho "${ECHO_T}$ac_res" >&6; }
410483d7c197Smrgif test `eval echo '${'$as_ac_Header'}'` = yes; then
410583d7c197Smrg  cat >>confdefs.h <<_ACEOF
410683d7c197Smrg#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
410783d7c197Smrg_ACEOF
410883d7c197Smrg
410983d7c197Smrgfi
411083d7c197Smrg
411183d7c197Smrgdone
411283d7c197Smrg
411383d7c197Smrg
411483d7c197Smrg
411583d7c197Smrg
411683d7c197Smrgif  test "x$GCC" = xyes ; then
411783d7c197Smrg    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
411883d7c197Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
411983d7c197Smrg-Wbad-function-cast"
412083d7c197Smrg    case `$CC -dumpversion` in
412183d7c197Smrg    3.4.* | 4.*)
412283d7c197Smrg	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
412383d7c197Smrg	;;
412483d7c197Smrg    esac
412583d7c197Smrgelse
412683d7c197Smrg    { echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
412783d7c197Smrgecho $ECHO_N "checking whether __SUNPRO_C is declared... $ECHO_C" >&6; }
412883d7c197Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
412983d7c197Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
413083d7c197Smrgelse
413183d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
413283d7c197Smrg/* confdefs.h.  */
413383d7c197Smrg_ACEOF
413483d7c197Smrgcat confdefs.h >>conftest.$ac_ext
413583d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
413683d7c197Smrg/* end confdefs.h.  */
413783d7c197Smrg$ac_includes_default
413883d7c197Smrgint
413983d7c197Smrgmain ()
414083d7c197Smrg{
414183d7c197Smrg#ifndef __SUNPRO_C
414283d7c197Smrg  (void) __SUNPRO_C;
414383d7c197Smrg#endif
414483d7c197Smrg
414583d7c197Smrg  ;
414683d7c197Smrg  return 0;
414783d7c197Smrg}
414883d7c197Smrg_ACEOF
414983d7c197Smrgrm -f conftest.$ac_objext
415083d7c197Smrgif { (ac_try="$ac_compile"
415183d7c197Smrgcase "(($ac_try" in
415283d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
415383d7c197Smrg  *) ac_try_echo=$ac_try;;
415483d7c197Smrgesac
415583d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
415683d7c197Smrg  (eval "$ac_compile") 2>conftest.er1
415783d7c197Smrg  ac_status=$?
415883d7c197Smrg  grep -v '^ *+' conftest.er1 >conftest.err
415983d7c197Smrg  rm -f conftest.er1
416083d7c197Smrg  cat conftest.err >&5
416183d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
416283d7c197Smrg  (exit $ac_status); } && {
416383d7c197Smrg	 test -z "$ac_c_werror_flag" ||
416483d7c197Smrg	 test ! -s conftest.err
416583d7c197Smrg       } && test -s conftest.$ac_objext; then
416683d7c197Smrg  ac_cv_have_decl___SUNPRO_C=yes
416783d7c197Smrgelse
416883d7c197Smrg  echo "$as_me: failed program was:" >&5
416983d7c197Smrgsed 's/^/| /' conftest.$ac_ext >&5
417083d7c197Smrg
417183d7c197Smrg	ac_cv_have_decl___SUNPRO_C=no
417283d7c197Smrgfi
417383d7c197Smrg
417483d7c197Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
417583d7c197Smrgfi
417683d7c197Smrg{ echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
417783d7c197Smrgecho "${ECHO_T}$ac_cv_have_decl___SUNPRO_C" >&6; }
417883d7c197Smrgif test $ac_cv_have_decl___SUNPRO_C = yes; then
417983d7c197Smrg  SUNCC="yes"
418083d7c197Smrgelse
418183d7c197Smrg  SUNCC="no"
418283d7c197Smrgfi
418383d7c197Smrg
418483d7c197Smrg    if test "x$SUNCC" = "xyes"; then
418583d7c197Smrg	CWARNFLAGS="-v"
418683d7c197Smrg    fi
418783d7c197Smrgfi
418883d7c197Smrg
418983d7c197Smrg
419083d7c197Smrg
419183d7c197Smrg
419283d7c197Smrg
419383d7c197Smrg
419483d7c197Smrgfor ac_func in nanosleep poll select
419583d7c197Smrgdo
419683d7c197Smrgas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
419783d7c197Smrg{ echo "$as_me:$LINENO: checking for $ac_func" >&5
419883d7c197Smrgecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
419983d7c197Smrgif { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
420083d7c197Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
420183d7c197Smrgelse
420283d7c197Smrg  cat >conftest.$ac_ext <<_ACEOF
420383d7c197Smrg/* confdefs.h.  */
420483d7c197Smrg_ACEOF
420583d7c197Smrgcat confdefs.h >>conftest.$ac_ext
420683d7c197Smrgcat >>conftest.$ac_ext <<_ACEOF
420783d7c197Smrg/* end confdefs.h.  */
420883d7c197Smrg/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
420983d7c197Smrg   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
421083d7c197Smrg#define $ac_func innocuous_$ac_func
421183d7c197Smrg
421283d7c197Smrg/* System header to define __stub macros and hopefully few prototypes,
421383d7c197Smrg    which can conflict with char $ac_func (); below.
421483d7c197Smrg    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
421583d7c197Smrg    <limits.h> exists even on freestanding compilers.  */
421683d7c197Smrg
421783d7c197Smrg#ifdef __STDC__
421883d7c197Smrg# include <limits.h>
421983d7c197Smrg#else
422083d7c197Smrg# include <assert.h>
422183d7c197Smrg#endif
422283d7c197Smrg
422383d7c197Smrg#undef $ac_func
422483d7c197Smrg
422583d7c197Smrg/* Override any GCC internal prototype to avoid an error.
422683d7c197Smrg   Use char because int might match the return type of a GCC
422783d7c197Smrg   builtin and then its argument prototype would still apply.  */
422883d7c197Smrg#ifdef __cplusplus
422983d7c197Smrgextern "C"
423083d7c197Smrg#endif
423183d7c197Smrgchar $ac_func ();
423283d7c197Smrg/* The GNU C library defines this for functions which it implements
423383d7c197Smrg    to always fail with ENOSYS.  Some functions are actually named
423483d7c197Smrg    something starting with __ and the normal name is an alias.  */
423583d7c197Smrg#if defined __stub_$ac_func || defined __stub___$ac_func
423683d7c197Smrgchoke me
423783d7c197Smrg#endif
423883d7c197Smrg
423983d7c197Smrgint
424083d7c197Smrgmain ()
424183d7c197Smrg{
424283d7c197Smrgreturn $ac_func ();
424383d7c197Smrg  ;
424483d7c197Smrg  return 0;
424583d7c197Smrg}
424683d7c197Smrg_ACEOF
424783d7c197Smrgrm -f conftest.$ac_objext conftest$ac_exeext
424883d7c197Smrgif { (ac_try="$ac_link"
424983d7c197Smrgcase "(($ac_try" in
425083d7c197Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
425183d7c197Smrg  *) ac_try_echo=$ac_try;;
425283d7c197Smrgesac
425383d7c197Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
425483d7c197Smrg  (eval "$ac_link") 2>conftest.er1
425583d7c197Smrg  ac_status=$?
425683d7c197Smrg  grep -v '^ *+' conftest.er1 >conftest.err
425783d7c197Smrg  rm -f conftest.er1
425883d7c197Smrg  cat conftest.err >&5
425983d7c197Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
426083d7c197Smrg  (exit $ac_status); } && {
426183d7c197Smrg	 test -z "$ac_c_werror_flag" ||
426283d7c197Smrg	 test ! -s conftest.err
426383d7c197Smrg       } && test -s conftest$ac_exeext &&
426483d7c197Smrg       $as_test_x conftest$ac_exeext; then
426583d7c197Smrg  eval "$as_ac_var=yes"
426683d7c197Smrgelse
426783d7c197Smrg  echo "$as_me: failed program was:" >&5
426883d7c197Smrgsed 's/^/| /' conftest.$ac_ext >&5
426983d7c197Smrg
427083d7c197Smrg	eval "$as_ac_var=no"
427183d7c197Smrgfi
427283d7c197Smrg
427383d7c197Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
427483d7c197Smrg      conftest$ac_exeext conftest.$ac_ext
427583d7c197Smrgfi
427683d7c197Smrgac_res=`eval echo '${'$as_ac_var'}'`
427783d7c197Smrg	       { echo "$as_me:$LINENO: result: $ac_res" >&5
427883d7c197Smrgecho "${ECHO_T}$ac_res" >&6; }
427983d7c197Smrgif test `eval echo '${'$as_ac_var'}'` = yes; then
428083d7c197Smrg  cat >>confdefs.h <<_ACEOF
428183d7c197Smrg#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
428283d7c197Smrg_ACEOF
428383d7c197Smrg
428483d7c197Smrgfi
428583d7c197Smrgdone
428683d7c197Smrg
428783d7c197Smrg
428883d7c197Smrg# Checks for pkg-config packages
428983d7c197Smrg
429083d7c197Smrg
429183d7c197Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
429283d7c197Smrg	if test -n "$ac_tool_prefix"; then
429383d7c197Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
429483d7c197Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
429583d7c197Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
429683d7c197Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
429783d7c197Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
429883d7c197Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
429983d7c197Smrgelse
430083d7c197Smrg  case $PKG_CONFIG in
430183d7c197Smrg  [\\/]* | ?:[\\/]*)
430283d7c197Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
430383d7c197Smrg  ;;
430483d7c197Smrg  *)
430583d7c197Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
430683d7c197Smrgfor as_dir in $PATH
430783d7c197Smrgdo
430883d7c197Smrg  IFS=$as_save_IFS
430983d7c197Smrg  test -z "$as_dir" && as_dir=.
431083d7c197Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
431183d7c197Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
431283d7c197Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
431383d7c197Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
431483d7c197Smrg    break 2
431583d7c197Smrg  fi
431683d7c197Smrgdone
431783d7c197Smrgdone
431883d7c197SmrgIFS=$as_save_IFS
431983d7c197Smrg
432083d7c197Smrg  ;;
432183d7c197Smrgesac
432283d7c197Smrgfi
432383d7c197SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
432483d7c197Smrgif test -n "$PKG_CONFIG"; then
432583d7c197Smrg  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
432683d7c197Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; }
432783d7c197Smrgelse
432883d7c197Smrg  { echo "$as_me:$LINENO: result: no" >&5
432983d7c197Smrgecho "${ECHO_T}no" >&6; }
433083d7c197Smrgfi
433183d7c197Smrg
433283d7c197Smrg
433383d7c197Smrgfi
433483d7c197Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
433583d7c197Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
433683d7c197Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
433783d7c197Smrgset dummy pkg-config; ac_word=$2
433883d7c197Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
433983d7c197Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
434083d7c197Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
434183d7c197Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
434283d7c197Smrgelse
434383d7c197Smrg  case $ac_pt_PKG_CONFIG in
434483d7c197Smrg  [\\/]* | ?:[\\/]*)
434583d7c197Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
434683d7c197Smrg  ;;
434783d7c197Smrg  *)
434883d7c197Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
434983d7c197Smrgfor as_dir in $PATH
435083d7c197Smrgdo
435183d7c197Smrg  IFS=$as_save_IFS
435283d7c197Smrg  test -z "$as_dir" && as_dir=.
435383d7c197Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
435483d7c197Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
435583d7c197Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
435683d7c197Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
435783d7c197Smrg    break 2
435883d7c197Smrg  fi
435983d7c197Smrgdone
436083d7c197Smrgdone
43619aa228fdSmrgIFS=$as_save_IFS
43629aa228fdSmrg
43639aa228fdSmrg  ;;
43649aa228fdSmrgesac
43659aa228fdSmrgfi
43669aa228fdSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43679aa228fdSmrgif test -n "$ac_pt_PKG_CONFIG"; then
43689aa228fdSmrg  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43699aa228fdSmrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43709aa228fdSmrgelse
43719aa228fdSmrg  { echo "$as_me:$LINENO: result: no" >&5
43729aa228fdSmrgecho "${ECHO_T}no" >&6; }
43739aa228fdSmrgfi
43749aa228fdSmrg
43759aa228fdSmrg  if test "x$ac_pt_PKG_CONFIG" = x; then
43769aa228fdSmrg    PKG_CONFIG=""
43779aa228fdSmrg  else
43789aa228fdSmrg    case $cross_compiling:$ac_tool_warned in
43799aa228fdSmrgyes:)
43809aa228fdSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43819aa228fdSmrgwhose name does not start with the host triplet.  If you think this
43829aa228fdSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
43839aa228fdSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43849aa228fdSmrgwhose name does not start with the host triplet.  If you think this
43859aa228fdSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
43869aa228fdSmrgac_tool_warned=yes ;;
43879aa228fdSmrgesac
43889aa228fdSmrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
43899aa228fdSmrg  fi
43909aa228fdSmrgelse
43919aa228fdSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43929aa228fdSmrgfi
43939aa228fdSmrg
43949aa228fdSmrgfi
43959aa228fdSmrgif test -n "$PKG_CONFIG"; then
43969aa228fdSmrg	_pkg_min_version=0.9.0
43979aa228fdSmrg	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43989aa228fdSmrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43999aa228fdSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44009aa228fdSmrg		{ echo "$as_me:$LINENO: result: yes" >&5
44019aa228fdSmrgecho "${ECHO_T}yes" >&6; }
44029aa228fdSmrg	else
44039aa228fdSmrg		{ echo "$as_me:$LINENO: result: no" >&5
44049aa228fdSmrgecho "${ECHO_T}no" >&6; }
44059aa228fdSmrg		PKG_CONFIG=""
44069aa228fdSmrg	fi
44079aa228fdSmrg
44089aa228fdSmrgfi
44099aa228fdSmrg
44109aa228fdSmrgpkg_failed=no
441183d7c197Smrg{ echo "$as_me:$LINENO: checking for XMAG" >&5
441283d7c197Smrgecho $ECHO_N "checking for XMAG... $ECHO_C" >&6; }
44139aa228fdSmrg
44149aa228fdSmrgif test -n "$PKG_CONFIG"; then
44159aa228fdSmrg        if test -n "$PKG_CONFIG" && \
441683d7c197Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
441783d7c197Smrg  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
44189aa228fdSmrg  ac_status=$?
44199aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44209aa228fdSmrg  (exit $ac_status); }; then
442183d7c197Smrg  pkg_cv_XMAG_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
44229aa228fdSmrgelse
44239aa228fdSmrg  pkg_failed=yes
44249aa228fdSmrgfi
44259aa228fdSmrgelse
44269aa228fdSmrg	pkg_failed=untried
44279aa228fdSmrgfi
44289aa228fdSmrgif test -n "$PKG_CONFIG"; then
44299aa228fdSmrg        if test -n "$PKG_CONFIG" && \
443083d7c197Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
443183d7c197Smrg  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
44329aa228fdSmrg  ac_status=$?
44339aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349aa228fdSmrg  (exit $ac_status); }; then
443583d7c197Smrg  pkg_cv_XMAG_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
44369aa228fdSmrgelse
44379aa228fdSmrg  pkg_failed=yes
44389aa228fdSmrgfi
44399aa228fdSmrgelse
44409aa228fdSmrg	pkg_failed=untried
44419aa228fdSmrgfi
44429aa228fdSmrg
44439aa228fdSmrgif test $pkg_failed = yes; then
444483d7c197Smrg	XMAG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xaw7"`
44459aa228fdSmrg	# Put the nasty error message in config.log where it belongs
444683d7c197Smrg	echo "$XMAG_PKG_ERRORS" 1>&5
444783d7c197Smrg
444883d7c197Smrg	{ { echo "$as_me:$LINENO: error: Package requirements (xaw7) were not met.
444983d7c197SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
445083d7c197Smrginstalled software in a non-standard prefix.
445183d7c197Smrg
445283d7c197SmrgAlternatively you may set the XMAG_CFLAGS and XMAG_LIBS environment variables
445383d7c197Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
445483d7c197Smrgmore details." >&5
445583d7c197Smrgecho "$as_me: error: Package requirements (xaw7) were not met.
445683d7c197SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
445783d7c197Smrginstalled software in a non-standard prefix.
44589aa228fdSmrg
445983d7c197SmrgAlternatively you may set the XMAG_CFLAGS and XMAG_LIBS environment variables
446083d7c197Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
446183d7c197Smrgmore details." >&2;}
446283d7c197Smrg   { (exit 1); exit 1; }; }
44639aa228fdSmrgelif test $pkg_failed = untried; then
446483d7c197Smrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
446583d7c197Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
446683d7c197Smrgpath to pkg-config.
44679aa228fdSmrg
446883d7c197SmrgAlternatively you may set the XMAG_CFLAGS and XMAG_LIBS environment variables
446983d7c197Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
447083d7c197Smrgmore details.
44719aa228fdSmrg
447283d7c197SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
447383d7c197SmrgSee \`config.log' for more details." >&5
447483d7c197Smrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
447583d7c197Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
447683d7c197Smrgpath to pkg-config.
44779aa228fdSmrg
447883d7c197SmrgAlternatively you may set the XMAG_CFLAGS and XMAG_LIBS environment variables
447983d7c197Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
448083d7c197Smrgmore details.
44819aa228fdSmrg
448283d7c197SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
448383d7c197SmrgSee \`config.log' for more details." >&2;}
448483d7c197Smrg   { (exit 1); exit 1; }; }
44859aa228fdSmrgelse
448683d7c197Smrg	XMAG_CFLAGS=$pkg_cv_XMAG_CFLAGS
448783d7c197Smrg	XMAG_LIBS=$pkg_cv_XMAG_LIBS
44889aa228fdSmrg        { echo "$as_me:$LINENO: result: yes" >&5
44899aa228fdSmrgecho "${ECHO_T}yes" >&6; }
449083d7c197Smrg	:
44919aa228fdSmrgfi
449283d7c197SmrgXMAG_CFLAGS="$CWARNFLAGS $XMAG_CFLAGS"
44939aa228fdSmrg
44949aa228fdSmrg
44959aa228fdSmrg
44969aa228fdSmrg
44979aa228fdSmrgpkg_failed=no
44989aa228fdSmrg{ echo "$as_me:$LINENO: checking for APPDEFS" >&5
44999aa228fdSmrgecho $ECHO_N "checking for APPDEFS... $ECHO_C" >&6; }
45009aa228fdSmrg
45019aa228fdSmrgif test -n "$PKG_CONFIG"; then
45029aa228fdSmrg        if test -n "$PKG_CONFIG" && \
45039aa228fdSmrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
45049aa228fdSmrg  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
45059aa228fdSmrg  ac_status=$?
45069aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079aa228fdSmrg  (exit $ac_status); }; then
45089aa228fdSmrg  pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
45099aa228fdSmrgelse
45109aa228fdSmrg  pkg_failed=yes
45119aa228fdSmrgfi
45129aa228fdSmrgelse
45139aa228fdSmrg	pkg_failed=untried
45149aa228fdSmrgfi
45159aa228fdSmrgif test -n "$PKG_CONFIG"; then
45169aa228fdSmrg        if test -n "$PKG_CONFIG" && \
45179aa228fdSmrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
45189aa228fdSmrg  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
45199aa228fdSmrg  ac_status=$?
45209aa228fdSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
45219aa228fdSmrg  (exit $ac_status); }; then
45229aa228fdSmrg  pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
45239aa228fdSmrgelse
45249aa228fdSmrg  pkg_failed=yes
45259aa228fdSmrgfi
45269aa228fdSmrgelse
45279aa228fdSmrg	pkg_failed=untried
45289aa228fdSmrgfi
45299aa228fdSmrg
45309aa228fdSmrgif test $pkg_failed = yes; then
45319aa228fdSmrg	APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
45329aa228fdSmrg	# Put the nasty error message in config.log where it belongs
45339aa228fdSmrg	echo "$APPDEFS_PKG_ERRORS" 1>&5
45349aa228fdSmrg
45359aa228fdSmrg	{ { echo "$as_me:$LINENO: error: Package requirements (xt) were not met.
45369aa228fdSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
45379aa228fdSmrginstalled software in a non-standard prefix.
45389aa228fdSmrg
45399aa228fdSmrgAlternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
45409aa228fdSmrgto avoid the need to call pkg-config.  See the pkg-config man page for
45419aa228fdSmrgmore details." >&5
45429aa228fdSmrgecho "$as_me: error: Package requirements (xt) were not met.
45439aa228fdSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
45449aa228fdSmrginstalled software in a non-standard prefix.
45459aa228fdSmrg
45469aa228fdSmrgAlternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
45479aa228fdSmrgto avoid the need to call pkg-config.  See the pkg-config man page for
45489aa228fdSmrgmore details." >&2;}
45499aa228fdSmrg   { (exit 1); exit 1; }; }
45509aa228fdSmrgelif test $pkg_failed = untried; then
45519aa228fdSmrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
45529aa228fdSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
45539aa228fdSmrgpath to pkg-config.
45549aa228fdSmrg
45559aa228fdSmrgAlternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
45569aa228fdSmrgto avoid the need to call pkg-config.  See the pkg-config man page for
45579aa228fdSmrgmore details.
45589aa228fdSmrg
45599aa228fdSmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
45609aa228fdSmrgSee \`config.log' for more details." >&5
45619aa228fdSmrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
45629aa228fdSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
45639aa228fdSmrgpath to pkg-config.
45649aa228fdSmrg
45659aa228fdSmrgAlternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
45669aa228fdSmrgto avoid the need to call pkg-config.  See the pkg-config man page for
45679aa228fdSmrgmore details.
45689aa228fdSmrg
45699aa228fdSmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
45709aa228fdSmrgSee \`config.log' for more details." >&2;}
45719aa228fdSmrg   { (exit 1); exit 1; }; }
45729aa228fdSmrgelse
45739aa228fdSmrg	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
45749aa228fdSmrg	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
45759aa228fdSmrg        { echo "$as_me:$LINENO: result: yes" >&5
45769aa228fdSmrgecho "${ECHO_T}yes" >&6; }
45779aa228fdSmrg	:
45789aa228fdSmrgfi
457983d7c197Smrgxt_appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
458083d7c197Smrg
458183d7c197Smrg# Check whether --with-appdefaultdir was given.
458283d7c197Smrgif test "${with_appdefaultdir+set}" = set; then
458383d7c197Smrg  withval=$with_appdefaultdir; appdefaultdir="$withval"
458483d7c197Smrgelse
458583d7c197Smrg  appdefaultdir="${xt_appdefaultdir}"
458683d7c197Smrgfi
458783d7c197Smrg
45889aa228fdSmrg
45899aa228fdSmrg
45909aa228fdSmrg# Make sure we can run config.sub.
45919aa228fdSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
45929aa228fdSmrg  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
45939aa228fdSmrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
45949aa228fdSmrg   { (exit 1); exit 1; }; }
45959aa228fdSmrg
45969aa228fdSmrg{ echo "$as_me:$LINENO: checking build system type" >&5
45979aa228fdSmrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; }
45989aa228fdSmrgif test "${ac_cv_build+set}" = set; then
45999aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
46009aa228fdSmrgelse
46019aa228fdSmrg  ac_build_alias=$build_alias
46029aa228fdSmrgtest "x$ac_build_alias" = x &&
46039aa228fdSmrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
46049aa228fdSmrgtest "x$ac_build_alias" = x &&
46059aa228fdSmrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
46069aa228fdSmrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
46079aa228fdSmrg   { (exit 1); exit 1; }; }
46089aa228fdSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
46099aa228fdSmrg  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
46109aa228fdSmrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
46119aa228fdSmrg   { (exit 1); exit 1; }; }
46129aa228fdSmrg
46139aa228fdSmrgfi
46149aa228fdSmrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
46159aa228fdSmrgecho "${ECHO_T}$ac_cv_build" >&6; }
46169aa228fdSmrgcase $ac_cv_build in
46179aa228fdSmrg*-*-*) ;;
46189aa228fdSmrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
46199aa228fdSmrgecho "$as_me: error: invalid value of canonical build" >&2;}
46209aa228fdSmrg   { (exit 1); exit 1; }; };;
46219aa228fdSmrgesac
46229aa228fdSmrgbuild=$ac_cv_build
46239aa228fdSmrgac_save_IFS=$IFS; IFS='-'
46249aa228fdSmrgset x $ac_cv_build
46259aa228fdSmrgshift
46269aa228fdSmrgbuild_cpu=$1
46279aa228fdSmrgbuild_vendor=$2
46289aa228fdSmrgshift; shift
46299aa228fdSmrg# Remember, the first character of IFS is used to create $*,
46309aa228fdSmrg# except with old shells:
46319aa228fdSmrgbuild_os=$*
46329aa228fdSmrgIFS=$ac_save_IFS
46339aa228fdSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
46349aa228fdSmrg
46359aa228fdSmrg
46369aa228fdSmrg{ echo "$as_me:$LINENO: checking host system type" >&5
46379aa228fdSmrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; }
46389aa228fdSmrgif test "${ac_cv_host+set}" = set; then
46399aa228fdSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
46409aa228fdSmrgelse
46419aa228fdSmrg  if test "x$host_alias" = x; then
46429aa228fdSmrg  ac_cv_host=$ac_cv_build
46439aa228fdSmrgelse
46449aa228fdSmrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
46459aa228fdSmrg    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
46469aa228fdSmrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
46479aa228fdSmrg   { (exit 1); exit 1; }; }
46489aa228fdSmrgfi
46499aa228fdSmrg
46509aa228fdSmrgfi
46519aa228fdSmrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
46529aa228fdSmrgecho "${ECHO_T}$ac_cv_host" >&6; }
46539aa228fdSmrgcase $ac_cv_host in
46549aa228fdSmrg*-*-*) ;;
46559aa228fdSmrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
46569aa228fdSmrgecho "$as_me: error: invalid value of canonical host" >&2;}
46579aa228fdSmrg   { (exit 1); exit 1; }; };;
46589aa228fdSmrgesac
46599aa228fdSmrghost=$ac_cv_host
46609aa228fdSmrgac_save_IFS=$IFS; IFS='-'
46619aa228fdSmrgset x $ac_cv_host
46629aa228fdSmrgshift
46639aa228fdSmrghost_cpu=$1
46649aa228fdSmrghost_vendor=$2
46659aa228fdSmrgshift; shift
46669aa228fdSmrg# Remember, the first character of IFS is used to create $*,
46679aa228fdSmrg# except with old shells:
46689aa228fdSmrghost_os=$*
46699aa228fdSmrgIFS=$ac_save_IFS
46709aa228fdSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
46719aa228fdSmrg
46729aa228fdSmrg
46739aa228fdSmrg
46749aa228fdSmrg
46759aa228fdSmrg
46769aa228fdSmrgif test x$APP_MAN_SUFFIX = x    ; then
46779aa228fdSmrg    APP_MAN_SUFFIX=1
46789aa228fdSmrgfi
46799aa228fdSmrgif test x$APP_MAN_DIR = x    ; then
46809aa228fdSmrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
46819aa228fdSmrgfi
46829aa228fdSmrg
46839aa228fdSmrgif test x$LIB_MAN_SUFFIX = x    ; then
46849aa228fdSmrg    LIB_MAN_SUFFIX=3
46859aa228fdSmrgfi
46869aa228fdSmrgif test x$LIB_MAN_DIR = x    ; then
46879aa228fdSmrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
46889aa228fdSmrgfi
46899aa228fdSmrg
46909aa228fdSmrgif test x$FILE_MAN_SUFFIX = x    ; then
46919aa228fdSmrg    case $host_os in
46929aa228fdSmrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
46939aa228fdSmrg	*)		FILE_MAN_SUFFIX=5  ;;
46949aa228fdSmrg    esac
46959aa228fdSmrgfi
46969aa228fdSmrgif test x$FILE_MAN_DIR = x    ; then
46979aa228fdSmrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
46989aa228fdSmrgfi
46999aa228fdSmrg
47009aa228fdSmrgif test x$MISC_MAN_SUFFIX = x    ; then
47019aa228fdSmrg    case $host_os in
47029aa228fdSmrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
47039aa228fdSmrg	*)		MISC_MAN_SUFFIX=7  ;;
47049aa228fdSmrg    esac
47059aa228fdSmrgfi
47069aa228fdSmrgif test x$MISC_MAN_DIR = x    ; then
47079aa228fdSmrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
47089aa228fdSmrgfi
47099aa228fdSmrg
47109aa228fdSmrgif test x$DRIVER_MAN_SUFFIX = x    ; then
47119aa228fdSmrg    case $host_os in
47129aa228fdSmrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
47139aa228fdSmrg	*)		DRIVER_MAN_SUFFIX=4  ;;
47149aa228fdSmrg    esac
47159aa228fdSmrgfi
47169aa228fdSmrgif test x$DRIVER_MAN_DIR = x    ; then
47179aa228fdSmrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
47189aa228fdSmrgfi
47199aa228fdSmrg
47209aa228fdSmrgif test x$ADMIN_MAN_SUFFIX = x    ; then
47219aa228fdSmrg    case $host_os in
47229aa228fdSmrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
47239aa228fdSmrg	*)		ADMIN_MAN_SUFFIX=8  ;;
47249aa228fdSmrg    esac
47259aa228fdSmrgfi
47269aa228fdSmrgif test x$ADMIN_MAN_DIR = x    ; then
47279aa228fdSmrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
47289aa228fdSmrgfi
47299aa228fdSmrg
47309aa228fdSmrg
47319aa228fdSmrg
47329aa228fdSmrg
47339aa228fdSmrg
47349aa228fdSmrg
47359aa228fdSmrg
47369aa228fdSmrg
47379aa228fdSmrg
47389aa228fdSmrg
47399aa228fdSmrg
47409aa228fdSmrg
47419aa228fdSmrg
47429aa228fdSmrg
47439aa228fdSmrg
47449aa228fdSmrg
47459aa228fdSmrg
47469aa228fdSmrg# Check whether --with-release-version was given.
47479aa228fdSmrgif test "${with_release_version+set}" = set; then
47489aa228fdSmrg  withval=$with_release_version; RELEASE_VERSION="$withval"
47499aa228fdSmrgelse
47509aa228fdSmrg  RELEASE_VERSION=""
47519aa228fdSmrgfi
47529aa228fdSmrg
47539aa228fdSmrg	if test "x$RELEASE_VERSION" != "x"; then
47549aa228fdSmrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
47559aa228fdSmrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
47569aa228fdSmrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
47579aa228fdSmrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
47589aa228fdSmrg	fi
47599aa228fdSmrg
47609aa228fdSmrgcat >>confdefs.h <<_ACEOF
47619aa228fdSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
47629aa228fdSmrg_ACEOF
47639aa228fdSmrg
476483d7c197Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
47659aa228fdSmrg	if test "x$PVM" = "x"; then
47669aa228fdSmrg		PVM="0"
47679aa228fdSmrg	fi
47689aa228fdSmrg
47699aa228fdSmrgcat >>confdefs.h <<_ACEOF
47709aa228fdSmrg#define PACKAGE_VERSION_MINOR $PVM
47719aa228fdSmrg_ACEOF
47729aa228fdSmrg
477383d7c197Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
47749aa228fdSmrg	if test "x$PVP" = "x"; then
47759aa228fdSmrg		PVP="0"
47769aa228fdSmrg	fi
47779aa228fdSmrg
47789aa228fdSmrgcat >>confdefs.h <<_ACEOF
47799aa228fdSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
47809aa228fdSmrg_ACEOF
47819aa228fdSmrg
47829aa228fdSmrg
47839aa228fdSmrg
478483d7c197SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
478583d7c197Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
478683d7c197Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)"
478783d7c197Smrg
478883d7c197Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
478983d7c197Smrg
479083d7c197Smrg
479183d7c197Smrg
47929aa228fdSmrgac_config_files="$ac_config_files Makefile"
47939aa228fdSmrg
47949aa228fdSmrgcat >confcache <<\_ACEOF
47959aa228fdSmrg# This file is a shell script that caches the results of configure
47969aa228fdSmrg# tests run on this system so they can be shared between configure
47979aa228fdSmrg# scripts and configure runs, see configure's option --config-cache.
47989aa228fdSmrg# It is not useful on other systems.  If it contains results you don't
47999aa228fdSmrg# want to keep, you may remove or edit it.
48009aa228fdSmrg#
48019aa228fdSmrg# config.status only pays attention to the cache file if you give it
48029aa228fdSmrg# the --recheck option to rerun configure.
48039aa228fdSmrg#
48049aa228fdSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
48059aa228fdSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
48069aa228fdSmrg# following values.
48079aa228fdSmrg
48089aa228fdSmrg_ACEOF
48099aa228fdSmrg
48109aa228fdSmrg# The following way of writing the cache mishandles newlines in values,
48119aa228fdSmrg# but we know of no workaround that is simple, portable, and efficient.
48129aa228fdSmrg# So, we kill variables containing newlines.
48139aa228fdSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
48149aa228fdSmrg# and sets the high bit in the cache file unless we assign to the vars.
48159aa228fdSmrg(
48169aa228fdSmrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
48179aa228fdSmrg    eval ac_val=\$$ac_var
48189aa228fdSmrg    case $ac_val in #(
48199aa228fdSmrg    *${as_nl}*)
48209aa228fdSmrg      case $ac_var in #(
48219aa228fdSmrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
48229aa228fdSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
48239aa228fdSmrg      esac
48249aa228fdSmrg      case $ac_var in #(
48259aa228fdSmrg      _ | IFS | as_nl) ;; #(
48269aa228fdSmrg      *) $as_unset $ac_var ;;
48279aa228fdSmrg      esac ;;
48289aa228fdSmrg    esac
48299aa228fdSmrg  done
48309aa228fdSmrg
48319aa228fdSmrg  (set) 2>&1 |
48329aa228fdSmrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
48339aa228fdSmrg    *${as_nl}ac_space=\ *)
48349aa228fdSmrg      # `set' does not quote correctly, so add quotes (double-quote
48359aa228fdSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
48369aa228fdSmrg      sed -n \
48379aa228fdSmrg	"s/'/'\\\\''/g;
48389aa228fdSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48399aa228fdSmrg      ;; #(
48409aa228fdSmrg    *)
48419aa228fdSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
48429aa228fdSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
48439aa228fdSmrg      ;;
48449aa228fdSmrg    esac |
48459aa228fdSmrg    sort
48469aa228fdSmrg) |
48479aa228fdSmrg  sed '
48489aa228fdSmrg     /^ac_cv_env_/b end
48499aa228fdSmrg     t clear
48509aa228fdSmrg     :clear
48519aa228fdSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48529aa228fdSmrg     t end
48539aa228fdSmrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48549aa228fdSmrg     :end' >>confcache
48559aa228fdSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
48569aa228fdSmrg  if test -w "$cache_file"; then
48579aa228fdSmrg    test "x$cache_file" != "x/dev/null" &&
48589aa228fdSmrg      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
48599aa228fdSmrgecho "$as_me: updating cache $cache_file" >&6;}
48609aa228fdSmrg    cat confcache >$cache_file
48619aa228fdSmrg  else
48629aa228fdSmrg    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
48639aa228fdSmrgecho "$as_me: not updating unwritable cache $cache_file" >&6;}
48649aa228fdSmrg  fi
48659aa228fdSmrgfi
48669aa228fdSmrgrm -f confcache
48679aa228fdSmrg
48689aa228fdSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
48699aa228fdSmrg# Let make expand exec_prefix.
48709aa228fdSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48719aa228fdSmrg
48729aa228fdSmrgDEFS=-DHAVE_CONFIG_H
48739aa228fdSmrg
48749aa228fdSmrgac_libobjs=
48759aa228fdSmrgac_ltlibobjs=
48769aa228fdSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48779aa228fdSmrg  # 1. Remove the extension, and $U if already installed.
48789aa228fdSmrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
48799aa228fdSmrg  ac_i=`echo "$ac_i" | sed "$ac_script"`
48809aa228fdSmrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
48819aa228fdSmrg  #    will be set to the directory where LIBOBJS objects are built.
48829aa228fdSmrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
48839aa228fdSmrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
48849aa228fdSmrgdone
48859aa228fdSmrgLIBOBJS=$ac_libobjs
48869aa228fdSmrg
48879aa228fdSmrgLTLIBOBJS=$ac_ltlibobjs
48889aa228fdSmrg
48899aa228fdSmrg
48909aa228fdSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
48919aa228fdSmrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
48929aa228fdSmrgUsually this means the macro was only invoked conditionally." >&5
48939aa228fdSmrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
48949aa228fdSmrgUsually this means the macro was only invoked conditionally." >&2;}
48959aa228fdSmrg   { (exit 1); exit 1; }; }
48969aa228fdSmrgfi
48979aa228fdSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
48989aa228fdSmrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
48999aa228fdSmrgUsually this means the macro was only invoked conditionally." >&5
49009aa228fdSmrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
49019aa228fdSmrgUsually this means the macro was only invoked conditionally." >&2;}
49029aa228fdSmrg   { (exit 1); exit 1; }; }
49039aa228fdSmrgfi
49049aa228fdSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
49059aa228fdSmrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
49069aa228fdSmrgUsually this means the macro was only invoked conditionally." >&5
49079aa228fdSmrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
49089aa228fdSmrgUsually this means the macro was only invoked conditionally." >&2;}
49099aa228fdSmrg   { (exit 1); exit 1; }; }
49109aa228fdSmrgfi
49119aa228fdSmrg
49129aa228fdSmrg: ${CONFIG_STATUS=./config.status}
49139aa228fdSmrgac_clean_files_save=$ac_clean_files
49149aa228fdSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
49159aa228fdSmrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49169aa228fdSmrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
49179aa228fdSmrgcat >$CONFIG_STATUS <<_ACEOF
49189aa228fdSmrg#! $SHELL
49199aa228fdSmrg# Generated by $as_me.
49209aa228fdSmrg# Run this file to recreate the current configuration.
49219aa228fdSmrg# Compiler output produced by configure, useful for debugging
49229aa228fdSmrg# configure, is in config.log if it exists.
49239aa228fdSmrg
49249aa228fdSmrgdebug=false
49259aa228fdSmrgac_cs_recheck=false
49269aa228fdSmrgac_cs_silent=false
49279aa228fdSmrgSHELL=\${CONFIG_SHELL-$SHELL}
49289aa228fdSmrg_ACEOF
49299aa228fdSmrg
49309aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
49319aa228fdSmrg## --------------------- ##
49329aa228fdSmrg## M4sh Initialization.  ##
49339aa228fdSmrg## --------------------- ##
49349aa228fdSmrg
49359aa228fdSmrg# Be more Bourne compatible
49369aa228fdSmrgDUALCASE=1; export DUALCASE # for MKS sh
49379aa228fdSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49389aa228fdSmrg  emulate sh
49399aa228fdSmrg  NULLCMD=:
49409aa228fdSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49419aa228fdSmrg  # is contrary to our usage.  Disable this feature.
49429aa228fdSmrg  alias -g '${1+"$@"}'='"$@"'
49439aa228fdSmrg  setopt NO_GLOB_SUBST
49449aa228fdSmrgelse
49459aa228fdSmrg  case `(set -o) 2>/dev/null` in
49469aa228fdSmrg  *posix*) set -o posix ;;
49479aa228fdSmrgesac
49489aa228fdSmrg
49499aa228fdSmrgfi
49509aa228fdSmrg
49519aa228fdSmrg
49529aa228fdSmrg
49539aa228fdSmrg
49549aa228fdSmrg# PATH needs CR
49559aa228fdSmrg# Avoid depending upon Character Ranges.
49569aa228fdSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
49579aa228fdSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49589aa228fdSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
49599aa228fdSmrgas_cr_digits='0123456789'
49609aa228fdSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
49619aa228fdSmrg
49629aa228fdSmrg# The user is always right.
49639aa228fdSmrgif test "${PATH_SEPARATOR+set}" != set; then
49649aa228fdSmrg  echo "#! /bin/sh" >conf$$.sh
49659aa228fdSmrg  echo  "exit 0"   >>conf$$.sh
49669aa228fdSmrg  chmod +x conf$$.sh
49679aa228fdSmrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49689aa228fdSmrg    PATH_SEPARATOR=';'
49699aa228fdSmrg  else
49709aa228fdSmrg    PATH_SEPARATOR=:
49719aa228fdSmrg  fi
49729aa228fdSmrg  rm -f conf$$.sh
49739aa228fdSmrgfi
49749aa228fdSmrg
49759aa228fdSmrg# Support unset when possible.
49769aa228fdSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49779aa228fdSmrg  as_unset=unset
49789aa228fdSmrgelse
49799aa228fdSmrg  as_unset=false
49809aa228fdSmrgfi
49819aa228fdSmrg
49829aa228fdSmrg
49839aa228fdSmrg# IFS
49849aa228fdSmrg# We need space, tab and new line, in precisely that order.  Quoting is
49859aa228fdSmrg# there to prevent editors from complaining about space-tab.
49869aa228fdSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
49879aa228fdSmrg# splitting by setting IFS to empty value.)
49889aa228fdSmrgas_nl='
49899aa228fdSmrg'
49909aa228fdSmrgIFS=" ""	$as_nl"
49919aa228fdSmrg
49929aa228fdSmrg# Find who we are.  Look in the path if we contain no directory separator.
49939aa228fdSmrgcase $0 in
49949aa228fdSmrg  *[\\/]* ) as_myself=$0 ;;
49959aa228fdSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49969aa228fdSmrgfor as_dir in $PATH
49979aa228fdSmrgdo
49989aa228fdSmrg  IFS=$as_save_IFS
49999aa228fdSmrg  test -z "$as_dir" && as_dir=.
50009aa228fdSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50019aa228fdSmrgdone
50029aa228fdSmrgIFS=$as_save_IFS
50039aa228fdSmrg
50049aa228fdSmrg     ;;
50059aa228fdSmrgesac
50069aa228fdSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
50079aa228fdSmrg# in which case we are not to be found in the path.
50089aa228fdSmrgif test "x$as_myself" = x; then
50099aa228fdSmrg  as_myself=$0
50109aa228fdSmrgfi
50119aa228fdSmrgif test ! -f "$as_myself"; then
50129aa228fdSmrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50139aa228fdSmrg  { (exit 1); exit 1; }
50149aa228fdSmrgfi
50159aa228fdSmrg
50169aa228fdSmrg# Work around bugs in pre-3.0 UWIN ksh.
50179aa228fdSmrgfor as_var in ENV MAIL MAILPATH
50189aa228fdSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50199aa228fdSmrgdone
50209aa228fdSmrgPS1='$ '
50219aa228fdSmrgPS2='> '
50229aa228fdSmrgPS4='+ '
50239aa228fdSmrg
50249aa228fdSmrg# NLS nuisances.
50259aa228fdSmrgfor as_var in \
50269aa228fdSmrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50279aa228fdSmrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50289aa228fdSmrg  LC_TELEPHONE LC_TIME
50299aa228fdSmrgdo
50309aa228fdSmrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50319aa228fdSmrg    eval $as_var=C; export $as_var
50329aa228fdSmrg  else
50339aa228fdSmrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50349aa228fdSmrg  fi
50359aa228fdSmrgdone
50369aa228fdSmrg
50379aa228fdSmrg# Required to use basename.
50389aa228fdSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
50399aa228fdSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
50409aa228fdSmrg  as_expr=expr
50419aa228fdSmrgelse
50429aa228fdSmrg  as_expr=false
50439aa228fdSmrgfi
50449aa228fdSmrg
50459aa228fdSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50469aa228fdSmrg  as_basename=basename
50479aa228fdSmrgelse
50489aa228fdSmrg  as_basename=false
50499aa228fdSmrgfi
50509aa228fdSmrg
50519aa228fdSmrg
50529aa228fdSmrg# Name of the executable.
50539aa228fdSmrgas_me=`$as_basename -- "$0" ||
50549aa228fdSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50559aa228fdSmrg	 X"$0" : 'X\(//\)$' \| \
50569aa228fdSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50579aa228fdSmrgecho X/"$0" |
50589aa228fdSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
50599aa228fdSmrg	    s//\1/
50609aa228fdSmrg	    q
50619aa228fdSmrg	  }
50629aa228fdSmrg	  /^X\/\(\/\/\)$/{
50639aa228fdSmrg	    s//\1/
50649aa228fdSmrg	    q
50659aa228fdSmrg	  }
50669aa228fdSmrg	  /^X\/\(\/\).*/{
50679aa228fdSmrg	    s//\1/
50689aa228fdSmrg	    q
50699aa228fdSmrg	  }
50709aa228fdSmrg	  s/.*/./; q'`
50719aa228fdSmrg
50729aa228fdSmrg# CDPATH.
50739aa228fdSmrg$as_unset CDPATH
50749aa228fdSmrg
50759aa228fdSmrg
50769aa228fdSmrg
50779aa228fdSmrg  as_lineno_1=$LINENO
50789aa228fdSmrg  as_lineno_2=$LINENO
50799aa228fdSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
50809aa228fdSmrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50819aa228fdSmrg
50829aa228fdSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50839aa228fdSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
50849aa228fdSmrg  # line-number line after each line using $LINENO; the second 'sed'
50859aa228fdSmrg  # does the real work.  The second script uses 'N' to pair each
50869aa228fdSmrg  # line-number line with the line containing $LINENO, and appends
50879aa228fdSmrg  # trailing '-' during substitution so that $LINENO is not a special
50889aa228fdSmrg  # case at line end.
50899aa228fdSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50909aa228fdSmrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
50919aa228fdSmrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
50929aa228fdSmrg  sed -n '
50939aa228fdSmrg    p
50949aa228fdSmrg    /[$]LINENO/=
50959aa228fdSmrg  ' <$as_myself |
50969aa228fdSmrg    sed '
50979aa228fdSmrg      s/[$]LINENO.*/&-/
50989aa228fdSmrg      t lineno
50999aa228fdSmrg      b
51009aa228fdSmrg      :lineno
51019aa228fdSmrg      N
51029aa228fdSmrg      :loop
51039aa228fdSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51049aa228fdSmrg      t loop
51059aa228fdSmrg      s/-\n.*//
51069aa228fdSmrg    ' >$as_me.lineno &&
51079aa228fdSmrg  chmod +x "$as_me.lineno" ||
51089aa228fdSmrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51099aa228fdSmrg   { (exit 1); exit 1; }; }
51109aa228fdSmrg
51119aa228fdSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
51129aa228fdSmrg  # (the dirname of $[0] is not the place where we might find the
51139aa228fdSmrg  # original and so on.  Autoconf is especially sensitive to this).
51149aa228fdSmrg  . "./$as_me.lineno"
51159aa228fdSmrg  # Exit status is that of the last command.
51169aa228fdSmrg  exit
51179aa228fdSmrg}
51189aa228fdSmrg
51199aa228fdSmrg
51209aa228fdSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51219aa228fdSmrg  as_dirname=dirname
51229aa228fdSmrgelse
51239aa228fdSmrg  as_dirname=false
51249aa228fdSmrgfi
51259aa228fdSmrg
51269aa228fdSmrgECHO_C= ECHO_N= ECHO_T=
51279aa228fdSmrgcase `echo -n x` in
51289aa228fdSmrg-n*)
51299aa228fdSmrg  case `echo 'x\c'` in
51309aa228fdSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
51319aa228fdSmrg  *)   ECHO_C='\c';;
51329aa228fdSmrg  esac;;
51339aa228fdSmrg*)
51349aa228fdSmrg  ECHO_N='-n';;
51359aa228fdSmrgesac
51369aa228fdSmrg
51379aa228fdSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
51389aa228fdSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
51399aa228fdSmrg  as_expr=expr
51409aa228fdSmrgelse
51419aa228fdSmrg  as_expr=false
51429aa228fdSmrgfi
51439aa228fdSmrg
51449aa228fdSmrgrm -f conf$$ conf$$.exe conf$$.file
51459aa228fdSmrgif test -d conf$$.dir; then
51469aa228fdSmrg  rm -f conf$$.dir/conf$$.file
51479aa228fdSmrgelse
51489aa228fdSmrg  rm -f conf$$.dir
51499aa228fdSmrg  mkdir conf$$.dir
51509aa228fdSmrgfi
51519aa228fdSmrgecho >conf$$.file
51529aa228fdSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then
51539aa228fdSmrg  as_ln_s='ln -s'
51549aa228fdSmrg  # ... but there are two gotchas:
51559aa228fdSmrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51569aa228fdSmrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51579aa228fdSmrg  # In both cases, we have to default to `cp -p'.
51589aa228fdSmrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51599aa228fdSmrg    as_ln_s='cp -p'
51609aa228fdSmrgelif ln conf$$.file conf$$ 2>/dev/null; then
51619aa228fdSmrg  as_ln_s=ln
51629aa228fdSmrgelse
51639aa228fdSmrg  as_ln_s='cp -p'
51649aa228fdSmrgfi
51659aa228fdSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51669aa228fdSmrgrmdir conf$$.dir 2>/dev/null
51679aa228fdSmrg
51689aa228fdSmrgif mkdir -p . 2>/dev/null; then
51699aa228fdSmrg  as_mkdir_p=:
51709aa228fdSmrgelse
51719aa228fdSmrg  test -d ./-p && rmdir ./-p
51729aa228fdSmrg  as_mkdir_p=false
51739aa228fdSmrgfi
51749aa228fdSmrg
51759aa228fdSmrgif test -x / >/dev/null 2>&1; then
51769aa228fdSmrg  as_test_x='test -x'
51779aa228fdSmrgelse
51789aa228fdSmrg  if ls -dL / >/dev/null 2>&1; then
51799aa228fdSmrg    as_ls_L_option=L
51809aa228fdSmrg  else
51819aa228fdSmrg    as_ls_L_option=
51829aa228fdSmrg  fi
51839aa228fdSmrg  as_test_x='
51849aa228fdSmrg    eval sh -c '\''
51859aa228fdSmrg      if test -d "$1"; then
51869aa228fdSmrg        test -d "$1/.";
51879aa228fdSmrg      else
51889aa228fdSmrg	case $1 in
51899aa228fdSmrg        -*)set "./$1";;
51909aa228fdSmrg	esac;
51919aa228fdSmrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51929aa228fdSmrg	???[sx]*):;;*)false;;esac;fi
51939aa228fdSmrg    '\'' sh
51949aa228fdSmrg  '
51959aa228fdSmrgfi
51969aa228fdSmrgas_executable_p=$as_test_x
51979aa228fdSmrg
51989aa228fdSmrg# Sed expression to map a string onto a valid CPP name.
51999aa228fdSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52009aa228fdSmrg
52019aa228fdSmrg# Sed expression to map a string onto a valid variable name.
52029aa228fdSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52039aa228fdSmrg
52049aa228fdSmrg
52059aa228fdSmrgexec 6>&1
52069aa228fdSmrg
52079aa228fdSmrg# Save the log message, to keep $[0] and so on meaningful, and to
52089aa228fdSmrg# report actual input values of CONFIG_FILES etc. instead of their
52099aa228fdSmrg# values after options handling.
52109aa228fdSmrgac_log="
521183d7c197SmrgThis file was extended by xmag $as_me 1.0.3, which was
52129aa228fdSmrggenerated by GNU Autoconf 2.61.  Invocation command line was
52139aa228fdSmrg
52149aa228fdSmrg  CONFIG_FILES    = $CONFIG_FILES
52159aa228fdSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
52169aa228fdSmrg  CONFIG_LINKS    = $CONFIG_LINKS
52179aa228fdSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
52189aa228fdSmrg  $ $0 $@
52199aa228fdSmrg
52209aa228fdSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
52219aa228fdSmrg"
52229aa228fdSmrg
52239aa228fdSmrg_ACEOF
52249aa228fdSmrg
52259aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
52269aa228fdSmrg# Files that config.status was made for.
52279aa228fdSmrgconfig_files="$ac_config_files"
52289aa228fdSmrgconfig_headers="$ac_config_headers"
52299aa228fdSmrgconfig_commands="$ac_config_commands"
52309aa228fdSmrg
52319aa228fdSmrg_ACEOF
52329aa228fdSmrg
52339aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
52349aa228fdSmrgac_cs_usage="\
52359aa228fdSmrg\`$as_me' instantiates files from templates according to the
52369aa228fdSmrgcurrent configuration.
52379aa228fdSmrg
52389aa228fdSmrgUsage: $0 [OPTIONS] [FILE]...
52399aa228fdSmrg
52409aa228fdSmrg  -h, --help       print this help, then exit
52419aa228fdSmrg  -V, --version    print version number and configuration settings, then exit
52429aa228fdSmrg  -q, --quiet      do not print progress messages
52439aa228fdSmrg  -d, --debug      don't remove temporary files
52449aa228fdSmrg      --recheck    update $as_me by reconfiguring in the same conditions
52459aa228fdSmrg  --file=FILE[:TEMPLATE]
52469aa228fdSmrg		   instantiate the configuration file FILE
52479aa228fdSmrg  --header=FILE[:TEMPLATE]
52489aa228fdSmrg		   instantiate the configuration header FILE
52499aa228fdSmrg
52509aa228fdSmrgConfiguration files:
52519aa228fdSmrg$config_files
52529aa228fdSmrg
52539aa228fdSmrgConfiguration headers:
52549aa228fdSmrg$config_headers
52559aa228fdSmrg
52569aa228fdSmrgConfiguration commands:
52579aa228fdSmrg$config_commands
52589aa228fdSmrg
52599aa228fdSmrgReport bugs to <bug-autoconf@gnu.org>."
52609aa228fdSmrg
52619aa228fdSmrg_ACEOF
52629aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
52639aa228fdSmrgac_cs_version="\\
526483d7c197Smrgxmag config.status 1.0.3
52659aa228fdSmrgconfigured by $0, generated by GNU Autoconf 2.61,
52669aa228fdSmrg  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52679aa228fdSmrg
52689aa228fdSmrgCopyright (C) 2006 Free Software Foundation, Inc.
52699aa228fdSmrgThis config.status script is free software; the Free Software Foundation
52709aa228fdSmrggives unlimited permission to copy, distribute and modify it."
52719aa228fdSmrg
52729aa228fdSmrgac_pwd='$ac_pwd'
52739aa228fdSmrgsrcdir='$srcdir'
52749aa228fdSmrgINSTALL='$INSTALL'
52759aa228fdSmrgMKDIR_P='$MKDIR_P'
52769aa228fdSmrg_ACEOF
52779aa228fdSmrg
52789aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
52799aa228fdSmrg# If no file are specified by the user, then we need to provide default
52809aa228fdSmrg# value.  By we need to know if files were specified by the user.
52819aa228fdSmrgac_need_defaults=:
52829aa228fdSmrgwhile test $# != 0
52839aa228fdSmrgdo
52849aa228fdSmrg  case $1 in
52859aa228fdSmrg  --*=*)
52869aa228fdSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
52879aa228fdSmrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52889aa228fdSmrg    ac_shift=:
52899aa228fdSmrg    ;;
52909aa228fdSmrg  *)
52919aa228fdSmrg    ac_option=$1
52929aa228fdSmrg    ac_optarg=$2
52939aa228fdSmrg    ac_shift=shift
52949aa228fdSmrg    ;;
52959aa228fdSmrg  esac
52969aa228fdSmrg
52979aa228fdSmrg  case $ac_option in
52989aa228fdSmrg  # Handling of the options.
52999aa228fdSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53009aa228fdSmrg    ac_cs_recheck=: ;;
53019aa228fdSmrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53029aa228fdSmrg    echo "$ac_cs_version"; exit ;;
53039aa228fdSmrg  --debug | --debu | --deb | --de | --d | -d )
53049aa228fdSmrg    debug=: ;;
53059aa228fdSmrg  --file | --fil | --fi | --f )
53069aa228fdSmrg    $ac_shift
53079aa228fdSmrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53089aa228fdSmrg    ac_need_defaults=false;;
53099aa228fdSmrg  --header | --heade | --head | --hea )
53109aa228fdSmrg    $ac_shift
53119aa228fdSmrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53129aa228fdSmrg    ac_need_defaults=false;;
53139aa228fdSmrg  --he | --h)
53149aa228fdSmrg    # Conflict between --help and --header
53159aa228fdSmrg    { echo "$as_me: error: ambiguous option: $1
53169aa228fdSmrgTry \`$0 --help' for more information." >&2
53179aa228fdSmrg   { (exit 1); exit 1; }; };;
53189aa228fdSmrg  --help | --hel | -h )
53199aa228fdSmrg    echo "$ac_cs_usage"; exit ;;
53209aa228fdSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53219aa228fdSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
53229aa228fdSmrg    ac_cs_silent=: ;;
53239aa228fdSmrg
53249aa228fdSmrg  # This is an error.
53259aa228fdSmrg  -*) { echo "$as_me: error: unrecognized option: $1
53269aa228fdSmrgTry \`$0 --help' for more information." >&2
53279aa228fdSmrg   { (exit 1); exit 1; }; } ;;
53289aa228fdSmrg
53299aa228fdSmrg  *) ac_config_targets="$ac_config_targets $1"
53309aa228fdSmrg     ac_need_defaults=false ;;
53319aa228fdSmrg
53329aa228fdSmrg  esac
53339aa228fdSmrg  shift
53349aa228fdSmrgdone
53359aa228fdSmrg
53369aa228fdSmrgac_configure_extra_args=
53379aa228fdSmrg
53389aa228fdSmrgif $ac_cs_silent; then
53399aa228fdSmrg  exec 6>/dev/null
53409aa228fdSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
53419aa228fdSmrgfi
53429aa228fdSmrg
53439aa228fdSmrg_ACEOF
53449aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
53459aa228fdSmrgif \$ac_cs_recheck; then
53469aa228fdSmrg  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53479aa228fdSmrg  CONFIG_SHELL=$SHELL
53489aa228fdSmrg  export CONFIG_SHELL
53499aa228fdSmrg  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53509aa228fdSmrgfi
53519aa228fdSmrg
53529aa228fdSmrg_ACEOF
53539aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
53549aa228fdSmrgexec 5>>config.log
53559aa228fdSmrg{
53569aa228fdSmrg  echo
53579aa228fdSmrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53589aa228fdSmrg## Running $as_me. ##
53599aa228fdSmrg_ASBOX
53609aa228fdSmrg  echo "$ac_log"
53619aa228fdSmrg} >&5
53629aa228fdSmrg
53639aa228fdSmrg_ACEOF
53649aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
53659aa228fdSmrg#
53669aa228fdSmrg# INIT-COMMANDS
53679aa228fdSmrg#
53689aa228fdSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
53699aa228fdSmrg
53709aa228fdSmrg_ACEOF
53719aa228fdSmrg
53729aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
53739aa228fdSmrg
53749aa228fdSmrg# Handling of arguments.
53759aa228fdSmrgfor ac_config_target in $ac_config_targets
53769aa228fdSmrgdo
53779aa228fdSmrg  case $ac_config_target in
53789aa228fdSmrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
53799aa228fdSmrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
53809aa228fdSmrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53819aa228fdSmrg
53829aa228fdSmrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53839aa228fdSmrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
53849aa228fdSmrg   { (exit 1); exit 1; }; };;
53859aa228fdSmrg  esac
53869aa228fdSmrgdone
53879aa228fdSmrg
53889aa228fdSmrg
53899aa228fdSmrg# If the user did not use the arguments to specify the items to instantiate,
53909aa228fdSmrg# then the envvar interface is used.  Set only those that are not.
53919aa228fdSmrg# We use the long form for the default assignment because of an extremely
53929aa228fdSmrg# bizarre bug on SunOS 4.1.3.
53939aa228fdSmrgif $ac_need_defaults; then
53949aa228fdSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53959aa228fdSmrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53969aa228fdSmrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53979aa228fdSmrgfi
53989aa228fdSmrg
53999aa228fdSmrg# Have a temporary directory for convenience.  Make it in the build tree
54009aa228fdSmrg# simply because there is no reason against having it here, and in addition,
54019aa228fdSmrg# creating and moving files from /tmp can sometimes cause problems.
54029aa228fdSmrg# Hook for its removal unless debugging.
54039aa228fdSmrg# Note that there is a small window in which the directory will not be cleaned:
54049aa228fdSmrg# after its creation but before its name has been assigned to `$tmp'.
54059aa228fdSmrg$debug ||
54069aa228fdSmrg{
54079aa228fdSmrg  tmp=
54089aa228fdSmrg  trap 'exit_status=$?
54099aa228fdSmrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54109aa228fdSmrg' 0
54119aa228fdSmrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
54129aa228fdSmrg}
54139aa228fdSmrg# Create a (secure) tmp directory for tmp files.
54149aa228fdSmrg
54159aa228fdSmrg{
54169aa228fdSmrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54179aa228fdSmrg  test -n "$tmp" && test -d "$tmp"
54189aa228fdSmrg}  ||
54199aa228fdSmrg{
54209aa228fdSmrg  tmp=./conf$$-$RANDOM
54219aa228fdSmrg  (umask 077 && mkdir "$tmp")
54229aa228fdSmrg} ||
54239aa228fdSmrg{
54249aa228fdSmrg   echo "$me: cannot create a temporary directory in ." >&2
54259aa228fdSmrg   { (exit 1); exit 1; }
54269aa228fdSmrg}
54279aa228fdSmrg
54289aa228fdSmrg#
54299aa228fdSmrg# Set up the sed scripts for CONFIG_FILES section.
54309aa228fdSmrg#
54319aa228fdSmrg
54329aa228fdSmrg# No need to generate the scripts if there are no CONFIG_FILES.
54339aa228fdSmrg# This happens for instance when ./config.status config.h
54349aa228fdSmrgif test -n "$CONFIG_FILES"; then
54359aa228fdSmrg
54369aa228fdSmrg_ACEOF
54379aa228fdSmrg
54389aa228fdSmrg
54399aa228fdSmrg
54409aa228fdSmrgac_delim='%!_!# '
54419aa228fdSmrgfor ac_last_try in false false false false false :; do
54429aa228fdSmrg  cat >conf$$subs.sed <<_ACEOF
54439aa228fdSmrgSHELL!$SHELL$ac_delim
54449aa228fdSmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54459aa228fdSmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim
54469aa228fdSmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54479aa228fdSmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54489aa228fdSmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim
54499aa228fdSmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54509aa228fdSmrgexec_prefix!$exec_prefix$ac_delim
54519aa228fdSmrgprefix!$prefix$ac_delim
54529aa228fdSmrgprogram_transform_name!$program_transform_name$ac_delim
54539aa228fdSmrgbindir!$bindir$ac_delim
54549aa228fdSmrgsbindir!$sbindir$ac_delim
54559aa228fdSmrglibexecdir!$libexecdir$ac_delim
54569aa228fdSmrgdatarootdir!$datarootdir$ac_delim
54579aa228fdSmrgdatadir!$datadir$ac_delim
54589aa228fdSmrgsysconfdir!$sysconfdir$ac_delim
54599aa228fdSmrgsharedstatedir!$sharedstatedir$ac_delim
54609aa228fdSmrglocalstatedir!$localstatedir$ac_delim
54619aa228fdSmrgincludedir!$includedir$ac_delim
54629aa228fdSmrgoldincludedir!$oldincludedir$ac_delim
54639aa228fdSmrgdocdir!$docdir$ac_delim
54649aa228fdSmrginfodir!$infodir$ac_delim
54659aa228fdSmrghtmldir!$htmldir$ac_delim
54669aa228fdSmrgdvidir!$dvidir$ac_delim
54679aa228fdSmrgpdfdir!$pdfdir$ac_delim
54689aa228fdSmrgpsdir!$psdir$ac_delim
54699aa228fdSmrglibdir!$libdir$ac_delim
54709aa228fdSmrglocaledir!$localedir$ac_delim
54719aa228fdSmrgmandir!$mandir$ac_delim
54729aa228fdSmrgDEFS!$DEFS$ac_delim
54739aa228fdSmrgECHO_C!$ECHO_C$ac_delim
54749aa228fdSmrgECHO_N!$ECHO_N$ac_delim
54759aa228fdSmrgECHO_T!$ECHO_T$ac_delim
54769aa228fdSmrgLIBS!$LIBS$ac_delim
54779aa228fdSmrgbuild_alias!$build_alias$ac_delim
54789aa228fdSmrghost_alias!$host_alias$ac_delim
54799aa228fdSmrgtarget_alias!$target_alias$ac_delim
54809aa228fdSmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54819aa228fdSmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54829aa228fdSmrgINSTALL_DATA!$INSTALL_DATA$ac_delim
54839aa228fdSmrgam__isrc!$am__isrc$ac_delim
54849aa228fdSmrgCYGPATH_W!$CYGPATH_W$ac_delim
54859aa228fdSmrgPACKAGE!$PACKAGE$ac_delim
54869aa228fdSmrgVERSION!$VERSION$ac_delim
54879aa228fdSmrgACLOCAL!$ACLOCAL$ac_delim
54889aa228fdSmrgAUTOCONF!$AUTOCONF$ac_delim
54899aa228fdSmrgAUTOMAKE!$AUTOMAKE$ac_delim
54909aa228fdSmrgAUTOHEADER!$AUTOHEADER$ac_delim
54919aa228fdSmrgMAKEINFO!$MAKEINFO$ac_delim
54929aa228fdSmrginstall_sh!$install_sh$ac_delim
54939aa228fdSmrgSTRIP!$STRIP$ac_delim
54949aa228fdSmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
54959aa228fdSmrgmkdir_p!$mkdir_p$ac_delim
54969aa228fdSmrgAWK!$AWK$ac_delim
54979aa228fdSmrgSET_MAKE!$SET_MAKE$ac_delim
54989aa228fdSmrgam__leading_dot!$am__leading_dot$ac_delim
54999aa228fdSmrgAMTAR!$AMTAR$ac_delim
55009aa228fdSmrgam__tar!$am__tar$ac_delim
55019aa228fdSmrgam__untar!$am__untar$ac_delim
55029aa228fdSmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
55039aa228fdSmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
55049aa228fdSmrgMAINT!$MAINT$ac_delim
55059aa228fdSmrgCC!$CC$ac_delim
55069aa228fdSmrgCFLAGS!$CFLAGS$ac_delim
55079aa228fdSmrgLDFLAGS!$LDFLAGS$ac_delim
55089aa228fdSmrgCPPFLAGS!$CPPFLAGS$ac_delim
55099aa228fdSmrgac_ct_CC!$ac_ct_CC$ac_delim
55109aa228fdSmrgEXEEXT!$EXEEXT$ac_delim
55119aa228fdSmrgOBJEXT!$OBJEXT$ac_delim
55129aa228fdSmrgDEPDIR!$DEPDIR$ac_delim
55139aa228fdSmrgam__include!$am__include$ac_delim
55149aa228fdSmrgam__quote!$am__quote$ac_delim
55159aa228fdSmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim
55169aa228fdSmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim
55179aa228fdSmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
55189aa228fdSmrgCCDEPMODE!$CCDEPMODE$ac_delim
55199aa228fdSmrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
55209aa228fdSmrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
552183d7c197SmrgCPP!$CPP$ac_delim
552283d7c197SmrgGREP!$GREP$ac_delim
552383d7c197SmrgEGREP!$EGREP$ac_delim
552483d7c197SmrgCWARNFLAGS!$CWARNFLAGS$ac_delim
55259aa228fdSmrgPKG_CONFIG!$PKG_CONFIG$ac_delim
55269aa228fdSmrgXMAG_CFLAGS!$XMAG_CFLAGS$ac_delim
55279aa228fdSmrgXMAG_LIBS!$XMAG_LIBS$ac_delim
55289aa228fdSmrgAPPDEFS_CFLAGS!$APPDEFS_CFLAGS$ac_delim
55299aa228fdSmrgAPPDEFS_LIBS!$APPDEFS_LIBS$ac_delim
55309aa228fdSmrgappdefaultdir!$appdefaultdir$ac_delim
55319aa228fdSmrgbuild!$build$ac_delim
55329aa228fdSmrgbuild_cpu!$build_cpu$ac_delim
55339aa228fdSmrgbuild_vendor!$build_vendor$ac_delim
55349aa228fdSmrgbuild_os!$build_os$ac_delim
55359aa228fdSmrghost!$host$ac_delim
55369aa228fdSmrghost_cpu!$host_cpu$ac_delim
55379aa228fdSmrghost_vendor!$host_vendor$ac_delim
55389aa228fdSmrghost_os!$host_os$ac_delim
55399aa228fdSmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
55409aa228fdSmrg_ACEOF
55419aa228fdSmrg
55429aa228fdSmrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55439aa228fdSmrg    break
55449aa228fdSmrg  elif $ac_last_try; then
55459aa228fdSmrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55469aa228fdSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55479aa228fdSmrg   { (exit 1); exit 1; }; }
55489aa228fdSmrg  else
55499aa228fdSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55509aa228fdSmrg  fi
55519aa228fdSmrgdone
55529aa228fdSmrg
55539aa228fdSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55549aa228fdSmrgif test -n "$ac_eof"; then
55559aa228fdSmrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55569aa228fdSmrg  ac_eof=`expr $ac_eof + 1`
55579aa228fdSmrgfi
55589aa228fdSmrg
55599aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
55609aa228fdSmrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
55619aa228fdSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55629aa228fdSmrg_ACEOF
55639aa228fdSmrgsed '
55649aa228fdSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55659aa228fdSmrgs/^/s,@/; s/!/@,|#_!!_#|/
55669aa228fdSmrg:n
55679aa228fdSmrgt n
55689aa228fdSmrgs/'"$ac_delim"'$/,g/; t
55699aa228fdSmrgs/$/\\/; p
55709aa228fdSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55719aa228fdSmrg' >>$CONFIG_STATUS <conf$$subs.sed
55729aa228fdSmrgrm -f conf$$subs.sed
55739aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
55749aa228fdSmrgCEOF$ac_eof
55759aa228fdSmrg_ACEOF
55769aa228fdSmrg
55779aa228fdSmrg
55789aa228fdSmrgac_delim='%!_!# '
55799aa228fdSmrgfor ac_last_try in false false false false false :; do
55809aa228fdSmrg  cat >conf$$subs.sed <<_ACEOF
55819aa228fdSmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
55829aa228fdSmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
55839aa228fdSmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
55849aa228fdSmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
55859aa228fdSmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
55869aa228fdSmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim
55879aa228fdSmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
55889aa228fdSmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
55899aa228fdSmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
55909aa228fdSmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
55919aa228fdSmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
559283d7c197SmrgCHANGELOG_CMD!$CHANGELOG_CMD$ac_delim
559383d7c197Smrgdistcleancheck_listfiles!$distcleancheck_listfiles$ac_delim
55949aa228fdSmrgLIBOBJS!$LIBOBJS$ac_delim
55959aa228fdSmrgLTLIBOBJS!$LTLIBOBJS$ac_delim
55969aa228fdSmrg_ACEOF
55979aa228fdSmrg
559883d7c197Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
55999aa228fdSmrg    break
56009aa228fdSmrg  elif $ac_last_try; then
56019aa228fdSmrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56029aa228fdSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56039aa228fdSmrg   { (exit 1); exit 1; }; }
56049aa228fdSmrg  else
56059aa228fdSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56069aa228fdSmrg  fi
56079aa228fdSmrgdone
56089aa228fdSmrg
56099aa228fdSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56109aa228fdSmrgif test -n "$ac_eof"; then
56119aa228fdSmrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56129aa228fdSmrg  ac_eof=`expr $ac_eof + 1`
56139aa228fdSmrgfi
56149aa228fdSmrg
56159aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
56169aa228fdSmrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56179aa228fdSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
56189aa228fdSmrg_ACEOF
56199aa228fdSmrgsed '
56209aa228fdSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56219aa228fdSmrgs/^/s,@/; s/!/@,|#_!!_#|/
56229aa228fdSmrg:n
56239aa228fdSmrgt n
56249aa228fdSmrgs/'"$ac_delim"'$/,g/; t
56259aa228fdSmrgs/$/\\/; p
56269aa228fdSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56279aa228fdSmrg' >>$CONFIG_STATUS <conf$$subs.sed
56289aa228fdSmrgrm -f conf$$subs.sed
56299aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
56309aa228fdSmrg:end
56319aa228fdSmrgs/|#_!!_#|//g
56329aa228fdSmrgCEOF$ac_eof
56339aa228fdSmrg_ACEOF
56349aa228fdSmrg
56359aa228fdSmrg
56369aa228fdSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
56379aa228fdSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
56389aa228fdSmrg# trailing colons and then remove the whole line if VPATH becomes empty
56399aa228fdSmrg# (actually we leave an empty line to preserve line numbers).
56409aa228fdSmrgif test "x$srcdir" = x.; then
56419aa228fdSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
56429aa228fdSmrgs/:*\$(srcdir):*/:/
56439aa228fdSmrgs/:*\${srcdir}:*/:/
56449aa228fdSmrgs/:*@srcdir@:*/:/
56459aa228fdSmrgs/^\([^=]*=[	 ]*\):*/\1/
56469aa228fdSmrgs/:*$//
56479aa228fdSmrgs/^[^=]*=[	 ]*$//
56489aa228fdSmrg}'
56499aa228fdSmrgfi
56509aa228fdSmrg
56519aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
56529aa228fdSmrgfi # test -n "$CONFIG_FILES"
56539aa228fdSmrg
56549aa228fdSmrg
56559aa228fdSmrgfor ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
56569aa228fdSmrgdo
56579aa228fdSmrg  case $ac_tag in
56589aa228fdSmrg  :[FHLC]) ac_mode=$ac_tag; continue;;
56599aa228fdSmrg  esac
56609aa228fdSmrg  case $ac_mode$ac_tag in
56619aa228fdSmrg  :[FHL]*:*);;
56629aa228fdSmrg  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
56639aa228fdSmrgecho "$as_me: error: Invalid tag $ac_tag." >&2;}
56649aa228fdSmrg   { (exit 1); exit 1; }; };;
56659aa228fdSmrg  :[FH]-) ac_tag=-:-;;
56669aa228fdSmrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
56679aa228fdSmrg  esac
56689aa228fdSmrg  ac_save_IFS=$IFS
56699aa228fdSmrg  IFS=:
56709aa228fdSmrg  set x $ac_tag
56719aa228fdSmrg  IFS=$ac_save_IFS
56729aa228fdSmrg  shift
56739aa228fdSmrg  ac_file=$1
56749aa228fdSmrg  shift
56759aa228fdSmrg
56769aa228fdSmrg  case $ac_mode in
56779aa228fdSmrg  :L) ac_source=$1;;
56789aa228fdSmrg  :[FH])
56799aa228fdSmrg    ac_file_inputs=
56809aa228fdSmrg    for ac_f
56819aa228fdSmrg    do
56829aa228fdSmrg      case $ac_f in
56839aa228fdSmrg      -) ac_f="$tmp/stdin";;
56849aa228fdSmrg      *) # Look for the file first in the build tree, then in the source tree
56859aa228fdSmrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
56869aa228fdSmrg	 # because $ac_f cannot contain `:'.
56879aa228fdSmrg	 test -f "$ac_f" ||
56889aa228fdSmrg	   case $ac_f in
56899aa228fdSmrg	   [\\/$]*) false;;
56909aa228fdSmrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
56919aa228fdSmrg	   esac ||
56929aa228fdSmrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
56939aa228fdSmrgecho "$as_me: error: cannot find input file: $ac_f" >&2;}
56949aa228fdSmrg   { (exit 1); exit 1; }; };;
56959aa228fdSmrg      esac
56969aa228fdSmrg      ac_file_inputs="$ac_file_inputs $ac_f"
56979aa228fdSmrg    done
56989aa228fdSmrg
56999aa228fdSmrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
57009aa228fdSmrg    # use $as_me), people would be surprised to read:
57019aa228fdSmrg    #    /* config.h.  Generated by config.status.  */
57029aa228fdSmrg    configure_input="Generated from "`IFS=:
57039aa228fdSmrg	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57049aa228fdSmrg    if test x"$ac_file" != x-; then
57059aa228fdSmrg      configure_input="$ac_file.  $configure_input"
57069aa228fdSmrg      { echo "$as_me:$LINENO: creating $ac_file" >&5
57079aa228fdSmrgecho "$as_me: creating $ac_file" >&6;}
57089aa228fdSmrg    fi
57099aa228fdSmrg
57109aa228fdSmrg    case $ac_tag in
57119aa228fdSmrg    *:-:* | *:-) cat >"$tmp/stdin";;
57129aa228fdSmrg    esac
57139aa228fdSmrg    ;;
57149aa228fdSmrg  esac
57159aa228fdSmrg
57169aa228fdSmrg  ac_dir=`$as_dirname -- "$ac_file" ||
57179aa228fdSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57189aa228fdSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
57199aa228fdSmrg	 X"$ac_file" : 'X\(//\)$' \| \
57209aa228fdSmrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57219aa228fdSmrgecho X"$ac_file" |
57229aa228fdSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57239aa228fdSmrg	    s//\1/
57249aa228fdSmrg	    q
57259aa228fdSmrg	  }
57269aa228fdSmrg	  /^X\(\/\/\)[^/].*/{
57279aa228fdSmrg	    s//\1/
57289aa228fdSmrg	    q
57299aa228fdSmrg	  }
57309aa228fdSmrg	  /^X\(\/\/\)$/{
57319aa228fdSmrg	    s//\1/
57329aa228fdSmrg	    q
57339aa228fdSmrg	  }
57349aa228fdSmrg	  /^X\(\/\).*/{
57359aa228fdSmrg	    s//\1/
57369aa228fdSmrg	    q
57379aa228fdSmrg	  }
57389aa228fdSmrg	  s/.*/./; q'`
57399aa228fdSmrg  { as_dir="$ac_dir"
57409aa228fdSmrg  case $as_dir in #(
57419aa228fdSmrg  -*) as_dir=./$as_dir;;
57429aa228fdSmrg  esac
57439aa228fdSmrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57449aa228fdSmrg    as_dirs=
57459aa228fdSmrg    while :; do
57469aa228fdSmrg      case $as_dir in #(
57479aa228fdSmrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57489aa228fdSmrg      *) as_qdir=$as_dir;;
57499aa228fdSmrg      esac
57509aa228fdSmrg      as_dirs="'$as_qdir' $as_dirs"
57519aa228fdSmrg      as_dir=`$as_dirname -- "$as_dir" ||
57529aa228fdSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57539aa228fdSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
57549aa228fdSmrg	 X"$as_dir" : 'X\(//\)$' \| \
57559aa228fdSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57569aa228fdSmrgecho X"$as_dir" |
57579aa228fdSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57589aa228fdSmrg	    s//\1/
57599aa228fdSmrg	    q
57609aa228fdSmrg	  }
57619aa228fdSmrg	  /^X\(\/\/\)[^/].*/{
57629aa228fdSmrg	    s//\1/
57639aa228fdSmrg	    q
57649aa228fdSmrg	  }
57659aa228fdSmrg	  /^X\(\/\/\)$/{
57669aa228fdSmrg	    s//\1/
57679aa228fdSmrg	    q
57689aa228fdSmrg	  }
57699aa228fdSmrg	  /^X\(\/\).*/{
57709aa228fdSmrg	    s//\1/
57719aa228fdSmrg	    q
57729aa228fdSmrg	  }
57739aa228fdSmrg	  s/.*/./; q'`
57749aa228fdSmrg      test -d "$as_dir" && break
57759aa228fdSmrg    done
57769aa228fdSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
57779aa228fdSmrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57789aa228fdSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
57799aa228fdSmrg   { (exit 1); exit 1; }; }; }
57809aa228fdSmrg  ac_builddir=.
57819aa228fdSmrg
57829aa228fdSmrgcase "$ac_dir" in
57839aa228fdSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57849aa228fdSmrg*)
57859aa228fdSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57869aa228fdSmrg  # A ".." for each directory in $ac_dir_suffix.
57879aa228fdSmrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57889aa228fdSmrg  case $ac_top_builddir_sub in
57899aa228fdSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57909aa228fdSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57919aa228fdSmrg  esac ;;
57929aa228fdSmrgesac
57939aa228fdSmrgac_abs_top_builddir=$ac_pwd
57949aa228fdSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
57959aa228fdSmrg# for backward compatibility:
57969aa228fdSmrgac_top_builddir=$ac_top_build_prefix
57979aa228fdSmrg
57989aa228fdSmrgcase $srcdir in
57999aa228fdSmrg  .)  # We are building in place.
58009aa228fdSmrg    ac_srcdir=.
58019aa228fdSmrg    ac_top_srcdir=$ac_top_builddir_sub
58029aa228fdSmrg    ac_abs_top_srcdir=$ac_pwd ;;
58039aa228fdSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
58049aa228fdSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
58059aa228fdSmrg    ac_top_srcdir=$srcdir
58069aa228fdSmrg    ac_abs_top_srcdir=$srcdir ;;
58079aa228fdSmrg  *) # Relative name.
58089aa228fdSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
58099aa228fdSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
58109aa228fdSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
58119aa228fdSmrgesac
58129aa228fdSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
58139aa228fdSmrg
58149aa228fdSmrg
58159aa228fdSmrg  case $ac_mode in
58169aa228fdSmrg  :F)
58179aa228fdSmrg  #
58189aa228fdSmrg  # CONFIG_FILE
58199aa228fdSmrg  #
58209aa228fdSmrg
58219aa228fdSmrg  case $INSTALL in
58229aa228fdSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
58239aa228fdSmrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
58249aa228fdSmrg  esac
58259aa228fdSmrg  ac_MKDIR_P=$MKDIR_P
58269aa228fdSmrg  case $MKDIR_P in
58279aa228fdSmrg  [\\/$]* | ?:[\\/]* ) ;;
58289aa228fdSmrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
58299aa228fdSmrg  esac
58309aa228fdSmrg_ACEOF
58319aa228fdSmrg
58329aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
58339aa228fdSmrg# If the template does not know about datarootdir, expand it.
58349aa228fdSmrg# FIXME: This hack should be removed a few years after 2.60.
58359aa228fdSmrgac_datarootdir_hack=; ac_datarootdir_seen=
58369aa228fdSmrg
58379aa228fdSmrgcase `sed -n '/datarootdir/ {
58389aa228fdSmrg  p
58399aa228fdSmrg  q
58409aa228fdSmrg}
58419aa228fdSmrg/@datadir@/p
58429aa228fdSmrg/@docdir@/p
58439aa228fdSmrg/@infodir@/p
58449aa228fdSmrg/@localedir@/p
58459aa228fdSmrg/@mandir@/p
58469aa228fdSmrg' $ac_file_inputs` in
58479aa228fdSmrg*datarootdir*) ac_datarootdir_seen=yes;;
58489aa228fdSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
58499aa228fdSmrg  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
58509aa228fdSmrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
58519aa228fdSmrg_ACEOF
58529aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
58539aa228fdSmrg  ac_datarootdir_hack='
58549aa228fdSmrg  s&@datadir@&$datadir&g
58559aa228fdSmrg  s&@docdir@&$docdir&g
58569aa228fdSmrg  s&@infodir@&$infodir&g
58579aa228fdSmrg  s&@localedir@&$localedir&g
58589aa228fdSmrg  s&@mandir@&$mandir&g
58599aa228fdSmrg    s&\\\${datarootdir}&$datarootdir&g' ;;
58609aa228fdSmrgesac
58619aa228fdSmrg_ACEOF
58629aa228fdSmrg
58639aa228fdSmrg# Neutralize VPATH when `$srcdir' = `.'.
58649aa228fdSmrg# Shell code in configure.ac might set extrasub.
58659aa228fdSmrg# FIXME: do we really want to maintain this feature?
58669aa228fdSmrgcat >>$CONFIG_STATUS <<_ACEOF
58679aa228fdSmrg  sed "$ac_vpsub
58689aa228fdSmrg$extrasub
58699aa228fdSmrg_ACEOF
58709aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
58719aa228fdSmrg:t
58729aa228fdSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58739aa228fdSmrgs&@configure_input@&$configure_input&;t t
58749aa228fdSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t
58759aa228fdSmrgs&@srcdir@&$ac_srcdir&;t t
58769aa228fdSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
58779aa228fdSmrgs&@top_srcdir@&$ac_top_srcdir&;t t
58789aa228fdSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
58799aa228fdSmrgs&@builddir@&$ac_builddir&;t t
58809aa228fdSmrgs&@abs_builddir@&$ac_abs_builddir&;t t
58819aa228fdSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
58829aa228fdSmrgs&@INSTALL@&$ac_INSTALL&;t t
58839aa228fdSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
58849aa228fdSmrg$ac_datarootdir_hack
58859aa228fdSmrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
58869aa228fdSmrg
58879aa228fdSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
58889aa228fdSmrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
58899aa228fdSmrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
58909aa228fdSmrg  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
58919aa228fdSmrgwhich seems to be undefined.  Please make sure it is defined." >&5
58929aa228fdSmrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
58939aa228fdSmrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
58949aa228fdSmrg
58959aa228fdSmrg  rm -f "$tmp/stdin"
58969aa228fdSmrg  case $ac_file in
58979aa228fdSmrg  -) cat "$tmp/out"; rm -f "$tmp/out";;
58989aa228fdSmrg  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
58999aa228fdSmrg  esac
59009aa228fdSmrg ;;
59019aa228fdSmrg  :H)
59029aa228fdSmrg  #
59039aa228fdSmrg  # CONFIG_HEADER
59049aa228fdSmrg  #
59059aa228fdSmrg_ACEOF
59069aa228fdSmrg
59079aa228fdSmrg# Transform confdefs.h into a sed script `conftest.defines', that
59089aa228fdSmrg# substitutes the proper values into config.h.in to produce config.h.
59099aa228fdSmrgrm -f conftest.defines conftest.tail
59109aa228fdSmrg# First, append a space to every undef/define line, to ease matching.
59119aa228fdSmrgecho 's/$/ /' >conftest.defines
59129aa228fdSmrg# Then, protect against being on the right side of a sed subst, or in
59139aa228fdSmrg# an unquoted here document, in config.status.  If some macros were
59149aa228fdSmrg# called several times there might be several #defines for the same
59159aa228fdSmrg# symbol, which is useless.  But do not sort them, since the last
59169aa228fdSmrg# AC_DEFINE must be honored.
59179aa228fdSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
59189aa228fdSmrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
59199aa228fdSmrg# NAME is the cpp macro being defined, VALUE is the value it is being given.
59209aa228fdSmrg# PARAMS is the parameter list in the macro definition--in most cases, it's
59219aa228fdSmrg# just an empty string.
59229aa228fdSmrgac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
59239aa228fdSmrgac_dB='\\)[	 (].*,\\1define\\2'
59249aa228fdSmrgac_dC=' '
59259aa228fdSmrgac_dD=' ,'
59269aa228fdSmrg
59279aa228fdSmrguniq confdefs.h |
59289aa228fdSmrg  sed -n '
59299aa228fdSmrg	t rset
59309aa228fdSmrg	:rset
59319aa228fdSmrg	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
59329aa228fdSmrg	t ok
59339aa228fdSmrg	d
59349aa228fdSmrg	:ok
59359aa228fdSmrg	s/[\\&,]/\\&/g
59369aa228fdSmrg	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
59379aa228fdSmrg	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
59389aa228fdSmrg  ' >>conftest.defines
59399aa228fdSmrg
59409aa228fdSmrg# Remove the space that was appended to ease matching.
59419aa228fdSmrg# Then replace #undef with comments.  This is necessary, for
59429aa228fdSmrg# example, in the case of _POSIX_SOURCE, which is predefined and required
59439aa228fdSmrg# on some systems where configure will not decide to define it.
59449aa228fdSmrg# (The regexp can be short, since the line contains either #define or #undef.)
59459aa228fdSmrgecho 's/ $//
59469aa228fdSmrgs,^[	 #]*u.*,/* & */,' >>conftest.defines
59479aa228fdSmrg
59489aa228fdSmrg# Break up conftest.defines:
59499aa228fdSmrgac_max_sed_lines=50
59509aa228fdSmrg
59519aa228fdSmrg# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
59529aa228fdSmrg# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
59539aa228fdSmrg# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
59549aa228fdSmrg# et cetera.
59559aa228fdSmrgac_in='$ac_file_inputs'
59569aa228fdSmrgac_out='"$tmp/out1"'
59579aa228fdSmrgac_nxt='"$tmp/out2"'
59589aa228fdSmrg
59599aa228fdSmrgwhile :
59609aa228fdSmrgdo
59619aa228fdSmrg  # Write a here document:
59629aa228fdSmrg    cat >>$CONFIG_STATUS <<_ACEOF
59639aa228fdSmrg    # First, check the format of the line:
59649aa228fdSmrg    cat >"\$tmp/defines.sed" <<\\CEOF
59659aa228fdSmrg/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
59669aa228fdSmrg/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
59679aa228fdSmrgb
59689aa228fdSmrg:def
59699aa228fdSmrg_ACEOF
59709aa228fdSmrg  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
59719aa228fdSmrg  echo 'CEOF
59729aa228fdSmrg    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
59739aa228fdSmrg  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
59749aa228fdSmrg  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
59759aa228fdSmrg  grep . conftest.tail >/dev/null || break
59769aa228fdSmrg  rm -f conftest.defines
59779aa228fdSmrg  mv conftest.tail conftest.defines
59789aa228fdSmrgdone
59799aa228fdSmrgrm -f conftest.defines conftest.tail
59809aa228fdSmrg
59819aa228fdSmrgecho "ac_result=$ac_in" >>$CONFIG_STATUS
59829aa228fdSmrgcat >>$CONFIG_STATUS <<\_ACEOF
59839aa228fdSmrg  if test x"$ac_file" != x-; then
59849aa228fdSmrg    echo "/* $configure_input  */" >"$tmp/config.h"
59859aa228fdSmrg    cat "$ac_result" >>"$tmp/config.h"
59869aa228fdSmrg    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
59879aa228fdSmrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
59889aa228fdSmrgecho "$as_me: $ac_file is unchanged" >&6;}
59899aa228fdSmrg    else
59909aa228fdSmrg      rm -f $ac_file
59919aa228fdSmrg      mv "$tmp/config.h" $ac_file
59929aa228fdSmrg    fi
59939aa228fdSmrg  else
59949aa228fdSmrg    echo "/* $configure_input  */"
59959aa228fdSmrg    cat "$ac_result"
59969aa228fdSmrg  fi
59979aa228fdSmrg  rm -f "$tmp/out12"
59989aa228fdSmrg# Compute $ac_file's index in $config_headers.
59999aa228fdSmrg_am_stamp_count=1
60009aa228fdSmrgfor _am_header in $config_headers :; do
60019aa228fdSmrg  case $_am_header in
60029aa228fdSmrg    $ac_file | $ac_file:* )
60039aa228fdSmrg      break ;;
60049aa228fdSmrg    * )
60059aa228fdSmrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60069aa228fdSmrg  esac
60079aa228fdSmrgdone
60089aa228fdSmrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
60099aa228fdSmrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60109aa228fdSmrg	 X$ac_file : 'X\(//\)[^/]' \| \
60119aa228fdSmrg	 X$ac_file : 'X\(//\)$' \| \
60129aa228fdSmrg	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
60139aa228fdSmrgecho X$ac_file |
60149aa228fdSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60159aa228fdSmrg	    s//\1/
60169aa228fdSmrg	    q
60179aa228fdSmrg	  }
60189aa228fdSmrg	  /^X\(\/\/\)[^/].*/{
60199aa228fdSmrg	    s//\1/
60209aa228fdSmrg	    q
60219aa228fdSmrg	  }
60229aa228fdSmrg	  /^X\(\/\/\)$/{
60239aa228fdSmrg	    s//\1/
60249aa228fdSmrg	    q
60259aa228fdSmrg	  }
60269aa228fdSmrg	  /^X\(\/\).*/{
60279aa228fdSmrg	    s//\1/
60289aa228fdSmrg	    q
60299aa228fdSmrg	  }
60309aa228fdSmrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
60319aa228fdSmrg ;;
60329aa228fdSmrg
60339aa228fdSmrg  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
60349aa228fdSmrgecho "$as_me: executing $ac_file commands" >&6;}
60359aa228fdSmrg ;;
60369aa228fdSmrg  esac
60379aa228fdSmrg
60389aa228fdSmrg
60399aa228fdSmrg  case $ac_file$ac_mode in
60409aa228fdSmrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
60419aa228fdSmrg  # Strip MF so we end up with the name of the file.
60429aa228fdSmrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
60439aa228fdSmrg  # Check whether this is an Automake generated Makefile or not.
60449aa228fdSmrg  # We used to match only the files named `Makefile.in', but
60459aa228fdSmrg  # some people rename them; so instead we look at the file content.
60469aa228fdSmrg  # Grep'ing the first line is not enough: some people post-process
60479aa228fdSmrg  # each Makefile.in and add a new line on top of each file to say so.
60489aa228fdSmrg  # Grep'ing the whole file is not good either: AIX grep has a line
60499aa228fdSmrg  # limit of 2048, but all sed's we know have understand at least 4000.
60509aa228fdSmrg  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
60519aa228fdSmrg    dirpart=`$as_dirname -- "$mf" ||
60529aa228fdSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60539aa228fdSmrg	 X"$mf" : 'X\(//\)[^/]' \| \
60549aa228fdSmrg	 X"$mf" : 'X\(//\)$' \| \
60559aa228fdSmrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
60569aa228fdSmrgecho X"$mf" |
60579aa228fdSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60589aa228fdSmrg	    s//\1/
60599aa228fdSmrg	    q
60609aa228fdSmrg	  }
60619aa228fdSmrg	  /^X\(\/\/\)[^/].*/{
60629aa228fdSmrg	    s//\1/
60639aa228fdSmrg	    q
60649aa228fdSmrg	  }
60659aa228fdSmrg	  /^X\(\/\/\)$/{
60669aa228fdSmrg	    s//\1/
60679aa228fdSmrg	    q
60689aa228fdSmrg	  }
60699aa228fdSmrg	  /^X\(\/\).*/{
60709aa228fdSmrg	    s//\1/
60719aa228fdSmrg	    q
60729aa228fdSmrg	  }
60739aa228fdSmrg	  s/.*/./; q'`
60749aa228fdSmrg  else
60759aa228fdSmrg    continue
60769aa228fdSmrg  fi
60779aa228fdSmrg  # Extract the definition of DEPDIR, am__include, and am__quote
60789aa228fdSmrg  # from the Makefile without running `make'.
60799aa228fdSmrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
60809aa228fdSmrg  test -z "$DEPDIR" && continue
60819aa228fdSmrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
60829aa228fdSmrg  test -z "am__include" && continue
60839aa228fdSmrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
60849aa228fdSmrg  # When using ansi2knr, U may be empty or an underscore; expand it
60859aa228fdSmrg  U=`sed -n 's/^U = //p' < "$mf"`
60869aa228fdSmrg  # Find all dependency output files, they are included files with
60879aa228fdSmrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
60889aa228fdSmrg  # simplest approach to changing $(DEPDIR) to its actual value in the
60899aa228fdSmrg  # expansion.
60909aa228fdSmrg  for file in `sed -n "
60919aa228fdSmrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
60929aa228fdSmrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
60939aa228fdSmrg    # Make sure the directory exists.
60949aa228fdSmrg    test -f "$dirpart/$file" && continue
60959aa228fdSmrg    fdir=`$as_dirname -- "$file" ||
60969aa228fdSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60979aa228fdSmrg	 X"$file" : 'X\(//\)[^/]' \| \
60989aa228fdSmrg	 X"$file" : 'X\(//\)$' \| \
60999aa228fdSmrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
61009aa228fdSmrgecho X"$file" |
61019aa228fdSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61029aa228fdSmrg	    s//\1/
61039aa228fdSmrg	    q
61049aa228fdSmrg	  }
61059aa228fdSmrg	  /^X\(\/\/\)[^/].*/{
61069aa228fdSmrg	    s//\1/
61079aa228fdSmrg	    q
61089aa228fdSmrg	  }
61099aa228fdSmrg	  /^X\(\/\/\)$/{
61109aa228fdSmrg	    s//\1/
61119aa228fdSmrg	    q
61129aa228fdSmrg	  }
61139aa228fdSmrg	  /^X\(\/\).*/{
61149aa228fdSmrg	    s//\1/
61159aa228fdSmrg	    q
61169aa228fdSmrg	  }
61179aa228fdSmrg	  s/.*/./; q'`
61189aa228fdSmrg    { as_dir=$dirpart/$fdir
61199aa228fdSmrg  case $as_dir in #(
61209aa228fdSmrg  -*) as_dir=./$as_dir;;
61219aa228fdSmrg  esac
61229aa228fdSmrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
61239aa228fdSmrg    as_dirs=
61249aa228fdSmrg    while :; do
61259aa228fdSmrg      case $as_dir in #(
61269aa228fdSmrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
61279aa228fdSmrg      *) as_qdir=$as_dir;;
61289aa228fdSmrg      esac
61299aa228fdSmrg      as_dirs="'$as_qdir' $as_dirs"
61309aa228fdSmrg      as_dir=`$as_dirname -- "$as_dir" ||
61319aa228fdSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61329aa228fdSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
61339aa228fdSmrg	 X"$as_dir" : 'X\(//\)$' \| \
61349aa228fdSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
61359aa228fdSmrgecho X"$as_dir" |
61369aa228fdSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61379aa228fdSmrg	    s//\1/
61389aa228fdSmrg	    q
61399aa228fdSmrg	  }
61409aa228fdSmrg	  /^X\(\/\/\)[^/].*/{
61419aa228fdSmrg	    s//\1/
61429aa228fdSmrg	    q
61439aa228fdSmrg	  }
61449aa228fdSmrg	  /^X\(\/\/\)$/{
61459aa228fdSmrg	    s//\1/
61469aa228fdSmrg	    q
61479aa228fdSmrg	  }
61489aa228fdSmrg	  /^X\(\/\).*/{
61499aa228fdSmrg	    s//\1/
61509aa228fdSmrg	    q
61519aa228fdSmrg	  }
61529aa228fdSmrg	  s/.*/./; q'`
61539aa228fdSmrg      test -d "$as_dir" && break
61549aa228fdSmrg    done
61559aa228fdSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
61569aa228fdSmrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
61579aa228fdSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
61589aa228fdSmrg   { (exit 1); exit 1; }; }; }
61599aa228fdSmrg    # echo "creating $dirpart/$file"
61609aa228fdSmrg    echo '# dummy' > "$dirpart/$file"
61619aa228fdSmrg  done
61629aa228fdSmrgdone
61639aa228fdSmrg ;;
61649aa228fdSmrg
61659aa228fdSmrg  esac
61669aa228fdSmrgdone # for ac_tag
61679aa228fdSmrg
61689aa228fdSmrg
61699aa228fdSmrg{ (exit 0); exit 0; }
61709aa228fdSmrg_ACEOF
61719aa228fdSmrgchmod +x $CONFIG_STATUS
61729aa228fdSmrgac_clean_files=$ac_clean_files_save
61739aa228fdSmrg
61749aa228fdSmrg
61759aa228fdSmrg# configure is writing to config.log, and then calls config.status.
61769aa228fdSmrg# config.status does its own redirection, appending to config.log.
61779aa228fdSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
61789aa228fdSmrg# by configure, so config.status won't be able to write to it; its
61799aa228fdSmrg# output is simply discarded.  So we exec the FD to /dev/null,
61809aa228fdSmrg# effectively closing config.log, so it can be properly (re)opened and
61819aa228fdSmrg# appended to by config.status.  When coming back to configure, we
61829aa228fdSmrg# need to make the FD available again.
61839aa228fdSmrgif test "$no_create" != yes; then
61849aa228fdSmrg  ac_cs_success=:
61859aa228fdSmrg  ac_config_status_args=
61869aa228fdSmrg  test "$silent" = yes &&
61879aa228fdSmrg    ac_config_status_args="$ac_config_status_args --quiet"
61889aa228fdSmrg  exec 5>/dev/null
61899aa228fdSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
61909aa228fdSmrg  exec 5>>config.log
61919aa228fdSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
61929aa228fdSmrg  # would make configure fail if this is the last instruction.
61939aa228fdSmrg  $ac_cs_success || { (exit 1); exit 1; }
61949aa228fdSmrgfi
61959aa228fdSmrg
6196