configure revision 1abf7346
11abf7346Smrg#! /bin/sh
21abf7346Smrg# Guess values for system-dependent variables and create Makefiles.
31abf7346Smrg# Generated by GNU Autoconf 2.61 for xman 1.0.3.
41abf7346Smrg#
51abf7346Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
61abf7346Smrg#
71abf7346Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
81abf7346Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
91abf7346Smrg# This configure script is free software; the Free Software Foundation
101abf7346Smrg# gives unlimited permission to copy, distribute and modify it.
111abf7346Smrg## --------------------- ##
121abf7346Smrg## M4sh Initialization.  ##
131abf7346Smrg## --------------------- ##
141abf7346Smrg
151abf7346Smrg# Be more Bourne compatible
161abf7346SmrgDUALCASE=1; export DUALCASE # for MKS sh
171abf7346Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
181abf7346Smrg  emulate sh
191abf7346Smrg  NULLCMD=:
201abf7346Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
211abf7346Smrg  # is contrary to our usage.  Disable this feature.
221abf7346Smrg  alias -g '${1+"$@"}'='"$@"'
231abf7346Smrg  setopt NO_GLOB_SUBST
241abf7346Smrgelse
251abf7346Smrg  case `(set -o) 2>/dev/null` in
261abf7346Smrg  *posix*) set -o posix ;;
271abf7346Smrgesac
281abf7346Smrg
291abf7346Smrgfi
301abf7346Smrg
311abf7346Smrg
321abf7346Smrg
331abf7346Smrg
341abf7346Smrg# PATH needs CR
351abf7346Smrg# Avoid depending upon Character Ranges.
361abf7346Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
371abf7346Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
381abf7346Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
391abf7346Smrgas_cr_digits='0123456789'
401abf7346Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
411abf7346Smrg
421abf7346Smrg# The user is always right.
431abf7346Smrgif test "${PATH_SEPARATOR+set}" != set; then
441abf7346Smrg  echo "#! /bin/sh" >conf$$.sh
451abf7346Smrg  echo  "exit 0"   >>conf$$.sh
461abf7346Smrg  chmod +x conf$$.sh
471abf7346Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
481abf7346Smrg    PATH_SEPARATOR=';'
491abf7346Smrg  else
501abf7346Smrg    PATH_SEPARATOR=:
511abf7346Smrg  fi
521abf7346Smrg  rm -f conf$$.sh
531abf7346Smrgfi
541abf7346Smrg
551abf7346Smrg# Support unset when possible.
561abf7346Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
571abf7346Smrg  as_unset=unset
581abf7346Smrgelse
591abf7346Smrg  as_unset=false
601abf7346Smrgfi
611abf7346Smrg
621abf7346Smrg
631abf7346Smrg# IFS
641abf7346Smrg# We need space, tab and new line, in precisely that order.  Quoting is
651abf7346Smrg# there to prevent editors from complaining about space-tab.
661abf7346Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
671abf7346Smrg# splitting by setting IFS to empty value.)
681abf7346Smrgas_nl='
691abf7346Smrg'
701abf7346SmrgIFS=" ""	$as_nl"
711abf7346Smrg
721abf7346Smrg# Find who we are.  Look in the path if we contain no directory separator.
731abf7346Smrgcase $0 in
741abf7346Smrg  *[\\/]* ) as_myself=$0 ;;
751abf7346Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
761abf7346Smrgfor as_dir in $PATH
771abf7346Smrgdo
781abf7346Smrg  IFS=$as_save_IFS
791abf7346Smrg  test -z "$as_dir" && as_dir=.
801abf7346Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
811abf7346Smrgdone
821abf7346SmrgIFS=$as_save_IFS
831abf7346Smrg
841abf7346Smrg     ;;
851abf7346Smrgesac
861abf7346Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
871abf7346Smrg# in which case we are not to be found in the path.
881abf7346Smrgif test "x$as_myself" = x; then
891abf7346Smrg  as_myself=$0
901abf7346Smrgfi
911abf7346Smrgif test ! -f "$as_myself"; then
921abf7346Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
931abf7346Smrg  { (exit 1); exit 1; }
941abf7346Smrgfi
951abf7346Smrg
961abf7346Smrg# Work around bugs in pre-3.0 UWIN ksh.
971abf7346Smrgfor as_var in ENV MAIL MAILPATH
981abf7346Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
991abf7346Smrgdone
1001abf7346SmrgPS1='$ '
1011abf7346SmrgPS2='> '
1021abf7346SmrgPS4='+ '
1031abf7346Smrg
1041abf7346Smrg# NLS nuisances.
1051abf7346Smrgfor as_var in \
1061abf7346Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1071abf7346Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1081abf7346Smrg  LC_TELEPHONE LC_TIME
1091abf7346Smrgdo
1101abf7346Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1111abf7346Smrg    eval $as_var=C; export $as_var
1121abf7346Smrg  else
1131abf7346Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1141abf7346Smrg  fi
1151abf7346Smrgdone
1161abf7346Smrg
1171abf7346Smrg# Required to use basename.
1181abf7346Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
1191abf7346Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1201abf7346Smrg  as_expr=expr
1211abf7346Smrgelse
1221abf7346Smrg  as_expr=false
1231abf7346Smrgfi
1241abf7346Smrg
1251abf7346Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1261abf7346Smrg  as_basename=basename
1271abf7346Smrgelse
1281abf7346Smrg  as_basename=false
1291abf7346Smrgfi
1301abf7346Smrg
1311abf7346Smrg
1321abf7346Smrg# Name of the executable.
1331abf7346Smrgas_me=`$as_basename -- "$0" ||
1341abf7346Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1351abf7346Smrg	 X"$0" : 'X\(//\)$' \| \
1361abf7346Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1371abf7346Smrgecho X/"$0" |
1381abf7346Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
1391abf7346Smrg	    s//\1/
1401abf7346Smrg	    q
1411abf7346Smrg	  }
1421abf7346Smrg	  /^X\/\(\/\/\)$/{
1431abf7346Smrg	    s//\1/
1441abf7346Smrg	    q
1451abf7346Smrg	  }
1461abf7346Smrg	  /^X\/\(\/\).*/{
1471abf7346Smrg	    s//\1/
1481abf7346Smrg	    q
1491abf7346Smrg	  }
1501abf7346Smrg	  s/.*/./; q'`
1511abf7346Smrg
1521abf7346Smrg# CDPATH.
1531abf7346Smrg$as_unset CDPATH
1541abf7346Smrg
1551abf7346Smrg
1561abf7346Smrgif test "x$CONFIG_SHELL" = x; then
1571abf7346Smrg  if (eval ":") 2>/dev/null; then
1581abf7346Smrg  as_have_required=yes
1591abf7346Smrgelse
1601abf7346Smrg  as_have_required=no
1611abf7346Smrgfi
1621abf7346Smrg
1631abf7346Smrg  if test $as_have_required = yes && 	 (eval ":
1641abf7346Smrg(as_func_return () {
1651abf7346Smrg  (exit \$1)
1661abf7346Smrg}
1671abf7346Smrgas_func_success () {
1681abf7346Smrg  as_func_return 0
1691abf7346Smrg}
1701abf7346Smrgas_func_failure () {
1711abf7346Smrg  as_func_return 1
1721abf7346Smrg}
1731abf7346Smrgas_func_ret_success () {
1741abf7346Smrg  return 0
1751abf7346Smrg}
1761abf7346Smrgas_func_ret_failure () {
1771abf7346Smrg  return 1
1781abf7346Smrg}
1791abf7346Smrg
1801abf7346Smrgexitcode=0
1811abf7346Smrgif as_func_success; then
1821abf7346Smrg  :
1831abf7346Smrgelse
1841abf7346Smrg  exitcode=1
1851abf7346Smrg  echo as_func_success failed.
1861abf7346Smrgfi
1871abf7346Smrg
1881abf7346Smrgif as_func_failure; then
1891abf7346Smrg  exitcode=1
1901abf7346Smrg  echo as_func_failure succeeded.
1911abf7346Smrgfi
1921abf7346Smrg
1931abf7346Smrgif as_func_ret_success; then
1941abf7346Smrg  :
1951abf7346Smrgelse
1961abf7346Smrg  exitcode=1
1971abf7346Smrg  echo as_func_ret_success failed.
1981abf7346Smrgfi
1991abf7346Smrg
2001abf7346Smrgif as_func_ret_failure; then
2011abf7346Smrg  exitcode=1
2021abf7346Smrg  echo as_func_ret_failure succeeded.
2031abf7346Smrgfi
2041abf7346Smrg
2051abf7346Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2061abf7346Smrg  :
2071abf7346Smrgelse
2081abf7346Smrg  exitcode=1
2091abf7346Smrg  echo positional parameters were not saved.
2101abf7346Smrgfi
2111abf7346Smrg
2121abf7346Smrgtest \$exitcode = 0) || { (exit 1); exit 1; }
2131abf7346Smrg
2141abf7346Smrg(
2151abf7346Smrg  as_lineno_1=\$LINENO
2161abf7346Smrg  as_lineno_2=\$LINENO
2171abf7346Smrg  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2181abf7346Smrg  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2191abf7346Smrg") 2> /dev/null; then
2201abf7346Smrg  :
2211abf7346Smrgelse
2221abf7346Smrg  as_candidate_shells=
2231abf7346Smrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241abf7346Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2251abf7346Smrgdo
2261abf7346Smrg  IFS=$as_save_IFS
2271abf7346Smrg  test -z "$as_dir" && as_dir=.
2281abf7346Smrg  case $as_dir in
2291abf7346Smrg	 /*)
2301abf7346Smrg	   for as_base in sh bash ksh sh5; do
2311abf7346Smrg	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2321abf7346Smrg	   done;;
2331abf7346Smrg       esac
2341abf7346Smrgdone
2351abf7346SmrgIFS=$as_save_IFS
2361abf7346Smrg
2371abf7346Smrg
2381abf7346Smrg      for as_shell in $as_candidate_shells $SHELL; do
2391abf7346Smrg	 # Try only shells that exist, to save several forks.
2401abf7346Smrg	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2411abf7346Smrg		{ ("$as_shell") 2> /dev/null <<\_ASEOF
2421abf7346Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2431abf7346Smrg  emulate sh
2441abf7346Smrg  NULLCMD=:
2451abf7346Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2461abf7346Smrg  # is contrary to our usage.  Disable this feature.
2471abf7346Smrg  alias -g '${1+"$@"}'='"$@"'
2481abf7346Smrg  setopt NO_GLOB_SUBST
2491abf7346Smrgelse
2501abf7346Smrg  case `(set -o) 2>/dev/null` in
2511abf7346Smrg  *posix*) set -o posix ;;
2521abf7346Smrgesac
2531abf7346Smrg
2541abf7346Smrgfi
2551abf7346Smrg
2561abf7346Smrg
2571abf7346Smrg:
2581abf7346Smrg_ASEOF
2591abf7346Smrg}; then
2601abf7346Smrg  CONFIG_SHELL=$as_shell
2611abf7346Smrg	       as_have_required=yes
2621abf7346Smrg	       if { "$as_shell" 2> /dev/null <<\_ASEOF
2631abf7346Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2641abf7346Smrg  emulate sh
2651abf7346Smrg  NULLCMD=:
2661abf7346Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2671abf7346Smrg  # is contrary to our usage.  Disable this feature.
2681abf7346Smrg  alias -g '${1+"$@"}'='"$@"'
2691abf7346Smrg  setopt NO_GLOB_SUBST
2701abf7346Smrgelse
2711abf7346Smrg  case `(set -o) 2>/dev/null` in
2721abf7346Smrg  *posix*) set -o posix ;;
2731abf7346Smrgesac
2741abf7346Smrg
2751abf7346Smrgfi
2761abf7346Smrg
2771abf7346Smrg
2781abf7346Smrg:
2791abf7346Smrg(as_func_return () {
2801abf7346Smrg  (exit $1)
2811abf7346Smrg}
2821abf7346Smrgas_func_success () {
2831abf7346Smrg  as_func_return 0
2841abf7346Smrg}
2851abf7346Smrgas_func_failure () {
2861abf7346Smrg  as_func_return 1
2871abf7346Smrg}
2881abf7346Smrgas_func_ret_success () {
2891abf7346Smrg  return 0
2901abf7346Smrg}
2911abf7346Smrgas_func_ret_failure () {
2921abf7346Smrg  return 1
2931abf7346Smrg}
2941abf7346Smrg
2951abf7346Smrgexitcode=0
2961abf7346Smrgif as_func_success; then
2971abf7346Smrg  :
2981abf7346Smrgelse
2991abf7346Smrg  exitcode=1
3001abf7346Smrg  echo as_func_success failed.
3011abf7346Smrgfi
3021abf7346Smrg
3031abf7346Smrgif as_func_failure; then
3041abf7346Smrg  exitcode=1
3051abf7346Smrg  echo as_func_failure succeeded.
3061abf7346Smrgfi
3071abf7346Smrg
3081abf7346Smrgif as_func_ret_success; then
3091abf7346Smrg  :
3101abf7346Smrgelse
3111abf7346Smrg  exitcode=1
3121abf7346Smrg  echo as_func_ret_success failed.
3131abf7346Smrgfi
3141abf7346Smrg
3151abf7346Smrgif as_func_ret_failure; then
3161abf7346Smrg  exitcode=1
3171abf7346Smrg  echo as_func_ret_failure succeeded.
3181abf7346Smrgfi
3191abf7346Smrg
3201abf7346Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then
3211abf7346Smrg  :
3221abf7346Smrgelse
3231abf7346Smrg  exitcode=1
3241abf7346Smrg  echo positional parameters were not saved.
3251abf7346Smrgfi
3261abf7346Smrg
3271abf7346Smrgtest $exitcode = 0) || { (exit 1); exit 1; }
3281abf7346Smrg
3291abf7346Smrg(
3301abf7346Smrg  as_lineno_1=$LINENO
3311abf7346Smrg  as_lineno_2=$LINENO
3321abf7346Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
3331abf7346Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
3341abf7346Smrg
3351abf7346Smrg_ASEOF
3361abf7346Smrg}; then
3371abf7346Smrg  break
3381abf7346Smrgfi
3391abf7346Smrg
3401abf7346Smrgfi
3411abf7346Smrg
3421abf7346Smrg      done
3431abf7346Smrg
3441abf7346Smrg      if test "x$CONFIG_SHELL" != x; then
3451abf7346Smrg  for as_var in BASH_ENV ENV
3461abf7346Smrg        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3471abf7346Smrg        done
3481abf7346Smrg        export CONFIG_SHELL
3491abf7346Smrg        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
3501abf7346Smrgfi
3511abf7346Smrg
3521abf7346Smrg
3531abf7346Smrg    if test $as_have_required = no; then
3541abf7346Smrg  echo This script requires a shell more modern than all the
3551abf7346Smrg      echo shells that I found on your system.  Please install a
3561abf7346Smrg      echo modern shell, or manually run the script under such a
3571abf7346Smrg      echo shell if you do have one.
3581abf7346Smrg      { (exit 1); exit 1; }
3591abf7346Smrgfi
3601abf7346Smrg
3611abf7346Smrg
3621abf7346Smrgfi
3631abf7346Smrg
3641abf7346Smrgfi
3651abf7346Smrg
3661abf7346Smrg
3671abf7346Smrg
3681abf7346Smrg(eval "as_func_return () {
3691abf7346Smrg  (exit \$1)
3701abf7346Smrg}
3711abf7346Smrgas_func_success () {
3721abf7346Smrg  as_func_return 0
3731abf7346Smrg}
3741abf7346Smrgas_func_failure () {
3751abf7346Smrg  as_func_return 1
3761abf7346Smrg}
3771abf7346Smrgas_func_ret_success () {
3781abf7346Smrg  return 0
3791abf7346Smrg}
3801abf7346Smrgas_func_ret_failure () {
3811abf7346Smrg  return 1
3821abf7346Smrg}
3831abf7346Smrg
3841abf7346Smrgexitcode=0
3851abf7346Smrgif as_func_success; then
3861abf7346Smrg  :
3871abf7346Smrgelse
3881abf7346Smrg  exitcode=1
3891abf7346Smrg  echo as_func_success failed.
3901abf7346Smrgfi
3911abf7346Smrg
3921abf7346Smrgif as_func_failure; then
3931abf7346Smrg  exitcode=1
3941abf7346Smrg  echo as_func_failure succeeded.
3951abf7346Smrgfi
3961abf7346Smrg
3971abf7346Smrgif as_func_ret_success; then
3981abf7346Smrg  :
3991abf7346Smrgelse
4001abf7346Smrg  exitcode=1
4011abf7346Smrg  echo as_func_ret_success failed.
4021abf7346Smrgfi
4031abf7346Smrg
4041abf7346Smrgif as_func_ret_failure; then
4051abf7346Smrg  exitcode=1
4061abf7346Smrg  echo as_func_ret_failure succeeded.
4071abf7346Smrgfi
4081abf7346Smrg
4091abf7346Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then
4101abf7346Smrg  :
4111abf7346Smrgelse
4121abf7346Smrg  exitcode=1
4131abf7346Smrg  echo positional parameters were not saved.
4141abf7346Smrgfi
4151abf7346Smrg
4161abf7346Smrgtest \$exitcode = 0") || {
4171abf7346Smrg  echo No shell found that supports shell functions.
4181abf7346Smrg  echo Please tell autoconf@gnu.org about your system,
4191abf7346Smrg  echo including any error possibly output before this
4201abf7346Smrg  echo message
4211abf7346Smrg}
4221abf7346Smrg
4231abf7346Smrg
4241abf7346Smrg
4251abf7346Smrg  as_lineno_1=$LINENO
4261abf7346Smrg  as_lineno_2=$LINENO
4271abf7346Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
4281abf7346Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4291abf7346Smrg
4301abf7346Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4311abf7346Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
4321abf7346Smrg  # line-number line after each line using $LINENO; the second 'sed'
4331abf7346Smrg  # does the real work.  The second script uses 'N' to pair each
4341abf7346Smrg  # line-number line with the line containing $LINENO, and appends
4351abf7346Smrg  # trailing '-' during substitution so that $LINENO is not a special
4361abf7346Smrg  # case at line end.
4371abf7346Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4381abf7346Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4391abf7346Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
4401abf7346Smrg  sed -n '
4411abf7346Smrg    p
4421abf7346Smrg    /[$]LINENO/=
4431abf7346Smrg  ' <$as_myself |
4441abf7346Smrg    sed '
4451abf7346Smrg      s/[$]LINENO.*/&-/
4461abf7346Smrg      t lineno
4471abf7346Smrg      b
4481abf7346Smrg      :lineno
4491abf7346Smrg      N
4501abf7346Smrg      :loop
4511abf7346Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4521abf7346Smrg      t loop
4531abf7346Smrg      s/-\n.*//
4541abf7346Smrg    ' >$as_me.lineno &&
4551abf7346Smrg  chmod +x "$as_me.lineno" ||
4561abf7346Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4571abf7346Smrg   { (exit 1); exit 1; }; }
4581abf7346Smrg
4591abf7346Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
4601abf7346Smrg  # (the dirname of $[0] is not the place where we might find the
4611abf7346Smrg  # original and so on.  Autoconf is especially sensitive to this).
4621abf7346Smrg  . "./$as_me.lineno"
4631abf7346Smrg  # Exit status is that of the last command.
4641abf7346Smrg  exit
4651abf7346Smrg}
4661abf7346Smrg
4671abf7346Smrg
4681abf7346Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4691abf7346Smrg  as_dirname=dirname
4701abf7346Smrgelse
4711abf7346Smrg  as_dirname=false
4721abf7346Smrgfi
4731abf7346Smrg
4741abf7346SmrgECHO_C= ECHO_N= ECHO_T=
4751abf7346Smrgcase `echo -n x` in
4761abf7346Smrg-n*)
4771abf7346Smrg  case `echo 'x\c'` in
4781abf7346Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4791abf7346Smrg  *)   ECHO_C='\c';;
4801abf7346Smrg  esac;;
4811abf7346Smrg*)
4821abf7346Smrg  ECHO_N='-n';;
4831abf7346Smrgesac
4841abf7346Smrg
4851abf7346Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4861abf7346Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4871abf7346Smrg  as_expr=expr
4881abf7346Smrgelse
4891abf7346Smrg  as_expr=false
4901abf7346Smrgfi
4911abf7346Smrg
4921abf7346Smrgrm -f conf$$ conf$$.exe conf$$.file
4931abf7346Smrgif test -d conf$$.dir; then
4941abf7346Smrg  rm -f conf$$.dir/conf$$.file
4951abf7346Smrgelse
4961abf7346Smrg  rm -f conf$$.dir
4971abf7346Smrg  mkdir conf$$.dir
4981abf7346Smrgfi
4991abf7346Smrgecho >conf$$.file
5001abf7346Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
5011abf7346Smrg  as_ln_s='ln -s'
5021abf7346Smrg  # ... but there are two gotchas:
5031abf7346Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5041abf7346Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5051abf7346Smrg  # In both cases, we have to default to `cp -p'.
5061abf7346Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5071abf7346Smrg    as_ln_s='cp -p'
5081abf7346Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
5091abf7346Smrg  as_ln_s=ln
5101abf7346Smrgelse
5111abf7346Smrg  as_ln_s='cp -p'
5121abf7346Smrgfi
5131abf7346Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5141abf7346Smrgrmdir conf$$.dir 2>/dev/null
5151abf7346Smrg
5161abf7346Smrgif mkdir -p . 2>/dev/null; then
5171abf7346Smrg  as_mkdir_p=:
5181abf7346Smrgelse
5191abf7346Smrg  test -d ./-p && rmdir ./-p
5201abf7346Smrg  as_mkdir_p=false
5211abf7346Smrgfi
5221abf7346Smrg
5231abf7346Smrgif test -x / >/dev/null 2>&1; then
5241abf7346Smrg  as_test_x='test -x'
5251abf7346Smrgelse
5261abf7346Smrg  if ls -dL / >/dev/null 2>&1; then
5271abf7346Smrg    as_ls_L_option=L
5281abf7346Smrg  else
5291abf7346Smrg    as_ls_L_option=
5301abf7346Smrg  fi
5311abf7346Smrg  as_test_x='
5321abf7346Smrg    eval sh -c '\''
5331abf7346Smrg      if test -d "$1"; then
5341abf7346Smrg        test -d "$1/.";
5351abf7346Smrg      else
5361abf7346Smrg	case $1 in
5371abf7346Smrg        -*)set "./$1";;
5381abf7346Smrg	esac;
5391abf7346Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5401abf7346Smrg	???[sx]*):;;*)false;;esac;fi
5411abf7346Smrg    '\'' sh
5421abf7346Smrg  '
5431abf7346Smrgfi
5441abf7346Smrgas_executable_p=$as_test_x
5451abf7346Smrg
5461abf7346Smrg# Sed expression to map a string onto a valid CPP name.
5471abf7346Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5481abf7346Smrg
5491abf7346Smrg# Sed expression to map a string onto a valid variable name.
5501abf7346Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5511abf7346Smrg
5521abf7346Smrg
5531abf7346Smrg
5541abf7346Smrgexec 7<&0 </dev/null 6>&1
5551abf7346Smrg
5561abf7346Smrg# Name of the host.
5571abf7346Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5581abf7346Smrg# so uname gets run too.
5591abf7346Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5601abf7346Smrg
5611abf7346Smrg#
5621abf7346Smrg# Initializations.
5631abf7346Smrg#
5641abf7346Smrgac_default_prefix=/usr/local
5651abf7346Smrgac_clean_files=
5661abf7346Smrgac_config_libobj_dir=.
5671abf7346SmrgLIBOBJS=
5681abf7346Smrgcross_compiling=no
5691abf7346Smrgsubdirs=
5701abf7346SmrgMFLAGS=
5711abf7346SmrgMAKEFLAGS=
5721abf7346SmrgSHELL=${CONFIG_SHELL-/bin/sh}
5731abf7346Smrg
5741abf7346Smrg# Identity of this package.
5751abf7346SmrgPACKAGE_NAME='xman'
5761abf7346SmrgPACKAGE_TARNAME='xman'
5771abf7346SmrgPACKAGE_VERSION='1.0.3'
5781abf7346SmrgPACKAGE_STRING='xman 1.0.3'
5791abf7346SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
5801abf7346Smrg
5811abf7346Smrgac_subst_vars='SHELL
5821abf7346SmrgPATH_SEPARATOR
5831abf7346SmrgPACKAGE_NAME
5841abf7346SmrgPACKAGE_TARNAME
5851abf7346SmrgPACKAGE_VERSION
5861abf7346SmrgPACKAGE_STRING
5871abf7346SmrgPACKAGE_BUGREPORT
5881abf7346Smrgexec_prefix
5891abf7346Smrgprefix
5901abf7346Smrgprogram_transform_name
5911abf7346Smrgbindir
5921abf7346Smrgsbindir
5931abf7346Smrglibexecdir
5941abf7346Smrgdatarootdir
5951abf7346Smrgdatadir
5961abf7346Smrgsysconfdir
5971abf7346Smrgsharedstatedir
5981abf7346Smrglocalstatedir
5991abf7346Smrgincludedir
6001abf7346Smrgoldincludedir
6011abf7346Smrgdocdir
6021abf7346Smrginfodir
6031abf7346Smrghtmldir
6041abf7346Smrgdvidir
6051abf7346Smrgpdfdir
6061abf7346Smrgpsdir
6071abf7346Smrglibdir
6081abf7346Smrglocaledir
6091abf7346Smrgmandir
6101abf7346SmrgDEFS
6111abf7346SmrgECHO_C
6121abf7346SmrgECHO_N
6131abf7346SmrgECHO_T
6141abf7346SmrgLIBS
6151abf7346Smrgbuild_alias
6161abf7346Smrghost_alias
6171abf7346Smrgtarget_alias
6181abf7346SmrgINSTALL_PROGRAM
6191abf7346SmrgINSTALL_SCRIPT
6201abf7346SmrgINSTALL_DATA
6211abf7346Smrgam__isrc
6221abf7346SmrgCYGPATH_W
6231abf7346SmrgPACKAGE
6241abf7346SmrgVERSION
6251abf7346SmrgACLOCAL
6261abf7346SmrgAUTOCONF
6271abf7346SmrgAUTOMAKE
6281abf7346SmrgAUTOHEADER
6291abf7346SmrgMAKEINFO
6301abf7346Smrginstall_sh
6311abf7346SmrgSTRIP
6321abf7346SmrgINSTALL_STRIP_PROGRAM
6331abf7346Smrgmkdir_p
6341abf7346SmrgAWK
6351abf7346SmrgSET_MAKE
6361abf7346Smrgam__leading_dot
6371abf7346SmrgAMTAR
6381abf7346Smrgam__tar
6391abf7346Smrgam__untar
6401abf7346SmrgMAINTAINER_MODE_TRUE
6411abf7346SmrgMAINTAINER_MODE_FALSE
6421abf7346SmrgMAINT
6431abf7346SmrgCC
6441abf7346SmrgCFLAGS
6451abf7346SmrgLDFLAGS
6461abf7346SmrgCPPFLAGS
6471abf7346Smrgac_ct_CC
6481abf7346SmrgEXEEXT
6491abf7346SmrgOBJEXT
6501abf7346SmrgDEPDIR
6511abf7346Smrgam__include
6521abf7346Smrgam__quote
6531abf7346SmrgAMDEP_TRUE
6541abf7346SmrgAMDEP_FALSE
6551abf7346SmrgAMDEPBACKSLASH
6561abf7346SmrgCCDEPMODE
6571abf7346Smrgam__fastdepCC_TRUE
6581abf7346Smrgam__fastdepCC_FALSE
6591abf7346Smrgbuild
6601abf7346Smrgbuild_cpu
6611abf7346Smrgbuild_vendor
6621abf7346Smrgbuild_os
6631abf7346Smrghost
6641abf7346Smrghost_cpu
6651abf7346Smrghost_vendor
6661abf7346Smrghost_os
6671abf7346SmrgHELPDIR
6681abf7346SmrgPKG_CONFIG
6691abf7346SmrgTMP_XAW_CFLAGS
6701abf7346SmrgTMP_XAW_LIBS
6711abf7346SmrgXAW_USE_XPRINT_TRUE
6721abf7346SmrgXAW_USE_XPRINT_FALSE
6731abf7346SmrgXPRINT_UTIL_CFLAGS
6741abf7346SmrgXPRINT_UTIL_LIBS
6751abf7346SmrgXMAN_CFLAGS
6761abf7346SmrgXMAN_LIBS
6771abf7346SmrgAPPDEFS_CFLAGS
6781abf7346SmrgAPPDEFS_LIBS
6791abf7346Smrgappdefaultdir
6801abf7346SmrgAPP_MAN_SUFFIX
6811abf7346SmrgLIB_MAN_SUFFIX
6821abf7346SmrgFILE_MAN_SUFFIX
6831abf7346SmrgMISC_MAN_SUFFIX
6841abf7346SmrgDRIVER_MAN_SUFFIX
6851abf7346SmrgADMIN_MAN_SUFFIX
6861abf7346SmrgAPP_MAN_DIR
6871abf7346SmrgLIB_MAN_DIR
6881abf7346SmrgFILE_MAN_DIR
6891abf7346SmrgMISC_MAN_DIR
6901abf7346SmrgDRIVER_MAN_DIR
6911abf7346SmrgADMIN_MAN_DIR
6921abf7346SmrgLIBOBJS
6931abf7346SmrgLTLIBOBJS'
6941abf7346Smrgac_subst_files=''
6951abf7346Smrg      ac_precious_vars='build_alias
6961abf7346Smrghost_alias
6971abf7346Smrgtarget_alias
6981abf7346SmrgCC
6991abf7346SmrgCFLAGS
7001abf7346SmrgLDFLAGS
7011abf7346SmrgLIBS
7021abf7346SmrgCPPFLAGS
7031abf7346SmrgPKG_CONFIG
7041abf7346SmrgTMP_XAW_CFLAGS
7051abf7346SmrgTMP_XAW_LIBS
7061abf7346SmrgXPRINT_UTIL_CFLAGS
7071abf7346SmrgXPRINT_UTIL_LIBS
7081abf7346SmrgAPPDEFS_CFLAGS
7091abf7346SmrgAPPDEFS_LIBS'
7101abf7346Smrg
7111abf7346Smrg
7121abf7346Smrg# Initialize some variables set by options.
7131abf7346Smrgac_init_help=
7141abf7346Smrgac_init_version=false
7151abf7346Smrg# The variables have the same names as the options, with
7161abf7346Smrg# dashes changed to underlines.
7171abf7346Smrgcache_file=/dev/null
7181abf7346Smrgexec_prefix=NONE
7191abf7346Smrgno_create=
7201abf7346Smrgno_recursion=
7211abf7346Smrgprefix=NONE
7221abf7346Smrgprogram_prefix=NONE
7231abf7346Smrgprogram_suffix=NONE
7241abf7346Smrgprogram_transform_name=s,x,x,
7251abf7346Smrgsilent=
7261abf7346Smrgsite=
7271abf7346Smrgsrcdir=
7281abf7346Smrgverbose=
7291abf7346Smrgx_includes=NONE
7301abf7346Smrgx_libraries=NONE
7311abf7346Smrg
7321abf7346Smrg# Installation directory options.
7331abf7346Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
7341abf7346Smrg# and all the variables that are supposed to be based on exec_prefix
7351abf7346Smrg# by default will actually change.
7361abf7346Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
7371abf7346Smrg# (The list follows the same order as the GNU Coding Standards.)
7381abf7346Smrgbindir='${exec_prefix}/bin'
7391abf7346Smrgsbindir='${exec_prefix}/sbin'
7401abf7346Smrglibexecdir='${exec_prefix}/libexec'
7411abf7346Smrgdatarootdir='${prefix}/share'
7421abf7346Smrgdatadir='${datarootdir}'
7431abf7346Smrgsysconfdir='${prefix}/etc'
7441abf7346Smrgsharedstatedir='${prefix}/com'
7451abf7346Smrglocalstatedir='${prefix}/var'
7461abf7346Smrgincludedir='${prefix}/include'
7471abf7346Smrgoldincludedir='/usr/include'
7481abf7346Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7491abf7346Smrginfodir='${datarootdir}/info'
7501abf7346Smrghtmldir='${docdir}'
7511abf7346Smrgdvidir='${docdir}'
7521abf7346Smrgpdfdir='${docdir}'
7531abf7346Smrgpsdir='${docdir}'
7541abf7346Smrglibdir='${exec_prefix}/lib'
7551abf7346Smrglocaledir='${datarootdir}/locale'
7561abf7346Smrgmandir='${datarootdir}/man'
7571abf7346Smrg
7581abf7346Smrgac_prev=
7591abf7346Smrgac_dashdash=
7601abf7346Smrgfor ac_option
7611abf7346Smrgdo
7621abf7346Smrg  # If the previous option needs an argument, assign it.
7631abf7346Smrg  if test -n "$ac_prev"; then
7641abf7346Smrg    eval $ac_prev=\$ac_option
7651abf7346Smrg    ac_prev=
7661abf7346Smrg    continue
7671abf7346Smrg  fi
7681abf7346Smrg
7691abf7346Smrg  case $ac_option in
7701abf7346Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
7711abf7346Smrg  *)	ac_optarg=yes ;;
7721abf7346Smrg  esac
7731abf7346Smrg
7741abf7346Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
7751abf7346Smrg
7761abf7346Smrg  case $ac_dashdash$ac_option in
7771abf7346Smrg  --)
7781abf7346Smrg    ac_dashdash=yes ;;
7791abf7346Smrg
7801abf7346Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
7811abf7346Smrg    ac_prev=bindir ;;
7821abf7346Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7831abf7346Smrg    bindir=$ac_optarg ;;
7841abf7346Smrg
7851abf7346Smrg  -build | --build | --buil | --bui | --bu)
7861abf7346Smrg    ac_prev=build_alias ;;
7871abf7346Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7881abf7346Smrg    build_alias=$ac_optarg ;;
7891abf7346Smrg
7901abf7346Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
7911abf7346Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7921abf7346Smrg    ac_prev=cache_file ;;
7931abf7346Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7941abf7346Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7951abf7346Smrg    cache_file=$ac_optarg ;;
7961abf7346Smrg
7971abf7346Smrg  --config-cache | -C)
7981abf7346Smrg    cache_file=config.cache ;;
7991abf7346Smrg
8001abf7346Smrg  -datadir | --datadir | --datadi | --datad)
8011abf7346Smrg    ac_prev=datadir ;;
8021abf7346Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
8031abf7346Smrg    datadir=$ac_optarg ;;
8041abf7346Smrg
8051abf7346Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8061abf7346Smrg  | --dataroo | --dataro | --datar)
8071abf7346Smrg    ac_prev=datarootdir ;;
8081abf7346Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8091abf7346Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8101abf7346Smrg    datarootdir=$ac_optarg ;;
8111abf7346Smrg
8121abf7346Smrg  -disable-* | --disable-*)
8131abf7346Smrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8141abf7346Smrg    # Reject names that are not valid shell variable names.
8151abf7346Smrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8161abf7346Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
8171abf7346Smrg   { (exit 1); exit 1; }; }
8181abf7346Smrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
8191abf7346Smrg    eval enable_$ac_feature=no ;;
8201abf7346Smrg
8211abf7346Smrg  -docdir | --docdir | --docdi | --doc | --do)
8221abf7346Smrg    ac_prev=docdir ;;
8231abf7346Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8241abf7346Smrg    docdir=$ac_optarg ;;
8251abf7346Smrg
8261abf7346Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8271abf7346Smrg    ac_prev=dvidir ;;
8281abf7346Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8291abf7346Smrg    dvidir=$ac_optarg ;;
8301abf7346Smrg
8311abf7346Smrg  -enable-* | --enable-*)
8321abf7346Smrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8331abf7346Smrg    # Reject names that are not valid shell variable names.
8341abf7346Smrg    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8351abf7346Smrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
8361abf7346Smrg   { (exit 1); exit 1; }; }
8371abf7346Smrg    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
8381abf7346Smrg    eval enable_$ac_feature=\$ac_optarg ;;
8391abf7346Smrg
8401abf7346Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
8411abf7346Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
8421abf7346Smrg  | --exec | --exe | --ex)
8431abf7346Smrg    ac_prev=exec_prefix ;;
8441abf7346Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
8451abf7346Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
8461abf7346Smrg  | --exec=* | --exe=* | --ex=*)
8471abf7346Smrg    exec_prefix=$ac_optarg ;;
8481abf7346Smrg
8491abf7346Smrg  -gas | --gas | --ga | --g)
8501abf7346Smrg    # Obsolete; use --with-gas.
8511abf7346Smrg    with_gas=yes ;;
8521abf7346Smrg
8531abf7346Smrg  -help | --help | --hel | --he | -h)
8541abf7346Smrg    ac_init_help=long ;;
8551abf7346Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
8561abf7346Smrg    ac_init_help=recursive ;;
8571abf7346Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
8581abf7346Smrg    ac_init_help=short ;;
8591abf7346Smrg
8601abf7346Smrg  -host | --host | --hos | --ho)
8611abf7346Smrg    ac_prev=host_alias ;;
8621abf7346Smrg  -host=* | --host=* | --hos=* | --ho=*)
8631abf7346Smrg    host_alias=$ac_optarg ;;
8641abf7346Smrg
8651abf7346Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
8661abf7346Smrg    ac_prev=htmldir ;;
8671abf7346Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
8681abf7346Smrg  | --ht=*)
8691abf7346Smrg    htmldir=$ac_optarg ;;
8701abf7346Smrg
8711abf7346Smrg  -includedir | --includedir | --includedi | --included | --include \
8721abf7346Smrg  | --includ | --inclu | --incl | --inc)
8731abf7346Smrg    ac_prev=includedir ;;
8741abf7346Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
8751abf7346Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
8761abf7346Smrg    includedir=$ac_optarg ;;
8771abf7346Smrg
8781abf7346Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
8791abf7346Smrg    ac_prev=infodir ;;
8801abf7346Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
8811abf7346Smrg    infodir=$ac_optarg ;;
8821abf7346Smrg
8831abf7346Smrg  -libdir | --libdir | --libdi | --libd)
8841abf7346Smrg    ac_prev=libdir ;;
8851abf7346Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
8861abf7346Smrg    libdir=$ac_optarg ;;
8871abf7346Smrg
8881abf7346Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
8891abf7346Smrg  | --libexe | --libex | --libe)
8901abf7346Smrg    ac_prev=libexecdir ;;
8911abf7346Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
8921abf7346Smrg  | --libexe=* | --libex=* | --libe=*)
8931abf7346Smrg    libexecdir=$ac_optarg ;;
8941abf7346Smrg
8951abf7346Smrg  -localedir | --localedir | --localedi | --localed | --locale)
8961abf7346Smrg    ac_prev=localedir ;;
8971abf7346Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
8981abf7346Smrg    localedir=$ac_optarg ;;
8991abf7346Smrg
9001abf7346Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9011abf7346Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
9021abf7346Smrg    ac_prev=localstatedir ;;
9031abf7346Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9041abf7346Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9051abf7346Smrg    localstatedir=$ac_optarg ;;
9061abf7346Smrg
9071abf7346Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9081abf7346Smrg    ac_prev=mandir ;;
9091abf7346Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9101abf7346Smrg    mandir=$ac_optarg ;;
9111abf7346Smrg
9121abf7346Smrg  -nfp | --nfp | --nf)
9131abf7346Smrg    # Obsolete; use --without-fp.
9141abf7346Smrg    with_fp=no ;;
9151abf7346Smrg
9161abf7346Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9171abf7346Smrg  | --no-cr | --no-c | -n)
9181abf7346Smrg    no_create=yes ;;
9191abf7346Smrg
9201abf7346Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9211abf7346Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9221abf7346Smrg    no_recursion=yes ;;
9231abf7346Smrg
9241abf7346Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9251abf7346Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9261abf7346Smrg  | --oldin | --oldi | --old | --ol | --o)
9271abf7346Smrg    ac_prev=oldincludedir ;;
9281abf7346Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9291abf7346Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9301abf7346Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9311abf7346Smrg    oldincludedir=$ac_optarg ;;
9321abf7346Smrg
9331abf7346Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9341abf7346Smrg    ac_prev=prefix ;;
9351abf7346Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9361abf7346Smrg    prefix=$ac_optarg ;;
9371abf7346Smrg
9381abf7346Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
9391abf7346Smrg  | --program-pre | --program-pr | --program-p)
9401abf7346Smrg    ac_prev=program_prefix ;;
9411abf7346Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
9421abf7346Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9431abf7346Smrg    program_prefix=$ac_optarg ;;
9441abf7346Smrg
9451abf7346Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
9461abf7346Smrg  | --program-suf | --program-su | --program-s)
9471abf7346Smrg    ac_prev=program_suffix ;;
9481abf7346Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
9491abf7346Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9501abf7346Smrg    program_suffix=$ac_optarg ;;
9511abf7346Smrg
9521abf7346Smrg  -program-transform-name | --program-transform-name \
9531abf7346Smrg  | --program-transform-nam | --program-transform-na \
9541abf7346Smrg  | --program-transform-n | --program-transform- \
9551abf7346Smrg  | --program-transform | --program-transfor \
9561abf7346Smrg  | --program-transfo | --program-transf \
9571abf7346Smrg  | --program-trans | --program-tran \
9581abf7346Smrg  | --progr-tra | --program-tr | --program-t)
9591abf7346Smrg    ac_prev=program_transform_name ;;
9601abf7346Smrg  -program-transform-name=* | --program-transform-name=* \
9611abf7346Smrg  | --program-transform-nam=* | --program-transform-na=* \
9621abf7346Smrg  | --program-transform-n=* | --program-transform-=* \
9631abf7346Smrg  | --program-transform=* | --program-transfor=* \
9641abf7346Smrg  | --program-transfo=* | --program-transf=* \
9651abf7346Smrg  | --program-trans=* | --program-tran=* \
9661abf7346Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
9671abf7346Smrg    program_transform_name=$ac_optarg ;;
9681abf7346Smrg
9691abf7346Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
9701abf7346Smrg    ac_prev=pdfdir ;;
9711abf7346Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
9721abf7346Smrg    pdfdir=$ac_optarg ;;
9731abf7346Smrg
9741abf7346Smrg  -psdir | --psdir | --psdi | --psd | --ps)
9751abf7346Smrg    ac_prev=psdir ;;
9761abf7346Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
9771abf7346Smrg    psdir=$ac_optarg ;;
9781abf7346Smrg
9791abf7346Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9801abf7346Smrg  | -silent | --silent | --silen | --sile | --sil)
9811abf7346Smrg    silent=yes ;;
9821abf7346Smrg
9831abf7346Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
9841abf7346Smrg    ac_prev=sbindir ;;
9851abf7346Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
9861abf7346Smrg  | --sbi=* | --sb=*)
9871abf7346Smrg    sbindir=$ac_optarg ;;
9881abf7346Smrg
9891abf7346Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
9901abf7346Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
9911abf7346Smrg  | --sharedst | --shareds | --shared | --share | --shar \
9921abf7346Smrg  | --sha | --sh)
9931abf7346Smrg    ac_prev=sharedstatedir ;;
9941abf7346Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
9951abf7346Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
9961abf7346Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
9971abf7346Smrg  | --sha=* | --sh=*)
9981abf7346Smrg    sharedstatedir=$ac_optarg ;;
9991abf7346Smrg
10001abf7346Smrg  -site | --site | --sit)
10011abf7346Smrg    ac_prev=site ;;
10021abf7346Smrg  -site=* | --site=* | --sit=*)
10031abf7346Smrg    site=$ac_optarg ;;
10041abf7346Smrg
10051abf7346Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10061abf7346Smrg    ac_prev=srcdir ;;
10071abf7346Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10081abf7346Smrg    srcdir=$ac_optarg ;;
10091abf7346Smrg
10101abf7346Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10111abf7346Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
10121abf7346Smrg    ac_prev=sysconfdir ;;
10131abf7346Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10141abf7346Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10151abf7346Smrg    sysconfdir=$ac_optarg ;;
10161abf7346Smrg
10171abf7346Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
10181abf7346Smrg    ac_prev=target_alias ;;
10191abf7346Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10201abf7346Smrg    target_alias=$ac_optarg ;;
10211abf7346Smrg
10221abf7346Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
10231abf7346Smrg    verbose=yes ;;
10241abf7346Smrg
10251abf7346Smrg  -version | --version | --versio | --versi | --vers | -V)
10261abf7346Smrg    ac_init_version=: ;;
10271abf7346Smrg
10281abf7346Smrg  -with-* | --with-*)
10291abf7346Smrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10301abf7346Smrg    # Reject names that are not valid shell variable names.
10311abf7346Smrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10321abf7346Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
10331abf7346Smrg   { (exit 1); exit 1; }; }
10341abf7346Smrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10351abf7346Smrg    eval with_$ac_package=\$ac_optarg ;;
10361abf7346Smrg
10371abf7346Smrg  -without-* | --without-*)
10381abf7346Smrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10391abf7346Smrg    # Reject names that are not valid shell variable names.
10401abf7346Smrg    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10411abf7346Smrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
10421abf7346Smrg   { (exit 1); exit 1; }; }
10431abf7346Smrg    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
10441abf7346Smrg    eval with_$ac_package=no ;;
10451abf7346Smrg
10461abf7346Smrg  --x)
10471abf7346Smrg    # Obsolete; use --with-x.
10481abf7346Smrg    with_x=yes ;;
10491abf7346Smrg
10501abf7346Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
10511abf7346Smrg  | --x-incl | --x-inc | --x-in | --x-i)
10521abf7346Smrg    ac_prev=x_includes ;;
10531abf7346Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
10541abf7346Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
10551abf7346Smrg    x_includes=$ac_optarg ;;
10561abf7346Smrg
10571abf7346Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
10581abf7346Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
10591abf7346Smrg    ac_prev=x_libraries ;;
10601abf7346Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
10611abf7346Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10621abf7346Smrg    x_libraries=$ac_optarg ;;
10631abf7346Smrg
10641abf7346Smrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
10651abf7346SmrgTry \`$0 --help' for more information." >&2
10661abf7346Smrg   { (exit 1); exit 1; }; }
10671abf7346Smrg    ;;
10681abf7346Smrg
10691abf7346Smrg  *=*)
10701abf7346Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10711abf7346Smrg    # Reject names that are not valid shell variable names.
10721abf7346Smrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
10731abf7346Smrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
10741abf7346Smrg   { (exit 1); exit 1; }; }
10751abf7346Smrg    eval $ac_envvar=\$ac_optarg
10761abf7346Smrg    export $ac_envvar ;;
10771abf7346Smrg
10781abf7346Smrg  *)
10791abf7346Smrg    # FIXME: should be removed in autoconf 3.0.
10801abf7346Smrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10811abf7346Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10821abf7346Smrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10831abf7346Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10841abf7346Smrg    ;;
10851abf7346Smrg
10861abf7346Smrg  esac
10871abf7346Smrgdone
10881abf7346Smrg
10891abf7346Smrgif test -n "$ac_prev"; then
10901abf7346Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
10911abf7346Smrg  { echo "$as_me: error: missing argument to $ac_option" >&2
10921abf7346Smrg   { (exit 1); exit 1; }; }
10931abf7346Smrgfi
10941abf7346Smrg
10951abf7346Smrg# Be sure to have absolute directory names.
10961abf7346Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
10971abf7346Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
10981abf7346Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
10991abf7346Smrg		libdir localedir mandir
11001abf7346Smrgdo
11011abf7346Smrg  eval ac_val=\$$ac_var
11021abf7346Smrg  case $ac_val in
11031abf7346Smrg    [\\/$]* | ?:[\\/]* )  continue;;
11041abf7346Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11051abf7346Smrg  esac
11061abf7346Smrg  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
11071abf7346Smrg   { (exit 1); exit 1; }; }
11081abf7346Smrgdone
11091abf7346Smrg
11101abf7346Smrg# There might be people who depend on the old broken behavior: `$host'
11111abf7346Smrg# used to hold the argument of --host etc.
11121abf7346Smrg# FIXME: To remove some day.
11131abf7346Smrgbuild=$build_alias
11141abf7346Smrghost=$host_alias
11151abf7346Smrgtarget=$target_alias
11161abf7346Smrg
11171abf7346Smrg# FIXME: To remove some day.
11181abf7346Smrgif test "x$host_alias" != x; then
11191abf7346Smrg  if test "x$build_alias" = x; then
11201abf7346Smrg    cross_compiling=maybe
11211abf7346Smrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11221abf7346Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
11231abf7346Smrg  elif test "x$build_alias" != "x$host_alias"; then
11241abf7346Smrg    cross_compiling=yes
11251abf7346Smrg  fi
11261abf7346Smrgfi
11271abf7346Smrg
11281abf7346Smrgac_tool_prefix=
11291abf7346Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
11301abf7346Smrg
11311abf7346Smrgtest "$silent" = yes && exec 6>/dev/null
11321abf7346Smrg
11331abf7346Smrg
11341abf7346Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
11351abf7346Smrgac_ls_di=`ls -di .` &&
11361abf7346Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
11371abf7346Smrg  { echo "$as_me: error: Working directory cannot be determined" >&2
11381abf7346Smrg   { (exit 1); exit 1; }; }
11391abf7346Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
11401abf7346Smrg  { echo "$as_me: error: pwd does not report name of working directory" >&2
11411abf7346Smrg   { (exit 1); exit 1; }; }
11421abf7346Smrg
11431abf7346Smrg
11441abf7346Smrg# Find the source files, if location was not specified.
11451abf7346Smrgif test -z "$srcdir"; then
11461abf7346Smrg  ac_srcdir_defaulted=yes
11471abf7346Smrg  # Try the directory containing this script, then the parent directory.
11481abf7346Smrg  ac_confdir=`$as_dirname -- "$0" ||
11491abf7346Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11501abf7346Smrg	 X"$0" : 'X\(//\)[^/]' \| \
11511abf7346Smrg	 X"$0" : 'X\(//\)$' \| \
11521abf7346Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11531abf7346Smrgecho X"$0" |
11541abf7346Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11551abf7346Smrg	    s//\1/
11561abf7346Smrg	    q
11571abf7346Smrg	  }
11581abf7346Smrg	  /^X\(\/\/\)[^/].*/{
11591abf7346Smrg	    s//\1/
11601abf7346Smrg	    q
11611abf7346Smrg	  }
11621abf7346Smrg	  /^X\(\/\/\)$/{
11631abf7346Smrg	    s//\1/
11641abf7346Smrg	    q
11651abf7346Smrg	  }
11661abf7346Smrg	  /^X\(\/\).*/{
11671abf7346Smrg	    s//\1/
11681abf7346Smrg	    q
11691abf7346Smrg	  }
11701abf7346Smrg	  s/.*/./; q'`
11711abf7346Smrg  srcdir=$ac_confdir
11721abf7346Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
11731abf7346Smrg    srcdir=..
11741abf7346Smrg  fi
11751abf7346Smrgelse
11761abf7346Smrg  ac_srcdir_defaulted=no
11771abf7346Smrgfi
11781abf7346Smrgif test ! -r "$srcdir/$ac_unique_file"; then
11791abf7346Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
11801abf7346Smrg  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
11811abf7346Smrg   { (exit 1); exit 1; }; }
11821abf7346Smrgfi
11831abf7346Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11841abf7346Smrgac_abs_confdir=`(
11851abf7346Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
11861abf7346Smrg   { (exit 1); exit 1; }; }
11871abf7346Smrg	pwd)`
11881abf7346Smrg# When building in place, set srcdir=.
11891abf7346Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
11901abf7346Smrg  srcdir=.
11911abf7346Smrgfi
11921abf7346Smrg# Remove unnecessary trailing slashes from srcdir.
11931abf7346Smrg# Double slashes in file names in object file debugging info
11941abf7346Smrg# mess up M-x gdb in Emacs.
11951abf7346Smrgcase $srcdir in
11961abf7346Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
11971abf7346Smrgesac
11981abf7346Smrgfor ac_var in $ac_precious_vars; do
11991abf7346Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12001abf7346Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
12011abf7346Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12021abf7346Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12031abf7346Smrgdone
12041abf7346Smrg
12051abf7346Smrg#
12061abf7346Smrg# Report the --help message.
12071abf7346Smrg#
12081abf7346Smrgif test "$ac_init_help" = "long"; then
12091abf7346Smrg  # Omit some internal or obsolete options to make the list less imposing.
12101abf7346Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
12111abf7346Smrg  cat <<_ACEOF
12121abf7346Smrg\`configure' configures xman 1.0.3 to adapt to many kinds of systems.
12131abf7346Smrg
12141abf7346SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
12151abf7346Smrg
12161abf7346SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
12171abf7346SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
12181abf7346Smrg
12191abf7346SmrgDefaults for the options are specified in brackets.
12201abf7346Smrg
12211abf7346SmrgConfiguration:
12221abf7346Smrg  -h, --help              display this help and exit
12231abf7346Smrg      --help=short        display options specific to this package
12241abf7346Smrg      --help=recursive    display the short help of all the included packages
12251abf7346Smrg  -V, --version           display version information and exit
12261abf7346Smrg  -q, --quiet, --silent   do not print \`checking...' messages
12271abf7346Smrg      --cache-file=FILE   cache test results in FILE [disabled]
12281abf7346Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
12291abf7346Smrg  -n, --no-create         do not create output files
12301abf7346Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
12311abf7346Smrg
12321abf7346SmrgInstallation directories:
12331abf7346Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
12341abf7346Smrg			  [$ac_default_prefix]
12351abf7346Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
12361abf7346Smrg			  [PREFIX]
12371abf7346Smrg
12381abf7346SmrgBy default, \`make install' will install all the files in
12391abf7346Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
12401abf7346Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
12411abf7346Smrgfor instance \`--prefix=\$HOME'.
12421abf7346Smrg
12431abf7346SmrgFor better control, use the options below.
12441abf7346Smrg
12451abf7346SmrgFine tuning of the installation directories:
12461abf7346Smrg  --bindir=DIR           user executables [EPREFIX/bin]
12471abf7346Smrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
12481abf7346Smrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
12491abf7346Smrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
12501abf7346Smrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
12511abf7346Smrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
12521abf7346Smrg  --libdir=DIR           object code libraries [EPREFIX/lib]
12531abf7346Smrg  --includedir=DIR       C header files [PREFIX/include]
12541abf7346Smrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
12551abf7346Smrg  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
12561abf7346Smrg  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
12571abf7346Smrg  --infodir=DIR          info documentation [DATAROOTDIR/info]
12581abf7346Smrg  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
12591abf7346Smrg  --mandir=DIR           man documentation [DATAROOTDIR/man]
12601abf7346Smrg  --docdir=DIR           documentation root [DATAROOTDIR/doc/xman]
12611abf7346Smrg  --htmldir=DIR          html documentation [DOCDIR]
12621abf7346Smrg  --dvidir=DIR           dvi documentation [DOCDIR]
12631abf7346Smrg  --pdfdir=DIR           pdf documentation [DOCDIR]
12641abf7346Smrg  --psdir=DIR            ps documentation [DOCDIR]
12651abf7346Smrg_ACEOF
12661abf7346Smrg
12671abf7346Smrg  cat <<\_ACEOF
12681abf7346Smrg
12691abf7346SmrgProgram names:
12701abf7346Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
12711abf7346Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
12721abf7346Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
12731abf7346Smrg
12741abf7346SmrgSystem types:
12751abf7346Smrg  --build=BUILD     configure for building on BUILD [guessed]
12761abf7346Smrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
12771abf7346Smrg_ACEOF
12781abf7346Smrgfi
12791abf7346Smrg
12801abf7346Smrgif test -n "$ac_init_help"; then
12811abf7346Smrg  case $ac_init_help in
12821abf7346Smrg     short | recursive ) echo "Configuration of xman 1.0.3:";;
12831abf7346Smrg   esac
12841abf7346Smrg  cat <<\_ACEOF
12851abf7346Smrg
12861abf7346SmrgOptional Features:
12871abf7346Smrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
12881abf7346Smrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
12891abf7346Smrg  --enable-maintainer-mode  enable make rules and dependencies not useful
12901abf7346Smrg			  (and sometimes confusing) to the casual installer
12911abf7346Smrg  --disable-dependency-tracking  speeds up one-time build
12921abf7346Smrg  --enable-dependency-tracking   do not reject slow dependency extractors
12931abf7346Smrg  --enable-xprint         Enable XPrint support
12941abf7346Smrg
12951abf7346SmrgOptional Packages:
12961abf7346Smrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
12971abf7346Smrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
12981abf7346Smrg  --with-helpdir=<path>   Set default directory for xman.help (default:
12991abf7346Smrg                          ${datadir}/X11)
13001abf7346Smrg  --with-sysmanpath=<path>
13011abf7346Smrg                          Set default system man page search path
13021abf7346Smrg  --with-localmanpath=<path>
13031abf7346Smrg                          Set default local man page search path
13041abf7346Smrg  --with-release-version=STRING
13051abf7346Smrg                          Use release version string in package name
13061abf7346Smrg
13071abf7346SmrgSome influential environment variables:
13081abf7346Smrg  CC          C compiler command
13091abf7346Smrg  CFLAGS      C compiler flags
13101abf7346Smrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
13111abf7346Smrg              nonstandard directory <lib dir>
13121abf7346Smrg  LIBS        libraries to pass to the linker, e.g. -l<library>
13131abf7346Smrg  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
13141abf7346Smrg              you have headers in a nonstandard directory <include dir>
13151abf7346Smrg  PKG_CONFIG  path to pkg-config utility
13161abf7346Smrg  TMP_XAW_CFLAGS
13171abf7346Smrg              C compiler flags for TMP_XAW, overriding pkg-config
13181abf7346Smrg  TMP_XAW_LIBS
13191abf7346Smrg              linker flags for TMP_XAW, overriding pkg-config
13201abf7346Smrg  XPRINT_UTIL_CFLAGS
13211abf7346Smrg              C compiler flags for XPRINT_UTIL, overriding pkg-config
13221abf7346Smrg  XPRINT_UTIL_LIBS
13231abf7346Smrg              linker flags for XPRINT_UTIL, overriding pkg-config
13241abf7346Smrg  APPDEFS_CFLAGS
13251abf7346Smrg              C compiler flags for APPDEFS, overriding pkg-config
13261abf7346Smrg  APPDEFS_LIBS
13271abf7346Smrg              linker flags for APPDEFS, overriding pkg-config
13281abf7346Smrg
13291abf7346SmrgUse these variables to override the choices made by `configure' or to help
13301abf7346Smrgit to find libraries and programs with nonstandard names/locations.
13311abf7346Smrg
13321abf7346SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
13331abf7346Smrg_ACEOF
13341abf7346Smrgac_status=$?
13351abf7346Smrgfi
13361abf7346Smrg
13371abf7346Smrgif test "$ac_init_help" = "recursive"; then
13381abf7346Smrg  # If there are subdirs, report their specific --help.
13391abf7346Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13401abf7346Smrg    test -d "$ac_dir" || continue
13411abf7346Smrg    ac_builddir=.
13421abf7346Smrg
13431abf7346Smrgcase "$ac_dir" in
13441abf7346Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13451abf7346Smrg*)
13461abf7346Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13471abf7346Smrg  # A ".." for each directory in $ac_dir_suffix.
13481abf7346Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13491abf7346Smrg  case $ac_top_builddir_sub in
13501abf7346Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13511abf7346Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13521abf7346Smrg  esac ;;
13531abf7346Smrgesac
13541abf7346Smrgac_abs_top_builddir=$ac_pwd
13551abf7346Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
13561abf7346Smrg# for backward compatibility:
13571abf7346Smrgac_top_builddir=$ac_top_build_prefix
13581abf7346Smrg
13591abf7346Smrgcase $srcdir in
13601abf7346Smrg  .)  # We are building in place.
13611abf7346Smrg    ac_srcdir=.
13621abf7346Smrg    ac_top_srcdir=$ac_top_builddir_sub
13631abf7346Smrg    ac_abs_top_srcdir=$ac_pwd ;;
13641abf7346Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
13651abf7346Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
13661abf7346Smrg    ac_top_srcdir=$srcdir
13671abf7346Smrg    ac_abs_top_srcdir=$srcdir ;;
13681abf7346Smrg  *) # Relative name.
13691abf7346Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13701abf7346Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
13711abf7346Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13721abf7346Smrgesac
13731abf7346Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13741abf7346Smrg
13751abf7346Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
13761abf7346Smrg    # Check for guested configure.
13771abf7346Smrg    if test -f "$ac_srcdir/configure.gnu"; then
13781abf7346Smrg      echo &&
13791abf7346Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
13801abf7346Smrg    elif test -f "$ac_srcdir/configure"; then
13811abf7346Smrg      echo &&
13821abf7346Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
13831abf7346Smrg    else
13841abf7346Smrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13851abf7346Smrg    fi || ac_status=$?
13861abf7346Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
13871abf7346Smrg  done
13881abf7346Smrgfi
13891abf7346Smrg
13901abf7346Smrgtest -n "$ac_init_help" && exit $ac_status
13911abf7346Smrgif $ac_init_version; then
13921abf7346Smrg  cat <<\_ACEOF
13931abf7346Smrgxman configure 1.0.3
13941abf7346Smrggenerated by GNU Autoconf 2.61
13951abf7346Smrg
13961abf7346SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13971abf7346Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
13981abf7346SmrgThis configure script is free software; the Free Software Foundation
13991abf7346Smrggives unlimited permission to copy, distribute and modify it.
14001abf7346Smrg_ACEOF
14011abf7346Smrg  exit
14021abf7346Smrgfi
14031abf7346Smrgcat >config.log <<_ACEOF
14041abf7346SmrgThis file contains any messages produced by compilers while
14051abf7346Smrgrunning configure, to aid debugging if configure makes a mistake.
14061abf7346Smrg
14071abf7346SmrgIt was created by xman $as_me 1.0.3, which was
14081abf7346Smrggenerated by GNU Autoconf 2.61.  Invocation command line was
14091abf7346Smrg
14101abf7346Smrg  $ $0 $@
14111abf7346Smrg
14121abf7346Smrg_ACEOF
14131abf7346Smrgexec 5>>config.log
14141abf7346Smrg{
14151abf7346Smrgcat <<_ASUNAME
14161abf7346Smrg## --------- ##
14171abf7346Smrg## Platform. ##
14181abf7346Smrg## --------- ##
14191abf7346Smrg
14201abf7346Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
14211abf7346Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
14221abf7346Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
14231abf7346Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
14241abf7346Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
14251abf7346Smrg
14261abf7346Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
14271abf7346Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
14281abf7346Smrg
14291abf7346Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
14301abf7346Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
14311abf7346Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
14321abf7346Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
14331abf7346Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
14341abf7346Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
14351abf7346Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
14361abf7346Smrg
14371abf7346Smrg_ASUNAME
14381abf7346Smrg
14391abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14401abf7346Smrgfor as_dir in $PATH
14411abf7346Smrgdo
14421abf7346Smrg  IFS=$as_save_IFS
14431abf7346Smrg  test -z "$as_dir" && as_dir=.
14441abf7346Smrg  echo "PATH: $as_dir"
14451abf7346Smrgdone
14461abf7346SmrgIFS=$as_save_IFS
14471abf7346Smrg
14481abf7346Smrg} >&5
14491abf7346Smrg
14501abf7346Smrgcat >&5 <<_ACEOF
14511abf7346Smrg
14521abf7346Smrg
14531abf7346Smrg## ----------- ##
14541abf7346Smrg## Core tests. ##
14551abf7346Smrg## ----------- ##
14561abf7346Smrg
14571abf7346Smrg_ACEOF
14581abf7346Smrg
14591abf7346Smrg
14601abf7346Smrg# Keep a trace of the command line.
14611abf7346Smrg# Strip out --no-create and --no-recursion so they do not pile up.
14621abf7346Smrg# Strip out --silent because we don't want to record it for future runs.
14631abf7346Smrg# Also quote any args containing shell meta-characters.
14641abf7346Smrg# Make two passes to allow for proper duplicate-argument suppression.
14651abf7346Smrgac_configure_args=
14661abf7346Smrgac_configure_args0=
14671abf7346Smrgac_configure_args1=
14681abf7346Smrgac_must_keep_next=false
14691abf7346Smrgfor ac_pass in 1 2
14701abf7346Smrgdo
14711abf7346Smrg  for ac_arg
14721abf7346Smrg  do
14731abf7346Smrg    case $ac_arg in
14741abf7346Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
14751abf7346Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14761abf7346Smrg    | -silent | --silent | --silen | --sile | --sil)
14771abf7346Smrg      continue ;;
14781abf7346Smrg    *\'*)
14791abf7346Smrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14801abf7346Smrg    esac
14811abf7346Smrg    case $ac_pass in
14821abf7346Smrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
14831abf7346Smrg    2)
14841abf7346Smrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
14851abf7346Smrg      if test $ac_must_keep_next = true; then
14861abf7346Smrg	ac_must_keep_next=false # Got value, back to normal.
14871abf7346Smrg      else
14881abf7346Smrg	case $ac_arg in
14891abf7346Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
14901abf7346Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
14911abf7346Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
14921abf7346Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
14931abf7346Smrg	    case "$ac_configure_args0 " in
14941abf7346Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
14951abf7346Smrg	    esac
14961abf7346Smrg	    ;;
14971abf7346Smrg	  -* ) ac_must_keep_next=true ;;
14981abf7346Smrg	esac
14991abf7346Smrg      fi
15001abf7346Smrg      ac_configure_args="$ac_configure_args '$ac_arg'"
15011abf7346Smrg      ;;
15021abf7346Smrg    esac
15031abf7346Smrg  done
15041abf7346Smrgdone
15051abf7346Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
15061abf7346Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
15071abf7346Smrg
15081abf7346Smrg# When interrupted or exit'd, cleanup temporary files, and complete
15091abf7346Smrg# config.log.  We remove comments because anyway the quotes in there
15101abf7346Smrg# would cause problems or look ugly.
15111abf7346Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
15121abf7346Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
15131abf7346Smrgtrap 'exit_status=$?
15141abf7346Smrg  # Save into config.log some information that might help in debugging.
15151abf7346Smrg  {
15161abf7346Smrg    echo
15171abf7346Smrg
15181abf7346Smrg    cat <<\_ASBOX
15191abf7346Smrg## ---------------- ##
15201abf7346Smrg## Cache variables. ##
15211abf7346Smrg## ---------------- ##
15221abf7346Smrg_ASBOX
15231abf7346Smrg    echo
15241abf7346Smrg    # The following way of writing the cache mishandles newlines in values,
15251abf7346Smrg(
15261abf7346Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
15271abf7346Smrg    eval ac_val=\$$ac_var
15281abf7346Smrg    case $ac_val in #(
15291abf7346Smrg    *${as_nl}*)
15301abf7346Smrg      case $ac_var in #(
15311abf7346Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15321abf7346Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15331abf7346Smrg      esac
15341abf7346Smrg      case $ac_var in #(
15351abf7346Smrg      _ | IFS | as_nl) ;; #(
15361abf7346Smrg      *) $as_unset $ac_var ;;
15371abf7346Smrg      esac ;;
15381abf7346Smrg    esac
15391abf7346Smrg  done
15401abf7346Smrg  (set) 2>&1 |
15411abf7346Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
15421abf7346Smrg    *${as_nl}ac_space=\ *)
15431abf7346Smrg      sed -n \
15441abf7346Smrg	"s/'\''/'\''\\\\'\'''\''/g;
15451abf7346Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
15461abf7346Smrg      ;; #(
15471abf7346Smrg    *)
15481abf7346Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15491abf7346Smrg      ;;
15501abf7346Smrg    esac |
15511abf7346Smrg    sort
15521abf7346Smrg)
15531abf7346Smrg    echo
15541abf7346Smrg
15551abf7346Smrg    cat <<\_ASBOX
15561abf7346Smrg## ----------------- ##
15571abf7346Smrg## Output variables. ##
15581abf7346Smrg## ----------------- ##
15591abf7346Smrg_ASBOX
15601abf7346Smrg    echo
15611abf7346Smrg    for ac_var in $ac_subst_vars
15621abf7346Smrg    do
15631abf7346Smrg      eval ac_val=\$$ac_var
15641abf7346Smrg      case $ac_val in
15651abf7346Smrg      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15661abf7346Smrg      esac
15671abf7346Smrg      echo "$ac_var='\''$ac_val'\''"
15681abf7346Smrg    done | sort
15691abf7346Smrg    echo
15701abf7346Smrg
15711abf7346Smrg    if test -n "$ac_subst_files"; then
15721abf7346Smrg      cat <<\_ASBOX
15731abf7346Smrg## ------------------- ##
15741abf7346Smrg## File substitutions. ##
15751abf7346Smrg## ------------------- ##
15761abf7346Smrg_ASBOX
15771abf7346Smrg      echo
15781abf7346Smrg      for ac_var in $ac_subst_files
15791abf7346Smrg      do
15801abf7346Smrg	eval ac_val=\$$ac_var
15811abf7346Smrg	case $ac_val in
15821abf7346Smrg	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15831abf7346Smrg	esac
15841abf7346Smrg	echo "$ac_var='\''$ac_val'\''"
15851abf7346Smrg      done | sort
15861abf7346Smrg      echo
15871abf7346Smrg    fi
15881abf7346Smrg
15891abf7346Smrg    if test -s confdefs.h; then
15901abf7346Smrg      cat <<\_ASBOX
15911abf7346Smrg## ----------- ##
15921abf7346Smrg## confdefs.h. ##
15931abf7346Smrg## ----------- ##
15941abf7346Smrg_ASBOX
15951abf7346Smrg      echo
15961abf7346Smrg      cat confdefs.h
15971abf7346Smrg      echo
15981abf7346Smrg    fi
15991abf7346Smrg    test "$ac_signal" != 0 &&
16001abf7346Smrg      echo "$as_me: caught signal $ac_signal"
16011abf7346Smrg    echo "$as_me: exit $exit_status"
16021abf7346Smrg  } >&5
16031abf7346Smrg  rm -f core *.core core.conftest.* &&
16041abf7346Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
16051abf7346Smrg    exit $exit_status
16061abf7346Smrg' 0
16071abf7346Smrgfor ac_signal in 1 2 13 15; do
16081abf7346Smrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
16091abf7346Smrgdone
16101abf7346Smrgac_signal=0
16111abf7346Smrg
16121abf7346Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
16131abf7346Smrgrm -f -r conftest* confdefs.h
16141abf7346Smrg
16151abf7346Smrg# Predefined preprocessor variables.
16161abf7346Smrg
16171abf7346Smrgcat >>confdefs.h <<_ACEOF
16181abf7346Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
16191abf7346Smrg_ACEOF
16201abf7346Smrg
16211abf7346Smrg
16221abf7346Smrgcat >>confdefs.h <<_ACEOF
16231abf7346Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16241abf7346Smrg_ACEOF
16251abf7346Smrg
16261abf7346Smrg
16271abf7346Smrgcat >>confdefs.h <<_ACEOF
16281abf7346Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
16291abf7346Smrg_ACEOF
16301abf7346Smrg
16311abf7346Smrg
16321abf7346Smrgcat >>confdefs.h <<_ACEOF
16331abf7346Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
16341abf7346Smrg_ACEOF
16351abf7346Smrg
16361abf7346Smrg
16371abf7346Smrgcat >>confdefs.h <<_ACEOF
16381abf7346Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16391abf7346Smrg_ACEOF
16401abf7346Smrg
16411abf7346Smrg
16421abf7346Smrg# Let the site file select an alternate cache file if it wants to.
16431abf7346Smrg# Prefer explicitly selected file to automatically selected ones.
16441abf7346Smrgif test -n "$CONFIG_SITE"; then
16451abf7346Smrg  set x "$CONFIG_SITE"
16461abf7346Smrgelif test "x$prefix" != xNONE; then
16471abf7346Smrg  set x "$prefix/share/config.site" "$prefix/etc/config.site"
16481abf7346Smrgelse
16491abf7346Smrg  set x "$ac_default_prefix/share/config.site" \
16501abf7346Smrg	"$ac_default_prefix/etc/config.site"
16511abf7346Smrgfi
16521abf7346Smrgshift
16531abf7346Smrgfor ac_site_file
16541abf7346Smrgdo
16551abf7346Smrg  if test -r "$ac_site_file"; then
16561abf7346Smrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
16571abf7346Smrgecho "$as_me: loading site script $ac_site_file" >&6;}
16581abf7346Smrg    sed 's/^/| /' "$ac_site_file" >&5
16591abf7346Smrg    . "$ac_site_file"
16601abf7346Smrg  fi
16611abf7346Smrgdone
16621abf7346Smrg
16631abf7346Smrgif test -r "$cache_file"; then
16641abf7346Smrg  # Some versions of bash will fail to source /dev/null (special
16651abf7346Smrg  # files actually), so we avoid doing that.
16661abf7346Smrg  if test -f "$cache_file"; then
16671abf7346Smrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
16681abf7346Smrgecho "$as_me: loading cache $cache_file" >&6;}
16691abf7346Smrg    case $cache_file in
16701abf7346Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
16711abf7346Smrg      *)                      . "./$cache_file";;
16721abf7346Smrg    esac
16731abf7346Smrg  fi
16741abf7346Smrgelse
16751abf7346Smrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
16761abf7346Smrgecho "$as_me: creating cache $cache_file" >&6;}
16771abf7346Smrg  >$cache_file
16781abf7346Smrgfi
16791abf7346Smrg
16801abf7346Smrg# Check that the precious variables saved in the cache have kept the same
16811abf7346Smrg# value.
16821abf7346Smrgac_cache_corrupted=false
16831abf7346Smrgfor ac_var in $ac_precious_vars; do
16841abf7346Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
16851abf7346Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
16861abf7346Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
16871abf7346Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
16881abf7346Smrg  case $ac_old_set,$ac_new_set in
16891abf7346Smrg    set,)
16901abf7346Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
16911abf7346Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
16921abf7346Smrg      ac_cache_corrupted=: ;;
16931abf7346Smrg    ,set)
16941abf7346Smrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
16951abf7346Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
16961abf7346Smrg      ac_cache_corrupted=: ;;
16971abf7346Smrg    ,);;
16981abf7346Smrg    *)
16991abf7346Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
17001abf7346Smrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
17011abf7346Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17021abf7346Smrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
17031abf7346Smrgecho "$as_me:   former value:  $ac_old_val" >&2;}
17041abf7346Smrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
17051abf7346Smrgecho "$as_me:   current value: $ac_new_val" >&2;}
17061abf7346Smrg	ac_cache_corrupted=:
17071abf7346Smrg      fi;;
17081abf7346Smrg  esac
17091abf7346Smrg  # Pass precious variables to config.status.
17101abf7346Smrg  if test "$ac_new_set" = set; then
17111abf7346Smrg    case $ac_new_val in
17121abf7346Smrg    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17131abf7346Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
17141abf7346Smrg    esac
17151abf7346Smrg    case " $ac_configure_args " in
17161abf7346Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
17171abf7346Smrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
17181abf7346Smrg    esac
17191abf7346Smrg  fi
17201abf7346Smrgdone
17211abf7346Smrgif $ac_cache_corrupted; then
17221abf7346Smrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
17231abf7346Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
17241abf7346Smrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
17251abf7346Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
17261abf7346Smrg   { (exit 1); exit 1; }; }
17271abf7346Smrgfi
17281abf7346Smrg
17291abf7346Smrg
17301abf7346Smrg
17311abf7346Smrg
17321abf7346Smrg
17331abf7346Smrg
17341abf7346Smrg
17351abf7346Smrg
17361abf7346Smrg
17371abf7346Smrg
17381abf7346Smrg
17391abf7346Smrg
17401abf7346Smrg
17411abf7346Smrg
17421abf7346Smrg
17431abf7346Smrg
17441abf7346Smrg
17451abf7346Smrg
17461abf7346Smrg
17471abf7346Smrg
17481abf7346Smrg
17491abf7346Smrg
17501abf7346Smrg
17511abf7346Smrg
17521abf7346Smrg
17531abf7346Smrgac_ext=c
17541abf7346Smrgac_cpp='$CPP $CPPFLAGS'
17551abf7346Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17561abf7346Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17571abf7346Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
17581abf7346Smrg
17591abf7346Smrg
17601abf7346Smrgam__api_version='1.10'
17611abf7346Smrg
17621abf7346Smrgac_aux_dir=
17631abf7346Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17641abf7346Smrg  if test -f "$ac_dir/install-sh"; then
17651abf7346Smrg    ac_aux_dir=$ac_dir
17661abf7346Smrg    ac_install_sh="$ac_aux_dir/install-sh -c"
17671abf7346Smrg    break
17681abf7346Smrg  elif test -f "$ac_dir/install.sh"; then
17691abf7346Smrg    ac_aux_dir=$ac_dir
17701abf7346Smrg    ac_install_sh="$ac_aux_dir/install.sh -c"
17711abf7346Smrg    break
17721abf7346Smrg  elif test -f "$ac_dir/shtool"; then
17731abf7346Smrg    ac_aux_dir=$ac_dir
17741abf7346Smrg    ac_install_sh="$ac_aux_dir/shtool install -c"
17751abf7346Smrg    break
17761abf7346Smrg  fi
17771abf7346Smrgdone
17781abf7346Smrgif test -z "$ac_aux_dir"; then
17791abf7346Smrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
17801abf7346Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
17811abf7346Smrg   { (exit 1); exit 1; }; }
17821abf7346Smrgfi
17831abf7346Smrg
17841abf7346Smrg# These three variables are undocumented and unsupported,
17851abf7346Smrg# and are intended to be withdrawn in a future Autoconf release.
17861abf7346Smrg# They can cause serious problems if a builder's source tree is in a directory
17871abf7346Smrg# whose full name contains unusual characters.
17881abf7346Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
17891abf7346Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
17901abf7346Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
17911abf7346Smrg
17921abf7346Smrg
17931abf7346Smrg# Find a good install program.  We prefer a C program (faster),
17941abf7346Smrg# so one script is as good as another.  But avoid the broken or
17951abf7346Smrg# incompatible versions:
17961abf7346Smrg# SysV /etc/install, /usr/sbin/install
17971abf7346Smrg# SunOS /usr/etc/install
17981abf7346Smrg# IRIX /sbin/install
17991abf7346Smrg# AIX /bin/install
18001abf7346Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
18011abf7346Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18021abf7346Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
18031abf7346Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18041abf7346Smrg# OS/2's system install, which has a completely different semantic
18051abf7346Smrg# ./install, which can be erroneously created by make from ./install.sh.
18061abf7346Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18071abf7346Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
18081abf7346Smrgif test -z "$INSTALL"; then
18091abf7346Smrgif test "${ac_cv_path_install+set}" = set; then
18101abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
18111abf7346Smrgelse
18121abf7346Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18131abf7346Smrgfor as_dir in $PATH
18141abf7346Smrgdo
18151abf7346Smrg  IFS=$as_save_IFS
18161abf7346Smrg  test -z "$as_dir" && as_dir=.
18171abf7346Smrg  # Account for people who put trailing slashes in PATH elements.
18181abf7346Smrgcase $as_dir/ in
18191abf7346Smrg  ./ | .// | /cC/* | \
18201abf7346Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
18211abf7346Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18221abf7346Smrg  /usr/ucb/* ) ;;
18231abf7346Smrg  *)
18241abf7346Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
18251abf7346Smrg    # Don't use installbsd from OSF since it installs stuff as root
18261abf7346Smrg    # by default.
18271abf7346Smrg    for ac_prog in ginstall scoinst install; do
18281abf7346Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
18291abf7346Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
18301abf7346Smrg	  if test $ac_prog = install &&
18311abf7346Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18321abf7346Smrg	    # AIX install.  It has an incompatible calling convention.
18331abf7346Smrg	    :
18341abf7346Smrg	  elif test $ac_prog = install &&
18351abf7346Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18361abf7346Smrg	    # program-specific install script used by HP pwplus--don't use.
18371abf7346Smrg	    :
18381abf7346Smrg	  else
18391abf7346Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18401abf7346Smrg	    break 3
18411abf7346Smrg	  fi
18421abf7346Smrg	fi
18431abf7346Smrg      done
18441abf7346Smrg    done
18451abf7346Smrg    ;;
18461abf7346Smrgesac
18471abf7346Smrgdone
18481abf7346SmrgIFS=$as_save_IFS
18491abf7346Smrg
18501abf7346Smrg
18511abf7346Smrgfi
18521abf7346Smrg  if test "${ac_cv_path_install+set}" = set; then
18531abf7346Smrg    INSTALL=$ac_cv_path_install
18541abf7346Smrg  else
18551abf7346Smrg    # As a last resort, use the slow shell script.  Don't cache a
18561abf7346Smrg    # value for INSTALL within a source directory, because that will
18571abf7346Smrg    # break other packages using the cache if that directory is
18581abf7346Smrg    # removed, or if the value is a relative name.
18591abf7346Smrg    INSTALL=$ac_install_sh
18601abf7346Smrg  fi
18611abf7346Smrgfi
18621abf7346Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
18631abf7346Smrgecho "${ECHO_T}$INSTALL" >&6; }
18641abf7346Smrg
18651abf7346Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18661abf7346Smrg# It thinks the first close brace ends the variable substitution.
18671abf7346Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
18681abf7346Smrg
18691abf7346Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
18701abf7346Smrg
18711abf7346Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18721abf7346Smrg
18731abf7346Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
18741abf7346Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
18751abf7346Smrg# Just in case
18761abf7346Smrgsleep 1
18771abf7346Smrgecho timestamp > conftest.file
18781abf7346Smrg# Do `set' in a subshell so we don't clobber the current shell's
18791abf7346Smrg# arguments.  Must try -L first in case configure is actually a
18801abf7346Smrg# symlink; some systems play weird games with the mod time of symlinks
18811abf7346Smrg# (eg FreeBSD returns the mod time of the symlink's containing
18821abf7346Smrg# directory).
18831abf7346Smrgif (
18841abf7346Smrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
18851abf7346Smrg   if test "$*" = "X"; then
18861abf7346Smrg      # -L didn't work.
18871abf7346Smrg      set X `ls -t $srcdir/configure conftest.file`
18881abf7346Smrg   fi
18891abf7346Smrg   rm -f conftest.file
18901abf7346Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
18911abf7346Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
18921abf7346Smrg
18931abf7346Smrg      # If neither matched, then we have a broken ls.  This can happen
18941abf7346Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
18951abf7346Smrg      # broken ls alias from the environment.  This has actually
18961abf7346Smrg      # happened.  Such a system could not be considered "sane".
18971abf7346Smrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
18981abf7346Smrgalias in your environment" >&5
18991abf7346Smrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
19001abf7346Smrgalias in your environment" >&2;}
19011abf7346Smrg   { (exit 1); exit 1; }; }
19021abf7346Smrg   fi
19031abf7346Smrg
19041abf7346Smrg   test "$2" = conftest.file
19051abf7346Smrg   )
19061abf7346Smrgthen
19071abf7346Smrg   # Ok.
19081abf7346Smrg   :
19091abf7346Smrgelse
19101abf7346Smrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
19111abf7346SmrgCheck your system clock" >&5
19121abf7346Smrgecho "$as_me: error: newly created file is older than distributed files!
19131abf7346SmrgCheck your system clock" >&2;}
19141abf7346Smrg   { (exit 1); exit 1; }; }
19151abf7346Smrgfi
19161abf7346Smrg{ echo "$as_me:$LINENO: result: yes" >&5
19171abf7346Smrgecho "${ECHO_T}yes" >&6; }
19181abf7346Smrgtest "$program_prefix" != NONE &&
19191abf7346Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
19201abf7346Smrg# Use a double $ so make ignores it.
19211abf7346Smrgtest "$program_suffix" != NONE &&
19221abf7346Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
19231abf7346Smrg# Double any \ or $.  echo might interpret backslashes.
19241abf7346Smrg# By default was `s,x,x', remove it if useless.
19251abf7346Smrgcat <<\_ACEOF >conftest.sed
19261abf7346Smrgs/[\\$]/&&/g;s/;s,x,x,$//
19271abf7346Smrg_ACEOF
19281abf7346Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
19291abf7346Smrgrm -f conftest.sed
19301abf7346Smrg
19311abf7346Smrg# expand $ac_aux_dir to an absolute path
19321abf7346Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
19331abf7346Smrg
19341abf7346Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
19351abf7346Smrg# Use eval to expand $SHELL
19361abf7346Smrgif eval "$MISSING --run true"; then
19371abf7346Smrg  am_missing_run="$MISSING --run "
19381abf7346Smrgelse
19391abf7346Smrg  am_missing_run=
19401abf7346Smrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
19411abf7346Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
19421abf7346Smrgfi
19431abf7346Smrg
19441abf7346Smrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
19451abf7346Smrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
19461abf7346Smrgif test -z "$MKDIR_P"; then
19471abf7346Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
19481abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
19491abf7346Smrgelse
19501abf7346Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19511abf7346Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19521abf7346Smrgdo
19531abf7346Smrg  IFS=$as_save_IFS
19541abf7346Smrg  test -z "$as_dir" && as_dir=.
19551abf7346Smrg  for ac_prog in mkdir gmkdir; do
19561abf7346Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
19571abf7346Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19581abf7346Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19591abf7346Smrg	     'mkdir (GNU coreutils) '* | \
19601abf7346Smrg	     'mkdir (coreutils) '* | \
19611abf7346Smrg	     'mkdir (fileutils) '4.1*)
19621abf7346Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
19631abf7346Smrg	       break 3;;
19641abf7346Smrg	   esac
19651abf7346Smrg	 done
19661abf7346Smrg       done
19671abf7346Smrgdone
19681abf7346SmrgIFS=$as_save_IFS
19691abf7346Smrg
19701abf7346Smrgfi
19711abf7346Smrg
19721abf7346Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
19731abf7346Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
19741abf7346Smrg  else
19751abf7346Smrg    # As a last resort, use the slow shell script.  Don't cache a
19761abf7346Smrg    # value for MKDIR_P within a source directory, because that will
19771abf7346Smrg    # break other packages using the cache if that directory is
19781abf7346Smrg    # removed, or if the value is a relative name.
19791abf7346Smrg    test -d ./--version && rmdir ./--version
19801abf7346Smrg    MKDIR_P="$ac_install_sh -d"
19811abf7346Smrg  fi
19821abf7346Smrgfi
19831abf7346Smrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
19841abf7346Smrgecho "${ECHO_T}$MKDIR_P" >&6; }
19851abf7346Smrg
19861abf7346Smrgmkdir_p="$MKDIR_P"
19871abf7346Smrgcase $mkdir_p in
19881abf7346Smrg  [\\/$]* | ?:[\\/]*) ;;
19891abf7346Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
19901abf7346Smrgesac
19911abf7346Smrg
19921abf7346Smrgfor ac_prog in gawk mawk nawk awk
19931abf7346Smrgdo
19941abf7346Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
19951abf7346Smrgset dummy $ac_prog; ac_word=$2
19961abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19971abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19981abf7346Smrgif test "${ac_cv_prog_AWK+set}" = set; then
19991abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
20001abf7346Smrgelse
20011abf7346Smrg  if test -n "$AWK"; then
20021abf7346Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
20031abf7346Smrgelse
20041abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20051abf7346Smrgfor as_dir in $PATH
20061abf7346Smrgdo
20071abf7346Smrg  IFS=$as_save_IFS
20081abf7346Smrg  test -z "$as_dir" && as_dir=.
20091abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
20101abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20111abf7346Smrg    ac_cv_prog_AWK="$ac_prog"
20121abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20131abf7346Smrg    break 2
20141abf7346Smrg  fi
20151abf7346Smrgdone
20161abf7346Smrgdone
20171abf7346SmrgIFS=$as_save_IFS
20181abf7346Smrg
20191abf7346Smrgfi
20201abf7346Smrgfi
20211abf7346SmrgAWK=$ac_cv_prog_AWK
20221abf7346Smrgif test -n "$AWK"; then
20231abf7346Smrg  { echo "$as_me:$LINENO: result: $AWK" >&5
20241abf7346Smrgecho "${ECHO_T}$AWK" >&6; }
20251abf7346Smrgelse
20261abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
20271abf7346Smrgecho "${ECHO_T}no" >&6; }
20281abf7346Smrgfi
20291abf7346Smrg
20301abf7346Smrg
20311abf7346Smrg  test -n "$AWK" && break
20321abf7346Smrgdone
20331abf7346Smrg
20341abf7346Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20351abf7346Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20361abf7346Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20371abf7346Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20381abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
20391abf7346Smrgelse
20401abf7346Smrg  cat >conftest.make <<\_ACEOF
20411abf7346SmrgSHELL = /bin/sh
20421abf7346Smrgall:
20431abf7346Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
20441abf7346Smrg_ACEOF
20451abf7346Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20461abf7346Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
20471abf7346Smrg  *@@@%%%=?*=@@@%%%*)
20481abf7346Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
20491abf7346Smrg  *)
20501abf7346Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
20511abf7346Smrgesac
20521abf7346Smrgrm -f conftest.make
20531abf7346Smrgfi
20541abf7346Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
20551abf7346Smrg  { echo "$as_me:$LINENO: result: yes" >&5
20561abf7346Smrgecho "${ECHO_T}yes" >&6; }
20571abf7346Smrg  SET_MAKE=
20581abf7346Smrgelse
20591abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
20601abf7346Smrgecho "${ECHO_T}no" >&6; }
20611abf7346Smrg  SET_MAKE="MAKE=${MAKE-make}"
20621abf7346Smrgfi
20631abf7346Smrg
20641abf7346Smrgrm -rf .tst 2>/dev/null
20651abf7346Smrgmkdir .tst 2>/dev/null
20661abf7346Smrgif test -d .tst; then
20671abf7346Smrg  am__leading_dot=.
20681abf7346Smrgelse
20691abf7346Smrg  am__leading_dot=_
20701abf7346Smrgfi
20711abf7346Smrgrmdir .tst 2>/dev/null
20721abf7346Smrg
20731abf7346Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
20741abf7346Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
20751abf7346Smrg  # is not polluted with repeated "-I."
20761abf7346Smrg  am__isrc=' -I$(srcdir)'
20771abf7346Smrg  # test to see if srcdir already configured
20781abf7346Smrg  if test -f $srcdir/config.status; then
20791abf7346Smrg    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
20801abf7346Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
20811abf7346Smrg   { (exit 1); exit 1; }; }
20821abf7346Smrg  fi
20831abf7346Smrgfi
20841abf7346Smrg
20851abf7346Smrg# test whether we have cygpath
20861abf7346Smrgif test -z "$CYGPATH_W"; then
20871abf7346Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
20881abf7346Smrg    CYGPATH_W='cygpath -w'
20891abf7346Smrg  else
20901abf7346Smrg    CYGPATH_W=echo
20911abf7346Smrg  fi
20921abf7346Smrgfi
20931abf7346Smrg
20941abf7346Smrg
20951abf7346Smrg# Define the identity of the package.
20961abf7346Smrg PACKAGE='xman'
20971abf7346Smrg VERSION='1.0.3'
20981abf7346Smrg
20991abf7346Smrg
21001abf7346Smrgcat >>confdefs.h <<_ACEOF
21011abf7346Smrg#define PACKAGE "$PACKAGE"
21021abf7346Smrg_ACEOF
21031abf7346Smrg
21041abf7346Smrg
21051abf7346Smrgcat >>confdefs.h <<_ACEOF
21061abf7346Smrg#define VERSION "$VERSION"
21071abf7346Smrg_ACEOF
21081abf7346Smrg
21091abf7346Smrg# Some tools Automake needs.
21101abf7346Smrg
21111abf7346SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
21121abf7346Smrg
21131abf7346Smrg
21141abf7346SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
21151abf7346Smrg
21161abf7346Smrg
21171abf7346SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
21181abf7346Smrg
21191abf7346Smrg
21201abf7346SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
21211abf7346Smrg
21221abf7346Smrg
21231abf7346SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
21241abf7346Smrg
21251abf7346Smrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
21261abf7346Smrg
21271abf7346Smrg# Installed binaries are usually stripped using `strip' when the user
21281abf7346Smrg# run `make install-strip'.  However `strip' might not be the right
21291abf7346Smrg# tool to use in cross-compilation environments, therefore Automake
21301abf7346Smrg# will honor the `STRIP' environment variable to overrule this program.
21311abf7346Smrgif test "$cross_compiling" != no; then
21321abf7346Smrg  if test -n "$ac_tool_prefix"; then
21331abf7346Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
21341abf7346Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
21351abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21361abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21371abf7346Smrgif test "${ac_cv_prog_STRIP+set}" = set; then
21381abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
21391abf7346Smrgelse
21401abf7346Smrg  if test -n "$STRIP"; then
21411abf7346Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
21421abf7346Smrgelse
21431abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21441abf7346Smrgfor as_dir in $PATH
21451abf7346Smrgdo
21461abf7346Smrg  IFS=$as_save_IFS
21471abf7346Smrg  test -z "$as_dir" && as_dir=.
21481abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
21491abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21501abf7346Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21511abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21521abf7346Smrg    break 2
21531abf7346Smrg  fi
21541abf7346Smrgdone
21551abf7346Smrgdone
21561abf7346SmrgIFS=$as_save_IFS
21571abf7346Smrg
21581abf7346Smrgfi
21591abf7346Smrgfi
21601abf7346SmrgSTRIP=$ac_cv_prog_STRIP
21611abf7346Smrgif test -n "$STRIP"; then
21621abf7346Smrg  { echo "$as_me:$LINENO: result: $STRIP" >&5
21631abf7346Smrgecho "${ECHO_T}$STRIP" >&6; }
21641abf7346Smrgelse
21651abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
21661abf7346Smrgecho "${ECHO_T}no" >&6; }
21671abf7346Smrgfi
21681abf7346Smrg
21691abf7346Smrg
21701abf7346Smrgfi
21711abf7346Smrgif test -z "$ac_cv_prog_STRIP"; then
21721abf7346Smrg  ac_ct_STRIP=$STRIP
21731abf7346Smrg  # Extract the first word of "strip", so it can be a program name with args.
21741abf7346Smrgset dummy strip; ac_word=$2
21751abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21761abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21771abf7346Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
21781abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
21791abf7346Smrgelse
21801abf7346Smrg  if test -n "$ac_ct_STRIP"; then
21811abf7346Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21821abf7346Smrgelse
21831abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21841abf7346Smrgfor as_dir in $PATH
21851abf7346Smrgdo
21861abf7346Smrg  IFS=$as_save_IFS
21871abf7346Smrg  test -z "$as_dir" && as_dir=.
21881abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
21891abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21901abf7346Smrg    ac_cv_prog_ac_ct_STRIP="strip"
21911abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21921abf7346Smrg    break 2
21931abf7346Smrg  fi
21941abf7346Smrgdone
21951abf7346Smrgdone
21961abf7346SmrgIFS=$as_save_IFS
21971abf7346Smrg
21981abf7346Smrgfi
21991abf7346Smrgfi
22001abf7346Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
22011abf7346Smrgif test -n "$ac_ct_STRIP"; then
22021abf7346Smrg  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
22031abf7346Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; }
22041abf7346Smrgelse
22051abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
22061abf7346Smrgecho "${ECHO_T}no" >&6; }
22071abf7346Smrgfi
22081abf7346Smrg
22091abf7346Smrg  if test "x$ac_ct_STRIP" = x; then
22101abf7346Smrg    STRIP=":"
22111abf7346Smrg  else
22121abf7346Smrg    case $cross_compiling:$ac_tool_warned in
22131abf7346Smrgyes:)
22141abf7346Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22151abf7346Smrgwhose name does not start with the host triplet.  If you think this
22161abf7346Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
22171abf7346Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22181abf7346Smrgwhose name does not start with the host triplet.  If you think this
22191abf7346Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
22201abf7346Smrgac_tool_warned=yes ;;
22211abf7346Smrgesac
22221abf7346Smrg    STRIP=$ac_ct_STRIP
22231abf7346Smrg  fi
22241abf7346Smrgelse
22251abf7346Smrg  STRIP="$ac_cv_prog_STRIP"
22261abf7346Smrgfi
22271abf7346Smrg
22281abf7346Smrgfi
22291abf7346SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
22301abf7346Smrg
22311abf7346Smrg# We need awk for the "check" target.  The system "awk" is bad on
22321abf7346Smrg# some platforms.
22331abf7346Smrg# Always define AMTAR for backward compatibility.
22341abf7346Smrg
22351abf7346SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
22361abf7346Smrg
22371abf7346Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
22381abf7346Smrg
22391abf7346Smrg
22401abf7346Smrg
22411abf7346Smrg
22421abf7346Smrg
22431abf7346Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
22441abf7346Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
22451abf7346Smrg    # Check whether --enable-maintainer-mode was given.
22461abf7346Smrgif test "${enable_maintainer_mode+set}" = set; then
22471abf7346Smrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
22481abf7346Smrgelse
22491abf7346Smrg  USE_MAINTAINER_MODE=no
22501abf7346Smrgfi
22511abf7346Smrg
22521abf7346Smrg  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
22531abf7346Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
22541abf7346Smrg   if test $USE_MAINTAINER_MODE = yes; then
22551abf7346Smrg  MAINTAINER_MODE_TRUE=
22561abf7346Smrg  MAINTAINER_MODE_FALSE='#'
22571abf7346Smrgelse
22581abf7346Smrg  MAINTAINER_MODE_TRUE='#'
22591abf7346Smrg  MAINTAINER_MODE_FALSE=
22601abf7346Smrgfi
22611abf7346Smrg
22621abf7346Smrg  MAINT=$MAINTAINER_MODE_TRUE
22631abf7346Smrg
22641abf7346Smrg
22651abf7346Smrg
22661abf7346Smrgac_config_headers="$ac_config_headers config.h"
22671abf7346Smrg
22681abf7346Smrg
22691abf7346Smrgac_ext=c
22701abf7346Smrgac_cpp='$CPP $CPPFLAGS'
22711abf7346Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22721abf7346Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22731abf7346Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
22741abf7346Smrgif test -n "$ac_tool_prefix"; then
22751abf7346Smrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22761abf7346Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
22771abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22781abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22791abf7346Smrgif test "${ac_cv_prog_CC+set}" = set; then
22801abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
22811abf7346Smrgelse
22821abf7346Smrg  if test -n "$CC"; then
22831abf7346Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
22841abf7346Smrgelse
22851abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22861abf7346Smrgfor as_dir in $PATH
22871abf7346Smrgdo
22881abf7346Smrg  IFS=$as_save_IFS
22891abf7346Smrg  test -z "$as_dir" && as_dir=.
22901abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
22911abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22921abf7346Smrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
22931abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22941abf7346Smrg    break 2
22951abf7346Smrg  fi
22961abf7346Smrgdone
22971abf7346Smrgdone
22981abf7346SmrgIFS=$as_save_IFS
22991abf7346Smrg
23001abf7346Smrgfi
23011abf7346Smrgfi
23021abf7346SmrgCC=$ac_cv_prog_CC
23031abf7346Smrgif test -n "$CC"; then
23041abf7346Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
23051abf7346Smrgecho "${ECHO_T}$CC" >&6; }
23061abf7346Smrgelse
23071abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
23081abf7346Smrgecho "${ECHO_T}no" >&6; }
23091abf7346Smrgfi
23101abf7346Smrg
23111abf7346Smrg
23121abf7346Smrgfi
23131abf7346Smrgif test -z "$ac_cv_prog_CC"; then
23141abf7346Smrg  ac_ct_CC=$CC
23151abf7346Smrg  # Extract the first word of "gcc", so it can be a program name with args.
23161abf7346Smrgset dummy gcc; ac_word=$2
23171abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23181abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23191abf7346Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
23201abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23211abf7346Smrgelse
23221abf7346Smrg  if test -n "$ac_ct_CC"; then
23231abf7346Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23241abf7346Smrgelse
23251abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23261abf7346Smrgfor as_dir in $PATH
23271abf7346Smrgdo
23281abf7346Smrg  IFS=$as_save_IFS
23291abf7346Smrg  test -z "$as_dir" && as_dir=.
23301abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
23311abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23321abf7346Smrg    ac_cv_prog_ac_ct_CC="gcc"
23331abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23341abf7346Smrg    break 2
23351abf7346Smrg  fi
23361abf7346Smrgdone
23371abf7346Smrgdone
23381abf7346SmrgIFS=$as_save_IFS
23391abf7346Smrg
23401abf7346Smrgfi
23411abf7346Smrgfi
23421abf7346Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
23431abf7346Smrgif test -n "$ac_ct_CC"; then
23441abf7346Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
23451abf7346Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
23461abf7346Smrgelse
23471abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
23481abf7346Smrgecho "${ECHO_T}no" >&6; }
23491abf7346Smrgfi
23501abf7346Smrg
23511abf7346Smrg  if test "x$ac_ct_CC" = x; then
23521abf7346Smrg    CC=""
23531abf7346Smrg  else
23541abf7346Smrg    case $cross_compiling:$ac_tool_warned in
23551abf7346Smrgyes:)
23561abf7346Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23571abf7346Smrgwhose name does not start with the host triplet.  If you think this
23581abf7346Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
23591abf7346Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23601abf7346Smrgwhose name does not start with the host triplet.  If you think this
23611abf7346Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
23621abf7346Smrgac_tool_warned=yes ;;
23631abf7346Smrgesac
23641abf7346Smrg    CC=$ac_ct_CC
23651abf7346Smrg  fi
23661abf7346Smrgelse
23671abf7346Smrg  CC="$ac_cv_prog_CC"
23681abf7346Smrgfi
23691abf7346Smrg
23701abf7346Smrgif test -z "$CC"; then
23711abf7346Smrg          if test -n "$ac_tool_prefix"; then
23721abf7346Smrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23731abf7346Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2
23741abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23751abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23761abf7346Smrgif test "${ac_cv_prog_CC+set}" = set; then
23771abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23781abf7346Smrgelse
23791abf7346Smrg  if test -n "$CC"; then
23801abf7346Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
23811abf7346Smrgelse
23821abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23831abf7346Smrgfor as_dir in $PATH
23841abf7346Smrgdo
23851abf7346Smrg  IFS=$as_save_IFS
23861abf7346Smrg  test -z "$as_dir" && as_dir=.
23871abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
23881abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23891abf7346Smrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
23901abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23911abf7346Smrg    break 2
23921abf7346Smrg  fi
23931abf7346Smrgdone
23941abf7346Smrgdone
23951abf7346SmrgIFS=$as_save_IFS
23961abf7346Smrg
23971abf7346Smrgfi
23981abf7346Smrgfi
23991abf7346SmrgCC=$ac_cv_prog_CC
24001abf7346Smrgif test -n "$CC"; then
24011abf7346Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
24021abf7346Smrgecho "${ECHO_T}$CC" >&6; }
24031abf7346Smrgelse
24041abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
24051abf7346Smrgecho "${ECHO_T}no" >&6; }
24061abf7346Smrgfi
24071abf7346Smrg
24081abf7346Smrg
24091abf7346Smrg  fi
24101abf7346Smrgfi
24111abf7346Smrgif test -z "$CC"; then
24121abf7346Smrg  # Extract the first word of "cc", so it can be a program name with args.
24131abf7346Smrgset dummy cc; ac_word=$2
24141abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24151abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24161abf7346Smrgif test "${ac_cv_prog_CC+set}" = set; then
24171abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
24181abf7346Smrgelse
24191abf7346Smrg  if test -n "$CC"; then
24201abf7346Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
24211abf7346Smrgelse
24221abf7346Smrg  ac_prog_rejected=no
24231abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24241abf7346Smrgfor as_dir in $PATH
24251abf7346Smrgdo
24261abf7346Smrg  IFS=$as_save_IFS
24271abf7346Smrg  test -z "$as_dir" && as_dir=.
24281abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
24291abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24301abf7346Smrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24311abf7346Smrg       ac_prog_rejected=yes
24321abf7346Smrg       continue
24331abf7346Smrg     fi
24341abf7346Smrg    ac_cv_prog_CC="cc"
24351abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24361abf7346Smrg    break 2
24371abf7346Smrg  fi
24381abf7346Smrgdone
24391abf7346Smrgdone
24401abf7346SmrgIFS=$as_save_IFS
24411abf7346Smrg
24421abf7346Smrgif test $ac_prog_rejected = yes; then
24431abf7346Smrg  # We found a bogon in the path, so make sure we never use it.
24441abf7346Smrg  set dummy $ac_cv_prog_CC
24451abf7346Smrg  shift
24461abf7346Smrg  if test $# != 0; then
24471abf7346Smrg    # We chose a different compiler from the bogus one.
24481abf7346Smrg    # However, it has the same basename, so the bogon will be chosen
24491abf7346Smrg    # first if we set CC to just the basename; use the full file name.
24501abf7346Smrg    shift
24511abf7346Smrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
24521abf7346Smrg  fi
24531abf7346Smrgfi
24541abf7346Smrgfi
24551abf7346Smrgfi
24561abf7346SmrgCC=$ac_cv_prog_CC
24571abf7346Smrgif test -n "$CC"; then
24581abf7346Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
24591abf7346Smrgecho "${ECHO_T}$CC" >&6; }
24601abf7346Smrgelse
24611abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
24621abf7346Smrgecho "${ECHO_T}no" >&6; }
24631abf7346Smrgfi
24641abf7346Smrg
24651abf7346Smrg
24661abf7346Smrgfi
24671abf7346Smrgif test -z "$CC"; then
24681abf7346Smrg  if test -n "$ac_tool_prefix"; then
24691abf7346Smrg  for ac_prog in cl.exe
24701abf7346Smrg  do
24711abf7346Smrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24721abf7346Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
24731abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24741abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24751abf7346Smrgif test "${ac_cv_prog_CC+set}" = set; then
24761abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
24771abf7346Smrgelse
24781abf7346Smrg  if test -n "$CC"; then
24791abf7346Smrg  ac_cv_prog_CC="$CC" # Let the user override the test.
24801abf7346Smrgelse
24811abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24821abf7346Smrgfor as_dir in $PATH
24831abf7346Smrgdo
24841abf7346Smrg  IFS=$as_save_IFS
24851abf7346Smrg  test -z "$as_dir" && as_dir=.
24861abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
24871abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24881abf7346Smrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
24891abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24901abf7346Smrg    break 2
24911abf7346Smrg  fi
24921abf7346Smrgdone
24931abf7346Smrgdone
24941abf7346SmrgIFS=$as_save_IFS
24951abf7346Smrg
24961abf7346Smrgfi
24971abf7346Smrgfi
24981abf7346SmrgCC=$ac_cv_prog_CC
24991abf7346Smrgif test -n "$CC"; then
25001abf7346Smrg  { echo "$as_me:$LINENO: result: $CC" >&5
25011abf7346Smrgecho "${ECHO_T}$CC" >&6; }
25021abf7346Smrgelse
25031abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
25041abf7346Smrgecho "${ECHO_T}no" >&6; }
25051abf7346Smrgfi
25061abf7346Smrg
25071abf7346Smrg
25081abf7346Smrg    test -n "$CC" && break
25091abf7346Smrg  done
25101abf7346Smrgfi
25111abf7346Smrgif test -z "$CC"; then
25121abf7346Smrg  ac_ct_CC=$CC
25131abf7346Smrg  for ac_prog in cl.exe
25141abf7346Smrgdo
25151abf7346Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
25161abf7346Smrgset dummy $ac_prog; ac_word=$2
25171abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25181abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25191abf7346Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
25201abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
25211abf7346Smrgelse
25221abf7346Smrg  if test -n "$ac_ct_CC"; then
25231abf7346Smrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
25241abf7346Smrgelse
25251abf7346Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25261abf7346Smrgfor as_dir in $PATH
25271abf7346Smrgdo
25281abf7346Smrg  IFS=$as_save_IFS
25291abf7346Smrg  test -z "$as_dir" && as_dir=.
25301abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
25311abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25321abf7346Smrg    ac_cv_prog_ac_ct_CC="$ac_prog"
25331abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25341abf7346Smrg    break 2
25351abf7346Smrg  fi
25361abf7346Smrgdone
25371abf7346Smrgdone
25381abf7346SmrgIFS=$as_save_IFS
25391abf7346Smrg
25401abf7346Smrgfi
25411abf7346Smrgfi
25421abf7346Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC
25431abf7346Smrgif test -n "$ac_ct_CC"; then
25441abf7346Smrg  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
25451abf7346Smrgecho "${ECHO_T}$ac_ct_CC" >&6; }
25461abf7346Smrgelse
25471abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
25481abf7346Smrgecho "${ECHO_T}no" >&6; }
25491abf7346Smrgfi
25501abf7346Smrg
25511abf7346Smrg
25521abf7346Smrg  test -n "$ac_ct_CC" && break
25531abf7346Smrgdone
25541abf7346Smrg
25551abf7346Smrg  if test "x$ac_ct_CC" = x; then
25561abf7346Smrg    CC=""
25571abf7346Smrg  else
25581abf7346Smrg    case $cross_compiling:$ac_tool_warned in
25591abf7346Smrgyes:)
25601abf7346Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25611abf7346Smrgwhose name does not start with the host triplet.  If you think this
25621abf7346Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
25631abf7346Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25641abf7346Smrgwhose name does not start with the host triplet.  If you think this
25651abf7346Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
25661abf7346Smrgac_tool_warned=yes ;;
25671abf7346Smrgesac
25681abf7346Smrg    CC=$ac_ct_CC
25691abf7346Smrg  fi
25701abf7346Smrgfi
25711abf7346Smrg
25721abf7346Smrgfi
25731abf7346Smrg
25741abf7346Smrg
25751abf7346Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
25761abf7346SmrgSee \`config.log' for more details." >&5
25771abf7346Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH
25781abf7346SmrgSee \`config.log' for more details." >&2;}
25791abf7346Smrg   { (exit 1); exit 1; }; }
25801abf7346Smrg
25811abf7346Smrg# Provide some information about the compiler.
25821abf7346Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5
25831abf7346Smrgac_compiler=`set X $ac_compile; echo $2`
25841abf7346Smrg{ (ac_try="$ac_compiler --version >&5"
25851abf7346Smrgcase "(($ac_try" in
25861abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25871abf7346Smrg  *) ac_try_echo=$ac_try;;
25881abf7346Smrgesac
25891abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25901abf7346Smrg  (eval "$ac_compiler --version >&5") 2>&5
25911abf7346Smrg  ac_status=$?
25921abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931abf7346Smrg  (exit $ac_status); }
25941abf7346Smrg{ (ac_try="$ac_compiler -v >&5"
25951abf7346Smrgcase "(($ac_try" in
25961abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25971abf7346Smrg  *) ac_try_echo=$ac_try;;
25981abf7346Smrgesac
25991abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26001abf7346Smrg  (eval "$ac_compiler -v >&5") 2>&5
26011abf7346Smrg  ac_status=$?
26021abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031abf7346Smrg  (exit $ac_status); }
26041abf7346Smrg{ (ac_try="$ac_compiler -V >&5"
26051abf7346Smrgcase "(($ac_try" in
26061abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26071abf7346Smrg  *) ac_try_echo=$ac_try;;
26081abf7346Smrgesac
26091abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101abf7346Smrg  (eval "$ac_compiler -V >&5") 2>&5
26111abf7346Smrg  ac_status=$?
26121abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131abf7346Smrg  (exit $ac_status); }
26141abf7346Smrg
26151abf7346Smrgcat >conftest.$ac_ext <<_ACEOF
26161abf7346Smrg/* confdefs.h.  */
26171abf7346Smrg_ACEOF
26181abf7346Smrgcat confdefs.h >>conftest.$ac_ext
26191abf7346Smrgcat >>conftest.$ac_ext <<_ACEOF
26201abf7346Smrg/* end confdefs.h.  */
26211abf7346Smrg
26221abf7346Smrgint
26231abf7346Smrgmain ()
26241abf7346Smrg{
26251abf7346Smrg
26261abf7346Smrg  ;
26271abf7346Smrg  return 0;
26281abf7346Smrg}
26291abf7346Smrg_ACEOF
26301abf7346Smrgac_clean_files_save=$ac_clean_files
26311abf7346Smrgac_clean_files="$ac_clean_files a.out a.exe b.out"
26321abf7346Smrg# Try to create an executable without -o first, disregard a.out.
26331abf7346Smrg# It will help us diagnose broken compilers, and finding out an intuition
26341abf7346Smrg# of exeext.
26351abf7346Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
26361abf7346Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
26371abf7346Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
26381abf7346Smrg#
26391abf7346Smrg# List of possible output files, starting from the most likely.
26401abf7346Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
26411abf7346Smrg# only as a last resort.  b.out is created by i960 compilers.
26421abf7346Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
26431abf7346Smrg#
26441abf7346Smrg# The IRIX 6 linker writes into existing files which may not be
26451abf7346Smrg# executable, retaining their permissions.  Remove them first so a
26461abf7346Smrg# subsequent execution test works.
26471abf7346Smrgac_rmfiles=
26481abf7346Smrgfor ac_file in $ac_files
26491abf7346Smrgdo
26501abf7346Smrg  case $ac_file in
26511abf7346Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
26521abf7346Smrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
26531abf7346Smrg  esac
26541abf7346Smrgdone
26551abf7346Smrgrm -f $ac_rmfiles
26561abf7346Smrg
26571abf7346Smrgif { (ac_try="$ac_link_default"
26581abf7346Smrgcase "(($ac_try" in
26591abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26601abf7346Smrg  *) ac_try_echo=$ac_try;;
26611abf7346Smrgesac
26621abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26631abf7346Smrg  (eval "$ac_link_default") 2>&5
26641abf7346Smrg  ac_status=$?
26651abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661abf7346Smrg  (exit $ac_status); }; then
26671abf7346Smrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
26681abf7346Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
26691abf7346Smrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
26701abf7346Smrg# so that the user can short-circuit this test for compilers unknown to
26711abf7346Smrg# Autoconf.
26721abf7346Smrgfor ac_file in $ac_files ''
26731abf7346Smrgdo
26741abf7346Smrg  test -f "$ac_file" || continue
26751abf7346Smrg  case $ac_file in
26761abf7346Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
26771abf7346Smrg	;;
26781abf7346Smrg    [ab].out )
26791abf7346Smrg	# We found the default executable, but exeext='' is most
26801abf7346Smrg	# certainly right.
26811abf7346Smrg	break;;
26821abf7346Smrg    *.* )
26831abf7346Smrg        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
26841abf7346Smrg	then :; else
26851abf7346Smrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
26861abf7346Smrg	fi
26871abf7346Smrg	# We set ac_cv_exeext here because the later test for it is not
26881abf7346Smrg	# safe: cross compilers may not add the suffix if given an `-o'
26891abf7346Smrg	# argument, so we may need to know it at that point already.
26901abf7346Smrg	# Even if this section looks crufty: it has the advantage of
26911abf7346Smrg	# actually working.
26921abf7346Smrg	break;;
26931abf7346Smrg    * )
26941abf7346Smrg	break;;
26951abf7346Smrg  esac
26961abf7346Smrgdone
26971abf7346Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
26981abf7346Smrg
26991abf7346Smrgelse
27001abf7346Smrg  ac_file=''
27011abf7346Smrgfi
27021abf7346Smrg
27031abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5
27041abf7346Smrgecho "${ECHO_T}$ac_file" >&6; }
27051abf7346Smrgif test -z "$ac_file"; then
27061abf7346Smrg  echo "$as_me: failed program was:" >&5
27071abf7346Smrgsed 's/^/| /' conftest.$ac_ext >&5
27081abf7346Smrg
27091abf7346Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
27101abf7346SmrgSee \`config.log' for more details." >&5
27111abf7346Smrgecho "$as_me: error: C compiler cannot create executables
27121abf7346SmrgSee \`config.log' for more details." >&2;}
27131abf7346Smrg   { (exit 77); exit 77; }; }
27141abf7346Smrgfi
27151abf7346Smrg
27161abf7346Smrgac_exeext=$ac_cv_exeext
27171abf7346Smrg
27181abf7346Smrg# Check that the compiler produces executables we can run.  If not, either
27191abf7346Smrg# the compiler is broken, or we cross compile.
27201abf7346Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
27211abf7346Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
27221abf7346Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
27231abf7346Smrg# If not cross compiling, check that we can run a simple program.
27241abf7346Smrgif test "$cross_compiling" != yes; then
27251abf7346Smrg  if { ac_try='./$ac_file'
27261abf7346Smrg  { (case "(($ac_try" in
27271abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27281abf7346Smrg  *) ac_try_echo=$ac_try;;
27291abf7346Smrgesac
27301abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27311abf7346Smrg  (eval "$ac_try") 2>&5
27321abf7346Smrg  ac_status=$?
27331abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341abf7346Smrg  (exit $ac_status); }; }; then
27351abf7346Smrg    cross_compiling=no
27361abf7346Smrg  else
27371abf7346Smrg    if test "$cross_compiling" = maybe; then
27381abf7346Smrg	cross_compiling=yes
27391abf7346Smrg    else
27401abf7346Smrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
27411abf7346SmrgIf you meant to cross compile, use \`--host'.
27421abf7346SmrgSee \`config.log' for more details." >&5
27431abf7346Smrgecho "$as_me: error: cannot run C compiled programs.
27441abf7346SmrgIf you meant to cross compile, use \`--host'.
27451abf7346SmrgSee \`config.log' for more details." >&2;}
27461abf7346Smrg   { (exit 1); exit 1; }; }
27471abf7346Smrg    fi
27481abf7346Smrg  fi
27491abf7346Smrgfi
27501abf7346Smrg{ echo "$as_me:$LINENO: result: yes" >&5
27511abf7346Smrgecho "${ECHO_T}yes" >&6; }
27521abf7346Smrg
27531abf7346Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
27541abf7346Smrgac_clean_files=$ac_clean_files_save
27551abf7346Smrg# Check that the compiler produces executables we can run.  If not, either
27561abf7346Smrg# the compiler is broken, or we cross compile.
27571abf7346Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
27581abf7346Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
27591abf7346Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
27601abf7346Smrgecho "${ECHO_T}$cross_compiling" >&6; }
27611abf7346Smrg
27621abf7346Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
27631abf7346Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
27641abf7346Smrgif { (ac_try="$ac_link"
27651abf7346Smrgcase "(($ac_try" in
27661abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27671abf7346Smrg  *) ac_try_echo=$ac_try;;
27681abf7346Smrgesac
27691abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27701abf7346Smrg  (eval "$ac_link") 2>&5
27711abf7346Smrg  ac_status=$?
27721abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731abf7346Smrg  (exit $ac_status); }; then
27741abf7346Smrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
27751abf7346Smrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
27761abf7346Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with
27771abf7346Smrg# `rm'.
27781abf7346Smrgfor ac_file in conftest.exe conftest conftest.*; do
27791abf7346Smrg  test -f "$ac_file" || continue
27801abf7346Smrg  case $ac_file in
27811abf7346Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
27821abf7346Smrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27831abf7346Smrg	  break;;
27841abf7346Smrg    * ) break;;
27851abf7346Smrg  esac
27861abf7346Smrgdone
27871abf7346Smrgelse
27881abf7346Smrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
27891abf7346SmrgSee \`config.log' for more details." >&5
27901abf7346Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
27911abf7346SmrgSee \`config.log' for more details." >&2;}
27921abf7346Smrg   { (exit 1); exit 1; }; }
27931abf7346Smrgfi
27941abf7346Smrg
27951abf7346Smrgrm -f conftest$ac_cv_exeext
27961abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
27971abf7346Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; }
27981abf7346Smrg
27991abf7346Smrgrm -f conftest.$ac_ext
28001abf7346SmrgEXEEXT=$ac_cv_exeext
28011abf7346Smrgac_exeext=$EXEEXT
28021abf7346Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
28031abf7346Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
28041abf7346Smrgif test "${ac_cv_objext+set}" = set; then
28051abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
28061abf7346Smrgelse
28071abf7346Smrg  cat >conftest.$ac_ext <<_ACEOF
28081abf7346Smrg/* confdefs.h.  */
28091abf7346Smrg_ACEOF
28101abf7346Smrgcat confdefs.h >>conftest.$ac_ext
28111abf7346Smrgcat >>conftest.$ac_ext <<_ACEOF
28121abf7346Smrg/* end confdefs.h.  */
28131abf7346Smrg
28141abf7346Smrgint
28151abf7346Smrgmain ()
28161abf7346Smrg{
28171abf7346Smrg
28181abf7346Smrg  ;
28191abf7346Smrg  return 0;
28201abf7346Smrg}
28211abf7346Smrg_ACEOF
28221abf7346Smrgrm -f conftest.o conftest.obj
28231abf7346Smrgif { (ac_try="$ac_compile"
28241abf7346Smrgcase "(($ac_try" in
28251abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28261abf7346Smrg  *) ac_try_echo=$ac_try;;
28271abf7346Smrgesac
28281abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28291abf7346Smrg  (eval "$ac_compile") 2>&5
28301abf7346Smrg  ac_status=$?
28311abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321abf7346Smrg  (exit $ac_status); }; then
28331abf7346Smrg  for ac_file in conftest.o conftest.obj conftest.*; do
28341abf7346Smrg  test -f "$ac_file" || continue;
28351abf7346Smrg  case $ac_file in
28361abf7346Smrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
28371abf7346Smrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28381abf7346Smrg       break;;
28391abf7346Smrg  esac
28401abf7346Smrgdone
28411abf7346Smrgelse
28421abf7346Smrg  echo "$as_me: failed program was:" >&5
28431abf7346Smrgsed 's/^/| /' conftest.$ac_ext >&5
28441abf7346Smrg
28451abf7346Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
28461abf7346SmrgSee \`config.log' for more details." >&5
28471abf7346Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
28481abf7346SmrgSee \`config.log' for more details." >&2;}
28491abf7346Smrg   { (exit 1); exit 1; }; }
28501abf7346Smrgfi
28511abf7346Smrg
28521abf7346Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
28531abf7346Smrgfi
28541abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
28551abf7346Smrgecho "${ECHO_T}$ac_cv_objext" >&6; }
28561abf7346SmrgOBJEXT=$ac_cv_objext
28571abf7346Smrgac_objext=$OBJEXT
28581abf7346Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28591abf7346Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
28601abf7346Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
28611abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
28621abf7346Smrgelse
28631abf7346Smrg  cat >conftest.$ac_ext <<_ACEOF
28641abf7346Smrg/* confdefs.h.  */
28651abf7346Smrg_ACEOF
28661abf7346Smrgcat confdefs.h >>conftest.$ac_ext
28671abf7346Smrgcat >>conftest.$ac_ext <<_ACEOF
28681abf7346Smrg/* end confdefs.h.  */
28691abf7346Smrg
28701abf7346Smrgint
28711abf7346Smrgmain ()
28721abf7346Smrg{
28731abf7346Smrg#ifndef __GNUC__
28741abf7346Smrg       choke me
28751abf7346Smrg#endif
28761abf7346Smrg
28771abf7346Smrg  ;
28781abf7346Smrg  return 0;
28791abf7346Smrg}
28801abf7346Smrg_ACEOF
28811abf7346Smrgrm -f conftest.$ac_objext
28821abf7346Smrgif { (ac_try="$ac_compile"
28831abf7346Smrgcase "(($ac_try" in
28841abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28851abf7346Smrg  *) ac_try_echo=$ac_try;;
28861abf7346Smrgesac
28871abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28881abf7346Smrg  (eval "$ac_compile") 2>conftest.er1
28891abf7346Smrg  ac_status=$?
28901abf7346Smrg  grep -v '^ *+' conftest.er1 >conftest.err
28911abf7346Smrg  rm -f conftest.er1
28921abf7346Smrg  cat conftest.err >&5
28931abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941abf7346Smrg  (exit $ac_status); } && {
28951abf7346Smrg	 test -z "$ac_c_werror_flag" ||
28961abf7346Smrg	 test ! -s conftest.err
28971abf7346Smrg       } && test -s conftest.$ac_objext; then
28981abf7346Smrg  ac_compiler_gnu=yes
28991abf7346Smrgelse
29001abf7346Smrg  echo "$as_me: failed program was:" >&5
29011abf7346Smrgsed 's/^/| /' conftest.$ac_ext >&5
29021abf7346Smrg
29031abf7346Smrg	ac_compiler_gnu=no
29041abf7346Smrgfi
29051abf7346Smrg
29061abf7346Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29071abf7346Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu
29081abf7346Smrg
29091abf7346Smrgfi
29101abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
29111abf7346Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
29121abf7346SmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
29131abf7346Smrgac_test_CFLAGS=${CFLAGS+set}
29141abf7346Smrgac_save_CFLAGS=$CFLAGS
29151abf7346Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
29161abf7346Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
29171abf7346Smrgif test "${ac_cv_prog_cc_g+set}" = set; then
29181abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
29191abf7346Smrgelse
29201abf7346Smrg  ac_save_c_werror_flag=$ac_c_werror_flag
29211abf7346Smrg   ac_c_werror_flag=yes
29221abf7346Smrg   ac_cv_prog_cc_g=no
29231abf7346Smrg   CFLAGS="-g"
29241abf7346Smrg   cat >conftest.$ac_ext <<_ACEOF
29251abf7346Smrg/* confdefs.h.  */
29261abf7346Smrg_ACEOF
29271abf7346Smrgcat confdefs.h >>conftest.$ac_ext
29281abf7346Smrgcat >>conftest.$ac_ext <<_ACEOF
29291abf7346Smrg/* end confdefs.h.  */
29301abf7346Smrg
29311abf7346Smrgint
29321abf7346Smrgmain ()
29331abf7346Smrg{
29341abf7346Smrg
29351abf7346Smrg  ;
29361abf7346Smrg  return 0;
29371abf7346Smrg}
29381abf7346Smrg_ACEOF
29391abf7346Smrgrm -f conftest.$ac_objext
29401abf7346Smrgif { (ac_try="$ac_compile"
29411abf7346Smrgcase "(($ac_try" in
29421abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29431abf7346Smrg  *) ac_try_echo=$ac_try;;
29441abf7346Smrgesac
29451abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29461abf7346Smrg  (eval "$ac_compile") 2>conftest.er1
29471abf7346Smrg  ac_status=$?
29481abf7346Smrg  grep -v '^ *+' conftest.er1 >conftest.err
29491abf7346Smrg  rm -f conftest.er1
29501abf7346Smrg  cat conftest.err >&5
29511abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521abf7346Smrg  (exit $ac_status); } && {
29531abf7346Smrg	 test -z "$ac_c_werror_flag" ||
29541abf7346Smrg	 test ! -s conftest.err
29551abf7346Smrg       } && test -s conftest.$ac_objext; then
29561abf7346Smrg  ac_cv_prog_cc_g=yes
29571abf7346Smrgelse
29581abf7346Smrg  echo "$as_me: failed program was:" >&5
29591abf7346Smrgsed 's/^/| /' conftest.$ac_ext >&5
29601abf7346Smrg
29611abf7346Smrg	CFLAGS=""
29621abf7346Smrg      cat >conftest.$ac_ext <<_ACEOF
29631abf7346Smrg/* confdefs.h.  */
29641abf7346Smrg_ACEOF
29651abf7346Smrgcat confdefs.h >>conftest.$ac_ext
29661abf7346Smrgcat >>conftest.$ac_ext <<_ACEOF
29671abf7346Smrg/* end confdefs.h.  */
29681abf7346Smrg
29691abf7346Smrgint
29701abf7346Smrgmain ()
29711abf7346Smrg{
29721abf7346Smrg
29731abf7346Smrg  ;
29741abf7346Smrg  return 0;
29751abf7346Smrg}
29761abf7346Smrg_ACEOF
29771abf7346Smrgrm -f conftest.$ac_objext
29781abf7346Smrgif { (ac_try="$ac_compile"
29791abf7346Smrgcase "(($ac_try" in
29801abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29811abf7346Smrg  *) ac_try_echo=$ac_try;;
29821abf7346Smrgesac
29831abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29841abf7346Smrg  (eval "$ac_compile") 2>conftest.er1
29851abf7346Smrg  ac_status=$?
29861abf7346Smrg  grep -v '^ *+' conftest.er1 >conftest.err
29871abf7346Smrg  rm -f conftest.er1
29881abf7346Smrg  cat conftest.err >&5
29891abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901abf7346Smrg  (exit $ac_status); } && {
29911abf7346Smrg	 test -z "$ac_c_werror_flag" ||
29921abf7346Smrg	 test ! -s conftest.err
29931abf7346Smrg       } && test -s conftest.$ac_objext; then
29941abf7346Smrg  :
29951abf7346Smrgelse
29961abf7346Smrg  echo "$as_me: failed program was:" >&5
29971abf7346Smrgsed 's/^/| /' conftest.$ac_ext >&5
29981abf7346Smrg
29991abf7346Smrg	ac_c_werror_flag=$ac_save_c_werror_flag
30001abf7346Smrg	 CFLAGS="-g"
30011abf7346Smrg	 cat >conftest.$ac_ext <<_ACEOF
30021abf7346Smrg/* confdefs.h.  */
30031abf7346Smrg_ACEOF
30041abf7346Smrgcat confdefs.h >>conftest.$ac_ext
30051abf7346Smrgcat >>conftest.$ac_ext <<_ACEOF
30061abf7346Smrg/* end confdefs.h.  */
30071abf7346Smrg
30081abf7346Smrgint
30091abf7346Smrgmain ()
30101abf7346Smrg{
30111abf7346Smrg
30121abf7346Smrg  ;
30131abf7346Smrg  return 0;
30141abf7346Smrg}
30151abf7346Smrg_ACEOF
30161abf7346Smrgrm -f conftest.$ac_objext
30171abf7346Smrgif { (ac_try="$ac_compile"
30181abf7346Smrgcase "(($ac_try" in
30191abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30201abf7346Smrg  *) ac_try_echo=$ac_try;;
30211abf7346Smrgesac
30221abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30231abf7346Smrg  (eval "$ac_compile") 2>conftest.er1
30241abf7346Smrg  ac_status=$?
30251abf7346Smrg  grep -v '^ *+' conftest.er1 >conftest.err
30261abf7346Smrg  rm -f conftest.er1
30271abf7346Smrg  cat conftest.err >&5
30281abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30291abf7346Smrg  (exit $ac_status); } && {
30301abf7346Smrg	 test -z "$ac_c_werror_flag" ||
30311abf7346Smrg	 test ! -s conftest.err
30321abf7346Smrg       } && test -s conftest.$ac_objext; then
30331abf7346Smrg  ac_cv_prog_cc_g=yes
30341abf7346Smrgelse
30351abf7346Smrg  echo "$as_me: failed program was:" >&5
30361abf7346Smrgsed 's/^/| /' conftest.$ac_ext >&5
30371abf7346Smrg
30381abf7346Smrg
30391abf7346Smrgfi
30401abf7346Smrg
30411abf7346Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30421abf7346Smrgfi
30431abf7346Smrg
30441abf7346Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30451abf7346Smrgfi
30461abf7346Smrg
30471abf7346Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30481abf7346Smrg   ac_c_werror_flag=$ac_save_c_werror_flag
30491abf7346Smrgfi
30501abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
30511abf7346Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
30521abf7346Smrgif test "$ac_test_CFLAGS" = set; then
30531abf7346Smrg  CFLAGS=$ac_save_CFLAGS
30541abf7346Smrgelif test $ac_cv_prog_cc_g = yes; then
30551abf7346Smrg  if test "$GCC" = yes; then
30561abf7346Smrg    CFLAGS="-g -O2"
30571abf7346Smrg  else
30581abf7346Smrg    CFLAGS="-g"
30591abf7346Smrg  fi
30601abf7346Smrgelse
30611abf7346Smrg  if test "$GCC" = yes; then
30621abf7346Smrg    CFLAGS="-O2"
30631abf7346Smrg  else
30641abf7346Smrg    CFLAGS=
30651abf7346Smrg  fi
30661abf7346Smrgfi
30671abf7346Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
30681abf7346Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
30691abf7346Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then
30701abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
30711abf7346Smrgelse
30721abf7346Smrg  ac_cv_prog_cc_c89=no
30731abf7346Smrgac_save_CC=$CC
30741abf7346Smrgcat >conftest.$ac_ext <<_ACEOF
30751abf7346Smrg/* confdefs.h.  */
30761abf7346Smrg_ACEOF
30771abf7346Smrgcat confdefs.h >>conftest.$ac_ext
30781abf7346Smrgcat >>conftest.$ac_ext <<_ACEOF
30791abf7346Smrg/* end confdefs.h.  */
30801abf7346Smrg#include <stdarg.h>
30811abf7346Smrg#include <stdio.h>
30821abf7346Smrg#include <sys/types.h>
30831abf7346Smrg#include <sys/stat.h>
30841abf7346Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
30851abf7346Smrgstruct buf { int x; };
30861abf7346SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
30871abf7346Smrgstatic char *e (p, i)
30881abf7346Smrg     char **p;
30891abf7346Smrg     int i;
30901abf7346Smrg{
30911abf7346Smrg  return p[i];
30921abf7346Smrg}
30931abf7346Smrgstatic char *f (char * (*g) (char **, int), char **p, ...)
30941abf7346Smrg{
30951abf7346Smrg  char *s;
30961abf7346Smrg  va_list v;
30971abf7346Smrg  va_start (v,p);
30981abf7346Smrg  s = g (p, va_arg (v,int));
30991abf7346Smrg  va_end (v);
31001abf7346Smrg  return s;
31011abf7346Smrg}
31021abf7346Smrg
31031abf7346Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
31041abf7346Smrg   function prototypes and stuff, but not '\xHH' hex character constants.
31051abf7346Smrg   These don't provoke an error unfortunately, instead are silently treated
31061abf7346Smrg   as 'x'.  The following induces an error, until -std is added to get
31071abf7346Smrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
31081abf7346Smrg   array size at least.  It's necessary to write '\x00'==0 to get something
31091abf7346Smrg   that's true only with -std.  */
31101abf7346Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
31111abf7346Smrg
31121abf7346Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
31131abf7346Smrg   inside strings and character constants.  */
31141abf7346Smrg#define FOO(x) 'x'
31151abf7346Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
31161abf7346Smrg
31171abf7346Smrgint test (int i, double x);
31181abf7346Smrgstruct s1 {int (*f) (int a);};
31191abf7346Smrgstruct s2 {int (*f) (double a);};
31201abf7346Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
31211abf7346Smrgint argc;
31221abf7346Smrgchar **argv;
31231abf7346Smrgint
31241abf7346Smrgmain ()
31251abf7346Smrg{
31261abf7346Smrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
31271abf7346Smrg  ;
31281abf7346Smrg  return 0;
31291abf7346Smrg}
31301abf7346Smrg_ACEOF
31311abf7346Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
31321abf7346Smrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31331abf7346Smrgdo
31341abf7346Smrg  CC="$ac_save_CC $ac_arg"
31351abf7346Smrg  rm -f conftest.$ac_objext
31361abf7346Smrgif { (ac_try="$ac_compile"
31371abf7346Smrgcase "(($ac_try" in
31381abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31391abf7346Smrg  *) ac_try_echo=$ac_try;;
31401abf7346Smrgesac
31411abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31421abf7346Smrg  (eval "$ac_compile") 2>conftest.er1
31431abf7346Smrg  ac_status=$?
31441abf7346Smrg  grep -v '^ *+' conftest.er1 >conftest.err
31451abf7346Smrg  rm -f conftest.er1
31461abf7346Smrg  cat conftest.err >&5
31471abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481abf7346Smrg  (exit $ac_status); } && {
31491abf7346Smrg	 test -z "$ac_c_werror_flag" ||
31501abf7346Smrg	 test ! -s conftest.err
31511abf7346Smrg       } && test -s conftest.$ac_objext; then
31521abf7346Smrg  ac_cv_prog_cc_c89=$ac_arg
31531abf7346Smrgelse
31541abf7346Smrg  echo "$as_me: failed program was:" >&5
31551abf7346Smrgsed 's/^/| /' conftest.$ac_ext >&5
31561abf7346Smrg
31571abf7346Smrg
31581abf7346Smrgfi
31591abf7346Smrg
31601abf7346Smrgrm -f core conftest.err conftest.$ac_objext
31611abf7346Smrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
31621abf7346Smrgdone
31631abf7346Smrgrm -f conftest.$ac_ext
31641abf7346SmrgCC=$ac_save_CC
31651abf7346Smrg
31661abf7346Smrgfi
31671abf7346Smrg# AC_CACHE_VAL
31681abf7346Smrgcase "x$ac_cv_prog_cc_c89" in
31691abf7346Smrg  x)
31701abf7346Smrg    { echo "$as_me:$LINENO: result: none needed" >&5
31711abf7346Smrgecho "${ECHO_T}none needed" >&6; } ;;
31721abf7346Smrg  xno)
31731abf7346Smrg    { echo "$as_me:$LINENO: result: unsupported" >&5
31741abf7346Smrgecho "${ECHO_T}unsupported" >&6; } ;;
31751abf7346Smrg  *)
31761abf7346Smrg    CC="$CC $ac_cv_prog_cc_c89"
31771abf7346Smrg    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
31781abf7346Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
31791abf7346Smrgesac
31801abf7346Smrg
31811abf7346Smrg
31821abf7346Smrgac_ext=c
31831abf7346Smrgac_cpp='$CPP $CPPFLAGS'
31841abf7346Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31851abf7346Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861abf7346Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
31871abf7346SmrgDEPDIR="${am__leading_dot}deps"
31881abf7346Smrg
31891abf7346Smrgac_config_commands="$ac_config_commands depfiles"
31901abf7346Smrg
31911abf7346Smrg
31921abf7346Smrgam_make=${MAKE-make}
31931abf7346Smrgcat > confinc << 'END'
31941abf7346Smrgam__doit:
31951abf7346Smrg	@echo done
31961abf7346Smrg.PHONY: am__doit
31971abf7346SmrgEND
31981abf7346Smrg# If we don't find an include directive, just comment out the code.
31991abf7346Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
32001abf7346Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
32011abf7346Smrgam__include="#"
32021abf7346Smrgam__quote=
32031abf7346Smrg_am_result=none
32041abf7346Smrg# First try GNU make style include.
32051abf7346Smrgecho "include confinc" > confmf
32061abf7346Smrg# We grep out `Entering directory' and `Leaving directory'
32071abf7346Smrg# messages which can occur if `w' ends up in MAKEFLAGS.
32081abf7346Smrg# In particular we don't look at `^make:' because GNU make might
32091abf7346Smrg# be invoked under some other name (usually "gmake"), in which
32101abf7346Smrg# case it prints its new name instead of `make'.
32111abf7346Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
32121abf7346Smrg   am__include=include
32131abf7346Smrg   am__quote=
32141abf7346Smrg   _am_result=GNU
32151abf7346Smrgfi
32161abf7346Smrg# Now try BSD make style include.
32171abf7346Smrgif test "$am__include" = "#"; then
32181abf7346Smrg   echo '.include "confinc"' > confmf
32191abf7346Smrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
32201abf7346Smrg      am__include=.include
32211abf7346Smrg      am__quote="\""
32221abf7346Smrg      _am_result=BSD
32231abf7346Smrg   fi
32241abf7346Smrgfi
32251abf7346Smrg
32261abf7346Smrg
32271abf7346Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5
32281abf7346Smrgecho "${ECHO_T}$_am_result" >&6; }
32291abf7346Smrgrm -f confinc confmf
32301abf7346Smrg
32311abf7346Smrg# Check whether --enable-dependency-tracking was given.
32321abf7346Smrgif test "${enable_dependency_tracking+set}" = set; then
32331abf7346Smrg  enableval=$enable_dependency_tracking;
32341abf7346Smrgfi
32351abf7346Smrg
32361abf7346Smrgif test "x$enable_dependency_tracking" != xno; then
32371abf7346Smrg  am_depcomp="$ac_aux_dir/depcomp"
32381abf7346Smrg  AMDEPBACKSLASH='\'
32391abf7346Smrgfi
32401abf7346Smrg if test "x$enable_dependency_tracking" != xno; then
32411abf7346Smrg  AMDEP_TRUE=
32421abf7346Smrg  AMDEP_FALSE='#'
32431abf7346Smrgelse
32441abf7346Smrg  AMDEP_TRUE='#'
32451abf7346Smrg  AMDEP_FALSE=
32461abf7346Smrgfi
32471abf7346Smrg
32481abf7346Smrg
32491abf7346Smrg
32501abf7346Smrgdepcc="$CC"   am_compiler_list=
32511abf7346Smrg
32521abf7346Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
32531abf7346Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
32541abf7346Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
32551abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
32561abf7346Smrgelse
32571abf7346Smrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32581abf7346Smrg  # We make a subdir and do the tests there.  Otherwise we can end up
32591abf7346Smrg  # making bogus files that we don't know about and never remove.  For
32601abf7346Smrg  # instance it was reported that on HP-UX the gcc test will end up
32611abf7346Smrg  # making a dummy file named `D' -- because `-MD' means `put the output
32621abf7346Smrg  # in D'.
32631abf7346Smrg  mkdir conftest.dir
32641abf7346Smrg  # Copy depcomp to subdir because otherwise we won't find it if we're
32651abf7346Smrg  # using a relative directory.
32661abf7346Smrg  cp "$am_depcomp" conftest.dir
32671abf7346Smrg  cd conftest.dir
32681abf7346Smrg  # We will build objects and dependencies in a subdirectory because
32691abf7346Smrg  # it helps to detect inapplicable dependency modes.  For instance
32701abf7346Smrg  # both Tru64's cc and ICC support -MD to output dependencies as a
32711abf7346Smrg  # side effect of compilation, but ICC will put the dependencies in
32721abf7346Smrg  # the current directory while Tru64 will put them in the object
32731abf7346Smrg  # directory.
32741abf7346Smrg  mkdir sub
32751abf7346Smrg
32761abf7346Smrg  am_cv_CC_dependencies_compiler_type=none
32771abf7346Smrg  if test "$am_compiler_list" = ""; then
32781abf7346Smrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
32791abf7346Smrg  fi
32801abf7346Smrg  for depmode in $am_compiler_list; do
32811abf7346Smrg    # Setup a source with many dependencies, because some compilers
32821abf7346Smrg    # like to wrap large dependency lists on column 80 (with \), and
32831abf7346Smrg    # we should not choose a depcomp mode which is confused by this.
32841abf7346Smrg    #
32851abf7346Smrg    # We need to recreate these files for each test, as the compiler may
32861abf7346Smrg    # overwrite some of them when testing with obscure command lines.
32871abf7346Smrg    # This happens at least with the AIX C compiler.
32881abf7346Smrg    : > sub/conftest.c
32891abf7346Smrg    for i in 1 2 3 4 5 6; do
32901abf7346Smrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
32911abf7346Smrg      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
32921abf7346Smrg      # Solaris 8's {/usr,}/bin/sh.
32931abf7346Smrg      touch sub/conftst$i.h
32941abf7346Smrg    done
32951abf7346Smrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
32961abf7346Smrg
32971abf7346Smrg    case $depmode in
32981abf7346Smrg    nosideeffect)
32991abf7346Smrg      # after this tag, mechanisms are not by side-effect, so they'll
33001abf7346Smrg      # only be used when explicitly requested
33011abf7346Smrg      if test "x$enable_dependency_tracking" = xyes; then
33021abf7346Smrg	continue
33031abf7346Smrg      else
33041abf7346Smrg	break
33051abf7346Smrg      fi
33061abf7346Smrg      ;;
33071abf7346Smrg    none) break ;;
33081abf7346Smrg    esac
33091abf7346Smrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
33101abf7346Smrg    # mode.  It turns out that the SunPro C++ compiler does not properly
33111abf7346Smrg    # handle `-M -o', and we need to detect this.
33121abf7346Smrg    if depmode=$depmode \
33131abf7346Smrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
33141abf7346Smrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
33151abf7346Smrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
33161abf7346Smrg         >/dev/null 2>conftest.err &&
33171abf7346Smrg       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
33181abf7346Smrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
33191abf7346Smrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
33201abf7346Smrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
33211abf7346Smrg      # icc doesn't choke on unknown options, it will just issue warnings
33221abf7346Smrg      # or remarks (even with -Werror).  So we grep stderr for any message
33231abf7346Smrg      # that says an option was ignored or not supported.
33241abf7346Smrg      # When given -MP, icc 7.0 and 7.1 complain thusly:
33251abf7346Smrg      #   icc: Command line warning: ignoring option '-M'; no argument required
33261abf7346Smrg      # The diagnosis changed in icc 8.0:
33271abf7346Smrg      #   icc: Command line remark: option '-MP' not supported
33281abf7346Smrg      if (grep 'ignoring option' conftest.err ||
33291abf7346Smrg          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
33301abf7346Smrg        am_cv_CC_dependencies_compiler_type=$depmode
33311abf7346Smrg        break
33321abf7346Smrg      fi
33331abf7346Smrg    fi
33341abf7346Smrg  done
33351abf7346Smrg
33361abf7346Smrg  cd ..
33371abf7346Smrg  rm -rf conftest.dir
33381abf7346Smrgelse
33391abf7346Smrg  am_cv_CC_dependencies_compiler_type=none
33401abf7346Smrgfi
33411abf7346Smrg
33421abf7346Smrgfi
33431abf7346Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
33441abf7346Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
33451abf7346SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
33461abf7346Smrg
33471abf7346Smrg if
33481abf7346Smrg  test "x$enable_dependency_tracking" != xno \
33491abf7346Smrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
33501abf7346Smrg  am__fastdepCC_TRUE=
33511abf7346Smrg  am__fastdepCC_FALSE='#'
33521abf7346Smrgelse
33531abf7346Smrg  am__fastdepCC_TRUE='#'
33541abf7346Smrg  am__fastdepCC_FALSE=
33551abf7346Smrgfi
33561abf7346Smrg
33571abf7346Smrg
33581abf7346Smrg# Find a good install program.  We prefer a C program (faster),
33591abf7346Smrg# so one script is as good as another.  But avoid the broken or
33601abf7346Smrg# incompatible versions:
33611abf7346Smrg# SysV /etc/install, /usr/sbin/install
33621abf7346Smrg# SunOS /usr/etc/install
33631abf7346Smrg# IRIX /sbin/install
33641abf7346Smrg# AIX /bin/install
33651abf7346Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
33661abf7346Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33671abf7346Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
33681abf7346Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33691abf7346Smrg# OS/2's system install, which has a completely different semantic
33701abf7346Smrg# ./install, which can be erroneously created by make from ./install.sh.
33711abf7346Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33721abf7346Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
33731abf7346Smrgif test -z "$INSTALL"; then
33741abf7346Smrgif test "${ac_cv_path_install+set}" = set; then
33751abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
33761abf7346Smrgelse
33771abf7346Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33781abf7346Smrgfor as_dir in $PATH
33791abf7346Smrgdo
33801abf7346Smrg  IFS=$as_save_IFS
33811abf7346Smrg  test -z "$as_dir" && as_dir=.
33821abf7346Smrg  # Account for people who put trailing slashes in PATH elements.
33831abf7346Smrgcase $as_dir/ in
33841abf7346Smrg  ./ | .// | /cC/* | \
33851abf7346Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33861abf7346Smrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
33871abf7346Smrg  /usr/ucb/* ) ;;
33881abf7346Smrg  *)
33891abf7346Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
33901abf7346Smrg    # Don't use installbsd from OSF since it installs stuff as root
33911abf7346Smrg    # by default.
33921abf7346Smrg    for ac_prog in ginstall scoinst install; do
33931abf7346Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
33941abf7346Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
33951abf7346Smrg	  if test $ac_prog = install &&
33961abf7346Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33971abf7346Smrg	    # AIX install.  It has an incompatible calling convention.
33981abf7346Smrg	    :
33991abf7346Smrg	  elif test $ac_prog = install &&
34001abf7346Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34011abf7346Smrg	    # program-specific install script used by HP pwplus--don't use.
34021abf7346Smrg	    :
34031abf7346Smrg	  else
34041abf7346Smrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34051abf7346Smrg	    break 3
34061abf7346Smrg	  fi
34071abf7346Smrg	fi
34081abf7346Smrg      done
34091abf7346Smrg    done
34101abf7346Smrg    ;;
34111abf7346Smrgesac
34121abf7346Smrgdone
34131abf7346SmrgIFS=$as_save_IFS
34141abf7346Smrg
34151abf7346Smrg
34161abf7346Smrgfi
34171abf7346Smrg  if test "${ac_cv_path_install+set}" = set; then
34181abf7346Smrg    INSTALL=$ac_cv_path_install
34191abf7346Smrg  else
34201abf7346Smrg    # As a last resort, use the slow shell script.  Don't cache a
34211abf7346Smrg    # value for INSTALL within a source directory, because that will
34221abf7346Smrg    # break other packages using the cache if that directory is
34231abf7346Smrg    # removed, or if the value is a relative name.
34241abf7346Smrg    INSTALL=$ac_install_sh
34251abf7346Smrg  fi
34261abf7346Smrgfi
34271abf7346Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5
34281abf7346Smrgecho "${ECHO_T}$INSTALL" >&6; }
34291abf7346Smrg
34301abf7346Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34311abf7346Smrg# It thinks the first close brace ends the variable substitution.
34321abf7346Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34331abf7346Smrg
34341abf7346Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34351abf7346Smrg
34361abf7346Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34371abf7346Smrg
34381abf7346Smrg# Make sure we can run config.sub.
34391abf7346Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
34401abf7346Smrg  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
34411abf7346Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
34421abf7346Smrg   { (exit 1); exit 1; }; }
34431abf7346Smrg
34441abf7346Smrg{ echo "$as_me:$LINENO: checking build system type" >&5
34451abf7346Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; }
34461abf7346Smrgif test "${ac_cv_build+set}" = set; then
34471abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
34481abf7346Smrgelse
34491abf7346Smrg  ac_build_alias=$build_alias
34501abf7346Smrgtest "x$ac_build_alias" = x &&
34511abf7346Smrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
34521abf7346Smrgtest "x$ac_build_alias" = x &&
34531abf7346Smrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
34541abf7346Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
34551abf7346Smrg   { (exit 1); exit 1; }; }
34561abf7346Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
34571abf7346Smrg  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
34581abf7346Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
34591abf7346Smrg   { (exit 1); exit 1; }; }
34601abf7346Smrg
34611abf7346Smrgfi
34621abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
34631abf7346Smrgecho "${ECHO_T}$ac_cv_build" >&6; }
34641abf7346Smrgcase $ac_cv_build in
34651abf7346Smrg*-*-*) ;;
34661abf7346Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
34671abf7346Smrgecho "$as_me: error: invalid value of canonical build" >&2;}
34681abf7346Smrg   { (exit 1); exit 1; }; };;
34691abf7346Smrgesac
34701abf7346Smrgbuild=$ac_cv_build
34711abf7346Smrgac_save_IFS=$IFS; IFS='-'
34721abf7346Smrgset x $ac_cv_build
34731abf7346Smrgshift
34741abf7346Smrgbuild_cpu=$1
34751abf7346Smrgbuild_vendor=$2
34761abf7346Smrgshift; shift
34771abf7346Smrg# Remember, the first character of IFS is used to create $*,
34781abf7346Smrg# except with old shells:
34791abf7346Smrgbuild_os=$*
34801abf7346SmrgIFS=$ac_save_IFS
34811abf7346Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
34821abf7346Smrg
34831abf7346Smrg
34841abf7346Smrg{ echo "$as_me:$LINENO: checking host system type" >&5
34851abf7346Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; }
34861abf7346Smrgif test "${ac_cv_host+set}" = set; then
34871abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
34881abf7346Smrgelse
34891abf7346Smrg  if test "x$host_alias" = x; then
34901abf7346Smrg  ac_cv_host=$ac_cv_build
34911abf7346Smrgelse
34921abf7346Smrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
34931abf7346Smrg    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
34941abf7346Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
34951abf7346Smrg   { (exit 1); exit 1; }; }
34961abf7346Smrgfi
34971abf7346Smrg
34981abf7346Smrgfi
34991abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
35001abf7346Smrgecho "${ECHO_T}$ac_cv_host" >&6; }
35011abf7346Smrgcase $ac_cv_host in
35021abf7346Smrg*-*-*) ;;
35031abf7346Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
35041abf7346Smrgecho "$as_me: error: invalid value of canonical host" >&2;}
35051abf7346Smrg   { (exit 1); exit 1; }; };;
35061abf7346Smrgesac
35071abf7346Smrghost=$ac_cv_host
35081abf7346Smrgac_save_IFS=$IFS; IFS='-'
35091abf7346Smrgset x $ac_cv_host
35101abf7346Smrgshift
35111abf7346Smrghost_cpu=$1
35121abf7346Smrghost_vendor=$2
35131abf7346Smrgshift; shift
35141abf7346Smrg# Remember, the first character of IFS is used to create $*,
35151abf7346Smrg# except with old shells:
35161abf7346Smrghost_os=$*
35171abf7346SmrgIFS=$ac_save_IFS
35181abf7346Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
35191abf7346Smrg
35201abf7346Smrg
35211abf7346Smrg
35221abf7346Smrg
35231abf7346Smrg{ echo "$as_me:$LINENO: checking for mkstemp" >&5
35241abf7346Smrgecho $ECHO_N "checking for mkstemp... $ECHO_C" >&6; }
35251abf7346Smrgif test "${ac_cv_func_mkstemp+set}" = set; then
35261abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
35271abf7346Smrgelse
35281abf7346Smrg  cat >conftest.$ac_ext <<_ACEOF
35291abf7346Smrg/* confdefs.h.  */
35301abf7346Smrg_ACEOF
35311abf7346Smrgcat confdefs.h >>conftest.$ac_ext
35321abf7346Smrgcat >>conftest.$ac_ext <<_ACEOF
35331abf7346Smrg/* end confdefs.h.  */
35341abf7346Smrg/* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
35351abf7346Smrg   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35361abf7346Smrg#define mkstemp innocuous_mkstemp
35371abf7346Smrg
35381abf7346Smrg/* System header to define __stub macros and hopefully few prototypes,
35391abf7346Smrg    which can conflict with char mkstemp (); below.
35401abf7346Smrg    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35411abf7346Smrg    <limits.h> exists even on freestanding compilers.  */
35421abf7346Smrg
35431abf7346Smrg#ifdef __STDC__
35441abf7346Smrg# include <limits.h>
35451abf7346Smrg#else
35461abf7346Smrg# include <assert.h>
35471abf7346Smrg#endif
35481abf7346Smrg
35491abf7346Smrg#undef mkstemp
35501abf7346Smrg
35511abf7346Smrg/* Override any GCC internal prototype to avoid an error.
35521abf7346Smrg   Use char because int might match the return type of a GCC
35531abf7346Smrg   builtin and then its argument prototype would still apply.  */
35541abf7346Smrg#ifdef __cplusplus
35551abf7346Smrgextern "C"
35561abf7346Smrg#endif
35571abf7346Smrgchar mkstemp ();
35581abf7346Smrg/* The GNU C library defines this for functions which it implements
35591abf7346Smrg    to always fail with ENOSYS.  Some functions are actually named
35601abf7346Smrg    something starting with __ and the normal name is an alias.  */
35611abf7346Smrg#if defined __stub_mkstemp || defined __stub___mkstemp
35621abf7346Smrgchoke me
35631abf7346Smrg#endif
35641abf7346Smrg
35651abf7346Smrgint
35661abf7346Smrgmain ()
35671abf7346Smrg{
35681abf7346Smrgreturn mkstemp ();
35691abf7346Smrg  ;
35701abf7346Smrg  return 0;
35711abf7346Smrg}
35721abf7346Smrg_ACEOF
35731abf7346Smrgrm -f conftest.$ac_objext conftest$ac_exeext
35741abf7346Smrgif { (ac_try="$ac_link"
35751abf7346Smrgcase "(($ac_try" in
35761abf7346Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35771abf7346Smrg  *) ac_try_echo=$ac_try;;
35781abf7346Smrgesac
35791abf7346Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35801abf7346Smrg  (eval "$ac_link") 2>conftest.er1
35811abf7346Smrg  ac_status=$?
35821abf7346Smrg  grep -v '^ *+' conftest.er1 >conftest.err
35831abf7346Smrg  rm -f conftest.er1
35841abf7346Smrg  cat conftest.err >&5
35851abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861abf7346Smrg  (exit $ac_status); } && {
35871abf7346Smrg	 test -z "$ac_c_werror_flag" ||
35881abf7346Smrg	 test ! -s conftest.err
35891abf7346Smrg       } && test -s conftest$ac_exeext &&
35901abf7346Smrg       $as_test_x conftest$ac_exeext; then
35911abf7346Smrg  ac_cv_func_mkstemp=yes
35921abf7346Smrgelse
35931abf7346Smrg  echo "$as_me: failed program was:" >&5
35941abf7346Smrgsed 's/^/| /' conftest.$ac_ext >&5
35951abf7346Smrg
35961abf7346Smrg	ac_cv_func_mkstemp=no
35971abf7346Smrgfi
35981abf7346Smrg
35991abf7346Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36001abf7346Smrg      conftest$ac_exeext conftest.$ac_ext
36011abf7346Smrgfi
36021abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
36031abf7346Smrgecho "${ECHO_T}$ac_cv_func_mkstemp" >&6; }
36041abf7346Smrgif test $ac_cv_func_mkstemp = yes; then
36051abf7346Smrg
36061abf7346Smrgcat >>confdefs.h <<\_ACEOF
36071abf7346Smrg#define HAS_MKSTEMP 1
36081abf7346Smrg_ACEOF
36091abf7346Smrg
36101abf7346Smrgfi
36111abf7346Smrg
36121abf7346Smrg
36131abf7346Smrg
36141abf7346Smrg# Check whether --with-helpdir was given.
36151abf7346Smrgif test "${with_helpdir+set}" = set; then
36161abf7346Smrg  withval=$with_helpdir; HELPDIR="$withval"
36171abf7346Smrgelse
36181abf7346Smrg  HELPDIR=${datadir}/X11
36191abf7346Smrgfi
36201abf7346Smrg
36211abf7346Smrg
36221abf7346Smrg
36231abf7346Smrg
36241abf7346Smrg# Check whether --with-sysmanpath was given.
36251abf7346Smrgif test "${with_sysmanpath+set}" = set; then
36261abf7346Smrg  withval=$with_sysmanpath; SYSMANPATH="$withval"
36271abf7346Smrgfi
36281abf7346Smrg
36291abf7346Smrgif test x$SYSMANPATH != x; then
36301abf7346Smrg
36311abf7346Smrgcat >>confdefs.h <<_ACEOF
36321abf7346Smrg#define SYSMANPATH "$SYSMANPATH"
36331abf7346Smrg_ACEOF
36341abf7346Smrg
36351abf7346Smrgfi
36361abf7346Smrg
36371abf7346Smrg
36381abf7346Smrg# Check whether --with-localmanpath was given.
36391abf7346Smrgif test "${with_localmanpath+set}" = set; then
36401abf7346Smrg  withval=$with_localmanpath; LOCALMANPATH="$withval"
36411abf7346Smrgfi
36421abf7346Smrg
36431abf7346Smrgif test x$LOCALMANPATH != x; then
36441abf7346Smrg
36451abf7346Smrgcat >>confdefs.h <<_ACEOF
36461abf7346Smrg#define LOCALMANPATH "$LOCALMANPATH"
36471abf7346Smrg_ACEOF
36481abf7346Smrg
36491abf7346Smrgfi
36501abf7346Smrg
36511abf7346Smrg# Checks for pkg-config packages
36521abf7346Smrg
36531abf7346Smrg
36541abf7346Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36551abf7346Smrg	if test -n "$ac_tool_prefix"; then
36561abf7346Smrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36571abf7346Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36581abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
36591abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36601abf7346Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36611abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
36621abf7346Smrgelse
36631abf7346Smrg  case $PKG_CONFIG in
36641abf7346Smrg  [\\/]* | ?:[\\/]*)
36651abf7346Smrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36661abf7346Smrg  ;;
36671abf7346Smrg  *)
36681abf7346Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36691abf7346Smrgfor as_dir in $PATH
36701abf7346Smrgdo
36711abf7346Smrg  IFS=$as_save_IFS
36721abf7346Smrg  test -z "$as_dir" && as_dir=.
36731abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
36741abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36751abf7346Smrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36761abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36771abf7346Smrg    break 2
36781abf7346Smrg  fi
36791abf7346Smrgdone
36801abf7346Smrgdone
36811abf7346SmrgIFS=$as_save_IFS
36821abf7346Smrg
36831abf7346Smrg  ;;
36841abf7346Smrgesac
36851abf7346Smrgfi
36861abf7346SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
36871abf7346Smrgif test -n "$PKG_CONFIG"; then
36881abf7346Smrg  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36891abf7346Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; }
36901abf7346Smrgelse
36911abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
36921abf7346Smrgecho "${ECHO_T}no" >&6; }
36931abf7346Smrgfi
36941abf7346Smrg
36951abf7346Smrg
36961abf7346Smrgfi
36971abf7346Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then
36981abf7346Smrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
36991abf7346Smrg  # Extract the first word of "pkg-config", so it can be a program name with args.
37001abf7346Smrgset dummy pkg-config; ac_word=$2
37011abf7346Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5
37021abf7346Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37031abf7346Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
37041abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
37051abf7346Smrgelse
37061abf7346Smrg  case $ac_pt_PKG_CONFIG in
37071abf7346Smrg  [\\/]* | ?:[\\/]*)
37081abf7346Smrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37091abf7346Smrg  ;;
37101abf7346Smrg  *)
37111abf7346Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37121abf7346Smrgfor as_dir in $PATH
37131abf7346Smrgdo
37141abf7346Smrg  IFS=$as_save_IFS
37151abf7346Smrg  test -z "$as_dir" && as_dir=.
37161abf7346Smrg  for ac_exec_ext in '' $ac_executable_extensions; do
37171abf7346Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37181abf7346Smrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37191abf7346Smrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37201abf7346Smrg    break 2
37211abf7346Smrg  fi
37221abf7346Smrgdone
37231abf7346Smrgdone
37241abf7346SmrgIFS=$as_save_IFS
37251abf7346Smrg
37261abf7346Smrg  ;;
37271abf7346Smrgesac
37281abf7346Smrgfi
37291abf7346Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37301abf7346Smrgif test -n "$ac_pt_PKG_CONFIG"; then
37311abf7346Smrg  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
37321abf7346Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37331abf7346Smrgelse
37341abf7346Smrg  { echo "$as_me:$LINENO: result: no" >&5
37351abf7346Smrgecho "${ECHO_T}no" >&6; }
37361abf7346Smrgfi
37371abf7346Smrg
37381abf7346Smrg  if test "x$ac_pt_PKG_CONFIG" = x; then
37391abf7346Smrg    PKG_CONFIG=""
37401abf7346Smrg  else
37411abf7346Smrg    case $cross_compiling:$ac_tool_warned in
37421abf7346Smrgyes:)
37431abf7346Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
37441abf7346Smrgwhose name does not start with the host triplet.  If you think this
37451abf7346Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5
37461abf7346Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
37471abf7346Smrgwhose name does not start with the host triplet.  If you think this
37481abf7346Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}
37491abf7346Smrgac_tool_warned=yes ;;
37501abf7346Smrgesac
37511abf7346Smrg    PKG_CONFIG=$ac_pt_PKG_CONFIG
37521abf7346Smrg  fi
37531abf7346Smrgelse
37541abf7346Smrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37551abf7346Smrgfi
37561abf7346Smrg
37571abf7346Smrgfi
37581abf7346Smrgif test -n "$PKG_CONFIG"; then
37591abf7346Smrg	_pkg_min_version=0.9.0
37601abf7346Smrg	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
37611abf7346Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
37621abf7346Smrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37631abf7346Smrg		{ echo "$as_me:$LINENO: result: yes" >&5
37641abf7346Smrgecho "${ECHO_T}yes" >&6; }
37651abf7346Smrg	else
37661abf7346Smrg		{ echo "$as_me:$LINENO: result: no" >&5
37671abf7346Smrgecho "${ECHO_T}no" >&6; }
37681abf7346Smrg		PKG_CONFIG=""
37691abf7346Smrg	fi
37701abf7346Smrg
37711abf7346Smrgfi
37721abf7346Smrg
37731abf7346Smrg	# Check whether --enable-xprint was given.
37741abf7346Smrgif test "${enable_xprint+set}" = set; then
37751abf7346Smrg  enableval=$enable_xprint; use_xprint=$enableval
37761abf7346Smrgelse
37771abf7346Smrg  use_xprint=auto
37781abf7346Smrgfi
37791abf7346Smrg
37801abf7346Smrg	if test "x$use_xprint" = "xyes"; then
37811abf7346Smrg		TMP_CHECK1=xaw8
37821abf7346Smrg		TMP_CHECK2=
37831abf7346Smrg		xaw_use_xprint=yes
37841abf7346Smrg	elif test "x$use_xprint" = "xno"; then
37851abf7346Smrg		TMP_CHECK1=xaw7
37861abf7346Smrg		TMP_CHECK2=
37871abf7346Smrg		xaw_use_xprint=no
37881abf7346Smrg	else
37891abf7346Smrg		TMP_CHECK1=xaw8
37901abf7346Smrg		TMP_CHECK2=xaw7
37911abf7346Smrg		xaw_use_xprint=yes
37921abf7346Smrg	fi
37931abf7346Smrg
37941abf7346Smrg
37951abf7346Smrgpkg_failed=no
37961abf7346Smrg{ echo "$as_me:$LINENO: checking for TMP_XAW" >&5
37971abf7346Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
37981abf7346Smrg
37991abf7346Smrgif test -n "$PKG_CONFIG"; then
38001abf7346Smrg    if test -n "$TMP_XAW_CFLAGS"; then
38011abf7346Smrg        pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
38021abf7346Smrg    else
38031abf7346Smrg        if test -n "$PKG_CONFIG" && \
38041abf7346Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
38051abf7346Smrg  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
38061abf7346Smrg  ac_status=$?
38071abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38081abf7346Smrg  (exit $ac_status); }; then
38091abf7346Smrg  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null`
38101abf7346Smrgelse
38111abf7346Smrg  pkg_failed=yes
38121abf7346Smrgfi
38131abf7346Smrg    fi
38141abf7346Smrgelse
38151abf7346Smrg	pkg_failed=untried
38161abf7346Smrgfi
38171abf7346Smrgif test -n "$PKG_CONFIG"; then
38181abf7346Smrg    if test -n "$TMP_XAW_LIBS"; then
38191abf7346Smrg        pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
38201abf7346Smrg    else
38211abf7346Smrg        if test -n "$PKG_CONFIG" && \
38221abf7346Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
38231abf7346Smrg  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
38241abf7346Smrg  ac_status=$?
38251abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261abf7346Smrg  (exit $ac_status); }; then
38271abf7346Smrg  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null`
38281abf7346Smrgelse
38291abf7346Smrg  pkg_failed=yes
38301abf7346Smrgfi
38311abf7346Smrg    fi
38321abf7346Smrgelse
38331abf7346Smrg	pkg_failed=untried
38341abf7346Smrgfi
38351abf7346Smrg
38361abf7346Smrg
38371abf7346Smrg
38381abf7346Smrgif test $pkg_failed = yes; then
38391abf7346Smrg
38401abf7346Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38411abf7346Smrg        _pkg_short_errors_supported=yes
38421abf7346Smrgelse
38431abf7346Smrg        _pkg_short_errors_supported=no
38441abf7346Smrgfi
38451abf7346Smrg        if test $_pkg_short_errors_supported = yes; then
38461abf7346Smrg	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"`
38471abf7346Smrg        else
38481abf7346Smrg	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"`
38491abf7346Smrg        fi
38501abf7346Smrg	# Put the nasty error message in config.log where it belongs
38511abf7346Smrg	echo "$TMP_XAW_PKG_ERRORS" >&5
38521abf7346Smrg
38531abf7346Smrg	{ echo "$as_me:$LINENO: result: no" >&5
38541abf7346Smrgecho "${ECHO_T}no" >&6; }
38551abf7346Smrg                success=no
38561abf7346Smrgelif test $pkg_failed = untried; then
38571abf7346Smrg	success=no
38581abf7346Smrgelse
38591abf7346Smrg	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
38601abf7346Smrg	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
38611abf7346Smrg        { echo "$as_me:$LINENO: result: yes" >&5
38621abf7346Smrgecho "${ECHO_T}yes" >&6; }
38631abf7346Smrg	success=yes
38641abf7346Smrgfi
38651abf7346Smrg	if [ ! -z $TMP_CHECK2 ] ; then
38661abf7346Smrg		if test $success = no ; then
38671abf7346Smrg
38681abf7346Smrgpkg_failed=no
38691abf7346Smrg{ echo "$as_me:$LINENO: checking for TMP_XAW" >&5
38701abf7346Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
38711abf7346Smrg
38721abf7346Smrgif test -n "$PKG_CONFIG"; then
38731abf7346Smrg    if test -n "$TMP_XAW_CFLAGS"; then
38741abf7346Smrg        pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
38751abf7346Smrg    else
38761abf7346Smrg        if test -n "$PKG_CONFIG" && \
38771abf7346Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
38781abf7346Smrg  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
38791abf7346Smrg  ac_status=$?
38801abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811abf7346Smrg  (exit $ac_status); }; then
38821abf7346Smrg  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null`
38831abf7346Smrgelse
38841abf7346Smrg  pkg_failed=yes
38851abf7346Smrgfi
38861abf7346Smrg    fi
38871abf7346Smrgelse
38881abf7346Smrg	pkg_failed=untried
38891abf7346Smrgfi
38901abf7346Smrgif test -n "$PKG_CONFIG"; then
38911abf7346Smrg    if test -n "$TMP_XAW_LIBS"; then
38921abf7346Smrg        pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
38931abf7346Smrg    else
38941abf7346Smrg        if test -n "$PKG_CONFIG" && \
38951abf7346Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
38961abf7346Smrg  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
38971abf7346Smrg  ac_status=$?
38981abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
38991abf7346Smrg  (exit $ac_status); }; then
39001abf7346Smrg  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null`
39011abf7346Smrgelse
39021abf7346Smrg  pkg_failed=yes
39031abf7346Smrgfi
39041abf7346Smrg    fi
39051abf7346Smrgelse
39061abf7346Smrg	pkg_failed=untried
39071abf7346Smrgfi
39081abf7346Smrg
39091abf7346Smrg
39101abf7346Smrg
39111abf7346Smrgif test $pkg_failed = yes; then
39121abf7346Smrg
39131abf7346Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39141abf7346Smrg        _pkg_short_errors_supported=yes
39151abf7346Smrgelse
39161abf7346Smrg        _pkg_short_errors_supported=no
39171abf7346Smrgfi
39181abf7346Smrg        if test $_pkg_short_errors_supported = yes; then
39191abf7346Smrg	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"`
39201abf7346Smrg        else
39211abf7346Smrg	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"`
39221abf7346Smrg        fi
39231abf7346Smrg	# Put the nasty error message in config.log where it belongs
39241abf7346Smrg	echo "$TMP_XAW_PKG_ERRORS" >&5
39251abf7346Smrg
39261abf7346Smrg	{ echo "$as_me:$LINENO: result: no" >&5
39271abf7346Smrgecho "${ECHO_T}no" >&6; }
39281abf7346Smrg                success=no
39291abf7346Smrgelif test $pkg_failed = untried; then
39301abf7346Smrg	success=no
39311abf7346Smrgelse
39321abf7346Smrg	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
39331abf7346Smrg	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
39341abf7346Smrg        { echo "$as_me:$LINENO: result: yes" >&5
39351abf7346Smrgecho "${ECHO_T}yes" >&6; }
39361abf7346Smrg	success=yes
39371abf7346Smrgfi
39381abf7346Smrg			xaw_use_xprint=no
39391abf7346Smrg		fi
39401abf7346Smrg	fi
39411abf7346Smrg
39421abf7346Smrg	if test "x$success" = "xyes"; then
39431abf7346Smrg		XMAN_CFLAGS=$TMP_XAW_CFLAGS
39441abf7346Smrg		XMAN_LIBS=$TMP_XAW_LIBS
39451abf7346Smrg
39461abf7346Smrg		 if test "x$xaw_use_xprint" = "xyes"; then
39471abf7346Smrg  XAW_USE_XPRINT_TRUE=
39481abf7346Smrg  XAW_USE_XPRINT_FALSE='#'
39491abf7346Smrgelse
39501abf7346Smrg  XAW_USE_XPRINT_TRUE='#'
39511abf7346Smrg  XAW_USE_XPRINT_FALSE=
39521abf7346Smrgfi
39531abf7346Smrg
39541abf7346Smrg	else
39551abf7346Smrg		{ { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5
39561abf7346Smrgecho "$as_me: error: No suitable version of Xaw found" >&2;}
39571abf7346Smrg   { (exit 1); exit 1; }; }
39581abf7346Smrg	fi
39591abf7346Smrg
39601abf7346Smrg
39611abf7346Smrg# Check for man page config files
39621abf7346Smrg{ echo "$as_me:$LINENO: checking for /etc/man.conf" >&5
39631abf7346Smrgecho $ECHO_N "checking for /etc/man.conf... $ECHO_C" >&6; }
39641abf7346Smrgif test "${ac_cv_file__etc_man_conf+set}" = set; then
39651abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
39661abf7346Smrgelse
39671abf7346Smrg  test "$cross_compiling" = yes &&
39681abf7346Smrg  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
39691abf7346Smrgecho "$as_me: error: cannot check for file existence when cross compiling" >&2;}
39701abf7346Smrg   { (exit 1); exit 1; }; }
39711abf7346Smrgif test -r "/etc/man.conf"; then
39721abf7346Smrg  ac_cv_file__etc_man_conf=yes
39731abf7346Smrgelse
39741abf7346Smrg  ac_cv_file__etc_man_conf=no
39751abf7346Smrgfi
39761abf7346Smrgfi
39771abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_file__etc_man_conf" >&5
39781abf7346Smrgecho "${ECHO_T}$ac_cv_file__etc_man_conf" >&6; }
39791abf7346Smrgif test $ac_cv_file__etc_man_conf = yes; then
39801abf7346Smrg  MANCONF="/etc/man.conf"
39811abf7346Smrgelse
39821abf7346Smrg  { echo "$as_me:$LINENO: checking for /etc/man.config" >&5
39831abf7346Smrgecho $ECHO_N "checking for /etc/man.config... $ECHO_C" >&6; }
39841abf7346Smrgif test "${ac_cv_file__etc_man_config+set}" = set; then
39851abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
39861abf7346Smrgelse
39871abf7346Smrg  test "$cross_compiling" = yes &&
39881abf7346Smrg  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
39891abf7346Smrgecho "$as_me: error: cannot check for file existence when cross compiling" >&2;}
39901abf7346Smrg   { (exit 1); exit 1; }; }
39911abf7346Smrgif test -r "/etc/man.config"; then
39921abf7346Smrg  ac_cv_file__etc_man_config=yes
39931abf7346Smrgelse
39941abf7346Smrg  ac_cv_file__etc_man_config=no
39951abf7346Smrgfi
39961abf7346Smrgfi
39971abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_file__etc_man_config" >&5
39981abf7346Smrgecho "${ECHO_T}$ac_cv_file__etc_man_config" >&6; }
39991abf7346Smrgif test $ac_cv_file__etc_man_config = yes; then
40001abf7346Smrg  MANCONF="/etc/man.config"
40011abf7346Smrgelse
40021abf7346Smrg  { echo "$as_me:$LINENO: checking for /etc/manpath.config" >&5
40031abf7346Smrgecho $ECHO_N "checking for /etc/manpath.config... $ECHO_C" >&6; }
40041abf7346Smrgif test "${ac_cv_file__etc_manpath_config+set}" = set; then
40051abf7346Smrg  echo $ECHO_N "(cached) $ECHO_C" >&6
40061abf7346Smrgelse
40071abf7346Smrg  test "$cross_compiling" = yes &&
40081abf7346Smrg  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
40091abf7346Smrgecho "$as_me: error: cannot check for file existence when cross compiling" >&2;}
40101abf7346Smrg   { (exit 1); exit 1; }; }
40111abf7346Smrgif test -r "/etc/manpath.config"; then
40121abf7346Smrg  ac_cv_file__etc_manpath_config=yes
40131abf7346Smrgelse
40141abf7346Smrg  ac_cv_file__etc_manpath_config=no
40151abf7346Smrgfi
40161abf7346Smrgfi
40171abf7346Smrg{ echo "$as_me:$LINENO: result: $ac_cv_file__etc_manpath_config" >&5
40181abf7346Smrgecho "${ECHO_T}$ac_cv_file__etc_manpath_config" >&6; }
40191abf7346Smrgif test $ac_cv_file__etc_manpath_config = yes; then
40201abf7346Smrg  MANCONF="/etc/manpath.config"
40211abf7346Smrgfi
40221abf7346Smrg
40231abf7346Smrgfi
40241abf7346Smrg
40251abf7346Smrgfi
40261abf7346Smrg
40271abf7346Smrg
40281abf7346Smrgif test x$MANCONF != x ; then
40291abf7346Smrg
40301abf7346Smrgcat >>confdefs.h <<_ACEOF
40311abf7346Smrg#define MANCONF "$MANCONF"
40321abf7346Smrg_ACEOF
40331abf7346Smrg
40341abf7346Smrg
40351abf7346Smrg    # Try to determine format of config file
40361abf7346Smrg    # would be better to somehow determine from the files themselves, but
40371abf7346Smrg    # we'll guess based on pathname and OS for now (mirrors old Imake tests)
40381abf7346Smrg    { echo "$as_me:$LINENO: checking man config file format" >&5
40391abf7346Smrgecho $ECHO_N "checking man config file format... $ECHO_C" >&6; }
40401abf7346Smrg    if test x$MANCONF = x/etc/manpath.config ; then
40411abf7346Smrg	MAN_CONFIG_STYLE="FreeBSD"
40421abf7346Smrg    else
40431abf7346Smrg	case $host_os in
40441abf7346Smrg	*darwin* | *openbsd* | *netbsd* )
40451abf7346Smrg	    MAN_CONFIG_STYLE="OpenBSD"
40461abf7346Smrg	    ;;
40471abf7346Smrg    	*linux* )
40481abf7346Smrg	    MAN_CONFIG_STYLE="Linux"
40491abf7346Smrg	    ;;
40501abf7346Smrg        *bsd* )
40511abf7346Smrg	    MAN_CONFIG_STYLE="BSD"
40521abf7346Smrg	    ;;
40531abf7346Smrg	*)
40541abf7346Smrg	    ;;
40551abf7346Smrg	esac
40561abf7346Smrg    fi
40571abf7346Smrg    { echo "$as_me:$LINENO: result: $MAN_CONFIG_STYLE" >&5
40581abf7346Smrgecho "${ECHO_T}$MAN_CONFIG_STYLE" >&6; }
40591abf7346Smrg
40601abf7346Smrg    case $MAN_CONFIG_STYLE in
40611abf7346Smrg	FreeBSD)
40621abf7346Smrg
40631abf7346Smrgcat >>confdefs.h <<\_ACEOF
40641abf7346Smrg#define MANCONFIGSTYLE_FreeBSD 1
40651abf7346Smrg_ACEOF
40661abf7346Smrg
40671abf7346Smrg	    ;;
40681abf7346Smrg	OpenBSD)
40691abf7346Smrg
40701abf7346Smrgcat >>confdefs.h <<\_ACEOF
40711abf7346Smrg#define MANCONFIGSTYLE_OpenBSD 1
40721abf7346Smrg_ACEOF
40731abf7346Smrg
40741abf7346Smrg	    ;;
40751abf7346Smrg	BSD)
40761abf7346Smrg
40771abf7346Smrgcat >>confdefs.h <<\_ACEOF
40781abf7346Smrg#define MANCONFIGSTYLE_BSD 1
40791abf7346Smrg_ACEOF
40801abf7346Smrg
40811abf7346Smrg	    ;;
40821abf7346Smrg	Linux)
40831abf7346Smrg
40841abf7346Smrgcat >>confdefs.h <<\_ACEOF
40851abf7346Smrg#define MANCONFIGSTYLE_Linux 1
40861abf7346Smrg_ACEOF
40871abf7346Smrg
40881abf7346Smrg	    ;;
40891abf7346Smrg	*)
40901abf7346Smrg	    { { echo "$as_me:$LINENO: error: Could not determine man page file config format." >&5
40911abf7346Smrgecho "$as_me: error: Could not determine man page file config format." >&2;}
40921abf7346Smrg   { (exit 1); exit 1; }; }
40931abf7346Smrg    esac
40941abf7346Smrgfi
40951abf7346Smrg
40961abf7346Smrgif test "x$xaw_use_xprint" = "xyes" ; then
40971abf7346Smrg
40981abf7346Smrgpkg_failed=no
40991abf7346Smrg{ echo "$as_me:$LINENO: checking for XPRINT_UTIL" >&5
41001abf7346Smrgecho $ECHO_N "checking for XPRINT_UTIL... $ECHO_C" >&6; }
41011abf7346Smrg
41021abf7346Smrgif test -n "$PKG_CONFIG"; then
41031abf7346Smrg    if test -n "$XPRINT_UTIL_CFLAGS"; then
41041abf7346Smrg        pkg_cv_XPRINT_UTIL_CFLAGS="$XPRINT_UTIL_CFLAGS"
41051abf7346Smrg    else
41061abf7346Smrg        if test -n "$PKG_CONFIG" && \
41071abf7346Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xprintutil xp\"") >&5
41081abf7346Smrg  ($PKG_CONFIG --exists --print-errors "xprintutil xp") 2>&5
41091abf7346Smrg  ac_status=$?
41101abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111abf7346Smrg  (exit $ac_status); }; then
41121abf7346Smrg  pkg_cv_XPRINT_UTIL_CFLAGS=`$PKG_CONFIG --cflags "xprintutil xp" 2>/dev/null`
41131abf7346Smrgelse
41141abf7346Smrg  pkg_failed=yes
41151abf7346Smrgfi
41161abf7346Smrg    fi
41171abf7346Smrgelse
41181abf7346Smrg	pkg_failed=untried
41191abf7346Smrgfi
41201abf7346Smrgif test -n "$PKG_CONFIG"; then
41211abf7346Smrg    if test -n "$XPRINT_UTIL_LIBS"; then
41221abf7346Smrg        pkg_cv_XPRINT_UTIL_LIBS="$XPRINT_UTIL_LIBS"
41231abf7346Smrg    else
41241abf7346Smrg        if test -n "$PKG_CONFIG" && \
41251abf7346Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xprintutil xp\"") >&5
41261abf7346Smrg  ($PKG_CONFIG --exists --print-errors "xprintutil xp") 2>&5
41271abf7346Smrg  ac_status=$?
41281abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291abf7346Smrg  (exit $ac_status); }; then
41301abf7346Smrg  pkg_cv_XPRINT_UTIL_LIBS=`$PKG_CONFIG --libs "xprintutil xp" 2>/dev/null`
41311abf7346Smrgelse
41321abf7346Smrg  pkg_failed=yes
41331abf7346Smrgfi
41341abf7346Smrg    fi
41351abf7346Smrgelse
41361abf7346Smrg	pkg_failed=untried
41371abf7346Smrgfi
41381abf7346Smrg
41391abf7346Smrg
41401abf7346Smrg
41411abf7346Smrgif test $pkg_failed = yes; then
41421abf7346Smrg
41431abf7346Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41441abf7346Smrg        _pkg_short_errors_supported=yes
41451abf7346Smrgelse
41461abf7346Smrg        _pkg_short_errors_supported=no
41471abf7346Smrgfi
41481abf7346Smrg        if test $_pkg_short_errors_supported = yes; then
41491abf7346Smrg	        XPRINT_UTIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xprintutil xp"`
41501abf7346Smrg        else
41511abf7346Smrg	        XPRINT_UTIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xprintutil xp"`
41521abf7346Smrg        fi
41531abf7346Smrg	# Put the nasty error message in config.log where it belongs
41541abf7346Smrg	echo "$XPRINT_UTIL_PKG_ERRORS" >&5
41551abf7346Smrg
41561abf7346Smrg	{ { echo "$as_me:$LINENO: error: Package requirements (xprintutil xp) were not met:
41571abf7346Smrg
41581abf7346Smrg$XPRINT_UTIL_PKG_ERRORS
41591abf7346Smrg
41601abf7346SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
41611abf7346Smrginstalled software in a non-standard prefix.
41621abf7346Smrg
41631abf7346SmrgAlternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
41641abf7346Smrgand XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
41651abf7346SmrgSee the pkg-config man page for more details.
41661abf7346Smrg" >&5
41671abf7346Smrgecho "$as_me: error: Package requirements (xprintutil xp) were not met:
41681abf7346Smrg
41691abf7346Smrg$XPRINT_UTIL_PKG_ERRORS
41701abf7346Smrg
41711abf7346SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
41721abf7346Smrginstalled software in a non-standard prefix.
41731abf7346Smrg
41741abf7346SmrgAlternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
41751abf7346Smrgand XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
41761abf7346SmrgSee the pkg-config man page for more details.
41771abf7346Smrg" >&2;}
41781abf7346Smrg   { (exit 1); exit 1; }; }
41791abf7346Smrgelif test $pkg_failed = untried; then
41801abf7346Smrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
41811abf7346Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
41821abf7346Smrgpath to pkg-config.
41831abf7346Smrg
41841abf7346SmrgAlternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
41851abf7346Smrgand XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
41861abf7346SmrgSee the pkg-config man page for more details.
41871abf7346Smrg
41881abf7346SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
41891abf7346SmrgSee \`config.log' for more details." >&5
41901abf7346Smrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
41911abf7346Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
41921abf7346Smrgpath to pkg-config.
41931abf7346Smrg
41941abf7346SmrgAlternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
41951abf7346Smrgand XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
41961abf7346SmrgSee the pkg-config man page for more details.
41971abf7346Smrg
41981abf7346SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
41991abf7346SmrgSee \`config.log' for more details." >&2;}
42001abf7346Smrg   { (exit 1); exit 1; }; }
42011abf7346Smrgelse
42021abf7346Smrg	XPRINT_UTIL_CFLAGS=$pkg_cv_XPRINT_UTIL_CFLAGS
42031abf7346Smrg	XPRINT_UTIL_LIBS=$pkg_cv_XPRINT_UTIL_LIBS
42041abf7346Smrg        { echo "$as_me:$LINENO: result: yes" >&5
42051abf7346Smrgecho "${ECHO_T}yes" >&6; }
42061abf7346Smrg	:
42071abf7346Smrgfi
42081abf7346Smrg
42091abf7346Smrg   XMAN_CFLAGS="$XMAN_CFLAGS $XPRINT_UTIL_CFLAGS"
42101abf7346Smrg   XMAN_LIBS="$XMAN_LIBS $XPRINT_UTIL_LIBS"
42111abf7346Smrgfi
42121abf7346Smrg
42131abf7346Smrg
42141abf7346Smrg
42151abf7346Smrg
42161abf7346Smrg
42171abf7346Smrgpkg_failed=no
42181abf7346Smrg{ echo "$as_me:$LINENO: checking for APPDEFS" >&5
42191abf7346Smrgecho $ECHO_N "checking for APPDEFS... $ECHO_C" >&6; }
42201abf7346Smrg
42211abf7346Smrgif test -n "$PKG_CONFIG"; then
42221abf7346Smrg    if test -n "$APPDEFS_CFLAGS"; then
42231abf7346Smrg        pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
42241abf7346Smrg    else
42251abf7346Smrg        if test -n "$PKG_CONFIG" && \
42261abf7346Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
42271abf7346Smrg  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
42281abf7346Smrg  ac_status=$?
42291abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301abf7346Smrg  (exit $ac_status); }; then
42311abf7346Smrg  pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
42321abf7346Smrgelse
42331abf7346Smrg  pkg_failed=yes
42341abf7346Smrgfi
42351abf7346Smrg    fi
42361abf7346Smrgelse
42371abf7346Smrg	pkg_failed=untried
42381abf7346Smrgfi
42391abf7346Smrgif test -n "$PKG_CONFIG"; then
42401abf7346Smrg    if test -n "$APPDEFS_LIBS"; then
42411abf7346Smrg        pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
42421abf7346Smrg    else
42431abf7346Smrg        if test -n "$PKG_CONFIG" && \
42441abf7346Smrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
42451abf7346Smrg  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
42461abf7346Smrg  ac_status=$?
42471abf7346Smrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481abf7346Smrg  (exit $ac_status); }; then
42491abf7346Smrg  pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
42501abf7346Smrgelse
42511abf7346Smrg  pkg_failed=yes
42521abf7346Smrgfi
42531abf7346Smrg    fi
42541abf7346Smrgelse
42551abf7346Smrg	pkg_failed=untried
42561abf7346Smrgfi
42571abf7346Smrg
42581abf7346Smrg
42591abf7346Smrg
42601abf7346Smrgif test $pkg_failed = yes; then
42611abf7346Smrg
42621abf7346Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42631abf7346Smrg        _pkg_short_errors_supported=yes
42641abf7346Smrgelse
42651abf7346Smrg        _pkg_short_errors_supported=no
42661abf7346Smrgfi
42671abf7346Smrg        if test $_pkg_short_errors_supported = yes; then
42681abf7346Smrg	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xt"`
42691abf7346Smrg        else
42701abf7346Smrg	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
42711abf7346Smrg        fi
42721abf7346Smrg	# Put the nasty error message in config.log where it belongs
42731abf7346Smrg	echo "$APPDEFS_PKG_ERRORS" >&5
42741abf7346Smrg
42751abf7346Smrg	{ { echo "$as_me:$LINENO: error: Package requirements (xt) were not met:
42761abf7346Smrg
42771abf7346Smrg$APPDEFS_PKG_ERRORS
42781abf7346Smrg
42791abf7346SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
42801abf7346Smrginstalled software in a non-standard prefix.
42811abf7346Smrg
42821abf7346SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS
42831abf7346Smrgand APPDEFS_LIBS to avoid the need to call pkg-config.
42841abf7346SmrgSee the pkg-config man page for more details.
42851abf7346Smrg" >&5
42861abf7346Smrgecho "$as_me: error: Package requirements (xt) were not met:
42871abf7346Smrg
42881abf7346Smrg$APPDEFS_PKG_ERRORS
42891abf7346Smrg
42901abf7346SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
42911abf7346Smrginstalled software in a non-standard prefix.
42921abf7346Smrg
42931abf7346SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS
42941abf7346Smrgand APPDEFS_LIBS to avoid the need to call pkg-config.
42951abf7346SmrgSee the pkg-config man page for more details.
42961abf7346Smrg" >&2;}
42971abf7346Smrg   { (exit 1); exit 1; }; }
42981abf7346Smrgelif test $pkg_failed = untried; then
42991abf7346Smrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
43001abf7346Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
43011abf7346Smrgpath to pkg-config.
43021abf7346Smrg
43031abf7346SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS
43041abf7346Smrgand APPDEFS_LIBS to avoid the need to call pkg-config.
43051abf7346SmrgSee the pkg-config man page for more details.
43061abf7346Smrg
43071abf7346SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
43081abf7346SmrgSee \`config.log' for more details." >&5
43091abf7346Smrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
43101abf7346Smrgis in your PATH or set the PKG_CONFIG environment variable to the full
43111abf7346Smrgpath to pkg-config.
43121abf7346Smrg
43131abf7346SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS
43141abf7346Smrgand APPDEFS_LIBS to avoid the need to call pkg-config.
43151abf7346SmrgSee the pkg-config man page for more details.
43161abf7346Smrg
43171abf7346SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
43181abf7346SmrgSee \`config.log' for more details." >&2;}
43191abf7346Smrg   { (exit 1); exit 1; }; }
43201abf7346Smrgelse
43211abf7346Smrg	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
43221abf7346Smrg	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
43231abf7346Smrg        { echo "$as_me:$LINENO: result: yes" >&5
43241abf7346Smrgecho "${ECHO_T}yes" >&6; }
43251abf7346Smrg	:
43261abf7346Smrgfi
43271abf7346Smrgappdefaultdir=$(pkg-config --variable=appdefaultdir xt)
43281abf7346Smrg
43291abf7346Smrg
43301abf7346Smrg
43311abf7346Smrg
43321abf7346Smrg
43331abf7346Smrgif test x$APP_MAN_SUFFIX = x    ; then
43341abf7346Smrg    APP_MAN_SUFFIX=1
43351abf7346Smrgfi
43361abf7346Smrgif test x$APP_MAN_DIR = x    ; then
43371abf7346Smrg    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
43381abf7346Smrgfi
43391abf7346Smrg
43401abf7346Smrgif test x$LIB_MAN_SUFFIX = x    ; then
43411abf7346Smrg    LIB_MAN_SUFFIX=3
43421abf7346Smrgfi
43431abf7346Smrgif test x$LIB_MAN_DIR = x    ; then
43441abf7346Smrg    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
43451abf7346Smrgfi
43461abf7346Smrg
43471abf7346Smrgif test x$FILE_MAN_SUFFIX = x    ; then
43481abf7346Smrg    case $host_os in
43491abf7346Smrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
43501abf7346Smrg	*)		FILE_MAN_SUFFIX=5  ;;
43511abf7346Smrg    esac
43521abf7346Smrgfi
43531abf7346Smrgif test x$FILE_MAN_DIR = x    ; then
43541abf7346Smrg    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
43551abf7346Smrgfi
43561abf7346Smrg
43571abf7346Smrgif test x$MISC_MAN_SUFFIX = x    ; then
43581abf7346Smrg    case $host_os in
43591abf7346Smrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
43601abf7346Smrg	*)		MISC_MAN_SUFFIX=7  ;;
43611abf7346Smrg    esac
43621abf7346Smrgfi
43631abf7346Smrgif test x$MISC_MAN_DIR = x    ; then
43641abf7346Smrg    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
43651abf7346Smrgfi
43661abf7346Smrg
43671abf7346Smrgif test x$DRIVER_MAN_SUFFIX = x    ; then
43681abf7346Smrg    case $host_os in
43691abf7346Smrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
43701abf7346Smrg	*)		DRIVER_MAN_SUFFIX=4  ;;
43711abf7346Smrg    esac
43721abf7346Smrgfi
43731abf7346Smrgif test x$DRIVER_MAN_DIR = x    ; then
43741abf7346Smrg    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
43751abf7346Smrgfi
43761abf7346Smrg
43771abf7346Smrgif test x$ADMIN_MAN_SUFFIX = x    ; then
43781abf7346Smrg    case $host_os in
43791abf7346Smrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
43801abf7346Smrg	*)		ADMIN_MAN_SUFFIX=8  ;;
43811abf7346Smrg    esac
43821abf7346Smrgfi
43831abf7346Smrgif test x$ADMIN_MAN_DIR = x    ; then
43841abf7346Smrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
43851abf7346Smrgfi
43861abf7346Smrg
43871abf7346Smrg
43881abf7346Smrg
43891abf7346Smrg
43901abf7346Smrg
43911abf7346Smrg
43921abf7346Smrg
43931abf7346Smrg
43941abf7346Smrg
43951abf7346Smrg
43961abf7346Smrg
43971abf7346Smrg
43981abf7346Smrg
43991abf7346Smrg
44001abf7346Smrg
44011abf7346Smrg
44021abf7346Smrg
44031abf7346Smrg# Check whether --with-release-version was given.
44041abf7346Smrgif test "${with_release_version+set}" = set; then
44051abf7346Smrg  withval=$with_release_version; RELEASE_VERSION="$withval"
44061abf7346Smrgelse
44071abf7346Smrg  RELEASE_VERSION=""
44081abf7346Smrgfi
44091abf7346Smrg
44101abf7346Smrg	if test "x$RELEASE_VERSION" != "x"; then
44111abf7346Smrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
44121abf7346Smrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
44131abf7346Smrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
44141abf7346Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
44151abf7346Smrg	fi
44161abf7346Smrg
44171abf7346Smrgcat >>confdefs.h <<_ACEOF
44181abf7346Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
44191abf7346Smrg_ACEOF
44201abf7346Smrg
44211abf7346Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
44221abf7346Smrg	if test "x$PVM" = "x"; then
44231abf7346Smrg		PVM="0"
44241abf7346Smrg	fi
44251abf7346Smrg
44261abf7346Smrgcat >>confdefs.h <<_ACEOF
44271abf7346Smrg#define PACKAGE_VERSION_MINOR $PVM
44281abf7346Smrg_ACEOF
44291abf7346Smrg
44301abf7346Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
44311abf7346Smrg	if test "x$PVP" = "x"; then
44321abf7346Smrg		PVP="0"
44331abf7346Smrg	fi
44341abf7346Smrg
44351abf7346Smrgcat >>confdefs.h <<_ACEOF
44361abf7346Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP
44371abf7346Smrg_ACEOF
44381abf7346Smrg
44391abf7346Smrg
44401abf7346Smrg
44411abf7346Smrgac_config_files="$ac_config_files Makefile"
44421abf7346Smrg
44431abf7346Smrgcat >confcache <<\_ACEOF
44441abf7346Smrg# This file is a shell script that caches the results of configure
44451abf7346Smrg# tests run on this system so they can be shared between configure
44461abf7346Smrg# scripts and configure runs, see configure's option --config-cache.
44471abf7346Smrg# It is not useful on other systems.  If it contains results you don't
44481abf7346Smrg# want to keep, you may remove or edit it.
44491abf7346Smrg#
44501abf7346Smrg# config.status only pays attention to the cache file if you give it
44511abf7346Smrg# the --recheck option to rerun configure.
44521abf7346Smrg#
44531abf7346Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
44541abf7346Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
44551abf7346Smrg# following values.
44561abf7346Smrg
44571abf7346Smrg_ACEOF
44581abf7346Smrg
44591abf7346Smrg# The following way of writing the cache mishandles newlines in values,
44601abf7346Smrg# but we know of no workaround that is simple, portable, and efficient.
44611abf7346Smrg# So, we kill variables containing newlines.
44621abf7346Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
44631abf7346Smrg# and sets the high bit in the cache file unless we assign to the vars.
44641abf7346Smrg(
44651abf7346Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
44661abf7346Smrg    eval ac_val=\$$ac_var
44671abf7346Smrg    case $ac_val in #(
44681abf7346Smrg    *${as_nl}*)
44691abf7346Smrg      case $ac_var in #(
44701abf7346Smrg      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
44711abf7346Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
44721abf7346Smrg      esac
44731abf7346Smrg      case $ac_var in #(
44741abf7346Smrg      _ | IFS | as_nl) ;; #(
44751abf7346Smrg      *) $as_unset $ac_var ;;
44761abf7346Smrg      esac ;;
44771abf7346Smrg    esac
44781abf7346Smrg  done
44791abf7346Smrg
44801abf7346Smrg  (set) 2>&1 |
44811abf7346Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
44821abf7346Smrg    *${as_nl}ac_space=\ *)
44831abf7346Smrg      # `set' does not quote correctly, so add quotes (double-quote
44841abf7346Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
44851abf7346Smrg      sed -n \
44861abf7346Smrg	"s/'/'\\\\''/g;
44871abf7346Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44881abf7346Smrg      ;; #(
44891abf7346Smrg    *)
44901abf7346Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
44911abf7346Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
44921abf7346Smrg      ;;
44931abf7346Smrg    esac |
44941abf7346Smrg    sort
44951abf7346Smrg) |
44961abf7346Smrg  sed '
44971abf7346Smrg     /^ac_cv_env_/b end
44981abf7346Smrg     t clear
44991abf7346Smrg     :clear
45001abf7346Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
45011abf7346Smrg     t end
45021abf7346Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
45031abf7346Smrg     :end' >>confcache
45041abf7346Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
45051abf7346Smrg  if test -w "$cache_file"; then
45061abf7346Smrg    test "x$cache_file" != "x/dev/null" &&
45071abf7346Smrg      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
45081abf7346Smrgecho "$as_me: updating cache $cache_file" >&6;}
45091abf7346Smrg    cat confcache >$cache_file
45101abf7346Smrg  else
45111abf7346Smrg    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
45121abf7346Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;}
45131abf7346Smrg  fi
45141abf7346Smrgfi
45151abf7346Smrgrm -f confcache
45161abf7346Smrg
45171abf7346Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
45181abf7346Smrg# Let make expand exec_prefix.
45191abf7346Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
45201abf7346Smrg
45211abf7346SmrgDEFS=-DHAVE_CONFIG_H
45221abf7346Smrg
45231abf7346Smrgac_libobjs=
45241abf7346Smrgac_ltlibobjs=
45251abf7346Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
45261abf7346Smrg  # 1. Remove the extension, and $U if already installed.
45271abf7346Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
45281abf7346Smrg  ac_i=`echo "$ac_i" | sed "$ac_script"`
45291abf7346Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
45301abf7346Smrg  #    will be set to the directory where LIBOBJS objects are built.
45311abf7346Smrg  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
45321abf7346Smrg  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
45331abf7346Smrgdone
45341abf7346SmrgLIBOBJS=$ac_libobjs
45351abf7346Smrg
45361abf7346SmrgLTLIBOBJS=$ac_ltlibobjs
45371abf7346Smrg
45381abf7346Smrg
45391abf7346Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
45401abf7346Smrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
45411abf7346SmrgUsually this means the macro was only invoked conditionally." >&5
45421abf7346Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
45431abf7346SmrgUsually this means the macro was only invoked conditionally." >&2;}
45441abf7346Smrg   { (exit 1); exit 1; }; }
45451abf7346Smrgfi
45461abf7346Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
45471abf7346Smrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
45481abf7346SmrgUsually this means the macro was only invoked conditionally." >&5
45491abf7346Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
45501abf7346SmrgUsually this means the macro was only invoked conditionally." >&2;}
45511abf7346Smrg   { (exit 1); exit 1; }; }
45521abf7346Smrgfi
45531abf7346Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
45541abf7346Smrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
45551abf7346SmrgUsually this means the macro was only invoked conditionally." >&5
45561abf7346Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
45571abf7346SmrgUsually this means the macro was only invoked conditionally." >&2;}
45581abf7346Smrg   { (exit 1); exit 1; }; }
45591abf7346Smrgfi
45601abf7346Smrgif test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then
45611abf7346Smrg  { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined.
45621abf7346SmrgUsually this means the macro was only invoked conditionally." >&5
45631abf7346Smrgecho "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined.
45641abf7346SmrgUsually this means the macro was only invoked conditionally." >&2;}
45651abf7346Smrg   { (exit 1); exit 1; }; }
45661abf7346Smrgfi
45671abf7346Smrg
45681abf7346Smrg: ${CONFIG_STATUS=./config.status}
45691abf7346Smrgac_clean_files_save=$ac_clean_files
45701abf7346Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
45711abf7346Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
45721abf7346Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
45731abf7346Smrgcat >$CONFIG_STATUS <<_ACEOF
45741abf7346Smrg#! $SHELL
45751abf7346Smrg# Generated by $as_me.
45761abf7346Smrg# Run this file to recreate the current configuration.
45771abf7346Smrg# Compiler output produced by configure, useful for debugging
45781abf7346Smrg# configure, is in config.log if it exists.
45791abf7346Smrg
45801abf7346Smrgdebug=false
45811abf7346Smrgac_cs_recheck=false
45821abf7346Smrgac_cs_silent=false
45831abf7346SmrgSHELL=\${CONFIG_SHELL-$SHELL}
45841abf7346Smrg_ACEOF
45851abf7346Smrg
45861abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
45871abf7346Smrg## --------------------- ##
45881abf7346Smrg## M4sh Initialization.  ##
45891abf7346Smrg## --------------------- ##
45901abf7346Smrg
45911abf7346Smrg# Be more Bourne compatible
45921abf7346SmrgDUALCASE=1; export DUALCASE # for MKS sh
45931abf7346Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
45941abf7346Smrg  emulate sh
45951abf7346Smrg  NULLCMD=:
45961abf7346Smrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
45971abf7346Smrg  # is contrary to our usage.  Disable this feature.
45981abf7346Smrg  alias -g '${1+"$@"}'='"$@"'
45991abf7346Smrg  setopt NO_GLOB_SUBST
46001abf7346Smrgelse
46011abf7346Smrg  case `(set -o) 2>/dev/null` in
46021abf7346Smrg  *posix*) set -o posix ;;
46031abf7346Smrgesac
46041abf7346Smrg
46051abf7346Smrgfi
46061abf7346Smrg
46071abf7346Smrg
46081abf7346Smrg
46091abf7346Smrg
46101abf7346Smrg# PATH needs CR
46111abf7346Smrg# Avoid depending upon Character Ranges.
46121abf7346Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
46131abf7346Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46141abf7346Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
46151abf7346Smrgas_cr_digits='0123456789'
46161abf7346Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
46171abf7346Smrg
46181abf7346Smrg# The user is always right.
46191abf7346Smrgif test "${PATH_SEPARATOR+set}" != set; then
46201abf7346Smrg  echo "#! /bin/sh" >conf$$.sh
46211abf7346Smrg  echo  "exit 0"   >>conf$$.sh
46221abf7346Smrg  chmod +x conf$$.sh
46231abf7346Smrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46241abf7346Smrg    PATH_SEPARATOR=';'
46251abf7346Smrg  else
46261abf7346Smrg    PATH_SEPARATOR=:
46271abf7346Smrg  fi
46281abf7346Smrg  rm -f conf$$.sh
46291abf7346Smrgfi
46301abf7346Smrg
46311abf7346Smrg# Support unset when possible.
46321abf7346Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
46331abf7346Smrg  as_unset=unset
46341abf7346Smrgelse
46351abf7346Smrg  as_unset=false
46361abf7346Smrgfi
46371abf7346Smrg
46381abf7346Smrg
46391abf7346Smrg# IFS
46401abf7346Smrg# We need space, tab and new line, in precisely that order.  Quoting is
46411abf7346Smrg# there to prevent editors from complaining about space-tab.
46421abf7346Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
46431abf7346Smrg# splitting by setting IFS to empty value.)
46441abf7346Smrgas_nl='
46451abf7346Smrg'
46461abf7346SmrgIFS=" ""	$as_nl"
46471abf7346Smrg
46481abf7346Smrg# Find who we are.  Look in the path if we contain no directory separator.
46491abf7346Smrgcase $0 in
46501abf7346Smrg  *[\\/]* ) as_myself=$0 ;;
46511abf7346Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46521abf7346Smrgfor as_dir in $PATH
46531abf7346Smrgdo
46541abf7346Smrg  IFS=$as_save_IFS
46551abf7346Smrg  test -z "$as_dir" && as_dir=.
46561abf7346Smrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
46571abf7346Smrgdone
46581abf7346SmrgIFS=$as_save_IFS
46591abf7346Smrg
46601abf7346Smrg     ;;
46611abf7346Smrgesac
46621abf7346Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
46631abf7346Smrg# in which case we are not to be found in the path.
46641abf7346Smrgif test "x$as_myself" = x; then
46651abf7346Smrg  as_myself=$0
46661abf7346Smrgfi
46671abf7346Smrgif test ! -f "$as_myself"; then
46681abf7346Smrg  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
46691abf7346Smrg  { (exit 1); exit 1; }
46701abf7346Smrgfi
46711abf7346Smrg
46721abf7346Smrg# Work around bugs in pre-3.0 UWIN ksh.
46731abf7346Smrgfor as_var in ENV MAIL MAILPATH
46741abf7346Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
46751abf7346Smrgdone
46761abf7346SmrgPS1='$ '
46771abf7346SmrgPS2='> '
46781abf7346SmrgPS4='+ '
46791abf7346Smrg
46801abf7346Smrg# NLS nuisances.
46811abf7346Smrgfor as_var in \
46821abf7346Smrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46831abf7346Smrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46841abf7346Smrg  LC_TELEPHONE LC_TIME
46851abf7346Smrgdo
46861abf7346Smrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46871abf7346Smrg    eval $as_var=C; export $as_var
46881abf7346Smrg  else
46891abf7346Smrg    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
46901abf7346Smrg  fi
46911abf7346Smrgdone
46921abf7346Smrg
46931abf7346Smrg# Required to use basename.
46941abf7346Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
46951abf7346Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
46961abf7346Smrg  as_expr=expr
46971abf7346Smrgelse
46981abf7346Smrg  as_expr=false
46991abf7346Smrgfi
47001abf7346Smrg
47011abf7346Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
47021abf7346Smrg  as_basename=basename
47031abf7346Smrgelse
47041abf7346Smrg  as_basename=false
47051abf7346Smrgfi
47061abf7346Smrg
47071abf7346Smrg
47081abf7346Smrg# Name of the executable.
47091abf7346Smrgas_me=`$as_basename -- "$0" ||
47101abf7346Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
47111abf7346Smrg	 X"$0" : 'X\(//\)$' \| \
47121abf7346Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
47131abf7346Smrgecho X/"$0" |
47141abf7346Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
47151abf7346Smrg	    s//\1/
47161abf7346Smrg	    q
47171abf7346Smrg	  }
47181abf7346Smrg	  /^X\/\(\/\/\)$/{
47191abf7346Smrg	    s//\1/
47201abf7346Smrg	    q
47211abf7346Smrg	  }
47221abf7346Smrg	  /^X\/\(\/\).*/{
47231abf7346Smrg	    s//\1/
47241abf7346Smrg	    q
47251abf7346Smrg	  }
47261abf7346Smrg	  s/.*/./; q'`
47271abf7346Smrg
47281abf7346Smrg# CDPATH.
47291abf7346Smrg$as_unset CDPATH
47301abf7346Smrg
47311abf7346Smrg
47321abf7346Smrg
47331abf7346Smrg  as_lineno_1=$LINENO
47341abf7346Smrg  as_lineno_2=$LINENO
47351abf7346Smrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
47361abf7346Smrg  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
47371abf7346Smrg
47381abf7346Smrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
47391abf7346Smrg  # uniformly replaced by the line number.  The first 'sed' inserts a
47401abf7346Smrg  # line-number line after each line using $LINENO; the second 'sed'
47411abf7346Smrg  # does the real work.  The second script uses 'N' to pair each
47421abf7346Smrg  # line-number line with the line containing $LINENO, and appends
47431abf7346Smrg  # trailing '-' during substitution so that $LINENO is not a special
47441abf7346Smrg  # case at line end.
47451abf7346Smrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
47461abf7346Smrg  # scripts with optimization help from Paolo Bonzini.  Blame Lee
47471abf7346Smrg  # E. McMahon (1931-1989) for sed's syntax.  :-)
47481abf7346Smrg  sed -n '
47491abf7346Smrg    p
47501abf7346Smrg    /[$]LINENO/=
47511abf7346Smrg  ' <$as_myself |
47521abf7346Smrg    sed '
47531abf7346Smrg      s/[$]LINENO.*/&-/
47541abf7346Smrg      t lineno
47551abf7346Smrg      b
47561abf7346Smrg      :lineno
47571abf7346Smrg      N
47581abf7346Smrg      :loop
47591abf7346Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
47601abf7346Smrg      t loop
47611abf7346Smrg      s/-\n.*//
47621abf7346Smrg    ' >$as_me.lineno &&
47631abf7346Smrg  chmod +x "$as_me.lineno" ||
47641abf7346Smrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
47651abf7346Smrg   { (exit 1); exit 1; }; }
47661abf7346Smrg
47671abf7346Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
47681abf7346Smrg  # (the dirname of $[0] is not the place where we might find the
47691abf7346Smrg  # original and so on.  Autoconf is especially sensitive to this).
47701abf7346Smrg  . "./$as_me.lineno"
47711abf7346Smrg  # Exit status is that of the last command.
47721abf7346Smrg  exit
47731abf7346Smrg}
47741abf7346Smrg
47751abf7346Smrg
47761abf7346Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
47771abf7346Smrg  as_dirname=dirname
47781abf7346Smrgelse
47791abf7346Smrg  as_dirname=false
47801abf7346Smrgfi
47811abf7346Smrg
47821abf7346SmrgECHO_C= ECHO_N= ECHO_T=
47831abf7346Smrgcase `echo -n x` in
47841abf7346Smrg-n*)
47851abf7346Smrg  case `echo 'x\c'` in
47861abf7346Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
47871abf7346Smrg  *)   ECHO_C='\c';;
47881abf7346Smrg  esac;;
47891abf7346Smrg*)
47901abf7346Smrg  ECHO_N='-n';;
47911abf7346Smrgesac
47921abf7346Smrg
47931abf7346Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
47941abf7346Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
47951abf7346Smrg  as_expr=expr
47961abf7346Smrgelse
47971abf7346Smrg  as_expr=false
47981abf7346Smrgfi
47991abf7346Smrg
48001abf7346Smrgrm -f conf$$ conf$$.exe conf$$.file
48011abf7346Smrgif test -d conf$$.dir; then
48021abf7346Smrg  rm -f conf$$.dir/conf$$.file
48031abf7346Smrgelse
48041abf7346Smrg  rm -f conf$$.dir
48051abf7346Smrg  mkdir conf$$.dir
48061abf7346Smrgfi
48071abf7346Smrgecho >conf$$.file
48081abf7346Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then
48091abf7346Smrg  as_ln_s='ln -s'
48101abf7346Smrg  # ... but there are two gotchas:
48111abf7346Smrg  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
48121abf7346Smrg  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
48131abf7346Smrg  # In both cases, we have to default to `cp -p'.
48141abf7346Smrg  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
48151abf7346Smrg    as_ln_s='cp -p'
48161abf7346Smrgelif ln conf$$.file conf$$ 2>/dev/null; then
48171abf7346Smrg  as_ln_s=ln
48181abf7346Smrgelse
48191abf7346Smrg  as_ln_s='cp -p'
48201abf7346Smrgfi
48211abf7346Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
48221abf7346Smrgrmdir conf$$.dir 2>/dev/null
48231abf7346Smrg
48241abf7346Smrgif mkdir -p . 2>/dev/null; then
48251abf7346Smrg  as_mkdir_p=:
48261abf7346Smrgelse
48271abf7346Smrg  test -d ./-p && rmdir ./-p
48281abf7346Smrg  as_mkdir_p=false
48291abf7346Smrgfi
48301abf7346Smrg
48311abf7346Smrgif test -x / >/dev/null 2>&1; then
48321abf7346Smrg  as_test_x='test -x'
48331abf7346Smrgelse
48341abf7346Smrg  if ls -dL / >/dev/null 2>&1; then
48351abf7346Smrg    as_ls_L_option=L
48361abf7346Smrg  else
48371abf7346Smrg    as_ls_L_option=
48381abf7346Smrg  fi
48391abf7346Smrg  as_test_x='
48401abf7346Smrg    eval sh -c '\''
48411abf7346Smrg      if test -d "$1"; then
48421abf7346Smrg        test -d "$1/.";
48431abf7346Smrg      else
48441abf7346Smrg	case $1 in
48451abf7346Smrg        -*)set "./$1";;
48461abf7346Smrg	esac;
48471abf7346Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
48481abf7346Smrg	???[sx]*):;;*)false;;esac;fi
48491abf7346Smrg    '\'' sh
48501abf7346Smrg  '
48511abf7346Smrgfi
48521abf7346Smrgas_executable_p=$as_test_x
48531abf7346Smrg
48541abf7346Smrg# Sed expression to map a string onto a valid CPP name.
48551abf7346Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48561abf7346Smrg
48571abf7346Smrg# Sed expression to map a string onto a valid variable name.
48581abf7346Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48591abf7346Smrg
48601abf7346Smrg
48611abf7346Smrgexec 6>&1
48621abf7346Smrg
48631abf7346Smrg# Save the log message, to keep $[0] and so on meaningful, and to
48641abf7346Smrg# report actual input values of CONFIG_FILES etc. instead of their
48651abf7346Smrg# values after options handling.
48661abf7346Smrgac_log="
48671abf7346SmrgThis file was extended by xman $as_me 1.0.3, which was
48681abf7346Smrggenerated by GNU Autoconf 2.61.  Invocation command line was
48691abf7346Smrg
48701abf7346Smrg  CONFIG_FILES    = $CONFIG_FILES
48711abf7346Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
48721abf7346Smrg  CONFIG_LINKS    = $CONFIG_LINKS
48731abf7346Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
48741abf7346Smrg  $ $0 $@
48751abf7346Smrg
48761abf7346Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
48771abf7346Smrg"
48781abf7346Smrg
48791abf7346Smrg_ACEOF
48801abf7346Smrg
48811abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
48821abf7346Smrg# Files that config.status was made for.
48831abf7346Smrgconfig_files="$ac_config_files"
48841abf7346Smrgconfig_headers="$ac_config_headers"
48851abf7346Smrgconfig_commands="$ac_config_commands"
48861abf7346Smrg
48871abf7346Smrg_ACEOF
48881abf7346Smrg
48891abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
48901abf7346Smrgac_cs_usage="\
48911abf7346Smrg\`$as_me' instantiates files from templates according to the
48921abf7346Smrgcurrent configuration.
48931abf7346Smrg
48941abf7346SmrgUsage: $0 [OPTIONS] [FILE]...
48951abf7346Smrg
48961abf7346Smrg  -h, --help       print this help, then exit
48971abf7346Smrg  -V, --version    print version number and configuration settings, then exit
48981abf7346Smrg  -q, --quiet      do not print progress messages
48991abf7346Smrg  -d, --debug      don't remove temporary files
49001abf7346Smrg      --recheck    update $as_me by reconfiguring in the same conditions
49011abf7346Smrg  --file=FILE[:TEMPLATE]
49021abf7346Smrg		   instantiate the configuration file FILE
49031abf7346Smrg  --header=FILE[:TEMPLATE]
49041abf7346Smrg		   instantiate the configuration header FILE
49051abf7346Smrg
49061abf7346SmrgConfiguration files:
49071abf7346Smrg$config_files
49081abf7346Smrg
49091abf7346SmrgConfiguration headers:
49101abf7346Smrg$config_headers
49111abf7346Smrg
49121abf7346SmrgConfiguration commands:
49131abf7346Smrg$config_commands
49141abf7346Smrg
49151abf7346SmrgReport bugs to <bug-autoconf@gnu.org>."
49161abf7346Smrg
49171abf7346Smrg_ACEOF
49181abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
49191abf7346Smrgac_cs_version="\\
49201abf7346Smrgxman config.status 1.0.3
49211abf7346Smrgconfigured by $0, generated by GNU Autoconf 2.61,
49221abf7346Smrg  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49231abf7346Smrg
49241abf7346SmrgCopyright (C) 2006 Free Software Foundation, Inc.
49251abf7346SmrgThis config.status script is free software; the Free Software Foundation
49261abf7346Smrggives unlimited permission to copy, distribute and modify it."
49271abf7346Smrg
49281abf7346Smrgac_pwd='$ac_pwd'
49291abf7346Smrgsrcdir='$srcdir'
49301abf7346SmrgINSTALL='$INSTALL'
49311abf7346SmrgMKDIR_P='$MKDIR_P'
49321abf7346Smrg_ACEOF
49331abf7346Smrg
49341abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
49351abf7346Smrg# If no file are specified by the user, then we need to provide default
49361abf7346Smrg# value.  By we need to know if files were specified by the user.
49371abf7346Smrgac_need_defaults=:
49381abf7346Smrgwhile test $# != 0
49391abf7346Smrgdo
49401abf7346Smrg  case $1 in
49411abf7346Smrg  --*=*)
49421abf7346Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
49431abf7346Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49441abf7346Smrg    ac_shift=:
49451abf7346Smrg    ;;
49461abf7346Smrg  *)
49471abf7346Smrg    ac_option=$1
49481abf7346Smrg    ac_optarg=$2
49491abf7346Smrg    ac_shift=shift
49501abf7346Smrg    ;;
49511abf7346Smrg  esac
49521abf7346Smrg
49531abf7346Smrg  case $ac_option in
49541abf7346Smrg  # Handling of the options.
49551abf7346Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49561abf7346Smrg    ac_cs_recheck=: ;;
49571abf7346Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49581abf7346Smrg    echo "$ac_cs_version"; exit ;;
49591abf7346Smrg  --debug | --debu | --deb | --de | --d | -d )
49601abf7346Smrg    debug=: ;;
49611abf7346Smrg  --file | --fil | --fi | --f )
49621abf7346Smrg    $ac_shift
49631abf7346Smrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49641abf7346Smrg    ac_need_defaults=false;;
49651abf7346Smrg  --header | --heade | --head | --hea )
49661abf7346Smrg    $ac_shift
49671abf7346Smrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49681abf7346Smrg    ac_need_defaults=false;;
49691abf7346Smrg  --he | --h)
49701abf7346Smrg    # Conflict between --help and --header
49711abf7346Smrg    { echo "$as_me: error: ambiguous option: $1
49721abf7346SmrgTry \`$0 --help' for more information." >&2
49731abf7346Smrg   { (exit 1); exit 1; }; };;
49741abf7346Smrg  --help | --hel | -h )
49751abf7346Smrg    echo "$ac_cs_usage"; exit ;;
49761abf7346Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49771abf7346Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
49781abf7346Smrg    ac_cs_silent=: ;;
49791abf7346Smrg
49801abf7346Smrg  # This is an error.
49811abf7346Smrg  -*) { echo "$as_me: error: unrecognized option: $1
49821abf7346SmrgTry \`$0 --help' for more information." >&2
49831abf7346Smrg   { (exit 1); exit 1; }; } ;;
49841abf7346Smrg
49851abf7346Smrg  *) ac_config_targets="$ac_config_targets $1"
49861abf7346Smrg     ac_need_defaults=false ;;
49871abf7346Smrg
49881abf7346Smrg  esac
49891abf7346Smrg  shift
49901abf7346Smrgdone
49911abf7346Smrg
49921abf7346Smrgac_configure_extra_args=
49931abf7346Smrg
49941abf7346Smrgif $ac_cs_silent; then
49951abf7346Smrg  exec 6>/dev/null
49961abf7346Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
49971abf7346Smrgfi
49981abf7346Smrg
49991abf7346Smrg_ACEOF
50001abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
50011abf7346Smrgif \$ac_cs_recheck; then
50021abf7346Smrg  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50031abf7346Smrg  CONFIG_SHELL=$SHELL
50041abf7346Smrg  export CONFIG_SHELL
50051abf7346Smrg  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50061abf7346Smrgfi
50071abf7346Smrg
50081abf7346Smrg_ACEOF
50091abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
50101abf7346Smrgexec 5>>config.log
50111abf7346Smrg{
50121abf7346Smrg  echo
50131abf7346Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50141abf7346Smrg## Running $as_me. ##
50151abf7346Smrg_ASBOX
50161abf7346Smrg  echo "$ac_log"
50171abf7346Smrg} >&5
50181abf7346Smrg
50191abf7346Smrg_ACEOF
50201abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
50211abf7346Smrg#
50221abf7346Smrg# INIT-COMMANDS
50231abf7346Smrg#
50241abf7346SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
50251abf7346Smrg
50261abf7346Smrg_ACEOF
50271abf7346Smrg
50281abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
50291abf7346Smrg
50301abf7346Smrg# Handling of arguments.
50311abf7346Smrgfor ac_config_target in $ac_config_targets
50321abf7346Smrgdo
50331abf7346Smrg  case $ac_config_target in
50341abf7346Smrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
50351abf7346Smrg    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
50361abf7346Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50371abf7346Smrg
50381abf7346Smrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50391abf7346Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
50401abf7346Smrg   { (exit 1); exit 1; }; };;
50411abf7346Smrg  esac
50421abf7346Smrgdone
50431abf7346Smrg
50441abf7346Smrg
50451abf7346Smrg# If the user did not use the arguments to specify the items to instantiate,
50461abf7346Smrg# then the envvar interface is used.  Set only those that are not.
50471abf7346Smrg# We use the long form for the default assignment because of an extremely
50481abf7346Smrg# bizarre bug on SunOS 4.1.3.
50491abf7346Smrgif $ac_need_defaults; then
50501abf7346Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50511abf7346Smrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50521abf7346Smrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50531abf7346Smrgfi
50541abf7346Smrg
50551abf7346Smrg# Have a temporary directory for convenience.  Make it in the build tree
50561abf7346Smrg# simply because there is no reason against having it here, and in addition,
50571abf7346Smrg# creating and moving files from /tmp can sometimes cause problems.
50581abf7346Smrg# Hook for its removal unless debugging.
50591abf7346Smrg# Note that there is a small window in which the directory will not be cleaned:
50601abf7346Smrg# after its creation but before its name has been assigned to `$tmp'.
50611abf7346Smrg$debug ||
50621abf7346Smrg{
50631abf7346Smrg  tmp=
50641abf7346Smrg  trap 'exit_status=$?
50651abf7346Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50661abf7346Smrg' 0
50671abf7346Smrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
50681abf7346Smrg}
50691abf7346Smrg# Create a (secure) tmp directory for tmp files.
50701abf7346Smrg
50711abf7346Smrg{
50721abf7346Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50731abf7346Smrg  test -n "$tmp" && test -d "$tmp"
50741abf7346Smrg}  ||
50751abf7346Smrg{
50761abf7346Smrg  tmp=./conf$$-$RANDOM
50771abf7346Smrg  (umask 077 && mkdir "$tmp")
50781abf7346Smrg} ||
50791abf7346Smrg{
50801abf7346Smrg   echo "$me: cannot create a temporary directory in ." >&2
50811abf7346Smrg   { (exit 1); exit 1; }
50821abf7346Smrg}
50831abf7346Smrg
50841abf7346Smrg#
50851abf7346Smrg# Set up the sed scripts for CONFIG_FILES section.
50861abf7346Smrg#
50871abf7346Smrg
50881abf7346Smrg# No need to generate the scripts if there are no CONFIG_FILES.
50891abf7346Smrg# This happens for instance when ./config.status config.h
50901abf7346Smrgif test -n "$CONFIG_FILES"; then
50911abf7346Smrg
50921abf7346Smrg_ACEOF
50931abf7346Smrg
50941abf7346Smrg
50951abf7346Smrg
50961abf7346Smrgac_delim='%!_!# '
50971abf7346Smrgfor ac_last_try in false false false false false :; do
50981abf7346Smrg  cat >conf$$subs.sed <<_ACEOF
50991abf7346SmrgSHELL!$SHELL$ac_delim
51001abf7346SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51011abf7346SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim
51021abf7346SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51031abf7346SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51041abf7346SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim
51051abf7346SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51061abf7346Smrgexec_prefix!$exec_prefix$ac_delim
51071abf7346Smrgprefix!$prefix$ac_delim
51081abf7346Smrgprogram_transform_name!$program_transform_name$ac_delim
51091abf7346Smrgbindir!$bindir$ac_delim
51101abf7346Smrgsbindir!$sbindir$ac_delim
51111abf7346Smrglibexecdir!$libexecdir$ac_delim
51121abf7346Smrgdatarootdir!$datarootdir$ac_delim
51131abf7346Smrgdatadir!$datadir$ac_delim
51141abf7346Smrgsysconfdir!$sysconfdir$ac_delim
51151abf7346Smrgsharedstatedir!$sharedstatedir$ac_delim
51161abf7346Smrglocalstatedir!$localstatedir$ac_delim
51171abf7346Smrgincludedir!$includedir$ac_delim
51181abf7346Smrgoldincludedir!$oldincludedir$ac_delim
51191abf7346Smrgdocdir!$docdir$ac_delim
51201abf7346Smrginfodir!$infodir$ac_delim
51211abf7346Smrghtmldir!$htmldir$ac_delim
51221abf7346Smrgdvidir!$dvidir$ac_delim
51231abf7346Smrgpdfdir!$pdfdir$ac_delim
51241abf7346Smrgpsdir!$psdir$ac_delim
51251abf7346Smrglibdir!$libdir$ac_delim
51261abf7346Smrglocaledir!$localedir$ac_delim
51271abf7346Smrgmandir!$mandir$ac_delim
51281abf7346SmrgDEFS!$DEFS$ac_delim
51291abf7346SmrgECHO_C!$ECHO_C$ac_delim
51301abf7346SmrgECHO_N!$ECHO_N$ac_delim
51311abf7346SmrgECHO_T!$ECHO_T$ac_delim
51321abf7346SmrgLIBS!$LIBS$ac_delim
51331abf7346Smrgbuild_alias!$build_alias$ac_delim
51341abf7346Smrghost_alias!$host_alias$ac_delim
51351abf7346Smrgtarget_alias!$target_alias$ac_delim
51361abf7346SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51371abf7346SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51381abf7346SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim
51391abf7346Smrgam__isrc!$am__isrc$ac_delim
51401abf7346SmrgCYGPATH_W!$CYGPATH_W$ac_delim
51411abf7346SmrgPACKAGE!$PACKAGE$ac_delim
51421abf7346SmrgVERSION!$VERSION$ac_delim
51431abf7346SmrgACLOCAL!$ACLOCAL$ac_delim
51441abf7346SmrgAUTOCONF!$AUTOCONF$ac_delim
51451abf7346SmrgAUTOMAKE!$AUTOMAKE$ac_delim
51461abf7346SmrgAUTOHEADER!$AUTOHEADER$ac_delim
51471abf7346SmrgMAKEINFO!$MAKEINFO$ac_delim
51481abf7346Smrginstall_sh!$install_sh$ac_delim
51491abf7346SmrgSTRIP!$STRIP$ac_delim
51501abf7346SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
51511abf7346Smrgmkdir_p!$mkdir_p$ac_delim
51521abf7346SmrgAWK!$AWK$ac_delim
51531abf7346SmrgSET_MAKE!$SET_MAKE$ac_delim
51541abf7346Smrgam__leading_dot!$am__leading_dot$ac_delim
51551abf7346SmrgAMTAR!$AMTAR$ac_delim
51561abf7346Smrgam__tar!$am__tar$ac_delim
51571abf7346Smrgam__untar!$am__untar$ac_delim
51581abf7346SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
51591abf7346SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
51601abf7346SmrgMAINT!$MAINT$ac_delim
51611abf7346SmrgCC!$CC$ac_delim
51621abf7346SmrgCFLAGS!$CFLAGS$ac_delim
51631abf7346SmrgLDFLAGS!$LDFLAGS$ac_delim
51641abf7346SmrgCPPFLAGS!$CPPFLAGS$ac_delim
51651abf7346Smrgac_ct_CC!$ac_ct_CC$ac_delim
51661abf7346SmrgEXEEXT!$EXEEXT$ac_delim
51671abf7346SmrgOBJEXT!$OBJEXT$ac_delim
51681abf7346SmrgDEPDIR!$DEPDIR$ac_delim
51691abf7346Smrgam__include!$am__include$ac_delim
51701abf7346Smrgam__quote!$am__quote$ac_delim
51711abf7346SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim
51721abf7346SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim
51731abf7346SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
51741abf7346SmrgCCDEPMODE!$CCDEPMODE$ac_delim
51751abf7346Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
51761abf7346Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
51771abf7346Smrgbuild!$build$ac_delim
51781abf7346Smrgbuild_cpu!$build_cpu$ac_delim
51791abf7346Smrgbuild_vendor!$build_vendor$ac_delim
51801abf7346Smrgbuild_os!$build_os$ac_delim
51811abf7346Smrghost!$host$ac_delim
51821abf7346Smrghost_cpu!$host_cpu$ac_delim
51831abf7346Smrghost_vendor!$host_vendor$ac_delim
51841abf7346Smrghost_os!$host_os$ac_delim
51851abf7346SmrgHELPDIR!$HELPDIR$ac_delim
51861abf7346SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim
51871abf7346SmrgTMP_XAW_CFLAGS!$TMP_XAW_CFLAGS$ac_delim
51881abf7346SmrgTMP_XAW_LIBS!$TMP_XAW_LIBS$ac_delim
51891abf7346SmrgXAW_USE_XPRINT_TRUE!$XAW_USE_XPRINT_TRUE$ac_delim
51901abf7346SmrgXAW_USE_XPRINT_FALSE!$XAW_USE_XPRINT_FALSE$ac_delim
51911abf7346SmrgXPRINT_UTIL_CFLAGS!$XPRINT_UTIL_CFLAGS$ac_delim
51921abf7346SmrgXPRINT_UTIL_LIBS!$XPRINT_UTIL_LIBS$ac_delim
51931abf7346SmrgXMAN_CFLAGS!$XMAN_CFLAGS$ac_delim
51941abf7346SmrgXMAN_LIBS!$XMAN_LIBS$ac_delim
51951abf7346SmrgAPPDEFS_CFLAGS!$APPDEFS_CFLAGS$ac_delim
51961abf7346Smrg_ACEOF
51971abf7346Smrg
51981abf7346Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51991abf7346Smrg    break
52001abf7346Smrg  elif $ac_last_try; then
52011abf7346Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52021abf7346Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52031abf7346Smrg   { (exit 1); exit 1; }; }
52041abf7346Smrg  else
52051abf7346Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52061abf7346Smrg  fi
52071abf7346Smrgdone
52081abf7346Smrg
52091abf7346Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52101abf7346Smrgif test -n "$ac_eof"; then
52111abf7346Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52121abf7346Smrg  ac_eof=`expr $ac_eof + 1`
52131abf7346Smrgfi
52141abf7346Smrg
52151abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
52161abf7346Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52171abf7346Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52181abf7346Smrg_ACEOF
52191abf7346Smrgsed '
52201abf7346Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52211abf7346Smrgs/^/s,@/; s/!/@,|#_!!_#|/
52221abf7346Smrg:n
52231abf7346Smrgt n
52241abf7346Smrgs/'"$ac_delim"'$/,g/; t
52251abf7346Smrgs/$/\\/; p
52261abf7346SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52271abf7346Smrg' >>$CONFIG_STATUS <conf$$subs.sed
52281abf7346Smrgrm -f conf$$subs.sed
52291abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
52301abf7346SmrgCEOF$ac_eof
52311abf7346Smrg_ACEOF
52321abf7346Smrg
52331abf7346Smrg
52341abf7346Smrgac_delim='%!_!# '
52351abf7346Smrgfor ac_last_try in false false false false false :; do
52361abf7346Smrg  cat >conf$$subs.sed <<_ACEOF
52371abf7346SmrgAPPDEFS_LIBS!$APPDEFS_LIBS$ac_delim
52381abf7346Smrgappdefaultdir!$appdefaultdir$ac_delim
52391abf7346SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
52401abf7346SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
52411abf7346SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
52421abf7346SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
52431abf7346SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
52441abf7346SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
52451abf7346SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim
52461abf7346SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
52471abf7346SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
52481abf7346SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
52491abf7346SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
52501abf7346SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
52511abf7346SmrgLIBOBJS!$LIBOBJS$ac_delim
52521abf7346SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim
52531abf7346Smrg_ACEOF
52541abf7346Smrg
52551abf7346Smrg  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
52561abf7346Smrg    break
52571abf7346Smrg  elif $ac_last_try; then
52581abf7346Smrg    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52591abf7346Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52601abf7346Smrg   { (exit 1); exit 1; }; }
52611abf7346Smrg  else
52621abf7346Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52631abf7346Smrg  fi
52641abf7346Smrgdone
52651abf7346Smrg
52661abf7346Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52671abf7346Smrgif test -n "$ac_eof"; then
52681abf7346Smrg  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52691abf7346Smrg  ac_eof=`expr $ac_eof + 1`
52701abf7346Smrgfi
52711abf7346Smrg
52721abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
52731abf7346Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52741abf7346Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52751abf7346Smrg_ACEOF
52761abf7346Smrgsed '
52771abf7346Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52781abf7346Smrgs/^/s,@/; s/!/@,|#_!!_#|/
52791abf7346Smrg:n
52801abf7346Smrgt n
52811abf7346Smrgs/'"$ac_delim"'$/,g/; t
52821abf7346Smrgs/$/\\/; p
52831abf7346SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52841abf7346Smrg' >>$CONFIG_STATUS <conf$$subs.sed
52851abf7346Smrgrm -f conf$$subs.sed
52861abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
52871abf7346Smrg:end
52881abf7346Smrgs/|#_!!_#|//g
52891abf7346SmrgCEOF$ac_eof
52901abf7346Smrg_ACEOF
52911abf7346Smrg
52921abf7346Smrg
52931abf7346Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
52941abf7346Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52951abf7346Smrg# trailing colons and then remove the whole line if VPATH becomes empty
52961abf7346Smrg# (actually we leave an empty line to preserve line numbers).
52971abf7346Smrgif test "x$srcdir" = x.; then
52981abf7346Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
52991abf7346Smrgs/:*\$(srcdir):*/:/
53001abf7346Smrgs/:*\${srcdir}:*/:/
53011abf7346Smrgs/:*@srcdir@:*/:/
53021abf7346Smrgs/^\([^=]*=[	 ]*\):*/\1/
53031abf7346Smrgs/:*$//
53041abf7346Smrgs/^[^=]*=[	 ]*$//
53051abf7346Smrg}'
53061abf7346Smrgfi
53071abf7346Smrg
53081abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
53091abf7346Smrgfi # test -n "$CONFIG_FILES"
53101abf7346Smrg
53111abf7346Smrg
53121abf7346Smrgfor ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
53131abf7346Smrgdo
53141abf7346Smrg  case $ac_tag in
53151abf7346Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
53161abf7346Smrg  esac
53171abf7346Smrg  case $ac_mode$ac_tag in
53181abf7346Smrg  :[FHL]*:*);;
53191abf7346Smrg  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53201abf7346Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;}
53211abf7346Smrg   { (exit 1); exit 1; }; };;
53221abf7346Smrg  :[FH]-) ac_tag=-:-;;
53231abf7346Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53241abf7346Smrg  esac
53251abf7346Smrg  ac_save_IFS=$IFS
53261abf7346Smrg  IFS=:
53271abf7346Smrg  set x $ac_tag
53281abf7346Smrg  IFS=$ac_save_IFS
53291abf7346Smrg  shift
53301abf7346Smrg  ac_file=$1
53311abf7346Smrg  shift
53321abf7346Smrg
53331abf7346Smrg  case $ac_mode in
53341abf7346Smrg  :L) ac_source=$1;;
53351abf7346Smrg  :[FH])
53361abf7346Smrg    ac_file_inputs=
53371abf7346Smrg    for ac_f
53381abf7346Smrg    do
53391abf7346Smrg      case $ac_f in
53401abf7346Smrg      -) ac_f="$tmp/stdin";;
53411abf7346Smrg      *) # Look for the file first in the build tree, then in the source tree
53421abf7346Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
53431abf7346Smrg	 # because $ac_f cannot contain `:'.
53441abf7346Smrg	 test -f "$ac_f" ||
53451abf7346Smrg	   case $ac_f in
53461abf7346Smrg	   [\\/$]*) false;;
53471abf7346Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53481abf7346Smrg	   esac ||
53491abf7346Smrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53501abf7346Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;}
53511abf7346Smrg   { (exit 1); exit 1; }; };;
53521abf7346Smrg      esac
53531abf7346Smrg      ac_file_inputs="$ac_file_inputs $ac_f"
53541abf7346Smrg    done
53551abf7346Smrg
53561abf7346Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
53571abf7346Smrg    # use $as_me), people would be surprised to read:
53581abf7346Smrg    #    /* config.h.  Generated by config.status.  */
53591abf7346Smrg    configure_input="Generated from "`IFS=:
53601abf7346Smrg	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53611abf7346Smrg    if test x"$ac_file" != x-; then
53621abf7346Smrg      configure_input="$ac_file.  $configure_input"
53631abf7346Smrg      { echo "$as_me:$LINENO: creating $ac_file" >&5
53641abf7346Smrgecho "$as_me: creating $ac_file" >&6;}
53651abf7346Smrg    fi
53661abf7346Smrg
53671abf7346Smrg    case $ac_tag in
53681abf7346Smrg    *:-:* | *:-) cat >"$tmp/stdin";;
53691abf7346Smrg    esac
53701abf7346Smrg    ;;
53711abf7346Smrg  esac
53721abf7346Smrg
53731abf7346Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
53741abf7346Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53751abf7346Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
53761abf7346Smrg	 X"$ac_file" : 'X\(//\)$' \| \
53771abf7346Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53781abf7346Smrgecho X"$ac_file" |
53791abf7346Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53801abf7346Smrg	    s//\1/
53811abf7346Smrg	    q
53821abf7346Smrg	  }
53831abf7346Smrg	  /^X\(\/\/\)[^/].*/{
53841abf7346Smrg	    s//\1/
53851abf7346Smrg	    q
53861abf7346Smrg	  }
53871abf7346Smrg	  /^X\(\/\/\)$/{
53881abf7346Smrg	    s//\1/
53891abf7346Smrg	    q
53901abf7346Smrg	  }
53911abf7346Smrg	  /^X\(\/\).*/{
53921abf7346Smrg	    s//\1/
53931abf7346Smrg	    q
53941abf7346Smrg	  }
53951abf7346Smrg	  s/.*/./; q'`
53961abf7346Smrg  { as_dir="$ac_dir"
53971abf7346Smrg  case $as_dir in #(
53981abf7346Smrg  -*) as_dir=./$as_dir;;
53991abf7346Smrg  esac
54001abf7346Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54011abf7346Smrg    as_dirs=
54021abf7346Smrg    while :; do
54031abf7346Smrg      case $as_dir in #(
54041abf7346Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54051abf7346Smrg      *) as_qdir=$as_dir;;
54061abf7346Smrg      esac
54071abf7346Smrg      as_dirs="'$as_qdir' $as_dirs"
54081abf7346Smrg      as_dir=`$as_dirname -- "$as_dir" ||
54091abf7346Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54101abf7346Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
54111abf7346Smrg	 X"$as_dir" : 'X\(//\)$' \| \
54121abf7346Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54131abf7346Smrgecho X"$as_dir" |
54141abf7346Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54151abf7346Smrg	    s//\1/
54161abf7346Smrg	    q
54171abf7346Smrg	  }
54181abf7346Smrg	  /^X\(\/\/\)[^/].*/{
54191abf7346Smrg	    s//\1/
54201abf7346Smrg	    q
54211abf7346Smrg	  }
54221abf7346Smrg	  /^X\(\/\/\)$/{
54231abf7346Smrg	    s//\1/
54241abf7346Smrg	    q
54251abf7346Smrg	  }
54261abf7346Smrg	  /^X\(\/\).*/{
54271abf7346Smrg	    s//\1/
54281abf7346Smrg	    q
54291abf7346Smrg	  }
54301abf7346Smrg	  s/.*/./; q'`
54311abf7346Smrg      test -d "$as_dir" && break
54321abf7346Smrg    done
54331abf7346Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
54341abf7346Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54351abf7346Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
54361abf7346Smrg   { (exit 1); exit 1; }; }; }
54371abf7346Smrg  ac_builddir=.
54381abf7346Smrg
54391abf7346Smrgcase "$ac_dir" in
54401abf7346Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54411abf7346Smrg*)
54421abf7346Smrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54431abf7346Smrg  # A ".." for each directory in $ac_dir_suffix.
54441abf7346Smrg  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54451abf7346Smrg  case $ac_top_builddir_sub in
54461abf7346Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54471abf7346Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54481abf7346Smrg  esac ;;
54491abf7346Smrgesac
54501abf7346Smrgac_abs_top_builddir=$ac_pwd
54511abf7346Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
54521abf7346Smrg# for backward compatibility:
54531abf7346Smrgac_top_builddir=$ac_top_build_prefix
54541abf7346Smrg
54551abf7346Smrgcase $srcdir in
54561abf7346Smrg  .)  # We are building in place.
54571abf7346Smrg    ac_srcdir=.
54581abf7346Smrg    ac_top_srcdir=$ac_top_builddir_sub
54591abf7346Smrg    ac_abs_top_srcdir=$ac_pwd ;;
54601abf7346Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
54611abf7346Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
54621abf7346Smrg    ac_top_srcdir=$srcdir
54631abf7346Smrg    ac_abs_top_srcdir=$srcdir ;;
54641abf7346Smrg  *) # Relative name.
54651abf7346Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54661abf7346Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
54671abf7346Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54681abf7346Smrgesac
54691abf7346Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54701abf7346Smrg
54711abf7346Smrg
54721abf7346Smrg  case $ac_mode in
54731abf7346Smrg  :F)
54741abf7346Smrg  #
54751abf7346Smrg  # CONFIG_FILE
54761abf7346Smrg  #
54771abf7346Smrg
54781abf7346Smrg  case $INSTALL in
54791abf7346Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54801abf7346Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54811abf7346Smrg  esac
54821abf7346Smrg  ac_MKDIR_P=$MKDIR_P
54831abf7346Smrg  case $MKDIR_P in
54841abf7346Smrg  [\\/$]* | ?:[\\/]* ) ;;
54851abf7346Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
54861abf7346Smrg  esac
54871abf7346Smrg_ACEOF
54881abf7346Smrg
54891abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
54901abf7346Smrg# If the template does not know about datarootdir, expand it.
54911abf7346Smrg# FIXME: This hack should be removed a few years after 2.60.
54921abf7346Smrgac_datarootdir_hack=; ac_datarootdir_seen=
54931abf7346Smrg
54941abf7346Smrgcase `sed -n '/datarootdir/ {
54951abf7346Smrg  p
54961abf7346Smrg  q
54971abf7346Smrg}
54981abf7346Smrg/@datadir@/p
54991abf7346Smrg/@docdir@/p
55001abf7346Smrg/@infodir@/p
55011abf7346Smrg/@localedir@/p
55021abf7346Smrg/@mandir@/p
55031abf7346Smrg' $ac_file_inputs` in
55041abf7346Smrg*datarootdir*) ac_datarootdir_seen=yes;;
55051abf7346Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
55061abf7346Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55071abf7346Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55081abf7346Smrg_ACEOF
55091abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
55101abf7346Smrg  ac_datarootdir_hack='
55111abf7346Smrg  s&@datadir@&$datadir&g
55121abf7346Smrg  s&@docdir@&$docdir&g
55131abf7346Smrg  s&@infodir@&$infodir&g
55141abf7346Smrg  s&@localedir@&$localedir&g
55151abf7346Smrg  s&@mandir@&$mandir&g
55161abf7346Smrg    s&\\\${datarootdir}&$datarootdir&g' ;;
55171abf7346Smrgesac
55181abf7346Smrg_ACEOF
55191abf7346Smrg
55201abf7346Smrg# Neutralize VPATH when `$srcdir' = `.'.
55211abf7346Smrg# Shell code in configure.ac might set extrasub.
55221abf7346Smrg# FIXME: do we really want to maintain this feature?
55231abf7346Smrgcat >>$CONFIG_STATUS <<_ACEOF
55241abf7346Smrg  sed "$ac_vpsub
55251abf7346Smrg$extrasub
55261abf7346Smrg_ACEOF
55271abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
55281abf7346Smrg:t
55291abf7346Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55301abf7346Smrgs&@configure_input@&$configure_input&;t t
55311abf7346Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
55321abf7346Smrgs&@srcdir@&$ac_srcdir&;t t
55331abf7346Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
55341abf7346Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
55351abf7346Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
55361abf7346Smrgs&@builddir@&$ac_builddir&;t t
55371abf7346Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
55381abf7346Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
55391abf7346Smrgs&@INSTALL@&$ac_INSTALL&;t t
55401abf7346Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
55411abf7346Smrg$ac_datarootdir_hack
55421abf7346Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
55431abf7346Smrg
55441abf7346Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55451abf7346Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
55461abf7346Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
55471abf7346Smrg  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55481abf7346Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
55491abf7346Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55501abf7346Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
55511abf7346Smrg
55521abf7346Smrg  rm -f "$tmp/stdin"
55531abf7346Smrg  case $ac_file in
55541abf7346Smrg  -) cat "$tmp/out"; rm -f "$tmp/out";;
55551abf7346Smrg  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55561abf7346Smrg  esac
55571abf7346Smrg ;;
55581abf7346Smrg  :H)
55591abf7346Smrg  #
55601abf7346Smrg  # CONFIG_HEADER
55611abf7346Smrg  #
55621abf7346Smrg_ACEOF
55631abf7346Smrg
55641abf7346Smrg# Transform confdefs.h into a sed script `conftest.defines', that
55651abf7346Smrg# substitutes the proper values into config.h.in to produce config.h.
55661abf7346Smrgrm -f conftest.defines conftest.tail
55671abf7346Smrg# First, append a space to every undef/define line, to ease matching.
55681abf7346Smrgecho 's/$/ /' >conftest.defines
55691abf7346Smrg# Then, protect against being on the right side of a sed subst, or in
55701abf7346Smrg# an unquoted here document, in config.status.  If some macros were
55711abf7346Smrg# called several times there might be several #defines for the same
55721abf7346Smrg# symbol, which is useless.  But do not sort them, since the last
55731abf7346Smrg# AC_DEFINE must be honored.
55741abf7346Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
55751abf7346Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55761abf7346Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given.
55771abf7346Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's
55781abf7346Smrg# just an empty string.
55791abf7346Smrgac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
55801abf7346Smrgac_dB='\\)[	 (].*,\\1define\\2'
55811abf7346Smrgac_dC=' '
55821abf7346Smrgac_dD=' ,'
55831abf7346Smrg
55841abf7346Smrguniq confdefs.h |
55851abf7346Smrg  sed -n '
55861abf7346Smrg	t rset
55871abf7346Smrg	:rset
55881abf7346Smrg	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
55891abf7346Smrg	t ok
55901abf7346Smrg	d
55911abf7346Smrg	:ok
55921abf7346Smrg	s/[\\&,]/\\&/g
55931abf7346Smrg	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55941abf7346Smrg	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55951abf7346Smrg  ' >>conftest.defines
55961abf7346Smrg
55971abf7346Smrg# Remove the space that was appended to ease matching.
55981abf7346Smrg# Then replace #undef with comments.  This is necessary, for
55991abf7346Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required
56001abf7346Smrg# on some systems where configure will not decide to define it.
56011abf7346Smrg# (The regexp can be short, since the line contains either #define or #undef.)
56021abf7346Smrgecho 's/ $//
56031abf7346Smrgs,^[	 #]*u.*,/* & */,' >>conftest.defines
56041abf7346Smrg
56051abf7346Smrg# Break up conftest.defines:
56061abf7346Smrgac_max_sed_lines=50
56071abf7346Smrg
56081abf7346Smrg# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
56091abf7346Smrg# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
56101abf7346Smrg# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
56111abf7346Smrg# et cetera.
56121abf7346Smrgac_in='$ac_file_inputs'
56131abf7346Smrgac_out='"$tmp/out1"'
56141abf7346Smrgac_nxt='"$tmp/out2"'
56151abf7346Smrg
56161abf7346Smrgwhile :
56171abf7346Smrgdo
56181abf7346Smrg  # Write a here document:
56191abf7346Smrg    cat >>$CONFIG_STATUS <<_ACEOF
56201abf7346Smrg    # First, check the format of the line:
56211abf7346Smrg    cat >"\$tmp/defines.sed" <<\\CEOF
56221abf7346Smrg/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
56231abf7346Smrg/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
56241abf7346Smrgb
56251abf7346Smrg:def
56261abf7346Smrg_ACEOF
56271abf7346Smrg  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
56281abf7346Smrg  echo 'CEOF
56291abf7346Smrg    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
56301abf7346Smrg  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
56311abf7346Smrg  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
56321abf7346Smrg  grep . conftest.tail >/dev/null || break
56331abf7346Smrg  rm -f conftest.defines
56341abf7346Smrg  mv conftest.tail conftest.defines
56351abf7346Smrgdone
56361abf7346Smrgrm -f conftest.defines conftest.tail
56371abf7346Smrg
56381abf7346Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS
56391abf7346Smrgcat >>$CONFIG_STATUS <<\_ACEOF
56401abf7346Smrg  if test x"$ac_file" != x-; then
56411abf7346Smrg    echo "/* $configure_input  */" >"$tmp/config.h"
56421abf7346Smrg    cat "$ac_result" >>"$tmp/config.h"
56431abf7346Smrg    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
56441abf7346Smrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
56451abf7346Smrgecho "$as_me: $ac_file is unchanged" >&6;}
56461abf7346Smrg    else
56471abf7346Smrg      rm -f $ac_file
56481abf7346Smrg      mv "$tmp/config.h" $ac_file
56491abf7346Smrg    fi
56501abf7346Smrg  else
56511abf7346Smrg    echo "/* $configure_input  */"
56521abf7346Smrg    cat "$ac_result"
56531abf7346Smrg  fi
56541abf7346Smrg  rm -f "$tmp/out12"
56551abf7346Smrg# Compute $ac_file's index in $config_headers.
56561abf7346Smrg_am_stamp_count=1
56571abf7346Smrgfor _am_header in $config_headers :; do
56581abf7346Smrg  case $_am_header in
56591abf7346Smrg    $ac_file | $ac_file:* )
56601abf7346Smrg      break ;;
56611abf7346Smrg    * )
56621abf7346Smrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
56631abf7346Smrg  esac
56641abf7346Smrgdone
56651abf7346Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
56661abf7346Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56671abf7346Smrg	 X$ac_file : 'X\(//\)[^/]' \| \
56681abf7346Smrg	 X$ac_file : 'X\(//\)$' \| \
56691abf7346Smrg	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
56701abf7346Smrgecho X$ac_file |
56711abf7346Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56721abf7346Smrg	    s//\1/
56731abf7346Smrg	    q
56741abf7346Smrg	  }
56751abf7346Smrg	  /^X\(\/\/\)[^/].*/{
56761abf7346Smrg	    s//\1/
56771abf7346Smrg	    q
56781abf7346Smrg	  }
56791abf7346Smrg	  /^X\(\/\/\)$/{
56801abf7346Smrg	    s//\1/
56811abf7346Smrg	    q
56821abf7346Smrg	  }
56831abf7346Smrg	  /^X\(\/\).*/{
56841abf7346Smrg	    s//\1/
56851abf7346Smrg	    q
56861abf7346Smrg	  }
56871abf7346Smrg	  s/.*/./; q'`/stamp-h$_am_stamp_count
56881abf7346Smrg ;;
56891abf7346Smrg
56901abf7346Smrg  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
56911abf7346Smrgecho "$as_me: executing $ac_file commands" >&6;}
56921abf7346Smrg ;;
56931abf7346Smrg  esac
56941abf7346Smrg
56951abf7346Smrg
56961abf7346Smrg  case $ac_file$ac_mode in
56971abf7346Smrg    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
56981abf7346Smrg  # Strip MF so we end up with the name of the file.
56991abf7346Smrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
57001abf7346Smrg  # Check whether this is an Automake generated Makefile or not.
57011abf7346Smrg  # We used to match only the files named `Makefile.in', but
57021abf7346Smrg  # some people rename them; so instead we look at the file content.
57031abf7346Smrg  # Grep'ing the first line is not enough: some people post-process
57041abf7346Smrg  # each Makefile.in and add a new line on top of each file to say so.
57051abf7346Smrg  # Grep'ing the whole file is not good either: AIX grep has a line
57061abf7346Smrg  # limit of 2048, but all sed's we know have understand at least 4000.
57071abf7346Smrg  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
57081abf7346Smrg    dirpart=`$as_dirname -- "$mf" ||
57091abf7346Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57101abf7346Smrg	 X"$mf" : 'X\(//\)[^/]' \| \
57111abf7346Smrg	 X"$mf" : 'X\(//\)$' \| \
57121abf7346Smrg	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
57131abf7346Smrgecho X"$mf" |
57141abf7346Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57151abf7346Smrg	    s//\1/
57161abf7346Smrg	    q
57171abf7346Smrg	  }
57181abf7346Smrg	  /^X\(\/\/\)[^/].*/{
57191abf7346Smrg	    s//\1/
57201abf7346Smrg	    q
57211abf7346Smrg	  }
57221abf7346Smrg	  /^X\(\/\/\)$/{
57231abf7346Smrg	    s//\1/
57241abf7346Smrg	    q
57251abf7346Smrg	  }
57261abf7346Smrg	  /^X\(\/\).*/{
57271abf7346Smrg	    s//\1/
57281abf7346Smrg	    q
57291abf7346Smrg	  }
57301abf7346Smrg	  s/.*/./; q'`
57311abf7346Smrg  else
57321abf7346Smrg    continue
57331abf7346Smrg  fi
57341abf7346Smrg  # Extract the definition of DEPDIR, am__include, and am__quote
57351abf7346Smrg  # from the Makefile without running `make'.
57361abf7346Smrg  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
57371abf7346Smrg  test -z "$DEPDIR" && continue
57381abf7346Smrg  am__include=`sed -n 's/^am__include = //p' < "$mf"`
57391abf7346Smrg  test -z "am__include" && continue
57401abf7346Smrg  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
57411abf7346Smrg  # When using ansi2knr, U may be empty or an underscore; expand it
57421abf7346Smrg  U=`sed -n 's/^U = //p' < "$mf"`
57431abf7346Smrg  # Find all dependency output files, they are included files with
57441abf7346Smrg  # $(DEPDIR) in their names.  We invoke sed twice because it is the
57451abf7346Smrg  # simplest approach to changing $(DEPDIR) to its actual value in the
57461abf7346Smrg  # expansion.
57471abf7346Smrg  for file in `sed -n "
57481abf7346Smrg    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
57491abf7346Smrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
57501abf7346Smrg    # Make sure the directory exists.
57511abf7346Smrg    test -f "$dirpart/$file" && continue
57521abf7346Smrg    fdir=`$as_dirname -- "$file" ||
57531abf7346Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57541abf7346Smrg	 X"$file" : 'X\(//\)[^/]' \| \
57551abf7346Smrg	 X"$file" : 'X\(//\)$' \| \
57561abf7346Smrg	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
57571abf7346Smrgecho X"$file" |
57581abf7346Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57591abf7346Smrg	    s//\1/
57601abf7346Smrg	    q
57611abf7346Smrg	  }
57621abf7346Smrg	  /^X\(\/\/\)[^/].*/{
57631abf7346Smrg	    s//\1/
57641abf7346Smrg	    q
57651abf7346Smrg	  }
57661abf7346Smrg	  /^X\(\/\/\)$/{
57671abf7346Smrg	    s//\1/
57681abf7346Smrg	    q
57691abf7346Smrg	  }
57701abf7346Smrg	  /^X\(\/\).*/{
57711abf7346Smrg	    s//\1/
57721abf7346Smrg	    q
57731abf7346Smrg	  }
57741abf7346Smrg	  s/.*/./; q'`
57751abf7346Smrg    { as_dir=$dirpart/$fdir
57761abf7346Smrg  case $as_dir in #(
57771abf7346Smrg  -*) as_dir=./$as_dir;;
57781abf7346Smrg  esac
57791abf7346Smrg  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57801abf7346Smrg    as_dirs=
57811abf7346Smrg    while :; do
57821abf7346Smrg      case $as_dir in #(
57831abf7346Smrg      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57841abf7346Smrg      *) as_qdir=$as_dir;;
57851abf7346Smrg      esac
57861abf7346Smrg      as_dirs="'$as_qdir' $as_dirs"
57871abf7346Smrg      as_dir=`$as_dirname -- "$as_dir" ||
57881abf7346Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57891abf7346Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
57901abf7346Smrg	 X"$as_dir" : 'X\(//\)$' \| \
57911abf7346Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57921abf7346Smrgecho X"$as_dir" |
57931abf7346Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57941abf7346Smrg	    s//\1/
57951abf7346Smrg	    q
57961abf7346Smrg	  }
57971abf7346Smrg	  /^X\(\/\/\)[^/].*/{
57981abf7346Smrg	    s//\1/
57991abf7346Smrg	    q
58001abf7346Smrg	  }
58011abf7346Smrg	  /^X\(\/\/\)$/{
58021abf7346Smrg	    s//\1/
58031abf7346Smrg	    q
58041abf7346Smrg	  }
58051abf7346Smrg	  /^X\(\/\).*/{
58061abf7346Smrg	    s//\1/
58071abf7346Smrg	    q
58081abf7346Smrg	  }
58091abf7346Smrg	  s/.*/./; q'`
58101abf7346Smrg      test -d "$as_dir" && break
58111abf7346Smrg    done
58121abf7346Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
58131abf7346Smrg  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
58141abf7346Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;}
58151abf7346Smrg   { (exit 1); exit 1; }; }; }
58161abf7346Smrg    # echo "creating $dirpart/$file"
58171abf7346Smrg    echo '# dummy' > "$dirpart/$file"
58181abf7346Smrg  done
58191abf7346Smrgdone
58201abf7346Smrg ;;
58211abf7346Smrg
58221abf7346Smrg  esac
58231abf7346Smrgdone # for ac_tag
58241abf7346Smrg
58251abf7346Smrg
58261abf7346Smrg{ (exit 0); exit 0; }
58271abf7346Smrg_ACEOF
58281abf7346Smrgchmod +x $CONFIG_STATUS
58291abf7346Smrgac_clean_files=$ac_clean_files_save
58301abf7346Smrg
58311abf7346Smrg
58321abf7346Smrg# configure is writing to config.log, and then calls config.status.
58331abf7346Smrg# config.status does its own redirection, appending to config.log.
58341abf7346Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
58351abf7346Smrg# by configure, so config.status won't be able to write to it; its
58361abf7346Smrg# output is simply discarded.  So we exec the FD to /dev/null,
58371abf7346Smrg# effectively closing config.log, so it can be properly (re)opened and
58381abf7346Smrg# appended to by config.status.  When coming back to configure, we
58391abf7346Smrg# need to make the FD available again.
58401abf7346Smrgif test "$no_create" != yes; then
58411abf7346Smrg  ac_cs_success=:
58421abf7346Smrg  ac_config_status_args=
58431abf7346Smrg  test "$silent" = yes &&
58441abf7346Smrg    ac_config_status_args="$ac_config_status_args --quiet"
58451abf7346Smrg  exec 5>/dev/null
58461abf7346Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
58471abf7346Smrg  exec 5>>config.log
58481abf7346Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
58491abf7346Smrg  # would make configure fail if this is the last instruction.
58501abf7346Smrg  $ac_cs_success || { (exit 1); exit 1; }
58511abf7346Smrgfi
58521abf7346Smrg
5853