configure revision 64ce7165
164ce7165Smrg#! /bin/sh
264ce7165Smrg# Guess values for system-dependent variables and create Makefiles.
364ce7165Smrg# Generated by GNU Autoconf 2.61 for xhost 1.0.2.
464ce7165Smrg#
564ce7165Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
664ce7165Smrg#
764ce7165Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
864ce7165Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
964ce7165Smrg# This configure script is free software; the Free Software Foundation
1064ce7165Smrg# gives unlimited permission to copy, distribute and modify it.
1164ce7165Smrg## --------------------- ##
1264ce7165Smrg## M4sh Initialization.  ##
1364ce7165Smrg## --------------------- ##
1464ce7165Smrg
1564ce7165Smrg# Be more Bourne compatible
1664ce7165SmrgDUALCASE=1; export DUALCASE # for MKS sh
1764ce7165Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1864ce7165Smrg  emulate sh
1964ce7165Smrg  NULLCMD=:
2064ce7165Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2164ce7165Smrg  # is contrary to our usage.  Disable this feature.
2264ce7165Smrg  alias -g '${1+"$@"}'='"$@"'
2364ce7165Smrg  setopt NO_GLOB_SUBST
2464ce7165Smrgelse
2564ce7165Smrg  case `(set -o) 2>/dev/null` in
2664ce7165Smrg  *posix*) set -o posix ;;
2764ce7165Smrgesac
2864ce7165Smrg
2964ce7165Smrgfi
3064ce7165Smrg
3164ce7165Smrg
3264ce7165Smrg
3364ce7165Smrg
3464ce7165Smrg# PATH needs CR
3564ce7165Smrg# Avoid depending upon Character Ranges.
3664ce7165Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
3764ce7165Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3864ce7165Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
3964ce7165Smrgas_cr_digits='0123456789'
4064ce7165Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
4164ce7165Smrg
4264ce7165Smrg# The user is always right.
4364ce7165Smrgif test "${PATH_SEPARATOR+set}" != set; then
4464ce7165Smrg  echo "#! /bin/sh" >conf$$.sh
4564ce7165Smrg  echo  "exit 0"   >>conf$$.sh
4664ce7165Smrg  chmod +x conf$$.sh
4764ce7165Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4864ce7165Smrg    PATH_SEPARATOR=';'
4964ce7165Smrg  else
5064ce7165Smrg    PATH_SEPARATOR=:
5164ce7165Smrg  fi
5264ce7165Smrg  rm -f conf$$.sh
5364ce7165Smrgfi
5464ce7165Smrg
5564ce7165Smrg# Support unset when possible.
5664ce7165Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5764ce7165Smrg  as_unset=unset
5864ce7165Smrgelse
5964ce7165Smrg  as_unset=false
6064ce7165Smrgfi
6164ce7165Smrg
6264ce7165Smrg
6364ce7165Smrg# IFS
6464ce7165Smrg# We need space, tab and new line, in precisely that order.  Quoting is
6564ce7165Smrg# there to prevent editors from complaining about space-tab.
6664ce7165Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6764ce7165Smrg# splitting by setting IFS to empty value.)
6864ce7165Smrgas_nl='
6964ce7165Smrg'
7064ce7165SmrgIFS=" ""	$as_nl"
7164ce7165Smrg
7264ce7165Smrg# Find who we are.  Look in the path if we contain no directory separator.
7364ce7165Smrgcase $0 in
7464ce7165Smrg  *[\\/]* ) as_myself=$0 ;;
7564ce7165Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7664ce7165Smrgfor as_dir in $PATH
7764ce7165Smrgdo
7864ce7165Smrg  IFS=$as_save_IFS
7964ce7165Smrg  test -z "$as_dir" && as_dir=.
8064ce7165Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8164ce7165Smrgdone
8264ce7165SmrgIFS=$as_save_IFS
8364ce7165Smrg
8464ce7165Smrg     ;;
8564ce7165Smrgesac
8664ce7165Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
8764ce7165Smrg# in which case we are not to be found in the path.
8864ce7165Smrgif test "x$as_myself" = x; then
8964ce7165Smrg  as_myself=$0
9064ce7165Smrgfi
9164ce7165Smrgif test ! -f "$as_myself"; then
9264ce7165Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9364ce7165Smrg  { (exit 1); exit 1; }
9464ce7165Smrgfi
9564ce7165Smrg
9664ce7165Smrg# Work around bugs in pre-3.0 UWIN ksh.
9764ce7165Smrgfor as_var in ENV MAIL MAILPATH
9864ce7165Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9964ce7165Smrgdone
10064ce7165SmrgPS1='$ '
10164ce7165SmrgPS2='> '
10264ce7165SmrgPS4='+ '
10364ce7165Smrg
10464ce7165Smrg# NLS nuisances.
10564ce7165Smrgfor as_var in \
10664ce7165Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10764ce7165Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10864ce7165Smrg  LC_TELEPHONE LC_TIME
10964ce7165Smrgdo
11064ce7165Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11164ce7165Smrg    eval $as_var=C; export $as_var
11264ce7165Smrg  else
11364ce7165Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11464ce7165Smrg  fi
11564ce7165Smrgdone
11664ce7165Smrg
11764ce7165Smrg# Required to use basename.
11864ce7165Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
11964ce7165Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12064ce7165Smrg  as_expr=expr
12164ce7165Smrgelse
12264ce7165Smrg  as_expr=false
12364ce7165Smrgfi
12464ce7165Smrg
12564ce7165Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12664ce7165Smrg  as_basename=basename
12764ce7165Smrgelse
12864ce7165Smrg  as_basename=false
12964ce7165Smrgfi
13064ce7165Smrg
13164ce7165Smrg
13264ce7165Smrg# Name of the executable.
13364ce7165Smrgas_me=`$as_basename -- "$0" ||
13464ce7165Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13564ce7165Smrg	 X"$0" : 'X\(//\)$' \| \
13664ce7165Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13764ce7165Smrgecho X/"$0" |
13864ce7165Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
13964ce7165Smrg	    s//\1/
14064ce7165Smrg	    q
14164ce7165Smrg	  }
14264ce7165Smrg	  /^X\/\(\/\/\)$/{
14364ce7165Smrg	    s//\1/
14464ce7165Smrg	    q
14564ce7165Smrg	  }
14664ce7165Smrg	  /^X\/\(\/\).*/{
14764ce7165Smrg	    s//\1/
14864ce7165Smrg	    q
14964ce7165Smrg	  }
15064ce7165Smrg	  s/.*/./; q'`
15164ce7165Smrg
15264ce7165Smrg# CDPATH.
15364ce7165Smrg$as_unset CDPATH
15464ce7165Smrg
15564ce7165Smrg
15664ce7165Smrgif test "x$CONFIG_SHELL" = x; then
15764ce7165Smrg  if (eval ":") 2>/dev/null; then
15864ce7165Smrg  as_have_required=yes
15964ce7165Smrgelse
16064ce7165Smrg  as_have_required=no
16164ce7165Smrgfi
16264ce7165Smrg
16364ce7165Smrg  if test $as_have_required = yes && 	 (eval ":
16464ce7165Smrg(as_func_return () {
16564ce7165Smrg  (exit \$1)
16664ce7165Smrg}
16764ce7165Smrgas_func_success () {
16864ce7165Smrg  as_func_return 0
16964ce7165Smrg}
17064ce7165Smrgas_func_failure () {
17164ce7165Smrg  as_func_return 1
17264ce7165Smrg}
17364ce7165Smrgas_func_ret_success () {
17464ce7165Smrg  return 0
17564ce7165Smrg}
17664ce7165Smrgas_func_ret_failure () {
17764ce7165Smrg  return 1
17864ce7165Smrg}
17964ce7165Smrg
18064ce7165Smrgexitcode=0
18164ce7165Smrgif as_func_success; then
18264ce7165Smrg  :
18364ce7165Smrgelse
18464ce7165Smrg  exitcode=1
18564ce7165Smrg  echo as_func_success failed.
18664ce7165Smrgfi
18764ce7165Smrg
18864ce7165Smrgif as_func_failure; then
18964ce7165Smrg  exitcode=1
19064ce7165Smrg  echo as_func_failure succeeded.
19164ce7165Smrgfi
19264ce7165Smrg
19364ce7165Smrgif as_func_ret_success; then
19464ce7165Smrg  :
19564ce7165Smrgelse
19664ce7165Smrg  exitcode=1
19764ce7165Smrg  echo as_func_ret_success failed.
19864ce7165Smrgfi
19964ce7165Smrg
20064ce7165Smrgif as_func_ret_failure; then
20164ce7165Smrg  exitcode=1
20264ce7165Smrg  echo as_func_ret_failure succeeded.
20364ce7165Smrgfi
20464ce7165Smrg
20564ce7165Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
20664ce7165Smrg  :
20764ce7165Smrgelse
20864ce7165Smrg  exitcode=1
20964ce7165Smrg  echo positional parameters were not saved.
21064ce7165Smrgfi
21164ce7165Smrg
21264ce7165Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
21364ce7165Smrg
21464ce7165Smrg(
21564ce7165Smrg  as_lineno_1=\$LINENO
21664ce7165Smrg  as_lineno_2=\$LINENO
21764ce7165Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
21864ce7165Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
21964ce7165Smrg") 2> /dev/null; then
22064ce7165Smrg  :
22164ce7165Smrgelse
22264ce7165Smrg  as_candidate_shells=
22364ce7165Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22464ce7165Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22564ce7165Smrgdo
22664ce7165Smrg  IFS=$as_save_IFS
22764ce7165Smrg  test -z "$as_dir" && as_dir=.
22864ce7165Smrg  case $as_dir in
22964ce7165Smrg	 /*)
23064ce7165Smrg	   for as_base in sh bash ksh sh5; do
23164ce7165Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
23264ce7165Smrg	   done;;
23364ce7165Smrg       esac
23464ce7165Smrgdone
23564ce7165SmrgIFS=$as_save_IFS
23664ce7165Smrg
23764ce7165Smrg
23864ce7165Smrg      for as_shell in $as_candidate_shells $SHELL; do
23964ce7165Smrg	 # Try only shells that exist, to save several forks.
24064ce7165Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
24164ce7165Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
24264ce7165Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24364ce7165Smrg  emulate sh
24464ce7165Smrg  NULLCMD=:
24564ce7165Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24664ce7165Smrg  # is contrary to our usage.  Disable this feature.
24764ce7165Smrg  alias -g '${1+"$@"}'='"$@"'
24864ce7165Smrg  setopt NO_GLOB_SUBST
24964ce7165Smrgelse
25064ce7165Smrg  case `(set -o) 2>/dev/null` in
25164ce7165Smrg  *posix*) set -o posix ;;
25264ce7165Smrgesac
25364ce7165Smrg
25464ce7165Smrgfi
25564ce7165Smrg
25664ce7165Smrg
25764ce7165Smrg:
25864ce7165Smrg_ASEOF
25964ce7165Smrg}; then
26064ce7165Smrg  CONFIG_SHELL=$as_shell
26164ce7165Smrg	       as_have_required=yes
26264ce7165Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
26364ce7165Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26464ce7165Smrg  emulate sh
26564ce7165Smrg  NULLCMD=:
26664ce7165Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26764ce7165Smrg  # is contrary to our usage.  Disable this feature.
26864ce7165Smrg  alias -g '${1+"$@"}'='"$@"'
26964ce7165Smrg  setopt NO_GLOB_SUBST
27064ce7165Smrgelse
27164ce7165Smrg  case `(set -o) 2>/dev/null` in
27264ce7165Smrg  *posix*) set -o posix ;;
27364ce7165Smrgesac
27464ce7165Smrg
27564ce7165Smrgfi
27664ce7165Smrg
27764ce7165Smrg
27864ce7165Smrg:
27964ce7165Smrg(as_func_return () {
28064ce7165Smrg  (exit $1)
28164ce7165Smrg}
28264ce7165Smrgas_func_success () {
28364ce7165Smrg  as_func_return 0
28464ce7165Smrg}
28564ce7165Smrgas_func_failure () {
28664ce7165Smrg  as_func_return 1
28764ce7165Smrg}
28864ce7165Smrgas_func_ret_success () {
28964ce7165Smrg  return 0
29064ce7165Smrg}
29164ce7165Smrgas_func_ret_failure () {
29264ce7165Smrg  return 1
29364ce7165Smrg}
29464ce7165Smrg
29564ce7165Smrgexitcode=0
29664ce7165Smrgif as_func_success; then
29764ce7165Smrg  :
29864ce7165Smrgelse
29964ce7165Smrg  exitcode=1
30064ce7165Smrg  echo as_func_success failed.
30164ce7165Smrgfi
30264ce7165Smrg
30364ce7165Smrgif as_func_failure; then
30464ce7165Smrg  exitcode=1
30564ce7165Smrg  echo as_func_failure succeeded.
30664ce7165Smrgfi
30764ce7165Smrg
30864ce7165Smrgif as_func_ret_success; then
30964ce7165Smrg  :
31064ce7165Smrgelse
31164ce7165Smrg  exitcode=1
31264ce7165Smrg  echo as_func_ret_success failed.
31364ce7165Smrgfi
31464ce7165Smrg
31564ce7165Smrgif as_func_ret_failure; then
31664ce7165Smrg  exitcode=1
31764ce7165Smrg  echo as_func_ret_failure succeeded.
31864ce7165Smrgfi
31964ce7165Smrg
32064ce7165Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
32164ce7165Smrg  :
32264ce7165Smrgelse
32364ce7165Smrg  exitcode=1
32464ce7165Smrg  echo positional parameters were not saved.
32564ce7165Smrgfi
32664ce7165Smrg
32764ce7165Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
32864ce7165Smrg
32964ce7165Smrg(
33064ce7165Smrg  as_lineno_1=$LINENO
33164ce7165Smrg  as_lineno_2=$LINENO
33264ce7165Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
33364ce7165Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
33464ce7165Smrg
33564ce7165Smrg_ASEOF
33664ce7165Smrg}; then
33764ce7165Smrg  break
33864ce7165Smrgfi
33964ce7165Smrg
34064ce7165Smrgfi
34164ce7165Smrg
34264ce7165Smrg      done
34364ce7165Smrg
34464ce7165Smrg      if test "x$CONFIG_SHELL" != x; then
34564ce7165Smrg  for as_var in BASH_ENV ENV
34664ce7165Smrg        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
34764ce7165Smrg        done
34864ce7165Smrg        export CONFIG_SHELL
34964ce7165Smrg        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
35064ce7165Smrgfi
35164ce7165Smrg
35264ce7165Smrg
35364ce7165Smrg    if test $as_have_required = no; then
35464ce7165Smrg  echo This script requires a shell more modern than all the
35564ce7165Smrg      echo shells that I found on your system.  Please install a
35664ce7165Smrg      echo modern shell, or manually run the script under such a
35764ce7165Smrg      echo shell if you do have one.
35864ce7165Smrg      { (exit 1); exit 1; }
35964ce7165Smrgfi
36064ce7165Smrg
36164ce7165Smrg
36264ce7165Smrgfi
36364ce7165Smrg
36464ce7165Smrgfi
36564ce7165Smrg
36664ce7165Smrg
36764ce7165Smrg
36864ce7165Smrg(eval "as_func_return () {
36964ce7165Smrg  (exit \$1)
37064ce7165Smrg}
37164ce7165Smrgas_func_success () {
37264ce7165Smrg  as_func_return 0
37364ce7165Smrg}
37464ce7165Smrgas_func_failure () {
37564ce7165Smrg  as_func_return 1
37664ce7165Smrg}
37764ce7165Smrgas_func_ret_success () {
37864ce7165Smrg  return 0
37964ce7165Smrg}
38064ce7165Smrgas_func_ret_failure () {
38164ce7165Smrg  return 1
38264ce7165Smrg}
38364ce7165Smrg
38464ce7165Smrgexitcode=0
38564ce7165Smrgif as_func_success; then
38664ce7165Smrg  :
38764ce7165Smrgelse
38864ce7165Smrg  exitcode=1
38964ce7165Smrg  echo as_func_success failed.
39064ce7165Smrgfi
39164ce7165Smrg
39264ce7165Smrgif as_func_failure; then
39364ce7165Smrg  exitcode=1
39464ce7165Smrg  echo as_func_failure succeeded.
39564ce7165Smrgfi
39664ce7165Smrg
39764ce7165Smrgif as_func_ret_success; then
39864ce7165Smrg  :
39964ce7165Smrgelse
40064ce7165Smrg  exitcode=1
40164ce7165Smrg  echo as_func_ret_success failed.
40264ce7165Smrgfi
40364ce7165Smrg
40464ce7165Smrgif as_func_ret_failure; then
40564ce7165Smrg  exitcode=1
40664ce7165Smrg  echo as_func_ret_failure succeeded.
40764ce7165Smrgfi
40864ce7165Smrg
40964ce7165Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
41064ce7165Smrg  :
41164ce7165Smrgelse
41264ce7165Smrg  exitcode=1
41364ce7165Smrg  echo positional parameters were not saved.
41464ce7165Smrgfi
41564ce7165Smrg
41664ce7165Smrgtest \$exitcode = 0") || {
41764ce7165Smrg  echo No shell found that supports shell functions.
41864ce7165Smrg  echo Please tell autoconf@gnu.org about your system,
41964ce7165Smrg  echo including any error possibly output before this
42064ce7165Smrg  echo message
42164ce7165Smrg}
42264ce7165Smrg
42364ce7165Smrg
42464ce7165Smrg
42564ce7165Smrg  as_lineno_1=$LINENO
42664ce7165Smrg  as_lineno_2=$LINENO
42764ce7165Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
42864ce7165Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
42964ce7165Smrg
43064ce7165Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43164ce7165Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
43264ce7165Smrg  # line-number line after each line using $LINENO; the second 'sed'
43364ce7165Smrg  # does the real work.  The second script uses 'N' to pair each
43464ce7165Smrg  # line-number line with the line containing $LINENO, and appends
43564ce7165Smrg  # trailing '-' during substitution so that $LINENO is not a special
43664ce7165Smrg  # case at line end.
43764ce7165Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43864ce7165Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
43964ce7165Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
44064ce7165Smrg  sed -n '
44164ce7165Smrg    p
44264ce7165Smrg    /[$]LINENO/=
44364ce7165Smrg  ' <$as_myself |
44464ce7165Smrg    sed '
44564ce7165Smrg      s/[$]LINENO.*/&-/
44664ce7165Smrg      t lineno
44764ce7165Smrg      b
44864ce7165Smrg      :lineno
44964ce7165Smrg      N
45064ce7165Smrg      :loop
45164ce7165Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
45264ce7165Smrg      t loop
45364ce7165Smrg      s/-\n.*//
45464ce7165Smrg    ' >$as_me.lineno &&
45564ce7165Smrg  chmod +x "$as_me.lineno" ||
45664ce7165Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
45764ce7165Smrg   { (exit 1); exit 1; }; }
45864ce7165Smrg
45964ce7165Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
46064ce7165Smrg  # (the dirname of $[0] is not the place where we might find the
46164ce7165Smrg  # original and so on.  Autoconf is especially sensitive to this).
46264ce7165Smrg  . "./$as_me.lineno"
46364ce7165Smrg  # Exit status is that of the last command.
46464ce7165Smrg  exit
46564ce7165Smrg}
46664ce7165Smrg
46764ce7165Smrg
46864ce7165Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
46964ce7165Smrg  as_dirname=dirname
47064ce7165Smrgelse
47164ce7165Smrg  as_dirname=false
47264ce7165Smrgfi
47364ce7165Smrg
47464ce7165SmrgECHO_C= ECHO_N= ECHO_T=
47564ce7165Smrgcase `echo -n x` in
47664ce7165Smrg-n*)
47764ce7165Smrg  case `echo 'x\c'` in
47864ce7165Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
47964ce7165Smrg  *)   ECHO_C='\c';;
48064ce7165Smrg  esac;;
48164ce7165Smrg*)
48264ce7165Smrg  ECHO_N='-n';;
48364ce7165Smrgesac
48464ce7165Smrg
48564ce7165Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
48664ce7165Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
48764ce7165Smrg  as_expr=expr
48864ce7165Smrgelse
48964ce7165Smrg  as_expr=false
49064ce7165Smrgfi
49164ce7165Smrg
49264ce7165Smrgrm -f conf$$ conf$$.exe conf$$.file
49364ce7165Smrgif test -d conf$$.dir; then
49464ce7165Smrg  rm -f conf$$.dir/conf$$.file
49564ce7165Smrgelse
49664ce7165Smrg  rm -f conf$$.dir
49764ce7165Smrg  mkdir conf$$.dir
49864ce7165Smrgfi
49964ce7165Smrgecho >conf$$.file
50064ce7165Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
50164ce7165Smrg  as_ln_s='ln -s'
50264ce7165Smrg  # ... but there are two gotchas:
50364ce7165Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50464ce7165Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50564ce7165Smrg  # In both cases, we have to default to `cp -p'.
50664ce7165Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50764ce7165Smrg    as_ln_s='cp -p'
50864ce7165Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
50964ce7165Smrg  as_ln_s=ln
51064ce7165Smrgelse
51164ce7165Smrg  as_ln_s='cp -p'
51264ce7165Smrgfi
51364ce7165Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51464ce7165Smrgrmdir conf$$.dir 2>/dev/null
51564ce7165Smrg
51664ce7165Smrgif mkdir -p . 2>/dev/null; then
51764ce7165Smrg  as_mkdir_p=:
51864ce7165Smrgelse
51964ce7165Smrg  test -d ./-p && rmdir ./-p
52064ce7165Smrg  as_mkdir_p=false
52164ce7165Smrgfi
52264ce7165Smrg
52364ce7165Smrgif test -x / >/dev/null 2>&1; then
52464ce7165Smrg  as_test_x='test -x'
52564ce7165Smrgelse
52664ce7165Smrg  if ls -dL / >/dev/null 2>&1; then
52764ce7165Smrg    as_ls_L_option=L
52864ce7165Smrg  else
52964ce7165Smrg    as_ls_L_option=
53064ce7165Smrg  fi
53164ce7165Smrg  as_test_x='
53264ce7165Smrg    eval sh -c '\''
53364ce7165Smrg      if test -d "$1"; then
53464ce7165Smrg        test -d "$1/.";
53564ce7165Smrg      else
53664ce7165Smrg	case $1 in
53764ce7165Smrg        -*)set "./$1";;
53864ce7165Smrg	esac;
53964ce7165Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
54064ce7165Smrg	???[sx]*):;;*)false;;esac;fi
54164ce7165Smrg    '\'' sh
54264ce7165Smrg  '
54364ce7165Smrgfi
54464ce7165Smrgas_executable_p=$as_test_x
54564ce7165Smrg
54664ce7165Smrg# Sed expression to map a string onto a valid CPP name.
54764ce7165Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
54864ce7165Smrg
54964ce7165Smrg# Sed expression to map a string onto a valid variable name.
55064ce7165Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
55164ce7165Smrg
55264ce7165Smrg
55364ce7165Smrg
55464ce7165Smrgexec 7<&0 </dev/null 6>&1
55564ce7165Smrg
55664ce7165Smrg# Name of the host.
55764ce7165Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
55864ce7165Smrg# so uname gets run too.
55964ce7165Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
56064ce7165Smrg
56164ce7165Smrg#
56264ce7165Smrg# Initializations.
56364ce7165Smrg#
56464ce7165Smrgac_default_prefix=/usr/local
56564ce7165Smrgac_clean_files=
56664ce7165Smrgac_config_libobj_dir=.
56764ce7165SmrgLIBOBJS=
56864ce7165Smrgcross_compiling=no
56964ce7165Smrgsubdirs=
57064ce7165SmrgMFLAGS=
57164ce7165SmrgMAKEFLAGS=
57264ce7165SmrgSHELL=${CONFIG_SHELL-/bin/sh}
57364ce7165Smrg
57464ce7165Smrg# Identity of this package.
57564ce7165SmrgPACKAGE_NAME='xhost'
57664ce7165SmrgPACKAGE_TARNAME='xhost'
57764ce7165SmrgPACKAGE_VERSION='1.0.2'
57864ce7165SmrgPACKAGE_STRING='xhost 1.0.2'
57964ce7165SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
58064ce7165Smrg
58164ce7165Smrgac_subst_vars='SHELL
58264ce7165SmrgPATH_SEPARATOR
58364ce7165SmrgPACKAGE_NAME
58464ce7165SmrgPACKAGE_TARNAME
58564ce7165SmrgPACKAGE_VERSION
58664ce7165SmrgPACKAGE_STRING
58764ce7165SmrgPACKAGE_BUGREPORT
58864ce7165Smrgexec_prefix
58964ce7165Smrgprefix
59064ce7165Smrgprogram_transform_name
59164ce7165Smrgbindir
59264ce7165Smrgsbindir
59364ce7165Smrglibexecdir
59464ce7165Smrgdatarootdir
59564ce7165Smrgdatadir
59664ce7165Smrgsysconfdir
59764ce7165Smrgsharedstatedir
59864ce7165Smrglocalstatedir
59964ce7165Smrgincludedir
60064ce7165Smrgoldincludedir
60164ce7165Smrgdocdir
60264ce7165Smrginfodir
60364ce7165Smrghtmldir
60464ce7165Smrgdvidir
60564ce7165Smrgpdfdir
60664ce7165Smrgpsdir
60764ce7165Smrglibdir
60864ce7165Smrglocaledir
60964ce7165Smrgmandir
61064ce7165SmrgDEFS
61164ce7165SmrgECHO_C
61264ce7165SmrgECHO_N
61364ce7165SmrgECHO_T
61464ce7165SmrgLIBS
61564ce7165Smrgbuild_alias
61664ce7165Smrghost_alias
61764ce7165Smrgtarget_alias
61864ce7165SmrgINSTALL_PROGRAM
61964ce7165SmrgINSTALL_SCRIPT
62064ce7165SmrgINSTALL_DATA
62164ce7165Smrgam__isrc
62264ce7165SmrgCYGPATH_W
62364ce7165SmrgPACKAGE
62464ce7165SmrgVERSION
62564ce7165SmrgACLOCAL
62664ce7165SmrgAUTOCONF
62764ce7165SmrgAUTOMAKE
62864ce7165SmrgAUTOHEADER
62964ce7165SmrgMAKEINFO
63064ce7165Smrginstall_sh
63164ce7165SmrgSTRIP
63264ce7165SmrgINSTALL_STRIP_PROGRAM
63364ce7165Smrgmkdir_p
63464ce7165SmrgAWK
63564ce7165SmrgSET_MAKE
63664ce7165Smrgam__leading_dot
63764ce7165SmrgAMTAR
63864ce7165Smrgam__tar
63964ce7165Smrgam__untar
64064ce7165SmrgMAINTAINER_MODE_TRUE
64164ce7165SmrgMAINTAINER_MODE_FALSE
64264ce7165SmrgMAINT
64364ce7165SmrgCC
64464ce7165SmrgCFLAGS
64564ce7165SmrgLDFLAGS
64664ce7165SmrgCPPFLAGS
64764ce7165Smrgac_ct_CC
64864ce7165SmrgEXEEXT
64964ce7165SmrgOBJEXT
65064ce7165SmrgDEPDIR
65164ce7165Smrgam__include
65264ce7165Smrgam__quote
65364ce7165SmrgAMDEP_TRUE
65464ce7165SmrgAMDEP_FALSE
65564ce7165SmrgAMDEPBACKSLASH
65664ce7165SmrgCCDEPMODE
65764ce7165Smrgam__fastdepCC_TRUE
65864ce7165Smrgam__fastdepCC_FALSE
65964ce7165SmrgPKG_CONFIG
66064ce7165SmrgXHOST_CFLAGS
66164ce7165SmrgXHOST_LIBS
66264ce7165Smrgbuild
66364ce7165Smrgbuild_cpu
66464ce7165Smrgbuild_vendor
66564ce7165Smrgbuild_os
66664ce7165Smrghost
66764ce7165Smrghost_cpu
66864ce7165Smrghost_vendor
66964ce7165Smrghost_os
67064ce7165SmrgAPP_MAN_SUFFIX
67164ce7165SmrgLIB_MAN_SUFFIX
67264ce7165SmrgFILE_MAN_SUFFIX
67364ce7165SmrgMISC_MAN_SUFFIX
67464ce7165SmrgDRIVER_MAN_SUFFIX
67564ce7165SmrgADMIN_MAN_SUFFIX
67664ce7165SmrgAPP_MAN_DIR
67764ce7165SmrgLIB_MAN_DIR
67864ce7165SmrgFILE_MAN_DIR
67964ce7165SmrgMISC_MAN_DIR
68064ce7165SmrgDRIVER_MAN_DIR
68164ce7165SmrgADMIN_MAN_DIR
68264ce7165SmrgLIBOBJS
68364ce7165SmrgLTLIBOBJS'
68464ce7165Smrgac_subst_files=''
68564ce7165Smrg      ac_precious_vars='build_alias
68664ce7165Smrghost_alias
68764ce7165Smrgtarget_alias
68864ce7165SmrgCC
68964ce7165SmrgCFLAGS
69064ce7165SmrgLDFLAGS
69164ce7165SmrgLIBS
69264ce7165SmrgCPPFLAGS
69364ce7165SmrgPKG_CONFIG
69464ce7165SmrgXHOST_CFLAGS
69564ce7165SmrgXHOST_LIBS'
69664ce7165Smrg
69764ce7165Smrg
69864ce7165Smrg# Initialize some variables set by options.
69964ce7165Smrgac_init_help=
70064ce7165Smrgac_init_version=false
70164ce7165Smrg# The variables have the same names as the options, with
70264ce7165Smrg# dashes changed to underlines.
70364ce7165Smrgcache_file=/dev/null
70464ce7165Smrgexec_prefix=NONE
70564ce7165Smrgno_create=
70664ce7165Smrgno_recursion=
70764ce7165Smrgprefix=NONE
70864ce7165Smrgprogram_prefix=NONE
70964ce7165Smrgprogram_suffix=NONE
71064ce7165Smrgprogram_transform_name=s,x,x,
71164ce7165Smrgsilent=
71264ce7165Smrgsite=
71364ce7165Smrgsrcdir=
71464ce7165Smrgverbose=
71564ce7165Smrgx_includes=NONE
71664ce7165Smrgx_libraries=NONE
71764ce7165Smrg
71864ce7165Smrg# Installation directory options.
71964ce7165Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
72064ce7165Smrg# and all the variables that are supposed to be based on exec_prefix
72164ce7165Smrg# by default will actually change.
72264ce7165Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
72364ce7165Smrg# (The list follows the same order as the GNU Coding Standards.)
72464ce7165Smrgbindir='${exec_prefix}/bin'
72564ce7165Smrgsbindir='${exec_prefix}/sbin'
72664ce7165Smrglibexecdir='${exec_prefix}/libexec'
72764ce7165Smrgdatarootdir='${prefix}/share'
72864ce7165Smrgdatadir='${datarootdir}'
72964ce7165Smrgsysconfdir='${prefix}/etc'
73064ce7165Smrgsharedstatedir='${prefix}/com'
73164ce7165Smrglocalstatedir='${prefix}/var'
73264ce7165Smrgincludedir='${prefix}/include'
73364ce7165Smrgoldincludedir='/usr/include'
73464ce7165Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
73564ce7165Smrginfodir='${datarootdir}/info'
73664ce7165Smrghtmldir='${docdir}'
73764ce7165Smrgdvidir='${docdir}'
73864ce7165Smrgpdfdir='${docdir}'
73964ce7165Smrgpsdir='${docdir}'
74064ce7165Smrglibdir='${exec_prefix}/lib'
74164ce7165Smrglocaledir='${datarootdir}/locale'
74264ce7165Smrgmandir='${datarootdir}/man'
74364ce7165Smrg
74464ce7165Smrgac_prev=
74564ce7165Smrgac_dashdash=
74664ce7165Smrgfor ac_option
74764ce7165Smrgdo
74864ce7165Smrg  # If the previous option needs an argument, assign it.
74964ce7165Smrg  if test -n "$ac_prev"; then
75064ce7165Smrg    eval $ac_prev=\$ac_option
75164ce7165Smrg    ac_prev=
75264ce7165Smrg    continue
75364ce7165Smrg  fi
75464ce7165Smrg
75564ce7165Smrg  case $ac_option in
75664ce7165Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
75764ce7165Smrg  *)	ac_optarg=yes ;;
75864ce7165Smrg  esac
75964ce7165Smrg
76064ce7165Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
76164ce7165Smrg
76264ce7165Smrg  case $ac_dashdash$ac_option in
76364ce7165Smrg  --)
76464ce7165Smrg    ac_dashdash=yes ;;
76564ce7165Smrg
76664ce7165Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
76764ce7165Smrg    ac_prev=bindir ;;
76864ce7165Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
76964ce7165Smrg    bindir=$ac_optarg ;;
77064ce7165Smrg
77164ce7165Smrg  -build | --build | --buil | --bui | --bu)
77264ce7165Smrg    ac_prev=build_alias ;;
77364ce7165Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
77464ce7165Smrg    build_alias=$ac_optarg ;;
77564ce7165Smrg
77664ce7165Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
77764ce7165Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
77864ce7165Smrg    ac_prev=cache_file ;;
77964ce7165Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
78064ce7165Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
78164ce7165Smrg    cache_file=$ac_optarg ;;
78264ce7165Smrg
78364ce7165Smrg  --config-cache | -C)
78464ce7165Smrg    cache_file=config.cache ;;
78564ce7165Smrg
78664ce7165Smrg  -datadir | --datadir | --datadi | --datad)
78764ce7165Smrg    ac_prev=datadir ;;
78864ce7165Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
78964ce7165Smrg    datadir=$ac_optarg ;;
79064ce7165Smrg
79164ce7165Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
79264ce7165Smrg  | --dataroo | --dataro | --datar)
79364ce7165Smrg    ac_prev=datarootdir ;;
79464ce7165Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
79564ce7165Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
79664ce7165Smrg    datarootdir=$ac_optarg ;;
79764ce7165Smrg
79864ce7165Smrg  -disable-* | --disable-*)
79964ce7165Smrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
80064ce7165Smrg    # Reject names that are not valid shell variable names.
80164ce7165Smrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
80264ce7165Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
80364ce7165Smrg   { (exit 1); exit 1; }; }
80464ce7165Smrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
80564ce7165Smrg    eval enable_$ac_feature=no ;;
80664ce7165Smrg
80764ce7165Smrg  -docdir | --docdir | --docdi | --doc | --do)
80864ce7165Smrg    ac_prev=docdir ;;
80964ce7165Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
81064ce7165Smrg    docdir=$ac_optarg ;;
81164ce7165Smrg
81264ce7165Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
81364ce7165Smrg    ac_prev=dvidir ;;
81464ce7165Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
81564ce7165Smrg    dvidir=$ac_optarg ;;
81664ce7165Smrg
81764ce7165Smrg  -enable-* | --enable-*)
81864ce7165Smrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
81964ce7165Smrg    # Reject names that are not valid shell variable names.
82064ce7165Smrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
82164ce7165Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
82264ce7165Smrg   { (exit 1); exit 1; }; }
82364ce7165Smrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
82464ce7165Smrg    eval enable_$ac_feature=\$ac_optarg ;;
82564ce7165Smrg
82664ce7165Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
82764ce7165Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
82864ce7165Smrg  | --exec | --exe | --ex)
82964ce7165Smrg    ac_prev=exec_prefix ;;
83064ce7165Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
83164ce7165Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
83264ce7165Smrg  | --exec=* | --exe=* | --ex=*)
83364ce7165Smrg    exec_prefix=$ac_optarg ;;
83464ce7165Smrg
83564ce7165Smrg  -gas | --gas | --ga | --g)
83664ce7165Smrg    # Obsolete; use --with-gas.
83764ce7165Smrg    with_gas=yes ;;
83864ce7165Smrg
83964ce7165Smrg  -help | --help | --hel | --he | -h)
84064ce7165Smrg    ac_init_help=long ;;
84164ce7165Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
84264ce7165Smrg    ac_init_help=recursive ;;
84364ce7165Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
84464ce7165Smrg    ac_init_help=short ;;
84564ce7165Smrg
84664ce7165Smrg  -host | --host | --hos | --ho)
84764ce7165Smrg    ac_prev=host_alias ;;
84864ce7165Smrg  -host=* | --host=* | --hos=* | --ho=*)
84964ce7165Smrg    host_alias=$ac_optarg ;;
85064ce7165Smrg
85164ce7165Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
85264ce7165Smrg    ac_prev=htmldir ;;
85364ce7165Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
85464ce7165Smrg  | --ht=*)
85564ce7165Smrg    htmldir=$ac_optarg ;;
85664ce7165Smrg
85764ce7165Smrg  -includedir | --includedir | --includedi | --included | --include \
85864ce7165Smrg  | --includ | --inclu | --incl | --inc)
85964ce7165Smrg    ac_prev=includedir ;;
86064ce7165Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
86164ce7165Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
86264ce7165Smrg    includedir=$ac_optarg ;;
86364ce7165Smrg
86464ce7165Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
86564ce7165Smrg    ac_prev=infodir ;;
86664ce7165Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
86764ce7165Smrg    infodir=$ac_optarg ;;
86864ce7165Smrg
86964ce7165Smrg  -libdir | --libdir | --libdi | --libd)
87064ce7165Smrg    ac_prev=libdir ;;
87164ce7165Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
87264ce7165Smrg    libdir=$ac_optarg ;;
87364ce7165Smrg
87464ce7165Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
87564ce7165Smrg  | --libexe | --libex | --libe)
87664ce7165Smrg    ac_prev=libexecdir ;;
87764ce7165Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
87864ce7165Smrg  | --libexe=* | --libex=* | --libe=*)
87964ce7165Smrg    libexecdir=$ac_optarg ;;
88064ce7165Smrg
88164ce7165Smrg  -localedir | --localedir | --localedi | --localed | --locale)
88264ce7165Smrg    ac_prev=localedir ;;
88364ce7165Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
88464ce7165Smrg    localedir=$ac_optarg ;;
88564ce7165Smrg
88664ce7165Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
88764ce7165Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
88864ce7165Smrg    ac_prev=localstatedir ;;
88964ce7165Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
89064ce7165Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
89164ce7165Smrg    localstatedir=$ac_optarg ;;
89264ce7165Smrg
89364ce7165Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
89464ce7165Smrg    ac_prev=mandir ;;
89564ce7165Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
89664ce7165Smrg    mandir=$ac_optarg ;;
89764ce7165Smrg
89864ce7165Smrg  -nfp | --nfp | --nf)
89964ce7165Smrg    # Obsolete; use --without-fp.
90064ce7165Smrg    with_fp=no ;;
90164ce7165Smrg
90264ce7165Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
90364ce7165Smrg  | --no-cr | --no-c | -n)
90464ce7165Smrg    no_create=yes ;;
90564ce7165Smrg
90664ce7165Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
90764ce7165Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
90864ce7165Smrg    no_recursion=yes ;;
90964ce7165Smrg
91064ce7165Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
91164ce7165Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
91264ce7165Smrg  | --oldin | --oldi | --old | --ol | --o)
91364ce7165Smrg    ac_prev=oldincludedir ;;
91464ce7165Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
91564ce7165Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
91664ce7165Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
91764ce7165Smrg    oldincludedir=$ac_optarg ;;
91864ce7165Smrg
91964ce7165Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
92064ce7165Smrg    ac_prev=prefix ;;
92164ce7165Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
92264ce7165Smrg    prefix=$ac_optarg ;;
92364ce7165Smrg
92464ce7165Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
92564ce7165Smrg  | --program-pre | --program-pr | --program-p)
92664ce7165Smrg    ac_prev=program_prefix ;;
92764ce7165Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
92864ce7165Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
92964ce7165Smrg    program_prefix=$ac_optarg ;;
93064ce7165Smrg
93164ce7165Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
93264ce7165Smrg  | --program-suf | --program-su | --program-s)
93364ce7165Smrg    ac_prev=program_suffix ;;
93464ce7165Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
93564ce7165Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
93664ce7165Smrg    program_suffix=$ac_optarg ;;
93764ce7165Smrg
93864ce7165Smrg  -program-transform-name | --program-transform-name \
93964ce7165Smrg  | --program-transform-nam | --program-transform-na \
94064ce7165Smrg  | --program-transform-n | --program-transform- \
94164ce7165Smrg  | --program-transform | --program-transfor \
94264ce7165Smrg  | --program-transfo | --program-transf \
94364ce7165Smrg  | --program-trans | --program-tran \
94464ce7165Smrg  | --progr-tra | --program-tr | --program-t)
94564ce7165Smrg    ac_prev=program_transform_name ;;
94664ce7165Smrg  -program-transform-name=* | --program-transform-name=* \
94764ce7165Smrg  | --program-transform-nam=* | --program-transform-na=* \
94864ce7165Smrg  | --program-transform-n=* | --program-transform-=* \
94964ce7165Smrg  | --program-transform=* | --program-transfor=* \
95064ce7165Smrg  | --program-transfo=* | --program-transf=* \
95164ce7165Smrg  | --program-trans=* | --program-tran=* \
95264ce7165Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
95364ce7165Smrg    program_transform_name=$ac_optarg ;;
95464ce7165Smrg
95564ce7165Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
95664ce7165Smrg    ac_prev=pdfdir ;;
95764ce7165Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
95864ce7165Smrg    pdfdir=$ac_optarg ;;
95964ce7165Smrg
96064ce7165Smrg  -psdir | --psdir | --psdi | --psd | --ps)
96164ce7165Smrg    ac_prev=psdir ;;
96264ce7165Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
96364ce7165Smrg    psdir=$ac_optarg ;;
96464ce7165Smrg
96564ce7165Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
96664ce7165Smrg  | -silent | --silent | --silen | --sile | --sil)
96764ce7165Smrg    silent=yes ;;
96864ce7165Smrg
96964ce7165Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
97064ce7165Smrg    ac_prev=sbindir ;;
97164ce7165Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
97264ce7165Smrg  | --sbi=* | --sb=*)
97364ce7165Smrg    sbindir=$ac_optarg ;;
97464ce7165Smrg
97564ce7165Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
97664ce7165Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
97764ce7165Smrg  | --sharedst | --shareds | --shared | --share | --shar \
97864ce7165Smrg  | --sha | --sh)
97964ce7165Smrg    ac_prev=sharedstatedir ;;
98064ce7165Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
98164ce7165Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
98264ce7165Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
98364ce7165Smrg  | --sha=* | --sh=*)
98464ce7165Smrg    sharedstatedir=$ac_optarg ;;
98564ce7165Smrg
98664ce7165Smrg  -site | --site | --sit)
98764ce7165Smrg    ac_prev=site ;;
98864ce7165Smrg  -site=* | --site=* | --sit=*)
98964ce7165Smrg    site=$ac_optarg ;;
99064ce7165Smrg
99164ce7165Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
99264ce7165Smrg    ac_prev=srcdir ;;
99364ce7165Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
99464ce7165Smrg    srcdir=$ac_optarg ;;
99564ce7165Smrg
99664ce7165Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
99764ce7165Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
99864ce7165Smrg    ac_prev=sysconfdir ;;
99964ce7165Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
100064ce7165Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
100164ce7165Smrg    sysconfdir=$ac_optarg ;;
100264ce7165Smrg
100364ce7165Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
100464ce7165Smrg    ac_prev=target_alias ;;
100564ce7165Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
100664ce7165Smrg    target_alias=$ac_optarg ;;
100764ce7165Smrg
100864ce7165Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
100964ce7165Smrg    verbose=yes ;;
101064ce7165Smrg
101164ce7165Smrg  -version | --version | --versio | --versi | --vers | -V)
101264ce7165Smrg    ac_init_version=: ;;
101364ce7165Smrg
101464ce7165Smrg  -with-* | --with-*)
101564ce7165Smrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
101664ce7165Smrg    # Reject names that are not valid shell variable names.
101764ce7165Smrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
101864ce7165Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
101964ce7165Smrg   { (exit 1); exit 1; }; }
102064ce7165Smrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
102164ce7165Smrg    eval with_$ac_package=\$ac_optarg ;;
102264ce7165Smrg
102364ce7165Smrg  -without-* | --without-*)
102464ce7165Smrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
102564ce7165Smrg    # Reject names that are not valid shell variable names.
102664ce7165Smrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
102764ce7165Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
102864ce7165Smrg   { (exit 1); exit 1; }; }
102964ce7165Smrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
103064ce7165Smrg    eval with_$ac_package=no ;;
103164ce7165Smrg
103264ce7165Smrg  --x)
103364ce7165Smrg    # Obsolete; use --with-x.
103464ce7165Smrg    with_x=yes ;;
103564ce7165Smrg
103664ce7165Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
103764ce7165Smrg  | --x-incl | --x-inc | --x-in | --x-i)
103864ce7165Smrg    ac_prev=x_includes ;;
103964ce7165Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
104064ce7165Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
104164ce7165Smrg    x_includes=$ac_optarg ;;
104264ce7165Smrg
104364ce7165Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
104464ce7165Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
104564ce7165Smrg    ac_prev=x_libraries ;;
104664ce7165Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
104764ce7165Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
104864ce7165Smrg    x_libraries=$ac_optarg ;;
104964ce7165Smrg
105064ce7165Smrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
105164ce7165SmrgTry \`$0 --help' for more information." >&2
105264ce7165Smrg   { (exit 1); exit 1; }; }
105364ce7165Smrg    ;;
105464ce7165Smrg
105564ce7165Smrg  *=*)
105664ce7165Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
105764ce7165Smrg    # Reject names that are not valid shell variable names.
105864ce7165Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
105964ce7165Smrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
106064ce7165Smrg   { (exit 1); exit 1; }; }
106164ce7165Smrg    eval $ac_envvar=\$ac_optarg
106264ce7165Smrg    export $ac_envvar ;;
106364ce7165Smrg
106464ce7165Smrg  *)
106564ce7165Smrg    # FIXME: should be removed in autoconf 3.0.
106664ce7165Smrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
106764ce7165Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
106864ce7165Smrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
106964ce7165Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
107064ce7165Smrg    ;;
107164ce7165Smrg
107264ce7165Smrg  esac
107364ce7165Smrgdone
107464ce7165Smrg
107564ce7165Smrgif test -n "$ac_prev"; then
107664ce7165Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
107764ce7165Smrg  { echo "$as_me: error: missing argument to $ac_option" >&2
107864ce7165Smrg   { (exit 1); exit 1; }; }
107964ce7165Smrgfi
108064ce7165Smrg
108164ce7165Smrg# Be sure to have absolute directory names.
108264ce7165Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
108364ce7165Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
108464ce7165Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
108564ce7165Smrg		libdir localedir mandir
108664ce7165Smrgdo
108764ce7165Smrg  eval ac_val=\$$ac_var
108864ce7165Smrg  case $ac_val in
108964ce7165Smrg    [\\/$]* | ?:[\\/]* )  continue;;
109064ce7165Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
109164ce7165Smrg  esac
109264ce7165Smrg  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
109364ce7165Smrg   { (exit 1); exit 1; }; }
109464ce7165Smrgdone
109564ce7165Smrg
109664ce7165Smrg# There might be people who depend on the old broken behavior: `$host'
109764ce7165Smrg# used to hold the argument of --host etc.
109864ce7165Smrg# FIXME: To remove some day.
109964ce7165Smrgbuild=$build_alias
110064ce7165Smrghost=$host_alias
110164ce7165Smrgtarget=$target_alias
110264ce7165Smrg
110364ce7165Smrg# FIXME: To remove some day.
110464ce7165Smrgif test "x$host_alias" != x; then
110564ce7165Smrg  if test "x$build_alias" = x; then
110664ce7165Smrg    cross_compiling=maybe
110764ce7165Smrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
110864ce7165Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
110964ce7165Smrg  elif test "x$build_alias" != "x$host_alias"; then
111064ce7165Smrg    cross_compiling=yes
111164ce7165Smrg  fi
111264ce7165Smrgfi
111364ce7165Smrg
111464ce7165Smrgac_tool_prefix=
111564ce7165Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
111664ce7165Smrg
111764ce7165Smrgtest "$silent" = yes && exec 6>/dev/null
111864ce7165Smrg
111964ce7165Smrg
112064ce7165Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
112164ce7165Smrgac_ls_di=`ls -di .` &&
112264ce7165Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
112364ce7165Smrg  { echo "$as_me: error: Working directory cannot be determined" >&2
112464ce7165Smrg   { (exit 1); exit 1; }; }
112564ce7165Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
112664ce7165Smrg  { echo "$as_me: error: pwd does not report name of working directory" >&2
112764ce7165Smrg   { (exit 1); exit 1; }; }
112864ce7165Smrg
112964ce7165Smrg
113064ce7165Smrg# Find the source files, if location was not specified.
113164ce7165Smrgif test -z "$srcdir"; then
113264ce7165Smrg  ac_srcdir_defaulted=yes
113364ce7165Smrg  # Try the directory containing this script, then the parent directory.
113464ce7165Smrg  ac_confdir=`$as_dirname -- "$0" ||
113564ce7165Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
113664ce7165Smrg	 X"$0" : 'X\(//\)[^/]' \| \
113764ce7165Smrg	 X"$0" : 'X\(//\)$' \| \
113864ce7165Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
113964ce7165Smrgecho X"$0" |
114064ce7165Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
114164ce7165Smrg	    s//\1/
114264ce7165Smrg	    q
114364ce7165Smrg	  }
114464ce7165Smrg	  /^X\(\/\/\)[^/].*/{
114564ce7165Smrg	    s//\1/
114664ce7165Smrg	    q
114764ce7165Smrg	  }
114864ce7165Smrg	  /^X\(\/\/\)$/{
114964ce7165Smrg	    s//\1/
115064ce7165Smrg	    q
115164ce7165Smrg	  }
115264ce7165Smrg	  /^X\(\/\).*/{
115364ce7165Smrg	    s//\1/
115464ce7165Smrg	    q
115564ce7165Smrg	  }
115664ce7165Smrg	  s/.*/./; q'`
115764ce7165Smrg  srcdir=$ac_confdir
115864ce7165Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
115964ce7165Smrg    srcdir=..
116064ce7165Smrg  fi
116164ce7165Smrgelse
116264ce7165Smrg  ac_srcdir_defaulted=no
116364ce7165Smrgfi
116464ce7165Smrgif test ! -r "$srcdir/$ac_unique_file"; then
116564ce7165Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
116664ce7165Smrg  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
116764ce7165Smrg   { (exit 1); exit 1; }; }
116864ce7165Smrgfi
116964ce7165Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
117064ce7165Smrgac_abs_confdir=`(
117164ce7165Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
117264ce7165Smrg   { (exit 1); exit 1; }; }
117364ce7165Smrg	pwd)`
117464ce7165Smrg# When building in place, set srcdir=.
117564ce7165Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
117664ce7165Smrg  srcdir=.
117764ce7165Smrgfi
117864ce7165Smrg# Remove unnecessary trailing slashes from srcdir.
117964ce7165Smrg# Double slashes in file names in object file debugging info
118064ce7165Smrg# mess up M-x gdb in Emacs.
118164ce7165Smrgcase $srcdir in
118264ce7165Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
118364ce7165Smrgesac
118464ce7165Smrgfor ac_var in $ac_precious_vars; do
118564ce7165Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
118664ce7165Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
118764ce7165Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
118864ce7165Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
118964ce7165Smrgdone
119064ce7165Smrg
119164ce7165Smrg#
119264ce7165Smrg# Report the --help message.
119364ce7165Smrg#
119464ce7165Smrgif test "$ac_init_help" = "long"; then
119564ce7165Smrg  # Omit some internal or obsolete options to make the list less imposing.
119664ce7165Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
119764ce7165Smrg  cat <<_ACEOF
119864ce7165Smrg\`configure' configures xhost 1.0.2 to adapt to many kinds of systems.
119964ce7165Smrg
120064ce7165SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
120164ce7165Smrg
120264ce7165SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
120364ce7165SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
120464ce7165Smrg
120564ce7165SmrgDefaults for the options are specified in brackets.
120664ce7165Smrg
120764ce7165SmrgConfiguration:
120864ce7165Smrg  -h, --help              display this help and exit
120964ce7165Smrg      --help=short        display options specific to this package
121064ce7165Smrg      --help=recursive    display the short help of all the included packages
121164ce7165Smrg  -V, --version           display version information and exit
121264ce7165Smrg  -q, --quiet, --silent   do not print \`checking...' messages
121364ce7165Smrg      --cache-file=FILE   cache test results in FILE [disabled]
121464ce7165Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
121564ce7165Smrg  -n, --no-create         do not create output files
121664ce7165Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
121764ce7165Smrg
121864ce7165SmrgInstallation directories:
121964ce7165Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
122064ce7165Smrg			  [$ac_default_prefix]
122164ce7165Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
122264ce7165Smrg			  [PREFIX]
122364ce7165Smrg
122464ce7165SmrgBy default, \`make install' will install all the files in
122564ce7165Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
122664ce7165Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
122764ce7165Smrgfor instance \`--prefix=\$HOME'.
122864ce7165Smrg
122964ce7165SmrgFor better control, use the options below.
123064ce7165Smrg
123164ce7165SmrgFine tuning of the installation directories:
123264ce7165Smrg  --bindir=DIR           user executables [EPREFIX/bin]
123364ce7165Smrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
123464ce7165Smrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
123564ce7165Smrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
123664ce7165Smrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
123764ce7165Smrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
123864ce7165Smrg  --libdir=DIR           object code libraries [EPREFIX/lib]
123964ce7165Smrg  --includedir=DIR       C header files [PREFIX/include]
124064ce7165Smrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
124164ce7165Smrg  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
124264ce7165Smrg  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
124364ce7165Smrg  --infodir=DIR          info documentation [DATAROOTDIR/info]
124464ce7165Smrg  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
124564ce7165Smrg  --mandir=DIR           man documentation [DATAROOTDIR/man]
124664ce7165Smrg  --docdir=DIR           documentation root [DATAROOTDIR/doc/xhost]
124764ce7165Smrg  --htmldir=DIR          html documentation [DOCDIR]
124864ce7165Smrg  --dvidir=DIR           dvi documentation [DOCDIR]
124964ce7165Smrg  --pdfdir=DIR           pdf documentation [DOCDIR]
125064ce7165Smrg  --psdir=DIR            ps documentation [DOCDIR]
125164ce7165Smrg_ACEOF
125264ce7165Smrg
125364ce7165Smrg  cat <<\_ACEOF
125464ce7165Smrg
125564ce7165SmrgProgram names:
125664ce7165Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
125764ce7165Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
125864ce7165Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
125964ce7165Smrg
126064ce7165SmrgSystem types:
126164ce7165Smrg  --build=BUILD     configure for building on BUILD [guessed]
126264ce7165Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
126364ce7165Smrg_ACEOF
126464ce7165Smrgfi
126564ce7165Smrg
126664ce7165Smrgif test -n "$ac_init_help"; then
126764ce7165Smrg  case $ac_init_help in
126864ce7165Smrg     short | recursive ) echo "Configuration of xhost 1.0.2:";;
126964ce7165Smrg   esac
127064ce7165Smrg  cat <<\_ACEOF
127164ce7165Smrg
127264ce7165SmrgOptional Features:
127364ce7165Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
127464ce7165Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
127564ce7165Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
127664ce7165Smrg			  (and sometimes confusing) to the casual installer
127764ce7165Smrg  --disable-dependency-tracking  speeds up one-time build
127864ce7165Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
127964ce7165Smrg  --enable-unix-transport Enable UNIX domain socket transport
128064ce7165Smrg  --enable-tcp-transport  Enable TCP socket transport
128164ce7165Smrg  --enable-IPv6           Enable IPv6 support
128264ce7165Smrg  --enable-local-transport
128364ce7165Smrg                          Enable os-specific local transport
128464ce7165Smrg  --enable-secure-rpc     Enable Secure RPC
128564ce7165Smrg
128664ce7165SmrgOptional Packages:
128764ce7165Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
128864ce7165Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
128964ce7165Smrg  --with-release-version=STRING
129064ce7165Smrg                          Use release version string in package name
129164ce7165Smrg
129264ce7165SmrgSome influential environment variables:
129364ce7165Smrg  CC          C compiler command
129464ce7165Smrg  CFLAGS      C compiler flags
129564ce7165Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
129664ce7165Smrg              nonstandard directory <lib dir>
129764ce7165Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
129864ce7165Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
129964ce7165Smrg              you have headers in a nonstandard directory <include dir>
130064ce7165Smrg  PKG_CONFIG  path to pkg-config utility
130164ce7165Smrg  XHOST_CFLAGS
130264ce7165Smrg              C compiler flags for XHOST, overriding pkg-config
130364ce7165Smrg  XHOST_LIBS  linker flags for XHOST, overriding pkg-config
130464ce7165Smrg
130564ce7165SmrgUse these variables to override the choices made by `configure' or to help
130664ce7165Smrgit to find libraries and programs with nonstandard names/locations.
130764ce7165Smrg
130864ce7165SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
130964ce7165Smrg_ACEOF
131064ce7165Smrgac_status=$?
131164ce7165Smrgfi
131264ce7165Smrg
131364ce7165Smrgif test "$ac_init_help" = "recursive"; then
131464ce7165Smrg  # If there are subdirs, report their specific --help.
131564ce7165Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
131664ce7165Smrg    test -d "$ac_dir" || continue
131764ce7165Smrg    ac_builddir=.
131864ce7165Smrg
131964ce7165Smrgcase "$ac_dir" in
132064ce7165Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
132164ce7165Smrg*)
132264ce7165Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
132364ce7165Smrg  # A ".." for each directory in $ac_dir_suffix.
132464ce7165Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
132564ce7165Smrg  case $ac_top_builddir_sub in
132664ce7165Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
132764ce7165Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
132864ce7165Smrg  esac ;;
132964ce7165Smrgesac
133064ce7165Smrgac_abs_top_builddir=$ac_pwd
133164ce7165Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
133264ce7165Smrg# for backward compatibility:
133364ce7165Smrgac_top_builddir=$ac_top_build_prefix
133464ce7165Smrg
133564ce7165Smrgcase $srcdir in
133664ce7165Smrg  .)  # We are building in place.
133764ce7165Smrg    ac_srcdir=.
133864ce7165Smrg    ac_top_srcdir=$ac_top_builddir_sub
133964ce7165Smrg    ac_abs_top_srcdir=$ac_pwd ;;
134064ce7165Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
134164ce7165Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
134264ce7165Smrg    ac_top_srcdir=$srcdir
134364ce7165Smrg    ac_abs_top_srcdir=$srcdir ;;
134464ce7165Smrg  *) # Relative name.
134564ce7165Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
134664ce7165Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
134764ce7165Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
134864ce7165Smrgesac
134964ce7165Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
135064ce7165Smrg
135164ce7165Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
135264ce7165Smrg    # Check for guested configure.
135364ce7165Smrg    if test -f "$ac_srcdir/configure.gnu"; then
135464ce7165Smrg      echo &&
135564ce7165Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
135664ce7165Smrg    elif test -f "$ac_srcdir/configure"; then
135764ce7165Smrg      echo &&
135864ce7165Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
135964ce7165Smrg    else
136064ce7165Smrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
136164ce7165Smrg    fi || ac_status=$?
136264ce7165Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
136364ce7165Smrg  done
136464ce7165Smrgfi
136564ce7165Smrg
136664ce7165Smrgtest -n "$ac_init_help" && exit $ac_status
136764ce7165Smrgif $ac_init_version; then
136864ce7165Smrg  cat <<\_ACEOF
136964ce7165Smrgxhost configure 1.0.2
137064ce7165Smrggenerated by GNU Autoconf 2.61
137164ce7165Smrg
137264ce7165SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
137364ce7165Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
137464ce7165SmrgThis configure script is free software; the Free Software Foundation
137564ce7165Smrggives unlimited permission to copy, distribute and modify it.
137664ce7165Smrg_ACEOF
137764ce7165Smrg  exit
137864ce7165Smrgfi
137964ce7165Smrgcat >config.log <<_ACEOF
138064ce7165SmrgThis file contains any messages produced by compilers while
138164ce7165Smrgrunning configure, to aid debugging if configure makes a mistake.
138264ce7165Smrg
138364ce7165SmrgIt was created by xhost $as_me 1.0.2, which was
138464ce7165Smrggenerated by GNU Autoconf 2.61.  Invocation command line was
138564ce7165Smrg
138664ce7165Smrg  $ $0 $@
138764ce7165Smrg
138864ce7165Smrg_ACEOF
138964ce7165Smrgexec 5>>config.log
139064ce7165Smrg{
139164ce7165Smrgcat <<_ASUNAME
139264ce7165Smrg## --------- ##
139364ce7165Smrg## Platform. ##
139464ce7165Smrg## --------- ##
139564ce7165Smrg
139664ce7165Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
139764ce7165Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
139864ce7165Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
139964ce7165Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
140064ce7165Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
140164ce7165Smrg
140264ce7165Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
140364ce7165Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
140464ce7165Smrg
140564ce7165Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
140664ce7165Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
140764ce7165Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
140864ce7165Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
140964ce7165Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
141064ce7165Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
141164ce7165Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
141264ce7165Smrg
141364ce7165Smrg_ASUNAME
141464ce7165Smrg
141564ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
141664ce7165Smrgfor as_dir in $PATH
141764ce7165Smrgdo
141864ce7165Smrg  IFS=$as_save_IFS
141964ce7165Smrg  test -z "$as_dir" && as_dir=.
142064ce7165Smrg  echo "PATH: $as_dir"
142164ce7165Smrgdone
142264ce7165SmrgIFS=$as_save_IFS
142364ce7165Smrg
142464ce7165Smrg} >&5
142564ce7165Smrg
142664ce7165Smrgcat >&5 <<_ACEOF
142764ce7165Smrg
142864ce7165Smrg
142964ce7165Smrg## ----------- ##
143064ce7165Smrg## Core tests. ##
143164ce7165Smrg## ----------- ##
143264ce7165Smrg
143364ce7165Smrg_ACEOF
143464ce7165Smrg
143564ce7165Smrg
143664ce7165Smrg# Keep a trace of the command line.
143764ce7165Smrg# Strip out --no-create and --no-recursion so they do not pile up.
143864ce7165Smrg# Strip out --silent because we don't want to record it for future runs.
143964ce7165Smrg# Also quote any args containing shell meta-characters.
144064ce7165Smrg# Make two passes to allow for proper duplicate-argument suppression.
144164ce7165Smrgac_configure_args=
144264ce7165Smrgac_configure_args0=
144364ce7165Smrgac_configure_args1=
144464ce7165Smrgac_must_keep_next=false
144564ce7165Smrgfor ac_pass in 1 2
144664ce7165Smrgdo
144764ce7165Smrg  for ac_arg
144864ce7165Smrg  do
144964ce7165Smrg    case $ac_arg in
145064ce7165Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
145164ce7165Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
145264ce7165Smrg    | -silent | --silent | --silen | --sile | --sil)
145364ce7165Smrg      continue ;;
145464ce7165Smrg    *\'*)
145564ce7165Smrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
145664ce7165Smrg    esac
145764ce7165Smrg    case $ac_pass in
145864ce7165Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
145964ce7165Smrg    2)
146064ce7165Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
146164ce7165Smrg      if test $ac_must_keep_next = true; then
146264ce7165Smrg	ac_must_keep_next=false # Got value, back to normal.
146364ce7165Smrg      else
146464ce7165Smrg	case $ac_arg in
146564ce7165Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
146664ce7165Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
146764ce7165Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
146864ce7165Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
146964ce7165Smrg	    case "$ac_configure_args0 " in
147064ce7165Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
147164ce7165Smrg	    esac
147264ce7165Smrg	    ;;
147364ce7165Smrg	  -* ) ac_must_keep_next=true ;;
147464ce7165Smrg	esac
147564ce7165Smrg      fi
147664ce7165Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
147764ce7165Smrg      ;;
147864ce7165Smrg    esac
147964ce7165Smrg  done
148064ce7165Smrgdone
148164ce7165Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
148264ce7165Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
148364ce7165Smrg
148464ce7165Smrg# When interrupted or exit'd, cleanup temporary files, and complete
148564ce7165Smrg# config.log.  We remove comments because anyway the quotes in there
148664ce7165Smrg# would cause problems or look ugly.
148764ce7165Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
148864ce7165Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
148964ce7165Smrgtrap 'exit_status=$?
149064ce7165Smrg  # Save into config.log some information that might help in debugging.
149164ce7165Smrg  {
149264ce7165Smrg    echo
149364ce7165Smrg
149464ce7165Smrg    cat <<\_ASBOX
149564ce7165Smrg## ---------------- ##
149664ce7165Smrg## Cache variables. ##
149764ce7165Smrg## ---------------- ##
149864ce7165Smrg_ASBOX
149964ce7165Smrg    echo
150064ce7165Smrg    # The following way of writing the cache mishandles newlines in values,
150164ce7165Smrg(
150264ce7165Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
150364ce7165Smrg    eval ac_val=\$$ac_var
150464ce7165Smrg    case $ac_val in #(
150564ce7165Smrg    *${as_nl}*)
150664ce7165Smrg      case $ac_var in #(
150764ce7165Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
150864ce7165Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
150964ce7165Smrg      esac
151064ce7165Smrg      case $ac_var in #(
151164ce7165Smrg      _ | IFS | as_nl) ;; #(
151264ce7165Smrg      *) $as_unset $ac_var ;;
151364ce7165Smrg      esac ;;
151464ce7165Smrg    esac
151564ce7165Smrg  done
151664ce7165Smrg  (set) 2>&1 |
151764ce7165Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
151864ce7165Smrg    *${as_nl}ac_space=\ *)
151964ce7165Smrg      sed -n \
152064ce7165Smrg	"s/'\''/'\''\\\\'\'''\''/g;
152164ce7165Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
152264ce7165Smrg      ;; #(
152364ce7165Smrg    *)
152464ce7165Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
152564ce7165Smrg      ;;
152664ce7165Smrg    esac |
152764ce7165Smrg    sort
152864ce7165Smrg)
152964ce7165Smrg    echo
153064ce7165Smrg
153164ce7165Smrg    cat <<\_ASBOX
153264ce7165Smrg## ----------------- ##
153364ce7165Smrg## Output variables. ##
153464ce7165Smrg## ----------------- ##
153564ce7165Smrg_ASBOX
153664ce7165Smrg    echo
153764ce7165Smrg    for ac_var in $ac_subst_vars
153864ce7165Smrg    do
153964ce7165Smrg      eval ac_val=\$$ac_var
154064ce7165Smrg      case $ac_val in
154164ce7165Smrg      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
154264ce7165Smrg      esac
154364ce7165Smrg      echo "$ac_var='\''$ac_val'\''"
154464ce7165Smrg    done | sort
154564ce7165Smrg    echo
154664ce7165Smrg
154764ce7165Smrg    if test -n "$ac_subst_files"; then
154864ce7165Smrg      cat <<\_ASBOX
154964ce7165Smrg## ------------------- ##
155064ce7165Smrg## File substitutions. ##
155164ce7165Smrg## ------------------- ##
155264ce7165Smrg_ASBOX
155364ce7165Smrg      echo
155464ce7165Smrg      for ac_var in $ac_subst_files
155564ce7165Smrg      do
155664ce7165Smrg	eval ac_val=\$$ac_var
155764ce7165Smrg	case $ac_val in
155864ce7165Smrg	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
155964ce7165Smrg	esac
156064ce7165Smrg	echo "$ac_var='\''$ac_val'\''"
156164ce7165Smrg      done | sort
156264ce7165Smrg      echo
156364ce7165Smrg    fi
156464ce7165Smrg
156564ce7165Smrg    if test -s confdefs.h; then
156664ce7165Smrg      cat <<\_ASBOX
156764ce7165Smrg## ----------- ##
156864ce7165Smrg## confdefs.h. ##
156964ce7165Smrg## ----------- ##
157064ce7165Smrg_ASBOX
157164ce7165Smrg      echo
157264ce7165Smrg      cat confdefs.h
157364ce7165Smrg      echo
157464ce7165Smrg    fi
157564ce7165Smrg    test "$ac_signal" != 0 &&
157664ce7165Smrg      echo "$as_me: caught signal $ac_signal"
157764ce7165Smrg    echo "$as_me: exit $exit_status"
157864ce7165Smrg  } >&5
157964ce7165Smrg  rm -f core *.core core.conftest.* &&
158064ce7165Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
158164ce7165Smrg    exit $exit_status
158264ce7165Smrg' 0
158364ce7165Smrgfor ac_signal in 1 2 13 15; do
158464ce7165Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
158564ce7165Smrgdone
158664ce7165Smrgac_signal=0
158764ce7165Smrg
158864ce7165Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
158964ce7165Smrgrm -f -r conftest* confdefs.h
159064ce7165Smrg
159164ce7165Smrg# Predefined preprocessor variables.
159264ce7165Smrg
159364ce7165Smrgcat >>confdefs.h <<_ACEOF
159464ce7165Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
159564ce7165Smrg_ACEOF
159664ce7165Smrg
159764ce7165Smrg
159864ce7165Smrgcat >>confdefs.h <<_ACEOF
159964ce7165Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
160064ce7165Smrg_ACEOF
160164ce7165Smrg
160264ce7165Smrg
160364ce7165Smrgcat >>confdefs.h <<_ACEOF
160464ce7165Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
160564ce7165Smrg_ACEOF
160664ce7165Smrg
160764ce7165Smrg
160864ce7165Smrgcat >>confdefs.h <<_ACEOF
160964ce7165Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
161064ce7165Smrg_ACEOF
161164ce7165Smrg
161264ce7165Smrg
161364ce7165Smrgcat >>confdefs.h <<_ACEOF
161464ce7165Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
161564ce7165Smrg_ACEOF
161664ce7165Smrg
161764ce7165Smrg
161864ce7165Smrg# Let the site file select an alternate cache file if it wants to.
161964ce7165Smrg# Prefer explicitly selected file to automatically selected ones.
162064ce7165Smrgif test -n "$CONFIG_SITE"; then
162164ce7165Smrg  set x "$CONFIG_SITE"
162264ce7165Smrgelif test "x$prefix" != xNONE; then
162364ce7165Smrg  set x "$prefix/share/config.site" "$prefix/etc/config.site"
162464ce7165Smrgelse
162564ce7165Smrg  set x "$ac_default_prefix/share/config.site" \
162664ce7165Smrg	"$ac_default_prefix/etc/config.site"
162764ce7165Smrgfi
162864ce7165Smrgshift
162964ce7165Smrgfor ac_site_file
163064ce7165Smrgdo
163164ce7165Smrg  if test -r "$ac_site_file"; then
163264ce7165Smrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
163364ce7165Smrgecho "$as_me: loading site script $ac_site_file" >&6;}
163464ce7165Smrg    sed 's/^/| /' "$ac_site_file" >&5
163564ce7165Smrg    . "$ac_site_file"
163664ce7165Smrg  fi
163764ce7165Smrgdone
163864ce7165Smrg
163964ce7165Smrgif test -r "$cache_file"; then
164064ce7165Smrg  # Some versions of bash will fail to source /dev/null (special
164164ce7165Smrg  # files actually), so we avoid doing that.
164264ce7165Smrg  if test -f "$cache_file"; then
164364ce7165Smrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
164464ce7165Smrgecho "$as_me: loading cache $cache_file" >&6;}
164564ce7165Smrg    case $cache_file in
164664ce7165Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
164764ce7165Smrg      *)                      . "./$cache_file";;
164864ce7165Smrg    esac
164964ce7165Smrg  fi
165064ce7165Smrgelse
165164ce7165Smrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
165264ce7165Smrgecho "$as_me: creating cache $cache_file" >&6;}
165364ce7165Smrg  >$cache_file
165464ce7165Smrgfi
165564ce7165Smrg
165664ce7165Smrg# Check that the precious variables saved in the cache have kept the same
165764ce7165Smrg# value.
165864ce7165Smrgac_cache_corrupted=false
165964ce7165Smrgfor ac_var in $ac_precious_vars; do
166064ce7165Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
166164ce7165Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
166264ce7165Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
166364ce7165Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
166464ce7165Smrg  case $ac_old_set,$ac_new_set in
166564ce7165Smrg    set,)
166664ce7165Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
166764ce7165Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
166864ce7165Smrg      ac_cache_corrupted=: ;;
166964ce7165Smrg    ,set)
167064ce7165Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
167164ce7165Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
167264ce7165Smrg      ac_cache_corrupted=: ;;
167364ce7165Smrg    ,);;
167464ce7165Smrg    *)
167564ce7165Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
167664ce7165Smrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
167764ce7165Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
167864ce7165Smrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
167964ce7165Smrgecho "$as_me:   former value:  $ac_old_val" >&2;}
168064ce7165Smrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
168164ce7165Smrgecho "$as_me:   current value: $ac_new_val" >&2;}
168264ce7165Smrg	ac_cache_corrupted=:
168364ce7165Smrg      fi;;
168464ce7165Smrg  esac
168564ce7165Smrg  # Pass precious variables to config.status.
168664ce7165Smrg  if test "$ac_new_set" = set; then
168764ce7165Smrg    case $ac_new_val in
168864ce7165Smrg    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
168964ce7165Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
169064ce7165Smrg    esac
169164ce7165Smrg    case " $ac_configure_args " in
169264ce7165Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
169364ce7165Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
169464ce7165Smrg    esac
169564ce7165Smrg  fi
169664ce7165Smrgdone
169764ce7165Smrgif $ac_cache_corrupted; then
169864ce7165Smrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
169964ce7165Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
170064ce7165Smrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
170164ce7165Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
170264ce7165Smrg   { (exit 1); exit 1; }; }
170364ce7165Smrgfi
170464ce7165Smrg
170564ce7165Smrg
170664ce7165Smrg
170764ce7165Smrg
170864ce7165Smrg
170964ce7165Smrg
171064ce7165Smrg
171164ce7165Smrg
171264ce7165Smrg
171364ce7165Smrg
171464ce7165Smrg
171564ce7165Smrg
171664ce7165Smrg
171764ce7165Smrg
171864ce7165Smrg
171964ce7165Smrg
172064ce7165Smrg
172164ce7165Smrg
172264ce7165Smrg
172364ce7165Smrg
172464ce7165Smrg
172564ce7165Smrg
172664ce7165Smrg
172764ce7165Smrg
172864ce7165Smrg
172964ce7165Smrgac_ext=c
173064ce7165Smrgac_cpp='$CPP $CPPFLAGS'
173164ce7165Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
173264ce7165Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
173364ce7165Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
173464ce7165Smrg
173564ce7165Smrg
173664ce7165Smrgam__api_version='1.10'
173764ce7165Smrg
173864ce7165Smrgac_aux_dir=
173964ce7165Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
174064ce7165Smrg  if test -f "$ac_dir/install-sh"; then
174164ce7165Smrg    ac_aux_dir=$ac_dir
174264ce7165Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
174364ce7165Smrg    break
174464ce7165Smrg  elif test -f "$ac_dir/install.sh"; then
174564ce7165Smrg    ac_aux_dir=$ac_dir
174664ce7165Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
174764ce7165Smrg    break
174864ce7165Smrg  elif test -f "$ac_dir/shtool"; then
174964ce7165Smrg    ac_aux_dir=$ac_dir
175064ce7165Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
175164ce7165Smrg    break
175264ce7165Smrg  fi
175364ce7165Smrgdone
175464ce7165Smrgif test -z "$ac_aux_dir"; then
175564ce7165Smrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
175664ce7165Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
175764ce7165Smrg   { (exit 1); exit 1; }; }
175864ce7165Smrgfi
175964ce7165Smrg
176064ce7165Smrg# These three variables are undocumented and unsupported,
176164ce7165Smrg# and are intended to be withdrawn in a future Autoconf release.
176264ce7165Smrg# They can cause serious problems if a builder's source tree is in a directory
176364ce7165Smrg# whose full name contains unusual characters.
176464ce7165Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
176564ce7165Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
176664ce7165Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
176764ce7165Smrg
176864ce7165Smrg
176964ce7165Smrg# Find a good install program.  We prefer a C program (faster),
177064ce7165Smrg# so one script is as good as another.  But avoid the broken or
177164ce7165Smrg# incompatible versions:
177264ce7165Smrg# SysV /etc/install, /usr/sbin/install
177364ce7165Smrg# SunOS /usr/etc/install
177464ce7165Smrg# IRIX /sbin/install
177564ce7165Smrg# AIX /bin/install
177664ce7165Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
177764ce7165Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
177864ce7165Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
177964ce7165Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
178064ce7165Smrg# OS/2's system install, which has a completely different semantic
178164ce7165Smrg# ./install, which can be erroneously created by make from ./install.sh.
178264ce7165Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
178364ce7165Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
178464ce7165Smrgif test -z "$INSTALL"; then
178564ce7165Smrgif test "${ac_cv_path_install+set}" = set; then
178664ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
178764ce7165Smrgelse
178864ce7165Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
178964ce7165Smrgfor as_dir in $PATH
179064ce7165Smrgdo
179164ce7165Smrg  IFS=$as_save_IFS
179264ce7165Smrg  test -z "$as_dir" && as_dir=.
179364ce7165Smrg  # Account for people who put trailing slashes in PATH elements.
179464ce7165Smrgcase $as_dir/ in
179564ce7165Smrg  ./ | .// | /cC/* | \
179664ce7165Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
179764ce7165Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
179864ce7165Smrg  /usr/ucb/* ) ;;
179964ce7165Smrg  *)
180064ce7165Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
180164ce7165Smrg    # Don't use installbsd from OSF since it installs stuff as root
180264ce7165Smrg    # by default.
180364ce7165Smrg    for ac_prog in ginstall scoinst install; do
180464ce7165Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
180564ce7165Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
180664ce7165Smrg	  if test $ac_prog = install &&
180764ce7165Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
180864ce7165Smrg	    # AIX install.  It has an incompatible calling convention.
180964ce7165Smrg	    :
181064ce7165Smrg	  elif test $ac_prog = install &&
181164ce7165Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
181264ce7165Smrg	    # program-specific install script used by HP pwplus--don't use.
181364ce7165Smrg	    :
181464ce7165Smrg	  else
181564ce7165Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
181664ce7165Smrg	    break 3
181764ce7165Smrg	  fi
181864ce7165Smrg	fi
181964ce7165Smrg      done
182064ce7165Smrg    done
182164ce7165Smrg    ;;
182264ce7165Smrgesac
182364ce7165Smrgdone
182464ce7165SmrgIFS=$as_save_IFS
182564ce7165Smrg
182664ce7165Smrg
182764ce7165Smrgfi
182864ce7165Smrg  if test "${ac_cv_path_install+set}" = set; then
182964ce7165Smrg    INSTALL=$ac_cv_path_install
183064ce7165Smrg  else
183164ce7165Smrg    # As a last resort, use the slow shell script.  Don't cache a
183264ce7165Smrg    # value for INSTALL within a source directory, because that will
183364ce7165Smrg    # break other packages using the cache if that directory is
183464ce7165Smrg    # removed, or if the value is a relative name.
183564ce7165Smrg    INSTALL=$ac_install_sh
183664ce7165Smrg  fi
183764ce7165Smrgfi
183864ce7165Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
183964ce7165Smrgecho "${ECHO_T}$INSTALL" >&6; }
184064ce7165Smrg
184164ce7165Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
184264ce7165Smrg# It thinks the first close brace ends the variable substitution.
184364ce7165Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
184464ce7165Smrg
184564ce7165Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
184664ce7165Smrg
184764ce7165Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
184864ce7165Smrg
184964ce7165Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
185064ce7165Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
185164ce7165Smrg# Just in case
185264ce7165Smrgsleep 1
185364ce7165Smrgecho timestamp > conftest.file
185464ce7165Smrg# Do `set' in a subshell so we don't clobber the current shell's
185564ce7165Smrg# arguments.  Must try -L first in case configure is actually a
185664ce7165Smrg# symlink; some systems play weird games with the mod time of symlinks
185764ce7165Smrg# (eg FreeBSD returns the mod time of the symlink's containing
185864ce7165Smrg# directory).
185964ce7165Smrgif (
186064ce7165Smrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
186164ce7165Smrg   if test "$*" = "X"; then
186264ce7165Smrg      # -L didn't work.
186364ce7165Smrg      set X `ls -t $srcdir/configure conftest.file`
186464ce7165Smrg   fi
186564ce7165Smrg   rm -f conftest.file
186664ce7165Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
186764ce7165Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
186864ce7165Smrg
186964ce7165Smrg      # If neither matched, then we have a broken ls.  This can happen
187064ce7165Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
187164ce7165Smrg      # broken ls alias from the environment.  This has actually
187264ce7165Smrg      # happened.  Such a system could not be considered "sane".
187364ce7165Smrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
187464ce7165Smrgalias in your environment" >&5
187564ce7165Smrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
187664ce7165Smrgalias in your environment" >&2;}
187764ce7165Smrg   { (exit 1); exit 1; }; }
187864ce7165Smrg   fi
187964ce7165Smrg
188064ce7165Smrg   test "$2" = conftest.file
188164ce7165Smrg   )
188264ce7165Smrgthen
188364ce7165Smrg   # Ok.
188464ce7165Smrg   :
188564ce7165Smrgelse
188664ce7165Smrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
188764ce7165SmrgCheck your system clock" >&5
188864ce7165Smrgecho "$as_me: error: newly created file is older than distributed files!
188964ce7165SmrgCheck your system clock" >&2;}
189064ce7165Smrg   { (exit 1); exit 1; }; }
189164ce7165Smrgfi
189264ce7165Smrg{ echo "$as_me:$LINENO: result: yes" >&5
189364ce7165Smrgecho "${ECHO_T}yes" >&6; }
189464ce7165Smrgtest "$program_prefix" != NONE &&
189564ce7165Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
189664ce7165Smrg# Use a double $ so make ignores it.
189764ce7165Smrgtest "$program_suffix" != NONE &&
189864ce7165Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
189964ce7165Smrg# Double any \ or $.  echo might interpret backslashes.
190064ce7165Smrg# By default was `s,x,x', remove it if useless.
190164ce7165Smrgcat <<\_ACEOF >conftest.sed
190264ce7165Smrgs/[\\$]/&&/g;s/;s,x,x,$//
190364ce7165Smrg_ACEOF
190464ce7165Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
190564ce7165Smrgrm -f conftest.sed
190664ce7165Smrg
190764ce7165Smrg# expand $ac_aux_dir to an absolute path
190864ce7165Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
190964ce7165Smrg
191064ce7165Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
191164ce7165Smrg# Use eval to expand $SHELL
191264ce7165Smrgif eval "$MISSING --run true"; then
191364ce7165Smrg  am_missing_run="$MISSING --run "
191464ce7165Smrgelse
191564ce7165Smrg  am_missing_run=
191664ce7165Smrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
191764ce7165Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
191864ce7165Smrgfi
191964ce7165Smrg
192064ce7165Smrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
192164ce7165Smrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
192264ce7165Smrgif test -z "$MKDIR_P"; then
192364ce7165Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
192464ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
192564ce7165Smrgelse
192664ce7165Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
192764ce7165Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
192864ce7165Smrgdo
192964ce7165Smrg  IFS=$as_save_IFS
193064ce7165Smrg  test -z "$as_dir" && as_dir=.
193164ce7165Smrg  for ac_prog in mkdir gmkdir; do
193264ce7165Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
193364ce7165Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
193464ce7165Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
193564ce7165Smrg	     'mkdir (GNU coreutils) '* | \
193664ce7165Smrg	     'mkdir (coreutils) '* | \
193764ce7165Smrg	     'mkdir (fileutils) '4.1*)
193864ce7165Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
193964ce7165Smrg	       break 3;;
194064ce7165Smrg	   esac
194164ce7165Smrg	 done
194264ce7165Smrg       done
194364ce7165Smrgdone
194464ce7165SmrgIFS=$as_save_IFS
194564ce7165Smrg
194664ce7165Smrgfi
194764ce7165Smrg
194864ce7165Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
194964ce7165Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
195064ce7165Smrg  else
195164ce7165Smrg    # As a last resort, use the slow shell script.  Don't cache a
195264ce7165Smrg    # value for MKDIR_P within a source directory, because that will
195364ce7165Smrg    # break other packages using the cache if that directory is
195464ce7165Smrg    # removed, or if the value is a relative name.
195564ce7165Smrg    test -d ./--version && rmdir ./--version
195664ce7165Smrg    MKDIR_P="$ac_install_sh -d"
195764ce7165Smrg  fi
195864ce7165Smrgfi
195964ce7165Smrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
196064ce7165Smrgecho "${ECHO_T}$MKDIR_P" >&6; }
196164ce7165Smrg
196264ce7165Smrgmkdir_p="$MKDIR_P"
196364ce7165Smrgcase $mkdir_p in
196464ce7165Smrg  [\\/$]* | ?:[\\/]*) ;;
196564ce7165Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
196664ce7165Smrgesac
196764ce7165Smrg
196864ce7165Smrgfor ac_prog in gawk mawk nawk awk
196964ce7165Smrgdo
197064ce7165Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
197164ce7165Smrgset dummy $ac_prog; ac_word=$2
197264ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
197364ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
197464ce7165Smrgif test "${ac_cv_prog_AWK+set}" = set; then
197564ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
197664ce7165Smrgelse
197764ce7165Smrg  if test -n "$AWK"; then
197864ce7165Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
197964ce7165Smrgelse
198064ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198164ce7165Smrgfor as_dir in $PATH
198264ce7165Smrgdo
198364ce7165Smrg  IFS=$as_save_IFS
198464ce7165Smrg  test -z "$as_dir" && as_dir=.
198564ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
198664ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
198764ce7165Smrg    ac_cv_prog_AWK="$ac_prog"
198864ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
198964ce7165Smrg    break 2
199064ce7165Smrg  fi
199164ce7165Smrgdone
199264ce7165Smrgdone
199364ce7165SmrgIFS=$as_save_IFS
199464ce7165Smrg
199564ce7165Smrgfi
199664ce7165Smrgfi
199764ce7165SmrgAWK=$ac_cv_prog_AWK
199864ce7165Smrgif test -n "$AWK"; then
199964ce7165Smrg  { echo "$as_me:$LINENO: result: $AWK" >&5
200064ce7165Smrgecho "${ECHO_T}$AWK" >&6; }
200164ce7165Smrgelse
200264ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
200364ce7165Smrgecho "${ECHO_T}no" >&6; }
200464ce7165Smrgfi
200564ce7165Smrg
200664ce7165Smrg
200764ce7165Smrg  test -n "$AWK" && break
200864ce7165Smrgdone
200964ce7165Smrg
201064ce7165Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
201164ce7165Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
201264ce7165Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
201364ce7165Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
201464ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
201564ce7165Smrgelse
201664ce7165Smrg  cat >conftest.make <<\_ACEOF
201764ce7165SmrgSHELL = /bin/sh
201864ce7165Smrgall:
201964ce7165Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
202064ce7165Smrg_ACEOF
202164ce7165Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
202264ce7165Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
202364ce7165Smrg  *@@@%%%=?*=@@@%%%*)
202464ce7165Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
202564ce7165Smrg  *)
202664ce7165Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
202764ce7165Smrgesac
202864ce7165Smrgrm -f conftest.make
202964ce7165Smrgfi
203064ce7165Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
203164ce7165Smrg  { echo "$as_me:$LINENO: result: yes" >&5
203264ce7165Smrgecho "${ECHO_T}yes" >&6; }
203364ce7165Smrg  SET_MAKE=
203464ce7165Smrgelse
203564ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
203664ce7165Smrgecho "${ECHO_T}no" >&6; }
203764ce7165Smrg  SET_MAKE="MAKE=${MAKE-make}"
203864ce7165Smrgfi
203964ce7165Smrg
204064ce7165Smrgrm -rf .tst 2>/dev/null
204164ce7165Smrgmkdir .tst 2>/dev/null
204264ce7165Smrgif test -d .tst; then
204364ce7165Smrg  am__leading_dot=.
204464ce7165Smrgelse
204564ce7165Smrg  am__leading_dot=_
204664ce7165Smrgfi
204764ce7165Smrgrmdir .tst 2>/dev/null
204864ce7165Smrg
204964ce7165Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
205064ce7165Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
205164ce7165Smrg  # is not polluted with repeated "-I."
205264ce7165Smrg  am__isrc=' -I$(srcdir)'
205364ce7165Smrg  # test to see if srcdir already configured
205464ce7165Smrg  if test -f $srcdir/config.status; then
205564ce7165Smrg    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
205664ce7165Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
205764ce7165Smrg   { (exit 1); exit 1; }; }
205864ce7165Smrg  fi
205964ce7165Smrgfi
206064ce7165Smrg
206164ce7165Smrg# test whether we have cygpath
206264ce7165Smrgif test -z "$CYGPATH_W"; then
206364ce7165Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
206464ce7165Smrg    CYGPATH_W='cygpath -w'
206564ce7165Smrg  else
206664ce7165Smrg    CYGPATH_W=echo
206764ce7165Smrg  fi
206864ce7165Smrgfi
206964ce7165Smrg
207064ce7165Smrg
207164ce7165Smrg# Define the identity of the package.
207264ce7165Smrg PACKAGE='xhost'
207364ce7165Smrg VERSION='1.0.2'
207464ce7165Smrg
207564ce7165Smrg
207664ce7165Smrgcat >>confdefs.h <<_ACEOF
207764ce7165Smrg#define PACKAGE "$PACKAGE"
207864ce7165Smrg_ACEOF
207964ce7165Smrg
208064ce7165Smrg
208164ce7165Smrgcat >>confdefs.h <<_ACEOF
208264ce7165Smrg#define VERSION "$VERSION"
208364ce7165Smrg_ACEOF
208464ce7165Smrg
208564ce7165Smrg# Some tools Automake needs.
208664ce7165Smrg
208764ce7165SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
208864ce7165Smrg
208964ce7165Smrg
209064ce7165SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
209164ce7165Smrg
209264ce7165Smrg
209364ce7165SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
209464ce7165Smrg
209564ce7165Smrg
209664ce7165SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
209764ce7165Smrg
209864ce7165Smrg
209964ce7165SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
210064ce7165Smrg
210164ce7165Smrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
210264ce7165Smrg
210364ce7165Smrg# Installed binaries are usually stripped using `strip' when the user
210464ce7165Smrg# run `make install-strip'.  However `strip' might not be the right
210564ce7165Smrg# tool to use in cross-compilation environments, therefore Automake
210664ce7165Smrg# will honor the `STRIP' environment variable to overrule this program.
210764ce7165Smrgif test "$cross_compiling" != no; then
210864ce7165Smrg  if test -n "$ac_tool_prefix"; then
210964ce7165Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
211064ce7165Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
211164ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
211264ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
211364ce7165Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
211464ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
211564ce7165Smrgelse
211664ce7165Smrg  if test -n "$STRIP"; then
211764ce7165Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
211864ce7165Smrgelse
211964ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212064ce7165Smrgfor as_dir in $PATH
212164ce7165Smrgdo
212264ce7165Smrg  IFS=$as_save_IFS
212364ce7165Smrg  test -z "$as_dir" && as_dir=.
212464ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
212564ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
212664ce7165Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
212764ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
212864ce7165Smrg    break 2
212964ce7165Smrg  fi
213064ce7165Smrgdone
213164ce7165Smrgdone
213264ce7165SmrgIFS=$as_save_IFS
213364ce7165Smrg
213464ce7165Smrgfi
213564ce7165Smrgfi
213664ce7165SmrgSTRIP=$ac_cv_prog_STRIP
213764ce7165Smrgif test -n "$STRIP"; then
213864ce7165Smrg  { echo "$as_me:$LINENO: result: $STRIP" >&5
213964ce7165Smrgecho "${ECHO_T}$STRIP" >&6; }
214064ce7165Smrgelse
214164ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
214264ce7165Smrgecho "${ECHO_T}no" >&6; }
214364ce7165Smrgfi
214464ce7165Smrg
214564ce7165Smrg
214664ce7165Smrgfi
214764ce7165Smrgif test -z "$ac_cv_prog_STRIP"; then
214864ce7165Smrg  ac_ct_STRIP=$STRIP
214964ce7165Smrg  # Extract the first word of "strip", so it can be a program name with args.
215064ce7165Smrgset dummy strip; ac_word=$2
215164ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
215264ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
215364ce7165Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
215464ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
215564ce7165Smrgelse
215664ce7165Smrg  if test -n "$ac_ct_STRIP"; then
215764ce7165Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
215864ce7165Smrgelse
215964ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216064ce7165Smrgfor as_dir in $PATH
216164ce7165Smrgdo
216264ce7165Smrg  IFS=$as_save_IFS
216364ce7165Smrg  test -z "$as_dir" && as_dir=.
216464ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
216564ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
216664ce7165Smrg    ac_cv_prog_ac_ct_STRIP="strip"
216764ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
216864ce7165Smrg    break 2
216964ce7165Smrg  fi
217064ce7165Smrgdone
217164ce7165Smrgdone
217264ce7165SmrgIFS=$as_save_IFS
217364ce7165Smrg
217464ce7165Smrgfi
217564ce7165Smrgfi
217664ce7165Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
217764ce7165Smrgif test -n "$ac_ct_STRIP"; then
217864ce7165Smrg  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
217964ce7165Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; }
218064ce7165Smrgelse
218164ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
218264ce7165Smrgecho "${ECHO_T}no" >&6; }
218364ce7165Smrgfi
218464ce7165Smrg
218564ce7165Smrg  if test "x$ac_ct_STRIP" = x; then
218664ce7165Smrg    STRIP=":"
218764ce7165Smrg  else
218864ce7165Smrg    case $cross_compiling:$ac_tool_warned in
218964ce7165Smrgyes:)
219064ce7165Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
219164ce7165Smrgwhose name does not start with the host triplet.  If you think this
219264ce7165Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
219364ce7165Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
219464ce7165Smrgwhose name does not start with the host triplet.  If you think this
219564ce7165Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
219664ce7165Smrgac_tool_warned=yes ;;
219764ce7165Smrgesac
219864ce7165Smrg    STRIP=$ac_ct_STRIP
219964ce7165Smrg  fi
220064ce7165Smrgelse
220164ce7165Smrg  STRIP="$ac_cv_prog_STRIP"
220264ce7165Smrgfi
220364ce7165Smrg
220464ce7165Smrgfi
220564ce7165SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
220664ce7165Smrg
220764ce7165Smrg# We need awk for the "check" target.  The system "awk" is bad on
220864ce7165Smrg# some platforms.
220964ce7165Smrg# Always define AMTAR for backward compatibility.
221064ce7165Smrg
221164ce7165SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
221264ce7165Smrg
221364ce7165Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
221464ce7165Smrg
221564ce7165Smrg
221664ce7165Smrg
221764ce7165Smrg
221864ce7165Smrg
221964ce7165Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
222064ce7165Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
222164ce7165Smrg    # Check whether --enable-maintainer-mode was given.
222264ce7165Smrgif test "${enable_maintainer_mode+set}" = set; then
222364ce7165Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
222464ce7165Smrgelse
222564ce7165Smrg  USE_MAINTAINER_MODE=no
222664ce7165Smrgfi
222764ce7165Smrg
222864ce7165Smrg  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
222964ce7165Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
223064ce7165Smrg   if test $USE_MAINTAINER_MODE = yes; then
223164ce7165Smrg  MAINTAINER_MODE_TRUE=
223264ce7165Smrg  MAINTAINER_MODE_FALSE='#'
223364ce7165Smrgelse
223464ce7165Smrg  MAINTAINER_MODE_TRUE='#'
223564ce7165Smrg  MAINTAINER_MODE_FALSE=
223664ce7165Smrgfi
223764ce7165Smrg
223864ce7165Smrg  MAINT=$MAINTAINER_MODE_TRUE
223964ce7165Smrg
224064ce7165Smrg
224164ce7165Smrg
224264ce7165Smrgac_config_headers="$ac_config_headers config.h"
224364ce7165Smrg
224464ce7165Smrg
224564ce7165Smrgac_ext=c
224664ce7165Smrgac_cpp='$CPP $CPPFLAGS'
224764ce7165Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
224864ce7165Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
224964ce7165Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
225064ce7165Smrgif test -n "$ac_tool_prefix"; then
225164ce7165Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
225264ce7165Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
225364ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
225464ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
225564ce7165Smrgif test "${ac_cv_prog_CC+set}" = set; then
225664ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
225764ce7165Smrgelse
225864ce7165Smrg  if test -n "$CC"; then
225964ce7165Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
226064ce7165Smrgelse
226164ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
226264ce7165Smrgfor as_dir in $PATH
226364ce7165Smrgdo
226464ce7165Smrg  IFS=$as_save_IFS
226564ce7165Smrg  test -z "$as_dir" && as_dir=.
226664ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
226764ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
226864ce7165Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
226964ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
227064ce7165Smrg    break 2
227164ce7165Smrg  fi
227264ce7165Smrgdone
227364ce7165Smrgdone
227464ce7165SmrgIFS=$as_save_IFS
227564ce7165Smrg
227664ce7165Smrgfi
227764ce7165Smrgfi
227864ce7165SmrgCC=$ac_cv_prog_CC
227964ce7165Smrgif test -n "$CC"; then
228064ce7165Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
228164ce7165Smrgecho "${ECHO_T}$CC" >&6; }
228264ce7165Smrgelse
228364ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
228464ce7165Smrgecho "${ECHO_T}no" >&6; }
228564ce7165Smrgfi
228664ce7165Smrg
228764ce7165Smrg
228864ce7165Smrgfi
228964ce7165Smrgif test -z "$ac_cv_prog_CC"; then
229064ce7165Smrg  ac_ct_CC=$CC
229164ce7165Smrg  # Extract the first word of "gcc", so it can be a program name with args.
229264ce7165Smrgset dummy gcc; ac_word=$2
229364ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
229464ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
229564ce7165Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
229664ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
229764ce7165Smrgelse
229864ce7165Smrg  if test -n "$ac_ct_CC"; then
229964ce7165Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
230064ce7165Smrgelse
230164ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
230264ce7165Smrgfor as_dir in $PATH
230364ce7165Smrgdo
230464ce7165Smrg  IFS=$as_save_IFS
230564ce7165Smrg  test -z "$as_dir" && as_dir=.
230664ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
230764ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
230864ce7165Smrg    ac_cv_prog_ac_ct_CC="gcc"
230964ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
231064ce7165Smrg    break 2
231164ce7165Smrg  fi
231264ce7165Smrgdone
231364ce7165Smrgdone
231464ce7165SmrgIFS=$as_save_IFS
231564ce7165Smrg
231664ce7165Smrgfi
231764ce7165Smrgfi
231864ce7165Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
231964ce7165Smrgif test -n "$ac_ct_CC"; then
232064ce7165Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
232164ce7165Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
232264ce7165Smrgelse
232364ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
232464ce7165Smrgecho "${ECHO_T}no" >&6; }
232564ce7165Smrgfi
232664ce7165Smrg
232764ce7165Smrg  if test "x$ac_ct_CC" = x; then
232864ce7165Smrg    CC=""
232964ce7165Smrg  else
233064ce7165Smrg    case $cross_compiling:$ac_tool_warned in
233164ce7165Smrgyes:)
233264ce7165Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
233364ce7165Smrgwhose name does not start with the host triplet.  If you think this
233464ce7165Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
233564ce7165Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
233664ce7165Smrgwhose name does not start with the host triplet.  If you think this
233764ce7165Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
233864ce7165Smrgac_tool_warned=yes ;;
233964ce7165Smrgesac
234064ce7165Smrg    CC=$ac_ct_CC
234164ce7165Smrg  fi
234264ce7165Smrgelse
234364ce7165Smrg  CC="$ac_cv_prog_CC"
234464ce7165Smrgfi
234564ce7165Smrg
234664ce7165Smrgif test -z "$CC"; then
234764ce7165Smrg          if test -n "$ac_tool_prefix"; then
234864ce7165Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
234964ce7165Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
235064ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
235164ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
235264ce7165Smrgif test "${ac_cv_prog_CC+set}" = set; then
235364ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
235464ce7165Smrgelse
235564ce7165Smrg  if test -n "$CC"; then
235664ce7165Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
235764ce7165Smrgelse
235864ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
235964ce7165Smrgfor as_dir in $PATH
236064ce7165Smrgdo
236164ce7165Smrg  IFS=$as_save_IFS
236264ce7165Smrg  test -z "$as_dir" && as_dir=.
236364ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
236464ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
236564ce7165Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
236664ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
236764ce7165Smrg    break 2
236864ce7165Smrg  fi
236964ce7165Smrgdone
237064ce7165Smrgdone
237164ce7165SmrgIFS=$as_save_IFS
237264ce7165Smrg
237364ce7165Smrgfi
237464ce7165Smrgfi
237564ce7165SmrgCC=$ac_cv_prog_CC
237664ce7165Smrgif test -n "$CC"; then
237764ce7165Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
237864ce7165Smrgecho "${ECHO_T}$CC" >&6; }
237964ce7165Smrgelse
238064ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
238164ce7165Smrgecho "${ECHO_T}no" >&6; }
238264ce7165Smrgfi
238364ce7165Smrg
238464ce7165Smrg
238564ce7165Smrg  fi
238664ce7165Smrgfi
238764ce7165Smrgif test -z "$CC"; then
238864ce7165Smrg  # Extract the first word of "cc", so it can be a program name with args.
238964ce7165Smrgset dummy cc; ac_word=$2
239064ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
239164ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
239264ce7165Smrgif test "${ac_cv_prog_CC+set}" = set; then
239364ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
239464ce7165Smrgelse
239564ce7165Smrg  if test -n "$CC"; then
239664ce7165Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
239764ce7165Smrgelse
239864ce7165Smrg  ac_prog_rejected=no
239964ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
240064ce7165Smrgfor as_dir in $PATH
240164ce7165Smrgdo
240264ce7165Smrg  IFS=$as_save_IFS
240364ce7165Smrg  test -z "$as_dir" && as_dir=.
240464ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
240564ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
240664ce7165Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
240764ce7165Smrg       ac_prog_rejected=yes
240864ce7165Smrg       continue
240964ce7165Smrg     fi
241064ce7165Smrg    ac_cv_prog_CC="cc"
241164ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
241264ce7165Smrg    break 2
241364ce7165Smrg  fi
241464ce7165Smrgdone
241564ce7165Smrgdone
241664ce7165SmrgIFS=$as_save_IFS
241764ce7165Smrg
241864ce7165Smrgif test $ac_prog_rejected = yes; then
241964ce7165Smrg  # We found a bogon in the path, so make sure we never use it.
242064ce7165Smrg  set dummy $ac_cv_prog_CC
242164ce7165Smrg  shift
242264ce7165Smrg  if test $# != 0; then
242364ce7165Smrg    # We chose a different compiler from the bogus one.
242464ce7165Smrg    # However, it has the same basename, so the bogon will be chosen
242564ce7165Smrg    # first if we set CC to just the basename; use the full file name.
242664ce7165Smrg    shift
242764ce7165Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
242864ce7165Smrg  fi
242964ce7165Smrgfi
243064ce7165Smrgfi
243164ce7165Smrgfi
243264ce7165SmrgCC=$ac_cv_prog_CC
243364ce7165Smrgif test -n "$CC"; then
243464ce7165Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
243564ce7165Smrgecho "${ECHO_T}$CC" >&6; }
243664ce7165Smrgelse
243764ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
243864ce7165Smrgecho "${ECHO_T}no" >&6; }
243964ce7165Smrgfi
244064ce7165Smrg
244164ce7165Smrg
244264ce7165Smrgfi
244364ce7165Smrgif test -z "$CC"; then
244464ce7165Smrg  if test -n "$ac_tool_prefix"; then
244564ce7165Smrg  for ac_prog in cl.exe
244664ce7165Smrg  do
244764ce7165Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
244864ce7165Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
244964ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
245064ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
245164ce7165Smrgif test "${ac_cv_prog_CC+set}" = set; then
245264ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
245364ce7165Smrgelse
245464ce7165Smrg  if test -n "$CC"; then
245564ce7165Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
245664ce7165Smrgelse
245764ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
245864ce7165Smrgfor as_dir in $PATH
245964ce7165Smrgdo
246064ce7165Smrg  IFS=$as_save_IFS
246164ce7165Smrg  test -z "$as_dir" && as_dir=.
246264ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
246364ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
246464ce7165Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
246564ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
246664ce7165Smrg    break 2
246764ce7165Smrg  fi
246864ce7165Smrgdone
246964ce7165Smrgdone
247064ce7165SmrgIFS=$as_save_IFS
247164ce7165Smrg
247264ce7165Smrgfi
247364ce7165Smrgfi
247464ce7165SmrgCC=$ac_cv_prog_CC
247564ce7165Smrgif test -n "$CC"; then
247664ce7165Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
247764ce7165Smrgecho "${ECHO_T}$CC" >&6; }
247864ce7165Smrgelse
247964ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
248064ce7165Smrgecho "${ECHO_T}no" >&6; }
248164ce7165Smrgfi
248264ce7165Smrg
248364ce7165Smrg
248464ce7165Smrg    test -n "$CC" && break
248564ce7165Smrg  done
248664ce7165Smrgfi
248764ce7165Smrgif test -z "$CC"; then
248864ce7165Smrg  ac_ct_CC=$CC
248964ce7165Smrg  for ac_prog in cl.exe
249064ce7165Smrgdo
249164ce7165Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
249264ce7165Smrgset dummy $ac_prog; ac_word=$2
249364ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
249464ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
249564ce7165Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
249664ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
249764ce7165Smrgelse
249864ce7165Smrg  if test -n "$ac_ct_CC"; then
249964ce7165Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
250064ce7165Smrgelse
250164ce7165Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
250264ce7165Smrgfor as_dir in $PATH
250364ce7165Smrgdo
250464ce7165Smrg  IFS=$as_save_IFS
250564ce7165Smrg  test -z "$as_dir" && as_dir=.
250664ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
250764ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
250864ce7165Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
250964ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
251064ce7165Smrg    break 2
251164ce7165Smrg  fi
251264ce7165Smrgdone
251364ce7165Smrgdone
251464ce7165SmrgIFS=$as_save_IFS
251564ce7165Smrg
251664ce7165Smrgfi
251764ce7165Smrgfi
251864ce7165Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
251964ce7165Smrgif test -n "$ac_ct_CC"; then
252064ce7165Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
252164ce7165Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
252264ce7165Smrgelse
252364ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
252464ce7165Smrgecho "${ECHO_T}no" >&6; }
252564ce7165Smrgfi
252664ce7165Smrg
252764ce7165Smrg
252864ce7165Smrg  test -n "$ac_ct_CC" && break
252964ce7165Smrgdone
253064ce7165Smrg
253164ce7165Smrg  if test "x$ac_ct_CC" = x; then
253264ce7165Smrg    CC=""
253364ce7165Smrg  else
253464ce7165Smrg    case $cross_compiling:$ac_tool_warned in
253564ce7165Smrgyes:)
253664ce7165Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
253764ce7165Smrgwhose name does not start with the host triplet.  If you think this
253864ce7165Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
253964ce7165Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
254064ce7165Smrgwhose name does not start with the host triplet.  If you think this
254164ce7165Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
254264ce7165Smrgac_tool_warned=yes ;;
254364ce7165Smrgesac
254464ce7165Smrg    CC=$ac_ct_CC
254564ce7165Smrg  fi
254664ce7165Smrgfi
254764ce7165Smrg
254864ce7165Smrgfi
254964ce7165Smrg
255064ce7165Smrg
255164ce7165Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
255264ce7165SmrgSee \`config.log' for more details." >&5
255364ce7165Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH
255464ce7165SmrgSee \`config.log' for more details." >&2;}
255564ce7165Smrg   { (exit 1); exit 1; }; }
255664ce7165Smrg
255764ce7165Smrg# Provide some information about the compiler.
255864ce7165Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5
255964ce7165Smrgac_compiler=`set X $ac_compile; echo $2`
256064ce7165Smrg{ (ac_try="$ac_compiler --version >&5"
256164ce7165Smrgcase "(($ac_try" in
256264ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
256364ce7165Smrg  *) ac_try_echo=$ac_try;;
256464ce7165Smrgesac
256564ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
256664ce7165Smrg  (eval "$ac_compiler --version >&5") 2>&5
256764ce7165Smrg  ac_status=$?
256864ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
256964ce7165Smrg  (exit $ac_status); }
257064ce7165Smrg{ (ac_try="$ac_compiler -v >&5"
257164ce7165Smrgcase "(($ac_try" in
257264ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
257364ce7165Smrg  *) ac_try_echo=$ac_try;;
257464ce7165Smrgesac
257564ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
257664ce7165Smrg  (eval "$ac_compiler -v >&5") 2>&5
257764ce7165Smrg  ac_status=$?
257864ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
257964ce7165Smrg  (exit $ac_status); }
258064ce7165Smrg{ (ac_try="$ac_compiler -V >&5"
258164ce7165Smrgcase "(($ac_try" in
258264ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
258364ce7165Smrg  *) ac_try_echo=$ac_try;;
258464ce7165Smrgesac
258564ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
258664ce7165Smrg  (eval "$ac_compiler -V >&5") 2>&5
258764ce7165Smrg  ac_status=$?
258864ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
258964ce7165Smrg  (exit $ac_status); }
259064ce7165Smrg
259164ce7165Smrgcat >conftest.$ac_ext <<_ACEOF
259264ce7165Smrg/* confdefs.h.  */
259364ce7165Smrg_ACEOF
259464ce7165Smrgcat confdefs.h >>conftest.$ac_ext
259564ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
259664ce7165Smrg/* end confdefs.h.  */
259764ce7165Smrg
259864ce7165Smrgint
259964ce7165Smrgmain ()
260064ce7165Smrg{
260164ce7165Smrg
260264ce7165Smrg  ;
260364ce7165Smrg  return 0;
260464ce7165Smrg}
260564ce7165Smrg_ACEOF
260664ce7165Smrgac_clean_files_save=$ac_clean_files
260764ce7165Smrgac_clean_files="$ac_clean_files a.out a.exe b.out"
260864ce7165Smrg# Try to create an executable without -o first, disregard a.out.
260964ce7165Smrg# It will help us diagnose broken compilers, and finding out an intuition
261064ce7165Smrg# of exeext.
261164ce7165Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
261264ce7165Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
261364ce7165Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
261464ce7165Smrg#
261564ce7165Smrg# List of possible output files, starting from the most likely.
261664ce7165Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
261764ce7165Smrg# only as a last resort.  b.out is created by i960 compilers.
261864ce7165Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
261964ce7165Smrg#
262064ce7165Smrg# The IRIX 6 linker writes into existing files which may not be
262164ce7165Smrg# executable, retaining their permissions.  Remove them first so a
262264ce7165Smrg# subsequent execution test works.
262364ce7165Smrgac_rmfiles=
262464ce7165Smrgfor ac_file in $ac_files
262564ce7165Smrgdo
262664ce7165Smrg  case $ac_file in
262764ce7165Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
262864ce7165Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
262964ce7165Smrg  esac
263064ce7165Smrgdone
263164ce7165Smrgrm -f $ac_rmfiles
263264ce7165Smrg
263364ce7165Smrgif { (ac_try="$ac_link_default"
263464ce7165Smrgcase "(($ac_try" in
263564ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
263664ce7165Smrg  *) ac_try_echo=$ac_try;;
263764ce7165Smrgesac
263864ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
263964ce7165Smrg  (eval "$ac_link_default") 2>&5
264064ce7165Smrg  ac_status=$?
264164ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
264264ce7165Smrg  (exit $ac_status); }; then
264364ce7165Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
264464ce7165Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
264564ce7165Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
264664ce7165Smrg# so that the user can short-circuit this test for compilers unknown to
264764ce7165Smrg# Autoconf.
264864ce7165Smrgfor ac_file in $ac_files ''
264964ce7165Smrgdo
265064ce7165Smrg  test -f "$ac_file" || continue
265164ce7165Smrg  case $ac_file in
265264ce7165Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
265364ce7165Smrg	;;
265464ce7165Smrg    [ab].out )
265564ce7165Smrg	# We found the default executable, but exeext='' is most
265664ce7165Smrg	# certainly right.
265764ce7165Smrg	break;;
265864ce7165Smrg    *.* )
265964ce7165Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
266064ce7165Smrg	then :; else
266164ce7165Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
266264ce7165Smrg	fi
266364ce7165Smrg	# We set ac_cv_exeext here because the later test for it is not
266464ce7165Smrg	# safe: cross compilers may not add the suffix if given an `-o'
266564ce7165Smrg	# argument, so we may need to know it at that point already.
266664ce7165Smrg	# Even if this section looks crufty: it has the advantage of
266764ce7165Smrg	# actually working.
266864ce7165Smrg	break;;
266964ce7165Smrg    * )
267064ce7165Smrg	break;;
267164ce7165Smrg  esac
267264ce7165Smrgdone
267364ce7165Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
267464ce7165Smrg
267564ce7165Smrgelse
267664ce7165Smrg  ac_file=''
267764ce7165Smrgfi
267864ce7165Smrg
267964ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5
268064ce7165Smrgecho "${ECHO_T}$ac_file" >&6; }
268164ce7165Smrgif test -z "$ac_file"; then
268264ce7165Smrg  echo "$as_me: failed program was:" >&5
268364ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
268464ce7165Smrg
268564ce7165Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
268664ce7165SmrgSee \`config.log' for more details." >&5
268764ce7165Smrgecho "$as_me: error: C compiler cannot create executables
268864ce7165SmrgSee \`config.log' for more details." >&2;}
268964ce7165Smrg   { (exit 77); exit 77; }; }
269064ce7165Smrgfi
269164ce7165Smrg
269264ce7165Smrgac_exeext=$ac_cv_exeext
269364ce7165Smrg
269464ce7165Smrg# Check that the compiler produces executables we can run.  If not, either
269564ce7165Smrg# the compiler is broken, or we cross compile.
269664ce7165Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
269764ce7165Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
269864ce7165Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
269964ce7165Smrg# If not cross compiling, check that we can run a simple program.
270064ce7165Smrgif test "$cross_compiling" != yes; then
270164ce7165Smrg  if { ac_try='./$ac_file'
270264ce7165Smrg  { (case "(($ac_try" in
270364ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
270464ce7165Smrg  *) ac_try_echo=$ac_try;;
270564ce7165Smrgesac
270664ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
270764ce7165Smrg  (eval "$ac_try") 2>&5
270864ce7165Smrg  ac_status=$?
270964ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
271064ce7165Smrg  (exit $ac_status); }; }; then
271164ce7165Smrg    cross_compiling=no
271264ce7165Smrg  else
271364ce7165Smrg    if test "$cross_compiling" = maybe; then
271464ce7165Smrg	cross_compiling=yes
271564ce7165Smrg    else
271664ce7165Smrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
271764ce7165SmrgIf you meant to cross compile, use \`--host'.
271864ce7165SmrgSee \`config.log' for more details." >&5
271964ce7165Smrgecho "$as_me: error: cannot run C compiled programs.
272064ce7165SmrgIf you meant to cross compile, use \`--host'.
272164ce7165SmrgSee \`config.log' for more details." >&2;}
272264ce7165Smrg   { (exit 1); exit 1; }; }
272364ce7165Smrg    fi
272464ce7165Smrg  fi
272564ce7165Smrgfi
272664ce7165Smrg{ echo "$as_me:$LINENO: result: yes" >&5
272764ce7165Smrgecho "${ECHO_T}yes" >&6; }
272864ce7165Smrg
272964ce7165Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
273064ce7165Smrgac_clean_files=$ac_clean_files_save
273164ce7165Smrg# Check that the compiler produces executables we can run.  If not, either
273264ce7165Smrg# the compiler is broken, or we cross compile.
273364ce7165Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
273464ce7165Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
273564ce7165Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
273664ce7165Smrgecho "${ECHO_T}$cross_compiling" >&6; }
273764ce7165Smrg
273864ce7165Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
273964ce7165Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
274064ce7165Smrgif { (ac_try="$ac_link"
274164ce7165Smrgcase "(($ac_try" in
274264ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
274364ce7165Smrg  *) ac_try_echo=$ac_try;;
274464ce7165Smrgesac
274564ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
274664ce7165Smrg  (eval "$ac_link") 2>&5
274764ce7165Smrg  ac_status=$?
274864ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
274964ce7165Smrg  (exit $ac_status); }; then
275064ce7165Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
275164ce7165Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
275264ce7165Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
275364ce7165Smrg# `rm'.
275464ce7165Smrgfor ac_file in conftest.exe conftest conftest.*; do
275564ce7165Smrg  test -f "$ac_file" || continue
275664ce7165Smrg  case $ac_file in
275764ce7165Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
275864ce7165Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
275964ce7165Smrg	  break;;
276064ce7165Smrg    * ) break;;
276164ce7165Smrg  esac
276264ce7165Smrgdone
276364ce7165Smrgelse
276464ce7165Smrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
276564ce7165SmrgSee \`config.log' for more details." >&5
276664ce7165Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
276764ce7165SmrgSee \`config.log' for more details." >&2;}
276864ce7165Smrg   { (exit 1); exit 1; }; }
276964ce7165Smrgfi
277064ce7165Smrg
277164ce7165Smrgrm -f conftest$ac_cv_exeext
277264ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
277364ce7165Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; }
277464ce7165Smrg
277564ce7165Smrgrm -f conftest.$ac_ext
277664ce7165SmrgEXEEXT=$ac_cv_exeext
277764ce7165Smrgac_exeext=$EXEEXT
277864ce7165Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
277964ce7165Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
278064ce7165Smrgif test "${ac_cv_objext+set}" = set; then
278164ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
278264ce7165Smrgelse
278364ce7165Smrg  cat >conftest.$ac_ext <<_ACEOF
278464ce7165Smrg/* confdefs.h.  */
278564ce7165Smrg_ACEOF
278664ce7165Smrgcat confdefs.h >>conftest.$ac_ext
278764ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
278864ce7165Smrg/* end confdefs.h.  */
278964ce7165Smrg
279064ce7165Smrgint
279164ce7165Smrgmain ()
279264ce7165Smrg{
279364ce7165Smrg
279464ce7165Smrg  ;
279564ce7165Smrg  return 0;
279664ce7165Smrg}
279764ce7165Smrg_ACEOF
279864ce7165Smrgrm -f conftest.o conftest.obj
279964ce7165Smrgif { (ac_try="$ac_compile"
280064ce7165Smrgcase "(($ac_try" in
280164ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
280264ce7165Smrg  *) ac_try_echo=$ac_try;;
280364ce7165Smrgesac
280464ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
280564ce7165Smrg  (eval "$ac_compile") 2>&5
280664ce7165Smrg  ac_status=$?
280764ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
280864ce7165Smrg  (exit $ac_status); }; then
280964ce7165Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
281064ce7165Smrg  test -f "$ac_file" || continue;
281164ce7165Smrg  case $ac_file in
281264ce7165Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
281364ce7165Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
281464ce7165Smrg       break;;
281564ce7165Smrg  esac
281664ce7165Smrgdone
281764ce7165Smrgelse
281864ce7165Smrg  echo "$as_me: failed program was:" >&5
281964ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
282064ce7165Smrg
282164ce7165Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
282264ce7165SmrgSee \`config.log' for more details." >&5
282364ce7165Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
282464ce7165SmrgSee \`config.log' for more details." >&2;}
282564ce7165Smrg   { (exit 1); exit 1; }; }
282664ce7165Smrgfi
282764ce7165Smrg
282864ce7165Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
282964ce7165Smrgfi
283064ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
283164ce7165Smrgecho "${ECHO_T}$ac_cv_objext" >&6; }
283264ce7165SmrgOBJEXT=$ac_cv_objext
283364ce7165Smrgac_objext=$OBJEXT
283464ce7165Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
283564ce7165Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
283664ce7165Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
283764ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
283864ce7165Smrgelse
283964ce7165Smrg  cat >conftest.$ac_ext <<_ACEOF
284064ce7165Smrg/* confdefs.h.  */
284164ce7165Smrg_ACEOF
284264ce7165Smrgcat confdefs.h >>conftest.$ac_ext
284364ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
284464ce7165Smrg/* end confdefs.h.  */
284564ce7165Smrg
284664ce7165Smrgint
284764ce7165Smrgmain ()
284864ce7165Smrg{
284964ce7165Smrg#ifndef __GNUC__
285064ce7165Smrg       choke me
285164ce7165Smrg#endif
285264ce7165Smrg
285364ce7165Smrg  ;
285464ce7165Smrg  return 0;
285564ce7165Smrg}
285664ce7165Smrg_ACEOF
285764ce7165Smrgrm -f conftest.$ac_objext
285864ce7165Smrgif { (ac_try="$ac_compile"
285964ce7165Smrgcase "(($ac_try" in
286064ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
286164ce7165Smrg  *) ac_try_echo=$ac_try;;
286264ce7165Smrgesac
286364ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
286464ce7165Smrg  (eval "$ac_compile") 2>conftest.er1
286564ce7165Smrg  ac_status=$?
286664ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
286764ce7165Smrg  rm -f conftest.er1
286864ce7165Smrg  cat conftest.err >&5
286964ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
287064ce7165Smrg  (exit $ac_status); } && {
287164ce7165Smrg	 test -z "$ac_c_werror_flag" ||
287264ce7165Smrg	 test ! -s conftest.err
287364ce7165Smrg       } && test -s conftest.$ac_objext; then
287464ce7165Smrg  ac_compiler_gnu=yes
287564ce7165Smrgelse
287664ce7165Smrg  echo "$as_me: failed program was:" >&5
287764ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
287864ce7165Smrg
287964ce7165Smrg	ac_compiler_gnu=no
288064ce7165Smrgfi
288164ce7165Smrg
288264ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
288364ce7165Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
288464ce7165Smrg
288564ce7165Smrgfi
288664ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
288764ce7165Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
288864ce7165SmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
288964ce7165Smrgac_test_CFLAGS=${CFLAGS+set}
289064ce7165Smrgac_save_CFLAGS=$CFLAGS
289164ce7165Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
289264ce7165Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
289364ce7165Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
289464ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
289564ce7165Smrgelse
289664ce7165Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
289764ce7165Smrg   ac_c_werror_flag=yes
289864ce7165Smrg   ac_cv_prog_cc_g=no
289964ce7165Smrg   CFLAGS="-g"
290064ce7165Smrg   cat >conftest.$ac_ext <<_ACEOF
290164ce7165Smrg/* confdefs.h.  */
290264ce7165Smrg_ACEOF
290364ce7165Smrgcat confdefs.h >>conftest.$ac_ext
290464ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
290564ce7165Smrg/* end confdefs.h.  */
290664ce7165Smrg
290764ce7165Smrgint
290864ce7165Smrgmain ()
290964ce7165Smrg{
291064ce7165Smrg
291164ce7165Smrg  ;
291264ce7165Smrg  return 0;
291364ce7165Smrg}
291464ce7165Smrg_ACEOF
291564ce7165Smrgrm -f conftest.$ac_objext
291664ce7165Smrgif { (ac_try="$ac_compile"
291764ce7165Smrgcase "(($ac_try" in
291864ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
291964ce7165Smrg  *) ac_try_echo=$ac_try;;
292064ce7165Smrgesac
292164ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
292264ce7165Smrg  (eval "$ac_compile") 2>conftest.er1
292364ce7165Smrg  ac_status=$?
292464ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
292564ce7165Smrg  rm -f conftest.er1
292664ce7165Smrg  cat conftest.err >&5
292764ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
292864ce7165Smrg  (exit $ac_status); } && {
292964ce7165Smrg	 test -z "$ac_c_werror_flag" ||
293064ce7165Smrg	 test ! -s conftest.err
293164ce7165Smrg       } && test -s conftest.$ac_objext; then
293264ce7165Smrg  ac_cv_prog_cc_g=yes
293364ce7165Smrgelse
293464ce7165Smrg  echo "$as_me: failed program was:" >&5
293564ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
293664ce7165Smrg
293764ce7165Smrg	CFLAGS=""
293864ce7165Smrg      cat >conftest.$ac_ext <<_ACEOF
293964ce7165Smrg/* confdefs.h.  */
294064ce7165Smrg_ACEOF
294164ce7165Smrgcat confdefs.h >>conftest.$ac_ext
294264ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
294364ce7165Smrg/* end confdefs.h.  */
294464ce7165Smrg
294564ce7165Smrgint
294664ce7165Smrgmain ()
294764ce7165Smrg{
294864ce7165Smrg
294964ce7165Smrg  ;
295064ce7165Smrg  return 0;
295164ce7165Smrg}
295264ce7165Smrg_ACEOF
295364ce7165Smrgrm -f conftest.$ac_objext
295464ce7165Smrgif { (ac_try="$ac_compile"
295564ce7165Smrgcase "(($ac_try" in
295664ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
295764ce7165Smrg  *) ac_try_echo=$ac_try;;
295864ce7165Smrgesac
295964ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
296064ce7165Smrg  (eval "$ac_compile") 2>conftest.er1
296164ce7165Smrg  ac_status=$?
296264ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
296364ce7165Smrg  rm -f conftest.er1
296464ce7165Smrg  cat conftest.err >&5
296564ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
296664ce7165Smrg  (exit $ac_status); } && {
296764ce7165Smrg	 test -z "$ac_c_werror_flag" ||
296864ce7165Smrg	 test ! -s conftest.err
296964ce7165Smrg       } && test -s conftest.$ac_objext; then
297064ce7165Smrg  :
297164ce7165Smrgelse
297264ce7165Smrg  echo "$as_me: failed program was:" >&5
297364ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
297464ce7165Smrg
297564ce7165Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
297664ce7165Smrg	 CFLAGS="-g"
297764ce7165Smrg	 cat >conftest.$ac_ext <<_ACEOF
297864ce7165Smrg/* confdefs.h.  */
297964ce7165Smrg_ACEOF
298064ce7165Smrgcat confdefs.h >>conftest.$ac_ext
298164ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
298264ce7165Smrg/* end confdefs.h.  */
298364ce7165Smrg
298464ce7165Smrgint
298564ce7165Smrgmain ()
298664ce7165Smrg{
298764ce7165Smrg
298864ce7165Smrg  ;
298964ce7165Smrg  return 0;
299064ce7165Smrg}
299164ce7165Smrg_ACEOF
299264ce7165Smrgrm -f conftest.$ac_objext
299364ce7165Smrgif { (ac_try="$ac_compile"
299464ce7165Smrgcase "(($ac_try" in
299564ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
299664ce7165Smrg  *) ac_try_echo=$ac_try;;
299764ce7165Smrgesac
299864ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
299964ce7165Smrg  (eval "$ac_compile") 2>conftest.er1
300064ce7165Smrg  ac_status=$?
300164ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
300264ce7165Smrg  rm -f conftest.er1
300364ce7165Smrg  cat conftest.err >&5
300464ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
300564ce7165Smrg  (exit $ac_status); } && {
300664ce7165Smrg	 test -z "$ac_c_werror_flag" ||
300764ce7165Smrg	 test ! -s conftest.err
300864ce7165Smrg       } && test -s conftest.$ac_objext; then
300964ce7165Smrg  ac_cv_prog_cc_g=yes
301064ce7165Smrgelse
301164ce7165Smrg  echo "$as_me: failed program was:" >&5
301264ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
301364ce7165Smrg
301464ce7165Smrg
301564ce7165Smrgfi
301664ce7165Smrg
301764ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
301864ce7165Smrgfi
301964ce7165Smrg
302064ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
302164ce7165Smrgfi
302264ce7165Smrg
302364ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
302464ce7165Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
302564ce7165Smrgfi
302664ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
302764ce7165Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
302864ce7165Smrgif test "$ac_test_CFLAGS" = set; then
302964ce7165Smrg  CFLAGS=$ac_save_CFLAGS
303064ce7165Smrgelif test $ac_cv_prog_cc_g = yes; then
303164ce7165Smrg  if test "$GCC" = yes; then
303264ce7165Smrg    CFLAGS="-g -O2"
303364ce7165Smrg  else
303464ce7165Smrg    CFLAGS="-g"
303564ce7165Smrg  fi
303664ce7165Smrgelse
303764ce7165Smrg  if test "$GCC" = yes; then
303864ce7165Smrg    CFLAGS="-O2"
303964ce7165Smrg  else
304064ce7165Smrg    CFLAGS=
304164ce7165Smrg  fi
304264ce7165Smrgfi
304364ce7165Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
304464ce7165Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
304564ce7165Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
304664ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
304764ce7165Smrgelse
304864ce7165Smrg  ac_cv_prog_cc_c89=no
304964ce7165Smrgac_save_CC=$CC
305064ce7165Smrgcat >conftest.$ac_ext <<_ACEOF
305164ce7165Smrg/* confdefs.h.  */
305264ce7165Smrg_ACEOF
305364ce7165Smrgcat confdefs.h >>conftest.$ac_ext
305464ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
305564ce7165Smrg/* end confdefs.h.  */
305664ce7165Smrg#include <stdarg.h>
305764ce7165Smrg#include <stdio.h>
305864ce7165Smrg#include <sys/types.h>
305964ce7165Smrg#include <sys/stat.h>
306064ce7165Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
306164ce7165Smrgstruct buf { int x; };
306264ce7165SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
306364ce7165Smrgstatic char *e (p, i)
306464ce7165Smrg     char **p;
306564ce7165Smrg     int i;
306664ce7165Smrg{
306764ce7165Smrg  return p[i];
306864ce7165Smrg}
306964ce7165Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
307064ce7165Smrg{
307164ce7165Smrg  char *s;
307264ce7165Smrg  va_list v;
307364ce7165Smrg  va_start (v,p);
307464ce7165Smrg  s = g (p, va_arg (v,int));
307564ce7165Smrg  va_end (v);
307664ce7165Smrg  return s;
307764ce7165Smrg}
307864ce7165Smrg
307964ce7165Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
308064ce7165Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
308164ce7165Smrg   These don't provoke an error unfortunately, instead are silently treated
308264ce7165Smrg   as 'x'.  The following induces an error, until -std is added to get
308364ce7165Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
308464ce7165Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
308564ce7165Smrg   that's true only with -std.  */
308664ce7165Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
308764ce7165Smrg
308864ce7165Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
308964ce7165Smrg   inside strings and character constants.  */
309064ce7165Smrg#define FOO(x) 'x'
309164ce7165Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
309264ce7165Smrg
309364ce7165Smrgint test (int i, double x);
309464ce7165Smrgstruct s1 {int (*f) (int a);};
309564ce7165Smrgstruct s2 {int (*f) (double a);};
309664ce7165Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
309764ce7165Smrgint argc;
309864ce7165Smrgchar **argv;
309964ce7165Smrgint
310064ce7165Smrgmain ()
310164ce7165Smrg{
310264ce7165Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
310364ce7165Smrg  ;
310464ce7165Smrg  return 0;
310564ce7165Smrg}
310664ce7165Smrg_ACEOF
310764ce7165Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
310864ce7165Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
310964ce7165Smrgdo
311064ce7165Smrg  CC="$ac_save_CC $ac_arg"
311164ce7165Smrg  rm -f conftest.$ac_objext
311264ce7165Smrgif { (ac_try="$ac_compile"
311364ce7165Smrgcase "(($ac_try" in
311464ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
311564ce7165Smrg  *) ac_try_echo=$ac_try;;
311664ce7165Smrgesac
311764ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
311864ce7165Smrg  (eval "$ac_compile") 2>conftest.er1
311964ce7165Smrg  ac_status=$?
312064ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
312164ce7165Smrg  rm -f conftest.er1
312264ce7165Smrg  cat conftest.err >&5
312364ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
312464ce7165Smrg  (exit $ac_status); } && {
312564ce7165Smrg	 test -z "$ac_c_werror_flag" ||
312664ce7165Smrg	 test ! -s conftest.err
312764ce7165Smrg       } && test -s conftest.$ac_objext; then
312864ce7165Smrg  ac_cv_prog_cc_c89=$ac_arg
312964ce7165Smrgelse
313064ce7165Smrg  echo "$as_me: failed program was:" >&5
313164ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
313264ce7165Smrg
313364ce7165Smrg
313464ce7165Smrgfi
313564ce7165Smrg
313664ce7165Smrgrm -f core conftest.err conftest.$ac_objext
313764ce7165Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
313864ce7165Smrgdone
313964ce7165Smrgrm -f conftest.$ac_ext
314064ce7165SmrgCC=$ac_save_CC
314164ce7165Smrg
314264ce7165Smrgfi
314364ce7165Smrg# AC_CACHE_VAL
314464ce7165Smrgcase "x$ac_cv_prog_cc_c89" in
314564ce7165Smrg  x)
314664ce7165Smrg    { echo "$as_me:$LINENO: result: none needed" >&5
314764ce7165Smrgecho "${ECHO_T}none needed" >&6; } ;;
314864ce7165Smrg  xno)
314964ce7165Smrg    { echo "$as_me:$LINENO: result: unsupported" >&5
315064ce7165Smrgecho "${ECHO_T}unsupported" >&6; } ;;
315164ce7165Smrg  *)
315264ce7165Smrg    CC="$CC $ac_cv_prog_cc_c89"
315364ce7165Smrg    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
315464ce7165Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
315564ce7165Smrgesac
315664ce7165Smrg
315764ce7165Smrg
315864ce7165Smrgac_ext=c
315964ce7165Smrgac_cpp='$CPP $CPPFLAGS'
316064ce7165Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
316164ce7165Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
316264ce7165Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
316364ce7165SmrgDEPDIR="${am__leading_dot}deps"
316464ce7165Smrg
316564ce7165Smrgac_config_commands="$ac_config_commands depfiles"
316664ce7165Smrg
316764ce7165Smrg
316864ce7165Smrgam_make=${MAKE-make}
316964ce7165Smrgcat > confinc << 'END'
317064ce7165Smrgam__doit:
317164ce7165Smrg	@echo done
317264ce7165Smrg.PHONY: am__doit
317364ce7165SmrgEND
317464ce7165Smrg# If we don't find an include directive, just comment out the code.
317564ce7165Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
317664ce7165Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
317764ce7165Smrgam__include="#"
317864ce7165Smrgam__quote=
317964ce7165Smrg_am_result=none
318064ce7165Smrg# First try GNU make style include.
318164ce7165Smrgecho "include confinc" > confmf
318264ce7165Smrg# We grep out `Entering directory' and `Leaving directory'
318364ce7165Smrg# messages which can occur if `w' ends up in MAKEFLAGS.
318464ce7165Smrg# In particular we don't look at `^make:' because GNU make might
318564ce7165Smrg# be invoked under some other name (usually "gmake"), in which
318664ce7165Smrg# case it prints its new name instead of `make'.
318764ce7165Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
318864ce7165Smrg   am__include=include
318964ce7165Smrg   am__quote=
319064ce7165Smrg   _am_result=GNU
319164ce7165Smrgfi
319264ce7165Smrg# Now try BSD make style include.
319364ce7165Smrgif test "$am__include" = "#"; then
319464ce7165Smrg   echo '.include "confinc"' > confmf
319564ce7165Smrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
319664ce7165Smrg      am__include=.include
319764ce7165Smrg      am__quote="\""
319864ce7165Smrg      _am_result=BSD
319964ce7165Smrg   fi
320064ce7165Smrgfi
320164ce7165Smrg
320264ce7165Smrg
320364ce7165Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5
320464ce7165Smrgecho "${ECHO_T}$_am_result" >&6; }
320564ce7165Smrgrm -f confinc confmf
320664ce7165Smrg
320764ce7165Smrg# Check whether --enable-dependency-tracking was given.
320864ce7165Smrgif test "${enable_dependency_tracking+set}" = set; then
320964ce7165Smrg  enableval=$enable_dependency_tracking;
321064ce7165Smrgfi
321164ce7165Smrg
321264ce7165Smrgif test "x$enable_dependency_tracking" != xno; then
321364ce7165Smrg  am_depcomp="$ac_aux_dir/depcomp"
321464ce7165Smrg  AMDEPBACKSLASH='\'
321564ce7165Smrgfi
321664ce7165Smrg if test "x$enable_dependency_tracking" != xno; then
321764ce7165Smrg  AMDEP_TRUE=
321864ce7165Smrg  AMDEP_FALSE='#'
321964ce7165Smrgelse
322064ce7165Smrg  AMDEP_TRUE='#'
322164ce7165Smrg  AMDEP_FALSE=
322264ce7165Smrgfi
322364ce7165Smrg
322464ce7165Smrg
322564ce7165Smrg
322664ce7165Smrgdepcc="$CC"   am_compiler_list=
322764ce7165Smrg
322864ce7165Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
322964ce7165Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
323064ce7165Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
323164ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
323264ce7165Smrgelse
323364ce7165Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
323464ce7165Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
323564ce7165Smrg  # making bogus files that we don't know about and never remove.  For
323664ce7165Smrg  # instance it was reported that on HP-UX the gcc test will end up
323764ce7165Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
323864ce7165Smrg  # in D'.
323964ce7165Smrg  mkdir conftest.dir
324064ce7165Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
324164ce7165Smrg  # using a relative directory.
324264ce7165Smrg  cp "$am_depcomp" conftest.dir
324364ce7165Smrg  cd conftest.dir
324464ce7165Smrg  # We will build objects and dependencies in a subdirectory because
324564ce7165Smrg  # it helps to detect inapplicable dependency modes.  For instance
324664ce7165Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
324764ce7165Smrg  # side effect of compilation, but ICC will put the dependencies in
324864ce7165Smrg  # the current directory while Tru64 will put them in the object
324964ce7165Smrg  # directory.
325064ce7165Smrg  mkdir sub
325164ce7165Smrg
325264ce7165Smrg  am_cv_CC_dependencies_compiler_type=none
325364ce7165Smrg  if test "$am_compiler_list" = ""; then
325464ce7165Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
325564ce7165Smrg  fi
325664ce7165Smrg  for depmode in $am_compiler_list; do
325764ce7165Smrg    # Setup a source with many dependencies, because some compilers
325864ce7165Smrg    # like to wrap large dependency lists on column 80 (with \), and
325964ce7165Smrg    # we should not choose a depcomp mode which is confused by this.
326064ce7165Smrg    #
326164ce7165Smrg    # We need to recreate these files for each test, as the compiler may
326264ce7165Smrg    # overwrite some of them when testing with obscure command lines.
326364ce7165Smrg    # This happens at least with the AIX C compiler.
326464ce7165Smrg    : > sub/conftest.c
326564ce7165Smrg    for i in 1 2 3 4 5 6; do
326664ce7165Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
326764ce7165Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
326864ce7165Smrg      # Solaris 8's {/usr,}/bin/sh.
326964ce7165Smrg      touch sub/conftst$i.h
327064ce7165Smrg    done
327164ce7165Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
327264ce7165Smrg
327364ce7165Smrg    case $depmode in
327464ce7165Smrg    nosideeffect)
327564ce7165Smrg      # after this tag, mechanisms are not by side-effect, so they'll
327664ce7165Smrg      # only be used when explicitly requested
327764ce7165Smrg      if test "x$enable_dependency_tracking" = xyes; then
327864ce7165Smrg	continue
327964ce7165Smrg      else
328064ce7165Smrg	break
328164ce7165Smrg      fi
328264ce7165Smrg      ;;
328364ce7165Smrg    none) break ;;
328464ce7165Smrg    esac
328564ce7165Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
328664ce7165Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
328764ce7165Smrg    # handle `-M -o', and we need to detect this.
328864ce7165Smrg    if depmode=$depmode \
328964ce7165Smrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
329064ce7165Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
329164ce7165Smrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
329264ce7165Smrg         >/dev/null 2>conftest.err &&
329364ce7165Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
329464ce7165Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
329564ce7165Smrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
329664ce7165Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
329764ce7165Smrg      # icc doesn't choke on unknown options, it will just issue warnings
329864ce7165Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
329964ce7165Smrg      # that says an option was ignored or not supported.
330064ce7165Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
330164ce7165Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
330264ce7165Smrg      # The diagnosis changed in icc 8.0:
330364ce7165Smrg      #   icc: Command line remark: option '-MP' not supported
330464ce7165Smrg      if (grep 'ignoring option' conftest.err ||
330564ce7165Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
330664ce7165Smrg        am_cv_CC_dependencies_compiler_type=$depmode
330764ce7165Smrg        break
330864ce7165Smrg      fi
330964ce7165Smrg    fi
331064ce7165Smrg  done
331164ce7165Smrg
331264ce7165Smrg  cd ..
331364ce7165Smrg  rm -rf conftest.dir
331464ce7165Smrgelse
331564ce7165Smrg  am_cv_CC_dependencies_compiler_type=none
331664ce7165Smrgfi
331764ce7165Smrg
331864ce7165Smrgfi
331964ce7165Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
332064ce7165Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
332164ce7165SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
332264ce7165Smrg
332364ce7165Smrg if
332464ce7165Smrg  test "x$enable_dependency_tracking" != xno \
332564ce7165Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
332664ce7165Smrg  am__fastdepCC_TRUE=
332764ce7165Smrg  am__fastdepCC_FALSE='#'
332864ce7165Smrgelse
332964ce7165Smrg  am__fastdepCC_TRUE='#'
333064ce7165Smrg  am__fastdepCC_FALSE=
333164ce7165Smrgfi
333264ce7165Smrg
333364ce7165Smrg
333464ce7165Smrg# Find a good install program.  We prefer a C program (faster),
333564ce7165Smrg# so one script is as good as another.  But avoid the broken or
333664ce7165Smrg# incompatible versions:
333764ce7165Smrg# SysV /etc/install, /usr/sbin/install
333864ce7165Smrg# SunOS /usr/etc/install
333964ce7165Smrg# IRIX /sbin/install
334064ce7165Smrg# AIX /bin/install
334164ce7165Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
334264ce7165Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
334364ce7165Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
334464ce7165Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
334564ce7165Smrg# OS/2's system install, which has a completely different semantic
334664ce7165Smrg# ./install, which can be erroneously created by make from ./install.sh.
334764ce7165Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
334864ce7165Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
334964ce7165Smrgif test -z "$INSTALL"; then
335064ce7165Smrgif test "${ac_cv_path_install+set}" = set; then
335164ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
335264ce7165Smrgelse
335364ce7165Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
335464ce7165Smrgfor as_dir in $PATH
335564ce7165Smrgdo
335664ce7165Smrg  IFS=$as_save_IFS
335764ce7165Smrg  test -z "$as_dir" && as_dir=.
335864ce7165Smrg  # Account for people who put trailing slashes in PATH elements.
335964ce7165Smrgcase $as_dir/ in
336064ce7165Smrg  ./ | .// | /cC/* | \
336164ce7165Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
336264ce7165Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
336364ce7165Smrg  /usr/ucb/* ) ;;
336464ce7165Smrg  *)
336564ce7165Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
336664ce7165Smrg    # Don't use installbsd from OSF since it installs stuff as root
336764ce7165Smrg    # by default.
336864ce7165Smrg    for ac_prog in ginstall scoinst install; do
336964ce7165Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
337064ce7165Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
337164ce7165Smrg	  if test $ac_prog = install &&
337264ce7165Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
337364ce7165Smrg	    # AIX install.  It has an incompatible calling convention.
337464ce7165Smrg	    :
337564ce7165Smrg	  elif test $ac_prog = install &&
337664ce7165Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
337764ce7165Smrg	    # program-specific install script used by HP pwplus--don't use.
337864ce7165Smrg	    :
337964ce7165Smrg	  else
338064ce7165Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
338164ce7165Smrg	    break 3
338264ce7165Smrg	  fi
338364ce7165Smrg	fi
338464ce7165Smrg      done
338564ce7165Smrg    done
338664ce7165Smrg    ;;
338764ce7165Smrgesac
338864ce7165Smrgdone
338964ce7165SmrgIFS=$as_save_IFS
339064ce7165Smrg
339164ce7165Smrg
339264ce7165Smrgfi
339364ce7165Smrg  if test "${ac_cv_path_install+set}" = set; then
339464ce7165Smrg    INSTALL=$ac_cv_path_install
339564ce7165Smrg  else
339664ce7165Smrg    # As a last resort, use the slow shell script.  Don't cache a
339764ce7165Smrg    # value for INSTALL within a source directory, because that will
339864ce7165Smrg    # break other packages using the cache if that directory is
339964ce7165Smrg    # removed, or if the value is a relative name.
340064ce7165Smrg    INSTALL=$ac_install_sh
340164ce7165Smrg  fi
340264ce7165Smrgfi
340364ce7165Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
340464ce7165Smrgecho "${ECHO_T}$INSTALL" >&6; }
340564ce7165Smrg
340664ce7165Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
340764ce7165Smrg# It thinks the first close brace ends the variable substitution.
340864ce7165Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
340964ce7165Smrg
341064ce7165Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
341164ce7165Smrg
341264ce7165Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
341364ce7165Smrg
341464ce7165Smrg
341564ce7165Smrg
341664ce7165Smrg{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
341764ce7165Smrgecho $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
341864ce7165Smrgif test "${ac_cv_type_signal+set}" = set; then
341964ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
342064ce7165Smrgelse
342164ce7165Smrg  cat >conftest.$ac_ext <<_ACEOF
342264ce7165Smrg/* confdefs.h.  */
342364ce7165Smrg_ACEOF
342464ce7165Smrgcat confdefs.h >>conftest.$ac_ext
342564ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
342664ce7165Smrg/* end confdefs.h.  */
342764ce7165Smrg#include <sys/types.h>
342864ce7165Smrg#include <signal.h>
342964ce7165Smrg
343064ce7165Smrgint
343164ce7165Smrgmain ()
343264ce7165Smrg{
343364ce7165Smrgreturn *(signal (0, 0)) (0) == 1;
343464ce7165Smrg  ;
343564ce7165Smrg  return 0;
343664ce7165Smrg}
343764ce7165Smrg_ACEOF
343864ce7165Smrgrm -f conftest.$ac_objext
343964ce7165Smrgif { (ac_try="$ac_compile"
344064ce7165Smrgcase "(($ac_try" in
344164ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
344264ce7165Smrg  *) ac_try_echo=$ac_try;;
344364ce7165Smrgesac
344464ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
344564ce7165Smrg  (eval "$ac_compile") 2>conftest.er1
344664ce7165Smrg  ac_status=$?
344764ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
344864ce7165Smrg  rm -f conftest.er1
344964ce7165Smrg  cat conftest.err >&5
345064ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
345164ce7165Smrg  (exit $ac_status); } && {
345264ce7165Smrg	 test -z "$ac_c_werror_flag" ||
345364ce7165Smrg	 test ! -s conftest.err
345464ce7165Smrg       } && test -s conftest.$ac_objext; then
345564ce7165Smrg  ac_cv_type_signal=int
345664ce7165Smrgelse
345764ce7165Smrg  echo "$as_me: failed program was:" >&5
345864ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
345964ce7165Smrg
346064ce7165Smrg	ac_cv_type_signal=void
346164ce7165Smrgfi
346264ce7165Smrg
346364ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
346464ce7165Smrgfi
346564ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
346664ce7165Smrgecho "${ECHO_T}$ac_cv_type_signal" >&6; }
346764ce7165Smrg
346864ce7165Smrgcat >>confdefs.h <<_ACEOF
346964ce7165Smrg#define RETSIGTYPE $ac_cv_type_signal
347064ce7165Smrg_ACEOF
347164ce7165Smrg
347264ce7165Smrg
347364ce7165Smrg
347464ce7165Smrg# Checks for pkg-config packages
347564ce7165Smrg
347664ce7165Smrg
347764ce7165Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
347864ce7165Smrg	if test -n "$ac_tool_prefix"; then
347964ce7165Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
348064ce7165Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
348164ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
348264ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
348364ce7165Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
348464ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
348564ce7165Smrgelse
348664ce7165Smrg  case $PKG_CONFIG in
348764ce7165Smrg  [\\/]* | ?:[\\/]*)
348864ce7165Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
348964ce7165Smrg  ;;
349064ce7165Smrg  *)
349164ce7165Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
349264ce7165Smrgfor as_dir in $PATH
349364ce7165Smrgdo
349464ce7165Smrg  IFS=$as_save_IFS
349564ce7165Smrg  test -z "$as_dir" && as_dir=.
349664ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
349764ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
349864ce7165Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
349964ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
350064ce7165Smrg    break 2
350164ce7165Smrg  fi
350264ce7165Smrgdone
350364ce7165Smrgdone
350464ce7165SmrgIFS=$as_save_IFS
350564ce7165Smrg
350664ce7165Smrg  ;;
350764ce7165Smrgesac
350864ce7165Smrgfi
350964ce7165SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
351064ce7165Smrgif test -n "$PKG_CONFIG"; then
351164ce7165Smrg  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
351264ce7165Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; }
351364ce7165Smrgelse
351464ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
351564ce7165Smrgecho "${ECHO_T}no" >&6; }
351664ce7165Smrgfi
351764ce7165Smrg
351864ce7165Smrg
351964ce7165Smrgfi
352064ce7165Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
352164ce7165Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
352264ce7165Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
352364ce7165Smrgset dummy pkg-config; ac_word=$2
352464ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
352564ce7165Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
352664ce7165Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
352764ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
352864ce7165Smrgelse
352964ce7165Smrg  case $ac_pt_PKG_CONFIG in
353064ce7165Smrg  [\\/]* | ?:[\\/]*)
353164ce7165Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
353264ce7165Smrg  ;;
353364ce7165Smrg  *)
353464ce7165Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
353564ce7165Smrgfor as_dir in $PATH
353664ce7165Smrgdo
353764ce7165Smrg  IFS=$as_save_IFS
353864ce7165Smrg  test -z "$as_dir" && as_dir=.
353964ce7165Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
354064ce7165Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
354164ce7165Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
354264ce7165Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
354364ce7165Smrg    break 2
354464ce7165Smrg  fi
354564ce7165Smrgdone
354664ce7165Smrgdone
354764ce7165SmrgIFS=$as_save_IFS
354864ce7165Smrg
354964ce7165Smrg  ;;
355064ce7165Smrgesac
355164ce7165Smrgfi
355264ce7165Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
355364ce7165Smrgif test -n "$ac_pt_PKG_CONFIG"; then
355464ce7165Smrg  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
355564ce7165Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
355664ce7165Smrgelse
355764ce7165Smrg  { echo "$as_me:$LINENO: result: no" >&5
355864ce7165Smrgecho "${ECHO_T}no" >&6; }
355964ce7165Smrgfi
356064ce7165Smrg
356164ce7165Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
356264ce7165Smrg    PKG_CONFIG=""
356364ce7165Smrg  else
356464ce7165Smrg    case $cross_compiling:$ac_tool_warned in
356564ce7165Smrgyes:)
356664ce7165Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
356764ce7165Smrgwhose name does not start with the host triplet.  If you think this
356864ce7165Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
356964ce7165Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
357064ce7165Smrgwhose name does not start with the host triplet.  If you think this
357164ce7165Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
357264ce7165Smrgac_tool_warned=yes ;;
357364ce7165Smrgesac
357464ce7165Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
357564ce7165Smrg  fi
357664ce7165Smrgelse
357764ce7165Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
357864ce7165Smrgfi
357964ce7165Smrg
358064ce7165Smrgfi
358164ce7165Smrgif test -n "$PKG_CONFIG"; then
358264ce7165Smrg	_pkg_min_version=0.9.0
358364ce7165Smrg	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
358464ce7165Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
358564ce7165Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
358664ce7165Smrg		{ echo "$as_me:$LINENO: result: yes" >&5
358764ce7165Smrgecho "${ECHO_T}yes" >&6; }
358864ce7165Smrg	else
358964ce7165Smrg		{ echo "$as_me:$LINENO: result: no" >&5
359064ce7165Smrgecho "${ECHO_T}no" >&6; }
359164ce7165Smrg		PKG_CONFIG=""
359264ce7165Smrg	fi
359364ce7165Smrg
359464ce7165Smrgfi
359564ce7165Smrg
359664ce7165Smrgpkg_failed=no
359764ce7165Smrg{ echo "$as_me:$LINENO: checking for XHOST" >&5
359864ce7165Smrgecho $ECHO_N "checking for XHOST... $ECHO_C" >&6; }
359964ce7165Smrg
360064ce7165Smrgif test -n "$PKG_CONFIG"; then
360164ce7165Smrg        if test -n "$PKG_CONFIG" && \
360264ce7165Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xmuu xau\"") >&5
360364ce7165Smrg  ($PKG_CONFIG --exists --print-errors "x11 xmuu xau") 2>&5
360464ce7165Smrg  ac_status=$?
360564ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
360664ce7165Smrg  (exit $ac_status); }; then
360764ce7165Smrg  pkg_cv_XHOST_CFLAGS=`$PKG_CONFIG --cflags "x11 xmuu xau" 2>/dev/null`
360864ce7165Smrgelse
360964ce7165Smrg  pkg_failed=yes
361064ce7165Smrgfi
361164ce7165Smrgelse
361264ce7165Smrg	pkg_failed=untried
361364ce7165Smrgfi
361464ce7165Smrgif test -n "$PKG_CONFIG"; then
361564ce7165Smrg        if test -n "$PKG_CONFIG" && \
361664ce7165Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xmuu xau\"") >&5
361764ce7165Smrg  ($PKG_CONFIG --exists --print-errors "x11 xmuu xau") 2>&5
361864ce7165Smrg  ac_status=$?
361964ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
362064ce7165Smrg  (exit $ac_status); }; then
362164ce7165Smrg  pkg_cv_XHOST_LIBS=`$PKG_CONFIG --libs "x11 xmuu xau" 2>/dev/null`
362264ce7165Smrgelse
362364ce7165Smrg  pkg_failed=yes
362464ce7165Smrgfi
362564ce7165Smrgelse
362664ce7165Smrg	pkg_failed=untried
362764ce7165Smrgfi
362864ce7165Smrg
362964ce7165Smrgif test $pkg_failed = yes; then
363064ce7165Smrg	XHOST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xmuu xau"`
363164ce7165Smrg	# Put the nasty error message in config.log where it belongs
363264ce7165Smrg	echo "$XHOST_PKG_ERRORS" 1>&5
363364ce7165Smrg
363464ce7165Smrg	{ { echo "$as_me:$LINENO: error: Package requirements (x11 xmuu xau) were not met.
363564ce7165SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
363664ce7165Smrginstalled software in a non-standard prefix.
363764ce7165Smrg
363864ce7165SmrgAlternatively you may set the XHOST_CFLAGS and XHOST_LIBS environment variables
363964ce7165Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
364064ce7165Smrgmore details." >&5
364164ce7165Smrgecho "$as_me: error: Package requirements (x11 xmuu xau) were not met.
364264ce7165SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
364364ce7165Smrginstalled software in a non-standard prefix.
364464ce7165Smrg
364564ce7165SmrgAlternatively you may set the XHOST_CFLAGS and XHOST_LIBS environment variables
364664ce7165Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
364764ce7165Smrgmore details." >&2;}
364864ce7165Smrg   { (exit 1); exit 1; }; }
364964ce7165Smrgelif test $pkg_failed = untried; then
365064ce7165Smrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
365164ce7165Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
365264ce7165Smrgpath to pkg-config.
365364ce7165Smrg
365464ce7165SmrgAlternatively you may set the XHOST_CFLAGS and XHOST_LIBS environment variables
365564ce7165Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
365664ce7165Smrgmore details.
365764ce7165Smrg
365864ce7165SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
365964ce7165SmrgSee \`config.log' for more details." >&5
366064ce7165Smrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
366164ce7165Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
366264ce7165Smrgpath to pkg-config.
366364ce7165Smrg
366464ce7165SmrgAlternatively you may set the XHOST_CFLAGS and XHOST_LIBS environment variables
366564ce7165Smrgto avoid the need to call pkg-config.  See the pkg-config man page for
366664ce7165Smrgmore details.
366764ce7165Smrg
366864ce7165SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
366964ce7165SmrgSee \`config.log' for more details." >&2;}
367064ce7165Smrg   { (exit 1); exit 1; }; }
367164ce7165Smrgelse
367264ce7165Smrg	XHOST_CFLAGS=$pkg_cv_XHOST_CFLAGS
367364ce7165Smrg	XHOST_LIBS=$pkg_cv_XHOST_LIBS
367464ce7165Smrg        { echo "$as_me:$LINENO: result: yes" >&5
367564ce7165Smrgecho "${ECHO_T}yes" >&6; }
367664ce7165Smrg	:
367764ce7165Smrgfi
367864ce7165Smrg
367964ce7165Smrg
368064ce7165Smrg
368164ce7165Smrg# Transport selection macro from xtrans.m4
368264ce7165Smrg# Make sure we can run config.sub.
368364ce7165Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
368464ce7165Smrg  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
368564ce7165Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
368664ce7165Smrg   { (exit 1); exit 1; }; }
368764ce7165Smrg
368864ce7165Smrg{ echo "$as_me:$LINENO: checking build system type" >&5
368964ce7165Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; }
369064ce7165Smrgif test "${ac_cv_build+set}" = set; then
369164ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
369264ce7165Smrgelse
369364ce7165Smrg  ac_build_alias=$build_alias
369464ce7165Smrgtest "x$ac_build_alias" = x &&
369564ce7165Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
369664ce7165Smrgtest "x$ac_build_alias" = x &&
369764ce7165Smrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
369864ce7165Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
369964ce7165Smrg   { (exit 1); exit 1; }; }
370064ce7165Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
370164ce7165Smrg  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
370264ce7165Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
370364ce7165Smrg   { (exit 1); exit 1; }; }
370464ce7165Smrg
370564ce7165Smrgfi
370664ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
370764ce7165Smrgecho "${ECHO_T}$ac_cv_build" >&6; }
370864ce7165Smrgcase $ac_cv_build in
370964ce7165Smrg*-*-*) ;;
371064ce7165Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
371164ce7165Smrgecho "$as_me: error: invalid value of canonical build" >&2;}
371264ce7165Smrg   { (exit 1); exit 1; }; };;
371364ce7165Smrgesac
371464ce7165Smrgbuild=$ac_cv_build
371564ce7165Smrgac_save_IFS=$IFS; IFS='-'
371664ce7165Smrgset x $ac_cv_build
371764ce7165Smrgshift
371864ce7165Smrgbuild_cpu=$1
371964ce7165Smrgbuild_vendor=$2
372064ce7165Smrgshift; shift
372164ce7165Smrg# Remember, the first character of IFS is used to create $*,
372264ce7165Smrg# except with old shells:
372364ce7165Smrgbuild_os=$*
372464ce7165SmrgIFS=$ac_save_IFS
372564ce7165Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
372664ce7165Smrg
372764ce7165Smrg
372864ce7165Smrg{ echo "$as_me:$LINENO: checking host system type" >&5
372964ce7165Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; }
373064ce7165Smrgif test "${ac_cv_host+set}" = set; then
373164ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
373264ce7165Smrgelse
373364ce7165Smrg  if test "x$host_alias" = x; then
373464ce7165Smrg  ac_cv_host=$ac_cv_build
373564ce7165Smrgelse
373664ce7165Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
373764ce7165Smrg    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
373864ce7165Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
373964ce7165Smrg   { (exit 1); exit 1; }; }
374064ce7165Smrgfi
374164ce7165Smrg
374264ce7165Smrgfi
374364ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
374464ce7165Smrgecho "${ECHO_T}$ac_cv_host" >&6; }
374564ce7165Smrgcase $ac_cv_host in
374664ce7165Smrg*-*-*) ;;
374764ce7165Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
374864ce7165Smrgecho "$as_me: error: invalid value of canonical host" >&2;}
374964ce7165Smrg   { (exit 1); exit 1; }; };;
375064ce7165Smrgesac
375164ce7165Smrghost=$ac_cv_host
375264ce7165Smrgac_save_IFS=$IFS; IFS='-'
375364ce7165Smrgset x $ac_cv_host
375464ce7165Smrgshift
375564ce7165Smrghost_cpu=$1
375664ce7165Smrghost_vendor=$2
375764ce7165Smrgshift; shift
375864ce7165Smrg# Remember, the first character of IFS is used to create $*,
375964ce7165Smrg# except with old shells:
376064ce7165Smrghost_os=$*
376164ce7165SmrgIFS=$ac_save_IFS
376264ce7165Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
376364ce7165Smrg
376464ce7165Smrg
376564ce7165Smrg
376664ce7165Smrg
376764ce7165Smrg
376864ce7165Smrg # Check whether --enable-unix-transport was given.
376964ce7165Smrgif test "${enable_unix_transport+set}" = set; then
377064ce7165Smrg  enableval=$enable_unix_transport; UNIXCONN=$enableval
377164ce7165Smrgelse
377264ce7165Smrg  UNIXCONN=yes
377364ce7165Smrgfi
377464ce7165Smrg
377564ce7165Smrg # Check whether --enable-tcp-transport was given.
377664ce7165Smrgif test "${enable_tcp_transport+set}" = set; then
377764ce7165Smrg  enableval=$enable_tcp_transport; TCPCONN=$enableval
377864ce7165Smrgelse
377964ce7165Smrg  TCPCONN=yes
378064ce7165Smrgfi
378164ce7165Smrg
378264ce7165Smrg { echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
378364ce7165Smrgecho $ECHO_N "checking if Xtrans should support UNIX socket connections... $ECHO_C" >&6; }
378464ce7165Smrg if test "$UNIXCONN" = "yes"; then
378564ce7165Smrg
378664ce7165Smrgcat >>confdefs.h <<\_ACEOF
378764ce7165Smrg#define UNIXCONN 1
378864ce7165Smrg_ACEOF
378964ce7165Smrg
379064ce7165Smrg fi
379164ce7165Smrg { echo "$as_me:$LINENO: result: $UNIXCONN" >&5
379264ce7165Smrgecho "${ECHO_T}$UNIXCONN" >&6; }
379364ce7165Smrg { echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
379464ce7165Smrgecho $ECHO_N "checking if Xtrans should support TCP socket connections... $ECHO_C" >&6; }
379564ce7165Smrg { echo "$as_me:$LINENO: result: $TCPCONN" >&5
379664ce7165Smrgecho "${ECHO_T}$TCPCONN" >&6; }
379764ce7165Smrg if test "$TCPCONN" = "yes"; then
379864ce7165Smrg
379964ce7165Smrgcat >>confdefs.h <<\_ACEOF
380064ce7165Smrg#define TCPCONN 1
380164ce7165Smrg_ACEOF
380264ce7165Smrg
380364ce7165Smrg
380464ce7165Smrg # SVR4 hides these in libraries other than libc
380564ce7165Smrg { echo "$as_me:$LINENO: checking for library containing socket" >&5
380664ce7165Smrgecho $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
380764ce7165Smrgif test "${ac_cv_search_socket+set}" = set; then
380864ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
380964ce7165Smrgelse
381064ce7165Smrg  ac_func_search_save_LIBS=$LIBS
381164ce7165Smrgcat >conftest.$ac_ext <<_ACEOF
381264ce7165Smrg/* confdefs.h.  */
381364ce7165Smrg_ACEOF
381464ce7165Smrgcat confdefs.h >>conftest.$ac_ext
381564ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
381664ce7165Smrg/* end confdefs.h.  */
381764ce7165Smrg
381864ce7165Smrg/* Override any GCC internal prototype to avoid an error.
381964ce7165Smrg   Use char because int might match the return type of a GCC
382064ce7165Smrg   builtin and then its argument prototype would still apply.  */
382164ce7165Smrg#ifdef __cplusplus
382264ce7165Smrgextern "C"
382364ce7165Smrg#endif
382464ce7165Smrgchar socket ();
382564ce7165Smrgint
382664ce7165Smrgmain ()
382764ce7165Smrg{
382864ce7165Smrgreturn socket ();
382964ce7165Smrg  ;
383064ce7165Smrg  return 0;
383164ce7165Smrg}
383264ce7165Smrg_ACEOF
383364ce7165Smrgfor ac_lib in '' socket; do
383464ce7165Smrg  if test -z "$ac_lib"; then
383564ce7165Smrg    ac_res="none required"
383664ce7165Smrg  else
383764ce7165Smrg    ac_res=-l$ac_lib
383864ce7165Smrg    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
383964ce7165Smrg  fi
384064ce7165Smrg  rm -f conftest.$ac_objext conftest$ac_exeext
384164ce7165Smrgif { (ac_try="$ac_link"
384264ce7165Smrgcase "(($ac_try" in
384364ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
384464ce7165Smrg  *) ac_try_echo=$ac_try;;
384564ce7165Smrgesac
384664ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
384764ce7165Smrg  (eval "$ac_link") 2>conftest.er1
384864ce7165Smrg  ac_status=$?
384964ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
385064ce7165Smrg  rm -f conftest.er1
385164ce7165Smrg  cat conftest.err >&5
385264ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
385364ce7165Smrg  (exit $ac_status); } && {
385464ce7165Smrg	 test -z "$ac_c_werror_flag" ||
385564ce7165Smrg	 test ! -s conftest.err
385664ce7165Smrg       } && test -s conftest$ac_exeext &&
385764ce7165Smrg       $as_test_x conftest$ac_exeext; then
385864ce7165Smrg  ac_cv_search_socket=$ac_res
385964ce7165Smrgelse
386064ce7165Smrg  echo "$as_me: failed program was:" >&5
386164ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
386264ce7165Smrg
386364ce7165Smrg
386464ce7165Smrgfi
386564ce7165Smrg
386664ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
386764ce7165Smrg      conftest$ac_exeext
386864ce7165Smrg  if test "${ac_cv_search_socket+set}" = set; then
386964ce7165Smrg  break
387064ce7165Smrgfi
387164ce7165Smrgdone
387264ce7165Smrgif test "${ac_cv_search_socket+set}" = set; then
387364ce7165Smrg  :
387464ce7165Smrgelse
387564ce7165Smrg  ac_cv_search_socket=no
387664ce7165Smrgfi
387764ce7165Smrgrm conftest.$ac_ext
387864ce7165SmrgLIBS=$ac_func_search_save_LIBS
387964ce7165Smrgfi
388064ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
388164ce7165Smrgecho "${ECHO_T}$ac_cv_search_socket" >&6; }
388264ce7165Smrgac_res=$ac_cv_search_socket
388364ce7165Smrgif test "$ac_res" != no; then
388464ce7165Smrg  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
388564ce7165Smrg
388664ce7165Smrgfi
388764ce7165Smrg
388864ce7165Smrg { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
388964ce7165Smrgecho $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
389064ce7165Smrgif test "${ac_cv_search_gethostbyname+set}" = set; then
389164ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
389264ce7165Smrgelse
389364ce7165Smrg  ac_func_search_save_LIBS=$LIBS
389464ce7165Smrgcat >conftest.$ac_ext <<_ACEOF
389564ce7165Smrg/* confdefs.h.  */
389664ce7165Smrg_ACEOF
389764ce7165Smrgcat confdefs.h >>conftest.$ac_ext
389864ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
389964ce7165Smrg/* end confdefs.h.  */
390064ce7165Smrg
390164ce7165Smrg/* Override any GCC internal prototype to avoid an error.
390264ce7165Smrg   Use char because int might match the return type of a GCC
390364ce7165Smrg   builtin and then its argument prototype would still apply.  */
390464ce7165Smrg#ifdef __cplusplus
390564ce7165Smrgextern "C"
390664ce7165Smrg#endif
390764ce7165Smrgchar gethostbyname ();
390864ce7165Smrgint
390964ce7165Smrgmain ()
391064ce7165Smrg{
391164ce7165Smrgreturn gethostbyname ();
391264ce7165Smrg  ;
391364ce7165Smrg  return 0;
391464ce7165Smrg}
391564ce7165Smrg_ACEOF
391664ce7165Smrgfor ac_lib in '' nsl; do
391764ce7165Smrg  if test -z "$ac_lib"; then
391864ce7165Smrg    ac_res="none required"
391964ce7165Smrg  else
392064ce7165Smrg    ac_res=-l$ac_lib
392164ce7165Smrg    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
392264ce7165Smrg  fi
392364ce7165Smrg  rm -f conftest.$ac_objext conftest$ac_exeext
392464ce7165Smrgif { (ac_try="$ac_link"
392564ce7165Smrgcase "(($ac_try" in
392664ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
392764ce7165Smrg  *) ac_try_echo=$ac_try;;
392864ce7165Smrgesac
392964ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
393064ce7165Smrg  (eval "$ac_link") 2>conftest.er1
393164ce7165Smrg  ac_status=$?
393264ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
393364ce7165Smrg  rm -f conftest.er1
393464ce7165Smrg  cat conftest.err >&5
393564ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
393664ce7165Smrg  (exit $ac_status); } && {
393764ce7165Smrg	 test -z "$ac_c_werror_flag" ||
393864ce7165Smrg	 test ! -s conftest.err
393964ce7165Smrg       } && test -s conftest$ac_exeext &&
394064ce7165Smrg       $as_test_x conftest$ac_exeext; then
394164ce7165Smrg  ac_cv_search_gethostbyname=$ac_res
394264ce7165Smrgelse
394364ce7165Smrg  echo "$as_me: failed program was:" >&5
394464ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
394564ce7165Smrg
394664ce7165Smrg
394764ce7165Smrgfi
394864ce7165Smrg
394964ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
395064ce7165Smrg      conftest$ac_exeext
395164ce7165Smrg  if test "${ac_cv_search_gethostbyname+set}" = set; then
395264ce7165Smrg  break
395364ce7165Smrgfi
395464ce7165Smrgdone
395564ce7165Smrgif test "${ac_cv_search_gethostbyname+set}" = set; then
395664ce7165Smrg  :
395764ce7165Smrgelse
395864ce7165Smrg  ac_cv_search_gethostbyname=no
395964ce7165Smrgfi
396064ce7165Smrgrm conftest.$ac_ext
396164ce7165SmrgLIBS=$ac_func_search_save_LIBS
396264ce7165Smrgfi
396364ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
396464ce7165Smrgecho "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
396564ce7165Smrgac_res=$ac_cv_search_gethostbyname
396664ce7165Smrgif test "$ac_res" != no; then
396764ce7165Smrg  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
396864ce7165Smrg
396964ce7165Smrgfi
397064ce7165Smrg
397164ce7165Smrg
397264ce7165Smrg # Needs to come after above checks for libsocket & libnsl for SVR4 systems
397364ce7165Smrg # Check whether --enable-ipv6 was given.
397464ce7165Smrgif test "${enable_ipv6+set}" = set; then
397564ce7165Smrg  enableval=$enable_ipv6; IPV6CONN=$enableval
397664ce7165Smrgelse
397764ce7165Smrg  { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
397864ce7165Smrgecho $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
397964ce7165Smrgif test "${ac_cv_func_getaddrinfo+set}" = set; then
398064ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
398164ce7165Smrgelse
398264ce7165Smrg  cat >conftest.$ac_ext <<_ACEOF
398364ce7165Smrg/* confdefs.h.  */
398464ce7165Smrg_ACEOF
398564ce7165Smrgcat confdefs.h >>conftest.$ac_ext
398664ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
398764ce7165Smrg/* end confdefs.h.  */
398864ce7165Smrg/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
398964ce7165Smrg   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
399064ce7165Smrg#define getaddrinfo innocuous_getaddrinfo
399164ce7165Smrg
399264ce7165Smrg/* System header to define __stub macros and hopefully few prototypes,
399364ce7165Smrg    which can conflict with char getaddrinfo (); below.
399464ce7165Smrg    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
399564ce7165Smrg    <limits.h> exists even on freestanding compilers.  */
399664ce7165Smrg
399764ce7165Smrg#ifdef __STDC__
399864ce7165Smrg# include <limits.h>
399964ce7165Smrg#else
400064ce7165Smrg# include <assert.h>
400164ce7165Smrg#endif
400264ce7165Smrg
400364ce7165Smrg#undef getaddrinfo
400464ce7165Smrg
400564ce7165Smrg/* Override any GCC internal prototype to avoid an error.
400664ce7165Smrg   Use char because int might match the return type of a GCC
400764ce7165Smrg   builtin and then its argument prototype would still apply.  */
400864ce7165Smrg#ifdef __cplusplus
400964ce7165Smrgextern "C"
401064ce7165Smrg#endif
401164ce7165Smrgchar getaddrinfo ();
401264ce7165Smrg/* The GNU C library defines this for functions which it implements
401364ce7165Smrg    to always fail with ENOSYS.  Some functions are actually named
401464ce7165Smrg    something starting with __ and the normal name is an alias.  */
401564ce7165Smrg#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
401664ce7165Smrgchoke me
401764ce7165Smrg#endif
401864ce7165Smrg
401964ce7165Smrgint
402064ce7165Smrgmain ()
402164ce7165Smrg{
402264ce7165Smrgreturn getaddrinfo ();
402364ce7165Smrg  ;
402464ce7165Smrg  return 0;
402564ce7165Smrg}
402664ce7165Smrg_ACEOF
402764ce7165Smrgrm -f conftest.$ac_objext conftest$ac_exeext
402864ce7165Smrgif { (ac_try="$ac_link"
402964ce7165Smrgcase "(($ac_try" in
403064ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
403164ce7165Smrg  *) ac_try_echo=$ac_try;;
403264ce7165Smrgesac
403364ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
403464ce7165Smrg  (eval "$ac_link") 2>conftest.er1
403564ce7165Smrg  ac_status=$?
403664ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
403764ce7165Smrg  rm -f conftest.er1
403864ce7165Smrg  cat conftest.err >&5
403964ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
404064ce7165Smrg  (exit $ac_status); } && {
404164ce7165Smrg	 test -z "$ac_c_werror_flag" ||
404264ce7165Smrg	 test ! -s conftest.err
404364ce7165Smrg       } && test -s conftest$ac_exeext &&
404464ce7165Smrg       $as_test_x conftest$ac_exeext; then
404564ce7165Smrg  ac_cv_func_getaddrinfo=yes
404664ce7165Smrgelse
404764ce7165Smrg  echo "$as_me: failed program was:" >&5
404864ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
404964ce7165Smrg
405064ce7165Smrg	ac_cv_func_getaddrinfo=no
405164ce7165Smrgfi
405264ce7165Smrg
405364ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
405464ce7165Smrg      conftest$ac_exeext conftest.$ac_ext
405564ce7165Smrgfi
405664ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
405764ce7165Smrgecho "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
405864ce7165Smrgif test $ac_cv_func_getaddrinfo = yes; then
405964ce7165Smrg  IPV6CONN=yes
406064ce7165Smrgelse
406164ce7165Smrg  IPV6CONN=no
406264ce7165Smrgfi
406364ce7165Smrg
406464ce7165Smrgfi
406564ce7165Smrg
406664ce7165Smrg { echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
406764ce7165Smrgecho $ECHO_N "checking if IPv6 support should be built... $ECHO_C" >&6; }
406864ce7165Smrg if test "$IPV6CONN" = "yes"; then
406964ce7165Smrg
407064ce7165Smrgcat >>confdefs.h <<\_ACEOF
407164ce7165Smrg#define IPv6 1
407264ce7165Smrg_ACEOF
407364ce7165Smrg
407464ce7165Smrg fi
407564ce7165Smrg { echo "$as_me:$LINENO: result: $IPV6CONN" >&5
407664ce7165Smrgecho "${ECHO_T}$IPV6CONN" >&6; }
407764ce7165Smrg
407864ce7165Smrg # 4.3BSD-Reno added a new member to struct sockaddr_in
407964ce7165Smrg { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
408064ce7165Smrgecho $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
408164ce7165Smrgif test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
408264ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
408364ce7165Smrgelse
408464ce7165Smrg  cat >conftest.$ac_ext <<_ACEOF
408564ce7165Smrg/* confdefs.h.  */
408664ce7165Smrg_ACEOF
408764ce7165Smrgcat confdefs.h >>conftest.$ac_ext
408864ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
408964ce7165Smrg/* end confdefs.h.  */
409064ce7165Smrg
409164ce7165Smrg#include <sys/types.h>
409264ce7165Smrg#include <sys/socket.h>
409364ce7165Smrg#include <netinet/in.h>
409464ce7165Smrg
409564ce7165Smrg
409664ce7165Smrgint
409764ce7165Smrgmain ()
409864ce7165Smrg{
409964ce7165Smrgstatic struct sockaddr_in ac_aggr;
410064ce7165Smrgif (ac_aggr.sin_len)
410164ce7165Smrgreturn 0;
410264ce7165Smrg  ;
410364ce7165Smrg  return 0;
410464ce7165Smrg}
410564ce7165Smrg_ACEOF
410664ce7165Smrgrm -f conftest.$ac_objext
410764ce7165Smrgif { (ac_try="$ac_compile"
410864ce7165Smrgcase "(($ac_try" in
410964ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
411064ce7165Smrg  *) ac_try_echo=$ac_try;;
411164ce7165Smrgesac
411264ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
411364ce7165Smrg  (eval "$ac_compile") 2>conftest.er1
411464ce7165Smrg  ac_status=$?
411564ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
411664ce7165Smrg  rm -f conftest.er1
411764ce7165Smrg  cat conftest.err >&5
411864ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
411964ce7165Smrg  (exit $ac_status); } && {
412064ce7165Smrg	 test -z "$ac_c_werror_flag" ||
412164ce7165Smrg	 test ! -s conftest.err
412264ce7165Smrg       } && test -s conftest.$ac_objext; then
412364ce7165Smrg  ac_cv_member_struct_sockaddr_in_sin_len=yes
412464ce7165Smrgelse
412564ce7165Smrg  echo "$as_me: failed program was:" >&5
412664ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
412764ce7165Smrg
412864ce7165Smrg	cat >conftest.$ac_ext <<_ACEOF
412964ce7165Smrg/* confdefs.h.  */
413064ce7165Smrg_ACEOF
413164ce7165Smrgcat confdefs.h >>conftest.$ac_ext
413264ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
413364ce7165Smrg/* end confdefs.h.  */
413464ce7165Smrg
413564ce7165Smrg#include <sys/types.h>
413664ce7165Smrg#include <sys/socket.h>
413764ce7165Smrg#include <netinet/in.h>
413864ce7165Smrg
413964ce7165Smrg
414064ce7165Smrgint
414164ce7165Smrgmain ()
414264ce7165Smrg{
414364ce7165Smrgstatic struct sockaddr_in ac_aggr;
414464ce7165Smrgif (sizeof ac_aggr.sin_len)
414564ce7165Smrgreturn 0;
414664ce7165Smrg  ;
414764ce7165Smrg  return 0;
414864ce7165Smrg}
414964ce7165Smrg_ACEOF
415064ce7165Smrgrm -f conftest.$ac_objext
415164ce7165Smrgif { (ac_try="$ac_compile"
415264ce7165Smrgcase "(($ac_try" in
415364ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
415464ce7165Smrg  *) ac_try_echo=$ac_try;;
415564ce7165Smrgesac
415664ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
415764ce7165Smrg  (eval "$ac_compile") 2>conftest.er1
415864ce7165Smrg  ac_status=$?
415964ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
416064ce7165Smrg  rm -f conftest.er1
416164ce7165Smrg  cat conftest.err >&5
416264ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
416364ce7165Smrg  (exit $ac_status); } && {
416464ce7165Smrg	 test -z "$ac_c_werror_flag" ||
416564ce7165Smrg	 test ! -s conftest.err
416664ce7165Smrg       } && test -s conftest.$ac_objext; then
416764ce7165Smrg  ac_cv_member_struct_sockaddr_in_sin_len=yes
416864ce7165Smrgelse
416964ce7165Smrg  echo "$as_me: failed program was:" >&5
417064ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
417164ce7165Smrg
417264ce7165Smrg	ac_cv_member_struct_sockaddr_in_sin_len=no
417364ce7165Smrgfi
417464ce7165Smrg
417564ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
417664ce7165Smrgfi
417764ce7165Smrg
417864ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
417964ce7165Smrgfi
418064ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
418164ce7165Smrgecho "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
418264ce7165Smrgif test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
418364ce7165Smrg
418464ce7165Smrgcat >>confdefs.h <<\_ACEOF
418564ce7165Smrg#define BSD44SOCKETS 1
418664ce7165Smrg_ACEOF
418764ce7165Smrg
418864ce7165Smrgfi
418964ce7165Smrg
419064ce7165Smrg
419164ce7165Smrg fi
419264ce7165Smrg case $host_os in
419364ce7165Smrg	solaris*|sco*|sysv4*)	localdef="yes" ;;
419464ce7165Smrg	*)			localdef="no"  ;;
419564ce7165Smrg esac
419664ce7165Smrg # Check whether --enable-local-transport was given.
419764ce7165Smrgif test "${enable_local_transport+set}" = set; then
419864ce7165Smrg  enableval=$enable_local_transport; LOCALCONN=$enableval
419964ce7165Smrgelse
420064ce7165Smrg  LOCALCONN=$localdef
420164ce7165Smrgfi
420264ce7165Smrg
420364ce7165Smrg { echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
420464ce7165Smrgecho $ECHO_N "checking if Xtrans should support os-specific local connections... $ECHO_C" >&6; }
420564ce7165Smrg { echo "$as_me:$LINENO: result: $LOCALCONN" >&5
420664ce7165Smrgecho "${ECHO_T}$LOCALCONN" >&6; }
420764ce7165Smrg if test "$LOCALCONN" = "yes"; then
420864ce7165Smrg
420964ce7165Smrgcat >>confdefs.h <<\_ACEOF
421064ce7165Smrg#define LOCALCONN 1
421164ce7165Smrg_ACEOF
421264ce7165Smrg
421364ce7165Smrg fi
421464ce7165Smrg
421564ce7165Smrg
421664ce7165Smrg
421764ce7165Smrg# Secure RPC detection macro from xtrans.m4
421864ce7165Smrg
421964ce7165Smrg # Check whether --enable-secure-rpc was given.
422064ce7165Smrgif test "${enable_secure_rpc+set}" = set; then
422164ce7165Smrg  enableval=$enable_secure_rpc; SECURE_RPC=$enableval
422264ce7165Smrgelse
422364ce7165Smrg  SECURE_RPC="try"
422464ce7165Smrgfi
422564ce7165Smrg
422664ce7165Smrg
422764ce7165Smrg if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
422864ce7165Smrg	FOUND_SECURE_RPC="no"
422964ce7165Smrg
423064ce7165Smrg
423164ce7165Smrgfor ac_func in authdes_seccreate authdes_create
423264ce7165Smrgdo
423364ce7165Smrgas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
423464ce7165Smrg{ echo "$as_me:$LINENO: checking for $ac_func" >&5
423564ce7165Smrgecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
423664ce7165Smrgif { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
423764ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
423864ce7165Smrgelse
423964ce7165Smrg  cat >conftest.$ac_ext <<_ACEOF
424064ce7165Smrg/* confdefs.h.  */
424164ce7165Smrg_ACEOF
424264ce7165Smrgcat confdefs.h >>conftest.$ac_ext
424364ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
424464ce7165Smrg/* end confdefs.h.  */
424564ce7165Smrg/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
424664ce7165Smrg   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
424764ce7165Smrg#define $ac_func innocuous_$ac_func
424864ce7165Smrg
424964ce7165Smrg/* System header to define __stub macros and hopefully few prototypes,
425064ce7165Smrg    which can conflict with char $ac_func (); below.
425164ce7165Smrg    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
425264ce7165Smrg    <limits.h> exists even on freestanding compilers.  */
425364ce7165Smrg
425464ce7165Smrg#ifdef __STDC__
425564ce7165Smrg# include <limits.h>
425664ce7165Smrg#else
425764ce7165Smrg# include <assert.h>
425864ce7165Smrg#endif
425964ce7165Smrg
426064ce7165Smrg#undef $ac_func
426164ce7165Smrg
426264ce7165Smrg/* Override any GCC internal prototype to avoid an error.
426364ce7165Smrg   Use char because int might match the return type of a GCC
426464ce7165Smrg   builtin and then its argument prototype would still apply.  */
426564ce7165Smrg#ifdef __cplusplus
426664ce7165Smrgextern "C"
426764ce7165Smrg#endif
426864ce7165Smrgchar $ac_func ();
426964ce7165Smrg/* The GNU C library defines this for functions which it implements
427064ce7165Smrg    to always fail with ENOSYS.  Some functions are actually named
427164ce7165Smrg    something starting with __ and the normal name is an alias.  */
427264ce7165Smrg#if defined __stub_$ac_func || defined __stub___$ac_func
427364ce7165Smrgchoke me
427464ce7165Smrg#endif
427564ce7165Smrg
427664ce7165Smrgint
427764ce7165Smrgmain ()
427864ce7165Smrg{
427964ce7165Smrgreturn $ac_func ();
428064ce7165Smrg  ;
428164ce7165Smrg  return 0;
428264ce7165Smrg}
428364ce7165Smrg_ACEOF
428464ce7165Smrgrm -f conftest.$ac_objext conftest$ac_exeext
428564ce7165Smrgif { (ac_try="$ac_link"
428664ce7165Smrgcase "(($ac_try" in
428764ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
428864ce7165Smrg  *) ac_try_echo=$ac_try;;
428964ce7165Smrgesac
429064ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
429164ce7165Smrg  (eval "$ac_link") 2>conftest.er1
429264ce7165Smrg  ac_status=$?
429364ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
429464ce7165Smrg  rm -f conftest.er1
429564ce7165Smrg  cat conftest.err >&5
429664ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
429764ce7165Smrg  (exit $ac_status); } && {
429864ce7165Smrg	 test -z "$ac_c_werror_flag" ||
429964ce7165Smrg	 test ! -s conftest.err
430064ce7165Smrg       } && test -s conftest$ac_exeext &&
430164ce7165Smrg       $as_test_x conftest$ac_exeext; then
430264ce7165Smrg  eval "$as_ac_var=yes"
430364ce7165Smrgelse
430464ce7165Smrg  echo "$as_me: failed program was:" >&5
430564ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
430664ce7165Smrg
430764ce7165Smrg	eval "$as_ac_var=no"
430864ce7165Smrgfi
430964ce7165Smrg
431064ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
431164ce7165Smrg      conftest$ac_exeext conftest.$ac_ext
431264ce7165Smrgfi
431364ce7165Smrgac_res=`eval echo '${'$as_ac_var'}'`
431464ce7165Smrg	       { echo "$as_me:$LINENO: result: $ac_res" >&5
431564ce7165Smrgecho "${ECHO_T}$ac_res" >&6; }
431664ce7165Smrgif test `eval echo '${'$as_ac_var'}'` = yes; then
431764ce7165Smrg  cat >>confdefs.h <<_ACEOF
431864ce7165Smrg#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
431964ce7165Smrg_ACEOF
432064ce7165Smrg FOUND_SECURE_RPC="yes"
432164ce7165Smrgfi
432264ce7165Smrgdone
432364ce7165Smrg
432464ce7165Smrg	if test "x$FOUND_SECURE_RPC" = "xno" ; then
432564ce7165Smrg		if test "x$SECURE_RPC" = "xyes" ; then
432664ce7165Smrg	{ { echo "$as_me:$LINENO: error: Secure RPC requested, but required functions not found" >&5
432764ce7165Smrgecho "$as_me: error: Secure RPC requested, but required functions not found" >&2;}
432864ce7165Smrg   { (exit 1); exit 1; }; }
432964ce7165Smrg		fi
433064ce7165Smrg		SECURE_RPC="no"
433164ce7165Smrg	else
433264ce7165Smrg				{ echo "$as_me:$LINENO: checking for library containing getsecretkey" >&5
433364ce7165Smrgecho $ECHO_N "checking for library containing getsecretkey... $ECHO_C" >&6; }
433464ce7165Smrgif test "${ac_cv_search_getsecretkey+set}" = set; then
433564ce7165Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
433664ce7165Smrgelse
433764ce7165Smrg  ac_func_search_save_LIBS=$LIBS
433864ce7165Smrgcat >conftest.$ac_ext <<_ACEOF
433964ce7165Smrg/* confdefs.h.  */
434064ce7165Smrg_ACEOF
434164ce7165Smrgcat confdefs.h >>conftest.$ac_ext
434264ce7165Smrgcat >>conftest.$ac_ext <<_ACEOF
434364ce7165Smrg/* end confdefs.h.  */
434464ce7165Smrg
434564ce7165Smrg/* Override any GCC internal prototype to avoid an error.
434664ce7165Smrg   Use char because int might match the return type of a GCC
434764ce7165Smrg   builtin and then its argument prototype would still apply.  */
434864ce7165Smrg#ifdef __cplusplus
434964ce7165Smrgextern "C"
435064ce7165Smrg#endif
435164ce7165Smrgchar getsecretkey ();
435264ce7165Smrgint
435364ce7165Smrgmain ()
435464ce7165Smrg{
435564ce7165Smrgreturn getsecretkey ();
435664ce7165Smrg  ;
435764ce7165Smrg  return 0;
435864ce7165Smrg}
435964ce7165Smrg_ACEOF
436064ce7165Smrgfor ac_lib in '' rpcsvc; do
436164ce7165Smrg  if test -z "$ac_lib"; then
436264ce7165Smrg    ac_res="none required"
436364ce7165Smrg  else
436464ce7165Smrg    ac_res=-l$ac_lib
436564ce7165Smrg    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
436664ce7165Smrg  fi
436764ce7165Smrg  rm -f conftest.$ac_objext conftest$ac_exeext
436864ce7165Smrgif { (ac_try="$ac_link"
436964ce7165Smrgcase "(($ac_try" in
437064ce7165Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
437164ce7165Smrg  *) ac_try_echo=$ac_try;;
437264ce7165Smrgesac
437364ce7165Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
437464ce7165Smrg  (eval "$ac_link") 2>conftest.er1
437564ce7165Smrg  ac_status=$?
437664ce7165Smrg  grep -v '^ *+' conftest.er1 >conftest.err
437764ce7165Smrg  rm -f conftest.er1
437864ce7165Smrg  cat conftest.err >&5
437964ce7165Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
438064ce7165Smrg  (exit $ac_status); } && {
438164ce7165Smrg	 test -z "$ac_c_werror_flag" ||
438264ce7165Smrg	 test ! -s conftest.err
438364ce7165Smrg       } && test -s conftest$ac_exeext &&
438464ce7165Smrg       $as_test_x conftest$ac_exeext; then
438564ce7165Smrg  ac_cv_search_getsecretkey=$ac_res
438664ce7165Smrgelse
438764ce7165Smrg  echo "$as_me: failed program was:" >&5
438864ce7165Smrgsed 's/^/| /' conftest.$ac_ext >&5
438964ce7165Smrg
439064ce7165Smrg
439164ce7165Smrgfi
439264ce7165Smrg
439364ce7165Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
439464ce7165Smrg      conftest$ac_exeext
439564ce7165Smrg  if test "${ac_cv_search_getsecretkey+set}" = set; then
439664ce7165Smrg  break
439764ce7165Smrgfi
439864ce7165Smrgdone
439964ce7165Smrgif test "${ac_cv_search_getsecretkey+set}" = set; then
440064ce7165Smrg  :
440164ce7165Smrgelse
440264ce7165Smrg  ac_cv_search_getsecretkey=no
440364ce7165Smrgfi
440464ce7165Smrgrm conftest.$ac_ext
440564ce7165SmrgLIBS=$ac_func_search_save_LIBS
440664ce7165Smrgfi
440764ce7165Smrg{ echo "$as_me:$LINENO: result: $ac_cv_search_getsecretkey" >&5
440864ce7165Smrgecho "${ECHO_T}$ac_cv_search_getsecretkey" >&6; }
440964ce7165Smrgac_res=$ac_cv_search_getsecretkey
441064ce7165Smrgif test "$ac_res" != no; then
441164ce7165Smrg  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
441264ce7165Smrg
441364ce7165Smrgfi
441464ce7165Smrg
441564ce7165Smrg		SECURE_RPC="yes"
441664ce7165Smrg	fi
441764ce7165Smrg fi
441864ce7165Smrg { echo "$as_me:$LINENO: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
441964ce7165Smrgecho $ECHO_N "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... $ECHO_C" >&6; }
442064ce7165Smrg if test "x$SECURE_RPC" = "xyes" ; then
442164ce7165Smrg
442264ce7165Smrgcat >>confdefs.h <<\_ACEOF
442364ce7165Smrg#define SECURE_RPC 1
442464ce7165Smrg_ACEOF
442564ce7165Smrg
442664ce7165Smrg fi
442764ce7165Smrg { echo "$as_me:$LINENO: result: $SECURE_RPC" >&5
442864ce7165Smrgecho "${ECHO_T}$SECURE_RPC" >&6; }
442964ce7165Smrg
443064ce7165Smrg
443164ce7165Smrg
443264ce7165Smrg
443364ce7165Smrg
443464ce7165Smrgif test x$APP_MAN_SUFFIX = x    ; then
443564ce7165Smrg    APP_MAN_SUFFIX=1
443664ce7165Smrgfi
443764ce7165Smrgif test x$APP_MAN_DIR = x    ; then
443864ce7165Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
443964ce7165Smrgfi
444064ce7165Smrg
444164ce7165Smrgif test x$LIB_MAN_SUFFIX = x    ; then
444264ce7165Smrg    LIB_MAN_SUFFIX=3
444364ce7165Smrgfi
444464ce7165Smrgif test x$LIB_MAN_DIR = x    ; then
444564ce7165Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
444664ce7165Smrgfi
444764ce7165Smrg
444864ce7165Smrgif test x$FILE_MAN_SUFFIX = x    ; then
444964ce7165Smrg    case $host_os in
445064ce7165Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
445164ce7165Smrg	*)		FILE_MAN_SUFFIX=5  ;;
445264ce7165Smrg    esac
445364ce7165Smrgfi
445464ce7165Smrgif test x$FILE_MAN_DIR = x    ; then
445564ce7165Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
445664ce7165Smrgfi
445764ce7165Smrg
445864ce7165Smrgif test x$MISC_MAN_SUFFIX = x    ; then
445964ce7165Smrg    case $host_os in
446064ce7165Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
446164ce7165Smrg	*)		MISC_MAN_SUFFIX=7  ;;
446264ce7165Smrg    esac
446364ce7165Smrgfi
446464ce7165Smrgif test x$MISC_MAN_DIR = x    ; then
446564ce7165Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
446664ce7165Smrgfi
446764ce7165Smrg
446864ce7165Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
446964ce7165Smrg    case $host_os in
447064ce7165Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
447164ce7165Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
447264ce7165Smrg    esac
447364ce7165Smrgfi
447464ce7165Smrgif test x$DRIVER_MAN_DIR = x    ; then
447564ce7165Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
447664ce7165Smrgfi
447764ce7165Smrg
447864ce7165Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
447964ce7165Smrg    case $host_os in
448064ce7165Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
448164ce7165Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
448264ce7165Smrg    esac
448364ce7165Smrgfi
448464ce7165Smrgif test x$ADMIN_MAN_DIR = x    ; then
448564ce7165Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
448664ce7165Smrgfi
448764ce7165Smrg
448864ce7165Smrg
448964ce7165Smrg
449064ce7165Smrg
449164ce7165Smrg
449264ce7165Smrg
449364ce7165Smrg
449464ce7165Smrg
449564ce7165Smrg
449664ce7165Smrg
449764ce7165Smrg
449864ce7165Smrg
449964ce7165Smrg
450064ce7165Smrg
450164ce7165Smrg
450264ce7165Smrg
450364ce7165Smrg
450464ce7165Smrg# Check whether --with-release-version was given.
450564ce7165Smrgif test "${with_release_version+set}" = set; then
450664ce7165Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
450764ce7165Smrgelse
450864ce7165Smrg  RELEASE_VERSION=""
450964ce7165Smrgfi
451064ce7165Smrg
451164ce7165Smrg	if test "x$RELEASE_VERSION" != "x"; then
451264ce7165Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
451364ce7165Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
451464ce7165Smrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
451564ce7165Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
451664ce7165Smrg	fi
451764ce7165Smrg
451864ce7165Smrgcat >>confdefs.h <<_ACEOF
451964ce7165Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
452064ce7165Smrg_ACEOF
452164ce7165Smrg
452264ce7165Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
452364ce7165Smrg	if test "x$PVM" = "x"; then
452464ce7165Smrg		PVM="0"
452564ce7165Smrg	fi
452664ce7165Smrg
452764ce7165Smrgcat >>confdefs.h <<_ACEOF
452864ce7165Smrg#define PACKAGE_VERSION_MINOR $PVM
452964ce7165Smrg_ACEOF
453064ce7165Smrg
453164ce7165Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
453264ce7165Smrg	if test "x$PVP" = "x"; then
453364ce7165Smrg		PVP="0"
453464ce7165Smrg	fi
453564ce7165Smrg
453664ce7165Smrgcat >>confdefs.h <<_ACEOF
453764ce7165Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
453864ce7165Smrg_ACEOF
453964ce7165Smrg
454064ce7165Smrg
454164ce7165Smrg
454264ce7165Smrgac_config_files="$ac_config_files Makefile"
454364ce7165Smrg
454464ce7165Smrgcat >confcache <<\_ACEOF
454564ce7165Smrg# This file is a shell script that caches the results of configure
454664ce7165Smrg# tests run on this system so they can be shared between configure
454764ce7165Smrg# scripts and configure runs, see configure's option --config-cache.
454864ce7165Smrg# It is not useful on other systems.  If it contains results you don't
454964ce7165Smrg# want to keep, you may remove or edit it.
455064ce7165Smrg#
455164ce7165Smrg# config.status only pays attention to the cache file if you give it
455264ce7165Smrg# the --recheck option to rerun configure.
455364ce7165Smrg#
455464ce7165Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
455564ce7165Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
455664ce7165Smrg# following values.
455764ce7165Smrg
455864ce7165Smrg_ACEOF
455964ce7165Smrg
456064ce7165Smrg# The following way of writing the cache mishandles newlines in values,
456164ce7165Smrg# but we know of no workaround that is simple, portable, and efficient.
456264ce7165Smrg# So, we kill variables containing newlines.
456364ce7165Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
456464ce7165Smrg# and sets the high bit in the cache file unless we assign to the vars.
456564ce7165Smrg(
456664ce7165Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
456764ce7165Smrg    eval ac_val=\$$ac_var
456864ce7165Smrg    case $ac_val in #(
456964ce7165Smrg    *${as_nl}*)
457064ce7165Smrg      case $ac_var in #(
457164ce7165Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
457264ce7165Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
457364ce7165Smrg      esac
457464ce7165Smrg      case $ac_var in #(
457564ce7165Smrg      _ | IFS | as_nl) ;; #(
457664ce7165Smrg      *) $as_unset $ac_var ;;
457764ce7165Smrg      esac ;;
457864ce7165Smrg    esac
457964ce7165Smrg  done
458064ce7165Smrg
458164ce7165Smrg  (set) 2>&1 |
458264ce7165Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
458364ce7165Smrg    *${as_nl}ac_space=\ *)
458464ce7165Smrg      # `set' does not quote correctly, so add quotes (double-quote
458564ce7165Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
458664ce7165Smrg      sed -n \
458764ce7165Smrg	"s/'/'\\\\''/g;
458864ce7165Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
458964ce7165Smrg      ;; #(
459064ce7165Smrg    *)
459164ce7165Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
459264ce7165Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
459364ce7165Smrg      ;;
459464ce7165Smrg    esac |
459564ce7165Smrg    sort
459664ce7165Smrg) |
459764ce7165Smrg  sed '
459864ce7165Smrg     /^ac_cv_env_/b end
459964ce7165Smrg     t clear
460064ce7165Smrg     :clear
460164ce7165Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
460264ce7165Smrg     t end
460364ce7165Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
460464ce7165Smrg     :end' >>confcache
460564ce7165Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
460664ce7165Smrg  if test -w "$cache_file"; then
460764ce7165Smrg    test "x$cache_file" != "x/dev/null" &&
460864ce7165Smrg      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
460964ce7165Smrgecho "$as_me: updating cache $cache_file" >&6;}
461064ce7165Smrg    cat confcache >$cache_file
461164ce7165Smrg  else
461264ce7165Smrg    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
461364ce7165Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;}
461464ce7165Smrg  fi
461564ce7165Smrgfi
461664ce7165Smrgrm -f confcache
461764ce7165Smrg
461864ce7165Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
461964ce7165Smrg# Let make expand exec_prefix.
462064ce7165Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
462164ce7165Smrg
462264ce7165SmrgDEFS=-DHAVE_CONFIG_H
462364ce7165Smrg
462464ce7165Smrgac_libobjs=
462564ce7165Smrgac_ltlibobjs=
462664ce7165Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
462764ce7165Smrg  # 1. Remove the extension, and $U if already installed.
462864ce7165Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
462964ce7165Smrg  ac_i=`echo "$ac_i" | sed "$ac_script"`
463064ce7165Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
463164ce7165Smrg  #    will be set to the directory where LIBOBJS objects are built.
463264ce7165Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
463364ce7165Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
463464ce7165Smrgdone
463564ce7165SmrgLIBOBJS=$ac_libobjs
463664ce7165Smrg
463764ce7165SmrgLTLIBOBJS=$ac_ltlibobjs
463864ce7165Smrg
463964ce7165Smrg
464064ce7165Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
464164ce7165Smrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
464264ce7165SmrgUsually this means the macro was only invoked conditionally." >&5
464364ce7165Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
464464ce7165SmrgUsually this means the macro was only invoked conditionally." >&2;}
464564ce7165Smrg   { (exit 1); exit 1; }; }
464664ce7165Smrgfi
464764ce7165Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
464864ce7165Smrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
464964ce7165SmrgUsually this means the macro was only invoked conditionally." >&5
465064ce7165Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
465164ce7165SmrgUsually this means the macro was only invoked conditionally." >&2;}
465264ce7165Smrg   { (exit 1); exit 1; }; }
465364ce7165Smrgfi
465464ce7165Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
465564ce7165Smrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
465664ce7165SmrgUsually this means the macro was only invoked conditionally." >&5
465764ce7165Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
465864ce7165SmrgUsually this means the macro was only invoked conditionally." >&2;}
465964ce7165Smrg   { (exit 1); exit 1; }; }
466064ce7165Smrgfi
466164ce7165Smrg
466264ce7165Smrg: ${CONFIG_STATUS=./config.status}
466364ce7165Smrgac_clean_files_save=$ac_clean_files
466464ce7165Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
466564ce7165Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
466664ce7165Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
466764ce7165Smrgcat >$CONFIG_STATUS <<_ACEOF
466864ce7165Smrg#! $SHELL
466964ce7165Smrg# Generated by $as_me.
467064ce7165Smrg# Run this file to recreate the current configuration.
467164ce7165Smrg# Compiler output produced by configure, useful for debugging
467264ce7165Smrg# configure, is in config.log if it exists.
467364ce7165Smrg
467464ce7165Smrgdebug=false
467564ce7165Smrgac_cs_recheck=false
467664ce7165Smrgac_cs_silent=false
467764ce7165SmrgSHELL=\${CONFIG_SHELL-$SHELL}
467864ce7165Smrg_ACEOF
467964ce7165Smrg
468064ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
468164ce7165Smrg## --------------------- ##
468264ce7165Smrg## M4sh Initialization.  ##
468364ce7165Smrg## --------------------- ##
468464ce7165Smrg
468564ce7165Smrg# Be more Bourne compatible
468664ce7165SmrgDUALCASE=1; export DUALCASE # for MKS sh
468764ce7165Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
468864ce7165Smrg  emulate sh
468964ce7165Smrg  NULLCMD=:
469064ce7165Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
469164ce7165Smrg  # is contrary to our usage.  Disable this feature.
469264ce7165Smrg  alias -g '${1+"$@"}'='"$@"'
469364ce7165Smrg  setopt NO_GLOB_SUBST
469464ce7165Smrgelse
469564ce7165Smrg  case `(set -o) 2>/dev/null` in
469664ce7165Smrg  *posix*) set -o posix ;;
469764ce7165Smrgesac
469864ce7165Smrg
469964ce7165Smrgfi
470064ce7165Smrg
470164ce7165Smrg
470264ce7165Smrg
470364ce7165Smrg
470464ce7165Smrg# PATH needs CR
470564ce7165Smrg# Avoid depending upon Character Ranges.
470664ce7165Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
470764ce7165Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470864ce7165Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
470964ce7165Smrgas_cr_digits='0123456789'
471064ce7165Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
471164ce7165Smrg
471264ce7165Smrg# The user is always right.
471364ce7165Smrgif test "${PATH_SEPARATOR+set}" != set; then
471464ce7165Smrg  echo "#! /bin/sh" >conf$$.sh
471564ce7165Smrg  echo  "exit 0"   >>conf$$.sh
471664ce7165Smrg  chmod +x conf$$.sh
471764ce7165Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
471864ce7165Smrg    PATH_SEPARATOR=';'
471964ce7165Smrg  else
472064ce7165Smrg    PATH_SEPARATOR=:
472164ce7165Smrg  fi
472264ce7165Smrg  rm -f conf$$.sh
472364ce7165Smrgfi
472464ce7165Smrg
472564ce7165Smrg# Support unset when possible.
472664ce7165Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
472764ce7165Smrg  as_unset=unset
472864ce7165Smrgelse
472964ce7165Smrg  as_unset=false
473064ce7165Smrgfi
473164ce7165Smrg
473264ce7165Smrg
473364ce7165Smrg# IFS
473464ce7165Smrg# We need space, tab and new line, in precisely that order.  Quoting is
473564ce7165Smrg# there to prevent editors from complaining about space-tab.
473664ce7165Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
473764ce7165Smrg# splitting by setting IFS to empty value.)
473864ce7165Smrgas_nl='
473964ce7165Smrg'
474064ce7165SmrgIFS=" ""	$as_nl"
474164ce7165Smrg
474264ce7165Smrg# Find who we are.  Look in the path if we contain no directory separator.
474364ce7165Smrgcase $0 in
474464ce7165Smrg  *[\\/]* ) as_myself=$0 ;;
474564ce7165Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
474664ce7165Smrgfor as_dir in $PATH
474764ce7165Smrgdo
474864ce7165Smrg  IFS=$as_save_IFS
474964ce7165Smrg  test -z "$as_dir" && as_dir=.
475064ce7165Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
475164ce7165Smrgdone
475264ce7165SmrgIFS=$as_save_IFS
475364ce7165Smrg
475464ce7165Smrg     ;;
475564ce7165Smrgesac
475664ce7165Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
475764ce7165Smrg# in which case we are not to be found in the path.
475864ce7165Smrgif test "x$as_myself" = x; then
475964ce7165Smrg  as_myself=$0
476064ce7165Smrgfi
476164ce7165Smrgif test ! -f "$as_myself"; then
476264ce7165Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
476364ce7165Smrg  { (exit 1); exit 1; }
476464ce7165Smrgfi
476564ce7165Smrg
476664ce7165Smrg# Work around bugs in pre-3.0 UWIN ksh.
476764ce7165Smrgfor as_var in ENV MAIL MAILPATH
476864ce7165Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
476964ce7165Smrgdone
477064ce7165SmrgPS1='$ '
477164ce7165SmrgPS2='> '
477264ce7165SmrgPS4='+ '
477364ce7165Smrg
477464ce7165Smrg# NLS nuisances.
477564ce7165Smrgfor as_var in \
477664ce7165Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
477764ce7165Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
477864ce7165Smrg  LC_TELEPHONE LC_TIME
477964ce7165Smrgdo
478064ce7165Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
478164ce7165Smrg    eval $as_var=C; export $as_var
478264ce7165Smrg  else
478364ce7165Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
478464ce7165Smrg  fi
478564ce7165Smrgdone
478664ce7165Smrg
478764ce7165Smrg# Required to use basename.
478864ce7165Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
478964ce7165Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
479064ce7165Smrg  as_expr=expr
479164ce7165Smrgelse
479264ce7165Smrg  as_expr=false
479364ce7165Smrgfi
479464ce7165Smrg
479564ce7165Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
479664ce7165Smrg  as_basename=basename
479764ce7165Smrgelse
479864ce7165Smrg  as_basename=false
479964ce7165Smrgfi
480064ce7165Smrg
480164ce7165Smrg
480264ce7165Smrg# Name of the executable.
480364ce7165Smrgas_me=`$as_basename -- "$0" ||
480464ce7165Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
480564ce7165Smrg	 X"$0" : 'X\(//\)$' \| \
480664ce7165Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
480764ce7165Smrgecho X/"$0" |
480864ce7165Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
480964ce7165Smrg	    s//\1/
481064ce7165Smrg	    q
481164ce7165Smrg	  }
481264ce7165Smrg	  /^X\/\(\/\/\)$/{
481364ce7165Smrg	    s//\1/
481464ce7165Smrg	    q
481564ce7165Smrg	  }
481664ce7165Smrg	  /^X\/\(\/\).*/{
481764ce7165Smrg	    s//\1/
481864ce7165Smrg	    q
481964ce7165Smrg	  }
482064ce7165Smrg	  s/.*/./; q'`
482164ce7165Smrg
482264ce7165Smrg# CDPATH.
482364ce7165Smrg$as_unset CDPATH
482464ce7165Smrg
482564ce7165Smrg
482664ce7165Smrg
482764ce7165Smrg  as_lineno_1=$LINENO
482864ce7165Smrg  as_lineno_2=$LINENO
482964ce7165Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
483064ce7165Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
483164ce7165Smrg
483264ce7165Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
483364ce7165Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
483464ce7165Smrg  # line-number line after each line using $LINENO; the second 'sed'
483564ce7165Smrg  # does the real work.  The second script uses 'N' to pair each
483664ce7165Smrg  # line-number line with the line containing $LINENO, and appends
483764ce7165Smrg  # trailing '-' during substitution so that $LINENO is not a special
483864ce7165Smrg  # case at line end.
483964ce7165Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
484064ce7165Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
484164ce7165Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
484264ce7165Smrg  sed -n '
484364ce7165Smrg    p
484464ce7165Smrg    /[$]LINENO/=
484564ce7165Smrg  ' <$as_myself |
484664ce7165Smrg    sed '
484764ce7165Smrg      s/[$]LINENO.*/&-/
484864ce7165Smrg      t lineno
484964ce7165Smrg      b
485064ce7165Smrg      :lineno
485164ce7165Smrg      N
485264ce7165Smrg      :loop
485364ce7165Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485464ce7165Smrg      t loop
485564ce7165Smrg      s/-\n.*//
485664ce7165Smrg    ' >$as_me.lineno &&
485764ce7165Smrg  chmod +x "$as_me.lineno" ||
485864ce7165Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
485964ce7165Smrg   { (exit 1); exit 1; }; }
486064ce7165Smrg
486164ce7165Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
486264ce7165Smrg  # (the dirname of $[0] is not the place where we might find the
486364ce7165Smrg  # original and so on.  Autoconf is especially sensitive to this).
486464ce7165Smrg  . "./$as_me.lineno"
486564ce7165Smrg  # Exit status is that of the last command.
486664ce7165Smrg  exit
486764ce7165Smrg}
486864ce7165Smrg
486964ce7165Smrg
487064ce7165Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487164ce7165Smrg  as_dirname=dirname
487264ce7165Smrgelse
487364ce7165Smrg  as_dirname=false
487464ce7165Smrgfi
487564ce7165Smrg
487664ce7165SmrgECHO_C= ECHO_N= ECHO_T=
487764ce7165Smrgcase `echo -n x` in
487864ce7165Smrg-n*)
487964ce7165Smrg  case `echo 'x\c'` in
488064ce7165Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
488164ce7165Smrg  *)   ECHO_C='\c';;
488264ce7165Smrg  esac;;
488364ce7165Smrg*)
488464ce7165Smrg  ECHO_N='-n';;
488564ce7165Smrgesac
488664ce7165Smrg
488764ce7165Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
488864ce7165Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
488964ce7165Smrg  as_expr=expr
489064ce7165Smrgelse
489164ce7165Smrg  as_expr=false
489264ce7165Smrgfi
489364ce7165Smrg
489464ce7165Smrgrm -f conf$$ conf$$.exe conf$$.file
489564ce7165Smrgif test -d conf$$.dir; then
489664ce7165Smrg  rm -f conf$$.dir/conf$$.file
489764ce7165Smrgelse
489864ce7165Smrg  rm -f conf$$.dir
489964ce7165Smrg  mkdir conf$$.dir
490064ce7165Smrgfi
490164ce7165Smrgecho >conf$$.file
490264ce7165Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
490364ce7165Smrg  as_ln_s='ln -s'
490464ce7165Smrg  # ... but there are two gotchas:
490564ce7165Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
490664ce7165Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490764ce7165Smrg  # In both cases, we have to default to `cp -p'.
490864ce7165Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
490964ce7165Smrg    as_ln_s='cp -p'
491064ce7165Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
491164ce7165Smrg  as_ln_s=ln
491264ce7165Smrgelse
491364ce7165Smrg  as_ln_s='cp -p'
491464ce7165Smrgfi
491564ce7165Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491664ce7165Smrgrmdir conf$$.dir 2>/dev/null
491764ce7165Smrg
491864ce7165Smrgif mkdir -p . 2>/dev/null; then
491964ce7165Smrg  as_mkdir_p=:
492064ce7165Smrgelse
492164ce7165Smrg  test -d ./-p && rmdir ./-p
492264ce7165Smrg  as_mkdir_p=false
492364ce7165Smrgfi
492464ce7165Smrg
492564ce7165Smrgif test -x / >/dev/null 2>&1; then
492664ce7165Smrg  as_test_x='test -x'
492764ce7165Smrgelse
492864ce7165Smrg  if ls -dL / >/dev/null 2>&1; then
492964ce7165Smrg    as_ls_L_option=L
493064ce7165Smrg  else
493164ce7165Smrg    as_ls_L_option=
493264ce7165Smrg  fi
493364ce7165Smrg  as_test_x='
493464ce7165Smrg    eval sh -c '\''
493564ce7165Smrg      if test -d "$1"; then
493664ce7165Smrg        test -d "$1/.";
493764ce7165Smrg      else
493864ce7165Smrg	case $1 in
493964ce7165Smrg        -*)set "./$1";;
494064ce7165Smrg	esac;
494164ce7165Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
494264ce7165Smrg	???[sx]*):;;*)false;;esac;fi
494364ce7165Smrg    '\'' sh
494464ce7165Smrg  '
494564ce7165Smrgfi
494664ce7165Smrgas_executable_p=$as_test_x
494764ce7165Smrg
494864ce7165Smrg# Sed expression to map a string onto a valid CPP name.
494964ce7165Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
495064ce7165Smrg
495164ce7165Smrg# Sed expression to map a string onto a valid variable name.
495264ce7165Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
495364ce7165Smrg
495464ce7165Smrg
495564ce7165Smrgexec 6>&1
495664ce7165Smrg
495764ce7165Smrg# Save the log message, to keep $[0] and so on meaningful, and to
495864ce7165Smrg# report actual input values of CONFIG_FILES etc. instead of their
495964ce7165Smrg# values after options handling.
496064ce7165Smrgac_log="
496164ce7165SmrgThis file was extended by xhost $as_me 1.0.2, which was
496264ce7165Smrggenerated by GNU Autoconf 2.61.  Invocation command line was
496364ce7165Smrg
496464ce7165Smrg  CONFIG_FILES    = $CONFIG_FILES
496564ce7165Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
496664ce7165Smrg  CONFIG_LINKS    = $CONFIG_LINKS
496764ce7165Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
496864ce7165Smrg  $ $0 $@
496964ce7165Smrg
497064ce7165Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
497164ce7165Smrg"
497264ce7165Smrg
497364ce7165Smrg_ACEOF
497464ce7165Smrg
497564ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
497664ce7165Smrg# Files that config.status was made for.
497764ce7165Smrgconfig_files="$ac_config_files"
497864ce7165Smrgconfig_headers="$ac_config_headers"
497964ce7165Smrgconfig_commands="$ac_config_commands"
498064ce7165Smrg
498164ce7165Smrg_ACEOF
498264ce7165Smrg
498364ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
498464ce7165Smrgac_cs_usage="\
498564ce7165Smrg\`$as_me' instantiates files from templates according to the
498664ce7165Smrgcurrent configuration.
498764ce7165Smrg
498864ce7165SmrgUsage: $0 [OPTIONS] [FILE]...
498964ce7165Smrg
499064ce7165Smrg  -h, --help       print this help, then exit
499164ce7165Smrg  -V, --version    print version number and configuration settings, then exit
499264ce7165Smrg  -q, --quiet      do not print progress messages
499364ce7165Smrg  -d, --debug      don't remove temporary files
499464ce7165Smrg      --recheck    update $as_me by reconfiguring in the same conditions
499564ce7165Smrg  --file=FILE[:TEMPLATE]
499664ce7165Smrg		   instantiate the configuration file FILE
499764ce7165Smrg  --header=FILE[:TEMPLATE]
499864ce7165Smrg		   instantiate the configuration header FILE
499964ce7165Smrg
500064ce7165SmrgConfiguration files:
500164ce7165Smrg$config_files
500264ce7165Smrg
500364ce7165SmrgConfiguration headers:
500464ce7165Smrg$config_headers
500564ce7165Smrg
500664ce7165SmrgConfiguration commands:
500764ce7165Smrg$config_commands
500864ce7165Smrg
500964ce7165SmrgReport bugs to <bug-autoconf@gnu.org>."
501064ce7165Smrg
501164ce7165Smrg_ACEOF
501264ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
501364ce7165Smrgac_cs_version="\\
501464ce7165Smrgxhost config.status 1.0.2
501564ce7165Smrgconfigured by $0, generated by GNU Autoconf 2.61,
501664ce7165Smrg  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
501764ce7165Smrg
501864ce7165SmrgCopyright (C) 2006 Free Software Foundation, Inc.
501964ce7165SmrgThis config.status script is free software; the Free Software Foundation
502064ce7165Smrggives unlimited permission to copy, distribute and modify it."
502164ce7165Smrg
502264ce7165Smrgac_pwd='$ac_pwd'
502364ce7165Smrgsrcdir='$srcdir'
502464ce7165SmrgINSTALL='$INSTALL'
502564ce7165SmrgMKDIR_P='$MKDIR_P'
502664ce7165Smrg_ACEOF
502764ce7165Smrg
502864ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
502964ce7165Smrg# If no file are specified by the user, then we need to provide default
503064ce7165Smrg# value.  By we need to know if files were specified by the user.
503164ce7165Smrgac_need_defaults=:
503264ce7165Smrgwhile test $# != 0
503364ce7165Smrgdo
503464ce7165Smrg  case $1 in
503564ce7165Smrg  --*=*)
503664ce7165Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
503764ce7165Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
503864ce7165Smrg    ac_shift=:
503964ce7165Smrg    ;;
504064ce7165Smrg  *)
504164ce7165Smrg    ac_option=$1
504264ce7165Smrg    ac_optarg=$2
504364ce7165Smrg    ac_shift=shift
504464ce7165Smrg    ;;
504564ce7165Smrg  esac
504664ce7165Smrg
504764ce7165Smrg  case $ac_option in
504864ce7165Smrg  # Handling of the options.
504964ce7165Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
505064ce7165Smrg    ac_cs_recheck=: ;;
505164ce7165Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
505264ce7165Smrg    echo "$ac_cs_version"; exit ;;
505364ce7165Smrg  --debug | --debu | --deb | --de | --d | -d )
505464ce7165Smrg    debug=: ;;
505564ce7165Smrg  --file | --fil | --fi | --f )
505664ce7165Smrg    $ac_shift
505764ce7165Smrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
505864ce7165Smrg    ac_need_defaults=false;;
505964ce7165Smrg  --header | --heade | --head | --hea )
506064ce7165Smrg    $ac_shift
506164ce7165Smrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
506264ce7165Smrg    ac_need_defaults=false;;
506364ce7165Smrg  --he | --h)
506464ce7165Smrg    # Conflict between --help and --header
506564ce7165Smrg    { echo "$as_me: error: ambiguous option: $1
506664ce7165SmrgTry \`$0 --help' for more information." >&2
506764ce7165Smrg   { (exit 1); exit 1; }; };;
506864ce7165Smrg  --help | --hel | -h )
506964ce7165Smrg    echo "$ac_cs_usage"; exit ;;
507064ce7165Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
507164ce7165Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
507264ce7165Smrg    ac_cs_silent=: ;;
507364ce7165Smrg
507464ce7165Smrg  # This is an error.
507564ce7165Smrg  -*) { echo "$as_me: error: unrecognized option: $1
507664ce7165SmrgTry \`$0 --help' for more information." >&2
507764ce7165Smrg   { (exit 1); exit 1; }; } ;;
507864ce7165Smrg
507964ce7165Smrg  *) ac_config_targets="$ac_config_targets $1"
508064ce7165Smrg     ac_need_defaults=false ;;
508164ce7165Smrg
508264ce7165Smrg  esac
508364ce7165Smrg  shift
508464ce7165Smrgdone
508564ce7165Smrg
508664ce7165Smrgac_configure_extra_args=
508764ce7165Smrg
508864ce7165Smrgif $ac_cs_silent; then
508964ce7165Smrg  exec 6>/dev/null
509064ce7165Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
509164ce7165Smrgfi
509264ce7165Smrg
509364ce7165Smrg_ACEOF
509464ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
509564ce7165Smrgif \$ac_cs_recheck; then
509664ce7165Smrg  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
509764ce7165Smrg  CONFIG_SHELL=$SHELL
509864ce7165Smrg  export CONFIG_SHELL
509964ce7165Smrg  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
510064ce7165Smrgfi
510164ce7165Smrg
510264ce7165Smrg_ACEOF
510364ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
510464ce7165Smrgexec 5>>config.log
510564ce7165Smrg{
510664ce7165Smrg  echo
510764ce7165Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
510864ce7165Smrg## Running $as_me. ##
510964ce7165Smrg_ASBOX
511064ce7165Smrg  echo "$ac_log"
511164ce7165Smrg} >&5
511264ce7165Smrg
511364ce7165Smrg_ACEOF
511464ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
511564ce7165Smrg#
511664ce7165Smrg# INIT-COMMANDS
511764ce7165Smrg#
511864ce7165SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
511964ce7165Smrg
512064ce7165Smrg_ACEOF
512164ce7165Smrg
512264ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
512364ce7165Smrg
512464ce7165Smrg# Handling of arguments.
512564ce7165Smrgfor ac_config_target in $ac_config_targets
512664ce7165Smrgdo
512764ce7165Smrg  case $ac_config_target in
512864ce7165Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
512964ce7165Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
513064ce7165Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
513164ce7165Smrg
513264ce7165Smrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
513364ce7165Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
513464ce7165Smrg   { (exit 1); exit 1; }; };;
513564ce7165Smrg  esac
513664ce7165Smrgdone
513764ce7165Smrg
513864ce7165Smrg
513964ce7165Smrg# If the user did not use the arguments to specify the items to instantiate,
514064ce7165Smrg# then the envvar interface is used.  Set only those that are not.
514164ce7165Smrg# We use the long form for the default assignment because of an extremely
514264ce7165Smrg# bizarre bug on SunOS 4.1.3.
514364ce7165Smrgif $ac_need_defaults; then
514464ce7165Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
514564ce7165Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
514664ce7165Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
514764ce7165Smrgfi
514864ce7165Smrg
514964ce7165Smrg# Have a temporary directory for convenience.  Make it in the build tree
515064ce7165Smrg# simply because there is no reason against having it here, and in addition,
515164ce7165Smrg# creating and moving files from /tmp can sometimes cause problems.
515264ce7165Smrg# Hook for its removal unless debugging.
515364ce7165Smrg# Note that there is a small window in which the directory will not be cleaned:
515464ce7165Smrg# after its creation but before its name has been assigned to `$tmp'.
515564ce7165Smrg$debug ||
515664ce7165Smrg{
515764ce7165Smrg  tmp=
515864ce7165Smrg  trap 'exit_status=$?
515964ce7165Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
516064ce7165Smrg' 0
516164ce7165Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
516264ce7165Smrg}
516364ce7165Smrg# Create a (secure) tmp directory for tmp files.
516464ce7165Smrg
516564ce7165Smrg{
516664ce7165Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
516764ce7165Smrg  test -n "$tmp" && test -d "$tmp"
516864ce7165Smrg}  ||
516964ce7165Smrg{
517064ce7165Smrg  tmp=./conf$$-$RANDOM
517164ce7165Smrg  (umask 077 && mkdir "$tmp")
517264ce7165Smrg} ||
517364ce7165Smrg{
517464ce7165Smrg   echo "$me: cannot create a temporary directory in ." >&2
517564ce7165Smrg   { (exit 1); exit 1; }
517664ce7165Smrg}
517764ce7165Smrg
517864ce7165Smrg#
517964ce7165Smrg# Set up the sed scripts for CONFIG_FILES section.
518064ce7165Smrg#
518164ce7165Smrg
518264ce7165Smrg# No need to generate the scripts if there are no CONFIG_FILES.
518364ce7165Smrg# This happens for instance when ./config.status config.h
518464ce7165Smrgif test -n "$CONFIG_FILES"; then
518564ce7165Smrg
518664ce7165Smrg_ACEOF
518764ce7165Smrg
518864ce7165Smrg
518964ce7165Smrg
519064ce7165Smrgac_delim='%!_!# '
519164ce7165Smrgfor ac_last_try in false false false false false :; do
519264ce7165Smrg  cat >conf$$subs.sed <<_ACEOF
519364ce7165SmrgSHELL!$SHELL$ac_delim
519464ce7165SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
519564ce7165SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim
519664ce7165SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
519764ce7165SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
519864ce7165SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim
519964ce7165SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
520064ce7165Smrgexec_prefix!$exec_prefix$ac_delim
520164ce7165Smrgprefix!$prefix$ac_delim
520264ce7165Smrgprogram_transform_name!$program_transform_name$ac_delim
520364ce7165Smrgbindir!$bindir$ac_delim
520464ce7165Smrgsbindir!$sbindir$ac_delim
520564ce7165Smrglibexecdir!$libexecdir$ac_delim
520664ce7165Smrgdatarootdir!$datarootdir$ac_delim
520764ce7165Smrgdatadir!$datadir$ac_delim
520864ce7165Smrgsysconfdir!$sysconfdir$ac_delim
520964ce7165Smrgsharedstatedir!$sharedstatedir$ac_delim
521064ce7165Smrglocalstatedir!$localstatedir$ac_delim
521164ce7165Smrgincludedir!$includedir$ac_delim
521264ce7165Smrgoldincludedir!$oldincludedir$ac_delim
521364ce7165Smrgdocdir!$docdir$ac_delim
521464ce7165Smrginfodir!$infodir$ac_delim
521564ce7165Smrghtmldir!$htmldir$ac_delim
521664ce7165Smrgdvidir!$dvidir$ac_delim
521764ce7165Smrgpdfdir!$pdfdir$ac_delim
521864ce7165Smrgpsdir!$psdir$ac_delim
521964ce7165Smrglibdir!$libdir$ac_delim
522064ce7165Smrglocaledir!$localedir$ac_delim
522164ce7165Smrgmandir!$mandir$ac_delim
522264ce7165SmrgDEFS!$DEFS$ac_delim
522364ce7165SmrgECHO_C!$ECHO_C$ac_delim
522464ce7165SmrgECHO_N!$ECHO_N$ac_delim
522564ce7165SmrgECHO_T!$ECHO_T$ac_delim
522664ce7165SmrgLIBS!$LIBS$ac_delim
522764ce7165Smrgbuild_alias!$build_alias$ac_delim
522864ce7165Smrghost_alias!$host_alias$ac_delim
522964ce7165Smrgtarget_alias!$target_alias$ac_delim
523064ce7165SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
523164ce7165SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
523264ce7165SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim
523364ce7165Smrgam__isrc!$am__isrc$ac_delim
523464ce7165SmrgCYGPATH_W!$CYGPATH_W$ac_delim
523564ce7165SmrgPACKAGE!$PACKAGE$ac_delim
523664ce7165SmrgVERSION!$VERSION$ac_delim
523764ce7165SmrgACLOCAL!$ACLOCAL$ac_delim
523864ce7165SmrgAUTOCONF!$AUTOCONF$ac_delim
523964ce7165SmrgAUTOMAKE!$AUTOMAKE$ac_delim
524064ce7165SmrgAUTOHEADER!$AUTOHEADER$ac_delim
524164ce7165SmrgMAKEINFO!$MAKEINFO$ac_delim
524264ce7165Smrginstall_sh!$install_sh$ac_delim
524364ce7165SmrgSTRIP!$STRIP$ac_delim
524464ce7165SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
524564ce7165Smrgmkdir_p!$mkdir_p$ac_delim
524664ce7165SmrgAWK!$AWK$ac_delim
524764ce7165SmrgSET_MAKE!$SET_MAKE$ac_delim
524864ce7165Smrgam__leading_dot!$am__leading_dot$ac_delim
524964ce7165SmrgAMTAR!$AMTAR$ac_delim
525064ce7165Smrgam__tar!$am__tar$ac_delim
525164ce7165Smrgam__untar!$am__untar$ac_delim
525264ce7165SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
525364ce7165SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
525464ce7165SmrgMAINT!$MAINT$ac_delim
525564ce7165SmrgCC!$CC$ac_delim
525664ce7165SmrgCFLAGS!$CFLAGS$ac_delim
525764ce7165SmrgLDFLAGS!$LDFLAGS$ac_delim
525864ce7165SmrgCPPFLAGS!$CPPFLAGS$ac_delim
525964ce7165Smrgac_ct_CC!$ac_ct_CC$ac_delim
526064ce7165SmrgEXEEXT!$EXEEXT$ac_delim
526164ce7165SmrgOBJEXT!$OBJEXT$ac_delim
526264ce7165SmrgDEPDIR!$DEPDIR$ac_delim
526364ce7165Smrgam__include!$am__include$ac_delim
526464ce7165Smrgam__quote!$am__quote$ac_delim
526564ce7165SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim
526664ce7165SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim
526764ce7165SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
526864ce7165SmrgCCDEPMODE!$CCDEPMODE$ac_delim
526964ce7165Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
527064ce7165Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
527164ce7165SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim
527264ce7165SmrgXHOST_CFLAGS!$XHOST_CFLAGS$ac_delim
527364ce7165SmrgXHOST_LIBS!$XHOST_LIBS$ac_delim
527464ce7165Smrgbuild!$build$ac_delim
527564ce7165Smrgbuild_cpu!$build_cpu$ac_delim
527664ce7165Smrgbuild_vendor!$build_vendor$ac_delim
527764ce7165Smrgbuild_os!$build_os$ac_delim
527864ce7165Smrghost!$host$ac_delim
527964ce7165Smrghost_cpu!$host_cpu$ac_delim
528064ce7165Smrghost_vendor!$host_vendor$ac_delim
528164ce7165Smrghost_os!$host_os$ac_delim
528264ce7165SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
528364ce7165SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
528464ce7165SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
528564ce7165SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
528664ce7165SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
528764ce7165SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
528864ce7165SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim
528964ce7165SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
529064ce7165Smrg_ACEOF
529164ce7165Smrg
529264ce7165Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
529364ce7165Smrg    break
529464ce7165Smrg  elif $ac_last_try; then
529564ce7165Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
529664ce7165Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
529764ce7165Smrg   { (exit 1); exit 1; }; }
529864ce7165Smrg  else
529964ce7165Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
530064ce7165Smrg  fi
530164ce7165Smrgdone
530264ce7165Smrg
530364ce7165Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
530464ce7165Smrgif test -n "$ac_eof"; then
530564ce7165Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
530664ce7165Smrg  ac_eof=`expr $ac_eof + 1`
530764ce7165Smrgfi
530864ce7165Smrg
530964ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
531064ce7165Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
531164ce7165Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
531264ce7165Smrg_ACEOF
531364ce7165Smrgsed '
531464ce7165Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
531564ce7165Smrgs/^/s,@/; s/!/@,|#_!!_#|/
531664ce7165Smrg:n
531764ce7165Smrgt n
531864ce7165Smrgs/'"$ac_delim"'$/,g/; t
531964ce7165Smrgs/$/\\/; p
532064ce7165SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
532164ce7165Smrg' >>$CONFIG_STATUS <conf$$subs.sed
532264ce7165Smrgrm -f conf$$subs.sed
532364ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
532464ce7165SmrgCEOF$ac_eof
532564ce7165Smrg_ACEOF
532664ce7165Smrg
532764ce7165Smrg
532864ce7165Smrgac_delim='%!_!# '
532964ce7165Smrgfor ac_last_try in false false false false false :; do
533064ce7165Smrg  cat >conf$$subs.sed <<_ACEOF
533164ce7165SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
533264ce7165SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
533364ce7165SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
533464ce7165SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
533564ce7165SmrgLIBOBJS!$LIBOBJS$ac_delim
533664ce7165SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim
533764ce7165Smrg_ACEOF
533864ce7165Smrg
533964ce7165Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
534064ce7165Smrg    break
534164ce7165Smrg  elif $ac_last_try; then
534264ce7165Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
534364ce7165Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
534464ce7165Smrg   { (exit 1); exit 1; }; }
534564ce7165Smrg  else
534664ce7165Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
534764ce7165Smrg  fi
534864ce7165Smrgdone
534964ce7165Smrg
535064ce7165Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
535164ce7165Smrgif test -n "$ac_eof"; then
535264ce7165Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
535364ce7165Smrg  ac_eof=`expr $ac_eof + 1`
535464ce7165Smrgfi
535564ce7165Smrg
535664ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
535764ce7165Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
535864ce7165Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
535964ce7165Smrg_ACEOF
536064ce7165Smrgsed '
536164ce7165Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
536264ce7165Smrgs/^/s,@/; s/!/@,|#_!!_#|/
536364ce7165Smrg:n
536464ce7165Smrgt n
536564ce7165Smrgs/'"$ac_delim"'$/,g/; t
536664ce7165Smrgs/$/\\/; p
536764ce7165SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
536864ce7165Smrg' >>$CONFIG_STATUS <conf$$subs.sed
536964ce7165Smrgrm -f conf$$subs.sed
537064ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
537164ce7165Smrg:end
537264ce7165Smrgs/|#_!!_#|//g
537364ce7165SmrgCEOF$ac_eof
537464ce7165Smrg_ACEOF
537564ce7165Smrg
537664ce7165Smrg
537764ce7165Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
537864ce7165Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
537964ce7165Smrg# trailing colons and then remove the whole line if VPATH becomes empty
538064ce7165Smrg# (actually we leave an empty line to preserve line numbers).
538164ce7165Smrgif test "x$srcdir" = x.; then
538264ce7165Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
538364ce7165Smrgs/:*\$(srcdir):*/:/
538464ce7165Smrgs/:*\${srcdir}:*/:/
538564ce7165Smrgs/:*@srcdir@:*/:/
538664ce7165Smrgs/^\([^=]*=[	 ]*\):*/\1/
538764ce7165Smrgs/:*$//
538864ce7165Smrgs/^[^=]*=[	 ]*$//
538964ce7165Smrg}'
539064ce7165Smrgfi
539164ce7165Smrg
539264ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
539364ce7165Smrgfi # test -n "$CONFIG_FILES"
539464ce7165Smrg
539564ce7165Smrg
539664ce7165Smrgfor ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
539764ce7165Smrgdo
539864ce7165Smrg  case $ac_tag in
539964ce7165Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
540064ce7165Smrg  esac
540164ce7165Smrg  case $ac_mode$ac_tag in
540264ce7165Smrg  :[FHL]*:*);;
540364ce7165Smrg  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
540464ce7165Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;}
540564ce7165Smrg   { (exit 1); exit 1; }; };;
540664ce7165Smrg  :[FH]-) ac_tag=-:-;;
540764ce7165Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
540864ce7165Smrg  esac
540964ce7165Smrg  ac_save_IFS=$IFS
541064ce7165Smrg  IFS=:
541164ce7165Smrg  set x $ac_tag
541264ce7165Smrg  IFS=$ac_save_IFS
541364ce7165Smrg  shift
541464ce7165Smrg  ac_file=$1
541564ce7165Smrg  shift
541664ce7165Smrg
541764ce7165Smrg  case $ac_mode in
541864ce7165Smrg  :L) ac_source=$1;;
541964ce7165Smrg  :[FH])
542064ce7165Smrg    ac_file_inputs=
542164ce7165Smrg    for ac_f
542264ce7165Smrg    do
542364ce7165Smrg      case $ac_f in
542464ce7165Smrg      -) ac_f="$tmp/stdin";;
542564ce7165Smrg      *) # Look for the file first in the build tree, then in the source tree
542664ce7165Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
542764ce7165Smrg	 # because $ac_f cannot contain `:'.
542864ce7165Smrg	 test -f "$ac_f" ||
542964ce7165Smrg	   case $ac_f in
543064ce7165Smrg	   [\\/$]*) false;;
543164ce7165Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
543264ce7165Smrg	   esac ||
543364ce7165Smrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
543464ce7165Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;}
543564ce7165Smrg   { (exit 1); exit 1; }; };;
543664ce7165Smrg      esac
543764ce7165Smrg      ac_file_inputs="$ac_file_inputs $ac_f"
543864ce7165Smrg    done
543964ce7165Smrg
544064ce7165Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
544164ce7165Smrg    # use $as_me), people would be surprised to read:
544264ce7165Smrg    #    /* config.h.  Generated by config.status.  */
544364ce7165Smrg    configure_input="Generated from "`IFS=:
544464ce7165Smrg	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
544564ce7165Smrg    if test x"$ac_file" != x-; then
544664ce7165Smrg      configure_input="$ac_file.  $configure_input"
544764ce7165Smrg      { echo "$as_me:$LINENO: creating $ac_file" >&5
544864ce7165Smrgecho "$as_me: creating $ac_file" >&6;}
544964ce7165Smrg    fi
545064ce7165Smrg
545164ce7165Smrg    case $ac_tag in
545264ce7165Smrg    *:-:* | *:-) cat >"$tmp/stdin";;
545364ce7165Smrg    esac
545464ce7165Smrg    ;;
545564ce7165Smrg  esac
545664ce7165Smrg
545764ce7165Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
545864ce7165Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
545964ce7165Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
546064ce7165Smrg	 X"$ac_file" : 'X\(//\)$' \| \
546164ce7165Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
546264ce7165Smrgecho X"$ac_file" |
546364ce7165Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
546464ce7165Smrg	    s//\1/
546564ce7165Smrg	    q
546664ce7165Smrg	  }
546764ce7165Smrg	  /^X\(\/\/\)[^/].*/{
546864ce7165Smrg	    s//\1/
546964ce7165Smrg	    q
547064ce7165Smrg	  }
547164ce7165Smrg	  /^X\(\/\/\)$/{
547264ce7165Smrg	    s//\1/
547364ce7165Smrg	    q
547464ce7165Smrg	  }
547564ce7165Smrg	  /^X\(\/\).*/{
547664ce7165Smrg	    s//\1/
547764ce7165Smrg	    q
547864ce7165Smrg	  }
547964ce7165Smrg	  s/.*/./; q'`
548064ce7165Smrg  { as_dir="$ac_dir"
548164ce7165Smrg  case $as_dir in #(
548264ce7165Smrg  -*) as_dir=./$as_dir;;
548364ce7165Smrg  esac
548464ce7165Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
548564ce7165Smrg    as_dirs=
548664ce7165Smrg    while :; do
548764ce7165Smrg      case $as_dir in #(
548864ce7165Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
548964ce7165Smrg      *) as_qdir=$as_dir;;
549064ce7165Smrg      esac
549164ce7165Smrg      as_dirs="'$as_qdir' $as_dirs"
549264ce7165Smrg      as_dir=`$as_dirname -- "$as_dir" ||
549364ce7165Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
549464ce7165Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
549564ce7165Smrg	 X"$as_dir" : 'X\(//\)$' \| \
549664ce7165Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
549764ce7165Smrgecho X"$as_dir" |
549864ce7165Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
549964ce7165Smrg	    s//\1/
550064ce7165Smrg	    q
550164ce7165Smrg	  }
550264ce7165Smrg	  /^X\(\/\/\)[^/].*/{
550364ce7165Smrg	    s//\1/
550464ce7165Smrg	    q
550564ce7165Smrg	  }
550664ce7165Smrg	  /^X\(\/\/\)$/{
550764ce7165Smrg	    s//\1/
550864ce7165Smrg	    q
550964ce7165Smrg	  }
551064ce7165Smrg	  /^X\(\/\).*/{
551164ce7165Smrg	    s//\1/
551264ce7165Smrg	    q
551364ce7165Smrg	  }
551464ce7165Smrg	  s/.*/./; q'`
551564ce7165Smrg      test -d "$as_dir" && break
551664ce7165Smrg    done
551764ce7165Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
551864ce7165Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
551964ce7165Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
552064ce7165Smrg   { (exit 1); exit 1; }; }; }
552164ce7165Smrg  ac_builddir=.
552264ce7165Smrg
552364ce7165Smrgcase "$ac_dir" in
552464ce7165Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
552564ce7165Smrg*)
552664ce7165Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
552764ce7165Smrg  # A ".." for each directory in $ac_dir_suffix.
552864ce7165Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
552964ce7165Smrg  case $ac_top_builddir_sub in
553064ce7165Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
553164ce7165Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
553264ce7165Smrg  esac ;;
553364ce7165Smrgesac
553464ce7165Smrgac_abs_top_builddir=$ac_pwd
553564ce7165Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
553664ce7165Smrg# for backward compatibility:
553764ce7165Smrgac_top_builddir=$ac_top_build_prefix
553864ce7165Smrg
553964ce7165Smrgcase $srcdir in
554064ce7165Smrg  .)  # We are building in place.
554164ce7165Smrg    ac_srcdir=.
554264ce7165Smrg    ac_top_srcdir=$ac_top_builddir_sub
554364ce7165Smrg    ac_abs_top_srcdir=$ac_pwd ;;
554464ce7165Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
554564ce7165Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
554664ce7165Smrg    ac_top_srcdir=$srcdir
554764ce7165Smrg    ac_abs_top_srcdir=$srcdir ;;
554864ce7165Smrg  *) # Relative name.
554964ce7165Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
555064ce7165Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
555164ce7165Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
555264ce7165Smrgesac
555364ce7165Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
555464ce7165Smrg
555564ce7165Smrg
555664ce7165Smrg  case $ac_mode in
555764ce7165Smrg  :F)
555864ce7165Smrg  #
555964ce7165Smrg  # CONFIG_FILE
556064ce7165Smrg  #
556164ce7165Smrg
556264ce7165Smrg  case $INSTALL in
556364ce7165Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
556464ce7165Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
556564ce7165Smrg  esac
556664ce7165Smrg  ac_MKDIR_P=$MKDIR_P
556764ce7165Smrg  case $MKDIR_P in
556864ce7165Smrg  [\\/$]* | ?:[\\/]* ) ;;
556964ce7165Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
557064ce7165Smrg  esac
557164ce7165Smrg_ACEOF
557264ce7165Smrg
557364ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
557464ce7165Smrg# If the template does not know about datarootdir, expand it.
557564ce7165Smrg# FIXME: This hack should be removed a few years after 2.60.
557664ce7165Smrgac_datarootdir_hack=; ac_datarootdir_seen=
557764ce7165Smrg
557864ce7165Smrgcase `sed -n '/datarootdir/ {
557964ce7165Smrg  p
558064ce7165Smrg  q
558164ce7165Smrg}
558264ce7165Smrg/@datadir@/p
558364ce7165Smrg/@docdir@/p
558464ce7165Smrg/@infodir@/p
558564ce7165Smrg/@localedir@/p
558664ce7165Smrg/@mandir@/p
558764ce7165Smrg' $ac_file_inputs` in
558864ce7165Smrg*datarootdir*) ac_datarootdir_seen=yes;;
558964ce7165Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
559064ce7165Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
559164ce7165Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
559264ce7165Smrg_ACEOF
559364ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
559464ce7165Smrg  ac_datarootdir_hack='
559564ce7165Smrg  s&@datadir@&$datadir&g
559664ce7165Smrg  s&@docdir@&$docdir&g
559764ce7165Smrg  s&@infodir@&$infodir&g
559864ce7165Smrg  s&@localedir@&$localedir&g
559964ce7165Smrg  s&@mandir@&$mandir&g
560064ce7165Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
560164ce7165Smrgesac
560264ce7165Smrg_ACEOF
560364ce7165Smrg
560464ce7165Smrg# Neutralize VPATH when `$srcdir' = `.'.
560564ce7165Smrg# Shell code in configure.ac might set extrasub.
560664ce7165Smrg# FIXME: do we really want to maintain this feature?
560764ce7165Smrgcat >>$CONFIG_STATUS <<_ACEOF
560864ce7165Smrg  sed "$ac_vpsub
560964ce7165Smrg$extrasub
561064ce7165Smrg_ACEOF
561164ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
561264ce7165Smrg:t
561364ce7165Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
561464ce7165Smrgs&@configure_input@&$configure_input&;t t
561564ce7165Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
561664ce7165Smrgs&@srcdir@&$ac_srcdir&;t t
561764ce7165Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
561864ce7165Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
561964ce7165Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
562064ce7165Smrgs&@builddir@&$ac_builddir&;t t
562164ce7165Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
562264ce7165Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
562364ce7165Smrgs&@INSTALL@&$ac_INSTALL&;t t
562464ce7165Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
562564ce7165Smrg$ac_datarootdir_hack
562664ce7165Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
562764ce7165Smrg
562864ce7165Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
562964ce7165Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
563064ce7165Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
563164ce7165Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
563264ce7165Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
563364ce7165Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
563464ce7165Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
563564ce7165Smrg
563664ce7165Smrg  rm -f "$tmp/stdin"
563764ce7165Smrg  case $ac_file in
563864ce7165Smrg  -) cat "$tmp/out"; rm -f "$tmp/out";;
563964ce7165Smrg  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
564064ce7165Smrg  esac
564164ce7165Smrg ;;
564264ce7165Smrg  :H)
564364ce7165Smrg  #
564464ce7165Smrg  # CONFIG_HEADER
564564ce7165Smrg  #
564664ce7165Smrg_ACEOF
564764ce7165Smrg
564864ce7165Smrg# Transform confdefs.h into a sed script `conftest.defines', that
564964ce7165Smrg# substitutes the proper values into config.h.in to produce config.h.
565064ce7165Smrgrm -f conftest.defines conftest.tail
565164ce7165Smrg# First, append a space to every undef/define line, to ease matching.
565264ce7165Smrgecho 's/$/ /' >conftest.defines
565364ce7165Smrg# Then, protect against being on the right side of a sed subst, or in
565464ce7165Smrg# an unquoted here document, in config.status.  If some macros were
565564ce7165Smrg# called several times there might be several #defines for the same
565664ce7165Smrg# symbol, which is useless.  But do not sort them, since the last
565764ce7165Smrg# AC_DEFINE must be honored.
565864ce7165Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
565964ce7165Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
566064ce7165Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given.
566164ce7165Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's
566264ce7165Smrg# just an empty string.
566364ce7165Smrgac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
566464ce7165Smrgac_dB='\\)[	 (].*,\\1define\\2'
566564ce7165Smrgac_dC=' '
566664ce7165Smrgac_dD=' ,'
566764ce7165Smrg
566864ce7165Smrguniq confdefs.h |
566964ce7165Smrg  sed -n '
567064ce7165Smrg	t rset
567164ce7165Smrg	:rset
567264ce7165Smrg	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
567364ce7165Smrg	t ok
567464ce7165Smrg	d
567564ce7165Smrg	:ok
567664ce7165Smrg	s/[\\&,]/\\&/g
567764ce7165Smrg	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
567864ce7165Smrg	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
567964ce7165Smrg  ' >>conftest.defines
568064ce7165Smrg
568164ce7165Smrg# Remove the space that was appended to ease matching.
568264ce7165Smrg# Then replace #undef with comments.  This is necessary, for
568364ce7165Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required
568464ce7165Smrg# on some systems where configure will not decide to define it.
568564ce7165Smrg# (The regexp can be short, since the line contains either #define or #undef.)
568664ce7165Smrgecho 's/ $//
568764ce7165Smrgs,^[	 #]*u.*,/* & */,' >>conftest.defines
568864ce7165Smrg
568964ce7165Smrg# Break up conftest.defines:
569064ce7165Smrgac_max_sed_lines=50
569164ce7165Smrg
569264ce7165Smrg# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
569364ce7165Smrg# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
569464ce7165Smrg# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
569564ce7165Smrg# et cetera.
569664ce7165Smrgac_in='$ac_file_inputs'
569764ce7165Smrgac_out='"$tmp/out1"'
569864ce7165Smrgac_nxt='"$tmp/out2"'
569964ce7165Smrg
570064ce7165Smrgwhile :
570164ce7165Smrgdo
570264ce7165Smrg  # Write a here document:
570364ce7165Smrg    cat >>$CONFIG_STATUS <<_ACEOF
570464ce7165Smrg    # First, check the format of the line:
570564ce7165Smrg    cat >"\$tmp/defines.sed" <<\\CEOF
570664ce7165Smrg/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
570764ce7165Smrg/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
570864ce7165Smrgb
570964ce7165Smrg:def
571064ce7165Smrg_ACEOF
571164ce7165Smrg  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
571264ce7165Smrg  echo 'CEOF
571364ce7165Smrg    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
571464ce7165Smrg  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
571564ce7165Smrg  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
571664ce7165Smrg  grep . conftest.tail >/dev/null || break
571764ce7165Smrg  rm -f conftest.defines
571864ce7165Smrg  mv conftest.tail conftest.defines
571964ce7165Smrgdone
572064ce7165Smrgrm -f conftest.defines conftest.tail
572164ce7165Smrg
572264ce7165Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS
572364ce7165Smrgcat >>$CONFIG_STATUS <<\_ACEOF
572464ce7165Smrg  if test x"$ac_file" != x-; then
572564ce7165Smrg    echo "/* $configure_input  */" >"$tmp/config.h"
572664ce7165Smrg    cat "$ac_result" >>"$tmp/config.h"
572764ce7165Smrg    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
572864ce7165Smrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
572964ce7165Smrgecho "$as_me: $ac_file is unchanged" >&6;}
573064ce7165Smrg    else
573164ce7165Smrg      rm -f $ac_file
573264ce7165Smrg      mv "$tmp/config.h" $ac_file
573364ce7165Smrg    fi
573464ce7165Smrg  else
573564ce7165Smrg    echo "/* $configure_input  */"
573664ce7165Smrg    cat "$ac_result"
573764ce7165Smrg  fi
573864ce7165Smrg  rm -f "$tmp/out12"
573964ce7165Smrg# Compute $ac_file's index in $config_headers.
574064ce7165Smrg_am_stamp_count=1
574164ce7165Smrgfor _am_header in $config_headers :; do
574264ce7165Smrg  case $_am_header in
574364ce7165Smrg    $ac_file | $ac_file:* )
574464ce7165Smrg      break ;;
574564ce7165Smrg    * )
574664ce7165Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
574764ce7165Smrg  esac
574864ce7165Smrgdone
574964ce7165Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
575064ce7165Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
575164ce7165Smrg	 X$ac_file : 'X\(//\)[^/]' \| \
575264ce7165Smrg	 X$ac_file : 'X\(//\)$' \| \
575364ce7165Smrg	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
575464ce7165Smrgecho X$ac_file |
575564ce7165Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
575664ce7165Smrg	    s//\1/
575764ce7165Smrg	    q
575864ce7165Smrg	  }
575964ce7165Smrg	  /^X\(\/\/\)[^/].*/{
576064ce7165Smrg	    s//\1/
576164ce7165Smrg	    q
576264ce7165Smrg	  }
576364ce7165Smrg	  /^X\(\/\/\)$/{
576464ce7165Smrg	    s//\1/
576564ce7165Smrg	    q
576664ce7165Smrg	  }
576764ce7165Smrg	  /^X\(\/\).*/{
576864ce7165Smrg	    s//\1/
576964ce7165Smrg	    q
577064ce7165Smrg	  }
577164ce7165Smrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
577264ce7165Smrg ;;
577364ce7165Smrg
577464ce7165Smrg  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
577564ce7165Smrgecho "$as_me: executing $ac_file commands" >&6;}
577664ce7165Smrg ;;
577764ce7165Smrg  esac
577864ce7165Smrg
577964ce7165Smrg
578064ce7165Smrg  case $ac_file$ac_mode in
578164ce7165Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
578264ce7165Smrg  # Strip MF so we end up with the name of the file.
578364ce7165Smrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
578464ce7165Smrg  # Check whether this is an Automake generated Makefile or not.
578564ce7165Smrg  # We used to match only the files named `Makefile.in', but
578664ce7165Smrg  # some people rename them; so instead we look at the file content.
578764ce7165Smrg  # Grep'ing the first line is not enough: some people post-process
578864ce7165Smrg  # each Makefile.in and add a new line on top of each file to say so.
578964ce7165Smrg  # Grep'ing the whole file is not good either: AIX grep has a line
579064ce7165Smrg  # limit of 2048, but all sed's we know have understand at least 4000.
579164ce7165Smrg  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
579264ce7165Smrg    dirpart=`$as_dirname -- "$mf" ||
579364ce7165Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
579464ce7165Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
579564ce7165Smrg	 X"$mf" : 'X\(//\)$' \| \
579664ce7165Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
579764ce7165Smrgecho X"$mf" |
579864ce7165Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
579964ce7165Smrg	    s//\1/
580064ce7165Smrg	    q
580164ce7165Smrg	  }
580264ce7165Smrg	  /^X\(\/\/\)[^/].*/{
580364ce7165Smrg	    s//\1/
580464ce7165Smrg	    q
580564ce7165Smrg	  }
580664ce7165Smrg	  /^X\(\/\/\)$/{
580764ce7165Smrg	    s//\1/
580864ce7165Smrg	    q
580964ce7165Smrg	  }
581064ce7165Smrg	  /^X\(\/\).*/{
581164ce7165Smrg	    s//\1/
581264ce7165Smrg	    q
581364ce7165Smrg	  }
581464ce7165Smrg	  s/.*/./; q'`
581564ce7165Smrg  else
581664ce7165Smrg    continue
581764ce7165Smrg  fi
581864ce7165Smrg  # Extract the definition of DEPDIR, am__include, and am__quote
581964ce7165Smrg  # from the Makefile without running `make'.
582064ce7165Smrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
582164ce7165Smrg  test -z "$DEPDIR" && continue
582264ce7165Smrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
582364ce7165Smrg  test -z "am__include" && continue
582464ce7165Smrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
582564ce7165Smrg  # When using ansi2knr, U may be empty or an underscore; expand it
582664ce7165Smrg  U=`sed -n 's/^U = //p' < "$mf"`
582764ce7165Smrg  # Find all dependency output files, they are included files with
582864ce7165Smrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
582964ce7165Smrg  # simplest approach to changing $(DEPDIR) to its actual value in the
583064ce7165Smrg  # expansion.
583164ce7165Smrg  for file in `sed -n "
583264ce7165Smrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
583364ce7165Smrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
583464ce7165Smrg    # Make sure the directory exists.
583564ce7165Smrg    test -f "$dirpart/$file" && continue
583664ce7165Smrg    fdir=`$as_dirname -- "$file" ||
583764ce7165Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
583864ce7165Smrg	 X"$file" : 'X\(//\)[^/]' \| \
583964ce7165Smrg	 X"$file" : 'X\(//\)$' \| \
584064ce7165Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
584164ce7165Smrgecho X"$file" |
584264ce7165Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
584364ce7165Smrg	    s//\1/
584464ce7165Smrg	    q
584564ce7165Smrg	  }
584664ce7165Smrg	  /^X\(\/\/\)[^/].*/{
584764ce7165Smrg	    s//\1/
584864ce7165Smrg	    q
584964ce7165Smrg	  }
585064ce7165Smrg	  /^X\(\/\/\)$/{
585164ce7165Smrg	    s//\1/
585264ce7165Smrg	    q
585364ce7165Smrg	  }
585464ce7165Smrg	  /^X\(\/\).*/{
585564ce7165Smrg	    s//\1/
585664ce7165Smrg	    q
585764ce7165Smrg	  }
585864ce7165Smrg	  s/.*/./; q'`
585964ce7165Smrg    { as_dir=$dirpart/$fdir
586064ce7165Smrg  case $as_dir in #(
586164ce7165Smrg  -*) as_dir=./$as_dir;;
586264ce7165Smrg  esac
586364ce7165Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
586464ce7165Smrg    as_dirs=
586564ce7165Smrg    while :; do
586664ce7165Smrg      case $as_dir in #(
586764ce7165Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
586864ce7165Smrg      *) as_qdir=$as_dir;;
586964ce7165Smrg      esac
587064ce7165Smrg      as_dirs="'$as_qdir' $as_dirs"
587164ce7165Smrg      as_dir=`$as_dirname -- "$as_dir" ||
587264ce7165Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
587364ce7165Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
587464ce7165Smrg	 X"$as_dir" : 'X\(//\)$' \| \
587564ce7165Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
587664ce7165Smrgecho X"$as_dir" |
587764ce7165Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
587864ce7165Smrg	    s//\1/
587964ce7165Smrg	    q
588064ce7165Smrg	  }
588164ce7165Smrg	  /^X\(\/\/\)[^/].*/{
588264ce7165Smrg	    s//\1/
588364ce7165Smrg	    q
588464ce7165Smrg	  }
588564ce7165Smrg	  /^X\(\/\/\)$/{
588664ce7165Smrg	    s//\1/
588764ce7165Smrg	    q
588864ce7165Smrg	  }
588964ce7165Smrg	  /^X\(\/\).*/{
589064ce7165Smrg	    s//\1/
589164ce7165Smrg	    q
589264ce7165Smrg	  }
589364ce7165Smrg	  s/.*/./; q'`
589464ce7165Smrg      test -d "$as_dir" && break
589564ce7165Smrg    done
589664ce7165Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
589764ce7165Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
589864ce7165Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
589964ce7165Smrg   { (exit 1); exit 1; }; }; }
590064ce7165Smrg    # echo "creating $dirpart/$file"
590164ce7165Smrg    echo '# dummy' > "$dirpart/$file"
590264ce7165Smrg  done
590364ce7165Smrgdone
590464ce7165Smrg ;;
590564ce7165Smrg
590664ce7165Smrg  esac
590764ce7165Smrgdone # for ac_tag
590864ce7165Smrg
590964ce7165Smrg
591064ce7165Smrg{ (exit 0); exit 0; }
591164ce7165Smrg_ACEOF
591264ce7165Smrgchmod +x $CONFIG_STATUS
591364ce7165Smrgac_clean_files=$ac_clean_files_save
591464ce7165Smrg
591564ce7165Smrg
591664ce7165Smrg# configure is writing to config.log, and then calls config.status.
591764ce7165Smrg# config.status does its own redirection, appending to config.log.
591864ce7165Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
591964ce7165Smrg# by configure, so config.status won't be able to write to it; its
592064ce7165Smrg# output is simply discarded.  So we exec the FD to /dev/null,
592164ce7165Smrg# effectively closing config.log, so it can be properly (re)opened and
592264ce7165Smrg# appended to by config.status.  When coming back to configure, we
592364ce7165Smrg# need to make the FD available again.
592464ce7165Smrgif test "$no_create" != yes; then
592564ce7165Smrg  ac_cs_success=:
592664ce7165Smrg  ac_config_status_args=
592764ce7165Smrg  test "$silent" = yes &&
592864ce7165Smrg    ac_config_status_args="$ac_config_status_args --quiet"
592964ce7165Smrg  exec 5>/dev/null
593064ce7165Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
593164ce7165Smrg  exec 5>>config.log
593264ce7165Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
593364ce7165Smrg  # would make configure fail if this is the last instruction.
593464ce7165Smrg  $ac_cs_success || { (exit 1); exit 1; }
593564ce7165Smrgfi
593664ce7165Smrg
5937